Initial Ansible integration documents.

These are the document updates for the Ansible integration work, they describe in broad detail the way Brooklyn can now integrate with Ansible, and what configuration  options there are for ansible within blueprints.

Looks very good


SPFx extension CommandSet in document library appears multiple times in context menu

Category

[x] Bug

Describe the bug
After deploying an SPFx extension with location ClientSideExtension.ListViewCommandSet.ContextMenu or ClientSideExtension.ListViewCommandSet the command randomly appears multiple times in the context menu. After a Shift-Reload the command always appears correctly.
This behavior is unrelated to the form of deployment. It's happening with tenant wide deployed extensions as well as with site controlled deployments.
The actual control is always fired only once, even when it appears twice ore more often. It seems so be a caching issue when the page renders.
Steps to reproduce

DELETE THIS LINE BEFORE SUBMITTING - Provide steps to reproduce the behavior:

Create a SPFx Extention
Set in elements.xml location="ClientSideExtension.ListViewCommandSet" and ListTemplateId="101"
Deploy to app catalog and add to site
(especially in nested folders?) the context menu entry appears twice or more often
Shift-reload the page to clear the multiple entry

Expected behavior
The command should only appear once.
Environment details (development & target environment)

Target Environment: SharePoint Online
Framework: SPFx v1.11.0
Browser(s): all Browsers

Is there any update on this issue? We've seen the command rendering up to ten times in the context menu and will not be able to release our extension in this state.

More and more of our customers complain about this issue. Is any chance to get an estimate of when it might be resolved, please?

Hi @Marlen-Jacob - sorry for the long delay. Is it still an issue for you? I'm unable to reproduce the issue using the steps you provided.
@AntoninaSavka - could you please provide me a sample command set where you experience the issue?
Or could you check if the one below has the same issue on your tenant(s)?
cs-dl.zip

@AJIXuMuK I work with @AntoninaSavka  and I've tested the attached sample on our tenant and it does not have the same issue but I've created a minimal sample extension that reproduces the issue, attached here.
It doesn't immediately show multiple times but after you navigate around the SharePoint tenant a bit, it will start appearing multiple times and from then on it is rare to see a command appear only once in the context menu.

Hi @danwalshnitro - thank you for the sample. I will investigate it.

Hi @danwalshnitro Thank you for your reply! It is still an issue and I can confirm it occurs on document libraries.
Best regards,
Marlen

@AntoninaSavka @danwalshnitro @Marlen-Jacob - I was able to repro the bug.
We'll be looking into addressing it.


"Denoising Diffusion Implicit Model" example broken in TF 2.9.0/Keras 2.9.0

@beresandras
Running the Denoising Diffusion Implicit Model in Tensorflow and Keras 2.9.0 gives this error stack:

UnimplementedError                        Traceback (most recent call last)
 in ()
33     callbacks=[
34         keras.callbacks.LambdaCallback(on_epoch_end=model.plot_images),
---> 35         checkpoint_callback,
36     ],
37 )
1 frames
/usr/local/lib/python3.7/dist-packages/tensorflow/python/eager/execute.py in quick_execute(op_name, num_outputs, inputs, attrs, ctx, name)
53     ctx.ensure_initialized()
54     tensors = pywrap_tfe.TFE_Py_Execute(ctx._handle, device_name, op_name,
---> 55                                         inputs, attrs, num_outputs)
56   except core._NotOkStatusException as e:
57     if name is not None:
UnimplementedError: Graph execution error:
Detected at node 'residual_unet/conv2d/Conv2D' defined at (most recent call last):
File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/usr/local/lib/python3.7/dist-packages/ipykernel_launcher.py", line 16, in
app.launch_new_instance()
File "/usr/local/lib/python3.7/dist-packages/traitlets/config/application.py", line 846, in launch_instance
app.start()
File "/usr/local/lib/python3.7/dist-packages/ipykernel/kernelapp.py", line 499, in start
self.io_loop.start()
File "/usr/local/lib/python3.7/dist-packages/tornado/platform/asyncio.py", line 132, in start
self.asyncio_loop.run_forever()
File "/usr/lib/python3.7/asyncio/base_events.py", line 541, in run_forever
self._run_once()
File "/usr/lib/python3.7/asyncio/base_events.py", line 1786, in _run_once
handle._run()
File "/usr/lib/python3.7/asyncio/events.py", line 88, in _run
self._context.run(self._callback, *self._args)
File "/usr/local/lib/python3.7/dist-packages/tornado/ioloop.py", line 758, in _run_callback
ret = callback()
File "/usr/local/lib/python3.7/dist-packages/tornado/stack_context.py", line 300, in null_wrapper
return fn(*args, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/zmq/eventloop/zmqstream.py", line 661, in
self.io_loop.add_callback(lambda: self._handle_events(self.socket, 0))
File "/usr/local/lib/python3.7/dist-packages/zmq/eventloop/zmqstream.py", line 577, in _handle_events
self._handle_recv()
File "/usr/local/lib/python3.7/dist-packages/zmq/eventloop/zmqstream.py", line 606, in _handle_recv
self._run_callback(callback, msg)
File "/usr/local/lib/python3.7/dist-packages/zmq/eventloop/zmqstream.py", line 556, in _run_callback
callback(*args, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/tornado/stack_context.py", line 300, in null_wrapper
return fn(*args, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/ipykernel/kernelbase.py", line 283, in dispatcher
return self.dispatch_shell(stream, msg)
File "/usr/local/lib/python3.7/dist-packages/ipykernel/kernelbase.py", line 233, in dispatch_shell
handler(stream, idents, msg)
File "/usr/local/lib/python3.7/dist-packages/ipykernel/kernelbase.py", line 399, in execute_request
user_expressions, allow_stdin)
File "/usr/local/lib/python3.7/dist-packages/ipykernel/ipkernel.py", line 208, in do_execute
res = shell.run_cell(code, store_history=store_history, silent=silent)
File "/usr/local/lib/python3.7/dist-packages/ipykernel/zmqshell.py", line 537, in run_cell
return super(ZMQInteractiveShell, self).run_cell(*args, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/IPython/core/interactiveshell.py", line 2718, in run_cell
interactivity=interactivity, compiler=compiler, result=result)
File "/usr/local/lib/python3.7/dist-packages/IPython/core/interactiveshell.py", line 2828, in run_ast_nodes
if self.run_code(code, result):
File "/usr/local/lib/python3.7/dist-packages/IPython/core/interactiveshell.py", line 2882, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "", line 35, in
checkpoint_callback,
File "/usr/local/lib/python3.7/dist-packages/keras/utils/traceback_utils.py", line 64, in error_handler
return fn(*args, kwargs)
File "/usr/local/lib/python3.7/dist-packages/keras/engine/training.py", line 1409, in fit
tmp_logs = self.train_function(iterator)
File "/usr/local/lib/python3.7/dist-packages/keras/engine/training.py", line 1051, in train_function
return step_function(self, iterator)
File "/usr/local/lib/python3.7/dist-packages/keras/engine/training.py", line 1040, in step_function
outputs = model.distribute_strategy.run(run_step, args=(data,))
File "/usr/local/lib/python3.7/dist-packages/keras/engine/training.py", line 1030, in run_step
outputs = model.train_step(data)
File "", line 108, in train_step
noisy_images, noise_rates, signal_rates, training=True
File "", line 48, in denoise
pred_noises = network([noisy_images, noise_rates2], training=training)
File "/usr/local/lib/python3.7/dist-packages/keras/utils/traceback_utils.py", line 64, in error_handler
return fn(*args, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/keras/engine/training.py", line 490, in call
return super().call(*args, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/keras/utils/traceback_utils.py", line 64, in error_handler
return fn(*args, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/keras/engine/base_layer.py", line 1014, in call
outputs = call_fn(inputs, *args, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/keras/utils/traceback_utils.py", line 92, in error_handler
return fn(*args, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/keras/engine/functional.py", line 459, in call
inputs, training=training, mask=mask)
File "/usr/local/lib/python3.7/dist-packages/keras/engine/functional.py", line 596, in _run_internal_graph
outputs = node.layer(*args, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/keras/utils/traceback_utils.py", line 64, in error_handler
return fn(*args, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/keras/engine/base_layer.py", line 1014, in call
outputs = call_fn(inputs, *args, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/keras/utils/traceback_utils.py", line 92, in error_handler
return fn(*args, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/keras/layers/convolutional/base_conv.py", line 250, in call
outputs = self.convolution_op(inputs, self.kernel)
File "/usr/local/lib/python3.7/dist-packages/keras/layers/convolutional/base_conv.py", line 232, in convolution_op
name=self.class.name)
Node: 'residual_unet/conv2d/Conv2D'
DNN library is not found.
[[{{node residual_unet/conv2d/Conv2D}}]] [Op:__inference_train_function_22402]

Used this code block at the beginning:
!pip uninstall -y tensorflow keras
!pip install tensorflow==2.9.0
!pip install keras==2.9.0
Cheers!

Hi,
I was able to run the example successfully without any issues in TensorFlow 2.13.
Please find the attached Gist here for reference. Thanks!


repo sync

This is an automated pull request to sync changes between the public and private repos.
:robot: This pull request should be merged (not squashed) to preserve continuity across repos, so please let a bot do the merging!

        .amz_inline_image{
            max-width: 100%
        }

    body{
        font-family: -apple-system-font, HelveticaNeue, LucidaGrande;
    }


Mobs dont spawn!

On minecraft server mobs dont spawn only when I have multiverse core in my plugins folder. I took it out and everything was fine. This is affecting every world on my server. Someone please help!
Heres my config:
-------------------------------------------------------------------------
This is the MV2 Config. If you mess it up, copy the values out
delete it, and it will be regenerated. Then use the ingame interface
to add your values back via the "/mv conf" command.
When in-game, simply type: "/mv conf ?" for help.
A config with explanations can be found here:
https://github.com/Multiverse/Multiverse-Core/wiki/config.yml

IMPORTANT !! IMPORTANT !! IMPORTANT !! IMPORTANT !! IMPORTANT !!IMPORTANT

Do NOT delete this line from your config!!!!
==: com.onarandombox.MultiverseCore.MultiverseCoreConfiguration

IMPORTANT !! IMPORTANT !! IMPORTANT !! IMPORTANT !!  Surely another plugin conflicting this. (It'd make sense if mobs spawn when you remove the MV plugin because you either aren't going to the proper world(s) or it's conflict while using MV)

Its very strange though because I removed MV and it worked then I removed all other plugins and kept Multiverse and it worked

Put plugins in 1 by 1 (with Multiverse) and see where the conflict lies, then you can take the actions required to fix the problem.


Allow registering for KeyUp/KeyDown

Currently RNW registers onKeyUp/onKeyDown, so react-native-xaml can't register the same JS event name. For the time being, these events are not codegen'd. We should figure out a way to allow using these events.

this is possible now thanks to the prop name mapping


Fix documentation link check script

Summary
Fixes #12422
Occurred changes and/or fixed issues
Updates the documentation link checker to correctly parse the version number following other recent changes.
Checklist

[x] The PR is linked to an issue and the linked issue has a Milestone, or no issue is needed
[x] The PR has a Milestone
[x] The PR template has been filled out
[x] The PR has been self reviewed
[x] The PR has a reviewer assigned
[x] The PR has automated tests or clear instructions for manual tests and the linked issue has appropriate QA labels, or tests are not needed
[x] The PR has reviewed with UX and tested in light and dark mode, or there are no UX changes

Note: 2.10 doc links are now active, so this PR correctly passes the gates


Implement the bindle source for a local application

The component source configuration can be a reference and parcel pointing to a remote bindle. This should be implemented in the loader:
https://github.com/fermyon/spin/blob/75668c3569701050b7266a408d235d0c4eed318f/crates/loader/src/local/mod.rs#L109-L111

Fixed by #456


[hi] Localize cloud-computing.md

Localize the Cloud Computing Part in the Hindi language
Describe your changes
I have Localized the whole Cloud Computing file in the Hindi language
Related issue number or link (ex: resolves #issue-number)
Checklist before opening this PR (put x in the checkboxes)

[x ] This PR does not contain plagiarism

don’t copy other people’s work unless you are quoting and contributing it to them.

[x ] I have signed off on all commits

signing off (ex: git commit -s) is to affirm that commits comply DCO. If you are working locally, you could add an alias to your gitconfig by running git config --global alias.ci "commit -s".

@kumarankit999 gentle reminder to work on this PR

Yes!

@kumarankit999 gentle ping reminder

Since this PR has no activity for a long while so closing it!
Feel free to open whenever you'd get bandwidth to work :+1:


Added Pl3xmap support

Port from https://github.com/Tartaros-Gamer/Pl3xMap-GriefDefender
Inspired by this repo:https://github.com/pl3xgaming/Pl3xMap-GriefPrevention
This PR added support for Pl3xMap and Solved https://github.com/bloodmc/GriefDefender/issues/376
What's more,May I join your discord to get the latest info about development?
I need to know further updates as I have added a few hooks in other plugins.
https://github.com/AlessioDP/Parties/pull/110
https://github.com/plan-player-analytics/Extension-GriefDefender/pull/2
https://github.com/bsalha1/Printer/pull/13
Requesting hooks:
https://github.com/BananaPuncher714/Cartographer2/issues/17

What's more,May I join your discord to get the latest info about development?

Send an email to<EMAIL_ADDRESS>

I have sent email to<EMAIL_ADDRESS>Can you review this? https://github.com/bloodmc/GriefDefenderDefinitions/pull/1
Thanks.

Would you consider using https://github.com/riggraz/astuto (Self Hosted) or https://github.com/Plajer/feedbacky-project (Self Hosted or Free Plan) for managing roadmap and changelogs?
It will be easier to know what is happening to GD even someone doesn't join discord.


Creative Agency Website Template

Issue Type:

[ ] Bug Report
[ ] Feature Request
[ ] Documentaion

Describe the bug

A clear and concise description of what the bug is.

Possible solution

Describe the solution you thought of.

Screenshots

If applicable, add screenshots to help explain your problem.

@Piyush-Aman Fill description properly and add some SS


NFS backup with kerberos authentication[BUG]

Describe the bug (🐛 if you encounter this issue)
I got Longhorn in rancher rje2 install for 3 cluster, and the problem coming when I tried to enable backup target and backup target credential secret.
When the anonymous access is enabled and don't use a Secret, NFS backups work properly. But when I activate Kerberos authentication and disable anonymous access NFS never works.
The NFS is a shared folder in a Windows Machine with this feature:

Like the documentation show us is necessary to create a Secret, this is the secret we created:
kubectl create secret generic nfs-secret -n longhorn-system<EMAIL_ADDRESS>--from-literal=password='passw@rd'
To Reproduce
Steps to reproduce the behavior:

Go to 'Harbor UI --> Setting --> Backup'
Click on '....'
Perform '.Backup Target and Backup Target Credential Secret'
See error

error listing backup volume names: failed to execute: /var/lib/longhorn/engine-binaries/rancher-mirrored-longhornio-longhorn-engine-v1.3.2/longhorn [backup ls --volume-only nfs://server.domain.lan:/management], output Cannot mount nfs server.domain:/management: vers=4.0: Failed to execute: mount [-t nfs4 -o nfsvers=4.0 -o actimeo=1 server.domain.lan:/management /var/lib/longhorn-backupstore-mounts/server_domain_lan/management], output mount.nfs4: Protocol not supported , error exit status 32: vers=4.1: Failed to execute: mount [-t nfs4 -o nfsvers=4.1 -o actimeo=1 server.domain.lan:/management /var/lib/longhorn-backupstore-mounts/server_domain_lan/management], output mount.nfs4: Operation not permitted , error exit status 32: vers=4.2: Failed to execute: mount [-t nfs4 -o nfsvers=4.2 -o actimeo=1 server.domain.lan:/management /var/lib/longhorn-backupstore-mounts/server_domain_lan/management], output mount.nfs4: Protocol not supported , error exit status 32: Cannot mount using NFSv4 , stderr, time="2023-02-16T08:20:44Z" level=error msg="Cannot mount nfs server.domain.lan:/management: vers=4.0: Failed to execute: mount [-t nfs4 -o nfsvers=4.0 -o actimeo=1 server.domain.lan:/management /var/lib/longhorn-backupstore-mounts/server_domain_lan/management], output mount.nfs4: Protocol not supported\n, error exit status 32: vers=4.1: Failed to execute: mount [-t nfs4 -o nfsvers=4.1 -o actimeo=1 server.domain.lan:/management /var/lib/longhorn-backupstore-mounts/server_domain_lan/management], output mount.nfs4: Operation not permitted\n, error exit status 32: vers=4.2: Failed to execute: mount [-t nfs4 -o nfsvers=4.2 -o actimeo=1 server.domain.lan:/management /var/lib/longhorn-backupstore-mounts/server_domain_lan/management], output mount.nfs4: Protocol not supported\n, error exit status 32: Cannot mount using NFSv4" , error exit status 1
Expected behavior
The Backups will do via Kerberos authentication
Log or Support bundle
If applicable, add the Longhorn managers' log or support bundle when the issue happens.
You can generate a Support Bundle using the link at the footer of the Longhorn UI.
Environment

Longhorn version: 1.3.2
Installation method (e.g. Rancher Catalog App/Helm/Kubectl): Rancher Catalog App
Kubernetes distro (e.g. RKE/K3s/EKS/OpenShift) and version: RKE2

Number of management node in the cluster: 3
Number of worker node in the cluster: 5

Node config

OS type and version:
CPU per node:
Memory per node:
Disk type(e.g. SSD/NVMe):
Network bandwidth between the nodes:

Underlying Infrastructure (e.g. on AWS/GCE, EKS/GKE, VMWare/KVM, Baremetal): Baremetal
Number of Longhorn volumes in the cluster: 17

Additional context

I found there was a comment talking about this: https://github.com/longhorn/longhorn/issues/1388#issuecomment-661371338
Longhorn needs to be re-architected to support secure backups using Kerberos.


SPARKC-393 : Keep the partitioner of the left RDD

Because it not modify the partitioner.
And it's help in case of groupBy, the previous partitioner will be selected by default.
For exemple after a repartitionByCassandraReplica.

I think this is always the right thing to do. I only have one request that we clean up the Commit Message to reference the SPARKC ticket and be a little more explanatory of the change.
What was the code before?
What is the code now?
What positive and negatives will this change have if any?

I meant the title of the commit
*Keep the partitioner of the left RDD *
to
SPARKC-393 : Keep the partitioner of the left RDD after JWCT
You should b e able to just do a git commit --amend , the force push the new commit

Yes yes sorry, it just a matter of time.
I'm overflowed by work in this end of week.
I do that when I have time, don't worry.
But you answer in the jira give me a doute about this. I also think is the right thing to do, but I wonder if it's can not be tricky for users.

You can always change it to an optional parameter? ( , preservePartitioner = Boolean )

If you think it's the right way to do, I'm ok.
default true or false?

default to the old behavior, False, that seems safest @jtgrabowski any comments?

call for review

LGTM +1 but currently needs to be rebased

Art I have forgot there is java code.
How this param should be shown in java code since there is no default parameters?
when you say "needs to be rebased" you mean not merge commit ?

repartitionByCassandraReplica for example loses the key it uses to repartition with. So the partitioner is no longer good
Rebasing is a git term for update the branch to the latest master
git rebase -i branchToRebaseTo

Yes I know, I have rebased instead of merging ( for the first time I used the "Github desktop" which has a nice UI but do weird things like merge and remove spaces ).
For the java code that need the param should I avoid the preservePartitioner parameter and set it to false? Or should I expose it to java users ?


missing files in EmberLib.Net

while trying to compile EmberLib.NET libraries, i see that compiler says
4>CSC : error CS2001: Source file 'GlowQualifiedTemplate.cs' could not be found
4>CSC : error CS2001: Source file 'GlowTemplate.cs' could not be found
4>CSC : error CS2001: Source file 'GlowTemplateBase.cs' could not be found

From solution explorer i see that file EmberLib.net\EmberLib.Glow\Documentation\Ember+ Functions.docx is also missing in repository, though is present in project 'EmberLib.Glow'. It is just a DOCX file, but if you will fix the 3 missing CS files above, then you can commit eventually forgotten documentation :)

Hi,
sorry for that. The files, including the documentation, should be there now. Otherwise, please let us know.

yes the missing files are there, thanks.
But the solution still can't be compiled (mostly Portable part, some missing references, SpecificVersions, etc). Should i reopen this issue, or open new one?

Hi,
please try again - I fixed the references in the portable project. Unfortunately, the F# PowerPack used there is no longer available. So both, the Desktop and the Portable version now reference the portable PowerPack.

after update i just defined NO_SERIALIZATION symbol in portable.BerLib (assuming i just do not have latest toolsets for portable development installed ?), and now everything builds OK Thank you.


🚸 lamin load → lamin connect & lamin get → lamin load

This PR implements @ap--'s suggestions to improve the command name consistency of the CLI.
It's backward compatible.

Before
After

Based on the below issue:

https://github.com/laminlabs/pfizer-lamin-usage/issues/25

Needs:

https://github.com/laminlabs/lamin-cli/pull/79

Looks great! I'll review this in detail during the weekend.

I'll polish this a bit more now and hope to merge it this morning.

This is great! Should we have command pairs in one row to simplify how we display he commands?
e.g.
Connect/disconnect              |||  Connect/disconnect to an instance
I think that it would still convey that these are independent commands but it would make the list of commands much shorter. The version that @Koncopd implemented is very explicit and not bad at all, but we might get away with something a bit more grouped?

Random feedback that you can totally ignore if you don't think that it's helpful:
I would consider switching info and init to have init before info.
I find the term entity not very descriptive.
The explanations in configure are also not very helpful.

Should we have command pairs in one row to simplify how we display the commands?

I think this could look great but it might also take too much horizontal space. Feel free to give it a shot!

I would consider switching info and init to have init before info.

Fine for me! Rationale for that init is at the bottom is that it's almost never used.

I find the term entity not very descriptive.
The explanations in configure are also not very helpful.

Any ideas for making it better?


Memory leak final fixes

…elease message buffer when connection is failed or timed out

hi there, can you please make a pull request for the issue #67 if this fixes it? thank you very much!
https://github.com/verygoodsecurity/LittleProxy/issues/67

hi there, can you please make a pull request for the issue adamfisk#67 if this fixes it? thank you very much! verygoodsecurity#67

Hi @mahmoudimus, I am not sure if anyone is maintaining Adam Fisk's branch.
We created this fork to maintain the fixes for our usage as we were not getting any response from https://github.com/adamfisk/LittleProxy/pull/67 or even https://github.com/verygoodsecurity/LittleProxy/issues/67
If you are able to reproduce the memory leak, feel free to build this fork locally and give it a try.


Dynamic forms loading via JSON or xaml string

I know you implemented dynamic loading in WpfMaterialForms but I still can't get it to build in vs 2017. Is this going to be the new project and are you planning on adding this support here as well?

Currently, there's still the "old" XML support that the old project had, but we are looking into re-making it, to support JSON and add some missing features.
@wobbince might be interested in this.


Don't count non-active requests towards total number of requests on the dashboard page

Fixes the bug where the total number of requests are not equal to the sum of the number of each type of request by not counting non-active requests towards the individual number of requests of each type.

This competes with #1030 - don't merge them both


Message is too long

Describe the bug
I created an alert with this plugin, tested notification is okie.
I used this Msg Template:

--- [Summary] --------------------------------------
${foreach event.fields field}
${if even_field}
${field}
${end}
${end}

There are 4 fields that I defined in the Alert Definition.
But when I triggered a real event, the response is

My sample Message payload send to telegram is like is
--- [Summary] --------------------------------------
  Hostname: sns-hyp-controller02
  Service: nova-conductor
  Req_ID: e566afa5-086a-422e-b004-21ae1315af82
  Detail: Failed to schedule instances: NoValidHost_Remote: No valid host was found. There are not enough hosts available.
Traceback (most recent call last):

  File &quot;/usr/lib/python2.7/site-packages/oslo_messaging/rpc/server.py&quot;, line 229, in inner
    return func(*args, **kwargs)

  File &quot;/usr/lib/python2.7/site-packages/nova/scheduler/manager.py&quot;, line 171, in select_destinations
    allocation_request_version, return_alternates)

  File &quot;/usr/lib/python2.7/site-packages/nova/scheduler/filter_scheduler.py&quot;, line 96, in select_destinations
    allocation_request_version, return_alternates)

  File &quot;/usr/lib/python2.7/site-packages/nova/scheduler/filter_scheduler.py&quot;, line 265, in _schedule
    claimed_instance_uuids)

  File &quot;/usr/lib/python2.7/site-packages/nova/scheduler/filter_scheduler.py&quot;, line 302, in _ensure_sufficient_hosts
    raise exception.NoValidHost(reason=reason)

NoValidHost: No valid host was found.   There are not enough hosts available.
2021-04-01 16:09:43.462 23 ERROR nova.conductor.manager
2021-04-01 16:09:43.462 23 ERROR nova.conductor.manager

Timerange Start:      2021-04-01T09:09:42.417Z
Timerange End:        2021-04-01T09:09:57.416Z

Expected behavior
I don't know how long the payload size is limit, can you guy suggest me some ways to work on it?
Versions:

Graylog: 4.0.5 and 4.0 from Docker image graylog/graylog:x.y.z
TelegramNotification: 2.3.3

The limit of the Telegram API is:

1-4096 characters after entities parsing

I guess I could try to split long messages it into multiple messages... Or just trim the message (cut off the end)

Ah okie irgendwr, now I knew it's because of the limit of Telegram API.

I may prefer trimming, because the idea of this is to get a quick notification (not a long and detailed one) and then check the full details inside Graylog.

I think this is a possible solution.
Thank you.
Nice plugin, anyway.

Hi @irgendwr , I just wondered how many times the messages will try to retry?
I have this logs and I already fixed the "message too long" issue but it kept retrying.  Is there anyway that I can clear it?

Thank you in advance @irgendwr .
I already restarted Graylog but it seems keep looping :'D.

Fixed in the latest release.


Shakapacker overrides runtimeChunk setting set in local config

Expected behavior:
Applying runtimeCheck: false setting in my webpack.config.js should cause rake assets:precompile to not create separate runtime-xxx.js files
Actual behavior:
runtimeCheck: false setting set in my webpack.config.js was not respected while running rake assets:precompile until I manually applied the same setting at node_modules/shakapacker/package/environment/base.js
Setup environment:

Ruby version: 2.7.7
Rails version: <IP_ADDRESS>
Shakapacker version: 6.5.5

Zero references: https://github.com/rails/webpacker/search?q=runtimecheck
And this is the only reference here: https://github.com/shakacode/shakapacker/search?q=runtimecheck&type=issues
I don't think this is a bug.
If you want to modify the settings from base.js, you need to manipulate the object.

The default settings I would like to override are within the shakapacker npm package file located within Rails.root at:  node_modules/shakapacker/package/environment/base.js
My expectation was that I would be able to apply settings within Rails.root config/webpack/webpack.config.js, and those would take precedence over those in npm config files, however the "runtimeCheck: false" setting was not applied.
I was able to successfully set "optimization: { splitChunks: { minSizeReduction: nnn } }" via the same config file. Note that minSizeReduction is not set in the package's base.js file.
The conclusion I came to was that shakapacker does merge the settings, but prefers the ones in its own base.js.
For now, editing the file that within the npm package is the workaround I'm using. That seems like a bug, but perhaps there is a way to override the settings that I am missing.
Thanks!


fix: correctly update hdx subpool hub reserve

Fixes #438
The PR also fixes issue where too much hub asset is burned in remove_liquidity. It should burn only difference between delta_hub and amount which is transferred to LP.
Additional change ensures that a trade can only burn LRNA and returns error when it tries to mint ( to prevent potential bugs if such would occur to avoid erroneous minting).

Would also have to fix this issue to make sure Line 993 works as intended.

yes. it is already prepared in #444 and will be merged prior to this.


MTB-0: Create skeleton for Spring Boot project

Create skeleton for Spring Boot project MTB.
Acceptance criteria:

Spring Boot project created.

Implemented in: https://github.com/AntonFedoruk/monitoring-telegrambot/pull/14


Implement 'yes' in Visual Basic

Using Mono

First timer. Thank you for the project. How do I go about getting involved? I have a git account, have checked out the project into a new branch and made the change locally successfully (although I am working on Windows so I had to guess at the build command. I tried a xNix shell account but they didn't have the vbnc compiler installed). Thanks.
Also, as a purely stylistic comment, the BUILD.md has a set of examples of command lines for usage. In each case there is one example with no parameters and another with parameters. These are separated in the file, and I am used to seeing optional parameters in brackets instead of as a separate example. If there is a desire to consolidate those into single examples (e.g. "./yes [argument list]") I would be happy to do that as well.

This project was started as a way to start for new comers. Appreciate your help :+1:


Persistence of key bindings

Every major release I get a broken UX due to a shortcuts change. Furthermore, when I upgraded to 3.0 I've lost my favorite feature - export to clipboard as curl command.
But I found that in 3.0 we have commands and configurable key bindings. So I could solve my issue with them. I thought that way, but I was wrong - all bindings I've updated got lost as soon as I quited.
I had a quick peek into the source code, but the only explicit initialization of the keymap I found is defaultkeys.map(self.keymap) in master.py.
Is there a way to keep the changes in key bindings between restarts, that I've missed?

Hi there. Unfortunately custom key binding persistence just didn't quite make it into the 3.0 release. It's a top priority for the next release, though, and I have everything ready for us to take the next step. There are two ways we could go about this:

A keybindings.yaml file in the config directory dedicated just to key bindings.
A more general mechanism that lets us specify a list of commands to run on startup. This would let us then use the console.key.bind command to add custom keybindings. I think I prefer this approach, which will extend to all addons and open a bunch of other doors as well.

If you felt like digging in, I'd love a hand with this. If not, you can expect this to land in master in the coming weeks, and be out in the 4.0 release around the beginning of May.

I think a list of commands to run on startup would be very useful to further customize or automate things.
Just to spin this idea a bit further: does our current options & config file allow us to specify a a "~/.mitmproxy/startup_script.py" which is automatically loaded without manually specifying it for each mitmproxy/mitmdump invocation from the CLI?

I think a list of commands to run on startup would be very useful to further customize or automate things.

+1, but consider also a list of commands to run on shutdown. Use case: an addon that processes flows and produces a report file, like the histogram example from the docs. With mitmdump, you can’t do :myaddon.histogram @all /tmp/xxx; you have to save flows to a file and load it into mitmproxy just to invoke that command.

Just to spin this idea a bit further: does our current options & config file allow us to specify a a "~/.mitmproxy/startup_script.py" which is automatically loaded without manually specifying it for each mitmproxy/mitmdump invocation from the CLI?

Actually yes. You can write a script like this:
def load(loader):
    from mitmproxy import ctx
    ctx.master.commands.call('console.key.bind global 0 console.exit')

and list it in scripts: in your config file.
This would also work as a “shutdown script” for the use case I explained above, but for #3022.
Of course, if this approach is to be the designated solution for keybindings persistence, it needs to be documented.

I've been pondering this, and I've concluded that we need a dedicated file to define key bindings (and actions #2718). I think specifying commands to all the tools for startup and shutdown will be invaluable, but is a separate feature.
Here's my rationale:

The command mechanism for binding keys is flexible and useful, but can also be verbose and difficult to use. I feel an expanded syntax is required for the config file.
Imagine a user starting mitmproxy, making binding a key, and then saving the result to file. We want to be able to save just the delta, just like we currently do with options. We can't do this with a list of startup commands, since the key binding that results from a command can only be established by executing the command (commands can be compound, and there's nothing stopping any parameter in a command binding a key from being dynamic).
Key bindings and console commands will soon be extended to include help and prompt alternatives. This is going to make a pure-command format much too verbose (unless we have significant changes to the command format).

See #3109 for a first draft of key binding persistence. The short version is that we now have a ~/.mitmproxy/keys.yaml file that can contain user keybindings, and is loaded on startup. We also have a corresponding command for loading keys at runtime from file. We don't support (and might never support) saving of dynamically bound keys to file yet - you have to edit the file by hand.
Please take a look at the patch, or sit tight for documentation and examples that will land in the next few days.

I'll close this ticket, and we can discuss any issues in more specific tickets.


Potentially unexpected behaviour by using r15 for sysenter

Hi,
Problem
I'm using the jumper_randomized method for generating the syscalls. The generated stubs are in the following form:
NtAllocateVirtualMemory PROC
	mov [rsp +8], rcx          ; Save registers.
	mov [rsp+16], rdx
	mov [rsp+24], r8
	mov [rsp+32], r9
	sub rsp, 28h
	mov ecx, 0C1D1ED76h        ; Load function hash into ECX.
	call SW3_GetRandomSyscallAddress        ; Get a syscall offset from a different api.
	mov r15, rax                           ; Save the address of the syscall
	mov ecx, 0C1D1ED76h        ; Re-Load function hash into ECX (optional).
	call SW3_GetSyscallNumber              ; Resolve function hash into syscall number.
	add rsp, 28h
	mov rcx, [rsp+8]                      ; Restore registers.
	mov rdx, [rsp+16]
	mov r8, [rsp+24]
	mov r9, [rsp+32]
	mov r10, rcx
	jmp r15                                ; Jump to -> Invoke system call.
NtAllocateVirtualMemory ENDP

Now I had some code in the following form:
//Doing some other stuff beforehand

NtProtectVirtualMemory(hCurrentProc, &pEventWrite, (PSIZE_T)&size,oldprotect, &oldprotect);
void* address = NULL;
NtAllocateVirtualMemory(GetCurrentProcess(), &address, 0, &newSize, MEM_RESERVE | MEM_COMMIT, PAGE_READWRITE);

Which workes fine when compiled in Debug mode, but crashed when compiled as a Release build. In Realease mode, address was not set to 0, but to a value pointing to some instruction in ntdll.dll. After viewing the code in disassembly, the instruction to zero out the value of address was optimized by the compiler to this code: mov qword ptr [address],r15, which of course loads the value from our previous syscall into the variable, which in turn leads to problems with the next NtAllocateVirtualMemory call.
The problem only occurs when some additional code is executed before doing the syscalls. But I don't really want to post the full code here in the issue :D . When the additional code is removed, to program works without problems. I hope that the workarounds are enough for people who are running into the same problem.
Workaround
There are two possible workarounds I could find while debugging:

add/remove code to your application until the compiler optimizes in some other way
change the optimization in the project settings (Project -> Settings -> C++ -> Optimization)

@klezVirus Do you think there is any other way to circumvent this? I guess I ran in a super specific edge case here because of the code optimization. Registers r12-r15 however should be saved and restored before a ret.
R12..R15 are call-preserved registers you can use for whatever you want, as long as your save/restore them before returning. (https://stackoverflow.com/questions/53290932/what-are-r10-r15-registers-used-for-in-the-windows-x64-calling-convention)
However, I don't really see a good solution in how this could be done in the stubs.
Cheers

r15 is a non volatile register and so it must be preserved by the callee. You could just use r11 instead. Please see https://github.com/klezVirus/SysWhispers3/pull/11. I tested it with optimizations on  (/01 and /02)and the syscalls worked as expected.

Thanks @extern-c, I'm resolving some issues, this was resolved as suggested. Closing this for now, but feel free to reop if needed


typo: Double word "from"

@nschonni : Thanks for your contribution! The author, @kgremban, has been notified to review your proposed change.

Merging after verifying the changes.
@nschonni Thanks!


Wrong SSH-URL (:CloneLink.SSH) in templates with gogs-ssh-server and NAT-Firewall

Please take a moment to search that an issue doesn't already exist.
For bug reports, please give the relevant info:

Gogs version (or commit ref): 1.5.3 (master)
Git version: -
Operating system: -
Database:

[x] PostgreSQL
[x] MySQL
[x] SQLite

Log gist: -

Description
The Template CloneLink.SSH is wrong after firewall (PAT).
There should be a settings for gogs own sshport SSH_PORT_GOGS and the public ssh port SSH_PORT.
(Maybe for users too: RUN_USER and SSH_USER)
(Hope the description is okay)

Thanks your feedback!

The Template CloneLink.SSH is wrong after firewall (PAT).
There should be a settings for gogs own sshport SSH_PORT_GOGS and the public ssh port SSH_PORT.
(Maybe for users too: RUN_USER and SSH_USER)

Actually, I have no idea what is going on for your situation...

Installation and used urls:
server      <----------->      router      <----------->  inet
open-ssh: 22                  8080 <- ssl -> 443        http-url: https://gog.examp.le
gogs-web: 8080             8082 <- pat -> 22          ssh-url<EMAIL_ADDRESS>gogs-ssh: 8082

Installation and showed urls
server      <----------->      router      <----------->  inet (happen)
open-ssh: 22                  8080 <- ssl -> 443         http-url: https://gog.examp.le
gogs-web: 8080             8082 <- pat -> 22          ssh-url: ssh://nobody@gog.examp.le:8082/
gogs-ssh: 8082

APP.INI:
RUN_USER=nobody
[server]
ROOT_URL = https://gog.examp.le/
HTTP_ADDR = <IP_ADDRESS>
HTTP_PORT = 8080
DISABLE_SSH = false
START_SSH_SERVER = true
SSH_PORT = 8082

Needer a section for the web templates in app.ini
(instatt of manuiplate the templates at own,like i do it now):
[templating]
SSH_USER=git
SSH_PORT=22

With pleasure :)
Do you know what i mean?

Thanks for the details.
But what is the problem exactly?

Helps this?:

@genofire Thanks.
But what I don't know is what is the expected value, and what is Gogs currently presenting?

Expected<EMAIL_ADDRESS>Current presenting: ssh://nobody@gog.examp.le:8082/

Thanks.

Gogs version (or commit ref): 1.5.2 (master)

There is no such version: 1.5.2.
Upgrade to latest develop branch, then you can follow this post to solve your problem.

You are right, it is 1.5.3
Nothing matter.
The Post did not help.
[server] SSH_PORT defines which port the SSH service is listening on, this port number is used to be exposed in clone URL.
This Parameter should splitted in two, on for where the service listening on and the other for the exposed clone URL. (Sometime there is a port address translateion (PAT) https://en.wikipedia.org/wiki/Network_address_translation#MASQUERADING)

You are right, it is 1.5.3

No such version either, Gogs not even reach 1.0. :flushed:
From post:

Use built-in SSH server
...
By default, it listens on the same port as exposed in the clone URL, you can change the listening port through config option [server] SSH_LISTEN_PORT to 2222 or whatever.

Please finish reading before talking.

With:
SSH_PORT = 22
SSH_LISTEN_PORT = 8082

I got:
Feb 26 18:33:27 web sh[14568]: 2016/02/26 18:33:27 [I] Run Mode: Production
Feb 26 18:33:27 web sh[14568]: panic: listen tcp <IP_ADDRESS>:22: bind: permission denied

And with this:
[server]
SSH_PORT = 8082
SSH_LISTEN_PORT = 22

i got the wrong url:
ssh://nobody@gog.examp.le:8082/
I got it - i ready the go version (i updated to : <IP_ADDRESS>3)

If it will work, is there a option to change the user in then url nobody is not beautiful.
But it need to be nobody in RUN_USER.

Sorry I edited my last comment but stated in the beginning of the post:

This post is based on Gogs <IP_ADDRESS>5.

Also stated in my previous comment:

Upgrade to latest develop branch, then you can follow this post to solve your problem.

I got it - i ready the go version (i updated to : <IP_ADDRESS>3)

It is not Go version, it is Gogs version.

Not sure why you keep skipping my comments? ....

Now i got it, it's late here sry.

I know
2016/02/26 19:09:00 [...s/setting/setting.go:383 NewContext()] [E] Expect user(git) but current user is: nobody

You configed git, so you need to run Gogs use user git.

i want run it with nobody but shown in the clone url git

@genofire no, it is not possible AFAIK.

okay, now lets clean up the issue its so ridiculous.

:joy:
So what's now?

I try to build it and maybe figure out to manipulate the username (without changing the templates) for a pull request.

I don't think users will be able to connect to Gogs without same system user name (from My limited knowledge of how SSH works).
I'm closing this since right now. Have a good night!

i have problems with my internet connection, so i will try it to get run ... #2708 should be the solution for the username.

Thanks, but you have to test and verify first. :smiley:

I'm not too 'educated' in the terms of SSH either, but it should be obvious to anyone who thinks about this for longer than a minute that the name is not cosmetical. You can't just use git@ instead of @nobody and expect stuff to work (which is what the PR does). I don't know if one can make accounts on SSH (not OS) base, but I do know that you can't just pick one out of the blue.
So, create a user named 'git', run gogs on it and stop wasting your and other's time. :)

why we speek here? -> now i have test it.


signalbackup-tools: 20240816 -> 20240822-1

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/bepaald/signalbackup-tools/releases.
meta.description for signalbackup-tools is: Tool to work with Signal Backup files
meta.homepage for signalbackup-tools is: https://github.com/bepaald/signalbackup-tools
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 20240822-1 in filename of file in /nix/store/kfr2wd6x8jqazqwnkdissxh55iviqc6f-signalbackup-tools-20240822-1

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

signalbackup-tools

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/kfr2wd6x8jqazqwnkdissxh55iviqc6f-signalbackup-tools-20240822-1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A signalbackup-tools https://github.com/r-ryantm/nixpkgs/archive/922deb97d74d48a3c280a466fbffe8d51ee42033.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/922deb97d74d48a3c280a466fbffe8d51ee42033#signalbackup-tools

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/kfr2wd6x8jqazqwnkdissxh55iviqc6f-signalbackup-tools-20240822-1
ls -la /nix/store/kfr2wd6x8jqazqwnkdissxh55iviqc6f-signalbackup-tools-20240822-1/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

signalbackup-tools

Maintainer pings
cc @malob for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

Add a :+1: reaction to pull requests you find important.

Closing in favor of #338253.


Flakey test: TestEventsStreaming

From #18682 on Windows: https://jenkins.dockerproject.org/job/Windows-PRs/18783/console
----------------------------------------------------------------------
FAIL: docker_cli_events_test.go:422: DockerSuite.TestEventsStreaming

docker_cli_events_test.go:470:
    c.Fatal("failed to observe container create in timely fashion", "\n", buffer.String())
... Error: failed to observe container create in timely fashion
2015-12-16T00:48:55.061057000Z 3fad02e3f38327023fe272afcae5be0a9c5e41fd1caed5746691717937c18d2e: (from busybox) stop
2015-12-16T00:48:55.291022100Z 3fad02e3f38327023fe272afcae5be0a9c5e41fd1caed5746691717937c18d2e: (from busybox) destroy

----------------------------------------------------------------------

Hi!
Please read this important information about creating issues.
If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.
If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.
This is an automated, informational response.
Thank you.
For more information about reporting issues, see https://github.com/docker/docker/blob/master/CONTRIBUTING.md#reporting-other-issues

BUG REPORT INFORMATION
Use the commands below to provide key information from your environment:
docker version:
docker info:
uname -a:
Provide additional environment details (AWS, VirtualBox, physical, etc.):
List the steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Provide additional info you think is important:
----------END REPORT ---------
#ENEEDMOREINFO


Create Test for Organizer

Description:
This issue involves creating comprehensive unit tests for the organizer-related functionalities within the application. The goal is to ensure that all aspects of organizer management are functioning correctly and to maintain high code quality through testing.
Objectives:

Test Organizer Creation: Verify that organizers can be created successfully with valid input data.
Test Organizer Role Assignment: Ensure that the correct roles are assigned to users when they are created as organizers.
Test Organizer Data Retrieval: Validate that organizer data can be retrieved accurately, including profile information and associated events.
Test Organizer Update Functionality: Ensure that existing organizer details can be updated correctly.
Test Error Handling: Check for appropriate error messages when trying to create or update organizers with invalid data or when the organizer does not exist.

Requirements:

Use a testing framework compatible with the existing project (e.g., pytest, unittest).
Mock external dependencies where necessary to isolate tests.
Follow best practices for writing clear, maintainable tests with descriptive naming conventions.

Acceptance Criteria:

All tests must pass without errors.
Code coverage for organizer-related functionalities should meet or exceed the project's standards (e.g., 80% coverage).
Documentation for the test cases should be included to explain the purpose and functionality of each test.

Create tests for organizer views to check the response and request such as become organizer and delete own event.


fix: fix RelativeTimeFormat type definition

Changes:

Change BCP47LanguageTag to UnicodeBCP47LocaleIdentifier: Those mean 2
different things. BCP47LangTag allows _ as separator while UTS35
doesn't. It also allows grandfathered locales and UTS35 doesn't.

Combine RelativeTimeFormat interface and const declaration into a
single class. The old way of declaring as interface & const permits
calling Intl.RelativeTimeFormat without new which is no longer
possible after Intl.DateTimeFormat & Intl.NumberFormat. The spec
explicitly forbids it in
http://ecma-international.org/ecma-402/7.0/index.html#relativetimeformat-objects
where:

If NewTarget is undefined, throw a TypeError exception.

Intl.RelativeTimeFormat is also extensible per spec. This is closer to a
class than the current declaration.

Fixes #39660

cc @orta

gentle ping @sandersn


High CPU Usage in Aerospace When Zoom Workspace Is in the Background

When Zoom workspace is moved to the backgroud by Aerospace, the CPU usage of Aerospace increases from 1% to 44%.
Foreground:

Background:

The Zoom workspace window seems to flicker in the corner of the screen. I suspect that Zoom has some mechanism to prevent it from being completely moved off-screen. However, Aerospace may not recognize this and repeatedly tries to move the window, causing the flickering and the high cpu usage.
Screen recording:
https://github.com/user-attachments/assets/89ce1ae1-5f2c-4860-ae0c-56603a575f62

Checklist

[x] I've searched for duplicates. My search queries were (please don't forget to search in closed issues too):

zoom
zoom flicker

[x] I've read the guide https://nikitabobko.github.io/AeroSpace/guide
[x] I've searched in the documentation (https://nikitabobko.github.io/AeroSpace/guide & https://nikitabobko.github.io/AeroSpace/commands). My search queries were:

dvorak
monitor
...

aerospace CLI client version: 0.14.2-Beta 0cb8dbdfc5ee73b8cbc200f175f467ebead55201
AeroSpace.app server version: 0.14.2-Beta 0cb8dbdfc5ee73b8cbc200f175f467ebead55201

Hello @nikitabobko
Is it possible to make a release with the fix so that we can upgrade Aerospace through Homebrew?
Thanks

Released in 0.15.0

On my side, confirmed that 0.15.2-Beta fixed this issue.
Thanks a lot!


Fetch assets from same file service they were stored in

With issues #20 and #49, we now have a way to change what third party file service we use in a configurable way. As of right now there are two possible options: Cloudinary and AWS S3. If we launch Doorway using AWS S3 and further down the line want to switch to Cloudinary or vice versa, we will need to migrate the data such as listing photos for existing listings to the new services.
An alternative to doing a data migration, or a solution in the meantime, is to fetch data from the original file service it was stored in. We currently only store the id for each asset (picture or document) but we do not store whether that is an AWS S3 id or a Cloudinary id. If we do expect to switch services in the future, in order to make the switch easier, we should also store which file service an asset is stored in. Then when reading the asset, instead of using the default file service at the time, we will use the implementation for the original file service to fetch it.
The changes necessary will be:

Add a new field to store what file service an asset is stored in
Set that field when putFile() is called
Based on that field, use the correct file service implementation to get the download URL for the asset

closing, can reopen if there's a need


Need a stable command line api and input summary format

The command line api has been pretty stable already, but with the switch to kernel we need to make sure we don't break things.
We either need to always support analyzer summaries and kernel, or somehow provide a sane way of versioning things so that package:build can depend on the right version of the sdk during the transition to kernel summaries.

I think this is going to be solved by simply having the two different binaries, dartdevk and dartdevc


v0.8r2 suddenly failing to connect

Stratux version: v 0.8r2 + AvSquirrel special sh 3dd1

Stratux config:
SDR
[ ] single
[X ] dual
GPS
[X ] yes
[ ] no
type: BU-353
AHRS
[ ] yes
[X] no
power source: Anker E5
usb cable: Anker cable

EFB app and version: (iFly v5.9.26b)
EFB platform: (Android KK)
EFB hardware: (two Android tablets)

Description of your issue:

Been flying with v0.8r2 for a couple weeks now. About ten trouble free hours. And then, suddenly, Saturday, on a return flight home (where it had been working trouble free on the way out), it suddenly began failing. At first it wouldn't send GPS info to iFly, although traffic info was coming thru.
Yesterday (Tuesday) it would connect and then disconnect after about five minutes. I would have to do power down resets in flight. Eventually, it wouldn't connect at all. Strong signal on Ch 1. But no heartbeat and not able to connect to the web UI. Couldn't see messages on Avare's I/O Plug-in.
I've since reimaged the SD card and Stratux is working again. (On the ground. Haven't flown with it yet.)
Here's a link to a truncated stratux.log file, where I only included yesterday's troublesome flight.
stratux.v0.8r2.avsquirrel.3dd1.log.txt

Did it give you the "No Internet" warning?

are you using a version that is using sqlite?

@cyoung No, to the question about a "no Internet" warning. (I forgot that I had added that one line to the .conf file on the old image to fake out devices. I had reportred that freeze to iFly and IIRC, they fixed a bug on their end.)
@peepsnet No, to the question about sqlite. (I saw your issue reporting a disconnect. I've been hanging back on the betas because v0.8r2 has been working so well and the latest changes seem to have more to do with logging than performance.)

I did have some overheating issues with the Pi placed in the side pocket on my plane on the way down to SnF last week.
Note that your CPU temps don't stabilize completely and the peaks were near the end of the first 34 minute run. Not sure if related.
Fixing the -99.00ºC CPU temp issue now.

I flew two 2-hour legs yesterday. (Coolish OAT's, FWIW, although I've had the Stratux running in the hot AZ sun at home with no problems.) Stayed connected for the flights - ONCE I was able to connect. I think that yesterday's problem is an iFly issue, since they've been changing stuff with how they parse FIS-B. I was able to connect in the sense that I got GPS and I got 1090. But weather wasn't coming thru. It took rebooting the Stratux in flight to get iFly to play nice. The difference between the Stratux for yesterday's flight and the previous disconnecting flights was a re-image of the SD card and Logging disabled. (I dunno - maybe the partition was full last time from logging running for two weeks?)

Closing this. Flew many hours recently with 4964.sh and iFly v9.6.4b. No problems.


Category and metric summary should only have avg

I tried out the new feature I helped with, and I think a merge went wrong somewhere. The summary contained more data than it should.
This PR will fix https://github.com/harlan-zw/unlighthouse/issues/113 and only show the average values for metrics and categories under summary.

Oops, sorry about that! Thanks for checking and the PR


Error while trying to Train in a DataParallel setting on 4 GPUs

Hello,
Thank you for your amazing work. I had an issue while trying to train the model on 4 GPUs. The trace is as shown below. I however was able to train the model with one GPU.
Could you please help me out with this
Traceback (most recent call last):
File "/home/ec2-user/SageMaker/segment-anything/TRACER/main.py", line 55, in
main(args)
File "/home/ec2-user/SageMaker/segment-anything/TRACER/main.py", line 35, in main
Trainer(args, save_path)
File "/home/ec2-user/SageMaker/segment-anything/TRACER/trainer.py", line 56, in init
train_loss, train_mae = self.training(args)
File "/home/ec2-user/SageMaker/segment-anything/TRACER/trainer.py", line 105, in training
outputs, edge_mask, ds_map = self.model(images)
File "/home/ec2-user/anaconda3/envs/new_fast_env/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "/home/ec2-user/anaconda3/envs/new_fast_env/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
return forward_call(*args, **kwargs)
File "/home/ec2-user/anaconda3/envs/new_fast_env/lib/python3.9/site-packages/torch/nn/parallel/data_parallel.py", line 185, in forward
outputs = self.parallel_apply(replicas, inputs, module_kwargs)
File "/home/ec2-user/anaconda3/envs/new_fast_env/lib/python3.9/site-packages/torch/nn/parallel/data_parallel.py", line 200, in parallel_apply
return parallel_apply(replicas, inputs, kwargs, self.device_ids[:len(replicas)])
File "/home/ec2-user/anaconda3/envs/new_fast_env/lib/python3.9/site-packages/torch/nn/parallel/parallel_apply.py", line 110, in parallel_apply
output.reraise()
File "/home/ec2-user/anaconda3/envs/new_fast_env/lib/python3.9/site-packages/torch/_utils.py", line 694, in reraise
raise exception
RuntimeError: Caught RuntimeError in replica 0 on device 0.
Original Traceback (most recent call last):
File "/home/ec2-user/anaconda3/envs/new_fast_env/lib/python3.9/site-packages/torch/nn/parallel/parallel_apply.py", line 85, in _worker
output = module(*input, **kwargs)
File "/home/ec2-user/anaconda3/envs/new_fast_env/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "/home/ec2-user/anaconda3/envs/new_fast_env/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
return forward_call(*args, **kwargs)
File "/home/ec2-user/SageMaker/segment-anything/TRACER/model/TRACER.py", line 38, in forward
features, edge = self.model.get_blocks(x, H, W)
File "/home/ec2-user/SageMaker/segment-anything/TRACER/model/EfficientNet.py", line 245, in get_blocks
x = block(x, drop_connect_rate=drop_connect_rate)
File "/home/ec2-user/anaconda3/envs/new_fast_env/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "/home/ec2-user/anaconda3/envs/new_fast_env/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
return forward_call(*args, **kwargs)
File "/home/ec2-user/SageMaker/segment-anything/TRACER/model/EfficientNet.py", line 122, in forward
x_squeezed = self._se_reduce(x_squeezed)
File "/home/ec2-user/anaconda3/envs/new_fast_env/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "/home/ec2-user/anaconda3/envs/new_fast_env/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
return forward_call(*args, **kwargs)
File "/home/ec2-user/SageMaker/segment-anything/TRACER/util/effi_utils.py", line 301, in forward
x = F.conv2d(x, self.weight, self.bias, self.stride, self.padding, self.dilation, self.groups)
RuntimeError: GET was unable to find an engine to execute this computation

Hi, did you change the num of batch size?

No, I have kept it as 32 itself


Is todo-mvp-kotlin using Dagger for Injection or what?

I'm trying to understand the code from the todo-mvp-kotlin sample, and found calls using an Injection class. The problem is that I could not find any dependencies to Dagger or other DI library, nor any module configuration.

the todo-mvp-kotlin doesn't use Dagger. If you are interested in the dagger sample, it's over in todo-mvp-dagger

So that's an error with the files in the todo-mvp-kotlin repo (e.g.: AddEditTaskActivity.kt, as the activities have an import for the Injection class.
package com.example.android.architecture.blueprints.todoapp.addedittask

import android.os.Bundle
import android.support.v7.app.AppCompatActivity
import com.example.android.architecture.blueprints.todoapp.Injection
import com.example.android.architecture.blueprints.todoapp.R
import com.example.android.architecture.blueprints.todoapp.util.replaceFragmentInActivity
import com.example.android.architecture.blueprints.todoapp.util.setupActionBar

/**
 * Displays an add or edit task screen.
 */
class AddEditTaskActivity : AppCompatActivity() {

Now I see what's happening. I could not find this
injection class as it is in a folder called prod and I was looking only under the main folder.

@julianonunes You can change the build variant to either mock or prod. So the injection class that is used will depend on your build variant. So if you choose the MockDebug variant for instance, it will use the injection class of that in the mock folder. This makes it easy as sometimes you might want to test using dummy data etc.


[$250] Chat - The system redirected to the Concierge chat after clicking on the "X" for closing error message

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Open the App and login
Disable the internet connection in the device
Click on the green + button -> Click on the "New Chat" option
Create a new chat with an invalid phone number<PHONE_NUMBER>555)
Verify the user is navigated to the conversation
Enable the internet connection and wait for a few seconds
Verify that a red dot appears next to the conversation in the LHN indicating something went wrong with the chat creation
Click on the X for closing error message

Expected Result:
The system should be navigated you away from the conversation
Actual Result:
The system redirected to the Concierge chat after clicking on the "X" for closing error message
Workaround:
Unknown
Platform:

Where is this issue occurring?

Web
iOS
Android
Desktop App
Mobile Web

Version Number: <IP_ADDRESS>
Reproducible in staging?: Yes
Reproducible in production?: Yes
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://user-images.githubusercontent.com/93399543/201129647-b80cd265-089c-4c6e-baf7-cb08a35c2a32.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub

Proposal
https://github.com/Expensify/App/blob/c2e4ab25a9b2b7d47004d7b323116f32c181a189/src/pages/home/report/ReportActionItemCreated.js#L46
Currently we always go to Concierge chat after press Close.
Solution
To navigate away from this conversation, we need to check the error then decide to go to Concierge or goBack in ReportActionItemCreated.js.
From eecbb5d9300b7d023c745e19d61970b405665ea1 Mon Sep 17 00:00:00 2001
From: Hans<EMAIL_ADDRESS>Date: Thu, 10 Nov 2022 23:55:51 +0700
Subject: [PATCH] add action close

---
 src/libs/actions/Report.js                       |  7 +++++++
 src/pages/home/report/ReportActionItemCreated.js | 16 ++++++++++++++--
 2 files changed, 21 insertions(+), 2 deletions(-)

diff --git a/src/libs/actions/Report.js b/src/libs/actions/Report.js
index ee240ac8c..f88ca9167 100644
--- a/src/libs/actions/Report.js
+++ b/src/libs/actions/Report.js
@@ -1313,6 +1313,12 @@ function navigateToConciergeChatAndDeleteReport(reportID) {
     Onyx.set(`${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${reportID}`, null);
 }

+function goBackAndDeleteReport(reportID) {
+    Navigation.goBack();
+    Onyx.set(`${ONYXKEYS.COLLECTION.REPORT}${reportID}`, null);
+    Onyx.set(`${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${reportID}`, null);
+}
+
 /**
  * @param {Object} policyRoomReport
  * @param {Number} policyRoomReport.reportID
@@ -1555,4 +1561,5 @@ export {
     clearIOUError,
     getMaxSequenceNumber,
     subscribeToNewActionEvent,
+    goBackAndDeleteReport,
 };
diff --git a/src/pages/home/report/ReportActionItemCreated.js b/src/pages/home/report/ReportActionItemCreated.js
index e62bbb99e..1fdbc2b41 100644
--- a/src/pages/home/report/ReportActionItemCreated.js
+++ b/src/pages/home/report/ReportActionItemCreated.js
@@ -12,6 +12,7 @@ import styles from '../../../styles/styles';
 import OfflineWithFeedback from '../../../components/OfflineWithFeedback';
 import * as Report from '../../../libs/actions/Report';
 import reportPropTypes from '../../reportPropTypes';
+import Navigation from '../../../libs/Navigation/Navigation';

 const propTypes = {
     /** The id of the report */
@@ -38,12 +39,23 @@ const defaultProps = {
 const ReportActionItemCreated = (props) => {
     const isPolicyExpenseChat = ReportUtils.isPolicyExpenseChat(props.report);
     const icons = ReportUtils.getIcons(props.report, props.personalDetails, props.policies);
+    const error = lodashGet(props.report, 'errorFields.addWorkspaceRoom') || lodashGet(props.report, 'errorFields.createChat');
+
+    const onClose = () => {
+        if (error.includes('I couldn\'t validate the phone number')) {
+            Report.goBackAndDeleteReport(props.report.reportID);
+        } else {
+            Report.navigateToConciergeChatAndDeleteReport(
+                props.report.reportID,
+            );
+        }
+    };
     return (
         <OfflineWithFeedback
             pendingAction={lodashGet(props.report, 'pendingFields.addWorkspaceRoom') || lodashGet(props.report, 'pendingFields.createChat')}
-            errors={lodashGet(props.report, 'errorFields.addWorkspaceRoom') || lodashGet(props.report, 'errorFields.createChat')}
+            errors={error}
             errorRowStyles={styles.addWorkspaceRoomErrorRow}
-            onClose={() => Report.navigateToConciergeChatAndDeleteReport(props.report.reportID)}
+            onClose={onClose}
         >
             <View
                 accessibilityLabel="Chat welcome message"
--
2.31.0

@bondydaa @flaviadefaria I am not sure if that is a bug here? Because assume I am on the first chat on a fresh account then where do we redirect? What if I have two subsequent chats with errors in the offline mode? After I enable the internet, should I go back twice?
Can we please get some clarity on the expected behavior?

The system should be navigated you away from the conversation

Navigate away from the conversion, but where? and let's specify for all scenarios.
@hungvu193 I'll review the proposal once I am aware what is the expected result.

oh shoot Brandon is OOO this week. Going to gut check here with the rest of the team but this definitely seems more like a product change/feature request vs a bug since it's very clear why we're being redirected to the concierge chat: b/c it's coded that way.

opened a thread here https://expensify.slack.com/archives/C01GTK53T8Q/p1669066748519699

in favour of closing.

Got some feedback from @aldo-expensify and we both agree we can close this. We can change this later on if we want but for now this is the expected result.
@kbecciv can you make sure any test cases for this flow have something that states this is expected? maybe like "ensure after closing RBR you are directed to the concierge chat",


HLS with separate audio and video

Is there a way to get both the audio and video from HLS input when the are in two distinct playlist ( hlsv4),?

Not with TSDuck. Remember that TSDuck is a transport stream processor and the hls input plugin is just another way to read a transport stream.
HLS can be used to receive several types of data or combinations of data. The hls input plugin can only receive a TS.
When audio and video are dissociated, the audio is usually not a TS. What you need is a generic HLS tool and a true multiplexer. TSDuck is none of these.

Wow, two years in and nobody commented :)
Audio variants in HLS with TS container, are TS indeed.
This will not help if CMAF is used, then it's in MP4 container.
/opt/tools/ffmpeg/ffprobe -i https://bitdash-a.akamaihd.net/content/MI201109210084_1/audio/1_stereo_128000/hls/segment_12.ts
....
Input #0, mpegts, from 'https://bitdash-a.akamaihd.net/content/MI201109210084_1/audio/1_stereo_128000/hls/segment_12.ts':
Duration: 00:00:03.97, start: 47.616000, bitrate: 172 kb/s
Program 1
Stream #0:0[0x101]: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 127 kb/s


Change type of "typeof" to a string literal union

if (typeof x === 'funciton') { // no error
  // oops...
}

Modern JS engines appear to no longer use the "implementation-dependent" possibility in their typeof implementations and only return the "known" values. We should just encode this information into the type of typeof expressions -- we'll catch far more bugs where type names get misspelled in exchange for a very small number of type assertions in code that runs on exotic/ancient runtimes.
Reference: http://stackoverflow.com/questions/8940772/does-the-javascript-typeof-operator-ever-return-an-upper-case-string

One thing we could consider is adding better completion at that point (i.e. we don't give any right now) to mitigate this sort of problem without being overly restrictive.

Seems good. Implementations are technically allowed to return any old string for exotic objects (eg. IE's unknown type for certain ActiveX Objects) but as you say, those days are mostly behind us. While the spec allows for such shenanigans, it contains the following non-normative statement:

Implementations are discouraged from defining new typeof result values for non-standard exotic objects. If possible "object" should be used for such objects.

TS shouldn't concern itself with supporting theoretical hosts that do things the spec says not to do (even non-normatively).

You could also forbid the sequence of characters "funciton" and catch 90% of my typos :-P

Duplicate of #9506 . #searchfail


bug(mdc-form-field): Label css is duplicated multiple times.

Is this a regression?

[X] Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was
V14
Description
Even in the official (docs) page css is duplicated.

Reproduction

Open demo page;
Open dev tools;
Check the mat-radio or mat-slide-toggle label css in inspector.

Expected Behavior
CSS shouldn't be duplicated.
Actual Behavior
CSS is duplicated.
Environment
Angular CLI: 15.1.6
Node: 18.14.0
Package Manager: yarn 3.3.0
OS: win32 x64
Angular: 15.1.5
... animations, cdk, common, compiler, compiler-cli, core, forms
... language-service, material, platform-browser
... platform-browser-dynamic, router
Package                            Version
@angular-devkit/architect          0.1501.6
@angular-devkit/build-angular      15.1.6
@angular-devkit/build-ng-packagr   0.1002.4
@angular-devkit/core               15.1.6
@angular-devkit/schematics         15.1.6
@angular/cli                       15.1.6
@schematics/angular                15.1.6
rxjs                               7.8.0
typescript                         4.9.5

Same as https://github.com/angular/components/issues/26712

So, the upgrade to v15 breaks lots of stuff (which takes more than a week to fix after the automatic migration) and it seems that’s how it should be according to your replies 😄


Bump the thales pkcs11 library to v1.2.5

Replaces #1007
Signed-off-by: Dan Lorenc<EMAIL_ADDRESS>
Summary

Ticket Link

Fixes
Release Note

There are some conflicts but the tests are happy :).


Add Robert Ancell to community team page

Gotta find his Slack ID and make sure he shows in community section

His Slack ID is U0886H1TM


Windows error sound on Alt + Key combinations

Steps to Reproduce

Execute flutter run on the code sample
Press any of the combinations: Alt+Q and Alt+W

Expected results:  Increment / Decrement the counter without producing the error sound on windows
Actual results: Incrementing / Decrementing the counter and also producing the error sound

Code sample

This was the basic approach to add shortcuts to my application.
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';

void main() => runApp(const MyApp());

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  static const String _title = 'Flutter Code Sample';

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: _title,
      home: Scaffold(
        appBar: AppBar(title: const Text(_title)),
        body: const Center(
          child: MyStatefulWidget(),
        ),
      ),
    );
  }
}

class IncrementIntent extends Intent {
  const IncrementIntent();
}

class DecrementIntent extends Intent {
  const DecrementIntent();
}

class MyStatefulWidget extends StatefulWidget {
  const MyStatefulWidget({super.key});

  @override
  State<MyStatefulWidget> createState() => _MyStatefulWidgetState();
}

class _MyStatefulWidgetState extends State<MyStatefulWidget> {
  int count = 0;

  @override
  Widget build(BuildContext context) {
    return Shortcuts(
      shortcuts: <LogicalKeySet, Intent>{
        LogicalKeySet(LogicalKeyboardKey.alt, LogicalKeyboardKey.keyQ): const IncrementIntent(),
        LogicalKeySet(LogicalKeyboardKey.alt, LogicalKeyboardKey.keyW): const DecrementIntent(),
      },
      child: Actions(
        actions: <Type, Action<Intent>>{
          IncrementIntent: CallbackAction<IncrementIntent>(
            onInvoke: (IncrementIntent intent) => setState(() {
              count = count + 1;
            }),
          ),
          DecrementIntent: CallbackAction<DecrementIntent>(
            onInvoke: (DecrementIntent intent) => setState(() {
              count = count - 1;
            }),
          ),
        },
        child: Focus(
          autofocus: true,
          child: Column(
            children: <Widget>[
              const Text('Add to the counter by pressing the up arrow key'),
              const Text(
                  'Subtract from the counter by pressing the down arrow key'),
              Text('count: $count'),
            ],
          ),
        ),
      ),
    );
  }
}

I also tried to use a ShortcutManager which can handle Alt + Key combinations:
class AltCombinationShortcutManager extends ShortcutManager {
  @override
  KeyEventResult handleKeypress(BuildContext context, RawKeyEvent event) {
    // Return handled if any alt combination is pressed
    if (event.isAltPressed) {
      return KeyEventResult.handled;
    }
    return super.handleKeypress(context, event);
  }
}

and using it like so:
Shortcuts.manager(
  manager: AltCombinationShortcutManager(),
  child: ...
)

Logs

Nothing showed up on flutter run --verbose when pressing the combinations

Output of flutter analyze
Analyzing mysample...
No issues found! (ran in 0.7s)

Output of flutter doctor -v
[!] Flutter (Channel beta, 3.7.0-1.5.pre, on Microsoft Windows [Version 10.0.22621.1105], locale en-IN)
    • Flutter version 3.7.0-1.5.pre on channel beta at C:\tools\flutter
    ! Warning: `dart` on your path resolves to C:\tools\dart-sdk\bin\dart.exe, which is not inside your current Flutter SDK checkout at C:\tools\flutter. Consider adding C:\tools\flutter\bin to
      the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 099b3f4bf1 (6 days ago), 2023-01-20 18:35:12 -0800
    • Engine revision 45c5586f2a
    • Dart version 2.19.0 (build 2.19.0-444.6.beta)
    • DevTools version 2.20.1
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
    • Android SDK at C:\Users\<user>\AppData\Local\Android\sdk
    • Platform android-33, build-tools 33.0.1
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • CHROME_EXECUTABLE = C:\Program Files\BraveSoftware\Brave-Browser\Application\brave.exe

[√] Visual Studio - develop for Windows (Visual Studio Community 2022 17.4.3)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.4.33205.214
    • Windows 10 SDK version 10.0.22000.0

[√] Android Studio (version 2021.3)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[√] VS Code (version 1.74.3)
    • VS Code at C:\Users\<user>\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.58.0

[√] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.22621.1105]
    • Chrome (web)      • chrome  • web-javascript • unknown
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 109.0.1518.61

[√] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

@Dusk-afk Thanks for your report. This issue is reproducible on the latest stable, beta, and master channels.
Demo
https://user-images.githubusercontent.com/104349824/215037405-748bec16-4765-4350-9f9d-2843e2a798fc.mp4

flutter doctor -v (stable, master & beta)
[√] Flutter (Channel stable, 3.7.0, on Microsoft Windows [Version 10.0.19045.2486], locale en-US)
    • Flutter version 3.7.0 on channel stable at C:\WIP\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision b06b8b2710 (3 days ago), 2023-01-23 16:55:55 -0800
    • Engine revision b24591ed32
    • Dart version 2.19.0
    • DevTools version 2.20.1

[√] Windows Version (Installed version of Windows is version 10 or higher)

Checking Android licenses is taking an unexpectedly long time...[√] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
    • Android SDK at C:\AndroidSDK
    • Platform android-32, build-tools 32.0.0
    • ANDROID_HOME = C:\AndroidSDK
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop for Windows (Visual Studio Community 2022 17.4.4)
    • Visual Studio at D:\DOWNLOADWORK\VS2022
    • Visual Studio Community 2022 version 17.4.33213.308
    • Windows 10 SDK version 10.0.19041.0

[√] Android Studio (version 2021.2)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)

[!] Android Studio (version 2022.1)
    • Android Studio at C:\Program Files\Android\Android Studio Electric Eel 2022.1.1
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    X Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

[√] VS Code (version 1.74.3)
    • VS Code at C:\Users\ADMIN\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.56.0

[√] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.19045.2486]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 109.0.5414.120
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 108.0.1462.76

[√] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

[!] Flutter (Channel master, 3.7.0-29.0.pre.1, on Microsoft Windows [Version 10.0.19045.2486], locale en-US)
    • Flutter version 3.7.0-29.0.pre.1 on channel master at C:\WIP\flutter_master
    ! Warning: `flutter` on your path resolves to C:\WIP\flutter\bin\flutter, which is not inside your current
      Flutter SDK checkout at C:\WIP\flutter_master. Consider adding C:\WIP\flutter_master\bin to the front of your
      path.
    ! Warning: `dart` on your path resolves to C:\WIP\flutter\bin\dart, which is not inside your current Flutter SDK
      checkout at C:\WIP\flutter_master. Consider adding C:\WIP\flutter_master\bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 27f8ebdaed (5 hours ago), 2023-01-26 22:16:17 -0500
    • Engine revision ade610ec88
    • Dart version 3.0.0 (build 3.0.0-171.0.dev)
    • DevTools version 2.20.1
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git"
      directly to perform update checks and upgrades.

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
    • Android SDK at C:\AndroidSDK
    • Platform android-32, build-tools 32.0.0
    • ANDROID_HOME = C:\AndroidSDK
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop for Windows (Visual Studio Community 2022 17.4.4)
    • Visual Studio at D:\DOWNLOADWORK\VS2022
    • Visual Studio Community 2022 version 17.4.33213.308
    • Windows 10 SDK version 10.0.19041.0

[√] Android Studio (version 2021.2)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)

[!] Android Studio (version 2022.1)
    • Android Studio at C:\Program Files\Android\Android Studio Electric Eel 2022.1.1
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    X Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

[√] VS Code (version 1.74.3)
    • VS Code at C:\Users\ADMIN\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.56.0

[√] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.19045.2486]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 109.0.5414.120
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 108.0.1462.76

[√] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 2 categories.

[!] Flutter (Channel beta, 3.7.0-1.5.pre, on Microsoft Windows [Version 10.0.19045.2486], locale en-US)
    • Flutter version 3.7.0-1.5.pre on channel beta at C:\WIP\flutter_beta
    ! Warning: `flutter` on your path resolves to C:\WIP\flutter\bin\flutter, which is not inside your current
      Flutter SDK checkout at C:\WIP\flutter_beta. Consider adding C:\WIP\flutter_beta\bin to the front of your path.
    ! Warning: `dart` on your path resolves to C:\WIP\flutter\bin\dart, which is not inside your current Flutter SDK
      checkout at C:\WIP\flutter_beta. Consider adding C:\WIP\flutter_beta\bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 099b3f4bf1 (6 days ago), 2023-01-20 18:35:12 -0800
    • Engine revision 45c5586f2a
    • Dart version 2.19.0 (build 2.19.0-444.6.beta)
    • DevTools version 2.20.1
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git"
      directly to perform update checks and upgrades.

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
    • Android SDK at C:\AndroidSDK
    • Platform android-32, build-tools 32.0.0
    • ANDROID_HOME = C:\AndroidSDK
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop for Windows (Visual Studio Community 2022 17.4.4)
    • Visual Studio at D:\DOWNLOADWORK\VS2022
    • Visual Studio Community 2022 version 17.4.33213.308
    • Windows 10 SDK version 10.0.19041.0

[√] Android Studio (version 2021.2)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)

[!] Android Studio (version 2022.1)
    • Android Studio at C:\Program Files\Android\Android Studio Electric Eel 2022.1.1
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    X Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

[√] VS Code (version 1.74.3)
    • VS Code at C:\Users\ADMIN\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.56.0

[√] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.19045.2486]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 109.0.5414.120
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 108.0.1462.76

[√] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 2 categories.

I did some research and came upon Windows programming and key events: ALT key sound effect.
It said:

handling WM_SYSCHAR will stop Windows from playing sounds

I tried to handle WM_SYSCHAR in a winapi app (not a flutter app), it removes the error sound. But when I try this in Flutter app, it doesn't work. Explanation:
I added code to handle WM_SYSCHAR in win32_window.cpp file like so:
LRESULT CALLBACK Win32Window::WndProc(HWND const window,
                                      UINT const message,
                                      WPARAM const wparam,
                                      LPARAM const lparam) noexcept {
  if (message == WM_SYSCHAR) {
    std::cout << "SYSCHAR from win32" << std::endl;
    return 0;
  }
  ...
}

Now when I try to press Alt+Space, this would usually trigger a menu in top-left, but now it doesn't and "SYSCHAR from win32" is printed in the console. Implying the code worked for Alt+Space.
But when I try to press Alt+Q (or any other key), "SYSCHAR from win32" is not printed in the console and error sound is played. It seems like WM_SYSCHAR is already being processed.

I was able to fix the issue (somewhat).
I implemented Keyboard Accelerators
Here are the changes I made:

Created accelerator table by calling CreateAcceleratorTable

main.cpp

LPACCEL accels = GenerateAccels();
HACCEL haccel = CreateAcceleratorTable(accels, 36);
if (haccel==NULL) {
  return EXIT_FAILURE;
}

Here's the GenerateAccels function:
LPACCEL GenerateAccels() {
  LPACCEL lpAccel = new ACCEL[36];

  // Alt + Number combinations:
  for (int i = 0; i < 10; i++) {
    lpAccel[i].fVirt = FALT;
    lpAccel[i].key = (WORD)(0x30 + i);
  }

  // Alt + Alphabet combinations (NOT WORKING AT THE MOMENT):
  for (int i = 0; i < 26; i++) {
    lpAccel[i + 10].fVirt = FALT;
    lpAccel[i + 10].key = (WORD)(0x41 + i);
  }

  return lpAccel;
}

Then adding a call to TranslateAccelerator in the main loop

::MSG msg = { };
while (::GetMessage(&msg, nullptr, 0, 0) > 0) {
  if (!TranslateAccelerator(msg.hwnd, haccel, &msg)) {
    ::TranslateMessage(&msg);
    ::DispatchMessage(&msg);
  }
}

I also added this check to prevent error sound from playing when any key is pressed after pressing Alt (Alt is not held down).

flutter_window.cpp

case WM_SYSCOMMAND:
  // If the selection is in menu
  // handle the key event
  // This prevents the error/beep sound
  if (wparam == SC_KEYMENU) {
    return 0;
  }

Here are the final files:

main.cpp
#include <flutter/dart_project.h>
#include <flutter/flutter_view_controller.h>
#include <windows.h>

#include "flutter_window.h"
#include "utils.h"

LPACCEL GenerateAccels() {
  LPACCEL lpAccel = new ACCEL[36];

  // Alt + Number combinations:
  for (int i = 0; i < 10; i++) {
    lpAccel[i].fVirt = FALT;
    lpAccel[i].key = (WORD)(0x30 + i);
  }

  // Alt + Alphabet combinations (NOT WORKING AT THE MOMENT):
  for (int i = 0; i < 26; i++) {
    lpAccel[i + 10].fVirt = FALT;
    lpAccel[i + 10].key = (WORD)(0x41 + i);
  }

  return lpAccel;
}

int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev,
                      _In_ wchar_t *command_line, _In_ int show_command) {
  // Attach to console when present (e.g., 'flutter run') or create a
  // new console when running with a debugger.
  if (!::AttachConsole(ATTACH_PARENT_PROCESS) && ::IsDebuggerPresent()) {
    CreateAndAttachConsole();
  }

  // Initialize COM, so that it is available for use in the library and/or
  // plugins.
  ::CoInitializeEx(nullptr, COINIT_APARTMENTTHREADED);

  flutter::DartProject project(L"data");

  std::vector<std::string> command_line_arguments =
      GetCommandLineArguments();

  project.set_dart_entrypoint_arguments(std::move(command_line_arguments));

  FlutterWindow window(project);
  Win32Window::Point origin(10, 10);
  Win32Window::Size size(1280, 720);
  if (!window.CreateAndShow(L"mysample", origin, size)) {
    return EXIT_FAILURE;
  }
  window.SetQuitOnClose(true);

  LPACCEL accels = GenerateAccels();
  HACCEL haccel = CreateAcceleratorTable(accels, 36);
  if (haccel==NULL) {
    return EXIT_FAILURE;
  }

  ::MSG msg = { };
  while (::GetMessage(&msg, nullptr, 0, 0) > 0) {
    if (!TranslateAccelerator(msg.hwnd, haccel, &msg)) {
      ::TranslateMessage(&msg);
      ::DispatchMessage(&msg);
    }
  }

  ::CoUninitialize();
  return EXIT_SUCCESS;
}

flutter_window.cpp
#include "flutter_window.h"

#include <optional>

#include "flutter/generated_plugin_registrant.h"

FlutterWindow::FlutterWindow(const flutter::DartProject& project)
    : project_(project) {}

FlutterWindow::~FlutterWindow() {}

bool FlutterWindow::OnCreate() {
  if (!Win32Window::OnCreate()) {
    return false;
  }

  RECT frame = GetClientArea();

  // The size here must match the window dimensions to avoid unnecessary surface
  // creation / destruction in the startup path.
  flutter_controller_ = std::make_unique<flutter::FlutterViewController>(
      frame.right - frame.left, frame.bottom - frame.top, project_);
  // Ensure that basic setup of the controller was successful.
  if (!flutter_controller_->engine() || !flutter_controller_->view()) {
    return false;
  }
  RegisterPlugins(flutter_controller_->engine());
  SetChildContent(flutter_controller_->view()->GetNativeWindow());
  return true;
}

void FlutterWindow::OnDestroy() {
  if (flutter_controller_) {
    flutter_controller_ = nullptr;
  }

  Win32Window::OnDestroy();
}

LRESULT
FlutterWindow::MessageHandler(HWND hwnd, UINT const message,
                              WPARAM const wparam,
                              LPARAM const lparam) noexcept {
  // Give Flutter, including plugins, an opportunity to handle window messages.
  if (flutter_controller_) {
    std::optional<LRESULT> result =
        flutter_controller_->HandleTopLevelWindowProc(hwnd, message, wparam,
                                                      lparam);
    if (result) {
      return *result;
    }
  }

  switch (message) {
    case WM_FONTCHANGE:
      flutter_controller_->engine()->ReloadSystemFonts();
      break;

    case WM_SYSCOMMAND:
      // If the selection is in menu
      // handle the key event
      // This prevents the error/beep sound
      if (wparam == SC_KEYMENU) {
        return 0;
      }
  }

  return Win32Window::MessageHandler(hwnd, message, wparam, lparam);
}

One thing that isn't working is Alt + Alphabet combinations. When pressed, it is still playing that error sound.


fix DEBUG_HIDE_DATE, DEBUG_COLORS, DEBUG_DEPTH and DEBUG_SHOW_HIDDEN ignored

From the issue: https://github.com/debug-js/debug/issues/746
Building on the outdated PR: https://github.com/debug-js/debug/commit/9a1953efd2e31e3dbe4dad920d047ad51510da24
Completed with mocha tests.

Seems you've used this branch for a bunch of other fixes that are out of scope. I can't follow what's happening anymore, sorry.

@Qix- Apologies. It's has been so long I forgot about this PR and started pushing changes into my fork.
Please see https://github.com/debug-js/debug/pull/926 for the intended fix.