Type inference missing with Set.from

If I have a file like this:
void main() {
   var t = Set.of([10, 11]);
   print(t);
}

Everything works fine, even with dartanalyzer --no-implicit-dynamic. But if I
have a file like this:
void main() {
   var t = Set.from([10, 11]);
   print(t);
}

I get this result:
error - Missing type arguments for generic type 'Set<dynamic>'. - b.dart:2:12 -
   implicit_dynamic_type
error - Missing type argument for list literal. - b.dart:2:21 -
   implicit_dynamic_list_literal

and only passed check if I do this:
void main() {
   var t = Set<num>.from(<num>[10, 11]);
   print(t);
}

Why does one constructor exercise Type Inference, but not the other?

https://stackoverflow.com/questions/50320220/in-dart-whats-the-difference-between-list-from-and-of-and-between-map-from-a

I dont think that link is helpful. This issue isnt "what is the difference between of and from. The difference is demonstrated in my original post.
The issue is "why are these different in regards to type inference, and is that by design".

It is by design. from is an older constructor which comes from before the language had more sound static typing ("Dart 1"). You can see from the signature, Set<E>.from(Iterable elements), that the type of E cannot be inferred from the type of elements, so E is implicitly dynamic. When using Set.of though, the type of the set is inferred by the type of elements.


Replacing VSWhere with MSBuild.Locator

This should expand MSBuild discovery to include dotnet SDK installations allowing developers to use other tooling besides Visual Studio (i.e., JetBrains/VSCode/etc.)
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue).
[ ] New feature (non-breaking change which adds functionality).
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected).
[ ] Performance improvement
[ ] Refactoring (so no functional change)
[x] Other (docs, build config, etc)

@ajeckmans / @gasparnagy
I had a chance to make a PR based on what was discussed in #74.

We're still using msbuild.exe
We've replaced VSWhere with MSBuild.Locator to expand the MSBuild search to include dotnet SDK installations as a potential location

All the CI tests pass, but at the moment, I believe the CI tests only run a small portion of the tests, so there's a potential for breakage here.
I am also not a JetBrains user, so if you could try it out for us, @ajeckmans, and see if it works better for you locally, that would be awesome.

Thank you @Tiberriver256! This looks good. If @ajeckmans sends an OK signal, we should squash & merge this.
Technical side note: In general, I suggest that the ones who are already in the contributors or the core team groups to do the PRs from branches of this repo directly (without forking), because that way it is easier for others (like in this case @ajeckmans) to try it out or even making small fixes.

Sounds good @gasparnagy. I'll plan on using branches moving forward. Let me know if you want me to close this PR and reopen a new one from a branch.

@Tiberriver256 not at all. Was just a comment for the future.

I'll not be able to check this today. It will have to wait till tomorrow.
I'm also fine with just merging this. If it works for the CI and building in Visual Studio at least it won't make things worse :)


how to disable multi swipe at one time

as title describe

Kinda got it to work. I only cared about right sided buttons, so just made changes to handle that situation. Also for MailAppDemoSwift demo project. I ended up adding logic to MailViewController.swift and made few changes to MGSwipeTableCell.m file.
for MailViewController.swift
add this to the top, below other variables
var swipedCell: UITableViewCell?

remove the deprecated method
func swipeTableCell(_ cell: MGSwipeTableCell, canSwipe direction: MGSwipeDirection) -> Bool {}

add these, they are with logs so you can see what is called when
func swipeTableCell(_ cell: MGSwipeTableCell, canSwipe direction: MGSwipeDirection, from point: CGPoint) -> Bool {
    if direction == .leftToRight { return false }  // only care about .rightToLeft

    if self.swipedCell == nil {
        self.swipedCell = cell
        if let indexPath = self.tableView.indexPath(for: cell) {
            print ("allow swipe row \(indexPath.row) - \(direction == .leftToRight ? "leftToRight" : "rightToLeft")")
        }
        return true
    }
    else if self.swipedCell == cell {    // since when cell calls this delegate method, if check for both swipe directions
        if let indexPath = self.tableView.indexPath(for: cell) {
            print ("allow swipe row \(indexPath.row) - \(direction == .leftToRight ? "leftToRight" : "rightToLeft")")
        }
        return true
    }

    if let indexPath = self.tableView.indexPath(for: cell) {
        print ("NAAAH to swipe row \(indexPath.row) - \(direction == .leftToRight ? "leftToRight" : "rightToLeft")")
    }
    return false
}

func swipeTableCellWillEndSwiping(_ cell: MGSwipeTableCell) {
    self.swipedCell = nil
    if let indexPath = self.tableView.indexPath(for: cell) {
        print ("   end swiping row \(indexPath.row)")
    }
}

func swipeTableCellWillBeginSwiping(_ cell: MGSwipeTableCell) {
    if let indexPath = self.tableView.indexPath(for: cell) {
        print ("   begin swiping row \(indexPath.row)")
    }
}

func swipeTableCell(_ cell: MGSwipeTableCell, tappedButtonAt index: Int, direction: MGSwipeDirection, fromExpansion: Bool) -> Bool {
    self.swipedCell = nil
    if let indexPath = self.tableView.indexPath(for: cell) {
        print("row \(indexPath.row) colapse: [button at index\(index)] from exp: \(fromExpansion)")
    }
    return true
}

And for MGSwipeTableCell.m, I replaced the code after the "make a decision according to existing buttons..." (about line 1310 tip 1329) with one below. Replaced it since it did two swipeTableCell:canSwipe:fromPoint delegate calls per cell for both MGSwipeDirection, even though it that should never be the case. Those two delegate calls messed with logic I added to MailViewController.swift file.
if (translation.x > 0) {
    if (_delegate && [_delegate respondsToSelector:@selector(swipeTableCell:canSwipe:fromPoint:)]) {
        CGPoint point = [_panRecognizer locationInView:self];
        _allowSwipeLeftToRight = [_delegate swipeTableCell:self canSwipe:MGSwipeDirectionLeftToRight fromPoint:point];
    }
    else if (_delegate && [_delegate respondsToSelector:@selector(swipeTableCell:canSwipe:)]) {
        #pragma clang diagnostic push
        #pragma clang diagnostic ignored "-Wdeprecated-declarations"
        _allowSwipeLeftToRight = [_delegate swipeTableCell:self canSwipe:MGSwipeDirectionLeftToRight];
        #pragma clang diagnostic pop
    }
    else {
        [self fetchButtonsIfNeeded];
        _allowSwipeLeftToRight = _leftButtons.count > 0;
    }
    return _allowSwipeLeftToRight;
}
else if (translation.x < 0) {
    if (_delegate && [_delegate respondsToSelector:@selector(swipeTableCell:canSwipe:fromPoint:)]) {
        CGPoint point = [_panRecognizer locationInView:self];
        _allowSwipeRightToLeft = [_delegate swipeTableCell:self canSwipe:MGSwipeDirectionRightToLeft fromPoint:point];
    }
    else if (_delegate && [_delegate respondsToSelector:@selector(swipeTableCell:canSwipe:)]) {
        #pragma clang diagnostic push
        #pragma clang diagnostic ignored "-Wdeprecated-declarations"
        _allowSwipeRightToLeft = [_delegate swipeTableCell:self canSwipe:MGSwipeDirectionRightToLeft];
        #pragma clang diagnostic pop
    }
    else {
        [self fetchButtonsIfNeeded];
        _allowSwipeRightToLeft = _rightButtons.count > 0;
    }

    return _allowSwipeRightToLeft;
 }
 else {
    _allowSwipeLeftToRight = NO;
    _allowSwipeRightToLeft = NO;
    return NO;
}

Hopefully this didn't break anything.

Any thoughs @MortimerGoro ?

Hey, any updates on this?


"Module 'osmnx' has no attribute 'get_nearest_node'"

I'm executing an old tutorial and several functions are deprecated now. But i'm having trouble replacing  one of them, wich i didnt found an alternativa anywere :
origin_point = (33.787201, -84.405076)
destination_point = (33.764135, -84.394980)# get the nearest nodes to the locations
origin_node = ox.get_nearest_node(G, origin_point)
destination_node = ox.get_nearest_node(G, destination_point)

https://towardsdatascience.com/find-and-plot-your-optimal-path-using-plotly-and-networkx-in-python-17e75387b873

Per the contributing guidelines, please ask usage questions on StackOverflow to reserve the issue tracker for bug reporting and feature development. Have you read the package documentation and usage examples, which explain how to do what you are trying? The function you are using was deprecated and removed/replaced a while back in #675.


Rewrite the module without Azure.Identity

Right now it's using double libraries

Double libraries are not an issue as they use the same versions internally, and Azure.Identity is easier to achieve non-interactive auth with.


Updating  TFT Farmed field

Description
Updating TFT Farmed field because it was confusing

Related Issues
#1575
Checklist

[ ] Tests included
[x] Build pass
[ ] Documentation
[x] Code format and docstrings
[x] Screenshots/Video attached (needed for UI changes)

Regarding this value

i'm not sure if it's supposed to be the current tft value or not, but if it's the current tft value then it should be updated since according to stellar the current value is 1 tft -> 0.016 usd

It's not the current TFT value, it's the value of TFT when it was minted


reactions.js: Show full name in reactions if only one reaction.

This shows the full name of the user who reacted if and only if
that reaction is the only reaction on the message and only one
person had reacted to that message.
Fixes #4513.

@showell wrote some new code, but weirdly when I run test-js-with-node reactions.js all tests pass... which I'm not too sure if that's supposed to happen.

Ah, found out why. The reactions tested never got down to a single reaction, so will add tests tomorrow probably.

I want to put this on hold and discuss a better way to do this on chat.
The complexity of the unit tests here suggest to me that we don't have a nice abstraction in place for our list-of-reactions widget.
There are two ways that I think we can clean up reactions.js:

Go to a philosophy where we redraw all the reactions on a message for any add/remove event.
Do incremental updates, but have a class structure that better separates drawing concerns from state concerns.

I am really inclined toward the latter, and my thought would be to build that out against master first, without handling single-reactions yet, but of course knowing it's on the horizon.  A proper class structure could go something like this:
  1 exports.message_draw = {
  2     append_reaction: function (...) {...},
  3     update_count: function (...) {...},
  4 };
  5
  6 var message_widget = function (message_id) {
  7     // Our widget mostly manages state, and it delegates drawing
  8     // operations to exports.message_draw.
  9
 10     var message_id;
 11     var dict = new Dict();
 12
 13     self.add = function (emoji_name, user) {
 14         if (!dict.has(emoji_name)) {
 15             dict.set(emoji_name, [user]);
 16             exports.message_draw.append_reaction(message_id, emoji_name, [user]);
 17         } else {
 18             var users = dict.get(emoji_name);
 19             user.append(user);
 20             exports.message_draw.update_count(message_id, emoji_name, users);
 21         }
 22     }
 23
 24     return self;
 25 }
 26
 27 function get_message_widget(message_id) {
 28     // ...
 29 }
 30
 31 function add_reaction(ev) {
 32     var widget = get_message_widget(ev.message_id);
 33
 34     widget.add(ev.emoji_name, ev.user);
 35 }

If we went the above route, we could take the existing reactions tests and have them mostly stub out calls to exports.message_draw, so that most unit tests don't even know about jquery (or zjquery).  Then we'd have a few tests that directly test the message_draw stuff, and maybe a couple tests that are more full-stack but don't have to exercise all the state changes.

Hello @lonerz, a Zulip maintainer reviewed this pull request over a week ago, but you haven't updated your pull request since. Please take a look at the requested changes and update your pull request accordingly.
Thank you for your valuable contributions to Zulip!

Closing in favor of #8342.


Store and retrieve secret_key_base from disk file

As Rafael recommended, this time it uses an approach similar to gitlab's.

If the goal is to pass a secret key base, why don't we pass it through an environment variable as it's customary in container-based setups ?

If the goal is to pass a secret key base, why don't we pass it through an environment variable as it's customary in container-based setups ?

Because our manifests come from caasp-container-manifests package and we shouldn't modify them for each installation (it would be harder to manage updates and such). This way we ensure that each installation contains different application secrets without the need to have special requirements when updating caasp-container-manifests package.

Because our manifests come from caasp-container-manifests package and we shouldn't modify them for each installation (it would be harder to manage updates and such). This way we ensure that each installation contains different application secrets without the need to have special requirements when updating caasp-container-manifests package.

Got it, thanks.

e2e-tests are also green after a retrigger :+1: (they were a bit broken today for other reasons)

I have ultimately failed to please rubocop, after having taken hours to write merely dozens of lines of code I may only conclude that ruby is not the right language for me. Well, see you later.


Adding a Sublime project file to maintain consistent identation

What do you think about adding a Sublime Text project file that basically sets identation behavior:
{
	"folders":
	[
		{
			"name": "cpp-sublime-snippet",
			"path": "/"
		}
	],
	"settings":
	{
		"tab_size": 4,
		"translate_tabs_to_spaces": true,
	}
}

I can add that in another pr, if you want.

Hm. I don't quite get it. Care expanding a bit?

The relevant part here is "translate_tabs_to_spaces": false. This is helpful while working on the project. Essentially, you don't need to convert the indentation in the snippets to tabs everytime you add a new line or snippet, when working with tabs by default anyway.


Spawning a character or accessing a component in C# causes a crash.

Fatal error detected: "System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types.
Could not load file or assembly 'MonoGame.Framework, Version=<IP_ADDRESS>3, Culture=neutral, PublicKeyToken=null'. An operation is not legal in the current state. (0x80131509)
Could not load file or assembly 'MonoGame.Framework, Version=<IP_ADDRESS>3, Culture=neutral, PublicKeyToken=null'. An operation is not legal in the current state. (0x80131509)
Could not load file or assembly 'MonoGame.Framework, Version=<IP_ADDRESS>3, Culture=neutral, PublicKeyToken=null'. An operation is not legal in the current state. (0x80131509)
Could not load file or assembly 'MonoGame.Framework, Version=<IP_ADDRESS>3, Culture=neutral, PublicKeyToken=null'. An operation is not legal in the current state. (0x80131509)
Could not load file or assembly 'MonoGame.Framework, Version=<IP_ADDRESS>3, Culture=neutral, PublicKeyToken=null'. An operation is not legal in the current state. (0x80131509)
Could not load file or assembly 'MonoGame.Framework, Version=<IP_ADDRESS>3, Culture=neutral, PublicKeyToken=null'. An operation is not legal in the current state. (0x80131509)
Could not load file or assembly 'MonoGame.Framework, Version=<IP_ADDRESS>3, Culture=neutral, PublicKeyToken=null'. An operation is not legal in the current state. (0x80131509)
Could not load file or assembly 'MonoGame.Framework, Version=<IP_ADDRESS>3, Culture=neutral, PublicKeyToken=null'. An operation is not legal in the current state. (0x80131509)
Could not load file or assembly 'MonoGame.Framework, Version=<IP_ADDRESS>3, Culture=neutral, PublicKeyToken=null'. An operation is not legal in the current state. (0x80131509)
at System.Reflection.RuntimeModule.GetTypes(QCallModule module, ObjectHandleOnStack retTypes)
at System.Reflection.RuntimeModule.GetDefinedTypes()
at System.Reflection.RuntimeModule.GetTypes()
at UnrealSharp.Interop.UnmanagedCallbacks.FindTypeInAssembly(Assembly assembly, String fullTypeName) in F:\UEProject\CaroGame\EcsDemo\Plugins\UnrealSharp\Managed\UnrealSharp\UnrealSharp\Interop\UnmanagedCallbacks.cs:line 125
at UnrealSharp.Interop.UnmanagedCallbacks.LookupManagedType(IntPtr assemblyHandle, Char* typeNamespace, Char* typeEngineName) in F:\UEProject\CaroGame\EcsDemo\Plugins\UnrealSharp\Managed\UnrealSharp\UnrealSharp\Interop\UnmanagedCallbacks.cs:line 97
at UnrealSharp.Interop.FCSManagerExporter.CallFindManagedObject(IntPtr a) in F:\UEProject\CaroGame\EcsDemo\Plugins\UnrealSharp\Managed\UnrealSharp\UnrealSharp\obj\Debug\net9.0\UnrealSharp.SourceGenerators\UnrealSharp.SourceGenerators.NativeCallbacksWrapperGenerator\FCSManagerExporter.generated.cs:line 16
at UnrealSharp.ObjectMarshaller`1.FromNative(IntPtr nativeBuffer, Int32 arrayIndex) in F:\UEProject\CaroGame\EcsDemo\Plugins\UnrealSharp\Managed\UnrealSharp\UnrealSharp\Marshallers.cs:line 101
at UnrealSharp.EcsDemo.ACharacterBase.get_ActorDataComp() in F:\UEProject\CaroGame\EcsDemo\Script\ProjectGlue\EcsDemo\CharacterBase.generated.cs:line 26
at Game.Character.APlayerCharacter.ReceivePostInitializeComponents_Implementation() in F:\UEProject\CaroGame\EcsDemo\Script\Game\Character\PlayerCharacter.cs:line 17
at UnrealSharp.EcsDemo.ACharacterBase.Invoke_ReceivePostInitializeComponents(IntPtr buffer, IntPtr returnBuffer) in F:\UEProject\CaroGame\EcsDemo\Script\ProjectGlue\EcsDemo\CharacterBase.generated.cs:line 55
at UnrealSharp.Interop.UnmanagedCallbacks.InvokeManagedMethod(IntPtr managedObjectHandle,  methodPtr, IntPtr argumentsBuffer, IntPtr returnValueBuffer, IntPtr exceptionTextBuffer) in F:\UEProject\CaroGame\EcsDemo\Plugins\UnrealSharp\Managed\UnrealSharp\UnrealSharp\Interop\UnmanagedCallbacks.cs:line 167
System.IO.FileLoadException: Could not load file or assembly 'MonoGame.Framework, Version=<IP_ADDRESS>3, Culture=neutral, PublicKeyToken=null'. An operation is not legal in the current state. (0x80131509)
File name: 'MonoGame.Framework, Version=<IP_ADDRESS>3, Culture=neutral, PublicKeyToken=null'
---> System.InvalidOperationException: AssemblyLoadContext is unloading or was already unloaded.
at System.Runtime.Loader.AssemblyLoadContext.VerifyIsAlive()
at System.Runtime.Loader.AssemblyLoadContext.LoadFromStream(Stream assembly, Stream assemblySymbols)
at UnrealSharp.Plugins.PluginLoadContext.Load(AssemblyName assemblyName) in F:\UEProject\CaroGame\EcsDemo\Plugins\UnrealSharp\Managed\UnrealSharp\UnrealSharp.Plugins\PluginLoader.cs:line 72
at System.Runtime.Loader.AssemblyLoadContext.ResolveUsingLoad(AssemblyName assemblyName)
at System.Runtime.Loader.AssemblyLoadContext.Resolve(IntPtr gchManagedAssemblyLoadContext, AssemblyName assemblyName)
System.IO.FileLoadException: Could not load file or assembly 'MonoGame.Framework, Version=<IP_ADDRESS>3, Culture=neutral, PublicKeyToken=null'. An operation is not legal in the current state. (0x80131509)
File name: 'MonoGame.Framework, Version=<IP_ADDRESS>3, Culture=neutral, PublicKeyToken=null'
---> System.InvalidOperationException: AssemblyLoadContext is unloading or was already unloaded.
at System.Runtime.Loader.AssemblyLoadContext.VerifyIsAlive()
at System.Runtime.Loader.AssemblyLoadContext.LoadFromStream(Stream assembly, Stream assemblySymbols)
at UnrealSharp.Plugins.PluginLoadContext.Load(AssemblyName assemblyName) in F:\UEProject\CaroGame\EcsDemo\Plugins\UnrealSharp\Managed\UnrealSharp\UnrealSharp.Plugins\PluginLoader.cs:line 72
at System.Runtime.Loader.AssemblyLoadContext.ResolveUsingLoad(AssemblyName assemblyName)
at System.Runtime.Loader.AssemblyLoadContext.Resolve(IntPtr gchManagedAssemblyLoadContext, AssemblyName assemblyName)
System.IO.FileLoadException: Could not load file or assembly 'MonoGame.Framework, Version=<IP_ADDRESS>3, Culture=neutral, PublicKeyToken=null'. An operation is not legal in the current state. (0x80131509)
File name: 'MonoGame.Framework, Version=<IP_ADDRESS>3, Culture=neutral, PublicKeyToken=null'
---> System.InvalidOperationException: AssemblyLoadContext is unloading or was already unloaded.
at System.Runtime.Loader.AssemblyLoadContext.VerifyIsAlive()
at System.Runtime.Loader.AssemblyLoadContext.LoadFromStream(Stream assembly, Stream assemblySymbols)
at UnrealSharp.Plugins.PluginLoadContext.Load(AssemblyName assemblyName) in F:\UEProject\CaroGame\EcsDemo\Plugins\UnrealSharp\Managed\UnrealSharp\UnrealSharp.Plugins\PluginLoader.cs:line 72
at System.Runtime.Loader.AssemblyLoadContext.ResolveUsingLoad(AssemblyName assemblyName)
at System.Runtime.Loader.AssemblyLoadContext.Resolve(IntPtr gchManagedAssemblyLoadContext, AssemblyName assemblyName)
System.IO.FileLoadException: Could not load file or assembly 'MonoGame.Framework, Version=<IP_ADDRESS>3, Culture=neutral, PublicKeyToken=null'. An operation is not legal in the current state. (0x80131509)
File name: 'MonoGame.Framework, Version=<IP_ADDRESS>3, Culture=neutral, PublicKeyToken=null'
---> System.InvalidOperationException: AssemblyLoadContext is unloading or was already unloaded.
at System.Runtime.Loader.AssemblyLoadContext.VerifyIsAlive()
at System.Runtime.Loader.AssemblyLoadContext.LoadFromStream(Stream assembly, Stream assemblySymbols)
at UnrealSharp.Plugins.PluginLoadContext.Load(AssemblyName assemblyName) in F:\UEProject\CaroGame\EcsDemo\Plugins\UnrealSharp\Managed\UnrealSharp\UnrealSharp.Plugins\PluginLoader.cs:line 72
at System.Runtime.Loader.AssemblyLoadContext.ResolveUsingLoad(AssemblyName assemblyName)
at System.Runtime.Loader.AssemblyLoadContext.Resolve(IntPtr gchManagedAssemblyLoadContext, AssemblyName assemblyName)
System.IO.FileLoadException: Could not load file or assembly 'MonoGame.Framework, Version=<IP_ADDRESS>3, Culture=neutral, PublicKeyToken=null'. An operation is not legal in the current state. (0x80131509)
File name: 'MonoGame.Framework, Version=<IP_ADDRESS>3, Culture=neutral, PublicKeyToken=null'
---> System.InvalidOperationException: AssemblyLoadContext is unloading or was already unloaded.
at System.Runtime.Loader.AssemblyLoadContext.VerifyIsAlive()
at System.Runtime.Loader.AssemblyLoadContext.LoadFromStream(Stream assembly, Stream assemblySymbols)
at UnrealSharp.Plugins.PluginLoadContext.Load(AssemblyName assemblyName) in F:\UEProject\CaroGame\EcsDemo\Plugins\UnrealSharp\Managed\UnrealSharp\UnrealSharp.Plugins\PluginLoader.cs:line 72
at System.Runtime.Loader.AssemblyLoadContext.ResolveUsingLoad(AssemblyName assemblyName)
at System.Runtime.Loader.AssemblyLoadContext.Resolve(IntPtr gchManagedAssemblyLoadContext, AssemblyName assemblyName)
System.IO.FileLoadException: Could not load file or assembly 'MonoGame.Framework, Version=<IP_ADDRESS>3, Culture=neutral, PublicKeyToken=null'. An operation is not legal in the current state. (0x80131509)
File name: 'MonoGame.Framework, Version=<IP_ADDRESS>3, Culture=neutral, PublicKeyToken=null'
---> System.InvalidOperationException: AssemblyLoadContext is unloading or was already unloaded.
at System.Runtime.Loader.AssemblyLoadContext.VerifyIsAlive()
at System.Runtime.Loader.AssemblyLoadContext.LoadFromStream(Stream assembly, Stream assemblySymbols)
at UnrealSharp.Plugins.PluginLoadContext.Load(AssemblyName assemblyName) in F:\UEProject\CaroGame\EcsDemo\Plugins\UnrealSharp\Managed\UnrealSharp\UnrealSharp.Plugins\PluginLoader.cs:line 72
at System.Runtime.Loader.AssemblyLoadContext.ResolveUsingLoad(AssemblyName assemblyName)
at System.Runtime.Loader.AssemblyLoadContext.Resolve(IntPtr gchManagedAssemblyLoadContext, AssemblyName assemblyName)
System.IO.FileLoadException: Could not load file or assembly 'MonoGame.Framework, Version=<IP_ADDRESS>3, Culture=neutral, PublicKeyToken=null'. An operation is not legal in the current state. (0x80131509)
File name: 'MonoGame.Framework, Version=<IP_ADDRESS>3, Culture=neutral, PublicKeyToken=null'
---> System.InvalidOperationException: AssemblyLoadContext is unloading or was already unloaded.
at System.Runtime.Loader.AssemblyLoadContext.VerifyIsAlive()
at System.Runtime.Loader.AssemblyLoadContext.LoadFromStream(Stream assembly, Stream assemblySymbols)
at UnrealSharp.Plugins.PluginLoadContext.Load(AssemblyName assemblyName) in F:\UEProject\CaroGame\EcsDemo\Plugins\UnrealSharp\Managed\UnrealSharp\UnrealSharp.Plugins\PluginLoader.cs:line 72
at System.Runtime.Loader.AssemblyLoadContext.ResolveUsingLoad(AssemblyName assemblyName)
at System.Runtime.Loader.AssemblyLoadContext.Resolve(IntPtr gchManagedAssemblyLoadContext, AssemblyName assemblyName)
System.IO.FileLoadException: Could not load file or assembly 'MonoGame.Framework, Version=<IP_ADDRESS>3, Culture=neutral, PublicKeyToken=null'. An operation is not legal in the current state. (0x80131509)
File name: 'MonoGame.Framework, Version=<IP_ADDRESS>3, Culture=neutral, PublicKeyToken=null'
---> System.InvalidOperationException: AssemblyLoadContext is unloading or was already unloaded.
at System.Runtime.Loader.AssemblyLoadContext.VerifyIsAlive()
at System.Runtime.Loader.AssemblyLoadContext.LoadFromStream(Stream assembly, Stream assemblySymbols)
at UnrealSharp.Plugins.PluginLoadContext.Load(AssemblyName assemblyName) in F:\UEProject\CaroGame\EcsDemo\Plugins\UnrealSharp\Managed\UnrealSharp\UnrealSharp.Plugins\PluginLoader.cs:line 72
at System.Runtime.Loader.AssemblyLoadContext.ResolveUsingLoad(AssemblyName assemblyName)
at System.Runtime.Loader.AssemblyLoadContext.Resolve(IntPtr gchManagedAssemblyLoadContext, AssemblyName assemblyName)
System.IO.FileLoadException: Could not load file or assembly 'MonoGame.Framework, Version=<IP_ADDRESS>3, Culture=neutral, PublicKeyToken=null'. An operation is not legal in the current state. (0x80131509)
File name: 'MonoGame.Framework, Version=<IP_ADDRESS>3, Culture=neutral, PublicKeyToken=null'
---> System.InvalidOperationException: AssemblyLoadContext is unloading or was already unloaded.
at System.Runtime.Loader.AssemblyLoadContext.VerifyIsAlive()
at System.Runtime.Loader.AssemblyLoadContext.LoadFromStream(Stream assembly, Stream assemblySymbols)
at UnrealSharp.Plugins.PluginLoadContext.Load(AssemblyName assemblyName) in F:\UEProject\CaroGame\EcsDemo\Plugins\UnrealSharp\Managed\UnrealSharp\UnrealSharp.Plugins\PluginLoader.cs:line 72
at System.Runtime.Loader.AssemblyLoadContext.ResolveUsingLoad(AssemblyName assemblyName)
at System.Runtime.Loader.AssemblyLoadContext.Resolve(IntPtr gchManagedAssemblyLoadContext, AssemblyName assemblyName)". Blueprint:  PlayerCharacter Function:  Receive Post Initialize Components Call Stack:  Show

https://github.com/UnrealSharp/UnrealSharp/commit/b6b708ae2ca42778628e111e3f970d9c8718b3f0
Try now!


The Messenger: adjustments post 0.4.1

makes the keys local and adds a chance for mega shards to be shuffled. shop shuffle is always enabled, when that gets merged, and the only new option being added with it is plando costs so no additional yaml updates necessary.

So i know shop rando got added in 0.4.2 but looking around i think the only yaml option added was about prices, yes? Did you want to add that at all or just leave it at default? Otherwise LGTM

the only new option is plando


Mutation for Enzyme and ReverseDiff

Core

Force f!(y, x) to return nothing

Extensions

Switch Enzyme mode choice to Enzyme.Forward or Enzyme.Reverse
Add support for mutating functions in Enzyme
Fallback on this support for array-output allocating functions in Enzyme
Add support for mutating functions in ReverseDiff
Add support for mutating functions in PolyesterForwardDiff

Questions:

In https://enzymead.github.io/Enzyme.jl/stable/pullbacks/, the output cotangent is overwritten to zero. Is there a way to avoid it?

Docs

Add table with backend allocation/mutation support to README
Add DifferentiationInterfaceTestExt docstrings to the (internal) API reference

Tests

Define fewer functions in DifferentiationTest: the only ones are test_operators_allocating and test_operators_mutating
Add inclusion-exclusion mechanism to select operators, mostly because some are type-unstable
Select default scenarios... by default

Codecov Report
Attention: Patch coverage is 98.82353% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 92.14%. Comparing base (be4f4a8) to head (ea2731e).

Files
Patch %
Lines

...faceEnzymeExt/DifferentiationInterfaceEnzymeExt.jl
50.00%
2 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #43      +/-   ##
==========================================
+ Coverage   91.14%   92.14%   +1.00%
==========================================
  Files          29       33       +4
  Lines         881      955      +74
==========================================
+ Hits          803      880      +77
+ Misses         78       75       -3

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


[Feature request] list all subscriptions/watched repositories

Description
It would be very nice if there would be an option to see all subscribed issues/pull requests and all repos you watch. GitHub uses https://github.com/watching and https://github.com/notifications/subscriptions to access these lists. Thanks!

Related: #5917

Hi!
I'd like to work on the first part of this issue (the lists for the subscriptions), but I found a problem where I'd need some help: the issue_watch table doesn't include issues if you wrote a comment on them or created them (i.e. never used the subscribe/unsubscribe button on the issue page). Since I would add this as a filter option on /issues, I'd like to know how this could implemented using the conditions of xorm.Session (like here).
Thanks for your help!


:bricks: Conform to libhal

Resolves #3

To get the unit tests to work, we have to make run.sh executable using chmod +x ./tests/run.sh

Will merge with tests breaking.


Need to set NEXTAUTH_URL and it's undocumented

Describe the feature
I need to set NEXTAUTH_URL, otherwise I get a warning in the console that it's not set and all callback urls are set to localhost. Here is what seems to work for me:
NEXTAUTH_URL=http://domain.local:port
baseURL or AUTH_ORIGIN=http://domain.local:port

See also this comment.
I couldn't get it to work with paths other than the default /api/auth.
Provider

[X] AuthJS
[ ] Local
[ ] Refresh
[ ] New Provider

Thank you for your comment @dword-design . I also faced with that issue and solved with using 'NEXTAUTH_URL' as you described

Hi @dword-design 👋
We are currently working on a rewrite of our documentation to better explain and outline all the nuances such as required environment variables! Thank you for opening an issue to raise more awareness of this!
I will ensure that this information is properly included and outlined in the new documentation 🥳

Hi @dword-design 👋
We just released the new docs. Please have a look at:

https://auth.sidebase.io/guide/advanced/deployment/self-hosted
https://auth.sidebase.io/guide/application-side/configuration#baseurl

That both go into more details about the usage of baseURL and AUTH_ORIGIN. I hope they give you a better overview of what environment secrets are needed!


Infinite loop detection

The sprig editor is not aware of when a user creates an infinite loop, which causes the editor to crash. the editor should display a warning or error if the user creates an infinite loop capable of crashing the editor.

Closing this as duplicate of https://github.com/hackclub/sprig/issues/1091 - also I am not sure how feasible it would be to actually detect infinite loops without potential false-positives


fix: fixed the broken link in README.md

There was a broken link in the README.md file. The  installation guideline link was not working and shows error 404.
This pull request fixes that bug. #912
It works perfectly fine now.
@thisthat

nice work @DivyanshuSonwal please signoff your commits also :)

Thanks, sure, I will do it.

I have created a PR for issue #912. Can you please review it @thisthat @thschue @bacherfl?


Add apt-get update

Codecov Report
Patch and project coverage have no change.

Comparison is base (0392582) 74.49% compared to head (08d82d8) 74.49%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##           master      #29   +/-   ##
=======================================
  Coverage   74.49%   74.49%
=======================================
  Files          17       17
  Lines        1145     1145
=======================================
  Hits          853      853
  Misses        292      292

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


Implementing iconURL method in PartialGuild

Please describe the changes this PR makes and why it should be merged:
• Adding iconURL method from Guild in PartialGuild to make the task easier (we must do https://cdn.discordapp.com/icons/<Guild ID>/<Guild icon>.<format>?size=<size> currently).
• It should be merged because there's no reason for why it shouldn't be, it would make the dev life easier and clean the code and it can't make conflict with other things.
Semantic versioning classification:

[X] This PR changes the library's interface (methods or parameters added)

[ ] This PR includes breaking changes (methods removed or renamed, parameters moved or removed)

[ ] This PR only includes non-code changes, like changes to documentation, README, etc.

lmao I put the method in setup accidentaly, lemme fix

tbh i'm planning to drop the partial guild object, this change might go wasted.

What would replace it ? It would go in the normal Guild object ?

ya


Make Release history properly formatted

The release history was hard to read with all the lines running together. I think a bulleted list reads more easily.

Closing as this project seems fairly abandoned now.


Better price rounding

Also upgrading configuration to emit es6 (this is needed to use Math.log10).

This is a followup to #98


Apply devonfw styling on antora docs

After integration with devonfw.com (#4), make sure, that antora is built against the devonfw sylesheet.

Changing color
Changing font


memimporter shellcode

Really just curious what changes were made to the c code before building it, or how it was built. I see based on the examples that simply running it through ctypes is getting it injected into the python builtins, is that additional code you had to add to it?

Trying to get it working with an x64 version, but what I built doesn't just get added to builtins with ctypes

Disregard, I figured out how to do it.


Implemented {Array, TypedArray}.prototype.{with, toReversed, toSorted} (#26, #27, #28, #29)

{Array, TypedArray}.prototype.toSorted #26
{Array, TypedArray}.prototype.toReversed #27
{Array, TypedArray}.prototype.with #28
Array.prototype.toSpliced #29

Thank you for the PR @shiroyk :bow: I will try to review it within the week

Ah ... unfortunately me merging some updates from goja made conflicts wiht tc39_test.go - can you please fix them

OK, I will add this PR to Goja.

Thank you for all the work @shiroyk :bow:
I merged the upstream changes  in #42  and will close this PR


Feat: add error event

Short description
Adds support for wavesurfer.on('error') event. This is helpful when building components where the file source is unknown at build time and you might want to hook into that event to display an error message.
Implementation details
It catches errors thrown by "Fetcher.fetchBlob" and emits it as an event named error
How to test it
yarn test -- --spec ./cypress/e2e/error.cy.js

Screenshots
Checklist

[x] This PR is covered by e2e tests
[ ] It introduces no breaking API changes
I think it's likely that this introduces a breaking API change if users previously relied on .create throwing an exception which is now caught and reported by .on('error').

One of the tests seems to be failing on this branch.


docker-project-aws.zip has no END header

FYI, trying to follow the great guide you wrote on your blog (https://abhinavcreed13.github.io/blog/docker-swarm-amazon-ec2-aws/); and at step 6 I'm hitting a road block with the zip not having an END header. So maybe the file is corrupt now?
[ec2-user@ip-172-31-36-120 ~]$ ls -al
total 300
drwx------ 4 ec2-user ec2-user    118 Nov 16 00:12 .
drwxr-xr-x 3 root     root         22 Nov 15 23:00 ..
-rw-r--r-- 1 ec2-user ec2-user     18 Jul 15  2020 .bash_logout
-rw-r--r-- 1 ec2-user ec2-user    193 Jul 15  2020 .bash_profile
-rw-r--r-- 1 ec2-user ec2-user    231 Jul 15  2020 .bashrc
drwx------ 3 ec2-user root         25 Nov 15 23:43 .cache
-rw-rw-r-- 1 ec2-user ec2-user 292226 Nov 16 00:12 docker-project-aws.zip
drwx------ 2 ec2-user ec2-user     29 Nov 15 23:00 .ssh
[ec2-user@ip-172-31-36-120 ~]$ sudo unzip docker-project-aws.zip
Archive:  docker-project-aws.zip
  End-of-central-directory signature not found.  Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive.  In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of docker-project-aws.zip or
        docker-project-aws.zip.zip, and cannot find docker-project-aws.zip.ZIP, period.

Also tried jar:
[ec2-user@ip-172-31-36-120 ~]$ jar xvf ./docker-project-aws.zip
java.util.zip.ZipException: zip END header not found
	at java.base/java.util.zip.ZipFile$Source.findEND(ZipFile.java:1637)
	at java.base/java.util.zip.ZipFile$Source.initCEN(ZipFile.java:1645)
	at java.base/java.util.zip.ZipFile$Source.<init>(ZipFile.java:1483)
	at java.base/java.util.zip.ZipFile$Source.get(ZipFile.java:1445)
	at java.base/java.util.zip.ZipFile$CleanableResource.<init>(ZipFile.java:717)
	at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:251)
	at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:180)
	at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:151)
	at jdk.jartool/sun.tools.jar.Main.extract(Main.java:1397)
	at jdk.jartool/sun.tools.jar.Main.run(Main.java:397)
	at jdk.jartool/sun.tools.jar.Main.main(Main.java:1689)

The size obviously isn't right, maybe an issue with wget. I'll just work with the scp method...
--2024-11-16 00:54:46--  https://github.com/abhinavcreed13/docker-load-balancer-ec2/blob/main/package/docker-project-aws.zip
Resolving github.com (github.com)... <IP_ADDRESS>
Connecting to github.com (github.com)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘docker-project-aws.zip’

    [   <=>                                                                                ] 292,219      599KB/s   in 0.5s

2024-11-16 00:54:47 (599 KB/s) - ‘docker-project-aws.zip’ saved [292219]

Closing since it's obviously an issue with the download I'm getting via wget.

Yup looks like the zip file is not properly downloaded.
All good, glad you found the guide useful 🙂

I see, it's related to how Github serves files
https://unix.stackexchange.com/a/387912

I would say easier to just download the zip and upload to your server for unzipping.


Resource ids are missing

Hi, apk is https://drive.google.com/file/d/18oqTR1m17f9lr9CyX9Zp8IesYn7gZyoU/view?usp=sharing
If you open res/res/values/strings.xml you will see that string ids were missed everywhere:
    <string name="">Redo</string>
    <string name="">Text</string>
    <string name="">Undo</string>

I believe it's an obfuscation trick, but it probably could be somehow fixed?

I've noticed that without flag --no-replace-consts it works fine

Hi, What is happening here is the names are actually empty so apk tool just replaces the name with their public id. You could generate random names for them to fix it.

@skylot
Sorry, didn't notice your comment. I think yes, why not :D I will fix it and submit a PR

A potential fix is in ResTableParser.parseEntry(),
+		if (keyName.isEmpty()) {
+			keyName = "key" + keyCounter++;
+		}
		ResourceEntry ri = new ResourceEntry(resRef, pkg.getName(), typeName, keyName);


React Native WebView Cross origin requests are only supported for protocol schemes: http, data, chrome, https

We're trying to load SPA app with Angular JS and HTMl in Android React Native WebView. The solution is working fine with Dev server but when we tried to load it in debug and release build it throws following error. We have debugged it in chrome and found that all the resources are loading except the html files. Only Index.html file is getting loaded.
Error in console:
Failed to load file:///android_asset/template.html:
Cross origin requests are only supported for protocol schemes: http, data, chrome, https.

We are loading local html file in RN WebView:
<WebView
  ref="webview"
  scalesPageToFit={true}
  source={{uri: 'file:///android_asset/www/index.html'}}
  javaScriptEnabled={true}
  domStorageEnabled={true}
  nativeConfig={{props: {webContentsDebuggingEnabled: true}}}
  setAllowFileAccessFromFileURLs={true}
  setAllowUniversalAccessFromFileURLs={true}
 />

We have tried to change the ReactWebViewManager.java under this path
MyReactProjectName\node_modules\react-native\ReactAndroid\src\main\java\com\facebook\react\views\webview\ReactWebViewManager.java we made following changes:
settings.setDomStorageEnabled(true);

settings.setAllowFileAccess(true);
settings.setAllowContentAccess(true);
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN) {
  settings.setAllowFileAccessFromFileURLs(true);
  setAllowUniversalAccessFromFileURLs(webView, true);
}

Tried the solution as explained here, still not able to load the required HTML file.
Is there any way to change ReactWebViewManager.java for local file access as RN WebView is not able to locate the local HTML file and throwing CORS Error??
React Native: 0.57

@Shan7anu did you found any solution for this? i am facing the same problem

@Shan7anu did you found any solution for this? i am facing the same problem

@notlose Duplicate of #21642


Specific YouTube Short plays fine, will not download

Version
v1.10.9
Platform
Windows 11
Steps to reproduce
https://www.youtube.com/watch?v=JQgKhZZyBYg
Details
Saw this comment on Hacker News and confirm that it won't download:
https://news.ycombinator.com/item?id=38831357
Checklist

[X] I have looked through existing issues to make sure that this bug has not been reported before
[X] I have provided a descriptive title for this issue
[X] I have made sure that this bug is reproducible on the latest version of the application
[X] I have provided all the information needed to reproduce this bug as efficiently as possible
[ ] I have sponsored this project

Update: this only fails if the MP4 copy is selected, the WEBM version works.

It appears the issue is that the best mp4 stream for this video returns 404 for some reason.


fix tokenizing for when subindexing into numpy arrays

[ ] Tests added / passed
[ ] Passes black dask / flake8 dask

fix for #5350

Thanks for the PR @henrypinkard .  It looks like a related test is now failing in CI.  You might want to take a look.

@mrocklin I spoke with Sebastian Berg (numpy developer) and made some changes which fixed the previous failing test.
I don't quite understand how the error with travis-ci is related to this PR though

I don't quite understand how the error with travis-ci is related to this PR though

This is a linting failure.  See https://docs.dask.org/en/latest/develop.html#code-formatting
Or run the following:
pip install black flake8
black dask
flake8 dask

got it, thanks!

Thanks @henrypinkard (and @seberg)!  This is in.


Standardize "future" OS versions on 99.99.

We had multiple different "future" versions for different OSes. Make them all the same for consistency.
rdar://101929999

@swift-ci please test

@swift-ci please test

@swift-ci please test

Looks like an update to LLVM will be needed:
<unknown>:0: error: invalid version number in '-target x86_64-apple-watchos99.99.0-simulator'
Assertion failed: (OsVersion < VersionTuple(10) && "Invalid version!"), function getDarwinDefines, file OSTargets.cpp, line 101.

And here's that assertion:
  // llvm-project/clang/lib/Basic/Targets/OSTargets.cpp:100
  } else if (Triple.isWatchOS()) {
    assert(OsVersion < VersionTuple(10) && "Invalid version!");

CC: @drexin

Looks to have been handled over on rebranch: https://github.com/apple/llvm-project/blob/stable/20221013/clang/lib/Basic/Targets/OSTargets.cpp#L73 by https://github.com/apple/llvm-project/commit/e039490a684067 .

That explains it! I'll try again with that.

@swift-ci please test


Aks disable Keda

About this document
https://github.com/MicrosoftDocs/azure-docs/blob/main/articles/aks/keda-deploy-add-on-cli.md
if you have any kind of Keda CRDS installed in the cluster, the command to disable will not disable KEDA.

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

ID: da5ed58f-f6df-731d-9317-1bd85ddfe5cb
Version Independent ID: 6f07ac8d-6434-684a-2088-a207485db110
Content: Install the Kubernetes Event-driven Autoscaling (KEDA) add-on by using Azure CLI - Azure Kubernetes Service
Content Source: articles/aks/keda-deploy-add-on-cli.md
Service: container-service
GitHub Login: @raorugan
Microsoft Alias: raorugan

@seilorjunior
Thanks for your feedback! We will investigate and update as appropriate.

@seilorjunior
Thanks for bringing this to our attention.
I'm going to assign this to the document author so they can take a look at it accordingly.

@raorugan
Can you please check and add your comments on this doc update request as applicable.

Hello,
First you need to remove all the manifest that have CRDS from KEDA and after that you will be able to remove KEDA.
@raorugan @AjayBathini-MSFT @ManoharLakkoju

@seilorjunior
Thanks for the Inputs.
We are going to close this thread as resolved but if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.

but the documentation is not updated, you need to add the steps to remove de crds first


Switch to admiral IPAM

Thanks.

Thanks.

Oops, sorry, I should have checked! I did this to get things cleaned up for #3144.


chrome.exe got deleted from ungoogled-chromium folder. so i rename ch…

…romium.exe.

Bug fixes with the export script; removed most of the script crash errors when no choice is selected


Fix coding style of EVP_PKEY_CTX_ctrl_uint64

Code review of @dot-asm pointed out style guide violation; this patch
fixes it.
Found by review: https://github.com/openssl/openssl/pull/4026#pullrequestreview-56311801

pushed to master; closing


Appconfig support for iOS and Android

Summary
Added support for AppConfig for iOS and Android so EMM providers can use it to configure the app.
The following is a list of the things that have been implemented

Key
Description
Default Value
Type
iOS support
Android for work support

inAppPinCode
Locks the app so the user needs to validate as the owner of the phone, it will prompt for fingerprint or passcode
false
string
Yes
Yes

blurApplicationScreen
Protects app on screen information while the app is in the background. On Android it also prevents taking screenshots from the app
false
string
Yes
Yes

jailbreakDetection
Disable app launch on Jailbroken or rooted devices
false
string
Yes
Yes

copyAndPasteProtection
Disables the ability to copy or paste from any input in the app
false
string
Yes
No

serverUrl
The Mattermost server URL users will be connecting to

string
Yes
Yes

allowOtherServers
Allows the user to change the above server URL
true
string
Yes
Yes

username
Set the username or email address to use to authenticate

string
Yes
Yes

vendor
Name of the EMM vendor or company deploying the app so the users are aware the app is being protected
Mattermost
string
Yes
Yes

Ticket Link
https://mattermost.atlassian.net/browse/RN-287
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] Includes text changes and localization file updates

Device Information
This PR was tested on:

iOS 10.3.2 iPhone 6s
Android 6.0.1 Samsung J5

EMM providers

MobileIron
BlackBerry Dynamics
AirWatch (pending)

Added some comments to your Java work, mostly concerned with accessing static variable that might not have been initialized. In general, this is discouraged in Java. Otherwise, looks good.

Java and JS code look good (other than the stuff Jonathan pointed out). No idea what the Objective-C is doing

@MusikPolice @hmhealey changes made.


TypeError: conv2d_transpose() got an unexpected keyword argument 'dilations'

conv2d_transpose dilation support is added in v1.7.3. Please update your RKNN-Toolkit and try again.


Installing piranha to standard paths breaks the system

Well... I was just trying to check out this software and I tried to do it right and package it for my operating system.
I've changed the prefix to /usr as usual (and also patched piranha to use more standard paths like /var/lib/piranha, /usr/share/man, /var/log, etc., and respect DESTDIR in the makefile to support installing into a temporary install directory for packaging, but that isn't relevant in this case) and merged the package into my system. Piranha failed to start with some error message (something with socket, I don't have the respective terminal open anymore, but it isn't relevant to this case either).
The command to start piranha was sudo /usr/bin/piranhactl start (as I said, I installed to standard system paths).
After that I had to notice that sudo didn't work anymore and I had to manually fix it by running:
$ su -
# chown root:root /usr/bin/sudo
# chmod 4755 /usr/bin/sudo

Then I had a look at the source code and noticed something very dangerous:
https://github.com/spale75/piranha/blob/7bedeeedbab2a2718a296f0436f7eae56e96f965/src/p_piranha.c#L86
This causes piranha to chown() the whole /usr directory as during configuration --prefix=/usr was set, causing -DPATH=/usr to be set as compiler parameter and thus causing this line to chown /usr.
This is very dangerous.
--prefix is a standard configure option which is used for build systems to differentiate between a local installation (where not package manager is used) to /usr/local and a package manager installation to /usr. To abuse this option in a different way is not only confusing (at least my system broke because of that), but dangerous. You chowned the whole /usr tree to nobody. I was lucky to have a root password and that /bin/su wasn't affected by this. Otherwise my system would have been become more or less unusable without breaking into it using a live ISO.
--prefix is meant to point to an installation prefix for files which do not change and the only software that applies any changes in the prefix directory should be the package manager, not a service executable. You should use a different location inside /var (like /var/lib/piranha – the home directory of the system user piranha) for variable files.
If you don't intend to make piranha installable system-wide, please deprecate and remove the --prefix option so other people don't get confused again.
My personal suggestion is retrieving the various paths via command line parameters ant configure time with sensible defaults, like /usr/local als prefix, /var/lib/piranha as variable files directory, /var/log/ as logging directory, etc. and moving any necessary chown calls from runtime to the install phase where in most packaging systems all calls happen in a sandboxed or otherwise secured environment without causing harm to the system. That way, package managers can also detect collisions with the installed directories' owner/group/umask settings and report a possible misconfiguration.
Please forgive me that I could write only bad things in this issue, but this is a very dangerous matter and because of this I am currently not very motivated to do any further testing of your software as I don't want to risk further problems with my system. The current state of this software makes it too dangerous for me to use it.

Hello @NexAdn,
Thanks for the extensive report and all the efforts you put in it. You are absolutely right and I'll fix it for the next release 1.1.5.


WIP Adding OpenMM as an optional MD engine

Hi @tristan-j-wood , this is a first draft at implementing OpenMM as the MD engine for MLP-train.
Currently it only works with MACE and I have only tested it with the water example. But for that case it seems to work.
I have implemented it by writing an extra md module: mlptrain.md_openmm.run_mlp_md_openmm
And adding a keyword argument to the active learning to specify OpenMM or ASE (the Default) as the MD engine:
mace.al_train(..., md_program="OpenMM")

Here is an example that runs on Colab: https://colab.research.google.com/github/sef43/mlp-train/blob/main/examples/water_openmm_colab.ipynb
Once we know that it works for you we can add in more of the functionality of the ASE backend.

This is marked as WIP by the author – I don't think it should be merged yet!


Check for gnuisms

Make sure we're not relying on GNU only bits (sed options?)

sed looks okay, bsd and gnu sed both support "-n"

Your use of sed is causing trouble for us:
sed: -e expression #1, char 5: invalid usage of line address 0

is all I get back when I run this command:
qbatch --logdir ./ -N qap-test --walltime 1:00:00 qap-cmds

I can make the error go away by using -b local

Thanks for the report. Okay, let's try to reproduce this. Can you send us the script that's being , e.g. .qbatch/qap-test.array. Depending on the version of qbatch you're using (can you tell us that also), you may find that file in the folder .scripts/. Also, what python version and OS are you running this with?

@gdevenyi, from poking around sed a bit, I can get the same error if I run sed -n 0,+1p file.txt. sed doesn't like a 0 as the first address (under most circumstances). We should never have a 0 in the first address, because $(( (${ARRAY_IND} - 1) * ${CHUNK_SIZE} + 1 )) > 0 if ARRAY_IND and CHUNK_SIZE are > 0. which they must be... unless perhaps ARRAY_IND isn't being set properly and returning blank (i.e. old code with bug #62?).
Side note: which reminds me, maybe we should set -u in the scripts to fail on unset variable expansions, but we'll have to chat a bit more about how to implement #56 if this isn't supported in all shells.

@josephdviviano can we get a copy of the script that qbatch generates? (either in .scripts/qat-test.array or .qbatch/qap-test.array)

Sure, see attached .zip.
I'm wondering if this line ARRAY_IND=$PBS_ARRAYID is the problem, as we're not running PBS. I'm guessing I just need to specify SGE in my call to qbatch.
If this is true it might be good for the program to check that you have the correct queue system running, and error out if not, instead of throwing this error.
qap-test.array.zip

@pipitone I believe this might be related to #62 but this is a very recent pull of the code (last few days), so it must be slightly different.

@josephdviviano did this job get properly run as an array job?
Did you get an error for all 1612 slices?

@pipitone I see two possible problems that could cause this, somehow ARRAY_IND is undefined, or somehow the order of operations is evaluating to 0 instead of 1. We can force an order of operations with some more brackets.
@josephdviviano is this error reproducible?

Hi Gabe,
Not sure about the array job thing. A single job is submitted to the queue
and fails immediately.
The error is reproducible. I originally thought it had something to do with
the code we are trying to run, but later realised I could get around this
error by running qbatch in local mode.
Joseph's Phone
On 12 Sep 2016 11:56, "Gabriel A. Devenyi"<EMAIL_ADDRESS>wrote:

@josephdviviano https://github.com/josephdviviano did this job get
properly run as an array job?
Did you get an error for all 1612 slices?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/pipitone/qbatch/issues/57#issuecomment-246395158, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AD816nb7GmiVlVSmPlEG9Jy3vvG38Ej-ks5qpXZDgaJpZM4H2s8l
.

qbatch constucts job arrays, see the header bits of "#PBS -t 1-1612"
It's one "job" with 1612 slices inside it.
Do you get 1612 errors, or one?

Just one.

This looks like it might be a torque bug then.
Before we go there, can you please try this stripped down command:
qbatch -N qap-test --walltime 1:00:00 qap-cmds

Same thing:
sed: -e expression #1, char 5: invalid usage of line address 0
is all I get.

The problem is that qbatch does not know it should be using SGE to submit jobs, and it defaults to using PBS/Torque. That's why PBS_ARRAYID is empty. @josephdviviano try giving qbatch --b sge and let us know what happens.

ahem -b sge

Hrm, should the qbatch module define that?
@josephdviviano are you using qbatch without a properly configured install?

See https://github.com/pipitone/qbatch#environment-variable-defaults

Yeah, if you look in the array job there are no QBATCH_* variables exported, so I suspect qbatch hasn't been properly configured.

Ah I see. Yeah I didn't configure anything.
Might be good to have your code throw errors if qbatch been configured. This is a pretty confusing bug for an average user.

@josephdviviano In the klab, SCC, and on scinet, are qbatch modules. If you load one of those before you set up your local install of qbatch, your environment will be set up correctly. In any case, I've created issue #133.

@gdevenyi, since we're allowing different shells #111, how about we flip the shell to /bin/sh by default so that any bashism get caught upfront, and then close this for now?

Merged.


Invalid contact details, or should fullname and email be optional ?

Hi,
The nmrML/Makefile now supports the target
make examples/MTBLS1/nmrMLs/ADG10003u_007-jnmrML.nmrML
which calls
tools/Parser_and_Converters/Java/converter/bin/nmrMLcreate -b -z -t bruker -i ./examples/MTBLS1/FIDs/ADG10003u_007/10/  | tools/Parser_and_Converters/Java/converter/bin/nmrMLproc -b -z -t bruker -d ./examples/MTBLS1/FIDs/ADG10003u_007/10/pdata/1/ -o ./examples/MTBLS1/nmrMLs/ADG10003u_007-jnmrML.nmrML

When you afterwards call
 make validate-mtbls1

which runs
 xmllint --noout --schema xml-schemata/nmrML.xsd examples/MTBLS1/nmrMLs/ADG10003u_007-

jnmrML.nmrML
then xmllint chokes because of
     <contactList>
         <contact id="ID00001" fullname="mse" email="mse@UKT01948"/>
         <contact id="ID00103"/>
     </contactList>

since fullname and email are mandatory attributes of < contact > @wilsonmichael ,
should we make the attributes optional, sometimes this might not be available,
and implementers could fall back to fullname="" and email="". Or should @djacob65 fix the converter
to skip "empty" contacts ? And @djacob65, what are these mse@UKT01948
in first place, doesn't look like valid eMail to me. Was that entered by @rsalek into MTBLS1 ?
Yours,
Steffen

Hi Stephen,
I propose a suggestion to solve this kind of issue:
we could propose an optional user parameter file (as an input config file
to the nmrMLcreate tool) to define some values, like:
contact,
pH,
buffer,
...
But we have to decide what to do if :

if this optional file not specified: the corresponding section will not
be filled, OR filled with default values, including the "blank" value
applying the same choice if this optional file specified but some
parameters not specified.
Within the online web tool, the user could define theses parameters before
the conversion.

Cheers
Daniel J.
2015-03-05 13:26 GMT+01:00 sneumann<EMAIL_ADDRESS>
Hi,
The nmrML/Makefile now supports the target
make examples/MTBLS1/nmrMLs/ADG10003u_007-jnmrML.nmrML
which calls
tools/Parser_and_Converters/Java/converter/bin/nmrMLcreate -b -z -t bruker -i ./examples/MTBLS1/FIDs/ADG10003u_007/10/  | tools/Parser_and_Converters/Java/converter/bin/nmrMLproc -b -z -t bruker -d ./examples/MTBLS1/FIDs/ADG10003u_007/10/pdata/1/ -o ./examples/MTBLS1/nmrMLs/ADG10003u_007-jnmrML.nmrML
When you afterwards call
make validate-mtbls1
which runs
xmllint --noout --schema xml-schemata/nmrML.xsd examples/MTBLS1/nmrMLs/ADG10003u_007-
jnmrML.nmrML
then xmllint chokes because of
 <contactList>
     <contact id="ID00001" fullname="mse" email="mse@UKT01948"/>
     <contact id="ID00103"/>
 </contactList>

since fullname and email are mandatory attributes of . @wilsonmichael
https://github.com/wilsonmichael ,
should we make the attributes optional, sometimes this might not be
available,
and implementers could fall back to fullname="" and email="". Or should
@djacob65 https://github.com/djacob65 fix the converter
to skip "empty" contacts ? And @djacob65 https://github.com/djacob65,
what are these mse@UKT01948
in first place, doesn't look like valid eMail to me. Was that entered by
@rsalek https://github.com/rsalek into MTBLS1 ?
Yours,
Steffen
—
Reply to this email directly or view it on GitHub
https://github.com/nmrML/nmrML/issues/124.


Azure AD B2C_Single Sign out

Hi all,
Our team has used Azure B2C- User flow- Open ID Connect to build the Single-sign on. Now, when moving to the Single Sign out, we have some issues.
We follow the instruction of Azure doc, but it doesn't work functionally wherein other applications under the same tenant does not simultaneously sign out as they are supposed to be.
Since we can not find any Azure doc showing the detailed steps for the configuration, we are wondering which steps we have done incorrectly.

So, does anybody know the Azure doc of Single Sign out _ Open Connect ID configuration ?

Can you please show us how to check whether that " Microsoft identity platform sends an HTTP GET request to the registered LogoutUrl of all the applications that the user is currently signed in to"  is successfully completed ?

Is there any way that we can figure out whether the Azure session is still valid or expired ?
Many thanks for your help
Tammy

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

ID: 0d3746e5-5147-d996-ba4f-350fd1d086ef
Version Independent ID: afff03f1-16c3-9866-39b0-bdddd0e55d7d
Content: Microsoft identity platform and OpenID Connect protocol - Microsoft identity platform
Content Source: articles/active-directory/develop/v2-protocols-oidc.md
Service: active-directory
Sub-service: develop
GitHub Login: @hpsin
Microsoft Alias: hirsin

Hey there,
These are the docs for AAD, which operate slightly differently from B2C.  @nickgmicrosoft can you direct to the right doc?

@hpsin @nickgmicrosoft Would like to check whether to have any update on this issue please ?

#please-close


lexicon CLI HOWTO when updating packages

I tried updating my fork to use the latest version of the @atproto packages, but there are lexicon changes that seem to be required (and fixed). I'm fine fixing them on my own, but I'm not 100% sure how to use the @atproto/lex-cli package to update the src/lexicon directory properly.
Could someone explain it? Happy to update the README as a PR afterwards.

I just ran into this issue myself. Here's what I've done to get things working after updating all @atproto packages to their latest versions. Note: I also indulged in some hubris and upgraded yarn to 3.6.1 using the 'node-modules' nodeLinker which added some complexity so you may not need to do it exactly like I did when it comes to how you reference the lex-cli commands.
Clone the https://github.com/bluesky-social/atproto repo and run yarn install.
The lex-cli is now available at ./node_modules/.bin/lex
Run ./node_modules/.bin/lex gen-server ./output lexicons/**/*.json. The first argument to lex gen-server is just the directory you want to spit the resulting files out to and I just called it output arbitrarily. Could be wherever you want.
You'll be prompted with a list of the files to be generated and asked if you want to continue. Hit y, then enter. It will think for a second and then declare API generated.
In your output folder, or whatever you named it, you'll find a directory called types, and three files: index.ts, lexicons.ts, and util.ts. Copy all of these and then go to your feed-generator repo.
Delete the contents of the src/lexicon directory, then paste in the files you just generated.
Run yarn start and you should have the firehose streaming in your console.


Gradle Build Hanging

The Gradle build process when attempting to run spring project encounters deadlock. Any help or suggestions are appreciated!
My Setup
IDE: IntelliJ 2020.2
JDK: JDK 8
Operating System: macOS Mojave 10.14.6 (18G6020)
Branch: master
Attempted Fixes

clear .gradle folder in home directory and project folder
Invalidated caches within IntelliJ IDE
Rebooted system
Running with sudo

None of the actions helped.
Information
./gradlew bootRun --debug yields the following output log.txt
jstack 38832 yields the following process stack trace jstack_out.txt
38832 ttys000    0:05.18 /usr/bin/java -Xdock:name=Gradle -Xdock:icon=/Users/dustink/Projects/opensource/java/sagan/media/gradle.icns -Dorg.gradle.appname=gradlew -classpath /Users/dustink/Projects/opensource/java/sagan/gradle/wrapper/gradle-wrapper.jar org.gradle.wrapper.GradleWrapperMain bootrun --debug

./gradlew check yields check.txt

If you want to run one of the applications hosted in this repository, you'll need to follow the instructions here.
You should probably be running ./gradlew :sagan-site:bootRun and ./gradlew :sagan-renderer:bootRun in different terminals.

If you want to run one of the applications hosted in this repository, you'll need to follow the instructions here.
You should probably be running ./gradlew :sagan-site:bootRun and ./gradlew :sagan-renderer:bootRun in different terminals.


automation: Development environment script

Introduce automation/cluster.sh script, it enable creating ephemenral k8s cluster for development using ovn-org/ovn-kubernetes repo scripts.
It creates single node Kind cluster with OVN-Kubernetes, Multus and Kubevirt.
kind.sh parameters:
'--experimental-provider is set to make kind.sh work with the correct
container runtime binary that is spesified by 'OCI_BIN'.

kind.sh create Kind cluster with one control-plane and two workers by default, set --num-workers to create single cluster node.

Worker num can be increased later on if more than one nodes is necessary.

The parameter --multi-network-enable is set to deploy Multus.

How to use:
Setup:
./automation/cluster.sh --cluster-up
Teardown:
./automation/cluster.sh --cluster-down

Can you please add a Makefile? To make cluster-up and make cluster-down.

Can you please add a Makefile? To make cluster-up and make cluster-down.

Done


Update to 1.7? Progress check?

Hey! I love this mod that is being developed, I was wondering if this mod was still in development too. 1.7 came out not too long ago, so it would be great if it could get released any time soon. The mod looks great, keep up the good work!
I run with a Samsung Windows Mixed Reality headset.
I7 4790k processor.
GTX 1070 Founder's Edition.
Good FPS, Low settings.

Oh nice! Thanks for letting me know, I didn't realize it already came out. I think I can at least re-build the mod for 1.7 this weekend. Shouldn't be too hard. I know there are other outstanding issues but I may not be able to address those. Stay tuned

Thanks for that. Something useful would be an adjustable hand size option if possible.

Thanks for that. Something useful would be an adjustable hand size option if possible.

Agreed, I hope to get around to making this happen soon.

Closed via new release


loaded alert is wrong. preload possbile?

alert(window.unityads.loadedRewardedVideoAd()); is giving me inconsistent results. it says false but plays fine. is something not quite right?
Is it possible to implement a preload command?

Hello?

On android rewarded video is never loading.


Automatic lockFiles detection?

First of all, thank you for this project. Building .NET in Nix finally resembles something I would like to use, and your project might be the last piece I need.
I am still trying to make this work, but do you think it would be possible to not have to explicitly state package.lock.json locations, so it's even easier to set up and get going?
It would also be great if you could somehow make this project part of any of the many Nix docs. The .NET community is huge, and being able to build your solution with just a few lines of Nix code might be something that brings some of the .NET developers over to the Nix side. I gave up a few months back due to the fiddling with NuGet dependencies and Nix generation.
It might also be worth mentioning https://devblogs.microsoft.com/nuget/introducing-central-package-management somewhere in the README so people have bit easier time managing their deps versions.
Lastly is any of the new build options https://learn.microsoft.com/en-us/dotnet/core/deploying more preferable than others when building?

This is what copilot spit up
lockFiles = builtins.filter (path: builtins.hasSuffix ".lock.json" path) (builtins.attrNames (builtins.readDir ./api/BidClick));

lets see if it works...

With help of both copilot and chatgpt I came up with
builtins.filterSource (path: type: type == "regular" && baseNameOf path == "packages.lock.json") ./.

gpt-4 and I will be able to write nix

Hey, nice to see you found this useful!

I am still trying to make this work, but do you think it would be possible to not have to explicitly state package.lock.json locations, so it's even easier to set up and get going?

Yeah, I had some problems with finding those lockfiles automatically, but if you figure it out, PRs welcome :)

It would also be great if you could somehow make this project part of any of the many Nix docs. The .NET community is huge, and being able to build your solution with just a few lines of Nix code might be something that brings some of the .NET developers over to the Nix side. I gave up a few months back due to the fiddling with NuGet dependencies and Nix generation.

This repo is pretty experimental, so I designed it as a flake drop-in. I don't think including this in nixpkgs will be useful, since none of the packages in nixpkgs that use buildDotnetModules have package locks commited. It's more useful for end-users building their private projects with Nix, so I believe its best left as a separate flake or included in a larger project like dream2nix.

It might also be worth mentioning https://devblogs.microsoft.com/nuget/introducing-central-package-management somewhere in the README so people have bit easier time managing their deps versions.

This is pretty useful, but not necessary for this to work and therefore unrelated.

Lastly is any of the new build options https://learn.microsoft.com/en-us/dotnet/core/deploying more preferable than others when building?

There's no much difference. When deploying to non-Nix platforms (ie. a Windows binary), a self-deployed build is preferable, so that you don't have to manage system depedencies.
On Nix, framework-dependant build is preffered, since dependencies are no problem, and you can potentially benefit from deduplication of .NET binaries in /nix/store, if multiple .NET apps are installed in the system.

Good points I'll check the dream2nix it seems like it would be great fit even more so with automatic lockfiles discovery. Thank you for answer I'll close this for now and give PR a try in the future if I manage to make it work.


Other ways to connect js-waku browser to tcp nim-waku

Problem
If there are unsolvable issues using go-waku as the remote node, then we need to think of alternatives to connect js-waku browser to the nim-waku test fleet
Solution

NodeJS node that provide relay and forward store waku requests
NodeJS node that implement a wrapper protobuf protocol that just wrap all requests that forward to nim-waku
Use a middleware that wrap tcp connections in SSL + WS the same way that we use nginx to wrap WS connections with SSL.

Boom https://github.com/novnc/websockify

Solution 3. using websockify:

websockify can be run to wrap a tcp connection in both plain websocket and secure websocket.
websockify works with letsencrypt certificates.
When websockify runs with ssl, it can also accept plain connection on the same port

Tested as working

websockify serving secure websocket using letsencrypt on port 443,
websockify serviving plain websocket with nginx providing ssl layer using reverse_proxy.

To run with letsencrypt certificates:
sudo websockify --cert ./node-01.do-ams3.jdev.misc.statusim.net/fullchain1.pem --key node-01.do-ams3.jdev.misc.statusim.net/privkey1.pem <IP_ADDRESS>:443 <IP_ADDRESS>:30303

Issues
It does not seem possible to connect to a port different than 443 with secure websockets using Firefox, command line clients such as websocat, js-waku in the browser or in node or even [https://www.websocket.org/echo.html]. There seems to be some restrictions that I have not been able to track down.

Using websockify is good enough for now. May re-open if further investigation or trials are needed.


Implemented 'keys add' and 'keys list' commmands

Closes: #363
Description
This PR includes the implementation of the keys add and keys list commands on the relayer. Changes:

Removed all the -k parameter from the tx commands. So not key_seed.json file needs to be specified for a tx raw command
Refactored keybase logic to simplify methods, it has now the chain config so most parameters are used from the config
Implemented a keys add command. Basically this adds the key_seed.json file on a folder $HOME/.rrly. The file will be saved with the key_name parameter specified in the config (e.g. testkey.json).
The key file is stored un-encrypted for now. No integration at this time with an OS keyring that would safely store the file. Once the keyring logic is properly implemented then this file can be properly stored in a secure way. For now, the purpose is just to simplify the logic for the tx raw commands.
Added instructions on relayer-cli README.md file
Also implemented a keys list command that can be used to list the key configured for a chain

For contributor use:

[X] Updated the Unreleased section of CHANGELOG.md with the issue.
[ ] If applicable: Unit tests written, added test to CI.
[X] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
[X] Updated relevant documentation (docs/) and code comments.
[X] Re-reviewed Files changed in the Github PR explorer.

Codecov Report

Merging #408 (15eb796) into master (b1b37f5) will increase coverage by 20.5%.
The diff coverage is 67.0%.

@@            Coverage Diff            @@
##           master    #408      +/-   ##
=========================================
+ Coverage    13.6%   34.2%   +20.5%
=========================================
  Files          69     159      +90
  Lines        3752   10620    +6868
  Branches     1374    3915    +2541
=========================================
+ Hits          513    3633    +3120
- Misses       2618    6349    +3731
- Partials      621     638      +17

Impacted Files
Coverage Δ

modules/src/events.rs
0.0% <0.0%> (ø)

modules/src/ics02_client/events.rs
0.0% <ø> (ø)

modules/src/ics02_client/msgs.rs
0.0% <0.0%> (ø)

modules/src/ics02_client/raw.rs
0.0% <0.0%> (ø)

modules/src/ics03_connection/error.rs
13.6% <0.0%> (-19.7%)
:arrow_down:

modules/src/ics04_channel/error.rs
75.0% <ø> (+50.0%)
:arrow_up:

modules/src/ics04_channel/msgs/acknowledgement.rs
0.0% <0.0%> (ø)

modules/src/ics04_channel/msgs/chan_open_try.rs
67.6% <ø> (ø)

modules/src/ics04_channel/msgs/recv_packet.rs
0.0% <ø> (ø)

modules/src/ics04_channel/msgs/timeout.rs
0.0% <ø> (ø)

... and 293 more

Continue to review full report at Codecov.

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

I noticed that with other PRs merged to master this PR got broken again, I will fix this one again so it can be merged

Found some issues while testing. I can only submit transactions on one chain (ibc0 of stargate-4/ gaia setup with Go relayer). For the other one the account is not recognized. Not sure why, will try to debug.
Also not sure why the protos had changed compared with master.

I've changed to ibc-0 because I was testing against the latest Go relayer release that now is on https://github.com/cosmos/relayer. For some reason their scripts to start two chains changed the chain-id to ibc-0. But if we are not using that to test then we can revert back to ibc0.
Concerning the transactions, please make sure you add the right key for each chain. So you should have a key_seed.json for each chain, after you add them you should see something like this under your $HOME/.rrly folder
$tree $HOME/.rrly
$HOME/.rrly/
└── keys
    ├── ibc-0
    │   └── keyring-test
    │       └── testkey.json
    └── ibc-1
        └── keyring-test
            └── testkey.json

But each testkey.json should have different contents. You can verify by doing:
relayer -c relayer-cli/tests/fixtures/two_chains.toml keys list ibc-0
keys list result:  "chain: ibc-0 -> testkey (cosmos1hkza0857rpkfl4uvwptv87he5t7f9g5v5yel7r)"

relayer -c ./relayer-cli/tests/fixtures/two_chains.toml keys list ibc-1
keys list result:  "chain: ibc-1 -> testkey (cosmos1hud8teqlrzw6zstnz3vf2qns547enm26ul22fw)"

which should display different addresses. Then the transactions should be signed with the key for the chain (right now there's no way to use more than one key per chain). If you have the right setup and still not working then might be a bug in the logic.

Concerning the transactions, please make sure you add the right key for each chain. So you should have a key_seed.json for each chain, after you add them you should see something like this under your $HOME/.rrly folder

yes, I did that. All accounts and keys seem fine and I doubled checked they are the same as the ones from the Go relayer seed files. Does this work for you? Having both chains accepting transactions?

I've changed to ibc-0 because I was testing against the latest Go relayer release that now is on https://github.com/cosmos/relayer. For some reason their scripts to start two chains changed the chain-id to ibc-0. But if we are not using that to test then we can revert back to ibc0.

Yes but for the latest (stargate-5) we need a number of changes in ibc-rs and tendermint-rs (I made changes for this on anca/stargate-5 on both). With current we cannot do proper client, connection and channel handshakes. IIRC only ConnOpenInit works.

Concerning the transactions, please make sure you add the right key for each chain. So you should have a key_seed.json for each chain, after you add them you should see something like this under your $HOME/.rrly folder

yes, I did that. All accounts and keys seem fine and I doubled checked they are the same as the ones from the Go relayer seed files. Does this work for you? Having both chains accepting transactions?

I figured what went wrong. From previous testing I had some sections [[chains.peers.light_clients]] in the config file and for ibc1 one of the client peers was configured with the port of ibc0. This caused the transaction to be sent to ibc0. I will still have to investigate why, as the rpc address was correctly configured and the light clients are not currently started with the CLIs.
The good news is that your changes work, I tested almost all CLIs. The problem is that master is now broken after the upgrade to tokio 0.3 (compiles but CLIs are broken)  so we should fix that before we merge your PR.


Major Update alias.js (w/ slight organization)

A lot of these I found were fairly common and surprised they weren't there. Some Pokemon have multiple because I've seen them spelled differently. If you have any questions about some, just ask.

Once again, someone else needs to approve aliases; I won't

Reuni, pert, mamo, darm, chandy, and maybe pex are the only ones I see useable

Hm not Amoon? I never see people spell out Amoonguss...

Unmaintained.


visitor counter

see https://food.felf.io/ -- the daily user counter either does not reset or counts rather strange.

It does not reset.
@mrukas executed a command for daily reset on the Redis instance of our beloved past server. I thought it to be in the code, but apparently it isn't. So we have to execute it once manually on the new server. Ask @mrukas about it. ;)

fix'd by resetting the daily counter. The trigger for starting daily reset is in the code and bound to value == 1.


[Hub Generated] Review request for Microsoft.AppPlatform to add version stable/2020-07-01

This is a PR generated at OpenAPI Hub. You can view your work branch via this link.
Contribution checklist:

[x] I have reviewed the documentation for AME onboarding.
[x] Validation tools have been run on swagger spec(s) updated and errors have all been fixed with this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist
Private PR has been signed off by ARM: https://github.com/Azure/azure-rest-api-specs-pr/pull/1627

[x] Service team MUST add the "WaitForARMFeedback" label if the management plane API changes fall into one of the below categories.

adding/removing APIs.
adding/removing properties.
adding/removing API-version.
adding a new service in Azure.

Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.

[ ] If you are blocked on ARM review and want to get the PR merged urgently, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Please follow the link to find more details on PR review process.

/azp run automation - sdk

Can one of the admins verify this patch?

/azp run automation - sdk

/azp run automation - sdk

@majastrz , would you please help to sign off this PR? The content of this PR actually has been already signed off in private repo here https://github.com/Azure/azure-rest-api-specs-pr/pull/1627. Thank you!

/azp run automation - sdk

/azp run automation - sdk

Could you please also add a new tag entry in the readme.go.md since you are requesting this package to be released in go SDK?

@ArcturusZhang Thanks, just updated.

/azp run automation - sdk

/azp run automation - sdk

/azp run automation - sdk


chore(deps): upgrade dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-k8s-23-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 982

Questions ?
Please refer to the Backport tool documentation


Getting "ValueError: Cannot create a tensor proto whose content is larger than 2GB." for smaller sequences

Hello! I'm getting the error "ValueError: Cannot create a tensor proto whose content is larger than 2GB." when running AlphaFold jobs for proteins longer than ~650 residues. I have tried using --max_template_data=1900-01-01 in order to limit MSA size, but this has not helped. I using 1 GPU, 8 CPU cores, and 150GB memory on my university's supercomputer. I am not interested in using --preset=reduced_dbs. Thanks!!

Hi, would you mind sharing your input sequence and/or the MSA size? We wouldn’t expect to see this error from inputs of that length but there have been a few other reports like this, so we would like to investigate it further.

Hi, would you mind sharing your input sequence and/or the MSA size? We wouldn’t expect to see this error from inputs of that length but there have been a few other reports like this, so we would like to investigate it further.

Here is a link to a Google Drive folder containing the .fasta file and .a3m file for my AlphaFold job: https://drive.google.com/drive/folders/1bGS80lNFlo9xUDXQs71K5im_1ZihBPut?usp=sharing
If there are any more files or contextual information that I should provide, please let me know! Thanks so much for taking a look at my issue.

same issue here.

Hi,
I have the same issue:

sp|Q9H222|ABCG5_HUMAN, as a control run for my install; this protein is in the afold db.
approx. 650 a.a., --preset=reduced_dbs

I0803 14:46:22.664624<PHONE_NUMBER>80320 run_docker.py:193] I0803 12:46:22.663788<PHONE_NUMBER>13952 run_alphafold.py:142] Running model model_1
...
I0803 14:46:23.571433<PHONE_NUMBER>80320 run_docker.py:193] File "/opt/conda/lib/python3.7/site-packages/tensorflow/python/framework/tensor_util.py", line 528, in make_tensor_proto
I0803 14:46:23.571529<PHONE_NUMBER>80320 run_docker.py:193] "Cannot create a tensor proto whose content is larger than 2GB.")
I0803 14:46:23.571625<PHONE_NUMBER>80320 run_docker.py:193] ValueError: Cannot create a tensor proto whose content is larger than 2GB.

If I run with a shorter segment, ~280a.a. I have a nice result.

It seems for me that not the protein length was my problem. I got my shorter segment by removing a domain, which is highly conserved. The alignment and feature files with the highly conserved domain were extremely large (over 5GB). However, I do not understand why this is happening and this did not happen when deepmind generated the structure for this protein.

Would it be recommended (or not recommended) to tweak either of these parameters to deal with this error?  (I am facing it with 1200 a.a. sequences)
mgnify_max_hits: int = 501
uniref_max_hits: int = 10000

Following

@abridgland A similar error, I don't think it's the residue size. I successfully folded a giant protein with 4,800 sequences without an issue. but now getting error on a lower chain of 1,480 acids.
Maybe related to the graph-proto definition for the tensor?
https://stackoverflow.com/questions/51470991/create-a-tensor-proto-whose-content-is-larger-than-2gb

same issue here for protein with 1070AA
MSRRKQAKPQHINSEEDQGEQQPQQQTPEFADAAPAAPAAGELGAPVNHPGNDEVASEDE
ATVKRLRREETHVCEKCCAEFFSISEFLEHKKNCTKNPPVLIMNDSEGPVPSEDFSGAVL
SHQPTSPGSKDCHRENGGSSEDMKEKPDAESVVYLKTETALPPTPQDISYLAKGKVANTN
VTLQALRGTKVAVNQRSADALPAPVPGANSIPWVLEQILCLQQQQLQQIQLTEQIRIQVN
MWASHALHSSGAGADTLKTLGSHMSQQVSAAVALLSQKAGSQGLSLDALKQAKLPHANIP
SATSSLSPGLAPFTLKPDGTRVLPNVMSRLPSALLPQAPGSVLFQSPFSTVALDTSKKGK
GKPPNISAVDVKPKDEAALYKHKCKYCSKVFGTDSSLQIHLRSHTGERPFVCSVCGHRFT
TKGNLKVHFHRHPQVKANPQLFAEFQDKVAAGNGIPYALSVPDPIDEPSLSLDSKPVLVT
TSVGLPQNLSSGTNPKDLTGGSLPGDLQPGPSPESEGGPTLPGVGPNYNSPRAGGFQGSG
TPEPGSETLKLQQLVENIDKATTDPNECLICHRVLSCQSSLKMHYRTHTGERPFQCKICG
RAFSTKGNLKTHLGVHRTNTSIKTQHSCPICQKKFTNAVMLQQHIRMHMGGQIPNTPLPE
NPCDFTGSEPMTVGENGSTGAICHDDVIESIDVEEVSSQEAPSSSSKVPTPLPSIHSASP
TLGFAMMASLDAPGKVGPAPFNLQRQGSRENGSVESDGLTNDSSSLMGDQEYQSRSPDIL
ETTSFQALSPANSQAESIKSKSPDAGSKAESSENSRTEMEGRSSLPSTFIRAPPTYVKVE
VPGTFVGPSTLSPGMTPLLAAQPRRQAKQHGCTRCGKNFSSASALQIHERTHTGEKPFVC
NICGRAFTTKGNLKVHYMTHGANNNSARRGRKLAIENTMALLGTDGKRVSEIFPKEILAP
SVNVDPVVWNQYTSMLNGGLAVKTNEISVIQSGGVPTLPVSLGATSVVNNATVSKMDGSQ
SGISADVEKPSATDGVPKHQFPHFLEENKIAVS

any advise on how to fix this issue would be much appreciated. For now im running alphafold through the run_docker.py script.

I think that I solved this issue last week.
Based on @chrisroat question, I tried to play with uniref_max_hits. However, it did not have any effect. I realized that this option is not implemented in the pipeline.py script. I suggest that two lines are missing from the script:

uniref90_msa = uniref90_msa[:self.uniref_max_hits]  # hege
uniref90_deletion_matrix = uniref90_deletion_matrix[:self.uniref_max_hits] # hege

Download the patch: http://alphafold.hegelab.org/pipeline.patch
and apply it as: patch alphafold/data/pipeline.py pipeline.patch

ok for me this patch seems to have fixed the issue and ive been able to generate a prediction for my protein. Thanks @biohegedus for the support!!

I thought about forking, since I have corrected some other issues.
However, I am new to git. What do you suggest?
I started to use and modify a non-docker fork, since it is easier to test and modify.
So I will create a fork of that, make changes, and make pull request to that?
Or should I create two forks?
Thanks.

Addressed in https://github.com/deepmind/alphafold/commit/0be2b30b98f0da7aecb973bde04758fae67eb913.


[BUG] The performance of memcpy.

Thank you!
Please share the results of the test when you know them.

Hi, I give it a test based on this commit https://github.com/ZhenshengLee/perception_cupoch/commit/f7d616f58e3dc71245b8ae1b5ab12d3d59a8c22b
In Jetson Agx Xavier device, and to set cpu frequency.
# set mode to MAXN
sudo nvpmodel -m 0
# set cpufreq to make every cpu core work at freq of 2.3GHz
sudo cpufreq-set -g performance

Note that pcl conversion time is the baseline.
@neka-nat It seems that memory pool is not as effective as the original one.
The result is not what I expected days ago, currently I am confused have no idea about this.

h2d / h2h time(ms)
stable?

pcl
4ms
stable

CudaDefaultAllocation
9-12ms
unstable

PoolAllocation
7-8ms
stable

CudaManagedMemory
8ms
stable

CudaManagedMemoryPool
6-10ms
unstable

BTW, I cannot use the nvvp gui tool as it crashed with java runtime error.
Originally posted by @ZhenshengLee in https://github.com/neka-nat/cupoch/issues/67#issuecomment-901868544

with this commit

reuse stream of cupoch
attach stream to mem using cudaStreamAttachMemAsync

the performance has been improved with the following result.

h2d / h2h time(ms)
stable?

pcl
4ms
stable

CudaDefaultAllocation
6-8ms
unstable

PoolAllocation
13ms
stable

CudaManagedMemory
6.8ms
stable

CudaManagedMemoryPool
13ms
stable


Nightly CI and Operator Setup script

What type of PR is this?
/kind feature
/area testing
What does this PR do / why we need it:
Setup Operator script such that we run test nightly on SBO master and also CI script to trigger the job
Which issue(s) this PR fixes:
Fixes part of -  #4942
Fixes part of -  #4955
PR acceptance criteria:

[ ] Unit test

[x] Integration test

[ ] Documentation

[ ] Update changelog

[x] I have read the test guidelines

How to test changes / Special notes to the reviewer:
make test-operator-hub should be setup to run on nightly

#4960
 • Failure [1.439 seconds]
odo project command tests
/go/src/github.com/openshift/odo/tests/integration/project/cmd_project_test.go:12
  should list current empty project in json format [It]
  /go/src/github.com/openshift/odo/tests/integration/project/cmd_project_test.go:51
  Expected

      <string>: {"apiVersion":"odo.dev/v1alpha1","items":[{"apiVersion":"odo.dev/v1alpha1","kind":"Project","metadata":{"creationTimestamp":null,"name":"cmd-project-test31swe","namespace":"cmd-project-test31swe"},"spec":{},"status":{"active":false}},{"apiVersion":"odo.dev/v1alpha1","kind":"Project","metadata":{"creationTimestamp":null,"name":"cmd-project-test46zav","namespace":"cmd-project-test46zav"},"spec":{},"status":{"active":false}},{"apiVersion":"odo.dev/v1alpha1","kind":"Project","metadata":{"creationTimestamp":null,"name":"cmd-project-test60tkj","namespace":"cmd-project-test60tkj"},"spec":{},"status":{"active":false}},{"apiVersion":"odo.dev/v1alpha1","kind":"Project","metadata":{"creationTimestamp":null,"name":"cmd-project-test74xow","namespace":"cmd-project-test74xow"},"spec":{},"status":{"active":false}},{"apiVersion":"odo.dev/v1alpha1","kind":"Project","metadata":{"creationTimestamp":null,"name":"myproject","namespace":"myproject"},"spec":{},"status":{"active":false}},{"apiVersion":"odo.dev/v1alpha1","kind":"Project","metadata":{"creationTimestamp":null,"name":"nodejs-12","namespace":"nodejs-12"},"spec":{},"status":{"active":false}},{"apiVersion":"odo.dev/v1alpha1","kind":"Project","metadata":{"creationTimestamp":null,"name":"nodejs-12-rhel7","namespace":"nodejs-12-rhel7"},"spec":{},"status":{"active":false}},{"apiVersion":"odo.dev/v1alpha1","kind":"Project","metadata":{"creationTimestamp":null,"name":"nodejs-14","namespace":"nodejs-14"},"spec":{},"status":{"active":false}},{"apiVersion":"odo.dev/v1alpha1","kind":"Project","metadata":{"creationTimestamp":null,"name":"odo-operator-test","namespace":"odo-operator-test"},"spec":{},"status":{"active":false}},{"apiVersion":"odo.dev/v1alpha1","kind":"Project","metadata":{"creationTimestamp":null,"name":"openjdk-11","namespace":"openjdk-11"},"spec":{},"status":{"active":false}},{"apiVersion":"odo.dev/v1alpha1","kind":"Project","metadata":{"creationTimestamp":null,"name":"openjdk-11-rhel8","namespace":"openjdk-11-rhel8"},"spec":{},"status":{"active":false}}],"kind":"List","metadata":{}}
  to contain substring
      <string>: {"apiVersion":"odo.dev/v1alpha1","kind":"Project","metadata":{"creationTimestamp":null,"name":"cmd-project-test51ppu","namespace":"cmd-project-test51ppu"},"spec":{},"status":{"active":true}}

/test v4.8-integration-e2e

Please update the Changelog.md in this PR.

done

Please update the Changelog.md in this PR.

Thanks. Can you also answer to https://github.com/openshift/odo/pull/4958#discussion_r682405751? It's the only discussion blocking me from approving the PR


test: manifest list backward compatibility

Build on top of #151 and #152
commit https://github.com/opencontainers/image-spec/pull/154/commits/1d75bf1d48e216b66e86cc09bfbcb22154b4c702 adds manifest list test

need to fix the formatting on both commits :-/

@philips fixed formatting in https://github.com/opencontainers/image-spec/pull/152 and rebased this PR (#152 should go first - after #151 )

@philips actually, this fix can go in w/o any dependency on other PR, PTAL

LGTM

LGTM


How do I boot into Clover and not the OpenCore bootloader

So I set all the bios settings in the bios 2.13, I've also tried this with 2.9 and 2.10 before I upgraded it.
I make the usb with GibMacOS using 10.15.4 Catalina, I insert a usb formatted Fat32 and let it be formatted.
I downloaded the entire release to get the recoveryHDMeta file.
I use the Make Install to create the usb it creates an EFI folder on the usb named BOOT.
There are two folders CLOVER and BOOT inside the EFI folder.
Regardless of if I delete the entire directory and create a new EFI or copy and overwrite the files with this repo. I still can't get it to boot to anything but this screen. I've literally installed no OS, I can't doing the setup_var edits.
Any Ideas?
Ideally I'm trying to boot using Clover with Catalina.

I figured it out. For some reason the boot file in the repo won't boot properly on my machine. I had to use the one that was created by GibMacOS and all the other files from this repo. And now it seems to be working. Thanks everything works great!

Any ideas why it isn't letting me bash any of the xps.sh file?
It just says this


update kernel to use latest sdk for kernel_v3

Added the latest kernel sdk,
now it will be using Entrypoint_V07

got kernel changes merged in  #537