Ability to work with Comfort Sync

Is is possible to make an option or a different version of this plug in that points to the Comfort Sync site for the alternately branded versions of the iComfort devices.  They use the following address, https://www.mycomfortsync.com/
I would be willing to test.

Unfortunately, like I mentioned in some of the other issues, the package that this plugin depends on doesn't have urls for the various commands on that domain.  Since I don't have the thermostats and no real ability to make the requests, this isn't a viable option for me.

RoamingR35…. I have the same issue as you and I am hopeful I can get Comfort Sync thermostat to work with Apple Home Kit. Have you had any success?

akgoode… I believe the thermostats are the same and the commands would be the identical except for the host name/address. If I can help in anyway, please let me know. Another host that would work is https://www.lennoxicomfort.com.
Thanks for your consideration and support.


Simplify service filter creation in common code

#191 helped to commonize the scanner settings implementation, but as reported in https://github.com/JuulLabs/kable/pull/209#issuecomment-998975092, the updates in #191 don't provide a simple migration for the legacy API. The ability to construct common filters was also difficult from common code.
This PR aims to simplify filter creation (when using from common code) and provide deprecated functions for the legacy API.

@mtrewartha do these API changes still match your intended design?

@twyatt Oh yeah, looks I forgot about the migration part of that other PR. The aim of this PR makes sense, but it seems I can't reference the Filter.Companion.ManufacturerData function from my Android source set when I use this build... strange. Studio is definitely pulling in the correct version of the library and looking at your code, I'm not sure why this would happen. Are you able to reproduce?

Thanks for trying it, I had just done quick scratch files in the Kable project to check if it compiled. I'll do some tests pulling it into a project.
I'm not really a fan of the companion object approach I took, I couldn't think of a better way at the time, but if it proves troublesome then I'll try to come up with a better way.
I'll keep you posted.

@mtrewartha I had forgotten about expect constructors. 🤦
This made the change set very small against your original implementation while enabling creation of Filter.Service objects from common code. 💯
If you have time, and want to confirm this still works as you expected (although I don't expect it to break anything for your usage — i.e. when using the API from Android):
repositories {
    maven("https://oss.sonatype.org/content/repositories/snapshots")
}

dependencies {
    implementation("com.juul.kable:core:0.10.4-issue-183-2-SNAPSHOT")
}

@twyatt Ah, that'll do it! Works great for me now 👍🏻


Initial full implementation of the main fortran loop

Overview
This PR is the initial full implementation of the the whole main codebase of the fortran code. It includes improvements to the various numba functions to speed up operations.
TODO in a separate PR:

More tests for each operations
Docstrings for each public functions

Thanks for the review @carlosgjs. I'll probably merge it for now and do more clean up in a following PR. Could you approve again? Thanks!


Hotfix: read correct ontology term from manifest

Found this while checking against schemas; this fix was only in a Git stash which happened to be what I tested against.

Looks good to me.


Filter and Sort the Gallery

Filter and sort tokens in the gallery by stats

This is the list of open sea attributes, followed by what we have in our tokens array at this time..

showing tokens object . .  looking at best way to add more data useful for sorting


Image Classification fastai [GSSoC'23]

💥 Proposal
Hi, I am Rushi. As a GSSoC'23 contributor I want to apply my knowledge in Image Classification project using fastai library.
fastai is all in one deep learning library which is used for Computer Vision Tasks. As a Machine Learning enthusiast I want to work on this.
So please assign this to me.
tools : fastai
language : python
dataset link - https://www.kaggle.com/datasets/puneet6060/intel-image-classification

@Rushi7667  - you can go ahead! We are assigning you 21 days for this project, after which it will be assigned to someone else if not completed. All the best!
Name the file as: algorithm_dataset.ipynb and link it in the readme of the labeled directory as algorithm - dataset.


any audio samples?

Ok, we will update audio samples asap. Thanks for your interest!

Where can I find the audio samples?

you can check it here. I'm sorry about the late response. It's quite to be aware of the difference between 2 versions with the full dataset. But with only 5% data, the difference is quite clear, especially for a low-resource language like Vietnamese.


Removing submodule folder inside of jsforce repo

FYI @sunitha-hegde this folder was the issue preventing us to install the sdk branch


Add release date for the applications

Description

Add release date for the applications for Gitea, Jenkins, Jitsi, Nostr, static website, Domains, and TFrobot.
Remove importing nextTick as it's not used anymore.

Changes

Related Issues

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

Tested Scenarios

The new label now is on Gitea, Jenkins, Jitsi, Nostr, static website, and TFrobot and it will be expired after 30 days.

Checklist

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

also Domains solution should have the icon, please add it or open an issue for it

some solutions cards is not responsive, works fine on staging

@0oM4R create an issue please for https://github.com/threefoldtech/tfgrid-sdk-ts/pull/3493#issuecomment-2388500470 as it's not a part of this issue.

i commented with that on the original issue and reopened it

@0oM4R create an issue please for #3493 (comment) as it's not a part of this issue.


Changes changelog Danger error to warning

PR authors should be reminded of changelog entries, but missing entries shouldn't fail the CI build.

          1 Warning

:warning:
No Changelog entries made

  Generated by :no_entry_sign: danger

Hey, we know it works!

Sure, seems fine with me 👍


[BUG] Package project for WPF + Blazor did not include wwwroot folder

Project
MSIX SDK
Describe the bug
Use this project https://github.com/jorgearteiro/BlazorDesktopWPF as the base project and add a "Windows Application Packaing Project" for it and create a bundle you will see the wwwroot folder is not included
To Reproduce
Steps to reproduce the behavior:
Expected behavior
All the razor resource should be included
Screenshots
If applicable, add screenshots to help explain your problem.
Platform
Visual studio 2022 preview 7
Additional context
Add any other context about the problem here.

@jorgearteiro could you please chime in here? Is this the expected behavior for your project?

I never tested the packaging project, but set this property to true in your project file

True

True

I hope this helps.

If the previous answer did not suffice or you still have questions on this, please feel free to reopen the issue.


Launcher auto-closing on launch

Would it possible to have an option for Catapult to close upon launching CDDA? If not, it's no big deal.

Yes, it is possible.


Merge Goal Edit UI in MyCarePlanner but turn it off

Merge it
Make configuration that turns it off

If condition = "SDS Data" it will work. Right now we have "Data SDS" in the condition so the UI is not shown.


Queue Trigger Powershell Function

Consider removing this one if we don't have a good powershell story. If not, this one seems to have table output so we either change to blob to be consistent with the other ones or at least rename the template to Queue Trigger to Table Storage Powershell Function

I think the right policy here is to have an "experimental" category. Classify the PowerShell/Python/PHP scenarios as "experimental" until we can make them 1st class.

All these various templates were imported verbatim from my initial sample set and weren't really intended as starter templates for wide use :) I just created a bunch of templates to show off various bindings and all their bells and whistles.
For the templates, I think we should keep them as simple as possible.

This has been implemented.


Release 5.0

(Only placeholder for now. More TBD)
What goes into this release? New ES2018 syntax support:

[ ] #1587 Revised template literal
[x] #1588 Object rest/spread properties
[x] #1728 Dynamic import

Release workflow:

[ ] Bump version number
[ ] Update ChangeLog
[ ] Update devDependencies
[ ] Activate the version at esprima.readthedocs.io
[ ] Check for performance regression
[ ] Tag the repository
[ ] Publish to npm
[ ] Announce in the mailing-list
[ ] Update the web site

Are ES Modules going to be a part of this release?

@ariya Any progress on this? Seems to be soon 2 years behind schedule. In the docs it is stated that Esprima should be updated every year.

@ariya Hi, anything I can do to help 5.0 get to the finish line? I'm knee deep in a project depending rather heavily on it, with zero desire to switch, so I'm rather motivated...

OK, this is awkward, but it turns out that moving to acorn was straightforward. Obviously I have just started using acorn, but so far it seems to cover my use case equally well, with the addition of support for newer syntax. Still interested in understanding this ecosystem and learning which use cases might still be stronger in esprima.

Acorn is written in Javascript though, whereas Esprima seems to have upgraded to Typescript since V4, so I'd really like to use Esprima if possible.

Acorn is written in Javascript though, whereas Esprima seems to have upgraded to Typescript since V4, so I'd really like to use Esprima if possible.

Esprima seems to have upgraded to Typescript since V4

Actually I was wrong on two counts:

V4 already uses Typescript but unfortunately they don't generate and ship type definitions (.d.ts files), even though it's really easy - just add --declaration to the tsc command and then move all the .d.ts files into dist (and I guess add them to package.json:files.

Although it technically is written in Typescript, they unfortunately haven't enabled the noImplicitAny option so loads of the code is like this:

    const program = isModule ? parser.parseModule() : parser.parseScript();
    const ast = program as any;

    if (collectComment && commentHandler) {
        ast.comments = commentHandler.comments;
    }

And the main generated types are kind of useless:
export declare function parse(code: string, options: any, delegate: any): any;
export declare function parseModule(code: string, options: any, delegate: any): any;
export declare function parseScript(code: string, options: any, delegate: any): any;
export declare function tokenize(code: string, options: any, delegate: any): any;

I made a task to fix that: #2066

Esprima seems to have upgraded to Typescript since V4

Actually I was wrong on two counts:

V4 already uses Typescript but unfortunately they don't generate and ship type definitions (.d.ts files), even though it's really easy - just add --declaration to the tsc command and then move all the .d.ts files into dist (and I guess add them to package.json:files.

Although it technically is written in Typescript, they unfortunately haven't enabled the noImplicitAny option so loads of the code is like this:

    const program = isModule ? parser.parseModule() : parser.parseScript();
    const ast = program as any;

    if (collectComment && commentHandler) {
        ast.comments = commentHandler.comments;
    }

And the main generated types are kind of useless:
export declare function parse(code: string, options: any, delegate: any): any;
export declare function parseModule(code: string, options: any, delegate: any): any;
export declare function parseScript(code: string, options: any, delegate: any): any;
export declare function tokenize(code: string, options: any, delegate: any): any;

I made a task to fix that: #2066


noise signal overpowers heartbeat signal

Hello!
When I read the signal from my pulse sensor, the waves always appear at the same frequency. Therefore, the bpm always shows up the same: for different people, before and after exercise, and with and without a finger often times.
I think the sensor is registering a noise signal that is larger than the actual heartbeat signal. For some reason, the noise signal appears like a regular looking waveform that completely overpowers the heartbeat. I don't know what could be causing this other than a defective sensor. I ordered the real product, not a knockoff.
Thanks!

@ghanding Please provide a couple of things for us to troubleshoot.
Can you send a screen shot of the signal that you're seeing?
What Arduino board are you using? What OS?
Also, please send a pic of the Pulse Sensor you are using.


LINUX: Build broken

Hello,
Linux native build seems broken, and documentation not up to date.
Some things I have needed to do but still not successfull:

Tried commits up to 63282781d52b897f117b2a45dc36ab2a08535e75 and can't build at all
Needed to unzip boost.zip in <repo>/Source/Misc/boost/ and <repo>/Boost/
Use "bash build.sh" in <repo>/Builds/Generated/Linux/Standalone/ and not chmod +x build.sh && ./build.sh
In build.sh and Makefile change -I ../../../../Juce/modules \ to -I ../../../../JUCE/modules \ (case sensitive)
In build.sh add to -I list: -I ../../../../Source/Misc/luabind \ and -I ../../../../Source/Misc/lua/include \
In Makefile, add to the three JUCE_CPPFLAGS list the following: -I../../../../Source/Misc/lua/include -I../../../../Source/Misc/luabind -I../../../../Source/Misc/liblo/include/

With theses changes I am able to build to a certain point but it always fails.
Master currently fails on:
Compiling CtrlrProperties.cpp
Compiling CtrlrSysexProcessor.cpp
Compiling CtrlrSysexToken.cpp
Compiling CtrlrUpdateManager.cpp
../../../../Source/Core/CtrlrUpdateManager.cpp: In member function ‘virtual void CtrlrUpdateManager::timerCallback()’:
../../../../Source/Core/CtrlrUpdateManager.cpp:91:30: error: ‘ctrlrCheckForUpdates’ is not a member of ‘Ids’
  if ((bool)owner.getProperty(Ids::ctrlrCheckForUpdates) == false)
                              ^~~
../../../../Source/Core/CtrlrUpdateManager.cpp: In member function ‘juce::XmlElement* CtrlrUpdateManager::getUpdateData(const juce::String&)’:
../../../../Source/Core/CtrlrUpdateManager.cpp:108:32: error: ‘ctrlrUpdateUrl’ is not a member of ‘Ids’
   url = URL(owner.getProperty (Ids::ctrlrUpdateUrl));
                                ^~~
Compiling CtrlrUtilities.cpp
Makefile:472: recipe for target 'build/intermediate/Release_Nightly/CtrlrUpdateManager_a061528e.o' failed
make: *** [build/intermediate/Release_Nightly/CtrlrUpdateManager_a061528e.o] Error 1
make: *** Waiting for unfinished jobs....
CTRLR[linux]: build failed

Edit: error seems related to 315843ae77d37b819abfe3a6764a4065ddefe060
(ugly) removing the impacted lines it build and leads to:
Compiling CtrlrLuaMemoryBlock.cpp
make: *** No rule to make target '../../../../Source/Lua/luabind/src/luabind.cpp', needed by 'build/intermediate/Release_Nightly/luabind_8688111a.o'.  Stop.
make: *** Waiting for unfinished jobs....
Compiling CtrlrLuaRectangle.cpp
CTRLR[linux]: build failed

luabind.cpp doesn't exists
Seems related to 3b4bbc714a47c4cb31eccf6b0951f9a1401c4c9b which change luabind to a fork without luabind.cpp
(now I'm stuck :p)

This goes for the Mac build as well.

Hey there! Could you please provide the files to build the linux version? They are at least missing since the latest (tagged) release v5.5.

Hi, build.sh is still missing :-(

+1 -- can't build on Arch Linux:
[asdf@oath Scripts]$ bash post-commit
CTRLR pre-commit HOOK
post-commit: line 68: /home/asdf/src/ctrlr/Scripts/..//Scripts/git-revision.sh: Permission denied
CTRLR: build_now_linux
CTRLR: CTRLR_ROOT /home/asdf/src/ctrlr/Scripts/../
----------------------------------------
	Version:
	CtrlrRevision.template: /home/asdf/src/ctrlr/Scripts/..//Source/Core/CtrlrRevision.template
	CtrlrRevision.h: /home/asdf/src/ctrlr/Scripts/..//Source/Core/CtrlrRevision.h
	Date: Tue Jun 12 18:48:43 EDT 2018
----------------------------------------
CTRLR: Delete binaries
CTRLR: check if boost is unpacked
CTRLR: need to unpack boost.zip
post-commit: line 329: cd: /home/asdf/src/ctrlr/Scripts/..//Boost: No such file or directory
CTRLR: boost.zip file does not exist, exiting now


Added Azure.AppConfig.GeoReplication

PR Summary

Fixes #1688
Added Azure.AppConfig.GeoReplication rule.
This rule is aimed at app configuration stores, ensuring that they have one or more replicas providing better resiliency to region outages.
PR Checklist

[x] PR has a meaningful title
[x] Summarized changes
[x] Change is not breaking
[x] This PR is ready to merge and is not Work in Progress
Rule changes

[x] Unit tests created/ updated
[x] Rule documentation created/ updated
[x] Link to a filed issue
[x] Change log has been updated with change under unreleased section

Other code changes

[ ] Unit tests created/ updated
[ ] Link to a filed issue
[ ] Change log has been updated with change under unreleased section

@BernieWhite
Should be ready for review.

@BernieWhite
I have refactored the rule now. Do you mind to take a look on it?
2022_09 baseline included, please inform if should be adjusted to 2022_12.

Done :)


ImportError: libcudart.so.8.0

I receive the following error when trying to train the model.
ImportError: libcudart.so.8.0: cannot open shared object file: No such file or directory
I am using cuda 10.0, python 2.7.15, on GPU.

Hi, I am facing the same problem. How did you solve it?

Does https://github.com/tensorflow/tensorflow/issues/5343 help you solve the issue? Make sure your cuda is installed in an accessible way (possibly via conda).


perf: Reuse regex objects (avg. 162s -> 65s, 60% faster)

I'd like to bring a new feature to aws.permissions.cloud.
During my experiment, I felt aws_add_managed_policies.py is a bit slow.
I found that same-content regex objects are repeatedly compiled during the loop.
I've cached it and aws_add_managed_policies.py is now 60% faster on my end.
(lower is faster)

before / seconds
after / seconds

160
63

161
66

170
64

162
68

162
64

161
66

165
65

159
66

164
64

158
65

Also, azure_process_role.py got the same enhancement: 27 seconds -> 14 seconds (49% faster)

Looks good, thanks for the optimisation.
Will be merged shortly - the daily run is running atm.


Added Kubernetes UI support

Fixes #164
Fixes #166

@remoe your implementation didn't work for non-Windows users. After fixing that, I added instructions and merged my changes with your PR.

@pires, thanks! Sorry, I didn't find time to test it on linux host.


Session fixes

Added new session.* params added in PHP 7.1.0 and 7.3.0
Fixed getting number of bits in encoded session ID since PHP 7.1.0

Thanks for the fixes


Metadata field changes

Item 1 mentions changes to metadata fields.
Once we have a list of the fields being changed/added, we can add them to the transform code so it can be indexed and available to the ui.
We'll also need to determine how to represent the new data in the ui once finalized.

Physical description
Location
Language

For schema:material, use format in the UI.

For the inLanguage field translation, it looks like https://en.wikipedia.org/wiki/IETF_language_tag#Syntax_of_language_tags could be helpful. This registry has a standard subtag registry we may be able to use, although the tags in https://stage.dams.library.ucdavis.edu/fcrepo/rest/collection/boh/hours/book_of_hours don't seem to match the official tags in this registry.

@EricNebeker
This is what it should look like now:

The language metadata is described here. They would look like:
"schema:material": "ff. i + 97 + i - Plain red morocco, twentieth century. Parchment - 206 x 155 mm - 21-22 long lines ruled in pale red ink",
"schema:location": "Poitiers, France",
"schema:inLanguage": {"@id": "https://www.iana.org/assignments/language-subtag-registry#cy"},

Or, for collections with multiple languages, inLanguage can be an array type:
"schema:inLanguage": [
    {"@id": "https://www.iana.org/assignments/language-subtag-registry#fr"},
    {"@id": "https://www.iana.org/assignments/language-subtag-registry#la"}
  ]


Bug: A 'NullReferenceException' Is Thrown for NULL Query Expression

As reported by the user, a NullReferenceException is thrown if the Query Expression is equate to a NULL values.
connection.Query<Person>(e => e.Name == null);

It has happened on the latest compiler, in which such basic scenario is apparently not covered by the Integration Tests. We have added the below's Integration Test.
[TestMethod]
public void TestSqlConnectionQueryAsyncViaExpressionWithNullValue()
{
    // Setup
    var tables = Helper.CreateIdentityTables(10);
    var last = tables.Last();

    using (var connection = new SqlConnection(Database.ConnectionStringForRepoDb))
    {
        // Act
        connection.InsertAll(tables);

        // Act
        var result = connection.QueryAsync<IdentityTable>(c => c.ColumnNVarChar == null).Result;

        // Assert
        Assert.AreEqual(0, result.Count());
    }
}

@eriego - the fixes has been pushed to RepoDb v1.12.2.

It works.
Thank you.


Subtracting months edge case - subtracts 30 days

It seems to subtract 30 days instead of 1 whole month.
Detailed Description
If the starting date is 1/30/2018, and I subtract 1 month, it becomes 12/31/2017, I would have expected 12/30/2017. If I subtract 2 months, it becomes 12/01/2017. I would have expected it to be 11/30/2017.
Your Environment

Version used: 0.7
Operating System and version: latest version of Swift, Xcode

same problem
the data should be 2018-02-02 16:00:00
but after moment(date, dateFormat: "YYYY-MM-DD HH:mm:ss")!
the date change to 2018-01-02 16:00:00 GMT+08:00

i find a way  can to avoid this bug
use moment(year,month,day,hour,minute,second) to create , do not use dateFormat, seems can avoid the bugs


Fix-up manifests and upgrade guide for v0.10

What this PR does / why we need it:
Whilst going through the upgrade process myself, I encountered a couple of issues:

The name of the webhook chart has changed, meaning the label selector has changed again. I've simply switched this back to the old value for now to save extra pain for users upgrading.

If using the static manifest based install, there are a number of resources that need to be cleaned up else the old and new implementations will 'fight'.

Release note:
NONE

/milestone v0.10

/retest


How do I can restore last window layout quickly?

Please visit our Discord server to ask how-to and workflow questions:
https://discord.gg/qvGgnVx -- post on Doom's issue tracker as a last resort.

What are you trying to achieve?
I have two or more window layout, but focus on one of them sometime. After that, how can restore the last window layout quickly?
What have you tried?
M-x to search some restore window command, but no such one.
Additional information

Do you have screenshots/casts of this workflow in another editor or Emacs
distro? (If possible, include names of specific commands or functions from
other editors/emacs distros)
Do you have additional material or links to resources that could help clarify
what you are trying to do?

System information

Include the output of `M-x doom/info` or `~/.emacs.d/bin/doom info` here.

With the :ui workspaces module enabled, Doom has persp-mode installed. Here are some keys that'll help you with it:

SPC TAB n creates a blank, new workspace, which you can consider an independent "layout".
SPC TAB 1 will switch back to the first workspace
SPC TAB 2 switch back to the second, and so on all the way to 9
SPC TAB d will delete a workspace

It works. Thank you @hlissner .


(GH-1981) Add dir::entries plan function

This adds a new builtin Bolt module dir that contains utilities for
interacting with directories during a Bolt plan, analagous to Ruby's
Dir class. It currently has just one function, entries, which lists
the contents of a given directory and returns an ordered list of bare
filenames. This is used in the facts::external plan to get the list of
scripts to run to generate facts from.
!feature

New dir::entries plan function
New plan function dir::entries returns an array containing all of
the filenames in the given directory, similar to Ruby's Dir.entries()

+1 for this! I was thinking something like this would also be helpful for when you download a directory during a plan run. :)

CLA signed by all contributors.


RunCompile fails if there is no model but there is a ViewBag

I have this line of code in my app
dynamic vb = new DynamicViewBag();
// add stuff to vb...
razorEngineService.RunCompile(file.Contents, file.Filename, null, (DynamicViewBag)vb);

I call this when there is no @Model directive in the page. This used to work fine when vb was always null, but now I have started to create viewbags. The above line of code will fail when vb is non-null, with a RuntimeBinderException "Cannot perform runtime binding on a null reference".
It can be fixed by adding an (unused and pointless) "@model" directive to the cshtml file, or by injecting an empty model - this doesn't throw:
var model = new object();
razorEngineService.RunCompile(file.Contents, file.Filename, model.GetType(), model, (DynamicViewBag)vb);

but I don't think the first call should fail either. I have RazorEngine 3.5.2.

Your code looks strange. First you use the DynamicViewBag as your model:
dynamic vb = new DynamicViewBag();

razorEngineService.RunCompile(file.Contents, file.Filename, null /*modeltype*/, (DynamicViewBag)vb /*model*/);

and then as your ViewBag
var model = new object();
razorEngineService.RunCompile(file.Contents, file.Filename, model.GetType() /*modeltype*/, model /*model*/, (DynamicViewBag)vb /*viewbag*/);

I think what you want to do is this:

dynamic vb = new DynamicViewBag();

razorEngineService.RunCompile(file.Contents, file.Filename, null /*modeltype*/, null /*model*/, (DynamicViewBag)vb /*viewbag*/);

(notice the additional null)
or this
dynamic vb = new DynamicViewBag();

razorEngineService.RunCompile(file.Contents, file.Filename, viewBag = (DynamicViewBag)vb);

You're right, I was calling the wrong overload, sorry. Adding the extra null fixed it.
Although it does bring to mind, if I am passing you the model instance why do I also have to pass the type? You could get it yourself in one line.

Because this way you can use the same compiled template for multiple types:

You can either specify a base type (or interface)
You can use dynamic (=null) for statically typed model instances.

Otherwise RazorEngine would force you to use the static type and re-compile the template again if you use other instances.
In short: You can strategically prevent unnecessary recompilations (which can save you several seconds in some situations).
Hope this makes more sense now :)

One more thing: I would like to add extra overloads without the modelType parameter and I agree that it would make sense. However there are already a lot of overloads available and adding these overloads would actually do more harm than good. I think a lot of calls would then be ambiguous and it would be impossible to figure out which overload you are calling.

Oh believe me I agree, too many overloads are always confusing. Remove
rather than add :-) Maybe a fluent interface would be good
Compile(file.Contents).WithModel(myModel).WithViewBag(vb)
On 10 February 2015 at 13:25, matthid<EMAIL_ADDRESS>wrote:

One more thing: I would like to add extra overloads without the modelType
parameter and I agree that it would make sense. However there are already a
lot of overloads available and adding these overloads would actually do
more harm than good. I think a lot of calls would then be ambiguous and it
would be impossible to figure out which overload you are calling.
—
Reply to this email directly or view it on GitHub
https://github.com/Antaris/RazorEngine/issues/237#issuecomment-73698190.

--
Philip Daniels.


feat: add testing.T#Cleanup() support

Summary
This pull request introduces a wrapper for *rapid.T called rapidT to address compatibility issues with the TestingT interface. The changes include adding a Cleanup() method to the TestingT interface and implementing the rapidT wrapper with a stub for the Cleanup() method. The wrapper is used in runScenario function to maintain compatibility and provide better integration between rapid and testing packages.
NOTE: step definition signatures using *rapid.T are unaffected (i.e. backwards compatible change)
Rationale
We have some non-trivial, common test helpers that occasionally reach for t.Cleanup(...). I acknowledge that the After is intended for suite cleanup but I think this is an equally valid case.

@aaronc @ryanchristo  Any chance we can get a review on this or help by becoming repo maintainers?

I sent an invite to join a team with write access to the repo for the time being. cc @bryanchriswhite @Olshansk

Apologies for not following up sooner. @bryanchriswhite @Olshansk are you still interested in being added as maintainers? I want to make sure there are enough folks besides @ryanchristo and myself to make sure this repo stays actively maintained.

Apologies for not following up sooner. @bryanchriswhite @Olshansk are you still interested in being added as maintainers? I want to make sure there are enough folks besides @ryanchristo and myself to make sure this repo stays actively maintained.

Yes please! This is what the team is using in our Pocket Network Shannon Upgrade (https://github.com/pokt-network/poktroll) and we would love to support.
Just need to call out that @bryanchriswhite is the one leading the effort on this and I'm just support :)

Awesome! I have upgraded your permissions to Maintainer. I have also added @0xste who has been contributing recently as a maintainer. It might be good to find some channel maintainer can communicate in, although github issues and discussions might be good enough for now

Awesome! I have upgraded your permissions to Maintainer. I have also added @0xste who has been contributing recently as a maintainer. It might be good to find some channel maintainer can communicate in, although github issues and discussions might be good enough for now

+1 to GitHub Issues/Discussions until it's no longer enough.


DefaultApi class relationship with Demisto class

Hi.
When making an integration, we have demisto in globals() which is an instance of <class 'Demisto'>.

What is relationship between DefaultApi class and Demisto class ? In reallity, Demisto uses DefaultApi to make an operations, like create incidents and so on ?

Where can i see the actual implementation of Demisto class ? As I see it is provided as "template code" inside demisto/content/Utils/_script_docker_python_loop.py.

Demisto.incidents([incidents_lst]) is helpful when fetch-incidents command are fired. If i want to create an incidents using my custom commands from Playground - War room, will Demisto.incidents([incidents_lst]) still be helpful ? Or this case I should use DefaultApi.create_incident(create_incident_request=incident_request) ?

Thanks in advance.

There is no relationship. These are 2 separate APIs.
I suggest checking our documentation hub: https://xsoar.pan.dev/ . We have there some excellent resources on developing integrations.
Again. I suggest following the docs. If you still encounter questions follow with our support team. Also please check our DFIR Community: https://www.demisto.com/community/ . This issue tracker is not meant for such questions.

I understand.
Thanks.