Add log timestamp fallback

Implementing https://github.com/microsoft/common-schema/pull/400

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


Introduce dependabot

Dependabot supports automatically updating Cargo dependencies.
databend and tikv/yatp already makes use of it and I think it's a net win to introduce such bot for Engula so that we don't have to update dependencies manually.
A prerequisite is that @huachaohuang whether you think we should keep all dependencies up-to-date? If so, please mark this issue as good-first-issue so that contributors can deal with the details. If not, close it with explanations.

https://github.com/datafuselabs/databend/issues/3785
emmm, Dependabot is good, but not enough

I don't think this is necessary for now, considering that the current codebase is still very unstable. It seems a nice thing to have in the future, though.

Close this for now until we have a more stable codebase.


Added integration test for scale-to-zero feature of cluster autoscaler

What this PR does / why we need it: Adds Integration test for the scale-to-zero feature of autoscaler.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer: Skipping the test for other providers except aws and azure.
Release note:

NONE

cc @tim-ebert

rebase to latest master please

rebase to latest master please
also, please squash the commits :)

Done.


Cannot create bignumber instance without new

There is problem creating instance of bignumber in typescript (probably also in JavaScript)
import BigNumber from 'bignumber.js';
const bn = BigNumber('0.123');

There is error : Value of type 'typeof BigNumber' is not callable. Did you mean to include 'new'?
As per doc new keyword for creating instance of Bignumber should not be required.

Is there an issue with using new? It is meant to be used as a class after all.

There is problem creating instance of bignumber in typescript (probably also in JavaScript)

No, it's just in typescript.
This stackoverflow post seems to give some workarounds but I am not going to try and fix this issue myself.
I recommend that typescript users just use new.
Of course, if someone wants to amend the bignumber.d.ts file to fix this issue then a PR wpuld be welcome.


"System.Data.SqlClient is not supported on this platform." error appearing with Gauge.

Describe the bug
I am trying to connect to sql db using library System.Data.SqlClient but getting following error.
"System.Data.SqlClient is not supported on this platform."
Can you please help how can i make this work this with Gauge.
Same Library is working fine with nunit or normal console application in .net core framework.
What command(s) did you run when you found the bug?
For e.g.
new SqlConnection(connectionstring);

Output, stack trace or logs related to the bug
"System.Data.SqlClient is not supported on this platform."
Versions
Gauge (Output of gauge -v)
Gauge version: 1.0.8
Commit Hash: 28617ea
Plugins
dotnet (0.1.4)
html-report (4.0.8)
screenshot (0.0.1)
Node.js/Java/Python/.Net/Ruby version
.Net
Operating System information
Windows 10
IDE information
VScode

Any update on this issue. Is there any workaround or solution for this?

Thanks for reporting, I am investigating this.
Some findings reported here: https://github.com/getgauge/gauge-dotnet/issues/85#issuecomment-639343328

Hi Sriv,
I can see some commits are done for this issue. Can you please tell when can we expect this update?
Thanks
Preeti

hi @preetipadalia - yes, this should be fixed now. Can you try installing gauge-dotnet 0.1.6 and see if it helps?
I verified this by using EntityFramework+sqlite (I don't have access to any other RDBMS instance at the moment).

I took the updated plugin but it is behaving weirdly.
Sometimes getting error as file can not access as it is being accessed by some other file. And if i forcefully kill dotnet process again start debugging getting following error:
Exception thrown: 'System.InvalidOperationException' in System.Linq.dll
Exception thrown: 'Grpc.Core.RpcException' in Gauge.Dotnet.dll
Exception thrown: 'System.Reflection.TargetParameterCountException' in System.Private.CoreLib.dll
Exception thrown: 'System.InvalidOperationException' in System.Linq.dll
Exception thrown: 'Grpc.Core.RpcException' in Gauge.Dotnet.dll

Are you able to execute the project? (i.e. without a debugger attached?)

Following error appearing while running without debugging:
Error Message: Sequence contains no matching element
Stacktrace:
at System.Linq.ThrowHelper.ThrowNoMatchException()
at System.Linq.Enumerable.First[TSource](IEnumerable1 source, Func2 predicate)
at Gauge.Dotnet.AssemblyLoader.GetLibType(LibType type)
at Gauge.Dotnet.ExecutionOrchestrator.GetAllPendingScreenshotFiles()
at Gauge.Dotnet.ExecutionOrchestrator.BuildResult(Stopwatch stopwatch, ExecutionResult executionResult)
at Gauge.Dotnet.ExecutionOrchestrator.ExecuteHooks(String hookType, HooksStrategy strategy, IList1 applicableTags, ExecutionContext context)      at Gauge.Dotnet.Processors.HookExecutionProcessor.ExecuteHooks(ExecutionInfo info)      at Gauge.Dotnet.Processors.ExecutionEndingProcessor.Process(ExecutionEndingRequest request)      at Gauge.Dotnet.RunnerServiceHandler.<>c__DisplayClass29_0.<FinishExecution>b__0()      at Gauge.Dotnet.RunnerServiceHandler.processAndGetTask[TResult](Func1 fn)

Can you please share a sample project where I can replicate these issues?

Getting following errors:
Getting following errors:
C:\Program Files\dotnet\sdk\3.1.302\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Publish.targets(147,5): error MSB3021: Unable to copy file "C:\Users\user.nuget\packages\fluentassertions\4.19.4\lib\netstandard1.3\FluentAssertions.Core.dll" to "Sample\gauge_bin\FluentAssertions.Core.dll". The process cannot access the file 'Sample\gauge_bin\FluentAssertions.Core.dll' because it is being used by another process. [Sample\netcore-template.csproj]
C:\Program Files\dotnet\sdk\3.1.302\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Publish.targets(147,5): error MSB3027: Could not copy "obj\Debug\netcoreapp3.1\win-x64\netcore-template.dll" to "Sample\gauge_bin\netcore-template.dll". Exceeded r
etry count of 10. Failed.  [Sample\netcore-template.csproj]
C:\Program Files\dotnet\sdk\3.1.302\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Publish.targets(147,5): error MSB3021: Unable to copy file "obj\Debug\netcoreapp3.1\win-x64\netcore-template.dll" to "Sample\gauge_bin\netcore-template.dll". The process cannot access the file 'Sample\gauge_bin\netcore-template.dll' because it is being used by another process. [Sample\netcore-template.csproj]
C:\Program Files\dotnet\sdk\3.1.302\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Publish.targets(147,5): error MSB3027: Could not copy "C:\Users\user.nuget\packages\gauge.csharp.lib\0.7.6\lib\netstandard2.0\Gauge.CSharp.Lib.dll" to "Sample\gauge_bin\Gauge.CSharp.Lib.dll". Exceeded retry count of 10. Failed.  [Sample\netcore-template.csproj]
C:\Program Files\dotnet\sdk\3.1.302\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Publish.targets(147,5): error MSB3021: Unable to copy file "C:\Users\user.nuget\packages\gauge.csharp.lib\0.7.6\lib\netstandard2.0\Gauge.CSharp.Lib.dll" to "Sample\gauge_bin\Gauge.CSharp.Lib.dll". The process cannot access the file 'Sample\gauge_bin\Gauge.CSharp.Lib.dll' because it is being used by another process. [Sample\netcore-template.csproj]
{"logLevel":"fatal","message":"Unable to build Project in Sample\ndotnet Project build failed.\nRan 'dotnet publish --runtime=win-x64 --configuration=Debug --output="Sample\gauge_bin"  "netcore-template.csproj" --verbosit
y=quiet'\n   at Gauge.Dotnet.GaugeProjectBuilder.BuildTargetGaugeProject()\r\n   at Gauge.Dotnet.StartCommand.TryBuild()"}

I've put the sample I used to test here: https://github.com/getgauge-examples/gauge-sqlite-ef-demo
Please try and see if this works for you. Please ensure that you are using the latest gauge-dotnet (>= 0.1.6)

ok @sriv . I will check this and let u know.

Getting 404 for the project link.
Tested it with my project but getting same issue.

https://github.com/getgauge-examples/gauge-sqlite-ef-demo should be accessible now.

I have tried with the project given. Debugging failed but run I could do with the project.
While debugging, I Am getting an error as the file is being used by some other process.
I tried by enhancing it by adding hooks from my existing projects and getting error as :
AfterSuite Hook and before suite execution is getting failed .
Error Message: Parameter count mismatch.

Error Message: Parameter count mismatch.

Working on this - https://github.com/getgauge/gauge-dotnet/issues/110
Will investigate debugging.

@preetipadalia gauge-dotnet 0.1.7 is out, please try.
It contains fix for Error Message: Parameter count mismatch.
I am able to debug the project using gauge-vscode as well (see below):

Thanks, I'll test it. One thing I noticed when we open the project in vscode, gauge vscode extension instantiate gauge server, and enable code ens in vscode. in that process, it is blocking those dlls. when I Am trying to use Debug scenario I Am getting' file  is being used' error. But when I kill the dotnet process and then again try Debug its attaching the Debugger.

So the chain of events is something like this:
Gauge-Vscode --(onActivation)--> Gauge (LangServer mode) ----> gauge-dotnet ----> Load Target Assembly (via Reflection)
So what you describe is correct. However I don't see that issue myself. If you have any way for me to replicate I can look into it deeper.
I'll close this issue now (the original issue around sqlclient should be addressed). Feel free to create a new issue for debugger with details.


Add Tero's blog post to service standard 2 and What's new

https://digital.nhs.uk/blog/design-matters/2022/products-deliver-outputs-services-deliver-outcomes

Also add these:
  A new role as Head of Design at NHSX

Published on: 1 February 2022

Kathryn Grace's site

Kathryn Grace, Head of Design at NHSX, talks about leadership, design, a patient and carer's perspective, and the NHS digital service manual.


Upgrade DynamoDB SDK

Hi, Thank you for your work on this project.
I've noticed that while using we get an alert for an old dependency warning, and I was wondering if there was any chance of it getting updated or if that would cause too much trouble/issues.
"@aws-sdk/client-dynamodb": "^1.0.0-rc.5"  current version is 3.131.0

Hi @apporto-bobby , thanks for the advice! I'll update this ASAP!


STATUS: commands don't work if cursor at end of line

On the STATUS: view, if the cursor happens to be at the very end of the line which represents a file, the commands don't work.

I fixed it at be6d404085402892ee1810689d03ce34f4c5c2ea already.

Thats right.
I will close this one. Feel free to reopen.

Thanks 👍


Ce file uploads tab

Coverage decreased (-0.2%) to 92.323% when pulling e65c31272df5641ac090e2cd3584f0588fd36c10 on ce_file_uploads_tab into a2d966124d50d607a0ea53ec92baf0dcec77e787 on staging.


[Tests] Test applicability issues with iGEMM MLIR

@JehandadKhan  and @xinlipn , then it seems that the following two locations have logic issues:

Should the test be enabled when test_all OR test_float/half??

https://github.com/ROCmSoftwarePlatform/MIOpen/blob/60cf9c095356a58d9ef369856b585ac1f4d39946/test/gtest/conv_igemm_mlir.cpp#L117-L120
https://github.com/ROCmSoftwarePlatform/MIOpen/blob/60cf9c095356a58d9ef369856b585ac1f4d39946/test/gtest/conv_igemm_mlir.cpp#L139-L142
https://github.com/ROCmSoftwarePlatform/MIOpen/blob/60cf9c095356a58d9ef369856b585ac1f4d39946/test/gtest/conv_igemm_mlir_xdlops.cpp#L90-L93
CC: @atamazov
Originally posted by @junliume in https://github.com/ROCmSoftwarePlatform/MIOpen/issues/2528#issuecomment-1813901285

Updated by https://github.com/ROCmSoftwarePlatform/MIOpen/pull/2528#issuecomment-1813926759
The usage is explained here: https://github.com/ROCmSoftwarePlatform/MIOpen/pull/2320#discussion_r1327817140
False alarm from myside.


extract images

Hi,
when i use ffmpeg_video_read to extract the image,i specified a frame rate of 60,but i found the number of frames and the number of corresponding motions are unequal.
while if i don't specify fps,the number are equal.
i use gHO_sBM_c01/02...09_d19_mHO2_ch02 .mp4 and get 481 images,but smpl poses only have 480.so do i need to specify the frame rate?
Thanks！

Thanks for this great catch! I just fixed the small bug in the api.
The problem was from this line:
stream = ffmpeg.filter(stream, 'fps', fps=fps, round='up')

The round='up' argument causes one more frame in the end. I checked the timestamps data stored in the 2D keypoint pkl files and it turns out we were rounding down for the timestamps. So I just fixed this issue by updating the argument to round='down'.

Hi,
I'm using the ffmpeg_video_to_images on the val set and for some videos (ex:gWA_sFM_c01_d26_mWA3_ch11) I get the correct number of frames when using round='down' and for others (ex: gBR_sBM_cAll_d05_mBR0_ch08) I need to use round='up'.
Do you know what is happening?

Hi thanks for reporting. I'm currently in a travel so will check it in a few days.


Outdated youtube-dl

Hi, i see that youtube-dl that api server is using is outdated.
the youtube-dl latest version is "2<IP_ADDRESS>" but the api/version shows "2016.05.10"

I've just updated it :).
Please note that if you want to use youtube-dl-api-server for your own app, you should deploy your own server. Because the test server runs on a free GAE plan and it has limited resources.


Error: ReactiveFormField widget couldn't find a parent widget. An instance of ReactiveTextField widget must be under a ReactiveForm or a ReactiveFormArray in the widgets tree.

Hello,
Since yesterday, I try to use this great package with the configuration explained in that closed issue:
https://github.com/joanpablo/reactive_forms/issues/99
Today I have the following error:
ReactiveFormField widget couldn't find a parent widget. An instance of ReactiveTextField<dynamic> widget must be under a ReactiveForm or a ReactiveFormArray in the widgets tree.

I began recently to develop in Flutter so maybe my questions are basics.
And sorry if my sentences are not very good I'm French :-)
I try to implement the method explained in this example:
https://github.com/joanpablo/reactive_forms/blob/master/example/lib/samples/simple_sample.dart
In my page (which extends StatefulWidget) and in the class "State" I declared:
  FormGroup get form => fb.group(<String, dynamic>{
        'name': ['', Validators.required],
        'sendNotifications': [false, Validators.required],
      });

After, I use "Cubit" (from BLOC):

...
  child: Column(
	children: [
	  BlocConsumer<ComponentCubit, ComponentState>(
		listener: (context, state) {
		  if (state is ComponentError) {
			widgetBuildError(context, state.message);
		  }
		},
		builder: (context, state) {
		  if (state is ComponentInitial) {
			return widgetBuildInitial(context, form);
		  } else if (state is ComponentLoading) {
			return widgetBuildLoading();
		  } else if (state is ComponentLoaded) {
			return widgetBuildLoaded(context);
		  } else {
			// In case of error we call the initial widget here and we handle the error with the above listener
			return widgetBuildInitial(context, form);
		  }
		},
	  )
	],
  ),
...

And for the Cubit initial part I declared a widget like this:
  Widget widgetBuildInitial(context, form) {
    return ReactiveFormBuilder(
      form: () => form,
      builder: (context, form, child) {
        return Column(
          children: [
            myWidgetForm(context, form),
            ReactiveFormConsumer(
              builder: (context, form, child) {
                return GestureDetector(
                  child: myWidgetValidateButton(context, form, null),
                  onTap: () => myFormSubmit(context, form),
                );
              },
            ),
          ],
        );
      },
    );
  }

=> I declared a "GestureDetector" widget because I separated the code into several parts and I did not find a way to manage the action :-)
My function "myFormSubmit":
  void myFormSubmit(context, form) {
    if (form.valid) {
      this._myFields01 = form.control("my_field_01");
      this._myFields02 = form.control("my_field_02");
      this._myFields03 = form.control("my_field_03");
      final myObjectCubit = context.bloc<ComponentCubit>();
      myObjectCubit.mySpecificMethodCubit(this._myFields01, this._myFields02, this._myFields03);
    }

=> So here I tried to pass by parameters the validated content of the fields
To manage the "input" fields I declared a generic global class:
...
import 'package:reactive_forms/reactive_forms.dart';
...

class FormInputText extends StatefulWidget {
  final Function(int, String) onChangedStep;
  final String fieldName;
  final String fieldTitle;
...

  const FormInputText({
    Key key,
    @required this.fieldName,
    @required this.fieldTitle,
...
    this.onChangedStep,
  }) : super(key: key);

  @override
  _FormInputTextState createState() {
    return _FormInputTextState();
  }
}

class _FormInputTextState extends State<FormInputText> {
  String _fieldName = "";
  String _fieldTitle = "";
...

  @override
  Widget build(BuildContext context) {
    this._fieldName = widget.fieldName;
    this._fieldTitle = widget.fieldTitle;
...
    return Container(
      height: 60.0,
      child: Row(
        children: [
          Expanded(
            child: ReactiveTextField(
              formControlName: this._fieldName,
              style: TextStyle(
                color: Theme.of(context).accentColor,
                ...
              ),
              decoration: InputDecoration(
                contentPadding: EdgeInsets.all(0.0),
                ...
              ),
            ),
          ),
        ],
      ),
    );
  }
}

And I call this above generic class like this:
Widget myWidgetForm(context, form) {
  return Column(
    crossAxisAlignment: CrossAxisAlignment.stretch,
    children: [
      FormInputText(
        fieldName: "my_field_01",
        fieldTitle: "Field 01",
      ),
      SizedBox(height: 2.0),
      FormInputText(
        fieldName: "my_field_02",
        fieldTitle: "Field 02",
      ),
      SizedBox(height: 2.0),
      FormInputText(
        fieldName: "my_field_03",
        fieldTitle: "Field 03",
      ),
    ],
  );
}

So now with the error I get I think I should use "ReactiveForm" instead of "ReactiveFormBuilder" like this:
...
	child: ReactiveForm(
	  formGroup: this.form,
	  child: Column(
		children: [
		  BlocConsumer<ComponentCubit, ComponentState>(
			listener: (context, state) {
			  if (state is ComponentError) {
				widgetBuildError(context, state.message);
			  }
			},
			builder: (context, state) {
			  if (state is ComponentInitial) {
				return widgetBuildInitial(context, form);
			  } else if (state is ComponentLoading) {
				return widgetBuildLoading();
			  } else if (state is ComponentLoaded) {
				return widgetBuildLoaded(context);
			  } else {
				// In case of error we call the initial widget here and we handle the error with the above listener
				return widgetBuildInitial(context, form);
			  }
			},
		  )
		],
	  ),
	),
...

But I don't understand why your example doesn't show a "ReactiveForm" at all:
https://github.com/joanpablo/reactive_forms/blob/master/example/lib/samples/simple_sample.dart

I tried what I said before... using directly "ReactiveForm()" does not work either.
Maybe because the final "ReactiveTextField" are inside StatefulWidget (in the "State" part).
The FormGroup is declared outside (elsewhere higher in the widget tree).
Did you try such a usage before?

OK I had a problem in my declaration of "FormGroup".
I forgot to declare the good fields here:
  FormGroup get form => fb.group(<String, dynamic>{
        'name': ['', Validators.required],
        'sendNotifications': [false, Validators.required],
      });

Better with:
  FormGroup get form => fb.group(<String, dynamic>{
        'my_field_01': ['', Validators.required],
        'my_field_02': ['', Validators.required],
        'my_field_03': ['', Validators.required],
        'sendNotifications': [false, Validators.required],
      });

I close this issue :-)

Hi @jbt-cii,
Thanks for using Reactive Forms, I'm glad that you have solved the issue. Don't hesitate to open another if you have more questions.
Best regards

Thanks for your answer.
Yes I have another question so I have just opened another issue:
https://github.com/joanpablo/reactive_forms/issues/104
:-)


fix recursive queue flush

fixes a bug where a effect calling batch would result in a recursive queue flush due to it updating the effect too.
also removes the error since the behavior for it changed to start flushing from when the batch call was started rather than flushing the entire update_queue

your unit tests aren't nearly comprehensive enough, you only check if the assertion still exists and not if batching within reactive scopes actually work in various graph setups

why swap this?
the order decides if deferred evaluations from batching will be batched themselves, you've chosen that they won't - why?

this is turning a footgun into a footbomb


Update live for release 1.4.0

Docs Build status updates of commit 0c1233a:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

project-rome-docs/objectivec-api/userdata/MCDUserDataFeed.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Fix Issue 363: Changes to UT & MI, USA

Fixes Not Reported County in Michigan as well as Tri County Health District and Bear River Health District in Utah.
Closes https://github.com/covidatlas/coronadatascraper/issues/363.

NICE. I never knew what Bear River was. Thanks for doing the work!


[gpu] error installing GPU version: "CMakeLists.txt not present"

Description
While am trying to use GPU along with LightGBM am getting an error like "recompile with CMake DUSE_GPU=1", but again while am trying that am getting an error like CMakeLists.txt not present.
Please help me to solve this error immediately.
Reproducible example

Environment info
LightGBM version or commit hash:
Command(s) you used to install LightGBM

Additional Comments

Thanks for your interest in LightGBM.
Please see the documentation on building a GPU-accelerated version of LightGBM:

NVIDIA GPUs: https://lightgbm.readthedocs.io/en/latest/Installation-Guide.html#build-cuda-version
all others: https://lightgbm.readthedocs.io/en/latest/Installation-Guide.html#build-gpu-version

If you're looking to use the Python package, see that documentation:

NVIDIA GPUs: https://github.com/microsoft/LightGBM/blob/master/python-package/README.rst#build-cuda-version
all others: https://github.com/microsoft/LightGBM/blob/master/python-package/README.rst#build-gpu-version

If those don't resolve your issue, please post a minimal, reproducible example with the information you were asked to provide when you clicked "new issue":

operating system
version of LightGBM (or commit hash)
exact commands you ran to install LightGBM
any logs printed by the build

I've reformatted your post so that your question is in the body and not all in the title. I suspect you might be new to GitHub. We're happy to have you here, but please review the following before posting again:

https://docs.github.com/en/issues/tracking-your-work-with-issues/creating-an-issue
https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax

Closing due to lack of response. We'd be happy to help in the future if you have other questions.


Add Broker over HTTP benchmark.

Overview
This pull request adds two benchmarks to messaging:

Single broker, direct calls to Broker.Publish()
3 broker cluster over the HTTP protocol, calls made through Client.Publish()

The first test is to give us a baseline of the overhead of just the broker. It ignores much of Raft since it doesn't need a quorum and it avoids all the overhead of HTTP.
The second test is to give us a full end-to-end test of the messaging system.
Caveats
This is meant solely as a starting point for performance optimization. There are currently several known bottlenecks that exist because we did not wish to prematurely optimize.
There is also a broker header snapshot currently performed on every message because the broker recovery code has not been written yet. Once broker recovery is added, this snapshot will no longer be necessary. The results show numbers for both with snapshotting and without.
Running
The benchmarks are written using Go's testing utility so you simply need to run go test with the -bench=. flag set:
$ go test -bench=. ./messaging

Results
Single broker, direct connection
The following results were found from running the single broker:
NO SNAPSHOT: 266,453 msg/sec (4 µs/op)
SNAPSHOT:      6,422 msg/sec (155 µs/op)

The snapshotting obviously has a gigantic effect on throughput. When the snapshot occurs, it requires several memory allocations and it involves writing a small file to disk. Without the snapshot, the message simply gets appended to the end of the topic file.
3 broker cluster, connect via client over HTTP
The following results were found from running a 3 broker cluster over HTTP:
NO SNAPSHOT: 3,577 msg/sec (279 µs/op)
SNAPSHOT:    1,628 msg/sec (614 µs/op)

Now that we're adding HTTP and requiring a cluster quorum the impact of snapshotting is significantly less.
Conclusion
Sending a single write over HTTP is a ridiculously slow way of inserting data although it may not be worth it to optimize it within the broker. Once influxdb.Server begins batching writes then the cost of HTTP amortizes well over each of those individual points.
For example, if the Server batches writes every 50ms to the broker then we only need to make 20 requests per second to the broker which is well within our existing performance bounds. Previous tests against the streaming raft implementation show that it can handle significant write load so we should be safe once we demultiplex the batches into messages on the broker. Streaming raft also doesn't suffer from heartbeat issues caused by large messages so we can safely send batches of writes to the server.

LGTM


Announce mendix.com certificate renewal

We have renewed the *.mendix.com certificate and will replace it in January 2022.

Hi Joey (@jeohist )
Last time we did this we mentioned a few more details (https://docs.mendix.com/releasenotes/developer-portal/mendix-cloud#september-27th-2019). Do we want to do this again, or shall we assume that people who are playing with certificates outside browsers know what they are doing?

Hi Joey (@jeohist ) Last time we did this we mentioned a few more details (https://docs.mendix.com/releasenotes/developer-portal/mendix-cloud#september-27th-2019). Do we want to do this again, or shall we assume that people who are playing with certificates outside browsers know what they are doing?

Those details (those) are still there in the Certificate Transparency logs which we're linking to. It's more convenient for us and customers, as all the information they might need is located in a single place.


MethodRetry and CronSchedule attributes

The Java Temporal client implements these attributes.  We should too:

[ ] MethodRetry - activity and child workflow methods
[ ] CronSchedule - workflow methods

Let’s get to this immediately since I’ve just been working on options like these.

I've added CronSchedule and am going to close this issue.  We'll handle retry when we complete #662.


LIVE SERVER IS NOT WORKING

live server is not working.
can't open chrome.
only notify server is open but not starting.
what to do.

ive server is not working.
can't open chrome.

live server is not working

live sever not woking properly please settle it down

its giving me an error in my browser that the page isn't working.

still, live server not working D:. what to do
and when I click on live server to run, its giving me msg,
Server is Started at port : 5500
if anyone knows its solution please do share!


确实很魔法

确实很魔法
Originally posted by @CadWalaDers in https://github.com/CadWalaDers/dk-ui/discussions/30#discussioncomment-5705375

1


Release typescript models and code coverage report workflows are failing

Which area this feature is related to?
/kind bug
Which area this bug is related to?
/area api
/area test-automation
Bug Summary
Describe the bug:
I've noticed that two workflows are failing for the API repo:

The first one is the code coverage report. The error trace for this check is:

Run go test ./... -coverprofile cover.out
# k8s.io/apimachinery/third_party/forked/golang/reflect
Error: vendor/k8s.io/apimachinery/third_party/forked/golang/reflect/deep_equal.go:37[6](https://github.com/devfile/api/actions/runs/5425938477/job/14695275008#step:4:7):[7](https://github.com/devfile/api/actions/runs/5425938477/job/14695275008#step:4:8): undefined: reflect.Pointer
note: module requires Go 1.19

The second one is the release typescript models. I've found 1 related issue https://github.com/devfile/api/issues/989
The error trace is:

Error: /typescript-model/generate.sh: line 63: [ERROR] Generated typescript model failed to build. Check it at /home/runner/work/api/api/api/build/typescript-model/workdir/typescript-models.: No such file or directory
Error: Process completed with exit code 127.

To Reproduce:
Check the actions tab here:

Code coverage: https://github.com/devfile/api/actions/workflows/codecov.yaml
Typescript Models: https://github.com/devfile/api/actions/workflows/release-typescript-models.yaml

Expected behavior
Both actions should be completed successful.
Any logs, error output, screenshots etc? Provide the devfile that sees this bug, if applicable
The traces have been shared earlier above.
Any workaround?

Suggestion on how to fix the bug

@thepetk Should we close #989 and track it here, or add to the same epic?

Nice catch! I've closed #989 in favor of this issue, as is part of an epic and we can track better the progress and the overall status of the ci

hello,
any updates on it, when we can expect a new release of npm library?

hello, any updates on it, when we can expect a new release of npm library?

Hi @svor, thanks for bring this to our attention.
Our team is reviewing criteria for this issue and we will provide further updates as they come.

I've created the https://github.com/devfile/api/pull/1343 which can potentially fix the Typescript Models generation issue.

The PR https://github.com/devfile/api/pull/1343 is now updated and includes both fixes for code coverage and the typescript models workflows.
I've added it in the current sprint (in review status) and put the story points spent.


Fix index concurrency problem

Hi, all! I think I found a race condition in the following snippet inside the splitGranule() method:
for {
		curIndex := t.Index()
		t.mtx.Lock()
		index := curIndex.Clone() // TODO(THOR): we can't clone concurrently
		t.mtx.Unlock()

		deleted := index.Delete(granule)
		if deleted == nil {
			level.Error(t.logger).Log("msg", "failed to delete granule during split")
		}

		for _, g := range granules {
			if dupe := index.ReplaceOrInsert(g); dupe != nil {
				level.Error(t.logger).Log("duplicate insert performed")
			}
		}

		// Point to the new index
		if t.index.CAS(t.index.Load(), unsafe.Pointer(index)) {
			sizeDiff := serBuf.ParquetFile().Size() - sizeBefore
			t.size.Add(sizeDiff)
			return
		}
	}

In particular, I replaced this check:
if t.index.CAS(t.index.Load(), unsafe.Pointer(index)) {

with the following
if t.index.CAS(unsafe.Pointer(curIndex), unsafe.Pointer(index)) {

The first statement only detect concurrent changes happening between the t.index.Load() statement and the t.index.CAS() statement.
However, a goroutine may finish the execution of the statement
if t.index.CAS(t.index.Load(), unsafe.Pointer(index)) {

before another goroutine start executing the t.index.Load().
I think this can be related with the problem detailed in #84

Great catch!


[Server] API of home page tag tabs

tasks

[ ] design table for storing tag tab settings
[ ] API for updating tag tab settings

refs

doc

design

figma

Does it make more sense to be local-first, and stored in local storage?
Different clients of the same user will have different settings, but visitors can also use the same functionality.

After last meeting, keep personal settings in db.


Decouple templates from the from-template package

It would also be nice if older versions of from-template could still access newly added templates without requiring a raco pkg update from-template.
One way could be to extract the actual registry of templates into a separate repo from this one, which is queried dynamically by installed versions of racket-template.
Example sequence:

User installs from-template
Someone adds a new template fancy-template to the repo
User runs raco new --list

fancy-template should ideally appear in the list, and should be installable, even though the user installed from-template before that template was added to the registry.

You don't need to update from-template every time a new template is added. Doing raco new will use the *GitHub API to get the names of all the templates and then will use https://raw.githubusercontent.com/ to extract the actual template data.
You might not be getting the data right away because raw.githubusercontent does take a little bit to get the new contents of a file when you push to GitHub. If you're having issues with it just not appearing at all, that's a bug and once again my fault :sweat_smile: I need to get proper tests set up for this and there's already an issue open to include some CI.
* I'm going to be changing this a little bit since an individual request for each template is pretty slow, so CI needs to get added to this repository to generate an artifact that contains a list of the templates that can easily be pulled down once instead of each template individually.

Ah okay, I just assumed they were coupled because they're in the same repo. All good, then!

The actual repository for the from-template tool is https://github.com/nixin72/from-template, not this one @countvajhula

@nixin72 Oh I see, perfect!


PlatformIO support

My PlatformIO skills are limited so maybe I'm doing something wrong, however using the lib_deps = erik/depthai_spi compilation seems to fail with the following:
.pio/libdeps/esp32dev/depthai_spi/src/common/esp32_spi_impl.c:1:10: fatal error: esp32_spi_impl.h: No such file or directory

************************************************************************
* Looking for esp32_spi_impl.h dependency? Check our library registry!
*
* CLI  > platformio lib search "header:esp32_spi_impl.h"
* Web  > https://platformio.org/lib/search?query=header:esp32_spi_impl.h
*
************************************************************************

 #include <esp32_spi_impl.h>
          ^~~~~~~~~~~~~~~~~~
compilation terminated.
Compiling .pio/build/esp32dev/lib96d/depthai_spi/depthai-shared/src/datatype/DatatypeEnum.o
*** [.pio/build/esp32dev/lib96d/depthai_spi/common/esp32_spi_impl.o] Error 1
.pio/libdeps/esp32dev/depthai_spi/src/depthai-shared/src/datatype/DatatypeEnum.cpp:1:10: fatal error: depthai-shared/datatype/DatatypeEnum.hpp: No such file or directory
 #include "depthai-shared/datatype/DatatypeEnum.hpp"
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from .pio/libdeps/esp32dev/depthai_spi/src/common/SpiPacketParser.cpp:1:
.pio/libdeps/esp32dev/depthai_spi/src/common/SpiPacketParser.hpp:7:10: fatal error: depthai-shared/datatype/RawBuffer.hpp: No such file or directory
 #include "depthai-shared/datatype/RawBuffer.hpp"
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
*** [.pio/build/esp32dev/lib96d/depthai_spi/depthai-shared/src/datatype/DatatypeEnum.o] Error 1
*** [.pio/build/esp32dev/lib96d/depthai_spi/common/SpiPacketParser.o] Error 1

I've just been testing with the platform-espressif32-develop/examples/espidf-blink example. Have also tried adding this repo to the libs dir to no avail.

@Erol444 can you test this one out?

Hello @nemccarthy, that platformio library was just for testing purposes, and it doesn't work properly. We wanted to remove (unpublish) it but platformio doesn't allow it. We will have to update the library so it works , hopefully next week.
Thanks, Erik

Any advance?

Sorry @wldeveloperapps - as of right now, we haven't pushed much further on PlatformIO support.
I assume one should be able to bring in the codebase manually without relying on the published library and compiling it that way.
However we haven't yet tried this, nor have any extra information available on it.


Error running samples - Paper Trading

I've added my credentials to the samples and I'm run the samples and set paper trading to True. This occurs on both windows and linux
Exception in thread Thread-2: Traceback (most recent call last):   File "C:\Users\Tyler Collins\anaconda3\envs\AlgoTrading\lib\threading.py", line 926, in _bootstrap_inner     self.run()   File "C:\Users\Tyler Collins\anaconda3\envs\AlgoTrading\lib\threading.py", line 870, in run     self._target(*self._args, **self._kwargs)   File "C:\Users\Tyler Collins\anaconda3\envs\AlgoTrading\lib\site-packages\alpaca_backtrader_api\alpacastore.py", line 316, in _t_streaming_events     base_url=self.p.base_url)   File "C:\Users\Tyler Collins\anaconda3\envs\AlgoTrading\lib\site-packages\alpaca_backtrader_api\alpacastore.py", line 94, in __init__     self.conn = tradeapi.StreamConn(api_key, api_secret, base_url)   File "C:\Users\Tyler Collins\anaconda3\envs\AlgoTrading\lib\site-packages\alpaca_trade_api\stream2.py", line 27, in __init__     self.loop = asyncio.get_event_loop()   File "C:\Users\Tyler Collins\anaconda3\envs\AlgoTrading\lib\asyncio\events.py", line 644, in get_event_loop     % threading.current_thread().name) RuntimeError: There is no current event loop in thread 'Thread-2'.

first you got to make sure that you have a funded account to run paper/live trading for now (it will change soon with the new API)
there's a fix for this issue not yet on pypi. you could install it like this:
pip install<EMAIL_ADDRESS>-U

This worked. Thank you.


intel-media-driver: new formula

Intel Media Driver is the successor to  intel-vaapi-driver,
see "VAAPI Driver" section at https://01.org/linuxmedia

Closed by 091dedc347630fd1c53b849f615c116e0272ca51.


Error when go get github.com/posener/gitfs/cmd/gitfs

Catch strange bug on v1.1.0 (I use Go v1.13.5):
$ go get github.com/posener/gitfs/cmd/gitfs

# github.com/posener/gitfs/fsutil
../.go/src/github.com/posener/gitfs/fsutil/diff.go:171:18: too many arguments in call to diff.Format
../.go/src/github.com/posener/gitfs/fsutil/diff.go:171:49: undefined: diff.OptSuppressCommon

Ok. Go to github.com/posener/gitfs/fsutil/diff.go:171:49 (link) and see:
// ...
d := diff.Format(string(aData), string(bData), diff.OptSuppressCommon())
// ...

Third arg for function diff.Format() is diff.OptSuppressCommon() and probably it's wrong.

Thanks for reporting this!
It was supposed to be replaced with a forked version of the diff package.
I need to understand why this replace statement didn't work.

Hey,
I think it might be Go module issue, I couldn't find anything in the docs. In the github issues, it seems like the replace directive should be only used for development: https://github.com/golang/go/issues/31173.
I might make a fix on this repo, meanwhile you can use this workaround:
$ cd /tmp
$ git clone https://github.com/posener/gitfs
$ cd gitfs
$ go install ./cmd/gitfs

Sorry about that! :-)


[1.0.0-beta.5] Can't access padding/height from theme

When having the following tailwind.config.js (I'm using the  padding key in the theme  function)
module.exports = {
  theme: {
    container: theme => ({
      center: true,
      padding: theme('padding.4'),
    }),
  },
  variants: {},
  plugins: [],
}

I get the following CSS for the container class
.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
}

When I change my config to using the spacing key
  container: theme => ({
    center: true,
-   padding: theme('padding.4'),
+   padding: theme('spacing.4'),
  }),

The CSS is what I expected to be
  .container {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
+   padding-right: 1rem;
+   padding-left: 1rem;
  }

I don't know if this is intended, but it seems weir to talk about spacing when I want to get a padding value (think about when I added a new one that's not in the  spacing range for example)

Yeah just had a stab at this and I'm not sure this is going to be possible, at least not by someone who isn't much smarter than me.
The problem is that theme('padding') is defined as a function since it depends on spacing, so padding.4 is undefined until the theme is fully resolved. We'd have to figure out a way to deterministically flatten all of the functions as much as possible before evaluating any theme calls so that padding was actually an object by the time you tried to inspect it.

Hmmmm seems a tough one I think, since that function can have other theme('whatever') calls, which can be functions again, and so on, ... 😕

Yeah really complicated to solve for sure. Best solution in the interim be to just throw an explicit error to let the user know what's going on, but even that is sort of hard because given theme('padding.4') returns undefined, we'd have to know that theme('padding') is a function to give the user the right error. And if we are able to determine that's a function, we should be able to resolve the 4 by invoking the function. The hard part is getting the string padding out of padding.4, because the user could also pass padding[4], and there could be dots in other places too like foo[bar.baz]. Would have to see how lodash does it internally.
It's probably solvable but it's hard.

Everything is solvable if you believe in yourself 😉
Not a real pain to access it via spacing in my case, but I can imagine that people with an extended padding (which can be a function too btw, no?) want to access those values for instance...

Does this work the way you'd expect now @MichaelDeBoey?

This seems to work with normal values
// working.js
module.exports = {
  theme: {
    container: theme => ({
      center: true,
      padding: theme('padding.4'),
    }),
  },
  variants: {},
  plugins: [],
};

But not when extending
// not-working.js
module.exports = {
  theme: {
    extend: {
      height: {
        88: `calc(${theme('height.64')} + ${theme('height.24')})`,
      },
    },
  },
  variants: {},
  plugins: [],
};

Then I get the following error:
🚫 RangeError: Maximum call stack size exceeded

It fails because the extend section gets merged into the default theme.
Your example is essentially equal to this:
theme: {
  height: theme => ({
    88: `calc(${theme('height.64')} + ${theme('height.24')})`,
  })
}

So, height needs height to resolve, hence the infinite loop.
We should define exactly how we want the theme() resolution to work.
For example, should this be a valid case?
theme: {
  height: theme => ({
    1: theme('height.2'),
    2: theme('height.3'),
    3: '3rem',
  })
}

Should we detect actual circular dependencies?
{
  height: theme => ({
    1: theme('height.1'),
  })
}

I'm comfortable with it not working for even circular-ish dependencies (like referencing any other height value inside of height) honestly, but if it's possible to make more scenarios work that's always great.

I understand why it's not working, but since I'm explicitly extending, I think it's also logical to use the theme('height.4') call instead of theme('spacing.4')

Going to close this as "fixed as much as I think is reasonable to fix" but if we can make it even smarter that's great. For now I'm okay with the current behavior.


querySessionStatus causes "login_reuired" error

am connecting to keycloak IdP from angular using OIDC-CLIENT-JS.
When connecting to keycloak on my localhost (in docker) and getting session status using querySessionStatus(), everything is fine.
When trying to do the same to keycloak on remote server, (connected through VPN) I am getting error: login_required
Both keycloak servers run on docker, and both have same configuration.

I'm going to guess your cookie is not being sent in the iframe. Possibly due to same site or ITP issues?

So do you think it might be caused by VPN settings?

No idea, just a guess based on common issues I've seen before.

So do you think it might be caused by VPN settings?
Here is extended question in Stackoverflow:
https://stackoverflow.com/questions/66590538/login-required-error-oidc-client-with-angular

I have the same issues but it just happens on chrome version 85 and above (the newest version of Microsoft edge is the same), it does not happen on firefox.
I guest it related to the Referrer Policy had change to "strict-origin-when-cross-origin". Changelog of chrome 85
Could you check again your issue by Firefox ?

So do you think it might be caused by VPN settings?
Here is extended question in Stackoverflow:
https://stackoverflow.com/questions/66590538/login-required-error-oidc-client-with-angular

I have the same issues but it just happens on chrome version 85 and above (the newest version of Microsoft edge is the same), it does not happen on firefox.
I guest it related to the Referrer Policy had change to "strict-origin-when-cross-origin". Changelog of chrome 85
Could you check again your issue by Firefox ?

Update: The exact reason for my issue is Reject insecure SameSite=None cookies

Update: The exact reason for my issue is Reject insecure SameSite=None cookies

@ngoanhtan can you explain your solution please?


Sunstone doesn't offer AR remove in vnet

Description
A clear and concise description of what the bug is.
Using sunstone it is not possible to delete Ars from a imported vCenter vnet.
To Reproduce
Steps to reproduce the behavior.
Import a vCenter vnet, go to vnet section -> try to delete any AR, delete button will not show.
Expected behavior
A clear and concise description of what you expected to happen.
delete button appears to delete the AR, just like KVM.
Details

Affected Component: Sunstone
Hypervisor: vCenter
Version: development

Additional context
Add any other context about the problem here.

Progress Status

[ ] Branch created
[ ] Code committed to development branch
[ ] Testing - QA
[ ] Documentation
[ ] Release notes - resolved issues, compatibility, known issues
[ ] Code committed to upstream release/hotfix branches
[ ] Documentation committed to upstream release/hotfix branches

Doesn't affect only vCenter.
Manually created virtual network with AR doesn't have an option to remove the AR:

This bug is already solved in current version of OpenNebula.
I will proceed to close this issue.


As a developer I want to easily find and use data shapes

Even though this means some level of centralization would be required, I would like to have a central place that I can go to to discover/search for shapes based on tags/keywords. I would also like to simply browse the "registry" of shapes.
Looking at a specific shape, I have access to:

the shape's "schema" (which fields and types, links, etc)
examples of data based on that "schema"
instructions on how to use it with language A, B, C
a list of Solid applications known to be using that shape
links to the raw schemas

Shapes should probably be versioned; let's imagine some kind of parallel with npm packages: https://www.npmjs.com/package/react?activeTab=versions
Using those shapes should be a breeze for mainstream languages such as JavaScript, TypeScript, Python, Java. In an ideal world I should be able to do the equivalent of npm install @types/some-shape-name and directly be able to code against the corresponding schema, ideally with strong typing.
Now this might just be schema.org... or not?
This probably represents a massive amount of work, but if you make the parallel with existing package ecosystems (e.g., rpm, maven, npm, nuget, etc etc), this is what makes discovery and reuse possible and easy.
For Solid, this could represent a sort of community hub for developers, just like npm is for Web developers right now.

Added to readme

Opening this as part of moving all user stories into issues again.


fix(interview-prep): Fix rendering of tests.

@scissorsneedfoodtoo Found a solution for rendering the tests. Take a look and let me know if something needs to be changed.

Can you point us to the issue that this relates to? I am a little out of context with this.

@raisedadead Sorry, it is not required anymore. Thanks for letting me know.


Add sorter to live_grep

Even if the matching is exact, the sorting is still helpful when multiple results are found.

Let's try it out for a bit.


fix: KeyError exception in athena wrangler

Feature or Bugfix

Bugfix

Detail

When updating cache in Athena read_sql_query code flow on a multi thread code we got an KeyError exception.  Now have updated code to only remove the item in cache if key actually exists.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

AWS CodeBuild CI Report

CodeBuild project: GitHubCodeBuild8756EF16-4rfo0GHQ0u9a
Commit ID: ccdf13106d88ac937d61ccba4fdfee309c75dc38
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubCodeBuild8756EF16-4rfo0GHQ0u9a
Commit ID: 915b4fbb544f1935fae9b0273a4b07eda3157560
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubDistributedCodeBuild6-jWcl5DLmvupS
Commit ID: 915b4fbb544f1935fae9b0273a4b07eda3157560
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubDistributedCodeBuild6-jWcl5DLmvupS
Commit ID: ccdf13106d88ac937d61ccba4fdfee309c75dc38
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

Thank you @rabingaire !


Feature/as 3747 saving appeal link

This update enables the saving of Appeal Link data

Added a stored procedure and endpoint in the api for saving the data

Updated the web-app to use a save data function which is passed into the saveAndContinue method and this will make it very easy to determine which table the data for a specific page is saved to. The caveat is that all the data for a single page needs to be saved to the same table.

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Update README.md

fixed a typo

Codecov Report

Merging #1853 into development will decrease coverage by 0.17%.
The diff coverage is n/a.

@@               Coverage Diff               @@
##           development    #1853      +/-   ##
===============================================
- Coverage        85.95%   85.78%   -0.18%
===============================================
  Files               78       70       -8
  Lines             2101     2075      -26
  Branches           273      273
===============================================
- Hits              1806     1780      -26
  Misses             202      202
  Partials            93       93

Impacted Files
Coverage Δ

src/utils/index.ts

src/carousel/index.ts

src/collapse/index.ts

src/popover/index.ts

src/tooltip/index.ts

src/alert/index.ts

src/positioning/index.ts

src/sortable/index.ts

src/component-loader/index.ts

demo/src/app/api-docs/index.ts
100% <0%> (ø)

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 219e256...93fca33. Read the comment docs.

thanks!


nukeeper - create PR in GitLab - LibGit2SharpException

💬 Questions and Help
Hi,
I'm trying to test nukeeper and create PR in GitLab. I'm getting the below error.
Error: Failed on repo sample LibGit2SharpException : request failed with status code: 308
It might be an issue in gitlab setting or a missing argument in nukeeper command. But I couldn't find info about it.
Here is my command:
C:\Eng\sample\sample>nukeeper repo https://gitlab.com/myaccount/sample/ tokenxxxx --fork 2
Matched uri 'https://gitlab.com/api/v4/' to collaboration platform 'GitLab'
Using upstream fork as push, for project myaccount at https://gitlab.com/myaccount/sample/
Git clone https://gitlab.com/myaccount/sample/, branch default, to C:\Users\me\AppData\Local\Temp\NuKeeper\repo-fc6730bb0f384df09e44970320dd13e9
Failed on repo sample LibGit2SharpException : request failed with status code: 308
I would appreciate any help.
Thanks!

Using docker file fixed my issue.
I used the docker file from Docker\SDK3.1 folder.
docker build -t nukeeper .
docker run nukeeper repo https://gitlab.com/myaccount/sample/ tokenxxxx --fork 2
And it's working perfectly!


Refactor model

divided monolithic model into a model for each page (model now contains header model, footer model and the actual page model, which depends on the url)
model does not remember page type anymore (unnecessary since model type already tells us the page)
moved scrolling behaviour from model to header, so that it works on every page
commented out some stuff in header view which deals with the about page. I don't know what it is
fixed a bug with "employee not found"

closes #12

ci is failing because of updates in the rust (1.53 from last merge to 1.55 now), so it's failing on the backend even though I did not change anything there. I'll make another pr after this one fixing everything

I will blindly merge this trusting we only have clippy problems that will be solved by the next pr!


Add quotes around $SPARK_CLASSPATH in Dockerfile java commands

Quotes around $SPARK_CLASSPATH in the java invocations
specified in the Dockerfiles correctly prevent the shell from expanding
wildcard paths in cases where the classpath is a single value like /opt/spark/jars/*
What changes were proposed in this pull request?
Each place where $SPARK_CLASSPATH is used as the value of the -cp flag to ${JAVA_HOME}/bin/java
in the Dockerfiles under resource-managers/kubernetes/docker-minimal-bundle/src/main/docker has
been changed to include double quotes around $SPARK_CLASSPATH
How was this patch tested?
Manually.  Without the change, standard instructions for running a python example fail when the unnecessary --jars flag is left off. With the change, it works correctly.
bin/spark-submit
--deploy-mode cluster
--master k8s://https://:
--kubernetes-namespace
--conf spark.executor.instances=5
--conf spark.app.name=spark-pi
--conf spark.kubernetes.driver.docker.image=kubespark/spark-driver-py:v2.2.0-kubernetes-0.5.0
--conf spark.kubernetes.executor.docker.image=kubespark/spark-executor-py:v2.2.0-kubernetes-0.5.0
local:///opt/spark/examples/src/main/python/pi.py 10
Error from the spark driver (could be any jar, depends on order of expansion by the shell)
Error: Could not find or load main class .opt.spark.jars.RoaringBitmap-0.5.11.jar
The other images were not tested explicitly, but it's the same case.

@sahilprasad @mccheah @foxish ptal

LGTM.

Thank you for this! @ssuchter thoughts?

Link to some back-story for reference:
https://github.com/apache-spark-on-k8s/spark/pull/464#issuecomment-341739680

@erikerlandson @tmckayus Looks great! Good to have this resolved in a cleaner way than my PR (btw, feel free to close).

LGTM, merging EOD unless someone has objections.

Would it be possible to push the built image to Docker Hub as well?


Style overrides?

Easy way to override styles? Simple things like the background color, visited, and so forth? ... the example you put on your demo page lets the background through well; however, on my app all the background is varying shades of gray.

I tried using your template and this css:
.step-index {
    background-color: #009688;
    color: gray;
}

but this is the result:

I wanted to be able to change the background color and the whole circle background color. How can one achieve that?

It's a little hard to tell what you did. Do you have a repro?

I'm on vacation, however, if you inspect the HTML of your page you can figure our the higherarchy of your CSS and set up your classes appropriately. e.g. div > stepper > step-index {} ... And so forth. Once you've figured out the higherarchy, then you can set each property to change everything; text, background, shadow, etc.


Enable new logging options for client and server

This change means that the inferior client and server processes can now have their output redirected to the out/err of the harness.
Additionally, the existing logging of the framework has been split into "harness" and "file helper" loggers.
By default, the harness, client, and server loggers are enabled while the file helpers are silenced.

The BasicExternalCluster changes look fine to me.  I assume this doesn't make the test output overly verbose?

It may, and that would be a reason to change some of the defaults, in the future.  The fact that it disables the output from FileHelpers, by default, partially addresses this issue.

Since I only use this via gradle atm and it hides console output from you lets leave it as is.  We an always easily remedy later.

On Apr 21, 2016, at 3:54 PM, jd0-sag<EMAIL_ADDRESS>wrote:
It may, and that would be a reason to change some of the defaults, in the future. The fact that it disables the output from FileHelpers, by default, partially addresses this issue.
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub https://github.com/Terracotta-OSS/galvan/pull/14#issuecomment-213089512


Extra files added by the build - process in the dist folder referenced by altinn-app-frontend.js are not deployed to cdn

Description of the bug
The deploy - to cdn step in the build process is designed to only deploy altinn-app-frontend.js and altinn-app-frontend.css , and after implemenmting the Map - component in altinn-design-system, new icon files for the map has been generated in the dist - folder that are NOT deployed, causing the map to render improperly.
Se live demo at https://dsb.apps.tt02.altinn.no/dsb/schema-with-map-component that renders the marker as "marker" not icon because the files are getting a 404 from the cdn
Steps To Reproduce
moved from https://github.com/Altinn/altinn-design-system/issues/99
Additional Information
No response

Testet OK


VideoWriter unreadable output using tempfile

When I use VideoWriter to a local mp4 filepath, the code below works perfectly and the mp4 file is saved to disk. This save to disk operation should work the same as saving to a tempfile.
To test using a tempfile, I simply change the VideoWriter filename to the file_out.name (via NamedTemporaryFile) and copy to disk to verify that it worked correctly. The output I get is an equally sized mp4 file, but it can't be opened by any video player - so something must be wrong with the file.
Code that Worked Correctly
video = cv2.VideoWriter('/path/to/test_output.mp4',cv2.VideoWriter_fourcc(*'avc1'),20,(width,height))

for i in range(len(images)):
    video.write(np.asarray(images[i]))

Code that Created an Unreadable mp4 Output
file_out = tempfile.NamedTemporaryFile(suffix='.mp4')

video = cv2.VideoWriter(file_out.name,cv2.VideoWriter_fourcc(*'avc1'),20,(width,height))

for i in range(len(images)):
    video.write(np.asarray(images[i]))

shutil.copy(file_out.name, '/path/to/test_output.mp4')

SOLVED:
VideoWriter output MUST be released for output of copied file to be valid.
video.release()

This fixes the problem.


Contribute to transformers hub ?

SCIBERT is already compatible with the transformer's library by downloading it and adding to the models. However, it would be ideal to be able to load it without having to download beforehand.
As of 2.2.2, if a model is uploaded to the hub, https://huggingface.co/transformers/model_sharing.html, transformers automatically recognises it as a pre-trained model, and you can load it with from_pretrained by only using its name, without needing to download beforehand.
Should it be the case that the scibert models should be uploaded to the hub? FYI - I created issue https://github.com/huggingface/transformers/issues/2619 at the transformers library, and they pointed to uploading to the hub as the best practice.

Closed by https://github.com/allenai/scibert/commit/7598219a8d80b9c2fe1323a141e4a9e40ec044cb


firmware: freeradius3 package stuck on update

Important notices
Before you add a new report, we ask you kindly to acknowledge the following:
[ x] I have read the contributing guide lines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md
[x ] I am convinced that my issue is new after having checked both open and closed issues at https://github.com/opnsense/core/issues?q=is%3Aissue
Describe the bug
Update to the latest version (released friday) seemed to work but after the reboot it was not really updated. (or at least not to the latest version). Retrying to update again failed. A lot of errors about missing freeradius stuff.
Created forum topic and seem more users with similar results. Maybe something is wrong?
More details topics:
https://forum.opnsense.org/index.php?topic=31313.0
https://forum.opnsense.org/index.php?topic=31320.0
Note: After some hours my RADIUS died and my connection was dropped. Not really sure if related. But it seems too coincidental.
In my case if uninstalled the RADIUS plugin. Updated OPNsense en reinstalled the plugin. I seem now at the latest version. But still i can not connect via RADIUS. Note: wifi is working fine for the normal wpa2 protected vlans.
To Reproduce
Steps to reproduce the behavior:

Use the update feature. I was on an older version. (can not really verify currently because LAN is completely on the RADIUS. But guess 5 minor versions behind).
Update
It rebooted as if successful update
See version dashboard still behind
Note: if i press update i now also get 2 popups with the "information wall of text". This seems also (another) bug?

Expected behavior
Updated till latest version (and working RADIUS)
Describe alternatives you considered
Currently creating a debian vm with RADIUS server to validate the issue.
Screenshots
N/A
Relevant log files
N/A
Additional context
N/A
Environment
About 5 minor versions behind. Qotom mini pc.

22.7.8 > 22.7.9 - Same issue. Update log is identical to that in the OP of the first forum link.
Update gets stuck on freeradius and fails with missing files, and partially rolls back to 22.7.8. Further upgrade attempts fail.

Likely same as #616 too

to make it clear. Although i used the workaround to make the opnsense update work. RADIUS authentication does not work. I use the same exported certs now with my own debian radius and this seems to work fine.
To me unknown how many users are using RADIUS and of it also broke for them....

Let's take a look at this from a more grounded perspective: the bug with the install/update is probably in the FreeBSD package manager and the configuration issue might be in the 3.1 or 3.2 changes. I'm not sure if this was avoidable, FreeBSD port was stuck in 3.0 for a very long time.

i had contact on the forum with a user with a VM with this issue. Can not find it this fast.

I've updated to FreeBSD package manager version 1.18.4 today. But on the surface I have no idea how and why it fails to replace freeradius... most changes are months old or older. Nothing pertains to FreeRADIUS directly. Perhaps when the service is running it holds onto directories making updates impossible, but I've never seen it before.

I started working on this today, but I may need some testers

If you need a testcase, my opnsense router has this issue I think.
[2/11] Extracting freeradius3-3.2.1: .......... done
You should remove /usr/local/etc/raddb if you don't need it any more.
freeradius3-3.0.25: missing file /usr/local/lib/freeradius-3.0.25/libfreeradius-dhcp.a
freeradius3-3.0.25: missing file /usr/local/lib/freeradius-3.0.25/libfreeradius-dhcp.la
freeradius3-3.0.25: missing file /usr/local/lib/freeradius-3.0.25/libfreeradius-dhcp.so
....
freeradius3-3.0.25: missing file /usr/local/share/licenses/freeradius3-3.0.25/catalog.mk
pkg-static: Fail to set time on /var/log/radacct:No such file or directory
Starting web GUI...done.

The update fails and will not reboot as described in the issue. opnsense: 22.7.6 -> 22.7.9_3

CC @zi0r as committer of the ports change

I'm not sure here--the update from 3.0.x -> 3.2.x worked fine for me under FreeBSD 12.3 (amd64).

OPNsense 22.7.8-amd64
FreeBSD 13.1-RELEASE-p5
OpenSSL 1.1.1s 1 Nov 2022

# mkdir -p /var/log/radacct /var/run/radiusd doesn't do anything. The directories already existed, but still get the
pkg-static: Fail to set time on /var/log/radacct:No such file or directory error, as well as all the missing file errors. Maybe permissions related?

Is anyone able to reproduce this under straight up normal FreeBSD?

I have this installed and cannot upgrade or receive security updates right now. Is this package maintained? I guess I can just remove it and run Freeradius on something else.

Just remove the plugin and install again

Several people so far have stated that OPNsense updates and the plugin reinstalls by doing that, but RADIUS authentication no longer works afterwards, which would be a problem.

Just lock freeradius3 package from GUI, problem solved with update and operability for the time being in under 5 seconds. There is an upstream bug as well and it needs a new version:
https://github.com/FreeRADIUS/freeradius-server/issues/4820
https://github.com/FreeRADIUS/freeradius-server/issues/4785

All the time I've used OPNsense, I never knew about the lock button for packages in the GUI :stuck_out_tongue:
That worked thank you @fichtner
For other users with the same issue, in System/Firmware/Packages click the lock icon next to freeradius and os-freeradius then run the update as normal.
Now I just need to remember to unlock them when the fix arrives.

Glad to hear. I wouldn't recommend locking os-freeradius plugin as you won't get any plugin fixes this way. freeradius3 package alone should work.

Just a heads up as there was some radius changes. Tested 22.7.10-2 with freeradius3 unlocked but it still fails with the same errors. Locking it again, the OPNsense update completed fine.

I was hoping a bit pkg 1.18.4 would behave better in this regard. Somewhat at a loss here. I don't think this is that specific to OPNsense just missing the proper parameters here to reproduce. Is this ZFS or UFS? Was this a fresh 22.7 install or an older one?
Cheers,
Franco

For me at least, ZFS and this install's been running since 21.1 I believe.

I've made a commit to the FreeBSD ports tree to bring in the fix for hhttps://github.com/FreeRADIUS/freeradius-server/issues/4785 from upstream.
I have also added a post-install task to create the directory you guys seem to be missing.  It shouldn't be required as this is handled by pkg-plist, but, maybe it will improve things for you.
https://cgit.freebsd.org/ports/commit/?id=6fe12ab2c86d2ac9801365840193637256d51f71

I have also added a post-install task to create the directory you guys seem to be missing. It shouldn't be required as this is handled by pkg-plist, but, maybe it will improve things for you.

In my case, the directories were originally created successfully, but the update system refuses to recognise them, saying the directories are missing still. So it seems more like a permissions issue at fault.

@zi0r thanks, much appreciated! this will be in the next minor release 22.7.11

@fichtner  will this minor release resolve the update issues for users attempting to update the OS.  I have been stuck trying to upgrade from 22.7.8 and cant at this time due to the freeradius paths "missing".  What is strange is that the error is accurate "/usr/local/lib/freeradius-3.0.25/" does not exists im showing paths with "/usr/local/lib/freeradius-3.2.1/"

Freeradius Dir

22.7.11 still fails, the exact same error log :(

Is there any updates or plans for resolution or are those of us with this issue stuck and have to reinstall?

Perhaps UFS error then. have you run fsck in single user mode?

Perhaps UFS error then. have you run fsck in single user mode?

Thats a good thought.  I copied my configs for freeradius, removed the package and it allowed me to upgrade.

You can just remove the plugin, upgrade and install again, it will keep the config.

@zi0r pulled in the upstream patch for the auth issue

I locked that package so that I could run the last 22.7 update by leaving that one package out. Then I started updating to 23.1 and now my SBC is not starting anymore! Be careful! Now I have to order a USB to serial converter for debugging my PCEngins APU2. –.–
Btw.: Is there some quickfix?

Currently not, for the time being just stay on 22.1.10.
I have a unifi system with 2 radius, one on 22.1.10 which works great, other with 23.1_6 and stucks during EAP TLS auth.
Not that easy to diagnose cause radius -X runs fine, it sends a challenge to client and dont get a response

What booting issue? You realise locking a package has no effect on major upgrade for other upgrade-breaking reasons?
If in doubt get advice here or in the forum.
Cheers,
Franco

So I thought, too.
I never have modified OPNsense beyond the obvious cofigurations and it ran and updated without the slightest issue since about 2017 or so. Now with locking freeradius and starting the updating procedure to 23.1, the update failed and it never booted sucessfully since.
So I thought it’s maybe due to that package locking. Maybe it’s instead due to 23.1, I don’t know… until I receive my serial cable and hopefully am able to debug.

https://github.com/FreeRADIUS/freeradius-server/issues/4878 and https://github.com/FreeRADIUS/freeradius-server/issues/4785 should fix those which are shipped with 3.2.2 (will take a bit when it finds it's way into OPNsense). Especially the first one seems to fit exactly what I'm experiencing too.


How to plot the aligned image on top of the tissue image?

After I run a pairwise alignment on 2 or more slices and then run pst.stack_slices_pairwise, a new adata object is generated with the aligned coordinate matrix, but this adata object does not contain the aligned "hires" and "lowres" images, as far as I know.
Does PASTE deals with this somehow or should I supply as img_key a tissue image of one of the slices that were aligned? If this is the case, should I edit it with the output of pst.stack_slices_pairwise (such as angles and rotation?)
This is the function I want to run and the error I get
sc.pl.spatial(adata,
img_key="hires",
color=["domain"],
show=False)
ValueError: When .uns['spatial'][library_id] does not exist, spot_size must be provided directly.

Hi,
Sorry for the late response-- I don't believe PASTE is built to manipulate images in the way you mentioned.
However, since PASTE returns the rotation and translations for each slice, perhaps a workaround would be to do the rotation and translation of the images yourself?


Update existing SessionHolders to shift to a newly established session atomically

Problem
When a new session has been established to a peer and there are existing sessions to the same peer, we should 'atomically' shift any existing SessionHolders over to the new session. This follows Tenet #3 in #17298.
This requires updating the existing SessionDelegate to add a new OnSessionUpdated API to swap out an old SessionHandle with a new one.

For a SessionHolders able to smoothly shift to the new session, It requires that the SessionDelegate explicitly support such shifting, for example, ExchangeContext is not eligible for such shift, becasue exchanges are bound to a session.
For an delegate declare supporting the shift, it must use SessionHolderWithDelegate class, and override OnSessionUpdated callback, let it return CHIP_NO_ERROR. The default OnSessionUpdated will return a CHIP_ERROR_NOT_SUPPORTED error.

for example, ExchangeContext is not eligible for such shift

Those that do not permit a shift can choose to do what they want with the new session. For ExchangeContext, it should continue to hold on to the existing session since it cannot actually move to the new session by spec rules. An OperationalDeviceProxy however should be able to move over.

let it return CHIP_NO_ERROR

Do we even need to define an error return for this new OnSessionUpdated callback? I'd think it can just be a void return, since the caller in this case doesn't get affected by what the callee's do with the new session.

So delegate need to grab the new session inside OnSessionUpdated ? For example, it must implement this to support automatic shifting:
void SomeThing::OnSessionUpdated(const SessionHandle newSession) override
{
    mSessionOfSomeThing.Grab(newSession);
}

Yup, that looks good.


Release for Scala 2.12

Scala 2.12 has been out a while.

I added support for scala 2.12 in the branch scala-2.12 (travis), including the needed library upgrades. Unfortunately there is no final release of play-json for scala 2.12; the latest is 2.6.0-M3. I am thinking about bumping the version to 0.5.0 for 2.12 support, so I could either release 0.5.0 now with the milestone dependency for play-json, or else release a milestone version of jsonquote now and then a final version when play 2.6 is out. Thoughts?

For 2.12 release against 2.6.0-M3 and for 2.11 as now. play-json is independently versioned from play from 2.6

Version 0.5.0 has been published with support for scala 2.10, 2.11, and 2.12.


Add kustomize support for e2e tests.

For e2e tests, we want to match the upstream deployment as close as
possible. However, there will often be times where we need to make
minor modifications to the e2e tests to enable/modify settings.
The main motivator for this are upcoming e2e tests for automatic Run
cleanup (#59). We want to be able to significantly reduce the grace period for
Run deletion (e.g. O(seconds)) so that we can speed up test execution.
This kind of setting is probably not acceptable for typical users, who
would likely want O(minutes) if not O(hours).
This currently adds a flag that is effectively a no-op, since it is the
default value of the flag anyway.

Do we have to do something to not include the kustomization file from the results release? Or should that already not be included by default?

ko is aware of kustomize and respects it in commands (incl resolve and apply).


Fix home screen current values

Describe the bug
Card Current Values  and Wallets are not calculating total of incomes and expanses and also not formatting in currency.
To Reproduce
Steps to reproduce the behavior:

Go to Home Screen

Expected behavior
Calculate total of income and expanses
Screenshots

Reference how to implement complex queries with EF Core
Link


Added support for new Android camera movement APIs

OnCameraChangeListener is deprecated and should no longer be used. This PR adds support for the new more powerful APIs and removes the old (quite hacky..) region detection code. This fixes various issues and paves the way for distinguishing between gestures and manual/programatic animations at the same time.

https://developers.google.com/android/reference/com/google/android/gms/maps/GoogleMap.OnCameraChangeListener
This PR fixes #1709 and I'm pretty sure it also fixes:

#349
#1379
#1591
#134
#846
#459

Any chance we can get this pulled?

Thank you this is great! It's a shame its not merged yet.


Added a menu to the /upgrade command

Currently the view does not call any other external commands.
Should there be any changes on how the view behaves?

Does the current implementation of UpgradeView work? I do agree with having an ephemeral message and editing it instead of sending a new message every time, but the embed would only change the cost and possibly the description depending on the user profile.

Hmm, I'm not sure: I imagine the process to be: /upgrade, I get an ephemeral menu, I can upgrade and still upgrade again afterwards (so no changing buttons) with up to date prices (so edit the embed).
I don't think that's exactly what we have here yet

The current implementation (the new commit) assumes that the user already has a profile (as it calls client.database.get_profile), meaning that the implementation will break if the upgrade command is not restricted to people with profiles (and whether or not it is enabled in the channel). Should I also add an upgrade method  that would actually update the stats of the user?

I think we currently handle making new profiles if there are none in the database right? Shouldn't it work?
Cause when I tested /send I used the profile (to get CPS) and that seemed to work.

Oh yeah, completely forgot about the defaultdict being there. I think that should work then, although I feel like there should be an implementation of an upgrade method, or is this good enough as is?

Probably good enough as is, feel free to make a follow up issue


Fix + E2E test to verify actor resiliency + x-error header.

Description
Fix + E2E test to verify actor resiliency + x-error header.
Issue reference

Please reference the issue this PR will close: #6339
Checklist
Please make sure you've  completed the relevant tasks for this PR, out of the following list:

[ ] Code compiles correctly
[ ] Created/updated tests
[ ] Unit tests passing
[ ] End-to-end tests passing
[ ] Extended the documentation / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]
[ ] Specification has been updated / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]
[ ] Provided sample for the feature / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]

First, validating the E2E test actually reproduces the error.

As expected, both new E2E test cases now fail, remote and local: https://github.com/dapr/dapr/actions/runs/6178949540/job/16773055827?pr=6912


Add cleanup to pools and managers

Work for #1100 by adding .close for all ConnectionPools and .clear for all PoolManagers.
Also noticed that in TestUtil there were a few duplicate keys in parse_url_host_map so I changed it to a list of tuples to make sure the duplicates weren't silently discarded.

Hrm, looks like we have some problems with the queue module here. Want to look into them?

@Lukasa Yeah I'll look at them unless you have time today. Won't have much time for open source today.

There's no rush, it's a weekend. Take time for yourself. =D

Current coverage is 100% (diff: 100%)

Merging #1102 into master will not change coverage

@@           master   #1102   diff @@
=====================================
  Files          21      21
  Lines        1925    1925
  Methods         0       0
  Messages        0       0
  Branches        0       0
=====================================
  Hits         1925    1925
  Misses          0       0
  Partials        0       0

Powered by Codecov. Last update 3f9279f...e105b6b

I think I figured out the queue issue with those two tests. Also added unittest2.TestCase substitution for all the tests that didn't have the substitution already and required .addCleanup. It would be great if you could run your FD test again on this @Lukasa if the CI passes to see if this helps the leaking situation at all? :)

So I'm having trouble with GAE as the import urllib3 comes inside the testcase which is what is causing the queue issue but it doesn't seem like I can just move it outside the testcase as then importing google.appengine.api.prospective_search.prospective_search_stub from within nosegae fails.

So why is the late import causing the queue issue, sorry?

@Lukasa I don't know why importing urllib3 within the testcase makes the queue module within urllib3 turn to None by clean-up time. I'll investigate further.

So, an FYI: this has become more important in the v2 branch as I refactor to use h11 more closely, because all our connection objects now use a selector and a socket. This doubles the FD use per connection, which means that I can now reproduce the "too many files" error consistently in all tests.

I'll get time tonight to work on this branch @Lukasa :) And I'm glad the selectors are useful as well. It would be nice if somehow all connections within a pool could share a selector! :D

It would be nice if somehow all connections within a pool could share a selector! :D

So while they could, it gets tricky fast: you need to use semaphores to manage the selector because connection pools are thread-safe, and so their shared selector would need to be as well. This is not totally trivial, and incurs a massive performance cost (locking in Python is very slow).
A potential optimisation would be to have one selector per thread in thread-local storage, which would vastly reduce the overhead. That is something we should look into as v2 progresses.

Excited to have selectors serve a higher purpose than just waiting for a single socket! :)

To be clear, the reason we're using selectors for this is twofold. Firstly, and most importantly in terms of user annoyance, they allow us to finally consider implementing "total" timeouts in a way that makes sense (that is, "don't wait more than n seconds for the entire response").
But the most important reason for me is that they fix a number of problems relating to the fact that the server can respond to us before we're finished uploading. This allows us to send data while we watch for the possibility that the server has already responded. We've not been able to do this before, and it's a huge win. It also opens other use-cases like this, such as support for Expect: 100-continue.

@Lukasa I will say the biggest annoyance I have with Python 2.x is that everything that should have a timeout parameter (threading.Lock.acquire, subprocess.Popen.communicate, ...) doesn't, and it makes it really annoying to implement those actual timeouts.

Hrm, Travis seems to have lost this commit.

Looks like we have some flake8 problems. =D

@Lukasa I'll fix those later today :)
What are your thoughts on leaving the GAE tests as they were? When I pull the import outside the test function then nosegae has trouble importing and when I have the import inside the test function and do cleanup then we run into the queue module turning to None before cleanup. :/

We can probably start by leaving the GAE tests as they are for now. Let's make progress as gently as we can. =)

Looks like (transient?) failures on Python 3.4 Linux and Python 3.3 OSX. I haven't seen the OSX error before but it looks like a read timeout on localhost?

Python 3.3 OSX still failing, another transient issue. :/

Yay! Our CI has come through in the end :)

I'm not happy because I think this is still indicative of a problem that can and will occur on a user's system, but I have no objection to the changes in this pull request.

I'm not happy because I think this is still indicative of a problem that can and will occur on a user's system, but I have no objection to the changes in this pull request.

So, to be clear, it absolutely is. This is a problem we've known about for a very long time, namely that because we pool connections we necessarily keep them alive until we're GC'd and rely on the GC to do that cleaning up.
We could avoid this in some cases by making things context managers, but ultimately that only solves it for well-bounded lifetimes. Otherwise, the problem is present everywhere. However, it is worse here because we create a bunch of connections in a tight loop during a test case.


DLP Editor V2 cannot create Single Environment DLP Policy

Describe the bug
In DLP Editor V2 App creating a Single Environment policy ends with an error, so that the DLP policy for Single Environment cannot be created.
To Reproduce
Steps to reproduce the behavior:

Go to Power App  'DLP Editor V2'
Click on '+ New Tenant Policy'
Add policy name and select "Next"
Select "Next" on the page of Connectors
On the page of Scope, select "Single environment" and select "Next"
On the page of Environments, add the Default environment to this policy and then select "Next"
On Review page it shows that one environment is selected
Click button "Create Env Policy"

Expected behavior
Error appears with a message "The provided data loss prevention policy's type only allows selection of one environment". This policy cannot be created.
Screenshots

Hello. This is known and the option to create envt level policies was removed from the tool as a result. When you update you will see this to be the case.
The product is the best place to create new policies and our toolkit really only offers the ability to check impact of changes.
Thanks for using CoE


ILogProvider registration via constructor dependency injection

Which package of CodeMonkeys is your request related to?
CodeMonkeys.Logging
Is your feature request related to a problem? Please describe.
It would be nice if the LoggingFactory class could be filled with providers via constructor dependency injection.
Describe the solution you'd like
A constructor which takes an IEnumerable .

Deprecated because we are now using Singleton pattern


Upgrade to Swift 4.0+

In the Xcode 10.2 released today, Swift 3.0 support is now dropped by Apple, we will unable to build pushy-react-native installed React Native iOS project anymore, please upgrade to Swift 4.0+.

@eggli This commit seems to support for Swift 4.0 from Pushy SDK. But I think the Xcode project is not yet updated

Thanks @eggli, merged and published in 1.0.8.
To update, please run the following command in your root project directory:
npm install<EMAIL_ADDRESS>--save

Run the following command to relink the iOS native module to your project:
react-native unlink pushy-react-native
react-native link pushy-react-native

Then, recompile and let us know whether the issue is resolved.

Thanks for your quick response, this issue has been resolved.


Add cv::Point2f converter

(removed cv 2 support)
closes #1

Thank you for your patience, I appreciate your feedback.

Actually, you did more (and better) work here than I did...


feat(FingerController): add curl limits to restrict curl amount

The new CurlLimits property allows the minimum and maximum level of
finger curl to be applied so the input may not curl the finger all
the way to the maximum or even all the way to the minimum.
There was also a badly named setter method that still referred to
Thumb in the method name, this has now been removed which is
technically a change that could break things for existing users but
as this package is so new let's hope it is snuck in under the radar
so a new major version isn't needed.

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

npm package (@latest dist-tag)
v2.2.0
GitHub release

Your semantic-release bot :package::rocket:


Coverage collection not working anymore under SDK version 1.16.0

Steps to reproduce

Get the latest stable SDK
Write some testable code
pub global activate coverage
dart --checked --observe=8000 testfile.dart
pub global run coverage:collect_coverage --port=8000 --out coverage.json --wait-paused --resume-isolates
Watch it fail (in my case at least)

Error
JSON-RPC error -32601 (method not found): Method not found
For: https://github.com/dart-lang/coverage/blob/0efd184aa00e6029b3606eac2d1ebb2af4fdaf3b/lib/src/vm_service_client.dart#L199
It looks like the Observatory RPC interface does not support _getCoverage anymore. A bit of research revealed this might indeed be the case: https://github.com/dart-lang/sdk/commit/c434931517ae2a05f96b26c0fe6ff581d322ed02#diff-243e54ec47a7b6d9b6088b2200bbf298L4022
Edit: this commit is also included in the 1.16.0 release, see: https://github.com/dart-lang/sdk/commits/1.16.0?page=4. Also, the dart_coveralls plugin exits with a 255 code and Unrecognized flags: coverage_dir

Tracked in the coverage package - https://github.com/dart-lang/coverage/issues/107


Update README.md

Clarify that Apollo supports all features of the official spec since subscriptions are not yet part of it.

Sorry, I just couldn't stop myself from doing it! 😁

Coverage remained the same at 76.543% when pulling 412e220e4e40e23ba28dc45d435c65bea2d9bf7a on helfer:patch-2 into 793d7fe44ccbe6392d05085a01634791923fddb6 on mattkrick:master.

Mmmm, <IP_ADDRESS>?

Yeah, afaik apollo supports arbitrary nesting of lists and non-nulls, even more than 7 levels, which is the limit for GraphiQL.

2.4 as it relates to 2.3. You support multiple mutations under the same mutation operation?

Yeah, we do.

That's amazing! You gotta brag about that in your docs
Seeing the submitRepository mutation  and the operation submitRepository make it appear that  a mutation can only have 1 child. :wink:


Added Catholic University of Zimbabwe file.

University official website URL: https://cuz.ac.zw/
URL of a page on the official website where long-term (>1 Year) IT-related course: https://cuz.ac.zw/?page_id=27
The course name is Bachelor of Business Management and Information Technology Honours Degree and it takes (4 years)
Proof showing that the university recognizes the domain that has been submitted: Screenshot of the Contact Us section: https://i.imgur.com/yWJDrek.png which shows the domain being used for information<EMAIL_ADDRESS>and admissions<EMAIL_ADDRESS>emails.

@zcletter First stage of verification passed, official domain is cuz.ac.zw as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@zcletter There are no files in this request. Thus, I merge it, but nothing new adds to the repository. Please ensure that your domain is already in the trusted list and submit a new correct request, if necessary.


Docker not started

After initial setup docker not started
Set hostname to <535aa3c1620c>.
Failed to add address <IP_ADDRESS> to loopback interface: Operation not permitted
Failed to add address ::1 to loopback interface: Operation not permitted
Failed to bring loopback interface up: Operation not permitted
Failed to bump AF_UNIX datagram queue length, ignoring: Read-only file system
Setting 'fs/file-max' to '9223372036854775807'.
Failed to bump fs.file-max, ignoring: Read-only file system
RLIMIT_NOFILE is already as high or higher than we need it, not bumping.
Found cgroup2 on /sys/fs/cgroup/, full unified hierarchy
Unified cgroup hierarchy is located at /sys/fs/cgroup.
Failed to create /init.scope control group: Read-only file system
Failed to allocate manager object: Read-only file system
[!!!!!!] Failed to allocate manager object.
Exiting PID 1...

How did you create the container (full command line for docker run or docker compose file)?
What host are you running on?

Thank you for this container, I'm looking forward to trying out 3CX. I'm getting the same issue.
 Configure instance ...

Check config tool logs in case of any issues /var/lib/3cxpbx/Data/Logs/PbxConfigTool.log

Run WebConfig on port :5015

Created symlink /etc/systemd/system/multi-user.target.wants/setup-3cx.service -> /etc/systemd/system/setup-3cx.service.

Start systemd

Welcome to Debian GNU/Linux 10 (buster)!

Failed to create /init.scope control group: Read-only file system

Failed to allocate manager object: Read-only file system

[!!!!!!] Failed to allocate manager object.

Exiting PID 1..

System details:
docker --version
Docker version 20.10.21, build baeda1f

lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 11 (bullseye)
Release:        11
Codename:       bullseye

whoami
root

Related (?) https://github.com/moby/moby/issues/42275

Would you share the output of “docker info”?

By the way, the issue you linked to make sense as it talks about cgroups v2 and it seems to be the problem for most of the tickets I get… Unfortunately, I don’t have a host with cgroups v2.

> docker info
Client:
 Context:    default
 Debug Mode: false
 Plugins:
  app: Docker App (Docker Inc., v0.9.1-beta3)
  buildx: Docker Buildx (Docker Inc., v0.9.1-docker)
  scan: Docker Scan (Docker Inc., v0.21.0)

Server:
 Containers: 0
  Running: 0
  Paused: 0
  Stopped: 0
 Images: 0
 Server Version: 20.10.21
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Native Overlay Diff: true
  userxattr: false
 Logging Driver: json-file
 Cgroup Driver: systemd
 Cgroup Version: 2
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: io.containerd.runtime.v1.linux runc io.containerd.runc.v2
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 770bd0108c32f3fb5c73ae1264f7e503fe7b2661
 runc version: v1.1.4-0-g5fd4c4d
 init version: de40ad0
 Security Options:
  apparmor
  seccomp
   Profile: default
  cgroupns
 Kernel Version: 5.10.0-19-amd64
 Operating System: Debian GNU/Linux 11 (bullseye)
 OSType: linux
 Architecture: x86_64
 CPUs: 6
 Total Memory: 23.53GiB
 Name: <REMOVED>
 ID: <REMOVED>
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  <IP_ADDRESS>/8
 Live Restore Enabled: false

I found luck with this: https://serverfault.com/a/1083451
Here's a bit of code I put in my stand-up script based on the above (in case it's of use to anyone):
grubCFG="/etc/default/grub.d/cgroup.cfg"
if [ ! -f $grubCFG ]
then
echo 'GRUB_CMDLINE_LINUX=systemd.unified_cgroup_hierarchy=false' > $grubCFG
update-grub
echo "GRUB Config not correct, updating and rebooting."
sleep 1s
reboot
else
echo "$grubCFG already exists"
fi

After running the above, and rebooting, THEN starting creating the container (don't create before the change or it won't work), things come up as expected.

@Mist-Hunter this is great! It really confirm the issue with cgroup version.
Thank you for reporting it back here. It will help some people (I will add it to the troubleshooting) running recent versions of some distros.

Another option that worked for the github action was to add --cgroupns=host -v /sys/fs/cgroup:/sys/fs/cgroup:rw to the command line. cgroupns might not work with docker compose.

Closing all issues before archiving the project.


Support hex based seeds

For the purposes of the farmerbot, it would be beneficial to support the use of hex based seeds in grid3_client_ts.  Many farms have been created using the TF Connect App, whereby the farmer only has a hex secret to work with for their twin and farm.
Since rmb-rs already supports this and it's possible to achieve all necessary TF Chain signing activities with a hex secret, I think it should be possible to support it for this client.

for the deployment part, it could be supported as well for signing the deployment but the issue is saving the deployment on the kvstore on tfchain. the mnemonic is used as a symmetric key to encrypt the values. so if a user has mnemonic and secret seed for the same account and used them to deploy. both accounts will see the contracts without any problem but the deployed list will be different between them as the keys encrypted by one of them won't be decrypted by the other one.

related

https://github.com/threefoldtech/tfgrid-sdk-ts/issues/127

maybe a suggestion:

if a mnemonic is provided, convert it to a secret seed.
if it's a secret seed keep it as is
always use the seed for the encryption

but this will require migrating all the keys to be encrypted by the seed instead of the mnemonic

Blocked on some appeared issues described in PR https://github.com/threefoldtech/tfgrid-sdk-ts/pull/1380#issuecomment-1801782457

I tried using the hex secrets from the Threefold Connect app, but the activate button wasn't enabled.

Also, can you link the documents for the hex seeds in the issue?

am still facing the same issue

@khaledyoussef24 can you please add the steps to reproduce? how did you get the hex seed?

@AhmedHanafy725
Sure it is got the hexseed from the threefold connect app
Then went to the dashboard and paste it as written in the login documentation

verified and working fine now

the issue that my old hex seed did not have a twin.
testlodge : https://app.testlodge.com/a/26076/projects/40893/suites/234374?expand_section=422331#case_4150322

blocked on #1690 to verify that we can create a twin with a hex seed also

env used : devnet
version used : 228c723
verified now user can log in and activate account from mnemonic and hex seed

test lodge : https://app.testlodge.com/a/26076/projects/40893/suites/234374?expand_section=422331#case_4161528

Verified:

Devnet
33c308d


Upload community proposal for Dare funding

Uploading file for community proposal as an independent PR separate from https://github.com/uk-tre/website/pull/21
Can I please get a quick approval if this doesn't terribly mess things?
That way I will also change Dec report to link to this instead of the unfinished About Us, and that content can later go directly into the website

That's actually v reasonable. I am closing this PR then


How to send Twitter Card

https://dev.twitter.com/cards/types/summary
<meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="@flickr" />
<meta name="twitter:title" content="Small Island Developing States Photo Submission" />
<meta name="twitter:description" content="View the album on Flickr." />
<meta name="twitter:image" content="https://farm6.staticflickr.com/5510/14338202952_93595258ff_z.jpg" />

How to?

any help here?

Do you not just attach the URL to the tweet and it Twitter checks that URL/site for the card metadata?

Closing this due to inactivity. Please let me know if you are still having an issue and i'll reopen.