Add confirmation dialog to Invisibilize admin button

When clicking the Invisibize admin button the developer is marked as invisible and an email is sent right away. I'd like one step of security in case I fat finger a click.
A PR addressing this issue should:

[ ] Add a confirmation alert to the Invisibilize admin button

The alert should prompt Mark this developer as invisible and notify them via email? and be done via Turbo and not require additional JavaScript.

@joemasilotti Are you happy to just use the standard Turbo confirmation or do you want a nicer confirmation message in a custom modal?

Standard Turbo confirmation is just fine for this issue!

Closed via #396.


Performance regression on Mac with M1

Hi,
first of all thanks for building nextest it is great (except for what follows here).
We observed a performance regression in our test execution times from approx. 20-30s to >200s. So far, we don't have an explanation. We observed it yesterday but it could have gone unnoticed for a few days.
It only happens on Mac with M1 (pro) chips. Linux on x86 machines (e.g., our CI) is not affected.
So far we tried the following without success:

revert to an older revision of the code to exclude recent changes in one of our dependency crates.
tested cargo-nextest in different revisions (from 0.9.0 - 0.9.16).
cargo clear.
Update to MacOS 12.4 (we first noticed on 12.3.1).

Further, we observed that nextest processes are spawned as expected. However we observed the following:

Test execution is really slow. Tests which should run sub-second take significantly longer.
The related processes show up in the activity monitor with almost no CPU utilization. We don't know if they are waiting for something or if the activity monitor is just too slow and they die before proper measurements could be done.
We observed that once we start nextest the following service shows up in activity monitor: parentalcontrolsd with significant CPU utilization. Not sure if that is expected.
It does not seem to be sporadic since it occurred on 4/4 tested Mac M1 devices. We don't know if Mac on x86 is affected.

Any ideas? We are happy to help.
Kind regards,
Johannes

Thanks for the report!
Based on what you describe my first thought is Gatekeeper or some other sort of macOS process creation bottleneck. It might be worth looking at Activity Monitor or top to see if there's some system process that is consuming CPU.
https://nexte.st/book/antivirus-gatekeeper.html#macos

Ahhh I just saw the note about parentalcontrolsd. Yes, sadly, I've seen it be responsible for high CPU usage in other contexts  though I've never been able to reproduce it.
You may try following the commands mentioned at:
https://github.com/MohammedFadin/ParentalControlSD_Fixer/blob/master/app.js

Would you be ok making a spindump of parentalcontrolsd and sending it to my email<EMAIL_ADDRESS>There's an Apple employee that's willing to look: https://twitter.com/Catfish_Man/status/1534577710172778497
Here's how to create a spindump (create one for parentalcontrolsd in this case): https://support.zoom.us/hc/en-us/articles/206435255-Creating-a-Spindump-file-on-macOS

Hi,
I work on the same team as Johannes and am also affected. I executed the gatekeeper commands you mentioned above, but it unfortunately does not help.
I also created a spindump of parentalcontrolsd and might be able to share it with an Apple employee directly. Since it is related to an internal project though, there would be some bureaucracy involved..
Instead I created this repository which reproduces the issue in isolation and was also run on x86-64 Linux. The main summary:

cargo test
cargo nextest run

Darwin
real 1.056s
real 6.790s

Linux
real 1.207s
real 0.449s

So if one has cargo and cargo-nextest installed this allows for a deeper investigation anyway. An additional disclaimer: we are experiencing this on a corporate image of MacOS, so perhaps a custom IT policy is interfering. We would appreciate it very much if someone could tell us if they were able to reproduce this on their M1 machine.
Kind regards,
Jonas
cc: @Catfish-Man

Thanks for the minimized test case! I do think this is generally an issue with macOS process execution performance. It could definitely be a custom IT policy that e.g. deployed an endpoint security extension: https://developer.apple.com/documentation/endpointsecurity
Most such extensions will intercept each process execution. If they don't respond quickly enough, nextest will slow down.
I don't have a suitable Mac computer to test with but perhaps you or someone else does?

I work on the same team as Johannes and Jonas :)
I did some experimenting, and I am fairly confident that the issue is caused by parentalcontrolsd, or some kind of extension called by this process (but I think I can rule out endpoint security extensions because I deinstalled them - see below).
This is what I tried:
I started our test suite in a terminal and ran sysdiagnose -p <PID-of-parentalcontrolsd in another terminal while the tests were running. This created a .tar.gz file with 500Mb of log data. I greped for parentalcontrolsd and found many hits in a file named fs_usage.txt. From this file I extracted all lines with string parentalcontrolsd into a separate file and inspected the result.
I found 48.6k calls to getdirentries64 within a time span of 11 seconds. I cannot tell whether this really is "a lot", but it made me suspicious. The calls to getdirentries64 where mostly related to the same folder which happens to be the folder where the compiled test programs are located: <rust-project>/target/debug/deps.
When I checked, this folder contained more than 5.6k files, mostly .o and .d files.  After I deleted these files (rm *.o *.d) and re-ran the test suite, it was much faster. For the test repository provided by Jonas, folder target/debug/deps only contains 382 files, but the performance gain from deleting all .o and .d files is still significant: The run time of cargo nextest run goes down from 4.7 seconds to 1.4 seconds on my machine (M1 Pro 2021).
Hypothesis:
I suspect that the performance regression is caused by parentalcontrolsd. It seems that parentalcontrolsd scans the containing folder of any program which is started. For folders containing many files, this has a significant performance impact.
When I execute systemextensionsctl list on my corporate laptop, I see one entry with bundleID "com.jamf.protect.security-extension". I can temporarily deinstall Jamf Protect, which removes the security-extension, and even without the security-extension, the observations I described above are the same: reducing the number of files in the test programs' foler significantly reduces the runtime of the test suite. I do not know if parentalcontrolsd may trigger other kinds of extensions, but if this is not the case, parentalcontrolsd itself seems to be the culprit.

Thank you so much for the investigation @quadruple-output! It does look like an issue with Apple's software at this point. This sort of linear scan through a directory each time a program is started is bound to cause performance issues.
It's possible that thanks to your investigation this can be fixed upstream, with Apple, so thanks again.

I've forwarded the report over, thanks!
One way nextest can work around this is to do a simplified version of reusing builds:

Have a separate option under the REUSE BUILD OPTIONS called e.g. --hardlink-binaries (make it incompatible with the other options in this section if it aids in simplicity)
After the build is done, rather than archiving binaries, hardlink them into a separate location under target/nextest (virtually always guaranteed to be on the same filesystem).
Reuse the target-dir-remap feature to point test runs towards this other directory.

We'd welcome contributions if you'd like to implement this -- it is probably 1 day worth of work.

We have news that may be relevant for the report you sent upstream…
We learned from our IT department that they recently enabled a new mobile device management (MDM) configuration profile (I hope I am using the correct terms here). The profile contains a specific list of application paths that are not allowed to be launched on our managed endpoints. As far as I understand, this is achieved by leveraging a standard MDM feature, though this feature is marked as "deprecated".
Our IT colleagues would like to open an Apple ticket on their own. It would be great if you could share the ID of yours, so we can link the issues.

@quadruple-output thanks for waiting! sorry, just got the details: it's rdar://95625035

I'm wondering, could you give it a shot again with cargo-nextest 0.9.43 and macOS Ventura? Nextest uses posix_spawn rather than fork/exec, which could potentially have made this better.

I don't think that I have the possibility to re-test this, I'm afraid. As stated above, the issue was triggered by a configuration profile that had been rolled-out by our central IT team. After our complaints, they reverted this profile, such that the issue does not occur, any more.
After all, I don't see regard this as a bug in nextest. Maybe we can close this issue (@johamster ?).

Thanks for getting back! I'll also ask my Apple contact about the status.


Add PRQL

PRQL is a modern language for transforming data — a simple, powerful, pipelined SQL replacement.
https://prql-lang.org/
https://github.com/PRQL/prql

Codecov Report

Merging #945 (a4432d7) into master (89659e4) will not change coverage.
The diff coverage is n/a.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
@@           Coverage Diff           @@
##           master     #945   +/-   ##
=======================================
  Coverage   85.76%   85.76%
=======================================
  Files          51       51
  Lines        5001     5001
=======================================
  Hits         4289     4289
  Misses        712      712

Files
Coverage Δ

src/theme/icon.rs
100.00% <ø> (ø)

:mega: Codecov offers a browser extension for seamless coverage viewing on GitHub. Try it in Chrome or Firefox today!


DNS subdomain validation does not enforce each label's length

Each portion of a DNS subdomain must be <= 63 characters.  We only validate the total length.

Better info in #8202


chore(tests): clear outdated comments

Summary

I found that the KONG_TEST_DONT_CLEAN variable is still available and work for me, and the comment is three years old.
Checklist

[ ] The Pull Request has tests
[ ] There's an entry in the CHANGELOG
[ ] There is a user-facing docs PR against https://github.com/Kong/docs.konghq.com - PUT DOCS PR HERE

Full changelog

[Implement ...]

Issue reference

Fix #[issue number]

@fffonion @chronolaw

It seems that the comment says KONG_TEST_DONT_CLEAN still works? Why do we want to remove it?

I misunderstood the meaning of comment, close this.


Include remote IP address in default output

This would make lograge usable as a drop-in replacement for many more apps.
If the remote IP isn't available elsewhere, it may entail redefining/monkeypatching ActionController::Instrumentation so the remote IP is provided to log subscribers. Something like:
ActionController::Instrumentation.send(:define_method, "process_action") do |arg|
  raw_payload = {
    # .. the existing keys ..
    :ip         => request.remote_ip
  }

  # define the ActiveSupport::Notifications events
end

If you would accept a patch to add this (or can suggest a better way to obtain the remote IP), let me know and I'll give it a whirl.

I also had to do a lot of digging and finally found the ip address here:
event.payload[:headers][:REMOTE_ADDR]

event.payload[:request].remote_ip seems to be providing the expected results for lograge 0.11.2


Small typos in contributing.md

This corrects two small typos in the contributing document.

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


Switching between single keypair and unique keys per credential

Is it possible to make the wallet configurable, allowing a switch between using a single public-private key pair for all credentials versus unique keys per credential?
This could be useful in scenarios where combined presentations of credentials (e.g. an EHIC without personal information alongside a PID) require binding to a single proof for verification, since claim-based binding isn't possible. This switch could act as a practical temporary solution until full unlinkability is achieved.
@emlun would love to hear your thoughts on this - also tagging @kkmanos and @gkatrakazas to keep both in the loop

Sorry for the delayed response - sure, this is most definitely possible. It could even be done on an individual per-credential basis if we want to go that route: rather than use one single key pair for everything, we could selectively bind the same keypair to two different credentials if we want them to be associated. The difficulty in this would lie almost entirely in figuring out the UI for it; the key management part of it should be very simple and straightforward.
But yes, using a single keypair for everything shouldn't take much more than adding a global config option to the wallet and diverting the key generation function to "just return the existing key" if that option is set.


React demo examples not working !

I have tried to get the React demo examples from your https://drag-and-drop.formkit.com/ demo page.
I dissected your source only to find the React examples are fakes and are not actuallt rendered AFAICT.
So I wasted about 3 hours !

@AaronNGray Hey! Sorry you're having an issue with demo examples. You are correct in that what is actually rendered under the hood is in Vue (as it is a Nuxt app), but the React examples should be working. I'd be happy to take a look at a reproduction of whatever issue you're having.

Does draggingClass styling work with tailwind? I can't make it work, also are there any real examples somewhere to actually see how its implemented with styling and everything?


Listview and InvalidateCacheEntryAsync

Hello,
Love the product.  I'm stuck understanding maybe the key, or maybe InvalidateCacheEntryAsync.
mvvm Firstpage shows image (inside listview)
.  Calls mvvm Secondpage to edit/change image (same URL).  On second page I invalidateChacheEntryAsync on the image, and it changes it and shows new image.  WHen I return to first page it still shows old image.  I've also InvalidateCacheEntryAsync on First page but it never changes the image.  I can't figure out why or how.  Even if I close app and reopen, still showing cached version of image.  I'm using the Image URL (full name including https://) as the key.
How can I diagnose this?  I've tried turning   ImageService.Instance.Config.VerboseLogging = true;
But apparantly I can't do anything right because I can't get the debug messages to show anywhere.
Help appreciated.
Thanks.
rent

ImageService.Instance.Config.VerboseLogging

Don't do that, instead: https://github.com/luberda-molinet/FFImageLoading/blob/master/samples/ImageLoading.Forms.Sample/Droid/MainActivity.cs#L29-L37

WHen I return to first page it still shows old image. I've also InvalidateCacheEntryAsync on First page but it never changes the image. I can't figure out why or how. Even if I close app and reopen, still showing cached version of image. I'm using the Image URL (full name including https://) as the key.

It won't automatically refresh all images that were previously shown. That's why, you should call ReloadImage method to refresh it.

Thanks for debug, got that working.  So is the cache per image and view then?
I'm struggling to reload this because I'm on mvvm, and it's within a listview, and I don't have reload in the model.  So I'm believing I need to call a function on the page, and loop through the listview looking for that image/row, and reload?
FYI, just donated, thanks for your software and your hard work supporting it.
Brent

So is the cache per image and view then?

No, it isn't, there is only one cache used for all views. But cache is used only for image loading operations. After you load it, it's up to dev if it should stay or change.

I'm struggling to reload this because I'm on mvvm, and it's within a listview, and I don't have reload in the model.

It should be easy to do with a messaging system. You just subscribe for an "RefreshImages" message, and call _image.ReloadImage() when you receive it. Do you use Xamarin.Forms? Take a look at:

https://developer.xamarin.com/guides/xamarin-forms/application-fundamentals/messaging-center/
https://github.com/runceel/AsyncMessenger

You can even subscribe for reloading specific cache key. That could help:
public class CustomCacheImage : CachedImage
{
    public CustomCacheImage()
    {
        Success += (sender, e) => { CacheKey = e.ImageInformation.CacheKey; };

        MessagingCenter.Subscribe<SenderType, string>(this, "ReloadImage", (sender, key) =>
        {
            if (key == CacheKey)
                ReloadImage();
        });
    }

    public string CacheKey { get; private set; }
}

Then use call reload like:
MessagingCenter.Send(this, "ReloadImage", "some key to reload");

FYI, just donated, thanks for your software and your hard work supporting it.

Thank you! I really appreciate it, it's always nice to hear that it's useful for someone.

Thanks again for the insight and code suggestion.  I've avoided messaging center cause it feels like a workaround hack, albiet maybe easier in this case.
I tried to be clever and create a bindable property to do the reload so I could just bind that to my object.
`    public class CustomCachedImage : CachedImage
{
public bool ReloadIt
{
get { return (bool)GetValue(ReloadItProperty); }
set { SetValue(ReloadItProperty, value); }
}
    public static readonly BindableProperty ReloadItProperty =
               BindableProperty.Create("BindableReloadIt", typeof(bool), typeof(CachedImage),
                   true, BindingMode.TwoWay, propertyChanged: OnReloadIt);

    private static void OnReloadIt(BindableObject bindable, object oldvalue, object newvalue)
    {
        var item = bindable as CustomCachedImage;

        if (item != null && item.Source != null && (bool)newvalue == true && (bool)oldvalue == false)
        {
                item.ReloadImage();
                item.ReloadIt = false;
        }
    }
}

`
And it does trigger the reload, but it's getting called I think at close of window with an object null reference on image.ReloadImage().   So does this seem like a good idea to do, and if so how can I add an if condition so it doesn't attempt to reload outside of scope.  The item in this case seems fully populated, but maybe the Android view (InternalReloadImage) isn't there.
Brent

Your solution is also a good one. Did you try to wrap the code with try {} catch {} block? CachedImage view can be in state without it's renderer attached.

You could also use Behaviors (https://developer.xamarin.com/guides/xamarin-forms/application-fundamentals/behaviors/creating/) - and handle PropertyChanged event - they're attached / detached automatically.

I wrapped to allow to continue.  Still not updating the image.  I know reload is getting executed.  Do I need to trigger somehow propertychanged on the listview or entire cacheimage?  Although I say that, I don't know how to do it.  I'll probably try your solution with messaging as I'm just not knowledgable enough on this.
Brent

Still stuck.  When I attempt to use the messaging service, or my custom cache with binding, I'm using at a point where the renderer must not be loaded, because when I hit
ReloadImage();
I get object null reference.  The Try catch can catch it, but it never executes so it's not reloading the image.
My previous page (where image is changed) actually has a handle to the first page, and calls the first page as the second is popped, so maybe the view is not attached at that point.
If behaviors is the solution, do I write the behavior for the listview on attached?  THere is no onattached for the imagedcache (at least I don't think so), so I'm not sure what behavior control it should override.

public class ReloadBehavior : Behavior<CachedImage>
{
    CachedImage _view;

    protected override void OnAttachedTo (CachedImage bindable)
    {
        base.OnAttachedTo (bindable);
        _view = bindable;
        bindable.PropertyChanged += OnPropertyChanged;
    }

    protected override void OnDetachingFrom (CachedImage bindable)
    {
        base.OnDetachingFrom (bindable);
        _view = null;
        bindable.PropertyChanged -= OnPropertyChanged;
    }

    OnPropertyChanged(string propertyNAme)
    {
        if (propertyName == "ReloadIt")
            _view?.ReloadImage();
    }
}

Then use it:
  public class CustomCachedImage : CachedImage
   {
       public CustomCachedImage()
       {
           Behaviors.Add(new ReloadBehavior());
       }

       public bool ReloadIt
       {
           get { return (bool)GetValue(ReloadItProperty); }
           set { SetValue(ReloadItProperty, value); }
       }

       public static readonly BindableProperty ReloadItProperty =
                  BindableProperty.Create("BindableReloadIt", typeof(bool), typeof(CachedImage), default(bool));
   }

I received errors on your bindable code.  	CS0123	No overload for 'OnPropertyChanged' matches delegate 'PropertyChangedEventHandler'
I changed to:
        void OnPropertyChanged(object sender, PropertyChangedEventArgs e)
        {
            if (e.PropertyName == "ReloadIt")
                _view?.ReloadImage();
        }

However, this never gets triggered when propertyname='ReloadIt'.  Wouldn't the onattachedto only get this to trigger when the view is first appearing?  Rather than anytime I want it to change when returning from another page?

Wouldn't the onattachedto only get this to trigger when the view is first appearing?

No as you subscribe to PropertyChanged event there, so you listen to every property changes after that. More info is here: https://developer.xamarin.com/guides/xamarin-forms/application-fundamentals/behaviors/
Could you make a repo project?

@tallmanBS Did you solve it?

I couldn't come up with a way for you to test as I would need to give access to our restful service to push the image in a child page.  I think I came back and played with it and think I solved, but adding PropertyChanged to my class that was the source of the listview.  I didn't know I needed to do that (using Fody and [ImplementPropertyChanged]) within my classes for it to update the listview items correctly when changed. I actually read a post from on on different forum oddly enough. When I did that, it the image now changes to the new image.  I do reload the list and the image changes.  Hope that's what was expected.
So I think this is good and resolved for me.  Thanks for checking and following up.
Brent

@tallmanBS Nice to hear that you solved it, I'll close it then :) Cheers.


Inputs failed to validate in the Task resource

What happened?
Importing an existing Task gives the following error:
warning: One or more imported inputs failed to validate. This is almost certainly a bug in the `snowflake` provider. The import will still proceed, but you will need to edit the generated code after copying it into your program.
warning: snowflake:index/task:Task resource 'usages' has a problem: Conflicting configuration arguments: "schedule": conflicts with after. Examine values at 'Task.Schedule'.
warning: snowflake:index/task:Task resource 'usages' has a problem: Conflicting configuration arguments: "after": conflicts with schedule. Examine values at 'Task.After'.

Steps to reproduce
pulumi import snowflake:index/task:Task usages 'DATABASE|SCHEMA|TASK'

Then pulumi up
Expected Behavior
We should be able to run pulumi up straight after import with no error
Actual Behavior
Running pulumi up after import gives the following error:
    error: 1 error occurred:
        * updating urn:pulumi:prod::snowflake::snowflake:index/task:Task::usages: 1 error occurred:
        * error retrieving root task MY_TASK: failed to locate the root node of: []: sql: no rows in result set

It seems like it's trying to fetch a task named "[]" (which doesn't exist), whereas my task is actually a root task being run on a schedule and not after a given task.
Maybe after has a default value of [] and is messing around ?
Versions used
Dependencies:
NAME              VERSION
black             22.6.0
flake8            4.0.1
pip               22.0.4
pulumi-snowflake  0.10.0
pylint            2.14.4
pyright           1.1.256
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

@LouisAmon Thanks for submitting this issue. Could you provide the task definition, replacing the actual SQL query with SELECT 0 so as to provide a minimal and portable example? I'm not seeing this behavior with the following task, and I'm not especially familiar with Snowflake:
create or replace task jkodroff_test warehouse=compute_wh schedule = '60 minute' as select 1

I ran into this too. It seems to be an issue with terraform-provider-snowflake used by pulumi-snowflake. It was resolved in v0.37.0 of the terraform-provider-snowflake. Upgrading to at least v0.11.0 of pulumi-snowflake should solve the issue.


Change Scrollbar Color [React Version]

React Version

Current Version

Sample Reference for learning about the same
Change the color of the scroll bar thumb to a shade of purple or mauve
Change the color of the scroll bar track to a shade of dark gray
Adjust the border radius to make the ends circular
When the content is less, the scroll bar should disappear [ Refer to the article given above]
Add an on hover effect

React Libraries for Scrollbar

Can I work on this issue?

Sure. BTW, this meant for open source day(along with the other initiaives) and not exclusively for LGMSOC

Okk. For all the issues for the open source day we have to ask for issue to be assigned now only or only on that day we have to ask to be assigned and work on it?

You can start working now itself.

Is this look ok ?
https://user-images.githubusercontent.com/71149323/125121895-3d5b8100-e112-11eb-8db8-7fcb2b78dc32.mp4

Sure.

Just make sure that the variables in the CSS are properly defined for example. scroll-br-color, scroll-br-hvr-color, etc.
When the content is less, the scroll bar should disappear [ Refer to the article given above]

Have generated a pr #903.

@urmi-256 are you still working on this?

@smaranjitghose  Yes.

@urmi-256 updates?

Hey @smaranjitghose , can you please assign this issue to me.

any updates?


fix(#918): Adds Sanitize method to generate valid Kubernetes resources

Fix #918: Adds Sanitize method to generate valid Kubernetes resources names

Thanks for the review.

hehe, np. This PR was smaller than your previous ones. I'm not sure why CircleCI is failing. I think we can proceed with merge,


[bugs fix] check conversation_history_context's value on community_context.py

Description
For the following code (line 90 - 96), conversation_history_context is concatenated with community_context, but the case where conversation_history_context is empty("") has not been considered. When conversation_history_context is empty (""), concatenation should not be performed, as it would result in community_context or each element in community_context having an extra "\n\n".
if isinstance(community_context, list):
     final_context = [
           f"{conversation_history_context}\n\n{context}"
           for context in community_context
      ]
else:
     final_context = f"{conversation_history_context}\n\n{community_context}"

Proposed Changes
introducing a context_prefix to check the state of conversation_history_context, concatenation can be handled appropriately. When conversation_history_context is empty (""), the following code will use "" for concatenation. When conversation_history_context is not empty (""), the functionality will be similar to the previous code.
context_prefix = f"{conversation_history_context}\n\n" if conversation_history_context else ""

if isinstance(community_context, list):
     final_context = [
           f"{context_prefix}{context}"
           for context in community_context
      ]
else:
     final_context = f"{context_prefix}{community_context}""

Checklist

[✔] I have tested these changes locally.
[✔ ] I have reviewed the code changes.
[✔ ] I have updated the documentation (if necessary).
[ ] I have added appropriate unit tests (if applicable).

Additional Notes
N/A

Merged in #1262


Resolves #1043

Changed Get-ADGroup to Get-ADuser in Example 4.
https://github.com/MicrosoftDocs/windows-powershell-docs/issues/1043

@dariomws306 @tseward
Peer review needed for this PR. Thanks.

This PR looks good.

Looks good.

@AndreaBarr This PR that has passed review can now be merged. Thanks.


graphic visualization of layer weights

https://stackoverflow.com/questions/42861460/how-to-interpret-weights-in-a-lstm-layer-in-keras?utm_medium
https://github.com/keras-team/keras/issues/3088
for e in zip(model.layers[0].trainable_weights, model.layers[0].get_weights()):
print('Param %s:\n%s' % (e[0],e[1]))

potential application of lstmvis project to model layer weights + cell states:
http://lstm.seas.harvard.edu/
https://github.com/HendrikStrobelt/LSTMVis


K.gradients got None in grad_cam.py line 115

K.gradients got None in grad_cam.py line 115, this cause the normalize function at line 29, throw an exception:
gradients = K.gradients(loss, conv_output)

the same error @equiclouds


azure/arm-deploy@v1 fails after new release of Azure CLI Version 2.24.1

Hello 🙂 Since the new release (1. June 2021) of Azure CLI Version 2.24.1, our github actions deployment to azure fails on azure/arm-deploy@v1 with following error:
The process 'C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\wbin\az.cmd' failed because one or more lines were written to the STDERR stream
Have you experienced similar problem or this is not related in your opinion?
Thanks

We are running into a similar issue on Linux runners.
The process '/usr/bin/az' failed because one or more lines were written to the STDERR stream

@mburuckercSO @JaMatus Can you please share the workflow file?

@t-dedah sure 🙂 here is the release workflow file:
`name: DEV .NET Core CD ARM template
on:
push:
branches: [ dev ]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2

- name: Set up .NET Core
  uses: actions/setup-dotnet@v1
  with:
    dotnet-version: 3.1

- name: Build with dotnet
  run: dotnet build --configuration Release

- name: dotnet publish
  run: dotnet publish -c Release -o ${{env.DOTNET_ROOT}}/myapp

- uses: actions/upload-artifact@v2
  with:
    name: my-artifact
    path: ${{env.DOTNET_ROOT}}/myapp

deploy-dev:
runs-on: windows-latest
needs: build
steps:
- uses: actions/checkout@v2

- uses: actions/download-artifact@v2
  with:
    name: my-artifact
    path: ${{env.DOTNET_ROOT}}/myapp

- uses: azure/login@v1
  with:
    creds: ${{ secrets.AZURE_CREDENTIALS_DEV }}

- name: Run ARM deploy
  uses: azure/arm-deploy@v1
  id: arm-deploy
  with:
    subscriptionId: ${{ secrets.AZURE_SUBSCRIPTION }}
    resourceGroupName: ${{ secrets.AZURE_RG_DEV }}
    template: ./deployment/backend.json
    parameters: ./deployment/backend.dev.params.json
      sqlAdministratorLogin=${{ secrets.SQLADMINISTRATORLOGIN_DEV }}
      sqlAdministratorLoginPassword=${{ secrets.SQLADMINISTRATORLOGINPASSWORD_DEV }}
      jwtTokenSecret=${{ secrets.JWTTOKENSECRET_DEV }}
      sendgridEmailApiKey=${{ secrets.SENDGRIDEMAILAPIKEY_DEV }}

- name: Get WebApp publishing profile
  run: |
    $publishingProfile = $( `
      az webapp deployment list-publishing-profiles `
        --name ${{ steps.arm-deploy.outputs.webAppName }} `
        --resource-group ${{ secrets.AZURE_RG_DEV }} `
        --subscription ${{ secrets.AZURE_SUBSCRIPTION }} `
        --xml `
    ) && `
    echo ::add-mask::$publishingProfile && `
    echo ::set-env name=PUBLISHING_PROFILE::$publishingProfile
- name: Deploy to Azure Web App
  uses: azure/webapps-deploy@v2
  with:
    app-name: '${{ steps.arm-deploy.outputs.webAppName }}'
    slot-name: 'production'
    publish-profile: ${{ env.PUBLISHING_PROFILE }}
    package: ${{env.DOTNET_ROOT}}/myapp

`

@t-dedah sure 🙂   here is the release workflow file:
name: DEV .NET Core CD ARM template

on:
  push:
    branches: [ dev ]

jobs:
  build:
    runs-on: windows-latest

    steps:
    - uses: actions/checkout@v2

    - name: Set up .NET Core
      uses: actions/setup-dotnet@v1
      with:
        dotnet-version: 3.1

    - name: Build with dotnet
      run: dotnet build --configuration Release

    - name: dotnet publish
      run: dotnet publish -c Release -o ${{env.DOTNET_ROOT}}/myapp

    - uses: actions/upload-artifact@v2
      with:
        name: my-artifact
        path: ${{env.DOTNET_ROOT}}/myapp

  deploy-dev:
    runs-on: windows-latest
    needs: build

    steps:
    - uses: actions/checkout@v2

    - uses: actions/download-artifact@v2
      with:
        name: my-artifact
        path: ${{env.DOTNET_ROOT}}/myapp

    - uses: azure/login@v1
      with:
        creds: ${{ secrets.AZURE_CREDENTIALS_DEV }}

    - name: Run ARM deploy
      uses: azure/arm-deploy@v1
      id: arm-deploy
      with:
        subscriptionId: ${{ secrets.AZURE_SUBSCRIPTION }}
        resourceGroupName: ${{ secrets.AZURE_RG_DEV }}
        template: ./deployment/backend.json
        parameters: ./deployment/backend.dev.params.json
          sqlAdministratorLogin=${{ secrets.SQLADMINISTRATORLOGIN_DEV }}
          sqlAdministratorLoginPassword=${{ secrets.SQLADMINISTRATORLOGINPASSWORD_DEV }}
          jwtTokenSecret=${{ secrets.JWTTOKENSECRET_DEV }}
          sendgridEmailApiKey=${{ secrets.SENDGRIDEMAILAPIKEY_DEV }}

    - name: Get WebApp publishing profile
      run: |
        $publishingProfile = $( `
          az webapp deployment list-publishing-profiles `
            --name ${{ steps.arm-deploy.outputs.webAppName }} `
            --resource-group ${{ secrets.AZURE_RG_DEV }} `
            --subscription ${{ secrets.AZURE_SUBSCRIPTION }} `
            --xml `
        ) && `
        echo ::add-mask::$publishingProfile && `
        echo ::set-env name=PUBLISHING_PROFILE::$publishingProfile
    - name: Deploy to Azure Web App
      uses: azure/webapps-deploy@v2
      with:
        app-name: '${{ steps.arm-deploy.outputs.webAppName }}'
        slot-name: 'production'
        publish-profile: ${{ env.PUBLISHING_PROFILE }}
        package: ${{env.DOTNET_ROOT}}/myapp

I am experiencing the same issue. It does not matter which ARM template you are deploying. It fails whatever you are trying to deploy.

I am seeing this issue too. There seems to be a warning being displayed before the failure,not sure if it is related but here is the relevant log from a run today. I hadn't seen any warnings prior to todays runs.
2021-06-03T10:54:38.6823203Z ##[endgroup]
2021-06-03T10:54:40.5955013Z Validating template...
2021-06-03T10:54:45.7235801Z ##[warning]
2021-06-03T10:54:45.7983377Z Creating deployment...
2021-06-03T10:54:54.8856051Z ##[error]
2021-06-03T10:55:25.9608960Z ##[error]
2021-06-03T10:55:26.0173126Z ##[error]The process '/usr/bin/az' failed because one or more lines were written to the STDERR stream

I am seeing this issue as well. I will mention the Azure portal is showing the deployment as succesful, and I have verified that the resources have been created/changed.

I am seeing this issue too. There seems to be a warning being displayed before the failure,not sure if it is related but here is the relevant log from a run today. I hadn't seen any warnings prior to todays runs.
2021-06-03T10:54:38.6823203Z ##[endgroup]
2021-06-03T10:54:40.5955013Z Validating template...
2021-06-03T10:54:45.7235801Z ##[warning]
2021-06-03T10:54:45.7983377Z Creating deployment...
2021-06-03T10:54:54.8856051Z ##[error]
2021-06-03T10:55:25.9608960Z ##[error]
2021-06-03T10:55:26.0173126Z ##[error]The process '/usr/bin/az' failed because one or more lines were written to the STDERR stream

I can confirm this. Validation still works fine, but also shows the warning.

I can confirm that I am seeing the same errors and my deployment was successful

Seeing the same issue also this morning

Seeing the same issue.
If it's related to az cli change, I think it would be good to add azcliversion parameter same as https://github.com/Azure/cli, so that az cli updates are not picked automatically.

I wonder if it's related to https://github.com/Azure/azure-cli/issues/18262 (though that was reported earlier, for 2.24.0).

Seeing this issue as well. Is anyone aware of any workarounds?

Seeing this issue as well. Is anyone aware of any workarounds?

If you don't need any outputs we simply used continue_on_error: true

I did, @elizabethlfransen, but as it turns out the outputs are missing in the from the step.
Before you ask, I double checked that outputs actually exist from the deployment, and they do. However, they don't seem to be bound in the GH Action step.

@iamalexmang Yeah when it errors out there wont be any outputs. I was lucky to be in a case where we didn't need the outputs

I have applied a workaround in my fork:
https://github.com/Azure/arm-deploy/compare/main...ashmind:main
It basically ignores error output if that's just whitespace.
I updated all my workflows to uses: ashmind/arm-deploy@main, and they seem to succeed so far (though I recommend using ashmind/arm-deploy@39619d594c45f488f8ff2a86d08149c066349c72 as you should have no reason to trust future state of the main branch in a random repository).
Though actual fix should be in az cli (remove whitespace error output) and not this action. So I didn't create a PR yet.

Seeing the same issue.
If it's related to az cli change, I think it would be good to add azcliversion parameter same as https://github.com/Azure/cli, so that az cli updates are not picked automatically.

I think this would be a great fix. I tried to chase down where the version of az cli that is used in this action comes from so that I could attempt a PR for this change. It seems though that this (and the other az actions like login) just rely on the az that is globally installed in the GitHub self hosted runners.
So I think trying to make this change gets quite complicated due to the fact that az would either need removing from the base runner or there would need to be a mechanism to install a different version somewhere (on top of existing one?) that all of these other az actions could then find.
I wonder if it would be better if each az action first checked to see whether the user specified version of az was installed and if not did the installation? And if the user didn't specify a particular version of az then it would fallback the one that was already present on the system, or install the latest if that wasn't found?

We are looking into the issue, will update as soon as we get more info.

thanks @ashmind yes the issue is with the whitespace we are getting in the stderr listener.  As the problem is with azure-CLI in this case the final solution needs to be from their side.

Merged a temporary fix.

Merged a temporary fix. Please use this until we get a permanent solution from azure-cli team.
- uses: azure/arm-deploy@main
instead of using v1

Any updates on when this issue will be resolved?

@deep-mm please use this as a solution.
- uses: azure/arm-deploy@main
instead of using v1

@t-dedah with that fix, deployment in github is green, but app is not deployed correctly for us.

@JaMatus Let me take a look.

@JaMatus Please try again, deployment should work correctly now.

I can confirm that, today, switching from @v1 to @main succeeded. Pipelines I had which were succeeding for weeks (github-hosted runners) started failing this morning with the same behavior shown above. Switched to @main and the pipelines succeeded.

@t-dedah deployment is working now. Thanks :)

Hi @t-dedah - Do you know when/why is BufferSource an empty string? Thanks!

Using arm-deploy@main, I have now the opposite - the deployment was unsuccessful but the pipeline doesn't notice and continues. The output still indicates failure though, which remains undetected.
Run azure/arm-deploy@main
Changing subscription context...
Validating template...
Warning:
Creating deployment...
Error:

ERROR: (DeploymentFailed) At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.

@dico-harigkev
Same exact symptom here. I have had to go through my pipelines, task by task, to check if any failed even though showing succeeded. I have found this on dozens of task executions since switching to @main.
I tried reverting to @v1 since I saw Azure CLI has revved to 2.24.2, and it was at 2.24.0 when I was encountering the @v1 problems but v1 still doesn't work for me, fails tasks that seem to succeed. So I switched back to @main since that at least will let a workflow complete.
Hoping we get an update to @v1 soon that addresses the issues.

Merged a temporary fix. Please use this until we get a permanent solution from azure-cli team.
- uses: azure/arm-deploy@main
instead of using v1

Hi @t-dedah, is there any ETA on a permanent fix for v1?

@parallo-mattallford @plzm @dico-harigkev fix has been released by azure-cli team but public agent pool is yet to be updated to use upgrade azure-cli, I am trying to get updates for this.

@dico-harigkev @plzm Can you please share more info to investigate better

Which version of azure-cli is running on pool
if possible, share the arm-template

This is the schedule for next image rollout for the public agents. After this new fix should be available to everyone. Please test with V1 after this.
Orgs with self-hosted agents should update their azure-cli to 2.25.0
Windows 2019 - Fri /Mon
Other platforms - Wed next week

@dico-harigkev @parallo-mattallford @plzm we are looking at the issue of action reporting success even if deployment fails.
In the meanwhile, a workaround @t-dedah mentioned above is to use a self hosted runner with installed CLI version 2.25.0

@t-dedah /  @bishal-pdMSFT - can we please look into setting the az cli version if the task is going to take that dependency? Otherwise, we expose our customers to breaking changes like this with no good workarounds.. Alternatively, can we take advantage of the version in the task name<EMAIL_ADDRESS>That is what it should be used for, no?
For the other folks on the thread that have experienced this issue, why not use the azure/CLI@v1 task and deploy the template directly with the az deployment * create ... command? This task gives you direct control over which CLI version you want to use. What is the benefit that the ARM deployment task is providing for you?

@t-dedah / @bishal-pdMSFT - can we please look into setting the az cli version if the task is going to take that dependency? Otherwise, we expose our customers to breaking changes like this with no good workarounds.. Alternatively, can we take advantage of the version in the task name<EMAIL_ADDRESS>That is what it should be used for, no?
For the other folks on the thread that have experienced this issue, why not use the azure/CLI@v1 task and deploy the template directly with the az deployment * create ... command? This task gives you direct control over which CLI version you want to use. What is the benefit that the ARM deployment task is providing for you?

@ashmind made this point above about making the CLI version a parameter. I think it should be decoupled from the version number of this action though and supplied in the with: block.
I do agree with you though that this wrapper action seems to be causing more harm than good given it's such a thin layer of indirection.

Also I think all of the errors being reported here about the action reporting success even though the deployment failed are a direct consequence of the workaround that's been applied to main. I believe #50 disabled checking stderr because the CLI was erroneously writing whitespace to stderr, so it doesn't seem surprising that as a consequence of this workaround the action will now succeed even when they are errors.

@parallo-mattallford @plzm @dico-harigkev I tried to repro the issue with a template deployment but it succeeded for me. Will it be possible to provide me with repro steps ?

Alex, I believe the main reason for picking this action in particular rather than using Az CLI was driven by these two ideas:

hooking up the output to a variable in the workflow, which would otherwise require handling the success/failure of the command, parsing of the command output and pulling the ARM output and then finally hooking that output up with the GitHub workflow using environment variables. Quite messy stuff, I’d add; I believe I’d rather develop a task which does a REST API calls instead to handle parsing of the output correctly, though this would imply considerable more development effort for us
There was an assumption that the action leverages the REST API and is stable enough to prevent dependency breaking changes. That was clearly a false assumption.

Get Outlook for iOShttps://aka.ms/o0ukef

From: Matt Thornton @.>
Sent: Thursday, June 17, 2021 7:13:16 PM
To: Azure/arm-deploy @.>
Cc: Alex Mang @.>; Mention @.>
Subject: Re: [Azure/arm-deploy] @.*** fails after new release of Azure CLI Version 2.24.1 (#48)
Also I think all of the errors being reported here about the action reporting success even though the deployment failed are a direct consequence of the workaround that's been applied to main. I believe #50https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure%2Farm-deploy%2Fpull%2F50&data=04|01|amang%40keyticket.eu|45a6b34ea42946f914ff08d931aad188|beaab1c6c6ce475092dacac20ae5d13a|1|0|637595432007446268|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=2rP%2FZW4%2BqSzQzuP9PDNtuJDCoGN8Q1O20Oed7epYcoo%3D&reserved=0 disabled checking stderr because the CLI was erroneously writing whitespace to stderr, so it doesn't seem surprising that as a consequence of this workaround the action will now succeed even when they are errors.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure%2Farm-deploy%2Fissues%2F48%23issuecomment-863374028&data=04|01|amang%40keyticket.eu|45a6b34ea42946f914ff08d931aad188|beaab1c6c6ce475092dacac20ae5d13a|1|0|637595432007446268|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=Q7vhE392onrIdjlc1HNleqmfw6TyCqPDcdQ9Xaon%2BHo%3D&reserved=0, or unsubscribehttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FABMBPYJPDNNRBQZMOZKNMZ3TTINJZANCNFSM456PX5SA&data=04|01|amang%40keyticket.eu|45a6b34ea42946f914ff08d931aad188|beaab1c6c6ce475092dacac20ae5d13a|1|0|637595432007456262|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=99KGGO87qRPVgL8G4F7HHMd1VwcLLerdq29SjU5JsLs%3D&reserved=0.

Thanks @t-dedah - see a workflow run here:
https://github.com/plzm/always-on/runs/2850980721?check_suite_focus=true
Three steps failed ("Deploy NSG Flow Logs ***") but the run shows as successful.
I have run a variety of ARM templates in this repo, all exhibit the same behavior.

@parallo-mattallford @plzm @dico-harigkev We have fixed the main version of action to fail if arm deployment fails.

Fix for this issue has been released to v1 version.

Those who moved to main, please feel free to move back to v1 version.
- uses: azure/arm-deploy@v1
instead of using main

Closing this issue as fixed has been deployed.

A RCA of this issue has been posted here. Please feel free to put your comments.


The erubi filter does not show the location for compilation errors

Steps to reproduce

Create an erb file that parses initially but with an error that will only happen during compilation
<%= 'test' # this will parse but breaks at execution time %>
put filter :erubi in the Rules file
nanoc compile
the crash output will not show the location of the offending file

Expected behavior
The crash log should show the item being compiled
Actual behavior
The crash log shows an incorrect line
Details
This is trivial to fix, the eval is missing the filename parameter, I will submit a PR shortly.

This is fixed in Nanoc 4.8.15 (just released).


Basket error modal window cant be closed

PR Type

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no API changes)
[ ] Build-related changes
[ ] CI-related changes
[ ] Documentation content changes
[ ] Application / infrastructure changes
[ ] Other:
What Is the Current Behavior?
All toaster messages will currently be rendered on SSR, if a toaster action will be dispatched during the runtime on the server.
(empty basket on basket page)
It is not possible to dismiss the SSR rendered toaster on browser side.
Issue Number: Closes #1403
What Is the New Behavior?
The message effects will only subscribe to the action stream if the app is running on browser side.
Does this PR Introduce a Breaking Change?

[ ] Yes
[ x ] No
Other Information
AB#85043

Good improvement, but we should check/discuss why there occurs an error in SSR in the first place. It is pretty normal that we cannot have a basket in SSR. and therefore there should not be an error.


build: Use sort -n for automated version bumps

Description
Grafana isn't upgrading from 9 to 10. I assume due to sorting issues .
printf '%s\n' "10" "9" | sort -r

Will output 9 before 10. Add the -n flag which seems to fix it.
Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request.
If it fixes a bug or resolves a feature request, be sure to link to that issue.
Waiting on the automated grafana update but nothing is being changed :smile: .
Type of change
What type of changes does your code introduce to the kube-prometheus? Put an x in the box that apply.

[ ] CHANGE (fix or feature that would cause existing functionality to not work as expected)
[ ] FEATURE (non-breaking change which adds functionality)
[ ] BUGFIX (non-breaking change which fixes an issue)
[ ] ENHANCEMENT (non-breaking change which improves existing functionality)
[x] NONE (if none of the other choices apply. Example, tooling, build system, CI, docs, etc.)

Changelog entry
Please put a one-line changelog entry below. Later this will be copied to the changelog file.

build: Use sort -n for automated version bumps

lgtm


Improve visual readability of Navigator pane.

When looking into Navigator Pane it's hard to see the difference between main sections like Workloads or Storage and their sub-resources like deployment setc. Everything is white and just difference in small-big phont. Hard to navigate.

Working on a new design that will make this more clear in all ways, the new design will be work better to show resources and how they work
Closing this now as it will be covered
@julioramosest for awareness.


docs(guide): Add information about static parameters.

🔗 Linked issue
Resolves #77
❓ Type of change

[x] 📖 Documentation (updates to the documentation, readme, or JSdoc annotations)
[ ] 🐞 Bug fix (a non-breaking change that fixes an issue)
[ ] 👌 Enhancement (improving an existing functionality like performance)
[ ] ✨ New feature (a non-breaking change that adds functionality)
[ ] 🧹 Chore (updates to the build process or auxiliary tools and libraries)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description
This pull request adds information on using Static Parameters.
📝 Checklist

[x] I have linked an issue or discussion.
[x] I have updated the documentation accordingly.

I have added text as per my understanding and would suggest maintainers to update as per requirement.

@pi0 are you going to merge this? I see fair amount of people using string literals for tablename and getting into issues.

This should be documented -> Is it possible to approve this PR @pi0 ?


\KaTeX of KaTeX and test.tex (texcmp) does not match

https://github.com/Khan/KaTeX/blob/f71f469d4b3ca97654702a0807e736d176f4c4c5/src/macros.js#L711-L714
https://github.com/Khan/KaTeX/blob/f71f469d4b3ca97654702a0807e736d176f4c4c5/test/screenshotter/test.tex#L16-L22

We could define the test.tex to match our macro. 😛


Debug (and control?) via telnet

I recently found this library:
https://github.com/JoaoLopesF/ESP8266-RemoteDebug-Telnet
I think it would be useful if esp-radio had debug messages via telnet. It could also be useful to control esp-radio via telnet in the same way it can be controlled via serial.

Good idea.  See what I can do.

Did not work.  Telnet commands stop the radio.  Maybe too much connections.

Could it possibly be running out of memory? Could it be the stack is hitting the heap?
I tried the RemoteDebug-Telnet library, showing debug messages via telnet was no problem, but it would not run commands. Weird stuff was happening. Sometimes it would reset or crash on startup.
I reduced the size of the ringbuffer, it appears that it would then accept commands. Sometimes it would not display the full result of 'status' but it would do something.
I need to do more testing....

I've done more testing. RINGBFSIZ=15000 and commented out/removed all MQTT stuff. Commands & debug via telnet work just fine.
Setting RINGBFSIZ=18000 causes problems. Command 'status' gives incomplete results, some other commands are ignored or give incomplete messages.
Setting RINGBFSIZ=20000 (the default) causes even more problems. Most/all telnet commands are ignored. Esp-radio sometimes crashes on startup at random points at random times.
I've used the telnet library as above. I think indications are strong that there is a memory issue when setting RINGBFSIZ=20000. Could this be the reason for the problems with the web  interface?
I hope this helps.


Issue when building the examples

When executing go build ./ for the start and finish code, I see the following message:
cannot use new(SimpleChaincode) (type *SimpleChaincode) as type shim.Chaincode in argument to shim.Start:
*SimpleChaincode does not implement shim.Chaincode (wrong type for Init method)
have Init(*Shim.ChaincodeStub, string, []string)([]byte, error)
want Init(shim.ChaincodeStubInterface, string, []string) ([]byte, error)

Example seems to be out of date. Fixed by changing shim.ChaincodeStub to shim.ChaincodeStubInterface.

well sort of, welcome to our on-going saga of shiminterface changes.
the issue you hit is very well known at this point, but its still going to catch people off guard until we improve the situation. this pr would fix it for Hyperledger networks using 0.6.x, though it would break networks with 0.5.x https://github.com/IBM-Blockchain/learn-chaincode/pull/20 .
looks like our current plan is to hold tight until we get bluemix + everyone else upgraded to 0.6.x. though adding version management would be the preferred solution.


Dirac Hartree Fock basis sets

The Turbomole basis set library has a bunch of new basis sets available for 1c and 2c calculations, called Dirac Hartree Fock (dhf) basis sets:

dhf-SV(P)
dhf-SVP
dhf-TZVP
dhf-TZVPP
dhf-QZVP
dhf-QZVPP
dhf-SV(P)-2c
dhf-SVP-2c
dhf-TZVP-2c
dhf-TZVPP-2c
dhf-QZVP-2c
dhf-QZVPP-2c

Together with new dhf-ecp and dhf-ecp-2c ECPs.
Reference: https://aip.scitation.org/doi/abs/10.1063/1.3495681

Basis

We don't have the dhf-2c sets though.


Deprecate with_source_account for a unified method

What problem does your feature solve?
There are two different methods used to call a contract with a simulated Invoker. The first is with_source_account, a method in the client that sets the Invoker to an AccountID. The second method is as_contract, an env which sets the invoker to a contract. It confusing to have these two methods live in different places when they're almost the same.
What would you like to see?
Deprecate the methods specified above and replace with with_invoker which accepts Into<Invoker> and then add two impls From<Account> for Invoker and From<BytesN<32>> for Invoker (This is @leighmcculloch's idea from a discord thread).

Sgtm, I'm putting this in backlog for @dmkozh since I think it's in his wheelhouse. Feel free to reassign if that's wrong.

This is only relevant to the host testing now and there are not major inconsistencies there, so closing this.


Allow auxiliary columns to be defined before main trace columns inside trace_columns section

Currently inside the trace_columns section, the parser expects the main trace columns to be defined before the auxiliary columns. We should consider allowing users to define the auxiliary columns before the main columns. However, If it is preferable to keep main trace columns definition first as convention, we should show a better error to users regarding the same.

I think the order in which trace segments are defined is meaningful. So, main trace segment should come before aux trace segment. In the future, we may allow users to define their own names for trace segments, and then, whichever one comes first will be the main segment, and whichever comes second will be aux segment.

Thank you @bobbinth for the clarification. If order should take precedence over name, then we can close this issue. I've opened #57 to add clarification to the docs regarding the same.


Entities

Abstract
This ADR describes the definition of an Entity, how interacts with runtime parts, the implications in memory terms, and also the synchronization between different parts.
What is an Entity?
In the ECS paradigm, the entity is an unequivocal identifier, a number, or a value that represents something abstract. All components referenced by that entity give the meaning of that entity.
The scope of an entity is its own scene, this means that entity 0x1001 in a Scene-A and entity 0x1001 in Scene-B are not linked to each other.
Entity history
This is more related to CRDT ADR, but it's necessary to define it. The entity is the reference to different components. When we create for example a box shape with collision, this has three components (the SDK7 case): MeshRenderer, MeshCollider, and Transform. This collection of components represents a box shape with collision. When we change the property of each component, we are changing the internal state of CRDT.
When we make a remove component operation in that entity, we need to know if in the future I try to add the component again. If we do the operation with every component, at the same time, we probably are giving it the meaning that is completely another entity for us. But the state that something happened before is important to communicate that is completely different.
For example:
// t=t0
// EntityA with Transform (position=[1,2,0]) and MeshRenderer ( $case = 'box')

// t=t1=238442
// There isn't any component with the EntityA

// t=t2=238443
// EntityA with Transform (position=[13,23, 11]) and GltfContainer(src='banana.glb')

In t=t2, we link a Transform to EntityA again, but it's a new version of the Transform that means something different, we know this, because we have the history about the Transform in t=t0, (because of the lamport timestamp)
Reusability approach
The reusability of each reserved but unused entity is important to avoid memory leaks. It's not practical having all entities' history. To illustrate this, we can take two scenes, once a static that only creates its entities once, and then nothing happens, and another one that creates and destroys entities with a balance that MUST be zero (otherwise, it's violating the limits).
The static scene has no problem with the versioning entity, it only creates all the entities that need. But in the dynamic one, with no version, the entity number is always incrementing and this could be a problem, a memory problem. With the preposition of the balance as ZERO (creation-rate - destruction-rate = 0), we can set any number to know how fast the problem appears.
For example, if we have 10,000 entities created per frame, and a 30fps game loop, we'd need almost 4 hours to fill all entities' numbers (without taking into account the entities' versions). Although we always have the existence of 20,000 entities, we have a history of about 2^32 (4,294,967,296) entities.
The extreme previous case can be transformed into a typical case if we take the versioning approach.
With the previous rates, we know there are 10k new versions of entities each frame, so each second an entity is being reused 30 times, this is its counter version is incrementing by 30/s. In four hours, the counter is going to be incremented to around 432,000. This number is 10,000 times lower than the first case, which means it would take 100 days to drain the first 10k number of entities.
To summarize, the trick is in the version number. We want to reuse the entity number because it has a block of memory in our state, and using the version number allows us to recycle that block.
Technical

The entity number or ID would be a 32-bit unsigned integer and the same for the entity version.
The entity would be a compound number with a number in its 32-bit less significant and the version in its 32 bits most significant.

This is an implementation proposal example:

Remove entity operation: it's given when the entity is from at least one component to zero. This increment the version component and add to a free-unused entities list. If the next version is a version overflow (or limit). we do not include to that list.
Add entity operation: we first check if is there any free unused entity, if there, we take one.

Use cases
Extending the conversation to its use cases.
0) Local scene usage
This is the most common use case (at least, until now). When you code your scene and call engine.addEntity(), you are having an ID to reference data. Then, you have all the data related to that entity that builds your object.
1) Sync between scene and renderer
renderer has a special appreciation because it shows your scene representation, it completes the image giving the player interaction.
In terms of data, the renderer adds the player input to the scene and consume directly the scene responses.
The renderer and the scene partially share the same component state.
2) Prefab data
Prefab data is static data that you can add to your local scene.
// Loading a prefab
const staticScene = PrefabApi.load('scene.bin')

// The challenge:
// . 1) Keeping the entities IDs: avoid collision with existing entities
// . 2) Not-keeping the entities IDs: remap entity reference (parenting, indirection): this is not possible with custom components
// . 3) The prefab is another scene with no link

// With the approach 1):

3) Sync between other CRDT peer
We can reference entities with local entities (like an indirection), or mirror the entities.
General and examples
We can reduce all the concepts to one requirement:

To have the possibility of handling a piece of state from another source. The piece of state are components data with entities that can be linked between themself:

Prefab
A remote scene (server scene)
Another scene like avatar, or a portable experience scene

With all these sources, we need to have the capability of interacting with each other. For example parent a local entity with a prefab one, or with another scene entity.
A couple of examples of interactions:
Linking an entity with the root of a Prefab
In this snippet the prefab works with its own entities.
// Loading a prefab
const pfEngine: Engine = PrefabApi.load('scene.bin', 'prefab1') // this takes the all scene state and instance an IEngine object with an ID 'prefab1'
const pfEngineEntity = UniqueIDComponent.for(pfEngine).find('root')

const myEntity = engine.addEntity()
ForeignEntity.create(myEntity, {
    source: {
        prefab: {
            id: 'prefab1',
            entityId: pfEngineEntity
        }
    }
})

// if the prefab is running as another scene:
//   - it has its own entities, renderer should take it as another scene? as child-scene?

This approach has an inexact path, it seems there are many complexity.
Prefab as a copyable state

function entityMapper(prefabEntity: Entity) {
    const myPrefabStartsAt = 300e6
    return (myPrefabStartsAt + (prefabEntity as number)) as Entity
}

// Loading a prefab
const prefabData: Uint8Array = PrefabApi.load('scene.bin')
copyPrefab(prefabData, entityMapper, engine)

function copyPrefab(data: Uint8Array, entityMapper, engine) {
    const crdtState = crdt(data).iterator()

    for (const [entityPrefab, componentId, data] of crdt) {
        const entity = entityMapper(entityPrefab)
        const component = engine.getComponent(componentId)

        // Remove all data and increment version
        engine.removeEntity(entity)

        if (component) {
            const value = component.upsertFromBinary(entity, data)
            // protocol components with known-entity-references
            if (componentId === Transform.ComponentID) {
                (value as TransformType).parent = entityMapper(value.parent)
            }
        }
    }
}

// For default prefab (the ones that only use renderer-components)
//  => The loading would iterate each component that references entities and execute the entityMapper

// For custom prefab, with custom components (like a library)
//  => It should expose a function that accepts all the entities that should be checked to map the referenced entities

With this approach, the complexity is only in the loading, with the remapping entities. The entities that already exist will be replaced and incremented in their version.
Link a local entity with a prefab one here, is the same as local with local.
Remote server
The local scene is syncing all entities that the remote server wants to sync. They should share the entities' IDs.
const webSocketTransport = webSocketTranpost(
    'wss://server.decentraland.org/scene_22_11',
    signature,
    function filter(entityId, componentId) {
        return entity > 100e3 && entityId < 150e3
    }
)

engine.addTransport(webSocketTranpost)

// now I have the exact copy of entities from 100,000 to 150,000 here and in the server.
// This means that if the server creates protocol-components (like MeshRenderer, and Transform, etc), we should see them.

The entities are reserved by the local scene on all peers. With our signature, the remote server can handle some rules to decide our write-permissions.
Remote scene
To access other scene entities, we could create an indirection. We mean remote-scene, a scene that is running in the kernel. Both kernel and renderer know about this remote-scene. Like another process in an operative system, we can share memory, but we need to grant access.
I skip the access negotiation and jump directly to the usage.
Avatar scene
// with the previous negotiation, I know the 'avatar-scene' has to share some entities
const avatarSceneToShare = [75, 76, 77, 78]

// with this I can fetch the data
const avatarSceneEngine = SceneApi.createEngine('avatar-scene', avatarSceneToShare, SceneAccess.ReadOnly)
// SceneApi.createEngine return an IEngine with the transport attached to the directly to the scene

const avatarEntities = avatarSceneToShare.map(foreignEntityId => {
    const entity = engine.addEntity()
    ForeignEntity.create(entity, {
        source:{
            sceneId: 'avatar-scene', // if the scope is only kernel, maybe scene-number?
            entityId: foreignEntityId
        },
        queryData: true,
    })
    return entity
})

function minimapSystem() {
    avatarEntities.forEach(entity => {
        const avatarSceneEntity = ForignEntity.get(entity).source.entityid
        const transform = Transform.for(avatarSceneEngine).get(avatarSceneEntity)
        const avatar = Avatar.for(avatarSceneEngine).get(avatarSceneEntity)

        // transform.position and Avatar
        updateUserPosition(Avatar.userId, transformPosition)
    })
}

ForeignEntity is a reference to another scene entity. In the renderer, this means that the entity created is got the exact object resource of another scene.
Portable Experience Scene with the current scene
// with the previous negotiation, I know the '0,0' has to share some entities
const entitiesShared = [0, 512, 513]

const sceneId = User.getCurrentScene()

// with this I can fetch the data
const currentScene = SceneApi.createEngine(sceneId, entitiesShared, {
    writeAccess: [512, 513]
})

// While we press IA_PRIMARY we attract all entities into us
function accioSystem(dt: s) {
    const playerPosition = getPlayerPosition()
    if (InputSystem.isPressing(InputAction.IA_PRIMARY)) {
        const Transform = Transform.for(currentScene)

        for (const [entity, transform] of currentScene.getEntitiesWith  (Transform)) {
            const mutTransform = Transform.getMutable(entity)

            if (Vector3.distance(mutTransform, playerPosition)) {
                const directionVector = Vector3.normalize(
                    Vector3.diff(playerPosition, transform.position)
                )

                mutTransform.position = Vector3.diff(
                    mutTransform.position,
                    Vector3.scale(directionVector, 10 * dt)
                )
            }
        }
    }
}

Versioning the entities is the approach to solve the creation and deletion of entities a thousand times in the SDK  but keeping a low memory footprint. We can get some code to get the idea:
const i = 100000000
while(i > 0) {
  e = addEntity() // 0x10000001 0x20000001 ...
  Transform.set(e, ...)
  // SYNC
  removeEntity(e)
}

assert(memory == 1 entity)

The next diagram represents how two versions of an entity have the same space in memory, it pointers to the same object.

Also, there is another problem that this approach solves: parenting and indirection of resources to deleted/reused entities. For example, having the entity A, and B, with A being the parent of B. If we remove the entity A, B becomes an orphan entity. But then when entity A is reused, the version increments once, having a different resulting ID, so B is still orphan as expected.
To apply this effect, the entity ID has to be synced with the version and every runtime and CRDT have to be aware of how to manage it. This implies modifying the CRDT rules and adding the checks to always get the most recent entity version.
The proposal for this is to have a new set to store the entities' IDs that were deleted. This can be implemented with an optimization that stores a deleted Map<EntityNumber, Version> and from the state get the set.

type EntityNumber = number
type EntityVersion = number

const deletedEntities: Map<EntityNumber, EntityVersion> = new Map()

function addDeletedEntityId(entityId:) {
  const entityNumber = getEntityNumber(entityId)
  const entityVersion = getEntityVersion(entityId)

  deletedEntities.set(entityNumber, entityVersion)
}

function getEntitiesDeleted() {
  const resultSet: Set<EntityID> = new Set()
  for (const [entityNumber, lastVersionDeleted] of Object.entries(deletedEntities)) {
// starting from version 0
    Array.from({ length: lastVersionDeleted + 1}).forEach(
      (version) => {
       resultSet.push(getEntityId(entityNumber, version))
      }
    )
  }
  return resultSet
}


Missing device configuration: Leviton RZM10-1L

Checklist

[X] It is not in the configuration DB

[X] It was not merged recently or has a pending PR

Which device is missing?
Leviton RZM10-1L
Manufacturer ID
0x1d
Product Type
0x0601
Product ID
0x0206
Firmware Version
0.3
Is the device listed on the Z-Wave Alliance website?
No response
Do you have a manual?
This dimmer switch is virtually identical to the supported Leviton RZI10-1L
The switch listed here is for magnetic dimmers and the supported switch is the same except it supports incandescent dimmers.
The only difference is product type. One is product type: 0x0601 and below it is 0x0501. The manufacture id and product id's are the same.
// Leviton RZI10-1L
// Dimmer switch 1000w incandescent
{
	"manufacturer": "Leviton",
	"manufacturerId": "0x001d",
	"label": "RZI10-1L",
	"description": "Dimmer switch 1000w incandescent",
	"devices": [
		{
			"productType": "0x0501",
			"productId": "0x0206"
		}
	],
	"firmwareVersion": {
		"min": "0.0",
		"max": "255.255"
	},
	"associations": {
		"1": {
			"label": "Lifeline",
			"maxNodes": 1,
			"isLifeline": true
		}
	}
}

https://www.smarthome-products.com/productspecs/ViziaRZ106Spec.pdf
Proposed config file:
// Leviton RZM10-1L
// Dimmer switch 1000w magnetic
{
	"manufacturer": "Leviton",
	"manufacturerId": "0x001d",
	"label": "RZM10-1L",
	"description": "Dimmer switch 1000w magnetic",
	"devices": [
		{
			"productType": "0x0601",
			"productId": "0x0206"
		}
	],
	"firmwareVersion": {
		"min": "0.0",
		"max": "255.255"
	},
	"associations": {
		"1": {
			"label": "Lifeline",
			"maxNodes": 1,
			"isLifeline": true
		}
	}
}

Adding it in https://github.com/zwave-js/node-zwave-js/pull/6080


New playground: Add load-from-repo functionality

The GistLoader used by the new embed to load from a GitHub repo can also be used by the new playground, but isn't yet wired up.

Seconded. This will be a valuable feature.

As part of DartPad's newer, simplified UI and focused scope, loading from a repo (not gist) is no longer supported. If anyone would like to see this mechanism brought back, please consider opening a new issue with details about your use case. Thanks so much!


Fix issue with chaining multiple calls to eraseToAnyViewModel()

Describe your changes
Only erase view models when actually needed.
// Before
let viewModel = FakeTextCellViewModel() // viewModel.reuseIdentifier == "FakeTextCellViewModel"
let erased = viewModel.eraseToAnyViewModel() // erased.reuseIdentifier == "FakeTextCellViewModel"
let erased3 = viewModel.eraseToAnyViewModel().eraseToAnyViewModel() // erased3.reuseIdentifier == "AnyCellViewModel"

// After
let viewModel = FakeTextCellViewModel() // viewModel.reuseIdentifier == "FakeTextCellViewModel"
let erased = viewModel.eraseToAnyViewModel() // erased.reuseIdentifier == "FakeTextCellViewModel"
let erased3 = viewModel.eraseToAnyViewModel().eraseToAnyViewModel() // erased3.reuseIdentifier == "FakeTextCellViewModel"

Perfect. Thanks so much @nuomi1! 🙌🏼 💯

@nuomi1 per my contribution guidelines, after successfully submitting and merging a PR, you'll be invited as a collaborator and given push access.
This will allow to work in the repo directly instead of having to use a fork. 😊
I've just sent the invite. No pressure to accept!


Export results to .nidm.zip or to .nidm (if flag -d is used). See #50.

You may want to do this from the nidmresults library, but it should work for the FSL exporter.

Thank you @glatard! This is good to go.


Is there any stree test about harvester[Question]

I would like to know if Harvester has a stress test report？

For example, the time to create virtual machines in batches and EVS disks

How many virtual machines can a three-node harvester environment support @ibrokethecloud


Transition releases data off of non-versioned API

This is a follow-up to https://github.com/chanzuckerberg/napari-hub/issues/598, in which we implemented a hotfix for a breaking change introduced in the pypi API we query, which removed the releases key from the versioned API endpoint we were using. More information here: https://github.com/pypi/warehouse/pull/11775.  For the hotfix, we changed the query to hit the non-versioned API endpoint instead, with the knowledge that the field is considered deprecated there as well, though it has yet to be removed.
As this comment notes, there's no current timeline to remove releases from the non-versioned API endpoint, but it would be prudent to start thinking about a transition plan.  In #598 I outlined these two options:
Option 1: Re-introduce fields by using the recommended simple API instead. This in turn could be broken out into two parts reintroducing just those two fields, and then later possibly re-working all of format_plugin to rely on the simple API. (Ideally these would both be done at once, but depending on how important it is to get back to populating these fields, we could delay the latter work).
Option 2: If accessing upload_time_iso_8601 from the urls array is a reliable source for the release_date (which it appears to be), we may not need to switch APIs at all, and instead could re-work how we handle first_released. Ideally, we would only populate first_released the first time we grab data for a plugin, in which case it would be the same as release_date with no need to ever get previous version releases in any given request.
It turns out that option 2 is not very straightforward given our current S3 architecture for storing data, so I'd recommend that we revisit this work when we are ready to prioritize moving to a database.
@neuromusic let's connect on this when you're back!

This work may end up addressing the bug reported in #611 as well, as we have a hypothesis that the lag reported there is due to PyPI's non-versioned endpoint taking a while to catch up to the latest release's data.

note: in order to support #712, #702, and #703, we'll need to ingest ALL release dates from PyPI

This is currently blocked as the simple API may not be an option, as it doesn't support upload time at the moment (see https://github.com/jwodder/pypi-simple/issues/5).


ToyBox "Party" feature broke

Description of the bug
When using Toybox I am able to select all options but "Party"
Steps To Reproduce

Launch game, 2. Load save, 3. Once done loading and game is up CTRL - F10 to bring up Toybox, 4. Select "Party" and it gives a error code

Expected Behavior
No response
Log Files
No response
Save File
No response
Screenshots

Settings
No response
Toybox Version
1.5.9h
Operating System
Windows 10
What game are you using Toybox on?
Rogue Trader
Game Version
1.1.40
Anything else?
No response

im sorry and i feel like a total idiot... how do i update it? I have been searching since you sent this message and I just cannot find it. Nexus has a old version and there is no update feature in the directory i saw. When i google search it it brings me here but it does not have any easy to see download link for this. Again I am sorry for bothering you with this


Fix lint

Fixes #1

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

Also, loving that we are now disabling AppVeyor here. 👍

Thanks @ocefpaf.


Dynamic hub names

Such a feature does not seem supported yet in-game, but we may override the locs of the hub names.
A configurable would be used as such:
link = { state = STATE_ISTRIA homeland = croatian city = "Trst" mine = "Željezograd" farm = "Opatija" wood = "Šuma" port = "Pula" }
In this case, if Istria is a homeland state for the Croatian ethnicity, the hub names are thus overwritten.
The first matching rule would be applied. All fields except for state and homeland are optional. If such fields are missing, no output is produced.
The overriding would be output in /localization/[language]/hub_names_l_[language].yml (for each language), with this syntax:
HUB_NAME_[State key]_[Field key]:1 "[String]"
As an example, HUB_NAME_STATE_ISTRIA_CITY:1 "Trst".
It'd be best to eventually move to nested locs for this configurable, so that dynamic names are correctly translated.

Eu4 more often than not provides province names, not city names, along with their respective dynamic names according to owner culture. Also due to map deformation, we can't guarantee the city in eu4 maps to the city in Vic3, making crossmapping from EU4 difficult.
I'll leave this issue open but I don't see a trivial way to rename base hubs using eu4 sources. Also, as noted, any rename would be permanent as there is no dynamic rename system in Vic3 yet.


Changed require to import for the abab dependency.

This fixes an issue with bundlers in release builds. I have only tested this in my own situation, but as far as I can tell this will not result in unexpected side effects.

Thank you @Toverbal for this ⭐


Remove /opt/app home directory and replace with one created with persistent storage

Removed in https://github.com/CoffeaTeam/coffea-casa/pull/25

After relevant PR is merged:

[ ] Check if it works properly in CMSAF


qcow2: template: attempt installing open-vm-tools for rhel and centos

This is useful if we are repurposing the qcow2 for a ovf.
Fixes: #502
Signed-off-by: Bandan Das<EMAIL_ADDRESS>

I was not able to create a peerpods vm with this commit due to vmware tools was not installed. This may be an error on my part or not having the permissions to download and install.

I was not able to create a peerpods vm with this commit due to vmware tools was not installed. This may be an error on my part or not having the permissions to download and install open-vm-tools. I did not receive any errors or warnings. Let me know what you think.

Can you check in the pod VM if open-vm-tools got installed or not ? Also for rhel you will need to build the image on a rhel system which has subscription enabled.

I was not able to create a peerpods vm with this commit due to vmware tools was not installed. This may be an error on my part or not having the permissions to download and install open-vm-tools. I did not receive any errors or warnings. Let me know what you think.

Note that you need to setup subscription info to be able to successfully install.
The build not failing is deliberate. We don't want to fail when someone wants to create an image but doesn't want to setup subscription.

Yep I pulled down a registered image but neglected to subscribe.

OK I'm withdrawing my concern.


output timing but not summary

Hi,
Thanks for this great service! I've got it up and running really well except for one thing. I can't get anything written to the summarized.csv file. It writes to reaction times of each participant in the template folder, but not the summaries and d scores. I'd like to use that file to analyze the results in R, but if I can't write to it, I'm stuck! I've made sure the permission are appropriately set, but no dice. I've also tried, when setting up a database to use T (text) and D. So I'm kind of stuck at this point. Any advice? Should I move the file to the template's folder perhaps?
Thank you!
Michael

Hey. I know this is a year late, but I've had the same issues which I've managed to resolve. Both you and I misunderstood a few things.
The "summarized.csv" file is generated AFTER you run the IATAnalysis.R in R. So your participants take the test, you get your raw data (the txt.-file for every participant) and then you run the IATAnalaysis in R.  After that, a summarized.csv is generated.
If you or anyone else are unfamiliar with R and coding in general - which I certainly am, so I would've needed these instructions - you need to do the following in order for it to work:

Download your IAT to your desktop.
Edit the IATAnalysis.R in notepad. You can also do this step in, for instance, R Studio, but I think this might be easier. After the "# base.dir = "C://Users//Username//Documents//iattest//" (the fifth line), add the location where you have your IAT test. For instance, I added
"base.dir = "C://Users//Lacan//Documents//iattest//"". Notice the double forward slashes. Again, this is added after the # basedir line.
In the same file, change the template name to the template you wanna analyze. I, for instance, wanted to analyze the Arabmuslim template, so I changed it to

Set the template you want to analyze here
template.name = "Arabmuslim".
4. Run the file in R. I ran it in R Studio by opening the file, marking all the code and then pressing Ctrl + Enter (which is Run). Now the data should've been analyzed, and a summarized.csv has been generated (or updated).
I hope this helped you or anyone else. As a total newbie with regards to R, coding and IAT test (political science undergrad here), I had given up and was about to do the whole thing manually (calculating the D manually for every participant by summarizing and dividing the RT and so on), but managed to figure it out.
Also, Winteram or anyone involved in the project: Thank you so much!

Hi @Lacanpsych thanks so much for the detailed guide! Could you help me figure out how to download the IAT to my desktop (step 1)? Got stuck there... Thanks!

@zoffyfi My post details what you are to do after you've run an IAT on a website. If you have done that already, you can simply copy the whole folder to your desktop. "Folder" in this case refers to the IAT files you uploaded to your site. If you are refering to something else, feel free to ask.

Hi! Being a Psychology student I have no knowledge on most IT things, so I asked a friend to help me create a website. I think he used a host website, webhost? So he somehow put all the IAT files there and I can access all the data I have collected in the output folder of the active template on the file manager of that webhost site. No idea how I'm supposed to download them from there :/

@zoffyfi As a recent psych student with no previous coding experience, I can definitely empathize (although from learning it, I now work full-time with IATs). Anyway:
You can reach the files on the site. That means you have access to some kind of file manager. Usually, there's a download button somewhere, but I assume that's not the case here. The easiest way to retrieve your file is by using a so called "FTP client", such as filezilla. With it, you can simply drag the folders to your computer, and download them through that. However, for a non-IT person, it might be a bit complicated, especially as you might have all the info necessary. If you need more detailed help with the FTP, or some other part, feel free to mail me at<EMAIL_ADDRESS>as this is not pertaining directly to the IAT.

For Windows users
If you have spaces in your IAT name you must rename the folder in "templates" using underscores or removing spaces. Then update the study name in the IATanalysis.R file.


Ask Thomas Session: eBPF Foundation & Cilium AWS announcement

I'll be on eCHo Sep 17 answering questions around:

eBPF Foundation
Cilium AWS Announcement (EKS Anywhere)

Do you have questions? Feel free to ask them here as a reply and I'll answer them on Friday.

Great news!, i've a few questions i'd like drop ;)

eBPF Foundation

Is the Foundation working to bring this support on EKS Fargate instances?
https://github.com/aws/containers-roadmap/issues/1027

Cilium AWS Announcement (EKS Anywhere)
https://aws.amazon.com/blogs/aws/amazon-eks-anywhere-now-generally-available-to-create-and-manage-kubernetes-clusters-on-premises/

For users with existing EKS deployments using other CNI's, e.g Calico, and extending out to EKS anywhere which is coming with Cilium CNI, is there a migration path for the region-based EKS deployment?
e.g https://cilium.io/blog/2020/10/06/skybet-cilium-migration
In terms of AWS support, to what extend is AWS supporting technically Cilium CNI, is Isovalent upstream providing AWS support as a technology partner? Can AWS customers raise issues vi AWS Technical support channels?

Another question posted on a channel:

what happens to iovisor

Unfortunately we cannot do this session. But be sure to attend the session next week where we will have Justin from AWS to ask all your AWS related questions!

I'd recommend you have an AMA ticket, when it fills up,  schedule a eCHo ;)
Looking forward when it gets re-scheduled


[Drawer] close button is focused when drawer is open in tailwind and the outline / border looks weird

hi,
check attached image, the issue is only in tailwind preset , in primevue it works as expected
this is how it looks in tailwind on drawer open

this is how its supposed to be , ( this is how it is without tailwind preset)

when i tried to customize the close button it looks like this ( with tailwind aura preset )

to check the issue visit both pages and click first example , check the close button on drawer
https://primevue.org/drawer/
https://tailwind.primevue.org/drawer/

As of v4.1.1, the new Tailwind styles have been rewritten using the preprocessor approach with @apply. This issue should be resolved with the new implementation.
New Website is live.


possibility to cast the state to a specific data type

Currently, the only way to cast the state to a specific data type is by de-serializing it again in the OnUpdate action:
room.OnUpdate += OnRoomUpdate;

   private void OnRoomUpdate(object sender, RoomUpdateEventArgs update)
    {
            var outputStream = new System.IO.MemoryStream();
            MsgPack.Serialize(update.state, outputStream);
            outputStream.Position = 0;
            this.gameRoom = MsgPack.Deserialize<GameRoom>(outputStream);

It would be great if the client allows to provide a data-type when joining the room - and use it for de-serializing automatically - for example:
client.Join<GameRoom>("game_room");

(Thanks for proposing @derwish-pro)

Hi I try implementing this myself. Would you please take a look?
I have uploaded the code to this https://github.com/shophk/try_colyseus.git
If it is something like this. My question is, how do I send updated data from the server to put into my "GameRoom". I added a class GameRoom with one string variable RoomName, how to assign a RoomName of the GameRoom from the sever?
The code now the GameRoom is completely empty.

This is currently possible with the new schema serializer, states have a strict type defined: https://docs.colyseus.io/state/schema/#client-side-schema-generation


initial resume machinery

Only for discussion (DO NOT MERGE). Incomplete. No tests written yet.
Some basic handling of RESUME and RESUME_OK for idle connections and tracking of positions.

Look great so far.  I like the incremental approach and we might find the minimal idle only mode works well in practice.  e.g. for a mostly client/server subscription, if the Gateway knows the connection is down, just hold onto the last event rather than sending.
So I'd be interested to see what that looks like.  How does either side know the status of the ReactiveSocket is temporarily disconnected?

I like the change. So far its pretty straightforward and simple to follow.
I guess the next commit will add new methods to ReactiveSocket, like tryResume(std::unique_ptr), etc.
Also we need to modify the behavior around when the existing DuplexConnection terminates, we should just keep going if resumable==true.

The key parts to look at next are how to keep the Resume state and Handlers around and look them up when doing a RESUME from the server perspective.

The server side logic for handling ReactiveSocket to ReactiveSocket based on token is in. Next is the client side tryResume() logic. Then I will add some tests and start hammering stuff out.

still work in progress. But resume TCP client and server are starting to send/receive RESUME and RESUME_OK

The basic logic for resuming idle connections (RESUME and RESUME_OK) seems to be working correctly. Exchange of positions and checks seem to function fine.
We need to sort out a number of issues, though, API-wise that are related to resuming operation.

The individual streams (Server side) must not be closed when a connection closes if resume is desired. But must time out. Should this be individual stream time outs or just a total timeout?
Should the application be the one responsible for explicitly determining ReactiveSocket lifetime (Server side)?
What is the best means to inform the Server side application of the Resume ID Token in the SETUP? Should it be a property of the ReactiveSocket? or just a callback?
Should the application (Server side) be responsible for associating an "old" ReactiveSocket state with a "new" (freshly connected and sent RESUME) ReactiveSocket? Or should this just be handled internally? If handled internally, then the entire ownership model of the ReactiveSocket will likely need to be changed.

These are all server side questions, I think. The client side doesn't have to do as much.

This could be merged now.


Twitter Integration

Embedding and conditional Rendering of Twitter profile or tweet

Hey @ADITYAVOFFICIAL I am very keen to work on this issue . I would be really happy if you could assign this issue to me.

For now, not until the backend is built for it.


✂ Separate docker test case

Describe your changes
Separate docker test case to avoid hanging on CI pipeline.
Checklist before requesting a review

[ ] Add unit tests for this change.
[ ] Make sure all tests can pass.
[ ] Update documents if necessary.
[ ] Format your code by running pre-commit run --all-files
[ ] Is this a user-facing change? If yes, give a description of this change to be included in the release notes.

(Optional) Issue link

Closing since #470 has been merges with the same changes.


Put the upper bound of Babel at 5.7.1 until a critical bug is fixed.

Once https://github.com/babel/babel/issues/2028 is fixed, we can start
picking up new versions of Babel again.
/cc @sebmck

Should have this fixed in the next couple hours.

@sebmck I see v5.8.3 is now available on https://www.npmjs.com/package/babel-core, but I only see up to v5.8.1 in https://github.com/babel/babel/commits/master.
In any event, what do you think I should change this to? ^5.8.1?

@bolinfest Travis is supposed to be merging from the development branch into master on CI success, looks like that malfunctioned. ^5.8.3 would be best since there were some issues with the publishing process were a file wasn't included with borked the install.

Sounds good: changed to ^5.8.3.

Pretty confident the one CI failure was caused by problems on the Travis side of things, but I kicked off a new build anyway to be on the safe side. I'll merge when it goes :green_heart:

PR build is :green_heart:, so I'll ignore the failing "push" build (likely due to a forced push or some such).


Install / implement via CDN

How to install it directly with CDN URL?
Like I have installed vuejs via cdn.
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
Please describe all the steps with example thanks.

Please check the comment here
Duplicates #103

It helped me but can you please also guide how to import it thanks.
Following statement giving me an error.
import VueTimepicker from 'vue2-timepicker'
Uncaught SyntaxError: Cannot use import statement outside a module

tried various ways... I am confused, a little full example code can help.
      //import VueTimepicker from 'vue2-timepicker'
       new Vue({
           el: '#app',
           // components: {
           //     vue-timepicker: window['vue2-timepicker']
           // },
           components: { VueTimepicker: window['vue2-timepicker'] },
           data: {
               days: {
                   time: []
               }
           },

           methods: {

           }
       });

In your demo code, change components: { VueTimepicker: window['vue2-timepicker'] } to:
components: { VueTimepicker: VueTimepicker.default }

So that the entire HTML block becomes (note that I've also changed the VueTimepicker version from 1.0.8 to the latest 1.1.3) --
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
  <title>JS Bin</title>
  <link<EMAIL_ADDRESS>rel="stylesheet" type="text/css" />
</head>
<body>
<div id="app">
  {{ hello }}
  <vue-timepicker></vue-timepicker>
</div>
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js" type="text/javascript"></script>
<script<EMAIL_ADDRESS>type="text/javascript"></script>
<script>

new Vue({
    el: '#app',
    components: { VueTimepicker: VueTimepicker.default },
    data: {
      hello: "Hello world! Testing"
    }
});
  </script>
</body>
</html>

Thanks :-) now it is working.
Can you please guide, how to determine in VueJs components which type of component should be loaded/import by what method, as you can see I have used several methods to import. Problem is in every single component they used to be different methods to be imported/implemented, why?

Basically, the import XX from YY works for bundlers -- Vue-Cli (Webpack), Parcel, etc. And the .default suffix is not needed when implementing the import method. Use components: { VueTimepicker } as mentioned in the documentation will do.
Please note that not every Vue plugin uses the same export/rollup tool, so the above CDN trick might not work for all. I'm afraid you'll have to ask the other plugin author for help if you met any CDN related issue again.
That's why I recommend using bundlers instead of CDN. With a bundler, you should be able to use import to load most vue plugins without a problem.


Add support to install script for getting a certificate

Right now, the way that I call getcertificate is via a Python script I wrote. But this needs to live in the Sandstorm installer.
I think to work, this needs:

Changes to the install.sh to optionally get a certificate, and

Place it somewhere in the filesystem, along with info about when to do a renewal (maybe skip this in v0).

https://github.com/sandstorm-io/sandstorm/pull/859

This is merged!


Use tasks in import tasks.libs import

What does this PR do?
Use tasks.libs.... instead of just libs... .
It seems to not be a problem in the CI and locally for most of dev setups. But it was reported as an issue by @paulcacheux

Motivation

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

/merge

/merge -c


StorageFileApi type is not exposed

I store references to different parts of my DB in a helper file to simplify access to them:
SupabaseQueryBuilder get profilesQuery => supabase.from('profiles');
.
.
.

However, if I try to do this for a storage bucket, it doesn't work:
StorageFileApi get profilePicturesBucket = supabase.storage.from('profile_pictures');

Compile error:
Undefined class 'StorageFileApi'
From what I can tell, the StorageFileApi type is not exposed anywhere by the SDK so I can't use it in things like a getter function.
It doesn't seem like there's a problem with simply assigning it to a variable without an explicit type:
final profilePicturesBucket = supabase.storage.from('profile_pictures');

So I'll simply do the above for now, but it'd be nice if the StorageFileApi type were exposed by the Dart sdk so that I could reference it in variable declarations and function signatures.

@caseycrogers
You are right! There was a bug where all the exported types within storage was not being exported properly, which was fixed in the most recent version of supabase_flutter, but I just noticed that StorageFileApi was never exported in the first place. Will do another release to fix this one.

Awesome thanks!

@caseycrogers Does it work now for you? If not, run flutter pub upgrade supabase_flutter and  flutter pub upgrade storage_client, because you need

supabase_flutter: 1.0.0-dev.3
storage_client: 1.0.0-dev.3

Just updating supabase_flutter to dev.3 worked, thanks!