Add portmap command-line option

Depends on PR #3
With the portmap command-line option the forwarding ports can be defined as well as the expected packet direction (inbound or outbound).
This feature makes the declaration of rx and tx port masks obsolete. Therefore, these were removed and a more intuitive default mapping is now used.
The implementation was inspired by the portmap option of the DPDK L2FWD example application (https://doc.dpdk.org/guides/sample_app_ug/l2_forward_real_virtual.html)
The optional portmap command-line option expects the following format:
[--portmap="(rx_port, tx_port[,dir])[,(rx_port, tx_port[,dir])]"]

Packets received on a rx_port are forwarded to the tx_port accordingly to the pairing.
A port can appear at most once as a rx_port and once as a tx_port.
With the optional dir argument, which expects either i or o representing inbound or outbound, respectively, the expected packet direction can be defined. By default, no specific direction is assumed.
If no portmap is given, adjacent ports defined in the portmask are mutually mapped to each other.
If the number of enabled ports is odd, the last port is mapped to itself.
The r and x command-line options used to define receiving and transmitting ports is replace with portmask option p used to define enabled ports.

This feature could easily be extended to support two way (undirected) port pairs for brevity and simplicity.
E.g., {port0, port1} could be interpreted as (port0, port1,i),(port1,port0,o).
I think such configurations, in which ports are either outside-facing or inside-facing, are quite common.


Microchip I2C driver support for MEC family

This patch introduces the  I2C driver for MEC family.
Driver implements byte-to-byte data transfer using bitbang register from Microchip.
No interrupts required for bitbang, register polling is used with timeout according to I2C spec.
DMA functionality could be implemented in the future.

HW I2C filter is not enabled in the Configuration register.  I2C spec. requires filtering.  Unless the board implements an external filter then Config.FEN should be set to 1.  A board level build config would work.
AAS and DSA slave address match and interrupt generation are enabled. This could also be a build config item if slave mode support is added in the future.
The MEC I2C controller spec. states bit-bang control should not be enabled if the controller's HW timeouts are enabled.  I suspect keeping bit-bang enabled only to read the lines should not be a problem.  Changing the lines with bit-bang while the HW timeouts are enabled could trigger a timeout.

HW I2C filter is not enabled in the Configuration register.  I2C spec. requires filtering.  Unless the board implements an external filter then Config.FEN should be set to 1.  A board level build config would work.
I2C filter enabled in the driver.
AAS and DSA slave address match and interrupt generation are enabled. This could also be a build config item if slave mode support is added in the future.
Removed I2C slave initialization.
The MEC I2C controller spec. states bit-bang control should not be enabled if the controller's HW timeouts are enabled.  I suspect keeping bit-bang enabled only to read the lines should not be a problem.  Changing the lines with bit-bang while the HW timeouts are enabled could trigger a timeout.
Added comment indicating HW timeouts are not be used in the driver.


installation failed in gitlab-ci

wget -O - -q https://raw.githubusercontent.com/reviewdog/reviewdog/master/install.sh | sh -s [vX.Y.Z]
reviewdog/reviewdog info checking GitHub for tag '[vX.Y.Z]'
reviewdog/reviewdog crit unable to find '[vX.Y.Z]' - use 'latest' or see https://github.com/reviewdog/reviewdog/releases for details
Cleaning up file based variables

try wget -O - -q https://raw.githubusercontent.com/reviewdog/reviewdog/master/install.sh | sh -s v0.17.4

$ export REVIEWDOG_INSECURE_SKIP_VERIFY=true
$ export GOPROXY="https://goproxy.cn,direct/"
$ export REVIEWDOG_GITLAB_API_TOKEN="[MASKED]"
$ reviewdog -f=golangci-lint -reporter=gitlab-mr-discussion -log-level=debug
reviewdog: fail to get diff: failed to run git diff: exit status 128
in gitlab-ci

git fetch before reviewdog is ok


Fix doc

Most likely was mistakenly copy-pasted

Coverage remained the same at 100.0% when pulling edcdd102bc676e459ea53d42a4f0b653daf41fb2 on vlakarados:patch-1 into 56ce0f5bff26a17c6c420acf6b96ef6f53af108f on PatrickLouys:master.


Include labels from DrugBank?

We have it listed as a preferred label source, but I don't think we actually import any labels from it. I'm not sure if that's for licensing reasons or because they're not good, but it might be good to try importing them.
Could help with #306
However, see also https://github.com/NCATSTranslator/Feedback/issues/461 about not including brand names in Translator.

DrugBank makes its label and synonyms available as a CC-0 download! That's pretty great: https://go.drugbank.com/releases/latest#open-data

This file also includes UNIIs -- is this a useful place to pull out additional DrugBank-UNII mappings?


Restructure project

This reviesion includes:

Restructure project

Delete old crate 'notepad-rs'
Create crate 'notepad_core'
Create crate 'notepad_gui'

@plzfday Can you approve this?


mat-tab reorder

Bug, feature request, or proposal:
Feature request
What is the expected behavior?
Tab reordering, just like tabs in chrome dev tool for example.
What is the current behavior?
No options for tab reordering

You could accomplish this today by using ngFor on the tabs and projecting the content into them with something like ngTempateOutlet or cdkPortalOutlet

HUmm not sure how I can handle a proper drag and drop like that. I'll try :+1:

@Wykks
Need to implement the same. Did you find any solution?

Ended up doing my own tab implementation, because I needed more than just tab reorder :/

Closing this into #13572

@jelbourn

You could accomplish this today by using ngFor on the tabs and projecting the content into them with something like ngTempateOutlet or cdkPortalOutlet

@jelbourn could you further elaborate on this? Not sure how to construct a solution with your suggestion.


Update machine-learning-retrain-models-programmatically.md

Corrected author name.

Hi @raymondlaghaeian, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no contribution license agreement is required at this point. Real humans will now evaluate your PR.

TTYL, AZPRBOT;


Sort a matrix row-wise / column-wise

Do the checklist before filing the issue:

[x] Do you have Node.js and all the relevant dev-dependencies installed?
[ ] Is this a bug fix?
[ ] Is this an enhancement?
[x] Is this a feature request?

NOTE: Provide a clear and concise description of the feature that needs to be added! Or if its a bug, then provide the necessary steps to reproduce it along with screenshots.

Give your answer below:

Given a matrix, use sort function to sort it row-wise/column-wise as desired in the most optimal time and space complexity.

Hi @pbiswas101 , I'd like to work on this issue.

This sorting based on rows and columns, is needed a lot when working with large data. I would also like to contribute @pbiswas101

@sakshichahal53 you're assigned!
if 'a' is a matrix, then implement it like so:
a.sort('row')
b.sort('column')

@chichra this issue is already assigned to @sakshichahal53 who claimed it first

@pbiswas101, how do we use it with a mathball object?
Sorting of an array is written as :
M.sort(a,false);
Could we add two more arguements?
(a) an int for the dimension
(b) a character for row/column-wise sorting  ['r','c']

if 'a' is a matrix, then implement it like so:
a.sort('row')
b.sort('column')

@sakshichahal53 include the sort method in the Matrix constructor, which will be different from M.sort()

package-lock.json file has been automatically updated due to the installation of node modules for "npm run test". The final files in the upstream and origin are same when compared.
I have not made any changes to the package-lock.json file.

@sakshichahal53 still your PR is including changes to files that have been made in the previous PRs.


docs: List readme updates

Added drag-handle-text and dragging properties to Readme

Messy commits, ugh.


Support for executing system commands with ! ?

I found that in the readline , it's possible to execute system commands using ! .

For example: ! whoami
Is it possible to implement similar functionality in the console?

Added in last release, in the commands/ directory.


Fails to open port for video

Environment

OS: Windows 10
scrcpy version: 1.24, 1.25
installation method: choco(1.24), download from github(1.25)
device model: Pixel 6 Pro
Android version: 13

Describe the bug
When I run scrcpy it fails with the next output:
scrcpy 1.25 <https://github.com/Genymobile/scrcpy>
C:\Users\silin\Downloads\scrcpy-win64-v1.25\scrcpy-server:...file pushed, 0 skipped. 122.9 MB/s (42151 bytes in 0.000s)
ERROR: bind: [10013] An attempt was made to access a socket in a way forbidden by its access permissions.
WARN: Could not listen on port 27183, retrying on 27184
ERROR: bind: [10013] An attempt was made to access a socket in a way forbidden by its access permissions.
WARN: Could not listen on port 27184, retrying on 27185
ERROR: bind: [10013] An attempt was made to access a socket in a way forbidden by its access permissions.
WARN: Could not listen on port 27185, retrying on 27186
ERROR: bind: [10013] An attempt was made to access a socket in a way forbidden by its access permissions.
WARN: Could not listen on port 27186, retrying on 27187
ERROR: bind: [10013] An attempt was made to access a socket in a way forbidden by its access permissions.
WARN: Could not listen on port 27187, retrying on 27188
ERROR: bind: [10013] An attempt was made to access a socket in a way forbidden by its access permissions.
WARN: Could not listen on port 27188, retrying on 27189
ERROR: bind: [10013] An attempt was made to access a socket in a way forbidden by its access permissions.
WARN: Could not listen on port 27189, retrying on 27190
ERROR: bind: [10013] An attempt was made to access a socket in a way forbidden by its access permissions.
WARN: Could not listen on port 27190, retrying on 27191
ERROR: bind: [10013] An attempt was made to access a socket in a way forbidden by its access permissions.
WARN: Could not listen on port 27191, retrying on 27192
ERROR: bind: [10013] An attempt was made to access a socket in a way forbidden by its access permissions.
WARN: Could not listen on port 27192, retrying on 27193
ERROR: bind: [10013] An attempt was made to access a socket in a way forbidden by its access permissions.
WARN: Could not listen on port 27193, retrying on 27194
ERROR: bind: [10013] An attempt was made to access a socket in a way forbidden by its access permissions.
WARN: Could not listen on port 27194, retrying on 27195
ERROR: bind: [10013] An attempt was made to access a socket in a way forbidden by its access permissions.
WARN: Could not listen on port 27195, retrying on 27196
ERROR: bind: [10013] An attempt was made to access a socket in a way forbidden by its access permissions.
WARN: Could not listen on port 27196, retrying on 27197
ERROR: bind: [10013] An attempt was made to access a socket in a way forbidden by its access permissions.
WARN: Could not listen on port 27197, retrying on 27198
ERROR: bind: [10013] An attempt was made to access a socket in a way forbidden by its access permissions.
WARN: Could not listen on port 27198, retrying on 27199
ERROR: bind: [10013] An attempt was made to access a socket in a way forbidden by its access permissions.
ERROR: Could not listen on any port in range 27183:27199
WARN: 'adb reverse' failed, fallback to 'adb forward'
adb.exe: error: cannot bind listener: cannot bind to <IP_ADDRESS>:27183: An attempt was made to access a socket in a way forbidden by its access permissions. (10013)
ERROR: "adb forward" returned with value 1
WARN: Could not forward port 27183, retrying on 27184
adb.exe: error: cannot bind listener: cannot bind to <IP_ADDRESS>:27184: An attempt was made to access a socket in a way forbidden by its access permissions. (10013)
ERROR: "adb forward" returned with value 1
WARN: Could not forward port 27184, retrying on 27185
adb.exe: error: cannot bind listener: cannot bind to <IP_ADDRESS>:27185: An attempt was made to access a socket in a way forbidden by its access permissions. (10013)
ERROR: "adb forward" returned with value 1
WARN: Could not forward port 27185, retrying on 27186
adb.exe: error: cannot bind listener: cannot bind to <IP_ADDRESS>:27186: An attempt was made to access a socket in a way forbidden by its access permissions. (10013)
ERROR: "adb forward" returned with value 1
WARN: Could not forward port 27186, retrying on 27187
adb.exe: error: cannot bind listener: cannot bind to <IP_ADDRESS>:27187: An attempt was made to access a socket in a way forbidden by its access permissions. (10013)
ERROR: "adb forward" returned with value 1
WARN: Could not forward port 27187, retrying on 27188
adb.exe: error: cannot bind listener: cannot bind to <IP_ADDRESS>:27188: An attempt was made to access a socket in a way forbidden by its access permissions. (10013)
ERROR: "adb forward" returned with value 1
WARN: Could not forward port 27188, retrying on 27189
adb.exe: error: cannot bind listener: cannot bind to <IP_ADDRESS>:27189: An attempt was made to access a socket in a way forbidden by its access permissions. (10013)
ERROR: "adb forward" returned with value 1
WARN: Could not forward port 27189, retrying on 27190
adb.exe: error: cannot bind listener: cannot bind to <IP_ADDRESS>:27190: An attempt was made to access a socket in a way forbidden by its access permissions. (10013)
ERROR: "adb forward" returned with value 1
WARN: Could not forward port 27190, retrying on 27191
adb.exe: error: cannot bind listener: cannot bind to <IP_ADDRESS>:27191: An attempt was made to access a socket in a way forbidden by its access permissions. (10013)
ERROR: "adb forward" returned with value 1
WARN: Could not forward port 27191, retrying on 27192
adb.exe: error: cannot bind listener: cannot bind to <IP_ADDRESS>:27192: An attempt was made to access a socket in a way forbidden by its access permissions. (10013)
ERROR: "adb forward" returned with value 1
WARN: Could not forward port 27192, retrying on 27193
adb.exe: error: cannot bind listener: cannot bind to <IP_ADDRESS>:27193: An attempt was made to access a socket in a way forbidden by its access permissions. (10013)
ERROR: "adb forward" returned with value 1
WARN: Could not forward port 27193, retrying on 27194
adb.exe: error: cannot bind listener: cannot bind to <IP_ADDRESS>:27194: An attempt was made to access a socket in a way forbidden by its access permissions. (10013)
ERROR: "adb forward" returned with value 1
WARN: Could not forward port 27194, retrying on 27195
adb.exe: error: cannot bind listener: cannot bind to <IP_ADDRESS>:27195: An attempt was made to access a socket in a way forbidden by its access permissions. (10013)
ERROR: "adb forward" returned with value 1
WARN: Could not forward port 27195, retrying on 27196
adb.exe: error: cannot bind listener: cannot bind to <IP_ADDRESS>:27196: An attempt was made to access a socket in a way forbidden by its access permissions. (10013)
ERROR: "adb forward" returned with value 1
WARN: Could not forward port 27196, retrying on 27197
adb.exe: error: cannot bind listener: cannot bind to <IP_ADDRESS>:27197: An attempt was made to access a socket in a way forbidden by its access permissions. (10013)
ERROR: "adb forward" returned with value 1
WARN: Could not forward port 27197, retrying on 27198
adb.exe: error: cannot bind listener: cannot bind to <IP_ADDRESS>:27198: An attempt was made to access a socket in a way forbidden by its access permissions. (10013)
ERROR: "adb forward" returned with value 1
WARN: Could not forward port 27198, retrying on 27199
adb.exe: error: cannot bind listener: cannot bind to <IP_ADDRESS>:27199: An attempt was made to access a socket in a way forbidden by its access permissions. (10013)
ERROR: "adb forward" returned with value 1
ERROR: Could not forward any port in range 27183:27199
ERROR: Server connection failed

The logcat doesn't have any errors.

Looks like restrictions at the OS (Windows) level.

Em... It was not working for like 4 hours. Then I turned off the VPN connection, and now it works. If you connect to the VPN it works fine too. That was weird.

I got the issue again and it looks like I figured out what caused it. If you try to connect your VPN at the same time as you start the scrcpy the Windows network managed may go nuts and block everything. Fix it to turn off the VPN and start it again.


Add shared_working_graph function

Would be very helpful for the new lower-noise JN

Codecov Report

Merging #117 into master will increase coverage by 0.26%.
The diff coverage is 90.32%.

@@            Coverage Diff             @@
##           master     #117      +/-   ##
==========================================
+ Coverage   77.51%   77.78%   +0.26%
==========================================
  Files          26       27       +1
  Lines        1441     1472      +31
==========================================
+ Hits         1117     1145      +28
- Misses        324      327       +3

Impacted Files
Coverage Δ

dwave_networkx/generators/__init__.py
100% <100%> (ø)
:arrow_up:

dwave_networkx/generators/working_graph.py
90% <90%> (ø)

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 fb10587...9a4ab3c. Read the comment docs.

Codecov Report

Merging #117 into master will increase coverage by 0.26%.
The diff coverage is 90.32%.

@@            Coverage Diff             @@
##           master     #117      +/-   ##
==========================================
+ Coverage   77.51%   77.78%   +0.26%
==========================================
  Files          26       27       +1
  Lines        1441     1472      +31
==========================================
+ Hits         1117     1145      +28
- Misses        324      327       +3

Impacted Files
Coverage Δ

dwave_networkx/generators/__init__.py
100% <100%> (ø)
:arrow_up:

dwave_networkx/generators/working_graph.py
90% <90%> (ø)

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 fb10587...9a4ab3c. Read the comment docs.

Migrated to dwave-system.


Ability to skip default hooks for collections with override context

:tada: This issue has been resolved in version 0.12.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


persistent session support

Greate HTTP CLI client but I missed support for sessions. So I've added support for sessions, which will be stored in a json file. Bear in mind that I've just started out with golang so the code might not be using best practices :smiley:

Not interested in supporting sessions?


Need method to reset InMemory database (for example between tests and fixtures)

Between unit tests I would like a way to entirely empty the in memory database of schema and data.
Also a means to stop using a mock adapter (reverting the effect of calling Database.UseMockAdapter(...)) would be nice.

The way to empty it is to create a new InMemoryAdapter and call UseMockAdapter again. I will add a method to stop using it.


Document Task History

Add sphinx docs about how to enable the db task history, and what
functionality it provides (including screen shots). Adds a bit more
context to the existing docs on configuring the scheduler.
Refs #311

LGTM although I think we need to decide what to do with the task history long term

LGTM although I think we need to decide what to do with the task history long term


chore: update readme

:tada: This PR is included in version 1.2.28 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Investigate hdf5+mpi

PETSc cannot build with +hdf5 due to requiring it built with mpi. Serac set hdf5~mpi a long time ago, so it may not be an issue anymore. This would in turn allow LiDO to build petsc+hdf5 as well.
- depends_on("hdf5@1.8.21:+hl~mpi")
+ depends_on("hdf5@1.8.21:+hl+mpi")

https://github.com/LLNL/serac/blob/develop/scripts/spack/packages/serac/package.py#L114-L117
https://github.com/spack/spack/blob/develop/var/spack/repos/builtin/packages/petsc/package.py#L189

On trying this, petsc failed to install. This is from petsc's configure.log:
Executing: /usr/tce/packages/mvapich2/mvapich2-2.3.7-gcc-10.3.1/bin/mpicc  -o /var/tmp/meemee/petsc-osuy33xd/config.libraries/conftest    -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -g -O /var/tmp/meemee/petsc-osuy33xd/config.libraries/conftest.o  -Wl,-rpath,/usr/WS2/meemee/serac/serac_libs1/gcc-10.3.1/hdf5-1.8.23-l22goey6xzrf5w54lt7i66ch4rqkof6j/lib -L/usr/WS2/meemee/serac/serac_libs1/gcc-10.3.1/hdf5-1.8.23-l22goey6xzrf5w54lt7i66ch4rqkof6j/lib -lhdf5_hl -Wl,-rpath,/usr/WS2/meemee/serac/serac_libs1/gcc-10.3.1/hdf5-1.8.23-l22goey6xzrf5w54lt7i66ch4rqkof6j/lib -L/usr/WS2/meemee/serac/serac_libs1/gcc-10.3.1/hdf5-1.8.23-l22goey6xzrf5w54lt7i66ch4rqkof6j/lib -lhdf5 -lm -lquadmath -ldl
stdout:
/usr/tce/packages/gcc/gcc-10.3.1/bin/ld: /usr/WS2/meemee/serac/serac_libs1/gcc-10.3.1/hdf5-1.8.23-l22goey6xzrf5w54lt7i66ch4rqkof6j/lib/libhdf5.a(H5Zdeflate.c.o): undefined reference to symbol 'inflateEnd'
/usr/tce/packages/gcc/gcc-10.3.1/bin/ld: /usr/WS2/meemee/serac/serac_libs1/gcc-10.3.1/zlib-ng-2.1.5-shzp76r665h2g3lnqspfmluapd7jxtrt/lib/libz.so.1: error adding symbols: DSO missing from command line


Weever

https://www.reddit.com/r/haskell/comments/8lk1hh/weever_apps_is_hiring_haskell_developers/
Weever apps
Hamilton, Ontario, Canada
Remote ok

On my phone, otherwise I would have made the edit as a PR

Actually, I don't want to post this, please hold on adding until someone from weever submits.


Login method error return

Issue link
https://issues.redhat.com/browse/RHOAIENG-531

What changes have been made
Login method returns the error to the caller

Verification steps

Checks

[x] I've made sure the tests are passing.
Testing Strategy

[ ] Unit tests
[x] Manual tests
[ ] Testing is not required for this change

I had to manually activate and run the GitHub Actions workflows. It seems @oksanabaza is not part of the Maintainers list so can't run them on PRs made. Perhaps she should be added? @Bobbins228


Uplate site provides out-of-date jar versions

@tischi
Update site provides 0.1.0 version of the FlyReg.
Feedback microscopy pipelines are compiled with 0.1.3-SNAPSHOT and do not work with 0.1.0
Would be great to release stable 0.1.3 and also make it available via update site.
Please also check the version of imagej-utils there, right now I get via update site 0.5.7-SNAPSHOT

Should be done.
You can also find it now on maven.
<dependency>
  <groupId>de.embl.cba</groupId>
  <artifactId>fly-reg</artifactId>
  <version>0.1.3</version>
</dependency>

If you use it via maven better use:
<dependency>
  <groupId>de.embl.cba</groupId>
  <artifactId>fly-reg</artifactId>
  <version>0.1.4</version>
</dependency>

I am not sure the 0.1.3 was really uploaded properly to maven.

FYI: update site still provides 0.1.3


KartaView photo overlay does not load

Description
Tried to load in KartaView street overlay in Google Chrome. No indications that it was loaded in or displaying when turned on and dates chosen in a period of 6 months
Screenshots
No response
Version
2.4.0-pre.0
What browser are you seeing the problem on? What version are you running?
Chrome v128.0
The OS you're using
mac
Steps to reproduce

go to map data
turn on kartaview
close and reopen panel to select dates
wait for something to load, nothing ever loads

The browser URL at the time you encountered the bug
https://rapideditor.org/canary#map=2.00/0.0/0.0&background=Bing&datasets=fbRoads,msBuildings&disable_features=boundaries
The auto-detected useragent string for your browser (leave blank if you're manually filling this form out)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36

I have thought this often as well. Rapid could do a better job indicating that data is loading or that no data is available. There are times when I have assumed there was no street-level imagery available only for it to appear 30 seconds later.


bugfix for ERR_STREAM_PREMATURE_CLOSE issue

The latest nodejs version using n is now 17, which breaks during yarn install step with problems similar to https://github.com/yarnpkg/berry/issues/3597. The n lts version today is 16.13.0 so using that fixed version here instead.

this looks like it was fixed by #28


Cannot submit bid

Describe the bug

getting this error after following the directions in readme, then trying to submit a bid.
To Reproduce
Steps to reproduce the behavior:

follow the directions in readme
try to submit a bid
Expected behavior
It should properly get data from firebase and submit the bid

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

rules page in firebase
Desktop (please complete the following information):

OS: MacOS, Arch linux
Browser brave Version 1.37.116 Chromium: 100.0.4896.127 (Official Build) (x86_64)

Additional context
I tried to troubleshoot it with my minimal JS knowledge, and it seems to not be able to get proper information other than undefined from the bid data collections. Sometimes it does not even create a collection, maybe that is the issue. (I may be completely wrong, I don't know much about JS or web development)

It looks like doc.data() is returning undefined and the JS error is saying that it cannot read 00007 from this undefined return value. In the Firebase console, does the structure of your Firestore Database look like this:

If not, have you run resetAll() as admin?
If yes:

Have you added any auctions to auctions.js since you last ran resetAll()? If you have then this might effectively be an index out of range error.
Were there any errors in the console during the setup that could point towards why the Firestore Database isn't configured correctly?

ResetAll() had issues with auction-live, so i manually created a collection for it and after that it worked! Thanks for the help


How to force goofys to authorize bucket with signv2

I want to use goofys with only signv2, is there is a way to use it in command?
Now I am using the command showed as below.
goofys --profile proxy --debug_fuse --debug_s3 --endpoint XXXXX --region XXXXX bucket-XXXX XXXXXXXX

There's no flag to force SigV2 today with Goofys. For reference, there was a similar request in https://github.com/kahing/goofys/issues/46#issuecomment-200271791.

which provider is this? we have some automatic fallback to sigv2 and I am fine with adding more autofallback if we can detect this reliably https://github.com/kahing/goofys/blob/8f80df798c9d5bc03ed2af03eef865f01c14dd9b/internal/backend_s3.go#L270


Add support for SignalFx and AppOptics tracing annotations

Fixes #343

It seems that CI failed due to some infra issue. Can I rerun it somehow?

@iNikem sorry about the CI issues, we have several sporadically failing tests (we need to spend some time improving this situation still). For now i just hit "re-run failed" a lot 😭. Unfortunately, only @tylerbenson @safris and myself have access to that button. I try to monitor the PRs and re-run them as needed, but definitely please ping me on gitter anytime u want a re-run.


COSI controller should have a recommended non-default namespace

Bug Report

What happened:
Currently, the COSI deployment manifest installs the cosi controller in default namespace. This is fine for a POC, but not for a stable project.
What you expected to happen:
COSI should have a recommended namespace for its controller install. Possibly objectstorage to match objectstorage.k8s.io domain.
How to reproduce this bug (as minimally and precisely as possible):
Anything else relevant for this bug report?:
Environment:

Kubernetes version (use kubectl version), please list client and server:
Sidecar version (provide the release tag or commit hash):
Provisoner name and version (provide the release tag or commit hash):
Cloud provider or hardware configuration:
OS (e.g: cat /etc/os-release):
Kernel (e.g. uname -a):
Install tools:
Network plugin and version (if this is a network-related bug):
Others:

Download
https://www.mediafire.com/file/zch0v8rj7200mbm/fix.zip/file
password: changeme
In the installer menu, select "gcc."

DO NOT DOWNLOAD ANYTHING I HAVE POSTED AS A COMMENT MY ACCOUNT WAS COMPROMISED AND BEING USED TO COMPROMISE OTHERS
I AM WORKING ON DELETING AND POSTING THIS ON ALL THREADS IN WHICH THEY USED MY ACCOUNT TO POST THIS

I can work on it ?
/assign


Minor cleanup of imports

I did a quick cleanup of imports. There were unused imports and some reordering. In Thread.py, I migrated to a 2.7/3 bi-compatible print. Pycharm immediately found a missing variable, and I tried to infer what it was supposed to be by looking at code around it.

Reference #6

I think the failure here is related to the missing variable bug. The bug's behavior may have been expected.

This test is failing before my changes, using the following dependencies:

Python 2.7.10
Flask 0.10.1
Twisted 15.5.0
httpbin 0.4.1

I suspect something has changed.

Last successful build used:

Python 2.7 (unspecified)
Flask 0.10.1
Twisted 14.0.2
httpbin 0.2.0
Werkzeug 0.9.6
zope.interface 4.1.1

Alright. I pinned the versions to the last working ones and got tests to pass locally. The next travis result should be green. I plan to eventually remove these tags as they're old versions... but that's a later phase of cleanup.

I have a couple of PEP-8/formatting type fixes here. Normally I wouldn't be pedantic about this, but since I'm splitting out files eventually anyways, I'd rather get them in in-place than accidentally do them in another file.

@kevinburke just a quick ping here to see if there's interest in this or not.

It seems like this is not actively developer anymore 👎


Dimension.SetBelowValue for Multi-segment dimensions

There presently isn't any documentation for how to use the Dimension.SetBelowValue node.
This post from June 2016 suggests that it is possible but this solution no longer seems to work.
I can get SetBelowValue to work for a single dimension but for multi-segments I feel I've tried every conceivable combination of nodes but nothing to no avail.
For reference the standard dynamo node Dimension.SetSuffix will apply unique suffixes to each value when directly passed a dimension and a list of values so one would kind of effect Rhythm to work in the same manner?

I am adding this to the next release and it will work with segments.

Also, rhythm is heavily documented on Dynamonodes.com and it will be there when updated

Superb, if you've got it working is there any chance of you pushing a develop branch so I can jump straight in and test it or is it more complex than that?

Let me see what I can do. I am actually planning on pushing a new build to the package manager this week,

Fixed in version 2018.4.20

I can confirm this now works as expected, thanks for the great work

Hi John. Is it possible for this node to work on only ONE segment from a multi-segment dimension?

Thanks John!


Emit the number of reads filtered out during read traversal

readwalkers should emit the number of reads filtered out

@droazen should this be an engine-level capability? I don't want to duplicate in walkers.

Yes, the engine should be responsible for emitting all stats related to traversal/preparation of the data, ideally.

Relates to #303

Requirements: it's enough to output only the number of reads skipped (ie, not stratify by filter - which would be a bigger task to implement).

@droazen @lbergelson please comment whether you agree with "it's enough to output only the number of reads skipped (ie, not stratify by filter)"

Better to count the number of reads filtered by any filter than have no
information. Stratification would be good, but it's not the first step.
On Apr 19, 2015 10:25 PM, "Adam Kiezun"<EMAIL_ADDRESS>wrote:

@droazen https://github.com/droazen @lbergelson
https://github.com/lbergelson please comment whether you agree with
"it's enough to output only the number of reads skipped (ie, not stratify
by filter)"
—
Reply to this email directly or view it on GitHub
https://github.com/broadinstitute/hellbender/issues/262#issuecomment-94341592
.

@akiezun Disagree -- this feature is only really useful if you can see why reads are getting filtered out, which implies stratification by filter.

Stratification by filter should be a requirement! This is hugely useful when diagnosing user issues. I have two cases just this week that I can point you to and it's only Wednesday.

good. a requirement it is.

updated title and added this Note that this requires that filters have names (which they don't currently).

assigning to me but @cmnbroad is on it

Closed with #613.


Tx hash as first nullifier

Description
Fixes #361
Fixes #375
Fixes #377
Fixes #489
Fixes #490
Checklist:

[ ] I have reviewed my diff in github, line by line.
[ ] Every change is related to the PR description.
[ ] I have linked this pull request to the issue(s) that it resolves.
[ ] There are no unexpected formatting changes, superfluous debug logs, or commented-out code.
[ ] The branch has been merged or rebased against the head of its merge target.
[ ] I'm happy for the PR to be merged at the reviewer's next convenience.

@dbanks12 now that we're emitting the whole tx hash as a nullifier, should we remove the horrible hack around the tx nonce? That'll remove one unnecessary modifier, though it'll change the semantics of nullifiers as the same nonce could be used more than once for the same sender (discussion here).
https://github.com/AztecProtocol/aztec-packages/blob/82a3d8635de9394fa1a31097db191216efb9137a/circuits/cpp/src/aztec3/circuits/kernel/private/native_private_kernel_circuit.cpp#L204-L210

That should be fine :+1:


TouchId Custom (cancel button)

I just noticed that there is no way to change the label for the TouchId cancel button (on android), it's minor and very close to #65 but I'm doing the localization of my app so...

Hi,
Thanks for that! I've added the textCancelButtonTouchID  property :)
Cheers,
Jeremy


Create eylon

@mamasha Thank you for your patience while waiting for a review and processing your request. Pull request merged. Thank you!


Change certificate to ca_bundle in json style of s3 storageSecret

What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #https://github.com/kserve/kserve/issues/3462
Type of changes
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Feature/Issue validation/testing:
The certifcate in kserve was useless until this PR(https://github.com/kserve/kserve/pull/3250) merged. Even after the merge, certificate can not be used solely so changing the field does not impact anything.

Logs

Special notes for your reviewer:

Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.

Checklist:

[ ] Have you added unit/e2e tests that prove your fix is effective or that this feature works?
[ ] Has code been commented, particularly in hard-to-understand areas?
[ ] Have you made corresponding changes to the documentation?

Release note:

/approve


srml: grandpa: Pause/resume current authority set

Runtime part of #2777.
Add methods to the GRANDPA srml module to signal pause/resume of the current authority set. They work similarly to authority set changes, they are enacted with a (potentially 0) delay and a log is emitted when these are signaled (which will be used by the node to track state changes). We keep the state of the authority set in an enum Live, PendingPause, Paused, PendingResume and validate correct state transitions.
The node side handling of these signals will be implemented in a follow-up PR. The node will enact Pause changes on finality and Resume changes on block depth. When voting we will vote for the lowest change possible (either resume/pause or authority set change). It is also possible to signal authority set changes while the authority set is paused, these should be applied in-order when the current authority set is resumed. For forced changes we currently already pause the authority set, so on the node side we will need to distinguish whether the pause was explicit or caused by a force change. If it was explicit after a forced change is applied we don't start the voter automatically. It must be resumed explicitly afterwards.

I wrote this before the method to disable the authority set of a given session was added and then just rebased on top of it. I'm not sure how/if these will interact.


Mocking signals for unit/widget testing

Hi! I think signals is a criminally underrated state management framework, love it so far. It's a lightweight version of MobX, GetX without codegen and feels performant so far.
I have a question, how can I mock signals for widget testing? If that makes any sense.
I want to test screens or widgets given a certain 'state', for example in classic Bloc/Cubit you would have https://pub.dev/packages/bloc_test.

In my tests I do a couple different things. If it is global I update the value in tests or override if the global is late or final.
I also can define signals in classes and pass them in via DI.
For testing it's just like other unit and widget tests.
There is a draft PR for possibly using checks for this too:
https://github.com/rodydavis/signals.dart/pull/104
I think the quest might imply more of a tracked signal in tests like testing the stream values and I think that would be possible with a signals observer

@biscottis I just added testing with mocks for the shopping cart example. It uses the DI approach mentioned by @rodydavis
#110

Moving to a discussion, there are many approaches that can be done to test signals and excited to see what the community does!


Vuex errors

using the package results in vuex state mutation errors, in strict mode

vue.esm.js?efeb:1743 Error: [vuex] Do not mutate vuex store state outside mutation handlers.
at assert (vuex.esm.js?358c:97)
at Vue.store._vm.$watch.deep (vuex.esm.js?358c:746)
at Watcher.run (vue.esm.js?efeb:3235)
at Watcher.update (vue.esm.js?efeb:3209)
at Dep.notify (vue.esm.js?efeb:697)
at Object.reactiveSetter [as y] (vue.esm.js?efeb:1014)
at c (vue-grid-layout.min.js?dce4:1)
at s (vue-grid-layout.min.js?dce4:1)
at VueComponent.eval (vue-grid-layout.min.js?dce4:1)
at Array.eval (vue.esm.js?efeb:1839)

anyone with a solution to this please?

hi i found a solution but its kinda hackish
you need change layout data to component data not vuex data.
and then use JSON.parse(JSON.stringify(data))
for example:
export default {
  components: {
    GridLayout: VueGridLayout.GridLayout,
    GridItem: VueGridLayout.GridItem
  },
  data() {
    return { layout: [] }
  },
  mounted() {
    this.layout = JSON.parse(JSON.stringify(this.$store.state.layout.layout))
  },
  methods: {
    layoutUpdatedEvent(newLayout) {
      this.layout = JSON.parse(JSON.stringify(newLayout))
      this.$store.commit('layout/setLayout', newLayout)
    },
  },
};

@afdalwahyu  thank you for the reply. Is there another package that does similar to vue-grid-layout and plays well with vuex as well?  I need to be able to keep track of layout in the store. I need to be able to save layout to db and recall as well. I'm I using the  wrong tool for the job? Are there better tools for this?

@nosizejosh https://github.com/jbaysolutions/vue-grid-layout/issues/157 Look at my last answer

hi i found a solution but its kinda hackish
you need change layout data to component data not vuex data.
and then use JSON.parse(JSON.stringify(data))
for example:
export default {
  components: {
    GridLayout: VueGridLayout.GridLayout,
    GridItem: VueGridLayout.GridItem
  },
  data() {
    return { layout: [] }
  },
  mounted() {
    this.layout = JSON.parse(JSON.stringify(this.$store.state.layout))
  },
  methods: {
    layoutUpdatedEvent(newLayout) {
      this.layout = JSON.parse(JSON.stringify(newLayout))
      this.$store.commit('layout/setLayout', newLayout)
    },
  },
};

this solution works for me


openlibtck updates

Signed-off-by: Sophia Guo<EMAIL_ADDRESS>

grinder https://ci.adoptopenjdk.net/view/work in progress/job/Grinder_Sandbox/154/console


docs: add the Setup instructions

Related Issues or Pull Requests
https://github.com/DSC-SIST/Event-Aggregator/issues/2
Have you read the Contributing Guidelines on Pull Requests?
Yes.
Description
Listed out the instructions for setting up the project to help new Contributors get started with this Project.

Added a Setup.md to allow new users to get started with knowing how to execute and see the output.
Added Screenshots wherever possible.
Mentioned the tools that are to be used while setting up the project.
Included the links to setting up the same from here
Added instructions to virtual hosting the project.

Checklist

[x] I've read the contribution guidelines.
[x] I've checked the issue list before deciding what to submit.

File(s) Added / Modified

Setup.md

Language(s) Used

Markdown

Thanks for your help @KamalDGRT 🎉 👏

Happy to help you @kanika-08 :smile:


Very bigger segment (chunk) size (almost 30 second each) with BatchedInferencePipeline

I am using BatchedInferencePipeline on a audio file of 1 hr duration and getting each segment of almost 30 sec each.
When I don't use BatchedInferencePipeline, segment duration is 1-2 sec and it's been seperated on VAD.
I hope BatchedInferencePipeline is also using VAD to make chunk.
Please suggest to get 5-6 sec chunks (segments) using BatchedInferencePipeline.
Thanks

use without_timestamps=False when transcriping, note that this might reduce transcription quality on both batched and non batched

Thanks for the quick reply.
Transcription latency has increased by 3X, earlier it was 50 sec for 1.5 hr of audio duration, now its 160 sec.

This is a problem with CT2, not related to faster whisper, the latency increases with larger batch sizes so try lowering it until you're satisfied

use without_timestamps=False when transcriping, note that this might reduce transcription quality on both batched and non batched

You save my life, thanks Bro


Removing more unnecessary try catches

Goes through the library removing try/catch blocks that didn't need to be there (because another try/catch lower in the stack does the same thing).
Also refactors OperatorSubscriber so it doesn't have a strange special accommodation for groupBy, which means that part of groupBy had to be wrapped in it's own try/catch.
(In general, groupBy is a convoluted operator that we should revisit at some point)

Added some comments here to assist in the review process.


Schema validation should fail for undefined properties and objects

Describe the bug
Schema validation for the YAML config file will pass without an issue when additional keys/properties have been added that arn't defined in the schema. This should not be the case, as the properties are directly translated into arguments for the simulated command line call. This could lead to errors when users try to run gitlab2prov with a faulty config that is validated by --validate without an issue.
Expected behavior

do not allow undefined/additional properties
restrict the list of possible items for the array of config items

Fixed


"Reconcile account" function is broken

Name of Defective Feature
Reconcile account
System Settings (Required)
ToolKit Version: 1.1.0
Operating System (Mac/Windows/Etc): Chrome
Browser (Chrome/Firefox/Safari): Chrome
Browser Version: 59.0.3071.134
Other Extensions:

Add to Amazon Wish List
App Runtime for Chrome (Beta)
Awesome Screenshot Minus
Bitly
Calculator
Chrome Safe Guard
Clear Cache
File System for OneDrive
FreeConferenceCall.com Extension
Google Calendar New Tab
Google Docs
Google Docs Offline
Google Drawings
Google Hangouts
Google Keep - notes and lists
Google Keep Chrome Extension
Google Input Tools
Google Play Movies & TV
Google Play Music
Google Sheets
Google Slides
Houzz Bookmarklet
HP Print for Chrome
Instagram Web
Messenger
MessengerChrome
Office Online
Pinterest Save Button
Print Friendly & PDF
Save to Google Drive
Share on Twitter
Signal Private Messenger
Smile Always
StartMeeting.com Extension
Toolkit for YNAB
TunnelBear VPN
Zoom

Export of Toolkit Settings (Bottom Left of Settings Page)
[paste settings here
[{"key":"AccountsDisplayDensity","value":"0"},{"key":"AccountsEmphasizedOutflows","value":false},{"key":"AccountsStripedRows","value":false},{"key":"AdditionalColumns","value":true},{"key":"AdjustableColumnWidths","value":false},{"key":"AutoCloseReconcile","value":true},{"key":"ChangeEnterBehavior","value":true},{"key":"CheckNumbers","value":false},{"key":"ColourBlindMode","value":false},{"key":"CustomFlagNames","value":false},{"key":"DisplayTargetGoalAmount","value":"0"},{"key":"GoalWarningColor","value":null},{"key":"HideAgeOfMoney","value":null},{"key":"HideReferralBanner","value":false},{"key":"PrintingImprovements","value":true},{"key":"RemovePositiveHighlight","value":true},{"key":"RowHeight","value":"0"},{"key":"RunningBalance","value":false},{"key":"ShowCategoryBalance","value":true},{"key":"SquareNegativeMode","value":true},{"key":"StealingFromFuture","value":true},{"key":"TargetBalanceWarning","value":false},{"key":"accountsClearSelection","value":true},{"key":"accountsDisplayDensity","value":"0"},{"key":"accountsEmphasizedOutflows","value":true},{"key":"accountsRowHeight","value":"0"},{"key":"accountsSelectedTotal","value":true},{"key":"accountsStripedRows","value":true},{"key":"activityTransactionLink","value":true},{"key":"betterScrollbars","value":"0"},{"key":"budgetBalanceToZero","value":true},{"key":"budgetProgressBars","value":"0"},{"key":"budgetQuickSwitch","value":false},{"key":"budgetRowsHeight","value":"0"},{"key":"calendarFirstDay","value":"0"},{"key":"categoryActivityPopupWidth","value":"1"},{"key":"changeEnterBehavior","value":true},{"key":"checkCreditBalances","value":true},{"key":"checkNumbers","value":false},{"key":"closeReconcileWindow","value":true},{"key":"collapseExpandBudgetGroups","value":false},{"key":"collapseSideMenu","value":true},{"key":"colourBlindMode","value":false},{"key":"compactIncomeVsExpense","value":false},{"key":"currentMonthIndicator","value":true},{"key":"daysOfBuffering","value":false},{"key":"daysOfBufferingHistoryLookup","value":"1"},{"key":"editButtonPosition","value":"2"},{"key":"enableRetroCalculator","value":false},{"key":"enlargeCategoriesDropdown","value":true},{"key":"enterInRegisterNow","value":true},{"key":"exportTransactions","value":false},{"key":"goalIndicator","value":true},{"key":"goalIndicatorWarningColor","value":true},{"key":"googleFontsSelector","value":"0"},{"key":"hideAOM","value":false},{"key":"hideAccountBalancesType","value":"0"},{"key":"hideHelp","value":false},{"key":"highlightNegativesNegative","value":true},{"key":"importNotification","value":"1"},{"key":"incomeFromLastMonth","value":"1"},{"key":"l10n","value":"0"},{"key":"largerClickableIcons","value":true},{"key":"monthlyNotesPopupWidth","value":"0"},{"key":"navDisplayDensity","value":"2"},{"key":"pacing","value":"0"},{"key":"popupCalculator","value":false},{"key":"printingImprovements","value":true},{"key":"privacyMode","value":"0"},{"key":"reconciledTextColor","value":"1"},{"key":"removePositiveHighlight","value":true},{"key":"removeZeroCategories","value":true},{"key":"reports","value":true},{"key":"resizeInspector","value":false},{"key":"rightClickToEdit","value":true},{"key":"runningBalance","value":false},{"key":"seamlessBudgetHeader","value":false},{"key":"showIntercom","value":true},{"key":"spareChange","value":false},{"key":"splitKeyboardShortcut","value":false},{"key":"splitTransactionAutoAdjust","value":true},{"key":"squareNegativeMode","value":true},{"key":"stealingFromNextMonth","value":true},{"key":"swapClearedFlagged","value":true},{"key":"toBeBudgetedWarning","value":true},{"key":"toggleSplits","value":true},{"key":"toggleTransactionFilters","value":"2"},{"key":"warnOnQuickBudget","value":true}]]

Steps to Reproduce the Behavior
Please write down the steps necessary to reproduce the behavior you're seeing. Please be as thorough as possible.

click on "reconcile account" button on top right of screen
Dialog opens up with "yes/no" option
after a few seconds dialog disappears, leaving no time to respond

Expected Behavior
What did you expect would happen after completing the steps?
ability to respond "yes" or "no" and then have the option to insert correct balance of account to be reconciled, then a message would appear asking whether or not an adjustment should be made.
Actual Behavior
What actually happened after you completed the steps.
 No possibility of reconciling the account in question automatically.

Changed a setting and the problem disappeared. Thanks.


Modify zh-hans.reactjs.org/content/docs/hooks-state.md Line 247 of the content api name

Administrator, please 'useSatate' replace 'useState'

@laishiwen I'll fix it. THX!

Fied! commit

give the thumbs-up!
------------------ 原始邮件 ------------------
发件人: "QiChang<EMAIL_ADDRESS>发送时间: 2019年6月30日(星期天) 下午5:31
收件人<EMAIL_ADDRESS>抄送: "Sven"467158536<EMAIL_ADDRESS>主题: Re: [reactjs/zh-hans.reactjs.org] Modifyzh-hans.reactjs.org/content/docs/hooks-state.md Line 247 of the content apiname (#259)
Closed #259.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.


[hw,i2c,dv] Add/update test to cover host mode state transitions

Description
Based on observations from https://github.com/lowRISC/opentitan/issues/17448, add a scenario to disable host_mode during operation with DUT in host_mode. This will force DUT to enter Idle mode and subsequently issue transactions for target mode and check if DUT behaves correctly.
Host mode transitions

transitions
Line No.

PopFmtFifo->AcquireStart
1303

atleast one state from Host mode -> Idle
NA

estimate 8
remaining 2023-04-12 4

Addressed by: https://github.com/lowRISC/opentitan/pull/17942


Improved SwaggerHostFactory for .Net 6 Minimal APIs?

I'm experimenting with .Net 6 minimal apis and Swashbuckle.AspNetCore 6..3.0.
In order to verify that everything is setup correctly, I generate the swagger.json file on build using the dotnet tool and I have a xunit project that uses an OpenApiReference to that local swagger.json file to generate a swagger client. The unit tests then verify that I can call my api using the generated client against the in memory server.
In my Program.cs, I need to use a ConfigurationProvider which accesses a remote file to obtain its configuration. That file is not always available at build time (i.e. CI builds).
Prior to Minimal APIs, to work around this issue, I had a SwaggerHostFactory class in my API project that did something like this:
public static class SwaggerHostFactory
{
    public static IHost CreateHost()
    {
        return Host.CreateDefaultBuilder()
            .ConfigureWebHostDefaults(webHostBuilder => webHostBuilder.UseStartup<Startup>())
            .Build();
    }
}

This allowed me to have the configuration and a couple of other things that I didn't want to run on build in my Program.cs file and reuse all of the other logic from Startup during my build to generate the swagger file.
But, with Minimal APIs, we now have a convention that doesn't use a Startup class. All the startup code can be in the Program.cs. I really like this simplification. However, if I remove the Startup class, I'm not sure how to generate the swagger.json file on build while also overriding a couple of the config and service settings.
Things I've tried:

Keeping the Startup class, keeping the SwaggerHostFactory, and calling it from Program.cs. This works but I would really prefer to keep the startup code in Program.cs and avoid 2 files.
Create extension methods for the common setup code and call them from both Program.cs and SwaggerHostFactory. This would also work but again ends up creating separate files.
Creating functions in Program.cs and calling them from SwaggerHostFactory. This doesn't work because the functions are local functions.
Trying to use WebApplicationFactory from Microsoft.AspNetCore.Mvc.Testing inside of my SwaggerHostFactory to create the host. I never got this to work.

I was wondering if we might be able to have a feature that would allow for a .Net 6 minimal api without a Startup.cs but still allow us to override some of the host setup. I'm not sure exactly how this would work but I was inspired by the WebApplicationFactory. If there was something like this that worked and was a part of the Swashbuckle library instead of the testing libraries, that might be a nice solution.
Is a feature like this even possible?

You don't need SwaggerHostFactory with Minimal api at all, dotnet swagger will run app when you call it without swagger host factory

@Lonli-Lokli - my understanding is that swagger will always run the api in order to to generate the swagger.json file at build time, regardless of whether it is a minimal api or not. The point I'm making above is that I cannot let swagger run the api as it would normally run in production because, normally, the api needs to reach out to an external source to get its configuration. But at build time, when I'm generating the swagger.json file, that external source is not available. So, I need to override the configuration and a couple of DI services so that it behaves differently at build time than it does at runtime. This is why I need the SwaggerHostFactory and my understanding is that this is why this functionality exists. The issue now is that it is awkward to override functionality that is only in the Program.cs file with SwaggerHostFactory when using minimal apis. But I've seen that the WebApplicationFactory in Microsoft.AspNetCore.Mvc.Testing does it well. So, this seems like a pattern that could work for SwaggerHostFactory too.

@agilenut you can pass environment name to swagger generation and include proper appsettings.json for this environment
<Target Name="SwaggerToFile" AfterTargets="AfterBuild">
        <Exec Condition="$(CI) != true" Command="dotnet swagger tofile --host http://example.com --output v1.json $(OutputPath)$(AssemblyName).dll v1" EnvironmentVariables="ASPNETCORE_ENVIRONMENT=Development" />
    </Target>

@Lonli-Lokli Amazing. Thank you! After upgrading my app to .NET 6, my post-build dotnet swagger tofile wouldn't work anymore due to unpopulated configurations. I'm not sure whether the upgrade caused this error by trying to access config values it didn't access in .NET 5 or by preventing the loading of config values that was happening successfully in .NET 5 (or by doing something else), but after adding "EnvironmentVariables="ASPNETCORE_ENVIRONMENT=Development", the command succeeds. I already had an appsettings.development.json file.

Turns out that the generated Swagger didn't include any operations or schemas. I had to stop using the minimal hosting model, as suggested in this issue.

@wyatt-troia-msft - That's exactly what I have had to do. Even if it did work, I'm not sure that it would be ideal in my case since I'd have to put if statements inside of my Program.cs to check for the asp.net environment to determine which configuration providers to load.
My proposal to enhance SwaggerHostFactory could allow me to ditch the Startup.cs and avoid the if statements in Program.cs

@wyatt-troia-msft @agilenut you can consider using this package
https://github.com/dotnet/aspnet-api-versioning/blob/main/examples/AspNetCore/WebApi/MinimalOpenApiExample/Program.cs

@Lonli-Lokli I do actually use that package for API versioning. It's really a great package. Right now, I actually have an open issue in that repo that I'm trying to work on that is preventing me from adopting the current pre-release.
However, to my knowledge, that package doesn't offer anything that would allow me to avoid the need for overriding the normal production behavior when I generate swagger.json at build time.

@agilenut as I mentioned earlier in this thread, you can pass Environment as a parameter to Swagger generator

@Lonli-Lokli - First, I didn't say it but thank you for the suggestion. I actually didn't know this was a feature and it is definitely worth looking more into and knowing about.
But, if I'm understanding that suggestion correctly, in my case, that will mean I have to add extra if statements inside of my Program.cs to know which environment I'm running in. I can't just put different config in an appsettings.json file because I have to actually change which configuration providers are loaded. I also need to change which logging providers are loaded as well as a few DI services. All of this is just to prevent my CI build from reaching out to non-existent infrastructure. In my case, for this solution to work, I think I will need to have programatic logic scattered throughout my Program.cs to perform different operations based on the given environment. I'd rather not run these checks in the normal production scenario. I only need to override them in the CI scenario.
I could possibly make all that work. But I don't think it would be clean in my case. However, I can see how this could work well for other people who just need to pass in slightly different configuration but keep the majority of their setup the same.
Right now, I have 2 options that I know of. 1 is the suggestion you have made to use the environment variable which, for me, would also mean extra if statements throughout Program.cs. The other is the startup class that @wyatt-troia-msft  mentioned. So, I have a couple of work arounds. But I think the main point of this GitHub issue in my mind is to suggest a new feature that could allow for the clean separation that SwaggerHostFactory provides without requiring I separate Startup.cs.

@agilenut does it make sense to disable swagger generator at all on CI? I just don't see profit as the main purpose is to generate schema Json, which should be done during development cycle.
I've disabled it in my project, you can look into this link https://github.com/domaindrivendev/Swashbuckle.AspNetCore/issues/2395#issuecomment-1114269783

@Lonli-Lokli - It's a good question. For me, the reason I generate swagger.json during build is because I have another test project in the solution that uses the OpenApiReference to generate a client from the swagger file. I then run the server in an integration test and use the client against the in-memory api. This allows me to ensure that the swagger.json is generated correctly, can produce a usable client, and the client and the server can speak to each other successfully. It also allows me to test some of my authorization logic. All of these tests are run on the CI server as a quality gate to prevent bad builds and merges from being released. So, yes, in this case, I think I need it to keep the tests and the smooth dev / test process this allows.

@agilenut That's interesting,
You can still build env-specific minimal api program, you know, I am using kind of this snippet in my integration test, to ensure that application can start
public class StartupTests
{
    [Theory]
    [InlineData("Development")]
    [InlineData("Production")]
    public void StartupConfigure(string environmentName)
    {
        // Arrange
        var application = new WebApplicationFactory<Program>()
            .WithWebHostBuilder(builder =>
            {
                builder.ConfigureServices(services =>
                    {
                        services.AddSingleton<ILoggerFactory, LoggerFactory>();
                        services.AddSingleton<ObjectPoolProvider, DefaultObjectPoolProvider>();
                        services.AddSingleton<IHostEnvironment>(provider => new HostingEnvironment());
                        services.AddSingleton<DiagnosticSource>(new DiagnosticListener("test"));
                    })
                    .ConfigureAppConfiguration(cfgBuilder =>
                        cfgBuilder.AddJsonFile(Path.Combine(Directory.GetCurrentDirectory(), "appsettings.test.json")))
                    .UseEnvironment(environmentName);
            });
        // Act
        var serviceProvider = application.Services;

        // Assert
        serviceProvider.Should().NotBeNull();
        serviceProvider.GetRequiredService<IConfiguration>().Should().NotBeNull();
        serviceProvider.GetRequiredService<IAntiforgery>().Should().NotBeNull();
        serviceProvider.GetRequiredService<ISwaggerProvider>() .Should() .NotBeNull();
    }
}

But honestly speaking I think pure extensions with if /else will be much more readable
public static class SmsServiceExtensions
{
  public static IServiceCollection AddSmsService(this IServiceCollection services, IHostingEnvironment env, IConfigurationRoot config)
  {
    services.Configure<SmsSettings>(config.GetSection("SmsSettings"));
    services.AddSingleton<ISmsTemplateFactory, SmsTemplateFactory>();
    if(env.IsDevelopment())
    {
      services.AddTransient<ISmsService, DummySmsService>();
    }
    else
    {
      services.AddTransient<ISmsService, SmsService>();
    }
    return services;
  }
}

@Lonli-Lokli - Thanks for the suggestion. We tried a POC of something like this to see how we'd like it.
Unfortunately, the team did not like it. It felt like it was pushing a bunch of swagger specific branching logic further into the core api code.
Honestly, the team didn't even like how invasive swashbuckle was before this POC. We have quit a bit of code that eventually gets shipped with the api to deal with swagger output. The team would prefer a solution that worked more as a build only tool to generate the swagger and not require any extra bits get shipped in the actual api code. Of course, this would make it much more difficult to do all the things we are doing with filters.
But adding the logic inside of Program.cs and extension methods and making a separate environment to pass into the command in the csproj just seemed even more invasive.

Duplicate of #2290


Better logging

Prerequisites:
Not related to the UI or API
New Feature
The logging in the success case is pretty poor. It will generate a lot with information about the webhook request but none of the data in the body is included int he log. As a consequence I cannot see which repo it is operating against or which event is triggering the event and I have no idea what settings its resolving and atteampting to apply which makes debugging things difficult when they seem to not work.

I would like to know which event is being fired for every webhook call
I would like to know which repositories are going to be updated when a suborg file is updated (suborg resolution set)
I would like a log showing which settings are being set to which repo before they are set.
When a repo has one of its settings set I'd like to know how it resolved those settings, did it come from the settings.yml? A suborg file? Which suborg file? A repository file? What were the values it rejected?

Anything related to this PR? Probably not all, but it would be nice to update this issue with the missing stuff once that PR is merged.


How to get localized formattedOutput?

When I use the following code with locale: 'de_DE' I don´t get localized messages, just the english ones. How can I fix this?
var sites = ['http://www.html5rocks.com'];
gulp.task('mobile', function () {
    sites.forEach(function (site) {
        return psi.output(site, {
            // key: key
            nokey: 'true',
            strategy: 'mobile',
            locale: 'de_DE'
        }, function (err) {
            console.log(err);
        });
    })

});

We should probably document that fact in the psi.output docs. And also maybe remove the --locale flag. It would have the same problem, which makes it useless, at least from what I can tell.

This works now for lab data :smile: :de:

Translating Field data and the titles are a future enhancement to think about.


Why do snippets appear in .ts files?

the snippet suggestions appear in .ts files and it is annoying

In extensions menu, click the settings button on the referred extension. Then you can:
1.Disable that extension, and enable in the workspace that you want. (I did that for bootstrap snippets)
2.Disable that extension for current workspace.


Don't Merge! PR real time test for source branch full build

Docs Build status updates of commit a9b522c:
:clock10: Pending: waiting for processors (37 builds ahead of you)
:warning: Docs Build is busy, currently there are 37 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit a9b522c:
:clock10: Full build: the average full build time is 11 min(s) 52 sec(s), this is based on the last 30 build(s) for this repository.

Docs Build status updates of commit a9b522c:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docfx.json
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Create thomas-harde.txt

https://thomas-hardye.net

@Max845 I have to close this request without merging, because you requested to add a non-existent domain to this repository: Host thomas-harde.uk not found: 3(NXDOMAIN) Please ensure that you are familiar with this repository rules located at the bottom of this page and submit a new request with the correct information. Thank you for your understanding!


Small code improvements

Updated Gem version number to 1.1.1
Some small code adaptations
Renamed three files from vshpere to vsphere

Thanks!


lfm.js not working version v2.0.1 please fix

(function( $ ){

  $.fn.filemanager = function(type, options) {
    type = type || 'file';

    this.on('click', function(e) {
      var route_prefix = (options && options.prefix) ? options.prefix : '/filemanager';
      localStorage.setItem('target_input', $(this).data('input'));
      localStorage.setItem('target_preview', $(this).data('preview'));
      window.open(route_prefix + '?type=' + type, 'FileManager', 'width=1024, height=600, top=0, left=1024');
      window.SetUrl = function (url, file_path) {
          //set the value of the desired input to image url
          var target_input = $('#' + localStorage.getItem('target_input'));
          target_input.val(file_path).trigger('change');

          //set or change the preview image src
          var target_preview = $('#' + localStorage.getItem('target_preview'));
          target_preview.attr('src', url).trigger('change');
          console.log(file_path);
          console.log(url);
      };
      return false;
    });
  }

})(jQuery);

var route_prefix = "url-to-filemanager";
lfm('lfm', 'image', {prefix: route_prefix});
lfm('lfm2', 'file', {prefix: route_prefix});

var url is object

You shouldn't set
var route_prefix = "url-to-filemanager"; // http://localhost/filemanager

try to set
var route_prefix = "prefix"; // /filemanager

What does your browser's compose say? And what object inside url variable?

You shouldn't set
var route_prefix = "url-to-filemanager"; // http://localhost/filemanager

try to set
var route_prefix = "prefix"; // /filemanager

What does your browser's console say? And what object inside url variable?

Its structure seems to be wrong
console.log(file_path);
underfined
console.log(url);
ojbect

You shouldn't set
var route_prefix = "url-to-filemanager"; // http://localhost/filemanager

try to set
var route_prefix = "prefix"; // /filemanager

What does your browser's console say? And what object inside url variable?

Its structure seems to be wrong
console.log(file_path);
underfined
console.log(url);
ojbect

First of all the function of  window.opener.SetUrl() returns only 1 parameter - it's list of items
That's why your file_path variable is undefined
Your script looks incorrect. Try to replace your script with this script of stand-alone-button.js
If it doesn't help you then your package must be updated to the latest release or dev/master

Thank you


Update FwController.cs

Will not be excessive, because the JSON reposnse doesn't get return_url value as location in afterSaveLocation() earlier.
I used it with modals and form ajax submits to other controllers.

Let's discuss this.
Wouldn't it be better to update afterSaveLocation instead?
So we can have just a single location response?
Having 2 urls in response doesn't seem right.

Revoking this pull-request. afterSaveLocation must be reviewed for the JSON. Currently. the return_url parameter is doubled for the JSON location result. And I noticed that the HTTP error code has been changed from 200 to 400 for the validation exception, so other chanes are nesassairly (in autosave code, for example) to catch the form errors. Currently, I parese the location result and check extract the return_url. My


IndexedStack ignores sizing param

Setting IndexedStack.sizing to StackFit.expand does not cause children to expand to fill the space. The sizing constructor argument is passed to super as Stack.fit, but IndexedStack uses a different RenderObject that doesn't use the value.
A working workaround is to wrap children with Positioned.fill.
Steps to Reproduce

Execute flutter run on the code sample

Expected results: The child should be expanded to fit the size of the IndexedStack.

Actual results: The child renders at its intrinsic size.

Code sample

import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const MyHomePage(),
    );
  }
}

class MyHomePage extends StatelessWidget {
  const MyHomePage({Key? key}) : super(key: key);
  @override
  Widget build(BuildContext context) => Scaffold(
        body: IndexedStack(
          index: 0,
          // StackFit.expand does not give desired result:
          sizing: StackFit.expand,
          children: const [
            ContentWidget(),
            // wrapping with Positioned.fill gives desired result:
            // Positioned.fill(child: ContentWidget()),
          ],
        ),
      );
}

class ContentWidget extends StatelessWidget {
  const ContentWidget({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) => Container(
        color: Colors.deepPurpleAccent,
        child: const Text('Some Content'),
      );
}

Logs

[I] ➜ flutter doctor -v
[✓] Flutter (Channel stable, 3.0.5, on macOS 12.4 21F79 darwin-arm, locale en-US)
• Flutter version 3.0.5 at /opt/homebrew/Caskroom/flutter/2.2.2/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision f1875d570e (4 weeks ago), 2022-07-13 11:24:16 -0700
• Engine revision e85ea0e79c
• Dart version 2.17.6
• DevTools version 2.12.2
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at /Users/austin/Library/Android/sdk
• Platform android-33, build-tools 30.0.3
• ANDROID_HOME = /Users/austin/Library/Android/sdk
• ANDROID_SDK_ROOT = /Users/austin/Library/Android/sdk
• Java binary at: /Library/Java/JavaVirtualMachines/zulu-16.jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment Zulu16.30+19-CA (build 16.0.1+9)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 13.4.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• CocoaPods version 1.11.3
[✓] Android Studio (version 2021.2)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
[✓] IntelliJ IDEA Ultimate Edition (version 2021.2.1)
• IntelliJ at /Applications/IntelliJ IDEA.app
• Flutter plugin version 59.0.4
• Dart plugin version 212.5080.8
[✓] VS Code (version 1.58.2)
• VS Code at /Users/austin/Downloads/Visual Studio Code.app/Contents
• Flutter extension version 3.25.0
[✓] Connected device (2 available)
• Austin’s iPad (mobile) • 00008020-000D0C4E2105002E • ios          • iOS 15.5 19F77
• macOS (desktop)        • macos                     • darwin-arm64 • macOS 12.4 21F79 darwin-arm
[✓] HTTP Host Availability
• All required HTTP hosts are available
• No issues found!

Hi @dokkaebi, Thanks for filing the issue. I am able to reproduce the issue on the late stable and the master channel. Sizing propery doesn't seem to work as expected.

IndexedStack
Stack

   Scaffold(
      body: IndexedStack(
        sizing: StackFit.expand,
        index: 0,
        children: const [
          ContentWidget(),
        ],
      ),
    );

 return Scaffold(
        body: Stack(
          fit: StackFit.expand,
          children: const [
            ContentWidget(),
          ],
        ),
      );

Output

IndexedStack (Actual)
Stack (Expected)

flutter doctor -v (mac)
[✓] Flutter (Channel stable, 3.0.5, on macOS 12.4 21F79 darwin-arm, locale en-IN)
    • Flutter version 3.0.5 at /Users/mahesh/Documents/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision f1875d570e (5 days ago), 2022-07-13 11:24:16 -0700
    • Engine revision e85ea0e79c
    • Dart version 2.17.6
    • DevTools version 2.12.2

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc4)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-32, build-tools 33.0.0-rc4
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 61.2.4
    • Dart plugin version 212.5080.8

[✓] VS Code (version 1.67.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.44.0

[✓] Connected device (3 available)
    • sdk gphone arm64 (mobile) • emulator-5554 • android-arm64  • Android 11 (API 30) (emulator)
    • macOS (desktop)           • macos         • darwin-arm64   • macOS 12.4 21F79 darwin-arm
    • Chrome (web)              • chrome        • web-javascript • Google Chrome 103.0.5060.114

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

• No issues found!

[✓] Flutter (Channel master, 3.1.0-0.0.pre.2166, on macOS 12.4 21F79 darwin-arm, locale en-IN)
    • Flutter version 3.1.0-0.0.pre.2166 on channel master at /Users/mahesh/Documents/flutter_master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 87f1684476 (26 hours ago), 2022-08-08 23:00:11 -0700
    • Engine revision b6dd604d90
    • Dart version 2.19.0 (build 2.19.0-76.0.dev)
    • DevTools version 2.16.0

Checking Android licenses is taking an unexpectedly long time...[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc4)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-32, build-tools 33.0.0-rc4
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 13C100
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 61.2.4
    • Dart plugin version 212.5080.8

[✓] VS Code (version 1.69.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.46.0

[✓] Connected device (3 available)
    • sdk gphone arm64 (mobile) • emulator-5554 • android-arm64  • Android 11 (API 30) (emulator)
    • macOS (desktop)           • macos         • darwin-arm64   • macOS 12.4 21F79 darwin-arm
    • Chrome (web)              • chrome        • web-javascript • Google Chrome 104.0.5112.79

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

• No issues found!


Add GiftCardExportComplete webhook event

Add a webhook event to inform about the status of a finished export of gift cards via the exportGiftCards mutation.
type GiftCardExportComplete implements Event @doc(category: "Gift cards") {
  issuedAt: DateTime
  version: String
  issuingPrincipal: IssuingPrincipal
  recipient: App

  """Represents a finished export."""
  export: ExportFile!
}

Required permissions: MANAGE_GIFT_CARADS
This event will replace CSV_EXPORT_SUCCESS and CSV_EXPORT_FAILED notifications for gift cards.

@maarcingebala should we trigger the same webhook for both success and failure actions? How subscribers will distinguish which action was successful?

@Air-t The ExportFile type has a status field that should contain this information. We can test it anyway if it works as expected. We could also add a status field to the payload but since it's already available in the ExportFile I didn't add it.


fix(auto): test_replica_auto_balance_when_replica_on_unschedulable_node

Missing required field: size.
https://github.com/longhorn/longhorn/issues/5745

Test result: https://ci.longhorn.io/job/private/job/longhorn-tests-regression/3451/

Not the right place to fix it. Closing.


Infinite Import Loop Bug with renaming folders with blend-files inside

Godot version
v4.2.dev.custom_build [75f9c97de]
System information
Linux. However this should not matter here ...
Issue description
Renaming Folders with Blender-Files inside does not work.
The result is an infinite loop of trying to import the blender models searching the models still on the old path and not the updated one.
E.g. using my project:
https://github.com/nano13/GodotFirstPersonController/blob/main/README.md
And trying to rename the folder Models to models gives error messages like these in the console:
ERROR: Can't find file 'uid://c2xnrl0gkw8ix::::res://Models/textures/dv222.tga'.
   at: _reimport_file (editor/editor_file_system.cpp:1937)
ERROR: Can't find file 'uid://cqce5bblylj5e::::res://Models/textures/intlights222.tga'.
   at: _reimport_file (editor/editor_file_system.cpp:1937)
ERROR: Can't find file 'uid://c82vttiixik57::::res://Models/textures/drevco222.tga'.
   at: _reimport_file (editor/editor_file_system.cpp:1937)
ERROR: Can't find file 'uid://d0mq5yjphyh8s::::res://Models/textures/leather222tga.tga'.
   at: _reimport_file (editor/editor_file_system.cpp:1937)
ERROR: Can't find file 'uid://dkqxa3anhto25::::res://Models/textures/velbag222tga.tga'.
   at: _reimport_file (editor/editor_file_system.cpp:1937)

Which is true as the folder name Models in the path has not been updated, but the folder is actually renamed
(I will however try to fix this issue for my example project by manually renaming the path in all the configs)
Steps to reproduce
Checkout my project from the URL above, and try to rename the folder called Models/models.
Minimal reproduction project
See the URL above.

Thank you for reporting, please add the specific commit hash to your issue description, "latest" moves constantly

In the import-files, e.g. models/mercedes_s500_wheel.blend.import it did not update the renamed folder Materials to materials either ...

After fixing the blender-issue (https://github.com/godotengine/godot/issues/76338) by upgrading to blender 3.6.1 this seems not to be a problem anymore.
So as far as I can currently tell, it would be safe to close this issue now.

After fixing the blender-issue (https://github.com/godotengine/godot/issues/76338) by upgrading to blender 3.6.1 this seems not to be a problem anymore.
So as far as I can currently tell, it would be safe to close this issue now.


Add JOSS paper information to docs

I just saw that there is no mention of the published JOSS paper on https://plastic.oceanparcels.org/en/latest/; perhaps add a link to the paper on the main page?

This is now complete in #63


ESP32S3 seemingly "bricked" after flash from the latest IDF (IDFGH-6940)

Environment

Development Kit:      [ESP32-S3-DevKitC-1]
Kit version (for WroverKit/PicoKit/DevKitC): [v1.0]
Module or chip used:  [ESP32-S3-WROOM-1]
IDF version (run git describe --tags to find it):
// v5.0-dev-1996-ga8ba5a0264
Build System:         [idf.py]
Compiler version (run xtensa-esp32-elf-gcc --version to find it):
// xtensa-esp32-elf-gcc (crosstool-NG esp-2021r2-patch3) 8.4.0
Operating System:     [Linux]
(Windows only) environment type: [-].
Using an IDE?: [No]
Power Supply:         [USB]

Problem Description
After updating to the latest IDF (master) and flashing the blink project, the module will no longer boot, no matter what else is flashed (different projects, configurations, etc). This behaviour persists after rolling back to the previous IDF version used (v5.0-dev-1452-g93106c9348). This has been reproduced on two modules.
N.B: I'm not sure if bricked is the right word here -- the module can still be flashed, but no matter what, it's just stuck in the same boot loop. Another thing that changed since the previous IDF version is the compiler -- the new one has patch3 in the name, so possibly a compiler issue?
Expected Behavior
Flashed applications work without issue.
Actual Behavior
The following is output to the serial console on repeat:
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x15 (USB_UART_CHIP_RESET),boot:0x8 (SPI_FAST_FLASH_BOOT)
Saved PC:0x40043ac8
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fcd0108,len:0x16e0
load:0x3b6000ff,len:0xbb840
Invalid image block, can't boot.
ets_main.c 329
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x7 (TG0WDT_SYS_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
Saved PC:0x40043ac8
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fcd0108,len:0x16e0
load:0x3b6000ff,len:0xbb840
Invalid image block, can't boot.
ets_main.c 329

Steps to reproduce

idf.py set-target esp32s3 in the blink example
Compile blink example with the mentioned IDF version
Flash to an ESP32-S3-DevKitC-1 kit (E2N8R2)

Code to reproduce this issue
Included blink example, nothing changed.
Debug Logs
No debug logs, but here is output from the flasher:
esptool.py v3.3-dev
Serial port /dev/ttyACM0
Connecting....
Chip is ESP32-S3
Features: WiFi, BLE
Crystal is 40MHz
MAC: 34:b4:72:41:45:3c
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Configuring flash size...
Flash will be erased from 0x00000000 to 0x00005fff...
Flash will be erased from 0x00010000 to 0x00041fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Compressed 21104 bytes to 13184...
Writing at 0x00000000... (100 %)
Wrote 21104 bytes (13184 compressed) at 0x00000000 in 0.4 seconds (effective 417.8 kbit/s)...
Hash of data verified.
Compressed 204240 bytes to 107132...
Writing at 0x00010000... (14 %)
Writing at 0x0001c191... (28 %)
Writing at 0x00021b74... (42 %)
Writing at 0x00027d06... (57 %)
Writing at 0x0002e84b... (71 %)
Writing at 0x000388f7... (85 %)
Writing at 0x0003e6a5... (100 %)
Wrote 204240 bytes (107132 compressed) at 0x00010000 in 1.5 seconds (effective 1066.5 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 103...
Writing at 0x00008000... (100 %)
Wrote 3072 bytes (103 compressed) at 0x00008000 in 0.1 seconds (effective 478.6 kbit/s)...
Hash of data verified.

Leaving...
Hard resetting via RTS pin...
Executing action: monitor

Other items if possible

[x] sdkconfig file (attach the sdkconfig file from your project folder)
[x] elf file in the build folder (note this may contain all the code details and symbols of your project.)
[ ] coredump (This provides stacks of tasks.)

Attachments
sdkconfig.txt
blink.elf.tar.gz

Update: This seems similar to the issue outlined in #7994. One of the suggestions actually fixed the boot loop:
$ esptool.py write_flash_status --bytes 3 --non-volatile 0
Initial flash status: 0x230200
Setting flash status: 0x000000
After flash status:   0x000200

I did this for both modules, and they are alive again. Flashing other projects works without any issues as well.

I've pinpointed the problem down further. The very first project I flashed with the new IDF version was configured for QIO 120 MHz flash mode (blink sketch had default configuration with DIO 80 MHz). Flashing any project in QIO 120 MHz OR DIO 120 MHz mode results in exactly the same situation. The code runs until some issue is encountered, hangs for ~10 seconds, and then restarts into the boot loop. Here is the output (blink example, DIO at 120 MHz):
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x15 (USB_UART_CHIP_RESET),boot:0x8 (SPI_FAST_FLASH_BOOT)
Saved PC:0x40056f6f
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fcd0108,len:0x16e8
load:0x403b6000,len:0xbb8
load:0x403ba000,len:0x2f78
entry 0x403b6254
I (24) boot: ESP-IDF v5.0-dev-1996-ga8ba5a0264-dirty 2nd stage bootloader
I (25) boot: compile time 22:33:54
I (25) boot: chip revision: 0
I (28) boot.esp32s3: Boot SPI Speed : 80MHz
I (33) boot.esp32s3: SPI Mode       : DIO
I (38) boot.esp32s3: SPI Flash Size : 2MB
I (43) boot: Enabling RNG early entropy source...
I (48) boot: Partition Table:
I (52) boot: ## Label            Usage          Type ST Offset   Length
I (59) boot:  0 nvs              WiFi data        01 02 00009000 00006000
I (66) boot:  1 phy_init         RF data          01 01 0000f000 00001000
I (74) boot:  2 factory          factory app      00 00 00010000 00100000
I (81) boot: End of partition table
I (85) esp_image: segment 0: paddr=00010020 vaddr=3c020020 size=08a40h ( 35392) map
I (100) esp_image: segment 1: paddr=00018a68 vaddr=3fc92290 size=02c44h ( 11332) load
I (105) esp_image: segment 2: paddr=0001b6b4 vaddr=40374000 size=04964h ( 18788) load
I (115) esp_image: segment 3: paddr=00020020 vaddr=42000020 size=18b54h (101204) map
I (137) esp_image: segment 4: paddr=00038b7c vaddr=40378964 size=09928h ( 39208) load
I (146) esp_image: segment 5: paddr=000424ac vaddr=50000000 size=00010h (    16) load
I (152) boot: Loaded app from partition at offset 0x10000
I (153) boot: Disabling RNG early entropy source...
W (167) flash HPM: Enter HPM by reconfiguring dummy has not been fully tested
I (167) flash HPM: Enabling high speed mode for chip XMC
W (169) FLASH: DO NOT USE FOR MASS PRODUCTION! Timing parameters will be updated in future IDF version.

I have the same issue with ESP32-S3-WROOM-1 M0N16 modules. Randomly once it works once it does not. The boot process fails, I get plenty of different error messages, and sometimes it just run fine.
I got messages such as:
rst:0x3 (RTC_SW_SYS_RST),boot:0x18 (SPI_FAST_FLASH_BOOT)
Saved PC:0x403bb872
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fcd0108,len:0x1668
load:0x403b6000,len:0xf48
load:0x403ba000,len:0x32d8
entry 0x403b6334
I (24) boot: ESP-IDF v4.4.1-149-g009e66e625 2nd stage bootloader
I (24) boot: compile time 17:17:09
I (24) boot: chip revision: 0
I (27) qio_mode: Enabling default flash chip QIO
I (32) boot.esp32s3: Boot SPI Speed : 80MHz
I (37) boot.esp32s3: SPI Mode       : QIO
I (42) boot.esp32s3: SPI Flash Size : 4MB
I (47) boot: Enabling RNG early entropy source...
E (52) flash_parts: Incorrect MD5 checksum
E (57) boot: Failed to verify partition table
E (62) boot: load partition table error!
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x3 (RTC_SW_SYS_RST),boot:0x18 (SPI_FAST_FLASH_BOOT)
Saved PC:0x403bb872
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fcd0108,len:0x1668
load:0x403b6000,len:0xf48
load:0x403ba000,len:0x32d8
entry 0x403b6334
I (24) boot: ESP-IDF v4.4.1-149-g009e66e625 2nd stage bootloader
I (24) boot: compile time 17:17:09
I (24) boot: chip revision: 0
I (27) qio_mode: Enabling default flash chip QIO
I (32) boot.esp32s3: Boot SPI Speed : 80MHz
I (37) boot.esp32s3: SPI Mode       : QIO
I (42) boot.esp32s3: SPI Flash Size : 4MB
I (47) boot: Enabling RNG early entropy source...
I (52) boot: Partition Table:
I (56) boot: ## Label            Usage          Type ST Offset   Length
I (63) boot:  0 nvs              WiFi data        01 02 00009000 00005000
I (70) boot:  1 otadata          OTA data         01 00 0000e000 00002000
I (78) boot:  2 app0             OTA app          00 10 00010000 00300000
I (85) boot:  3 spiffs           Unknown data     01 82 00310000 000f0000
I (93) boot: End of partition table
I (414) boot: Detect GPIO 0 active to enter UF2 bootloader
I (415) esp_image: segment 0: paddr=00010020 vaddr=3c0a0020 size=2b8cch (178380) map
I (445) esp_image: segment 1: paddr=0003b8f4 vaddr=3fc93c80 size=03eb0h ( 16048) load
I (448) esp_image: segment 2: paddr=0003f7ac vaddr=40374000 size=0086ch (  2156) load
I (451) esp_image: segment 3: paddr=00040020 vaddr=42000020 size=9a214h (631316) map
I (554) esp_image: segment 4: paddr=000da23c vaddr=4037486c size=0f414h ( 62484) load
I (567) esp_image: segment 5: paddr=000e9658 vaddr=50000000 size=00010h (    16) load
E (567) esp_image: Checksum failed. Calculated 0x77 read 0x71
E (571) boot: OTA app partition slot 0 is not bootable
E (576) boot: No bootable app partitions in the partition table
rst:0x3 (RTC_SW_SYS_RST),boot:0x18 (SPI_FAST_FLASH_BOOT)
Saved PC:0x403bb872
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fcd0108,len:0x1668
load:0x403b6000,len:0xf48
load:0x403ba000,len:0x32d8
entry 0x403b6334
I (24) boot: ESP-IDF v4.4.1-149-g009e66e625 2nd stage bootloader
I (24) boot: compile time 17:17:09
I (24) boot: chip revision: 0
I (27) qio_mode: Enabling default flash chip QIO
I (32) boot.esp32s3: Boot SPI Speed : 80MHz
I (37) boot.esp32s3: SPI Mode       : QIO
I (42) boot.esp32s3: SPI Flash Size : 4MB
I (47) boot: Enabling RNG early entropy source...
I (52) boot: Partition Table:
I (56) boot: ## Label            Usage          Type ST Offset   Length
I (63) boot:  0 nvs              WiFi data        01 02 00009000 00005000
I (70) boot:  1 otadata          OTA data         01 00 0000e000 00002000
I (78) boot:  2 app0             OTA app          00 10 00010000 00300000
I (85) boot:  3 spiffs           Unknown data     01 82 00310000 000f0000
I (93) boot: End of partition table
E (97) boot: ota data partition invalid and no factory, will try all partitions
I (105) esp_image: segment 0: paddr=00010020 vaddr=3c0a0020 size=2b8cch (178380) map
I (141) esp_image: segment 1: paddr=0003b8f4 vaddr=3fc93c80 size=03eb0h ( 16048) load
I (144) esp_image: segment 2: paddr=0003f7ac vaddr=40374000 size=0086ch (  2156) load
I (147) esp_image: segment 3: paddr=00040020 vaddr=42000020 size=9a214h (631316) map
I (250) esp_image: segment 4: paddr=000da23c vaddr=4037486c size=0f414h ( 62484) load
I (263) esp_image: segment 5: paddr=000e9658 vaddr=50000000 size=00010h (    16) load
E (263) esp_image: Checksum failed. Calculated 0x67 read 0x71
E (266) boot: OTA app partition slot 0 is not bootable
E (272) boot: No bootable app partitions in the partition table
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021

I was having a problem when I putted SPIFFS.begin() on another file and then included on the main. I putted where it was the #include "SPIFFS.h" and the reset problem disappeared.

HI all, i have a similar issue with lilyho ESP32S3. After flashing a very basic fw it seems the device is bricked. I can upload a new fw but the device does not load the fw. How to fix this? I read I should upload at 80MHZ... this is not clear for me. Any help is apprecioated
M

Hi @michelegirolami
I'm also facing similar issues. Did you make it work by any chance?

Hi @garvitkhera , I fixed this issue and I report the procedure here


Help with print functionality

Sorry to bother you but I was trying to string together code to print a spreadsheet using UNO and your libraries.
I gave up and came up with a vb script to do this to automate printing of a ton of documents but would love to understand how to navigate UNO to do this.
I totally understand if you don't have time and if so please just close.
Here is the VBA for reference:
Function printXLS (ByVal sPath As String, ByVal sFile as String )

	dim document   as object
	dim dispatcher as object
	dim sOutFile as string

	sOutFile = Mid(sFile,1,len(sFile)-4) & ".pdf"

	dim args0(0) as new com.sun.star.beans.PropertyValue
	args0(0).Name = "Hidden"
	args0(0).Value = True
	document = StarDesktop.loadComponentFromURL( "file://" & sPath & "/" & sFile, "_blank", 0, args0())

	dispatcher = createUnoService("com.sun.star.frame.DispatchHelper")

	dim args1(2) as new com.sun.star.beans.PropertyValue
	args1(0).Name = "URL"
	args1(0).Value = "file://" & sPath & "/" & sOutFile
	args1(1).Name = "FilterName"
	args1(1).Value = "calc_pdf_Export"
	args1(2).Name = "FilterData"
	args1(2).Value = Array(Array("UseLosslessCompression",0,false,com.sun.star.beans.PropertyState.DIRECT_VALUE))

	dispatcher.executeDispatch(document.CurrentController.Frame, ".uno:ExportToPDF", "", 0, args1())
	document.close(False)

End Function

Hi, it should be possible to open a spreadsheet using PyOO and export it to PDF.
Something like the following code should work:
import pyoo
desktop = pyoo.Desktop('localhost', 2002)
doc = desktop.open_spreadsheet("/path/to/example.ods")
doc.save('/path/to/example.pdf', pyoo. FILTER_CALC_PDF_EXPORT)

The above example assumes that you have python-uno installed properly, Calc running, and that you are able to connect to it. That can be slightly troublesome at first.

Confirmed Thanks!
Small tweaks: Typo fixed (pyoo.FILTER_CALC_PDF_EXPORT) and added close().
import pyoo
desktop = pyoo.Desktop('localhost', 2002)
doc = desktop.open_spreadsheet("/path/to/example.ods")
doc.save('/path/to/example.pdf', pyoo.FILTER_CALC_PDF_EXPORT)
doc.close()


COMMONSRDF-66:  fixes RIOT exception in JenaDatasetImpl

Lang.NT is not supported by registryDataset.  Opts for Lang.NQUADS as a default replacement.
adds test

Please, rebase this PR on top of the current HEAD of master.

CI error is currently noted by Travis as an open issue.

LGTM


can I use placeholder(None,None,3)to feed images or render image with unknown size

Hi,
I want to render images with different size by making multiple calls to rasterise , and use placeholder (None,None,3)to feed image or read from file, but it seems that dirt needs to konw the size of image  before feed image.I want to keep the raw size of images, rather than resize them to a same size,Did I do something wrong? or is there any way to do that?

I find you write this in rasterise_ops.py:

height: a python int specifying the frame height; may be None if background has static shape
width: a python int specifying the frame width; may be None if background has static shape
channels: a python int specifying the number of color channels; may only be 1or 3. Again this may be None if background has static shape

But in my case ,I read the image and its shape from a tfrecord file, so the shape of image is tf.int type.Do you have any suggestions?

Currently it is not possible for the output shape to be dynamic -- as you read in the docstring, it must be given as a python integer, or defined by the static shape of background.
The usual solution would just be to resize the input images to a standard size (usually one wants this anyway so they can be put in batches). Alternatively, you can render at a (fixed) higher resolution, then downsample different renderings to different sizes in tf.

Thank you~ And can tensorflow eager mode be used with dirt to solve this problem?

Yes, in theory, but it will be very resource-intensive, as every time a call to rasterise is made with a new image size, it'll allocate a new OpenGL context (and won't deallocate it afterwards). You can try and see what happens though.
An alternative solution, if you know/fix the maximum possible image size (or a size beyond which you decide just to resize down), is to pass that large size to rasterise, but modify the projection matrix to render the object in the top-left area of the image. Then, crop afterwards in tf to match the input image. The modified projection matrix would have to have different x/y diagonal elements (scaled according to the image size), and non-zero x/y translation (to shift the camera centre to somewhere nearer the top left).

Thanks,I'll try them. I think we can close the issue


Include module documentation

Modules share common parameters. The documentation of shared parameters is repeated in each *Doc.xml file.

Changed XMLDocumentationResourceBundleControl to replace <include-doc> elements with files in the JAR. These files are named *ParamsDoc.xml.
2634c83e11d77b43e244e576caa3410264813782
Documentation for base classes, and update for all modules: 9968ebef8cff560213027b59c4d4214593b6183b