SignalR/Websockets in IIS

Expected Behavior / New Feature
Per the documentation, it was expected that in order for SignalR traffic to be passed downstream, that the WebSockets feature in IIS should not be installed.
Actual Behavior / Motivation for New Feature
Without the WebSockets feature in IIS installed, the application was not able to properly make a a SignalR connection.
Steps to Reproduce the Problem

Installed Ocelot into a .NET Core 2.2 project
Configure Ocelot as described here - https://ocelot.readthedocs.io/en/latest/features/websockets.html
Install and Configure ASP.Net Core hosting on IIS as outlined here, https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/?view=aspnetcore-2.2
Ensure that WebSockets is NOT enabled in IIS features in Windows
Configure project in IIS as Application and update ocelot.json to point downstream as defined in the documentation
Receive unable to connect errors when trying to access Ocelot endpoint, using any SignalR client
Install WebSockets from IIS features in Windows
Perform an IIS reset
Retry the connection, and it will be successful

Specifications

Version: Ocelot 13.5.2 / .NET Core 2.2.6 / Microsoft.AspoNetCore.SignalR.Client 1.0.2 / IIS 8.5
Platform: Windows Server 2012R2e
Subsystem: SignalR / WebSockets Middlewar

I can also attest that when the WebSockets Protocol support is installed in IIS, the client was able to connect to the hub via a WebSocket SignalR HTTP Transport Type.

@TheSpazzyDev

Installed Ocelot into a .NET Core 2.2 project

Too outdated version of the framework!
We support .NET 6+ as Microsoft does since November'23.
@TheSpazzyDev @coolnumber9
Guys, you need to understand that direct connections should work if the lib versions matching. Otherwise diff versions can lead to corruptions in protocol communication because of different implementations.
I have no idea my your IIS setup works, but direct connection not...
As a team we have updated Websockets docs in version 20.0.1 and later
We are not DevOps team, and don't want to check your IIS environments.

Actual Behavior / Motivation for New Feature
Without the WebSockets feature in IIS installed, the application was not able to properly make a a SignalR connection.

You have to provide more details to prove that. Not simply saying "it doesn't work"


runtime: TestCallbackInAnotherThread timeout on windows-arm-zx2c4

2021-01-08T16:28:15-32afcc9/windows-arm-zx2c4
--- FAIL: TestCallbackInAnotherThread (0.10s)
    syscall_windows_test.go:272: timeout waiting for thread to exit
FAIL
FAIL	runtime	78.795s

The test hard-codes a 100ms timeout on the call:
https://github.com/golang/go/blob/f1980efb92c011eab71aa61b68ccf58d845d1de7/src/runtime/syscall_windows_test.go#L268
It's not clear to me whether the hard-coded timeout is correct — 100ms seems like a long time, but is it possible for the builder to naturally stall for that long, say, loading the CreateThread function from the DLL?
CC @alexbrainman @zx2c4 @bradfitz

I also encountered this issue when I building go1.17.4 on Windows amd64:
##### GOMAXPROCS=2 runtime -cpu=1,2,4 -quick
--- FAIL: TestCallbackInAnotherThread (0.22s)
    syscall_windows_test.go:273: timeout waiting for thread to exit
FAIL
FAIL    runtime 101.437s
FAIL
2021/12/07 10:37:35 Failed: exit status 1


HPC gemini problem: writing to config files

We found a problem on our cluster where gemini tries to write into gemini-config.yaml during update.
gemini --annotation-dir /data/3/galaxy_db/job_working_directory/000/247/247810/dataset_365217_files update --dataonly --extra gerp_bp --extra cadd_score
I guess it's trying to write the annoation_dir into the yaml file. If this happens on a read-only cluster node this is causing the following error:
IOError: [Errno 13] Permission denied: '/usr/local/tools/gemini/0.18.1/iuc/package_gemini_0_18_1/b90d6db50590/gemini-config.yaml'

Can we add a check before we write and issue a warning if we can not update the yaml file?

CC @chapmanb @roryk

Björn -- thanks for the report. Apologies, we hadn't considered this case. I pushed a fix which checks for write permissions and skips writing if it's read only. Hope this works for your system setup. Thanks again.

@chapmanb thanks a lot!


add noTimers functionality

now that we have a timer, we need to create the logic for the noTimers key
this is especially important given: https://github.com/erikng/NudgeSwift/issues/41

Addressed with: https://github.com/erikng/NudgeSwift/pull/54


Create a deep-copy of the Throwable before returning it from the cach…

…e to prevent possible leaks.
Motivation:
As we dont know what exactly the user will do with the cached exception we should better ensure to return a copy every time the user tries to access it. The problem is that the exception might stay in the cache for a very long time while the user might call things like addSuppressed(...) on it. This could lead to the sitation that we hold up a lot of references and so "leak" memory until the entry expires.
Modifications:

Do a deep copy of the cached Throwable before returning it to the user.
Add unit tests

Result:
No possible to "leak memory"

There is really no better way to create deep-copy without Object*Stream?

@hyperxpro I don't think so

@chrisvest how would this help ? Can you clarify ?

@chrisvest how would this help ? Can you clarify ?

My understanding of the problem is that cached exceptions may be returned to user code more than once, and said user code may wish to attach suppressed exceptions on each occasion.
If we on each return additionally wrap the cached exception as the cause of a new exception, then the suppressed exceptions would be attached to the newly created exception each time, thus avoiding a memory leak.
This assumes that people will not dig out root cause exceptions and attach suppressed exceptions to that – a practice that is weird and suspect on its own outside of ExecutionException.


Syntax Error at or near "ANY"

This is based on commit https://github.com/terranodo/tegola/commit/02bdfb432a65cf9b65359755f4138c952ac0a601 in the v0.6.0 branch.
It worked fine before I pulled it in and rebuilt, but now with the same TOML file, I'm getting the following:

 error fetching geometry type for layer (test_vector_main_res_10): ERROR: syntax error at or near "ANY" (SQLSTATE 42601)

There is no "ANY" in my TOML file at all.
Again - just, this was not there as of 661b81cda64ea5e8e1df08abbfc6967c28d4239d so this is newly introduced.
Thank you!

Just looking at the diff, the issue may be here:
https://github.com/terranodo/tegola/commit/02bdfb432a65cf9b65359755f4138c952ac0a601#diff-ddc50fa17407017ce1cab642b5ae3a47R280
As I do have a !ZOOM! in my query, and probably not in the way expected.  I have it as: !ZOOM! as z for debugging.

Confirming that removing !ZOOM! from query fixes the error.  Up to maintainer what you want to do - this can either be a NOFIX or adjust for use case above :)

Can you post the SQL statement as well? Wondering what is going on.
Thankyou.

Yup!
[[providers.layers]]
	name = "test_vector_main_res_10"
	geometry_fieldname = "wkb_geometry_3857"
	id_fieldname = "v_record"
	sql = """
	SELECT
	v_record,
	seg_id,
	!ZOOM! as z,
	ST_AsBinary(wkb_geometry_3857) AS wkb_geometry_3857
	FROM test_vector_mview
	WHERE wkb_geometry_3857 && !BBOX!"""

related to #275


[VT-63] VITtk needs love and better PR

David Patrick on 2011-04-24T05:24:26Z says:
"VITtk":/wiki/Vittk is a bold enhancement for taskwarrior that I think needs a little nudge to become a favorite mode for many users. Steve Rader developed it in an amazing short period of time, and was clever and collaborative about it.
Some surprise and disappointment has been expressed regarding the measly few downloads, but like many excellent products, it usually doesn't matter how good something is, but matters more who hears about it. VITtk is an excellent product. It is a successful model of the interactive mode we all held up as a holy grail, something to work towards, and Steve banged it up in a matter of weeks. Although it is 95% the shape of what we were talking about in an interactive mode, for a couple of reasons it hasn't yet seen the adoption we all think it deserves.
I'll be filing a few bugs and features for VITtk, hoping Steve is still game to modify, and I've a few suggestions for how we might keep this fine piece of work from being overlooked.

mention it in the Overview page, with a link to it's wiki page

put some screenshots ON that page (not just "Click here" to broken links)

add VITtk to the testing suite, making sure it is stable and keeps up.

consider making it part of a default task package, and giving it a command alias (task gui?)

mention it in the man page

If the taskwarrior roadmap no longer points to "interactive GUI" ala htop, rather than abandoning that, perhaps we could continue to groom VITtk to fill that void, presuming stability and security and all those goods things ?
It's a well done useful enhancement that's almost there, lets not let it die on the vine.

Migrated metadata:
Created: 2011-04-24T05:24:26Z
Modified: 2014-02-09T02:23:41Z

steve rader on 2011-04-24T13:36:36Z says:
Resuscitation?  Really??
Can we change the subject to "VITtk needs better PR etc"?
:)

Bryce Harrington on 2011-05-06T08:26:07Z says:
Just discovered vittk, looks pretty sweet... from my newb pov, I'd emphasize the importance of screenshots - I'd skipped over it several times due to not knowing what the interface looked like.
Other suggestion, maybe a better name?  'vittk' was completely uncompelling to me (I'm an emacs/python guy), so assumed it was something not relevant to what I wanted.  (I finally got curious after seeing how many bug reports there were about it...)

steve rader on 2011-05-06T13:23:50Z says:
Bryce Harrington wrote:

Just discovered vittk, looks pretty sweet... from my newb pov, I'd emphasize the importance of screenshots - I'd skipped over it several times due to not knowing what the interface looked like.
Other suggestion, maybe a better name?  'vittk' was completely uncompelling to me (I'm an emacs/python guy), so assumed it was something not relevant to what I wanted.  (I finally got curious after seeing how many bug reports there were about it...)

a better name... suggestions??
isn't the real problem the screen shot links are dead and there's
no screen shot shown immediately, on the VITtk "homepage"?

steve rader on 2012-11-24T19:04:13Z says:
VITtk has been depricated by [[vit|Vit]].
And thus I think this discussion is now moot.


Usability:  Default auto-complete length

Default auto-complete length needs to be 2 or higher, not 1.  Functions involve typing =, then generally hitting , which unfortunately replaced the = with == due to autocomplete.  Perhaps that alone could be fixed to not happen, but for a short-term fix setting the default to 2 will prevent people from going crazy until they figure out to fix it.  :-)

Good idea :+1:  I just got used to pressing escape to cancel autocomplete.  Some packages are even using 3 as the default. 2 seems to be the sweet spot for Elm.  I'll include that in the next release.  Thanks!

Alternatively, the users can set Keymap For Confirming A Suggestion in the package settings for autocomplete-plus to either tab or tab always, enter when suggestion explicitly selected, instead of the default tab and enter.

I tried tab always, enter when suggestion explicitly selected, but enter still turns = into == a a somehow, even after restarting atom?  o.O

Hmm, that's weird.  I had it working with autocomplete min length = 1.

Totally agree. I actually came here to open this same issue, for the same reasons and including the same proposed solution.
I think "it gives a pleasant experience right out the box" is important, and right now the = thing inevitably frustrates a new user and sends then scurrying off to the docs to figure out how to fix it.
+1 to people not having to fix it by default 😉

PS: this thing is 😺

Hi! I did some experiments and this is what I came up with:

"=" and other symbols such as "of' and "->" are added as suggestions
if the chosen suggestion is equal to what's already typed by the user (let's say the user typed "=" and it is also the primary suggestion), a newline will be inserted upon pressing enter.  Doing so will save one keystroke since the user does not need to press enter twice (1 for autocomplete and 1 for newline).
Choosing "==" when the user typed "=" will keep the cursor on the current line

What do you think of this approach?
P.S. I got confused by your P.S. @rtfeldman haha

Sounds good!
What I meant by the P.S. is that I'm a fan of this plugin. 😄

Thanks! :blush:
I just published a new release with this change and other bug fixes.  I personally find it better than the default autocomplete behavior so far in terms of keeping the flow :smiley: Let me know your experience.  Thanks!

Hmm, I just updated but = still autocompletes to == a a, maybe I need to restart Atom, doing so, testing again, and it autocompletes to = now, however it does not add a newline and as such the pop-up pops up again.  Here I am typing tester = and pressing <enter>, a lot.  ^.^:  https://overminddl1.com/screenshots/work/elmjutsu-autocomplete-bug.gif

That issue only happens if Enable Autocomplete Snippets is turned on.  The latest release should fix it.  Thanks @OvermindDL1!

Probably fixes it on ubuntu, but on Windows 10 at work it still has the same action, interesting, need to debug in to it again...
And debugged a bit, the 'event' still has originalEvent as undefined?
So, two questions.  :-)

Any reason to force it to only test if using 'enter' there?  What if someone rebinds the autocomplete key to something else, like caps lock?
Any chance on testing if originalEvent is undefined and if so then just setting usedEnterKeyToAutocomplete = true; regardless?  :-)

For note, added if (event.originalEvent === undefined) usedEnterKeyToAutocomplete = true; on line 11 and it is working well now (the \n does not mess anything up in CRLF mode either it seems just to note :-) ).

When I looked at the autocomplete-plus code before, they hardcoded the functionality to tab and enter.

I'm still wondering why originalEvent is undefined on your computer.  Anyone else has a Windows 10? :smiley:

That is a fantastic question, not a clue.  ^.^

Had a few moments, got an idea, debugged up the stack from that callback, found the missing originalEvent, apparently the callback is called twice and the second time it is undefined, however the first time is not entering into the if conditional either because it is a different 'command' ("atom-elixir:autocomplete-enter", in elm-mode?  the frick?).  The second time through (when originalEvent is undefined) is when the type is "autocomplete-plus:confirm".  Walking up the event chain I cannot find originalEvent at all on the event object.  Walking through that elixir one, holy-hell-atom-is-inefficient!  164 callbacks called for every single event through every registered plugin and each testing what command they want instead of them just registering to what they are listening for?!  No wonder atom is so slow at times being coded like this!  o.O
Aaaand yep, atom-elixir is re-dispatching "autocomplete-plus:confirm" via atom.commands.dispatch(atom.views.getView(editor), 'autocomplete-plus:confirm'), thus the originalEvent is not sent out...

OhGoshWhy:  https://github.com/msaraiva/atom-elixir/blob/master/lib/elixir-autocomplete-provider.coffee#L16-L34

Ooh, they should probably scope that to just source elixir.  Does it work when you disable atom-elixir?

There's a similar issue here https://github.com/msaraiva/atom-elixir/issues/44

Ooh, they should probably scope that to just source elixir. Does it work when you disable atom-elixir?

Yep, it does.

There's a similar issue here msaraiva/atom-elixir#44

Awesome...  >.>
P.S.  Gotta love how github does not quote properly, missing code tags and url...

This will probably work for the atom-elixir issue: atom-text-editor:not([mini])[data-grammar^="source elixir"]

Ah cool, adding that to my local copy at least.  Thanks.  :-)


fix(docs): identation of cmd

<Explain your change!>
Did you sign your commit? Instructions
Have you read Contributing guidelines?

Now it looks good.


#451 A nice solution for setting the title

Hopefully you approve of shorthand conditionals.

Is the change in the gitignore necessary?

Nope! Undone.


Fix sendTransaction error handling

Description
Please include a brief summary of the change that this pull request proposes. Include any relevant motivation and context. List any dependencies required for this change.

modified ApiAion0 and ApiWeb3Aion so that they catch the exception that the sendTransaction method (in ApiAion) possibly throws (line 1211 of ApiAion0). Also modified ApiAion so that, when an exception occurs, instead of returning a 0 length byte array it propagates the exception up to the caller instead so that the exception info is not lost & masked by the byte array. Some minor typo fixes throughout ApiAion0.

Fixes Issue #176.
Type of change
Insert x into the following checkboxes to confirm (eg. [x]):

[x] Bug fix.
[ ] New feature.
[ ] Breaking change (a fix or feature that causes existing functionality to not work as expected).
[ ] Requires documentation update.

Testing
Please describe the tests you used to validate this pull request. Provide any relevant details for test configurations as well as any instructions to reproduce these results.

Instead of figuring out how to naturally trigger an exception in sendTransaction I simply explicitly threw some exceptions at the top of the method, made calls to the api and monitored the client and server behaviour to ensure the exceptions were caught and handled as expected.

Verification
Insert x into the following checkboxes to confirm (eg. [x]):

[x] I have self-reviewed my own code and conformed to the style guidelines of this project.
[x] New and existing tests pass locally with my changes.
[ ] I have added tests for my fix or feature.
[ ] I have made appropriate changes to the corresponding documentation.
[x] My code generates no new warnings.
[x] Any dependent changes have been made.

Also wondering if ResHandshake1Test has a problem (or is exposing an existing problem in master) or not. I brought this up with Jay, it is a randomized test and seems to fail every now and again. Tried it on William's repo and other branches the other day and got it to fail sometimes too. Might have gone undetected as such. I'm fairly confident it is not my code doing it, especially since I only failed it after pushing this last commit that simply adds a logging message.

@aionick , @aion-sridevi is looking into the ResHandshake1Test issue and has a conclusion, currently solving it.

I removed the try-catch block


Update readmes to match common design (Feature Layers category) 2/x

Thanks @Rachael-E , I've updated with your comments, and improved the 'how it works' section in feature-layer-dictionary-renderer a little. Could you have a second look please?


ability to upload file

Do we have the ability to upload a file to a channel via this?  I don't see anything immediately obvious.

Answered my own question:
https://stackoverflow.com/questions/35742775/is-it-possible-to-post-files-to-slack-using-the-incoming-webhook
It's not possible.


mriqc_wf.funcMRIQC.ComputeIQMs.metadata

Hi,
I am using mriqc with docker on a BIDS dataset. when i run
docker run -it --rm -v D:\Andrea\fov\scratch:/scratch -v D:\Andrea\fov\BIDS:/data:ro -v D:\Andrea\fov\BIDS\derivatives\mriqc:/out poldracklab/mriqc:latest /data /out participant -w /scratch --write-graph --participant_label sub-02 --verbose --no-sub
I get this error:

201218-00:11:25,936 nipype.workflow WARNING:
[Node] Error on "mriqc_wf.funcMRIQC.ComputeIQMs.metadata" (/scratch/mriqc_wf/funcMRIQC/ComputeIQMs/in_file..data..sub-02..func..sub-02_task-loc_run-1_bold.nii.gz/metadata)
201218-00:11:26,27 nipype.workflow ERROR:
Node metadata.a5 failed to run on host b326747ca479.
201218-00:11:26,28 nipype.workflow ERROR:
Saving crash info to /out/logs/crash-20201218-001126-root-metadata.a5-fd26f8a3-d96c-4a54-b1c6-98a3e7dc6ab6.txt
Traceback (most recent call last):
File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/plugins/multiproc.py", line 344, in _send_procs_to_workers
self.procs[jobid].run(updatehash=updatehash)
File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/nodes.py", line 516, in run
result = self._run_interface(execute=True)
File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/nodes.py", line 635, in _run_interface
return self._run_command(execute)
File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/nodes.py", line 764, in _run_command
dirs2keep=dirs2keep,
File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/utils.py", line 1482, in clean_working_directory
output_files.extend(walk_outputs(outputdict[output]))
File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/utils.py", line 1448, in walk_outputs
out.extend(walk_outputs(val))
File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/utils.py", line 1448, in walk_outputs
out.extend(walk_outputs(val))
File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/utils.py", line 1448, in walk_outputs
out.extend(walk_outputs(val))
File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/utils.py", line 1452, in walk_outputs
out.extend(walk_outputs(val))
File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/utils.py", line 1455, in walk_outputs
if os.path.islink(object) or os.path.isfile(object):
File "/usr/local/miniconda/lib/python3.7/posixpath.py", line 171, in islink
st = os.lstat(path)
ValueError: embedded null byte
When creating this crashfile, the results file corresponding
to the node could not be found.
Traceback (most recent call last):
File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/plugins/multiproc.py", line 344, in _send_procs_to_workers
self.procs[jobid].run(updatehash=updatehash)
File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/nodes.py", line 516, in run
result = self._run_interface(execute=True)
File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/nodes.py", line 635, in _run_interface
return self._run_command(execute)
File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/nodes.py", line 764, in _run_command
dirs2keep=dirs2keep,
File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/utils.py", line 1482, in clean_working_directory
output_files.extend(walk_outputs(outputdict[output]))
File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/utils.py", line 1448, in walk_outputs
out.extend(walk_outputs(val))
File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/utils.py", line 1448, in walk_outputs
out.extend(walk_outputs(val))
File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/utils.py", line 1448, in walk_outputs
out.extend(walk_outputs(val))
File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/utils.py", line 1452, in walk_outputs
out.extend(walk_outputs(val))
File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/utils.py", line 1455, in walk_outputs
if os.path.islink(object) or os.path.isfile(object):
File "/usr/local/miniconda/lib/python3.7/posixpath.py", line 171, in islink
st = os.lstat(path)
ValueError: embedded null byte
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/miniconda/bin/mriqc", line 10, in
sys.exit(main())
File "/usr/local/miniconda/lib/python3.7/site-packages/mriqc/cli/run.py", line 69, in main
mriqc_wf.run(**config.nipype.get_plugin())
File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/workflows.py", line 632, in run
runner.run(execgraph, updatehash=updatehash, config=self.config)
File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/plugins/base.py", line 184, in run
self._send_procs_to_workers(updatehash=updatehash, graph=graph)
File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/plugins/multiproc.py", line 348, in _send_procs_to_workers
jobid, graph, result={"result": None, "traceback": traceback}
File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/plugins/base.py", line 227, in _clean_queue
raise RuntimeError("".join(result["traceback"]))
RuntimeError: Traceback (most recent call last):
File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/plugins/multiproc.py", line 344, in _send_procs_to_workers
self.procs[jobid].run(updatehash=updatehash)
File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/nodes.py", line 516, in run
result = self._run_interface(execute=True)
File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/nodes.py", line 635, in _run_interface
return self._run_command(execute)
File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/nodes.py", line 764, in _run_command
dirs2keep=dirs2keep,
File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/utils.py", line 1482, in clean_working_directory
output_files.extend(walk_outputs(outputdict[output]))
File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/utils.py", line 1448, in walk_outputs
out.extend(walk_outputs(val))
File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/utils.py", line 1448, in walk_outputs
out.extend(walk_outputs(val))
File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/utils.py", line 1448, in walk_outputs
out.extend(walk_outputs(val))
File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/utils.py", line 1452, in walk_outputs
out.extend(walk_outputs(val))
File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/utils.py", line 1455, in walk_outputs
if os.path.islink(object) or os.path.isfile(object):
File "/usr/local/miniconda/lib/python3.7/posixpath.py", line 171, in islink
st = os.lstat(path)
ValueError: embedded null byte

crash file:

Node: mriqc_wf.funcMRIQC.ComputeIQMs.metadata
Working directory: /scratch/mriqc_wf/funcMRIQC/ComputeIQMs/in_file..data..sub-02..func..sub-02_task-loc_run-1_bold.nii.gz/metadata
Node inputs:
bids_dir = None
bids_validate = True
in_file = /data/sub-02/func/sub-02_task-loc_run-1_bold.nii.gz
Traceback (most recent call last):
File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/plugins/multiproc.py", line 344, in _send_procs_to_workers
self.procs[jobid].run(updatehash=updatehash)
File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/nodes.py", line 516, in run
result = self._run_interface(execute=True)
File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/nodes.py", line 635, in _run_interface
return self._run_command(execute)
File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/nodes.py", line 764, in _run_command
dirs2keep=dirs2keep,
File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/utils.py", line 1482, in clean_working_directory
output_files.extend(walk_outputs(outputdict[output]))
File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/utils.py", line 1448, in walk_outputs
out.extend(walk_outputs(val))
File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/utils.py", line 1448, in walk_outputs
out.extend(walk_outputs(val))
File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/utils.py", line 1448, in walk_outputs
out.extend(walk_outputs(val))
File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/utils.py", line 1452, in walk_outputs
out.extend(walk_outputs(val))
File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/utils.py", line 1455, in walk_outputs
if os.path.islink(object) or os.path.isfile(object):
File "/usr/local/miniconda/lib/python3.7/posixpath.py", line 171, in islink
st = os.lstat(path)
ValueError: embedded null byte
When creating this crashfile, the results file corresponding
to the node could not be found.

The same error comes up if I select another participant, so it's unlikely to be related to the file itself.
Any idea what is going on?

update: I tried to run on some other participants, and MRIQC runs just fine. What could be the problem? the sidecar JSON files for the nii.gz that are causing the problem look fine.
Thanks

The following message
ValueError: embedded null byte

seems to indicate that there's some problem with some specific JSON files, with the encoding or the presence of unsupported characters. Does the validator pass on these files?

I get some errors:

.CogAtlasID should match format "uri", but my understanding is that this is not a major issue (is it?).
and some warnings related to missing files/subjects and unexpected files (I saved a non-BIDS logfile in the folder).

MRIQC expects a valid BIDS dataset, fixing those issues will possibly make it run properly.

(also, that opening, saving and closing those JSON files may fix the problematic characters, if your editor is smart enough)

Great, thanks. I'll try that!

So, I tried fixing the errors on the BIDS dataset and opening, saving and closing the JSON file but I still get the same error. I don't know how smart my editor is (I used Notepad++) though.
What encoding is MRIQC expecting? and what are the invalid characters?
Thanks

I compared some JSON files responsible of this error with other JSONs that didn't raise any problem, and it turns out the problematic field is 'DataSetTrailingPadding' inside time, samples. Following this issue it looks like heudiconv copies this field from the DICOM header, but the field is not really relevant for further steps and it is safe to remove.
If anyone else incur in the same issue, this is the code I used to solve the issue on these files:
import json
import glob
from shutil import copyfile
import os, stat

## UPDATE COGATLASID in BIDS sub folders
root_path = r"D:\Andrea\fov\BIDS\*\*\*run-?*_bold.json"
backup_dir = r"D:\Andrea\fov\misc\json_backup"

for name in glob.glob(root_path):
    copyfile(name, os.path.join(backup_dir, os.path.split(name)[1]))  # backup the original file
    os.chmod(name, stat.S_IWRITE)
    with open(name, 'r') as a:
        j = json.load(a)
        if 'DataSetTrailingPadding' in j['time']['samples']:
            del j['time']['samples']['DataSetTrailingPadding']
            print(name + ' has been fixed')
    with open(name, 'w', encoding='utf-8') as a:
        json.dump(j, a, ensure_ascii=False, indent=4)

Thanks for reporting back on the solution. Glad you got this fixed.
@mgxd do you think we should upstream this problem to HeudiConv?


Broken

I know the team dropped native support for SteamLinkVR, but as they do this. Steamlink is acting like trash and I am moving back to ALVR for a more stable experience.
Will this still be maintained?

I'm using now a virtual desktop and don't like it, so I'd like to port ALVR, but I'm not being productive with this code and I'm going to have to rework it almost from scratch, so it's on hold for now


Update to latest stable Cadence

Description
Updating to cadence https://github.com/onflow/cadence/commit/8f1134670ed09e3b3abea40944be395cecd3de46

For contributor use:

[ ] Targeted PR against master branch
[x] Linked to GitHub issue with discussion and accepted design OR link to spec that describes this work
[x] Code follows the standards mentioned here
[x] Updated relevant documentation
[x] Re-reviewed Files changed in the GitHub PR explorer
[x] Added appropriate labels

Codecov Report
Patch coverage: 27.27% and project coverage change: -0.13% :warning:

Comparison is base (d84c136) 53.05% compared to head (25d7eca) 52.92%.

Additional details and impacted files
@@                    Coverage Diff                     @@
##           feature/stable-cadence     #471      +/-   ##
==========================================================
- Coverage                   53.05%   52.92%   -0.13%
==========================================================
  Files                          28       28
  Lines                        3621     3622       +1
==========================================================
- Hits                         1921     1917       -4
- Misses                       1552     1556       +4
- Partials                      148      149       +1

Flag
Coverage Δ

unittests
52.92% <27.27%> (-0.13%)
:arrow_down:

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

Files Changed
Coverage Δ

emulator/coverage_reported_runtime.go
46.15% <ø> (+4.29%)
:arrow_up:

server/access/rest.go
0.00% <0.00%> (ø)

emulator/blockchain.go
72.16% <100.00%> (-0.25%)
:arrow_down:

... and 2 files with indirect coverage changes

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


Does not find ESP8266 ESP-01 connected to arduino uno

Error:Serial port connect failed, please check it.

Can you show how you have your wired connection ?


Retrieve data for observations map

Could we get the data/interim/df_timeseries.tsv created at the end of https://trias-project.github.io/indicators/05_occurrence_indicators_preprocessing.html
It would save me time re-running all the scripts.
I found data/interim/timeseries_taxonomic_info.tsv

Reposted here


Rewrite deployer in etherlime-lib in TypeScript

Codecov Report

Merging #236 into master will decrease coverage by 0.11%.
The diff coverage is 97.5%.

@@            Coverage Diff             @@
##           master     #236      +/-   ##
==========================================
- Coverage   97.53%   97.42%   -0.12%
==========================================
  Files          79       79
  Lines        3080     3063      -17
  Branches        0       18      +18
==========================================
- Hits         3004     2984      -20
  Misses         76       76
- Partials        0        3       +3

Impacted Files
Coverage Δ

...src/deployed-contract/etherlime-ganache-wrapper.ts
100% <100%> (ø)

...etherlime-lib/src/deployer/private-key-deployer.ts
100% <100%> (ø)

...ime-ganache-deployer/etherlime-ganache-deployer.ts
100% <100%> (ø)

packages/etherlime-lib/src/index.ts
100% <100%> (ø)

...etherlime-lib/src/deployed-contract/contract-at.ts
100% <100%> (ø)

...src/deployed-contract/deployed-contract-wrapper.ts
100% <100%> (ø)

...yer/infura-deployer/infura-private-key-deployer.ts
100% <100%> (ø)

...r/jsonrpc-deployer/jsonrpc-private-key-deployer.ts
100% <100%> (ø)

packages/etherlime-lib/src/deployer/deployer.ts
96% <85.71%> (ø)

... and 4 more

Continue to review full report at Codecov.

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


"Use Tor proxy" checkbox doesn't stick across restarts

The client does continue to use Tor however, even though the checkbox is not checked.

where do you see "Tor" option?

Network dialog, Proxy tab. Seems to work now, guess 2.9.3 fixed it?

I only see "use SSL" checkbox, nothing about Tor.  I guess you had to fill out a proxy to use it?
If its not a problem, i'll close it :) thx


clarification needed in step Prepare the source (current mailbox location) tenant step

in section Prepare the target tenant   explicitly refers on setp to "1. [Connect to Exchange Online PowerShell] in the target Exchange Online tenant."
but in the section "Prepare the source (current mailbox location) tenant" the step 3 "Create a new organization relationship or edit your existing organization relationship object to your target (destination) tenant in Exchange Online PowerShell:" the script shoud it be executed in target or source tenant ?

@quimguito Thank you for your feedback. The section talks about setting up target tenant so you connect to the target exchange online tenant and create a new org relationship with the source tenant by running the below cmdlet
$sourceTenantId="[tenant id of your trusted partner, where the source mailboxes are]"
$orgrels=Get-OrganizationRelationship
$existingOrgRel = $orgrels | ?{$_.DomainNames -like $sourceTenantId}
If ($null -ne $existingOrgRel)
{
Set-OrganizationRelationship $existingOrgRel.Name -Enabled:$true -MailboxMoveEnabled:$true -MailboxMoveCapability Inbound
}
If ($null -eq $existingOrgRel)
{
New-OrganizationRelationship "[name of the new organization relationship]" -Enabled:$true -MailboxMoveEnabled:$true -MailboxMoveCapability Inbound -DomainNames $sourceTenantId
}
Hope this helps!
Thanks
Sri

Hello thanks on your response,
but my doubt is in preparation the source tenant, the following step (“Prepare the source (current mailbox location) tenant by accepting the migration application and configuring the organization relationship”) should I run the powershell commands in the target server or in the source server in the step mentioned above.
Melhores Cumprimentos,
Best Regards,
Joaquim Silva
Computer and Systems Engineer
Technician Department
[https://simulador.extrabite.pt/imagens/extrabite_NatalGif.gif]
[https://simulador.extrabite.pt/imagens/separador.png]
T: +351 256 830 840
M: +351 966 788 601
E<EMAIL_ADDRESS>W: http://www.extrabite.pt/
[https://simulador.extrabite.pt/imagens/separador.png]
[https://simulador.extrabite.pt/imagens/EIC9002.jpg]
A: Rua Guerra Junqueiro, nº333 R/C | P: 3700-132 São João da Madeira
[https://simulador.extrabite.pt/imagens/banner_assinatura.jpg]
De: Sriraman M S
Enviada: 6 de setembro de 2022 11:35
Para: MicrosoftDocs/microsoft-365-docs @.>
Cc: Joaquim Silva | EXTRABITE @.>; Mention @.***>
Assunto: Re: [MicrosoftDocs/microsoft-365-docs] clarification needed in step Prepare the source (current mailbox location) tenant step (Issue #9597)
@quimguitohttps://github.com/quimguito Thank you for your feedback. The section talks about setting up target tenant so you connect to the target exchange online tenant and create a new org relationship with the source tenant by running the below cmdlet
$sourceTenantId="[tenant id of your trusted partner, where the source mailboxes are]"
$orgrels=Get-OrganizationRelationship
$existingOrgRel = $orgrels | ?{$_.DomainNames -like $sourceTenantId}
If ($null -ne $existingOrgRel)
{
Set-OrganizationRelationship $existingOrgRel.Name -Enabled:$true -MailboxMoveEnabled:$true -MailboxMoveCapability Inbound
}
If ($null -eq $existingOrgRel)
{
New-OrganizationRelationship "[name of the new organization relationship]" -Enabled:$true -MailboxMoveEnabled:$true -MailboxMoveCapability Inbound -DomainNames $sourceTenantId
}
Hope this helps!
Thanks
Sri
—
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/microsoft-365-docs/issues/9597#issuecomment-1237972081, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A23OMBNX2XJKVBRT67UVDDLV44M45ANCNFSM6AAAAAAQCR7KZI.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>

@msbemba

@quimguito That is correct. they need to connect to the source tenant in order to make that change. I have made the change to the document via PR#https://github.com/MicrosoftDocs/microsoft-365-docs/pull/9633
Once the author approves, the changes will be live.
Thanks
Sri


Installation failed

Describe the bug
I started a default installation but it dropped an error and after that exited.
To Reproduce
Steps to reproduce the behavior:

EMBArk installation (default mode)
See error

Screenshots

Desktop (please complete the following information):

OS: Ubuntu Server 22.03.4

Do you have a very new docker version running?
Could you please give us some version details:
pip3 list | grep docker
dpkg -l | grep docker

Do you have a very new docker version running? Could you please give us some version details:
pip3 list | grep docker
dpkg -l | grep docker

This error is also shown here docker/docker-py#3194

Yes, it is an updated Ubuntu server:

docker 7.0.0 breaks currently a lot ... please downgrade to <7.0.0

I see, but pip3 and docker comes with the emba installation.

This way it is working:

Would it be possible to use the suitable package in the installer?

Sorry, but this fix fif not solve the problem. The clean Ubuntu server does not have python and docker installed.
The emba(rk) installation downloads the 7.0.0 package and the installer fails again:

and a few seconds later:

If I install manually the good version the installer works fine, but the installer alone does not work:

I installed docker 6.1.3 manually on a clean Ubbuntu and after that the installer also failed.

There were some breaking changes to docker(-compose)
Working on resolving this.
Docker version <7.0.0 set for root worked yesterday, i'll look into it

I took a new clean up to date Ubuntu Server 22.04.3 and I installed manually these:
$ sudo apt install python3-pip
$ sudo pip3 install docker==6.1.3

reboot, and EMBArk installer:
$ sudo ./installer.sh -d | tee install.txt
please check the output lines 547-553:
install.txt

over night I did a fresh installation on Ubuntu Server 22.04.3 and got these installed:

over night I did a fresh installation on Ubuntu Server 22.04.3 and got these installed:

I am using hu.archive.ubuntu.com for apt.
If I use clean OS emba(rk) will download docker 7.0.0

According to https://packages.ubuntu.com/jammy/allpackages version 5.0.3 gets installed. I do not understand how you got v7.0.0. Please give us more details on how we can reproduce this issue in detail. Currently we support Ubuntu 22.04 with the usually installed packages and I am wondering on how a LTS version can automatically go up to docker 7. Docker v7 will be supported in the future but not yet

Thank you, I deleted my VM and started again following this process with a band new VM from ubuntu.com:)
ubuntu-22.04.3-live-server-amd64.iso
At the beginning of the installation I upgraded to the new installer.
Used mirror:
http://hu.archive.ubuntu.com/ubuntu/
Ubuntu Pro skipped
SSH installed.
I add this line to GRUB to have better resolution:
GRUB_GFXPAYLOAD_LINUX=1152x864
reboot
$ sudo timedatectl set-timezone Europe/Budapest
$ sudo apt update
$ sudo apt upgrade -y

reboot
$ git clone https://github.com/danielmiessler/SecLists.git
$ touch module_blacklist.txt
S99_grepit
S110_yara_check
I have this:
Linux embark 5.15.0-91-generic #101-Ubuntu SMP Tue Nov 14 13:30:08 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Shutdown & Snapshot
$ git clone https://github.com/e-m-b-a/embark.git
$ sudo ./installer.sh -d | tee new_install.txt

This is the error in the installer at the end:

I don't know why, but I got 7.0.0. By default the OS did not contain any docker or python version before emba(rk) installation.
new_install.txt
Please check lines 1549-1559 and the last few lines.
I can go back to the snapshot any time to try again.

@torabi12 could you please test an EMBA installation with the linked PR?

I did it on a Kali VM:

There was no error during the installation! :)

I did it on a Kali VM:
There was no error during the installation! :)

and on your special Ubuntu?

on Ubuntu it asks for pass. :(

you got the wrong URL .... should be m-1-k-3

It was also working on Ubuntu server:

sorry for the typo. Ubuntu's terminal needs typing. :(

Installer works fine:

EMBArk can be started:

Thank you for your support!

Thanks for pointing us to this issue. Keep on finding bugs ;)


Proposal for ISSUE_TEMPLATE

As per napalm-automation/napalm#268

@mirceaulinic What are you expecting on the setup section by the way? Doesn't look clear to me so I will add a description of what that actually means.

@dbarrosop Don't know if you noticed: I submitted two issues using a similar template: https://github.com/napalm-automation/napalm-junos/issues/27
Looking at them I find it's easier to understand what's the problem, although I feel like something is still missing and I can't identify what.
Can you please have a look on the inline comments and eventually apply some changes if necessary? Then we can replicate for all drivers, I would like to see this used soon :)

I don't know, I think it looks good an complete. I guess the steps to reproduce is what's key but that will depend on the user. I think this is a good starting point.


List of Mekanism Crashes

A bunch of crashes mekanism has caused using V8 on 24/7 dedicated server.
http://pastebin.com/fDfgDC1N
http://pastebin.com/sbzAXtKZ
http://pastebin.com/4JxxfPya
http://pastebin.com/mJSW4314
Are all of these fixed in the latest version?

Crash #4 has been fixed in v8.0.1 - I'll take a look at the rest tomorrow.

ok thanks :)
i probably shouldnt have update to V8 so hastily xD hope all the major bugs found can be fixed fast so my server is ok!

Alright, stayed up a bit later and these all should be fixed for the upcoming 8.0.2 :)


Bash Path on OSX

Line 1 in ./test-harness/local-run.sh (#!/bin/bash) will cause issues with OSX users that use homebrew to update Bash.
The default version of Bash located at /bin/bash is 3.4 on an OSX machine, which is incompatible with several commands in the ./test-harness/init.sh script. If OSX users use Homebrew to install an updated version of Bash, that installation is located at /usr/local/bin/bash and not at /bin/bash.

Merged fix into master.


Upgrade aiohttp to 2.0.7

2.0.7

Fix pypi distribution
Fix exception description
Handle socket error in FileResponse
Cancel websocket heartbeat on close

Tested with:
http:

Cherry-picked for 0.42.4


about the training data，do you use EFT fits or what?

For Human3.6M, COCO, MPII and MPI-INF-3DHP, we use the existing SPIN fits. For AVA, InstaVariety and AI Challenger, we introduce fits done with ProHMR.

I'm sorry for the confusion, I wanted to say that for these datasets we use the same (pseudo) ground truth as SPIN. This means that for COCO, MPII and MPI-INF-3DHP we use the SPIN fits, but for Human3.6M, we use the MoSh fits, the same way that SPIN did.
With that being said, how do you get the values for the "spin fits for Human3.6M". SPIN does not release such fits.

Is it possible that these fits were released from some other work instead and they were labelled as "SPIN fits"?
In either case, if these fits are generated the SPIN way (with in the loop optimization), it is expected to be different from the MoSh fits that HMR2.0 and SPIN use for training.

Is it possible that these fits were released from some other work instead and they were labelled as "SPIN fits"? In either case, if these fits are generated the SPIN way (with in the loop optimization), it is expected to be different from the MoSh fits that HMR2.0 and SPIN use for training.

You might be right, I can't quite remember either， maybe i get it from other work


[DOCS]: How to reset anything LLM

Description
Hi, it is not clear to me from the documentation (I have tried but it doesn't seem to work) how to totally reset anything LLM.
I've tried deleting and recreating the file anythingllm.db and running the prism:setup etc commands but it doesn't seem to work.
What can I do to be able to do a fresh installation of the platform? That is, starting at the very beginning of the initial setup (where it asks for logo, multiuser etc)?

delete server/.env && cp server/.env.example .env
rm -rf server/anythingllm.db && touch server/anythingllm.db && yarn prisma:reset


Add Windows SDK 10.0.22621 to the 2019 image

Tool name
Windows SDK 10.0.22621
Tool license
See SDK
Add or update?

[X] Add
[ ] Update

Desired version
10.0.22621
Approximate size
No response
Brief description of tool
Windows 11 SDK, latest version.
URL for tool's homepage
https://developer.microsoft.com/en-us/windows/downloads/windows-sdk/
Provide a basic test case to validate the tool's functionality.
No response
Platforms where you need the tool

[X] Azure DevOps
[ ] GitHub Actions

Virtual environments where you need the tool

[ ] Ubuntu 18.04
[ ] Ubuntu 20.04
[ ] Ubuntu 22.04
[ ] macOS 10.15
[ ] macOS 11
[ ] macOS 12
[X] Windows Server 2019
[ ] Windows Server 2022

Can this tool be installed during the build?
No response
Tool installation time in runtime
No response
Are you willing to submit a PR?
No - I've tried installing with Nuget and using the same packer-based approach as was taken for windows-2022, but with nuget it does not show as available in subsequent commands, and when running packer the test for the SDK fails.

I should note that the windows 2022 environment has other incompatibilities with the build I'm attempting to automate, so that's not an option in my case.

Hey @mikeb-ah.
https://docs.microsoft.com/en-us/windows-hardware/drivers/download-the-wdk
Starting with the Windows 11, version 22H2 release of the WDK and EWDK, the kits support:

Visual Studio 2022 exclusively
Building and testing kernel-mode drivers for x64 and Arm64
Building and testing drivers for Windows 10, Windows Server 2016 and later client and server versions
Side by side (SxS) support with previous WDK/EWDK

That is true for the Windows Driver Kit (WDK), but not for the Windows SDK, see here:
https://developercommunity.visualstudio.com/t/64-bit-EXEs-built-with-VS2019-crash-unde/1248753#TPIN-N10088359

@mikeb-ah
May I ask you to check the set of options for the requested SDK? Will the list of options specified in the pull request be sufficient for your application?
Mentioned PR is here. String 49
Or you can provide an example of application.

@mikeb-ah May I ask you to check the set of options for the requested SDK? Will the list of options specified in the pull request be sufficient for your application? Mentioned PR is here. String 49 Or you can provide an example of application.

That looks good, thanks very much!


[RELEASE] Release 3.1

Work Plan
Create release 3.1 :
Prior to the release work

[x] slack post advising of upcoming release & linking to issue
[x] advance warning in developer/community call
[x] final agreement to start branch in team call & identification of outstanding issues
[x] Agree required updates/versions for additional repos including egeria-ui, egeria-reactui, connectors etc

Branching & Correcting versions

[x] Create branch
[x] Reassign any issues not being worked on to the next release
[x] Update version for master (ie x.y-SNAPSHOT > x.y+1-SNAPSHOT)
[x] Update version for branch (ie x.y-SNAPSHOT -> x.y)

Final updates to the release

[x] Ensure any remaining fixes are merged into branch (and vice-versa to master)
[x] Remove release notes from branch
[x] update release notes in master & rename

Updating the React UI (as this is part of the notebook test). Note egeria-ui is out of scope other than inclusion of current release

[x] Create branch
[x] Update version in master
[x] Update version in new branch of connector, and of prereq egeria artifacts
[x] Ensure new docker image is available for testing

Updating the Helm Charts

[x] checker correct docker images are on dockerhub (these are built by the 'merge' build of a release)
[x] update image versions for helm charts (egeria-charts repo) (using -prerelease for chart version)

Final tests

[x] Check swagger doc renders (no regressions)
[x] Verify odpi-egeria-lab chart (pods active/ready)
[x] Verify egeria-base chart (pods active/ready)
[x] Check notebooks (config, start, data catalog at a minimum)
[x] Check React UI (rex, tex, glossary author)
[x] CTS - graph
[x] CTS - inmemory

Final build and publish

[ ] Run 'release' pipeline on branch to push candidates to oss.sonatype.org
[ ] 'close' staging repo & Validate artifacts ok (number, structure, validations) on oss.sonatype.org
[ ] Run 'release' pipeline on egeria-reactui & validate artifacts
[ ] Create final github releases for egeria (use release notes from master as text)
[ ] Close repo on oss.sonatype.org (once updated) for egeria, release
[ ] Close repo on oss.sonatype.org for egeria-react ui
[ ] Check 'release' repo on oss.sonatype.org has artifacts
[ ] Update final versions of egeria-charts to release ie x.y
[ ] Publish that release is now shipped via slack #egeria-announce
[ ] Additional posts to social media
[ ] Communicate to other repo owners ie for connectors so that they can be rebuilt/shipped as needed

Additional components

ReactUI

[ ] Create final github release

PostGres Connector

[ ] Create branch
[ ] Update version in master
[ ] Update version in new branch of connector, and of prereq egeria artifacts
[ ] Create github release

All tests are now complete. Release notes PR open. Running the final build for publishing.

Egeria & Postgres connector published to maven central & docker
reactUI published to docker
Egeria, Postgres & ReactUI published to github

Helm charts repo now updated
A reminder to install the lab charts:
helm repo add egeria https://odpi.github.io/egeria-charts
helm repo update && helm search repo egeria
helm install lab egeria/odpi-egeria-lab


chore: Cleanup repo

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


rim rstudio  does not open rstudio

I'm on elementary OS 6.1 (Built on Ubuntu 20.04.3 LTS). Running rig rstudio with a version number doesn't open rstudio. I get:
elio@elio:~$ rig rstudio 4.1.3
[INFO] Running xdg-open 4.1.3

Thanks, that does seem like a bug.

Fixed in 0.4.1: https://github.com/r-lib/rig/releases/tag/v0.4.1


Remove wlroots_0_15 (tracking issue)

With https://github.com/NixOS/nixpkgs/pull/201453 merged we want to eventually drop wlroots_0_15. That'll take at least a couple of months though and we still have wlroots_0_14 around as well. I'll just open this issue so that we don't forget about it.
The affected packages should switch to the latest wlroots release when possible (usually a new upstream release). There's no hurry but let's use this issue to track the current progress.
Packages:

TODO (currently all packages that depend on wlroots -> I'll update this when we're getting closer)

Previous issue: #151311

[ ] hikari
[ ] waybox
[ ] pywlroots 0.16 qt has been released and adapted to wlroots 0.16
[ ] qtile
[ ] phoc
[ ] cage


Ensure that QueueHandler.enqueue calls only get performed on the expected event loop

If all calls to QueueHandler (or any calls that use it, e.g. any Fluent calls) were submitted on the event loop, this would not be necessary. However, there are cases where cross-thread calls are submitted, particularly in tests. This can lead to the following error messages on the console, as well as possible segmentation faults down the line:
Test Case '-[PostgreSQLTests.PostgreSQLConnectionTests testGH24]' started.
[WARNING] [Async] [QueueHandler] Read triggered when input queue was empty, ignoring: parameterStatus(application_name: ).
[WARNING] [Async] [QueueHandler] Read triggered when input queue was empty, ignoring: parameterStatus(client_encoding: UTF8).
[WARNING] [Async] [QueueHandler] Read triggered when input queue was empty, ignoring: parameterStatus(DateStyle: ISO, MDY).
[WARNING] [Async] [QueueHandler] Read triggered when input queue was empty, ignoring: parameterStatus(integer_datetimes: on).
[WARNING] [Async] [QueueHandler] Read triggered when input queue was empty, ignoring: parameterStatus(IntervalStyle: postgres).
[WARNING] [Async] [QueueHandler] Read triggered when input queue was empty, ignoring: parameterStatus(is_superuser: off).
[WARNING] [Async] [QueueHandler] Read triggered when input queue was empty, ignoring: parameterStatus(server_encoding: UTF8).
[WARNING] [Async] [QueueHandler] Read triggered when input queue was empty, ignoring: parameterStatus(server_version: 9.6.2).
[WARNING] [Async] [QueueHandler] Read triggered when input queue was empty, ignoring: parameterStatus(session_authorization: vapor_username).
[WARNING] [Async] [QueueHandler] Read triggered when input queue was empty, ignoring: parameterStatus(standard_conforming_strings: on).
[WARNING] [Async] [QueueHandler] Read triggered when input queue was empty, ignoring: parameterStatus(TimeZone: Europe/Berlin).
[WARNING] [Async] [QueueHandler] Read triggered when input queue was empty, ignoring: backendKeyData(processID: 15170, secretKey: 430307746).
[WARNING] [Async] [QueueHandler] Read triggered when input queue was empty, ignoring: readyForQuery(transactionStatus: I).

Hey @MrMage, you just merged a pull request, have a coin!
You now have 8 coins.


Associated nodes are not present in before_create callback

Hello,
I'm finding that my associations are unavailable to me in a before_(save|create) callback. Is there something I'm doing wrong in the following example?
class TestUser
  include Neo4j::ActiveNode

  property :email

  has_many :out, :test_devices, type: :DEVICE_FOR
end

class TestDevice
  include Neo4j::ActiveNode

  property :token

  has_one :in, :test_user, type: :DEVICE_FOR

  before_create do
    puts "no user!" if test_user.nil?
  end
end

TestUser.destroy_all
TestDevice.destroy_all

u = TestUser.create!(email<EMAIL_ADDRESS>d = TestDevice.new(token: 'sekret')
d.test_user = u
d.save!

For me under v5.2.14 and v6.0.0.alpha12, this prints "no user!".

Someone also reported something similar in the Gitter room just now. We'll look into it and try to have a fix soon. Happy to take a PR if you dive in and fix it before us.

I took a bit of time to look at this and I think it's because we're getting two different association_proxy objects.  One of them is storing the deferred object and one is getting generated freshly without it.
Maybe we should be storing the deferred objects for associations directly on the object?  Maybe just in a hash with the association name symbol as the keys?

@jmdeldin I think I've got something that might fix it.  Could you try this in your Gemfile?
gem 'neo4j', github: 'neo4jrb/neo4j', branch: 'unpersisted_association_refactor'`

That's a branch off of 6.0.0, by the way.

@cheerfulstoic Excellent! That works for me in my test case. Thanks so much for fixing!

Wonderful, thanks.  Just released 6.0.0 with this fix!  Let me know if there are still any problems


Update README.md for MacOS

Makes these instructions more clear. I tested them on my M3 Macbook and it worked great. Thanks!

Thanks for the MR 😄


RN36

After https://github.com/exponentjs/ex-navigation/issues/199

Ok, ex-navigation isn't ready yet.


Fix failed connections following TLS upgrade.

Fixes #34

I have no idea how to write a test for this, so I cowardly did not.

Thanks so much for this patch! I might be able to properly receive emails now on my homebaked server.


Use JavaPoet instead of JCodeModel?

I find JavaPoet - https://github.com/square/javapoet - API (much) easier, it is much more popular. I suspect using it in adt4j could simplify a great deal of code and should make life easier for external contributors (like me ;-).
The only problem is that it require jdk 7. but now that even jdk7 is no more publicly supported by Oracle, I think it could be the right time to left out jdk6 support in a next major release or so.
What do you think? // cc @talios

I'm all for ditching Java 6 support :)
I think that JavaPoet API seems easy because it provides less than jcodemodel.
Currenly jcodemodel implements two functions:

Java source code generation
Provides meta-language to analyze existing code

JavaPoet can only support Java code generation. If we replace jcodemodel with JavaPoet, we will have to use JavaPoet for code generation and javax.mirror API as a meta-language. Two APIs are more complex than one. Original choice of jcodemodel was almost completely justified by the fact that it can be forced to serve both these purposes.
Comparing jcodemodel with JavaPoet in aspect of code generation, jcodemodel seems slightly better as it doesn't rely on string concatenation which prevents some class of errors.

I see. Thanks for the explanation.

@jbgi javapoet for the win! I've usually used the precursor to JavaPoet and its MUCH nicer for generation.
As far as the javax.mirror stuff, I know the AutoValue project from Google has some nice abstractions for dealing with the mirrors in a clean way. Not sure if that's in a separate artifact tho.
I was tempted to suggest it awhile ago, but that's an epic change.  Interestingly, Immutables.org use a javascript based template writer I believe.

I'll close this issue for now, as I think JavaPoet-rewrite is not realistic in new future...


Support for godot 4

Hello @Calame321,
Your script is awesome!
I have forked this repo and make some changes to the script in order to support godot4
https://github.com/adventurerlog/Godot_Auto_GridMap/tree/v4-support
If you are open to it please create a new branch in this repo called v4-support
That way I can open a new pull request, without overwriting the code on main and provide some support for the newest version.
Cheers!

Interesting!
I made the branch v4-support.

Thank you!
I created the PR at https://github.com/Calame321/Godot_Auto_GridMap/pull/4
Closing this since anything related to the PR can be discussed there.


Run the "generate_dcase_task4_2021.py"

Hello,
We get some errors as below when running the generate_dcase_task4_2021.py.
I don't have any idea about this problem.
Would you tell me what to do? Thank you!
Traceback (most recent call last):
File "generate_dcase_task4_2021.py", line 794, in
generate_soundscapes(
File "generate_dcase_task4_2021.py", line 571, in generate_soundscapes
events = instantiate_soundscape(
File "generate_dcase_task4_2021.py", line 422, in instantiate_soundscape
sc = add_bg(sc)
File "generate_dcase_task4_2021.py", line 343, in add_bg
bg_instance = sc._instantiate()["annotations"][0]["data"][0][2]
File "/home/bee/anaconda3/envs/dcase21_task4/lib/python3.8/site-packages/scaper/core.py", line 1712, in _instantiate
value = self._instantiate_event(
File "/home/bee/anaconda3/envs/dcase21_task4/lib/python3.8/site-packages/scaper/core.py", line 1426, in _instantiate_event
label = _get_value_from_dist(label_tuple, self.random_state)
File "/home/bee/anaconda3/envs/dcase21_task4/lib/python3.8/site-packages/scaper/core.py", line 424, in _get_value_from_dist
return SUPPORTED_DIST[dist_tuple[0]](*dist_tuple[1:], random_state=random_state)
File "/home/bee/anaconda3/envs/dcase21_task4/lib/python3.8/site-packages/scaper/util.py", line 270, in _sample_choose
index = random_state.randint(len(new_list_of_options))
File "mtrand.pyx", line 746, in numpy.random.mtrand.RandomState.randint
File "_bounded_integers.pyx", line 1254, in numpy.random._bounded_integers._rand_int64
ValueError: low >= high

Hello,
It seems to me that one of the background data folder is empty. That could throw this error (it could be good to try and get a more explicit error if that's the case).
Could you please check the folder data/dcase2021/soundbank/audio/train/soundbank/background (then check the "validation" and "evaluation" by replacing "train" in the previous path).
If you don't have background files there, then can you please check at the following path:
data/raw_datasets/desed_soundbank/audio/train/soundbank/background (and same, check validation and evaluation).

I found the background data folder is empty.
I download it again, and there is no problem with running "generate_dcase_task4_2021.py".
Thank you very much!

I found the background data folder is empty, so I downloaded it again.
When I downloaded the SINS datasets (DCASE2018-task5-dev.audio), it has an error about a "..zip' 'temp file as below.
Traceback (most recent call last):
File "generate_dcase_task4_2021.py", line 724, in
desed.download_desed_soundbank(desed_soundbank_folder)
File "/home/bee/anaconda3/envs/dcase21_task4/lib/python3.8/site-packages/desed/download.py", line 756, in download_desed_soundbank
get_backgrounds_train(
File "/home/bee/anaconda3/envs/dcase21_task4/lib/python3.8/site-packages/desed/download.py", line 576, in get_backgrounds_train
sins_path = download_sins(destination_folder)
File "/home/bee/anaconda3/envs/dcase21_task4/lib/python3.8/site-packages/desed/download.py", line 460, in download_sins
download_and_unpack_archive(
File "/home/bee/anaconda3/envs/dcase21_task4/lib/python3.8/site-packages/desed/download.py", line 434, in download_and_unpack_archive
shutil.unpack_archive(path_dl_tar, destination_folder, format=archive_format)
File "/home/bee/anaconda3/envs/dcase21_task4/lib/python3.8/shutil.py", line 1218, in unpack_archive
func(filename, extract_dir, **dict(format_info[2]))
File "/home/bee/anaconda3/envs/dcase21_task4/lib/python3.8/shutil.py", line 1122, in _unpack_zipfile
raise ReadError("%s is not a zip file" % filename)
shutil.ReadError: /data/DESED_task/recipes/dcase2021_task4_baseline/tmp_ltmdwe60/tmpnj_dd0fe..zip is not a zip file
Could you tell me how to solve? Thank you!

Ok, it seems you're not the only one to have this error, someone else reported the same error.
However, I can't reproduce it here, could it come form internet connection or country restrictions ?
The way to solve it is to try and download "by hand" all the zip files in this zenodo folder : https://zenodo.org/record/1247102/
Then do this:
import desed
desed.filter_sins("PATH/TO/DCASE2018-task5-dev",  destination_folder=os.path.join("PATH/TO/background", "sins"),
    classes_kept=["other"],
    rm_original_sins=True)

Please tell me how it goes.

I understood it, thanks.
I am downloading all zip files now but it can make a lot of time.
If I just need the 10000 synthetic audio clips in training data, do I have to download these zip files?

Thank you very much!
Following your steps, I have solved it!

Hello, I had trained the baseline.
The multiple evaluations provided by the official dcase2021, do they come from the prediction of the student's model or teacher's model?

Hi, please this question doesn't belong to this issue anymore so let's discuss it on Slack for example.
I'm still giving the answer here, but closing the issue then after.
The results are coming from the predictions of the teacher model.
PS: there is a small bug about the scaling for the baseline, so we'll change it soon, more info coming on Slack.

Hello,
I understand, thank you very much.
You have worked hard.
turpaultn @.***>於 2021年3月27日 週六，上午12:04寫道：

Hi, please this question doesn't belong to this issue anymore so let's
discuss it on Slack for example.
I'm still giving the answer here, but closing the issue then after.
The results are coming from the predictions of the teacher model.
PS: there is a small bug about the scaling for the baseline, so we'll
change it soon, more info coming on Slack.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/DCASE-REPO/DESED_task/issues/11#issuecomment-808334568,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEV5X3XJ6XPUZQENVX4MCA3TFSWANANCNFSM4ZSG5ZGA
.

Ok, it seems you're not the only one to have this error, someone else reported the same error.
However, I can't reproduce it here, could it come form internet connection or country restrictions ?
The way to solve it is to try and download "by hand" all the zip files in this zenodo folder : https://zenodo.org/record/1247102/
Then do this:
import desed
desed.download.filter_sins("PATH/TO/DCASE2018-task5-dev",  destination_folder=os.path.join("PATH/TO/background", "sins"),
    classes_kept=["other"],
    rm_original_sins=True)

Please tell me how it goes.

Just to explain more:
If you have done the steps above, you need to re-split the dataset by
desed.download.split_desed_soundbank_train_val(desed_soundbank_folder)
which means you have to also regenerate your dcase2021 dataset.
A simple way of doing this is to delete the folder:
YOUR\PATH\TO\DCASE\dcase2021\soundbank.
If you cannot find the dcase2021 folder in raw_datasets directory-level, then you can just continue or rerun the generate.py.
More tips: Due to the quality of the internet, we may cannot download all files successfully from the given script. But we can find all links inside the DESED library, which are all included in download.py.


docs: openebs draft

As we're working on the migration/merging of Mayastor documentation content to the OpenEBS docs, we're closing this PR.


Unset imageTag in all values files and revert to uselagoon

Once Lagoon 2.0 is released we should stop using the main imageTag, and fall back to a 2.0.0 appVersion in the Chart.yaml.
We also need to switch from amazeeiolagoon to uselagoon registry in the values.yaml for all charts, and remove the testlagoon registry override in the CI linter-values.yaml.
See changes in https://github.com/uselagoon/lagoon-charts/pull/152

this was fixed a while ago


How to use ARFaceTrackingConfiguration with react-native-arkit

I need to use the ARFaceTrackingConfiguration option for my ARkit project. Is there a way to specify that class as the scene's configuration?

@DavidQL not yet, but should be easy to add. Maybe you can try yourself and send a PR!

duplicate of https://github.com/HippoAR/react-native-arkit/issues/154

any update on this?


slickGoTo(0) is not working

any other index above 0 does.

If the slider is already at 1st slide,  slickGoTo(0)  will not have any effect

the slider is on the 2nd slide.
I have 4 elements.
index is 0 to 3.
every slickGoto is working except 0, 0 supposed to get the slider to the beginning.

ok, I will check

Just looking at the code, I think it might be here:
https://github.com/akiran/react-slick/blob/master/src/inner-slider.jsx#L104
  slickGoTo: function (slide) {
    slide && this.changeSlide({
      message: 'index',
      index: slide,
      currentSlide: this.state.currentSlide
    });
  },

If you go to slide 0, then this will evaluate to false since 0 is falsey in js. Maybe changing that first line to something like:
 (slide || slide === 0) && this.changeSlide({

This issue is fixed in 0.13.4 version

Does slickGoTo remove the animation ? How to keep it ..

@manodupont You won't see animation If there is a state change just before calling slickGoTo becuase it causes re-render of react-slick.
You should avoid re-render of react-slick to see animation.

same issue
version 0.23.1
goes to each slide without problems except 0


Read-Host is printing the data if the input is given from file | Ubuntu 16

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.
[X] Refer to the FAQ.
[X] Refer to the known issues.

Steps to reproduce
I am experiencing issues with Read-Host when I am trying to read input from file
Let's see  you create a file read.pwsh having the following contents
$a = Read-Host;
and their is input file input.in having the following content
hello
After executing command on terminal
pwsh read.pwsh < input.in
then I am getting the following output
hello
The above behaviour seems to be incorrect
Expected behavior
pwsh read.pwsh < input.in

this should not print anything
Actual behavior
pwsh read.pwsh < input.in

the input is getting printed
Environment data
OS Details        :  Ubuntu 16.04.4 LTS
Poweshell Version :  PowerShell 6.2.2

Visuals
No response

If you redirected input why did not you redirect output?

@iSazonov
My use case is I wanted to take input from file and then perform some operations on that print the output of the operations with Write-Host
For Eg: Adding Two Numbers Given In a File and Printing the output of the sum

Read-Host cmdlet is interactive cmdlet and the behavior is by-design.
If you have a file you can use Get-Content cmdlet.


missing test explorer icon after 2024.18.0 auto upgrade

Type: Bug
Behaviour
Test explorer icon in the left navbar has disappeared after vscode updated the extension automatically to 2024.18.0.
I think this was the trigger because the upgrade install datetime for this is in the same 15 minute window where the icon disappeared.
I continue to see the "TEST RESULTS" output tab.
I continue to see green checkmarks in left margin of codebase.
Steps to reproduce:

Run vscode before auto upgrade to 2024.18.0.
Test as expected
Allow vscode to auto upgrade to 2024.18.0
Notice test explorer icon in left nav disappear

{
    "python.testing.pytestEnabled": true,
    "python.testing.pytestArgs": [
        "tests"
    ],
    "python.testing.unittestEnabled": false
}

Diagnostic data

Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)

2024-11-07 18:05:49.108 [info] Experiment 'pythonaacf' is active
2024-11-07 18:05:49.108 [info] Experiment 'pythonTensorboardExperiment' is active
2024-11-07 18:05:49.108 [info] Experiment 'PythonPyTorchProfiler' is active
2024-11-07 18:05:49.108 [info] Experiment 'pythonDeprecatePythonPath' is active
2024-11-07 18:05:49.108 [info] Experiment 'pythonInterpreterInfoUnpinned' is active
2024-11-07 18:05:49.108 [warning] Dir "/var/task/.pixi/envs" is not watchable (directory does not exist)
2024-11-07 18:05:50.023 [info] > /var/lang/bin/python -I ~/.vscode-server/extensions/ms-python.python-2024.18.0-linux-x64/python_files/get_output_via_markers.py ~/.vscode-server/extensions/ms-python.python-2024.18.0-linux-x64/python_files/interpreterInfo.py
2024-11-07 18:05:50.079 [info] Python interpreter path: /var/lang/bin/python
2024-11-07 18:05:50.399 [info] > pyenv which python
2024-11-07 18:05:50.399 [info] cwd: .
2024-11-07 18:05:53.092 [info] Starting Pylance language server.

Extension version: 2024.18.0
VS Code version: Code 1.95.1 (65edc4939843c90c34d61f4ce11704f09d3e5cb6, 2024-10-31T05:14:54.222Z)
OS version: Windows_NT x64 10.0.22631
Modes:
Remote OS version: Linux x64 <IP_ADDRESS>-microsoft-standard-WSL2

Python version (& distribution if applicable, e.g. Anaconda): 3.12.3
Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): Global
Value of the python.languageServer setting: Default

User Settings

languageServer: "Pylance"

testing
• pytestArgs: "<placeholder>"
• pytestEnabled: true

Installed Extensions

Extension Name
Extension Id
Version

Black Formatter
ms-python.black-formatter
2024.4.0

GitHub Copilot
GitHub.copilot
1.243.1200

GitHub Copilot Chat
GitHub.copilot-chat
0.22.1

GitHub Pull Requests
GitHub.vscode-pull-request-github
0.100.0

JavaScript Debugger
ms-vscode.js-debug
1.95.1

Pylance
ms-python.vscode-pylance
2024.11.1

Python
ms-python.python
2024.18.0

Python Debugger
ms-python.debugpy
2024.12.0

Table Visualizer for JavaScript Profiles
ms-vscode.vscode-js-profile-table
1.0.10

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-10875H CPU @ 2.30GHz (16 x 2304)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_graphite: disabled_offvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabledwebnn: disabled_off

Load (avg)
undefined

Memory (System)
63.84GB (41.75GB free)

Process Argv
--crash-reporter-id 8d544852-4b24-4cd7-83b3-a71762043606

Screen Reader
no

VM
0%

Item
Value

Remote
Dev Container: motd

OS
Linux x64 <IP_ADDRESS>-microsoft-standard-WSL2

CPUs
Intel(R) Core(TM) i7-10875H CPU @ 2.30GHz (8 x 0)

Memory (System)
23.47GB (19.84GB free)

VM
0%

I have been able to re-add the icon with https://stackoverflow.com/questions/76208022/vs-code-testing-sidebar-not-there
How the python extension upgrade caused the need for that, is unknown to me.

glad you got it fixed! That is a weird bug and let me know if it comes up again and I can loop in someone who can help trouble-shoot. Thanks!


Adding required vagrant plugins to Vagrantfile

This PR aims to solve the issue #3

I think the issue in #3 is specific to OS X. I don't think it's reasonable to make this a catch-all solution. We could link to the issue in the README though with the corresponding error text

Oh I thought that plugin was required for every OS, my bad.
We could add an OS detection around this chunk of code though :
if (Vagrant::Util::Platform.mac?) {
  ...
}

I guess my hesitation at installing a plugin is that this repo aims to self-contain the lime install process but we are installing something system wide to do so. Hence my suggestion for a README note =/

Oh ok I understand your logic!


Adding mockNimEnabledProject mocking function

1st Comment:
[andrewballantyne] I imagine this belgons in the mocks for NIM Resource, no?

Link
2nd comment:
We should definitely be using page objects and not being explicit about test ids like this. cy.findByTestId for instance is also available

Link

Handled in #18 .


Merging master (take 2)

@AyoOlubeko,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


Please invite me to the Community Organization

Name
Bilesanmi Faruk
Discord Username (if applicable) E.g John#412
dark.ninja6#4488
Questions & suggestions?
No response

Welcome to the community, @bilefresh 🤩


[Chore] upmpdcli version upgrade

Upmpdcli is now at version 1.6.2
The ppa now includes builds for ubuntu kinetic, so add support for this option as well

Available in release 2022-12-12


Enable Pixel Snap by default in the 2D editor

Since this avoids accidentally placing 2D nodes at subpixel positions, this results in more crisp visuals by default, even when pixel snapping is disabled in the project settings.
I would recommend cherry-picking this to 3.x, since the subpixel position placement is likely not a behavior that people rely on a voluntary basis.
This closes https://github.com/godotengine/godot-proposals/issues/3209.

Thanks!

Cherry-picked for 3.4.


Merging develop into main

The asciidoc-build.yml needs to be modified so that the documentation is built when changes are pushed to main.

Thanks @SwindleA . I'll file that as a separate issue and asking it to @ruthvikm


C_CPP: Multiple Inheritance documentation

Description 📜

Documentation of Multiple Inheritance in C++

Domain of Contribution 📊

[x] C/CPP

/assign

@Siddhartha-Dhar  me more than 12 days passed


Hotfix: Issue 208

Issue fixes:

Catching and logging the corrupted data into DB #208
Skip DB update if content is corrupted #208
Don't save loggedIn into DB #208

Closing this pull request, new one has been made which includes the password placeholder fix and additionally bumps the version file to 3.1.2.
Thanks @slavenstancic


Remove version: taers232c.GAMADV-XTD3 version 6.80.03

This version is older than what has been set in max-versions-to-keep by the publisher.
Microsoft Reviewers: Open in CodeFlow

URL: https://github.com/taers232c/GAMADV-XTD3/releases/download/v6.80.03/gamadv-xtd3-6.80.03-windows-x86_64.msi
OK
(Automated message - build 913)


Added images/ folder to the repo with a .gitkeep file

When running the app the first time after cloning the repo, the script failed in a FileNotFoundError for a missing images/-folder.
Added the images folder to the repository with a .gitkeep file,  altered the .gitignore rules so that everything else in the folder but the .gitkeep file will be ignored.

Thanks for catching this bug. I pushed a commit that fixed this. Didn't want an extra empty directory in the repository. But again, thank you so much for you contributions! Really appreciated. If you find any more bugs please let me know.

Nice! Thank you back for the nice and good term filler :)


Instructions for the use of the Calendar Viewing/Listing

I'm submitting a ...

[ ] bug report
[x] feature request
[ ] design request

What is the current behavior? / What feature/design would you like to implement
Instructions regarding how to use the Calendar Viewing/Listing
The plan would be to:

A quick instruction guideline regarding how to submit an event into the calendar view, synchronization of it with their calendar choice of interest, and the approval procedure.

Other info:
Have dependencies on the completion of the

calendar view workflow

Closed this, but still available here


Is it still maintained?

Project has not received updates for more than one year, is it still maintained? Or should we migrate to another framework (unfortunately I could not find a framework with such a good functionality per byte or complexity ratio)?

I've recently updated Spectre to v0.6.0, see https://github.com/niutech/spectre

@niutech How does your fork compare to this seemingly abandoned fork? https://spectre.angular-package.dev/

@qgustavor Angular-package's spectre.min.css is whooping 230KB in size, while mine is only 45 KB.

@niutech Isn't because it does have more features? I use Spectre with a dead code removal tool so file size is not an issue for me. :confused:

@qgustavor It's mainly because Angular-package uses CSS variables instead of SASS variables. These aren't removed by dead code tools.

@niutech Seems to be a good thing, no? Better than having to use SCSS. Just find one tool that removes them, there should be at least one that does that.

@qgustavor If you want to load bigger CSS file with CSS variables, then use Angular-package's Spectre, it's up to you.

@niutech So your fork only have the smaller file size as a good point? Like, just that? Something PurgeCSS than take care? No night mode or fixes to bugs in Spectre?

@niutech Not only, e.g.: pure CSS tabs, added column order classes, .card-shadow class, Heart, Show and Hide icons, updated dependencies. But use whatever suits you well.

@niutech that's what I was wanting to know, smaller file size while having some new features. Night mode is in the works? To be fair the main thing I expect from a fork is that.


Add currencies to giftcard model

Related: https://github.com/mgmco/bugs/issues/3016

oh giftcards


Enter variable by tabbing from one entry to the next

This is a feature request, not an issue.
Like a form letter, you set a variable for each space you want to be able to type in information and then tab to the next fill-in variable in the text.
Something like this:
Hello #{Name},
Are you from #{State}? If so you it's your #{Word} day!
When you tab it goes from Name to State, and Word.

It is impossible to ensure that behavior works in most application, that's why the solution used to cope with that kind of problem is through message dialog, using the #{input:} variable.


when will this support the mmd?

i want to use it to make a game which need to port mmd format like pmx and vmd.

Probably never at least in-tree, because the format isn't freely available therefore requires reverse engineering efforts and not that common. But it should be fairly straight forward to add support for formats like this in 3rd party crates.
As there is already a parser for pmx you just have to integrate it into Bevy.

MMD: MikuMikuDance
PMX: Polygon Model eXtended
VMD: Vocaloid Motion Data
The answer above is correct: we won't have first-party support for proprietary formats, and these formats are also not widely enough used in games to justify first-party support anyways. That said, writing your own asset loader is deliberately supported, and if you end up doing so it can be nice to publish a reusable crate for others to use and help maintain.


Question about running falcon in a distributed manner

System Info
Hey,
In my experience, falcon 40b breaks when using it over multiple gpus with device_map=auto. I get gibberish output unless I pass use_cache=false. I was wondering if you guys could tell me how you managed to host falcon. And if you did it on multiple gpus, how?
Information

[ ] Docker
[ ] The CLI directly

Tasks

[ ] An officially supported command
[X] My own modifications

Reproduction
Just run the falcon 40b instruct model over 4 gpus
Expected behavior
Legible output and speed too, the falcon model is quite slow in my experience.

Hi!
You can host the 40b models with 2xA100s with the following command:
docker run --gpus '"device=0,1"' -p 8080:80 -v $PWD/data:/data ghcr.io/huggingface/text-generation-inference:sha-6abec14 --model-id tiiuae/falcon-40b-instruct --num-shard 2

or you can quantize with bnb and decrease the memory requirements but this will have a very large impact on latency:
docker run --gpus '"device=0"' -p 8080:80 -v $PWD/data:/data ghcr.io/huggingface/text-generation-inference:sha-6abec14 --model-id tiiuae/falcon-40b-instruct --quantize bitsandbytes

Thanks, I will try this and get back to you.


Spyder Help Tab Crash

Description of your problem
Spyder crashes (segmentation fault) when trying to automatically display the help documentation for plt.plot() when typed in the console.
What steps will reproduce the problem?

Open a fresh Spyder. Ensure the the help documentation is enabled for the iPython console (Tools -> Preferences -> Help -> Check IPython console.
In the IPython console type import matplotlib.pyplot as plt
Next, type plt.plot(

What is the expected output? What do you see instead?
I expect to see the plot documentation. Spyder instead crashes.
Please provide any additional information below
This seems to be something specific to changing the name of the import. The following example does not crash
import matplotlib.pyplot
matplotlib.pyplot.plot(
It does not trigger on all imports. The following example does not crash
import matplotlib.pyplot as plt
plt.figure()

It does not trigger in the editor.
Versions and main components

Spyder Version: 3.2.4
Python Version: 3.6.3 64 bits
Qt Version: 5.6.2
PyQt Version: 5.6
Operating system: Linux Mint 17.3 MATE

Dependencies
Please go to the menu entry Help > Optional Dependencies (or
Help > Dependencies), press the button Copy to clipboard
and paste the contents below:
IPython >=4.0    :  6.2.1 (OK)
cython >=0.21    :  0.27.3 (OK)
jedi >=0.9.0     :  0.11.0 (OK)
nbconvert >=4.0  :  5.3.1 (OK)
numpy >=1.7      :  1.13.3 (OK)
pandas >=0.13.1  :  0.21.0 (OK)
psutil >=0.3     :  5.4.1 (OK)
pycodestyle >=2.3:  2.3.1 (OK)
pyflakes >=0.6.0 :  1.6.0 (OK)
pygments >=2.0   :  2.2.0 (OK)
pylint >=0.25    :  1.7.4 (OK)
qtconsole >=4.2.0:  4.3.1 (OK)
rope >=0.9.4     :  0.10.7 (OK)
sphinx >=0.6.6   :  1.6.3 (OK)
sympy >=0.7.3    :  1.1.1 (OK)

This is a duplicate of issue #5514 and it'll be fixed in our 3.2.5 version, to be released in the next few days.


use standard library context package

Simply switch to top level context package brought in since 1.7

LGTM!


Update index.js

Adopt igniterealtime/openfire-pade-plugin#28 and igniterealtime/openfire-pade-plugin#226 to Pàdé Inverse client.

I had to do this manually


useful-links has a couple of broken links

I haven't gone through each one (yet) but for sure a couple are broken:

Edit this page (at the very bottom)
An imperative guide to forms in Vue.js

HTH

Thank you for reporting the issue. 👍
I just fixed broken links.


gcc: Update from version 10.3.0 to 11.1.0

This PR updates gcc and the toolchain to version 11.1.0.
This PR is blocked on managarm/managarm#369 and managarm/frigg#10

Was the patch rebased or recreated?

An attempt at rebasing was made, when that failed I tried to apply the old patch with git am --3way and modified it as needed. It does seem that one line got erroneously dropped from the patch, so I'll add that one back.

Issue with the patch has been fixed, and this PR can be merged whenever github actions is done and approves of it.

@qookei has indicated on Discord that the patch itself looks good, so with that approval I'm going to merge this PR.


Send cpu aggregated stats

We want to send (cpu.user + cpu.nice) and (cpu.irq + cpu.softirq) in order to reduce the number of metrics emitted by the cpu collector.
It's backward compatible.

If I understand this correctly - if enableAggregation is true - we are still going to send individual user, nice, irq metrics as well as aggregated metrics. So enabling this collector will temporarily increase the number of metrics emitted, correct?

yeah! we can blacklist the ones we don't want through a config change!

:shipit:

:shipit:


Add README to Ruby service module doc

Codecov Report

Merging #1358 into master will increase coverage by 0.04%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##             master    #1358      +/-   ##
============================================
+ Coverage     86.38%   86.42%   +0.04%
- Complexity     3876     3885       +9
============================================
  Files           381      383       +2
  Lines         15478    15531      +53
  Branches       1714     1716       +2
============================================
+ Hits          13370    13423      +53
  Misses         1647     1647
  Partials        461      461

Impacted Files
Coverage Δ
Complexity Δ

...i/codegen/viewmodel/metadata/VersionIndexView.java
83.33% <ø> (ø)
4 <0> (ø)
:arrow_down:

...odegen/viewmodel/metadata/PackageMetadataView.java
100% <ø> (ø)
3 <0> (ø)
:arrow_down:

...odegen/transformer/PackageMetadataTransformer.java
96.36% <ø> (-0.07%)
11 <0> (ø)

...ormer/nodejs/NodeJSPackageMetadataTransformer.java
96.66% <100%> (+0.46%)
13 <0> (ø)
:arrow_down:

...ansformer/ruby/RubyPackageMetadataTransformer.java
95.04% <100%> (+0.39%)
19 <1> (+1)
:arrow_up:

...i/codegen/viewmodel/metadata/SimpleModuleView.java
100% <100%> (ø)
3 <3> (?)

...ansformer/py/PythonPackageMetadataTransformer.java
99.15% <100%> (+0.07%)
31 <0> (ø)
:arrow_down:

...codegen/viewmodel/metadata/ReadmeMetadataView.java
100% <100%> (ø)
3 <3> (?)

.../transformer/ruby/RubyGapicSurfaceTransformer.java
100% <100%> (ø)
12 <0> (+2)
:arrow_up:

... and 1 more

Continue to review full report at Codecov.

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

It parses the markdown we use correctly, though I'm not clear on whether it features a complete markdown parser.

I can't generate an example for monitoring, because of googleapis/artman#215 but I did get a screenshot using the library service.

@landrito LGTY?


allow badge to be consumed via MDX

investigate ability to consume the Badge component within an MDX file

After investigation, i'm afraid that components used in a MDX cant inherit context from the main Storybook without some pretty ugly config changes


ignore root variables

repro
Adding the following line in the target project:
var testString = `test string`

expected
Nothing to be output relating to string
got
	gouml.modelKind ..> string : <<use>>
	gouml.modelKind ..> string : <<use>>
	gouml.modelKind ..> string : <<return>>

details
I had encountered an issue that all return and use of string are  shown in UML, the picture rendered  is the following:

Adding a check whether the type of object is *types:Var or not in exploring it may fix this problem,  I guess. But I haven't enough confidence. I would be glad if you give me an advice.

@rubyu thanks, this looks pretty good.
but, sorry, I discovered this bug and patched to master branch already. #20
please give update this library and retry parsing.
Thanks

oops, not resolved yet...?

Thank you for your quick reply. I had go get -u again, and everything is going well now!
And lastly, let say me thank you again. I think this tool will be very important thing to all the people who write golang. Cheers!🍻

I'm glad to hear that!
Thank you.


return a value from an action

Why does action have the type Action a -> Rules () and not Action a -> Rules a?
I'm in a situation where I need to use actions to build up a list of files I want to produce, I'm then going to files **> produce them however I can't do this because everything I do inside an action is void.

@shmish111 That's deliberate because the steps in Rules are run in parallel. Can you say more about your desire to do this accumulation? An alternative formulation is to use a .stamp file, say you want "foo.stamp", and then say foo.stamp can be build by doing the action you mention.

Oh, and Rules has a MonadIO instance which might be what you want, if your action is not necessary to live in Action?

I'm refactoring your code from 2015 here :-)
So I only want to use library a if I'm in debug mode, if I am then I want to copy if from some lib directory into my _make directory. The way I know if I'm in debug mode is by checking an env var. I could use IO to get the env var but really I want this stored in the shake db through an askOracle, right? My assumption here is that I want the shake db to know my entire environment so that it can know what it needs to rebuild, is this correct?

I've worked out that the logic wasn't really working the way shake wants it anyway, I can need for all the files I want in a single action (which can get helper info from askOracle and then have rules to explain how to copy these files (which may also require askOracle). I think I see now why there is no Action a -> Rules a.
I would still like to know if storing env vars in the Oracle is the correct thing to do? I'm not sure what goes on behind the scenes but it feels like shake db should know everything and sneaky a liftIO could break the logic as to whether a rule should be rerun or not.

I think what I need to understand is what is the reason for using an Oracle when I could just get the information I want directly from IO?

Presumably reaching into IO to get information will make chaching impossible in the future?

@shmish111 Have you seen getEnv? It adds a dependency on the given env var.

yes, I just saw this. Sorry for this ticket, I think it was due to a misunderstanding of these functions.

 Once you are using an action, whether the information is tracked via getEnv or not is irrelevant - actions are always rerun from scratch so doing IO actions in them isn't a problem.


Why ReadIndex re-write previous request's index？

Notice the following code:
                   for _, v := range cs {
			if v.index > s.index {
				panic("v.index > s.index is unexpected")
			}
			// re-write the index for extra safety.
			// we don't know what we don't know.
			v.index = s.index
		}

Implementation of etcd, no need to re-write index.
https://github.com/etcd-io/raft/blob/main/read_only.go#L81
Is there some kind of BUG?  Can we not re-write index?

index of the log is never rewritten.
as explained by the comments, code above is for extra protections. I don't think there is any bug here.


Rename the devcontainer Frigate camera

@felipecrs Too many things with 'demo' in the name ;-) Suggest we rename the Frigate camera so the resultant entity in HA is just camera.frigate. Opinions?

@felipecrs Too many things with 'demo' in the name ;-) Suggest we rename the Frigate camera so the resultant entity in HA is just camera.frigate. Opinions?

Sure, makes total sense.


Update README.md with More Thorough Documentation

I started working with this library because it was listed here, but the documentation was quite minimal and I ended up having to experiment a lot in order to figure out how to do most things. It's possible that not all of the info in this PR is 100% correct, but code examples such as these would've been very helpful for me when I first started using this library so I'm confident that at least some of this will be useful.
One thing I did remove was this section from the setup instructions:
defer {
    // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
    try? httpClient.syncShutdown()
}

While I'm sure it'd be important to include this block, I cannot figure out how to actually use it in the context of an app. If I call it when the app is first initialized, I get an error message after sending my first message. Currently, I have a sample app running just fine without this block, so if someone would like to incorporate this block into my examples I'll leave that up to you.
Thanks!

So in your example, you would ideally want to clean up the httpClient you initialize in your init(), once your OpenAiService object is deinited. A strategy that you could use is to initialize a new HTTPClient on the app startup, and continually it into instances of your OpenAiService. Once your application is be be terminated, you could then clean up your HTTPClient with a shutdown.

So in your example, you would ideally want to clean up the httpClient you initialize in your init(), once your OpenAiService object is deinited. A strategy that you could use is to initialize a new HTTPClient on the app startup, and continually it into instances of your OpenAiService. Once your application is be be terminated, you could then clean up your HTTPClient with a shutdown.

Ah, that makes a lot more sense, I didn't think to put the syncShutdown call in the deinit. My thought process was that, since the OpenAiService will be alive only throughout the lifetime of the app, once the app is quit the HTTPClient won't be doing anything anyway so there's no need to do anything to it in the deinit. I'm guessing there is something going on behind the scenes with HTTPClient even when the app isn't active then? Could you shed some more light on that so I could revise the documentation accordingly?

Once your application is be be terminated, you could then clean up your HTTPClient with a shutdown.

What do you suggest is the best way to do this? I'm reading a lot of information about executing code on app termination and that it is not reliable. Should one use scenePhase? Or an older UIApplicationDelegate method? Do you just suggest creating a deinit on some HTTPClient singleton? Dcoumentation that would reflect the best practices for this would be helpful.

Once your application is be be terminated, you could then clean up your HTTPClient with a shutdown.

What do you suggest is the best way to do this? I'm reading a lot of information about executing code on app termination and that it is not reliable

To add onto @joshgalvan's comment, like I mentioned above, I'm also interested in why calling syncShutdown() when the app is terminated is necessary in the first place. I would expect that the networking code wouldn't be doing anything while the app is in the background or is inactive anyway, and that once it's quit and restarted the HTTPClientService would get initialized normally and the app would run. So what's the point?
@joshgalvan To answer part of your your question, yes, I've found that UIApplication.willResignActiveNotification and similar are much more reliable than monitoring scenePhase changes. However, as far as I know, there is no way to monitor whether the app was terminated with one of these notifications. I believe you can only get notified above the app moving into or out of the foreground, background, or inactive states, hence part of my (and your) confusion.


Clean up Casper; prep for full-stack API tests

part 2 is coming tomorrow hopefully (full-stack API tests)

Automated message from Dropbox CLA bot
@showell, it looks like you've already signed the Dropbox CLA. Thanks!

This looks good, merged!
Obviously there's lots more we'll want to do to make the new API test suite nice (in particular, it'd be great to have it provide more clear output), but that can all be follow-up work leading to turning it on in CI.  Thanks for working on this @showell!