[SUGGESTION] Saving ADQL Queries

Is your feature request related to a problem? Please describe.
When using ADQL to search through TAP, it would be very helpful to be able to save personal queries which currently does not exist. This kind of feature would be most useful for time domain, so that a query can be used repeatedly in search for various kinds of objects.
Describe the solution you'd like
A tab or list of queries that I have written and named to call upon and run, tied to my account. The idea is to not have to re-enter the ADQL query every time I would like to use it.
Describe alternatives you've considered
If a saved query option is not possible, a tab that presents previously run queries would also be useful! Additionally, it may be helpful in the future to be able to share those queries.
Thank you for your consideration!

Hi, Daniel,
Thank you for taking the time to post this after raising the point in our kick-off session.  We benefit from getting users' feedback on the record, whether it's a report of a problem, a suggestion for something new, or a confirmation of interest in something that's still in our plan.  Resources are limited, so all input to prioritization is welcome.
In this case, we already shared your desires, and we do in fact have requirements on the Science Platform to provide something very much like what you have in mind:

A query history maintained for, and private to, each user;
A facility to review/search that history, and to re-execute queries upon request; and
A capability to explicitly save favorite queries, outside that query history, for future re-use and for sharing with others.

These facilities will be provided in future releases of the Science Platform.  Some or all of them may be available in future Data Previews, in advance of the Rubin Observatory operational era.  The detailed schedule for this is still under review, which is one of the reasons we welcome your feedback.
For further details, you can consult the Data Management requirements (document LSE-61) and the Science Platform requirements (LDM-554), and in particular these requirements:

Query Repeatability, DMS-REQ-0291
Logging of Catalog Queries, DMS-REQ-0345
Query History Retrieval, DMS-API-REQ-0038
Query Specification Retrieval, DMS-API-REQ-0040
Query History Inspection, DMS-PRTL-REQ-0013
Query Saving - Portal, DMS-PRTL-REQ-0014

@gpdf and @frossie, could this issue be closed, as it is functionality that is planned to exist in the future?

This is still on the list, but is not imminent during Data Preview 0.


Add Moving MNIST dataset

🚀 The feature
I would like to add MovingMNIST dataset.
Motivation, pitch
A lot of people uses Moving MNIST dataset for evaluating their proposed models according to PaperWithCode.
Alternatives
No response
Additional context
I've implemented Movning MNIST dataset in my personal project. So I would like to make a PR based on this.
I checked https://github.com/pytorch/vision/issues/3562 and https://github.com/pytorch/vision/pull/2690.
@pmeier @yassineAlouini
From this comment in https://github.com/pytorch/vision/pull/2690, I might should add to torchvision/prototype/datasets/_builtin. So where should I add Moving MNIST dataset ?
cc @pmeier

Hey @tsugumi-sys, sorry for the late reply. Yes, we would accept a PR adding the dataset! Fortunately for this, the prototype datasets are currently on hold and so you can add it to torchvision.datasets directly. Meaning, we can probably re-use most of what you already implemented.
I've skimmed your linked implementation and it seems this is going into the right direction. In https://github.com/pytorch/vision/pull/2690#pullrequestreview-493281279 I had quite a few concerns regarding the first draft of the other PR. Please make sure to address them on yours.


VS code doesn't launch in Ubuntu 1804

VSCode Version: 1.29 (Downloaded on Nov-29-2018)
OS Version: Ubunut 1804

After installing, when tired to launch code, it opens up and then hangs as shown below

Even after disabling the extensions it still has the same issue.
Thanks

Note, I installed an older version of vscode (v1.20) and it seems to work.

@vkotaru can you open devtools (Help > Toggle Developer Tools) and check the console for errors?

It looks like there's some exception during launch so I was hoping the menu would be available. Something else you could try is launch using code --verbose to see if the problem shows up in the output.

Here is the output. Not sure what I'm looking for
[main 12:42:02 PM] Starting VS Code
[main 12:42:02 PM] from: /usr/share/code/resources/app
[main 12:42:02 PM] args: { _: [],
  help: false,
  h: false,
  version: false,
  v: false,
  wait: false,
  w: false,
  diff: false,
  d: false,
  add: false,
  a: false,
  goto: false,
  g: false,
  'new-window': false,
  n: false,
  'unity-launch': false,
  'reuse-window': false,
  r: false,
  'open-url': false,
  performance: false,
  p: false,
  'prof-startup': false,
  verbose: true,
  logExtensionHostCommunication: false,
  'disable-extensions': false,
  disableExtensions: false,
  'list-extensions': false,
  'show-versions': false,
  nolazy: false,
  issue: false,
  'skip-getting-started': false,
  'skip-release-notes': false,
  'sticky-quickopen': false,
  'disable-restore-windows': false,
  'disable-telemetry': false,
  'disable-updates': false,
  'disable-crash-reporter': false,
  'skip-add-to-recently-opened': false,
  status: false,
  s: false,
  'file-write': false,
  'file-chmod': false,
  'driver-verbose': false,
  trace: false }
[main 12:42:02 PM] Resolving machine identifier...
[main 12:42:02 PM] Resolved machine identifier: 84577c20d0712d7f3bf196a080d95e1bb035b6b35eef7524f3769b575c213f14
[main 12:42:02 PM] update#setState idle
[main 12:42:02 PM] windowsManager#open
[main 12:42:02 PM] telemetry/optInStatus { optIn: true }
[8858:1205/124203.079253:INFO:CONSOLE(1445)] "%cTRACE", source: file:///usr/share/code/resources/app/out/vs/workbench/workbench.main.js (1445)
[8858:1205/124203.086603:INFO:CONSOLE(5)] "[uncaught exception]: Error: EACCES: permission denied, mkdir '/home/kotaru/.config/Code/User/workspaceStorage/1544042495486'", source: /usr/share/code/resources/app/out/bootstrap-window.js (5)
[8858:1205/124203.086631:INFO:CONSOLE(5)] "Error: EACCES: permission denied, mkdir '/home/kotaru/.config/Code/User/workspaceStorage/1544042495486'", source: /usr/share/code/resources/app/out/bootstrap-window.js (5)
[ [ [ [Object], [Array] ],
    { Error: EACCES: permission denied, unlink '/home/kotaru/.config/Code/logs/20181017T222514/main.log'
      errno: -13,
      code: 'EACCES',
      syscall: 'unlink',
      path: '/home/kotaru/.config/Code/logs/20181017T222514/main.log' },
    [ [Object], [Object] ],
    { Error: EACCES: permission denied, unlink '/home/kotaru/.config/Code/logs/20181017T222514/renderer1.log'
      errno: -13,
      code: 'EACCES',
      syscall: 'unlink',
      path: '/home/kotaru/.config/Code/logs/20181017T222514/renderer1.log' },
    { Error: EACCES: permission denied, unlink '/home/kotaru/.config/Code/logs/20181017T222514/sharedprocess.log'
      errno: -13,
      code: 'EACCES',
      syscall: 'unlink',
      path: '/home/kotaru/.config/Code/logs/20181017T222514/sharedprocess.log' },
    { Error: EACCES: permission denied, unlink '/home/kotaru/.config/Code/logs/20181017T222514/telemetry.log'
      errno: -13,
      code: 'EACCES',
      syscall: 'unlink',
      path: '/home/kotaru/.config/Code/logs/20181017T222514/telemetry.log' } ] ]
[main 12:42:32 PM] update#checkForUpdates, state =  idle
[main 12:42:32 PM] update#setState checking for updates
[main 12:42:32 PM] RequestService#request https://update.code.visualstudio.com/api/update/linux-x64/stable/bc24f98b5f70467bc689abf41cc5550ca637088e
[main 12:42:32 PM] telemetry/update:notAvailable { explicit: false }
[main 12:42:32 PM] update#setState idle

This is extremely late but you have issues with read access in your home directory, VS Code cannot read it's own config files so it breaks during launch.


Bug: Shnaton parser is insensitive to changes if a course is already in cache

There is no mechanism that checks if an html file of a course was changed after we toke and store it.
I didn't see where we re-download the files that already in cache. It is not necessarily in touch to the parser, probably should be done in a separate script.

You a correct, that is a good point. The cache was originally made for quick development purposes, and not for production. This needs to be addresses.


Cppwinrt projection will never be regenerated even if inputs change

Once generate_winrt_projection has run for a given CPPWINRT_PROJECTION_ROOT_PATH, it will never regenerate headers even if the inputs change. For example, if one of the inputs is a .winmd that comes from another target (or perhaps a nuget package), even if that .winmd is updated or if a different input path is specified (e.g. to a new version of the nuget that has been installed), the projection will be stale until someone manually deletes the old one. (This may be better to address holistically as part of #27.)
https://github.com/MarkSchofield/Toolchain/blob/c789b4b58f995cb401f2f290447c3d0c4fd6c91b/Support/CppWinRT.cmake#L57

.winmd files passed to add_cppwinrt_projection will trigger a re-projection when they change.


Look at discounting the "Loading" screen on the map for single updates

Multiple browsers accessing a map will update with any changes made by others. When these small updates happen, the "loading" screen with grayed-out map should not kick in.

Is this still an issue?


SimpleITK 2.2 has incomplete type definitions

With SimpleITK 2.2 the release notes state:

Improved types for manual Python procedural methods: Resample, GetArrayFromImage, GetImageFromArray, GetArrayViewFromImage, ReadImage, WriteImage, SmoothingRecursiveGaussian, DiscreteGaussian.

However, with this d0708d084a265de775c96214301188013eb2e3c2 commit a py.typed was added, which indicates that the whole Package is fully typed. Since most of the symbols are exported from C++, the package is not fully typed and mypy complains with stricter settings.
Here is a minimal example script for type checking:
import SimpleITK as sitk

def foo() -> sitk.Image:
    reader = sitk.ImageSeriesReader()
    # ...
    return reader.Execute()

if __name__ == '__main__':
    foo()

python 3.8-3.10 / SimpleITK==2.2
❯ mypy .
Success: no issues found in 1 source file
❯ mypy --disallow-untyped-calls --warn-return-any .
main.py:5: error: Call to untyped function "ImageSeriesReader" in typed context
main.py:7: error: Call to untyped function "Execute" in typed context
main.py:7: error: Returning Any from function declared to return "Image"
Found 3 errors in 1 file (checked 1 source file)

python 3.8-3.10 / SimpleITK==2.2 / rm .venv/lib/python3.8/site-packages/SimpleITK/py.typed
❯ mypy --disallow-untyped-calls --warn-return-any .
main.py:1: error: Skipping analyzing "SimpleITK": module is installed, but missing library stubs or py.typed marker
main.py:1: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
Found 1 error in 1 file (checked 1 source file)
❯ mypy --disallow-untyped-calls --warn-return-any --ignore-missing-imports .
Success: no issues found in 1 source file

python 3.8-3.10 / SimpleITK==<IP_ADDRESS>
❯ mypy --disallow-untyped-calls --warn-return-any .
main.py:1: error: Skipping analyzing "SimpleITK": module is installed, but missing library stubs or py.typed marker
main.py:1: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
Found 1 error in 1 file (checked 1 source file)
❯ mypy --disallow-untyped-calls --warn-return-any --ignore-missing-imports .
Success: no issues found in 1 source file

I think due to the py.typed file, the default import behavior of untyped symbols is altered. Normally, untyped symbols will be imported with Any types for compatibility reasons. In this case, however, it seems like no Any types are added at all, because the package declares itself as fully typed.
So in my opinion we have two options:

Remove py.typed in order to only provide partial type hints for the few pure Python functions specified in the wrapper package.
Add stub files (.pyi) and fully specify the whole API.

/cc @giuliabaldini

It seems that the current setup is not compatible with the "--disallow-untyped-calls" option. It's not clear if there is significant benefit to the community for that feature. Perhaps there is away to add some type of partial type support with stubs?
https://peps.python.org/pep-0561/#partial-stub-packages
This also may not be compatible with the strictness you are requesting for mypy.


Update scalatest to 3.0.8-RC1

Updates org.scalatest:scalatest from 3.0.6-SNAP5 to 3.0.8-RC1.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention @scala-steward in the comments below.
Have a nice day!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [{ groupId = "org.scalatest", artifactId = "scalatest" }]

Codecov Report

Merging #67 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #67   +/-   ##
=======================================
  Coverage   99.11%   99.11%
=======================================
  Files           4        4
  Lines         113      113
  Branches        3        3
=======================================
  Hits          112      112
  Misses          1        1

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 16f8578...5e27db7. Read the comment docs.


Add openmpi package

Based on:

https://github.com/conda-forge/openmpi-feedstock/tree/master/recipe
https://github.com/rpmuller/conda-recipes/tree/master/openmpi

Needed for swift-t.

Thank you.


[DOCKER] Switch from yes|apt-get to apt-get -y

The yes | apt-get idom guarantees that the 'yes' process always exists
with exit code 141 (pipe broken).  This is fine while the script
generally ignores failures but won't work when the script behaviour is
tightened to robustly catch errors.

Superceeded


License updates for dependabot/bundler/licensee-eq-9.16.0

This PR was auto generated by the licensed-ci GitHub Action.
It contains updates to cached github/licensed dependency metadata to be merged into dependabot/bundler/licensee-eq-9.16.0: (branch, PR).
The licensed-ci action will add comments to this PR with the status of license checks.  Please make any changes needed to fix any status failures on this branch, then merge license updates into your branch.
If updates are unexpected, please check the github/licensed changelog for recent updates.

The licensed-ci GitHub Action updated cached license metadata based on changes to dependabot/bundler/licensee-eq-9.16.0: (branch, PR).
licensed status result: SUCCEEDED
All status checks succeeded, please merge when ready.
Checking cached dependency records for licensed
..................................
34 dependencies checked, 0 errors found.

/cc @dependabot[bot]


Cannot call function under prange

Hi,
I tried to use Numba parallel for a loop for which function calls are made inside (of the loop). I Have boiled the problem down to the following code:
from numba import jit, prange, int64

@jit(int64(int64, int64),nopython=True)
def sum(a,b):
    return a + b

@jit(int64(int64, int64),nopython=True)
def run_program(N,M):
    total = 0.0
    for i in range(0, N):
        for j in range(0, M):
            total += sum(i,j)
    return total

@jit(int64(int64, int64), nopython=True, parallel=True)
def run_program_parallel_1(N,M):
    total = 0.0
    for i in prange(0, N):
        for j in range(0, M):
            total += i + j
    return total

@jit(int64(int64, int64), nopython=True, parallel=True)
def run_program_parallel_2(N,M):
    total = 0.0
    for i in prange(0, N):
        for j in range(0, M):
            total += sum(i, j)
    return total

N = 1000
M = 2000
print(run_program(N, M))
print(run_program_parallel_1(N,M))
print(run_program_parallel_2(N,M))

I tried to run the code from the windows linux subsystem.  And got the error:
AttributeError: Failed at nopython (convert to parfors)
'Integer' object has no attribute 'dtype'

The functions run_program( ) and run_program_parallel_1( ) works fine, but the last function (run_program_parallel_2( )) gives the error.  Maybe Numba Parallel is not supposed to support this yet? Anyway I couldn't find any answer by the use of google, and though I would therefore report it as an issue.

Thanks for the report. This appears to be fixed on the master branch (I'm working from a branch based on master at present and get the following). The soon to be released version 0.36 will contain the fix.
from numba import jit, prange, int64
import numba

@jit(int64(int64, int64),nopython=True)
def sum(a,b):
    return a + b

@jit(int64(int64, int64),nopython=True)
def run_program(N,M):
    total = 0.0
    for i in range(0, N):
        for j in range(0, M):
            total += sum(i,j)
    return total

@jit(int64(int64, int64), nopython=True, parallel=True)
def run_program_parallel_1(N,M):
    total = 0.0
    for i in prange(0, N):
        for j in range(0, M):
            total += i + j
    return total

@jit(int64(int64, int64), nopython=True, parallel=True)
def run_program_parallel_2(N,M):
    total = 0.0
    for i in prange(0, N):
        for j in range(0, M):
            total += sum(i, j)
    return total

N = 1000
M = 2000

print(numba.__version__)
print(run_program(N, M))
print(run_program_parallel_1(N,M))
print(run_program_parallel_2(N,M))

output:
0.36.0.dev+414.g75f8881
2998000000
2998000000
2998000000


WRO-6250: Fix ui test fail on jenkins(VirtualGridList, Drawer)

Enact-DCO-1.0-Signed-off-by: Dongsu Won<EMAIL_ADDRESS>Checklist

[x] I have read and understand the contribution guide
[ ] A CHANGELOG entry is included
[x] At least one test case is included for this feature or bug fix
[x] Documentation was added or is not needed
[ ] This is an API breaking change

Issue Resolved / Feature Added

Need to change scrollTo() api to work after setState.
Need to add delay for drawer ui-test.

Resolution

Change scrollTo() api to work after setState.
Add delay for drawer ui-test.

Additional Considerations
Links
WRO-6250
Comments

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


improving the placement of namaste sarthi in different layouts

🖥 Frontend Issue
Description

Steps to Reproduce

Go to '...'
Click on '...'
See error '...'

[x] Yes
[ ] No

Great @sweta123761
This is your first time open source contribution i think ....
Just make sure to add some discription also and add relevant screenshot for better understanding
Assigning you
Leeeesss gooo ...
Please update me with work within 24 hours

ok thankyou


Make tokenizers compatible for Python 3.13 compatibility

Refs:

https://github.com/anthropics/anthropic-sdk-python/issues/718

It looks like CI tests don't run against different Python versions at the moment - I ran these tests against Python 3.13 on my laptop like this:
cd anthropic-sdk-python
uv venv --python 3.13
./scripts/mock --daemon # Start mock server
uv run pytest

Since this PR makes the tokenizers package optional (which is the thing blocking a Python 3.13 release) the legacy, undocumented count_tokens() method now does this:
>>> import anthropic
>>> client = anthropic.Anthropic()
>>> client.count_tokens("hi")
Traceback (most recent call last):
  File "<python-input-3>", line 1, in <module>
    client.count_tokens("hi")
    ~~~~~~~~~~~~~~~~~~~^^^^^^
  File "/Users/simon/Dropbox/Development/anthropic-sdk-python/src/anthropic/_client.py", line 281, in count_tokens
    tokenizer = self.get_tokenizer()
  File "/Users/simon/Dropbox/Development/anthropic-sdk-python/src/anthropic/_client.py", line 286, in get_tokenizer
    return sync_get_tokenizer()
  File "/Users/simon/Dropbox/Development/anthropic-sdk-python/src/anthropic/_tokenizers.py", line 41, in sync_get_tokenizer
    return _load_tokenizer(text)
  File "/Users/simon/Dropbox/Development/anthropic-sdk-python/src/anthropic/_tokenizers.py", line 29, in _load_tokenizer
    from tokenizers import Tokenizer
ModuleNotFoundError: No module named 'tokenizers'

I think that's OK. Running pip install tokenizers (not on Python 3.13) fixes that.
Also, that method is presumably undocumented for a reason: it uses an old Claude 2 tokenizer. I wish there WAS a way to count tokens for Claude 3 and 3.5 but there currently is not!

Thanks for the PR! I agree it just does make more sense for tokenizers to be an optional dependency but it is a breaking change so I'm checking if we have any sense of how many people are using .count_tokens() & if this is an acceptable breakage

looks like the tests are failing because tokenizers needs to be added as a dev dep now

Now that Claude has an official API version of count tokens the count_tokens() method that uses tokenizers is even less necessary:

#721

Thanks for the PR Simon, we've decided to just completely remove client.count_tokens() in favour of the new client.beta.messages.count_tokens() method in the next release.

We've also dropped support for Python 3.7 and Python 3.13 should now be supported! Really appreciate the PR!


Smart Moving/RenderPlayerAPI Support (Fix suggested in post)

Hey Aidan, I was wondering if you could add support for smart moving render?
(When I say that I don't mean the smart moving mod, just RenderPlayerAPI)
This is what Divisor said about supporting it:

The solution to this problem is that every mod that uses Minecraft Forge's"Item.getArmorModel" hook returns a "api.player.model.ModelPlayer" with Smart Moving friendly coding instead of a"net.minecraft.client.model.ModelBiped" in case Render Player API is present.

Machine Muse was able to get it working with modular powersuits quite well. here is the ticket that we made to get it fixed:
https://github.com/MachineMuse/MachineMusePowersuits/issues/463
I think There is info in that post about how smart moving needs to be hooked to the player, might be useful or not..
Here is some source code links that might help:
https://github.com/MachineMuse/MachineMusePowersuits/blob/master/src/minecraft/net/machinemuse/powersuits/client/render/item/SMovingArmorModel.scala
https://github.com/MachineMuse/MachineMusePowersuits/blob/master/src/minecraft/api/player/model/ModelPlayer.java
Here is a link to RenderPlayerAPI: http://www.minecraftforum.net/topic/1261354-172api-render-player-api/
If you could fix this, I would be so happy! But If not il try living with these picture:
https://www.dropbox.com/sh/4gmiw5trvtei5gt/Zc9SHduW3X
Basically the jetpack (or any model added to the player) will face north always unless hooked into RenderPlayerAPI if it is present.

I would Love to see Nelson work with smart moving! The jetpack looks bad when smart moving is installed

@Razorskills, could I have an update on this?  I'd love to add Smart Moving support, but I wouldn't be surprised if RenderPlayerAPI changed again since 1.6.4.

@aidancbrady There is some discussion here on the topic: https://github.com/Tonius/SimplyJetpacks/issues/84
I will have to look into it some more though

This would be so nice. There are a few mods supporting smart moving , and if this supported it it would mean mod pack devs would be that much closer to being able to include smart moving in their packs .

I think I'm going to have to close this - it seems like too much effort for compatible with only one mod.  I will happily accept a PR though that includes a fix.


BTCPay Server LND Integration - Getting:  Err: connection error: desc = "transport: authentication handshake failed: x509: certificate is valid for 20dd29e00e8f

Expected behavior
Issue could be similar to this one, but appears that there is an issue with the TLS cert only, so raising a new one.
Have setup lightning terminal as per this docker-compose file.  LND is already running in the same docker-compose stack and its volume is mounted at lnd_bitcoin_datadir: - this is part of a standard BTCPay Server installation.  I would like to intregrate into that, and eventually make a PR to make this standard in BTCPay Server after I get it working here.
After reading all the docs, I would expect this compose file to work well:
version: "3.7"

x-logging:
  &default-logging
  driver: journald

services:
  lightning_terminal:
    container_name: lightning_terminal
    image: lightninglabs/lightning-terminal:v0.4.1-alpha@sha256:624376ebaf286cf7118ca271ed43fb852be4aad814c1f4f6a56634f673671a4a
    #user: "1000:1000"
    logging: *default-logging
    restart: on-failure
    stop_grace_period: 1m
    ports:
      - "3004:3004"
    volumes:
      - lightningterminaldir:/data
      - lnd_bitcoin_datadir:/lnd:ro
    environment:
      HOME: "/data"
    command:
        - --insecure-httplisten=<IP_ADDRESS>:3004
        - --network="mainnet"
        - --lnd-mode="remote"
        - --uipassword=REDACTED
        - --remote.lnd.rpcserver=btcpayserver_lnd_bitcoin:10009
        - --remote.lnd.macaroonpath="/lnd/admin.macaroon"
        - --remote.lnd.tlscertpath="/lnd/tls.cert"

# Need 10009 for RPC connection, so this will expose port 10009 on the BTCPay LND instance
  lnd_bitcoin:
    expose:
      - "10009"

# use docker native volumes
volumes:
  lightningterminaldir:
  lnd_bitcoin_datadir:

Actual behavior
Connection to LND node fails with error displaying startup info: error querying remote node : rpc error: code = Unavailable desc = connection error: desc = "transport: authentication handshake failed: x509: certificate is valid for 20dd29e00e8f, localhost, lnd_bitcoin, unix, unixpacket, bufconn, not btcpayserver_lnd_bitcoin"
It seems that the TLS cert is being read, but is invalid, and only valid for the container name itself, and not for the docker container IP address, but I am not sure, and would like help as to how to overcome this.
To reproduce
Run latest LND (my version is docker image btcpayserver/lnd:v0.12.1-beta-15s ), and try to use the above compose file to connect to it.
System information
LND is the latest one in BTCPay Server (standard latest BTCPay stack)

Debian 10

Full log:
error displaying startup info: error querying remote node : rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp <IP_ADDRESS>:10009: connect: connection refused"
2021-04-30 12:45:27.472 [INF] LITD: Dialing lnd gRPC server at btcpayserver_lnd_bitcoin:10009
2021-04-30 12:45:27.481 [WRN] GRPC: grpc: addrConn.createTransport failed to connect to {btcpayserver_lnd_bitcoin:10009  <nil> 0 <nil>}. Err: connection error: desc = "transport: authentication handshake failed: x509: certificate is valid for 20dd29e00e8f, localhost, lnd_bitcoin, unix, unixpacket, bufconn, not btcpayserver_lnd_bitcoin". Reconnecting...
2021-04-30 12:45:27.709 [INF] LITD: Listening for http_tls on: <IP_ADDRESS>:8443
2021-04-30 12:45:27.709 [INF] LITD: Listening for http on: [::]:3004
error displaying startup info: error querying remote node : rpc error: code = Unavailable desc = connection error: desc = "transport: authentication handshake failed: x509: certificate is valid for 20dd29e00e8f, localhost, lnd_bitcoin, unix, unixpacket, bufconn, not btcpayserver_lnd_bitcoin"
2021-04-30 12:45:27.713 [WRN] GRPC: grpc: addrConn.createTransport failed to connect to {btcpayserver_lnd_bitcoin:10009  <nil> 0 <nil>}. Err: connection error: desc = "transport: authentication handshake failed: x509: certificate is valid for 20dd29e00e8f, localhost, lnd_bitcoin, unix, unixpacket, bufconn, not btcpayserver_lnd_bitcoin". Reconnecting...
2021-04-30 12:45:27.713 [INF] SGNL: Received shutdown request.
2021-04-30 12:45:27.713 [INF] SGNL: Shutting down...
2021-04-30 12:45:27.713 [INF] SGNL: Gracefully shutting down.

You need to add the following flag to lnd and re-create the TLS key/cert: --tlsextradomain=btcpayserver_lnd_bitcoin.
If you have a config file only, add it there as tlsextradomain=btcpayserver_lnd_bitcoin.
To re-create the TLS key/cert, either delete the tls.key and tls.cert files of lnd manually and restart or use --tlsautorefresh (tlsautorefresh=true in the config file) in combination with the extra domain param.

@guggero when you say flag, do you mean add as a command in the LND docker-compose file like this?:
lnd_bitcoin:
  expose:
    - "10009"
  command:
      - --tlsextradomain=btcpayserver_lnd_bitcoin

Yes, exactly. Don't forget to delete the cert/key files and restart, otherwise this won't have an effect unless you also add --tlsautorefresh and restart.


getFlags overflow

Forge: <IP_ADDRESS>7
Mod version: remoteio-1.7.10-1.8.1.b84-universal
Other mods: http://tinyurl.com/wwpack
http://pastebin.com/LrWb1FvN
Not exactly sure why this one is crashing crazy... Maybe you'll get something out of this?

The way this crashed happen was you take two remote interfaces and place them both down. Then you take 2 AE2 transfer cards and put one in each interface. Then get a location card and store the location of one of them, then try to like it to the other one.

Uhh, you're linking blocks to each other, so that they each reference the other. How did you expect this not to crash? Don't do this.

Well this seems like a major problem still... You're basically saying "Oh well don't put my mod on a server because anyone can use it to corrupt the world, making it completely unable to load, if they're being malicious or are curious about linking two things together"
Isn't there a way to say
if (Block.getByLocation(linkCardX, linkCardY, linkCardZ) == remoteInterfact) { return false and make me flash orange instead of crashing everything? }


Got 'too many open files' and 'Operation now in progress' error when Netopeer2-server callhome

Hi Michal,
If the callhome address is configured as a non-accessed address, After a while, netopeer2-server will report "Bad file descriptor" error.,I have tried this patch and occasionally I get 'Operation now in progress' wrong.
log as fllow :
[INF]: LN: Call Home client "default-client" connecting...
[INF]: LN: Trying to connect via IPv4 to <IP_ADDRESS>:4334.
[INF]: LN: Successfully connected to <IP_ADDRESS>:4334 over IPv4.
[INF]: SR: Session 165 (user "root") created.
[ERR]: LN: SSH key exchange timeout.
[INF]: LN: Trying to connect via IPv4 to <IP_ADDRESS>:4334.
[INF]: LN: Timed out after 5s (Operation now in progress).
[INF]: LN: Trying to connect the pending socket=34.
[INF]: LN: Timed out after 5s (Operation now in progress).
[INF]: LN: Trying to connect the pending socket=34.
[INF]: LN: Timed out after 5s (Operation now in progress).
[INF]: LN: Trying to connect the pending socket=34.
[INF]: LN: Timed out after 5s (Operation now in progress).
[INF]: LN: Trying to connect the pending socket=34.
[INF]: LN: Timed out after 5s (Operation now in progress).
[INF]: LN: Trying to connect the pending socket=34.
[INF]: LN: Timed out after 5s (Operation now in progress).
[INF]: LN: Trying to connect the pending socket=34.
[INF]: LN: Timed out after 5s (Operation now in progress).
[INF]: LN: Trying to connect the pending socket=34.
[INF]: LN: Timed out after 5s (Operation now in progress).
[INF]: LN: Trying to connect the pending socket=34.
[INF]: LN: Timed out after 5s (Operation now in progress).
[INF]: LN: Trying to connect the pending socket=34.
[INF]: LN: Timed out after 5s (Operation now in progress).
[INF]: LN: Trying to connect the pending socket=34.
[INF]: LN: Timed out after 5s (Operation now in progress).
[INF]: LN: Trying to connect the pending socket=34.
[INF]: LN: Timed out after 5s (Operation now in progress).
[INF]: LN: Trying to connect the pending socket=34.
[INF]: LN: Timed out after 5s (Operation now in progress).
[INF]: LN: Trying to connect the pending socket=34.
[INF]: LN: Timed out after 5s (Operation now in progress).
[INF]: LN: Trying to connect the pending socket=34.
[INF]: LN: Timed out after 5s (Operation now in progress).
[INF]: LN: Trying to connect the pending socket=34.
[INF]: LN: Timed out after 5s (Operation now in progress).
[INF]: LN: Trying to connect the pending socket=34.
[INF]: LN: Timed out after 5s (Operation now in progress).
[INF]: LN: Trying to connect the pending socket=34.
[INF]: LN: Timed out after 5s (Operation now in progress).
[INF]: LN: Trying to connect the pending socket=34.
[INF]: LN: Timed out after 5s (Operation now in progress).
[INF]: LN: Trying to connect the pending socket=34.
[INF]: LN: Timed out after 5s (Operation now in progress).
[INF]: LN: Trying to connect the pending socket=34.
[INF]: LN: Timed out after 5s (Operation now in progress).
[INF]: LN: Trying to connect the pending socket=34.
[INF]: SR: Session 211 (user "root") created.
[ERR]: LN: SSH key exchange timeout.
[INF]: LN: Trying to connect via IPv4 to <IP_ADDRESS>:4334.
[INF]: LN: Timed out after 5s (Operation now in progress).
[INF]: LN: Trying to connect the pending socket=34.
[INF]: LN: Timed out after 5s (Operation now in progress).
[INF]: LN: Trying to connect the pending socket=34.
[INF]: LN: Timed out after 5s (Operation now in progress).
[INF]: LN: Trying to connect the pending socket=34.
[INF]: SR: Session 221 (user "root") created.
[ERR]: LN: SSH key exchange timeout.

Is there a problem with this patch?What do you suggest?
Best regards,
thanks.

Hi Michal,
If the callhome address is configured as a non-accessed address, After a while, netopeer2-server will report "Bad file descriptor" error.,I have tried this patch and occasionally I get 'Operation now in progress' wrong.
log as fllow :
[INF]: LN: Call Home client "default-client" connecting...
[INF]: LN: Trying to connect via IPv4 to <IP_ADDRESS>:4334.
[INF]: LN: Successfully connected to <IP_ADDRESS>:4334 over IPv4.
[INF]: SR: Session 165 (user "root") created.
[ERR]: LN: SSH key exchange timeout.
[INF]: LN: Trying to connect via IPv4 to <IP_ADDRESS>:4334.
[INF]: LN: Timed out after 5s (Operation now in progress).
[INF]: LN: Trying to connect the pending socket=34.
[INF]: LN: Timed out after 5s (Operation now in progress).
[INF]: LN: Trying to connect the pending socket=34.
[INF]: LN: Timed out after 5s (Operation now in progress).
[INF]: LN: Trying to connect the pending socket=34.
[INF]: LN: Timed out after 5s (Operation now in progress).
[INF]: LN: Trying to connect the pending socket=34.
[INF]: LN: Timed out after 5s (Operation now in progress).
[INF]: LN: Trying to connect the pending socket=34.
[INF]: LN: Timed out after 5s (Operation now in progress).
[INF]: LN: Trying to connect the pending socket=34.
[INF]: LN: Timed out after 5s (Operation now in progress).
[INF]: LN: Trying to connect the pending socket=34.
[INF]: LN: Timed out after 5s (Operation now in progress).
[INF]: LN: Trying to connect the pending socket=34.
[INF]: LN: Timed out after 5s (Operation now in progress).
[INF]: LN: Trying to connect the pending socket=34.
[INF]: LN: Timed out after 5s (Operation now in progress).
[INF]: LN: Trying to connect the pending socket=34.
[INF]: LN: Timed out after 5s (Operation now in progress).
[INF]: LN: Trying to connect the pending socket=34.
[INF]: LN: Timed out after 5s (Operation now in progress).
[INF]: LN: Trying to connect the pending socket=34.
[INF]: LN: Timed out after 5s (Operation now in progress).
[INF]: LN: Trying to connect the pending socket=34.
[INF]: LN: Timed out after 5s (Operation now in progress).
[INF]: LN: Trying to connect the pending socket=34.
[INF]: LN: Timed out after 5s (Operation now in progress).
[INF]: LN: Trying to connect the pending socket=34.
[INF]: LN: Timed out after 5s (Operation now in progress).
[INF]: LN: Trying to connect the pending socket=34.
[INF]: LN: Timed out after 5s (Operation now in progress).
[INF]: LN: Trying to connect the pending socket=34.
[INF]: LN: Timed out after 5s (Operation now in progress).
[INF]: LN: Trying to connect the pending socket=34.
[INF]: LN: Timed out after 5s (Operation now in progress).
[INF]: LN: Trying to connect the pending socket=34.
[INF]: LN: Timed out after 5s (Operation now in progress).
[INF]: LN: Trying to connect the pending socket=34.
[INF]: LN: Timed out after 5s (Operation now in progress).
[INF]: LN: Trying to connect the pending socket=34.
[INF]: SR: Session 211 (user "root") created.
[ERR]: LN: SSH key exchange timeout.
[INF]: LN: Trying to connect via IPv4 to <IP_ADDRESS>:4334.
[INF]: LN: Timed out after 5s (Operation now in progress).
[INF]: LN: Trying to connect the pending socket=34.
[INF]: LN: Timed out after 5s (Operation now in progress).
[INF]: LN: Trying to connect the pending socket=34.
[INF]: LN: Timed out after 5s (Operation now in progress).
[INF]: LN: Trying to connect the pending socket=34.
[INF]: SR: Session 221 (user "root") created.
[ERR]: LN: SSH key exchange timeout.

Is there a problem with this patch?What do you suggest?
Best regards,
thanks.

So this happens only sometimes? Like I wrote in the commit, SSH key exchange timeout is a fatal error. Can you also post your Call Home configuration? But I am not really sure what to do about this.

So this happens only sometimes? Like I wrote in the commit, SSH key exchange timeout is a fatal error. Can you also post your Call Home configuration? But I am not really sure what to do about this.

netconf server configuration as fllow:
<netconf-server xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-server">
  <listen>
    <endpoint>
      <name>default-ssh</name>
      <ssh>
        <tcp-server-parameters>
          <local-address><IP_ADDRESS></local-address>
          <keepalives>
            <idle-time>1</idle-time>
            <max-probes>10</max-probes>
            <probe-interval>5</probe-interval>
          </keepalives>
        </tcp-server-parameters>
        <ssh-server-parameters>
          <server-identity>
            <host-key>
              <name>default-key</name>
              <public-key>
                <keystore-reference>genkey</keystore-reference>
              </public-key>
            </host-key>
          </server-identity>
          <client-authentication>
            <supported-authentication-methods>
              <publickey/>
              <passsword/>
              <other>interactive</other>
            </supported-authentication-methods>
            <users/>
          </client-authentication>
        </ssh-server-parameters>
      </ssh>
    </endpoint>
  </listen>
  <call-home>
    <netconf-client>
      <name>default-client</name>
      <endpoints>
        <endpoint>
          <name>default-ssh</name>
          <ssh>
            <tcp-client-parameters>
              <remote-address><IP_ADDRESS></remote-address>
            </tcp-client-parameters>
            <ssh-server-parameters>
              <server-identity>
                <host-key>
                  <name>default-key</name>
                  <public-key>
                    <keystore-reference>genkey</keystore-reference>
                  </public-key>
                </host-key>
              </server-identity>
              <client-authentication>
                <supported-authentication-methods>
                  <publickey/>
                  <passsword/>
                  <other>interactive</other>
                </supported-authentication-methods>
                <users/>
              </client-authentication>
            </ssh-server-parameters>
          </ssh>
        </endpoint>
      </endpoints>
      <connection-type>
        <persistent/>
      </connection-type>
    </netconf-client>
  </call-home>
</netconf-server>

What is the reason for the timeout of  SSH key exchange?  The configured parameters(idle-time、max-probes and probe-interval) are not reasonable?

netconf server configuration as fllow:
<netconf-server xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-server">
  <listen>
    <endpoint>
      <name>default-ssh</name>
      <ssh>
        <tcp-server-parameters>
          <local-address><IP_ADDRESS></local-address>
          <keepalives>
            <idle-time>1</idle-time>
            <max-probes>10</max-probes>
            <probe-interval>5</probe-interval>
          </keepalives>
        </tcp-server-parameters>
        <ssh-server-parameters>
          <server-identity>
            <host-key>
              <name>default-key</name>
              <public-key>
                <keystore-reference>genkey</keystore-reference>
              </public-key>
            </host-key>
          </server-identity>
          <client-authentication>
            <supported-authentication-methods>
              <publickey/>
              <passsword/>
              <other>interactive</other>
            </supported-authentication-methods>
            <users/>
          </client-authentication>
        </ssh-server-parameters>
      </ssh>
    </endpoint>
  </listen>
  <call-home>
    <netconf-client>
      <name>default-client</name>
      <endpoints>
        <endpoint>
          <name>default-ssh</name>
          <ssh>
            <tcp-client-parameters>
              <remote-address><IP_ADDRESS></remote-address>
            </tcp-client-parameters>
            <ssh-server-parameters>
              <server-identity>
                <host-key>
                  <name>default-key</name>
                  <public-key>
                    <keystore-reference>genkey</keystore-reference>
                  </public-key>
                </host-key>
              </server-identity>
              <client-authentication>
                <supported-authentication-methods>
                  <publickey/>
                  <passsword/>
                  <other>interactive</other>
                </supported-authentication-methods>
                <users/>
              </client-authentication>
            </ssh-server-parameters>
          </ssh>
        </endpoint>
      </endpoints>
      <connection-type>
        <persistent/>
      </connection-type>
    </netconf-client>
  </call-home>
</netconf-server>

What is the reason for the timeout of  SSH key exchange?  The configured parameters(idle-time、max-probes and probe-interval) are not reasonable?

What libssh version are you using? That is most likely causing the key exchange timeout errors, it has nothing to do with your configuration.

What libssh version are you using? That is most likely causing the key exchange timeout errors, it has nothing to do with your configuration.

What libssh version are you using? That is most likely causing the key exchange timeout errors, it has nothing to do with your configuration.
I used libssh0.9.4,  This error happens occasionally,After this error('Operation now in progress&SSH key exchange timeout.'), I tried to restart the netopeer2-serve, and it was fine after restart.

What libssh version are you using? That is most likely causing the key exchange timeout errors, it has nothing to do with your configuration.
I used libssh0.9.4,  This error happens occasionally,After this error('Operation now in progress&SSH key exchange timeout.'), I tried to restart the netopeer2-serve, and it was fine after restart.

I would still advise you to update to libssh 0.9.5. Other than that, there is not much more I can do. In this scenario some libssh function returns a timeout for receiving SSH keys so it is retried, in hope that they will come later. However, the problem is most likely not in the timeout but rather that the other end is bugged and does not send the SSH keys at all.
Maybe there could be another much higher timeout introduced that will close the created socket. This whole mechanism was introduced by a PR when there actually was a use-case of needing to wait for the other end for quite a long time.

I would still advise you to update to libssh 0.9.5. Other than that, there is not much more I can do. In this scenario some libssh function returns a timeout for receiving SSH keys so it is retried, in hope that they will come later. However, the problem is most likely not in the timeout but rather that the other end is bugged and does not send the SSH keys at all.
Maybe there could be another much higher timeout introduced that will close the created socket. This whole mechanism was introduced by a PR when there actually was a use-case of needing to wait for the other end for quite a long time.

I would still advise you to update to libssh 0.9.5. Other than that, there is not much more I can do. In this scenario some libssh function returns a timeout for receiving SSH keys so it is retried, in hope that they will come later. However, the problem is most likely not in the timeout but rather that the other end is bugged and does not send the SSH keys at all.
Maybe there could be another much higher timeout introduced that will close the created socket. This whole mechanism was introduced by a PR when there actually was a use-case of needing to wait for the other end for quite a long time.

I have one more question. Should both Netopeer2 server and client libssh use the unified version?

I would still advise you to update to libssh 0.9.5. Other than that, there is not much more I can do. In this scenario some libssh function returns a timeout for receiving SSH keys so it is retried, in hope that they will come later. However, the problem is most likely not in the timeout but rather that the other end is bugged and does not send the SSH keys at all.
Maybe there could be another much higher timeout introduced that will close the created socket. This whole mechanism was introduced by a PR when there actually was a use-case of needing to wait for the other end for quite a long time.

I have one more question. Should both Netopeer2 server and client libssh use the unified version?

Is the reason for the  SSH key exchange timeout related to these configurations(idle-time、max-probes and probe-interval)?

Is the reason for the  SSH key exchange timeout related to these configurations(idle-time、max-probes and probe-interval)?

Should both Netopeer2 server and client libssh use the unified version?

Well, it is definitely not required, SSH 2.0 has its definition that all the libraries must be compliant with. However, it is recommended to avoid possible problems.

Is the reason for the SSH key exchange timeout related to these configurations(idle-time、max-probes and probe-interval)?

No, I already told you it is not.

Should both Netopeer2 server and client libssh use the unified version?

Well, it is definitely not required, SSH 2.0 has its definition that all the libraries must be compliant with. However, it is recommended to avoid possible problems.

Is the reason for the SSH key exchange timeout related to these configurations(idle-time、max-probes and probe-interval)?

No, I already told you it is not.

Should both Netopeer2 server and client libssh use the unified version?

Well, it is definitely not required, SSH 2.0 has its definition that all the libraries must be compliant with. However, it is recommended to avoid possible problems.

Is the reason for the SSH key exchange timeout related to these configurations(idle-time、max-probes and probe-interval)?

No, I already told you it is not.
A new version was released yesterday, which seems to fix a lot of issues? Is it recommended to update?

Should both Netopeer2 server and client libssh use the unified version?

Well, it is definitely not required, SSH 2.0 has its definition that all the libraries must be compliant with. However, it is recommended to avoid possible problems.

Is the reason for the SSH key exchange timeout related to these configurations(idle-time、max-probes and probe-interval)?

No, I already told you it is not.
A new version was released yesterday, which seems to fix a lot of issues? Is it recommended to update?

It is always recommended to use the latest version, especially if it is a new release. But it will most likely not help you with this particular issue.

It is always recommended to use the latest version, especially if it is a new release. But it will most likely not help you with this particular issue.

Hi Michal,
If the callhome address is configured as a non-accessed address, After a while, netopeer2-server will report "Bad file descriptor" error.,I have tried this patch and occasionally I get 'Operation now in progress' wrong.
log as fllow :
[INF]: LN: Call Home client "default-client" connecting...
[INF]: LN: Trying to connect via IPv4 to <IP_ADDRESS>:4334.
[INF]: LN: Successfully connected to <IP_ADDRESS>:4334 over IPv4.
[INF]: SR: Session 165 (user "root") created.
[ERR]: LN: SSH key exchange timeout.
[INF]: LN: Trying to connect via IPv4 to <IP_ADDRESS>:4334.
[INF]: LN: Timed out after 5s (Operation now in progress).
[INF]: LN: Trying to connect the pending socket=34.
[INF]: LN: Timed out after 5s (Operation now in progress).
[INF]: LN: Trying to connect the pending socket=34.
[INF]: LN: Timed out after 5s (Operation now in progress).
[INF]: LN: Trying to connect the pending socket=34.
[INF]: LN: Timed out after 5s (Operation now in progress).
[INF]: LN: Trying to connect the pending socket=34.
[INF]: LN: Timed out after 5s (Operation now in progress).
[INF]: LN: Trying to connect the pending socket=34.
[INF]: LN: Timed out after 5s (Operation now in progress).
[INF]: LN: Trying to connect the pending socket=34.
[INF]: LN: Timed out after 5s (Operation now in progress).
[INF]: LN: Trying to connect the pending socket=34.
[INF]: LN: Timed out after 5s (Operation now in progress).
[INF]: LN: Trying to connect the pending socket=34.
[INF]: LN: Timed out after 5s (Operation now in progress).
[INF]: LN: Trying to connect the pending socket=34.
[INF]: LN: Timed out after 5s (Operation now in progress).
[INF]: LN: Trying to connect the pending socket=34.
[INF]: LN: Timed out after 5s (Operation now in progress).
[INF]: LN: Trying to connect the pending socket=34.
[INF]: LN: Timed out after 5s (Operation now in progress).
[INF]: LN: Trying to connect the pending socket=34.
[INF]: LN: Timed out after 5s (Operation now in progress).
[INF]: LN: Trying to connect the pending socket=34.
[INF]: LN: Timed out after 5s (Operation now in progress).
[INF]: LN: Trying to connect the pending socket=34.
[INF]: LN: Timed out after 5s (Operation now in progress).
[INF]: LN: Trying to connect the pending socket=34.
[INF]: LN: Timed out after 5s (Operation now in progress).
[INF]: LN: Trying to connect the pending socket=34.
[INF]: LN: Timed out after 5s (Operation now in progress).
[INF]: LN: Trying to connect the pending socket=34.
[INF]: LN: Timed out after 5s (Operation now in progress).
[INF]: LN: Trying to connect the pending socket=34.
[INF]: LN: Timed out after 5s (Operation now in progress).
[INF]: LN: Trying to connect the pending socket=34.
[INF]: LN: Timed out after 5s (Operation now in progress).
[INF]: LN: Trying to connect the pending socket=34.
[INF]: LN: Timed out after 5s (Operation now in progress).
[INF]: LN: Trying to connect the pending socket=34.
[INF]: SR: Session 211 (user "root") created.
[ERR]: LN: SSH key exchange timeout.
[INF]: LN: Trying to connect via IPv4 to <IP_ADDRESS>:4334.
[INF]: LN: Timed out after 5s (Operation now in progress).
[INF]: LN: Trying to connect the pending socket=34.
[INF]: LN: Timed out after 5s (Operation now in progress).
[INF]: LN: Trying to connect the pending socket=34.
[INF]: LN: Timed out after 5s (Operation now in progress).
[INF]: LN: Trying to connect the pending socket=34.
[INF]: SR: Session 221 (user "root") created.
[ERR]: LN: SSH key exchange timeout.

Is there a problem with this patch?What do you suggest?
Best regards,
thanks.

When multiple 'SSH key exchange timeout & Operation now in progress ' errors occur, Netopeer2-server will block and will not print the log. If restart Netopeer2-server, it will work fine.

Repeating what you already written is not going to help. But maybe one more question, what NETCONF client are you connecting to?

Repeating what you already written is not going to help. But maybe one more question, what NETCONF client are you connecting to?


multipart/form-data with $ref

When I define a multipart/form-data $ref the generated code fails to compile:
openapi: 3.0.2
info:
  title: API
  version: 1.0.0
paths:
  /api/item:
    post:
      summary: create  item
      requestBody:
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/Item'
      responses:
        '200':
          description: dummy
          content:
            text/plain:
              schema:
                type: string
components:
  schemas:
    Item:
      type: object
      properties:
        images:
          type: array
          items:
            description: Binary image
            format: binary
            type: string

When I define it inline it works, the generated code compiles. Both variants seams to be valid in OpenApi.
openapi: 3.0.2
info:
  title: API
  version: 1.0.0
paths:
  /api/item:
    post:
      summary: create  item
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                images:
                  type: array
                  items:
                    description: Binary image
                    format: binary
                    type: string

      responses:
        '200':
          description: dummy
          content:
            text/plain:
              schema:
                type: string

@simonmoser-bluesource Hi, can you provide the generation results on the data and the full expected result?
I will look into this problem in the near future.

@StarProxima sure 😊
I think the Item Schema should inlined like this:
@RestApi()
abstract class ClientClient {
  factory ClientClient(Dio dio, {String? baseUrl}) = _ClientClient;

  /// create  item
  @MultiPart()
  @POST('/api/item')
  Future<String> postApiItem({
    @Part(name: 'images') List<File>? images,
  });
}

The tricky thing is what to do with Item? Should it not be generated as @JsonSerializable() , because in this case it fails with this message:
Could not generate fromJson code for images because of type File.

@simonmoser-bluesource Hi, can you verify the correctness of the generation with your examples?

@StarProxima
Sorry for the late response. I just testet it with 1.15.4 and the generated code looks correct with my example!
Thanks a lot for your great work. ❤


Failed to get reconstruct data pg_xact/0000.0

I'm seeing this in the pageserver logs:
 WARN query handler for "basebackup 614b0220e6aa61dc5e067a8b35457837 a5f1e528d4cf880a9dd8caaf8ba78246 0/169D088" failed: Failed to get reconstruct data pg_xact/0000.0 "pg_xact_0000_0_0000000001695D11_000000000169CB81" 0 0/169D088 None: deserialize error

dup of #1118


fix C++ to support no xds builds

Oh, and please do make sure to do a test import before merging this, so that we can be sure it works internally as well.  Thanks!

The weirdness has gone away after squashing, and internal tests look ok - https://test.corp.google.com/ui#id=OCL:338332843:BASE:338339392:1603315465954:4e3e21cf (unrelated failures)


fixed Crypto ModuleNotFoundError

Fixed ModuleNotFoundError: No module named 'Crypto'.
Installing 'pycryptodome' module fixes the error..

Sorry, I didn't the older pull request.
https://github.com/dirkjanm/BloodHound.py/pull/120


feat: multi-hop quotes wired up to trade input

Description

Pull Request Type

[ ] :bug: Bug fix (Non-breaking Change: Fixes an issue)
[ ] :hammer_and_wrench: Chore (Non-breaking Change: Doc updates, pkg upgrades, typos, etc..)
[ ] :nail_care: New Feature (Breaking/Non-breaking Change)

Issue (if applicable)

closes #
Risk

Testing

Engineering

Operations

Screenshots (if applicable)

Current dependencies on/for this PR:

develop

PR #4676   👈

This comment was auto-generated by Graphite.


We need a build guide when we fail to build tikv if rocksdb is not present.

It is kinda difficult for new user to know what tikv depends on and how to successfully build tikv. That is why I think a guide about how to build tikv is pretty urgent.

Have you check https://github.com/pingcap/tikv#build?

The "guide" is too simple. TiKV is strongly coupled with rocksdb. So it is much better if we can include a guide about how to install rocksdb. Especially, our rocksdb is not standard. It is customized. I do not see any guides about how to install rocksdb. At least to myself, I wish there is a guide can tell me how to do rather than asking people.

To be clear, we are still using the "standard" rocksdb.


incomplete pulling from optimism and potentially etherscan.

this matches with our combined.json in /data/basescan which has a length of 6318

this does NOT match our combined.json in /data/optimism which only has a length of 2467 which is 101 records short.

@dawsbot this issue was incorrect. I realised just now that this failed to account for the max cap on tokens at 100 and the max cap on accounts

i think we should close this.


Appstudio update test-component-pac-bqne

Pipelines as Code configuration proposal
To start the PipelineRun, add a new comment with content /ok-to-test
For more detailed information about running a PipelineRun, please refer to Pipelines as Code documentation Running the PipelineRun
To customize the proposed PipelineRuns after merge, please refer to Build Pipeline customization

Pipelines as Code CI/test-component-pac-bqne-on-pull-request has failed.

StatusDurationName

✅ Succeeded
7 seconds
init

✅ Succeeded
15 seconds
clone-repository

❌ Failed
20 seconds
build-container

✅ Succeeded
6 seconds
show-summary

Failure reasontask build-container has the status "Failed":
STEP 1/3: FROM quay.io/jitesoft/nginx:latest
Trying to pull quay.io/jitesoft/nginx:latest...
Error: creating build container: initializing source docker://quay.io/jitesoft/nginx:latest: unable to retrieve auth token: invalid username/password: unauthorized: Invalid Username or Password

Pipelines as Code CI/test-component-pac-bqne-on-pull-request has failed.

StatusDurationName

✅ Succeeded
7 seconds
init

✅ Succeeded
15 seconds
clone-repository

❌ Failed
20 seconds
build-container

✅ Succeeded
6 seconds
show-summary

Failure reasontask build-container has the status "Failed":
STEP 1/3: FROM quay.io/jitesoft/nginx:latest
Trying to pull quay.io/jitesoft/nginx:latest...
Error: creating build container: initializing source docker://quay.io/jitesoft/nginx:latest: unable to retrieve auth token: invalid username/password: unauthorized: Invalid Username or Password

Pipelines as Code CI/test-component-pac-bqne-on-pull-request has failed.

StatusDurationName

✅ Succeeded
7 seconds
init

✅ Succeeded
15 seconds
clone-repository

❌ Failed
20 seconds
build-container

✅ Succeeded
6 seconds
show-summary

Failure reasontask build-container has the status "Failed":
STEP 1/3: FROM quay.io/jitesoft/nginx:latest
Trying to pull quay.io/jitesoft/nginx:latest...
Error: creating build container: initializing source docker://quay.io/jitesoft/nginx:latest: unable to retrieve auth token: invalid username/password: unauthorized: Invalid Username or Password


Refresh subdivision data from CLDR

run update_cldr_subdivison_data task to refresh subdivision data from CLDR

Norway country codes were manually fixed in #666 - that change was overwritten with this update.

Well spotted, I'll get it fixed soon.


Document how to upgrade bootloader if BLE OTA fails

In file
https://github.com/RAKWireless/WisBlock/blob/master/bootloader/RAK4630/new/README.md
I would like to see the alternative bootloader upgrade steps listed:
https://forum.rakwireless.com/t/bootloader-fails-to-upgrade-via-ble/4193/3
https://forum.rakwireless.com/t/bootloader-fails-to-upgrade-via-ble/4193/4
Currently information on the Wisblock is very spread out in different locations: Forum, docs, readmes. This makes it very difficult for users to know where to go looking if they have a problem. I'd suggest using the README.md files as primary source, building the docs from them. If a question is answered on the forum, that answer should be included in the readmes.

@jpmeijers thank you for your feedback.
We are constantly working on improvements of the WisBlock documentation. With more and more modules added to the WisBlock family, documentation will be concentrated in our Documentation Center, where you can already find the updated guides how to update the bootloader of the RAK4631.
The WisBlock repository will be the storage for source codes mainly and the forum for discussions about user problems.

I still think it is a bad idea having the source and the documents separated like that. Would be much better having them together.

And my other main issue is that there are multiple versions of documents laying around. How should a user know which one is the latest? Better to consolidate everything so that there is no misunderstanding.

Having code and documentation separated in Github and Website is a common practice.
As I said before, we are working on it.


Styling navigation bar and contact page

Hey, @khushi-joshi-05. I've noticed a few issues with the website that I'd like to work on:
**Navigation Bar Enhancement:**The navigation bar could be made more attractive. I propose to redesign it to improve its visual appeal and user experience.
Background Image Issue: There is a white space at the bottom of the homepage due to the background image. I can modify the image or adjust the layout to eliminate this space.
** The styling of the navigation page looks a bit dry. I can enhance it to make it more engaging and visually appealing.
Here are the screenshots for reference:

Home Page and navigation bar

Contact page:

Could you please assign me this issue under GSSoC'24?

@khushi-joshi-05 , Please assign me this issue under GSSoC'24.

@khushi-joshi-05 kindly assign me with this issue

@Pragni24 I have assigned you the issue. Can u modify the UI of contact page and its footer and make it similar to other pages with an image in background.

Yes,sure

Hello, I've updated the UI of the  contact page, please have a look...
If you like it, please assign this to me too, under GSSOC'24.


Mistranslation en to de

This is a small mistranslation. (FÜr to Für)

Thanks @frag-seb.

you're welcome

:+1: good catch


Song descriptions (only on freeplay)

What feature do you want to get added on the base engine?
I would like to be able to make songs on the freeplay have their own descriptions appear when highlighted, it could be useful for epilepsy warnings, to explain some mechanics in the song, or just a general introduction, it would work like this:
in the .json file of a week:

in the freeplay:

and of course, in the freeplay section of the week editor, there would be something that could let you type in the description of a song, while showing a preview of said description.
(forgot to mention, but the description will be appropiately sized based on how much space does the song's name and icons take)
To test your sight, and reliability, please select the option of what should NOT be requested.
Stage Editor, 6K+ support, and winning icons.

Kinda reminds me of SMB Funk Mix, where they have descriptions in the freeplay menu.

Kinda reminds me of SMB Funk Mix, where they have descriptions in the freeplay menu.

In fact, I was inspired by that!

No.

No.

zad :(


How can I configure a different profile with multilingual enabled?

I'm trying to configure a different profile for a french version of my English website (profile picture, organizations and status) and couldn't find any documentation that explained how to do it. Is there a way of changing those depending on the language?

have you taken a look here

I did but didn't read enough 👍
Thank you for the link! I guess you can close the issue!


Scobbler not recognising music from Spotify web player.

Expected Behavior
Web scrobbler should recognise music being played on open.spotify.com
Current Behavior
Spotify changed the web player from play.spotify.com to open.spotify.com. Since this change the web scrobbler is not recognising music being played.
Possible Solution
Adjust scrobbler settings to match new URL used by Spotify web player
Steps to Reproduce (for bugs)

Open previous spotify URL (play.spotify.com) which then gets redirected to the new URL (open.spotify.com)
Play some music
Scrobbler does not recognise music being played

Context
How has this issue affected you? My scrobbles are not being tracked
Environment

Version used: 1.62.2
Browser Name and version: Chrome Version 57.0.2987.133 (64-bit)

Duplicate of #1270.


Programm don't starts

Hey, I have the same issue like David on iPhone-ticker.de
I try your solution, to change the Cache Time and try again, but the same error.
I delete the script and create a new one.
I have all the time no Wlan active and a contract direct by Vodafone.
2020-10-22 08:30:08: Get from API
2020-10-22 08:30:08: Login sucessfull
2020-10-22 08:30:09: widget-vodafone does not exist. Use fileExists(filePath) on a FileManager to check if a file exists.
2020-10-22 08:30:09: unbilled-usage loaded
2020-10-22 08:30:09: Try to find usageGroup 'Daten'
2020-10-22 08:30:09: usageGroup 'Daten' founded
2020-10-22 08:30:09: undefined
2020-10-22 08:30:09: Loading usage data failed
2020-10-22 08:30:09: TypeError: undefined is not an object (evaluating 'datenvolumen.total')
2020-10-22 08:30:09: TypeError: undefined is not an object (evaluating 'datenvolumen.total')
2020-10-22 08:30:09: Get from Cache
2020-10-22 08:30:09: null
2020-10-22 08:30:09: Error on line 214:38: TypeError: null is not an object (evaluating 'data.total')

Hi @mrbean-ger
i need a little bit more losging, please and the following line to the script
console.log(datenContainer.usage)
on this position
    console.log("usageGroup 'Daten' founded")
    // <= Here =>
    let datenvolumen = datenContainer.usage.find(function(v){
      return v.code == "-1"
    })
    console.log(datenvolumen)

Than please try it again and send me the new log.
The problem is, if you have the GigaDepot Option, then there are more entries. One for the normal usage and one for the GigaDepot usage. In case of my Contract the normal usage has „-1“ as Code why i have assume that this is always the case. No ist looks like that in your case, there is no contract with this code.
I will also add in the next version a better error handling and logging.

Maybe I found the error. I have had a Vodafone Contract with unlimited Volumen inside my Phone, when i try the function the first time.
After I change the contract, it works well done.
i change back to the unlimited to here is the log, maybe it helps and you can show how many gb you have used without the percent of unlimited ;-)
020-10-22 09:40:07: Get from API
2020-10-22 09:40:08: Login sucessfull
2020-10-22 09:40:09: unbilled-usage loaded
2020-10-22 09:40:09: Try to find usageGroup 'Daten'
2020-10-22 09:40:09: usageGroup 'Daten' founded
2020-10-22 09:40:09: [{"description":"Datenvolumen Inland","unitOfMeasure":"MB","total":"102400000","type":"limited","isLimitedMember":false,"rollOverIndicator":false,"remaining":"102396355","used":"3644","endDate":null,"limitStatus":false,"code":"-2","name":"Datenvolumen Inland","lastUpdateDate":"2020-10-22T07:40:08"},{"description":"Datenvolumen Europa ab 50 GB mit Folgepreis","unitOfMeasure":"MB","total":"51200","type":"limited","isLimitedMember":false,"rollOverIndicator":false,"remaining":"51200","used":"0","endDate":null,"limitStatus":false,"code":"-3","name":"Datenvolumen Europa ab 50 GB mit Folgepreis","lastUpdateDate":"2020-10-22T07:40:08"}]
2020-10-22 09:40:09: undefined
2020-10-22 09:40:09: Loading usage data failed
2020-10-22 09:40:09: TypeError: undefined is not an object (evaluating 'datenvolumen.total')
2020-10-22 09:40:09: TypeError: undefined is not an object (evaluating 'datenvolumen.total')
2020-10-22 09:40:09: Get from Cache
2020-10-22 09:40:09: {"total":"5120","used":"185","remaining":"4934"}

Hi @mrbean-ger thanks for the logs. your unlimited contract has a code of „-2„ and my script is looking for a contract with „-1“. This is the reason why it failed with the unlimited contract.
So your idea is to show for example a unlimited symbol in case of percentage in case of an unlimited contract? I will think about it. Thanks you


Update gps_stats_main for new features

Updating gps_stats_main function in format for better readability and adhering to PEP8 as well as to accommodate the new features added in the summary statistics.

Also, are you planning to update the README in a separate PR?

Yes I was planning to do it on separate PR to update the instructions for using both Bonsai and Jasmine and then that should be it.


ex 9.29 answer is incorrect

Incorrect: vec.resize(100);    // adds 75 elements of value 0 to the back of vec
The elements added to the back would be value initalized not zero initalized. The question does not specify the type of the elements in the vector.
Correct: vec.resize(100);    // adds 75 elements (value initalized) to the back of vec

-vec.resize(100); //adds 75 elements with value initialized to 0 to the back of //vec
-vec.resize(10); ereases 90 elements from the back of //vec


fix: faker broken links

Description
Some of the links to the faker docs were broken, essentially tackling the following issue

#535

Closes #535

Great work!


Fix: jsdocs action error

Fixes jsdocs github action
Refer: https://github.com/CircuitVerse/CircuitVerse/commit/f8ff6651bf8501458decf7493ce6949fb5b2a26c

Coverage remained the same at 84.697% when pulling d2b2abd5c7dde5732ed5b6cdb91430c24a6ac83a on gr455:doc-action-fix into 5b53f03be3c51f3d63192941a4e913c120dd436b on CircuitVerse:master.


Reshard train state to checkpoint efficiently with multiple slices

This solution does not work, probably because it is too many QPS to GCS still since each host talks to GCS


datetime issue (DST?) in Indian Standard Time

see report here: https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/enketo-users/QlL6b77X7Xk/qK0uuYypBwAJ
The user only sees this when loading a draft record in Enketo Express, but we should try to reproduce in Enketo Core (unlikely caused by code in Enketo Express).

Set computer to IST
Collect datetime in test form (single question form). Check how it is stored in model
Load record with that the value from 2. Check how it is displayed in form.

[ ] add failing test in enketo-core. I think the bug is caused here
[ ] update enketo-xpathjs to version 1.9.3 to fix


fix union types

This fixes a bug from #1414 which causes deserialization to fail.

create the base type without the discriminator
adds the description to the union type
fixes union types for vector aliases
fixes support for nested unions
removes empty base types

I'm digging into this and found at least one issue that I don't think is right.
In services/svc/agrifood/src/package_2023_07_01_preview/models.rs, AuthCredentialsKind is one of the enums defined in the spec.  It's generated, but never used.   As is AuthCredentialsUnion.
From looking at the spec, these should be used in ApiKeyAuthCredentials, but that doesn't include it.
Ref: https://github.com/Azure/azure-rest-api-specs/blob/a26794fe26cdc68f4d18bc782e0b4f2f29e24b40/specification/agrifood/data-plane/Microsoft.AgFoodPlatform/preview/2023-07-01-preview/agfood.json#L13738-L13758

Thanks for digging in. The generated code for that example looks fine to me. Here is the Union generated from #/definitions/AuthCredentials".
#[doc = "CredentialTypeEnum."]
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
#[serde(tag = "kind")]
pub enum AuthCredentialsUnion {
    ApiKeyAuthCredentials(ApiKeyAuthCredentials),
    OAuthClientCredentials(OAuthClientCredentials),
}

#[doc = "Api Key Auth Credentials class for API Key based Auth."]
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
pub struct ApiKeyAuthCredentials {
    #[doc = "Properties of the key vault."]
    #[serde(rename = "apiKey", default, skip_serializing_if = "Option::is_none")]
    pub api_key: Option<KeyVaultProperties>,
}

#[doc = "OAuthClientCredentials for clientId clientSecret auth."]
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
pub struct OAuthClientCredentials {
    #[doc = "ClientId associated with the provider."]
    #[serde(rename = "clientId", default, skip_serializing_if = "Option::is_none")]
    pub client_id: Option<String>,
    #[doc = "Properties of the key vault."]
    #[serde(rename = "clientSecret", default, skip_serializing_if = "Option::is_none")]
    pub client_secret: Option<KeyVaultProperties>,
}

It is strange that that definition is not referenced anywhere else in the spec. Most specs then define the string enumeration inline, but the spec as defined it externally
 "AuthCredentials": {
      "description": "AuthCredentials abstract base class for Auth Purpose.",
      "required": [
        "kind"
      ],
      "type": "object",
      "properties": {
        "kind": {
          "$ref": "#/definitions/AuthCredentialsKind"
        }
      },
      "discriminator": "kind"
    },
    "AuthCredentialsKind": {
      "description": "CredentialTypeEnum.",
      "enum": [
        "OAuthClientCredentials",
        "ApiKeyAuthCredentials"
      ],
      "type": "string",
      "x-ms-enum": {
        "name": "AuthCredentialsKind",
        "modelAsString": true
      }
    },

Which is why there is a enum generated:
#[doc = "CredentialTypeEnum."]
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
#[serde(remote = "AuthCredentialsKind")]
pub enum AuthCredentialsKind {
    OAuthClientCredentials,
    ApiKeyAuthCredentials,
    #[serde(skip_deserializing)]
    UnknownValue(String),
}

It is not used anywhere else in the spec, but it is not wrong to also generate it.


Handle calls to applyDynamicNamed where only some parameters are named

This is a very common pattern especially with TensorFlow. Right now, ScalaPy ends up generating code like foo( = param1, = param2, named = param3) instead of just directly passing the unnamed parameters in.

I was thinking of attempting this ticket. Here are my findings:
Scala does not allow two sets of named arguments, so we cannot have a signature like applyDynamic(method: String)(kwargs: (String, Any)*, args: Any*). But we can treat positional arguments as key-value arguments where the key has no length. So my proposed solution is to use applyDynamic(method: String)(args: (String, Any)*) in the general case.
Another note: I think the responsibility of raising an error when a kwarg precedes an arg falls on the Python interpreter. It can be done on this side though.
Where would be the best place to test the generated code? I added a few cases to MethodCallingTest but they seem to be passing unexpectedly.


v2raya: init at unstable-2022-02-06

Motivation for this change
v2rayA is a Linux web GUI client of Project V which supports V2Ray, Xray, SS, SSR, Trojan, and Pingtunnel.
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[x] (Module addition) Added a release notes entry if adding a new NixOS module
[x] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/742

@bobby285271 everything is fixed.

I have rearranged and squashed the commits. Does this now conform to the standard?

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/808

Is this still under maintenance?

I'd like this package too, not sure who I should remind

Is this still under maintenance?

Oh I was just a bit busy lately. When I have time I will turn back and update this whole thing.

Is this still under maintenance?

Oh I was just a bit busy lately. When I have time I will turn back and update this whole thing.

I've also opened a pull request for xray:
https://github.com/NixOS/nixpkgs/pull/187987
if possible, maybe don't install the v2ray package automatically? I tested your package with xray and it works, but I have to make sure the correct binary is used, since both are supported

@shanoaice
I maintain a package at nur：
https://github.com/wineee/nur-packages/tree/main/packages/v2raya
If you want to upgrade it can be used as a reference

https://github.com/NixOS/nixpkgs/pull/197876 the xray package is merged
in my service I have a package argument that defaults to xray but can be changed to use a different package


Question about “Multi-space Alignment”

Hi, thanks again for sharing this project.
I would to ask some details about “Multi-space Alignment”.

I want to know why we need alignment in BEV space, since we already do the alignment in Voxel space.  I mean if we align the voxel features in target and source domain，isn't the corresponding BEV features already aligned？or am I missing some details of your method?

BTW，could you please show me where do you get L M K T , I looked through this project but didn't find it. Thanks alot.

Thank you again for your interest in our work. In the open-source code, we have only provided the BEV feature transfer loss from L(MKT), as shown below. The feature transfer between images and voxels follows a similar approach. Since L(MKT) is fundamentally a classic knowledge distillation loss, exploring newer KD strategies and loss functions could further enhance the accuracy of your student model. I hope this explanation supports your research, and I wish you continued success.
self.bev_feature_loss = torch.nn.MSELoss()
self.bev_feature_loss = torch.nn.KLDivLoss()
bev_feature_loss = self.bev_feature_loss(bev_feats_target,bev_feats_target_student)

Hi, thanks again for sharing this project.
I would to ask some details about “Multi-space Alignment”.
I want to know why we need alignment in BEV space, since we already do the alignment in Voxel space. I mean if we align the voxel features in target and source domain，isn't the corresponding BEV features already aligned？or am I missing some details of your method?

Hi, thanks again for sharing this project.
I would to ask some details about “Multi-space Alignment”.
I want to know why we need alignment in BEV space, since we already do the alignment in Voxel space. I mean if we align the voxel features in target and source domain，isn't the corresponding BEV features already aligned？or am I missing some details of your method?

This is a good question. We opted to align and transfer knowledge between voxel and BEV features because their representations differ, despite the operation between them involving only pooling. In other words, their representation perspectives differ, which is why we chose to use both.

Thanks for your reply! Still I have two questions want to check with you.
1、Is the config file "exps/bev_depth_lss_r101_256x704_128x128_24e_ts.py" corresponds to your MATS model? Because I find other config files under “exps” folder，and some of them do not have discriminator module.
2、In https://github.com/flyingGH/BEVUDA-Pytorch the code of the modules and the config files are a little different from this one. Which should I refer to?


Text is going out of the card.

If the balance is high, the text is going out of the card.

Verified by Gourab on dev app v2.0.75(455)


CRISPR landing page requires a click

The behavior of /crispr is different from /orf. When you go to broad.io/crispr, you get this view, And you need to click "content" to get to the page you'd expect:

(I know it wasn't the case a while ago, so I wonder if this is a transient thing but it happened yesterday and today both.)

I noticed this change, I am unsure as to why it happened. I will try to get it sorted out.

This should be fixed now! It was a minor typo when updating the links (I really wish we could automate the broad.io shortlinking step :/)


Example.md doesn't work due to missing [unix_http_server] config

To shortcut the thread in #1, I'm raising this as separate issue:
Using https://github.com/bendikro/supervisord-dependent-startup/blob/master/example.md doesn't work because the following is missing:
[unix_http_server]
file=/var/run/supervisor.sock   ; (the path to the socket file)
chmod=0700                       ; socket file mode (default 0700)

Please can you update the docs.
Thanks.

Hi
The unix_http_server section is in the example.md? But there is no line with chmod=0700, is that necessary?

Sorry.  My confusion. It was the docs in README.md that omitted it.  I think both of us on #1 hit the same issue, in adding to an existing .conf that didn't have unix_http_server.
I'll edit to ref README.md

@neale-bpm
I see. The example in the readme is not supposed to show a complete and working supervisor.conf, but I'll push an update with a working example.

Looks good.
Many thanks


An error message "Your  task failed with the message: Conda environment not detected" pops up when create Conda environment.

Environment

Steps to Reproduce

In VS, select File > New > Project,  select the Flask Web Project template.
Right click python environment and open “Add Environment…” command
Click "Conda environment" tab
Add some packages, such as "pyhon=3.7"
Click Create button
Observes

Expected behavior
The environment create successfully and then displayed in the Python Environment list.
Actual result
An error message "Your  task failed with the message: Conda environment not detected" pops up.
The output window shows that conda was created successfully, but there is an error message "Conda environment 'env2' was created, but it will not be detected by Visual Studio because it does not contain Python."

And the Conda environment will not automatically appear in the Python Environment list

After manually adding the created Conda environment, it works well.

@linette-zyy, This code hasn't changed for a long time. Can you see if this repros on 16.9 and then double check that it's still failing in 16.10. Please reopen if 16.10 continues to fail while 16.9 does not.

This issue is reproduced in today’s build.


Unordered lists2

Description
Doc adjustment according to the guideline

use lists to create visual clarity within your content. List items in a category or in a sequence. Use an ordered list for sequential, instructional steps. Unordered lists are appropriate for items that have no sequential order, such as a list of valid file types. Follow these guidelines:

Traceability

[ ] The PR is linked to a GitHub issue.
[ ] New features have a milestone set.
[ ] New features have defined acceptance criteria in a corresponding GitHub Issue, and all criteria are satisfied with this PR.
[ ] The corresponding GitHub issue has a respective area and kind label.
[ ] The follow-up issues (if any) are linked in the Related Issues section.
[ ] Adjusted the documentation if the change is user-facing.
[ ] The feature is unit-tested
[ ] The feature is e2e-tested

/test pull-telemetry-manager-build


Search for "library" brings up many irrelevant services

Rersults include:

Thingery (aka tool library)
North Shore ConneXions Society
The Gathering Place Community Centre
The Cinemateque
Vancouver Public library is the fifth result, should be the first

Acceptance criteria

[ ] Actual libraries are listed before other services in the search result

Suggestions:
Not sure, but what if the key word matching the service name bumps it to the top. How many existing search results do we upset if we do that.

Searched for "Library", observed that all the search results are actual libraries. Searched for "tool library" and observed that the vancouver tool library was returned.
PASS


Custom dataset

Hi.
I was trying out few shot on custom dataset, My custom data has 17 categories and 6 images per category.  created a class similar to MiniImageNet and used in it validation, i.e valset. But it is throwing me an error  in line 114 as
loss = F.cross_entropy(logits, label)
File "/home/search_env/lib/python3.6/site-packages/torch/nn/functional.py", line 2056, in cross_entropy
return nll_loss(log_softmax(input, 1), target, weight, None, ignore_index, None, reduction)
File "/home/search_env/lib/python3.6/site-packages/torch/nn/functional.py", line 1869, in nll_loss
.format(input.size(0), target.size(0)))
ValueError: Expected input batch_size (5) to match target batch_size (75).
Am I missing something? Kindly guide

I am not sure what the exact problem is, replacing mini with custom dataset should work. It seems the batch_size of logits and label did not match, could you check their shape?

yes, the shapes are different ..
Shape of logits torch.Size([5, 5])
Shape of label torch.Size([75])
Are there any constraints for the custom dataset for the code to run?

I referred to the paper and modified query=3 and shot=3 as per my custom training support. Now the code is working fine.
Thanks for the quick response! :)

I think logits and label should have the same batch dimention, what is the batch size you set? (5 or 75?) Since 'logits' is computed from 'data', you may check the shape of 'data'. Figuring out where the batch size gets wrong should help.

I remember there should not be constraints for custom dataset. You may check the intermediate shapes to see what the exact problem is. The shape of logits should be [n_way * n_query, n_way], and shape of label should be [n_way * n_query].


Fix: Incorporate platform architecture

:bug: Right now --sbom-dir with a multi-arch build just writes the same file over and over.
This loosely follows the lead of apko which uses the form sbom-{arch}.{form}.json, but we are going with: {app}-{platform}.{form}.json.
It is notable that {platform} is a superset of {arch} and we sanitize the string encoding replacing the / and : characters with -.
/kind bug

Codecov Report

Merging #1029 (2eb1579) into main (7c72ccf) will increase coverage by 0.05%.
The diff coverage is 100.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##             main    #1029      +/-   ##
==========================================
+ Coverage   52.77%   52.82%   +0.05%
==========================================
  Files          43       43
  Lines        3356     3360       +4
==========================================
+ Hits         1771     1775       +4
  Misses       1359     1359
  Partials      226      226

Impacted Files
Coverage Δ

pkg/build/gobuild.go
57.29% <100.00%> (+0.19%)
:arrow_up:


Add detail to explain how to access mounted storage for Windows web apps

For the "Windows code" hosting platform (for which I understand mounting Azure Storage is still in preview), the documentation does not explain how to access the mounted storage. Where does the mount exist, relative to the wwwroot of the site?
For example, if I have a Windows web app named 'mytestapp' and add a mount /mounts/test, and the mapped Azure Files share contains a file named index.html, does that mean I should be able to access index.html at https://mytestapp.azurewebsites.net/mounts/test/index.html? This does not seem to be working for me, so it would be great if the documentation clarified how to access the mounted files, either via URL or via backend code within the application.

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

ID: 3cd70fac-5d7c-7637-8385-f3f4af3ba0ad
Version Independent ID: 15d95fc5-f08e-a26c-ce06-8ead78474661
Content: Mount Azure Storage as a local share - Azure App Service
Content Source: articles/app-service/configure-connect-to-azure-storage.md
Service: app-service
GitHub Login: @msangapu-msft
Microsoft Alias: msangapu

@gsethgit Can you take a look at this?

#needs-sme-input

Azure storage mounts for App service are accessible via code. I have few samples mentioned here https://techcommunity.microsoft.com/t5/apps-on-azure-blog/scenarios-and-samples-for-mounting-azure-storage-as-a-local/ba-p/2898095  Although the samples are for App service Linux and App service windows code they should help you develop for Windows code as well
You can also refer to https://docs.microsoft.com/en-us/aspnet/core/fundamentals/static-files?view=aspnetcore-6.0#serve-files-outside-of-web-root)

Hi @gsethgit :
Thanks for the useful links. The problem is that, just reading the document @daedam mentions, is not totally clear where the mounted volume is located. I mean, yes, it mentions /mounts/test but it took me a while to see that the /was referring to the root of the local disk not to the root of the web server (in Windows, paths use backslashes and disk letters). Therefore, my first guess was that the storage was mounted in reality under /home/site/wwwroot/mounts/test and that it should serve those files, like he says in this issue.
But, in fact, the storage is mounted under the D:\mounts\test folder, which is great for a container but not so great for a Windows Code application since you need to use code to access it. If you try to create a virtual folder in the Web App to access that route, it won't work because it only lets you create virtual folders under the site folder:

And if you try to use a relative path:

it works, but gives an error if you try to access it (I guess because of permissions).
I think what a lot of users would love to have in this feature is an option to create the mount directly under site so that you can easily add it as a virtual directory (with the corresponding access permissions). That would help a lot with legacy applications that are deployed in Web Apps (I guess there are a lot of them, and in my case for sure).
Regarding the specific document, IMHO would be great to add:

An specific mention of that /mount/test path being referred to the root of the disk, not to the root of the Web App, and change the slashes in the Windows specific instructions to "X:\mounts\test being "X" the root folder of the disk in the Web Appp".
Add the links you mention for further instructions on how to access them by code.

Thanks!

Thank you both for your comments and for the useful links, @gsethgit! It looks like @jmalarcon tried all the same things I did. I also tried using debug console in the Kudu tools to attempt to make symbolic links to the /mounts/test folder, but both mklink (in CMD) and New-Item -ItemType SymbolicLink (in PowerShell) fail because of lack of admin privileges. (I hoped to see if the same were possible for a Linux web app, but I haven't had a chance to try.)
I will attempt the app.UseStaticFiles() approach when I get a chance. What I would really like to do is use rewrite rules to proxy to content in the storage account, but I am not sure that is possible with the way this currently works.

Using the clues earlier in this thread, I was able to mount an Azure File Storage share to my Windows App Service and serve the static files from through my Asp.net Core 3.1 website.
After adding the Azure Storage Mount to your App Service, you'll need to add the "UseFileServer" option to your app config within Startup.cs.  In this case, my Azure File Storage share was named "courses"; snippet is below.  Once this is added, you can access the content from the share via https://mywebsite.net/Courses/...  Notice too that I specify a local path for local dev/testing since if the path doesn't exist when the app starts it will not run.  Hope this helps.
        if (env.IsDevelopment())
        {
            app.UseFileServer(new FileServerOptions
            {
                FileProvider = new PhysicalFileProvider(
                    Path.Combine(env.ContentRootPath, "mounts\\courses")),
                RequestPath = "/Courses"
            });
        }
        else
        {

            app.UseFileServer(new FileServerOptions
            {
                FileProvider = new PhysicalFileProvider(
                    Path.Combine(env.ContentRootPath, "D:\\mounts\\courses")),
                RequestPath = "/Courses"
            });
        }

Using the clues earlier in this thread, I was able to mount an Azure File Storage share to my Windows App Service and serve the static files from through my Asp.net Core 3.1 website.
After adding the Azure Storage Mount to your App Service, you'll need to add the "UseFileServer" option to your app config within Startup.cs. In this case, my Azure File Storage share was named "courses"; snippet is below. Once this is added, you can access the content from the share via https://mywebsite.net/Courses/... Notice too that I specify a local path for local dev/testing since if the path doesn't exist when the app starts it will not run. Hope this helps.
        if (env.IsDevelopment())
        {
            // Local path for dev/testing
            app.UseFileServer(new FileServerOptions
            {
                FileProvider = new PhysicalFileProvider(
                    Path.Combine(env.ContentRootPath, "mounts\\courses")),
                RequestPath = "/Courses"
            });
        }
        else
        {
            // Path to mounted storage in the app service
            app.UseFileServer(new FileServerOptions
            {
                FileProvider = new PhysicalFileProvider("D:\\mounts\\courses"),
                RequestPath = "/Courses"
            });
        }

Thks for your solution !
An idea of your script for ASP.NET Framework 4.8 ?

Using the clues earlier in this thread, I was able to mount an Azure File Storage share to my Windows App Service and serve the static files from through my Asp.net Core 3.1 website.
After adding the Azure Storage Mount to your App Service, you'll need to add the "UseFileServer" option to your app config within Startup.cs. In this case, my Azure File Storage share was named "courses"; snippet is below. Once this is added, you can access the content from the share via https://mywebsite.net/Courses/... Notice too that I specify a local path for local dev/testing since if the path doesn't exist when the app starts it will not run. Hope this helps.
        if (env.IsDevelopment())
        {
            // Local path for dev/testing
            app.UseFileServer(new FileServerOptions
            {
                FileProvider = new PhysicalFileProvider(
                    Path.Combine(env.ContentRootPath, "mounts\\courses")),
                RequestPath = "/Courses"
            });
        }
        else
        {
            // Path to mounted storage in the app service
            app.UseFileServer(new FileServerOptions
            {
                FileProvider = new PhysicalFileProvider("D:\\mounts\\courses"),
                RequestPath = "/Courses"
            });
        }

Thks for your solution ! An idea of your script for ASP.NET Framework 4.8 ?

I think it will not work, but waiting for confirmation

Im looking for the same solution! If someone finds a workaround great!

Thank you both for your comments and for the useful links, @gsethgit! It looks like @jmalarcon tried all the same things I did. I also tried using debug console in the Kudu tools to attempt to make symbolic links to the /mounts/test folder, but both mklink (in CMD) and New-Item -ItemType SymbolicLink (in PowerShell) fail because of lack of admin privileges. (I hoped to see if the same were possible for a Linux web app, but I haven't had a chance to try.)
I will attempt the app.UseStaticFiles() approach when I get a chance. What I would really like to do is use rewrite rules to proxy to content in the storage account, but I am not sure that is possible with the way this currently works.

I was able to do it with static files if you are interested

I am interested in the static file approach. Did you just map to the mounted directory?

@gsethgit Any thoughts on this?

Hi @gsethgit :
Thanks for the useful links. The problem is that, just reading the document @daedam mentions, is not totally clear where the mounted volume is located. I mean, yes, it mentions /mounts/test but it took me a while to see that the /was referring to the root of the local disk not to the root of the web server (in Windows, paths use backslashes and disk letters). Therefore, my first guess was that the storage was mounted in reality under /home/site/wwwroot/mounts/test and that it should serve those files, like he says in this issue.
But, in fact, the storage is mounted under the D:\mounts\test folder, which is great for a container but not so great for a Windows Code application since you need to use code to access it. If you try to create a virtual folder in the Web App to access that route, it won't work because it only lets you create virtual folders under the site folder:

And if you try to use a relative path:

it works, but gives an error if you try to access it (I guess because of permissions).
I think what a lot of users would love to have in this feature is an option to create the mount directly under site so that you can easily add it as a virtual directory (with the corresponding access permissions). That would help a lot with legacy applications that are deployed in Web Apps (I guess there are a lot of them, and in my case for sure).
Regarding the specific document, IMHO would be great to add:

An specific mention of that /mount/test path being referred to the root of the disk, not to the root of the Web App, and change the slashes in the Windows specific instructions to "X:\mounts\test being "X" the root folder of the disk in the Web Appp".
Add the links you mention for further instructions on how to access them by code.

Thanks!

@jmalarcon trying to find if you found a workaround to add the mounted storage as a virtual directory to app services?

See the latest update to the doc. #please-close