Flexible handling of dtstart incl. documentation

As stated by @jpulec in #90 dtstart is handled according to RFC 2445 so that it always counts as the first occurrence regardless of your pattern, like when used with between(). This causes confusion for some users (e.g. #36, #50, #71) because it is in conflict with how dateutil.rrule handles dtstart.
With this pull request I suggest a solution which consists of:

The addition of an optional parameter include_dtstart which can be either passed to a RecurrenceField or a Recurrence instance. With include_dtstart=False the default behavior does not occur for the field/object so that dtstart no longer finds its way into the occurrence list if it does not match your recurrence pattern. Because the default behavior doesn't change if include_dtstart is not specified backward compatibility is ensured.

A clear documentation of how django-recurrence handles dtstart and how it can be controlled with the feature described above. In that way further confusion should be prevented.

Some additional unit test cases.

This is fantastic, thank you. The current behavior is very unintuitive but I understand it's part of the spec. This would solve a lot of problems let's get this in!

@emperorcezar Would it be possible to get this looked at?

@denisiko What's here looks good to me with the exception of two things. I would like to see some tests, and second, adding it to the release notes.
Get those in and I think we'd be good to go.

@emperorcezar Thanks for your feedback!  I will write some test cases when I'm back from holidays at the end of the month.

@emperorcezar So I finally managed to add some tests. They pick up on the example mentioned in #50.

@denisiko Awesome.
@dominicrodger Could you take a quick look.

@emperorcezar I guess he's busy. Would you mind taking a look?

@denisiko Code looks good. Could I suggest the flag be include_dtstart? I think that's much more intuitive. inc makes my mind go straight to increment.

@emperorcezar Thx for the very quick reply!
Yes, that's a very good suggestion! I refactored the flag everywhere and updated this request's description.

@emperorcezar Is there anything else I can do?

@denisiko I was hoping for @dominicrodger to take a look. I mostly do release management.

I totally get that. But this request lies around for half a year now...
I don't mind waiting longer because I do not encounter a problem with dtstart in my project. I adressed this problem because a lot of people are affected and wait for a solution.

Sorry folks - I added a third child to my little clan a few months ago, so spare time has been hard to come by lately! I'll take a look at it this week. If that deadline passes, feel free to remind me (it's in my inbox now, so I shouldn't forget).
Thanks for the work and patience here - it's much appreciated.

Wow congrats @dominicrodger ! Well I can imagine then that you have other more urgent things on your mind.
@emperorcezar already mentioned some good points while looking over it, so I hope there are not a lot problems left. But I am very much looking forward to your feedback on the approach I toke.

@jpulec As you may have seen I did not include the param in the functions, so call by call overrides are not supported e.g. with between.
I just don't think there is a use case where someone wants both behaviors in one app: so either you want dtstart included everywhere, you don't want it anywhere or you just don't care (e.g when you don't work with past dates). But even if you would want that you could set include_dtstart to False and just add dtstart explicitly with a one-liner wherever you want it included.

This looks good to me - thanks so much for your work here @denisiko!
Only thing left I think is to update the changelog in a few places, but I'll get that handled, and then we can push a release. I'll update this ticket with news on that, most likely tomorrow.

No problem, glad I could help.

@dominicrodger
Can you already say when the next pip release is going to be? After that some issues could be closed.

I can push a new release whenever I get the go-ahead.
On Tue, Oct 10, 2017, 4:51 AM Denis Anuschewski<EMAIL_ADDRESS>wrote:

@dominicrodger https://github.com/dominicrodger
Can you already say when the next pip release is going to be? After that
some issues could be closed.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/django-recurrence/django-recurrence/pull/93#issuecomment-335421430,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAELN0HvTn9YAWEDxz6zqk-T6NlIpp6Uks5sqz4pgaJpZM4NHobn
.

Go ahead :)

Pushed.
On Tue, Oct 10, 2017 at 8:39 AM Dominic Rodger<EMAIL_ADDRESS>wrote:

Go ahead :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/django-recurrence/django-recurrence/pull/93#issuecomment-335475592,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAELN5LvH5Qu25qcwJLDE5ICXq1tpchAks5sq3OqgaJpZM4NHobn
.


docs: Suggest mvn verify instead of mvn install in building instructions

Fixes Issue
none
Description of Change
Suggests usage of mvn verify instead of mvn install in the building instructions in the README. This avoids placing the artifacts in the local Maven repository.
See also https://github.com/jeremylong/DependencyCheck/issues/5583#issuecomment-1489320710
Have test cases been added to cover the new functionality?
no

When building the project for usage of the produced snapshots mvn install is the most appropriate. Only usage of a custom-build CLI would require no more than the verify goal.

Good point; mvn install is probably not so problematic then.
Also I cannot reproduce the case I mentioned in https://github.com/jeremylong/DependencyCheck/issues/5583#issuecomment-1489320710 anymore that Maven did not pick up changes to files, so I assume I made a mistake while building the project. Sorry for the trouble.


mergeMap can overflow the stack

MergeMap with a concurrency limit is prone to a StackOverflow in the following scenario:

concurrency limit is reached and more elements keep coming in, stored in the internal buffer
the Observables projected from these buffered elements all complete synchronously, e.g. cold Observables from collections or ReplaySubject(1).take(1)

As soon as the next inner stream completes, notifyComplete will subscribe to the next substream, which will synchronously complete, reentering notifyComplete and beginning another cycle. If the internal buffer grew large enough, this will eventually run out of stack space. an .observeOn(Scheduler.queue) attached to the projected Observable will avoid the StackOverflow.
I can provide a reproducer upon request (may take a bit), but from the code of mergeMap.ts it should be obvious what happens. A possible fix is to use a flag to prevent reentrancy of either notifyComplete or _next and execute the next round(s) in a while loop instead.

That's the expected behaviour. There are numerous situations in which a stack overflow can occur when no scheduler is used - which sees calls made recursively. As you've stated, using the queue scheduler is the solution.

For more information see https://github.com/ReactiveX/rxjs/issues/3609 and https://github.com/ReactiveX/rxjs/pull/3621.

Closing this as a PR that sought to address this particular problem has already been rejected.


Error update-database

Hi everyone,
I've a problems with nuget gallery.
When i try build.cmd, return this error:
Project "C:\NugetGallery\packages\NuGet.Services.Build.3.0.9\tools\NuGet.Services.FullBuild.msbuild" (2) is building "C:\NugetGallery\NuGetGallery.sln" (3) on node 1 (Build target(s)).
C:\NugetGallery\NuGetGallery.sln(2,1): error MSB4025: The project file could not be loaded. Data at the root level is invalid. Line 2, position 1.
Done Building Project "C:\NugetGallery\NuGetGallery.sln" (Build target(s)) -- FAILED.
Done Building Project "C:\NugetGallery\packages\NuGet.Services.Build.3.0.9\tools\NuGet.Services.FullBuild.msbuild" (default targets) -- FAILED.
Done Building Project "C:\NugetGallery\build.msbuild" (default targets) -- FAILED.
Build FAILED.
"C:\NugetGallery\build.msbuild" (default target) (1) ->
"C:\NugetGallery\packages\NuGet.Services.Build.3.0.9\tools\NuGet.Services.FullBuild.msbuild" (default target) (2) ->"C:\NugetGallery\NuGetGallery.sln" (Build target) (3) ->
C:\NugetGallery\NuGetGallery.sln(2,1): error MSB4025: The project file couldnot be loaded. Data at the root level is invalid. Line 2, position 1.
0 Warning(s)
1 Error(s)

Time Elapsed 00:00:01.52
Ok not problem Open Solution and build.
Works fine compile 8 projects.
next step database, on README.md file put this line
Update-Database -StartUpProjectName NuGetGallery
add -verbose, for more control, and appear this error
Unable to update database to match the current model because there are pending changes and automatic migration is disabled. Either write the pending model changes to a code-based migration or enable automatic migration. Set DbMigrationsConfiguration.AutomaticMigrationsEnabled to true to enable automatic migration.
You can use the Add-Migration command to write the pending model changes to a code-based migration.
Ok any problem,, on file Migrationsconfigurations.cs change
AutomaticMigrationsEnabled from false to true.
the same Update-Database -StartUpProjectName NuGetGallery -verbose
after a lots of create, insert, etc,
The Fatal Error from Database
Applying automatic migration:<PHONE_NUMBER>58308_AutomaticMigration.
CREATE INDEX [IX_UserKey] ON [dbo].Credentials
System.Data.SqlClient.SqlException (0x80131904): The operation failed because an index or statistics with name 'IX_UserKey' already exists on table 'dbo.Credentials'.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action1 wrapCloseInAction)    at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)    at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()    at System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.<NonQuery>b__0(DbCommand t, DbCommandInterceptionContext1 c)
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher1.Dispatch[TTarget,TInterceptionContext,TResult](TTarget target, Func3 operation, TInterceptionContext interceptionContext, Action3 executing, Action3 executed)
at System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.NonQuery(DbCommand command, DbCommandInterceptionContext interceptionContext)
at System.Data.Entity.Internal.InterceptableDbCommand.ExecuteNonQuery()
at System.Data.Entity.Migrations.DbMigrator.ExecuteSql(MigrationStatement migrationStatement, DbConnection connection, DbTransaction transaction, DbInterceptionContext interceptionContext)
at System.Data.Entity.Migrations.Infrastructure.MigratorLoggingDecorator.ExecuteSql(MigrationStatement migrationStatement, DbConnection connection, DbTransaction transaction, DbInterceptionContext interceptionContext)
at System.Data.Entity.Migrations.DbMigrator.ExecuteStatementsInternal(IEnumerable1 migrationStatements, DbConnection connection, DbTransaction transaction, DbInterceptionContext interceptionContext)    at System.Data.Entity.Migrations.DbMigrator.ExecuteStatementsWithinTransaction(IEnumerable1 migrationStatements, DbTransaction transaction, DbInterceptionContext interceptionContext)
at System.Data.Entity.Migrations.DbMigrator.ExecuteStatementsWithinNewTransaction(IEnumerable1 migrationStatements, DbConnection connection, DbInterceptionContext interceptionContext)    at System.Data.Entity.Migrations.DbMigrator.ExecuteStatementsInternal(IEnumerable1 migrationStatements, DbConnection connection, DbInterceptionContext interceptionContext)
at System.Data.Entity.Migrations.DbMigrator.ExecuteStatementsInternal(IEnumerable1 migrationStatements, DbConnection connection)    at System.Data.Entity.Migrations.DbMigrator.<>c__DisplayClass30.<ExecuteStatements>b__2e()    at System.Data.Entity.Infrastructure.DbExecutionStrategy.<>c__DisplayClass1.<Execute>b__0()    at System.Data.Entity.Infrastructure.DbExecutionStrategy.Execute[TResult](Func1 operation)
at System.Data.Entity.Infrastructure.DbExecutionStrategy.Execute(Action operation)
at System.Data.Entity.Migrations.DbMigrator.ExecuteStatements(IEnumerable1 migrationStatements, DbTransaction existingTransaction)    at System.Data.Entity.Migrations.DbMigrator.ExecuteStatements(IEnumerable1 migrationStatements)
at System.Data.Entity.Migrations.Infrastructure.MigratorBase.ExecuteStatements(IEnumerable1 migrationStatements)    at System.Data.Entity.Migrations.DbMigrator.ExecuteOperations(String migrationId, VersionedModel targetModel, IEnumerable1 operations, IEnumerable1 systemOperations, Boolean downgrading, Boolean auto)    at System.Data.Entity.Migrations.DbMigrator.AutoMigrate(String migrationId, VersionedModel sourceModel, VersionedModel targetModel, Boolean downgrading)    at System.Data.Entity.Migrations.Infrastructure.MigratorLoggingDecorator.AutoMigrate(String migrationId, VersionedModel sourceModel, VersionedModel targetModel, Boolean downgrading)    at System.Data.Entity.Migrations.DbMigrator.Upgrade(IEnumerable1 pendingMigrations, String targetMigrationId, String lastMigrationId)
at System.Data.Entity.Migrations.Infrastructure.MigratorLoggingDecorator.Upgrade(IEnumerable`1 pendingMigrations, String targetMigrationId, String lastMigrationId)
at System.Data.Entity.Migrations.DbMigrator.UpdateInternal(String targetMigration)
at System.Data.Entity.Migrations.DbMigrator.<>c__DisplayClassc.b__b()
at System.Data.Entity.Migrations.DbMigrator.EnsureDatabaseExists(Action mustSucceedToKeepDatabase)
at System.Data.Entity.Migrations.Infrastructure.MigratorBase.EnsureDatabaseExists(Action mustSucceedToKeepDatabase)
at System.Data.Entity.Migrations.DbMigrator.Update(String targetMigration)
at System.Data.Entity.Migrations.Infrastructure.MigratorBase.Update(String targetMigration)
at System.Data.Entity.Migrations.Design.ToolingFacade.UpdateRunner.Run()
at System.AppDomain.DoCallBack(CrossAppDomainDelegate callBackDelegate)
at System.AppDomain.DoCallBack(CrossAppDomainDelegate callBackDelegate)
at System.Data.Entity.Migrations.Design.ToolingFacade.Run(BaseRunner runner)
at System.Data.Entity.Migrations.Design.ToolingFacade.Update(String targetMigration, Boolean force)
at System.Data.Entity.Migrations.UpdateDatabaseCommand.<>c__DisplayClass2.<.ctor>b__0()
at System.Data.Entity.Migrations.MigrationsDomainCommand.Execute(Action command)
ClientConnectionId:747c0e44-4366-4801-9f74-bd3a453ccd01
Error Number:1913,State:1,Class:16
The operation failed because an index or statistics with name 'IX_UserKey' already exists on table 'dbo.Credentials'.
anybody help me??
Thanks
P.D Database is SQL SERVER EXPRESS 2012

Can you try running Update-Database -StartUpProjectName NuGetGallery -TargetMigration<PHONE_NUMBER>46581_IndexPackagesLastUpdatedWithIsListed

after apply this appear this
Target database is already at version<PHONE_NUMBER>46581_IndexPackagesLastUpdatedWithIsListed.
the next step is publish the solution.
right???

Yes it is :)

ok thanks in advance i will try

works fine thansk

can you tell me if it's `possible the integration with Active Directory???


Generic Tensorboard Utility in Deepspeed

Hi ,
The tensorboard config present by default in Deepspeed only provides logging for train/loss and train/lr . This feature however is quite limited , for eg in my training :
inputs = data.to(model_engine.device)
mean_style = mean_style.to(model_engine.device)
latent_rnd =  torch.randn(micro_batch_size, 512).to(model_engine.device)
losses , encode_lst = model_engine(inputs,mean_style,latent_rnd,mode='train')
total = torch.sum(torch.stack(losses))
It is total which I pass to backward as loss thus I would get graphs only for this . However I am interested in viewing the graphs for each individual component of losses list as well to finetune optimization if necessary , this however requires me to use an external tensorboard.
Instead of using the default config then can a utility be made to insert a 'customizable' tensorboard if possible ?

A simple first step might be to give users an access point to our SummaryWriter object in order to allow for arbitrary logging from client codes? We could also provide a simple log_scalar() interface so folks can do some simple logging without diving into TensorBoard.
I can see some confusion coming from the asymmetry of the SummaryWriter only being present on global rank 0.

Hi @rsn870,
Since the logging capabilities were expanded in GH-2013 to support TensorBoard, WandB, and CSV logging formats (see documentation here), I'll close the issue for now.
Feel free to open another issue if there are additional requests for expanded logging capabilties.
Thanks,
Lev


Comments: Oracle APEX 23.2 Workflows: A First Look

Blogpost: https://hartenfeller.dev/blog/apex-23-2-workflows-first-look
Comments on this issue are displayed on the blogpost.

Hi Phillip,
First of all, thank you for trying out the 23.2 APEX Workflow and sharing a great blog post on the topic! Regarding the questions you've raised in your blog post, I'll try to respond here.
Q: How do I visualize the current state of a workflow instance for the users? Flows has this and is extremely useful.
A: This is on the Workflow Roadmap and we plan to prioritize it for our future release(s).
Q: Is this only scoped for developers, or meant to be something you can discuss with and show to non-technical people?
A: This is something you can discuss and show to non-technical people. The visualization makes it easier to demonstrate and communicate the business logic to non-technical people.
Q: How can we wait for user input? There are waiting activities, but I did not find a way to set variables for an existing workflow instance. There is an API for that, but it is only meant to be used by admins to resolve issues.
A: The points at which users can interact with the Workflow are Human Task Activities. In 23.2 we have Action Tasks in addition to Approval Tasks. Action tasks are human tasks which do not have a defined Approve or Reject outcome. To learn more about them you could check this blog.
Q: How does the integration with “Approval Tasks” work? Can I set a variable in the workflow instance from there?
A: The Task Outcome and Actual Owner values of the approval task can be returned to the workflow instance.
Q: In the “Participants” section, we can define roles, but only “Workflow Administrator” and “Workflow Owner” are available types. Can I fit roles like department X into this somehow?
A: The participants can be initialized through select queries /expressions and can be a list of comma-separated users. You could define a Participant named Department X of type Workflow Owner and in the Source enter something like
select users from department where department ='X'
Q:  What are the plans to reduce the visual complexity of huge workflows? BPMN has swimlanes and call activities to group and hide details. Are there plans to add this?
A: Yes, we have call activities in the roadmap and they will be coming in the future releases of Workflow
Please refer to my blog on APEX Workflow which has detailed demonstration of how workflows interact with approval tasks and action tasks along with description and usage of the various workflow artifacts.
Best Regards,
Ananya

Thank you @annie79 for the in-depth response. I included your answers in the post.

Thank you for this post. It helped me to show my workflow. Is there a way to push or stop a workflow at a particular step in the middle of the workflow run?  Also can we re-route the workflow step to a particular person in case the approver goes on vacation?

Is there a way to push or stop a workflow at a particular step in the
middle of the workflow run?

Yes. As a Workflow Administrator you can suspend the workflow and then
resume it later. But to interact with the workflow you must be at a
step/activity which is in Waiting state.
You can specify a timeout branch that resends the approval request with a
different potential owner when the approval hasn't been made within a
stipulated time. Setting vacation rules is on our Feature Roadmap and once
that is in, rerouting will become easier.

Hope this helps.
Regards,
Ananya
On Wed, Jan 17, 2024 at 10:03 AM nithyaramu82 @.***>
wrote:

Thank you for this post. It helped me to show my workflow. Is there a way
to push or stop a workflow at a particular step in the middle of the
workflow run? Also can we re-route the workflow step to a particular person
in case the approver goes on vacation?
—
Reply to this email directly, view it on GitHub
https://github.com/phartenfeller/hartenfeller.dev/issues/95#issuecomment-1894922663,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AL7K5KYT4G67JWKIWBGVVA3YO5ICLAVCNFSM6AAAAAA6FGA5ZKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJUHEZDENRWGM
.
You are receiving this because you were mentioned.Message ID:
@.***>

Thank you Ananya! I am able to view the tasks I initiated using the context "INITIATED_BY_ME", but what about the workflow that I need to approve, which context should I use? "MY_TASKS" or "ADMIN_TASKS" are giving errors, and "ADMIN_WORKFLOWS" or "MY_WORKFLOWS" returns none. Can you please help me with this one too?

We can discuss this offline to understand your case better. Could you
schedule a call and send me an invite for sometime today?
Thanks,
Ananya
On Wed, Jan 17, 2024 at 11:31 AM nithyaramu82 @.***>
wrote:

Thank you Ananya! I am able to view the tasks I initiated using the
context "INITIATED_BY_ME", but what about the workflow that I need to
approve, which context should I use? "MY_TASKS" or "ADMIN_TASKS" are giving
errors, and "ADMIN_WORKFLOWS" or "MY_WORKFLOWS" returns none. Can you
please help me with this one too?
—
Reply to this email directly, view it on GitHub
https://github.com/phartenfeller/hartenfeller.dev/issues/95#issuecomment-1894991674,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AL7K5K5PRKMDTMNUQLXQI3TYO5SJXAVCNFSM6AAAAAA6FGA5ZKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJUHE4TCNRXGQ
.
You are receiving this because you were mentioned.Message ID:
@.***>


⚠ Bofrost.nl has degraded performance

In fa49349, Bofrost.nl (https://www.bofrost.nl) experienced degraded performance:

HTTP code: 200
Response time: 819 ms

Resolved: Bofrost.nl performance has improved in 0e6c3fc.


[tool_crash] ProcessException: Failed to find "C:\src\flutter\engine\src\out\host_debug_unopt\dart-sdk\bin\dart.exe" in the search path. Command: C:\src\flutter\engine\src\out\host_debug_unopt\dart-sdk\bin\dart.exe, OS error code: 0

Command
flutter run --verbose -d windows --local-engine host_debug_unopt

Steps to Reproduce

Create new flutter project
Do a gclient sync, and local engine build and hit flake #94492.
On Windows, run flutter run --verbose -d windows --local-engine host_debug_unopt

I suspect that due to https://github.com/flutter/flutter/issues/94492, I had a prebuilt dart SDK that was only partially extracted into the engine's prebuilt/windows-x64/dart-sdk directory, and that during the build, this partially extracted dart SDK was then copied in.
This seems pretty low priority given the audience it affects (people running with a local engine who are also affected by the above bug), but we should handle this scenario a bit more gracefully.
Logs
ProcessException: Failed to find "C:\src\flutter\engine\src\out\host_debug_unopt\dart-sdk\bin\dart.exe" in the search path. Command: C:\src\flutter\engine\src\out\host_debug_unopt\dart-sdk\bin\dart.exe, OS error code: 0
#0      LocalProcessManager.start (package:process/src/interface/local_process_manager.dart:56:7)
#1      ErrorHandlingProcessManager.start.<anonymous closure> (package:flutter_tools/src/base/error_handling_io.dart:691:24)
#2      _run (package:flutter_tools/src/base/error_handling_io.dart:567:20)
#3      ErrorHandlingProcessManager.start (package:flutter_tools/src/base/error_handling_io.dart:690:12)
#4      DefaultResidentCompiler._compile (package:flutter_tools/src/compile.dart:762:37)
#5      DefaultResidentCompiler._recompile (package:flutter_tools/src/compile.dart:657:14)
#6      _RecompileRequest._run (package:flutter_tools/src/compile.dart:367:16)
#7      _CompilationRequest.run (package:flutter_tools/src/compile.dart:345:30)
#8      DefaultResidentCompiler._handleCompilationRequest (package:flutter_tools/src/compile.dart:694:23)
#9      _rootRunUnary (dart:async/zone.dart:1434:47)
#10     _CustomZone.runUnary (dart:async/zone.dart:1335:19)
#11     _CustomZone.runUnaryGuarded (dart:async/zone.dart:1244:7)
#12     _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:341:11)
#13     _DelayedData.perform (dart:async/stream_impl.dart:591:14)
#14     _StreamImplEvents.handleNext (dart:async/stream_impl.dart:706:11)
#15     _PendingEvents.schedule.<anonymous closure> (dart:async/stream_impl.dart:663:7)
#16     _rootRun (dart:async/zone.dart:1418:47)
#17     _CustomZone.run (dart:async/zone.dart:1328:19)
#18     _CustomZone.runGuarded (dart:async/zone.dart:1236:7)
#19     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1276:23)
#20     _rootRun (dart:async/zone.dart:1426:13)
#21     _CustomZone.run (dart:async/zone.dart:1328:19)
#22     _CustomZone.runGuarded (dart:async/zone.dart:1236:7)
#23     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1276:23)
#24     _microtaskLoop (dart:async/schedule_microtask.dart:40:21)

[✓] Flutter (Channel master, 2.6.0-12.0.pre.854, on Microsoft Windows [Version 10.0.18363.1916], locale
    en-CA)
    • Flutter version 2.6.0-12.0.pre.854 at C:\src\flutter\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 361d416e6a (3 days ago), 2021-11-29 22:01:32 -0800
    • Engine revision 7ba215c2c6
    • Dart version 2.16.0 (build 2.16.0-55.0.dev)
    • DevTools version 2.8.0

[!] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at C:\Users\cbracken\AppData\Local\Android\sdk
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.

[✓] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[✓] Visual Studio - develop for Windows (Visual Studio Professional 2022 17.0.1)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Professional
    • Visual Studio Professional 2022 version 17.0.31912.275
    • Windows 10 SDK version 10.0.19041.0

[✓] Android Studio (version 4.1)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[✓] VS Code (version 1.58.2)
    • VS Code at C:\Users\cbracken\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.20.0

[✓] Connected device (4 available)
    • Windows (desktop)       • windows • windows-x64     • Microsoft Windows [Version 10.0.18363.1916]
    • Windows (UWP) (desktop) • winuwp  • windows-uwp-x64 •
    • Chrome (web)            • chrome  • web-javascript  • Google Chrome 96.0.4664.45
    • Edge (web)              • edge    • web-javascript  • Microsoft Edge 95.0.1020.40

! Doctor found issues in 1 category.

Also, this does not seem like a tool bug perse; if I'm understanding the issue correctly, this would only happen if the user points the tool at an incomplete local engine, right?

a general bug (to anyone compiling the engine), and not CI-specific?

This appears to be the case. This happened to me on my local machine this morning.

this does not seem like a tool bug perse

The bug is that rather than crashing, the tool should report the error as something like "You appear to have a corrupt Dart SDK, please take the following steps to correct."
I'd guess that in the tool, this is the same code path as with a local engine (just against a different SDK path). So, for example the user had manually deleted dart.exe from our cached Dart SDK, I bet we'd get this crash too.

+1 on this one, facing the same issue. There is neither dart.exe, nor dart-sdk directory in the out/host_debug_unopt directory.

Any updates on this one? I am unable to build/test our custom engine due to this

@namangor04 this should only really happen if the local engine ends up with an incomplete Dart SDK (e.g. network failure during download, or user pressed Ctrl-C). To get things working around, you should delete the out/host_unopt_debug/dart-sdk directory and do a rebuild. That will trigger a re-download of the Dart SDK.

I deleted the out/host_unopt_debug/dart-sdk directory and did a rebuild. But i am still left with the same problem. I can confirm that I did not press Ctrl-c, but might be some network issue. I am trying to set this up again from scratch. Hope it works this time!.

I'm facing the same issue here. I'm building the engine on Linux and trying to use it with the flutter tool on Windows, but it seems to have only generated Linux binaries for the Dart SDK.
Where is the Dart SDK being downloaded from? The version file in out/host_unopt_debug/dart-sdk says 3.0.0-60.0-dev, which doesn't seem to be present on this page.


Time Remaining/Printing Time over 24h not supported

When the Printing Time and/or Time remaining is over 24 hours it only shows the remainder of hours above any 24/48/72 hour full days. On a long print currently running I have Print time of 54:37:15 shown on octoprint web interface with 6:37:45 on the print monitor. The remaining time is now under 24 hours, but a similar effect was happening with the Remaining Time when it was 25:15:10 on the web/telegram plugin it showed 1:15:10 on the printer monitor.
How can the code be updated to accommodate times greater than 24 hours?

I think we may have to display days.   I will look into it.   Thanks!

This is being addressed in release 2.3 -- it is in dev branch now.   Thanks.

This is now released in version 2.3


feat: add strict type checks for components' props

Provides strict type checks for Stardust components' props.
Type checks introduced
Examples of type checks introduced are provided with Button component taken, which supports

circular: boolean prop
formEncType: string prop from the interface of intrinsic button element, which is rendered by default as Button's element type.

No 'as' prop defined (regular case)
<Button />

<Button circular />
<Button circular={13} />  // BAD, type mismatch (number instead of boolean)

<Button formEncType='...' />  // fine, as 'formEncType: string' is a prop of intrinsic 'button'
<Button formEncType />  // BAD, type mismatch (boolean instead of string)

<Button asdasdasd />  // BAD, unknown prop 'asdasdasd'

With 'as' prop defined
<Button as={'h1'} />

// fine, ANY prop is allowed in addition to Button's ones.
// this is what we had before for all the cases of Stardust components' usage
<Button as={'h1'} asdasdasd />

// checks for ButtonProps are preserved
<Button as={'h1'} circular={13} />   // BAD, type mismatch (number instead of boolean)

Type checks for as case were intentionally loosened, to avoid heap out-of-memory problem of TS compiler (more on that below). However, even with that provided type system was sufficient enough to capture all the same type problems in Stardust codebase that would be discovered by the strictest type-check solution, and generally is expected to prevent most of type problems on the client side.
Stardust problems discovered (just files list, for brevity)

docs/src/app.tsx
docs/src/components/ComponentDoc/ComponentControls/ComponentControls.tsx
docs/src/components/ComponentDoc/ComponentDocSee.tsx
docs/src/components/ComponentDoc/ComponentExample/ComponentExample.tsx
docs/src/components/ComponentDoc/ComponentProps/ComponentProps.tsx
docs/src/components/ComponentDoc/ComponentSidebar/ComponentSidebar.tsx
docs/src/components/ComponentDoc/ComponentSidebar/ComponentSidebarSection.tsx
docs/src/examples/components/ItemLayout/Types/ItemLayoutExampleSelection.shorthand.tsx
docs/src/examples/components/Portal/Types/PortalExample.shorthand.tsx
docs/src/examples/components/Portal/Types/PortalExample.tsx
docs/src/examples/components/Portal/Types/PortalExampleControlled.shorthand.tsx
docs/src/examples/components/Portal/Types/PortalExampleControlled.tsx
docs/src/examples/components/Portal/Types/PortalExampleFocusTrapped.shorthand.tsx
docs/src/examples/components/Portal/Types/PortalExampleFocusTrapped.tsx
docs/src/prototypes/AsyncShorthand/AsyncShorthand.tsx
docs/src/prototypes/IconViewer/index.tsx
docs/src/prototypes/chatPane/chatPaneContent.tsx
docs/src/prototypes/chatPane/services/messageFactoryMock.tsx
docs/src/views/PageNotFound.tsx
docs/src/views/QuickStart.tsx
packages/react/src/components/Attachment/Attachment.tsx
packages/react/src/components/Chat/ChatMessage.tsx
packages/react/src/components/Dropdown/DropdownItem.tsx
packages/react/src/components/Dropdown/DropdownSearchInput.tsx
build/gulp/tasks/test-projects/cra/App.tsx

scaffolding file for create-react-app test project

Additional cleanup

obsolete ...WithDefault types were removed from: Divider, ItemLayout, Layout
types for components that doesn't support as prop by design were updated: Provider, Popup, Portal, PortalInner

Main type files changed

packages/react/src/lib/commonPropInterfaces.ts
packages/react/src/types.ts

Fallback option to loose type checks
In the exceptional cases, to mitigate migration risks on the client side, the fallback type was introduced as part of this PR. This type corresponds to the one that clients originally had for Stardust components before this update.
// re-export on client side
import {
  Stardust_Button,
  ButtonProps,
  UNSAFE_TypedComponent,
  UNSAFE_typed
} from '@stardust-ui/react'

// either explicit cast
const Button = Stardust_Button as any as UNSAFE_TypedComponent<
  typeof Stardust_Button,
  ButtonProps
>

// or simpler
const Button = UNSAFE_typed(Stardust_Button).withProps<ButtonProps>()

export Button

Notes on the approach
The following things were taken into account in the solution provided.
Avoid 'heap out of memory' problem from TS Compiler
In order to prevent cause of this TS compiler's problem (which repros even for the latest to date, v3.4.5 of TS compiler), it was necessary to loose type checks for the cases when as prop is explicitly specified by client's code.
However, even with that provided type system was sufficient enough to capture all the same type problems in Stardust codebase that would be discovered by the strictest type-check solution, and generally is expected to prevent majority of type problems on the client side.
Introduced types don't cause 'heap out of memory' problem for TS compiler - as component type overloads do not cause deep recursion like the following one, while processed by TS engine:

Explicit prop type declarations in component types
Exported components are wrapped in withSafeTypeForAs type that requires type of component props to be explicitly provided in generic args:
export default withSafeTypeForAs<typeof Button, ButtonProps, 'button'>(Button)

While component prop types could be inferred, this approach was taken because of its huge performance benefits introduced to TS Server, as it helps to avoid unnecessary inference and significantly reduce load on TS server. With that, we are making things explicit only once while exporting component, and reap performance benefits of rapid TS checks every time it is used.
These are comparison metrics between 'solution with inference' and 'solution with no inference'

Metric
With Props Inference
With Explicit Props

reaction from IDE (its TS server) on key press while typing prop name
8-10s
0.5-1s

yarn build time
4.82 - 5 min
2.8-2.98 min

Non-related problems spotted

Embed has description for GIF

Warnings

:warning:
There are no updates provided to CHANGELOG. Ensure there are no publicly visible changes introduced by this PR.

  Generated by :no_entry_sign: dangerJS

It's not critical, but it seems that autocomplete is not working 😭

It's not critical, but it seems that autocomplete is not working 😭

This doesn't work for VSCode at all for aria- attributes, thus would skip this problem as the one that is IDE-related. At the same time, type checks work correctly, and this is the most important thing there.

However I am thinking that changes in run-time code to satisfy TypeScript is something evil

would want to avoid them as well, but for now, given that we have class components and there the only option are generics, as well as that it is impossible to introduce function overload semantics with regular TS types, I don't see any better approach there - and noop runtime tricks is the only way to deal with that.
Also, in case if solution will be found (introduced by TS), it will be quite easy for us to adopt it, as this type is applied consistently to all components, so we might be able to introduce necessary fixes to it.


Try requesting endlessly until exited manually

It would be better if the program tried to send request endlessly increasing the time gap recursively until a point until exited manually.

@Dhavalu585,
I was also thinking regarding this, If one could send connection requests from a list of people usernames.

@rousan - Thank You, I will be surely watching this space :)
Good luck !

@rousan - Also, if you see the below script, it just opens the page on people search, does not send connections..
https://github.com/vince-lynch/linkedin-auto-adder/blob/9307b27c7a3b1fc91e1664b741e83ca3c0415999/run-on-page-script.js

Hey @Dhavalu585 I have added that feature,
check https://github.com/agarwalyeshu/linkedin-auto-connect/tree/develop
Clone it then run node/src/cli.js

@agarwalyeshu - I did try this, but the below does not work, it still sends request to People You May Know and not to specific set of people
$ lac -u <enter_your_linkedin_email> -k
Enter LinkedIn password: *****

@agarwalyeshu - Do I need to install any binaries ?

@Dhavalu585 as this is the forked version running via lac command will run the old code.
You have to clone/download this code https://github.com/agarwalyeshu/linkedin-auto-connect
then run go to the archived directory using terminal/command prompt then run "npm start" or
"node src/cli.js"

@agarwalyeshu  - I have cloned your repository , below is the link,
https://github.com/Dhavalu585/Linkedin-auto-connect1.git
How do I go to the archived directory using terminal/ command prompt
Please help !


TransformExtensions class exists in MRTK2, we should add it to MRTK3

TransformExtensions.cs contains useful extension methods for transforms.  It's in the MRTK2 foundation package.  We should bring it in to the MRTK3 package as well.

Resolved with https://github.com/microsoft/MixedRealityToolkit-Unity/pull/11435


bug: ingress extensions/v1beta1 seems like does not support tls

Issue description
https://github.com/apache/apisix-ingress-controller/issues/586
now it support networking.k8s.io/v1 networking.k8s.io/v1beta1
i don't know why extensions/v1beta1 is not supported
it's a pity that I have a large number of extensions/v1beta1 that have not been upgraded
Environment

your apisix-ingress-controller version (output of apisix-ingress-controller version --long):
Version: 1.5.0
Git SHA: f23454f
Go Version: go1.19.2
Building OS/Arch: linux/amd64
Running OS/Arch: linux/amd64
your Kubernetes cluster version (output of kubectl version):
Client Version: version.Info{Major:"1", Minor:"23", GitVersion:"v1.23.6", GitCommit:"ad3338546da947756e8a88aa6822e9c11e7eac22", GitTreeState:"clean", BuildDate:"2022-04-14T08:49:13Z", GoVersion:"go1.17.9", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"19+", GitVersion:"v1.19.16-eks-a05fdea", GitCommit:"a05fdea9a04815782f9c4b08eed73bb2d78b07e3", GitTreeState:"clean", BuildDate:"2022-06-09T21:50:47Z", GoVersion:"go1.15.15", Compiler:"gc", Platform:"linux/amd64"}
WARNING: version difference between client (1.23) and server (1.19) exceeds the supported minor version skew of +/-1

Minimal test code / Steps to reproduce
create a extensions/v1beta1 ingress with tls
Actual result
no apisix tls was created
Error log
no log
Expected result
a apisix tls was created

extensions/v1beta1  This version is too old.
The extensions/v1beta1 and networking.k8s.io/v1beta1 API versions of Ingress is no longer served as of v1.22.
We don't want to continue adding support for such an old version.
Of course, we also accept PRs if anyone is interested in implementing it


Describe and restructure of CLI commands

setup describe + split data and metadat json's

TODO:

[ ] Code cleanup!
[ ] Check how the -p, -c- and -d flags can be added before the file argument
[ ] See which tools of Rfa can be used to look for vertical geometry information


Fix layer_cache input triggering --nocache

The conditions were confusing since layer_cache being true meant nocache should be false (not passed) but instead if layer_cache was true then nocache was set... this inverts that and corrects the tests.

@balena-ci I self-certify!


Why not extractor on Mikael's request module?

Request (https://github.com/mikeal/request) has a good development history and appears solid. It supports get, put, post and delete and well as having OAuth integration. Should extractor be a thin layer on top of request?

Thought about this for a while. It doesn't make sense to have a SubmitForm() method in extractor when request does a much better job of it.  Extractor should be focused on being a decent platform for a spider and ingest engine.


needref customizable link text

try to implement  #439

Can some body help with the error from Lint?


LP import/export (command/s) does not include TRACKS, only GROUPS and USERS

Description
So basically when i try exporting from current storage type into another, it does not include tracks, only groups and users saved permissions and properties.
I tested this by exporting from MariaDB database and importing into YAML while i had 3 separate tracks.
I also tested this by exporting from YAML and then importing into empty/fresh MariaDB database, same thing, doesn't include tracks anywhere.
Proposed Behaviour
I think it should include tracks too.
Extra Details
No response

It does include tracks :)
Did you test...?
Asking because i did, and i tested more than 5 times, and it did not include them:(


Add PWA features to template

Ran Lighthouse against an app created with this template and it scored:

This issue is to track the improvement of the template adding PWA functionality.

You can now see a live example of this template at: http://phonegap.com/phonegap-template-vue-f7-blank/#!//

Because of some url re-writing at phonegap.github.com the live example is now at:
https://macdonst.github.io/pwatest/#!//

Played around with PWA'ing the template and got it to this stage:

Something went wrong with Lighthouse which is why performance is 0 and we are stuck at 91 on PWA.

Things I learned:

We need to handle icons better. It would be great if we automatically generated icon/splashscreen  images.
We should add a noscript tag to our main html file.
We should add a meta tag with the theme-color attribute and a theme-color in manifest.json. Ideally it should match the color used by F7.
The index.html file should have a link to manifest.json.
Should include a serviceWorker and the manifest should be automatically generated.

Register the service worker - https://github.com/phonegap/phonegap-template-vue-f7-todos-pwa/blob/master/template_src/www/index.html#L36-L40

https://github.com/phonegap/phonegap-template-vue-f7-split-panel/commit/c25c5e11da6f4845163dc0fc7baa9dfd54766166


Footer hyperlinks (fb, twitter, etc) should open a new window

All the resources links open a new window, but the ones on the footer don't.
Is this by design?
it feels inconsistent. I'd vote for all external links in a new window, but happy to go with whatever the designers planned for

Good point @geoffstead , no, this is not by design, they should indeed all open in a new tab.

Same comment applicable on Samsung S4 as well.

Fixed in #65.


fix(fedora): Add subvariant filter to Fedora gatherer

What this PR does / why we need it:
Because Fedora is now publishing Cloud_Base and Cloud_Base_UKI subvariants under the Cloud variant of Fedora, a filter for the Cloud_Base subvariant is added. This avoids creating Fedora containerdisks with more than a single image per architecture.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Release note:

None

thanks @0xFelix !

/lgtm

/retest

@lyarwood Doesn't need to be separate, I only discovered the issue fixed in #133 after this was already posted.

Will merge with #133


Implementations code lens doesn't like generics

Duplicate of https://github.com/rust-analyzer/rust-analyzer/issues/5781


Replace "input" functions in spark-core with algebras so connectors can write interpreters for them

For example readfile in spark-core defines Input as
  final case class Input[S[_]](
    rddFrom: (AFile, Offset, Limit)  => Free[S, RDD[String]],
    fileExists: AFile => Free[S, Boolean],
    readChunkSize: () => Int
  )

readfile uses that Input while connectors implement methods of this class.
Better approach would be to define algebra that will represent rddFrom, fileExists & readChunkSize and let connectors write interpreter for that algebra.

@zeeiyerWork u pushed it to September2017 but I'm brining it back to August2017 because I will not do BackendModule without this being fixed


import_from_git  undefined method `[]' for nil:NilClass

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I have read the Contribution Guidelines

Issue Description
import_from_git failing overtime because of a undefined method.
Just updated to the latest fast lane and started running into issues.
Complete output when running fastlane, including the stack trace and command used
[16:29:41]: -------------------------------------------------
[16:29:41]: --- Step: Verifying required fastlane version ---
[16:29:41]: -------------------------------------------------
[16:29:41]: fastlane version valid
[16:29:41]: ------------------------------
[16:29:41]: --- Step: default_platform ---
[16:29:41]: ------------------------------
[16:29:41]: Driving the lane 'ios deploy' 🚀
[16:29:41]: PodLock Exist!!
[16:29:41]: Pod Folder Exist!!
[16:29:42]: -------------------------
[16:29:42]: --- Step: pod install ---
[16:29:42]: -------------------------
[16:29:42]: $ pod install
[16:29:42]: ▸ [in /Users/a206411610/.jenkins/jobs/GolfNowOne-iOS-Beta/workspace]
[16:29:45]: ▸ Analyzing dependencies
[16:29:45]: ▸ Downloading dependencies
[16:29:45]: ▸ Installing AFNetworking (1.3.4)
[16:29:45]: ▸ Installing AWSCore (2.4.3)
[16:29:45]: ▸ Installing AWSS3 (2.4.3)
[16:29:45]: ▸ Installing CHRTextFieldFormatter (1.0.1)
[16:29:45]: ▸ Installing CocoaAsyncSocket (7.4.3)
[16:29:45]: ▸ Installing Crashlytics (3.7.0)
[16:29:45]: ▸ Installing Fabric (1.6.7)
[16:29:45]: ▸ Installing ISO8601DateFormatterValueTransformer (0.6.1)
[16:29:45]: ▸ Installing MBProgressHUD (0.9.2)
[16:29:45]: ▸ Installing OpenSans (1.0.3)
[16:29:45]: ▸ Installing PureLayout (3.0.1)
[16:29:45]: ▸ Installing REMenu (1.10)
[16:29:45]: ▸ Installing RKValueTransformers (1.1.3)
[16:29:45]: ▸ Installing RestKit (0.26.0)
[16:29:45]: ▸ Installing SOCKit (1.1)
[16:29:45]: ▸ Installing SSZipArchive (1.2)
[16:29:45]: ▸ Installing SmartPopNavigationController (0.1.2)
[16:29:45]: ▸ Installing SmartUITableView (0.2.9)
[16:29:45]: ▸ Installing TPKeyboardAvoiding (1.2.11)
[16:29:45]: ▸ Installing TransitionKit (2.2.1)
[16:29:45]: ▸ Installing UIAlertView-Blocks (1.0)
[16:29:45]: ▸ Installing ZXingObjC (3.1.0)
[16:29:45]: ▸ Generating Pods project
[16:29:48]: ▸ Integrating client project
[16:29:48]: ▸ Sending stats
[16:29:48]: ▸ Pod installation complete! There are 16 dependencies from the Podfile and 22 total pods installed.
[16:29:48]: ▸ [!] Your Podfile has had smart quotes sanitised. To avoid issues in the future, you should not use TextEdit for editing it. If you are not using TextEdit, you should turn off smart quotes in your editor of choice.
[16:29:48]: ▸ [!] The `NativeiOSBooker [Debug]` target overrides the `OTHER_CFLAGS` build setting defined in `Pods/Target Support Files/Pods-NativeiOSBooker/Pods-NativeiOSBooker.debug.xcconfig'. This can lead to problems with the CocoaPods installation
[16:29:48]: ▸ [!] The `NativeiOSBooker [Release]` target overrides the `OTHER_CFLAGS` build setting defined in `Pods/Target Support Files/Pods-NativeiOSBooker/Pods-NativeiOSBooker.release.xcconfig'. This can lead to problems with the CocoaPods installation
[16:29:48]: ▸ - Use the `$(inherited)` flag, or
[16:29:48]: ▸ - Remove the build settings from the target.
[16:29:48]: ▸ - Use the `$(inherited)` flag, or
[16:29:48]: ▸ - Remove the build settings from the target.
[16:29:48]: -----------------------------
[16:29:48]: --- Step: import_from_git ---
[16:29:48]: -----------------------------
[16:29:48]: Cloning remote git repo...
[16:29:48]: $ git clone<EMAIL_ADDRESS>'/var/folders/4f/hqw_0rb13jg3xpykgkl163f00000gp/T/fl_clone20160825-60956-1cx0jf0/golfnow-common.git' --depth 1 -n --branch master
[16:29:48]: ▸ Cloning into '/var/folders/4f/hqw_0rb13jg3xpykgkl163f00000gp/T/fl_clone20160825-60956-1cx0jf0/golfnow-common.git'...
[16:29:50]: $ cd '/var/folders/4f/hqw_0rb13jg3xpykgkl163f00000gp/T/fl_clone20160825-60956-1cx0jf0/golfnow-common.git' && git checkout master 'fastlane/Fastfile'
[16:29:50]: $ cd '/var/folders/4f/hqw_0rb13jg3xpykgkl163f00000gp/T/fl_clone20160825-60956-1cx0jf0/golfnow-common.git' && git checkout master 'fastlane/actions'
[16:29:50]: ▸ error: pathspec 'fastlane/actions' did not match any file(s) known to git.
/Users/a206411610/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/jira-0.1.0/lib/jira/cli.rb:28: warning: else without rescue is useless
[16:29:50]: Variable Dump:
[16:29:50]: {:DEFAULT_PLATFORM=>:ios, :PLATFORM_NAME=>:ios, :LANE_NAME=>"ios deploy"}
[16:29:50]: undefined method `[]' for nil:NilClass

+------+-------------------------------------+-------------+
|                     fastlane summary                     |
+------+-------------------------------------+-------------+
| Step | Action                              | Time (in s) |
+------+-------------------------------------+-------------+
| 1    | Verifying required fastlane version | 0           |
| 2    | default_platform                    | 0           |
| 3    | pod install                         | 6           |
| 4    | import_from_git                     | 1           |
+------+-------------------------------------+-------------+

[16:29:50]: fastlane finished with errors

Looking for related GitHub issues on fastlane/fastlane...

➡  undefined method `fetch' for nil:NilClass
   https://github.com/fastlane/fastlane/issues/5677 [open] 1 💬
   2 weeks ago

➡  Produce: undefined method `[]=' for nil:NilClass
   https://github.com/fastlane/fastlane/issues/5875 [closed] 6 💬
   14 hours ago

➡  undefined method `map' for nil:NilClass
   https://github.com/fastlane/fastlane/issues/5817 [closed] 23 💬
   a day ago

and 159 more at: https://github.com/fastlane/fastlane/search?q=undefined%20method%20%60[]'%20for%20nil&type=Issues&utf8=✓
/Users/a206411610/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.101.0/lib/fastlane/fast_file.rb:51:in `rescue in block in parse': [!] undefined method `[]' for nil:NilClass (NoMethodError)
	from /Users/a206411610/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.101.0/lib/fastlane/fast_file.rb:41:in `block in parse'
	from /Users/a206411610/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.101.0/lib/fastlane/fast_file.rb:37:in `chdir'
	from /Users/a206411610/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.101.0/lib/fastlane/fast_file.rb:37:in `parse'
	from /Users/a206411610/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.101.0/lib/fastlane/fast_file.rb:193:in `import'
	from /Users/a206411610/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.101.0/lib/fastlane/fast_file.rb:237:in `block in import_from_git'
	from /Users/a206411610/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.101.0/lib/fastlane/actions/actions_helper.rb:35:in `execute_action'
	from /Users/a206411610/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.101.0/lib/fastlane/fast_file.rb:206:in `import_from_git'
	from Fastfile:31:in `block (2 levels) in parsing_binding'
	from /Users/a206411610/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.101.0/lib/fastlane/runner.rb:206:in `call'
	from /Users/a206411610/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.101.0/lib/fastlane/runner.rb:206:in `execute_flow_block'
	from /Users/a206411610/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.101.0/lib/fastlane/runner.rb:46:in `block in execute'
	from /Users/a206411610/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.101.0/lib/fastlane/runner.rb:45:in `chdir'
	from /Users/a206411610/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.101.0/lib/fastlane/runner.rb:45:in `execute'
	from /Users/a206411610/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.101.0/lib/fastlane/lane_manager.rb:46:in `cruise_lane'
	from /Users/a206411610/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.101.0/lib/fastlane/command_line_handler.rb:30:in `handle'
	from /Users/a206411610/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.101.0/lib/fastlane/commands_generator.rb:49:in `block (2 levels) in run'
	from /Users/a206411610/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/commander-4.4.0/lib/commander/command.rb:178:in `call'
	from /Users/a206411610/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/commander-4.4.0/lib/commander/command.rb:178:in `call'
	from /Users/a206411610/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/commander-4.4.0/lib/commander/command.rb:153:in `run'
	from /Users/a206411610/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/commander-4.4.0/lib/commander/runner.rb:444:in `run_active_command'
	from /Users/a206411610/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane_core-0.50.3/lib/fastlane_core/ui/fastlane_runner.rb:36:in `run!'
	from /Users/a206411610/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/commander-4.4.0/lib/commander/delegates.rb:15:in `run!'
	from /Users/a206411610/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.101.0/lib/fastlane/commands_generator.rb:246:in `run'
	from /Users/a206411610/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.101.0/lib/fastlane/commands_generator.rb:20:in `start'
	from /Users/a206411610/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.101.0/lib/fastlane/cli_tools_distributor.rb:58:in `take_off'
	from /Users/a206411610/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/fastlane-1.101.0/bin/fastlane:5:in `<top (required)>'
	from /Users/a206411610/.rbenv/versions/2.2.3/bin/fastlane:23:in `load'
	from /Users/a206411610/.rbenv/versions/2.2.3/bin/fastlane:23:in `<main>'
Build step 'Execute shell' marked build as failure

### Configuration Files

Please copy the complete content of your Fastfile and any other configuration files you use below:
Fastfile:
# INSERT CONTENT HERE

Environment
fastlane version (run fastlane -v): fast lane 1.101.0
Do you use bundler to execute fastlane (i.e. bundle exec fastlane)? No
Do you use a Ruby environment manager (e.g. chruby, rbenv, rvm)? rvm

@chrissingh can you please share your Fastfile? What are you trying to import from git? Thanks!

I was able to resolve my issues on our build server. I reinstalled a few gems. We did realize krausefx-ipa no longer support uploading to UberTesters. So we had to change that command to a CURL upload and everything seems to be working normally again. Thank you for your reply.

@chrissingh Awesome! Really glad to hear you got up and running. Hope you have a wonderful day!


Add swag command on makefile

Add the swag command to generate swagger.json on Makefile

Solved by the commit 25b2cec028f264ad2dfb424514572381bb230588


getVideoData() in onReady

Using event.target.getVideoData() in the onReady Handler the "video title" and "video author" are somehow empty.

Hello @ChocoMomo
When i modify our example application to include a call to getVideoData() it returns:
Object {video_id: "XxVg_s8xAms", author: "", title: "Introduction to React.js"}

I verified that author is indeed empty which is strange however when I looked into the official YouTube Iframe API documentation it appears that getVideoData() is an undocumented feature. This means that there are no guarantees that the method will continue to function/exist in the future.
If you want to retrieve the video title and author for a given video (of which you have the

Thanks for the help.
In the documentation they said that the onReady event does not specify a data property. So this is why it doesn't work.
Now i use another approach to get the video data. By using the onStateChange handler afterwards i can get the right video data. I used this for event tracking in my application
This issue can be closed


Update recipe: add dependency python-levenstein

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged) 0 --> 1
[x] Reset the build number to 0 (if the version changed) NA
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

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


Add promise-polyfill to dependencies list for npm install

While the 'yarn' command seems to install promise-polyfill, 'npm install' doesn't.  Although yarn is preferred for this course, it fails to find the Visual C++ compiler on Windows (using VS 2017 Community Edition on Windows 10), preventing node-sass from building properly.  Thus it may be advised to explicitly include the promise-polyfill dependency to facilitate those on Windows who may be restricted to using npm install.

Thank you @kamalgill, the PR is merged. Kind Regards, Vasco


Problem Getting Apache Version

So, I'm running Apache 2.4 (installed only using zabbix-server/zabbix-web roles, on master branch). But for some reason, when my vhost template gets set, it doesn't think it's actually running 2.4, because it has Allow from all instead of Require all granted.
# apachectl -v | grep 'version' | awk -F '/' '{ print $2 }'| awk '{ print $1 }' | cut -c 1-3
2.4

TASK [dj-wasabi.zabbix-web : Get Apache version] **********************************************************************************************************************************************************************
ok: [lab-zabbix.rogue] => {"changed": false, "cmd": "apachectl -v | grep 'version' | awk -F '/' '{ print $2 }'| awk '{ print $1 }' | cut -c 1-3", "delta": "0:00:00.009662", "end": "2017-08-28 20:18:15.502167", "rc": 0, "start": "2017-08-28 20:18:15.492505", "stderr": "/bin/sh: apachectl: command not found", "stderr_lines": ["/bin/sh: apachectl: command not found"], "stdout": "", "stdout_lines": []}

I have no idea why the Get Apache version task is saying it can't find apachectl, because as you can see, I ran it just fine.

Do you have become: True in your playbook? Maybe path issue normal user vs root user?


Automatic language detection plan

Continuing from https://github.com/microsoft/vscode/issues/118455 ... this will span multiple milestones.
Where we are
Since this PR is merged in which brings in vscode-languagedetection, we now have automatic language detection. What's it all about?

100% no code leaves your VS Code instance. Model is queried locally.
opt-in feature

"workbench.editor.untitled.languageDetection": true
supports language specific enablement: "[plaintext]" { "workbench.editor.untitled.languageDetection": true }

Powered by @yoeo's guesslang model (the latest release of it) which supports 30 languages
Very basic additional heuristics to help the model with accuracy: (adding confidence of JS and TS, and C and C++
Uncompressed (~4MB package)

This provides an "ok" experience but the model has to be very very sure it's the language it thinks it is to get the untitled file to change. You can enable the feature, and paste in a pretty large sample of code, and it should work.
Where we wanna be

Support as many languages as possible (JSON, YAML, XML, are not supported today for example)
You should be able to open an untitled file and start typing and the language detection flips on as fast as possible
A nice experience to handle tie breakers, "almost confident but not confident enough" situations and when we are wrong
Compressed as much as possible (preliminary tests seem to say we can get down to 2-3MB)

How we'll get there

Improved guesslang model

[ ] https://github.com/yoeo/guesslang/pull/33 which adds support for 14 more languages (JSON, YAML, XML included)
[ ] Possibly help guesslang with more files to train on

Improved heuristics

[ ] Variable confidence acceptance (i.e. If the model is 30% confident it's Java, but <1% confident it's anything else, then it's probably Java and we should set that)
[ ] Use what we know about VS Code users to weigh languages that are most likely to come up (TS over coffeescript)
[ ] Look at the user's workspace and influence weight based on what's open

Improved UX

[ ] In the event of a tie breaker, show a notification or similar to say "I'm tied between these X languages. which one is it?" and make sure that decision doesn't get overwritten
[ ] If we were wrong, promote the language picker (maybe show a badge on the language status bar entry when we change the lang)
[ ] Sorting language picker based on the model confidence

Additional possible investigations

Have code - open untitled files and detect the language
Kernel guessing of a Jupyter Notebook
Provide feedback to the model so that it can learn from users? (this would be totally local)
Use a different model than guesslang

Maybe I'm tied between these X languages. which one is it? should sort language entries by their popularity inside the repository.

I also think VSC should allow differentiating between different file associations such as MATLAB and Objective-C automatically. There's prior art in this area over at https://github.com/neel1996/langline/tree/432f964

Variable confidence acceptance

We do something vaguely like this in the triage bot. Basically:

Train the model on some data
Using never-before-seen data, generate labels for the data and keep track of the model's raw output value for each labeling
For each label, go through all the raw output values for that label and find the cutoff where say 80% of labelings with a raw value above that cutoff were in fact that label. For example if you had data like:

type
raw_js_model_output

js
4.4

js
3.6

js
3.5

ts
3.4

js
3.2

ts
3.0

you would set the cutoff to be 3.2 for 80% confidence.
I haven't actually seen this approach documented anywhere, but it works well in the issue triaging bot.

@JacksonKearl is your suggestion more of something that should be done in the model itself? Or is this something I can get TFJS to give me?

I'd say the consumers of the model (us!) should be responsible for final calibrations of the applications confidence thresholds based on performing the above algorithm with data representative of what will actually be passed to the model in the target scenario.
IMO the most important next step (which should unblock lots of other steps) is finding data representative of what will be actually passed to the model. This would ideally include lots of small/incomplete snippets similar to what one might write when just starting out in a new untitled buffer as opposed to complete files as-checked-in to the main branches of various OSS repos... I do not know a good source for such data, but it'd be invaluable.
As stands, we can't really make any useful claims regarding the accuracy of the detector. I know the guesslang project identifies with >90% accuracy full complete files as checked in to main branches of SCM, which is great, but that's not really what we're working with.

So it sounds like you're more speaking to the point of the possible investigations:

Use a different model than guesslang

Just trying to classify your comment.

The act of threshold configuring is orthogonal to the model choice, the idea in threshold configuration is to take your real data and develop and understanding of how a given model responds to it, and from that form a way to look at the raw output of the model on a new piece of data and decide if you should be confident in that labeling or not. This isn't something guesslang can do themselves because they don't have the same type of input data as we will be providing.
Going through this process could potentially solve

Use what we know about VS Code users to weigh languages that are most likely to come up (TS over coffeescript)

as well. If the validation data we provide generally matches the distribution of vscode's language usage, we might get this for free.

Does https://github.com/microsoft/vscode/issues/129004#issuecomment-882751887 fall under the scope of this issue? Or should I open a new issue

@4086606 hmmm I feel like that should be a new issue. It theoretically could use the same model though. That said, with the exception of MATLAB and Objective-C (which... Don't have the largest representation in vscode) are there other examples of file association conflicts?

https://github.com/github/linguist/blob/617fa486aad61043996e1323a429c900493c89a7/lib/linguist/heuristics.yml#L30 but it's alphabetically sorted

I think that should be a new issue. I also think there are different heuristics that would be better like looking at what other files are in the workspace and see what their modes are.

In tomorrow's insiders, language detection will now honor the language picker. It says (Auto) while Untitled Language Detection is on but then once you pick the language picker and manually select a language, the auto goes away and you will not be switched off from that language.

I do agree that the regexes are ugly but if they scale to GitHub.. new issue coming up

The language picker now shows detected languages at the top.

With that experience I don't think we need this anymore:

In the event of a tie breaker, show a notification or similar to say "I'm tied between these X languages. which one is it?"

In my testing, the model did fairly well at detecting which language was which. It's very rare that it was a tie, even for languages like TS & JS and C & C++ which is interesting.

Look at the user's workspace and influence weight based on what's open

This sounds costly to me so I think I'm going to skip it for now.

btw, I've changed the setting to workbench.editor.untitled.experimentalLanguageDetection to be explicit in its experimental state. The next insiders (Monday) will reflect this change.

Could extension languages be allowed to "claim" or associate with a language model? Possibly through a contributes.languages field

Guesslang merged in the big PR that adds 24 more languages I think 🎉 I'll get that updated in vscode today. Yay JSON support!

TensorFlow assigns a language ID, maybe erlang in this case, but how can we be sure the contributed extension language ID is erlang? Will this be done by staff when building the model?

Today, the model uses file extensions. Here's an example:
[
  { languageId: 'ts', confidence: 0.2529011368751526 },
  { languageId: 'js', confidence: 0.14790849387645721 },
  { languageId: 'rs', confidence: 0.14766104519367218 },
  { languageId: 'pm', confidence: 0.06276547163724899 },
  { languageId: 'dart', confidence: 0.051522497087717056 },
  { languageId: 'lua', confidence: 0.03615597262978554 },
  { languageId: 'go', confidence: 0.03003396838903427 },
  { languageId: 'cpp', confidence: 0.023810705170035362 },
  { languageId: 'html', confidence: 0.02115756832063198 },
  { languageId: 'md', confidence: 0.020726678892970085 },
  { languageId: 'c', confidence: 0.019782979041337967 },
  { languageId: 'prolog', confidence: 0.017745675519108772 },
  { languageId: 'php', confidence: 0.0135722691193223 },
  { languageId: 'pas', confidence: 0.013270312920212746 },
  { languageId: 'css', confidence: 0.01290779747068882 },
  { languageId: 'groovy', confidence: 0.012817374430596828 },
  { languageId: 'cs', confidence: 0.012597348541021347 },
  { languageId: 'ps1', confidence: 0.010909260250627995 },
  { languageId: 'swift', confidence: 0.008903573267161846 },
  { languageId: 'erl', confidence: 0.005858836695551872 },
  { languageId: 'sql', confidence: 0.005721408873796463 },
  { languageId: 'jl', confidence: 0.005521455779671669 },
  { languageId: 'mm', confidence: 0.005181039683520794 },
  { languageId: 'scala', confidence: 0.005087847821414471 },
  { languageId: 'r', confidence: 0.005077976267784834 },
  { languageId: 'sh', confidence: 0.004781287629157305 },
  { languageId: 'coffee', confidence: 0.004568156786262989 },
  { languageId: 'kt', confidence: 0.0038636510726064444 },
  { languageId: 'dm', confidence: 0.003127841744571924 },
  { languageId: 'rb', confidence: 0.0030808558221906424 },
  { languageId: 'py', confidence: 0.002654825570061803 },
  { languageId: 'ml', confidence: 0.002621284918859601 },
  { languageId: 'f90', confidence: 0.002495664870366454 },
  { languageId: 'java', confidence: 0.002417698036879301 },
  { languageId: 'bat', confidence: 0.0023386385291814804 },
  { languageId: 'v', confidence: 0.002330552088096738 },
  { languageId: 'tex', confidence: 0.0023196381516754627 },
  { languageId: 'ini', confidence: 0.001619357499293983 },
  { languageId: 'matlab', confidence: 0.0016029247781261802 },
  { languageId: 'hs', confidence: 0.0015097145223990083 },
  { languageId: 'asm', confidence: 0.0014708234230056405 },
  { languageId: 'yaml', confidence: 0.0013949687127023935 },
  { languageId: 'xml', confidence: 0.001296907546930015 },
  { languageId: 'vba', confidence: 0.0010232512140646577 },
  { languageId: 'ex', confidence: 0.0008915567887015641 },
  { languageId: 'csv', confidence: 0.0008855632040649652 },
  { languageId: 'makefile', confidence: 0.0006489697261713445 },
  { languageId: 'json', confidence: 0.0004926725523546338 },
  { languageId: 'lisp', confidence: 0.0003874319954775274 },
  { languageId: 'toml', confidence: 0.0003317541559226811 },
  { languageId: 'clj', confidence: 0.00010257939720759168 },
  { languageId: 'cbl', confidence: 0.00006274027691688389 },
  { languageId: 'dockerfile', confidence: 0.000046700715756742284 },
  { languageId: 'cmake', confidence: 0.00003329188984935172 }
]

we take that languageId and run it through VS Code's internal API to map that "model language id" to VS Code's language mode:
// TODO: see if there's a better way to do this.
const vscodeLanguageId = this._modeService.getModeIdByFilepathOrFirstLine(URI.file(`file.${possibleLanguages.shift()!.languageId}`));

I included the TODO so to be clear that I'm not sure this is the best way to do this... :)

There could be a situation where two languages share the same file extension. This is something that needs to be handled...

I've now updated the model to what is in the master branch in @yoeo's guesslang repo 🎉 tomorrow's insiders will support JSON, YAML, and more!
(also I debounced the event so perf should be way better now)

I will turn this feature on by default first thing next week.

This has been on by default for a while and no one has yelled. Also I:

got the model size down to 1mb
added an "Auto-detect" option in the Notebook language picker

I think this issue is basically done at this point so I'm going to close it.


ENHANCEMENT: Addition of code coverage and badges

I've added SilverStripe 3.3 to the travis file also

Current coverage is 66.66%

Branch #20 has no coverage reports uploaded yet.

No diff could be generated. No reports for master found.

Powered by Codecov. Updated on successful CI builds.

I don't think there's value in adding hhvm until the core supports it

I used a script and then manually edit back the travis file.  Missed that one :(  Fixing...

Sorry for more comments, I didn't have time to review it line-by-line yesterday

No problem re comments, I will need to be more diligent checking diffs prior to pushing.
I wonder if writing a Ruby script to parse the travis.yml of a file without code coverage and adding the extras might be a better way to go...

I wonder if writing a Ruby script to parse the travis.yml of a file without code coverage and adding the extras might be a better way to go...

@helpfulrobot may be able to help with this ;)

Apologies for the errors, have camped out in a small back bedroom to minimize cat related interruptions (erm, 17 of them).  But it seems I get migraines without a view to infinity which affect my concentration :(

let's ship it. Thanks so much @gordonbanderson for putting up with me

And thanks @dhensby for putting up with my mistakes.  What I'm ideally aiming at is a generic Travis config for the majority of SilverStripe modules where only the MODULE_PATH variable needs to be changed, and delayed code coverage will be enabled alongside the current Travis setup.

@assertchris may be able to help with normalising the travis configs ;)


Button: Cannot be resized by changing Frame.

In the LayoutStyle.Absolute, views should be able to be moved and resized by changing the Frame property. With Button adjusting the location works, but not size (nothing happens).

That's because it is forced by this method to Height = 1:
int SetWidthHeight (ustring text, bool is_default)
{
	int w = text.Length + 4 + (is_default ? 2 : 0);
	Width = w;
	Height = 1;
	return w;
}

Nope. When LayoutStyle.Absolute is set, SetWidthHeight never gets called when Frame changes.

FWIW, the Buttons UI Catalog scenario now has a repro for this Issue (in #601)


Booster's and Kore's "implies" endpoints disagree on a pyk integration test

The HB update pr to K fails two pyk integrations tests:
FAILED src/tests/integration/kore/test_kore_client.py::TestKoreClient::test_implies_error[booster-0 -> X]
FAILED src/tests/integration/proof/test_imp.py::TestImpProof::test_implies[booster-antecedent-bottom]

In the first test, Booster returns a non-empty substitution and an empty predicate, while Kore returns an empty substitution and #Bottom as predicate, which is also the expected output.
AssertionError: assert CSubst(subst=Subst(_subst=FrozenDict({'Y': KVariable(name='X', sort=KSort(name='Int'))})), constraints=()) == CSubst(subst=Subst(_subst=FrozenDict({})), constraints=(KApply(label=KLabel(name='#Bottom', params=(KSort(name='GeneratedTopCell'),)), args=()),))

In the second test, an error response (indicated by an exception in KoreClient) is expected, but no exception is raised. I've modified test to compare the output to None in order to see the responses:
FAILED src/tests/integration/kore/test_kore_client.py::TestKoreClient::test_implies_error[legacy-0 -> X] - pyk.kore.rpc.ImplicationError: Implication check error: The RHS must not have free variables not present in the LHS: Configx Context: LHS: \dv{SortInt{}}("0") ;; RHS: Configx:SortInt{} ;; existentials: []

FAILED src/tests/integration/kore/test_kore_client.py::TestKoreClient::test_implies_error[legacy-X -> Y] - pyk.kore.rpc.ImplicationError: Implication check error: The RHS must not have free variables not present in the LHS: Configy Context: LHS: Configx:SortInt{} ;; RHS: Configy:SortInt{} ;; existentials: []

FAILED src/tests/integration/kore/test_kore_client.py::TestKoreClient::test_implies_error[booster-0 -> X] - AssertionError: assert ImpliesResult(valid=True, implication=Implies(sort=SortApp(name='SortInt', sorts=()), left=DV(sort=SortApp(name='SortInt', sorts=()), value=String(value='0')), right=EVar(name='x', sort=SortApp(name='SortInt', sorts=()))), substitution=And(sort=SortApp(name='SortInt', sorts=()), ops=(Equals(op_sort=SortApp(name='SortInt', sorts=()), sort=SortApp(name='SortInt', sorts=()), left=EVar(name='x', sort=SortApp(name='SortInt', sorts=())), right=DV(sort=SortApp(name='SortInt', sorts=()), value=String(value='0'))),)), predicate=Top(sort=SortApp(name='SortInt', sorts=())), logs=()) == None

FAILED src/tests/integration/kore/test_kore_client.py::TestKoreClient::test_implies_error[booster-X -> Y] - AssertionError: assert ImpliesResult(valid=True, implication=Implies(sort=SortApp(name='SortInt', sorts=()), left=EVar(name='x', sort=SortApp(name='SortInt', sorts=())), right=EVar(name='y', sort=SortApp(name='SortInt', sorts=()))), substitution=And(sort=SortApp(name='SortInt', sorts=()), ops=(Equals(op_sort=SortApp(name='SortInt', sorts=()), sort=SortApp(name='SortInt', sorts=()), left=EVar(name='y', sort=SortApp(name='SortInt', sorts=())), right=EVar(name='x', sort=SortApp(name='SortInt', sorts=()))),)), predicate=Top(sort=SortApp(name='SortInt', sorts=())), logs=()) == None

this reveals that Kore returns an error, while Booster does not.

I suspect checking whether the antecedent/consequent is #Bottom will negate any speed gains we got from implementing the simple implication check, as this would just be a call to the kore simplifier anyway :/

I agree that simplifying both antecedent and consequent would probably kill the performance.
Perhaps we need to re-think the how we use the implies endpoint a little. As I understand, we currently have two use-cases for it:

the subsumption check, implemented by the CTermSymbolic.implies method,
the equatlity and refutation proofs, and the ImpliesProver class to discharge them.

Perhaps we could indeed implement @ehildenb original idea and have two endpoints: a lightweight "simplify-implication" (or some other name), and a the old "implies". The lightweight one will have additional assumptions:

neither antecedent not consequent are bottom
perhaps something else?
we can than use "simplify-implication" without fear in the subsumption check scenario, because:
the pyk prover simplifies the target configuration anyway, and we know it is not bottom
kore-rpc-booster simplifies with Kore the states after the terminal and cut-point rules, therefore pyk will know if they are bottom and can ensure the precondition of "simplify-implication". We can than shift the call to the simplifier into pyk if we want.

the old "implies" endpoint can still be used for the equality proofs.

We should use a basic ceil checker in booster to re-enable the new implication endpoint and port the pyk tests into booster to check that the new implication endpoint can handle them correctly.


Update to new crates; simplify advanced options

Following changes:

All dependencies raised to the newly-released esp-idf-* crates
The advanced options simplified (we had too many). We now have basically "HAL?" y/n and then if "HAL" is selected, "STD?" y/n. Selecting neither HAL nor STD generates:

an app_main no-op Rust crate with the cargo driver
a no-dependencies Rust crate with the cmake driver which might be useful for Rust code which is purely computational

Simplified dependency tree - only esp-idf-svc, log and embuild (the last as a build dependency); no dependencies when the HAL option is not enabled

Still in draft as I need to address all build failures.

Also pulled-in the article of @georgik from here.
There's a slight difference between the project layout described in the article (Rust lib crate source code is separate from the ESP IDF component C source code) versus what is generated by the template (Rust and C source code mixed in a single, hybrid, ESP-IDF-component-but-also-a-rust-lib-crate thing) which might have to be addressed too.

Not directly related to the current changes but i want to bring it up while we make changes here. I think a nice addition would be to create two sdkconfig.defaults. I think the option to have two different sdkconfig for release and debug is a good usecase, but the option is in my opinion not visible enough. A good difference between the two would be to set different CONFIG_LOG_MAXIMUM_LEVEL in each. In my simple wifi only test app i shaved 100k flash usage just in strings from this settings. The idea of adding this is merely to promote more, that this options exist.

A good difference between the two would be to set different CONFIG_LOG_MAXIMUM_LEVEL in each. In my simple wifi only test app i shaved 100k flash usage just in strings from this settings. The idea of adding this is merely to promote more, that this options exist.

Can you show an example how you achieved that?
In general, I think the template needs simplification rather than more bells and whistles, so doing two sdkconfig files has to have a really compelling use case.
In fact, we might be better of with a sinbgle file, and then a bunch of useful options either enabled there, or disabled via a comment.

I think creating a well configured project and files in it, is a different goal than make the generation process less complex for the user. I am on board if you say that there might be two many options for the user, but that doesn't mean that the setup should not generate "labor intensive" things that the user might want to do. Also we explicitly have a fast path for most users - using the "non-advanced" branch.  I mean we labeled them "advanced" options for a reason. Just cutting things and let the user handle the task themself is not an improvement.
In the case of of sdkconfigs. We can have two files : sdkconfig.debug and sdkconfig.release. This naming scheme should work across all different mcu's so we dont need multiple per mcu target. What we should set there as a sane default is a question up for debate, but we should outline at least all the common configs that we are highly likely to encounter often.
Setting different max log levels is just one low hanging fruit. Even if we don't change it up and only have one config file, we should include more settings ( out-commented ) like the different stack_size options for event_task etc / https /wss related / ( uart - usb serial related) and similar.
This changes would not create a more or less complex cargo generate matrix. I can try to make a follow up PR with the related changes when this is finished here.

I'm all for specifically putting some extra options in sdkconfig.defaults. Or - if really necessary - having two separate such files.
I do not agree that the purpose of the template is to automate labor intensive tasks and become a swiss army knife.
Its purpose is to get (primarily newbie) users up to speed, with something which does build out of the box, and that's it.
Which is also the original purpose of cargo new, I believe - the tool which we are approaching here.

@SergioGasquez Would appreciate your review. Summary of changes:

ci_cargo - I've unified the v4 and v5 build to a single job, so as to avoid copy-pasting across the two
ci_cmake - Support for all MCUs
The CMake docu now has a new "how it works" article. Initially, I used the one from georgik, but then reworked it so as not be a step-by-step guide, but rather to explain how the CMake+Cargo build works under the hood
Most importantly, the template now works with the latest versions of all esp-idf-* crates

Thanks for this huge work! Just left a few details in the comments.
Also, it would be good if we find a way to skip the run of impossible CI cases (eg: C6 with esp-idf v4.4) without complicating too much the CI files (ie: duplicating code or adding lots of ifs)

I agree, good idea, but maybe next time? I barely managed to get this one working.


Build fails on Windows

Plugin Version or Commit ID
v.0.6.2
Unity Version
2021.3.8f1
Your Host OS
Windows 10 Home
Target Platform
Windows Standalone
[Windows Only] Visual Studio C++ and Windows SDK Version
Visual Studio C++:14.29.30133
Windows SDK Version:10.0.19041.0
[Linux Only] GCC/G++ and GLIBC Version
No response
[Android Only] Android Build Tools and NDK Version
No response
[iOS Only] XCode Version
No response
Command Sequences
set BAZEL_VS=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
set BAZEL_VC=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC
set BAZEL_VC_FULL_VERSION=14.29.30133
set BAZEL_WINSDK_FULL_VERSION=10.0.19041.0
virtualenv env
env\Scripts\activate
set PYTHON_BIN_PATH=C:\test\MediaPipeUnityPlugin-0.6.2\env\Scripts\python.exe
python build.py build --desktop cpu --include_opencv_libs -v
Log
DEBUG: Rule 'rules_cc' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "98525a5a98b72d17ae37c01f6f70b2c5d31a8d6582e65c44410da4c92b17a669"
DEBUG: Repository rules_cc instantiated at:
C:/test/mediapipeunityplugin-0.6.2/WORKSPACE:78:13: in
Repository rule http_archive defined at:
C:/_bzl/v7eeodun/external/bazel_tools/tools/build_defs/repo/http.bzl:355:31: in
ERROR: Traceback (most recent call last):
File "C:/_bzl/v7eeodun/external/build_bazel_rules_apple/apple/internal/ios_rules.bzl", line 529, column 58, in
ios_application = rule_factory.create_apple_bundling_rule(
File "C:/_bzl/v7eeodun/external/build_bazel_rules_apple/apple/internal/rule_factory.bzl", line 950, column 55, in _create_apple_bundling_rule
rule_attrs.append(_common_binary_linking_attrs(rule_descriptor))
File "C:/_bzl/v7eeodun/external/build_bazel_rules_apple/apple/internal/rule_factory.bzl", line 228, column 21, in _common_binary_linking_attrs
apple_common.objc_proto_aspect,
Error: 'apple_common' value has no field or method 'objc_proto_aspect'
ERROR: Analysis of target '//mediapipe_api:mediapipe_desktop' failed; build aborted: error loading package '@com_google_mediapipe//mediapipe/gpu': at C:/_bzl/v7eeodun/external/build_bazel_rules_apple/apple/ios.bzl:37:5: initialization of module 'apple/internal/ios_rules.bzl' failed
INFO: Elapsed time: 17.348s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (2 packages loaded, 418 targets configured)
currently loading: @com_google_mediapipe//mediapipe/gpu
Traceback (most recent call last):
File "C:\test\MediaPipeUnityPlugin-0.6.2\build.py", line 392, in
Argument().command().run()
File "C:\test\MediaPipeUnityPlugin-0.6.2\build.py", line 135, in run
self._run_command(self._build_desktop_commands())
File "C:\test\MediaPipeUnityPlugin-0.6.2\build.py", line 51, in _run_command
return subprocess.run(command_list, check=True)
File "C:\Users\40943\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 524, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['bazel', '--output_user_root', 'C:/_bzl', 'build', '-c', 'opt', '--action_env', 'PYTHON_BIN_PATH=C://test//MediaPipeUnityPlugin-0.6.2//env//Scripts//python.exe', '--define', 'MEDIAPIPE_DISABLE_GPU=1', '--@opencv//:switch=local', '//mediapipe_api:mediapipe_desktop']' returned non-zero exit status 1.

Additional Context
No response

v.0.6.2 is not supported anymore.
Please download the latest version.

Error: 'apple_common' value has no field or method 'objc_proto_aspect'

FYI: you need to upgrade some libraries (but I'm not sure that's enough).
If you want to keep using an older version, check the commit logs and apply the necessary changes.


Not able to install Bower

trying install Hygieia on windows and i am getting the following error when run "bower install" in UI module. npm is is installed suc

cessfully

Thank you for reaching out.  If you are behind a corporate proxy or firewall that requires certain protocols across that proxy, you may need to change GitHub's default .gitconfig settings in your home directory, and/or configure your Bower's .bowerrc file to work with said proxy.  Please attempt the answered steps provided at the following Stack Overflow link and let us know if you are still having issues:  http://stackoverflow.com/questions/21789683/how-to-fix-bower-ecmderr

Thank you! it worked for me


Process hangs when using tensor_parallel_size and data_parallel_size together

Hello,
I noticed that my process hangs at results = ray.get(object_refs) when I use data_parallel_size as well as tensor_parallel_size for vllm models.
For example, this call would hang.
lm_eval --model vllm --model_args pretrained=gpt2,data_parallel_size=2,tensor_parallel_size=2 --tasks arc_easy --output ./trial/  --log_samples --limit 10

These would not.
lm_eval  --model vllm --model_args pretrained=gpt2,data_parallel_size=1,tensor_parallel_size=2 --tasks arc_easy --output ./trial/  --log_samples --limit 10

lm_eval  --model vllm --model_args pretrained=gpt2,data_parallel_size=2,tensor_parallel_size=1 --tasks arc_easy --output ./trial/  --log_samples --limit 10

Does anyone else face similar problem?

Hi! What version of vLLM are you running with?
@baberabb has observed some problems like this before with later versions ( >v0.3.3 I believe) of vllm.

I am on vllm 0.3.2.

Is this vllm problem? Should I be raising an issue on that repo?

Hey. Have you tried caching the weights by running with DP=1 until they are downloaded? I found it prone to hang with DP otherwise.

Yes, the weights are cached. The process is hanging after  llm.generate returns results.

Yes, the weights are cached. The process is hanging after llm.generate returns results.

hmm. It's working for me with 0.3.2. Have you tried running on a fresh virtual environment?

Just tried it on a separate server and new env. What version of ray do you have? Mine is ray==2.10.0

Just tried it on a separate server and new env still face the same issue. What version of ray do you have? Mine is ray==2.10.0

Probably the latest one. I installed it with pip install -e ".[vllm]" on runpod with 4 GPUs.


Use main sphinx  level for navbar items

Not styled yet, but uses the sphinx main toc level as the input of the navbar

Rendered version: https://dev.pandas.io/pandas-sphinx-theme/pr-sphinx-nav-items/reference/io.html
This doesn't even fit on my wide screen, so we should probably cut in the content (eg remove the Ecosystem page for now, "Installation" -> "Install") or keep them hardcoded for now.

Or have the "hard-coded" items to put there as a config option, to still generate the actual list items in the template.

ecosystem (will move to main website) removed and install (move to main website and integrated to getting started)


Make priority/locality overprovision factor configurable

Title: Make priority/locality overprovision factor configurable
Description:
Currently the priority/locality weighting load balancer will spill over traffic from one priority or locality to another if the first choice one is partially unhealthy, according to a fixed overprovision factor of 1.4. This is an awesome feature! However, since I'm migrating from a legacy traffic shaping system (which doesn't have this feature) to Envoy, I'd like to start out with this feature disabled so it matches current expectations

Agree it would be great to make this configurable. cc @htuch @alyssawilk

This is done.


Lots of SPIRV Validation failure in tfjs-webgpu are shown with #3068

Lots of SPIRV Validation failure are shown as below with patch https://github.com/KhronosGroup/SPIRV-Tools/pull/3068:
SPIRV Validation failure:
error: line 78: Header block 139[%139] is contained in the loop construct headed by 138[%138], but it's merge block 155[%155] is not
  %139 = OpLabel

Steps to reproduce:

set CHROME_BIN='path/to/google chrome canary'
git clone https://github.com/tensorflow/tfjs
cd tfjs/tfjs-backend-webgpu
yarn
yarn test --no-single-run
In the opened browser, click 'Debug' -> right click-> Inspect -> Console

Note: Must use 'Google Chrome Canary' since we need webgpu support.

cc @annxingyuan

That's a new, valid validation that has been added. There are a few possibilities of what's going wrong, and a bit more information would help us track down the issue.
1- Which Chrome canary are you testing with?
2- Can you dump the problematic shader source to the console and paste it here? We can then run it through glslang and the optimizer to make sure there isn't a case we've missed?

Yup, if we have the GLSL shader source then we can easily look into why this changed.
It's possible that the version of glslang we're using in tf.js is too old and just doesn't output the correct spir-v (it's very old). @annxingyuan was looking at getting glslang updated - if we're lucky, maybe that will just fix it.

Just verified that this issue disappears after upgrading the glslang version with Ann's fix https://github.com/tensorflow/tfjs/pull/2474. Close this one. Thanks.

Awesome!


feat(addon-editor): support focus on editable area

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Refactoring
[ ] Build or CI related changes
[ ] Documentation content changes

What is the current behavior?
Closes #4426
What is the new behavior?
https://github.com/Tinkoff/taiga-ui/assets/12021443/7871ba82-b183-4ad9-92fb-f461b8611467

@waterplea @nsbarsukov @vladimirpotekhin hello, please review me)

What do you think about adding a small bottom padding like in textarea? (see the second screen)


Add ZenHub setup to staff onboarding

@zachlatta Would you  please update this branch?

Yeah! Sorry about that – I'm on it.

Done!


chore(Styleguide): Upgrade to latest storybook beta

Overview

Upgrades 6.0.0-beta39
Removes our custom webpack in favor of Storybooks (requires manually adding core-js dep for now...)
Updates hierarchy to simpler version.

PR Checklist

[ ] Related to Abstract designs:
[ ] Related to JIRA ticket: ABC-123
[x] I have run this code to verify it works
[ ] This PR includes unit tests for the code change

Description

Merging your changes
When you are ready to merge to master and publish your changes, use the "squash and merge" button in GitHub, and follow the PR Title Guide to format your PR title and write your PR merge description.
IMPORTANT: If your PR contains breaking changes, please remember to follow the instructions for breaking changes!

🚀 Styleguide deploy preview ready!https://5efe516fd4231f3c030ef36f--codecademy-styleguide.netlify.appDeploy Logs

🚀 Styleguide deploy preview ready!https://5efe5617fb7e32a37b1410f1--codecademy-styleguide.netlify.appDeploy Logs

🚀 Styleguide deploy preview ready!https://5efe5c8548f18d02547dffd2--codecademy-styleguide.netlify.appDeploy Logs


Adding note about inlined primitives

As above. Maybe we should say more here, just not sure what! Please let me know if so!

Great! Maybe a quick example would help? Like one of these from the standard library:
https://github.com/cucapra/calyx/blob/10bb6fdbafd84a962f8006993bbfe737121a02ba/primitives/unsynthesizable.futil#L3-L5


Assert when collecting backtraces

When store_stack_traces is on (which it is by default) we occasionally get a crash in the backtrace crate. It would seem we're asserting in this line: https://github.com/rust-lang/backtrace-rs/blob/47069af003d7f4ca62f5b4517a43039c46dfc34d/src/dbghelp.rs#L315
OS Version: windows None (None)
Report Version: 104

Application Specific Information:
assertion failed: `(left == right)`
  left: `128`,
 right: `0`

Thread 0 Crashed:
0   std                             0x7ff7e6d46b7c      std::panicking::begin_panic_fmt (panicking.rs:437)
1   backtrace                       0x7ff7e695cbdc      backtrace::dbghelp::init (dbghelp.rs:315)
2   backtrace                       0x7ff7e695b8f4      backtrace::symbolize::dbghelp::resolve (dbghelp.rs:76)
3   backtrace                       0x7ff7e695995a      [inlined] backtrace::symbolize::resolve_frame_unsynchronized (mod.rs:178)
4   backtrace                       0x7ff7e695995a      backtrace::symbolize::resolve_frame<T> (mod.rs:105)
5   backtrace                       0x7ff7e6958ee8      backtrace::capture::Backtrace::resolve (capture.rs:232)
6   backtrace                       0x7ff7e6958db5      backtrace::capture::Backtrace::new (capture.rs:141)
7   gpu_allocator                   0x7ff7e6875c5f      gpu_allocator::VulkanAllocator::allocate (lib.rs:688)
8   breda                           0x7ff7e67c7a01      breda::renderer::vulkan::allocator::gpu_allocator_wrapper::{{impl}}::alloc (gpu_allocator_wrapper.rs:100)
...

Small note: we should probably default to having stack trace collection being off by default.

Small note: we should probably default to having stack trace collection being off by default.


Custom Metrics

The pgexporter should support the customized metrics.

There are a couple of improvements that could be done as part of this issue.

server with both, primary and replica as values
type with histogram

We will leave them here for now...

I will submit the server type filter firstly.

The core functionality for custom queries is in.
Remaining work will be done as separate issues.
This concludes @xRay2016 's Google Summer of Code project ! Big thanks for all your effort !


Problems with character # on filenames

I have a directory with serveral files with # character like this:

But on the phone the first file is repeated n times:

Environment:
App version: 1.3.0 from Google Play
Android 10, LineageOS 17.1 (but also on my Galaxy Tab 6 Lite with Android 11)
SMB: Samba 4.9.5

I'm sorry, I'll fix it now.

@marevalo
I fixed this problem and  released ver.1.3.1 now.

Thanks a lot, I see it fixed now. It's great that it took only one day from filing the bug to have a fixed apk.


Developer Advanced - Training Material for IS 6.0.0

Create the advanced training material for IS 6.0.0.

Agenda
Presentations
Lab kits

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


Fixed navbar and profile

Made the profile page completely responsive for all types of screens. And tried my best to make the navbar responsive for all types of screens. Some Major changes in design are:- I have shifted the search bar to the main body. And kept the dark-mode button hidden for the mobile view otherwise its fixed width was breaking the page CSS.

Good work