Sons of the forest template

Hi,
I am trying to make sons of the forest docker template in Pufferpanel, but I can't make it works. I have already running SoF server in docker but i wanted it to be in pufferpanel. For SoF docker image i used https://github.com/jammsen/docker-sons-of-the-forest-dedicated-server whitch works awesome, but even with help of his configurations I can't make it work in Pufferpanel.
Is there someone who already tried it and succeeded?
Or maybe if its posible to make template with github repository (docker run) or with docker compose command?
Thank you.

is there any wine Image for Pufferpanel?

is there any wine Image for Pufferpanel?

Docker server (SoF) running/using wine and xvfb. Or how did you mean that ?

Yiu cant use the image above. As  i know, you need special images for Pufferpanel

@gOOvER That is incorrect, you can use any Docker image with PufferPanel, however their default run commands are ignored and always replaced with what is set as the run command in the PufferPanel template
@SpeeDFireCZE Could you please be a bit more explicit about what you tried and in what way it didn't work? It's rather hard to help you figure out the issue without knowing more than something doesn't do what one specific user (you) expects, it could be anything from a misunderstanding to a bug to some unsupported detail and many other things in between

is there any example for an image?

As said, any Docker image is fine, they'll all work, they just aren't started with their default start command, they're pretty much used as nothing but dependency bundles

He want to run the image above in Pufferpanel :)

Yes, I got that much, that doesn't tell me anything about how they tried to build their template though and by extension I can't tell where they might have made a wrong assumption or hit something that seems like a bug I'd need to investigate more closely etc

@SpeeDFireCZE Could you please be a bit more explicit about what you tried and in what way it didn't work? It's rather hard to help you figure out the issue without knowing more than something doesn't do what one specific user (you) expects, it could be anything from a misunderstanding to a bug to some unsupported detail and many other things in between

Hi,
I tried to remake commands from steamcmdinstall.txt (https://github.com/jammsen/docker-sons-of-the-forest-dedicated-server/blob/master/steamcmdinstall.txt):
force_install_dir /sonsoftheforest
login anonymous
app_update 2465200 validate
quit
(this command works and app is installed but next commands dont).
and dockerfile (https://github.com/jammsen/docker-sons-of-the-forest-dedicated-server/blob/master/Dockerfile) to puffer template. But it looks like when I add command to install which have to install some app (sudo apt install), that this command didnt do anything, it doesnt start install only gets to first apt install command and dont continue to next command (in puffer terminal).
Next i try to start it using: https://github.com/jammsen/docker-sons-of-the-forest-dedicated-server/blob/master/usr/bin/servermanager.sh
I think I only desn't 100% understand to template pattern, and i dont know which commands works and which don't in terminal.
I will make some screens and send it in next answer.

As you can see in third image, puffer execute only first command and skip next.
If i delete all commands in second command form then it start installing steam app:

It install it but cant start because sh script doesnt exist and doesnt have requirements (wine...)
If i add some commands in same commands form right behind install:

it start install normaly:

after steam app install it again execute only first command:

Its probably some fault on my side, as i said I am not really sure how to import docker run/ docker compose repositories to template. I didnt find any tutorial for it.
thank you for your help guys.

I think that I finally starting to understand to templates. But now when I get to install server over docker I have problem with permisions.

How can I escalate permisions to puffer? Adding puffer user to adm or sudo dont work.
Thanks

i would use a pure wine stable Image and let Pufferpanel Install the game

I dont know how did you mean it. I want it in docker and I cant install any aplication in created docker with template, puffer dont have rights as you can see in images. Or what was you idea, how did you mean it ?

I my eye's you CANT use the image you posted above. The image install all.
Use:
scottyhardy/docker-wine:stable
as image and build a template around that. BUT, you must download the Windows version from Steam, else it dont work

I my eye's you CANT use the image you posted above. The image install all.
Use: scottyhardy/docker-wine:stable
as image and build a template around that. BUT, you must download the Windows version from Steam, else it dont work

I dont have connected any display to server so i need to install xvbf but I am again stuck with premissions :/

I my eye's you CANT use the image you posted above. The image install all.
Use: scottyhardy/docker-wine:stable
as image and build a template around that. BUT, you must download the Windows version from Steam, else it dont work

I dont have connected any display to server so i need to install xvbf but I am again stuck with premissions :/

you dont need any display for the server.

I my eye's you CANT use the image you posted above. The image install all.
Use: scottyhardy/docker-wine:stable
as image and build a template around that. BUT, you must download the Windows version from Steam, else it dont work

I dont have connected any display to server so i need to install xvbf but I am again stuck with premissions :/

you dont need any display for the server.

specificaly for SoF you need to have connected display or xvbf for fake display. In process of instalation it will fail on display if you dont

I my eye's you CANT use the image you posted above. The image install all.
Use: scottyhardy/docker-wine:stable
as image and build a template around that. BUT, you must download the Windows version from Steam, else it dont work. Dont ask me why but you need it

I dont have connected any display to server so i need to install xvbf but I am again stuck with premissions :/

you dont need any display for the server.

specificaly for SoF you need to have connected display or xvbf for fake display. In process of instalation it will fail on display if you dont. Dont ask me why but you need it, maybe on win server its not needed but on linux it is.

no, thats wrong. You do not have a display with XVFB. I wrote an egg for Pterodactyl without XVFB

you dont need any display for the server.

I wouldn't be so sure about that, I've seen games do completely off the rocker stuff like exposing their console via telnet instead of the standard in/out streams, it wouldn't surprise me if someone managed to think that a server absolutely needs a UI, because oh look, literally any distraction what were we talking about?
But I don't know for sure either way, just wouldn't be surprised by it

Adding puffer user to adm or sudo dont work.

First of all, I'd strongly recommend undoing that, PufferPanel should not have access to sudo or similar
Also, adding the user to any group won't show effect for dockerized servers as all install commands are run inside a container, therefore isolated from the host system, just like the run command
Let alone that if you use the Docker image you linked you don't need to run anything noted in its Dockerfile, the Dockerfile is used by Docker to build the image, the resulting image already has those packages installed etc

Next i try to start it using: https://github.com/jammsen/docker-sons-of-the-forest-dedicated-server/blob/master/usr/bin/servermanager.sh

That script is quite heavily hardcoded to use very specific paths in the container, so even if you got it the permissions it wants it would loose save data as PufferPanel removes containers when they're not needed as it expects that the save data lives in the directory it mounts the server files into, which that script doesn't care about
To make it work you'll probably have to take that script and more or less rewrite it as part of the PufferPanel template to get everything to go where it needs to

you dont need any display for the server.

I wouldn't be so sure about that, I've seen games do completely off the rocker stuff like exposing their console via telnet instead of the standard in/out streams, it wouldn't surprise me if someone managed to think that a server absolutely needs a UI, because oh look, literally any distraction what were we talking about? But I don't know for sure either way, just wouldn't be surprised by it

beleave me, i wrote allready an egg for ptero. No display is needed

@gOOvER
@nepcore and is there any way to use apt install in docker containers made by puffer ? Some way to get rights ?

You don't need to, the image already has it all installed, the commands in the Dockerfile run as part of the image creation process, so if you can use the image the commands have been run already

You don't need to, the image already has it all installed, the commands in the Dockerfile run as part of the image creation process, so if you can use the image the commands have been run already

Ok thanks I didnt know that. so when i choose docker image it automaticaly install all aplications in that image and i need only to start it ? I dont need to use install, for docker then ?

That is not what I said, a Dockerfile tells Docker what image to use as a starting point, Docker takes that base image and runs all the commands given in the Dockerfile, the result of that is the new image, that means that anything that Dockerfile asked for and anything already in its base image are available in the image without further setup, but e.g. game files usually need to be installed separately, so the install section of a template is still relevant

That is not what I said, a Dockerfile tells Docker what image to use as a starting point, Docker takes that base image and runs all the commands given in the Dockerfile, the result of that is the new image, that means that anything that Dockerfile asked for and anything already in its base image are available in the image without further setup, but e.g. game files usually need to be installed separately, so the install section of a template is still relevant

A bit senseles to allow users to use every image;

That is not what I said, a Dockerfile tells Docker what image to use as a starting point, Docker takes that base image and runs all the commands given in the Dockerfile, the result of that is the new image, that means that anything that Dockerfile asked for and anything already in its base image are available in the image without further setup, but e.g. game files usually need to be installed separately, so the install section of a template is still relevant

and contradicts what you had said.
Maybe you should write a guide for docker, because here in Pufferpanel, it is so opaque, how to use docker. Especially when you look at the template directory. Once a template without docker and once with docker. Should not be the problem to merge that into a template

and contradicts what you had said.

How so? I said what is written in the Dockerfile doesn't need to be done in PufferPanel, everything installed there is already in the image once it's built, most Docker images do however not include the actual game files and instead download them when the container is started if they're not there, so the install section of a template is still relevant since PufferPanel ignores the images preconfigured start command and replaces that with what's in the template because PufferPanel uses Docker images pretty much as dependency bundles that support strong system isolation

A bit senseles to allow users to use every image;

Docker images are meant to be build once, run on anywhere (so long as the CPU arch is supported by the image), there is no reasonable way to differentiate Docker images into different categories, though I don't see what for in the first place
Since the Docker image a server uses can only be changed by an admin, an arbitrary user cannot use that as a way to run whatever they want (and if that's your concern, good luck with e.g. user provided Minecraft plugins/mods)

Docker is the future in hosting and the pufferpanel team, if it wants to survive, should think about implementing it properly; especially in such a time where a canadian scammer, with Ptero no longer makes ;)

Docker is one of many approaches. LXC, Podman and friends don't exist for no reason and Docker isn't always flat out the right choice for everything (nothing ever is, use cases are always important to consider), so claiming it to be the only thing that needs to be supported is rather short sighted
But let's keep that, it being off topic here, elsewhere, feel free to talk about it on discord or open a separate issue

I think i Give up for now. I can't make it work, when i pull  jammsen/sons-of-the-forest-dedicated-server I have problems with permissions, and when i pull scottyhardy/docker-wine:stable it has problem with xvfb which I cant install. Now I am trying it with FragSoc/steamcmd-wine-xvfb-docker  but cant make it work for now.

I think i Give up for now. I can't make it work, when i pull  jammsen/sons-of-the-forest-dedicated-server I have problems with permissions, and when i pull scottyhardy/docker-wine:stable it has problem with xvfb which I cant install. Now I am trying it with FragSoc/steamcmd-wine-xvfb-docker  but cant make it work for now.

played around a bit with a Templates, but IT looks Like, Pufferpanel is not really designed to run Games with wine.


Cant run file from SD card because of path problem

Hey. Found the following bug with python file launch by atom-python-run.
I opened python file in Atom with atom-python-run from SD card named Mac SDXC. Its located by /Volumes/Mac SDXC path. When I try to launch file by F5 key, I got the following error:
/System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: can't open file '/Volumes/Mac': [Errno 2] No such file or directory

Process returned 2 (0x2)	execution time : 0.035 s
Close this window to continue...

Execution command in console was:
python /Users/username/.atom/packages/atom-python-run/lib/../cp/main.py --pause -- python /Volumes/Mac SDXC/scripts/test.py

But for successful launch it should be:
python /Users/username/.atom/packages/atom-python-run/lib/../cp/main.py --pause -- python /Volumes/Mac\ SDXC/scripts/test.py

Note: need to add \ symbol before space.
Please fix that if possible. Thanks.

Meet the same problem on Mac OS. I once used sublime REPL and it can automatically add \ before the space when reading the path. Hope it could be fixed!


<EMAIL_ADDRESS>fails to install

Package Name:  @azure/cosmos
Package Version: 3.17.2
Operating system: MacOS and Linux
[x] nodejs

version: 16.16.0

[x] typescript

version: 4.9.3

Describe the bug
Trying to install<EMAIL_ADDRESS>from npm as below:
npm install<EMAIL_ADDRESS>
Is currently failing with the following error message:
npm ERR! 402 Payment Required - GET<EMAIL_ADDRESS>- Artifact cannot be uploaded because max quantity has been exceeded or the payment instrument is invalid. https://aka.ms/artbilling for details.

Expected behavior
<EMAIL_ADDRESS>installs successfully
Additional context
Currently causing several build pipelines to fail.
Workaround
Downgrade to version 3.17.1

@paulsmithkc Looks like you are using a private registry here and hence the problem. You might just have to authenticate correctly or switch to using the public registry.
npm config set registry https://registry.npmjs.com/

Working now. Seems like it rolled over to the 17th UTC, and entered a new billing cycle or something.

Verified it and it works fine! please reopen if you face it again!


Added in .idea/

I updated the .gitignore to ignore .idea/ so that we can avoid the conflicts with workspace.xml and the such

great, did you apply the .gitignore?

@Abdur-rahmaanJ yes it shouldn’t be tracking anymore


Publication list

Hi @gcushen
Is there any way to have a publication list like:

Author A and Author B (year). Title, Journal, volumen ...
Author B, Author C, Author A and Author ....

It sounds like you are after a traditional referencing style such as Harvard - the issue with that is that there are many different referencing styles. Plus the exact formatting of each reference would depend on the type of publication. To implement this kind of dynamic, advanced referencing would likely be too difficult and hacky to implement via Hugo's templating system.
The Publication homepage widgets have a choice of simple or detailed listings in their frontmatter - the detailed listing should achieve roughly what you want. Whereas, the publication index node (at /publication/) only offers simple listing. Perhaps we could consider offering support for a detailed listing option on the publication index node page as well if you're interested.

this is slightly off-topic, but @ajpelu you might be interested in the blogdown project, which, because it runs on rmarkdown (via pandoc) offers any number of citation styles, to be rendered automatically from some *.bib, the open standard for bibliographic information.
blogdown, the R package still in development (I have nothing to do with it), wraps around hugo, and can be used with this theme.
So, one way to go about this, especially once blogdown is mature, might be to just add a custom widget, and have blogdown do all the heavy lifting of formatting the refs.
Just a thought.
I think blogdown and academic are a perfect match 😸

Closing this issue as I have not heard any feedback from @ajpelu . If I do, I can re-open :)

I'm up-voting @gcushen suggestion of offering a "Traditional" style, which would exactly bring the relevant information directly in the home page, without cluttering it with too much information as the detailed list does (i.e. abstract, plus all pieces of information on different lines). In my opinion, "Traditional" should simply append authors, date (year), title and publication (if other fields such as volume and pages would be available, they may also be appended at the end).
Looks like #235 is exactly requesting the same thing.

What is the current status on this? Is there a built-in way to convert a .bib to .md files? Or a suggested script?


Add ML for synthesis prototype to repository

Resolves #235

@ryukzak Replying to your last message in this PR paragraph by paragraph.
The data science itself is pure magic, it's inevitable :)
I've looked at automations you made. It generally works on Windows too, but I'm not quite a fan of this experience, since something weird can happen. More on this later.
Yes, you've understood it right, example_model_1 is a manually prepared example model.

When I was working on this prototype, I found that it's easier for debugging and playing to have a terminal near you and see what's exactly listening on a given port. Those automations may be necessary, but for a script (smoke testing script, for example). When it comes to playing with data in an interactive notebook, weird stuff happening in background can disorient. I stumbled upon hanging process, for example. The reasons are unknown :D

Note the mismatch between spi1 experiment and nodes count. It's the old process with example.lua is listening. Killing it helps:

ConnectionRefusedError happened sometimes too (delay of 0.5s is not enough in my case, perhaps). Reversing the lines (first doing read1() and then sleeping for a delay) helps. Did also some more tweaks in attempts to fix hanging process, but had no luck.
So in a playground it isn't worth it, probably :(

Extract data retrieving parts to the library for profiling purposes.
I'll do that in a moment.

Planning to add external synthesis script and only then request a review.

Finally, it's ready for review.
CLI argument:
  -s     --score=NAME                   Name of the synthesis tree node score
                                        to additionally evaluate. Can be
                                        included multiple times (-s score1 -s
                                        score2). Scores like ml_<model_name>
                                        will enable ML scoring.

Functionality can be enabled with:
stack run nitta -- --port=8080 -s ml_production -s ml_production2 examples/fibonacci.lua
See the response to http://localhost:8080/node/-0/subForest (I've added scores map to NodeView):

Make sure you have required models (=directories "production" and "production2" for given example) in <repo_root>/ml/synthesis/models. Here's an example model, place it so that <repo_root>/ml/synthesis/models/production2/metainfo.json is available. If you want to train a new one, the easiest way to do so is to run python ml/synthesis/src/scripts/train_evaluate_in_ci.py in the repo root (make sure /app/ml/synthesis/src is in PYTHONPATH to avoid import errors). If it does not find existing model named "production", it'll train it (3 minutes = 20 epochs x 9s each on 3070 Ti in docker).

I'll try to update the docker dev image building asap so you won't have to deal with known problems when setting up the environment.

This PR's unfortunate fate is to become a huge solution hub for ML-related problems. Upcoming merge will fix it.
Current pre-review TODO checklist:

[ ] merge work from master up to automatic web UI start, fix merge conflicts and merge-related errors/warnings due to updated GHC version, logic conflicts, behavior changes, etc.
[ ] update the latest evaluate script: time measuring, NITTA API requesting (duration), steps counting (/treeInfo-based) and result status tracking
[ ] try to refactor the evaluate script so it doesn't have any non-stdlib dependencies (=does not require ML-related setup to run, just Python)
[ ] refactor the evaluate script so it's configured by a YAML config
[ ] re-run synthesis evaluation, upload the results table, add permalink to the text of related academic thesis
[ ] remove remains of the old data crawling code
[ ] double-check the Python code and scripts, pay the technical debt, fix possible inconsistencies
[ ] check that tests (including smoke) didn't break
[ ] merge the latest master with group bindings, recrawl data, retrain model, and reevaluate synthesis (sota / topdown; ML / no-ML)
[ ] add pyproject.toml to configure the new Python tooling (introduce poetry for dependency management?)
[ ] fork the repo and test that the Dockerfile-based CI script works, make necessary Dockerfile changes, try to add checks related to the new Python tooling
[ ] review and pull the Dockerfile-related aarch64 branch with aarch64 compatibility fixes
[ ] update the Dockerfile for development build target with respect to the new GHC and Python dependency management / tooling, check it builds successfully and works (including aarch64? too good to be true, right?)
[ ] update the Dockerfile for development-gpu build target (Python deps!), check it builds and works
[ ] check that Dockerfile-based CI smoke test works at last
[ ] add synthesis evaluation to CI-generated Releases artifacts
[ ] write down future work, pass the review

This huge TODO-list is finally done!
I've also added python code checks to ci.yaml, as well as pytest tests to the "nitta" job.

So, this day has come

First step towards review done: https://github.com/ryukzak/nitta/pull/260
The main difficulties for me to start working with ML: dependencies between virtual environment, variables, and python/haskell environment. The main demonstration:
ml-nitta:
	$(POETRY) shell
	MODELS_DIR=$(ML_MODEL_PATH) PYTHONPATH=$(PYTHONPATH) stack exec nitta -- examples/teacup.lua -s $(ML_MODEL) -p=8080 -d=1.2

Maybe, we can partly fix this problem, if we pass mlbackend execution command via env variable. But, it sound like a too simple idea to that mess.


Recordset should choose simplest key when forming links to records

In synapse-dev the table Zebrafish:Subject has two unique keys.  One is a single-column key on the Term column while the other is a composite key on three columns Issuer, Birth Date, and Sub-Sequence.  Clicking on a row forms a record app link that uses the composite key rather than the single-column key, while I think it should prefer the key with the fewest elements.

I believe I fixed this ... and it doesn't seem to have broken paging or sorting.
https://synapse-dev.isrd.isi.edu/~schuler/chaise/recordset/#1/Zebrafish:Subject

confirmed that it now chooses the shorter key


Examples missing for MFA with New-CsOnlineSession (Module MicrosoftTeams)

Hello,
apologies for the mess on this issue, I have since figured out most of what I need, however one element is still remaining:
New-CsOnlineSession cannot be called with the -Credential parameter if MFA is to be used.
Calling the command without Parameters helps and allows use for MFA, however it does not allow to pre-fill the Username anymore, I am trying to get this re-evaluated with https://github.com/MicrosoftDocs/office-docs-powershell/issues/6997
I propose to change the example for MFA as follows:
$acctName="<UPN of the account, such as<EMAIL_ADDRESS>$orgName="<for example, litwareinc for litwareinc.onmicrosoft.com>"
#Azure Active Directory
Connect-AzureAD
#SharePoint Online
Connect-SPOService -Url https://$orgName-admin.sharepoint.com
#Skype for Business Online
Import-Module MicrosoftTeams
$sfboSession = New-CsOnlineSession
Import-PSSession $sfboSession
#Exchange Online
Import-Module ExchangeOnlineManagement
Connect-ExchangeOnline -UserPrincipalName $acctName -ShowProgress $true

The New-CsOnlineSession command now calls Connect-MicrosoftTeams and connects to SkypeOnline and Teams 👍
I understand that the command was added to the Teams Module for backward compatibility, but is there a plan for Connect-MicrosoftTeams -AccountId $acctName to also support establishing both connections going forward? (If so, it would solve my request regarding the Username Parameter)
What is the plan for administering the Teams backend (i.E. CsOnline) come FEB 2021 when the Skype Online Connector is phased out? Will these commands be available natively through connecting to MicrosoftTeams using Connect-MicrosoftTeams?
Or will the method be the same (New-CsOnlineSession)?
We need to plan for this in the coming months as we need to update all our Scripts to work with the new Module and need clarity on this topic. The more information the better. :)
Thanks,
David

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

ID: 6adeef66-5e54-ba2f-37ac-c1898ef942c6
Version Independent ID: f8a6eda6-b300-dc76-4392-9aeb6c532822
Content: Connect to all Microsoft 365 services in a single PowerShell window - Microsoft 365 Enterprise
Content Source: microsoft-365/enterprise/connect-to-all-microsoft-365-services-in-a-single-windows-powershell-window.md
Service: o365-administration
GitHub Login: @JoeDavies-MSFT
Microsoft Alias: josephd

To drive the point home, here is the result running the following lines:
$credential = Get-Credential

Connect-AzureAD -Credential $credential

Import-Module MicrosoftTeams -Force #Added Force as it is fickle!
$sfboSession = New-CsOnlineSession -Credential $credential
Import-PSSession $sfboSession

#Import-Module MicrosoftTeams
Connect-MicrosoftTeams -Credential $credential

Result:
One or more errors occurred. (raised by: Connect-AzureAD)
AADSTS50076: Due to a configuration change made by your administrator, or because you mov
ed to a new location, you must use multi-factor authentication to access '00000002-0000-0
000-c000-000000000000'.
Trace ID: c0586140-c6d0-4a35-874b-fad5904c2900
Correlation ID: 249f0ffb-ea40-4470-bdc9-399fd9246da9
Timestamp: 2020-12-19 11:19:53Z (raised by: Connect-AzureAD)
Response status code does not indicate success: 400 (BadRequest). (raised by: Connect-Azu
reAD)
{"error":"interaction_required","error_description":"AADSTS50076: Due to a configuration
change made by your administrator, or because you moved to a new location, you must use m
ulti-factor authentication to access '00000002-0000-0000-c000-000000000000'.\r\nTrace ID:
 c0586140-c6d0-4a35-874b-fad5904c2900\r\nCorrelation ID: 249f0ffb-ea40-4470-bdc9-399fd924
6da9\r\nTimestamp: 2020-12-19 11:19:53Z","error_codes":[50076],"timestamp":"2020-12-19 11
:19:53Z","trace_id":"c0586140-c6d0-4a35-874b-fad5904c2900","correlation_id":"249f0ffb-ea4
0-4470-bdc9-399fd9246da9","error_uri":"https://login.microsoftonline.com/error?code=50076
","suberror":"basic_action"}: Unknown error (raised by: Connect-AzureAD)
{"error":"interaction_required","error_description":"AADSTS50076: Due to a configuration
change made by your administrator, or because you moved to a new location, you must use m
ulti-factor authentication to access '00000002-0000-0000-c000-000000000000'.\r\nTrace ID:
 c0586140-c6d0-4a35-874b-fad5904c2900\r\nCorrelation ID: 249f0ffb-ea40-4470-bdc9-399fd924
6da9\r\nTimestamp: 2020-12-19 11:19:53Z","error_codes":[50076],"timestamp":"2020-12-19 11
:19:53Z","trace_id":"c0586140-c6d0-4a35-874b-fad5904c2900","correlation_id":"249f0ffb-ea4
0-4470-bdc9-399fd9246da9","error_uri":"https://login.microsoftonline.com/error?code=50076
","suberror":"basic_action"}: Unknown error (raised by: Connect-AzureAD)
One or more errors occurred. (raised by: Connect-AzureAD)
New-CsOnlineSession : Command Connect-MicrosoftTeams failed; One or more errors
occurred.
At line:5 char:1
+ $sfboSession = New-CsOnlineSession -Credential $credential
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [New-CsOnlineSession], Exception
    + FullyQualifiedErrorId : System.Exception,Microsoft.Teams.ConfigAPI.Cmdlets.SfbOnl
   ine.CsSession.NewCsOnlineSession

My current working Script is Connect-Me -UserName $Username (Module: TeamsFunctions) which does the following:
# By default only the first two are executed:
Connect-SkypeOnline -UserName $Username
Connect-AzureAD -AccountId $Username
# Additionally it can also connect to these two:
Connect-MicrosoftTeams -AccountId $Username
Connect-ExchangeOnline -UserPrincipalName $Username -ShowProgress:$true -ShowBanner:$false

Connect-SkypeOnline does work with v6 and v7 of the SkypeOnlineConnector (v6 used the -Credential parameter available now), whereas v7 has also -UserName available...) but assuming the functionality of the newest Connector would be made available in the MicrosoftTeams Module, I would have expected it to run like this:
New-CsOnlineSession -UserName $UserName

Workaround / proposed Example:
Skype & Teams put together in reverse order. This enables Single-Sign-on for Skype, however, if connected to multiple tenants, a Popup is still shown by New-CsOnlineSession because a Username cannot be passed to the command
$acctName="<UPN of the account, such as<EMAIL_ADDRESS>$orgName="<for example, litwareinc for litwareinc.onmicrosoft.com>"
#Azure Active Directory
Connect-AzureAD -AccountId $acctName
#SharePoint Online
Connect-SPOService -Url https://$orgName-admin.sharepoint.com
#Exchange Online
Import-Module ExchangeOnlineManagement
Connect-ExchangeOnline -UserPrincipalName $acctName -ShowProgress $true
#Teams & Skype for Business Online
Import-Module MicrosoftTeams
Connect-MicrosoftTeams -AccountId $acctName
$sfboSession = New-CsOnlineSession
Import-PSSession $sfboSession

@JoeDavies-MSFT  Please add your comment and guide us in resolving this issue. Thanks.

@JoeDavies-MSFT  Please add your comment and guide us in resolving this issue. Thanks.

@DEberhardt I have updated the article with your suggestions and the results of additional testing. Thanks so much for your time and effort to help improve this content.


Marvel Character added to modal

Add marvel character content to modal.

Added a hero card to modal.


Remove IS_DATACHAIN_CLUSTER from beat

Reverts #436, no longer needed after #438.

@0x2b3bfa0 please also bump version of the app to v2.128.3 🙏
Our pipeline stop to work :/ https://github.com/iterative/helm-charts/actions/runs/9956546553/job/27506684158


NonBooleanPropertyPrefixedWithIs is catching quasi-boolean properties

Using https://github.com/JetBrains/Exposed, I'm running into a lot of issues with db tables where I have something defined like:
val isVerified = bool("is_verified"), where the type is a Column<Boolean>.
It's not "technically" a Boolean, but it's used in all the same ways.
I'm not sure the best approach here (I'd like to just have an (optional) blanket exclusion for Column<Boolean> types, but I'm not sure if that's feasible).  It just doesn't seem to make sense to have a suppression everywhere I refer to a boolean database column, nor do I want to start naming things columnIsVerified (any more than I want intAmount or stringName).
Expected Behavior
NonBooleanPropertyPrefixedWithIs negative
Current Behavior
NonBooleanPropertyPrefixedWithIs positive

a lot of issues with db tables where I have something defined like:

I assume your DB Tables are all defined in one or more file right? This feels like a valid scenario for a local suppression at the file level (or you can use the exclude feature in the config to exclude a .database package from being inpsected for this rule).

They're declared in many files, throughout many modules (each module generally represents a feature, that contains its own db logic).  **/database/*.kt would cover them all though.
But there are also various other functions in those files that I don't want to suppress it on.  If it's not a property of type Column<Boolean>, I don't want it suppressed.

I would stay away from putting framework specifics into this rule in general.
Since detekt tries to be framework-agnostic, I'd copy this rule into a custom rule and incorporate the required changes.

But there are also various other functions in those files that I don't want to suppress it on. If it's not a property of type Column<Boolean>, I don't want it suppressed.

I see. This feels like the scenario for a custom rule then as suggested by @schalkms

What about an option on the rule to allow other classes to be treated as boolean? like
  NonBooleanPropertyPrefixedWithIs:
    allowedTypes:
      - Column<Boolean>
      - MyBooleanWrapper

What about an option on the rule to allow other classes to be treated as boolean? like

I'm unsure about the value here as it would add unnecessary complexity (you need to handle fully qualified types, generics, and types like MyColumn<MyBooleanType>) imho

This feature won't be tackled for the reasons mentioned above.
If someone wants to implement this feature, then it should be included in a custom rule, which we gladly include in detekt's market place.


CX Reflected_XSS_All_Clients @ src/main/java/org/t246osslab/easybuggy/performance/CreatingUnnecessaryObjectsServlet.java [master]

Reflected_XSS_All_Clients issue exists @ src/main/java/org/t246osslab/easybuggy/performance/CreatingUnnecessaryObjectsServlet.java in branch master
Method service at line 19 of src\main\java\org\t246osslab\easybuggy\performance\CreatingUnnecessaryObjectsServlet.java gets user input for the ""number"" element. This element’s value then flows through the code without being properly sanitized or validated and is eventually displayed to the user in method responseToClient at line 31 of src\main\java\org\t246osslab\easybuggy\core\servlets\AbstractServlet.java. This may enable a Cross-Site-Scripting attack.
Severity: High
CWE:79
Checkmarx
Lines: 21

Code (Line #21):
        String strNumber = req.getParameter("number");

Issue still exists.
SUMMARY
Issue has total 1 vulnerabilities left to be fix (Please scroll to the top for more information)

Issue still exists.
SUMMARY
Issue has total 1 vulnerabilities left to be fix (Please scroll to the top for more information)


Newly deployed instances are not responding. Looks like a DNS issue.

Deploying this code to a newly created Static Web App instance. Tried deploying via both Azure Portal and CLI. Results are the same: the instance is created, the deployment workflow succeeds, the instance looks healthy in the portal, but the app's root URL does not respond (fails with ERR_CONNECTION_TIMEOUT):

Tried two regions: centralus and westeurope. No difference.
nslookup on the newly created DNS name (nice-wave-04a90fd10.1.azurestaticapps.net) looks weird:
C:\projects\github\cognitive-search-static-web-apps-sample-ui>nslookup nice-wave-04a90fd10.1.azurestaticapps.net
Server:  sahhgw.home
Address:  <IP_ADDRESS>

Non-authoritative answer:
Name:    nettvern-info.telenor.net
Address:  <IP_ADDRESS>
Aliases:  nice-wave-04a90fd10.1.azurestaticapps.net

Compare this with result for my previously created, healthy instance:
C:\projects\github\cognitive-search-static-web-apps-sample-ui>nslookup lively-sand-033e9ec03.azurestaticapps.net
Server:  sahhgw.home
Address:  <IP_ADDRESS>

Non-authoritative answer:
Name:    waws-prod-am2-0ab44d07.cloudapp.net
Address:  <IP_ADDRESS>
Aliases:  lively-sand-033e9ec03.azurestaticapps.net
          azurestaticapps.trafficmanager.net
          msha-am2-0.staticsites-prod-westeurope.p.azurewebsites.net
          waws-prod-am2-0ab44d07.sip.p.azurewebsites.windows.net

Doing nslookup nice-wave-04a90fd10.1.azurestaticapps.net from a GitHub codespace produces different results:
@scale-tone ➜ /workspaces/az-messaging-demo (main ✗) $ nslookup nice-wave-04a90fd10.1.azurestaticapps.net
Server:         <IP_ADDRESS>
Address:        <IP_ADDRESS>#53

Non-authoritative answer:
nice-wave-04a90fd10.1.azurestaticapps.net       canonical name = azurestaticapps1.trafficmanager.net.
azurestaticapps1.trafficmanager.net     canonical name = msha-slice-1-am2-1.msha-slice-1-am2-1-ase.p.azurewebsites.net.
msha-slice-1-am2-1.msha-slice-1-am2-1-ase.p.azurewebsites.net   canonical name = waws-prod-am2-8b19502a.sip.p.azurewebsites.windows.net.
Name:   waws-prod-am2-8b19502a.sip.p.azurewebsites.windows.net
Address: <IP_ADDRESS>

Requesting that '<IP_ADDRESS>' address results in 404:

Deployment workflow is here.
To Reproduce

Deploy the app instance as described here.
Try to navigate to the app's root page.

thank you for reporting @scale-tone, I was able to reproduce and our engineering team is investigating the issue.

Thanks @simonaco , but:

How much global is the outage?
Azure Status/Service Health is very much green, don't see any mentions of this there still. How do we track the progress?
Any estimations?

@scale-tone , my colleagues from India, UK, and Spain can access https://nice-wave-04a90fd10.1.azurestaticapps.net and https://victorious-grass-0b0ef9c1e.1.azurestaticapps.net/ which I created to repro. So it seems like it's only certain regions that are affected so far.
We reported a customer incident and will keep you posted here with progress. If you'd like direct feedback please create an ICM and we can track it there as well.

@scale-tone, Is sahhgw.home a custom DNS resolution server. Given nslookup from GitHub workspace resolves as expected, we suspect it is an issue with sahhgw.home DNS resolution server.
"Requesting that '<IP_ADDRESS>' address results in 404:" would never work with old / new Static Web Apps. It is by design.

Is sahhgw.home a custom DNS resolution server.

@pvbchak , assuming this was a question, not sure what you mean by "custom" DNS server.
"sahhgw.home" is my WiFi router that I'm connected to Internet through.

@scale-tone, ISP or company can setup DNS servers and can control how DNS resolution works. Given "nice-wave-04a90fd10.1.azurestaticapps.net" is not resolving correctly (on your machine), we suspect it is the issue. Can you please try adding mapping from nice-wave-04a90fd10.1.azurestaticapps.net to <IP_ADDRESS> in Windows hosts file (Please see steps in https://www.freecodecamp.org/news/how-to-find-and-edit-a-windows-hosts-file/). Please note this is not a permanent solution and do not recommend doing it for all Static Web Apps

After diving further into this, it turns out that the ISP had blocked the domain due to phishing concerns. We believe this is happening as new SWA's may have the '.1.azurestaticapps.net' subdomain. This new subdomain is a side effect of architectural improvements and for the most part should be transparent to interactions with SWA.
If you are hitting SSL_PROTOCOL_ERROR or hitting DNS issues when reaching the default hostname of your SWA, you may need to contact your ISP to allowlist your domain as they may have incorrectly flagged it.
We will keep this issue open so others may comment if they are hitting similar issues with their ISPs.


richardec: Watch aldaffa.com.qa

richardec requests the watch of the watch_keyword aldaffa\.com\.qa. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

aldaffa\.com\.qa has been seen in 0 true positives, 0 false positives, and 0 NAAs.

Approved by cigien in Charcoal HQ


Release

This issue addresses https://issues.apache.org/jira/browse/JOSHUA-323

Once complete I'll squash all commits and merge into master branch. Release procedure is coming together over on https://cwiki.apache.org/confluence/display/JOSHUA/Joshua+Release+Management+Procedure
I based it off of the procedure I wrote for Gora which is tried and tested.


Update minimessage format docs link

As per KyoriPowered/adventure-docs#45, the documentation for minimessage was split up into two pages and no longer uses a fragment in the link. While old links still continue to work, they don't directly bring the user directly to the format page as before

Thank you.


Code complete: cannot type period to match period char in proposal

E.g. for package import proposals. Instead, typing period inserts the selected proposal.
(Imported from Bitbucket #36 reported by maxg on 2010-08-02)

Resolved with resolution of #37.
(phy on 2010-08-26)


Add resourceConfig.generateId to disable automatic ID generation.

Closes #259.

I'm open to merging this, since there are a number of arguments for it. However, I will need some test coverage to go with the code changes.

Of course! I made this change a long time ago and had completely forgotten that it was missing tests. I'll add them in the next couple of days and update the PR.

Added tests & documentation.

@wolfgang42
I have started maintaining a fork of this https://github.com/coding-blocks/jsonapi-server with primarily the concern of using integer autoincrement ids in my mind. The "id" field is hardcoded all over the place in this implementation, so I did a complete overhaul and changed all mentions to number instead of string/uuid.
You might want to take a look at it.

@championswimmer I considered overriding the data type, but the JSON-API spec says:

The values of the id and type members MUST be strings.

In the interests of maintaining a properly conformant API I therefore cast them to strings when they come out of the database and the rest of the code treats them as such; when I put them back in the server handles the casting automatically. Since they're IDs everything else just treats them as opaque anyway.

@wolfgang42 is correct. I should have time this week to merge this.

@paparomeo @pmcnr-hx @wolfgang42
I have added support for generateId flag in relationaldb too
https://github.com/holidayextras/jsonapi-store-relationaldb/pull/90


Chord diagram metric does not exist

chord diagram will tell me 'sum(column_name) metric does not exist'  even though it does...this looks similar to issue #8977 ...but i installed superset this week (4/19/2020)
Expected results
Chord diagram

Actual results

Screenshots
If applicable, add screenshots to help explain your problem.

Environment
(please complete the following information):

superset version: 0.35.2
python version: 3.7.3
node.js version: v13.13.0
npm version: 6.14.4

Checklist
Make sure these boxes are checked before submitting your issue - thank you!

[ ] I have checked the superset logs for python stacktraces and included it here as text if there are any. (honestly, no clue what this is)
[x ] I have reproduced the issue with at least the latest released version of superset.
[x ] I have checked the issue tracker for the same issue and I haven't found one similar. (i have but it said the bug was fixed, but i cant seem to make this work, sorry! )

This was fixed by #9149


Readme

In readme file, Turkish translation of corpus should be 'derlem' not 'korpus'.

Thank you!


"configuration failed"

Hi,
I've been going in circles for several weeks
I can't get the "NUKI LOCK" integration to work
I have a Nuki smart lock PRO 4 connected by a Bridge
I have done and restarted dozens of times but I still get the same error.
It tells me "SUCCESSED" but it also tells me "configuration failed"

This is my log:
Logger: homeassistant.config_entries
Source: config_entries.py:406
First occurred: 10:35:45 (4 occurrences)
Last logged: 14:11:11
Error setting up entry Maison for nuki_ng
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 406, in async_setup
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/nuki_ng/init.py", line 26, in async_setup_entry
coordinator = NukiCoordinator(hass, entry, data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/nuki_ng/nuki.py", line 373, in init
url = config.get("hass_url", get_url(hass))
^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/network.py", line 200, in get_url
raise NoURLAvailableError
homeassistant.helpers.network.NoURLAvailableError


IAM RDS Connect

This enables developers to leverage the IAM as auth for RDS in AWS. They need to specify the DB name and DB user such as:
"rds-db": {"db_name_here": "username", "another_db_name": "db_user"}

Working on docs.
Also unrelated, fixed a typo in elasticache.

Did small doc fixes as well while cleaning through.

This looks good to me


load and parse order

Godot version
v4.0.beta.custom_build [0bb94df24]
System information
windows 10
Issue description
https://github.com/godotengine/godot/pull/69471 seems to have introduced a few issues in my lazy code and wondering if I need to split this into another autoload.   this has worked fine up until now.
I have a few autoloads and custom classes define by class_name.
one of the autoloads (Game.gd) has an _init function (no change if in _ready instead) that scans a directory for custom resources and then does ResourceLoader.load on what it finds.  the custom resource has a property for a PackedScene that may or may not be blank.  that PackedScene is usually extended off "ItemBase".  after 69471 I get
Parser Error: Could not resolve class "ItemBase"
if I add
var ib:ItemBase
right before the loop I find the real issue which is
Parser Error: Cannot find member "tick" in base "" from this line in ItemBase.gd
nextAction = Game.tick + cooldown
note; the item isn't instanced, it's just loaded so that code isn't run so I wouldn't expect this behavior in a dynamic language
Steps to reproduce
I'm having a little difficulty reducing this from my main project.  working on that now
Minimal reproduction project
NA

CC @rune-scape
Possibly the same as #70127.

could you test it on the latest master? it does look similar to https://github.com/godotengine/godot/issues/70127, and might be fixed by https://github.com/godotengine/godot/pull/70275

the latest commit is giving me errors
[ 96%] Linking Program bin\godot.windows.editor.x86_64.exe ...
[ 98%] e'4.ex6ta
[100%] progress_finish(["progress_finish"], [])
[100%] scons: *** [bin\godot.windows.editor.x86_64.exe] Error 1104
scons: building terminated because of errors.

found it.
this issue is fixed!  Sweet!  Thanks
my other issue is a change with dictionaries and vector2 keys that I have to sort out.


Create a script to create jenkins_home from source code

Currently we have a PD that we use for Jenkins. We create backup of config file each time we make changes or update plugins. It would be nice to generate a new PD from the backup in case something bad happen to the PD.

Just added https://github.com/istio/istio-testing/commit/ef712b365f5534345a36ca5b5c62cf024423cafb.
This means that the script needs to take SHA parameter into account and check out a specific version of the code as well as extract the content of the archive created.

Fixed with #103


GH Action OIDC AWS Creds for GH workflows

Description of changes:
Trying #110 again now that the action has released the changes as minor release to v1! In hindsight we could've tagged a commit on the https://github.com/aws-actions/configure-aws-credentials repository to have the changes right away, but this way we avoid the PR to move them all to be @v1 again later.
I tested these changes on my fork, where I saw the Configure AWS credentials step succeed, but the test overall failed due to permissions needed to push to a public ECR repo. Here is a screenshot of the main-build.yml working, with the other workflows being very similar:

Soak Testing failed at first, but eventually worked when I added the id-token: write permissions to the workflow file:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #130 (c818214) into main (d1b010b) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##               main     #130   +/-   ##
=========================================
  Coverage     73.91%   73.91%
  Complexity       15       15
=========================================
  Files             3        3
  Lines            46       46
  Branches          5        5
=========================================
  Hits             34       34
  Misses            8        8
  Partials          4        4

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 d1b010b...c818214. Read the comment docs.

I believe we need to make a small change to the IAM config (change from sigstore to sts.amazonaws.com). I can probably get to that early next week let's wait a bit if that's OK

@anuraaga Awesome thanks so much! Let me know if I can help, and next week is fine there's no rush 🙂


YUNIKORN-760. Fix Makefile in Yunikorn interface

What is this PR for?
Fix the makefile in interface
What type of PR is it?

[x] - Bug Fix
[ ] - Improvement
[ ] - Feature
[ ] - Documentation
[ ] - Hot Fix
[ ] - Refactoring

Todos

[ ] - Task

What is the Jira issue?

Open an issue on Jira https://issues.apache.org/jira/browse/YUNIKORN-760/
[YUNIKORN-760] Fix Makefile in Yunikorn interface

How should this be tested?
Screenshots (if appropriate)
Questions:

[ ] - The licenses files need update.
[ ] - There is breaking changes for older versions.
[ ] - It needs documentation.

Good findings @updown321 , thanks for working on this.
Based on your investigation, this seems to be broken by https://issues.apache.org/jira/browse/YUNIKORN-488.
@wilfred-s , @manirajv06  could you please take a look at this one, and make sure we are good?
BTW, I think we need to have some safe-guards for scheduler-interface repo as well, to prevent such issues. Let me create a JIRA to add some github action pipeline for this repo.

There is more broken. When I do a make clobber and then a make it all falls apart.
Yes we should have a better way of testing this. A pre-commit run of just a simple make would suffice and the right thing to do.
I have added a fully fixed make procedure which now works on a clean checkout of the repo. See: #42

This was superseded by #42 to fix more issues found.


updated readme.md

Update readme to allow users to properly implement this terraform code

Removed branch protection temporarily


CI: Install deps from spec

This proposes to install deps from setuptools spec, in order to avoid having duplicated places for setting dependencies.

Why was -I necessary?

pip was ignoring to collect ruamel.yaml for installation cause it was installed in some other packages site, but then failed to run tests raising ModuleNotFound. Indeed that is scary; do you think maybe the one we want actually is --force-reinstall?

Why was -I necessary?

pip was ignoring to collect ruamel.yaml for installation cause it was installed in some other packages site, but then failed to run tests raising ModuleNotFound. Indeed that is scary; do you think maybe the one we want actually is --force-reinstall?

Requirement already satisfied: ruamel.yaml in /usr/share/miniconda/lib...

Requirement already satisfied: ruamel.yaml in /usr/share/miniconda/lib...

so weird. But since it's only a testing dependency, it shouldn't cause any runtime issues. So I think it's ok to just say "well I don't know why this is happening but that fixed it". I don't see any risk from doing that.

so weird. But since it's only a testing dependency, it shouldn't cause any runtime issues. So I think it's ok to just say "well I don't know why this is happening but that fixed it". I don't see any risk from doing that.

oooo wait no it's not just a testing one! Sorry, got confused with this PR and saturn-prefect-agent

oooo wait no it's not just a testing one! Sorry, got confused with this PR and saturn-prefect-agent

"well I don't know why this is happening but that fixed it"

Yeah, dont know much cause it's GH Actions env; not entirely controlled by us. We could eventually move to a containers based CI setup for our projects.

oooo wait no it's not just a testing one! Sorry, got confused with this PR and saturn-prefect-agent

It's reinstalling all deps there, overwriting whatever other from system; but it's only CI thing.

"well I don't know why this is happening but that fixed it"

Yeah, dont know much cause it's GH Actions env; not entirely controlled by us. We could eventually move to a containers based CI setup for our projects.

oooo wait no it's not just a testing one! Sorry, got confused with this PR and saturn-prefect-agent

It's reinstalling all deps there, overwriting whatever other from system; but it's only CI thing.

My worry now that we're thinking about this was that if a user did pip install prefect-saturn in a container where ruamel.yaml had already been conda installed, that they'd face the same ModuleNotFound problem you faced.
But I just tested that and it didn't happen:
conda create --name test-ruamel python=3.7
source activate test-ruaml

# not found
pip show ruamel.yaml

# not found
conda env export | grep ruamel

# fails
python -c "from ruamel import yaml"

# conda install
conda install -y ruamel.yaml

pip install .[tests]

# no issues
python -c "import prefect_saturn"
make unit-tests

So I think we can merge this and not worry about it :grinning:

My worry now that we're thinking about this was that if a user did pip install prefect-saturn in a container where ruamel.yaml had already been conda installed, that they'd face the same ModuleNotFound problem you faced.
But I just tested that and it didn't happen:
conda create --name test-ruamel python=3.7
source activate test-ruaml

# not found
pip show ruamel.yaml

# not found
conda env export | grep ruamel

# fails
python -c "from ruamel import yaml"

# conda install
conda install -y ruamel.yaml

pip install .[tests]

# no issues
python -c "import prefect_saturn"
make unit-tests

So I think we can merge this and not worry about it :grinning:

Ok cool, thanks!

Ok cool, thanks!


[Joy] Replace Joy[Component] classname with Mui[Component] classname for all slots of components

[x] I have followed (at least) the PR section of the contributing guide.

Follow-up on https://github.com/mui/material-ui/issues/33260#issuecomment-1243841054
This PR includes:

renaming the classname prefix of all Joy UI components from Joy to Mui
Codemod script that renames classname prefix of Joy components. It uses this regex: (/Joy([A-Z]+)/gm, 'Mui$1')

P.S. This PR does not rename Joy* for theme.components

@hbjORbj Does this change somehow affect if both Mui and Joy libraries are used at the same time?

@marcpachecog Does this change somehow affect if both Mui and Joy libraries are used at the same time?

As described in https://github.com/mui/material-ui/issues/33260#issuecomment-1243841054, we will add product-specific classes on root slots; e.g., Mui-Joy or Mui-Joy-root to root slots of Joy UI components. Hence, you will need to use this classname to target Joy components if both Material and Joy libraries are used together. You can use Material components as they were.

@hbjORbj Does this change somehow affect if both Mui and Joy libraries are used at the same time?

Can you share how you use Joy and Material UI together?

Can you share how you use Joy and Material UI together? @siriwatknp

I thought that can only be done after we add Mui-Joy or Mui-Joy-root to root slots of Joy UI components. Should we do that in this PR as well?

@siriwatknp Can you share how you use Joy and Material UI together?

Yes, I added a case C to https://deploy-preview-35718--material-ui.netlify.app/joy-ui/guides/using-joy-ui-and-material-ui-together/


Control padding for byte-alignment

The sample for a keyboard (see below) uses 7 bits for each regular button. Thus the array items are not byte-aligned. While it is correct and compact, it's very cumbersome to use, e.g. when programming a MCU as a USB HID device. How can the report size be increased to 8 bits to make life easier?
Similarly for the below mouse descriptor. It's similar to the provided sample, however the buttons are moved to the front of the report. Waratah automatically adds 5 bits of padding, but it's added at the end. Thus, the mouse x and y movements are not byte aligned. How can the padding be moved before x and y?
Keyboard descriptor
[[applicationCollection]]
usage = ['Generic Desktop', 'Keyboard']

    [[applicationCollection.inputReport]]

        # Regular Buttons
        [[applicationCollection.inputReport.arrayItem]]
        usageRange = ['Keyboard/Keypad', 'ErrorRollOver', 'Keyboard Application']
        count = 8

        # Special buttons
        [[applicationCollection.inputReport.variableItem]]
        usageRange = ['Keyboard/Keypad', 'Keyboard LeftControl', 'Keyboard Right GUI']
        logicalValueRange = [0, 1]

    # LEDS
    [[applicationCollection.outputReport]]

        [[applicationCollection.outputReport.variableItem]]
        usageRange = ['LED', 'Num Lock', 'Kana']
        logicalValueRange = [0, 1]

Mouse descriptor
[[applicationCollection]]
usage = ['Generic Desktop', 'Mouse']

    [[applicationCollection.inputReport]]

        [[applicationCollection.inputReport.physicalCollection]]
        usage = ['Generic Desktop', 'Pointer']

            [[applicationCollection.inputReport.physicalCollection.variableItem]]
            usageRange = ['Button', 'Button 1', 'Button 3']
            logicalValueRange = [0, 1]

            [[applicationCollection.inputReport.physicalCollection.variableItem]]
            usage = ['Generic Desktop', 'X']
            sizeInBits = 8
            logicalValueRange = 'maxSignedSizeRange'
            reportFlags = ['relative']

            [[applicationCollection.inputReport.physicalCollection.variableItem]]
            usage = ['Generic Desktop', 'Y']
            sizeInBits = 8
            logicalValueRange = 'maxSignedSizeRange'
            reportFlags = ['relative']

There's gross packing support using the packingInBytes setting (e.g. below).  This ensures every control will be a multiple of X bytes (1, 2, 4).  This also has the added benefit of auto C++ struct generation (There's currently no support for non-packed descriptors, but it'd be nice to add).
This however will affect every control, so while 'easy', it doesn't give you the fine-grained control you might be after. (i.e. packing for a single control).
[[settings]]
packingInBytes = 1

[[applicationCollection]]
usage = ['Generic Desktop', 'Mouse']
...

Padding (between controls) can be done by [[paddingItem]] section.
Do those facilities cover enough of your scenario?

Thanks for the hint to [[paddingItem]]. It helps for moving the padding in the mouse descriptor forward so the remaining fields are aligned. The mouse descriptor is then straight-forward to use in software.
However, it doesn't help for the keyboard descriptor.  And packingInBytes doesn't either. It pads the key array. But it unnecessarily grows the special buttons array by a factor of 8. So the intended descriptor cannot be achieved.
A really useful option would be to have a padding option that automatically inserts padding bits such that multi-bit items start on a byte boundary. In the case of the keyboard, it would add a single padding bit after each 7-bit array item, but no padding for the special key bit array.
BTW: Have you ever tried the sample keyboard descriptor with a real device. Since the special keys are after the regular keys, they do not apply to the regular keys in input report. Instead, they will apply to the regular keys in the next input report (if any). If keys are pressed slowly, that's not a problem. But if they are pressed quickly or for programmatic key generation, it's problematic. So you would be better to swap them.

Ok, I think I see what you're getting at.  Yes, this is certainly something that could be added to Waratah (we have all the data, and already do something similar with packingInBytes/paddingItem)
I think this a little tricky to do generically (hence the 'hammer' of packingInBytes), particularly w.r.t overspanning and C++ struct generation.  We'd also need to make it obvious to users that they can get better packing efficiency by grouping single-bit values together, otherwise they might get non-obvious generation, "Why did the tool do that??".  I'd expect though, users of a tool like this would be keenly aware of situations like this, and would look to the generated output many times to optimize their descriptor (and if they don't care, the descriptor will still be valid).  I don't think we want to get into 're-arranging' controls (to enable more efficient packing), because the output could be confusing (particularly in large descriptors).
I'll have to think more about how to do this; so let's keep this issue open for tracking.  (Feel free to suggestion a PR with any improvements!)
Re. keyboard descriptor, no I haven't tried any of the descriptors on real devices (much to my pain), so I really appreciate you finding such an impactful issue (most descriptors I wrote were based of existing devices I had lying-around, or just wrote from scratch).  As part of a next effort, I want to create reference software implementations for a variety of devices (using Waratah to generate descriptors), so I had hoped to find any issues with the descriptors at that time (but you beat me to it!).  A co-worker tried out the descriptor in the past week and confirmed the same issue and solution.  Will fix.

Any news on this front? Would be very helpful, as I am in the same situation. To try and keep backward compatibility with my other existing software, I'll have to patch the generated report by other means.

No update here :(.
The generated report will now create byte[] for each report if packingInBytes isn't used, which should be helpful.


feat: update tests and fix api path bug

68% coverage -> 95%

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

Comparison is base (7f04d24) 67.63% compared to head (4e17012) 94.57%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@             Coverage Diff              @@
##           develop     #105       +/-   ##
============================================
+ Coverage    67.63%   94.57%   +26.94%
============================================
  Files           33       23       -10
  Lines         2472     1365     -1107
============================================
- Hits          1672     1291      -381
+ Misses         800       74      -726

Impacted Files
Coverage Δ

nitric/api/storage.py
95.45% <100.00%> (+6.39%)
:arrow_up:

nitric/application.py
100.00% <100.00%> (+49.05%)
:arrow_up:

nitric/faas.py
85.15% <100.00%> (+4.08%)
:arrow_up:

nitric/resources/apis.py
100.00% <100.00%> (+58.04%)
:arrow_up:

nitric/resources/buckets.py
94.28% <100.00%> (ø)

nitric/resources/schedules.py
96.77% <100.00%> (+63.44%)
:arrow_up:

... and 12 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Sphinx-gallery and documentation update

This pull-request tries to solve for the following issues:

Sphinx-gallery for documentation examples: #501
Update plot in docs/index.rst: #610
Improve all users guide by adding plt.show() or plotly.io.show(fig) depending on the static/interactive plot. Furthermore, a little description on the topic is added to the plotting api docs: #792

Since this is a big refactor feature, I am planning to achieve the following steps.

[x] All examples except the plot_using_neos_package.py work properly. This examples is expected
to fail as stated in the conf.py file.
[x] Any piece of code which shows a figure includes a plt.show() or plotly.io.show(fig), so no more
confusion on the plotting topic.
[x] I designed some drawings representing each solar system body and its main parameters. I think
looks cool but not sure if you like to include them in docs.
[x] Other minimal updates on docs were done

Wow @jorgepiloto , thanks for this massive pull request! This will be a huge improvement in many fronts :clap:
Apparently the only failing tests are related to DASTCOM5:
==================================== ERRORS ====================================
____ ERROR collecting docs/source/auto_examples/plot_using_neos_package.py _____
docs/source/auto_examples/plot_using_neos_package.py:135: in <module>
    atira = dastcom5.orbit_from_name("atira")[0]  # NEO
.tox/images/lib/python3.6/site-packages/poliastro/neos/dastcom5.py:338: in orbit_from_name
    records = record_from_name(name)
.tox/images/lib/python3.6/site-packages/poliastro/neos/dastcom5.py:393: in record_from_name
    lines = string_record_from_name(name)
.tox/images/lib/python3.6/site-packages/poliastro/neos/dastcom5.py:418: in string_record_from_name
    with open(idx_path, "r") as inF:
E   FileNotFoundError: [Errno 2] No such file or directory: '/root/.poliastro/dastcom5/dat/dastcom.idx'
------------------------------- Captured stdout --------------------------------
There exist several objects with that name
Eros epoch:  2020-05-31 00:01:09.185
Eros November epoch:  2017-09-03 12:00:00.000
_______ ERROR collecting docs/source/examples/plot_using_neos_package.py _______
docs/source/examples/plot_using_neos_package.py:135: in <module>
    atira = dastcom5.orbit_from_name("atira")[0]  # NEO
.tox/images/lib/python3.6/site-packages/poliastro/neos/dastcom5.py:338: in orbit_from_name
    records = record_from_name(name)
.tox/images/lib/python3.6/site-packages/poliastro/neos/dastcom5.py:393: in record_from_name
    lines = string_record_from_name(name)
.tox/images/lib/python3.6/site-packages/poliastro/neos/dastcom5.py:418: in string_record_from_name
    with open(idx_path, "r") as inF:
E   FileNotFoundError: [Errno 2] No such file or directory: '/root/.poliastro/dastcom5/dat/dastcom.idx'

Do you have an idea why this might be the case?

After giving this a quick look, I have a lot of questions coming from my ignorance of how sphinx-gallery works. They boil down to two:

What are the .zip, autogenerated .html, and .pickle files?
I see that every example was turned into a .ipynb + .py + .rst (+ perhaps something else). Do we need to keep all these files in version control?

@jorgepiloto you clearly have spent a lot of time with sphinx-gallery, so a few interesting links to understand the former would help me doing the review.
Regarding the latter, I guess there is some tool to keep all these versions in sync. If there is, then I think we should not have all of them in git. There are some pretty big files in this PR, even though the net contribution is a decrease. If there is not such an automated way, then having to sync all these versions is probably going to be a nightmare.
Finally, I wonder if we could make a separate PR for the changes that have nothing to do with sphinx-gallery.
Thanks again for putting so much work into this :heart:

How sphinx-gallery works
This tool generates a set of *rst files from original Python ones with a specific layout. There exist online tools such us this one to convert from Jupyter Notebook to Python-Sphinx-Gallery format. In addition, *.py and *.ipynb are also generated so user can download each notebook in both formats.
Regarding other "strange" output files and refering to official docs:

.md5: a md5 hash of the .py file, used to determine if changes have been made to the file and thus if new output files need to be generated.
.pickle: used to identify function names and to which module they belong (more details in Identifying function names in a script)

Notice that only the python files under the examples/ directory are required in order to build up sphinx general documentation, so we can get rid of all the other inside our repository: they will be automatically generated once user runs make html
I do not remember if Read the docs automatically builds from config.py, but in principle there should not be any problem if we get rid of those non-python files and just keep the Python ones under the examples' folder.

I will just focus on solving issue #501 and let the others for future pull-requests. Furthermore, let me better organize commit history :rocket:

Thanks for the explanations @jorgepiloto! Happy to split this PR into smaller ones.

Closing this is favor of #973


🐞 fix image typo in blog post

Category

[x] Content fix

Related issues
Contents of the Pull Request
fixed my spelling mistake in the featured image

oopsie daisy :-)


Giving effect when player right-clicks on an certain item

Hello!
I want to give player certain effect for a certain time when he right-clicks on an certain item (for example, diamond sword). How can this be done?
The effect should remain even if it does not hold the item.

I don't think this can be done at the moment.

@RomaGreat55 I just reread this issue and noticed that you are talking about 'diamond sword' (a vanilla minecraft item) rather than a custom item. Adding effects to vanilla items is out of scope for this plug-in, but adding effects to custom items is expected to be possible in the next major version.

This issue will be solved implicitly (at least for custom items) when I finish #41 .


[Problem]: Unable to access any ports other than admin

Description
When attempting to access, as an example, simple-api, connection is refused.  Binding appears to be <IP_ADDRESS> so assume all ports should be listening.  Same for any other instances too - all are getting "err_connection_refused"
Image version
v8.0.1
Docker logs
2023-05-18T01:15:30.514242218Z,stdout,================================== > LOG REDIRECT system.adapter.jarvis.0 => true [system.adapter.jarvis.0.logging]

2023-05-18T01:15:19.333291715Z,stdout,"Send diag info: {\"uuid\":\"6bdea8db-599c-4289-964c-6e39aff08556\",\"language\":\"en\",\"country\":\"Australia\",\"hosts\":[{\"version\":\"4.0.24\",\"platform\":\"Javascript/Node.js\",\"type\":\"linux\"}],\"node\":\"v18.16.0\",\"arch\":\"x64\",\"docker\":true,\"adapters\":{\"admin\":{\"version\":\"6.3.5\",\"platform\":\"Javascript/Node.js\"},\"discovery\":{\"version\":\"3.1.0\",\"platform\":\"Javascript/Node.js\"},\"backitup\":{\"version\":\"2.6.19\",\"platform\":\"Javascript/Node.js\"},\"web\":{\"version\":\"4.3.0\",\"platform\":\"Javascript/Node.js\"},\"history\":{\"version\":\"2.2.4\",\"platform\":\"Javascript/Node.js\"},\"jarvis\":{\"version\":\"3.1.2\",\"platform\":\"Javascript/Node.js\"},\"javascript\":{\"version\":\"6.1.4\",\"platform\":\"Javascript/Node.js\"},\"vis\":{\"version\":\"1.4.16\",\"platform\":\"Javascript/Node.js\"},\"simple-api\":{\"version\":\"2.7.2\",\"platform\":\"Javascript/Node.js\"},\"eusec\":{\"version\":\"1.0.0\",\"platform\":\"Javascript/Node.js\"},\"echarts\":{\"version\":\"1.0.12\",\"platform\":\"Javascript/Node.js\"}},\"statesType\":\"jsonl\",\"objectsType\":\"jsonl\",\"noInstances\":11,\"compactMode\":false,\"noCompactInstances\":0,\"model\":\"Intel(R) Celeron(R) J4025 CPU @ 2.00GHz\",\"cpus\":2,\"mem\":1838612480,\"ostype\":\"Linux\",\"city\":\"The Vines, Western Australia\",\"vis\":0}
"
2023-05-18T01:15:19.252032048Z,stdout,================================== > LOG REDIRECT system.adapter.admin.0 => true [system.adapter.admin.0.logging]

2023-05-18T01:15:04.352860303Z,stdout,host.404470d933b5 check instance "system.adapter.echarts.0" for host "404470d933b5"

2023-05-18T01:15:04.352363887Z,stdout,host.404470d933b5 check instance "system.adapter.eusec.0" for host "404470d933b5"

2023-05-18T01:15:04.351743885Z,stdout,host.404470d933b5 check instance "system.adapter.simple-api.0" for host "404470d933b5"

2023-05-18T01:15:04.351231681Z,stdout,host.404470d933b5 check instance "system.adapter.vis.0" for host "404470d933b5"

2023-05-18T01:15:04.350573429Z,stdout,host.404470d933b5 check instance "system.adapter.jarvis.0" for host "404470d933b5"

2023-05-18T01:15:04.350035356Z,stdout,host.404470d933b5 check instance "system.adapter.web.0" for host "404470d933b5"

2023-05-18T01:15:04.348942909Z,stdout,host.404470d933b5 check instance "system.adapter.backitup.0" for host "404470d933b5"

2023-05-18T01:15:04.348264328Z,stdout,host.404470d933b5 check instance "system.adapter.discovery.0" for host "404470d933b5"

2023-05-18T01:15:04.347503967Z,stdout,host.404470d933b5 check instance "system.adapter.javascript.0" for host "404470d933b5"

2023-05-18T01:15:04.346767800Z,stdout,host.404470d933b5 check instance "system.adapter.history.0" for host "404470d933b5"

2023-05-18T01:15:04.345488180Z,stdout,host.404470d933b5 check instance "system.adapter.admin.0" for host "404470d933b5"

2023-05-18T01:15:02.711927186Z,stdout,##### #### ### ## # iobroker.js-controller log output # ## ### #### #####

2023-05-18T01:15:02.711897033Z,stdout,

2023-05-18T01:15:02.711827382Z,stdout,Starting ioBroker...

2023-05-18T01:15:02.711795974Z,stdout,

2023-05-18T01:15:02.711756617Z,stdout,--------------------------------------------------------------------------------

2023-05-18T01:15:02.711294442Z,stdout,-----                    Step 5 of 5: ioBroker startup                     -----

2023-05-18T01:15:02.711254010Z,stdout,--------------------------------------------------------------------------------

2023-05-18T01:15:02.710652710Z,stdout,

2023-05-18T01:15:02.688212618Z,stdout,

2023-05-18T01:15:02.688172150Z,stdout,For more information see ioBroker Docker Image Docs (https://docs.buanet.de/iobroker-docker-image/docs/).

2023-05-18T01:15:02.688117976Z,stdout,Some adapters have special requirements/ settings which can be activated by the use of environment variables.

2023-05-18T01:15:02.688048793Z,stdout,

2023-05-18T01:15:02.688014982Z,stdout,--------------------------------------------------------------------------------

2023-05-18T01:15:02.687613025Z,stdout,-----                Step 4 of 5: Applying special settings                -----

2023-05-18T01:15:02.687536551Z,stdout,--------------------------------------------------------------------------------

2023-05-18T01:15:02.687069813Z,stdout,

2023-05-18T01:15:02.687030450Z,stdout,No action required.

2023-05-18T01:15:02.686678635Z,stdout,Hostname in ioBroker matches the hostname of this container.

2023-05-18T01:14:37.959745462Z,stdout,

2023-05-18T01:14:37.959420199Z,stdout,Checking Database connection... Done.

2023-05-18T01:14:25.556242020Z,stdout,

2023-05-18T01:14:25.556096758Z,stdout,Fixing "sudo-bug" by replacing sudo with gosu... Done.

2023-05-18T01:14:25.475280025Z,stdout,

2023-05-18T01:14:25.475131628Z,stdout,(Re)setting permissions (This might take a while! Please be patient!)... Done.

2023-05-18T01:14:25.009406019Z,stdout,

2023-05-18T01:14:25.009370261Z,stdout,--------------------------------------------------------------------------------

2023-05-18T01:14:25.008907250Z,stdout,-----             Step 3 of 5: Checking ioBroker installation              -----

2023-05-18T01:14:25.008866999Z,stdout,--------------------------------------------------------------------------------

2023-05-18T01:14:25.008699275Z,stdout,

2023-05-18T01:14:25.008392233Z,stdout,Existing installation of ioBroker detected in "/opt/iobroker".

2023-05-18T01:14:12.656495974Z,stdout,

2023-05-18T01:14:12.656402547Z,stdout,--------------------------------------------------------------------------------

2023-05-18T01:14:12.656011776Z,stdout,-----             Step 2 of 5: Detecting ioBroker installation             -----

2023-05-18T01:14:12.655891607Z,stdout,--------------------------------------------------------------------------------

2023-05-18T01:14:12.639734662Z,stdout,

2023-05-18T01:14:12.639688975Z,stdout,This is not the first run of this container. Skipping first run preparation.

2023-05-18T01:14:12.639580355Z,stdout,

2023-05-18T01:14:12.639546683Z,stdout,--------------------------------------------------------------------------------

2023-05-18T01:14:12.639067546Z,stdout,-----                   Step 1 of 5: Preparing container                   -----

2023-05-18T01:14:12.639020632Z,stdout,--------------------------------------------------------------------------------

2023-05-18T01:14:12.638486623Z,stdout,

2023-05-18T01:14:12.638450237Z,stdout,--------------------------------------------------------------------------------

2023-05-18T01:14:12.637808934Z,stdout,-----                    SETUID:              1000                         -----

2023-05-18T01:14:12.637314715Z,stdout,-----                    SETGID:              1000                         -----

2023-05-18T01:14:12.636784626Z,stdout,-----                        Environment Variables                         -----

2023-05-18T01:14:12.636732888Z,stdout,-----                                                                      -----

2023-05-18T01:14:12.636329401Z,stdout,-----                    npm:                 9.5.1                        -----

2023-05-18T01:14:11.234082307Z,stdout,-----                    node:                v18.16.0                     -----

2023-05-18T01:14:11.225411778Z,stdout,-----                    build:               2023-04-26T23:45:40+00:00    -----

2023-05-18T01:14:11.225361946Z,stdout,-----                    image:               v8.0.1                       -----

2023-05-18T01:14:11.224735418Z,stdout,-----                          Version Information                         -----

2023-05-18T01:14:11.224703855Z,stdout,-----                                                                      -----

2023-05-18T01:14:11.224513949Z,stdout,-----                    hostname:            404470d933b5                 -----

2023-05-18T01:14:11.186128441Z,stdout,-----                    arch:                x86_64                       -----

2023-05-18T01:14:11.186100474Z,stdout,-----                          System Information                          -----

2023-05-18T01:14:11.186078034Z,stdout,--------------------------------------------------------------------------------

2023-05-18T01:14:11.186056240Z,stdout,

2023-05-18T01:14:11.186033678Z,stdout,--------------------------------------------------------------------------------

2023-05-18T01:14:11.186007278Z,stdout,-----                          Please be patient!                          -----

2023-05-18T01:14:11.185979439Z,stdout,-----                    Startupscript is now running!                     -----

2023-05-18T01:14:11.185947337Z,stdout,-----              Welcome to your ioBroker Docker container!              -----

2023-05-18T01:14:11.185923619Z,stdout,-----                                                                      -----

2023-05-18T01:14:11.185847462Z,stdout,----- ╚═╝  ╚═════╝  ╚═════╝  ╚═╝  ╚═╝  ╚═════╝  ╚═╝  ╚═╝ ╚══════╝ ╚═╝  ╚═╝ -----

2023-05-18T01:14:11.185787775Z,stdout,----- ██║ ╚██████╔╝ ██████╔╝ ██║  ██║ ╚██████╔╝ ██║  ██╗ ███████╗ ██║  ██║ -----

2023-05-18T01:14:11.185758668Z,stdout,----- ██║ ██║   ██║ ██╔══██╗ ██╔══██╗ ██║   ██║ ██╔═██╗  ██╔══╝   ██╔══██╗ -----

2023-05-18T01:14:11.185730007Z,stdout,----- ██║ ██║   ██║ ██████╔╝ ██████╔╝ ██║   ██║ █████╔╝  █████╗   ██████╔╝ -----

2023-05-18T01:14:11.185697343Z,stdout,----- ██║ ██╔═══██╗ ██╔══██╗ ██╔══██╗ ██╔═══██╗ ██║ ██╔╝ ██╔════╝ ██╔══██╗ -----

2023-05-18T01:14:11.185663821Z,stdout,----- ██╗  ██████╗  ██████╗  ██████╗   ██████╗  ██╗  ██╗ ███████╗ ██████╗  -----

2023-05-18T01:14:11.185639828Z,stdout,-----                                                                      -----

2023-05-18T01:14:11.185614245Z,stdout,--------------------------------------------------------------------------------

2023-05-18T01:14:11.185560252Z,stdout,-------------------------     2023-05-18 09:14:11      -------------------------

2023-05-18T01:14:11.185479259Z,stdout,--------------------------------------------------------------------------------

REsolved - not an issue

Please use discussions for troubleshooting Docker container configuration issues before opening an issue. If you're uncertain whether it's an issue with the Docker image, you can seek assistance from the ioBroker community directly through forums, Discord, Facebook, or Telegram.
Additionally, it's recommended to share your solution or the problem you encountered instead of simply marking it as "Resolved - not an issue." This way, your issue will be searchable on Google, helping others who might face a similar problem in the future.
Remember, ioBroker is a community-driven software, so being social and engaging with others is always a good choice.
Thanks in advance,
André

Apologies - first time using GitHub and had no idea what I was doing 😃 Will try and work out how to join a discussion thread and will share what my issue was - I'm sure others with similar experience in Docker (none) would git similar issues as the step I needed isn't covered in any of the guides or help threads I found. Thanks for your work on the iobroker for Eufy - when the native Hubitat driver I had been using for many years stopped working, I lost all of my automation until now. Was worth the long night to get working, thanks again!

Sure did - it's what helped me work out the issue. None of the guides I could find on installing iobroker actually had it as a step though - for those trying to follow first time, might be an issue.  Even the official doco mentions "as long as you don't forget to map ports" but no further info other than the link to the Docker page on Bridge and user defined networks. Even including the basic port mapping example in the official guide might help?Sent from my Galaxy
-------- Original message --------From: André Germann @.> Date: 19/5/23  2:10 am  (GMT+08:00) To: "buanet/ioBroker.docker" @.> Cc: Leethal1977 @.>, Author @.> Subject: Re: [buanet/ioBroker.docker] [Problem]: Unable to access any ports other than admin (Issue #343)
isn't covered in any of the guides or help threads I found
Did your read the official docs: https://docs.buanet.de/iobroker-docker-image/docs/#networks ?
Bridge network and port mapping is a Docker basics. Make sure you understand how Docker and networks in Docker work: https://docs.docker.com/network/
Otherwise you might face more problems when it comes to homekit or other iobroker adapters which try to autodetect your smarthome devices...
Regards,
André
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>


[rom_e2e,dv] build sigverify_always test for DV

This PR contains two commits that add the necessary build targets to bring up the sigverify_always ROM E2E test in DV (as required by #14634). Specifically, this builds the SW artifacts for the DV "device" and also builds VMEM files for corrupted images (previously only BIN files were generated for the FPGA). While we could load uncorrupted VMEM images (that already exist for the empty_test_slot_{a,b} flash binaries) in DV and backdoor overwrite a portion to "corrupt" the image in the SV testbench, doing so would make it difficult to keep the exact corruption point in sync with the same used on FPGA, so this method was chosen instead.
Note: this depends on #16185, only review last two commits.

Thanks @timothytrippel !


multiviewer-for-f1: 1.31.3 -> 1.32.1

Description of changes
https://multiviewer.app/changelog#version-1.32.1
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[X] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[X] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[X] Fits CONTRIBUTING.md.

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

Hm, I have no idea why I closed this PR and I can't reopen it... I'll recreate it, I guess. Sorry about this.


DependencyManagement ignored in pom.xml

What happened:
Ran a directory scan containing an effective-pom on a spring boot project. Only 4 results (from the top-level <dependencies>) were returned.
What you expected to happen:
All dependencies at the root level and transitive dependencies nested in <dependencyManagement> to be present in syft output
Steps to reproduce the issue:
git clone https://github.com/sample-accelerators/tanzu-java-web-app
cd tanzu-java-web-app
./mvnw help:effective-pom -Doutput results/pom.xml
syft dir:results

Anything else we need to know?:
Environment:

Output of syft version: 0.75.0
OS (e.g: cat /etc/os-release or similar): ubuntu 20.04.6

For reference:
https://github.com/anchore/syft/blob/main/syft/pkg/cataloger/java/parse_pom_xml.go#L31
https://github.com/vifraa/gopom/blob/main/gopom.go#L221

Hi @xtreme-conor-nosal, thanks for filing the issue, we will go ahead and put this in the backlog for a fix when we are able.

Developer notes: there are 2 main issues here:

Syft does not download additional pom.xml information (e.g. parent POMs, transitive dependency POMs)
Syft does not honor the dependencyManagement section

Within the same POM, Syft should still honor dependencyManagement, which essentially are dependency groupId, artifactId, and version, where if a dependency appears in the dependency section without a version, it should be inferred from the dependencyManagement section.

This PR should be fixed by #2769


Add a Preview Bake button for quick iteration with BakedLightmap

When using the Preview Bake button instead of Bake Lightmaps, low quality settings will be used instead of settings from the BakedLightmap node. A node configuration warning will be displayed besides the BakedLightmap node to inform the user that the bake was done in preview mode. This preview bake warning is persisted to storage to make teamwork easier.

This helps iterate quicker on a scene's lighting since you don't need to wait as much time to see results.
On a simple test project, Preview Bake (0:00:38) was about 3 times faster than a "final" bake (0:01:48) with the default BakedLightmap settings.
By default, Preview Bake uses:

Low quality for baking.
1 bounce, unless the BakedLightmap node is set to 0 bounces (in which case it uses 0 bounces as well).
Low quality for dynamic object capture.

You can disable dynamic object capture entirely in the Project Settings if you don't need it for previewing purposes.

The preview bake settings above can be adjusted in the Project Settings. These are project settings so that different team members always use the same preview settings for consistency.
Comparison between Preview Bake and "final" bake
This addresses https://github.com/godotengine/godot-proposals/issues/2029 for the 3.2 branch. I couldn't make this change on master so far as the lightmapper was always crashing for me there. Once I can get the lightmapper to work in master (and we agree on the design of this PR), I'll open a similar PR for master.
@JFonS Do you think I should increase the BakedLightmapData energy slightly (+15% or so) to compensate for the lower amount of bounces? Right now, the preview bake is quite dark compared to the final bake. I could look into doing this, but it might not be trivial since the energy property is in BakedLightmapData, not BakedLightmap.
Also, do you have any pointers to make preview bakes even faster? Disabling the denoiser makes the result too grainy to be usable :slightly_frowning_face:

If I understand it correctly, I can use preview bake if I want to in production (because real bakes will likely take too long on my hardware), this is just a suggestion/reminder?

If I understand it correctly, I can use preview bake if I want to in production (because real bakes will likely take too long on my hardware), this is just a suggestion/reminder?

If I understand it correctly, I can use preview bake if I want to in production (because real bakes will likely take too long on my hardware), this is just a suggestion/reminder?

Yes, the bake is still saved and can be used in an exported project. That said, I'd recommend you change the BakedLightmap node properties instead of relying on Preview Bake.

If I understand it correctly, I can use preview bake if I want to in production (because real bakes will likely take too long on my hardware), this is just a suggestion/reminder?

Yes, the bake is still saved and can be used in an exported project. That said, I'd recommend you change the BakedLightmap node properties instead of relying on Preview Bake.

I rebased and moved the preview_bake property to BakedLightmapData as requested by @JFonS. I tested it again, it works as expected :slightly_smiling_face:

Maybe we could even add a .preview. infix to the saved file name, so baking in preview mode doesn't overwrite a "final" bake you may already have.

I'm not sure how to handle that part without accidentally exporting those preview bakes in the final PCK (if they weren't removed by the user). I think preview bake data could even be stored in .godot/, but I'd leave that for a future PR.


at-spi2-core: 2.40.1 -> 2.40.2

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for at-spi2-core is: "Assistive Technology Service Provider Interface protocol definitions and daemon for D-Bus"
meta.homepage for at-spi2-core is: "https://gitlab.gnome.org/GNOME/at-spi2-core"
meta.changelog for at-spi2-core is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 2.40.2 with grep in /nix/store/vrnbanbn5k32lgkjm2hdcf5r31dpyr8n-at-spi2-core-2.40.2

found 2.40.2 in filename of file in /nix/store/vrnbanbn5k32lgkjm2hdcf5r31dpyr8n-at-spi2-core-2.40.2

directory tree listing: https://gist.github.com/71b762d2748df13da4c50e73df1fbf52

du listing: https://gist.github.com/916d3056272803cfdc3700326f9a32b8

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

16532 total rebuild path(s)

5639 package rebuild(s)

5623 x86_64-linux rebuild(s)
4707 i686-linux rebuild(s)
1312 x86_64-darwin rebuild(s)
4890 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
AusweisApp2
DisnixWebService
MIDIVisualizer
OSCAR
R
Sylk
_1password-gui
abcl
abiword
adapta-gtk-theme
adementary-theme
adoptopenjdk-bin
adoptopenjdk-hotspot-bin-11
adoptopenjdk-hotspot-bin-13
adoptopenjdk-hotspot-bin-14
adoptopenjdk-hotspot-bin-15
adoptopenjdk-hotspot-bin-16
adoptopenjdk-hotspot-bin-8
adoptopenjdk-icedtea-web
adoptopenjdk-jre-bin
adoptopenjdk-jre-hotspot-bin-11
adoptopenjdk-jre-hotspot-bin-13
adoptopenjdk-jre-hotspot-bin-14
adoptopenjdk-jre-hotspot-bin-15
adoptopenjdk-jre-hotspot-bin-16
adoptopenjdk-jre-hotspot-bin-8
adoptopenjdk-jre-openj9-bin-11
adoptopenjdk-jre-openj9-bin-13
adoptopenjdk-jre-openj9-bin-14
adoptopenjdk-jre-openj9-bin-15
adoptopenjdk-jre-openj9-bin-16
adoptopenjdk-jre-openj9-bin-8
adoptopenjdk-openj9-bin-11
adoptopenjdk-openj9-bin-13
adoptopenjdk-openj9-bin-14
adoptopenjdk-openj9-bin-15
adoptopenjdk-openj9-bin-16
adoptopenjdk-openj9-bin-8
adriconf
adwaita-qt
aerc
aesop
afew
agda
agdaPackages.agda
agdaPackages.agda-categories
agdaPackages.agda-prelude
agdaPackages.cubical
agdaPackages.functional-linear-algebra
agdaPackages.generic

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/vrnbanbn5k32lgkjm2hdcf5r31dpyr8n-at-spi2-core-2.40.2 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

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

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/vrnbanbn5k32lgkjm2hdcf5r31dpyr8n-at-spi2-core-2.40.2
ls -la /nix/store/vrnbanbn5k32lgkjm2hdcf5r31dpyr8n-at-spi2-core-2.40.2/bin

Pre-merge build results
NixPkgs review skipped

Maintainer pings
cc @hedning @jtojnar @dasj19 @maxeaubrey for testing.

Duplicate of #125897 and #129061

#125897  was merged

That will not prevent r-ryantm from opening a new PR. See https://github.com/ryantm/nixpkgs-update/issues/269.
It needs be in nixos-unstable so that repology can see the update.

That will not prevent r-ryantm from opening a new PR. See ryantm/nixpkgs-update#269.
It needs be in nixos-unstable so that repology can see the update.

Ah, my bad

No problem. It’s not like it has been mentioned anywhere.
Also note that the “picking up garbage” project is about removing unmaintained and rotting packages so this does not really fit there.


[FEA] Aggregate (Min/Max/Count) push down for Parquet

https://issues.apache.org/jira/browse/SPARK-36645 added min/max push downs to parquet in 3.3.0.  This feature is off by default, but it allows a metadata only query to run on the CPU.  It would be great if we could implement this feature, but at a minimum if we see it being used we should fall back to the CPU because there is little performance improvement that we will be able to do, as it is a meta data only query.

I'd like to try

Should we add a Spark 330+ shim layer for this feature, or enable this feature on all Spark versions?

This feature is also added in Spark 3.2.0


fixed bug on rhel/centos by not expecting property lsb_release

Thanks!

You're very welcome we would really like to utilize this, thank you for your work.
I have not done anything about versioning, perhaps we could generate a new release of this today? :)

Done. :)
https://github.com/Batix/rundeck-ansible-plugin/releases/tag/2.2.2


Improve gui editor performance and make whole gui editor traversable

Changes in this pull request:

Lazy loading of the tree nodes in the GUI editor: The sub elements are only loaded when you expand an object or array property
Do not recalculate the whole tree all the time: Only if the data structure changes, the schema changes or the current path changes, the tree is recalculated. Before, it happened way more often
Caching of preprocessed schemas: If a referenced schema is already preprocessed, this will be caches. This drastically improves the performance of the schema editor
Make the meta schema use refs instead of dynamicRefs, so it is correctly displayed in gui editor
The current path and paths in general have now the root element, e.g. "Person", as first element. This was initially required because I tried to cache tree nodes (which in the end didn't really help and only made everything way more complex). Even though not technically required, I decided to keep it so we can know which schema a certain path belongs too. This way, it is also consistent to the path shown in the breadcrumb.

Discussion: Paths starting with root element or not?
Todo: Adapt current selected path

Ready for review


ButtonGroup and Divider

Source: https://github.com/palantir/blueprint/blob/develop/packages/docs-app/src/examples/core-examples/buttonGroupExample.tsx
Doc: https://blueprintjs.com/docs/#core/components/button-group
Source: https://github.com/palantir/blueprint/blob/841b2e12/packages/core/src/components/divider/divider.tsx
Doc: https://blueprintjs.com/docs/#core/components/divider
This should be an easy task as they're just purely visual components.
At the moment there is no handling for the class prefix (bp3-), we can just hardcode it until we find a better option. There is also no handling for letting the user decide if the element should be a div or something else (property tagName) so you can just hardcode to the default.
Please let me know you start working on it to avoid having multiple people working on the same component.
Yew tutorial: https://dev.to/davidedelpapa/yew-tutorial-01-introduction-13ce
Yew reference manual: https://yew.rs/docs/en/intro/
Similar to: https://github.com/cecton/yewprint/blob/main/src/buttons.rs
Available CSS classes: https://github.com/palantir/blueprint/blob/develop/packages/core/src/common/classes.ts

Hello @cecton !
I would like to participate on this issue!


add ChatController tests for sending, followups, editing, and errors

No behavior change, just the addition of tests.
Test plan
n/a

PromptString changes are OK and are all in tests.


Release notes

New developer guide page on release notes.
Version updated to 1.9.1 ready for release

this should replace #1881

@marqh Suggested minor tweaks, but otherwise :+1:

:+1: Once Travis is happy, I'll merge.
Awesome @marqh, thanks!