Option default_beautifier not respected

Description
Started editing JSX files lately so the package now defaults to Pretty Diff. Strange actually, because JS Beautify seems more elaborate/popular. Since a lot of my legacy project was formatted using JS Beautify I'm bound to keep using it anyway, so I set .jsbeautifyrc with default_beautifier: JS Beautify, expecting it'd work.
Input Before Beautification
This is what the code looked like before:
switch (1) {
case 1:
    break;
}

Expected Output
The beautified code should have looked like this:
switch (1) {
case 1:
    break;
}

Actual Output
The beautified code actually looked like this:
switch (1) {
    case 1:
        break;
}

Steps to Reproduce

Add code to Atom editor
Run command Atom Beautify: Beautify Editor
This beautified code does not look right!

Debug
Here is a link to the debug.md Gist: https://gist.github.com/adi518/310db275bf1270e7d2a0eb39d9b428ed
Checklist
I have:

[x ] Tried uninstalling and reinstalling Atom Beautify to ensure it installed properly
[x ] Reloaded (or restarted) Atom to ensure it is not a caching issue
[ x] Searched through existing Atom Beautify Issues at https://github.com/Glavin001/atom-beautify/issues
so I know this is not a duplicate issue
[x ] Filled out the Input, Expected, and Actual sections above or have edited/removed them in a way that fully describes the issue.
[ x] Generated debugging information by executing Atom Beautify: Help Debug Editor command in Atom and added link for debug.md Gist to this issue

If I recall correctly, Pretty Diff beautifier ( @prettydiff ) has better support for JSX than JS Beautify, thus the defaultBeautifier for JSX is set to Pretty Diff: https://github.com/Glavin001/atom-beautify/blob/master/src/languages/jsx.coffee#L25
I think you are correct, the default_beautifier option is not respected from the configuration files (e.g. .jsbeautifyrc). I see it is being extracted from Atom's settings: https://github.com/Glavin001/atom-beautify/blob/604b6340d6a34d13a1b0285cc341da6afeb447d3/src/beautifiers/index.coffee#L137
I will be addressing this bug in future releases with Unibeautify ( #1174 ) which will rely on configuration and not on Atom's settings for default_beautifier and more. For now, I recommend you make the change within Atom-Beautify's package settings.


Roles Clarification required.

For assigning any roles to the service principal
as per this article only owner can do it Because
the contributor even if it is network contributor
shouldnt be able to do any other assigment.
Access assigment by design its reserved only to
Subscription owners.
aks requires aks network contributor role
but who can assign it , someone with the right
access level to deal with permissions, meaning the owner.
If a contributor attempts to deal with access assignment will get this error
"Could not create a role assignment for subnet. Are you an Owner on this subscription?"

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

ID: 21632cd2-aec0-1521-a9b0-f96f69ab15ed
Version Independent ID: d6ab81e8-1aba-b922-9984-4523386c83cf
Content: Manage Azure subscriptions with the Azure CLI
Content Source: docs-ref-conceptual/manage-azure-subscriptions-azure-cli.md
Service: azure-cli
GitHub Login: @dbradish-microsoft
Microsoft Alias: dbradish

@porrascarlos802018 Thank you for the feedback!  We are investigating this and will get back to you shortly.

@porrascarlos802018 This is a good question but outside of the scope for this document.  I would start off with the AKS documentation:
https://docs.microsoft.com/en-us/azure/aks/kubernetes-service-principal
Additionally, you'll want to check out the Active Directory documentation on service principals:
https://docs.microsoft.com/en-us/azure/active-directory/develop/app-objects-and-service-principals
If you still have questions, we have a forum specifically for Azure Kubernetes Service (AKS) where you can get more detailed answers for your AKS questions:
https://docs.microsoft.com/en-us/answers/topics/azure-kubernetes-service.html

@porrascarlos802018 We are going to close this thread as resolved but if there are any further questions regarding this documentation, please tag me in your reply and we will be happy to continue the conversation.


legit email is considered unsolicited bulk e-mail

Couple of days ago, a legit email got rejected. The sender got this as reply:

was considered unsolicited bulk e-mail (UBE).

Our internal reference code for your message is 2543112-06/Q8cmmCBHhq9r

The message carried your return address, so it was either a genuine mail
from you, or a sender address was faked and your e-mail address abused
by third party, in which case we apologize for undesired notification.

We do try to minimize backscatter for more prominent cases of UBE and
for infected mail, but for less obvious cases some balance between
losing genuine mail and sending undesired backscatter is sought,
and there can be some collateral damage on either side.

First upstream SMTP client IP address: [<IP_ADDRESS>]
  wp562.webpack.hosteurope.de
According to a 'Received:' trace, the message apparently originated at:
  [<IP_ADDRESS>], wp562.webpack.hosteurope.de wp562.webpack.hosteurope.de
  [<IP_ADDRESS>]

Return-Path<EMAIL_ADDRESS>From: xxx xxx<EMAIL_ADDRESS>Message-ID<EMAIL_ADDRESS>Subject: Post

Delivery of the email was stopped!

My log sais the following:
Apr 24 15:46:48 mx0 postfix/postscreen[2659970]: PASS OLD [<IP_ADDRESS>]:56258
Apr 24 15:46:49 mx0 postfix/smtpd[2660647]: connect from wp562.webpack.hosteurope.de[<IP_ADDRESS>]
Apr 24 15:46:49 mx0 postfix/smtpd[2660647]: Anonymous TLS connection established from wp562.webpack.hosteurope.de[<IP_ADDRESS>]: TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)
Apr 24 15:46:49 mx0 policyd-spf[2660653]: prepend Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=<IP_ADDRESS>; helo=wp562.webpack.hosteurope.de<EMAIL_ADDRESS>receiver=<UNKNOWN>
Apr 24 15:46:49 mx0 postfix/smtpd[2660647]: D0A57606B1: client=wp562.webpack.hosteurope.de[<IP_ADDRESS>]
Apr 24 15:46:49 mx0 postsrsd[2660659]: srs_forward<EMAIL_ADDRESS>rewritten as<EMAIL_ADDRESS>Apr 24 15:46:49 mx0 postfix/cleanup[2660658]: D0A57606B1<EMAIL_ADDRESS>Apr 24 15:46:49 mx0 opendkim[340]: D0A57606B1: wp562.webpack.hosteurope.de [<IP_ADDRESS>] not internal
Apr 24 15:46:49 mx0 opendkim[340]: D0A57606B1: not authenticated
Apr 24 15:46:49 mx0 opendmarc[346]: D0A57606B1: sender.de none
Apr 24 15:46:49 mx0 postfix/qmgr[1146]: D0A57606B1<EMAIL_ADDRESS>size=165859, nrcpt=1 (queue active)
Apr 24 15:46:50 mx0 postfix/smtpd[2660647]: disconnect from wp562.webpack.hosteurope.de[<IP_ADDRESS>] ehlo=2 starttls=1 mail=1 rcpt=1 data=1 quit=1 commands=7
Apr 24 15:46:52 mx0 postfix/postscreen[2659970]: DNSBL rank 5 for [<IP_ADDRESS>]:48915
Apr 24 15:46:52 mx0 postfix/postscreen[2659970]: NOQUEUE: reject: RCPT from [<IP_ADDRESS>]:48915: 550 5.7.1 Service unavailable; client [<IP_ADDRESS>] blocked using zen.spamhaus.org<EMAIL_ADDRESS><EMAIL_ADDRESS>proto=ESMTP, helo=<recondite.drkhedri.com>
Apr 24 15:46:52 mx0 postfix/postscreen[2659970]: DISCONNECT [<IP_ADDRESS>]:48915
Apr 24 15:46:54 mx0 postfix/smtpd[2660682]: connect from localhost[<IP_ADDRESS>]
Apr 24 15:46:54 mx0 postfix/smtpd[2660682]: 21F2F619D2: client=localhost[<IP_ADDRESS>]
Apr 24 15:46:54 mx0 postsrsd[2660659]: srs_forward: <""> not rewritten: No at sign in sender address
Apr 24 15:46:54 mx0 postsrsd[2660660]: srs_reverse<EMAIL_ADDRESS>rewritten as<EMAIL_ADDRESS>Apr 24 15:46:54 mx0 postfix/cleanup[2660658]: 21F2F619D2<EMAIL_ADDRESS>Apr 24 15:46:54 mx0 postsrsd[2660660]: srs_reverse<EMAIL_ADDRESS>rewritten as<EMAIL_ADDRESS>Apr 24 15:46:54 mx0 postfix/qmgr[1146]: 21F2F619D2: from=<>, size=5322, nrcpt=1 (queue active)
Apr 24 15:46:54 mx0 postfix/smtpd[2660682]: disconnect from localhost[<IP_ADDRESS>] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Apr 24 15:46:54 mx0 amavis[2543112]: (2543112-06) Blocked SPAM {BouncedInbound,Quarantined}, [<IP_ADDRESS>]:56258 [<IP_ADDRESS>]<EMAIL_ADDRESS>-><EMAIL_ADDRESS>quarantine: Q/spam-Q8cmmCBHhq9r.gz, Queue-ID: D0A57606B1, Message-ID<EMAIL_ADDRESS>mail_id: Q8cmmCBHhq9r, Hits: 3.749, size: 166910, 4264 ms
Apr 24 15:46:54 mx0 postfix/smtp[2660661]: D0A57606B1<EMAIL_ADDRESS><EMAIL_ADDRESS>relay=<IP_ADDRESS>[<IP_ADDRESS>]:10024, delay=4.8, delays=0.57/0.01/0.01/4.3, dsn=2.5.0, status=sent (250 2.5.0 Ok, id=2543112-06, BOUNCE)
Apr 24 15:46:54 mx0 postfix/qmgr[1146]: D0A57606B1: removed

Spamassasin settings:
ENABLE_SPAMASSASSIN=1
SPAMASSASSIN_SPAM_TO_INBOX=1
SA_TAG=0.0
SA_TAG2=3.0
SA_KILL=3.0
SA_SPAM_SUBJECT=undef

Is this related to #1396 ?
Why do I not get any notification about this?
Where is the "Quarantaine"?
How can I configure the mailserver to deliver such emails?

Well, as I understand it the SPAMASSASSIN_SPAM_TO_INBOX option was added in #1396? So as you have defined it to 1 you are using that fix, but the message is still bounced?

Well, I just found out that I am using my openarc branch, so I probably do not have the current fixes in there. Will switch to latest and report back. Is there any Spam-Email-Tester to reproduce this behaviour?

Using this to test the spam filter:
https://en.wikipedia.org/wiki/GTUBE
Using latest tag of docker-mailserver.
Seeing in the log that my message gets quarantied and not delivered:
 -> spam-quarantine, mbx=/var/lib/amavis/virusmails/D/spam-D0iDJuvb9dKN.gz

I suppose, this is NOT expected behavior, right?

How can I turn this off?

I figured out that SA_KILL=3.0 overrides SPAMASSASSIN_SPAM_TO_INBOX=1 which was not clear to me. I set SA_KILL to a very high value (10000) now and it seems that spam is delivered to my inbox and then filtered by my sieve filter to the Junk folder, which is exactly what I want.
However, I am not sure about virusmails still.

Seems I'm lagging behind here. I can merge stable to arc if you like, or even latest but it might break things? I think that viruses will go to the quarantine with an e-mail to you that they were blocked. At least that is how the integration test works.

I can merge stable to arc if you like, or even latest but it might break things?
Yeah, we could try that. However, I think the OpenARC project is pretty dead, even though they state they are not. I changed my setup so that I do not need ARC anymore at all. So not important for me, but would be nice to keep the feature

I think that viruses will go to the quarantine with an e-mail to you that they were blocked

What exactly means quarantine here? dumped into the filesystem with no easy way to recover?
What means "to you"? Postmaster? I never receive such emails.

Alright, I am not able to answer all my previous questions, but I found a solution for myself.
I created a dedicated mailbox for the quarantine<EMAIL_ADDRESS>then in config/amavis.cf:
$clean_quarantine_to      =<EMAIL_ADDRESS>$virus_quarantine_to      =<EMAIL_ADDRESS>$banned_quarantine_to     =<EMAIL_ADDRESS>$bad_header_quarantine_to =<EMAIL_ADDRESS>$spam_quarantine_to       =<EMAIL_ADDRESS>
This will prevent losing any mails I suppose. Everything which is either infected or exeeds the SA_KILL threshold will be delivered to this mailbox.

Great, perhaps you could document that in the FAQ for the future and close this then?

Great idea!

Just for curiosity. I think there are a lot of more mails blocked on my domain which do not even get checked by amavis. I think those are the IP blacklist checks which preceeds the actual receiving of the email.
Is there an easy way to disable this as well and/or receive them into another separate mailbox. I would be curious whats going on there. Also this would complete the FAQ entry :)

Take a look at my comment: https://github.com/tomav/docker-mailserver/issues/1396#issuecomment-597385750

https://github.com/tomav/docker-mailserver/wiki/FAQ-and-Tips#how-do-i-have-more-control-about-what-spamassasin-is-filtering

Nice documentation @mindrunner!
The current spamassassin filtering behavior is discussed in https://github.com/tomav/docker-mailserver/issues/1396, as SPAMASSASSIN_SPAM_TO_INBOX is currently bugged, you will not receive any spam in the mailbox. Fix: https://github.com/tomav/docker-mailserver/pull/1485.

Don't really understand. What is bugged? It seems quite functional here in my setup.

SPAMASSASSIN_SPAM_TO_INBOX=1 wasn't working as excepted: amavis/conf.d/49-docker-mailserver wasn't updated,  amavis was still using $final_spam_destiny = D_BOUNCE; as spam destiny.

It seems quite functional here in my setup.

You are using SA_KILL=higth value, in this case the spam are always delivered (README)

SA_KILL To inhibit this behaviour and deliver spam emails, set this to a very high value e.g. 100.0.
README.md

It might not affect your setup because $final_spam_destiny was never used due to SA_KILL=hight value.
Regarding your sieve Junk rule, it might not be required anymore if SPAMASSASSIN_SPAM_TO_INBOX=1 and MOVE_SPAM_TO_JUNK=1 are set but I didn't tried with
SA_TAG=-100000.0
SA_KILL=100000.0

With the fix, you could try just setting SPAMASSASSIN_SPAM_TO_INBOX=1 and MOVE_SPAM_TO_JUNK=1 without defining custom SA_TAG/SA_KILL/custom sieve rule, I think legit emails marked as spam will pass and will be delivered directly in the Junk folder.
Be sure to use SA Learn cronjob in order to reduce the next false positives.

Yes. that all makes sense. Might update my config as soon as the fix is merged. sa-learn is running once a day here.


wireguard: allow not storing private keys in world-readable /nix/store

Motivation for this change
The wireguard module always used to put the private keys in the Nix Store, which is world-readable.
I changed the module to allow specifying a file instead, which will be read at runtime only.
Things done

[X] Tested using sandboxing
(nix.useSandbox on NixOS,
or option build-use-sandbox in nix.conf
on non-NixOS)
Built on platform(s)

[X] NixOS
[N/A] macOS
[N/A] Linux

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[X] Fits CONTRIBUTING.md.

CC @ericsagnes @zx2c4

ping @ericsagnes for later testing of the module.


BugFix: Updating a todo item adds it as a new todo item #9

Pull Request for issue #9,
It took me hours to find the cause, and the change I made to fix it is so small! 😅😆 (I had to do a whole lot of debugging though 👀)
But finally, the bug has been fixed now! 🎉
Also, while editing you weren't able to change the text inputs earlier, but I fixed them too!
Thanks for the opportunity!!
Happy Hacktober!!! 🥳🎉🎉🎉

I thought I was the only with debugged-so-long-for-a-bug-this-small problems :laughing:  but glad that I am not alone XD
Thank you so much for your help to make this project better than it was before.
Happy Hacktober! :confetti_ball:


Encrypyt Fargate ephemeral storage

The condition fargateEphemeralStorageKmsKeyId needs to be set on the Fargate cluster to ensure ephemeral storage is encrypted with a KMS key

Resolved. Also decided to encrypt RDS with the same key for consistency.


Add pubkey to getAccount result

it should be possible to get a pubkey from an address

Well, if they have signed one transaction before, it is possible on all chains I know of. If they haven't signed anything, it is impossible.
I support an optional field, but let's consider where to place this. This did belong to BcpNonce before, as we had separated the queries for account balances and signing information (nonce, pubkey, etc).
If we add this as an optional field to Account, then I would suggest merging the last nonce query into Account as well and just have one object there with all info.

Good point about pubkey being optional.
I'd not mix this with nonce, because getAccount is always a network request but getNonce may be implemented locally.

Not possible on Ethereum because no pubkeys are stored


Revert "Remove usages of HOMEBREW_INSTALL_BUNDLER_GEMS_FIRST"

Reverts Homebrew/brew#8442 as @rmNULL was running into issues with this.
CC @dawidd6

Any details on those issues?

Any details on those issues?

@rmNULL Can you please provide instructions to reproduce the issue?

I would really recommend not reverting this as before running brew audit -h or brew audit --skip-style caused bundler gems installation which is a bad UX in my opinion (also annoying). Instead maybe try to squeeze install_bundler_gems! method calls where really needed, as I suppose there are some problems with patchelf.rb?

steps to reproduce
docker run -it --rm homebrew/brew
cd /home/linuxbrew/.linuxbrew/Homebrew
git fetch origin pull/7213/merge:pr7213
git switch pr7213
export HOMEBREW_DEVELOPER=1 HOMEBREW_NO_AUTO_UPDATE=1 HOMEBREW_PATCHELF_RB_WRITE=1
brew install hello

crash log
rror: You have already activated json 2.1.0, but your Gemfile requires json 2.3.1. Since json is a default gem, you can either remove your dependency on it or try updating to a newer version of bundler that supports json as a default gem.
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/lib/ruby/2.6.0/bundler/runtime.rb:319:in `check_for_activated_spec!'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/lib/ruby/2.6.0/bundler/runtime.rb:31:in `block in setup'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/lib/ruby/2.6.0/forwardable.rb:230:in `each'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/lib/ruby/2.6.0/forwardable.rb:230:in `each'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/lib/ruby/2.6.0/bundler/runtime.rb:26:in `map'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/lib/ruby/2.6.0/bundler/runtime.rb:26:in `setup'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/lib/ruby/2.6.0/bundler.rb:107:in `setup'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/os/linux/elf.rb:186:in `patchelf_patcher'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/os/linux/elf.rb:114:in `dynamic_elf?'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/extend/os/linux/keg_relocate.rb:53:in `block in detect_cxx_stdlibs'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/extend/os/linux/keg_relocate.rb:52:in `each'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/extend/os/linux/keg_relocate.rb:52:in `detect_cxx_stdlibs'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/cxxstdlib.rb:29:in `check_compatibility'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula_installer.rb:1064:in `pour'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula_installer.rb:338:in `install'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula_installer.rb:665:in `install_dependency'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula_installer.rb:602:in `block in install_dependencies'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula_installer.rb:602:in `each'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula_installer.rb:602:in `install_dependencies'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula_installer.rb:309:in `install'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/cmd/install.rb:343:in `install_formula'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/cmd/install.rb:262:in `block in install'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/cmd/install.rb:260:in `each'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/cmd/install.rb:260:in `install'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/brew.rb:113:in `<main>'
root@2a41bcaff6cb:/home/linuxbrew/.linuxbrew/Homebrew#

@dawidd6

install_bundler_gems! method calls where really needed
the issue is despite this being done.

https://github.com/rmNULL/brew/blob/05fd281e38df6b2d56a9866c4876e1f871f1fd9a/Library/Homebrew/os/linux/elf.rb#L187

I would really recommend not reverting this cause before, running brew audit -h or brew audit --skip-style caused bundler gems installation which is a bad UX and simply wrong behavior in my opinion (also annoying).

strongly agree.

Looks a bit unrelated for me. This env var is exported only if audit or style commands are run. There are no more occurrencies in the code. You are simply installing a formula here. Am I missing something?

Looks a bit unrelated to me. This env var is exported only if audit or style commands are run. There are no more occurrencies in the code. You are simply installing a formula here. Am I missing something?

It's likely the issue is not related to the commit in question.
quoting @sjackman
I also tried
git fetch origin pull/7213/merge:pr7213
git switch pr7213
git fetch origin pull/8498/head
git cherry-pick 968580dc9419a206805ad03efc05a2af2a07ba3b
export HOMEBREW_DEVELOPER=1 HOMEBREW_PATCHELF_RB_WRITE=1 HOMEBREW_NO_AUTO_UPDATE=1
brew install hello
but it gave the same error Error: You have already activated json 2.1.0, but your Gemfile requires json 2.3.1.

@dawidd6 confirmed, issue is unrelated to this PR.
it is caused by the vendored ruby gem having json 2.1.0 as its default gem.
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/bin/gem update json
fixes the issue.


Upadte Project!

Could you update your project for new Xamarin.Forms version and release new version?
Thanks in Advance.

Same here, this has the potential so be a good plugin but not if the contributor fails to maintain it...

Ok.
I'll update asap.

Excellent, great package look forward to using this

https://github.com/stormlion227/PhotoBrowser.Forms/pull/14

@stormlion227 pretty sure this ticket can be closed now


Correction - Configure the offline media

The documentation reads  "On MDT01, using File Explorer, copy the CustomSettings.ini file from the E:\MDTBuildLab\Control folder to E:\MDTOfflineMedia\Content\Deploy\Control. Overwrite the existing files."
I believe the customsettings.ini should be copied from E:\MDTProduction\Control

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

ID: 1c66f2a3-5be3-e3cf-b90f-c9ce2f6ecf9d
Version Independent ID: c9ed7f55-3770-73a4-5ee4-deee16eb7600
Content: Deploy a Windows 10 image using MDT (Windows 10)
Content Source: windows/deployment/deploy-windows-mdt/deploy-a-windows-10-image-using-mdt.md
Service: unspecified
GitHub Login: @mtniehaus
Microsoft Alias: greglin

@officedocsbot assign @mypil

@WLK33R Thank you, I need to confirm this and then will proceed. Any information you can add to help me confirm the change would be greatly appreciated.


Refactor BlockManipulator and RoutesFileManipulator

This is more of an idea than anything and a lot more work could still be done here, but since there's a decent amount of duplicate code between these two files I think this is the direction we should head in.
Although I wrote lines in the arguments, I don't like the idea of passing lines each time from an external object (I considered using ObjectSpace.id2ref(lines.id) so we only handle one object in memory, but it's tricky because lines is an array). Since the BlockManipulator and RoutesFileManipulator each have their own lines object, they begin to differ once we start to edit them, so I ended up passing lines here just so we're always dealing with the same set of lines.
Anyways, I can do more work on this one, although I think it would be safer if we merged #31 first because our current linear Super Scaffolding tests are failing when trying to scaffold all the namespaces in the tests at once.

@gazayas This one needs a merge from main. I tried to do it myself, but there were enough conflicts that I thought I would leave it to you since both represent your work. :-)

@andrewculver Thanks! I got the failing test on main to work with #34, so I'll try to work with this next. Sorry for all the failures recently!

@gazayas Not a problem at all! Lots of moving parts, so it's not unexpected at all! You're doing great!

@andrewculver Main merged, tests working on the main app as well when removing the sed bug workaround in the Super Scaffolding system test setup script :+1:


Allow customizing written log entries by exposing parameters via appender configuration

Is your feature request related to a problem? Please describe.
Writing log entries can be customized by providing user metadata as labels (a map of key, value pairs), customizing the logger name and which project it is located. The data cannot be customized when logging using the appender.
Describe the solution you'd like
It would be great to use logback configuration to provide these values (user labels, log name and custom project location) per appender instance.
Describe alternatives you've considered
There are no good alternative if the logback appender is used.
Additional context
There is PR #371 that partially addresses the problem. Unfortunately, the current set of write options does not allow to customize the log location for the LOG_NAME option.

Follow up on googleapis/java-logging#684 before implementing this.


specified difference between #3 and #4 examples

@nenonix Minor Copy editing is needed for this PR. Thanks.

@e0i Copy edits applied

Issue reference: #546

@dariomws306 @get-itips @tseward
Please review the final formatting changes as revised by the PR author.
(Last issue in fourth package)

Something is not right with the live version of this article, which is, based on the folders in the repo, the Windows Server 2012 one.
If you go to https://docs.microsoft.com/en-us/powershell/module/addsadministration/get-addomaincontroller?view=win10-ps you get the WinServ2016 version of this cmdlet.
If you want to change it to Windows Server 2012 using the version selector, you will receive a message like this:  The requested page is not available for Windows Server 2012 PowerShell. You have been redirected to the newest product version this page is available for.
If you edit that page, you are not editing the one that is under the folder docset/winserver2012-ps/activedirectory but /docset/windows/addsadministration/
So I think, besides the markdown is in the repo, it isn't published or accesible through Docs.
Maybe we need to fix that before.
Talking specifically about the document, It does not seem well formatted:

but I think these "description" were present before @Malind19 commits

Agree with @get-itips!

@tseward Any additional comments?

I'm good with the change but if we could get the Descriptions cleaned up as @get-itips notes, that would be great.

@Malind19 Please follow-up with suggested revisions for this PR.


SSR Context Lost

Environment

Operating System: Darwin
Node Version:     v21.6.2
Nuxt Version:     3.12.2
CLI Version:      3.12.0
Nitro Version:    2.9.7
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      ssr, devtools
Runtime Modules:  -
Build Modules:    -

Reproduction
I created a repo that reproduces the problem here: https://github.com/felixSchl/nuxt-ssr-context-bug. Uncomment this line to see it caching the SSR context as expected: https://github.com/felixSchl/nuxt-ssr-context-bug/blob/3addb782689582efa3155a0f410a837e108658dd/app.vue#L5-L7. Also see the middleware file in the repro https://github.com/felixSchl/nuxt-ssr-context-bug/blob/3addb782689582efa3155a0f410a837e108658dd/server/middleware/setup-context.ts#L1. In a real app I should be able to check if event.context.message is already set and then exit early since the work to establish this context has already been done in the initial "real" request.
Describe the bug
When handling SSR requests it appears that event.context is getting lost when making the call directly on the server. This causes problems because now the middleware in every server-side SSR call needs to re-establish that context which could involve DB calls when validating user sessions, for example.
Additional context
No response
Logs
No response

Would you see if you can reproduce this in pure Nitro (reproduction sandbox), and if so, raise there? 🙏

I'm afraid I won't be able to allocate more time to this because it is not
blocking me and I am tight on time. I found an acceptable workaround after
I understood why this was happening.
On Sat, 29 Jun 2024, 12:59 Daniel Roe, @.***> wrote:

Would you see if you can reproduce this in pure Nitro (reproduction
sandbox
https://stackblitz.com/github/unjs/nitro/tree/main/examples/hello-world),
and if so, raise there https://github.com/unjs/nitro/issues/new/choose?
🙏
—
Reply to this email directly, view it on GitHub
https://github.com/nuxt/nuxt/issues/27909#issuecomment-2198105616, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAUT7TQWODY3KLG2JJBSQNLZJ2HR5AVCNFSM6AAAAABKC336C2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJYGEYDKNRRGY
.
You are receiving this because you authored the thread.Message ID:
@.***>

Ah, just checked your reproduction more fully. Yes, useRequestEvent is the correct solution here.

Hm, I think there is something off here. Why wouldn't $fetch just magically work in pages as it does in middleware? In middleware I do not have to call useRequestFetch and $fetch just does the right thing automatically. Is this not a fair expectation it should be consistent behaviour if called from pages? Also the documentation makes zero mention of this behaviour and I had to dig deep to find the root cause. I wonder how many pages out there are falling into this. I was using trpc-nuxt which also tripped over this and all trpc requests ran without the initial SSR context, so all users of that library are affected as well. I think this issue has not been resolved.

I think this explains a bit: https://nuxt.com/docs/getting-started/data-fetching#passing-headers-and-cookies
Basically, for security reasons, we require explicit opt in before proxying headers and other details from the initial request via an internal $fetch. In addition, having different behaviour based on where $fetch was called would probably be confusing.


Added thanks_bot js files.

I added the files from JonasBot into thanks_bot_2.

yea...
lets not put node_modules into the repo (Check the .gitignore file, and I think some other files also get overwritten for no reason)

as you asked for it to be closed through discord


Uncaught Exception: Attempting to call a function in a renderer window that has been closed or released. Function provid

An uncaught exception was reported.
Info:
OS: win32
Arch: ia32
GPMDP Version: 3.0.1
Time: Sat Mar 19 2016 19:15:52 GMT-0400 (Eastern Daylight Time)
Error:
Attempting to call a function in a renderer window that has been closed or released. Function provid
Error: Attempting to call a function in a renderer window that has been closed or released. Function provided here: Object.<anonymous> (C:\Users\Steven\AppData\Local\GPMDP_3\app-3.0.1\resources\app\build\inject\GPMInject\interface\mouseButtonNavigation.js:8:8.
    at BrowserWindow.callIntoRenderer (C:\Users\Steven\AppData\Local\GPMDP_3\app-3.0.1\resources\atom.asar\browser\lib\rpc-server.js:201:19)
    at emitTwo (events.js:92:20)
    at BrowserWindow.emit (events.js:172:7)

This issue was created automatically inside the uncaughtException handler

Closing this automatically reported issue as a duplicate of #470


chore: fix actionlint complaint and ignore ubuntu dep

:tada: This PR is included in version 2.2.13 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


fix: Display a warning (instead of exiting early) when unable to find recent issues on a tap

Occasionally, when failing to brew install or brew upgrade a formula, users will get an error message and the last line of it will be:
Error: Validation Failed: [{"message"=>"The listed users and repositories cannot be searched either because the resources do not exist or you do not have permission to view them.", "resource"=>"Search", "field"=>"q", "code"=>"invalid"}]

Here's an old public example: https://gitlab.com/tabos/rogerrouter/-/issues/21
At Square, this error can be caused by a transient issue with a user's GitHub credentials.
My proposal is that any error which prevents brew from showing related issues should:

Not cause brew to exit early (vs. printing diagnostic checks and doing any other cleanup)
Be clearly differentiated from the original failure (so it doesn't become a red herring for users troubleshooting their broken formula)

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.

[x] Have you successfully run brew typecheck with your changes locally?
[ ] Have you successfully run brew tests with your changes locally?

Thanks again @boblail!

Thanks all!


HDDS-5689. chooseRandom in NetworkTopology should exclude the affinity node too

https://issues.apache.org/jira/browse/HDDS-5689

Thanks @sodonnel for the code review.


Trigger Events From ⌘ Keys

Problem
When implementing a search bar I wanted the ability to  ⌘K and toggle a modal. Additionally I wanted to escape to exit the modal.
This ticket is to look into and define a nice API for calling event handlers from keys.
Questions to answers:
Where should these be defined. These event triggers are not necessarily bound to a component. Should we add the ability for any component to have these event triggers or should they be defined somewhere else. In my opinion allowing all component to have the ability to trigger these would be nice. For example the searchbar would be able to have a trigger the triggers the modal and keeps all the logic contained in that component.
Composability is also important. The user should have to ability to trigger an event from ⌘ any key or combination of keys.

Sort of like an on_key_down handler for app.add_page... but the performance would be a nightmare. We need some bit of client-side code that can trigger the backend event when specific keys/combinations are used.
This sort of client-side key detection probably also solves performance issues in other on_key_up / on_key_down handlers we have for existing components where the app really only wants to detect certain keys (enter, arrows, specials, etc), but instead every keystroke is sent to the backend which can be slow and is mostly unnecessary.


parameterize pin count in wrapper

Pin mux wrapper can't be parameterized since the function select is set through 32-bit register. If the IOs count is more than 16 (function selection 32 bits), more than one function select register should be defined in the IP JSON file


Add force flag to prevent artifact exists error

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@81cef5d). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master       #1   +/-   ##
=========================================
  Coverage          ?   89.21%
=========================================
  Files             ?        3
  Lines             ?      102
  Branches          ?        0
=========================================
  Hits              ?       91
  Misses            ?       11
  Partials          ?        0

Continue to review full report at Codecov.

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


Error in the compilation of the server in linux

Describe the bug
error in compiling the server code in linux, I am simply following the installation guide provided in the same repository.
notorious errors:
--FAILED: build/linux//unittest
--FAILED: build/linux//test
-- ninja: build stopped: subcommand failed.
To Reproduce
The only thing I do is to follow the steps stipulated in the guide for the construction (compilation).
executed commands:
--clone project
git clone https://github.com/sumneko/lua-language-server
cd lua-language-server
git submodule update --init --recursive
--build
cd 3rd/luamake
ninja -f ninja/linux.ninja
cd ../...
./3rd/luamake/luamake rebuild
Screenshots

Environment (please complete the following information):

OS: Arch Linux
Client: NVIM (v0.5.0-dev+1109-g6b7cc45c4)

The problem persist for me...

Please provide the new screenshot

hi @sumneko, look I jump to commit 54b4809 of version 1.14.3 (I know it's from a while ago) and there I do compile.
Look, this is the new screenshot
the "FAILED: build/linux//unittest" desapears, but
"FAILED: build/linux//tes" persist

Please checkout the latest version

persists, the same error of the last screenshot continues, I do not know what happens, but it is strange that the version that I mentioned to you if it compiles me

I just recompiled, after the submodule update, it compiles correctly.
now it works correctly for me. thanks

This is a gcc bug, and the latest bee added a temporary patch.

I have a similar issue but with crossfile:
测试[crossfile]...
/home/sandro/Downloads/lua-language-server/3rd/luamake/luamake: ...e/sandro/Downloads/lua-language-server/make/unittest.lua:22: /home/sandro/Downloads/lua-language-server/bin/Linux/lua-language-server: ...nloads/lua-language-server/test/crossfile/definition.lua:92: assertion failed!
stack traceback:
	[C]: in function 'assert'
	...nloads/lua-language-server/test/crossfile/definition.lua:92: in function 'TEST'
	...nloads/lua-language-server/test/crossfile/definition.lua:746: in main chunk
	[C]: in function 'require'
	...ro/Downloads/lua-language-server/test/crossfile/init.lua:1: in main chunk
	[C]: in function 'require'
	/home/sandro/Downloads/lua-language-server/test.lua:55: in local 'test'
	/home/sandro/Downloads/lua-language-server/test.lua:77: in local 'main'
	/home/sandro/Downloads/lua-language-server/test.lua:85: in main chunk
	[C]: in ?

stack traceback:
	[C]: in function 'error'
	...e/sandro/Downloads/lua-language-server/make/unittest.lua:22: in main chunk
	...wnloads/lua-language-server/3rd/luamake/scripts/util.lua:56: in function 'util.sandbox'
	.../lua-language-server/3rd/luamake/scripts/command/lua.lua:58: in main chunk
	...wnloads/lua-language-server/3rd/luamake/scripts/util.lua:52: in function 'util.command'
	...wnloads/lua-language-server/3rd/luamake/scripts/main.lua:6: in main chunk
	[C]: in function 'require'
	...andro/Downloads/lua-language-server/3rd/luamake/main.lua:5: in main chunk
	[C]: in ?
ninja: build stopped: subcommand failed.

OS, Compiler, etc. is the same as @DilanGMB. @actboy168 mentioned a gcc bug. Is there anything I can do except for waiting for the new version?

I have a similar issue but with crossfile:
测试[crossfile]...
/home/sandro/Downloads/lua-language-server/3rd/luamake/luamake: ...e/sandro/Downloads/lua-language-server/make/unittest.lua:22: /home/sandro/Downloads/lua-language-server/bin/Linux/lua-language-server: ...nloads/lua-language-server/test/crossfile/definition.lua:92: assertion failed!
stack traceback:
	[C]: in function 'assert'
	...nloads/lua-language-server/test/crossfile/definition.lua:92: in function 'TEST'
	...nloads/lua-language-server/test/crossfile/definition.lua:746: in main chunk
	[C]: in function 'require'
	...ro/Downloads/lua-language-server/test/crossfile/init.lua:1: in main chunk
	[C]: in function 'require'
	/home/sandro/Downloads/lua-language-server/test.lua:55: in local 'test'
	/home/sandro/Downloads/lua-language-server/test.lua:77: in local 'main'
	/home/sandro/Downloads/lua-language-server/test.lua:85: in main chunk
	[C]: in ?

stack traceback:
	[C]: in function 'error'
	...e/sandro/Downloads/lua-language-server/make/unittest.lua:22: in main chunk
	...wnloads/lua-language-server/3rd/luamake/scripts/util.lua:56: in function 'util.sandbox'
	.../lua-language-server/3rd/luamake/scripts/command/lua.lua:58: in main chunk
	...wnloads/lua-language-server/3rd/luamake/scripts/util.lua:52: in function 'util.command'
	...wnloads/lua-language-server/3rd/luamake/scripts/main.lua:6: in main chunk
	[C]: in function 'require'
	...andro/Downloads/lua-language-server/3rd/luamake/main.lua:5: in main chunk
	[C]: in ?
ninja: build stopped: subcommand failed.

OS, Compiler, etc. is the same as @DilanGMB. @actboy168 mentioned a gcc bug. Is there anything I can do except for waiting for the new version?

This has been fixed and nothing to do with this issue.

Doesn't compile on master 1f1f00ff531dabccd6cda3db379eab80bf8eee82,
but compiles ok on 54b4809144f6b124d7fd8867649e2ff3bdb8b52c .

Doesn't compile on master 1f1f00f,
but compiles ok on 54b4809
According to instructions in current issue's header.

Checkout the latest commit

Hello, I am trying to build following the steps specified in the documentation, but I am receiving the following error:
> Executing task: ninja -f ninja/linux.ninja <

[0/3] cd 3rd/bee.lua && ninja -f ninja/linux.ninja
[59/59] build/linux/bin/bootstrap test/test.lua
FAILED: build/linux/_/test
build/linux/bin/bootstrap test/test.lua
OS:             Linux
Arch:           64
Compiler:       GCC 9.3.0
CRT:            libstdc++ 20200422 glibc 2.27
DEBUG:          false
........................................................................................F..
Failed tests:
-------------
1) filewatch.test_2
test/test_filewatch.lua:90: expected: nil, actual: <userdata:/gitlab/sumneko/server/3rd/luamake/3rd/bee.lua/temp/test1>
stack traceback:
        test/test_filewatch.lua:90: in local 'assertHas'
        test/test_filewatch.lua:92: in local 'f'
        test/test_filewatch.lua:46: in upvalue 'test'
        test/test_filewatch.lua:59: in upvalue 'filewatch.test_2'

Ran 91 tests in 0.501 seconds, 90 successes, 1 failures
ninja: build stopped: subcommand failed.
FAILED: build/linux/_/bee
cd 3rd/bee.lua && ninja -f ninja/linux.ninja
ninja: build stopped: subcommand failed.
The terminal process "/bin/bash '-c', 'ninja -f ninja/linux.ninja'" terminated with exit code: 1.

Terminal will be reused by tasks, press any key to close it.

Docker container with Ubuntu 18.04.
To Reproduce
The only thing I do is to follow the steps stipulated in the guide for compilation specified here https://github.com/sumneko/lua-language-server/wiki/Build-and-Run-(In-VSCode)

Is this fixed?

@sumneko, I am not 100% sure, I remember this happening to me when I was using Arch linux, however I am currently using Ubuntu and the server compiles without problems.

Hello,
This started happening to me the last couple of days. This is the end of the traceback:
stack traceback:
	script/await.lua:35: in function 'await.checkResult'
	(...tail calls...)
	[C]: in function 'xpcall'
	script/timer.lua:51: in upvalue 'mWakeup'
	script/timer.lua:92: in upvalue 'onTick'
	script/timer.lua:220: in function 'timer.update'
	test/tclient/lclient.lua:86: in method 'start'
	test.lua:85: in local 'main'
	test.lua:106: in main chunk
	/home/bellini/.local_build/lua-language-server/bin/main.lua:79: in main chunk
	[C]: in ?

stack traceback:
	test/tclient/lclient.lua:68: in function 'await.errorHandle'
	script/await.lua:35: in function 'await.checkResult'
	(...tail calls...)
	[C]: in function 'xpcall'
	script/timer.lua:51: in upvalue 'mWakeup'
	script/timer.lua:92: in upvalue 'onTick'
	script/timer.lua:220: in function 'timer.update'
	test/tclient/lclient.lua:86: in method 'start'
	test.lua:85: in local 'main'
	test.lua:106: in main chunk
	/home/bellini/.local_build/lua-language-server/bin/main.lua:79: in main chunk
	[C]: in ?

[20:50:55.492][warn] [#0:script/proto/proto.lua:207]: Response id not found: {
}

[20:50:55.492][debug][#0:script/provider/diagnostic.lua:379]: 全文诊断耗时：	0.00033900000000001

bin/lua-language-server: test/tclient/lclient.lua:96: two hours later ...
====== C -> S ======
====== S -> C ======
002 workspace/semanticTokens/refresh
====================
stack traceback:
	[C]: in function 'error'
	test/tclient/lclient.lua:96: in method 'start'
	test.lua:85: in local 'main'
	test.lua:106: in main chunk
	/home/bellini/.local_build/lua-language-server/bin/main.lua:79: in main chunk
	[C]: in ?
FAILED: build/_/unit-test
bin/lua-language-server test.lua
ninja: build stopped: subcommand failed.

I can provide more info if required

same error

@bellini666 @hsequeda should fixed.

@sumneko it is indeed fixed! Thank you!


improve support for generic router registering

Codecov Report
Patch coverage: 100.00% and project coverage change: +0.03% :tada:

Comparison is base (3df5969) 79.16% compared to head (d5caacc) 79.19%.
Report is 2 commits behind head on master.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2877      +/-   ##
==========================================
+ Coverage   79.16%   79.19%   +0.03%
==========================================
  Files         634      627       -7
  Lines       52432    52124     -308
==========================================
- Hits        41508    41280     -228
+ Misses       8861     8802      -59
+ Partials     2063     2042      -21

Flag
Coverage Δ

go-1.18-386
?

go-1.18-amd64
79.19% <100.00%> (-0.03%)
:arrow_down:

go-1.19-386
?

go-1.19-amd64
?

go-1.20-386
?

go-1.20-amd64
?

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

Files Changed
Coverage Δ

net/ghttp/ghttp_server_service_handler.go
63.26% <100.00%> (-0.25%)
:arrow_down:

... and 14 files with indirect coverage changes

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


feature request: slight AOE on direct-target abilities instead of relying on click

Description
precise clicking marines is annoying and also hard during lag (or when fighting dwarves because they have smaller sprites), precise click abilities (like warrior's fling/punch) should have a very small hitbox on where the xeno clicks so you aren't required to directly click on the sprite, just extremely close
Additional context
ideally should still only fling one marine at a time unless you want huge xeno buffs
also should not activate if no marines are present on the tile

updated as of today because felinids no longer have small sprites
i still stand by this

I think the better fix is making it so actions aren't buggy on high ping, specially noticeable with the Warrior's

warrior abilities are actual suffering when there's big lag happening (lunge specifically)


Short color codes such as #eee become 0xFF000000

When converting existing vector drawables, such as the following:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android" android:height="48dp" android:viewportHeight="512" android:viewportWidth="512" android:width="48dp">
    <group>
        <path android:fillColor="#d80027" android:pathData="M0,0h512v167l-23.2,89.7L512,345v167H0V345l29.4,-89L0,167z"/>
        <path android:fillColor="#eee" android:pathData="M0,167h512v178H0z"/>
    </group>
</vector>

short color code sequences such as #eee become:
path(fill = SolidColor(Color(0xFF000000)))

while they should become 0xFFEEEEEE.
The general rule for these cases is to repeat the digit, see the examples in https://developer.android.com/guide/topics/resources/more-resources#Color, as also happens in CSS https://www.w3schools.com/css/css_colors_hex.asp
Thanks!

Thanks for the case, reproduced 🙂

Available in 0.5.1
https://github.com/ComposeGears/Valkyrie/releases/tag/Valkyrie-0.5.1


Rishi to Demo API 1

Offline App design based on Rishi's approach

Demo was completed by Rishi on 29 Mar 2023 and recorded and added into the ReadMe by Marcus.


Android Intent for StartRecording

Can you please create an Android Intent (not Rhasspy/HASS "intent") in the AndroidManifest.xml that functions similarly to the Widget to "Start Recording"?
The Widget seems to use only a receiver, which means I cannot trigger it using Tasker "Send Intent" or Home Assistant's Android Companion App.

Also an intent for "Start wake word" would be useful so we can start the wake word listener at boot.

+1, would be really great to use with e.g. Tasker.


also work with IntelLLVM compiler. NVHPC replaces obsolete PGI

Thanks @scivision ! :wave:
Welcomed contribution as enable_testing() should help with anyone with CTest problems I believe. :+1:


Mitsuba blender export error

I am not able to export a .xml.
I have the following error.
Can anyone help me?

It will occured due new api changes in Blender 4.0. Thats why try previous versions of Blender

Thank you. I installed a previous version of Blender.
When exporting it seems it is fine.
But when loading the scene, I have another error message:
RuntimeError: [xml.cpp:1079] Error while loading "ufmg_praca.xml" (near line 43, col 3): could not instantiate shape plugin of type "ply":
[xml.cpp:1079]   [PLYMesh] Error while loading PLY file "Plane.ply": file not found!
I really can not understand what is going on when performing the xml export
:(

As you can see need to remove exportted scene folder and try to re-export again

Regarding Blender 4.0, we have just made a new release of the exporter that should support it.
Regarding your importing issue, can you please share with us a reproducer so we can look into it? Also, when you say "loading the scene", do you mean that you are trying to import it again in blender using this add-on, or that you are trying to load it in python, using e.g.

I am having the problem when loading the .xml in SionnaRT, on Jupyter Notebook.
Here it follows the code:
pip install tensorflow
import os
gpu_num = 0 # Use "" to use the CPU
os.environ["CUDA_VISIBLE_DEVICES"] = f"{gpu_num}"
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3'
Colab does currently not support the latest version of ipython.
Thus, the preview does not work in Colab. However, whenever possible we
strongly recommend to use the scene preview mode.
try: # detect if the notebook runs in Colab
import google.colab
colab_compat = True # deactivate preview
except:
colab_compat = False
resolution = [480,320] # increase for higher quality of renderings
Allows to exit cell execution in Jupyter
class ExitCell(Exception):
def render_traceback(self):
pass
Import Sionna
try:
import sionna
except ImportError as e:
# Install Sionna if package is not already installed
import os
os.system("pip install sionna")
import sionna
Configure the notebook to use only a single GPU and allocate only as much memory as needed
For more details, see https://www.tensorflow.org/guide/gpu
import tensorflow as tf
gpus = tf.config.list_physical_devices('GPU')
if gpus:
try:
tf.config.experimental.set_memory_growth(gpus[0], True)
except RuntimeError as e:
print(e)
Avoid warnings from TensorFlow
tf.get_logger().setLevel('ERROR')
tf.random.set_seed(1) # Set global random seed for reproducibility
import matplotlib.pyplot as plt
import numpy as np
import time
Import Sionna RT components
from sionna.rt import load_scene, Transmitter, Receiver, PlanarArray, Camera
For link-level simulations
from sionna.channel import cir_to_ofdm_channel, subcarrier_frequencies, OFDMChannel, ApplyOFDMChannel, CIRDataset
from sionna.nr import PUSCHConfig, PUSCHTransmitter, PUSCHReceiver
from sionna.utils import compute_ber, ebnodb2no, PlotBER
from sionna.ofdm import KBestDetector, LinearDetector
from sionna.mimo import StreamManagement
Load integrated scene
scene = load_scene('ufmg_praca.xml')
scene = load_scene(sionna.rt.scene.munich)
Open 3D preview (only works in Jupyter notebook)
if colab_compat:
scene.render(camera="scene-cam-0", num_samples=512);
raise ExitCell
scene.preview()
The error messagem when performing this last part of the code (scene = load_scene('ufmg_praca.xml'))

RuntimeError                              Traceback (most recent call last)
Cell In[8], line 2
1 # Load integrated scene
----> 2 scene = load_scene('ufmg_praca.xml')
3 # scene = load_scene(sionna.rt.scene.munich)
4
5  # Open 3D preview (only works in Jupyter notebook)
6 if colab_compat:
File D:\Users\glauc\anaconda3\envs\Jupyter\Lib\site-packages\sionna\rt\scene.py:1498, in load_scene(filename, dtype)
1496 if filename is None:
1497     filename = "empty"
-> 1498 return Scene(filename, dtype=dtype)
File D:\Users\glauc\anaconda3\envs\Jupyter\Lib\site-packages\sionna\rt\scene.py:131, in Scene.init(self, env_filename, dtype)
126     self._scene = mi.load_dict({"type": "scene",
127                                 "integrator": {
128                                     "type": "path",
129                                 }})
130 else:
--> 131     self._scene = mi.load_file(env_filename)
133 # Instantiate the solver
134 self._solver_paths = SolverPaths(self, dtype=dtype)
RuntimeError: [xml.cpp:1083] Error while loading "ufmg_praca.xml" (near line 29, col 3): could not instantiate shape plugin of type "ply":
[xml.cpp:1083]   [PLYMesh] Error while loading PLY file "Pra_a_de_Servi_os_da_UFMG-itu_concrete.ply": file not found!
ufmg_praca.zip

I am having the problem when loading the .xml in SionnaRT, on Jupyter Notebook.
Here it follows attached
SionnaRT.zip
ufmg_praca.zip
the code and file:

The scene folder you shared only contains an XML file, and no external files that would be necessary, e.g. Meshes. This likely means your export was not successful. Please try exporting to a clean folder again.
Also, please let us know if the issue happens only with Mitsuba. We are not maintainers of the SionnaRT problem, nor are we familiar with it. If the export was successful, you should be able to render the scene using mitsuba in the CLI, e.g.:

I forgot ro export the meshes folder.
When perfomed what you askes, The results were:
Scene[
children = [
PathIntegrator[
max_depth = 12,
rr_depth = 5
],
ConstantBackgroundEmitter[
radiance = SRGBReflectanceSpectrum[
value = [1, 0.935082, 0.804393]
],
bsphere = BoundingSphere3f[
center = [-17.3643, 4.98451, 34.7953],
radius = 620.764
]
],
PLYMesh[
name = "Pra_a_de_Servi_os_da_UFMG-itu_concrete.ply",
bbox = BoundingBox3f[
min = [-365.826, 0, 181.158],
max = [-251.228, 14.8316, 294.47]
],
vertex_count = 50,
vertices = [600 B of vertex data],
face_count = 50,
faces = [600 B of face data],
face_normals = 1
],
PLYMesh[
name = "Pra_a_de_Servi_os_da_UFMG-itu_metal.ply",
bbox = BoundingBox3f[
min = [-365.826, 14.8316, 181.158],
max = [-251.228, 14.8316, 294.47]
],
vertex_count = 25,
vertices = [300 B of vertex data],
face_count = 23,
faces = [276 B of face data],
face_normals = 1
],
PLYMesh[
name = "Escola_de_M_sica-itu_concrete.ply",
bbox = BoundingBox3f[
min = [-142.623, 0, -311.032],
max = [-65.6817, 20.8596, -236.882]
],
vertex_count = 26,
vertices = [312 B of vertex data],
face_count = 26,
faces = [312 B of face data],
face_normals = 1
],
PLYMesh[
name = "Escola_de_M_sica-itu_metal.ply",
bbox = BoundingBox3f[
min = [-142.623, 20.8596, -311.032],
max = [-65.6817, 20.8596, -236.882]
],
vertex_count = 13,
vertices = [156 B of vertex data],
face_count = 11,
faces = [132 B of face data],
face_normals = 1
],
PLYMesh[
name = "Escola_de_Belas_Artes-itu_concrete.ply",
bbox = BoundingBox3f[
min = [194.092, 0, -320.75],
max = [248.032, 16.8941, -266.359]
],
vertex_count = 24,
vertices = [288 B of vertex data],
face_count = 24,
faces = [288 B of face data],
face_normals = 1
],
PLYMesh[
name = "Escola_de_Belas_Artes-itu_metal.ply",
bbox = BoundingBox3f[
min = [194.092, 16.8941, -320.75],
max = [248.032, 16.8941, -266.359]
],
vertex_count = 12,
vertices = [144 B of vertex data],
face_count = 10,
faces = [120 B of face data],
face_normals = 1
],
PLYMesh[
name = "Unidade_Municipal_de_Educa__o_Infantil_Ala_de_Lisboa-itu_concrete.ply",
bbox = BoundingBox3f[
min = [256.709, 0, -196.16],
max = [364.127, 21.1248, -107.103]
],
vertex_count = 24,
vertices = [288 B of vertex data],
face_count = 24,
faces = [288 B of face data],
face_normals = 1
],
PLYMesh[
name = "Unidade_Municipal_de_Educa__o_Infantil_Ala_de_Lisboa-itu_metal.ply",
bbox = BoundingBox3f[
min = [256.709, 21.1248, -196.16],
max = [364.127, 21.1248, -107.103]
],
vertex_count = 12,
vertices = [144 B of vertex data],
face_count = 10,
faces = [120 B of face data],
face_normals = 1
],
PLYMesh[
name = "Faculdade_de_Educa__o-itu_concrete.ply",
bbox = BoundingBox3f[
min = [268.249, 0, 239.958],
max = [438.847, 17.5801, 417.033]
],
vertex_count = 62,
vertices = [744 B of vertex data],
face_count = 62,
faces = [744 B of face data],
face_normals = 1
],
PLYMesh[
name = "Faculdade_de_Educa__o-itu_metal.ply",
bbox = BoundingBox3f[
min = [268.249, 17.5801, 239.958],
max = [438.847, 17.5801, 417.033]
],
vertex_count = 31,
vertices = [372 B of vertex data],
face_count = 29,
faces = [348 B of face data],
face_normals = 1
],
PLYMesh[
name = "Centro_Pedag_gico-itu_concrete.ply",
bbox = BoundingBox3f[
min = [284.27, 0, 116.939],
max = [377.93, 14.3014, 198.59]
],
vertex_count = 24,
vertices = [288 B of vertex data],
face_count = 24,
faces = [288 B of face data],
face_normals = 1
],
PLYMesh[
name = "Centro_Pedag_gico-itu_metal.ply",
bbox = BoundingBox3f[
min = [284.27, 14.3014, 116.939],
max = [377.93, 14.3014, 198.59]
],
vertex_count = 12,
vertices = [144 B of vertex data],
face_count = 10,
faces = [120 B of face data],
face_normals = 1
],
PLYMesh[
name = "Anexo_Belas_Artes-itu_concrete.ply",
bbox = BoundingBox3f[
min = [150.182, 0, -273.974],
max = [192.95, 15.949, -223.991]
],
vertex_count = 12,
vertices = [144 B of vertex data],
face_count = 12,
faces = [144 B of face data],
face_normals = 1
],
PLYMesh[
name = "Anexo_Belas_Artes-itu_metal.ply",
bbox = BoundingBox3f[
min = [150.182, 15.949, -273.974],
max = [192.95, 15.949, -223.991]
],
vertex_count = 6,
vertices = [72 B of vertex data],
face_count = 4,
faces = [48 B of face data],
face_normals = 1
],
PLYMesh[
name = "Departamento_de_Gest_o_Ambiental-itu_concrete.ply",
bbox = BoundingBox3f[
min = [117.517, 0, -363.018],
max = [172.106, 17.1515, -274.007]
],
vertex_count = 16,
vertices = [192 B of vertex data],
face_count = 16,
faces = [192 B of face data],
face_normals = 1
],
PLYMesh[
name = "Departamento_de_Gest_o_Ambiental-itu_metal.ply",
bbox = BoundingBox3f[
min = [117.517, 17.1515, -363.018],
max = [172.106, 17.1515, -274.007]
],
vertex_count = 8,
vertices = [96 B of vertex data],
face_count = 6,
faces = [72 B of face data],
face_normals = 1
],
PLYMesh[
name = "element-itu_concrete.ply",
bbox = BoundingBox3f[
min = [-336.344, 0, 237.597],
max = [-309.302, 16.5549, 264.67]
],
vertex_count = 52,
vertices = [624 B of vertex data],
face_count = 52,
faces = [624 B of face data],
face_normals = 1
],
PLYMesh[
name = "element-itu_metal.ply",
bbox = BoundingBox3f[
min = [-336.344, 16.5549, 237.597],
max = [-309.302, 16.5549, 264.67]
],
vertex_count = 26,
vertices = [312 B of vertex data],
face_count = 24,
faces = [288 B of face data],
face_normals = 1
],
PLYMesh[
name = "Rosa_dos_ventos_-Instituto_de_Geo-ci_ncias_da_UFMG-itu_concrete.ply",
bbox = BoundingBox3f[
min = [-41.2546, 0, 281.232],
max = [-31.3192, 7.95362, 291.807]
],
vertex_count = 32,
vertices = [384 B of vertex data],
face_count = 32,
faces = [384 B of face data],
face_normals = 1
],
PLYMesh[
name = "Rosa_dos_ventos-_Instituto_de_Geo-ci_ncias_da_UFMG-itu_metal.ply",
bbox = BoundingBox3f[
min = [-41.2546, 7.95362, 281.232],
max = [-31.3192, 7.95362, 291.807]
],
vertex_count = 16,
vertices = [192 B of vertex data],
face_count = 14,
faces = [168 B of face data],
face_normals = 1
],
PLYMesh[
name = "Edif_cio_Professor_Yvon_Leite_de_Magalh_es_Pinto-itu_metal.ply",
bbox = BoundingBox3f[
min = [-196.83, 19.6994, 133.689],
max = [-53.6821, 19.6994, 318.379]
],
vertex_count = 52,
vertices = [624 B of vertex data],
face_count = 64,
faces = [768 B of face data],
face_normals = 1
],
PLYMesh[
name = "Edif_cio_Professor_Yvon_Leite_de_Magalh_es_Pinto-itu_concrete.ply",
bbox = BoundingBox3f[
min = [-196.83, 0, 133.689],
max = [-53.6821, 19.6994, 318.379]
],
vertex_count = 104,
vertices = [1.22 KiB of vertex data],
face_count = 104,
faces = [1.22 KiB of face data],
face_normals = 1
],
PLYMesh[
name = "Centro_de_Atividades_Did_ticas_2-itu_metal.ply",
bbox = BoundingBox3f[
min = [184.174, 20.4793, -25.675],
max = [277.1, 20.4793, 98.2683]
],
vertex_count = 24,
vertices = [288 B of vertex data],
face_count = 24,
faces = [288 B of face data],
face_normals = 1
],
PLYMesh[
name = "Centro_de_Atividades_Did_ticas_2-itu_concrete.ply",
bbox = BoundingBox3f[
min = [184.174, 0, -25.675],
max = [277.1, 20.4793, 98.2683]
],
vertex_count = 48,
vertices = [576 B of vertex data],
face_count = 48,
faces = [576 B of face data],
face_normals = 1
],
PLYMesh[
name = "Editora_UFMG-itu_concrete.ply",
bbox = BoundingBox3f[
min = [219.769, 0, 95.9758],
max = [278.147, 21.0037, 111.037]
],
vertex_count = 8,
vertices = [96 B of vertex data],
face_count = 8,
faces = [96 B of face data],
face_normals = 1
],
PLYMesh[
name = "Editora_UFMG-itu_metal.ply",
bbox = BoundingBox3f[
min = [219.769, 21.0037, 95.9758],
max = [278.147, 21.0037, 111.037]
],
vertex_count = 4,
vertices = [48 B of vertex data],
face_count = 2,
faces = [24 B of face data],
face_normals = 1
],
PLYMesh[
name = "element_001-itu_metal.ply",
bbox = BoundingBox3f[
min = [-52.1642, 18.5213, 1.94215],
max = [205.332, 18.5213, 182.758]
],
vertex_count = 105,
vertices = [1.23 KiB of vertex data],
face_count = 129,
faces = [1.51 KiB of face data],
face_normals = 1
],
PLYMesh[
name = "element_001-itu_concrete.ply",
bbox = BoundingBox3f[
min = [-52.1642, 0, 1.94215],
max = [205.332, 18.5213, 182.758]
],
vertex_count = 210,
vertices = [2.46 KiB of vertex data],
face_count = 210,
faces = [2.46 KiB of face data],
face_normals = 1
],
PLYMesh[
name = "Reitoria-itu_metal.ply",
bbox = BoundingBox3f[
min = [-339.468, 23.8187, 0.362896],
max = [-221.728, 23.8187, 87.9835]
],
vertex_count = 12,
vertices = [144 B of vertex data],
face_count = 12,
faces = [144 B of face data],
face_normals = 1
],
PLYMesh[
name = "Reitoria-itu_concrete.ply",
bbox = BoundingBox3f[
min = [-339.468, 0, 0.362896],
max = [-221.728, 23.8187, 87.9835]
],
vertex_count = 24,
vertices = [288 B of vertex data],
face_count = 24,
faces = [288 B of face data],
face_normals = 1
],
PLYMesh[
name = "Instituto_de_Ci_ncias_Exatas-itu_metal.ply",
bbox = BoundingBox3f[
min = [-333.274, 13.8177, 290.506],
max = [-192.055, 13.8177, 407.648]
],
vertex_count = 38,
vertices = [456 B of vertex data],
face_count = 42,
faces = [504 B of face data],
face_normals = 1
],
PLYMesh[
name = "Instituto_de_Ci_ncias_Exatas-itu_concrete.ply",
bbox = BoundingBox3f[
min = [-333.274, 0, 290.506],
max = [-192.055, 13.8177, 407.648]
],
vertex_count = 76,
vertices = [912 B of vertex data],
face_count = 76,
faces = [912 B of face data],
face_normals = 1
],
PLYMesh[
name = "element_002-itu_metal.ply",
bbox = BoundingBox3f[
min = [-52.0693, 16.4204, 291.028],
max = [21.9382, 16.4204, 374.974]
],
vertex_count = 24,
vertices = [288 B of vertex data],
face_count = 28,
faces = [336 B of face data],
face_normals = 1
],
PLYMesh[
name = "element_002-itu_concrete.ply",
bbox = BoundingBox3f[
min = [-52.0693, 0, 291.028],
max = [21.9382, 16.4204, 374.974]
],
vertex_count = 48,
vertices = [576 B of vertex data],
face_count = 48,
faces = [576 B of face data],
face_normals = 1
],
PLYMesh[
name = "Biblioteca_Central-itu_concrete.ply",
bbox = BoundingBox3f[
min = [-427.189, 0, 109.247],
max = [-334.179, 17.6123, 211.304]
],
vertex_count = 36,
vertices = [432 B of vertex data],
face_count = 36,
faces = [432 B of face data],
face_normals = 1
],
PLYMesh[
name = "Biblioteca_Central-itu_metal.ply",
bbox = BoundingBox3f[
min = [-427.189, 17.6123, 109.247],
max = [-334.179, 17.6123, 211.304]
],
vertex_count = 18,
vertices = [216 B of vertex data],
face_count = 16,
faces = [192 B of face data],
face_normals = 1
],
PLYMesh[
name = "Plane.ply",
bbox = BoundingBox3f[
min = [-482.295, -13.8497, -376.013],
max = [447.566, -13.8497, 445.604]
],
vertex_count = 4,
vertices = [80 B of vertex data],
face_count = 2,
faces = [24 B of face data],
face_normals = 1
],
SmoothDiffuse[
reflectance = SRGBReflectanceSpectrum[
value = [1, 0.5, 0.2]
]
],
SmoothDiffuse[
reflectance = SRGBReflectanceSpectrum[
value = [0.29, 0.25, 0.21]
]
]
]
]
But when I tried again to perform the same action on SionaRT now I received another error message:
Code:
Load integrated scene
scene = load_scene("ufmg_praca.xml")
scene.preview
Result:
TypeError                                 Traceback (most recent call last)
Cell In[29], line 2
1 # Load integrated scene
----> 2 scene = load_scene("ufmg_praca.xml")
3 scene.preview
File D:\Users\glauc\anaconda3\envs\Jupyter\Lib\site-packages\sionna\rt\scene.py:1498, in load_scene(filename, dtype)
1496 if filename is None:
1497     filename = "empty"
-> 1498 return Scene(filename, dtype=dtype)
File D:\Users\glauc\anaconda3\envs\Jupyter\Lib\site-packages\sionna\rt\scene.py:134, in Scene.init(self, env_filename, dtype)
131     self._scene = mi.load_file(env_filename)
133 # Instantiate the solver
--> 134 self._solver_paths = SolverPaths(self, dtype=dtype)
136 # Solver for coverage map
137 self._solver_cm = SolverCoverageMap(self, solver=self._solver_paths,
138                                     dtype=dtype)
File D:\Users\glauc\anaconda3\envs\Jupyter\Lib\site-packages\sionna\rt\solver_base.py:162, in SolverBase.init(self, scene, solver, dtype)
159 face_indices = dr.ravel(face_indices3)
160 # Get vertices coordinates
161 # [n_prims3, 3]
--> 162 vertex_coords = s.vertex_position(face_indices)
163 # Move to TensorFlow
164 # [n_prims3, 3]
165 vertex_coords = mi_to_tf_tensor(vertex_coords, self._rdtype)
TypeError: vertex_position(): incompatible function arguments. The following argument types are supported:
1. (self: mitsuba.scalar_rgb.Mesh, index: int, active: bool = True) -> mitsuba.llvm_ad_rgb.ScalarPoint3f
Invoked with: PLYMesh[
name = "Pra_a_de_Servi_os_da_UFMG-itu_concrete.ply",
bbox = BoundingBox3f[
min = [-365.826, 0, 181.158],
max = [-251.228, 14.8316, 294.47]
],
vertex_count = 50,
vertices = [600 B of vertex data],
face_count = 50,
faces = [600 B of face data],
face_normals = 1
], [0, 1, 2]

It seems that this error is in the Sionna code base, not the Mitsuba exporter. To be sure that the export works as intended, please try to import the scene in Mitsuba, not in Sionna, using the code snippet I shared above. If the scene is loaded successfully, then this is likely a bug for the Sionna team.
@merlinND any idea what could be the issue here ?

Then it seems that this scene causes a bug in SionnaRT, not in the exporter itself. I recommend you open an issue on their GitHub one.

Reopened @glopesr's issue on the Sionna side now that it's a Sionna error: https://github.com/NVlabs/sionna/issues/357

Regarding Blender 4.0, we have just made a new release of the exporter that should support it.

For the record, I am running Blender 4.0 and installed the latest version of the exporter (0.4.0), and I am still getting the error:
Python: Traceback (most recent call last):
  File "/Users/joey/Library/Application Support/Blender/4.0/scripts/addons/mitsuba-blender/io/__init__.py", line 136, in execute
    self.converter.scene_to_dict(deps_graph, window_manager)
  File "/Users/joey/Library/Application Support/Blender/4.0/scripts/addons/mitsuba-blender/io/exporter/__init__.py", line 97, in scene_to_dict
    geometry.export_object(object_instance, self.export_ctx, evaluated_obj.name in particles)
  File "/Users/joey/Library/Application Support/Blender/4.0/scripts/addons/mitsuba-blender/io/exporter/geometry.py", line 148, in export_object
    name += f'-{n_mat_refs:03d}'
  File "/Users/joey/Library/Application Support/Blender/4.0/scripts/addons/mitsuba-blender/io/exporter/geometry.py", line 29, in convert_mesh

AttributeError: 'Mesh' object has no attribute 'calc_normals'. Did you mean: 'flip_normals'?

However, specifying my Mitsuba binary directory as a custom path solves the issue, so perhaps there is a bug regarding which version of Mitsuba is being recognized by Blender?

This is surprising, since the error message mentions the call being on line 29, which is where the call was before that release.
When updating the addon, did you delete the previous version first ?

Right... I did click "Remove" on the add-on before re-adding it, was that enough to wipe the old version? Perhaps there is some caching going on?

I'm not sure, you might need to restart blender as well.

AH! That's it, all good now! You can close :) I learned something today.

I also can't export the scene as an .xml file. The error in the attached image appears.
What is the correct version of Blender that I should use?

Hi @alialsahlany,
I seems that the error you are encountering is unrelated to this (closed) issue. Please open a new issue with all the relevant information so we can help you. In partcular, make sure to specify which version of Blender and the add-on you are using, on which platform, and if possible a minimal blender scene that reproduces the error you are facing.


Hardware and Functional Requirements, and Integration of Matter with an Existing Project (CON-1433)

Dear Team,
We are planning to use ESP-Matter in our IoT project, and we have several questions regarding hardware and functional requirements as well as integration:

Hardware Requirements (to pass Matter certification):

Which CPU model is recommended for devices supporting Matter?
Is PSRAM required? If yes, what is the minimum recommended amount?
What is the minimum flash memory required?

Additional Functionalities:

Our device must support a local HTTP server and provide at least one cloud connection via TLS. Does ESP-Matter support implementing these functionalities? Are there any recommendations for integrating these features with the SDK?
We require support for AP mode, WPS, and the ability to manually configure static IP addresses. Does ESP-Matter natively support these features, or will they need to be implemented from scratch?
Regarding device pairing, does Matter offer the option to pair using AP mode, or is Bluetooth mandatory for pairing?

Integration of Matter with an Existing Project:

What are the recommendations for adding Matter support to an existing project based on ESP-IDF? Are there any examples or documentation available to facilitate such integration?
Does ESP-Matter provide ready-to-use components that can be integrated into an application already using other communication stacks?

We would greatly appreciate detailed responses to help us better plan the implementation and adaptation of our existing system to support Matter.
Kind regards,

I'm not Espressif employee, but I have been working with esp-matter for a long time....
It is very easy to switch CPUs with the esp-idf, you just set-target and recompile. So I would develop on an ESP32-S3 with PSRAM initially. It is a lot of hassle dealing with low RAM conditions so just avoid that initially. Then after you get your code working see if it fits on something like the ESP32-C3. All of the basic Matter devices will fit onto the ESP32-C3, so this is a function of how much other stuff you add. For example, my system implements a bridge and a lot of other stuff and it requires PSRAM. But that's just because all of the other stuff I added needs about 300KB of additional memory, if I removed the stuff I added it wouldn't need PSRAM.
As for the other things, I run esp-matter in one task and I run esp-idf code in another task. As far as I know you can do anything you want in the other task as long don't do something like change the wifi mode when the other task is using it. I am also running an http server and esp-matter is basically unaware that I am doing that. You just need to implement some messaging between the tasks to coordinate. In my case esp-matter gets wifi running, then it I send a message which starts the http task.
Look in the closed issues, other people have built custom pairing solutions. One way to do that is to get the device onto wifi using your non-matter solution. Then start Matter in on-network commissioning mode. On-network mode assumes the network is already running. I believe this is encoded into the QRCode so IOS will know to use on-network instead of Bluetooth.

Hi Jon,
thank you for your reply. Messages between tasks seem to make sense. I will think about implementing this.
I also looked through the esp-matter code and the implementation is now better than it was at the beginning. This is built so that part of the code is in esp-matter and part of it is in the connectedhomeip/src/platform/ESP32 repository itself. I haven't looked at the updated matter documentation yet, but I can see that there has been progress. Previously, I also encountered the problem of statically allocated memory by the matter library. In turn, getting rid of bluetooth would not only save flash and RAM, but also get rid of bluetooth certification.
If RAM is insufficient, ESP32-S3R2 is quite expensive, the old ESP32 with PSRAM seems to be better. We are still waiting for the C5 or C61 series to appear.


Create fake for http.ResponseWriter

Since http.ResponseWriter is likely to be tested frequently, it deserves it's own fake.

Duplicate of #14


Question: How to get rid of "Ghost" devices

Suddenly I have 2 non responding sensors appearing in Homekit. They of course appearing in the device list, but I couldn't find them anywhere else, definietly not in the phoscon app. I would like to get rid of them. How should I proceed?
  "04CF8CDF3C75A4E6": {     "expose": true,     "manufacturer": "LUMI",     "model": "lumi.plug.mmeu01",     "name": "Consumption 12",     "resources": [       "/sensors/11",       "/sensors/12"     ],     "type": "sensors",     "zigbee": true   },   "04CF8CDF3C7771BC": {     "expose": true,     "manufacturer": "LUMI",     "model": "lumi.plug.mmeu01",     "name": "Consumption 10",     "resources": [       "/sensors/9",       "/sensors/10"     ],     "type": "sensors",     "zigbee": true   },
I have managed to make them disappear with:
ui put /devices/04CF8CDF3C75A4E6 '{"expose": false}'
but would be nice to know why they appeared.

They appear in HomeKit because deCONZ exposes the resources and you have autoExpose set.  You need to ask deCONZ why those resources appeared; you need to ask Phoscon why it doesn't show those resources.
Normally deCONZ exposes smart plugs using one lights resource (to control the on/off state) and two sensors resources (for consumption and power).  It looks like deCONZ only exposes the sensors resources for your ghost plugs.  My best guesses are:

You deleted (unpaired) the plugs from deCONZ, but deCONZ didn't delete the sensors resources;
The DDF for these plugs is broken.

Either way, this is an issue with deCONZ, not with Homebridge deCONZ.


I found this ERROR CLASS WITH \APP\CRUD\USERCOMPONENT NAMESPACE DOESN'T EXIST

I want to make a CRUD for the User model, but it return this error

CLASS WITH \APP\CRUD\USERCOMPONENT NAMESPACE DOESN'T EXIST

This problem has been fixed in 1.8.0 version.

https://github.com/rezaamini-ir/laravel-easypanel/issues/52#issuecomment-1115849649

I had the same problem. I noticed the problem is occurring in line 18 of helpers.php. The offending line is this
        if (!file_exists(app_path("/CRUD/{$name}Component.php")) or !class_exists($namespace)){
The $name parameter is passed in lowercase and therefore file_exists() for the path of the component will fail in Linux where cases are strict.
I added a line before the above line and the error went away. This is only a temp solution and a better fix is needed.
$name=ucwords($name);

I encountered the same problem due to case sensitivity on line number 18 and 34.
I just put this line before lines 18 and 34 as suggested by @johnsenga in Comment #34
$name = ucwords($name)
I am using PHP 8.1 on Ubuntu 22 LTS

I've the same problem working on Ubuntu 22.04 LTS using php 8.1 and composer 2.2.4.
Thank you @johnsenga for the solution!


Package request: wallpaper-engine-kde-plugin (for both Plasma 5 and Plasma 6)

Project description
A wallpaper plugin for KDE Plasma that integrates support for wallpapers from Wallpaper Engine.
As of right now, there's a main branch (For QT5 and KDE Plasma 5), and there's a qt6 branch (For QT6 and KDE Plasma 6).
Metadata

source URL: https://github.com/catsout/wallpaper-engine-kde-plugin
license: gpl2
platforms: linux

Add a :+1: reaction to issues you find important.

Plasma 5 is in maintenance mode and we don't really want to add to many things to it, to prevent unnecessary work.


Fixed EmailValidator to check email length properly

Closes #10142

[x] PHP & JS
[x] Tests
[x] Changelog
[x] Code review

Thank you!

Why is the display name (if allowName is true) not allowed to be more than 64 characters?
The linked rfc (http://tools.ietf.org/html/rfc5321#section-<IP_ADDRESS>.1) does not say anything about the display name.
The display-name is specified here: http://tools.ietf.org/html/rfc5322#section-3.4, but there's nothing about lengths in there.

https://stackoverflow.com/questions/386294/what-is-the-maximum-length-of-a-valid-email-address/574698#574698

John Doe<EMAIL_ADDRESS>is not a valid email address at all according to this, which is linked from that answer: http://isemail.info/John Doe <johndoe%40example.org>
That's because John Doe<EMAIL_ADDRESS>is the address format used in the message, in the from field, specified in RFC5322. For SMTP (RFC5321), you have to strip the display name, and only use<EMAIL_ADDRESS>At least that's how I understand it. The php mail function probably does this for you automatically.

John Doe<EMAIL_ADDRESS>is not a valid email address at all according to this, which is linked from that answer: http://isemail.info/John Doe <johndoe%40example.org>

This test is not designed to validate the name of recipient, as far as I know.
@nkovacs I didn't quite catch your thought.

Why is the display name (if allowName is true) not allowed to be more than 64 characters?

Do you think that the local part of the email address must not be limited?

You're confusing the display name with the local part.
In John Doe<EMAIL_ADDRESS>John Doe is the display name, johndoe is the local part. The local part must not be longer than 64 characters. The display name can be any length, because it's not used in SMTP, it's not even allowed in the path.
It's used in the message body itself, which is governed by RFC5322, and that doesn't specify a length for the display name.

Try this:
<?php

$email =<EMAIL_ADDRESS>
mail('Test this is a really long display name that is longer than 400 characters Lorem ipsum dolor sit amet consectetur adipiscing elit. Donec magna neque imperdiet et orci a fringilla viverra massa. Aenean ullamcorper fringilla odio eu consequat. Donec euismod semper nunc non venenatis. Sed ac placerat nisi. Quisque tempus purus eu nisl vestibulum tempus facilisis velit molestie. Quisque et varius ligula. Sed ullamcorper diam quis fermentum venenatis ante est cras amet <' . $email  . '>', 'Test', 'test message php');

It works for me.

You're confusing the display name with the local part.

That was a logical typo, sorry :)
I tend to agree, it seems that you're right.
What about http://tools.ietf.org/html/rfc5321#section-<IP_ADDRESS>.1? What do they mean in words "total length of a user name or other local-part"? What kind of "other local-part"?

Yeah, that wording is a bit confusing.
It says "user name or other local part", so to me that means that the local part can be a user name, but it can also be something else (also supported by http://tools.ietf.org/html/rfc5321#section-2.3.11).

Fixed in 127eeb5
Thank you @nkovacs


Rationales/summaries for revision visibility changes aren't shown

(https://yugipedia.com/index.php?title=Special:Log&page=Contact+Fusion)

There is currently no hook that provides this functionality in MediaWiki.


Custom metrics in scatter plot (skill table) error

Hi,
I used to be able to have custom metrics into the skill table before (long time ago, see example figure with custom metric EV)

Now I can still use the custom metric with the .skill() function, see eg. metrics ev and pr

But when trying to plot the scatter plot with the skill table, custom metrics are not allowed anymore, giving me an error

I think the error now prompts because only metrics defined inside metrics.py are allowed
https://github.com/DHI/modelskill/blob/ced02fd248b021de579b13765de8cee51c30cdfb/modelskill/metrics.py#L601C1-L607C2
and before this was not a requirement.

I would go with option 2) Register the custom metric in the metrics module, but since there is an endless possibility of custom metrics (or at least n number of possibilities, with n>10), what I don't know how to do is to open a window or door that allows to register custom metrics

I got inspired and implemented this. I will submit a PR now


Add ability to store and handle templates

You could define a template and use delimiters like {{ }} in a notion page, use a property like template: true and then other pages in the same hierarchy can have values that populate the template. This could provide a lot of value for building websites but also for email. Ghost CMS provides email so its likely you would want to manage both from Notion.
Then simply hook NotionCMS up to nodemailer, pull out the templates, populate and send!

This is going to be a plugin instead of built into core.


Move PowerPlan resource from xSQLServer module to xComputerManagement

In the xSQLServer module there is currently a resource called xSqlServerPowerPlan. A suggestion was raised (issue PowerShell/xSQLServer#129 ) to move that to the xComputerManagement module instead since it is not just connected to SQL. And at the same time rename the resource to xPowerPlan.
Any thoughts on this?
I'm happy to start the process by sending in a PR to this module.

I remember such a module in the old stackexchange repo from powershell.org that also had a pagefile resource among other. Always thought it was already merged back to the DSC resources.
https://github.com/PowerShellOrg/StackExchangeResources/tree/master/DSCResources
should probably open a new issue for the pagefile resource then.

@ArieHein sounds like a good idea to open an new issue for a pagefile resource so someone can submit a resource for that to this repo.

This was resolved in merge PR #47


#35530 Fix SQL completion doesn't show schemas for H2 untill you type prefix

H2

PostgreSQL

verified


JsonSource/Sink doesn't support nested types such as structs, maps and arrays

JSON itself supports these types.

Good catch.
On 4 Feb 2017 7:24 p.m., "hannesmiller"<EMAIL_ADDRESS>wrote:

JSON itself supports these types.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/sksamuel/eel-sdk/issues/238, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAtZGkkayUFSqBnIcRzd2R6KDQP0mPE1ks5rZNBygaJpZM4L3QRn
.


Compilation of ms_function can not be cached

Hi, I find that the comment in https://github.com/mindspore-ai/mindspore/blob/master/mindspore/common/api.py#L183 says "since function can be redefined, we only cache class method pipeline".
However, in some cases, I want to cache the compilation of ms_function, or it'll be much slower for compiling every time. So, I'm wondering whether you could add a new flag (e.g. force_cache) to the ms_function to cache it forcibly.

Thanks, we will consider your suggestions.


fix: Typo configurin -> configuring

Thanks! This is why I need to finish https://github.com/crate-ci/typos


Istalled the .net 6 SKD but does not work

Problem encountered on https://dotnet.microsoft.com/en-us/learn/dotnet/hello-world-tutorial/install
Operating System: macos
Provide details about the problem you're experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.
I installed the .net 6 skd in my M1 mac, but always show me the error zsh: command not found: dotnet

Have you restarted the terminal session? Also, if you installed the SDK using the dotnet-install.sh script, you need to manually add the installed directory to your PATH

Also make sure you install the Arm64 version if it's a M1 Mac.


Allow a class with a byte array member to be serialized

I did not add tests because, currently, the test suites does not have a test for every single trusted package so I assume you don't want that.
See: https://github.com/pac4j/play-pac4j/issues/340
Before submitting any pull request, please read the contribution guide: http://www.pac4j.org/docs/contribute.html

Thanks for your contribution


Support efficient InteractiveParser cloning

When using the InteractiveParser for things like backtracking, or checkpoint-parsing, it is necessary to make a copy of it. To do so, it makes a copy of ParserState, which in turn makes a deepcopy of the value_stack.
However, deepcopying the value_stack is only necessary because of a left-recursion optimization that I implemented in the parse-tree-builder, which modifies trees in-place. Otherwise, making a shallow copy would be enough. While this optimization is still important for performance of a straightforward parser (i.e. parses the text once without making copies of itself), it is a hindrance for more complicated use-cases.
I believe it is therefor desirable for Lark to support both modes - optimized for regular parsing, and for interactive parsing.
Switching between those modes can be done simply when initializing Lark, say with modify_trees_in_place=True/False.
Another, slightly more complicated option, but nicer for the users, is that when a copy of an interactive parser is made, it automatically switches to this mode. It's more complicated, because such a change requires re-building the ParseTreeBuilder instance, which otherwise the InteractiveParser shouldn't be aware of.
I'm not sure it's worth to complicate the code this much for an uncommon use-case that is meant for advanced users. Maybe it's okay to put the burden of choosing the right optimization on them. But maybe it is?
@MegaIng Do you have an opinion?

I don't think setting the option automatically when using parse_interactive is required, it can just be in all examples and mentioned in that functions documentation that it's suggested to have that option active.
Also, you might want to do use InteractiveParser without creating copies, i.e. if you only gradually get the inputs, but don''t care about backtracking.

Yes, I meant to only switch mode when a copy is made, not when using the InteractiveParser.
But yeah, it's a bit of an overkill.

I subclassed the InteractiveParser. These changes resulted in ~10x faster parsing. Pretty hacky, but might help.
class FastParserState(ParserState):
    copy_memo = {}
    def __copy__(self):
        new_value_stack = []
        for value in self.value_stack:
            key = f"{id(self)}_{id(value)}"
            if key not in self.copy_memo:
                self.copy_memo[key] = deepcopy(value, self.copy_memo)
            new_value_stack.append(self.copy_memo[key])

        new_instance = type(self)(
            self.parse_conf,
            self.lexer, # XXX copy
            copy(self.state_stack),
            new_value_stack,
        )

        self.copy_memo[id(self)] = new_instance
        return new_instance

class FastInteractiveParser(InteractiveParser):
    def __init__(self, *args, **kwargs):
        super().__init__(*args, **kwargs)
        self.parser_state = FastParserState(
            self.parser_state.parse_conf,
            self.parser_state.lexer,
            self.parser_state.state_stack,
            self.parser_state.value_stack,
        )

    def __copy__(self):
        return type(self)(
            self.parser,
            copy(self.parser_state),
            copy(self.lexer_thread),
        )

@erezsh It should not corrupt value_stack since we are disabling the callbacks, no? That was the point behind the changes.
The original idea in this issue might still have merit, but I think the solution we found for accepts is better than that.

Thanks, you're right. I forgot for a minute that the tree-builder gets disabled along with the callbacks.


allow chain-specific chain stengths

Allow passing a list that specifies chain-specific chain strengths

Now I realize that using a list would not support Python <3.7 since the embedding dictionary should  be ordered for this to make sense. Do we support Python <3.7?

Codecov Report

Merging #323 into master will decrease coverage by 1.27%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #323      +/-   ##
==========================================
- Coverage   92.85%   91.58%   -1.28%
==========================================
  Files          22       22
  Lines        1176     1176
==========================================
- Hits         1092     1077      -15
- Misses         84       99      +15

Impacted Files
Coverage Δ

dwave/system/samplers/dwave_sampler.py
78.61% <0.00%> (-8.18%)
:arrow_down:

dwave/system/composites/embedding.py
95.73% <0.00%> (-1.22%)
:arrow_down:

Continue to review full report at Codecov.

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

Could accept a dict. Or more generally any container where the keys are the source variables

FYI I've incorporated these changes into #321

Closed as part of #321


meetingSurfaces property not documented

Manifest version 1.11 shows a meetingSurfaces property in configurableTabs which is not documented, nor shown in the sample manifest, on this page.
https://github.com/OfficeDev/microsoft-teams-app-schema/blob/58303052063cab02f2e99b0fb3ff49460883a8cf/MicrosoftTeams.schema.json#L188-L198

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

ID: 0f94a488-d636-92b3-21eb-c88744c8f272
Version Independent ID: 7b3413f4-9ade-accf-5cb2-83fead11a32a
Content: Manifest schema reference - Teams
Content Source: msteams-platform/resources/schema/manifest-schema.md
Product: msteams
GitHub Login: @surbhigupta
Microsoft Alias: lajanuar

@gscott - Thanks for your feedback.
We will check on it and redirect it properly, if required.

Hello,
The meetingSurfaces property is not supported to use by developer. If you want to build an app having meetingSidePanel and meetingStage capabilities, you need add meetingSidePanel and meetingStage in configurableTabs context section. Please refer to this doc to understand more Shared meeting stage

We are closing this issue, please let us know if you any query.


Make settings working

Settings "frontend" it's just finished, so we need to make working saving user login, etc to shared prefs

I don't understand what you meant :/. What is not working?

Data and sync

Data&Sync seems just make search result auto reload, user can do that with swipe, maybe we can remove it?

@ltype ok


#618: Move heartbeat processing to a separate thread

See issue #618. Comments and suggestions are welcome - please tear this apart! 😬

I'd like to get this functionality, but I want to avoid using a mutex to achieve it. The problem of course is that the heartbeats need to be sent on the same socket as the other group API calls, so we do need to synchronize access to that socket.
One way to go about this would be to run the consumer group client code in a wholly separate thread and use a thread-safe queue to communicate with the processing code. That's one reason I've been hesitant to add support for background heartbeats – doing it properly is hard.

Also note that the CI tests are failing.

@dasch thanks for the feedback. Can you explain more why you don't think a mutex will work? We've had this in production for about 2 weeks now and have not seen any problems.
I can fix the tests - silly last minute update which I did without checking.

@dorner my worry is about long-term maintenance – debugging deadlocks and other mutex-related issues is very hard, so I'm wary about introducing such concepts. If we were to do it, I'd prefer the mutex live in Connection if that could be done in a performant way. Sprinkling locks throughout the code base is a recipe for future disaster.

I agree with @dasch. Ruby Kafka already has concurrency and more than one thread. Introducing new multi thread dependencies will be a nightmare during debugging and error finding. I still recall the separate thread prefetch memory bloats that we had ;)

@dasch OK, makes sense. From your previous comment - moving all consumer group functionality to a separate thread - do you have a high level description of how that might be implemented? I can take the time to try and do the work on my end. Would it be similar to how Fetcher is done right now?
Also, OTOH would that include heartbeat, join_group and synchronize? Anything else?

@dorner it's a rather large and risky change, and would probably involve multiple rounds of explorative implementation.
A simpler approach might be to start by moving the processing to another thread, which would leave the main thread responsible for the group stuff. A Queue could be used to send messages to the processor thread, and another one could be used to send back acknowledgements or errors. It may or may not work well in practice.

@dasch well, I'm willing to take whatever approach you feel is best. That one sounds even messier to me though - we'd have to move from a consumer loop to something more of a cross-thread communication (since we can't move on to the next message until the current message is finished processing). Unless I'm misunderstanding your suggestion?

Nah, that's exactly right. But finding the right design here is messy – there are a lot of moving pieces.

I just got a feeling that the number of interactions in the group code will
make it harder, but feel free to give it a go!
Note though that I’ll only merge the resulting code if it’s sufficiently
maintainable - I personally implemented an async IO system for ruby-kafka
but ended up reverting it because it proved too unstable and difficult to
debug...
On Tue, 31 Jul 2018 at 19.20, Daniel Orner<EMAIL_ADDRESS>wrote:

Hm. I still think that moving the consumer group processing to a separate
thread sounds less hairy and a less risky change than moving the consumer
processing to a separate thread. There may be some context I'm missing
though - as someone with more experience can you explain why you prefer the
second approach over the first? I'll take a stab at whichever one makes
more sense - it'll definitely be a big change either way but that doesn't
mean it's not worth doing :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/zendesk/ruby-kafka/pull/619#issuecomment-409300039,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAYz5UsMlwdKbUbGAVQg7gB0ff5Vb7zks5uMJHogaJpZM4VXFe5
.


Connection error details with a pool cluster with canRetry=true

When using pool cluster with canRetry=true, it would be nice to log all node connection errors to later investigate what was the problem. But while it is possible to subscribe to 'offline' event on PoolCluster, it does not provide error details why node was put offline.
Is there any way to get connection errors info from PoolCluster other than not using "canRetry=true" and doing re-tries manually?
Emitting something like 'node-error' event on PoolCluster with node and error details would be nice.
Another way can be accumulating errors in node object and passing them into 'offline' event.

There is not currently, but PRs are welcome to add it! I would say that adding it as an event is probably better than accumulating, because when an error object is created in Node.js (v8) it actually holds a reference to all the stack frames at the time of creation, including keeping alive all pads associated with those frames, which ends up in giant memory leaks until a node actually goes offline.


WebAuthn 2FA not working on Safari 14

Description
Hi, I can successfully register a FIDO2 token (a YubiKey) after registration on Gitea, but I am unable to use it as a second factor for subsequent login attempts when I use Safari.
Safari requires the WebAuthn API (or at least the navigation.credentials.create function) to be called from a user gesture handler. This is explained well in the YubiKey support page and on this official WebKit blog post (see the "Propagating User Gestures" section). Apparently Gitea calls the WebAuthn JS API as soon as the /user/webauthn page is loaded. No user gesture is detected and therefore Safari rejects the request.
Moreover, when the This request has been cancelled by the user. alert is shown, the user has the option to reload the page, but the problem happens again. If the user presses 'Cancel', there is no button in the page to restart the WebAuthn API flow. Adding this simple button could solve the issue.
Screenshots
Error in the user page:
Safari developer tools Console:

Page when the alert is closed, without any button to restart the WebAuthn login process:

Gitea Version
1.17.2
Can you reproduce the bug on the Gitea demo site?
Yes
Operating System
macOS Big Sur 11.4
Browser Version
Safari 14.1.1

I tried this, too. On Mac it offers the possibility to use the fingerprint as a security key, too. This works fine for me.
I checked the requests and it turned out that the attestationObject is much longer in case of the yubikey. I haven't digged into it, but may this be an issue?

Is this still a problem in v1.18 ?

I guess Apple has changed the behavior again, my old Safari can reproduce this issue, but my new Safari could work well.


video Quality issue

am facing video quality issues in the app from iPhone x to iPhone 7 pro call.

Hi @Shahbaz-Akram
WebRTC automatically adjusts video quality according to network conditions and webRTC configuration.
Make sure you have stable network on both devices.

Hi @stasel
Is it possible to prevent WebRTC adjust video quality and bitrate even if the network is not stable, but to reduce FPS? May be you can point the place in documentation I can find the answer?

Hello,
I'm also looking to "force" resolution.
I've identified this :

let constrains = RTCMediaConstraints(
            mandatoryConstraints: self.mediaConstrains,
            optionalConstraints: nil
        )

But I don't find the key for width and height