Changes to click events / sleeps / screenshots / setting values for Angular 2 elements

Select a random value between two values for sleeping and setting values
Takes screenshot of the whole page - not just the visible area
Ability to set values for certain angular 2 driven elements so their events trigger
BUG FIX - Clicks first element when there are multiple elements
Switches contextet to new page if a new page is created during the test

Thanks for the pull request @Simonzor
I'll check and merge in the requests as soon as possible. I will probably add them to the feature/tests branch, as there was a large refactor.

No problem, glad to have been of some help to the project. Very interesting project you have going on and will be keeping a keen eye on it!

I've added most of your work to the feature/tests branch. I'm still finishing up some details here and there, but I plan on merging it soon.
Thanks again for your help 😄


FE-386 | Fix cross render issue with collection Info and Content tab switching

Backport for #20176

[ ] https://jenkins.arangodb.biz/job/arangodb-ANY-jslint/31254/


[BUG] getopt and weird ending character

Bug description
The arguments via command lines (e.g., -f filename -c cmd param1 param2) have (sometimes) an extra ending character (e.g., filename¼, param1¼, and param2¼
Step to reproduce
Setup the launch config as:

and see in the console the actual strings:

Note that the program runs correctly with einstein.jpg, or even when the image is renamed as lenalena.jpg.
I tried to change the length of einstein as ei.jpg, and the program runs correctly (so not related to the length of the input parameter)

Info about your config

VS Code
libgetopt v2.0.1 (mingw32 version)
compiler: mingw32
windows 10

Interestingly enough, the same error happens with print_pixel now


numba.vectorize interface inconsistency between target="cpu" and target="parallel"

numba.vectorize on 4911192c5 (and further back) appears to have the following interface inconsistency:
import numpy as np
import numba as nb

@nb.jit
def add(x, y):
    return x + y

custom_vectorize = nb.vectorize([], identity=None, target="cpu")

# No problem here
test_fn = custom_vectorize(add)

custom_vectorize_2 = nb.vectorize([], identity=None, target="parallel")

# Problem here
test_fn_2 = custom_vectorize_2(add)

# TypeError: A jit decorator was called on an already jitted function CPUDispatcher(<function add at 0x7fa399ca2ef0>).  If trying to access the original python function, use the CPUDispatcher(<function add at 0x7fa399ca2ef0>).py_func attribute.

I can reproduce this.

Thanks for the report. I think something like this needs doing for the parallel target (fairly sure the below is why the 'cpu' target works):
https://github.com/numba/numba/blob/4911192c5b51f3ecbb76a12b74372979378c43a1/numba/np/ufunc/dufunc.py#L80-L81
but it can probably just use the extension API for the determination of whether the function is already @jit wrapped: https://numba.readthedocs.io/en/stable/extending/high-level.html#numba.extending.is_jitted


feat: add zksync_tee_prover and container to nix

$ nix build -L .#tee_prover
$ nix build -L .#container-tee_prover-dcap
$ nix build -L .#container-tee_prover-azure
$ export IMAGE_TAG=$(docker load < result | grep -Po 'Loaded image.*: \K.*')

$ docker run -i --env GRAMINE_DIRECT=1 --env TEE_API_URL="http://<IP_ADDRESS>:3320" --privileged --init $IMAGE_TAG

What ❔

Why ❔

Checklist

[x] PR title corresponds to the body of PR (we generate changelog entries from PRs).
[ ] Tests for the changes have been added / updated.
[x] Documentation comments have been added / updated.
[x] Code has been formatted via zk fmt and zk lint.

ok, rewriting, because cargo vendor is supposed to work soonish :-)


Hotfix/client side case sensitivity

Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

API change check
API changes are not detected in this pull request.


Add LocalSend to the Windows Explorer right-click "Send To" menu

Is your feature request related to a problem? Please describe.
It is inconvenient to manually open LocalSend and drag in the file. For Bluetooth File Transfer, you can just right click the file and select the Bluetooth option in the Send To menu. LocalSend should be added to the menu just like Bluetooth.
Describe the solution you'd like
Add LocalSend to the Windows Explorer right-click "Send To" menu
Describe alternatives you've considered
Manually opening LocalSend, but it is inconvenient.
Additional context
No response

Duplicate of #115


ssd type disk unclaimed after installing

Cloud Provider/Platform (AKS, GKE, Minikube etc.):
# paste output here

@buffalo1024 What's the hwameistor version, and have you apply any ldc?
$ kubectl get ldc

operator can solve this issue, in testing


Batch update next dependencies within scope, Feb 2023

Renovate config still needs to be tweaked because #3158 is still too broad. But I wanted to get ahead of some patch updates in next.

Should we do a bunch of these in develop as well?


Create a mood rating system that allows the user to enter their current mood

Base plan, which might not be fully followed and could end up with multiple ramifications, is :

Create a table in the database that allows storing of a user's moods which will have a column to identify the user, one to record the mood rating (integer from 1 to 5) and a column to record the date-time of the input.

A modal window that would pop up every 30 minutes to prompt the user to input their current mood.

A page where the user could see their mood history.

07-04-2020
Cloned the repository and started working on the issue.

08-04-2020
Add ratings table and started working on modal window

11-04-2020
Decided to follow a different path, zipped the progress and started from scratch

11-04-2020 19:00

Following the bits from the tutorial I had used for the authentication system, I have added a Moods table that stores username, userid, rating and datetime.
A page where you could see and edit a user's mood history that is visible only if the user is logged on.
When adding a new mood, the username should be filled in automatically ( for the moment it is set to TEST). The timestamp will record the current time.
Rating input is limited to 0, 0.5 and 1. Have tried for about two hours to make radio buttons work, but I could not get them to feed the right information where it should.
It would do
"mood"=>{"username"=>"TEST",  "when"=>"2020-04-11 18:56:15 +0100"},"rating"=>"Input 0, 0.5 or 1", "commit"=>"Create"}

instead of
"mood"=>{"username"=>"TEST", "rating"=>"Input 0, 0.5 or 1", "when"=>"2020-04-11 18:56:15 +0100"}, "commit"=>"Create"}
For now the rating is to be inserted into a form field that has limited input.

11:04-2020 20:00

Added a chart to the mood history list using the gem ChartKick.

17-04-2020 18:30
After taking over work from @adriancttnc (Adrian) on 10-04-2020, we agreed i would work on implementing the modal window for the mood rating system. This would allow users to click on an image from the modal pop up every 30 minutes or so & automatically have their answers recorded to the database.
Progress:

As of today I have struggled to get the bootstrap modal window to show up either on button click or on javascript response which has severely halted progress. This seems to be a common issue according to StackOverflow.

I have been able to work almost blindly & still setup the modal window images to automatically log & record a response for the user based on the inputs. Although, i have not been able to apply any CSS to this as i can not see the modal window.

Issues:

When i take out the   <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %> line i am able to see the modal window & can work on it from there. This tells me the issue is in relation to that stylesheet although i still cant find it.

Next Steps

As of now the only issue is getting the modal window to show up & display on timer.

Therefore, i aim to sort out that issue & then apply CSS & finishing touches to the section of work before committing changes.

I have finished reviewing your contributions and performed some general clean-up. The unnecessary scaffolding was removed, leaving only the controller actions that are needed. The chart was tweaked to only show data for the currently logged in user.
As there was no mechanism to allow the user to rate their mood, I added a simple partial in app/views/playlist/_mood_rater.html.erb to facilitate this. This is backed by the mood_ratings#create controller action which only allows mood ratings to be stored for the currently logged in user.
I could not see the code for the modal window described further up in the thread. Perhaps there are some commits that weren't pushed to the remote repo? Regardless, that functionality is currently beyond the scope of the project (reminders are a stretch goal—see item m. in section 03.04 of the project definition).


Checking more in CI

Wanted to run potential changes by @trimental before starting on work. I figured that it could be good to add the following to CI

Clippy - We only have on lint currently, and it's been that way for a while. It's just a constructor with a lot of unique types, so seems fine to just #[allow()] that one instance
Formatting - It looks like both of us probably already use formatting on save, so this mostly just makes sure that one-off contributions also handle formatting
Publishing code coverage on something like codecov.io - I normally don't enable the integration that comments on every PR since it's annoying, but it's still nice to have the interface for poking around to see what is covered and how coverage has changed over time

The only task left here is codecov.io. I believe that configuring that requires @trimental to setup things on their end, so I'll close this till he's active again


Errors pop up with definitions

The problem
Describe the bug
when I try to run a timeline, i get these errors:
"invalid get index 'value' (on base: dictionary) "
"[Dialogic] Error opening default definitions file: 12"
To Reproduce
Steps to reproduce the behavior:

Go to definitions > add value

make a timeline with the value, for example i made a timeline called "ababa" with these events

try to run the timeline by adding it as a child of Node2D, like so:

the "hello" shows up fine, but then this error happens:

close the game, go back to the editor. in addition to the above error the new value doesnt show up in the dropdown anymore

this error pops up when i click on the value

Expected behavior
I expect to see my value in the dialog or at least for the game to not crash i guess
System (please complete the following information):

OS: Windows 10
Godot Version: 3.3.2.stable
Dialogic Version: 1.2.4

Solutions
Workaround
What you tried to get the feature working:
I tried to delete the addon and all the files and install it again and it didnt work
Possible fixes
Any idea to fix the issue or a link to the line of code that might be the cause for this problem

Thanks for the report, I'll look into it 👍🏻
Have you tried downloading the repo itself (version 1.2.5) I made many bug fixes that might help?
I will try to reproduce it and fix it later today

no I haven't tried that I just downloaded from the releases section, so i'll look into it ty
also, i forgot to mention it in the post but i changed the theme to have my project's native buttons and my project's font and made the dialog box smaller. could that have caused all the errors somehow?

i changed the theme to have my project's native buttons and my project's font and made the dialog box smaller. could that have caused all the errors somehow?

Changing the theme or the button shouldn't affect the definitions at all

i changed the theme to have my project's native buttons and my project's font and made the dialog box smaller. could that have caused all the errors somehow?

Changing the theme or the button shouldn't affect the definitions at all
ok then, i tried 1.2.5 and i couldn't even get it to start, it says it failed to retrieve the singleton, even though i checked and the path is correct

Make sure you rebooted godot at least once after installing

i did

Pushing a fix soon to this issue

@ababen1 Made the changes, can you test it out again with the latest version? https://github.com/coppolaemilio/dialogic/commit/c1e04721bec80f1636f6eb9ee1d4d6162b590dcf

@ababen1 Made the changes, can you test it out again with the latest version? c1e0472

that fixed the singleton problem, but the problem with the definition is still the same, i tried to set a value and it crashed with this error:

@ababen1 pushed a new batch of changes (https://github.com/coppolaemilio/dialogic/commit/93176a4bbc194435e39a8d873b0c20f83e3fb965) to hopefully fix this singleton mess we have here. I will most likely overhaul the saving system since it is giving us a lot of headaches lately.

@ababen1 pushed a new batch of changes (93176a4) to hopefully fix this singleton mess we have here. I will most likely overhaul the saving system since it is giving us a lot of headaches lately.

tried it, same error :(

@coppolaemilio i've looked into the code and "reset saves" is true by default, i think that's what caused all the errors, it just deleted all the definitions i've entered in the editor when i ran the timeline
i set it to false and it didnt crash and it showed the value correctly

may i ask what's the idea behind the "reset_saves" thing? i dont really understand what's the point of resetting my definitions at all, let alone doing it by default

Well I think in many smaller games you want the definitions to be reset at least in the beginning of the game. Also it can be confusing if you don't know they are saved when you quit your game. So when you test your game again it suddenly plays out differently. But yeah. It's a pretty confusing thing. I think your problem is a duplicate of #267 but maybe I'm mistaken.

Even if dialogic is resetting saves by default, why would it cause it to show those errors?

Even if dialogic is resetting saves by default, why would it cause it to show those errors?
i guess because it's trying to access data that was deleted

When the reset happen the data should go back to the defined value set on the Dialogic editor, but maybe you were calling the variables before the instance of Dialogic was created and able to read it?

When the reset happen the data should go back to the defined value set on the Dialogic editor, but maybe you were calling the variables before the instance of Dialogic was created and able to read it?

I don't know, i really didn't do anything complicated. just entered a variable in the editor, used brackets to display it in a dialogue, used dialogic.start() and added it as a child, and boom the definitions file is empty. i didnt even try to change the value in runtime or anything. just tried to display it

Hello @coppolaemilio , I found aWorkaround to this.
I think What's happening is that Definitions are only being created when you reset the definitions.
Basically All you need to do is call any dialogue at the start of the game with Dialogic.start(your_dialogue, true) # you have to reset defs
After that if you call the dialogue that modifies the definition, you won't get the Error above.
Of course this is not a fix as reseting definions at the game start will make saving them pointless but i think this could help you track the origin of the error.
So here's a final example to make it clear.
In my own game every dialogue that I create is called with Dialogic.start with reset_defs = false. Which means any definitoin that I create will give me the error above.
But if i at the start of the game reset the definitions, I wont get the error.

So I looked into the code and it seems in fact that if you never reset the defs at least once (Not every time you run the game, just when you add new definitions). The definitions wont get initiated and wont be saved in the config file.
This is the function code of Dialog.gd:
func load_config_files():
	if not Engine.is_editor_hint():
		if reset_saves:
			DialogicUtil.get_singleton('DialogicSingleton', self).init(reset_saves)
		definitions = DialogicUtil.get_singleton('DialogicSingleton', self).get_definitions()
	else:
		definitions = DialogicResources.get_default_definitions()
	settings = DialogicResources.get_settings_config()
	var theme_file = 'res://addons/dialogic/Editor/ThemeEditor/default-theme.cfg'
	if settings.has_section('theme'):
		theme_file = settings.get_value('theme', 'default')
	current_theme = load_theme(theme_file)

The "DialogicUtil.get_singleton('DialogicSingleton', self).init(reset_saves)" is only called when reset_saves is true.
I wish I can fix it myself but I dont know how.
Basically what needs to happen is for the plugin to detect when we add a new definition from the editor so it modifies the config file where the Definitions are saved so it can update them without resetting the previous ones.

I do believe what you describe is a duplicate of #267 but what's confusing on this problem is, that reset_saves is true by default in the Dialogic.start() function. Also the error in the editor should not happen as it should always try to load the default definitions anyways. But maybe these problems are connected, idk.

Exactly, It is true by default but  for it to work you have to assume that the function will be called with default parameters at least once, and in the DialogicSingleton , reset is false by default.
In my own project I never call the Dialogic.start with reset = true at any point of the game which lead to the same error.
I have tried it with multiple projects with different nodes structure and the result is always the same.
I managed to find a workaround for my main project by detecting if the player is starting a new game or loading an existing one :
# when the player presses "New game button"
if new_game:
   DialogicSingleton.init(true)

# When I want to save the game data I also save the Dialogic definitions In my own save file:
save_dict["definitions"] = DialogicSingleton.get_definitions()

# When The player presses The continue button I load the definitons :
var defs = GameData.read_dict(save_dict, "definitions", {})
if "variables" in defs.keys():
for dict in defs["variables"]:
	Dialogic.set_variable(dict["name"], dict["value"])

Maybe this could help the OP with his game until the bug is fixed.

Since a new variable system is going to be implemented I'm closing this issue


There is a row of gaps at the bottom

Please tell me how to remove it, thank you
This is a comparison with Kitty.

Solved with anysize patch


Seperate Crawl and Build

Maybe crawl only when by a change in the crawler folder

no need yet, cause api limits are far away
everyday build is in #43

might think about that again
maybe store data.json on main (i dont like that commits there)

not for now


Return only new outputs as metaproject outputs

Fix for #396.  Detailed description in the commit message.
@olivierdagenais I'd appreciate it if you could take a look at this.  I made some pretty big changes to the SolutionConfigurationWithDependenciesRelaysItsOutputs test that I think capture the correct intent of the Connect bug and #69, but they're very different from what was there before.
Note: I untabified some of the embedded MSBuild in the test, so looking at this with ?w=1 is recommended.

Results from builds of my repro project with the previous version and with this change:
D:\work\oom_repro>msbuild build_sln.proj /v:m
Microsoft (R) Build Engine version 14.0.24720.0
Copyright (C) Microsoft Corporation. All rights reserved.

  ClassLibrary1 -> D:\work\oom_repro\ClassLibrary1\bin
  \Debug\ClassLibrary1.dll
  ClassLibrary2 -> D:\work\oom_repro\ClassLibrary2\bin
  \Debug\ClassLibrary2.dll
  ClassLibrary3 -> D:\work\oom_repro\ClassLibrary3\bin
  \Debug\ClassLibrary3.dll
  Solution outputs: D:\work\oom_repro\ClassLibrary1\bi
  n\Debug\ClassLibrary1.dll;D:\work\oom_repro\ClassLib
  rary1\bin\Debug\ClassLibrary1.dll;D:\work\oom_repro\
  ClassLibrary2\bin\Debug\ClassLibrary2.dll;D:\work\oo
  m_repro\ClassLibrary1\bin\Debug\ClassLibrary1.dll;D:
  \work\oom_repro\ClassLibrary2\bin\Debug\ClassLibrary
  2.dll;D:\work\oom_repro\ClassLibrary1\bin\Debug\Clas
  sLibrary1.dll;D:\work\oom_repro\ClassLibrary3\bin\De
  bug\ClassLibrary3.dll

D:\work\oom_repro>msbuild build_individual.proj /v:m
Microsoft (R) Build Engine version 14.0.24720.0
Copyright (C) Microsoft Corporation. All rights reserved.

  ClassLibrary1 -> D:\work\oom_repro\ClassLibrary1\bin
  \Debug\ClassLibrary1.dll
  ClassLibrary2 -> D:\work\oom_repro\ClassLibrary2\bin
  \Debug\ClassLibrary2.dll
  ClassLibrary3 -> D:\work\oom_repro\ClassLibrary3\bin
  \Debug\ClassLibrary3.dll
  Solution outputs: D:\work\oom_repro\ClassLibrary1\bi
  n\Debug\ClassLibrary1.dll;D:\work\oom_repro\ClassLib
  rary2\bin\Debug\ClassLibrary2.dll;D:\work\oom_repro\
  ClassLibrary3\bin\Debug\ClassLibrary3.dll

D:\work\oom_repro>o:\msbuild\bin\Windows_NT\Debug\MSBuild.exe build_sln.proj /v:m
Microsoft (R) Build Engine version <IP_ADDRESS>
Copyright (C) Microsoft Corporation. All rights reserved.

  ClassLibrary1 -> D:\work\oom_repro\ClassLibrary1\bin
  \Debug\ClassLibrary1.dll
  ClassLibrary2 -> D:\work\oom_repro\ClassLibrary2\bin
  \Debug\ClassLibrary2.dll
  ClassLibrary3 -> D:\work\oom_repro\ClassLibrary3\bin
  \Debug\ClassLibrary3.dll
  Solution outputs: D:\work\oom_repro\ClassLibrary1\bi
  n\Debug\ClassLibrary1.dll;D:\work\oom_repro\ClassLib
  rary2\bin\Debug\ClassLibrary2.dll;D:\work\oom_repro\
  ClassLibrary3\bin\Debug\ClassLibrary3.dll

D:\work\oom_repro>o:\msbuild\bin\Windows_NT\Debug\MSBuild.exe build_individual.proj /v:m
Microsoft (R) Build Engine version <IP_ADDRESS>
Copyright (C) Microsoft Corporation. All rights reserved.

  ClassLibrary1 -> D:\work\oom_repro\ClassLibrary1\bin
  \Debug\ClassLibrary1.dll
  ClassLibrary2 -> D:\work\oom_repro\ClassLibrary2\bin
  \Debug\ClassLibrary2.dll
  ClassLibrary3 -> D:\work\oom_repro\ClassLibrary3\bin
  \Debug\ClassLibrary3.dll
  Solution outputs: D:\work\oom_repro\ClassLibrary1\bi
  n\Debug\ClassLibrary1.dll;D:\work\oom_repro\ClassLib
  rary2\bin\Debug\ClassLibrary2.dll;D:\work\oom_repro\
  ClassLibrary3\bin\Debug\ClassLibrary3.dll

This shows that the outputs list is still complete (but now lists each project only once).

@dotnet-bot test this please

LGTM

A quick look at the code and I'd have a similar comment about documenting the use of null by suggesting the line look like:
AddReferencesBuildTask(metaprojectInstance, target, targetName, null /* see bug #396 */);

I fetched your changes to take our new and improved test out for a spin, but I get (from both VS 2015 and its Command Prompt):

Your project.json doesn't list 'win' as a targeted runtime. You should add '"win": { }' inside your "runtimes" section in your project.json, and then re-run NuGet restore.

...and the README doesn't talk about creating such files, so I guess I'm stuck.  Any ideas?

@olivierdagenais Sorry about the build issue.  I based this commit off the update-1 branch point to make it easier in case we need to ship a hotfix containing this change, but that commit doesn't build if you have VS2015 Update 1 installed on your machine because of NuGet changes.  I pushed a buildable branch to my fork: buildable-oom-fix.
I agree about the comment; I'll add one there and also in the other calls to that method briefly explaining a bit about why outputs should/shouldn't be preserved.

OK, I still can't build (I even tried your buildable-oom-fix branch) so I took a closer look at the updated test.  Yes, the .metaproj will now only return the same outputs as the non-meta version ("normal project"), and for completeness I would prefer seeing the test expanded to include a project reference (i.e. from B to a new project D), since that's the case I had missed in my original submission and it's the cause of the "cumulative snowballing".
Please see 2b6b3c703a3fc6daf3f11572bc2ff9b88affc0ae, with the caveat that I wrote that without being able to compile & test.  Hopefully you can cherry-pick it into your branch and fix it up as necessary.

Great feedback, @olivierdagenais. I pulled in your change and added a bit of clarification about the dependency relationships.
The previous Jenkins failure seems to be a race condition in our build. I reproduced it once on my machine and the unhandled exception came from
Microsoft.Build.Shared.InternalErrorException: MSB0001: Internal MSBuild Error: Object reference not set to an instance of an object.
=============
System.NullReferenceException: Object reference not set to an instance of an object.
   at Microsoft.Build.BackEnd.NodeProviderInProc.InProcNodeEndpoint_OnLinkStatusChanged(INodeEndpoint endpoint, LinkStatus status) in O:\msbuild\src\XMakeBuildEngine\BackEnd\Components\Communications\NodeProviderInProc.cs:line 402
   at Microsoft.Build.BackEnd.NodeEndpointInProc.RaiseLinkStatusChanged(LinkStatus newStatus) in O:\msbuild\src\XMakeBuildEngine\BackEnd\Components\Communications\NodeEndpointInProc.cs:line 260
   at Microsoft.Build.BackEnd.NodeEndpointInProc.ChangeLinkStatus(LinkStatus newStatus) in O:\msbuild\src\XMakeBuildEngine\BackEnd\Components\Communications\NodeEndpointInProc.cs:line 318
   at Microsoft.Build.BackEnd.NodeEndpointInProc.SetPeerNodeConnected() in O:\msbuild\src\XMakeBuildEngine\BackEnd\Components\Communications\NodeEndpointInProc.cs:line 278
   at Microsoft.Build.BackEnd.NodeEndpointInProc.Listen(INodePacketFactory factory) in O:\msbuild\src\XMakeBuildEngine\BackEnd\Components\Communications\NodeEndpointInProc.cs:line 175
   at Microsoft.Build.BackEnd.InProcNode.Run(Exception& shutdownException) in O:\msbuild\src\XMakeBuildEngine\BackEnd\Node\InProcNode.cs:line 155

 ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at Microsoft.Build.BackEnd.NodeProviderInProc.InProcNodeEndpoint_OnLinkStatusChanged(INodeEndpoint endpoint, LinkStatus status) in O:\msbuild\src\XMakeBuildEngine\BackEnd\Components\Communications\NodeProviderInProc.cs:line 402
   at Microsoft.Build.BackEnd.NodeEndpointInProc.RaiseLinkStatusChanged(LinkStatus newStatus) in O:\msbuild\src\XMakeBuildEngine\BackEnd\Components\Communications\NodeEndpointInProc.cs:line 260
   at Microsoft.Build.BackEnd.NodeEndpointInProc.ChangeLinkStatus(LinkStatus newStatus) in O:\msbuild\src\XMakeBuildEngine\BackEnd\Components\Communications\NodeEndpointInProc.cs:line 318
   at Microsoft.Build.BackEnd.NodeEndpointInProc.SetPeerNodeConnected() in O:\msbuild\src\XMakeBuildEngine\BackEnd\Components\Communications\NodeEndpointInProc.cs:line 278
   at Microsoft.Build.BackEnd.NodeEndpointInProc.Listen(INodePacketFactory factory) in O:\msbuild\src\XMakeBuildEngine\BackEnd\Components\Communications\NodeEndpointInProc.cs:line 175
   at Microsoft.Build.BackEnd.InProcNode.Run(Exception& shutdownException) in O:\msbuild\src\XMakeBuildEngine\BackEnd\Node\InProcNode.cs:line 155
   --- End of inner exception stack trace ---
   at Microsoft.Build.Shared.ErrorUtilities.ThrowInternalError(String message, Exception innerException, Object[] args) in O:\msbuild\src\Shared\ErrorUtilities.cs:line 71
   at Microsoft.Build.BackEnd.InProcNode.Run(Exception& shutdownException) in O:\msbuild\src\XMakeBuildEngine\BackEnd\Node\InProcNode.cs:line 221
   at Microsoft.Build.BackEnd.NodeProviderInProc.InProcNodeThreadProc() in O:\msbuild\src\XMakeBuildEngine\BackEnd\Components\Communications\NodeProviderInProc.cs:line 386
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()

I'm pretty sure that's not related to this change.

Well, assuming the test passed (there appears to be something wrong with the test results in Jenkins), I'm happy with the changes. :shipit:

It did indeed pass (no idea why Jenkins feels the need to hide the test names!).
Thank you very much, @olivierdagenais!

It did indeed pass (no idea why Jenkins feels the need to hide the test names!).

That might be a defect with the XUnit publisher, or at least a custom XSL might need to be provided if the format of the *TestResults.xml files changed.


Pcloud versioning

Added a VersionerNonSetup class that would update versions in projects which do not contain setup files
Such projects should contain a _version.py file inside the concerned module, and a config.yaml file

Sure. will make the changes

Currently in pcloud-backend we need to display the latest stable version in chalice API. So if changelog is like
0.0.2dev (...)
...

0.0.1 (..)
...

we need to display 0.0.1 as the version.
So the approach I had taken was first run the versioner from pkgmt, which will update a dev version in _version.py file , so we cannot use this directly. For getting the latest stable non dev version read Changelog and get the most recent version which doesn't have dev. I made this change in pcloud to keep pkgmt more generic. (which also means _version.py file becomes redundant for this usecase atleast)
Do you think it would make sense to store the last version in _version.py itself in pkgmt flow..something like:
__version__ = '0.0.2dev'
__stable_version__ = '0.0.1'

Or should I pick it up from the last tag in github commit?
@edublancas @idomic

Currently in pcloud-backend we need to display the latest stable version in chalice API. So if changelog is like

Can't we use the dev version and derivate into the chalice from the dev one?
If we absolutely need to have 2 versions, I think it's better to have them in one place.

Do we need to allow multiple packages containing _version.py file?

Elaborate? What's the use case?

I think we can use the changelog for this last stable version, since we keep promoting from the version file, it has the historical log, so together with the .dev version in the file we can get a full status and still manage it in a single place (the version file that dictates).
I think if that happens we should separate it into stand-alone packages, let's keep it in mind for later once the use case come up.

Currently in pcloud-backend we need to display the latest stable version in chalice API. So if changelog is like

0.0.2dev (...)
...

0.0.1 (..)
...

we need to display 0.0.1 as the version.

I'm not following why we need two versions. We need to display the deployed version. That can be 0.0.1 but might also be a dev version like 0.0.2dev. Why do we need two versions?

I'm not following why we need two versions. We need to display the deployed version. That can be 0.0.1 but might also be a dev version like 0.0.2dev. Why do we need two versions?

My understanding was that the prod will always have the latest stable version which is the one before the dev version.
And the _version.py file has just the current dev version.
But now this also makes me think that since we have both dev and prod environments.. how do we know which version is deployed in which environment?
@idomic

we check out the commit whose version is a stable one (like 0.1) and deploy

Ok got it. But do we document this anywhere that this particular version is currently deployed in prod? In pcloud the only file that currently has the version history is the changelog, and after integrating with pkgmt it will have a _version.py file which has the dev version.

Ok got it. But do we document this anywhere that this particular version is currently deployed in prod?

I think to check which version is deployed, we can check the source code in AWS and see what version string we have.


Activation service returnes 400 after 9 minutes

When running activate_account on an account which has no TFT on rivine this returnes 400 after 9 min
Request:
curl 'https://tokenservices.threefold.io/threefoldfoundation/conversion_service/activate_account' \
  -H 'authority: tokenservices.threefold.io' \
  -H 'accept: application/json, text/plain, */*' \
  -H 'user-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36' \
  -H 'content-type: application/json;charset=UTF-8' \
  -H 'origin: https://wallet-beta.jimber.org' \
  -H 'sec-fetch-site: cross-site' \
  -H 'sec-fetch-mode: cors' \
  -H 'sec-fetch-dest: empty' \
  -H 'referer: https://wallet-beta.jimber.org/' \
  -H 'accept-language: en-US,en;q=0.9' \
  --data-binary '{"args":{"tfchain_address":"01b0096e16b1765995cda22bdccf7b44542ead4f82f8102e3a0c8d54a674df636f076b3b5e35b7","address":"GCYJU26PRR3KWLK2JFIREZWGVRMHJPDQFU6QBXE7SCUPEFNSNGSMHKK7"}}' \
  --compressed

Parameters:

tfchain_address : 01b0096e16b1765995cda22bdccf7b44542ead4f82f8102e3a0c8d54a674df636f076b3b5e35b7 (does not have any tft)
address: GCYJU26PRR3KWLK2JFIREZWGVRMHJPDQFU6QBXE7SCUPEFNSNGSMHKK7 (not yet created)

Response:
{
    "error": "/explorer/hashes/01b0096e16b1765995cda22bdccf7b44542ead4f82f8102e3a0c8d54a674df636f076b3b5e35b7: no explorer was available"
}

This is due to tfchain explorer issues we are having right now. Lee is investigating.

This is due to tfchain explorer issues we are having right now. Lee is investigating.

This is actually not true. What I'm investigating is issues with the block creators. This does not affect the explorer in any way.
From what I see in the monitoring, explorers have been reachable fine for the past 24 hours.

Please note that this is happening on mainnet. On tes net this is working fine.

Solved by https://github.com/threefoldfoundation/tft-stellar/issues/121#issuecomment-623914673


Add Tutorial/Option to Live Reload when Developing React Components

Describe the problem feature solves
When developing custom React components in adminjs applications, I constantly need to refresh the browser to see my changes. It would be nice if there were some way to easily configure live reloading or some tutorial.
Describe the solution you'd like
Documentation or config options to enable live reloading.
Describe alternatives you've considered
Refreshing the browser on every code change.
Acceptance criteria
NA

@wdfinch by live reloading do you mean some kind of websocket implementation that automatically shows new changes when creating/updating/deleteing records or just a button which reloads contents without refreshing the browser?

Thanks for the reply! Sorry I wasn't very clear. I've updated the title and details above. I was referring to adding a live reload feature when developing custom react components. When adding these components, I need to refresh the browser every time I make changes (I have nodemon restarting the server). It would be nice if the browser could just refresh on its own when I make a change.
Hot Module Replacement (HMR) would also solve this problem but might be harder to implement.


Replace Red Sky samples

There were two "Red Sky" samples that were basically left over from the initial Kubebuilder scaffolding. This PR replaces them with optimize.stormforge.io versions that contain at least a few populated fields.
The main reason for doing this now is to fulfil an OperatorHub requirement: the alm-examples annotation contains a JSON list of sample resources for each of the CRDs owned by the operator. For an Operator SDK bootstrapped project, this annotation is populated when generating the operator bundle using the contents of the /config/samples directory (via inclusion in the Kustomization piped into operator-sdk generate bundle).
These samples are shown on the OperatorHub generated preview (for example, you can see the presentation here at the bottom of the page). Because they are converted to JSON to be stored in the annotation, I have omitted what might have been otherwise useful documentation comments in the samples.

Two late additions:

The samples are now embedded into the binary and can be emitted using stormforge generate sample --kind Experiment
Application files (like tests) and application resources (via the Konjure update) can now be inlined: any multiple line input will be treated as file content. If you need to specify a file name that contains a newline, it will need to be done via a file: URL with percent encoding (and hopefully go-getter is good with that).

I put the "documentation" annotation in and left the status on the trial to try and convey the non-user-editable nature of the trial (under "normal" circumstances). I do not plan to include the kind: Trial example in the Cluster Service Version (part of the reason there is a --kind flag on the gen sample). I found an example of a listing on Operator Hub that does this and it just omits the "View YAML Example" link.


Update crates to build on nightly

Fixes #90.

It looks like another PR (possibly #93) also updated Cargo.lock in a way that when I rebased this there were no outstanding changes.  @lann main now builds on nightly for me - please yell out if it doesn't for you!


Mode not always selected/shown in live-qso when using wavelog-gate

When using wavelog-gate to get trx data in the live-qso area, the mode is very often not shown (empty) in the dropdown. While band works always, the mode does not work in more than 50% of the mode changes. It is shown correctly in wavelog-gate, but not in wavelog. This maybe also a wavelog-gate bug.
Versions:
Wavelog: 1.8.2
Wavelog-gate: 1.0.16

Can u please share a screenshot?

thank u.
the screenshot from WLGate and the expected value is missing.
Could you pse provide the following Informations:

Screenshot WLGate (Tab "Status")
Information about your TRX
Given Mode vom TRX which fails.

tu

okay.
can you pse check if you've (accidently) deactivated the submodes for SSB (USB/LSB) at the Adminmenu?
go to the Menue with the gear-symbol, then to Modes and search for SSB (upper right).
The Submodes USB/LSB should not be deactivated. If they're activated, pse send a screenshot from that as well.

One more: due to trafficsaving WLGate only updates Wavelog of you QSY (change the QRG with the VFO). So it may be, that a mode-change only isn't detected to sync.
That'd be a bug indeed.

The deactivated submodes were the reason for the problem. I did not accidentally deactivate them. I did this to keep the dropdown list as short as possible. I always only enter SSB, not USB or LSB.


Add wait_response argument to request

Codecov Report

Merging #16 (56c8055) into master (22bc14d) will not change coverage.
The diff coverage is 100.00%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff            @@
##            master       #16   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           20        20
  Lines          413       413
=========================================
  Hits           413       413

Impacted Files
Coverage Δ

aioarp/_client.py
100.00% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


feat: falco for thread detection

This PR brings Falco to Otomi with the following:

Drag and drop Falco for thread detection
Sidekick configured for Alertmanager (if enabled)
Falco exporter for Prometheus
Macros with Otomi specific rule overrides for otomi core apps. Marcos are provided (in .values) with Raw Values to make it easier for users to customize
Falco dashboards for Grafana (only shown when Falco is enabled)

Checklist

[ ] Architecture Design Records have been added as adr/*.md and appended to list in adr/_index.md, if applicable.
[ ] The values-schema.yaml file and test/** fixtures have been updated to reflect code changes, if applicable.
[x] The OpenApi Schema from redkubes/otomi-api project is compatible with definitions from values-schema.yaml file, if applicable.
[x] Helm releases are meeting otomi's baseline security policies, if applicable.
[ ] Helm chart and helmfile changes are tested against upgrade scenario, if applicable.

Optimizing the ruleset to whitelist all known/normal behavior will be an ongoing effort. The supplied ruleset is now adjusted for the expected behavior of all core apps, Prometheus, Grafana and ArgoCD.


Extension of  TestExpectations.json file

The Firefox team would be really happy to use TestExpectations.json internally in mozilla ci instead of our custom solution, but right now most of the tests for Firefox which don't pass marked as skipped, which doesn't give us a good overview if it's a correct behavior.
Would you be open to have in this file more of fail, timeout, fail-pass expectations? Or there is any specific reason why you would rather skip them?
If you are fine with the suggestion, we are ready to contribute an initial setup for it.
As a reference, this is how it looks now in mozilla repo: https://searchfox.org/mozilla-central/source/remote/test/puppeteer-expected.json

@lutien the reason for using skip is that many of those tests are timing out which takes a long time to run on CI. We could unskip some tests if that does not dramatically increase the time needed to run them.


Remove the unused tracked-maps-and-sets dependency

It's unused in the project but still takes up needless space in the user's bundle.
cc @pzuraq

@chriskrycho - ping again. :)

Actually this was done in this commit. Thanks!


How I can install a previous version from channel dev?

Hi, everyone.
I want to install a previous version of DEV Channel, how I can do that ?
For example this: 1.26.0-1.0.pre in dev channel
thanks.

@jamescardona11 the best way is to pin the version directly fvm install 1.26.0-1.0.pre. Flutter has a downgrade command also that you could use within a channel like fvm flutter downgrade


GeoRDFBench [00002] - Geographica2 source code is still present as separate packages

Geographica2 source code is present as separate packages both in the runtime and in all SUTs.
Should be removed and depend code refactored appropriately.

Fixed in commit 12f1c2e branch releases/2.0.0-M1.


Syncthing can not be started

I stopped syncthing via synctrayzor. Afterwards, the button "start syncthing" is grey and I can not start syncthing again.
OS: Win 8.1 x64
STrayzor: 1.1.6

Looks like it thinks Syncthing is in the middle of shutting down, but hasn't actually stopped yet...
Please attach your log file, or at least the last 50 or so lines of it. You'll find it in C:\Users\<You>\AppData\Roaming\SyncTrayzor\logs\SyncTrayzor.log for the installed version, and logs\SyncTrayzor.log for the portable version.

Hmm, that log looks absolutely fine.
At 2016-02-03 09:54:00, were the options in the 'Syncthing' menu definitely greyed out, as in your screenshot?

I can not check it anymore :)
At the moment it is working fine again. I will keep an eye on that,

I need the log entries which correspond exactly with when you saw the problem.
The log is large enough that it should still have entries from when you took the screenshot. If you can remember roughly when you took the screenshot, you should be able to find the corresponding lines in the log (or send me the whole thing and I'll try and find what I'm after).

Screenshot ist from 10:06 .... So I gave you the wrong Log sorry.
I resend you a mail.

Just so that I can be sure I'm looking at the right bit...
Did you open the menu, see that 'Start' was not available, click 'Kill all Syncthing processes', take the screenshot, then restart SyncTrayzor?
Could you please send me the 100 or so lines before the lines you sent me? I can see the point at which things had gone wrong, but not the events leading up to the problem.

Yes correct after and before I clicked on "Kill all" it was grey.

Cool, thanks. Let me go through that latest log...

That's really weird: it shut down normally: everything happened as it should. I'll investigate what could have caused the UI to not update properly.

I've only had this reported in one case, and I'm pretty sure it can only be a weird Windows issue where it doesn't update the state of UI elements, or something funky. Closing as I have no way to reproduce.

I am seeing what seems to be the same issue. Installed fine, worked fine; suddenly stopped.


chore(Matrix/ToLin): fix Fintype/Finite

Also drop a no longer needed [DecidableEq _] argument in 1 lemma.
It was needed to generate a computable Fintype (Set.range _) instance
but a Finite instance doesn't need it.

I'm not sure how much this buys us given that Fintype assumptions are littered throughout the matrix portion of the library, and are mostly necessary, but I suppose this doesn't hurt anything.
bors merge


Some error

(node:6160) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'status' of undefined
    at throwErrors (D:\DiscordBots\Modulohost\node_modules\nodeactyl\Nodeactyl.js:20:31)
    at axios.then.catch.error (D:\DiscordBots\Modulohost\node_modules\nodeactyl\Nodeactyl.js:526:9)
    at process.internalTickCallback (internal/process/next_tick.js:77:7)
(node:6160) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:6160) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

This is the error I get when I attempt to use <Client>.createUser etc

Please could you provide the code where you use this.

/**
 *
 * @param {String<>} message
 * @param {String[]} args
 */
async function createAccount(message, args) {
    const username = await ask(message, "Let's start the process! First, what username would you like?");
    if (!username) return message.channel.send("Look's like you haven't given me a username. Cancelling account creation...");
    const email = await ask(message, "Ok! Now, please enter the email you would like to use!");
    if (!email) return message.channel.send("Look's like you haven't given me an email! Cancelling account creation...");
    const firstname = await ask(message, "Great! Could you enter your first name?");
    if (!firstname) return message.channel.send("Look's like you haven't given me a first name! Cancelling account creation...");
    const lastname = await ask(message, "Also, could you enter your last name?");
    if (!lastname) return message.channel.send("Look's like you haven't given me a last name! Cancelling account creation...");
    const password = await ask(message, "Almost done! Now, what password would you like?");
    if (!password) return message.channel.send("Look's like you haven't given me a password! Cancelling account creation...");
    const passwordrepeat = await ask(message, "Last one!  Cancelling account creation...");
    if (password == passwordrepeat) return message.channel.send("Oops, it looks like your password isn't the same! Can you double check?");

    const confirmEmbed = new Discord.RichEmbed()
    .setColor("BLUE")
    .setTitle("Confirm Details...")
    .addField("Username", username)
    .addField("Email", email)
    .addField("Full Name", `${firstname} ${lastname}`)
    .addField("Password", password);
    message.channel.send(confirmEmbed);
    const final = await ask(message, "Great! This is all I need, confirm?");
    if (['no', 'n'].includes(final.content.toLowerCase())) {
        message.channel.send('Understood... Cancelling!');
        return;
    }
    if (['yes', 'y'].includes(final.content.toLowerCase())) {
        await message.channel.send('Understood! Creating account...');
        Pterodactyl.createUser(username, email, firstname, lastname, password); // When using this function
        return;
    }
}
async function ask(message, question) {
    return new Promise(async (resolve, reject) => {
        await message.channel.send(question);
        const collected = await message.channel.awaitMessages(m => m.author === message.author, { max: 1, time: 0 });
        if (collected.first()) resolve(collected.first());
        else reject();
    });
};

I have just looked at the code and its an error with the error code part of it, I will need to contact Dalton to see how this can be fixed.

Ok thanks

No problem.

Will be fixed in new update

V2 does not have this issue now, it will be available for the public soon i still need to work on it


debug is not defined

We are getting an error debug is not defined when updated from 0.0.22 of this package to 0.0.23.
You can see our Travis CI output at the link below.
https://travis-ci.org/dynamoosejs/dynamoose/jobs/462321146

Not sure if this is a problem with our code. But considering it works on 0.0.22 and not 0.0.23 it seems like it's a bug with this package.


System.ArgumentException occurred, width is less than zero, Avalonia.Win32

Exception is thrown when using Avalonia 5.1 with Win32/Skia (Desktop and .Net Core projects):
System.ArgumentException occurred
  HResult=0x80070057
  Message=width is less than zero
  Source=Avalonia.Win32
  StackTrace:
   at Avalonia.Win32.WindowFramebuffer..ctor(IntPtr handle, Int32 width, Int32 height)
   at Avalonia.Win32.FramebufferManager.Lock()
   at Avalonia.Skia.FramebufferRenderTarget.CreateDrawingContext(IVisualBrushRenderer visualBrushRenderer)
   at Avalonia.Rendering.ImmediateRenderer.Paint(Rect rect)
   at Avalonia.Controls.TopLevel.HandlePaint(Rect rect)
   at Avalonia.Win32.WindowImpl.WndProc(IntPtr hWnd, UInt32 msg, IntPtr wParam, IntPtr lParam)

Reproduction: Run program and hit minimize-all windows on taskbar and then restore minimized application window.

I've just encountered the same exception, but in a different way. I was also unable to reproduce the error using the described method. A theory is that different versions of Windows (and to a greater extent OSs) handle minimisation differently.
Unhandled Exception: System.ArgumentException: height is less than zero
   at Avalonia.Win32.WindowFramebuffer..ctor(IntPtr handle, Int32 width, Int32 height)
   at Avalonia.Win32.FramebufferManager.Lock()
   at Avalonia.Skia.FramebufferRenderTarget.CreateDrawingContext(IVisualBrushRenderer visualBrushRenderer)
   at Avalonia.Rendering.ImmediateRenderer.Paint(Rect rect)
   at Avalonia.Controls.TopLevel.HandlePaint(Rect rect)
   at Avalonia.Win32.WindowImpl.WndProc(IntPtr hWnd, UInt32 msg, IntPtr wParam, IntPtr lParam)

Reproduction: Under Windows 10, run program, and reduce height to the minimum.

I'm unable to reproduce this on master - is it still a problem?

I think I have fixed this here: #2120


An object key starting with a number cannot be deleted using op.del

From what I can see if I have an object key defined as a number, it is unable to be deleted using op.del
import op from 'object-path';

let users = {
  '12345678': {
    name: 'Mr Bob'
  }
}

op.del(users, 'users.12345678'); // should delete user object
op.get(users, 'users.12345678'); // returns user object

// scenario that works
let cats = {
  'user_12345678': {
    name: 'Mr Meow'
  }
}

op.del(cats, 'user_12345678'); // should delete user object
op.get(cats, 'user_12345678'); // returns undefined as expected

I would be happy to take this onboard and try to fix if you are still taking contributions.

not sure if it's a typo, but your path should be op.del(users, '12345678'), but that won't work because OP will consider it to be a number, thus will consider the object an array. the only way to be able to work around it is to use an array as path, like so op.del(users, ['12345678']), it won't try to do anything with the keys, will use it as-is

@pocesar that has definitely answered it and I did also have a typo in my code example which I have updated. Thanks for the quick response. Coming from Ember I love this library! Closing issue!


Add method to check if payload is a cloudevent

This PR adds a dedicated method to check if a payload is a Cloud Event.

Can we use content type header too? Maybe we can skip the parsing if content header is correct.
"content-type":"application/cloudevents+json"
/cc @rynowak

Can we use content type header too? Maybe we can skip the parsing if content header is correct.
"content-type":"application/cloudevents+json"
/cc @rynowak

I will do this check from daprd, would rather keep this method focused on the spec parsing.


Icon search bug on demo site (vuestic.epicmax.co)

I'm submitting a ...

[x] bug report
[ ] feature request
[ ] support request => Please do not submit support request here, see note at the top of this template.

Do you want to request a feature or report a bug?
Report a bug about the Vuestic Admin demo website
What is the current behaviour?
When navigating to /ui/icons/font-awesome, and attempting to use the Icon Search box, the first few characters will trigger a search - but all subsequent characters added will cause a console error ("TypeError: Cannot read property 'key' of undefined").
After getting this error, attempting to navigate away from the page using the navbar will no longer work, forcing a user to refresh their browser window.
If the current behaviour is a bug, please provide the steps to reproduce, ideally also a screenshot or gif if it's a style issue
See previous section.
What is the expected behaviour?
For the demo site to function fully, without errors.
What is the motivation / use case for changing the behaviour?
It's broken.
Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)
None.

We didn't handle properly icons that are included in multiple sets :/.
Thanks for pointing this.
Fixed in 1.9.2.


aCompCor components with different masks are inter-mixed

Going by https://neurostars.org/t/fmriprep-acompcor-5-csf-and-5-wm/18526, it seems we're not segregating different aCompCor masks in the regressors file? At one point there had been talk of [acwt]_comp_cor_XX to distinguish aCompCor (WM + CSF), cCompCor (CSF), wCompCor (WM) and tCompCor (temporal). Is there a reason we didn't do that?

Quick heads up: in load_confonuds we are now parsing the json to properly handle anatCompCor without mixing the masks. But this is very counter-intuitive and hard to follow for new users. The previous version of load_confounds did mix components from the combined, WM and CSF masks...
I would vote for integrating the mask in the tsv confound labels in the future.

Putting this on the queue for next release, if we can manage it, since it's a derivatives change.
I propose reverting to a_comp_cor for CSF+WM, w_comp_cor for WM and c_comp_cor for CSF.

Putting this on the queue for next release, if we can manage it, since it's a derivatives change.
I propose reverting to a_comp_cor for CSF+WM, w_comp_cor for WM and c_comp_cor for CSF.

Really hope this change occurs in the next release; This would be a very helpful change. In the meantime, does anyone have a suggestion for the best way to work with the fMRIPrep .tsv file which houses these compcor regressors? We want to pull and use the first 5 aCompCors from CSF, and the first 5 from WM, but with the data set that I am currently working with, they are pretty different in their numbering in the corresponding .json file (e.g., aCompCorr_000 sometimes pulls from CSF, but for other participants it pulls from Combined). Thanks for any suggestions.

@njr175 I believe https://github.com/simexp/load_confounds deals with it appropriately, by looking at the json information and reordering the components. If you think it does not behave correctly it would be very useful to know. Note however that the project is about to get merged in nilearn with some pretty significant changes in the API.

@pbellec Thanks so much! I will look into this. If I have any issues I will let you know! Thanks again.

I hadn't planned to, since it breaks derivatives. It could be done with an off-by-default flag.

Thanks for the quick response! I guess it makes more sense to adapt the code that reads in the confounds then, especially as this has been made quite easy with the load_confounds function linked above.


There is no way to disable a one of the BoundBreakpoint when there is more than one binding

When one PendingBreakpoint corresponds to more than than one BoundBreakpoints, it's possible to disable only some of the BoundBreakpoints from Visual Studio debugger UI, but MIEngine simply ignores the disable/enable operation. IDebugBoundBreakpoint2.Enable should use MI commands like "=break-disable 2.1" to disable the corresponding BoundBreakpoint.

@paulmaybee did you look at this originally?


Loading-order independent library bundles

If this is a feature request, what is motivation or use case for changing the behavior?
Hi,
the usecase that I'm trying to achieve is to have multiple library bundles built with webpack and the libraryTarget: 'var' setting and the outputs should be combined in a hierarchical namespace structure in which the bundle contents are placed properly.
For example:
BaseLib webpack.config:
libraryTarget: 'var',
library: ['Company', 'Base'],

AdvancedLib webpack.config:
libraryTarget: 'var',
library: ['Company', 'Base', 'Advanced'],

Which generates the following code in the bundles:
BaseLib.bundle.js:
var Company = Company || {}; Company["Base"] = /* the module content */

AdvancedLib.bundle.js:
var Company = Company || {}; Company["Base"] = Company["Base"] || {}; Company["Base"]["Advanced"] = /* the module content */

This works fine when the two bundles are loaded in the order

Sounds like a idea for a new libraryTarget i. e. "var-merge". Feel free to start a PR adding it.

cool, I will look into it


Fix animania compat

This mod did not work well because Animania was split into add-ons.
I fixed that problem by modifying the import statement and type.
But I don't know much about mods. I have tried to test it at a minimum, but there may still be some issues with this mod.
(I'm not very good at English, so there may be some wrong sentences.)

I realized that there was still a problem.


Trouble with  handeling home tab in navbar

Hi to everyone and thanks for this theme.
I was using your theme and I checked.
even without content/_index.md and content/posts/_index.md, The Home navbar works just fine.
But when I want to use it, with or without the two _index.md files mentioned , It doesn't work.
Hugo:
Hugo Static Site Generator v0.74.3-DA0437B4 linux/amd64 BuildDate: 2020-07-23T16:22:34Z

config.toml:

[menu]

  [[menu.main]]
  name = "خانه"
  identifier = "home"
  weight = 100
  url = "/"

  [[menu.main]]
  name = "دوره‌ها"
  weight = 200
  identifier = "courses"
  url = "/courses/"

  [[menu.main]]
  name = "درباره ما"
  weight = 300
  identifier = "about us"
  url = "/about-us/"

Those درباره ما and etc are in Persian language.
and in contents/courses/test.md
---
title: "This Problem"
---
blah ....
asdlfaskljd
asdfjaskdfjas
dfkjasdfkk

@karasun0  Thanks for your in-depth explanation and for providing some code snippets. Let's try to get it resolved together.
What's the exact error you are having? Is it not showing your courses when linking to 'courses' ?

That helped!
/post/ works but /courses/ doesn't.
Why is this happening and can you fix it? (Doesn't needd to be soon or to be at all)
Thanks, Karasun0.

I'll try to reproduce it tomorrow. But I strongly believe that this is just a configuration issue. Either way I'll report back.

Anatole offers the flexibility to also allow custom types such as a course. Simply add a custom course folder to the content directory and place your test.md in there. In your menu you will have to link the corresponding folder:
  [[menu.main]]
  name = "Courses"
  weight = 200
  identifier = "courses"
  url = "/course/"

If you want to show the courses on the frontpage as well, you might want to include course in your mainSections:
mainSections = ["post", "course"]


How do we report security issues?

Hi,
My name is Eduard, I work in Dfinity's product security team. During one of our internal reviews we've found some security issues in agent-go. What would be the best way to share the findings with you? I've tried to mail<EMAIL_ADDRESS>but I get a DNS error for MX type.
Thanks in advance!

Hi @eduarddfinity, you can reach me either directly on Slack through our mutual channel or at<EMAIL_ADDRESS>

Hi @q-uint, I wasn't aware that we have a shared slack channel, I'm going to PM you there. closing this issue, thanks for the reply!


Laravel Breeze NextJS: the obfuscator doesn't work with laravel

Type

[ ] Incorrect Class Name Extraction
[ ] Incorrect JavaScript Obfuscation
[ ] Incorrect HTML Obfuscation
[ ] Incorrect CSS Obfuscation
[x] Others

Checklist

[x] Updated the package to the latest version
[x] Read all documentation
[x] No related issue
[x] Meaningful issue title

Environment

Package Version: v2.2.16
Node Version: v18.17.1

Describe the bug
The issue is that Laravel doesn't use npm start - it works right after using npm run build. However, the obfuscator runs after the build, so the application doesn't update.
To Reproduce
Steps to reproduce the behavior:

Install Laravel Breeze NextJS: laravel new my-app --typescript --breeze --stack=react --git --no-interaction
Install the package.
Follow the documentation
Just run it.

Screenshots

Config
module.exports = {
    enable: true,
    mode: "random", // random | simplify | simplify-seedable
    refreshClassConversionJson: false, // recommended set to true if not in production
    allowExtensions: [".jsx", ".tsx", ".js", ".ts", ".html", ".rsc"],
    buildFolderPath: "public/build/assets", // Build folder of your project.
  };

   "scripts": {
        "dev": "vite",
        "build": "tsc && vite build && next-css-obfuscator"
    },

It works in my dev env.
You may try to enable enableJsAst inside your config.

It works in my dev env with your config.
You may try to enable enableJsAst inside your config.

Thanks, that works.


Document that yaml files are expected to be in YAML v1.2

After this pending PR https://github.com/iterative/dvc/pull/4415, all YAML files will be expected to be in YAML1.2.
Unless they were hand-written, it should not break anyone's workflow.

The workaround will be to add YAML version directive to the top of the file (though on dvc metrics/params with --revs, they might see wrong values or values of wrong types because of the git history involved but should be very rare).

Interesting. Is there a changelog or better doc that explains the main differences between <1.2 and >=1.2 ?

The workaround will be to add YAML version directive to the top of the file

Can you explain this a little further? Where are these directives explained, what YAML files? Example? Thanks

You can check the list of differences here: https://yaml.readthedocs.io/en/latest/pyyaml.html#defaulting-to-yaml-1-2-support

Y/N/on/off/yes/no are boolean in 1.1, but strings in 1.2.
Octal numbers and sexagesimal numbers are not supported in 1.2.
\/ escape sequences  (should not be a big issue here).
correct parsing of exponentials: this is what made us move to 1.2. In YAML 1.1, 3e4 (notice no dot before mantissa)  is a string, but in 1.2 and in JSON, it's an exponential number. Similarly, pyyaml has a bug in which it fails to parse 3.0e4 in yaml 1.1, it needed sign compulsorily (3.0e+4 would work).

1 and 2 should not be a problem if DVC dumped them, but if it's hand-written and DVC never overwrote them, there might be an issue.
4 is backward incompatible but depends on how you see it. It won't be parsed as a string, which is incompatible as per spec.
You have to use yaml version directive to force versions:
% YAML 1.1

correct parsing of exponentials: this is what made us move to 1.2

Sounds like we should focus on adding notes about this in docs, where needed. We can also specify YAML 1.2 somewhere but that seems less relevant since it's been the stable version for over 10 years. (Why did we even use 1.1? 😬)

You have to use yaml version directive to force versions

OK. But again, can you explain this? What is a version directive? Where is it documented? How is it a workaround and workaround for what? Etc.
Thanks

Why did we even use 1.1?

@jorgeorpinel, the most popular library in python is pyyaml which still does not support 1.2, and since 1.1 is almost 20 years old, it can be parsed twice as faster. We are sacrificing that speed.
You just have to start your YAML document with:
% YAML 1.1
---

https://yaml.org/spec/1.2/spec.html#id2781553

OK. About "YAML" directives, there are still open questions @skshetry . Again, can you explain this a little further please??? We can't document something that isn't fully understood.
How is it a workaround and workaround for what? Who would add them and to which files? Examples?
Thanks!


Upgrade our issue templates to use GitHub issue forms ✍

Introduction
GitHub has recently rolled out a public beta for their issue forms feature. This would allow you to create interactive issue templates and validate them 🤯.
Appwrite currently uses the older issue template format. Your task is to create GitHub issue forms for this repository. Please use Appwrite's issue templates as a reference for this PR.
Tasks summary:

[ ] Fork & clone this repository
[ ] Prepare bug report issue form in .github/ISSUE_TEMPLATE/bug.yaml
[ ] Prepare documentation issue form in .github/ISSUE_TEMPLATE/documentation.yaml
[ ] Prepare feature request issue form in .github/ISSUE_TEMPLATE/feature.yaml
[ ] Push changes to master and test issue forms on your fork
[ ] Submit pull request

If you need any help, reach out to us on our Discord server.
Are you ready to work on this issue? 🤔 Let us know, and we will assign it to you 😊
Happy Appwriting!

kindly assign me this

@snehaa1989 All the best :rocket:

@christyjacob4 should I fork the "appwrite repository" ?

@christyjacob4 should I fork the "appwrite repository" ?

This is the repository you need to fork and work. Use the appwrite's template as a reference.

@christyjacob4  https://github.com/appwrite/appwrite/pull/1854/ this is my PR

Hey , I can help you all out with this issue

@PulkitSinghDev  We would love you to check out some of our other open issues and join us on Discord if you need help finding some.


Table of Contents

Table of Contents
User Story
AS A developer
I WANT a README generator
SO THAT I can quickly create a professional README for a new project
Acceptance Criteria
GIVEN a command-line application that accepts user input
WHEN I click on the links in the Table of Contents
THEN I am taken to the corresponding section of the README

TOC functions as it should


chore(deps): update dependency org.jasig.portal:uportal-search-api to v4.3.1

This PR contains the following updates:

Package
Update
Change

org.jasig.portal:uportal-search-api
minor
4.0.10 -> 4.3.1

Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR is stale, or if you modify the PR title to begin with "rebase!".
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

Available now for Enterprise: Renovate Pro with real-time webhook handling and priority job queue.

PR has been edited
:construction_worker: This PR has received other commits, so Renovate will stop updating it to avoid conflicts or other problems. If you wish to abandon your changes and have Renovate start over you may click the "rebase" checkbox in the PR body/description.


Latest gcloud version breaks endpointscfg gen_client_lib

The latest version of gcloud has deprecated the application key in app.yaml which is required for gen_client_lib to create a working library (for Java at least in my limited testing).
gcloud version output:
app-engine-python 1.9.50
bq 2.0.24
bq-nix 2.0.24
core 2017.03.17
core-nix 2017.03.13
gcloud
gcloud-deps 2017.03.17
gcloud-deps-linux-x86_64 2017.03.13
gsutil 4.23
gsutil-nix 4.22

This is no longer broken; I have successfully generated a Java client library.


Metadata use cases

The schemas support the following story:

As a researcher, in order to perform an analysis, I need to locate reads that apply to a particular set of metadata on [ Group, Individual, Sample ]

The following stories are not supported as far as I can see:

As a researcher, in order to perform an analysis, I need to locate OMICS files that apply to a particular set of metadata on [ Group, Individual, Sample ]
As a researcher, in order to perform an analysis, I need to locate Images that apply to a particular set of metadata on [ Group, Individual, Sample ]
As a researcher, in order to perform an analysis, I need to locate arbitrary data (e.g. drug response ) that apply to a particular set of metadata on [ Group, Individual, Sample ]

The GA4GH Metadata schema is challenging in these cases as it is tightly bound to “ReadGroup”

Optimized for results of omics pipelines
Arguably over-abstracts reality of .fastq, .bam, .vcf and .maf
Needs to consider key use cases (Imaging, Drug Response …)

Resource

ga4gh.field_name
ga4gh.field_type
ga4gh.field_doc

id
string
The dataset's id, (at least) locally unique.

datasetId
string
The name of the dataset.

url
string
the key attribute of a resource (and the only required attribute). The url points to the location online where the content of that resource can be found. For a file this would be the location online of that file (or more generally a url which yields the bitstream representing the contents of that file – for example some “files” are only generated on demand from a database). For an API this would be the endpoint for the api.

format
["null","string"]
human created format string with possible nesting e.g. zip:csv. See below for details of the format field.

description
["null","string"]
A brief description (one sentence) of the Resource.

hash
["null","string"]
md5 or sha-1 hash

name
["null","string"]
a name for this resource

resource_type
["null","string"]
Type: the type of the resource. One of: [file, api, visualization, code, documentation]* file - a file (GET of this url should yield a bitstream)* api - an API* visualization - a visualization* code - code related to this dataset (for example a reference to a code repository containing processing scripts)* documentation - documentation for this dataset

mimetype
["null","string"]
standard mimetype (e.g. for zipped csv would be application/zip)

mimetype_inner
["null","string"]
mimetype of innermost object (so for example would be text/csv)

size
["null","integer"]
size of the resource (content length). Usually only relevant for resources of type file.

created
["null","string"]

last_modified
["null","string"]
the date when this resource’s data was last modified (NB: not the date when the metadata was modified).

extras
{"values": {"items":"string","type": "array"},"type": "map"}

Thanks a lot for this - very good starting point for a (probably lively) discussion!
One question to start with: Why is ReadGroup that prominent? I would see Variant + associated Call as the target of most sequence related queries.


[Masthead (Global)]: z-index/overlapping issue within Drupal page integration

Engineering info:

HC engineer: @proeung
HC JIRA Ticket: https://jsw.ibm.com/browse/HC-2325
DDS consulting engineer: @emyarod

Description

The Hybrid Cloud team is in the process of adopting the  component to launch two navigational L0’s supporting the QRadar & Storage content ecosystems that are managed in Drupal and AEM (see attached).
We're able to successfully pull in the <dds-masthead-container> in a page builder template within Drupal (see - https://pr1558-vw04dbfv1j8wrjmghdgeaqqaxk6ur6dt.w3-origin-007522.intranet.ibm.com/security/security-intelligence/qradar), however, there's an overlapping issue seen due to the z-index stacking issue.

https://user-images.githubusercontent.com/1815714/142066793-1a99fcb9-bf8d-48e8-a246-528c429beee8.mov
Solution

Looks like we can adjust the z-index of <dds-masthead-container>, similar to what we've implemented on the <dds-cloud-masthead-container> component. https://github.com/carbon-design-system/carbon-for-ibm-dotcom/pull/7037

Component(s) impacted
Global Masthead - <dds-masthead-container>
Browser
Chrome, Safari, Firefox, Microsoft Edge
Carbon for IBM.com version
v.1.27
Severity
Severity 3 = The problem is visible or noticeable to users but does not impede the usability or functionality. Affects minor functionality, has a workaround.
Application/website
Drupal
Package
@carbon/ibmdotcom-web-components
CodeSandbox example
N/A
Steps to reproduce the issue (if applicable)

Visit this demo page - https://pr1558-vw04dbfv1j8wrjmghdgeaqqaxk6ur6dt.w3-origin-007522.intranet.ibm.com/security/security-intelligence/qradar (requires VPN)
Click on one of the dropdown menu items.

Release date (if applicable)
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I checked the current issues for duplicate issues

@proeung This fix should be quickly regression tested by Praveen.  Could you tag him in either the PR or this issue with testing instructions  when the PR is merged.
cc:  @Praveen-sr @jeffchew @ljcarot


slugbuilder: Fix parsing release files with no default types

For example the apt buildpack makes a release file containing --- which is parsed to nil by Ruby:
https://github.com/ddollar/heroku-buildpack-apt/blob/master/bin/release

LGTM

@titanous updated the slugrunner too (the initial changes were to the slugbuilder)

LGTM++


Migrate to Slack

Because Slack is awesome.

This was just a test of the new JIRA -> GitHub Issues replication system.


newestOnTop error on Angular 1.4

Hello, this time I think is a real bug.
Options newestOnTop set to false won't work on angular 1.4. It work on angular 1.3 as in the demo site.
Demo plnkr: http://plnkr.co/KATVHGIuXggG2HneaEWO
angular-toastr#1.3.0
angular#1.4.0-rc.1

Here is the error I got.
TypeError: afterElement.after is not a function
    at domInsert (angular.js:4923)
    at Object.$AnimateProvider.$get.enter (angular.js:5084)
    at angular-toastr.tpls.min.js:1
    at processQueue (angular.js:14347)
    at angular.js:14363
    at Scope.$get.Scope.$eval (angular.js:15574)
    at Scope.$get.Scope.$digest (angular.js:15385)
    at Scope.$get.Scope.$apply (angular.js:15679)
    at angular.js:17435
    at completeOutstandingRequest (angular.js:5296)

Yeah, since you reported the last bug, I started to test the library against 1.4 (I was waiting to the final release).
I saw that same issue and I am trying to squash it :)
Angular 1.4 changed ngAnimate a lot so there should be something different this time.

I fixed it on master, will be up on the next version.


finish command line reading

@BrooklinJazz Looking to confirm that I did the PR correctly.

Looks good!


PHP 8.1 Enum support

If PHP version >= 8.1 enable enum support for entity fields.

@roxblnfk Hi, This question is actual now. Can cycle 2.0 support enum?

We didn't work on this task yet

I wrote some test about PHP 8.1 Enum:
https://github.com/cycle/orm/blob/142db533822ea24d6b53c2ee298aea2dbd2f425d/tests/ORM/Functional/Driver/Common/Enum/EnumTest.php
The DBAL package can not store Emun value because it trying to cast Enum value to string.
Solutions:

We can fix it to handle it in the DBAL but we doesn't know what we have to save: enum name or enum value.
Also we can do supporting for enum rule in the default Typecast handler and convert a Enum value to scalar (int/string) using Enum::value method.

@roxblnfk Hi, how about Typecast_handler?

@roxblnfk Hi, how about Typecast_handler? if I'm not mistaken, we can add cast and uncast for variety of types

Yes, i wrote about it in the second option. We can add rule enum.

I tried enum type-casting, Seems to be working fine.
Enum
<?php
declare(strict_types=1);

namespace App\Enum;

use Cycle\Database\Injection\ValueInterface;

enum StatusEnum: int implements ValueInterface
{
    case NotYet = 0;
    case Submitted = 1;

    public static function typecast(int $value): self
    {
        return self::from($value);
    }

    public function rawValue(): string
    {
        return (string)$this->value;
    }

    public function rawType(): int
    {
        return \PDO::PARAM_INT;
    }
}

Entity
// ...
    public function __construct(
        // ...
        #[Column(type: "integer", typecast: StatusEnum::class)]
        private StatusEnum $status,
        // ...
    ) {
    }
// ...

https://github.com/cycle/orm/releases/tag/v2.2.0
Documentation: https://cycle-orm.dev/docs/advanced-column-wrappers/2.x/en#enum-typecast


Updated Plugin.php with composer --ignore-platform-reqs flag

The flag --ignore-platform-reqs will allow to run it without cli container that sometimes is more convenient

@christianlerch
@alfredbez

We talked about that briefly with @christianlerch and we're a bit afraid of just disabling that in such a general way.
But it should be technically possible to ignore that by prefixing your command with COMPOSER_IGNORE_PLATFORM_REQS=1, like:
COMPOSER_IGNORE_PLATFORM_REQS=1 composer install
# same as: "composer install --ignore-platform-reqs"

Does this work for you @vitaliiivanovspryker ?