Error on startup (Event handler (f) did not receive enough output values

`Error completing request
Arguments: (0, <PIL.Image.Image image mode=RGB size=1456x816 at 0x1EBFE7F67D0>, None, '', '', 0, 0, 512, 512, False, True, False, False, 0, 1, False, 1, True, True, False, False, ['left-right', 'red-cyan-anaglyph'], 2.5, 'polylines_sharp', 0, True, False, False, False, False, 'u2net', False, 0, 2, False, None, True, False, True, False) {}
Traceback (most recent call last):
File "C:\Users\Michael\stable-diffusion-webui\modules\call_queue.py", line 57, in f
res = list(func(*args, **kwargs))
File "C:\Users\Michael\stable-diffusion-webui\modules\call_queue.py", line 37, in f
res = func(*args, **kwargs)
File "C:\Users\Michael\stable-diffusion-webui\extensions\stable-diffusion-webui-depthmap-script\scripts\depthmap.py", line 1171, in run_generate
outputs, mesh_fi, meshsimple_fi = run_depthmap(
File "C:\Users\Michael\stable-diffusion-webui\extensions\stable-diffusion-webui-depthmap-script\scripts\depthmap.py", line 766, in run_depthmap
mesh_fi = run_3dphoto(device, inpaint_imgs, inpaint_depths, inputnames, outpath, fnExt, vid_ssaa, inpaint_vids)
UnboundLocalError: local variable 'inpaint_imgs' referenced before assignment
Traceback (most recent call last):
File "C:\Users\Michael\stable-diffusion-webui\venv\lib\site-packages\gradio\routes.py", line 399, in run_predict
output = await app.get_blocks().process_api(
File "C:\Users\Michael\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1302, in process_api
data = self.postprocess_data(fn_index, result["prediction"], state)
File "C:\Users\Michael\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1206, in postprocess_data    self.validate_outputs(fn_index, predictions)  # type: ignore
File "C:\Users\Michael\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1181, in validate_outputs    raise ValueError(
ValueError: An event handler (f) didn't receive enough output values (needed: 5, received: 3).
Wanted outputs:
[gallery, textbox, model3d, html, html]
Received outputs:
[None, "", "UnboundLocalError: local variable 'inpaint_imgs' referenced before assignmentTime taken: 3.88sTorch active/reserved: 4398/4508 MiB, Sys VRAM: 6144/6144 MiB (100.0%)"]'
Here is the error i got in my CMD im using these arguments:
Launching Web UI with arguments: --precision full --no-half --opt-split-attention (have tried the half VRAM argument with no change on this error)
This is my first attempt at a depth map and i am a complete novice at AI, SD, blender, coding etc...
any help would be helpful, thanks :)

UnboundLocalError: local variable 'inpaint_imgs' referenced before assignment

I assume this was a secondary error, something went wrong before that. Please post the entire stack trace from the console.

i had to remake the error but here it is:
To create a public link, set share=True in launch().

DepthMap v0.3.11
device: cuda
Loading model weights from  ./models/leres/res101.pth
initialize network with normal
loading the model from ./models/pix2pix\latest_net_G.pth
unexpected EOF, expected 10480012 more bytes. The file might be corrupted.
All done.
Error completing request
Arguments: (0, <PIL.Image.Image image mode=RGB size=1456x816 at 0x1FB7FE36F20>, None, '', '', 0, 0, 512, 512, False, True, False, False, 0, 1, False, 1, True, True, False, False, ['left-right', 'red-cyan-anaglyph'], 2.5, 'polylines_sharp', 0, True, False, False, False, False, 'u2net', False, 0, 2, False, None, True, False, True, False) {}
Traceback (most recent call last):
File "C:\Users\Michael\stable-diffusion-webui\modules\call_queue.py", line 57, in f
res = list(func(*args, **kwargs))
File "C:\Users\Michael\stable-diffusion-webui\modules\call_queue.py", line 37, in f
res = func(*args, **kwargs)
File "C:\Users\Michael\stable-diffusion-webui\extensions\stable-diffusion-webui-depthmap-script\scripts\depthmap.py", line 1171, in run_generate
outputs, mesh_fi, meshsimple_fi = run_depthmap(
File "C:\Users\Michael\stable-diffusion-webui\extensions\stable-diffusion-webui-depthmap-script\scripts\depthmap.py", line 766, in run_depthmap
mesh_fi = run_3dphoto(device, inpaint_imgs, inpaint_depths, inputnames, outpath, fnExt, vid_ssaa, inpaint_vids)
UnboundLocalError: local variable 'inpaint_imgs' referenced before assignment
Traceback (most recent call last):
File "C:\Users\Michael\stable-diffusion-webui\venv\lib\site-packages\gradio\routes.py", line 399, in run_predict
output = await app.get_blocks().process_api(
File "C:\Users\Michael\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1302, in process_api
data = self.postprocess_data(fn_index, result["prediction"], state)
File "C:\Users\Michael\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1206, in postprocess_data    self.validate_outputs(fn_index, predictions)  # type: ignore
File "C:\Users\Michael\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1181, in validate_outputs    raise ValueError(
ValueError: An event handler (f) didn't receive enough output values (needed: 5, received: 3).
Wanted outputs:
[gallery, textbox, model3d, html, html]
Received outputs:
[None, "", "UnboundLocalError: local variable 'inpaint_imgs' referenced before assignmentTime taken: 3.73sTorch active/reserved: 4389/4504 MiB, Sys VRAM: 6078/6144 MiB (98.93%)"]

it worked, thank you sorry for the late replys


Index projection

It should be easier and more flexible way to work with "favorites" which use index of their parent folder but exploit optimized work with resource collection. Right now, there is awkward prefix: Path parameter in methods of ResourceIndex interface.

Index projections would also help to simplify AggregatedIndex implementation.
The prefix parameter looks really weird in case of aggregation: it is useful only with "favorites", but there can't be any "favorite" folder attached to several parent folders. This prefix parameter should have it's own interface implementation.
class AggregatedIndex: ResourceIndex {
    ...
    override suspend fun allResources(prefix: Path?): Set<Resource> =
        //todo would it help to have Map<ResourceIndex, Path> holding prefixes/root paths?
        //we don't want to do redundant calls to shards which cannot handle `prefix`
        shards.flatMap { it.allResources(prefix) }
            .toSet()
    ...
}

Implemented in #45


Create and test all SelectQuery build test

In tests\Unit\SelectQueryTest.php create all the tests for Select queries. And pass all tests
Required:

Check for exceptions
Join Statements
Select multiple Columns with and without aliases

Push/PR to Branch 6

Issue solved


Release 2.0

It's been almost 5y since the last release. A couple of fixes and dependency upgrades landed on master in the meantime: https://github.com/netceteragroup/valdr-bean-validation/compare/valdr-bean-validation-parent-1.1.3...master.

bump the version to 2.0.0 since we're now requiring Java 17
release from master

The release 2.0.0 was published.


In the code for recalibrating the sensor geometric parameters of the SSS method,why to calculate the "vector rotation matrix" between third column of the "info['chs']['loc']" rotation matrix and the third column of the "fine_cal['locs']" rotation matrix.

In the code for recalibrating the sensor geometric parameters of the SSS method,why to calculate the "vector rotation matrix" between third column of the "info['chs']['loc']" rotation matrix and the third column of the "fine_cal['locs']" rotation matrix.

Normally, questions about algorithms should be directed to the MNE mailing list or the gitter channel.  But since you're asking about specific lines of code, it might be easier to work out the answer here on GitHub.  Could you follow these instructions to link to the specific line(s) of code you're asking about?

Normally, questions about algorithms should be directed to the MNE mailing list or the gitter channel. But since you're asking about specific lines of code, it might be easier to work out the answer here on GitHub. Could you follow these instructions to link to the specific line(s) of code you're asking about?

https://github.com/mne-tools/mne-python/blob/421cb1bc2f432f8eb93a49a3c38be1ac48838497/mne/preprocessing/maxwell.py#L1682-L1696
# Some .dat files might only rotate EZ, so we must check first that
# EX and EY are orthogonal to EZ. If not, we find the rotation between
# the original and fine-cal ez, and rotate EX and EY accordingly:
ch_coil_rot = _loc_to_coil_trans(info_ch['loc'])[:3, :3]
cal_loc = fine_cal['locs'][ci].copy()
cal_coil_rot = _loc_to_coil_trans(cal_loc)[:3, :3]
if np.max([np.abs(np.dot(cal_coil_rot[:, ii], cal_coil_rot[:, 2]))
for ii in range(2)]) > 1e-6:  # X or Y not orthogonal
if not adjust_logged:
logger.info('        Adjusting non-orthogonal EX and EY')
adjust_logged = True
# find the rotation matrix that goes from one to the other
this_trans = _find_vector_rotation(ch_coil_rot[:, 2],
cal_coil_rot[:, 2])
cal_loc[3:] = np.dot(this_trans, ch_coil_rot).T.ravel()
The comment reads“Some .dat files might only rotate EZ”，I want to know what EZ is and why it's OK to just rotate it .Why not rotate EY and EX？

@larsoner is the person who can answer you.

IIRC the official fine cal binaries provided by Neuromag/MEGIN/Elekta only do "1D" fine cal, i.e., they only rotate EZ. It is possible to compute and use "3D" fine cal that tunes/modifies all three. But I think EZ is the most important one to correct, and the benefit from 3D is more subtle compared to no-fine-cal vs 1D (standard) fine cal.


[Users] Mark user as Coordinator, Organizer and/or Beneficiary

Which area(s) of Podkrepi.bg are affected? (leave empty if unsure)
User Management
Describe the feature you'd like to request
In the Admin UI, we should be able to easily find a registered user and mark it as Coordinator, Organizer and/or Beneficiary.

Due to historical reasons, this is done in separate admin sections and forms where all users are listed in a dropdown and it is very difficult to find the one you need.

Describe the solution you'd like
A better and easier solution could be, to use the Admin UI Users section and the already existing filters to find and select the desired user. Then to make him Organizer or Beneficiary by changing the Role in the Organizer/Beneficiary columns.
To make this possible, the Users grid should allow editing of the Coordinator/Organizer/Beneficiary columns which on change should preserve the current forms for new Coordinator, Organizer and Beneficiary do.
Useful links for reference:
Coordinators: https://dev.podkrepi.bg/admin/coordinators and https://dev.podkrepi.bg/admin/coordinators/add
Organizers: https://dev.podkrepi.bg/admin/organizers and https://dev.podkrepi.bg/admin/organizers/create
Create beneficiary form is here: https://dev.podkrepi.bg/admin/beneficiary and https://dev.podkrepi.bg/admin/beneficiary/create
After the implementation inside the common users grid, the above forms and grids can be removed and the whole code simplified.
The issue could be completed in iterations for each role.
Describe alternatives you've considered
For simplicity, the separate grids for Coordinators, Organizers and Beneficients could be implemented as prefiltered views on the common User grid reusing the same code.

I would like to help with this one


Enable support for CoreInstance to assemble and execute string instructions via LLVM - SE-145

This PR adds a new constructor to CoreInstance (CoreInstance::CoreInstance(std::string instructions, std::string configPath)). This constructor is only available after specifying the flag -DSIMENG_ENABLE_TESTS=ON. Calling this constructor with a string of instructions and a config path will assemble the string of instructions via LLVM and construct the process image with the assembled source.  SimEng is then able to execute these assembled instructions. This constructor is not exposed to main.cc so this functionality is not accessible through the compiled SimEng executable.
This feature will mainly be used for testing SST. Instructions supplied via TEST_GROUP(s) will be assembled via this constructor and executed.

Given that the SimEng test suite also has a very similar function, would it be worth creating this function once to suit both use cases?

Additionally PR #248 Updates the LLVM version used in SimEng to 14.0.5, so it may be worth implementing these changes after this PR (given #248 updates the test suite function and ensures backwards compatability)? Open to thoughts on this from all


Microsoft.Extensions.Logging.Console.

There are no attributes "TimestampFormat" in the source code. Which version do you use?

I'm afraid I don't understand the question here.

Closing. Please reopen if you have more information.


typos

some minor typos

Codecov Report
Patch and project coverage have no change.

Comparison is base (cf90d2d) 71.74% compared to head (151b31b) 71.74%.
Report is 3 commits behind head on master.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@           Coverage Diff           @@
##           master     #451   +/-   ##
=======================================
  Coverage   71.74%   71.74%
=======================================
  Files          83       83
  Lines        5713     5713
  Branches     1230     1230
=======================================
  Hits         4099     4099
  Misses       1336     1336
  Partials      278      278

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

Great! Thanks for contributing!


Verify input is less or equal to Number.MAX_SAFE_INTEGER

Candidate for incrementing minor.
We want to verify input is less than or equal to Number.MAX_SAFE_INTEGER (largest integer such that all smaller integers can safely represented).

Coverage remained the same at 100.0% when pulling f5564337761eebd30aad4f460d4deac4e380c623 on validate_lte_max_safe_integer into 44550e98be88921fc538dc0df3ecdcd9c7d4fccf on master.


Headless mode

The runner dialog is still created, but never shown. The big exceptions are with the progress functions, where we have to keep track of whether or not we're headless and route things accordingly.
A simple working example tool:
import time
import xappt

@xappt.register_plugin
class HeadlessTest(xappt.BaseTool):
    headless = True

    @classmethod
    def name(cls) -> str:
        return "headless-test"

    @classmethod
    def help(cls) -> str:
        return "Just a test to work out issues with headless mode."

    @classmethod
    def collection(cls) -> str:
        return "System"

    def execute(self, **kwargs) -> int:
        if not self.interface.ask("Continue?"):
            return 0
        self.interface.progress_start()
        for i in range(100):
            time.sleep(0.1)
            self.interface.progress_update(message=f"Message {i + 1:03d}", percent_complete=(i / 100))
        self.interface.progress_end()
        self.interface.message("Complete")
        return 0

Looks great. The only thing I noticed is that the python process is still running after the last dialog closes. I tried explicitly calling self.close() in xappt_qt/interface.py, but no dice.
    def invoke(self, plugin: BaseTool, **kwargs):
        self.headless = kwargs.get('headless')
        if self.headless:
            center_widget(self.runner)
            self.instance.exec_()
            plugin.execute()
            self.close()  # <-- This didn't work
            return

Good catch. I'll see what I can do. I seem to remember something about an application auto-quitting when the last window closes, although maybe I'm thinking of something else. In any case I think that kind of behavior can be implemented with just a little bookkeeping.

Ok, so I'm detecting if we're running from the launcher, and if so, plus if we're headless, then I quit after execution. This seems to do the trick.


feat: pd incident:rename

if you have a better way of getting the same goal. I would be glad to use that
I would love to have a way of changing the title of an incident
this is the way of team we easily label an incident, for and example:
current incident name:
ISSUE HAPPENED
new incident name:
[Pending Customer] ISSUE HAPPENED

as seen in https://developer.pagerduty.com/api-reference/b3A6Mjc0ODE0Mg-update-an-incident

Hi there - although Martin doesn't have a "pd incident:set" option you can use the rest parameter to easily do it.  Try this...
pd rest:put -e https://api.pagerduty.com/incidents/YOURINCIDENT -d '{"incident": {"type": "incident","title": "NEW TITLE"}}'

yeah, I know the rest works, I guess I wanted to make this easier than the API call
thanks though!

I'll create a bash function that does this and note this issue..
if enough people will want it I guess we can push that change?

Thanks @jcalcada! that will definitely work (also, the https://api.pagerduty.com/ part isn't needed 😉) - I could do a dedicated incident:set command if that's helpful, there are a few things that can be set on incident besides the title, like the urgency etc...

This sounds like a great idea! We do the same things, especially when it’s a “known issue” we can’t fix right now. We use that to quickly merge cases based on our internal ticket numbers!

@sarman-tftsr I would suggest adding a 👍  to the issue, so we can track how many people want this feature

hi everyone, I just published v0.0.84 which adds:

incident:set (with alias incident:update) that you can use to set the title, urgency and a few other things on incidents
incident:rename that you can use to just set incident titles with a simpler set of flags

both commands take the usual incident selection arguments (-i, -m, -p) and can work on multiple incidents in one go. Let me know if this works for you and if so I will close this issue

it does work, my use case and @jcalcada was to add a prefix,
my work now is to do a rest:get to get the incidents name

I thought about implementing it that way @georgettica but it would have to get every incident first so it would be more https requests... I was on the fence about it, now I think I want to do it 😂. I'll probably make that change tomorrow and push it as 0.0.85

I don't see an issue with having more requests if it minimizes users overhead

I am thinking to have a separate flag to prefix a given string to the existing title... later on maybe I will mess around with regexps too

I think an additional flag would be perfect

Hi so I just published 0.0.85 which adds the --prefix flag and just prepends the given string to the incident title... let me know how you make out with it...

I tried it now at last and it works great, thanks!


Change the Window Title to twitch account login

Example Twitch Drops Miner v{version} ({twitch_login}) (by DevilXD))
or add imput field to settings tab to set window title

Hello o/
I'm assuming this is an Enhancement proposition. While I get why something like this would be cool to have, there's several things that say otherwise:

"Twitch login" isn't stored anywhere. The login flow saves an authentication token that is then used for all requests the app makes, and the only thing used besides it is the user_id which is like a ~7 digits long number. I can't remember what the verification payload returns when given an authentication token, but it there's no account name in it, displaying information like this is pretty much impossible.
The application starts in an unlogged state. To display it's window, a window title has to be already set at startup. There's nothing to display when the window needs to be opened. What to display until the login finishes?
The miner currently supports only one account, and any support regarding having multiple copies open (which I'm assuming is the reason for this enhancement request) is not supported.
There's no plans to add any "input field" to set the window title. It'll stay as is.

All of the above make this issue pretty much a NoFix.


Unexpected errors in log for node addresses instance metadata

I'm assuming there shouldn't be errors for a task like getting unexpected amount of metadata?
Logs:
I0912 21:11:50.519285  119283 controller.go:70] processing cluster nyc3-shared
I0912 21:11:50.519460  119283 controller.go:73] cluster nyc3-shared already exist
I0912 21:11:51.095307  119283 instances.go:47] Check instance metadata for nyc3-shared-control-plane
I0912 21:11:51.095548  119283 instances.go:47] Check instance metadata for nyc3-shared-worker
I0912 21:11:51.095943  119283 instances.go:47] Check instance metadata for nyc3-shared-worker2
I0912 21:11:51.096065  119283 instances.go:47] Check instance metadata for nyc3-shared-worker3
E0912 21:11:51.214039  119283 node_controller.go:281] Error getting instance metadata for node addresses: container addresses should have 2 values, got 5 values
E0912 21:11:51.303477  119283 node_controller.go:281] Error getting instance metadata for node addresses: container addresses should have 2 values, got 4 values
E0912 21:11:51.320311  119283 node_controller.go:281] Error getting instance metadata for node addresses: container addresses should have 2 values, got 5 values
E0912 21:11:51.341781  119283 node_controller.go:281] Error getting instance metadata for node addresses: container addresses should have 2 values, got 5 values

Environment:
$ uname -a
Linux REDACTED 6.1.0-25-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.106-3 (2024-08-26) x86_64 GNU/Linux
$ kind --version
kind version 0.24.0
$ nerdctl version
Client:
 Version:	v1.7.7
 OS/Arch:	linux/amd64
 Git commit:	5882c720f4e7f358fb26b759e514b3ae9dd8ea83
 buildctl:
  Version:	v0.15.2
  GitCommit:	9e14164a1099d3e41b58fc879cbdd6f2b2edb04e

Server:
 containerd:
  Version:	v1.7.22
  GitCommit:	7f7fdf5fed64eb6a7caf99b3e12efcf9d60e311c
 runc:
  Version:	1.1.14
  GitCommit:	v1.1.14-0-g2c9f5602

Someone reported something similar the other day with podman, I think the errors comes from
https://github.com/kubernetes-sigs/cloud-provider-kind/blob/7d92b656f0b1a878c86e61ca3be31a69ddcd1b96/pkg/container/container.go#L132-L150
If you can perform the docker inspect command manually to understand why it does not detect two ips it will help to debug

Control Plane:
# nerdctl inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}},{{.GlobalIPv6Address}}{{end}}' 0c1ccb1a9660
<IP_ADDRESS>,fc00:f853:ccd:e793::<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,

Workers example:
# nerdctl inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}},{{.GlobalIPv6Address}}{{end}}' 78cb379f8a11
<IP_ADDRESS>,fc00:f853:ccd:e793::3<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,
# nerdctl inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}},{{.GlobalIPv6Address}}{{end}}' 8cc8716a4db6
<IP_ADDRESS>,fc00:f853:ccd:e793::4<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,
# nerdctl inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}},{{.GlobalIPv6Address}}{{end}}' e3e427961af0
<IP_ADDRESS>,fc00:f853:ccd:e793::5<IP_ADDRESS>,<IP_ADDRESS>,

kind.yaml:
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
name: nyc3-shared
nodes:
  - role: control-plane
  - role: worker
  - role: worker
  - role: worker

Started with:
kind create cluster --config /usr/local/etc/kind.yaml --wait 5m

I noticed that one of the workers had a different number of network settings than the others. It was not a copy and paste error on my part as far as I could tell.  Here are all of the processes to match up with the inspect commands above:
# nerdctl ps
CONTAINER ID    IMAGE                                                                                COMMAND                   CREATED         STATUS    PORTS                        NAMES
0c1ccb1a9660    docker.io/kindest/node@sha256:53df588e04085fd41ae12de0c3fe4c72f7013bba32a20e7325357a1ac94ba865    "/usr/local/bin/entr…"    13 hours ago    Up        <IP_ADDRESS>:34487->6443/tcp    nyc3-shared-control-plane
78cb379f8a11    docker.io/kindest/node@sha256:53df588e04085fd41ae12de0c3fe4c72f7013bba32a20e7325357a1ac94ba865    "/usr/local/bin/entr…"    13 hours ago    Up                                     nyc3-shared-worker
8cc8716a4db6    docker.io/kindest/node@sha256:53df588e04085fd41ae12de0c3fe4c72f7013bba32a20e7325357a1ac94ba865    "/usr/local/bin/entr…"    13 hours ago    Up                                     nyc3-shared-worker2
e3e427961af0    docker.io/kindest/node@sha256:53df588e04085fd41ae12de0c3fe4c72f7013bba32a20e7325357a1ac94ba865    "/usr/local/bin/entr…"    13 hours ago    Up                                     nyc3-shared-worker3

can you paste the entire inspect without the format statement? I'm curious about what has change to report so many IPs in a container
cc: @BenTheElder , the logic to parse ips is the same as in kind


Support for asciidoc content in tables (for definition properties)

I am using GFM in property descriptions. Some of the syntax is working, i.e. italics, bold, monospace. However some isn't working, i.e. headers, lists.
I don't have much experience with asciidoc but looking at quick reference: Table with column containing AsciiDoc content, there is an extra a beside the column width. I am guessing this is missing from the generated adoc files for description columns.
I hope this information is enough but if not please let me know and I will try my best.

You can add the a flag in withMarkupSpecifiers(AsciiDoc, ...) parameter (for the Description column only) in the various tables that need it.
Please note that your documentation, if it contains advanced Markup for properties descriptions, will then render correctly only using AsciiDoc output. Markdown and Confluence Wiki rendering of tables containing advanced formatting is not supported by these languages. Moreover long properties descriptions don't always fit well in tables, so an advice is you keep your properties descriptions short enough when possible.

Can I close the issue?

I was using the cli and had to edit the generated adoc file. So such a change would still be useful if there is no harm.

Ok. You are right. The AsciiDoc cell specifier is missing.
Btw, if you use and like Swagger2markup, we would love to get your GitHub Star.

I'm also waiting this enhancement.
When is applied?

I won't have time to implement this.
Please provide a PR, if you need this feature urgently.

@RobWin Would like to fix this low hanging fruit during hacktoberfest. I would add the a specifier in the TableComponent such that every table may contain .adoc content. Is that okay for you?

Yes sure. That would be awesome. I guess this must be fixed in the markup-document-builder


Fix the search for "v8-deopt-webapp" module

There was an error that the file could not be found "v8-deopt-webapp.umd.js".
To fix the problem, changed the path to this file. Also had to replace the file in main.

@andrewiggins can you look please?

buildEnd hook is being called before writing the files.
Consequently, we get an error.
Since writeBundle hook is being called twice for each file, I added a file existence check.
Perhaps, we can remove a call to generateTestData() from vite?

Ah right. Yea that's fine - we can remove it.


[Feature] Port FileScanNode to BE connector

i want to pick this @meegoo

@caneGuy Thanks for your interst in this issue. But this task has been already assigned to me, and it's almost nearly done(pr 7453). And if you have any suggestions for this pr, you can comment on it.


Support Storing Database Inside World Container

Save and load the database from a Zip file. Requires #31.

I changed my mind.


[SPARK-35308][TESTS] Fix bug in SPARK-35266 that creates benchmark files in invalid path with wrong name

What changes were proposed in this pull request?
This PR fixes a bug in SPARK-35266 that creates benchmark files in the invalid path with the wrong name.
e.g. For BLASBenchmark,

AS-IS: Creates benchmarksBLASBenchmark-results.txt in {SPARK_HOME}/mllib-local/
TO-BE: Creates BLASBenchmark-results.txt in {SPARK_HOME}/mllib-local/benchmarks/

Why are the changes needed?
As you can see in the above example, new benchmark files cannot be created as intended due to this bug.
Does this PR introduce any user-facing change?
No
How was this patch tested?
After building Spark, manually tested with the following command:
SPARK_GENERATE_BENCHMARK_FILES=1 bin/spark-submit --class \
    org.apache.spark.benchmark.Benchmarks --jars \
    "`find . -name '*-SNAPSHOT-tests.jar' -o -name '*avro*-SNAPSHOT.jar' | paste -sd ',' -`" \
    "`find . -name 'spark-core*-SNAPSHOT-tests.jar'`" \
    "org.apache.spark.ml.linalg.BLASBenchmark"

It successfully generated the benchmark files as intended (BLASBenchmark-results.txt in {SPARK_HOME}/mllib-local/benchmarks/).

Can one of the admins verify this patch?

I manually tested. Merged to master.


Fix some unsoundness and remove some unsafe

Some code relied on the layout of types with no #[repr(...)] attribute, which is unsound since the layout of these types is not guaranteed by rustc. This change adds the appropriate repr attributes and replaces unsafe code with safe code where possible.

Friendly ping 🙂

FYI, given that the title mentions "unsoundness", I've opened an issue to file a security advisory for this: https://github.com/rustsec/advisory-db/issues/1984.

@joshlf Thank you for contribution. This crate has many users, and some have very specific needs; there is a lot to consider when adding a new dependency. I have finally been able to make the time to evaluate it, and I don't see any problems. The repr fixes are important, and reducing usage of unsafe is nice too.

Thanks for the review!

Hi, this PR added a dependency for zerocopy 0.6, can the project update to zerocopy 0.7 ?
Most projects are already on 0.7 so this has added a new dependency for me.


Finite volume method for conservative PDEs

Hi,
I'm wondering if it is possible to add finite volumes for conservative PDEs in the future?
Thank you for your great work btw

It would be good to parse the equation and send it to Trixi.jl for semidiscretization when possible.

It would be good to parse the equation and send it to Trixi.jl for semidiscretization when possible.

That is a great package, thanks for the info!
I am trying to use the WENO methods, however. I don't think that is available in Trixi.jl.

I wonder what @ranocha thinks of a comparison WENO methods.

I like WENO methods in general and it would be great if they were available in Julia. Indeed, we do not have WENO methods (neither finite volume nor finite difference variants) in Trixi.jl since we focus on discontinuous Galerkin methods. That's just the background of our core developers. If someone wanted to implement WENO-type methods, I could give some advice (if desired).
Some aspects to think about

Finite volume or finite difference style?
How to handle boundary conditions? There are many different ways to do so, mostly heuristic. Mark Carpenter et al. have some papers with some theoretical foundations, but these methods are of course also more complex (finite difference style).
Make it general enough to allow many different reconstructions/indicators/fluxes/equations
Make it general enough to allow well-balanced and positivity preserving methods of Zhang and Shu (shallow water etc.)

Sending to Trixi might have to wait until after we have solution interfaces, as it would affect the way solution retrieval is done in a way that would be confusing, unless there is a way to manually assign observed variables to elements of the u array. So that
    grid = get_discrete(pdesys, discretization)
    solu = map(d -> sol[d][end], grid[u(x, y, t)])

still works, the current recommended practice.
Unless we make dispatch to Trixie a kwarg option which warns and falls back on MOL when a suitable form is not found.

A good start would be finite difference WENO methods. Then we can move on to reconstruction.

A good reference is Section 2.3.4 in
C.-W. Shu, High order weighted essentially non-oscillatory schemes for convection dominated problems, SIAM Review, 51:82-126, 2009.

Looking at using the scheme presented here
See page 8:
Here a scheme is given for h_i+1/2 , to obtain the scheme for h_i-1/2 I assume that I reverse the weights and stencils, but what of the \beta_j and \gamma_j coefficients?
@ranocha @ChrisRackauckas Do you have an intuition for this?

Here is another implementation that might be useful
https://github.com/tiagopereira/WENO4.jl

Thanks both! I've made a start here.
I have a question about WENO, it is my understanding that there is nothing special about the interpolation weights used, and that others may be substituted as long as they are valid. We have a function in MOL that will generate Lagrange interpolations, automatically adjusting for a nonuniform grid. Would it be valid to use these as long as I calculated the correct form of the beta parameters?

I have never tried that but it sounds okay to me


Draw circle doesn't work in HTML5

This appears to have been fixed with OpenFL 3.1! Will have to investigate if OpenFL next is stable enough to use for HTML5 builds before marking this as done. (it's not for Windows builds, last time I checked)

Fixed.


ROX-23359: compliance profile check cluster result

Description
Provides the results of a specific compliance check result by clusters.  The count for paging is included in the response.
Target is the bottom section of the following screen:

Checklist

[ ] Investigated and inspected CI test results
[ ] Unit test and regression tests added
~- [ ] Evaluated and added CHANGELOG entry if required~
~- [ ] Determined and documented upgrade steps~
~- [ ] Documented user facing changes (create PR based on [openshift/openshift-docs]~(https://github.com/openshift/openshift-docs) and merge into rhacs-docs)

If any of these don't apply, please comment below.
Testing Performed
Here I tell how I validated my change
No filters:
curl --insecure "https://central-stackrox.apps.ds-04-11-best-bait-empty.ocp.infra.rox.systems:443/v2/compliance/scan/results/profile/ocp4-e8/checks/ocp4-e8-api-server-encryption-provider-cipher" -u admin:XXX | json_pp

all_clusters.json
A cluster filter to demonstrate filters:
curl --insecure "https://central-stackrox.apps.ds-04-11-best-bait-empty.ocp.infra.rox.systems:443/v2/compliance/scan/results/profile/ocp4-e8/checks/ocp4-e8-api-server-encryption-provider-cipher?query.query=Cluster%20Id:8ec650d5-0987-4c88-8e5b-bf2ed4a233b5" -u admin:XXX | json_pp

cluster_filter.json
Reminder for reviewers
In addition to reviewing code here, reviewers must also review testing and request further testing in case the
performed one does not seem sufficient. As a reviewer, you must not approve the change until you understand the
performed testing and you are satisfied with it.

/retest

/retest


Support for Java.

Hi, is there currently support for Java  ... or some bindings that support use of Java for your library ? For example jclouds is a multi-cloud java library that supports several cloud service providers. This could be a good feature if possible since there is  a growing interest in using virtual file systems for cloud storage.

Hi SyCode7,
I don't have any plans related to Java.
Perhaps you could elaborate on your envisioned use case?
Cheers, vv

Hi vv,
Many thanks for the great work you are doing and for your response.
We currently have a multi-cloud application for storing files across several cloud storage services.
One advantage of our application is we can encrypt and do other security stuff before uploading
to the clouds. We also maintain a unified root directory, which we plan to transition to a VFS like yours.
However, we use the Java APIs provided by the cloud providers, so integrating your framework will require some plumbing. Do you have some suggestions on this possibility ?
Thanks.

You may just use dokany with java bindings or even fuse for multiplatform support

Hi @SyCode7,
I'm afraid I can't help you with your project. Matching up a Windows system driver with a .NET handler is complicated enough as it is, and I prefer to keep the set of disparate runtime environments involved within reasonable limits. Now if there was an attractive cloud storage service that could only be accessed through a Java API - or if you need special extended features that you can't get the .NET API developers to include in their parts - that would be something different, but I wouldn't see much sense in replacing perfectly well working .NET APIs with their Java counterparts.
As it is, you can always implement a compatible cloud service gateway yourself and plug in it into the DokanCloudFS mounter, or take @JuniorJPDJ's advice and attach directly to dokany.

Hi @vv, thanks I do appreciate. @JuniorJDPJ, we are currently trying out Dokan Java, but since it is not maintained there are a number of bugs we have to take care of.


New branch for tesseract 4.00 dev

Hi @charles,
When can we expect new branch for tesseract 4.00 dev?

I'll see if i can find the time tonight, but no promises.
On Tue, 28 Mar 2017, 05:05 Harinath<EMAIL_ADDRESS>wrote:

Hi @charles https://github.com/charles,
When can we expect new branch for tesseract 4.00 dev?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/charlesw/tesseract/issues/332, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAPzyFu5qm6JiVuWU9_OFYZOAfUm_p7aks5rp7yYgaJpZM4MqSF-
.

@charlesw thanks for the reply,
Will wait...

See #321

Hi @charlesw lib/DLLs not changed

@harinath141, In regards to tesseract 4 dlls you are correct the actual dlls are not yet included currently since Tesseract 4 is under active development. My suggestion is either build them yourself or find some prebuilt dlls.

@charlesw I already have DLLs but to push I don't have permissions.

Just created a pull request from your fork.
On Thu, 30 Mar 2017, 20:30 Harinath<EMAIL_ADDRESS>wrote:

@charlesw https://github.com/charlesw I already have DLLs but to push I
don't have permissions.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/charlesw/tesseract/issues/332#issuecomment-290354990,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAPzyMjIJnAiDZxdNKeVe4ZqVT46c47uks5rq3YZgaJpZM4MqSF-
.


Closes #571 | Add/Update Dataloader UP2.0

Closes #571
Checkbox

[x] Confirm that this PR is linked to the dataset issue.
[x] Create the dataloader script seacrowd/sea_datasets/{my_dataset}/{my_dataset}.py (please use only lowercase and underscore for dataset folder naming, as mentioned in dataset issue) and its __init__.py within {my_dataset} folder.
[x] Provide values for the _CITATION, _DATASETNAME, _DESCRIPTION, _HOMEPAGE, _LICENSE, _LOCAL, _URLs, _SUPPORTED_TASKS, _SOURCE_VERSION, and _SEACROWD_VERSION variables.
[x] Implement _info(), _split_generators() and _generate_examples() in dataloader script.
[ ] Make sure that the BUILDER_CONFIGS class attribute is a list with at least one SEACrowdConfig for the source schema and one for a seacrowd schema.
[x] Confirm dataloader script works with datasets.load_dataset function.
[x] Confirm that your dataloader script passes the test suite run with python -m tests.test_seacrowd seacrowd/sea_datasets/<my_dataset>/<my_dataset>.py or python -m tests.test_seacrowd seacrowd/sea_datasets/<my_dataset>/<my_dataset>.py --subset_id {subset_name_without_source_or_seacrowd_suffix}.
[ ] If my dataset is local, I have provided an output of the unit-tests in the PR (please copy paste). This is OPTIONAL for public datasets, as we can test these without access to the data files.

Currently implemented as source-only, as there seems to be no matching task.
(Based on the information provided in the card)
Issue was initially raised in the issue thread #571.

Changed  utils/common_parser.py > load_ud_data
dataset_raw = parse(open(filepath).read())

to
with open(filepath, encoding='utf-8', errors='replace') as file:
    dataset_raw = parse(file.read())

But please confirm if these result are correct or not

Ran through loader if __name__ == "__main__":

A test sample:

Hi @SamuelCahyawijaya @ljvmiranda921 @khelli07 and @fhudi, I won't merge this dataloader as-is due to the error reported by @khelli07. Let's wait until @fhudi addresses @ljvmiranda921 and @khelli07's feedback.

Unfortunately the test did not pass on my end. Command I ran: python -m tests.test_seacrowd seacrowd/sea_datasets/up2/up2.py --subset_id up2

@khelli07
Note that this is source-only dataloader.
As mentioned in the reviewing checklist point 3, you need to execute test script using the one that is appropriate under the test folder.
Please use the one for source_only.
You can rever to the example of executable test script on how to use it.

P.S.:
@holylovenia
I can't find any readme file referring to how to test source-only dataset. Maybe lost when migrating from NusaCrowd 🥲.

Changed  utils/common_parser.py > load_ud_data
dataset_raw = parse(open(filepath).read())

to
with open(filepath, encoding='utf-8', errors='replace') as file:
    dataset_raw = parse(file.read())

But please confirm if these result are correct or not

@khelli07
Thanks for the suggestion. LGTM.
But may I know the concise reasoning on these changes?

Hi, the changes is to avoid this error:
UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 282814: character maps to <undefined>
It appears when I ran datasets.load_dataset too.
With that change, I successfully ran datasets.load_dataset and python -m tests.test_seacrowd_source_only seacrowd/sea_datasets/up2/up2.py --subset_id up2.

Nope, I use Windows without WSL. Let me try it.

Ok just finished testing, both of them works. So you might be able to choose either one.

Hi @fhudi @khelli07, I would like to let you know that we plan to finalize the calculation of the open contributions (e.g., dataloader implementations) in 31 hours, so it'd be great if we could wrap up the reviewing and merge this PR before then.
Has everything been addressed now? Can we merge this PR?

I think this is just waiting for @khelli07 's review. But from the last comment it seems that it has been resolved 🤔 . I was able to run this so I think it's mostly a platform-specific issue. Dataloader works though so I think it's safe to merge!

@khelli07
Sorry for the late reply.
Honestly, adding the parameter errors='replace' might change the overall behaviour.
As this function is used by other DataLoader as well, I am a bit skeptical in including this change.
Also, based on your reply, the root cause does not seem to be from the additional parameters.
However, I have made the adjustment as seen from the commit.
cc: @holylovenia @ljvmiranda921

@khelli07 @ljvmiranda921
I believe this is save for merging?

open(filepath, encoding='utf-8')
open(filepath, errors='replace')

Sorry for jumping it late. I think this is a platform-based issue where, for non-Linux/MacOS, the encoding doesn't default to utf-8. Hence, the first one is preferable.

Since both reviewers have given the approver (and the dataloader assignee best not to merge it themselves even though it has been approved), I'll proceed with the merging.
fyi @khelli07 @ljvmiranda921


without_gvl doesn't seem to work for functions with generic parameters

Hey there - I found this library looking for an answer to the same question posed in https://github.com/matsadler/magnus/issues/91. Essentially, I'm trying to create a Ruby native extension wrapper for a REST API client in Rust that I generated from an OpenAPI spec using progenitor. When I realized I was going to need to manually release the GVL from within the Rust extension to allow the API calls to run concurrently, I looked around and didn't find a satisfying answer except for this crate.
To reduce boilerplate in the Ruby native extension, I'm using a wrapper method that takes a Future and handles the task of blocking on that future to get a Result, then another helper maps that into a Result<magnus::Value, magnus::Error> that can be returned to the Ruby side. The only reason this works is that I'm using serde_magnus to transcode all responses into Ruby hashes, so any generated API return types (mostly) only need to implement serde::Serialize.
So, I think if I could successfully wrap the function that blocks on the Future in without_gvl, that should allow the Ruby side to make requests concurrently in multiple threads.
Here's an example of what I want to do that reproduces the error using this crate and tokio:
use lucchetto::{without_gvl, GvlSafe};
use std::future::Future;

pub struct GvlSafeFuture<'r, O, F>
where
    F: Future<Output = O>,
{
    runtime: &'r tokio::runtime::Runtime,
    future: F,
}

impl<'r, O, F> GvlSafe for GvlSafeFuture<'r, O, F> where F: Future<Output = O> {}

impl<'r, O, F> GvlSafeFuture<'r, O, F>
where
    F: Future<Output = O>,
{
    pub fn run(self) -> O {
        self.runtime.block_on(self.future)
    }
}

#[without_gvl]
fn run_future<'r, O, F>(future: GvlSafeFuture<'r, O, F>) -> O
where
    F: Future<Output = O>,
{
    future.run()
}

The run_future function will fail to compile with a diagnostic like this:
error[E0401]: can't use generic parameters from outer item
  --> src/lib.rs:24:54
   |
23 | #[without_gvl]
   | -------------- help: try introducing a local generic parameter here: `<F>`
24 | fn run_future<'r, O, F>(future: GvlSafeFuture<'r, O, F>) -> O
   |                      -                               ^ use of generic parameter from outer item
   |                      |
   |                      type parameter from outer item

I'm wondering if you have any pointers on how I might be able to make this work, since I'm not very familiar with writing Rust macros or unsafe. I have a feeling that this may be difficult/a bad idea but it would be awesome if I could figure out a path forward.

Could you provide some additional details about how you plan to pass in a Future from ruby? Because in general I would advise to use the macro in this crate around functions that are then exposed to ruby, like in the example: https://github.com/Maaarcocr/lucchetto/blob/b1b69b3ebf5b3414e050c207285c4e55ce24c29b/examples/simple/ext/simple/src/lib.rs#L17
If you can give me more info about this, I can then try to fix it!

Thanks for the response! And sorry, I should have been more specific - I'm not passing in Futures from Ruby, it's the calls to the pure-Rust API client that return Futures.
The code here is a little messy in its current state, but here's an example of an individual method in my native extension that gets exposed to Ruby:
https://github.com/oatmealdealer/ship_compliant_v1_rb/blob/4c438dc9d3520b2c32fe4792cde026dbb28bf2c5/ext/ship_compliant_v1_rb/src/lib.rs#L135-L143
To give an example of the Futures I'm using the generic parameters for, the call from that function to post_sales_orders_quote_sales_tax_rate has a return type of
impl Future<Output = Result<ResponseValue<ShipCompliantRestApiMiddlewaresSwaggerResponseTypesTaxRateSalesOrderByAddressResponse>, Error<ShipCompliantRestApiMiddlewaresSwaggerResponseTypesSalesOrderAddressValidationResponseOrNone>>>

That Future gets passed to fn call, the part of which I want to modify is:
https://github.com/oatmealdealer/ship_compliant_v1_rb/blob/4c438dc9d3520b2c32fe4792cde026dbb28bf2c5/ext/ship_compliant_v1_rb/src/lib.rs#L101
self.runtime.block_on(f) is the function call around which I want to release the GVL. Extending my original example, I'm thinking I would add something like this to impl V1Client:
    fn run_future_without_gvl<F, T, E>(&self, f: F) -> F::Output
    where
        T: Serialize,
        E: Serialize + Debug + Send + Sync,
        ship_compliant_v1_rs::Error<E>: Display + Debug,
        F: std::future::Future<Output = Result<ResponseValue<T>, ship_compliant_v1_rs::Error<E>>>,
    {
        run_future(GvlSafeFuture { runtime: &self.runtime, future: f })
    }

I might still not be explaining this super well, but let me know if that makes sense.

I would suggest to use create a new function, called something like call_without_gvl which does not return a Future, but instead it returns the result of the future in a sync way and annotate that with without_gvl. Keep in mind that you should not use any ruby in it and it should essentially only block on the future you want to run. Then in call you can transform the result of it into a ruby value.

I would suggest to use create a new function, called something like call_without_gvl which does not return a Future, but instead it returns the result of the future in a sync way and annotate that with without_gvl. Keep in mind that you should not use any ruby in it and it should essentially only block on the future you want to run. Then in call you can transform the result of it into a ruby value.

Right, that's what I'm trying to do with the run_future function in my original post. The problem is that the run_future function needs to have generic type parameters, but then I get the error can't use generic parameters from outer item. I looked at the code of lucchetto a little and I think maybe it's related to the anonymous wrappers around the function, but I'm not sure.
If you want to take a look locally, here's my example from earlier as a library crate: https://github.com/oatmealdealer/lucchetto-test


Stuck in Welcome loop

Expected Behavior
I need to login again for whatever reason. I click Continue with Github because I used my Github account. In my browser, I'm asked for a password, I enter a password but it says it is wrong. I click back, click Continue with Github and get automatically logged in, I can see the Dashboard.
In the dasboard, I see Open. When I click it, the Insomnia application opens but it shows the Welcome screen again. Alternatively, it would be nice to be able to generate the token somewhere in the dashboard so I can use it to log in, I have no idea where that token should be coming from otherwise
Actual Behavior
When I click Open in the dashboard and Insomnia opens, I expect to be logged in because in my browser I am logged in.
Reproduction Steps
See exptected behaviour.
Is there an existing issue for this?

[X] I have searched the issue tracker for this problem.

Additional Information
No response
Insomnia Version
8.4.5
What operating system are you using?
macOS
Operating System Version
macOS 13
Installation method
don't remember
Last Known Working Insomnia version
No response

It’s more likely an optimization, for not great at experience.
Open button just directs to an organization, via insomnia://app/open/organization?organizationId=$id, without any authorization logic (It will be great and intuitive if apply authorization meantime).
The authorization callback link looks like insomnia://app/auth/finish?box=xx.

Hey @maxbry thanks for the feedback since you forgot your encryption passphrase you can't access the data in the app.
We just updated this flow to include a "Reset passphrase" link for that specific case.
This should help you recover access to your account and local data in the app.

I'll close the issue since this is now addressed in the website and looking forward for any feedback!


It was not possible to find any installed .NET SDKs and lots of other OmniSharp errors

Issue
Console.ReadLine(); reads input forever.
OmniSharp: It was not possible to find any installed .NET SDKs.
System Info

Linux Mint 20.1
Visual Studio Code 1.56.2

Description
I've installed .NET SDK following this instructions: https://docs.microsoft.com/en-us/dotnet/core/install/linux-snap
  252  sudo rm /etc/apt/preferences.d/nosnap.pref
  253  sudo apt update
  254  sudo apt install snapd
  255  sudo snap install dotnet-sdk --classic
  256  sudo snap alias dotnet-sdk.dotnet dotnet

I've then went and made a simple C# program:
using System;

class Program
{
    static void Main(string[] args)
    {
        Console.WriteLine("Welcome Home");
        string str = Console.ReadLine();
        Console.WriteLine(str);
    }
}

VSC terminal outputs:
> Executing task: dotnet build /home/georgeflorian/New Volume/VSCode Projects/CSharp_junior/CSharp_junior.csproj /property:GenerateFullPaths=true /consoleloggerparameters:NoSummary <

Microsoft (R) Build Engine version 16.9.0+57a23d249 for .NET
Copyright (C) Microsoft Corporation. All rights reserved.

  Determining projects to restore...
  All projects are up-to-date for restore.
  CSharp_junior -> /home/georgeflorian/New Volume/VSCode Projects/CSharp_junior/bin/Debug/net5.0/CSharp_junior.dll

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

Debug Console in which I can input forever:
-------------------------------------------------------------------
You may only use the Microsoft .NET Core Debugger (vsdbg) with
Visual Studio Code, Visual Studio or Visual Studio for Mac software
to help you develop and test your applications.
-------------------------------------------------------------------
Loaded '/snap/dotnet-sdk/126/shared/Microsoft.NETCore.App/5.0.6/System.Private.CoreLib.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Loaded '/home/georgeflorian/New Volume/VSCode Projects/CSharp_junior/bin/Debug/net5.0/CSharp_junior.dll'. Symbols loaded.
Loaded '/snap/dotnet-sdk/126/shared/Microsoft.NETCore.App/5.0.6/System.Runtime.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Loaded '/snap/dotnet-sdk/126/shared/Microsoft.NETCore.App/5.0.6/System.Console.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Loaded '/snap/dotnet-sdk/126/shared/Microsoft.NETCore.App/5.0.6/System.Threading.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Loaded '/snap/dotnet-sdk/126/shared/Microsoft.NETCore.App/5.0.6/System.Text.Encoding.Extensions.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Loaded '/snap/dotnet-sdk/126/shared/Microsoft.NETCore.App/5.0.6/Microsoft.Win32.Primitives.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Welcome Home
aaaaaaaaa
cccccccccc
xxxxxxxxxxxx

Output:
Starting OmniSharp server at 5/18/2021, 12:25:40 PM
    Target: /home/georgeflorian/New Volume/VSCode Projects/CSharp_junior

OmniSharp server started.
    Path: /home/georgeflorian/.vscode/extensions/ms-dotnettools.csharp-1.23.11/.omnisharp/1.37.8/run
    PID: 6951

[info]: OmniSharp.Stdio.Host
        Starting OmniSharp on linuxmint 20.1 (x64)
[info]: OmniSharp.Services.DotNetCliService
        DotNetPath set to dotnet
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
        Located 1 MSBuild instance(s)
            1: StandAlone 16.9.0 - "/home/georgeflorian/.vscode/extensions/ms-dotnettools.csharp-1.23.11/.omnisharp/1.37.8/omnisharp/.msbuild/Current/Bin"
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
        MSBUILD_EXE_PATH environment variable set to '/home/georgeflorian/.vscode/extensions/ms-dotnettools.csharp-1.23.11/.omnisharp/1.37.8/omnisharp/.msbuild/Current/Bin/MSBuild.exe'
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
        Registered MSBuild instance: StandAlone 16.9.0 - "/home/georgeflorian/.vscode/extensions/ms-dotnettools.csharp-1.23.11/.omnisharp/1.37.8/omnisharp/.msbuild/Current/Bin"
            CscToolExe = csc.exe
            MSBuildToolsPath = /home/georgeflorian/.vscode/extensions/ms-dotnettools.csharp-1.23.11/.omnisharp/1.37.8/omnisharp/.msbuild/Current/Bin
            CscToolPath = /home/georgeflorian/.vscode/extensions/ms-dotnettools.csharp-1.23.11/.omnisharp/1.37.8/omnisharp/.msbuild/Current/Bin/Roslyn
            BypassFrameworkInstallChecks = true
            MSBuildExtensionsPath = /home/georgeflorian/.vscode/extensions/ms-dotnettools.csharp-1.23.11/.omnisharp/1.37.8/omnisharp/.msbuild
[info]: OmniSharp.WorkspaceInitializer
        Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.CSharpFormattingWorkspaceOptionsProvider, Order: 0
[info]: OmniSharp.WorkspaceInitializer
        Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.Completion.CompletionOptionsProvider, Order: 0
[info]: OmniSharp.WorkspaceInitializer
        Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.RenameWorkspaceOptionsProvider, Order: 100
[info]: OmniSharp.WorkspaceInitializer
        Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.ImplementTypeWorkspaceOptionsProvider, Order: 110
[info]: OmniSharp.WorkspaceInitializer
        Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.BlockStructureWorkspaceOptionsProvider, Order: 140
[info]: OmniSharp.Cake.CakeProjectSystem
        Detecting Cake files in '/home/georgeflorian/New Volume/VSCode Projects/CSharp_junior'.
[info]: OmniSharp.Cake.CakeProjectSystem
        Could not find any Cake files
[info]: OmniSharp.MSBuild.ProjectSystem
        No solution files found in '/home/georgeflorian/New Volume/VSCode Projects/CSharp_junior'
[info]: OmniSharp.MSBuild.ProjectManager
        Queue project update for '/home/georgeflorian/New Volume/VSCode Projects/CSharp_junior/CSharp_junior.csproj'
[info]: OmniSharp.Script.ScriptProjectSystem
        Detecting CSX files in '/home/georgeflorian/New Volume/VSCode Projects/CSharp_junior'.
[info]: OmniSharp.Script.ScriptProjectSystem
        Could not find any CSX files
[info]: OmniSharp.WorkspaceInitializer
        Configuration finished.
[info]: OmniSharp.Stdio.Host
        Omnisharp server running using Stdio at location '/home/georgeflorian/New Volume/VSCode Projects/CSharp_junior' on host 6774.
[info]: OmniSharp.MSBuild.ProjectManager
        Loading project: /home/georgeflorian/New Volume/VSCode Projects/CSharp_junior/CSharp_junior.csproj
It was not possible to find any installed .NET SDKs.
Install a .NET SDK from:
  https://aka.ms/dotnet-download
It was not possible to find any installed .NET SDKs.
Install a .NET SDK from:
  https://aka.ms/dotnet-download
It was not possible to find any installed .NET SDKs.
Install a .NET SDK from:
  https://aka.ms/dotnet-download
It was not possible to find any installed .NET SDKs.
Install a .NET SDK from:
  https://aka.ms/dotnet-download
[warn]: OmniSharp.MSBuild.ProjectManager
        Failed to load project file '/home/georgeflorian/New Volume/VSCode Projects/CSharp_junior/CSharp_junior.csproj'.
/home/georgeflorian/New Volume/VSCode Projects/CSharp_junior/CSharp_junior.csproj(0,0)
Microsoft.Build.Exceptions.InvalidProjectFileException: The SDK 'Microsoft.NET.SDK.WorkloadAutoImportPropsLocator' specified could not be found.  /snap/dotnet-sdk/126/sdk/5.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.ImportWorkloads.props
  at Microsoft.Build.Shared.ProjectErrorUtilities.ThrowInvalidProject (System.String errorSubCategoryResourceName, Microsoft.Build.Shared.IElementLocation elementLocation, System.String resourceName, System.Object[] args) [0x00040] in <ea47b2df30ad4051b6681ba57ba83dc9>:0
  at Microsoft.Build.Shared.ProjectErrorUtilities.VerifyThrowInvalidProject[T1] (System.Boolean condition, System.String errorSubCategoryResourceName, Microsoft.Build.Shared.IElementLocation elementLocation, System.String resourceName, T1 arg0) [0x00003] in <ea47b2df30ad4051b6681ba57ba83dc9>:0
  at Microsoft.Build.Shared.ProjectErrorUtilities.ThrowInvalidProject[T1] (Microsoft.Build.Shared.IElementLocation elementLocation, System.String resourceName, T1 arg0) [0x00000] in <ea47b2df30ad4051b6681ba57ba83dc9>:0
  at Microsoft.Build.Evaluation.Evaluator`4[P,I,M,D].ExpandAndLoadImportsFromUnescapedImportExpressionConditioned (System.String directoryOfImportingFile, Microsoft.Build.Construction.ProjectImportElement importElement, System.Collections.Generic.List`1[Microsoft.Build.Construction.ProjectRootElement]& projects, Microsoft.Build.BackEnd.SdkResolution.SdkResult& sdkResult, System.Boolean throwOnFileNotExistsError) [0x00309] in <ea47b2df30ad4051b6681ba57ba83dc9>:0
  at Microsoft.Build.Evaluation.Evaluator`4[P,I,M,D].ExpandAndLoadImports (System.String directoryOfImportingFile, Microsoft.Build.Construction.ProjectImportElement importElement, Microsoft.Build.BackEnd.SdkResolution.SdkResult& sdkResult) [0x00027] in <ea47b2df30ad4051b6681ba57ba83dc9>:0
  at Microsoft.Build.Evaluation.Evaluator`4[P,I,M,D].EvaluateImportElement (System.String directoryOfImportingFile, Microsoft.Build.Construction.ProjectImportElement importElement) [0x0000d] in <ea47b2df30ad4051b6681ba57ba83dc9>:0
  at Microsoft.Build.Evaluation.Evaluator`4[P,I,M,D].PerformDepthFirstPass (Microsoft.Build.Construction.ProjectRootElement currentProjectOrImport) [0x00262] in <ea47b2df30ad4051b6681ba57ba83dc9>:0
  at Microsoft.Build.Evaluation.Evaluator`4[P,I,M,D].EvaluateImportElement (System.String directoryOfImportingFile, Microsoft.Build.Construction.ProjectImportElement importElement) [0x0003b] in <ea47b2df30ad4051b6681ba57ba83dc9>:0
  at Microsoft.Build.Evaluation.Evaluator`4[P,I,M,D].PerformDepthFirstPass (Microsoft.Build.Construction.ProjectRootElement currentProjectOrImport) [0x00262] in <ea47b2df30ad4051b6681ba57ba83dc9>:0
  at Microsoft.Build.Evaluation.Evaluator`4[P,I,M,D].EvaluateImportElement (System.String directoryOfImportingFile, Microsoft.Build.Construction.ProjectImportElement importElement) [0x0003b] in <ea47b2df30ad4051b6681ba57ba83dc9>:0
  at Microsoft.Build.Evaluation.Evaluator`4[P,I,M,D].PerformDepthFirstPass (Microsoft.Build.Construction.ProjectRootElement currentProjectOrImport) [0x00262] in <ea47b2df30ad4051b6681ba57ba83dc9>:0
  at Microsoft.Build.Evaluation.Evaluator`4[P,I,M,D].EvaluateImportElement (System.String directoryOfImportingFile, Microsoft.Build.Construction.ProjectImportElement importElement) [0x0003b] in <ea47b2df30ad4051b6681ba57ba83dc9>:0
  at Microsoft.Build.Evaluation.Evaluator`4[P,I,M,D].PerformDepthFirstPass (Microsoft.Build.Construction.ProjectRootElement currentProjectOrImport) [0x000e6] in <ea47b2df30ad4051b6681ba57ba83dc9>:0
  at Microsoft.Build.Evaluation.Evaluator`4[P,I,M,D].Evaluate () [0x00139] in <ea47b2df30ad4051b6681ba57ba83dc9>:0
  at Microsoft.Build.Evaluation.Evaluator`4[P,I,M,D].Evaluate (Microsoft.Build.Evaluation.IEvaluatorData`4[P,I,M,D] data, Microsoft.Build.Construction.ProjectRootElement root, Microsoft.Build.Evaluation.ProjectLoadSettings loadSettings, System.Int32 maxNodeCount, Microsoft.Build.Collections.PropertyDictionary`1[T] environmentProperties, Microsoft.Build.BackEnd.Logging.ILoggingService loggingService, Microsoft.Build.Evaluation.IItemFactory`2[S,T] itemFactory, Microsoft.Build.Evaluation.IToolsetProvider toolsetProvider, Microsoft.Build.Evaluation.ProjectRootElementCacheBase projectRootElementCache, Microsoft.Build.Framework.BuildEventContext buildEventContext, Microsoft.Build.BackEnd.SdkResolution.ISdkResolverService sdkResolverService, System.Int32 submissionId, Microsoft.Build.Evaluation.Context.EvaluationContext evaluationContext, System.Boolean interactive) [0x00047] in <ea47b2df30ad4051b6681ba57ba83dc9>:0
  at Microsoft.Build.Evaluation.Project+ProjectImpl.Reevaluate (Microsoft.Build.BackEnd.Logging.ILoggingService loggingServiceForEvaluation, Microsoft.Build.Evaluation.ProjectLoadSettings loadSettings, Microsoft.Build.Evaluation.Context.EvaluationContext evaluationContext) [0x00063] in <ea47b2df30ad4051b6681ba57ba83dc9>:0
  at Microsoft.Build.Evaluation.Project+ProjectImpl.ReevaluateIfNecessary (Microsoft.Build.BackEnd.Logging.ILoggingService loggingServiceForEvaluation, Microsoft.Build.Evaluation.ProjectLoadSettings loadSettings, Microsoft.Build.Evaluation.Context.EvaluationContext evaluationContext) [0x00035] in <ea47b2df30ad4051b6681ba57ba83dc9>:0
  at Microsoft.Build.Evaluation.Project+ProjectImpl.ReevaluateIfNecessary (Microsoft.Build.BackEnd.Logging.ILoggingService loggingServiceForEvaluation, Microsoft.Build.Evaluation.Context.EvaluationContext evaluationContext) [0x00000] in <ea47b2df30ad4051b6681ba57ba83dc9>:0
  at Microsoft.Build.Evaluation.Project+ProjectImpl.ReevaluateIfNecessary (Microsoft.Build.Evaluation.Context.EvaluationContext evaluationContext) [0x00007] in <ea47b2df30ad4051b6681ba57ba83dc9>:0
  at Microsoft.Build.Evaluation.Project+ProjectImpl.Initialize (System.Collections.Generic.IDictionary`2[TKey,TValue] globalProperties, System.String toolsVersion, System.String subToolsetVersion, Microsoft.Build.Evaluation.ProjectLoadSettings loadSettings, Microsoft.Build.Evaluation.Context.EvaluationContext evaluationContext) [0x00127] in <ea47b2df30ad4051b6681ba57ba83dc9>:0
  at Microsoft.Build.Evaluation.Project..ctor (System.String projectFile, System.Collections.Generic.IDictionary`2[TKey,TValue] globalProperties, System.String toolsVersion, System.String subToolsetVersion, Microsoft.Build.Evaluation.ProjectCollection projectCollection, Microsoft.Build.Evaluation.ProjectLoadSettings loadSettings, Microsoft.Build.Evaluation.Context.EvaluationContext evaluationContext) [0x00073] in <ea47b2df30ad4051b6681ba57ba83dc9>:0
  at Microsoft.Build.Evaluation.Project..ctor (System.String projectFile, System.Collections.Generic.IDictionary`2[TKey,TValue] globalProperties, System.String toolsVersion, System.String subToolsetVersion, Microsoft.Build.Evaluation.ProjectCollection projectCollection, Microsoft.Build.Evaluation.ProjectLoadSettings loadSettings) [0x00000] in <ea47b2df30ad4051b6681ba57ba83dc9>:0
  at Microsoft.Build.Evaluation.Project..ctor (System.String projectFile, System.Collections.Generic.IDictionary`2[TKey,TValue] globalProperties, System.String toolsVersion, Microsoft.Build.Evaluation.ProjectCollection projectCollection, Microsoft.Build.Evaluation.ProjectLoadSettings loadSettings) [0x00000] in <ea47b2df30ad4051b6681ba57ba83dc9>:0
  at Microsoft.Build.Evaluation.Project..ctor (System.String projectFile, System.Collections.Generic.IDictionary`2[TKey,TValue] globalProperties, System.String toolsVersion, Microsoft.Build.Evaluation.ProjectCollection projectCollection) [0x00000] in <ea47b2df30ad4051b6681ba57ba83dc9>:0
  at Microsoft.Build.Evaluation.ProjectCollection.LoadProject (System.String fileName, System.Collections.Generic.IDictionary`2[TKey,TValue] globalProperties, System.String toolsVersion) [0x000f7] in <ea47b2df30ad4051b6681ba57ba83dc9>:0
  at Microsoft.Build.Evaluation.ProjectCollection.LoadProject (System.String fileName, System.String toolsVersion) [0x00000] in <ea47b2df30ad4051b6681ba57ba83dc9>:0
  at OmniSharp.MSBuild.ProjectLoader.EvaluateProjectFileCore (System.String filePath, System.Collections.Generic.IReadOnlyDictionary`2[TKey,TValue] projectConfigurationsInSolution) [0x00160] in <8fe908208c34498399bee743e9537395>:0
  at OmniSharp.MSBuild.ProjectLoader.BuildProject (System.String filePath, System.Collections.Generic.IReadOnlyDictionary`2[TKey,TValue] configurationsInSolution) [0x0000d] in <8fe908208c34498399bee743e9537395>:0
  at OmniSharp.MSBuild.ProjectFile.ProjectFileInfo.Load (System.String filePath, OmniSharp.MSBuild.ProjectIdInfo projectIdInfo, OmniSharp.MSBuild.ProjectLoader loader, System.Guid sessionId, OmniSharp.Services.DotNetInfo dotNetInfo) [0x00023] in <8fe908208c34498399bee743e9537395>:0
  at OmniSharp.MSBuild.ProjectManager+<>c__DisplayClass31_0.<LoadProject>b__0 () [0x00000] in <8fe908208c34498399bee743e9537395>:0
  at (wrapper delegate-invoke) System.Func`1[System.ValueTuple`3[OmniSharp.MSBuild.ProjectFile.ProjectFileInfo,System.Collections.Immutable.ImmutableArray`1[OmniSharp.MSBuild.Logging.MSBuildDiagnostic],OmniSharp.MSBuild.Notification.ProjectLoadedEventArgs]].invoke_TResult()
  at OmniSharp.MSBuild.ProjectManager.LoadOrReloadProject (System.String projectFilePath, System.Func`1[TResult] loader) [0x0001b] in <8fe908208c34498399bee743e9537395>:0

[fail]: OmniSharp.MSBuild.ProjectManager
        Attempted to update project that is not loaded: /home/georgeflorian/New Volume/VSCode Projects/CSharp_junior/CSharp_junior.csproj
[info]: OmniSharp.OmniSharpWorkspace
        Miscellaneous file: /home/georgeflorian/New Volume/VSCode Projects/CSharp_junior/Program.cs added to workspace
Received response for /v2/blockstructure but could not find request.
[warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService
        No symbol found. File: /home/georgeflorian/New Volume/VSCode Projects/CSharp_junior/Program.cs, Line: 6, Column: 39.

I've seen similar issues but couldn't find a fix. One of them was this line which didn't do a thing.
sudo ln -sv /usr/local/bin/dotnet /snap/dotnet-sdk/current/dotnet

ln: failed to create symbolic link '/snap/dotnet-sdk/current/dotnet': File exists

whereis dotnet returns dotnet: /usr/share/dotnet /snap/bin/dotnet
What do you guys think ?

Nothing ? I've seen this issue a ton of times on this repo and still no fix has been found.

/cc @wli3 @dsplaisted looks like an SDK installation issue, can you handle?

@dsplaisted this is fixed right?

If you confirm that it's fixed then let us know what version of VS Code contains / will contain the fix and feel free to close this issue. Thanks! :)

This was fixed for Visual Studio.  I'm not sure how the MSBuild SDK resolver that VS Code or Omnisharp uses gets updated.
@DustinCampbell Do you know what the process for this is?  The resolver needs to be updated to include the changes from dotnet/sdk#17329 (and prior changes, such as dotnet/sdk#16414).

@dsplaisted I think it's defined here: https://github.com/OmniSharp/omnisharp-roslyn/blob/a13040712d02fa10bfb6c5847011bfc251de712d/tools/packages.config#L17
@JoeRobich, think we can update that? @dsplaisted, will 6.0.100-preview4 be sufficient? It looks like OmniSharp uses .NET SDK as a version source of truth rather than VS.

@rainersigwald Happy to get this updated.

@GeorgeFlorian Merged in an update of OmniSharp's included build tools. If you set omnisharp.path to "latest", is it able to locate the SDK for you?

Do we know when this fix will be available on VSCode and should we mention it in the .NET 6 preview 4 release notes if the fix won't be out before then?

@marcpopMSFT We are in the middle of validating a new release. Happy to bring this change in.

What's process (including tests) that we can use to avoid this in future. It has happened before.

Every time the SDK updates it's minimum MSBuild required version number, O# will have to update the version of MSBuild.  They can query directly in the SDK branch or we can have someone on the breaking change email track this.  Open to suggestions.  We will do this 1-2 times a year.

Is this just a missing checklist item then?

@GeorgeFlorian We've published an updated version 1.23.12 which contains the latest toolset. Please let us know if it resolves the issue you are seeing.

I had the same problem and I can confirm that upgrading to version v1.23.12 solved it.

Omnisharp is giving me this error in visual studio code on Ubuntu 20.04, despite using v1.23.12 of the csharp extension. I'm afraid this is because I have a snap installation of dotnet sdk instead of using microsoft's apt repo... is it possible to point the extension to my install location? Or will I have to switch to the apt install?

@paigeweber13 Many users report that running ln -s /snap/dotnet-sdk/current/dotnet /usr/local/bin/dotnet makes their snap install discoverable.


Upgrade to Agent 0.14.0.Final, Commons 0.2.5.Final, Command Gateway 0.10.5.Final

@jpkrohling hm... funny enough, this passed the second time.

I did a smoke test locally, and it all seems sane.


DEMC synchronization

Is it possible to synchronize the DEMC chains iteration (wait on each iteration for all chains to be done) without using Pipe calls?
I tried with locks and such for a day, but I failed miserably ...

What problem have you been having with locks?
On Fri, Jul 10, 2015, 10:56 AM Patricio Cubillos<EMAIL_ADDRESS>wrote:

Is it possible to synchronize the DEMC chains iteration (wait on each
iteration for all chains to be done) without using Pipe calls?
I tried with locks and such for a day, but I failed miserably ...
—
Reply to this email directly or view it on GitHub
https://github.com/pcubillos/MCcubed/issues/10.

... I should have documented that better, it was over a month ago.
I don't remember the details but, I could never make to work a Lock that locks when the first chain finished the iteration, and then get released when the last chain finished.
I tried dozens of different variations, with Semaphores, Conditions, Locks, Events, shared-memory variables as flags, ... always something different failed.
There's probably a solution out there, I just couldn't figured it out.

Doesn't really worth it given the snooker algorithm.


Time for a new release

Can you push out a new release including the changes made in the last several months? Also, FYI, the latest server version is now 2.5.3, so you may want to change that in the settings as well. I can submit a PR if you really want me to 😁

I just looked further down in my own link and saw that 3.0.3 is out as well. I have no idea if v3 introduces breaking changes - something to investigate...

Server has been updated to 3.4.2
That said, you can select the server version to install via Preferences: LSP-PowerShellEditorServices Settings
https://github.com/sublimelsp/LSP-PowerShellEditorServices/blob/f3eca0e7d28b7dc17b88c87f65893ab4fa89fc07/LSP-PowerShellEditorServices.sublime-settings#L6


Currency feature

Using the API from fixer.io
Updated intents and entities on https://wit.ai/havanagrawal/JARVIS-on-Messenger

Whoa, you sure are fast!
The API looks nice, however wouldn't it be better if we could support conversion instead of just supplying the rate? (like 100 USD to INR)

Thanks :smile:
I think the test is failing because I tested locally with my own Wit access token, but didn't commit the token. So it tries to run the test, but with the original token, it has no clue about "currency" as an intent (https://wit.ai/swapagarwal/JARVIS-on-Messenger/eval?_t=83&q=convert+USD+to+HKD)?
Could you please try adding the intent "currency", and the entities "from_currency" and "to_currency", like I've set up on https://wit.ai/havanagrawal/JARVIS-on-Messenger ? If the test still fails, I'll make it more robust.

Also, I'll try to get Wit to recognize the amount along with the currencies, i.e. completely support conversion.

Ofcourse, my bad! I'll set it up and restart the build.

I've used wit/number for the amount, since using wit/amount_of_money was also grabbing the unit, like usd and inr, along with the number.
Again, the tests will fail, so can you please update your side of Wit?
https://wit.ai/havanagrawal/JARVIS-on-Messenger/intents/currency

I restarted the build and all tests passed.
I didn't have to update wit as the tests don't capture the new feature (amount).
For date, it's better to keep it as is so that we know it works! (the api may change anytime)
Is there a collaboration feature in wit?

Cool.. I've dropped Wit Help a message.. Hopefully they'll reply within the week.. Anything else I need to do here?

Update the tests to include from, to, and amount as well.

I've added 2 tests for from_currency, to_currency and number
Could you please (when you get time) add some training data on your side so the tests pass?
You can pick them up from https://wit.ai/havanagrawal/JARVIS-on-Messenger/intents/currency

Why delete movie.py?

Thanks @havanagrawal! :+1:


can't install applicationinsights-native-metrics

Hello,
Is there anyone knows why i get error when installing applicationinsights-native-metrics.
I have installed already the latest version of applicationinsights but in order to work i need the applicationinsights-native-metrics dependency but i get this error:
node-pre-gyp WARN Using request for node-pre-gyp https download  node-pre-gyp WARN Tried to download(404): https://github.com/Microsoft/ApplicationInsights-node.js-native-metrics/releases/download/v0.0.5/native_metrics-v0.0.5-node-v72-win32-x64-unknown.tar.gz  node-pre-gyp WARN Pre-built binaries not found for<EMAIL_ADDRESS>and<EMAIL_ADDRESS>(node-v72 ABI, unknown) (falling back to source compile with node-gyp)  gyp ERR! find Python  gyp ERR! find Python Python is not set from command line or npm configuration gyp ERR! find Python Python is not set from environment variable PYTHON gyp ERR! find Python checking if "python" can be used gyp ERR! find Python - "python" is not in PATH or produced an error gyp ERR! find Python checking if "python2" can be used gyp ERR! find Python - "python2" is not in PATH or produced an error gyp ERR! find Python checking if "python3" can be used gyp ERR! find Python - "python3" is not in PATH or produced an error gyp ERR! find Python checking if the py launcher can be used to find Python 2 gyp ERR! find Python - "py.exe" is not in PATH or produced an error gyp ERR! find Python checking if Python is C:\Python27\python.exe gyp ERR! find Python - "C:\Python27\python.exe" could not be run gyp ERR! find Python checking if Python is C:\Python37\python.exe gyp ERR! find Python - "C:\Python37\python.exe" could not be run gyp ERR! find Python gyp ERR! find Python ********************************************************** gyp ERR! find Python You need to install the latest version of Python. gyp ERR! find Python Node-gyp should be able to find and use Python. If not, gyp ERR! find Python you can try one of the following options: gyp ERR! find Python - Use the switch --python="C:\Path\To\python.exe" gyp ERR! find Python   (accepted by both node-gyp and npm) gyp ERR! find Python - Set the environment variable PYTHON gyp ERR! find Python - Set the npm configuration variable python: gyp ERR! find Python   npm config set python "C:\Path\To\python.exe" gyp ERR! find Python For more information consult the documentation at: gyp ERR! find Python https://github.com/nodejs/node-gyp#installation gyp ERR! find Python ********************************************************** gyp ERR! find Python gyp ERR! configure error gyp ERR! stack Error: Could not find any Python installation to use gyp ERR! stack     at PythonFinder.fail (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:307:47)  gyp ERR! stack     at PythonFinder.runChecks (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:136:21) gyp ERR! stack     at PythonFinder.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:225:16) gyp ERR! stack     at PythonFinder.execFileCallback (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:271:16) gyp ERR! stack     at exithandler (child_process.js:310:5) gyp ERR! stack     at ChildProcess.errorhandler (child_process.js:322:5)

it apears that the version 0.0.5 isn't avalaible and can't download it so i had to download version 0.0.4

@htorjmen  is this still an issue for you? 0.0.5 must be available it was released 2 years ago
https://www.npmjs.com/package/applicationinsights-native-metrics
I'm not familiar with node-pre-gyp but looks like is deprecated now, maybe upgrading will take care of the issue

I can see we are using node-pre-gyp in the package, will look into upgrading in our side, sorry about confusion, let us know if you are still having this issue

Windows binaries must be available for version 0.0.6, let us know if you still have this problem


Security contact?

Hi, how could I report a potential security vulnerability in the project?

You can report it via a PR, or in this issue.
Please be aware, however, that this isn't a production project, it's just a (very old) example targeting an outdated version of ASP.NET Core. There are obviously security issues with the outdated Microsoft.AspNetCore.All / Microsoft.AspNetCore.Mvc / Microsoft.AspNetCore.Identity dependencies, but that is out of scope for this example project.
Cheers


Dragonrage: Watch aaritacademy.in

Dragonrage requests the watch of the watch_keyword aaritacademy\.in. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

aaritacademy\.in has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by cigien in Charcoal HQ


Reuse the socket to send SRTP

It would be super cool if the Socket class would include:

Ability to negotiate SRTP keys.
An API to send SRTP packets (and events for receiving them).

Of course, a Node RTP parser/factory library would aso be needed. I've found this one (which seems to be unmaintained). SRTP encryption/decryption capabilities would also be needed obviously (and that would be a hard work).

This is rfc5764. To be clear, SRTP I/O should do any other package. This package only for dtls. The use_srtp extension might be implemented by this package.The internal socket of dtls I/O might be reused. It's just a duplex stream:
https://github.com/nodertc/dtls/blob/626c5bbafe26bce35523647f20e4ec7df638e9d1/src/node_modules/lib/socket.js#L281-L289
Anyway, SRTP is a part of Media API which is not my priority. I focused only on datachannels. Only any business interests and support may change my internal priority :smile_cat: .

Let my clarify that I'm not asking for this dtls lib to do SRTP I/O at all. I just meant that it may enable it by negotiating use_srtp DTLS extension in the handshake.
Now, sorry for the off-topic:
What it comes to my mind when I see all these stun, ice, dtls, etc great libs is the ability to create a modular DataChannel or a SRTP stack in Node. Let me show it in pseudo-code:
const ice = require('@nodertc/ice');
const dtls = require('@nodertc/dtls');
const rtp = require('@foo/rtp');
const srtp = require('@foo/srtp');
const is_rtp = require('is-rtp');

// Create a ICE connection.
const iceConnection = ice.connect(
  {
    ip       : '<IP_ADDRESS>',
    port     : 1234,
    userFrag : 'iaasdgjahsdgjh',
    password : '1234'
  });

// Wait for ICE to be established.
await new Promise((resolve) => iceConnection.on('connected', resolve));

// Create a DTLS association on top of the ICE connection.
// Note that iceConnection.getSocket() does not return a net.Socket
// but a special object with similar interface. This is because ICE
// may move to a different ip:port tuple at any time due to reconnections
// after ICE disconnections.
const dtlsConnection = dtls.connect(
  {
    socket  : iceConnection.getSocket(),
    useSrtp : true
  });

// Wait for DTLS to be connected.
await new Promise((resolve) => dtlsConnection.on('connected', resolve));

// Create a SRTP session with the material negotiated via DTLS.
const srtpSession = srtp.createSession(
  {
    keys : dtlsConnection.getSrtpKeys()
  });

// Create a dummy RTP packet somehow.
const rtpPacket = rtp.createPacket(
  {
    payloadType : 111,
    seq         : 12345,
    timestamp   : Date.now(),
    payload     : new Buffer(...)

Yes, you're right. It may look somethings like this. One note: srtp/rtp should wait for complete dtls connection:
//...
dtlsConnection.once('connect', () => {
	// ready for any i/o.
});
//...

Yes, I already waited for DTLS connection in my pseudo code above:
// Wait for DTLS to be connected.
await new Promise((resolve) => dtlsConnection.on('connect', resolve));

:)

Let me just one question more, please.
I'm looking for the best way to implement DataChannel in my SFU mediasoup.  mediasoup is Node with C++ subprocesses that handle media (UDP, TCP, ICE, DTLS, SRTP, etc). In fact, once the DTLS is established, I already have an API to send and receive "DTLS application data":

https://github.com/versatica/mediasoup/blob/v3/worker/src/RTC/DtlsTransport.cpp?ts=2#L810
https://github.com/versatica/mediasoup/blob/v3/worker/src/RTC/DtlsTransport.cpp?ts=2#L804

If we assume that those "DTLS application data" are SCTP packets, I can push them verbatim to the mediasoup Node.js layer and use your sctp and datachannel libs to process them, am I right?
Assuming that, it's not clear to me how to combine both sctp and datachannel libs. I expect that receive DTLS data should be given to the sctp lib. However, it seems that sctp requires a transport (got via dtls.connect()), and dtls requires a UDP socket which breaks my modular design. Basically I don't want that Node.js does networking at all, I already do networking at C++ level.
Is my use case possible using your libs? Perhaps the dtls Socket can be provided with a Node Stream pair instead of having to pass a UDP socket?
P.S. I do not see any API in sctp for sending data to the remote endpoint. Do I miss something?

First, sctp was implemented by not me. I fixed only 2 things:

i deleted native dependencies
internal udp transport might be just a duplex stream

This module may have bugs and do not follow my standards of code quality. You may ask @latysheff as original author sctp about stability.
As i sayd before, after my fixes tansport may be just a duplex stream. See
https://github.com/nodertc/nodertc/blob/a7bd7aca00bd389723f3cdc665653459667c408a/index.js#L328-L350
for details. It's nodertc prototype.

P.S. I do not see any API in sctp for sending data to the remote endpoint. Do I miss something?

The API of sctp module is the same as Node's Net module. That is, use socket.write() to send data. There are also examples of how to use sctp sockets.
p.s. For now, there is no active support for the module, code is not covered by unit tests, but overall stability is fairly good, if viewed as black box. I have conducted long-running load tests, compatibility tests, etc, and noticed no memory leaks or crashes.

Thanks to both for your comments. So now there are two Node SCTP implementations that can run over DTLS:

@nodertc/sctp, which accepts a duplex stream as transport.
@latysheff/node-sctp, which requires a real UDP socket (so not valid for my use case).

@reklatsmasters, if you are building a complete DataChannel stack I assume you'll have to eventually work on @nodertc/sctp as a core component of that DataChannel stack, am I right?

@ibc yes.See https://github.com/nodertc/nodertc/blob/a7bd7aca00bd389723f3cdc665653459667c408a/index.js to understand how it’s work.


Add ODM

Insert URLs to the project here: https://github.com/Big-Life-Lab/PHES-ODM

[x] The projects is active, documented, open source licensed, shows usage from external parties and is directly targeting environmental sustainability. Find more details in the Contribution Guide.

All issues labeled as Good First Issue of the project listed on OpenSustain.tech will be visible on ClimateTriage.com. This is a great way to welcome new community members to your project.
All projects listed will be posted on our Mastodon channel

@DougManuel @wyusuf068 @NielsNicolai

Thanks for the shoutout. We'll update the PHES-ODM documentation for a link to this initiative.  Adding @mathew-thomson

@DougManuel  Thank you very much! I would love a link. Cool project by the way!


Fixing core build because of recent changes in camel master

Fixing build problems because of canges in camel-master (https://github.com/apache/camel/commit/75d61761b225d0fd92d16d4b3e3345b6f5dd36e7, https://github.com/apache/camel/commit/68cd5afe733c383c6c862bda1fa65244cf6dfa9a)
Linked to https://issues.apache.org/jira/browse/CAMEL-15784
As I'm not 100% sure about fix of BaseServiceResolver, I'd suggest to wait for tests (it is camel-master)
[ ] An issue should be filed for the change unless this is a trivial change (fixing a typo or similar). One issue should ideally be fixed by not more than one commit and the other way round, each commit should fix just one issue, without pulling in other changes.
[ ] Each commit in the pull request should have a meaningful and properly spelled subject line and body. Copying the title of the associated issue is typically enough. Please include the issue number in the commit message prefixed by #.
[ ] The pull request description should explain what the pull request does, how, and why. If the info is available in the associated issue or some other external document, a link is enough.
[ ] Phrases like Fix # or Fixes # will auto-close the named issue upon merging the pull request. Using them is typically a good idea.
[ ] Please run mvn process-resources -Pformat (and amend the changes if necessary) before sending the pull request.
[ ] Contributor guide is your good friend: https://camel.apache.org/camel-quarkus/latest/contributor-guide.html

@ppalaga @jamesnetherton may I ask for help with this test failure?
Problem is caused by the fact, that BootstrapFactoryFinder can not instantiate FaultToleranceProcessor
which is caused  probably by the fact that either resource META-INF/services/org/apache/camel/model/CircuitBreakerDefinition is missing or reflective registration for org.apache.camel.component.resilience4j.ResilienceProcessorFactory  is missing.
Fact is, that this code returns null in native - https://github.com/apache/camel/blob/master/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/DefaultFactoryFinder.java#L110

I was able to fix it by adding dependency into extension/microrofile-fault-tolerance:

   <dependency>
       <groupId>org.apache.camel</groupId>
      <artifactId>camel-resilience4j</artifactId>
 </dependency>

and by registering service:

@BuildStep
NativeImageResourceBuildItem initResources() {
return new NativeImageResourceBuildItem(
"META-INF/services/org/apache/camel/model/CircuitBreakerDefinition");
}

But I'm not sure if this is correct solution, WDYT?

That should be this JAR
https://github.com/apache/camel/tree/master/components/camel-microprofile-fault-tolerance

@davsclaus thanks, the dependency  was not required. I'll fix PR in a moment.

This is the code in camel 3.7
    @Override
    protected BeanProcessorFactory createBeanProcessorFactory() {
        return new BaseServiceResolver<>(BeanProcessorFactory.FACTORY, BeanProcessorFactory.class, getBootstrapFactoryFinder())
                .resolve(getCamelContextReference())
                .orElseThrow(() -> new IllegalArgumentException(
                        "Cannot find BeanProcessorFactory on classpath. "
                                                                + "Add camel-bean to classpath."));
    }

@davsclaus I think that PR could be merged.

Let me merge this manually. There's some stuff on the master branch that will conflict with this change so that needs resolving too.

Thanks @JiriOndrusek I merged the fixes to the camel-master branch.


FLV error: deadline exceeded

2023-01-26 17:51:00.079384132  17:51:00.079 WRN github.com/AlexxIT/go2rtc/cmd/streams/producer.go:132 > error="context deadline exceeded (Client.Timeout or context cancellation while reading body)" url=http://<IP_ADDRESS>/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=user&password=pass

Looks like flv has timeouts (which is fine) but the problem is the go2rtc rtsp stream doesn't disconnect when this happens it seems like it just starts sending the same frame over and over.

I think I can't fix this without buggy RTMP camera in my hands.

Something worth noting about this is it seems to coincide with an actual deadline. When I start frigate, all cameras run great for an hour and 20 minutes or so and then every single reolink cam produces this error at the same time. Not sure if it is helpful.
2023-02-03 12:22:54.536320759  12:22:54.536 INF go2rtc version 1.1.1 linux/amd64
2023-02-03 12:22:54.536479691  12:22:54.536 INF [api] listen addr=:1984
2023-02-03 12:22:54.536664944  12:22:54.536 INF [rtsp] listen addr=:8554
2023-02-03 12:22:54.536941268  12:22:54.536 INF [webrtc] listen addr=:8555
2023-02-03 13:46:17.664638312  13:46:17.664 WRN github.com/AlexxIT/go2rtc/cmd/streams/producer.go:132 > error="context deadline exceeded (Client.Timeout or context cancellation while reading body)" url=http://<IP_ADDRESS>/flv?port=1935&app=bcs&stream=channel0_main.bcs
2023-02-03 13:46:17.666731443  13:46:17.666 WRN github.com/AlexxIT/go2rtc/cmd/streams/producer.go:132 > error="context deadline exceeded (Client.Timeout or context cancellation while reading body)" url=http://<IP_ADDRESS>/flv?port=1935&app=bcs&stream=channel0_main.bcs
2023-02-03 13:46:17.669883080  13:46:17.669 WRN github.com/AlexxIT/go2rtc/cmd/streams/producer.go:132 > error="context deadline exceeded (Client.Timeout or context cancellation while reading body)" url=http://<IP_ADDRESS>/flv?port=1935&app=bcs&stream=channel0_main.bcs
2023-02-03 13:46:17.672774393  13:46:17.672 WRN github.com/AlexxIT/go2rtc/cmd/streams/producer.go:132 > error="context deadline exceeded (Client.Timeout or context cancellation while reading body)" url=http://<IP_ADDRESS>/flv?port=1935&app=bcs&stream=channel0_main.bcs

I'm also seeing this error every couple of hours with Reolink cameras, Frigate 0.12.0-beta8 and go2rtc 1.1.2, and stream sources are configured as http://<camera IP>/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=admin&password=<password>. Contrary to the above, this does affect all cameras but not at the same time.
When this error happens the stream remains visible and live in the Reolink app. I don't know what protocol it uses, but it does use the channel0_main ("HD") stream.
Is there any additional log gathering or debugging I can do to help with this issue?

It's external library issue. I can't fix it without rewrite whole library and FLV parsing.

The following set up removes the error="context deadline exceeded (Client.Timeout or context cancellation while reading body)
go2rtc:
  streams:
    landing:
    - "ffmpeg:http://<IP_ADDRESS>/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=USER&password=PASSWORD"

In 'live' mode the sound is in sync, but the recordings do have a sound lag of maybe 3 seconds.
I tried adding #video=copy#audio=copy#audio=aac but the lag persists.
Open to any other suggested filters. Thank you.

@AlexxIT
Good day. Thank you for this component.
With regards to this bug and my attempted workaround, the reality is it just doesn't work.
Reading your response I appreciate it appears to be quite a task to fix. Just wanted to know if it's in a near term plan.
Thank you

I have already written so many implementations of protocols from scratch that one more is not any problem.
Except for the problem of time, which I don't have much of.
I'll be honest, the FLV protocol is not a priority. There are a number of more important and more popular protocols.

Thank you for your prompt and candid response.
It seems to be a reolink curse.
One question you maybe able to answer.
I'm accessing the cameras behind the reolink nvr. I recently discovered I can also access them via an rtsp protocol. The problem is that for some reason the video is very slow. I.e. there's a 6 to 8 second lag when compared to the FLV which when working is instant.
Is there any settings that may help with this? Thank you

There is no delay in the RTSP protocol. Need a good understanding of your set-up to determine at what stage you get a delay. It's hard to do remotely.

Thank you again. I have a reolink 16 channel nvr. currently I have 12 cameras connected to the nvr ( 810a and 520a).
when i use flv there's no lag.
when i use rtsp i discovered that if i set up 3 or 4 cameras as rtsp it works fine, once I change all cameras to rtsp it just slows down.
typical set up in frigate as below. I have 12 of these entries.
go2rtc:
  streams:
    landing:
    - rtsp://user:passwd@<IP_ADDRESS>:554/h264Preview_01_main
    - "ffmpeg:landing#audio=opus"
    landing_sub:
    - rtsp://user:passwd@<IP_ADDRESS>:554/h264Preview_01_sub
    - "ffmpeg:landing_sub#audio=opus"

it's possible the nvr cant handle it?
I tried setting up go2rtc with hardware acceleration independent of frigate, but doesnt make much difference.
i think theres no much to do.


Encapsulate MD5 file checksums bits in couch_file

Avoid leaking checksumming details into couch_bt_engine.

@chewbranca good observation it does couple couch_file to md5, but it's already coupled as we're verifying md5 checksums in there. This was one case were we pretended we could pass in an external checksum but we still assumed it had to be md5 and verified it as such. After this PR we can keep the detail hidden inside couch_file basically.


janet: the nix sandbox doesn't have /usr/bin/env

Motivation for this change
jpm uses /usr/bin/env to find janet, which doesn't exist in a sandbox. With this
change it's possible to build in a proper sandbox.
Next step is proper build support, which should be very straight forward.
Things done

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

[X] NixOS
[ ] macOS
[ ] other Linux distributions

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

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

[X] Fits CONTRIBUTING.md.

Cc: @andrewchambers

Looks good, thanks for picking this up, I am often on development janet so missed this.

It's simply a wonderful scripting language.


Expanding plugin error reporting from plugin to starter

This is a work in progress still but current changes include:

Populating the new DeveloperData classad created by Todd M with most of the fields specified in the document of the issue
Changing some inner-workings of the client, so that we can pass all relevant information back to the plugin
Classads package can now decipher types of map[string]interface{} for nested classAds

Work still needed:

Still need to add a few more classads with more info on each attempt
More testing by hand is needed, to ensure functionality and backwards compatibility
Testing with Todd M's latest merge to HTCondor to ensure functionality there
Need to figure out how/what to return for classads on uploads

Currently not able to work on a submit AP however, I am opening this up for review

Just fixed merge conflicts


DOC: integrate.tanhsinh: fix reference format; Examples heading

Reference issue
Closes gh-21988
What does this implement/fix?
Looks like Cirrus didn't run in gh-21977, and doc build issues slipped through. This PR fixes it.
Additional information
I decided to run all tests, though, just to be sure there's nothing else.

The Cirrus job doesn't appear to have started yet here, either.

Cirrus is in progress

Now it is!

thanks all :)


Detect when an Android device has gone offline and possibly force a reconnect

I often find that when running a lot of tests a device goes offline.  While it would be good to understand the root cause of this, it would also be good to guard against misleading results due to the problem, by:
(a) detecting when a device is offline
(b) trying to reconnect to it, possibly running a sanity job in the process to check that all is OK
(c) reporting a specific OFFLINE_ERROR in the case where reconnecting does not work.
At the moment when a device goes offline testing basically grinds to a halt.

gfauto has some mechanisms to cater for this.