使用koyeb代替heroku/railway

https://www.koyeb.com/

目前推荐通过 heroku 部署，其它小厂商扛不住，人一多就会改变服务条款。唯独  heroku 已经稳定好多年了。

目前推荐通过 heroku 部署，其它小厂商扛不住，人一多就会改变服务条款。唯独 heroku 已经稳定好多年了。

heroku也抗不住了，已经收到通知了， 2022 年 11 月 28 日开始收费。

Thank you for being a Heroku user. Starting November 28, 2022, free Heroku Dynos, free Heroku Postgres, and free Heroku Data for Redis® will no longer be available. You can learn more about these and other important changes from our GM, Bob Wise, on the Heroku blog.

已经更新文档了。。我运气怎么这么好，每次兼容哪个平台哪个平台就倒闭跑路。。。

下一个跑路的肯定是 koyeb 🤣

@rmf2 已支持 https://github.com/luolongfei/freenom#-通过-Koyeb-部署

为啥我一注册koyeb就被封。。。。。。刚注册完显示检查，然后就显示”We cannot offer you access to Koyeb
Your account matches patterns often associated with violations of our Terms of Service.
While we cannot provide details about the reason(s) triggering this behavior, we have determined that providing access to Koyeb is not possible.
If you believe this is an error, you can request a review of the decision by clicking the button below.“

@BA7JCM 这个你得问 koyeb

收到heroku邮件的那天我就开始注册koyeb了，已经半个月过去了，至今还是：
Thanks for signing up to Koyeb!
Your account will be validated in the coming days. We recorded a massive demand in the last month and onboarding is currently throttled to provide you with the best experience. You will receive an e-mail when your account is ready!

为啥我一注册koyeb就被封。。。。。。刚注册完显示检查，然后就显示”We cannot offer you access to Koyeb Your account matches patterns often associated with violations of our Terms of Service.
While we cannot provide details about the reason(s) triggering this behavior, we have determined that providing access to Koyeb is not possible.
If you believe this is an error, you can request a review of the decision by clicking the button below.“

收到heroku邮件的那天我就开始注册koyeb了，已经半个月过去了，至今还是：
Thanks for signing up to Koyeb!
Your account will be validated in the coming days. We recorded a massive demand in the last month and onboarding is currently throttled to provide you with the best experience. You will receive an e-mail when your account is ready!

下一个跑路的肯定是 koyeb 🤣

不会吧，好不容易有一个能用🤣

收到heroku邮件的那天我就开始注册koyeb了，已经半个月过去了，至今还是：
Thanks for signing up to Koyeb! Your account will be validated in the coming days. We recorded a massive demand in the last month and onboarding is currently throttled to provide you with the best experience. You will receive an e-mail when your account is ready!

为啥我一注册koyeb就被封。。。。。。刚注册完显示检查，然后就显示”We cannot offer you access to Koyeb Your account matches patterns often associated with violations of our Terms of Service.
While we cannot provide details about the reason(s) triggering this behavior, we have determined that providing access to Koyeb is not possible.
If you believe this is an error, you can request a review of the decision by clicking the button below.“

收到heroku邮件的那天我就开始注册koyeb了，已经半个月过去了，至今还是：
Thanks for signing up to Koyeb! Your account will be validated in the coming days. We recorded a massive demand in the last month and onboarding is currently throttled to provide you with the best experience. You will receive an e-mail when your account is ready!

我也是，应该是heroku不免费了以后有很多人涌入吧

收到heroku邮件的那天我就开始注册koyeb了，已经半个月过去了，至今还是：
Thanks for signing up to Koyeb! Your account will be validated in the coming days. We recorded a massive demand in the last month and onboarding is currently throttled to provide you with the best experience. You will receive an e-mail when your account is ready!

为啥我一注册koyeb就被封。。。。。。刚注册完显示检查，然后就显示”We cannot offer you access to Koyeb Your account matches patterns often associated with violations of our Terms of Service.
While we cannot provide details about the reason(s) triggering this behavior, we have determined that providing access to Koyeb is not possible.
If you believe this is an error, you can request a review of the decision by clicking the button below.“

收到heroku邮件的那天我就开始注册koyeb了，已经半个月过去了，至今还是：
Thanks for signing up to Koyeb! Your account will be validated in the coming days. We recorded a massive demand in the last month and onboarding is currently throttled to provide you with the best experience. You will receive an e-mail when your account is ready!

我也是，应该是heroku不免费了以后有很多人涌入吧

我现在依然是一注册就封号，注册一个封一个，不知道搞什么鬼

@BA7JCM 平台没说为什么封你吗

@BA7JCM 平台没说为什么封你吗

啥也没说，刚注册就跟别人一样发验证链接到邮箱，点了链接之后审核，但大概十几秒之后就是图中这样了

@BA7JCM 试试申诉

@rmf2 已支持 https://github.com/luolongfei/freenom#-通过-Koyeb-部署

本月给哪吒探针加上 alpine 的支持。可以看到容器状态，同时也有 VNC ，可以 ssh 进去系统操作。我利用环境还做点其他事。效果如下。要不要加上，要的话我作个 PR

BTW。在 Koyeb 上，多数的环境变量，最好不要用明文 plaintext，改用 secret 安全性较好。

加上吧

加上吧

已经 PR 了，估计 mogenius 一样可以的，你需要 docker build 一个新的镜像，以 copy 新的文件。你的 docker build 不一并做在 action 里呢？更方便。

@rmf2 已支持 https://github.com/luolongfei/freenom#-通过-Koyeb-部署

本月给哪吒探针加上 alpine 的支持。可以看到容器状态，同时也有 VNC ，可以 ssh 进去系统操作。我利用环境还做点其他事。效果如下。要不要加上，要的话我作个 PR

BTW。在 Koyeb 上，多数的环境变量，最好不要用明文 plaintext，改用 secret 安全性较好。

那个怎么给koyeb挂上探针的？

那个怎么给koyeb挂上探针的？

等作者更新镜像后，哪吒后台设置好，在koyeb加入 NEZHA_SERVER , NEZHA_PORT, NEZHA_KEY 三个变量，提交重新部署即可

这几天比较忙，镜像可能要过两天才有时间更新。

那个怎么给koyeb挂上探针的？

等作者更新镜像后，哪吒后台设置好，在koyeb加入 NEZHA_SERVER , NEZHA_PORT, NEZHA_KEY 三个变量，提交重新部署即可

请问 NEZHA_SERVER 是服务器地址吗？我的后面还有端口类似于xxx.com:123的形式也是一样填写吗，NEZHA_PORT又是什么？

那个怎么给koyeb挂上探针的？

等作者更新镜像后，哪吒后台设置好，在koyeb加入 NEZHA_SERVER , NEZHA_PORT, NEZHA_KEY 三个变量，提交重新部署即可

请问 NEZHA_SERVER 是服务器地址吗？我的后面还有端口类似于xxx.com:123的形式也是一样填写吗，NEZHA_PORT又是什么？

从哪吒后台获取客户端一键指令：

比如指令是：
curl -L https://raw.githubusercontent.com/naiba/nezha/master/script/install.sh -o nezha.sh && chmod +x nezha.sh && sudo ./nezha.sh install_agent server.nezha.com 1234 5d9f28888072207b6f
那么 NEZHA_SERVER 就是 server.nezha.com
NEZHA_PORT 就是 1234
NEZHA_KEY  就是 5d9f28888072207b6f


Remove herrera-io/box as a dependency

This package was not being used directly in the code.
It cuts down on some packages, including two abandoned ones: phine/exception and phine/path.

I think it was used to generate the phar. So not directly used by behat (in its code), but for releases.

It looks to be the case. But anyways, I don't think it should  carry
--
Sent from my George Foreman Grill

On 29 Aug 2018, at 20:41, Baptiste Clavié<EMAIL_ADDRESS>wrote:
I think it was used to generate the phar. So not directly used by behat (in its code), but for releases.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

This is a dev requirement, not a normal requirement. This relates to the tooling used by Behat.

@stof is there any other way to keep tooling working without carrying it over on every installation? Since Behat is a dev library, putting it under require-dev doesn't make much of a difference…
Maybe moving it to the suggest section?

@felds that's not how require-dev works; transitive dependencies aren't installed by anyone requiring behat/behat


Assume default url equal to the state name?

While migrating an ngRoute app to ui-router, I ended up with the following routing block:
$stateProvider
      .state('/', {url: '/', templateUrl: 'login.html'})
      .state('signup-email',    {templateUrl: 'signup-email.html', controller: 'SignupEmailCtrl'})
      .state('signup-name',     {templateUrl: 'signup-name.html', controller: 'SignupNameCtrl' })
      .state('signup-payment',  {templateUrl: 'payment.html', controller: 'PaymentCtrl'})
      .state('update-payment',  {templateUrl: 'payment.html', controller: 'PaymentCtrl'})
      .state('require-payment', {templateUrl: 'payment.html', controller: 'PaymentCtrl'})
      .state('profile',         {templateUrl: 'profile.html'})
      .state('book',            {templateUrl: 'map.html'})

The app wouldn't route. ui-sref wouldn't work, nor would entering a URL in the address bar.
While not immediately obvious, it turns out that during the conversion, I had forgotten to add the url field to the .state options object.
Would it be a good idea to assume the URL to be equal to the state name? Meteor's iron-router assumes the template name to be identical to the path name.

No. Better to be explicit in this case.
https://gist.github.com/eddiemonge/f6a58169c2846731a1eb


Deepin desktop modules

Motivation for this change
Let's propose the last step deepin outside of  #63813, as it has quickly become more complex than it was at first. And that's because of the switch to dde-kwin upstream breaking everything in NixOS :frowning:
Things done

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

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Notify maintainers
cc @

This is still important.

Packaging of the Deepin Desktop Environment has been cancelled (https://github.com/NixOS/nixpkgs/issues/94870).
Closing.


shouldUseHotMode should be false when !device.supportsHotMode

run.dart has this code:
    final bool hotMode = shouldUseHotMode();
    if (hotMode) {
      if (!device.supportsHotMode) {
        printError('Hot mode is not supported by this device. '
                   'Run with --no-hot.');
        return 1;
      }
    }

It's not clear why we do this rather than just have shouldUseHotMode return false if !device.supportsHotMode.

The code was changed https://github.com/flutter/flutter/blob/d927c9331005f81157fa39dff7b5dab415ad330b/packages/flutter_tools/lib/src/commands/run.dart#L326-L331
Is this issue still valid?

This was cleaned up, as above


Unable to compile project in 4.19

It successfully creates a Haxe directory for my project. However, I am unable to compile my project. Attempting to build from within Visual Studio creates the following output:
1>Creating makefile for Haxe419Editor (changes to external dependency)
1>BuildApi.Build.cs: Using Haxe
1>Generating False
1>Calling Haxe
1>Calling the build tool with arguments --cwd "D:\Repos\Other\Haxe419\Plugins\UnrealHx\unreal.hx/Haxe/BuildTool" compile-project.hxml -D "EngineDir=C:\Program Files\Epic Games\UE_4.19\Engine" -D "ProjectDir=D:\Repos\Other\Haxe419" -D "TargetName=Haxe419Editor" -D "TargetPlatform=Win64" -D "TargetConfiguration=Development" -D "TargetType=Editor" -D "ProjectFile=D:\Repos\Other\Haxe419\Haxe419.uproject" -D "PluginDir=D:\Repos\Other\Haxe419\Plugins\UnrealHx\unreal.hx" -D UE_BUILD_CS -D "RootDir=C:\Program Files\Epic Games\UE_4.19"
1>Building Haxe through the Build.cs file
1>D:\Repos\Other\Haxe419/Intermediate/Haxe/UhxBuild/UhxBuild.exe projectDir=D:\Repos\Other\Haxe419 pluginDir=D:\Repos\Other\Haxe419\Plugins\UnrealHx\unreal.hx cppiaRecompile=false targetPlatform=Win64 rootDir=C:\Program Files\Epic Games\UE_4.19 engineDir=C:\Program Files\Epic Games\UE_4.19\Engine ueEditorCompile=false projectFile=D:\Repos\Other\Haxe419\Haxe419.uproject targetName=Haxe419Editor targetType=Editor ueEditorRecompile=false skipBake=false targetConfiguration=Development numProcessors=8
1>InitPlugin.hx:54: Updating game project...
1>InitPlugin.hx:72: No Build.hx / Target.hx files found. Skipping their compilation
1>haxe -version
1>3.4.7
1>UhxBuild.hx:885: Skipping extern baker since there is nothing to compile
1>Skipping static compilation because it was not needed
1>Skipping cppia compilation because it was not needed
1>*** HAXE BUILD SUCCEEDED ***
1>Haxe call executed in 00:00:04.2737695
1>Performing 4 actions (4 in parallel)
1>HaxeRuntime.Win-Dev-Editor.uhxglue.cpp
1>Unreal.Win-Dev-Editor.uhxglue.cpp
1>D:/Repos/Other/Haxe419/Intermediate/Haxe/Haxe419-Win-Development-Editor/Generated/Private/uhx/glues/AActor_Glue.cpp(1030): error C2248: 'AActor::ReplicatedComponents': cannot access private member declared in class 'AActor'
1>C:\Program Files\Epic Games\UE_4.19\Engine\Source\Runtime\Engine\Classes\GameFramework/Actor.h(2810): note: see declaration of 'AActor::ReplicatedComponents'
1>c:\program files\epic games\ue_4.19\engine\source\editor\unrealed\public\AssetThumbnail.h(13): note: see declaration of 'AActor'
1>D:/Repos/Other/Haxe419/Intermediate/Haxe/Haxe419-Win-Development-Editor/Generated/Private/uhx/glues/AActor_Glue.cpp(1048): error C2248: 'AActor::ReplicatedComponents': cannot access private member declared in class 'AActor'
1>C:\Program Files\Epic Games\UE_4.19\Engine\Source\Runtime\Engine\Classes\GameFramework/Actor.h(2810): note: see declaration of 'AActor::ReplicatedComponents'
1>c:\program files\epic games\ue_4.19\engine\source\editor\unrealed\public\AssetThumbnail.h(13): note: see declaration of 'AActor'
1>D:/Repos/Other/Haxe419/Intermediate/Haxe/Haxe419-Win-Development-Editor/Generated/Private/uhx/glues/AActor_Glue.cpp(1127): error C2039: 'PostNetReceiveRole': is not a member of 'AActor'
1>c:\program files\epic games\ue_4.19\engine\source\editor\unrealed\public\AssetThumbnail.h(13): note: see declaration of 'AActor'
1>D:/Repos/Other/Haxe419/Intermediate/Haxe/Haxe419-Win-Development-Editor/Generated/Private/uhx/glues/ACharacter_Glue.cpp(623): error C2039: 'SetPlayerState': is not a member of 'ACharacter'
1>C:\Program Files\Epic Games\UE_4.19\Engine\Source\Runtime\Engine\Classes\GameFramework/CharacterMovementComponent.h(22): note: see declaration of 'ACharacter'
1>D:/Repos/Other/Haxe419/Intermediate/Haxe/Haxe419-Win-Development-Editor/Generated/Private/uhx/glues/ACharacter_Glue.cpp(626): error C2039: 'GetPlayerState': is not a member of 'ACharacter'
1>C:\Program Files\Epic Games\UE_4.19\Engine\Source\Runtime\Engine\Classes\GameFramework/CharacterMovementComponent.h(22): note: see declaration of 'ACharacter'
1>C:\Program Files\Epic Games\UE_4.19\Engine\Source\Runtime\Core\Public\Templates/Function.h(244): error C2672: 'Invoke': no matching overloaded function found
1>C:\Program Files\Epic Games\UE_4.19\Engine\Source\Runtime\Core\Public\Templates/Function.h(243): note: while compiling class template member function 'void UE4Function_Private::TFunctionRefCaller<FunctorType,Ret (void *)>::Call(void *,void *&)'
1>        with
1>        [
1>            FunctorType=uhx::TMapReflect_obj::FindOrAdd::<lambda_2ee7f1b939a325a9e6187e3033738a77>,
1>            Ret=void
1>        ]
1>C:\Program Files\Epic Games\UE_4.19\Engine\Source\Runtime\Core\Public\Templates/Function.h(290): note: see reference to function template instantiation 'void UE4Function_Private::TFunctionRefCaller<FunctorType,Ret (void *)>::Call(void *,void *&)' being compiled
1>        with
1>        [
1>            FunctorType=uhx::TMapReflect_obj::FindOrAdd::<lambda_2ee7f1b939a325a9e6187e3033738a77>,
1>            Ret=void
1>        ]
1>C:\Program Files\Epic Games\UE_4.19\Engine\Source\Runtime\Core\Public\Templates/Function.h(290): note: see reference to class template instantiation 'UE4Function_Private::TFunctionRefCaller<FunctorType,Ret (void *)>' being compiled
1>        with
1>        [
1>            FunctorType=uhx::TMapReflect_obj::FindOrAdd::<lambda_2ee7f1b939a325a9e6187e3033738a77>,
1>            Ret=void
1>        ]
1>C:\Program Files\Epic Games\UE_4.19\Engine\Source\Runtime\Core\Public\Templates/Function.h(463): note: see reference to function template instantiation 'void UE4Function_Private::TFunctionRefBase<TFunctionRef<void (void *)>,FuncType>::Set<FunctorType>(FunctorType *)' being compiled
1>        with
1>        [
1>            FuncType=void (void *),
1>            FunctorType=uhx::TMapReflect_obj::FindOrAdd::<lambda_2ee7f1b939a325a9e6187e3033738a77>
1>        ]
1>C:\Program Files\Epic Games\UE_4.19\Engine\Source\Runtime\Core\Public\Templates/Function.h(463): note: see reference to function template instantiation 'void UE4Function_Private::TFunctionRefBase<TFunctionRef<void (void *)>,FuncType>::Set<FunctorType>(FunctorType *)' being compiled
1>        with
1>        [
1>            FuncType=void (void *),
1>            FunctorType=uhx::TMapReflect_obj::FindOrAdd::<lambda_2ee7f1b939a325a9e6187e3033738a77>
1>        ]
1>C:\Program Files\Epic Games\UE_4.19\Engine\Source\Runtime\Core\Public\Templates/Function.h(412): note: see reference to function template instantiation 'void TFunctionRef<void (void *)>::Set<const FunctorType>(FunctorType *)' being compiled
1>        with
1>        [
1>            FunctorType=uhx::TMapReflect_obj::FindOrAdd::<lambda_2ee7f1b939a325a9e6187e3033738a77>
1>        ]
1>C:\Program Files\Epic Games\UE_4.19\Engine\Source\Runtime\Core\Public\Templates/Function.h(412): note: see reference to function template instantiation 'void TFunctionRef<void (void *)>::Set<const FunctorType>(FunctorType *)' being compiled
1>        with
1>        [
1>            FunctorType=uhx::TMapReflect_obj::FindOrAdd::<lambda_2ee7f1b939a325a9e6187e3033738a77>
1>        ]
1>D:/Repos/Other/Haxe419/Intermediate/Haxe/Haxe419-Win-Development-Editor/Template/Private/uhx/UnrealReflection.cpp(855): note: see reference to function template instantiation 'TFunctionRef<void (void *)>::TFunctionRef<uhx::TMapReflect_obj::FindOrAdd::<lambda_2ee7f1b939a325a9e6187e3033738a77>,void>(const FunctorType &)' being compiled
1>        with
1>        [
1>            FunctorType=uhx::TMapReflect_obj::FindOrAdd::<lambda_2ee7f1b939a325a9e6187e3033738a77>
1>        ]
1>D:/Repos/Other/Haxe419/Intermediate/Haxe/Haxe419-Win-Development-Editor/Template/Private/uhx/UnrealReflection.cpp(805): note: see reference to function template instantiation 'TFunctionRef<void (void *)>::TFunctionRef<uhx::TMapReflect_obj::FindOrAdd::<lambda_2ee7f1b939a325a9e6187e3033738a77>,void>(const FunctorType &)' being compiled
1>        with
1>        [
1>            FunctorType=uhx::TMapReflect_obj::FindOrAdd::<lambda_2ee7f1b939a325a9e6187e3033738a77>
1>        ]
1>C:\Program Files\Epic Games\UE_4.19\Engine\Source\Runtime\Core\Public\Templates/Function.h(244): error C2893: Failed to specialize function template 'unknown-type Invoke(FuncType &&,ArgTypes &&...)'
1>C:\Program Files\Epic Games\UE_4.19\Engine\Source\Runtime\Core\Public\Templates/Function.h(244): note: With the following template arguments:
1>C:\Program Files\Epic Games\UE_4.19\Engine\Source\Runtime\Core\Public\Templates/Function.h(244): note: 'FuncType=Functor &'
1>C:\Program Files\Epic Games\UE_4.19\Engine\Source\Runtime\Core\Public\Templates/Function.h(244): note: 'ArgTypes={T}'
1>D:/Repos/Other/Haxe419/Intermediate/Haxe/Haxe419-Win-Development-Editor/Generated/Private/uhx/glues/ULevelStreaming_Glue.cpp(182): error C2039: 'HasLoadRequestPending': is not a member of 'ULevelStreaming'
1>C:\Program Files\Epic Games\UE_4.19\Engine\Intermediate\Build\Win64\UE4Editor\Inc\Engine\GameplayStatics.generated.h(48): note: see declaration of 'ULevelStreaming'
1>D:/Repos/Other/Haxe419/Intermediate/Haxe/Haxe419-Win-Development-Editor/Generated/Private/uhx/glues/UWorld_Glue.cpp(342): error C2039: 'GetStreamingLevels': is not a member of 'UWorld'
1>C:\Program Files\Epic Games\UE_4.19\Engine\Source\Runtime\Engine\Public\AudioDevice.h(39): note: see declaration of 'UWorld'
1>UnrealBuildTool : error : UBT ERROR: Failed to produce item: D:\Repos\Other\Haxe419\Binaries\Win64\UE4Editor-Haxe419.dll
1>Total build time: 78.97 seconds (Local executor: 0.00 seconds)
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.MakeFile.Targets(44,5): error MSB3075: The command ""C:\Program Files\Epic Games\UE_4.19\Engine\Build\BatchFiles\Build.bat" Haxe419Editor Win64 Development "D:\Repos\Other\Haxe419\Haxe419.uproject" -WaitMutex -FromMsBuild" exited with code 5. Please verify that you have sufficient rights to run this command.
1>Done building project "Haxe419.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

It looks like there are a bunch of member variables in the wrapper classes that are defined in Haxe/Externs/Common that are not in the 4.19 version of the engine.


"The OAuth client was deleted" on discourse.jabref.org

When I try to register on https://discourse.jabref.org/ using Google, I get this error message:

Happens both in Firefox and Chrome.
I hope this is the right place to report this.

Follow up at https://github.com/JabRef/jabref/issues/6727


Testing For Specifically the Tenkan

I have been trying to specifically test for the Tenkan part of the Ichimoku indicator but am running into some trouble. I am not able to pull the specific column as I have previously done for other indicators.  This is my code:
`def indicator(data, tenkan_length = 30, kijun_length = 26, senkou_length = 52):
ichimoku = ta.overlap.ichimoku(high=df.High, low=df.Low, close=df.Close, tenkan=tenkan_length, kijun=kijun_length, senkou=senkou_length, include_chikou=False)
if ichimoku is None:
ichimoku = np.ichimoku(len(data))
else:
ichimoku = ichimoku[:len(data)]  # Truncate to match data length
ichimoku = np.nan_to_num(ichimoku)  # Replace NaN values with zeros
return ichimoku
class TENKAN(Strategy):
tenkan_length = 30
def init(self):
self.tenkan = self.I(indicator, self.data, self.tenkan_length)
self.Buy_position_open = False
self.Sell_position_open = False
def next(self):
if (crossover(self.data.Close, self.tenkan[2])):
self.buy(size=0.5)
self.Buy_position_open = True
elif (crossover(self.tenkan[2], self.data.Close)):
self.sell(size=0.5)
self.Sell_position_open = True
if (self.position.pl_pct < -0.003 and self.Buy_position_open) or (self.position.pl_pct > 0.015 and self.Buy_position_open):
self.position.close()
self.Buy_position_open = False
elif (self.position.pl_pct < -0.015 and self.Sell_position_open) or (self.position.pl_pct > 0.003 and self.Sell_position_open):
self.position.close()
self.Sell_position_open = False`
RuntimeError: Indicator "indicator(30)" errored with exception: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (2,) + inhomogeneous part.
Not sure what this error means. I've tried using chat gpt but that hasn't helped. Is there any other way to do this?

Hello @azimgiant,
Would be great if you can provide more info, such as Pandas TA version, and other relevant details.  Also it would be great if you could clean up your code so it is more readable.
Kind Regards,
KJ


Allow gotip build failures on Travis

And do not wait for gotip build to validate PR

This change is

Comments from Reviewable

Reviewed 1 of 1 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable

I'm not really sure it's worth having something that we allow failing on...
If we allow failures we won't investigate when it fails, so it's probably not even needed to run it and slow down our builds (because sometimes Travis doesn't run them in parallel when it's under load)

Review status: :shipit: all files reviewed at latest revision, all discussions resolved, all commit checks successful.

Comments from Reviewable

I agree for build load, but it is interesting to know if our code is compliant with new go features.

Comments from Reviewable

No strong opinion as well... Maybe the simpler, the better: only 1.9. I'm not expecting next go release to be painful.

To have faster build, we will keep only go 1.9.
Before go 2.0 release, it should be great to re-add tip to help code migration if needed


Missing type conversion for assignment to function call

For an assignment X := F, the generated code will not compile, if the function F returns a different integer type than the type of X.

Duplicate of #957.


Add Rebel Love Song by Black Veil Brides

Song Name
Rebel Love Song
Artist Name
Black Veil Brides
Source
Youtube
Youtube Link
Rl-_ZmNCOvo
Direct File Link
No response
Song ID
671322
Start Offset [ms]
0
Extra
Created from Auto Nong.
Created for level: 74713232

reject. The original Newgrounds song was removed


Could you provide a script or command for testing trained agents?

Thank you for very interesting work! I'd like to ask whether you could provide a script or command for testing trained agents :-)
Thanks,
Kimin

I found it in experiments.yml.


IE10 support with const

Hey,
I am using react-popover in my create-react-app.
After i build my project and test it in IE10 i get a syntax error on react-popover/index.js on the line: const lib = require("./build").
I have a ready branch to pull request requesting to change that one line to get support for IE10.

I have an open pull request for that.

By adding this line in my webpack.config.js, fix the problem.
 rules: [{
            test: /\.jsx?$/,
            loader: 'babel-loader',
            include: [
                // here is the code
                /node_modules[\\/]react-popover/,
            ],


feat: check if element  existed when move between groups

Sometimes we need to check the element  existed when move element between groups. So i made this PR.

I modified onAdd and onRemove function, add an attribute 'existed' for element in onAdd function. In onRemove function check this attribute, if existed the element will not moved to 'to' target and will kept in 'from' target.

Are you dealing with a case where an element needs to exist in multiple groups simultaneously?

Are you dealing with a case where an element needs to exist in multiple groups simultaneously?

Yes. I have been working on a module about scheduling recently, which is divided into different shifts and shifts, and these plans may be repeated, but the dates are different, and most of the personnel say that the time is fixed, but they are on duty at different times and shifts, so there must be duplication, and my need is to adjust by dragging the list of these personnel. The whole schedule plan, this is my practical application scenario.

I don't think this is an issue that needs to be handled by vue-draggable-plus, because if my array elements are primitive types, for example:
const list1 = [1, 2, 3, 4];

const list2 = [2, 3, 4, 5];

Then it is very clear that 2, 3, and 4 are duplicates. However, dragging between groups is allowed. You can try using filter to disable the dragging of elements that already exist in list2, instead of prohibiting the dragging of identical elements between multiple lists.

https://github.com/Alfred-Skyblue/vue-draggable-plus/assets/546897/e1e97d8d-c6f9-4e7b-9fbd-441022e5045b
There is a screen record to show how i use vue-draggable-plus. Maybe my needs are not common. Thank you for your patient reply.

Thank you for your PR. I believe this requirement is quite uncommon, so we are not planning to implement this feature for now.


Current step show Failed

Describe the problem
Current step show Failed after Current epoch(100%)&Training(100%)
To Reproduce
Steps to reproduce the behavior:

uploaded the training sources.
Move the training sources to Train datasets.
Go to Train and click the start(Use the default Settings.)
See error

Expected behavior
Current step show Pass
Screenshots

Desktop (please complete the following information):

OS: [MACOS(10.15.7 (19H1715))]
Browser [Edge]
Version [ 103.0.1264.37]

Smartphone (please complete the following information):

Device: [Huawei nova7 SE 5G]
OS: [Android 11]
Browser [n/a]
Version [0.6.0-openbot-master]

Additional context

How many epoch are you running.
10times
Which version of tensorflow are you using?
tensorflow-2.9.1

I try to set num epoch 50, error look the same.

Can you try to replace val_mean_absolute_error with val_mae. It seems the name was changed. Alternatively, you could try an older version of tensorflow, e.g. 2.6.0.

replace val_mean_absolute_error with val_mae not working, but I can successfully train using the method of a YouTube writer. It doesn't require your computer to have a lot of processing power, it uses Google Cloud computing to process data very quickly.  FYI!  https://www.youtube.com/watch?v=JMKPMcqvYKo

Any update on this @emo8899 ?

i used the google driver to training robot, it's looks good.   a man who is a youtube author used Google Cloud computers to train the robots.

So did you manage to resolve the error?

@emo8899 it seems that this was resolved by using the Colab notebook. Is that correct? Will close for now, feel free to reopen if the issue persists.


Options button going partially outside of screen in main menu in landscape mode

Given that the game is played in landscape only, landscape support for the menues is probably a good thing to have.

Added new StartupMenu layout for landscape mode


[sync materialized view]create mv successed by mv

Steps to reproduce the behavior (Required)
CREATE TABLE t1
(a BIGINT,
b BIGINT,
c BIGINT,
d BIGINT,
e BIGINT,
f BIGINT)
DUPLICATE KEY(a)
DISTRIBUTED BY HASH(a) BUCKETS 10
PROPERTIES ("replication_num" = "1");

CREATE MATERIALIZED VIEW mv1
DISTRIBUTED BY HASH(a) BUCKETS 10
REFRESH ASYNC
AS SELECT a, b, c
FROM t1;

CREATE MATERIALIZED VIEW mv2
DISTRIBUTED BY HASH(a) BUCKETS 10
REFRESH ASYNC
AS SELECT a, b, c
FROM mv1;

Expected behavior (Required)
execute failed
Real behavior (Required)
Query OK, 0 rows affected (0.00 sec)
StarRocks version (Required)

You can get the StarRocks version by executing SQL select current_version()
select current_version();
+----------------------+
| current_version()    |
+----------------------+
| MAIN-RELEASE 12c19a2 |
+----------------------+

Please assign this issue to me


Add Mutex management functions - exclusive, createMutex

Hi there 👋 Thanks for your contributions to this project.
Do you think it’s feasible to include utility function(s) to create a mutex object (similar to https://github.com/DirtyHairy/async-mutex)? I’m not sure if it aligns with the project’s ethos, maybe too much abstraction?
I would be happy to help in implementation :)
exclusive proposal
import * as _ from 'radashi'

const exclusiveFn = _.exclusive(async () => /* ... */)

// ran one by one
await _.all([
	exclusiveFn(),
	exclusiveFn()
])

createMutex proposal
import * as _ from 'radashi'

const mutex = _.createMutex()

// available properties / methods
const release = await mutex.acquire()
mutex.isLocked()

// ran one by one
await _.all([
	mutex.exclusive(async () => /* ... */),
	mutex.exclusive(async () => /* ... */),
])

We have a discussion that includes consideration of mutex functionality:
https://github.com/orgs/radashi-org/discussions/222
Could you copy your ideas over there? Thanks 👍


Pressing 'Tab` with Autocomplete is not Reliable for fast typing, "pastes" incorrectly.

Very often, when I press 'Tab' to accept autocomplete's first suggestion, autocomplete "fills in" incorrectly.
For instance, I'll have some variable or function named someName. I will type s, and hit tab. Autocomplete will then fill with the entire name, resulting in the typo ssomeName.
This often occurs when I am typing very quickly, so it seems to be a race condition of some sort. It is behavior that I have not seen until very recently (within last year), and I have been using PTVS for years.
I am struggling trying to create a reproducible example, but hopefully I or someone else will find one soon.

Thanks for filing this. I've experienced the issue, but haven't been able to get a consistent repro either.

It also happens when pressii

Whoops, sorry. Didn't mean to press the "close issue" button.

I just fixed this with #4390 (because it's been annoying me too, and I stumbled upon the cause but forgot about this bug).


add readme notes around avoiding logging in to apple id in the vm

Figured general advice would be to avoid logging in to apple id during the vm provisioning process, which the happy path the installer tries to take you through

I will close this as we have just released version 2.0, for which in most cases people won't be dealing with provisioning themselves.


Double callback of successCallback in getAuthToken

Lacking a "return" on line 285 after auth token is fetched from session storage. The current behavior is read from session, call the successCallback then continue on, make the fetch request, then call either the tokenErrorCallBack incorrectly (since it was read from session anyway) or call successCallback again. Double callback on successCallback leads to fetching the activityState twice.

Resolved.


[$500] Web - FAB - "New Workspace" option is disabled after deleting Workspace in offline mode

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Open URL https://staging.new.expensify.com/
Login with any account
Go to Settings->Workspace
Kill the internet connection
Delete the workspace
Turn on the internet connection
Click on FAB button and check for a "New workspace" option

Expected Result:
"New Workspace" option should be available
Actual Result:
"New Workspace" option is disabled.
"New Workspace" option becomes available only after re-login
Workaround:
Unknown
Platform:

Where is this issue occurring?

Web
iOS
Android
Desktop App
Mobile Web

Version Number: <IP_ADDRESS>
Reproducible in staging?: Yes
Reproducible in production?: Yes
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://user-images.githubusercontent.com/93399543/195712579-88b42f99-83ea-4a33-ad42-7506c1d36476.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub

Nice spot. Confirmed that we'll need to re-show the FAB New Workspace option.

Awaiting contributors

@Julesssss - Based on your last response, should I hold on creating the job in Upworks?

Disregard my last comment, I'll work on the job posting later this week.

The job has been created in Upwork:
Internal: https://www.upwork.com/ab/applicants/1583564673241923584/job-details
External: https://www.upwork.com/jobs/~017971a3070c51f85a

Price Doubled to $500
https://www.upwork.com/jobs/~017971a3070c51f85a

As per my understanding you guys using Redux in your project and after making API request of delete workspace you are calling Redux action to update the UI state and Redux store. The main problem is your tooltip UI popup which is appearing after clicking on "Plus" button is not updating successfully. I will debug the whole code and will read Popup component's code as well for getting information is you code successfully updating (re-rendering) or not.

@ahsan-K Seems you are new here.
Get started by checking out our contributing guidelines first and don't forget to check out readme.

@Santhosh-Sellavel I have read and posted the proposal on Upwork as well.

I'm afraid you skipped the whole thing, take time to read through and understand our process.
Checkout how to Propose a solution for the job

"Proposal"
Hello Sir, I'm am senior software engineer with over 5+ years of experience on ReactJS. I have strong grip on javascript. I have read the description and saw the video of that issue which is on Github.
I will be more then happy to solve your issue. I have understand that why "New Workspace" button is not showing after deleting the Work Space.
How i will solve this problem?
As per my understanding you guys using Redux in your project and after making API request of delete workspace you are calling Redux action to update the UI state and Redux store. The main problem is your tooltip UI popup which is appearing after clicking on "Plus" button is not updating successfully. I will debug the whole code and will read Popup component's code as well for getting information is you code successfully updating (re-rendering) or not.
Let's jump on an initial call/meeting so that we can discuss more about it.
Best Regards,
Ahsan Ali

@kbecciv I am not able to reproduce the issue in staging and local environment.
My hypothesis was that the App.reconnectApp shall first fetch the policy that is deleted in client from the server post reconnection and then the Pusher based deletion of policy happens which must be updating the UI again. As both actions are synchronous, we must be seeing such a behavior for a moment till Onyx is updated because of server load or network slow connection.
However i can't reproduce this issue. It shall help immensely if you check once. All the time my UI in local and staging are updated with 'Create new workspace' the moment is network is back.
componentDidMount() {
       NetworkConnection.listenForReconnect();
       NetworkConnection.onReconnect(() => App.reconnectApp());
       PusherConnectionManager.init();
       ...
       ...
   }

Hi @ahsan-K. @Santhosh-Sellavel was directing you to the readme as we do not use Redux, and it explains our process for hiring external contributors.

@smrutiparida Issue is not reproduced any more with build <IP_ADDRESS>
https://user-images.githubusercontent.com/93399543/198907265-b1366529-b1f9-4cec-86aa-7b3a8a3df856.mp4

Only when we go online, the option appears. But should we hide the option until we go online, I believe we should still look for solution @kbecciv ? @Julesssss What do you think?
There is a proposal above looks promising didn't get to test it though. Let me if we wish to proceed will test and update thanks!

Yeah, @Ollyws's proposal sounds good to me. @Santhosh-Sellavel please take a quick review

@Julesssss
@Ollyws proposal looks good, test well!
C+ Reviewed
🎀 👀 🎀

Thanks for the update!

Cool, looks like we are moving to reviews!

I've checked this GH and see Jule's comment that this one is still under review.

Issue not reproducible during KI retests. (First week)

I'll check the status on 11/16.

Issue not reproducible during KI retests. (Second week)

@Julesssss - this one still has a hold. Can I proceed forward to the payment? I believe there are no issues with the tests, so far.

Hey @alexpensify -- yeah, I think the hold was automatically added until we make the payment 👍

@Ollyws has been hired as the contributor. Please accept and I can continue the process in Upwork:
https://www.upwork.com/jobs/~017971a3070c51f85a

Thanks, @Ollyws! Closing this job has been paid via Upwork.

@alexpensify Missed out me!

My apology @Santhosh-Sellavel! I will work on the required steps.

@Santhosh-Sellavel - you have been hired as a contributor. Please accept and I can continue the process in Upwork:
https://www.upwork.com/jobs/~01f2ecf93218a3f610

Done thanks @alexpensify

@Santhosh-Sellavel thank you for your grace here! I've corrected my mistake 😓 and closing this job. Everyone has been paid via Upwork.


Using Blackbird for altcoin arbitrage?

How much work would it take to do this? Is it already feasible with minor tweaks, or is something larger needed?

I haven't tried it myself but I'd imagine it's possible do that. It would mostly involve going through the source and replacing all the places using btc/usd to the pair you're interested in. It'll be tedious and error prone however and you have to figure out which exchanges support the pair you want.
I believe @butor is working on supporting different altcoin pairs. You can hit him up on what the status is either here or on gitter chat.

I was thinking about Eth, mostly. As for exchanges, GDAX, Kraken, Poloniex, BitFinex, BitTrex, CoinMarketCap. Anything that supports Eth/USD, more or less.

I am interested to. Available if you like

Poloniex would be nice, as it allows US users to trade on margin (unlike Bitfinex). It also has a wide array of altcoins.


arloncli shouldn't rely on argoCD logins every 24 hours

the Arlon CLI depends on a current authenticated argocd CLI authentication existing on the users workstation.
Arlon shouldn't have this dependency.
Further, if it does it should inform the user that they need to login again OR just prompt the user and automatically log them in.

[x] inform a user they need to log into ArgoCD when the token expires
[ ] automatically log the user into argoCD
[ ] remove the dependency on argocd

Aha! Link: https://pf9.aha.io/features/ARLON-139

We definitely need to inform the user if they are not logged in to ArgoCD and their token has expired. We plan to do that.
Automatically logging user into ArgoCD is not trivial since there are some variations. e.g. ArgoCD server may have been setup using SSO using one of the supported login providers.


Update flyway-core to 5.2.4

Updates org.flywaydb:flyway-core from 4.2.0 to 5.2.4.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention @scala-steward in the comments below.
Have a nice day!

So this error is caused by steward trying to update the flyway sbt plugin. But the organization name is incorrect for the new version, it's supposed to be
 addSbtPlugin("io.github.davidmweber" % "flyway-sbt" % "5.2.0")

But I suggest we just remove the flyway sbt plugin. We're not really running migrations as SBT commands, we're just assuring the migrations are applied when the server starts up. Should we just remove the flyway sbt plugin?

I fixed the organization and the deprecation error, think this one is good.


Add Slides For Narrowing And Remove Structural Typing

The slides for the session on narrowing.
This session was originally going to include both narrowing and structural typing. However, the slides on narrowing are quite long and contain a lot of information. I think attempting to cover structural typing as well might be a bit much for this session, so I've removed it.
We could choose to move the topic to another session, add it to the possible seventh session, or drop it entirely. What does everyone think?

We could choose to move the topic to another session, add it to the possible seventh session, or drop it entirely. What does everyone think?

I’m tempted to move it to the seventh session!

Thanks @mxdvl I've added an issue to cover some of your suggestions #24


android LayoutAnimation.configureNext onAnimationDidEnd not called when animation reach end

master branch
android LayoutAnimation.configureNext onAnimationDidEnd not called when animation reach end

this is duplicate, https://github.com/facebook/react-native/issues/4936


Setting DOMAIN without SITE_NAME will be ignored

Hi, thanks for this handy library.
in djoser.utils:
        try:
            domain = django_settings.DJOSER['DOMAIN']
            site_name = django_settings.DJOSER['SITE_NAME']
        except KeyError:
            site = get_current_site(self.request)
            domain, site_name = site.domain, site.name

Someone might naively set only the DOMAIN attribute, causing the SendEmailViewMixin to get a KeyError on SITE_NAME and ignore the desired DOMAIN.

Hi @jbrownlucid! Thank you for pointing out this bug. Fixed in 4ae77be.


Card Cloner causes Crashes when trying to clone Energy Cards

LaserIO version
1.6.7
Minecraft Version
1.20.1
Forge Version
47.1.84
Modpack & Version
Direwolf20 1.20 - 1.12.1
Do you have optifine installed?
No
Describe the issue
Game crashes when interacting with card cloner after trying to clone energy cards
Steps to reproduce

Open MC
(On a server but server is fine and client crashes) Repeated in single player world with same results
Have an Energy card in a node, Overclocked with 4 overclockers and at 100,000 FE/tick
Left click on energy card with cloner
Now whenever you interact with the card cloner the game crashes
Various things that I noticed crashing the game, Placing the cloner in an inventory and hovering over it (shift was held), trying to paste the clone on a new card before placing the cloner in an inventory

Expected behaviour
Game does not crash when using the card cloner on energy cards. At most a message saying that energy cards are not supported with the card cloner.
Screenshots
No response
Log files
https://pastebin.com/TgwGxBCj
Additional information
No response

Just realized that there is a previous issue and that it has been marked as closed. see issue #220


More settings in user permissions.

Just like the Gitblit does. How do you think about that?

More pics.

Is this permissions for a user on each repository?   Looks like a good way to do it.
I'm not sure we know enough about the Git activity to have such fine-grained control, but there's definitely scope for improving the way it is right now.

Yes, it is for a user on each repository.
Gitblit is here https://github.com/gitblit/gitblit
I think we can learn some skills from it. This feature is very useful.

I like the idea of finer permission control. Default can stay as it : a person has access to a repo or not;  while an advanced user can fine tune his repo access rigth.
I find gerrit right management self explaining :

you tell the reference you want to manage permission.
you select what people can do with this this reference (pull, push, create ...)

this work best when groups have been implemented, but is also compatible with a simpler user database
I appreciate in particular that this allow to :

block push to a different user branch (you are responsible of your own work)
mask branch to certain users (ongoing development is not made public)
limit which users can push tags (project lead tells what is worth annotating).


Attempt to understand the parsing failures on Windows

Do not merge this PR. It is only meant to test Windows CI.

Just to eliminate possibilities consider dropping this from the workflow:
    - uses: actions/cache@v4
      with:
        path: hylo/.build
        key: ${{ runner.os }}-${{ matrix.configuration }}-spm-${{ hashFiles('hylo/**/Package.resolved') }}
        restore-keys: |
          ${{ runner.os }}-${{ matrix.configuration }}-spm-

Problems was likely caused by caching and has seemingly been "fixed" by effcb526ffeae5c02e71f4f914736d80c68796c7.


[JBEAP-22801] Add a note about Tech Preview status

JIRA: https://issues.redhat.com/browse/JBEAP-22801
Signed-off-by: Jeff Mesnil<EMAIL_ADDRESS>

Note displayed in OpenShift Dev Console:


GluonTS sets the root logger log-level, it should not

Description
GluonTS is configuring loggers, specifically it is setting the log level of the root logger. This prevents the application from properly configuring its loggers.
Generally speaking, configuring loggers should be avoided in libraries and left to the application. As per The Hitchhiker's Guide to Python:

Because the user, not the library, should dictate what happens when a logging event occurs, one admonition bears repeating:
It is strongly advised that you do not add any handlers other than NullHandler to your library’s loggers.
Best practice when instantiating loggers in a library is to only create them using the __name__ global variable: the logging module creates a hierarchy of loggers using dot notation, so using __name__ ensures no name collisions.

In two places at least in the code, the root logger is configured:

component.py, line 41
log.py, line 22

To Reproduce
import logging
log = logging.getLogger()
log.setLevel('DEBUG')

print(logging.getLevelName(log.getEffectiveLevel()))

from gluonts.model.deepar import DeepAREstimator

print(logging.getLevelName(log.getEffectiveLevel()))

This prints:
DEBUG
INFO

The second print should output DEBUG since this is how it was configured on line 3.
This prevents application using gluonts to properly configure their loggers.
Environment

Operating system: Ubuntu
Python version: 3.6
GluonTS version: 0.4.2

Good point @hdemers, thanks for pointing this out! Let me know in case you intend to open a PR for this, otherwise this will be addressed as soon as someone picks it up

Of course, no problem @lostella. I don't have the time right now to open a PR, but I might in the not too distant future.


Repo sync for protected CLA branch

The pull request is created from master637442568866418297 to master to fix git push error for protected CLA branch

@cmcclister : Thanks for your contribution! The author(s) have been notified to review your proposed change.


provide example for how to do video and photo capture in mrtk

Overview
A customer is having trouble doing video capture on HoloLens. They were looking for code to copy. It would be nice to provide an example for how to do photo and video capture in the MRTK examples package.

@julenka I would be wary of creating too much. There is already existing documentation with pretty good amount of how-to code:
https://docs.microsoft.com/en-us/windows/mixed-reality/locatable-camera-in-unity
https://docs.microsoft.com/en-us/windows/mixed-reality/locatable-camera
https://docs.unity3d.com/Manual/windowsholographic-photocapture.html
https://docs.unity3d.com/Manual/windowsholographic-videocapture.html
I think it would be more interesting to have an example of how to use an opencv plugin in Unity/HL. That is much harder to accomplish to create one's own native plugin and then ingest properly with Unity. We have this example but it hasn't been updated for HL2:
https://github.com/microsoft/MixedRealityCompanionKit/tree/master/PosterCalibrationSample

I think this would be a good candidate for community member if they are interested.

Actually closing this one out - I agree with @Troy-Ferrell in that we shouldn't duplicate efforts here in terms of doing video/photo capture (i.e. if I google "unity hololens video capture" it literally brings you to a unity page that tells you how to do it).


Tasks assignements in Project View

I have two dummy resources / users : John and Jane
Global settings are set to Force User
John creates a project, assigns himself as the project manager (full access)
and he creates a task, assigned to Jane.
When Jane logs into Treeio, she can see the assigned task in the dashboard
but when she goes on the Project view, the task is not listed
Any idea ?

When Jane wants to update the activity, the project is missing...
I guess that's because when a task is assigned to a user, the user has no read access to the project level ! It should be set automatically


Suggestion: add proper og:images for rules

What problem do you want to solve?
currently when a user shares eslint url through social media it shows ESLint logo as og image and that doesn't make sense. We could improve this with something better like the one github shows. I'd suggest we show the rule name, description that we have already about the rule  and if the rule is recommended or not along with some way to depict it has fix or not. That way we could convey more through the preview image.

What do you think is the correct solution?
Since the rules are static and are limited to a list we could actually write the layout for the preview image and write a node script to generate images by reading the rules.json. We could use @resvg/resvg-js to convert the layout to png. We can do this as pre commit task when there is new change in rules directory if we want to?
Participation

[X] I am willing to submit a pull request for this change.

Additional comments
I'm in for implementing if we take this 😛 . We can further explore other areas too. I suggested rules alone because it seems to have very short and crisp descriptions which will look great on the og preview

I’m all for this. I’d suggest we also look at services that can generate these images on the fly. I know there are a couple out there that allow you to pass in a background image and then text to overlay. I think that’s a better long-term solution than needing to generate and check in every image.
First step seems like to come up with a design for what these images should look like.

By on the fly I assume you are talking about something like this? https://github.com/vercel/satori/
https://vercel.com/docs/concepts/functions/edge-functions/og-image-generation
Reason why I did not suggest generating on the fly.

We might need to deploy the service separately
We have to maintain it despite the number of rules are kinda fixed and not very dynamic
Someone else can also hit the API directly to abuse the API which can be handled though

Im also up with doing this if we consider all the above points.

We have to maintain it despite the number of rules are kinda fixed and not very dynamic

Maybe we just need a template and generate the og image at build time.

First step seems like to come up with a design for what these images should look like.

I tried to create a draft

@harish-sethuraman i meant let’s find a service we can use, not one we have to maintain. That would eliminate most of the issues.
We could also use a Netlify function for this purpose.
@kecrily that looks great. 👍
Only issue with build time generation is how long it takes. We do have a limit on Netlify jobs, so it would be helpful to get an idea about how long it would take for each build.

let’s find a service we can use

It is a very simple task, all we need is to plug a library to convert layout to png. Which takes care of most of the issues.

Only issue with build time generation is how long it takes. We do have a limit on Netlify jobs, so it would be helpful to get an idea about how long it would take for each build.

I tried to convert a complex svg to png with https://www.npmjs.com/package/@resvg/resvg-js and it took me 595.372ms on my device (m1 macbook pro). Or we could even convert HTML layout to svg and to png using https://github.com/vercel/satori/. HTML -> SVG conversion is still more faster using satori it usually takes 20 to 50 ms.
If you think it might take too much time during build. We can consider having a bot for it that updates the OG images. We could trigger the bot via some tag or command to generate new og and commit it? or periodically commit new og images?

@harish-sethuraman My main goal here is to limit the complexity of generating these images. If we can offload most of the process outside of our build, that is preferable. I know it seems like a simple task, but if we are generating 300 images on every deploy, every deploy preview, for multiple translation sites, that adds up to a lot of computing that might not ever be needed. That's why I'd prefer if there was a service we could use to generate the images dynamically rather than needing to do it in bulk multiple times. (I also don't want all of those images in source control.)
If you can come up with some JS that can do the generation, we can then use a Netlify function to generate images on the fly.

I plan to implement it. During evaluation, I found that satori and @vercel/og do not support netlify function. for that we need to use its port og-edge


Fix  "get Winsize redeclared in this block" due to platform build directives

While using last master version, ran into this on linux.
(Due to the added terminal_windows.go file)
tested the forked version of this PR on windows & linux, fixed, cf used lib here
Signed-off-by: Guillaume Tardif<EMAIL_ADDRESS>

Thank you!

I also finally have created v1.0.0 release (and there is go modules support too), so you do not have to depend on master anymore :)

🍾

Btw, is there any requests on how to extend this library, is there anything basic missing?

nothing obvious doing a quick comparison with https://github.com/moby/term


Added Wimdu to the consumers list

looks good for me 👍

it’s your logo, but i’m going to ask, maybe you want to trim logo, before merge

@iamstarkov I can get rid of the extra space from the top and bottom, however then :hover looks weird comparing to the other ones. I've processed the file via ImageOptim already.

if you are saying that it looks weird in my way, then it looks better in your way. okie

published


Project still active?

Hi @LukeSheard !
I see that there haven't been updates on this repo since a long time; is it still used/relevant, or shall we archive it?
Thanks in advance!

@maoo I don't work for J.P. Morgan anymore, so it's unlikely I'll ever come back to this.

Thanks @LukeSheard ! At this point, unless nobody objects, we will proceed with the archiving of this project by the end of this week.
If anyone wants wants to step up as project maintainer, we'd be happy to unarchive and update permissions accordingly.


Remove the concept of credential

No one really uses methods except hmac, it seems over-designed.

This is a breaking change, I will propose a RFC for it.

Fixed by #203


Add a "get started" section in readme

I'd like to test my containers on my local machine.
How could I use your project to do so?
I saw your amazing video, and I really would like to test my containers.
Thanks!

Hi,
Thanks for your interest. That's definitely something that we should add.
For now, some documentation may be found at :

https://github.com/coreos/clair/blob/master/docs/Run.md
https://github.com/coreos/clair/blob/master/docs/API.md

To analyze your local container images easily, you may use this contrib tool: https://github.com/coreos/clair/tree/master/contrib/analyze-local-images

Hey :)
Thanks it was an amazing help!
I got up and running in minutes!
https://microblog.pierre-o.fr/2016/test-the-security-of-your-images-in-coreos-with-clair
(I let you close the issue)

Great! Thanks for the article!
I'll close the issue as soon as we'll have written a "getting started" doc.


CosmosDB role assignment needs extra principal-type flag

Dear Microsoft team,
The command you outlined in this documentation for creating a cosmosDB sql role assignment for a service principal does not work in Azure CLI.
az cosmosdb sql role assignment create --account-name $ACCOUNT_NAME --resource-group $RESOURCE_GROUP_NAME --scope "/" --principal-id $PRINCIPAL_ID --role-definition-id $READ_WRITE_DEFINITION_ROLE_ID
Currently, I not only need the correct Object ID but also needed to supply an extra flag --principal-type ServicePrincipal" in order to make the command work, like so:
az cosmosdb sql role assignment create --account-name $ACCOUNT_NAME --resource-group $RESOURCE_GROUP_NAME --scope "/" --principal-id $PRINCIPAL_ID --role-definition-id $READ_WRITE_DEFINITION_ROLE_ID --principal-type "ServicePrincipal"
Otherwise, I got the following error:
Code: BadRequest
Message: The provided principal ID [REDACTED] was found to be of an unsupported type : [Application]
ActivityId: [REDACTED], Microsoft.Azure.Documents.Common/2.14.0, Microsoft.Azure.Documents.Common/2.14.0, Microsoft.Azure.Documents.Common/2.14.0, Microsoft.Azure.Documents.Common/2.14.0, Microsoft.Azure.Documents.Common/2.14.0, Microsoft.Azure.Documents.Common/2.14.0

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

ID: aba612b3-f404-11b2-45d9-6e10f1fbf11d
Version Independent ID: 86ccb46e-5ebd-50a4-a911-2ac83c8a41f4
Content: Configure role-based access control with Microsoft Entra ID - Azure Cosmos Db
Content Source: articles/cosmos-db/how-to-setup-rbac.md
Service: cosmos-db
GitHub Login: @seesharprun
Microsoft Alias: sidandrews

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


Add a single command binary install

I'm thinking about a section in the docs where regular but technically capable users will be using the node binary to do simple things like sending and delegating tokens. For this to be a more streamlined process, I think it would be great to have a single-command installation process for the node.
In the past I had a pretty good experience with https://github.com/jpillora/installer
The idea is that you should be able to install the binary like this:
curl https://get.zetachain.com/node | bash

It will automatically detect OS, download the binary and install it in the right directory.

@CharlieMc0 @lumtis @brewmaster012 wdyt?

I think it's a good idea.


multi- and double-headed sperm

Add new child term of abnormal sperm head morphology MP:0009230 :
multi-headed sperm
DEF: presence of more than one heads per sperm cell
SYN: multiheaded sperm
SYN: multiple sperm heads
SYN: supernumerary sperm heads
SYN: polycephalic sperm
PMID:26472152, PMID:33008835
Annotations from J:285040, J:81819, J:305434
double-headed sperm (child of multi-headed sperm)
DEF: presence of two heads per sperm cell
SYN: two-headed sperm
SYN: double sperm heads
SYN: two sperm heads
SYN: double headed sperm
SYN: bicephalic sperm
SYN: dicephalic sperm
Annotations from J:307712

EQ for multi-headed sperm MP:0031408 uses:
'has part' some
('increased amount'
and ('characteristic of' some 'sperm head')
and ('has modifier' some abnormal))
Re-opened to add EQ for double-headed sperm MP:0031409
'has part' some
(duplicated
and ('characteristic of' some 'sperm head')
and ('has modifier' some abnormal))


fix: Add note about new repo in README.md

Whoops! Sorry, I meant to create this PR inside https://github.com/HSA-Integration/terraform-cloud-deployment-gce/tree/staging-main.


Floating label does not activate if a value is inserted to textarea/textbox

Hi,
I've been using MDL to develop a new version of my website (academic tool), and my javascript functions add values to textareas and textbox. When they add these values, there's a overlay between added text and the label (which is a floating label). The label does behave as it should if I click on the area.
The website is: http://www.ifsc.usp.br/htpoligo/new/index.html
Click in Load Example to see what I mean
Do you have any clues if this is a problem with my website or the way I implemented?
Thanks in advance.
Gustavo

You need to call change() to make the MaterialTextfield aware that the value has changed (or use change() to change the value in the first place).
I made a little codepen. HTH

Thanks for the tip.
It would be helpful if this were documented on the website or the documentation.

The solution proposed by surma works but not entirely in my case. It will not change all textfields (not even with querySelectorAll instead of querySelector), only the first one. This is the way querySelector works as far as I read about.
I got a solution using
$("#element").parent().addClass("is-dirty");
I think it is related to the class or the way I used it. I'm new to javascript and html, so I create variations of mdl-textfield, but probably in the wrong way.

@gustalima It won’t work with querySelectorAll as that returns a node list. That is basic JS and not MDL specific. Just do something like
var nodeList = document.querySelectorAll('.selector');
Array.prototype.forEach.call(nodeList, function(elem) {
  elem.MaterialTextfield.change('...');
});

@surma I checked out your solution but it does not work for me.
var nodeList = document.querySelectorAll('.mdl-textfield__input');

Array.prototype.forEach.call(nodeList, function (elem) {
    elem.MaterialTextfield.change();
});

The debugger says that the MaterialTextfield is null or undefined.

@rintindon You don't query the input itself, you query the element you define the JS class on.
Please use StackOverflow for support in the future.

I would recommend checkDirty() method instead of change(). It compares the states, and updates MDL state if necessary.
var nodeList = document.querySelectorAll('.mdl-textfield');

Array.prototype.forEach.call(nodeList, function (elem) {
    elem.MaterialTextfield.checkDirty();
});

in Angular 2+ you would do [ngClass]="{ 'is-dirty': email.dirty }" in your class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label" element (replace email with the names for your AbstractControls)

I'm still having a problem with this in a login form. Already tried what @surma provided and got nothing. My problem is with browser auto-fill fields in the login. Any suggestions about this?

@gperozzo Did you try to set an interval to run that code every once in a while? It works for me.
window.setInterval(function() {
      var nodeList = document.querySelectorAll('.mdl-textfield');

      Array.prototype.forEach.call(nodeList, function (elem) {
        elem.MaterialTextfield.checkDirty();
      });
    }, 500)

This will check for dirty textfields every half second and fix them only if necessary. Not a great solution, but it works. Credit to @ailic for the important part.

Its provided in documentation here https://getmdl.io/started/index.html . Should add componentHandler.upgradeElement(element);


Class 'ConnectionResolver' incorrectly implements interface 'Resolve'

When trying to build the project I get the following error
ERROR in /Users/rob/Downloads/DataVisualisation/Client/app/shared/route.resolver.ts (7,14): Class 'ConnectionResolver' incorrectly implements interface 'Resolve<SignalRConnection>'.
      Types of property 'resolve' are incompatible.
        Type '() => ConnectInvocationResult' is not assignable to type '(route: ActivatedRouteSnapshot, state: RouterStateSnapshot) => SignalRConnection | Promise<Signal...'.
          Type 'ConnectInvocationResult' is not assignable to type 'SignalRConnection | Promise<SignalRConnection> | Observable<SignalRConnection>'.
            Type 'ConnectInvocationResult' is not assignable to type 'Observable<SignalRConnection>'.
              Property '_isScalar' is missing in type 'ConnectInvocationResult'.

I ran npm run build:dev in the root folder of the project. Both @angular/core and @angular/router are installed.
Thanks in advance for your help!

Was this with a fresh install of the Repo? I'm wondering if this might be coming from a 4.2.2 change in Angular.

Yes, I just downloaded the repo a few hours ago. I'm new to ASP.NET and Angular, so I have never tried the template before.

The latest release of the https://github.com/HNeukermans/ng2-signalr/issues/60 has a bug.
The breaking change was introduced in version 2.0.5, version 2.0.4 still works.

I just tried using version 2.0.4 but I still get the same error.

It should work, open the package.json file and update the following to "ng2-signalr": "2.0.4"
Run npm install and you should be up an running.

Awesome, now it's working! Thanks a lot guys, I appreciate your help!
Like @markoj21 said, I downloaded the repo again and changed the "ng2-signalr": "^2.0.2"to "ng2-signalr": "2.0.4". Leaving out the '^' is important in order to force npm to install this exact version.


Use files API on Python 3.9 and later.

Fixes #140

I verified the fix by testing it against Setuptools, which encountered #140 in https://github.com/pypa/setuptools/issues/3365#issuecomment-1153413337.

Also, tests pass where they fail without the patch:
<user>@bd64ca36c213 / # cd src; tox -e py311
py311 create: /src/.tox/py311
py311 installdeps: -rdev-requirements.txt
py311 installed: attrs==21.4.0,flake8==4.0.1,iniconfig==1.1.1,mccabe==0.6.1,packaging==21.3,pluggy==1.0.0,py==1.11.0,pycodestyle==2.8.0,pyflakes==2.4.0,pyparsing==3.0.9,pytest==7.1.2,pytest-flake8==1.1.1,testpath==0.6.0,tomli==2.0.1
py311 run-test-pre: PYTHONHASHSEED='3028730102'
py311 run-test: commands[0] | pytest
============================================================= test session starts ==============================================================
platform linux -- Python 3.11.0b3, pytest-7.1.2, pluggy-1.0.0
cachedir: .tox/py311/.pytest_cache
rootdir: /src, configfile: pytest.ini
plugins: flake8-1.1.1
collected 70 items

doc/conf.py .                                                                                [  1%]
pep517/__init__.py .                                                                                [  2%]
pep517/_compat.py .                                                                                [  4%]
pep517/build.py .                                                                                [  5%]
pep517/check.py .                                                                                [  7%]
pep517/colorlog.py .                                                                                [  8%]
pep517/dirtools.py .                                                                                [ 10%]
pep517/envbuild.py .                                                                                [ 11%]
pep517/meta.py .                                                                                [ 12%]
pep517/wrappers.py .                                                                                [ 14%]
pep517/in_process/__init__.py .                                                                                [ 15%]
pep517/in_process/_in_process.py .                                                                                [ 17%]
tests/__init__.py .                                                                                [ 18%]
tests/test_build.py ....                                                                                [ 24%]
tests/test_call_hooks.py ...................                                                                                [ 51%]
tests/test_envbuild.py ...                                                                                [ 55%]
tests/test_hook_fallbacks.py .........                                                                                [ 68%]
tests/test_inplace_hooks.py .........                                                                                [ 81%]
tests/test_meta.py ....                                                                                [ 87%]
tests/samples/buildsys_pkgs/buildsys.py .                                                                                [ 88%]
tests/samples/buildsys_pkgs/buildsys_minimal.py .                                                                                [ 90%]
tests/samples/buildsys_pkgs/buildsys_minimal_editable.py .                                                                               [ 91%]
tests/samples/pkg1/pkg1.py .                                                                                [ 92%]
tests/samples/pkg2/pkg2.py .                                                                                [ 94%]
tests/samples/pkg3/pkg3.py .                                                                                [ 95%]
tests/samples/pkg_intree/backend/intree_backend.py .                                                                                [ 97%]
tests/samples/setup-py/setup.py .                                                                                [ 98%]
tests/samples/test-for-issue-104/setup.py .                                                                                [100%]

============================================================= 70 passed in 14.14s ==============================================================
___________________________________________________________________ summary ____________________________________________________________________
  py311: commands succeeded
  congratulations :)

Please let me know if you won't be able to cut a release with this or a similar fix in the next couple of weeks. If not, I'll probably need to suppress these errors or pin to github for the code.

@pfmoore or @takluyver - any feedback on this change? I'd really prefer to get a release of it rather than have a multi-phase suppress/allow across all of my projects.

I've gone ahead and prepared the 0.13 release to get this fix out.


Kafka Streams - Problem defining state store by using KafkaStreamsInfrastructureCustomizer

Affects Version(s): 2.4.1-RELEASE
Hello,
This is an issue created as continuation to remarks on this issue: https://github.com/spring-projects/spring-kafka/issues/1236#issuecomment-585962281
I'm using the new KafkaStreamsInfrastructureCustomizer to add a state store which would be used by a Transformer in a KStream. But this causes the application context to not load.
The exception thrown is (I cut off the top part):
Caused by: org.apache.kafka.streams.errors.TopologyException: Invalid topology: StateStore testStateStore is not added yet.
	at org.apache.kafka.streams.processor.internals.InternalTopologyBuilder.connectProcessorAndStateStore(InternalTopologyBuilder.java:653)
	at org.apache.kafka.streams.processor.internals.InternalTopologyBuilder.connectProcessorAndStateStores(InternalTopologyBuilder.java:597)
	at org.apache.kafka.streams.kstream.internals.graph.StatefulProcessorNode.writeToTopology(StatefulProcessorNode.java:92)
	at org.apache.kafka.streams.kstream.internals.InternalStreamsBuilder.buildAndOptimizeTopology(InternalStreamsBuilder.java:303)
	at org.apache.kafka.streams.StreamsBuilder.build(StreamsBuilder.java:558)
	at org.springframework.kafka.config.StreamsBuilderFactoryBean.start(StreamsBuilderFactoryBean.java:251)
	... 76 more

So while going through the debugger at org.apache.kafka.streams.kstream.internals.InternalStreamsBuilder#buildAndOptimizeTopology(java.util.Properties) I noticed that the StreamsSourceNode was added before the StateStoreNode (due to the Customizer only being called while starting instead of at creation time).
This is because the streams was added first to the Topology and when that one tries to connect the processor to the state store, it cannot find it. (at: org.apache.kafka.streams.kstream.internals.InternalStreamsBuilder#buildAndOptimizeTopology(java.util.Properties)).
Kafka documentation dictates that state stores should be added first before creating streams that will use them.
I believe that applying the KafkaStreamsInfrastructureCustomizer at creation time of the StreamsBuilder could solve the problem.
Code that reproduces the problem:
@Configuration
public class StateStoreProblem {
    @Bean
    public StreamsBuilderFactoryBeanCustomizer streamsBuilderFactoryBeanCustomizer() {
        return factoryBean -> factoryBean.setInfrastructureCustomizer(customizer());
    }

    private KafkaStreamsInfrastructureCustomizer customizer() {
        return new KafkaStreamsInfrastructureCustomizer() {
            @Override
            public void configureBuilder(StreamsBuilder builder) {
                StoreBuilder storeBuilder = Stores.keyValueStoreBuilder(
                        Stores.persistentKeyValueStore("testStateStore"),
                        Serdes.String(),
                        Serdes.String());
                builder.addStateStore(storeBuilder);
            }
        };
    }

    @Bean
    public KStream<String, String> testStream(StreamsBuilder kStreamBuilder) {
        KStream<String, String> stream =
                kStreamBuilder.stream("test_topic");

        stream
                .transform(() -> new Transformer<String, String, KeyValue<String, String>>() {
            @Override
            public void init(ProcessorContext context) { }

            @Override
            public KeyValue<String, String> transform(String key, String value) {
                return null;
            }

            @Override
            public void close() { }
        }, "testStateStore")
                .to("test_output");

        return stream;
    }
}

Thanks in advance for looking into this!

@stijnvanbever,
Please, consider to provide a fix on the matter.
Sounds like you are fully on board with the feature and bug popped out from there.
Thank you!

@artembilan I'd be happy to.
I have no experience in contributing to open-source projects, but I'll see what I can do.

I'll take care of it; I copied your test case and reproduced it.


added auto start service code

@ShawnDhanani This project is using version 1.0.1 of the Capture client, which sets the FLAG_RECEIVER_FOREGROUND flag when starting the service. I don't think this merge request does anything meaningfully different.

@doubleo2:
Can we delete this branch then?


Add github actions

Still work in progress, but I open the PR to test the github actions. There might be an option in settings to activate github actions.

Codecov Report

Merging #1587 (a0c4f27) into master (e90f3ec) will increase coverage by 0.04%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1587      +/-   ##
==========================================
+ Coverage   85.35%   85.40%   +0.04%
==========================================
  Files          58       58
  Lines        2206     2206
  Branches      107      107
==========================================
+ Hits         1883     1884       +1
+ Misses        323      322       -1

Impacted Files
Coverage Δ

...re/shared/src/main/scala/io/circe/KeyDecoder.scala
94.59% <0.00%> (-2.71%)
:arrow_down:

...rc/main/scala/io/circe/numbers/BiggerDecimal.scala
84.21% <0.00%> (-0.59%)
:arrow_down:

...les/core/shared/src/main/scala/io/circe/Json.scala
79.88% <0.00%> (ø)

.../core/shared/src/main/scala/io/circe/Decoder.scala
85.32% <0.00%> (+0.27%)
:arrow_up:

...re/shared/src/main/scala/io/circe/JsonNumber.scala
95.18% <0.00%> (+2.40%)
:arrow_up:

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 e90f3ec...a0c4f27. Read the comment docs.

Thanks! I'll take a closer look at this tomorrow—at a glance I don't see anything specific on the admin side that needs to be done for this to run. I guess we could just merge it and see if that works, if you think it's ready enough to try that, @erwan.

@travisbrown I've opened a PR on my fork and it seems to be working: https://github.com/erwan/circe/pull/1 I'm a bit surprised the codecov publication worked considering I didn't give it any secret 🤷  not sure it published anything.
I think it's good to merge, I haven't removed travis-ci from it anyway so it shouldn't break anything.


Add pre-check for Ruby version

Thought I'd keep it simple to dip my toes in the water, took logic from the existing Fastlane action and what was already in the launch script
Not sure if there's a better location to store the constant?

This seems totally reasonable to me. I don't think we use this constant in other places yet, so keeping it inline is 👌
🎈:goat:

Thanks for merging! 🙌
Linking #120 as I forgot to, should leave it open though to track other system requirements 😄

Thank you for helping us out here!

🚀


[text analytics] opinion mining support

fixes #12476
fixes #12477
Will be updating the samples and readme in a subsequent PR

/azp run python - textanalytics - ci


Vendor in latest go-selinux so that it supports non linux builds

Signed-off-by: Daniel J Walsh<EMAIL_ADDRESS>
- What I did
- How I did it
- How to verify it
- Description for the changelog

/test all

/retest

LGTM assuming happy tests

/test all

@mrunalp @runcom @wking PTAL

LGTM

LGTM


LND not syncing / starting anymore

Hey, after my vacation my raspiblitz was offline and I wanted to get it back working. Unfortunately I got stuck here:
Feb 16 03:41:44 wuestenigel lnd[29660]: 2019-02-16 03:41:44.844 [INF] CRTR: Syncing channel graph from height=561961 (hash=0000000000000000000e64331008e9d6033f8cf07a488e907c465633430c7bab) to height=563215 (hash=00000000000000000001faa205cc4679f1a08a17e5b3e0dccd7f48aa3d832a23) Feb 16 03:41:45 wuestenigel lnd[29660]: 2019-02-16 03:41:45.649 [ERR] SRVR: unable to start server: unable to fetch node: 02f3067188240c75beb36477db63771f66c976f7e5bdd6f6ace5508396aba24815, unable to find node Feb 16 03:41:45 wuestenigel systemd[1]: lnd.service: Main process exited, code=exited, status=1/FAILURE Feb 16 03:41:45 wuestenigel systemd[1]: lnd.service: Unit entered failed state. Feb 16 03:41:45 wuestenigel systemd[1]: lnd.service: Failed with result 'exit-code'.
any ideas how I can solve this? Should I try to update to v1.0?

Played around a little bit, now this: Do I just have to wait or can I do sth?

I think a move to v1.0 would be best: https://github.com/rootzoll/raspiblitz/blob/master/FAQ.md#2-lnd-channel-state-backup aqnd here is preview image of version 1.0: wiki.fulmo.org/downloads/raspiblitz-v1.0-2019-02-14.img.zip

Thanks, any ideas how to solve this permission thing? sorry, not 100% familiar with terminal:

Macintosh:~ marcoverch$ scp -r admin@<IP_ADDRESS>:/mnt/hdd/lnd/  /Users/marco/Dropbox/raspiblitz_backup/vor_1_0
<EMAIL_ADDRESS>password:
tls.cert                                                                                100%  774   348.5KB/s   00:00
scp: /mnt/hdd/lnd/tls.key: Permission denied

the admin user does not own the lnd files and gets a "permission denied".
use the bitcoin user - thats the owner of the LND data files:
scp -r bitcoin@<IP_ADDRESS>:/mnt/hdd/lnd/ /Users/marco/Dropbox

Great, will do!
Is it normal that progress after 24 hours is about 10%

Yeah - reindexing is a measure of last resort and will take a very long time.
With the v1.0 release to day there will be two alternatives to speed this up (replacing a corrupt blockchain). So can go to terminal and call either "/home/admin/50copyHDD.sh" to replace blockchain with fresh data from another computer by SCP or you can call "/home/admin/50torrentHDD.sh" to download a fresh prepared blockchain by torrent - once torrent is finished it will replace old data.

Great, is it normal that it took 10 days to reach 40% right now? The HDD contained the Blockchain already.

re-index means there was a problem/data-corruption with your blockchain and this is the repair fallback modus. Yeah and it really takes so long - it basically validating the whole blockchain again.
There will be more options in the next release v 1.1 to speed this up .. see my last post which experimental ways you have already in v1.0 to speed this up.

Okay, what is the reason here? My HDD had the full blockchain on it before upgrading to v1.0
I'm now on 75% after waiting 25 days. ;)
Does it mean I have to wait one month after each version update to 1.1, 1.2 and so on? ;-)

Normally blockchain data will be kept thru updates.
Version 1.0 had the build in discovery that bitcoind is requesting a reindex and then started the reindex. Not sure if that triggered anything during your update to 1.0 - because there was an error in the past with your pre-1.0 version.
Version v1.1 now is out and offers TORRENT & COPY option in case of reindex situation - this should speed up repairs. If you update during a re-index. It should offer you those new options ... not tested.
I am closing this issue. But feel free to give feeback if this was a fix for you.


feat: 🎸 Expose SS58 format

JIRA Link
https://polymath.atlassian.net/browse/DA-247

:tada: This PR is included in version 14.0.0-alpha.10 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 14.0.0-beta.1 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Replace current UTXO model for Phoenix

This entails that the wallet no longer does its own generation of transactions, but instead reaches out to a 'phoenix server' process (over gRPC), to generate the data. The Transactor should be deprecated, and dusk-wallet could become a gRPC client.

closing as it is a duplicate of #411


Failed to patch Android S Beta 2,3,4

Before patching, the ramdisk has a size of 2.5M but after patching its size shrinks to 1.8M.
ramdisk.zip

I tried to uncompress the ramdisk.img with lz4, recompress it with gzip and patch it with MagiskOnEmulator. Now it works, and with proper size.
ramdisk.zip

Can confirm this issue in beta 4 as well, by repacking it with gzip I was able to get it through.
Anyway the script fails to enable Magisk (no errors in the log, Magisk app get installed but shows as not active - N/A). Installing with canary or manager options does not change things. Someone else with any idea?

Can confirm this issue in beta 4 as well, by repacking it with gzip I was able to get it through.
Anyway the script fails to enable Magisk (no errors in the log, Magisk app get installed but shows as not active - N/A). Installing with canary or manager options does not change things. Someone else with any idea?

Because beta 4 uses bootconfig now. And Magisk does not yet support bootconfig. However, you can try magisk alpha: https://github.com/vvb2060/Magisk/tree/alpha

Thank you will try!

Superb! Worked like a charm thank you! For future use i attach the apk (unzip it first, it is an apk) for Magisk alpha-31 here
Magisk.apk.zip

After much trouble another problem came out (is this a Magisk issue or MagiskOnEmulator?)
busybox in /data/adb/magisk get always installed in arm64 version not x86_64 leading to all kind of problems.
So a guide for everyone who's trying to setup magisk on Android 12 (beta 4 and below) and an emulator x86_64:

Download MagiskOnEmulator
Download Magisk alpha-31 (linked above)
Copy the original ramdisk, extract it with lz4 and repack it with gzip
Copy back the gzipped ramdisk and start the emulator (cold boot)
Run patch.sh
Stop the emulator, copy the modified ramdisk over the original one and cold boot it again
Download busybox64 from https://raw.githubusercontent.com/Magisk-Modules-Repo/busybox-ndk/master/busybox-x86_64-selinux , rename it to 'busybox'
Restart adb with root permissions, copy the busybox binary to /data/adb/magisk/
Open an adb shell with root permissions and navigate to /data/adb/magisk/, chmod +x busybox
Reboot and finally enjoy Magisk!

Thank you @yujincheng08 for the help. @shakalaca can we look into this and maybe fix it? Thank you all for your hard work!

It's from MagiskOnEmulator. You can notice a comment in MagiskOnEmulator saying comment this to use the original busybox instead of the prepared one. So the only thing you need to do is to comment that part of codes:
diff --git a/busybox_arm b/busybox_arm
deleted file mode 100644
index 8de3f5c..0000000
Binary files a/busybox_arm and /dev/null differ
diff --git a/process.sh b/process.sh
index 2b01262..66b9eea 100644
--- a/process.sh
+++ b/process.sh
@@ -126,14 +126,14 @@ fi

 # Use x86_64 busybox instead of built-in one.
 # If you don't wanna take it, comment out those lines
-if [[ $IS64BIT == true ]]; then
-  rm -f ${TMP_DIR}${BINDIR}/$ARCH/busybox
-  if [[ $ARCH == "x86" ]]; then
-    $BUSYBOX wget -c https://raw.githubusercontent.com/Magisk-Modules-Repo/busybox-ndk/master/busybox-x86_64-selinux -O ${TMP_DIR}${BINDIR}/$ARCH/busybox
-  else
-    $BUSYBOX wget -c https://raw.githubusercontent.com/Magisk-Modules-Repo/busybox-ndk/master/busybox-arm64-selinux -O ${TMP_DIR}${BINDIR}/$ARCH/busybox
-  fi
-fi
+# if [[ $IS64BIT == true ]]; then
+#   rm -f ${TMP_DIR}${BINDIR}/$ARCH/busybox
+#   if [[ $ARCH == "x86" ]]; then
+#     $BUSYBOX wget -c https://raw.githubusercontent.com/Magisk-Modules-Repo/busybox-ndk/master/busybox-x86_64-selinux -O ${TMP_DIR}${BINDIR}/$ARCH/busybox
+#   else
+#     $BUSYBOX wget -c https://raw.githubusercontent.com/Magisk-Modules-Repo/busybox-ndk/master/busybox-arm64-selinux -O ${TMP_DIR}${BINDIR}/$ARCH/busybox
+#   fi
+# fi
 # END
 cp ${TMP_DIR}${BINDIR}/$ARCH/* $MAGISK_DIR
 mv ${TMP_DIR}${COMMON}/* $MAGISK_DIR

Yeah I saw that but this is right. See I downloaded the very same version and substituted manually in /data/adb/magisk. I also see in the log that it download the x86_64 version from GitHub, but then in the data folder there is the arm version. Why?

Hi, you're talking about ADB and I ran into an error,
C:\Users\treni\Desktop\f\MagiskOnEmulator-master>patch.bat
"adb" is not an internal or external
command, executable program, or batch file.
Can you tell me what manipulation you need to do with ADB
In this video everything goes without running ADB https://youtu.be/RcSYjWUPq2M?t=373

You have to install adb, the script expects to have it. Download adb from Here and then add it to PATH (search on the internet for instructions)

https://github.com/shakalaca/MagiskOnEmulator/issues/39#issuecomment-934966698 does not mention that you need the Magisk "canary" build to make it work. I was able to root it via https://github.com/newbit1/rootAVD after figuring this out.

First its written right in the point #2 "Download Magisk alpha-31 (linked above)", second all of this is done for free so no need to complain at all. If you want to provide clearer instructions you are free to do so

In your opinion I should "fork" your comment above to provide my own description but I think merging my suggestions (not complains) would be more useful for other people. Another suggestion is to also make it clear that your solution requires the a non-googleplay system image, otherwise the adb root stuff won't work. This is not about being payed or not, is about delivering clear info to save other people time, which I think it's our common target

@yujincheng08  @fusionneur @shakalaca  I gave up trying to patch AVD:S/12.0 due to busybox missworking /data/local/tmp/process.sh[167]: /data/local/tmp/busybox: not executable: 64-bit ELF file
GOOD NEWS is  MagiskOnEmulator succeeds with latest Canary 23016 on AVD:API32 (Google APIs) e.g. 12L(beta)
As for https://github.com/newbit1/rootAVD I have no idea why this forked gplv3 patch.sh includes unknown busybox binaries in the end  of the sh script (!!), ( @osm0sis ?)

Magisk has official support for AVD now.
https://github.com/topjohnwu/Magisk/commit/20ef724fad5e0cbf2ee679406f2333eb17f9121b

Good news. Are there any news which will be the version which will support this and if there is any guide on how to properly root avd? Thank you!

I successfully patched android api 32 rev. 3 (Google APIs Intel x86 Atom_64 System Image) under Android Studio Beta 2021.2.1
What i did:

Downloaded magisk apk from https://github.com/topjohnwu/Magisk/releases/download/v24.1/Magisk-v24.1.apk

renamed apk into Magisk.zip and copied into MagiskOnEmulator folder

copied the ramdisk.img from C:\Users<user>\AppData\Local\Android\Sdk\system-images\android-32\google_apis\x86_64 to MagiskOnEmulator folder

while avd running, ran the patch script with no other parameter

copied the patched ramdisk.img back to  C:\Users<user>\AppData\Local\Android\Sdk\system-images\android-32\google_apis\x86_64

powered off avd, then cold booted it. Magisk was shown properly installed and i was able to adb shell into it and then "su -", granted root access to shell and for example the command "ls /" worked as expected

Extra note:
I also commented this section in the process.sh script for a full offline patching (no internet required in avd) before running patch.bat:
# Use x86_64 busybox instead of built-in one.
# If you don't wanna take it, comment out those lines
if [[ $IS64BIT == true ]]; then
rm -f ${TMP_DIR}${BINDIR}/$ARCH/busybox
if [[ $ARCH == "x86" ]]; then
# $BUSYBOX wget -c https://raw.githubusercontent.com/Magisk-Modules-Repo/busybox-ndk/master/busybox-x86_64-selinux -O ${TMP_DIR}${BINDIR}/$ARCH/busybox

else
# $BUSYBOX wget -c https://raw.githubusercontent.com/Magisk-Modules-Repo/busybox-ndk/master/busybox-arm64-selinux -O ${TMP_DIR}${BINDIR}/$ARCH/busybox

fi
fi
# END

Adding my steps here, as the solutions proposed so far didn't work for me. Verified on archlinux patching the x86_64 image of "Android 12 (Google Play)" using rootAVD.

git clone https://github.com/newbit1/rootAVD
locate the original ramdisk.img file of the AVD, e.g. in ~/Android/Sdk/system-images/android-31/google_apis_playstore/x86_64/ramdisk.img, and backup it
copy the original ramdisk.img to the rootAVD dir just cloned
download the latest version of Magisk (tested with Magisk v24.1), rename it to Magisk.zip and move it to the rootAVD dir, replacing the existing one
start the avd
from the rootAVD dir, run echo 1 | ./rootAVD.sh ramdisk.img. This will patch the ramdisk.img in the current dir, it will install magisk manager to the running avd and then it will shut down the avd
copy the patched ramdisk.img from the rootAVD folder back to the system-images folder, to replace the original file
launch the emulator

If everything worked correctly, you should be able to run adb shell -t su and get a root shell. If you open the magisk manager app you will see a warning "requires additional setup" but this is normal. If you experience problems, always start from the original backed-up ramdisk.img.

good to know there are other alternatives out there, but you are basically promoting another one here and not actually contributing to this project. As i said in the previous comment, magiskOnEmulator works as well for latest android. If something is not working, you should open an issue.

but you are basically promoting another one here and not actually contributing to this project

This project has no activity since May 2021, but this issue is a reference for people trying to root avds with Android 12. I think the right place to solve this is on the Magisk repo (not here, not in rootAVD), I'm just providing a list of steps which work for me and hopefully can help other people.

magiskOnEmulator works as well for latest android

It does not work for me :/

If something is not working, you should open an issue.

I guess this is the issue?

what error/issue did you get when following my steps?

Adding my steps here, as the solutions proposed so far didn't work for me. Verified on archlinux patching the x86_64 image of "Android 12 (Google Play)" using rootAVD.

git clone https://github.com/newbit1/rootAVD
locate the original ramdisk.img file of the AVD, e.g. in ~/Android/Sdk/system-images/android-31/google_apis_playstore/x86_64/ramdisk.img, and make a backup of it
copy the original ramdisk.img to the rootAVD dir just cloned
download the latest version of Magisk (tested with Magisk v24.1), rename it to Magisk.zip and move it to the rootAVD dir, replacing the existing one
start the avd
from the rootAVD dir, run echo 1 | ./rootAVD.sh ramdisk.img. This will patch the ramdisk.img in the current dir, it will install magisk manager to the running avd and then it will shut down the avd
copy the patched ramdisk.img from the rootAVD folder back to the system-images folder, to replace the original file
launch the avd

If everything worked correctly, you should be able to run adb shell -t su and get a root shell. If you open the magisk manager app you will see a warning "requires additional setup" but this is normal. If you experience problems, always start from the original backed-up ramdisk.img.

on work


implement KeyIdStorage in Rust

Description of change
Add the KeyIdStorage trait as a way for saving KeyIds of verification method materials by introducing MethodDigest that takes a VerificationMethod.  This is an implementation of the issue https://github.com/iotaledger/identity.rs/issues/1126 with the difference that IdentityStorage is named here as KeyIdStorage (to be discussed).
KeyStorageError is now refactored as generic StorageError for both KeyStorage and KeyIdStorage.
Links to any relevant issues
fixes issue #1126.
Type of change
Add an x to the boxes that are relevant to your changes.

[ ] Bug fix (a non-breaking change which fixes an issue)
[x] Enhancement (a non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation Fix

With regards to the name of the trait I think we can decide on that later.


Run python code in rust directly through pyo3

Hi,
As is said in https://github.com/cpmech/plotpy/issues/58#issuecomment-2303621266
"I assume some of the crates wouldn't have save in the name because they don't need to save a file in order to show it - i.e. they just print out the image data directly to stdout without creating any files."
The working strategy of plotpy is practical but inefficient, especially when the dataset is larger.  I am trying to run python code in rust directly without saving them to the disk. This is a minimal example:
Cargo.toml:
[package]
name = "abc"
version = "0.1.0"
edition = "2021"

[dependencies]
plotpy = {git = "https://github.com/cpmech/plotpy"}
pyo3 = { version = "0.22.2", features=["auto-initialize"] }

main.rs
use pyo3::prelude::*;

fn main() -> PyResult<()> {
    let b: &str = "import numpy as np\n\
                   from matplotlib import pyplot as plt\n\
                   path='boxplot.svg'\n\
                   x=np.array([[1,2,3,4,5,],[2,3,4,5,6,],[3,4,5,6,7,],[4,5,6,7,8,],[5,6,7,8,9,],[6,7,8,9,10,],],dtype=float)\n\
                   positions=[1,2,3,4,5,]\n\
                   p=plt.boxplot(x,sym=r'b+',vert=False,whis=1.5,positions=positions,widths=0.5)\n\
                   plt.savefig(path)\n";
    Python::with_gil(|py| Python::run_bound(py, b, None, None))
}

I ran the "buffer" from plotpy in pyo3 successfully without any interaction with disk. And we perhaps can even get svg string from matplotlib and showing jupyter directly without saving the figure (such as through Try using StringIO to avoid writing any file-like object to disk).
This is only a minimal example. I think a great effort is needed if we adopt this strategy. But now we can keep an eye on it in the future.

It sounds interesting. I didn't know we could fetch dependencies via git and wasn't aware of pyo3. Thanks.

I've read a little about Pyo3, but unfortunately, I won't have the time to implement it. The approach of saving an SVG (or PNG) file has worked for me for years. I'll close this for now since it's not an issue. However, the possibility of using Pyo3 is on the table as a future PR.