text:
Singleton instance of database

How can I create a single instance of database so that I can store that instance in a global variable and use it anywhere?

Uh, you can just store it in a global variable?
final MyDatabase db = MyDatabase(LazyDatabase(() async {
  // ...
  return VmDatabase(...);
}));

class MyDatabase extends _$MyDatabase {
  MyDatabase._(QueryExecutor e): super(e);
}

This and other approaches are also explained in the documentation.

Like this?
class Globals {   static AppDatabase appDatabase = AppDatabase(); }

thanks

source: gharchive/issue

license: mit

license_type: permissive

license_source: bigquery


text:
Getting task report from file undefined

I am getting this error after the update yesterday

This seems to be the result of this tool looking into the temp folder

Could you give me some more info on your sonarqube version, the task version and the version of your sonarqube tasks?

I have updated the extension. Could you see if that helps you?
For SonarQube the new version is 8.* (https://github.com/simondel/sonar-buildbreaker-vsts/releases/tag/SonarQube-build-breaker-8.0.0)
For SonarCloud the new version is 2.* (https://github.com/simondel/sonar-buildbreaker-vsts/releases/tag/SonarCloud-build-breaker-2.0.2)

Sonarqube version 7.5.0.20543
My tasks

script: npm run sonar
displayName: 'Run SonarQube'

task: sonar-buildbreaker@8
displayName: 'Checking SonarQube Results'
inputs:
SonarQube: 'Front-Ends'

***I'm currently building angular project through my pipeline.
***This is what i am getting back...
##[section]Starting: Checking SonarQube Results
Task         : SonarQube build breaker
Description  : Break the build when the quality gate fails.
Version      : 8.0.0
Author       : Simon de Lang
Help         :
Number of analyses in this build: 0
Summary of statusses:
##[section]Finishing: Checking SonarQube Results

Thanks for the info! Could you take a look at #11? There may be an issue with your general SonarQube setup.

Hello thanks for the quick response.
There isn't any issue with running sonar scanner for these projects, one of the first tasks I run is

script: npm install -g sonarqube-scanner
displayName: 'Install SonarQube

The command to run sonarqube uses sonar-project.properties This is how sonar-scanner pushes the report up to sonarqube which is working. I believe the sonar build breaker tool is unable to find the report-task.txt located in *_work\1\s.scannerwork
Best
sand314

If you run the build with debug enabled, what does the logging from the 'publish quality gate' task say? How many analyses can it find?

Since I am using sonar scanner to run the analysis there doesn't need to be the publish quality gate. Sonar scanner will publish my analysis during run. There is install sonar scanner step then a run sonar step for angular/typescript analysis. My other pipelines are .net core. The sonar steps are prepare, run analysis, and publish. These pipelines work as intended.
This is the result from running sonar scanner.
INFO: Analysis report generated in 924ms, dir size=1 MB
INFO: Analysis reports compressed in 549ms, zip size=342 KB
INFO: Analysis report uploaded in 47ms
INFO: ANALYSIS SUCCESSFUL

I understand that the tasks are able to upload the result to the SonarQube server. I however doubt that they'll be able to report the result to the build summary.
As displayed here: https://github.com/simondel/sonar-buildbreaker-vsts/issues/11#issuecomment-522433164
The Publish Quality Gate task is responsible for adding the result to the build summary and I don't think that's happening in your .net core builds (if you also have the issues with my extension in that build).
Could you add the Publish Quality Gate task to your Angular build to see what happens?

Nice! We got it working. Thanks! I omitted the install and run for sonarqube and replaced those two steps with these tasks -

task: SonarQubePrepare@4
inputs:
SonarQube: 'Front-Ends'
scannerMode: 'CLI'
configMode: 'file'

task: SonarQubeAnalyze@4

task: SonarQubePublish@4
inputs:
pollingTimeoutSec: '300'

Thanks again!

Glad to hear that you were able to resolve the issue :)

repo: simondel/sonar-buildbreaker-vsts

license_source: github-api


text:
Account ID

Is there a way to retrieve the account ID through the callback for access_token?  (also for future clarification I believe this is the public_token not access_token to be sent to Plaid).
Thanks for the awesome library @simonlevy5 !
plaidClient.exchangeToken(public_token, need this -> PLAID_ACCOUNT_ID, function(err, tokenResponse) {
      // respond with access_token here
}

Edit: I was thinking something along the lines of the selectAccount feature on the web Plaid link where
func linkNavigationContoller(navigationController: PLDLinkNavigationViewController!, didFinishWithAccessToken accessToken: String!) {
     // do stuff
}

func linkNavigationContoller(navigationController: PLDLinkNavigationViewController!, didFinishWithAccessToken accessToken: String!, didRetrieveAccountId accountId: String) {
     // do more stuff based on account selection
}

Posting a bounty for a similar authentication flow to Plaid Link multi-accounts.
https://www.bountysource.com/issues/35126919-account-id

@sinanulkuatam There isn't one now, but I can probably add one. This is new to me so I'll need to investigate a bit first. If you are interested in helping let me know, too, so I can provide some guidance.
I would likely add a selectAccount option to the options NSDictionary on PLDLinkNavigationController rather than as a parameter to exchangeToken.
@michaelckelly you guys have a demo of this feature that I can use?

@simonlevy5 excellent!  I am more familiar with Swift than Objective-C but I'd be more than happy to investigate as well tonight.  I've opened up a Slack group as well https://openhq.slack.com/home

@simonlevy5  So in the Plaid.h add and step methods the options NSDictionary passed in would include the accountId as an optional parameter
/**

(void)stepLinkUserForProduct:(PlaidProduct)product
publicToken:(NSString *)publicToken
??accountId:(NSString *)accountId??
mfaResponse:(id)mfaResponse
options:(NSDictionary *)options
completion:(PlaidMfaCompletion)completion;

And then in the implementation how would it account for the accountId being passed in as an options variable?  @michaelckelly it would be good to get your thoughts on whether it would make more sense to put in an explicit account  accountId:(NSString *)accountId or to think of options:(NSDictionary *)options as being the metadata response (like metadata:(NSDictionary *)metadata) returned on the Plaid Link web module.

(void)stepLinkUserForProduct:(PlaidProduct)product
publicToken:(NSString *)publicToken
??accountId:(NSString *)accountId??
mfaResponse:(id)mfaResponse
options:(NSDictionary *)options
completion:(PlaidMfaCompletion)completion {
NSString *webhook = @"";
if (options[@"webhook"]) {
webhook = options[@"webhook"];
}
NSDictionary *parameters = @{
@"env" : NSStringFromPlaidEnviroment(_environment),
@"include_accounts": @(NO),
@"mfa": mfaResponse,
@"product": NSStringFromPlaidProduct(product),
@"public_key": _publicKey,
@"public_token": publicToken,
@"webhook": webhook
};
[_networkApi executeRequestWithHost:LinkHostForEnvironment(_environment)
path:@"authenticate/mfa"
method:@"POST"
parameters:parameters
completion:^(id response, NSError *error) {
if (error) {
completion(nil, response, error);
return;
}
PLDLinkAuthentication *authentication =
[[PLDLinkAuthentication alloc] initWithProduct:product
response:response];
completion(authentication, response, error);
}];
}

And in the callback where the accountId would be available and we could pass it in to any function to send off to the backend.

/**
Called when the PLDLinkNavigationController has successfully logged a user in and obtained an access token for that user.
@param navigationController The navigation controller presenting Plaid Link.
@param accessToken A valid access token for a user to access the Plaid system.
*/

(void)linkNavigationContoller:(PLDLinkNavigationViewController *)navigationController
didFinishWithAccessToken:(NSString *)accessToken
didFinishWithAccountId:(NSString *)accountId;

And in the Swift implementation

func linkNavigationContoller(navigationController: PLDLinkNavigationViewController!, didFinishWithAccessToken accessToken: String!, didFinishWithAccountId accountId: String!) {
    print("success \(accessToken)")
    linkPlaidBankAccount({ (stripeBankToken, accessToken) in
            // completion handler with the necessary tokens
    }, accessToken: accessToken, accountId: accountId) // send these two to the backend
}

func linkPlaidBankAccount(completionHandler: (String, String) -> Void, accessToken: String, accountId: String) {
 /* perform api request with the accessToken (in reality the publicToken) and the accountId
    to request and exchange with an accessToken
 */

}
Let me know if my line of thinking/reasoning is off because I'm still pretty new to this.

@sinanulkuatam Since the accountId is something that isn't required it is an optional parameter. As you can notice we have a good example of this, which is "webhook". What that means is there is no interface change required within the Plaid.h since the parameter would be added right to the options NSDictionary.
I'm happy to take on this change, but would like to know more about it first - mainly what does this experience even look like (why I asked the question above), as well as what the API behavior is. Please understand that this is an undocumented call - normally the account data is fetched after the access token is retrieved via the exchange endpoint (using the token returned by link) so i'm unclear as to the requests/responses expected, as well.

@simonlevy5 understood.  Going through the web documentation it looks like the request/response cycle looks like this below, where the account id is returned in the onSuccess function of calling Plaid Auth (not connect).  If I were to use this in production as the library currently stands what flow would you envision the in its usage (use connect only)?  I feel that creating this may take some time, and time is a luxury at the moment :)  so I greatly appreciate you taking a look into this.
Attached some images of the user flow below as well from the web interface.
var linkHandler = Plaid.create({
  selectAccount: true,
  env: 'production',
  clientName: 'Plaid Name',
  key: 'plaid-key-here',
  product: 'auth',
  onSuccess: function(public_token, metadata) {
    // The onSuccess function is called when the user has successfully
    // authenticated and selected an account to use.
    //
    // When called, you will send the public_token and the selected
    // account ID, metadata.account_id, to your backend app server.
    //
    // sendDataToBackendServer({
    //   public_token: public_token,
    //   account_id: metadata.account_id
    // });
    document.getElementById('plaidToken').value = public_token;
    document.getElementById('plaidAcctId').value = metadata.account_id;
    document.getElementById('plaidForm').submit();
  },
});

And some code I have in the API to handle a Plaid auth request:
	// AUTH
	app.post(endpoint.version + endpoint.base + endpoint.auth, function(req, res, next) {
		logger.trace('req addAuthUser received');
		// addAuthUser(String, Object, Object?, Function)
		var institution_type = req.body.institution_type;
		var credentials = req.body.credentials;
		var options = req.body.options;
		plaidClient.addAuthUser(institution_type, credentials, options, function callback(err, mfaResponse, response) {
		  // err can be a network error or a Plaid API error (i.e. invalid credentials)
		  // mfaResponse can be any type of Plaid MFA flow
			logger.error(err);
			logger.info(mfaResponse);
			logger.info(response);

			if(err) {
				res.json({err: err})
			}

			if(mfaResponse) {
				res.json({mfa: mfaResponse, response: response})
			} else {
				res.json({response: response})
			}
		});
	});

@sinanulkuatam @simonlevy5 what's latest on this?

@simonlevy5 I need this myself. Any updates? I'll probably fork soon for my own use if not.

I have a very rough implementation of this that just forwards the account ids from plaid-ios-link to my app code. If possible I would to work with you to instead build the account id selection into plaid-ios-link and only give the selected id to my code. This would be very similar to the screenshots above.

Please see https://github.com/V-FEXrt/plaid-ios-link for reference. A change is also need for plaid-ios-sdk.
Line 207 of Plaid.m needs to be changed to
@"include_accounts": @(YES),

Updates anyone?

@joaoritter My fork "works" but it isn't a great solution. It has a couple places where it just throws an exception, because I don't know what to do in that case and I don't have the time to delve into it without assistance

@V-FEXrt I would be happy to assist. Please let me know where you have questions.

https://github.com/V-FEXrt/plaid-ios-link/blob/94418773f6e2878454d11c5113e1eb595cfe7d8f/PlaidLink/Classes/PLDLinkBankMFAContainerViewController.m#L154
Is the biggest one. My implementation currently just forwards an array of the account ids to the displaying code via a modified delegate.
The account ids are part of the response (https://github.com/V-FEXrt/plaid-ios-link/blob/94418773f6e2878454d11c5113e1eb595cfe7d8f/PlaidLink/Classes/PLDLinkBankMFALoginViewController.m#L85) I am just not certain on most of the control flow of the app.

@V-FEXrt I'll take a more detailed look tonight and can provide you some more detailed direction. I'm happy to look at/merge PRs into the main repo, as well.

Sounds good. I would love to make a PR once we work out the kinks, but I don't think my current progress is worth pulling into the main repo yet

@V-FEXrt @simonlevy5 let me know if you need another pair of eyes or a tester! Looking forward to trying this out

For anyone following this issue. We decided to switch to plaid's provided example (https://github.com/plaid/link/tree/master/examples) which recently added WKWebView.

i'm getting null accesstoken atm with requires_recaptcha error
{
"request_id" = "2210d0d8-c78f-4419-87bf-d3cc4c2dcf6b";
status = "requires_recaptcha";
}

@sinanku @simonlevy5 Any progress on this?

authors: V-FEXrt indivisable joaoritter netherlol simonlevy5 sinanku sinanulkuatam vikmeup


text:
🛑 Portal is down

In 4b75a1c, Portal (https://api.junkunren.com/portal) was down:

HTTP code: 503
Response time: 632 ms

Resolved: Portal is back up in 4a7ec33.

repo: simonrenorg/status

license: MIT


text:
Matching image snapshot fails with cy.screenshot() failed because it requires a DOM element

Discussed in https://github.com/simonsmith/cypress-image-snapshot/discussions/40

Originally posted by Fastova November 24, 2023
Hi guys, thank you for your great tool!
I'm facing a problem currently, which I can't overgo. Could you please advise, if I'm missing smth?
I"ve installed a plugin,
configured it and added a command to cypress.config
import { addMatchImageSnapshotPlugin } from '@simonsmith/cypress-image-snapshot/plugin';

addMatchImageSnapshotPlugin(on);

Added types for the plugin in ts.config:
@simonsmith/cypress-image-snapshot/types
In my test the command is available, it runs fine:
cy.matchImageSnapshot('snapshot', {
        failureThreshold: 0.4,
        blur: 10,
        capture: 'viewport',
        diffFilenameExtension: '.wrong',
      });

However it fails with no DOM element:
get #el-id
wrap<div#el-id>
taskMatching image snapshot, Object{12}
screenshotstatistic-card, Object{12}

CypressError
cy.screenshot() failed because it requires a DOM element.

The subject received was:
> null

The previous command that ran was:
> cy.task()

All 3 subject validations failed on this subject.

Am I doing smth wrong?
Regular cy.screenshot() works and saves the screenshot.

@Fastova I'm afraid I can't reproduce this. I've added tests to this repo to validate that it can work with and without a subject and it seems fine:
https://github.com/simonsmith/cypress-image-snapshot/blob/master/cypress/e2e/matchImageSnapshot.cy.ts#L6-L14
Perhaps you can provide a valid reproduction and then I can reopen the issue

repo: simonsmith/cypress-image-snapshot


text:
Noise sims in CAR and noise splits

This is work in progress towards

noise sims in CAR, fixes https://github.com/simonsobs/map_based_simulations/issues/28
noise splits, fixes https://github.com/simonsobs/map_based_simulations/issues/30

Current changes include:

API Change to SONoiseSimulator and restructuring so that only LAT is initialized by default
Accepts shape,wcs pixell parameters for geometry
Looks for saved noise template with nearest resolution and interpolates only if necessary
Uses pixell.curvedsky.rand_map instead of synfast when not healpix
Some docstring fixes
Added nsplits option which just multiplies the noise power by nsplits and appends as many copies of simulated noise maps
Added noise template generation script to repo
Serve noise templates on http and download when installing
Default mask value is nan for CAR; but allows mask value to be overridden for both healpix and CAR

To do:

Standardize resolution/WCS choices with mapmaker/TOD codes

E.g. invocation:
bounds_deg = [-80.,40.]
res_arcmin = 2.0
shape,wcs = enmap.band_geometry(np.deg2rad(bounds_deg),res=np.deg2rad(res_arcmin/60.),proj='car')

nsim = mapsims.SONoiseSimulator(
        shape=shape,
        wcs=wcs)

ch = mapsims.SOChannel("LA", 145)
omap = nsim.simulate(ch, output_units="uK_CMB", seed=None)

Output:

@zonca This is ready to be merged once the requirements.txt issue #30 is solved. I will raise a separate issue for this to-do item: "Standardize resolution/WCS choices with mapmaker/TOD codes".

fixed in #32 and extra commits to master to fix readthedocs, can you rebase?

Done.

@msyriac can you fix the errors on travis?
consider also that NERSC /project is down until 1pm PST today, so that could cause some tests to fail.

I can't even run the tests locally, since the test suite requires pytest-astropy which requires psutil which it doesn't seem can be compiled using Intel compilers. https://github.com/giampaolo/psutil/issues/1664

@msyriac can you just try to fix the variable undefined issue? I can then later pickup from there

source: gharchive/pull-request

authors: msyriac zonca

repo: simonsobs/mapsims


text:
Avoid retaking all screenshots on publish unless strictly necessary

Deploy will take half an hour because it's going to need to rebuild all 450 screenshots due to an (invisible) change to the entry HTML.

Originally posted by @simonw in https://github.com/simonw/til/issues/81#issuecomment-1685012429

Changes to the content of a TIL should generate a new screenshot of that TIL.
But, right now, even the tiniest tweak to the base or entry templates (including changes that wouldn't visibly affect the shots at all) triggers a 450+ screenshot generation process.

Easiest fix: instead of incorporating the hash of the HTML templates themselves, switch to a SCREENSHOT_VERSION constant. I can then manually change that any time I want to trigger a full re-render.

I could set the first version of that to the current hash, to avoid recalculating all 450 existing shots when I deploy this change.

https://github.com/simonw/til/blob/b8ab160caf7201b4f4738c1eba4c15d3fcafd97c/generate_screenshots.py#L57-L60
Since those hashes are added in sequence, the constant wild need to be a list in order to capture the current state.

If I got this right, the deploy should not recreate any screenshots.

Yes that worked:

repo: simonw/til


text:
enable images / incorporate illustrations

https://www.aleksandrhovhannisyan.com/blog/eleventy-image-transform/
illustration examples:

https://posthog.com/

https://github.com/11ty/eleventy-img/releases/tag/v5.0.0


text:
deps: Update dependencies

Update all direct, dev-, and transitive dependencies

@IchordeDionysos if you will have chance to check and approve, I'd be appreciate ❤

@IchordeDionysos this PR is required your review.

repo: simpleclub/firebase-rules-helper


text:
Reflection error when calling AddAspNetCore

System.Reflection.ReflectionTypeLoadException: 'Unable to load one or more of the requested types.
Could not load type 'Vortext.Common.Domain.Model.Entity' from assembly 'Vortext.Common.Domain, Version=1.7.6.0, Culture=neutral, PublicKeyToken=null'.

I get 4 of these on the call to options.AddAspNetCore()
 private void IntegrateSimpleInjector(IServiceCollection services)
{
    _container.Options.DefaultScopedLifestyle = new AsyncScopedLifestyle();

    services.AddSingleton<IHttpContextAccessor, HttpContextAccessor>();

    services.AddSingleton<IControllerActivator>(new SimpleInjectorControllerActivator(_container));
    services.AddSingleton<IViewComponentActivator>(new SimpleInjectorViewComponentActivator(_container));

    services.AddSimpleInjector(_container, options =>
    {
        // AddAspNetCore() wraps web requests in a Simple Injector scope.
        options.AddAspNetCore()
            // Ensure activation of a specific framework type to be created by
            // Simple Injector instead of the built-in configuration system.
            .AddControllerActivation();
    });

    Bootstrapper.Bootstrap(_container, Configuration);

}

No other information about why or anything.  I tried moving the SimpleInjector registrations before this call but still no luck.  Clearly this is a problem with my library not yours but is there some way to better troubleshoot the actual problem?  The Entity object in question is actually an abstract class so I don't understand why it would be constructed anyway.
I've called container.Verify() before AddSimpleInjector() in order to troubleshoot things and the errors I get are things that I am already register in the services collection, e.g. IHttpContextAccessor (see line 5 in code above)

not calling options.AddAspNetCore() gives me this error
SqlConnection is registered using the 'Async Scoped' lifestyle, but the instance is requested outside the context of an active (Async Scoped) scope. Please see https://simpleinjector.org/scoped for more information about how apply lifestyles and manage scopes.

I think this is expected since options.AddAspNetCore() wraps requests in SI scope.

Are those first-chance exceptions? Does this happen in the debugger, does the program continue when you press F5 or does the program crash?

they are not first-chance exceptions.  The program spits out the DeveloperExceptionPage as a result of F5

This means that now is the timenyou post the exception details. Full stack trace of the exception and that of all inner eexceptions.

LOL! of course @dotnetjunkie it is.
System.TypeLoadException: Could not load type 'Vortext.Common.Domain.Model.Entity' from assembly 'Vortext.Common.Domain, Version=1.7.6.0, Culture=neutral, PublicKeyToken=null'
Seriously, that is it!

Can you post the srack trace in textual form?

OH!  sorry Stephen, here you go
   at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
   at System.Reflection.RuntimeAssembly.get_DefinedTypes()
   at Microsoft.AspNetCore.Mvc.ApplicationParts.AssemblyPart.get_Types()
   at Microsoft.AspNetCore.Mvc.Controllers.ControllerFeatureProvider.PopulateFeature(IEnumerable`1 parts, ControllerFeature feature)
   at Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartManager.PopulateFeature[TFeature](TFeature feature)
   at SimpleInjector.SimpleInjectorAspNetCoreBuilderMvcCoreExtensions.RegisterMvcControllers(Container container, ApplicationPartManager manager)
   at SimpleInjector.SimpleInjectorAspNetCoreBuilderMvcCoreExtensions.AddControllerActivation(SimpleInjectorAspNetCoreBuilder builder)
   at Vortext.RCM.Api.Startup.<>c.<IntegrateSimpleInjector>b__6_0(SimpleInjectorAddOptions options) in C:\dev\vortext-main-new\vortext-web\Vortext.RCM.Api\Startup.cs:line 68
   at SimpleInjector.SimpleInjectorServiceCollectionExtensions.AddSimpleInjector(IServiceCollection services, Container container, Action`1 setupAction)
   at Vortext.RCM.Api.Startup.IntegrateSimpleInjector(IServiceCollection services) in C:\dev\vortext-main-new\vortext-web\Vortext.RCM.Api\Startup.cs:line 65
   at Vortext.RCM.Api.Startup.ConfigureServices(IServiceCollection services) in C:\dev\vortext-main-new\vortext-web\Vortext.RCM.Api\Startup.cs:line 53
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at Microsoft.AspNetCore.Hosting.ConfigureServicesBuilder.InvokeCore(Object instance, IServiceCollection services)
   at Microsoft.AspNetCore.Hosting.ConfigureServicesBuilder.<>c__DisplayClass9_0.<Invoke>g__Startup|0(IServiceCollection serviceCollection)
   at Microsoft.AspNetCore.Hosting.ConfigureServicesBuilder.Invoke(Object instance, IServiceCollection services)
   at Microsoft.AspNetCore.Hosting.ConfigureServicesBuilder.<>c__DisplayClass8_0.<Build>b__0(IServiceCollection services)
   at Microsoft.AspNetCore.Hosting.GenericWebHostBuilder.UseStartup(Type startupType, HostBuilderContext context, IServiceCollection services)
   at Microsoft.AspNetCore.Hosting.GenericWebHostBuilder.<>c__DisplayClass12_0.<UseStartup>b__0(HostBuilderContext context, IServiceCollection services)
   at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider()
   at Microsoft.Extensions.Hosting.HostBuilder.Build()
   at Vortext.RCM.Api.Program.Main(String[] args) in C:\dev\vortext-main-new\vortext-web\Vortext.RCM.Api\Program.cs:line 23

Looking at the call stack, this isn't so much a Simple Injector exception, but the problem would likely exist if you use the built-in container as well. All the ASP.NET Core integration for Simple Injector does is call MVC's Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartManager using the Microsoft.AspNetCore.Mvc.Controllers.ControllerFeature the same way MVC does for loading controllers. The error is thrown by .NET while loading a specific type from your assembly.
You seem to have your Vortext.Common.Domain project added as application part, and for some reason (a reason I cannot see) loading that particular type from that assembly fails.
My advice is the following: try building a minimal, reproducible example by starting with an empty ASP.NET Core MVC project, using the built-in container, using standard configuration, and slowly start adding things until the error pops up. When this happens, backtrack until you understand what is causing that type to fail.
One possible cause that comes to mind is that Vortext.Common.Domain.Model.Entity can't be loaded because it depends on a type from another assembly that can't be loaded. Perhaps due to a missing binding redirect?

Thank you @dotnetjunkie I will have a go at that.  I know it is going to be something simple and silly.  I don't register that library in core so I don't know why it would try to load that but I'll try your suggestion.

well drat that turned out to be a reference to another of my libraries that referenced an older version of my common library where Entity existed.  Once removed all worked well.  I'm still not sure why that project was called during registration of aspnetcore but it's fixed now.  Sorry for the hassle @dotnetjunkie .

authors: dotnetjunkie stevencovhlth


text:
Problem with Ukraine and Russian sphere of influence

Hello. The game still has a bug with the Russian sphere of influence. Russia bot does not take Ukraine into its sphere of influence, it only brings the influence to 100 points and then simply sits and does not turn Ukraine into its sphere of influence.

Dose reloading the save game resolve this? I have seen this as well and am inclined to see it as a Vic2 core bug.

authors: samwoodzadrot simsulla

repo: simsulla/nwomod


text:
Set agent color

Use Case
As a developer, I want to send new colors for agent types and have them update interactively in the viewer.
Acceptance Criteria
A developer of an application embedding the viewer (esp the simularium website) can call a function to immediately change the color of agents of one or more types.
Details
This will be required for a color picker on the simularium website to update the colors of agents (https://github.com/allen-cell-animated/simularium-website/issues/197).
Once we enable export of data, users may want to save the colors they've set through the UI, so it might be nice if the current values of these are accessible to developers for that. Although the embedding application could also handle that.

Hey @mattakamatsu! Great to hear you're using the color feature! I'm looking into this, both for storing in file and in browser sessions.
Off hand would you say that you're likely to be accessing the trajectory in the same tab you were using before? Same window? Or neither? I'm trying to figure out what level of storage in the browser will be most appropriate for saving the color changes.

First use case would be the same tab, i.e. change the colors, and then
return to that tab in an hour or two; or if the simularium file included
that color info, then I could just re-upload the file with my saved color
changes?

Matthew Akamatsu, PhD
Assistant Professor, University of Washington
Department of Biology
He/his
https://www.biology.washington.edu/people/profile/matthew-akamatsu
On Thu, May 02, 2024 at 3:31 PM, Joe Heffernan @.***>
wrote:

Hey @mattakamatsu
https://urldefense.com/v3/__https://github.com/mattakamatsu__;!!K-Hz7m0Vt54!gkDJ6FNJkRrbeNO8peQ5wcsj0Q5FUTr0_0CZv9N7MZGI0IZOIlZSWrU-EePokWt5KWul1Au6N7OE2eKmIej5WMc$!
Great to hear you're using the color feature! I'm looking into this, both
for storing in file and in browser sessions.
Off hand would you say that you're likely to be accessing the trajectory
in the same tab you were using before? Same window? Or neither? I'm trying
to figure out what level of storage in the browser will be most appropriate
for saving the color changes.
—
Reply to this email directly, view it on GitHub
https://urldefense.com/v3/__https://github.com/simularium/simularium-viewer/issues/148*issuecomment-2091856121__;Iw!!K-Hz7m0Vt54!gkDJ6FNJkRrbeNO8peQ5wcsj0Q5FUTr0_0CZv9N7MZGI0IZOIlZSWrU-EePokWt5KWul1Au6N7OE2eKm9_zVchQ$,
or unsubscribe
https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AD25SOSDXJQ6TVIUNPA74W3ZAK5C3AVCNFSM5AMNVIMKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMBZGE4DKNRRGIYQ__;!!K-Hz7m0Vt54!gkDJ6FNJkRrbeNO8peQ5wcsj0Q5FUTr0_0CZv9N7MZGI0IZOIlZSWrU-EePokWt5KWul1Au6N7OE2eKmCwlUj_Y$
.
You are receiving this because you were mentioned.Message ID:
@.***>

authors: blairlyons interim17 mattakamatsu

repo: simularium/simularium-viewer


text:
Source map improvements

Bumps source-map-support. Now automatically retrieves the source map from the file itself.
I've improved the source map tests. See the commit for all the details, but tl;dr there's now a script to generate one of the fixtures and the other fixtures come from a separate module. Hopefully the tests are easier to understand now. I had a hard time myself!

Thanks for working on this @novemberborn. Generally looks good to me.

@sindresorhus thanks! Semi-colons added.
Any idea why xo didn't flag this? I ran npm test before submitting…

@novemberborn XO ignores fixtures by default.

@jamestalmage @vdemedes Looks good to you?

Yep!

:shipit:

authors: jamestalmage novemberborn sindresorhus vdemedes

repo: sindresorhus/ava


text:
Docs: update t.plan recipe. Fixes #749

Updates the recipe surrounding proper uses of t.plan() due to improved t.throws() behavior.
https://github.com/sindresorhus/ava/issues/749

Looks good to me!

Thank you @kevmannn :)

authors: kevmannn sindresorhus sotojuan


text:
Add Product Management Zh

https://github.com/Zuojiangtao/awesome-product-management-zh
A list of Chinese curated resources for product/project managers to learn and grow.
By submitting this pull request I confirm I've read and complied with the below requirements 🖖
Please read it multiple times. I spent a lot of time on these guidelines and most people miss a lot.
Requirements for your pull request

[X] Don't open a Draft / WIP pull request while you work on the guidelines. A pull request should be 100% ready and should adhere to all the guidelines when you open it. Instead use #2242 for incubation visibility.
[X] Don't waste my time. Do a good job, adhere to all the guidelines, and be responsive.
[X] You have to review at least 2 other open pull requests.
Try to prioritize unreviewed PRs, but you can also add more comments to reviewed PRs. Go through the below list when reviewing. This requirement is meant to help make the Awesome project self-sustaining. Comment here which PRs you reviewed. You're expected to put a good effort into this and to be thorough. Look at previous PR reviews for inspiration. Just commenting “looks good” or simply marking the pull request as approved does not count! You have to actually point out mistakes or improvement suggestions. Comments pointing out lint violation are allowed, but does not count as a review.

#https://github.com/sindresorhus/awesome/pull/2810#issuecomment-1863707448
#https://github.com/sindresorhus/awesome/pull/2874#issuecomment-1863718398

[X] You have read and understood the instructions for creating a list.
[X] This pull request has a title in the format Add Name of List. It should not contain the word Awesome.

✅ Add Swift
✅ Add Software Architecture
❌ Update readme.md
❌ Add Awesome Swift
❌ Add swift
❌ add Swift
❌ Adding Swift
❌ Added Swift

[X] Your entry here should include a short description of the project/theme of the list. It should not describe the list itself. The first character should be uppercase and the description should end in a dot. It should be an objective description and not a tagline or marketing blurb. It should not contain the name of the list.

✅ - [iOS](…) - Mobile operating system for Apple phones and tablets.
✅ - [Framer](…) - Prototyping interactive UI designs.
❌ - [iOS](…) - Resources and tools for iOS development.
❌ - [Framer](…)
❌ - [Framer](…) - prototyping interactive UI designs

[X] Your entry should be added at the bottom of the appropriate category.
[X] The title of your entry should be title-cased and the URL to your list should end in #readme.

Example: - [Software Architecture](https://github.com/simskij/awesome-software-architecture#readme) - The discipline of designing and building software.

[X] No blockchain-related lists.
[X] The suggested Awesome list complies with the below requirements.

Requirements for your Awesome list

[X] Has been around for at least 30 days.That means 30 days from either the first real commit or when it was open-sourced. Whatever is most recent.
[X] Run awesome-lint on your list and fix the reported issues. If there are false-positives or things that cannot/shouldn't be fixed, please report it.
[X] The default branch should be named main, not master.
[X] Includes a succinct description of the project/theme at the top of the readme. (Example)

✅ Mobile operating system for Apple phones and tablets.
✅ Prototyping interactive UI designs.
❌ Resources and tools for iOS development.
❌ Awesome Framer packages and tools.

[X] It's the result of hard work and the best I could possibly produce.
If you have not put in considerable effort into your list, your pull request will be immediately closed.
[X] The repo name of your list should be in lowercase slug format: awesome-name-of-list.

✅ awesome-swift
✅ awesome-web-typography
❌ awesome-Swift
❌ AwesomeWebTypography

[X] The heading title of your list should be in title case format: # Awesome Name of List.

✅ # Awesome Swift
✅ # Awesome Web Typography
❌ # awesome-swift
❌ # AwesomeSwift

[X] Non-generated Markdown file in a GitHub repo.
[X] The repo should have awesome-list & awesome as GitHub topics. I encourage you to add more relevant topics.
[X] Not a duplicate. Please search for existing submissions.
[X] Only has awesome items. Awesome lists are curations of the best, not everything.
[X] Does not contain items that are unmaintained, has archived repo, deprecated, or missing docs. If you really need to include such items, they should be in a separate Markdown file.
[X] Includes a project logo/illustration whenever possible.

Either centered, fullwidth, or placed at the top-right of the readme. (Example)
The image should link to the project website or any relevant website.
The image should be high-DPI. Set it to a maximum of half the width of the original image.
Don't include both a title saying Awesome X and a logo with Awesome X. You can put the header image in a # (Markdown header) or <h1>.

[X] Entries have a description, unless the title is descriptive enough by itself. It rarely is though.
[X] Includes the Awesome badge.

Should be placed on the right side of the readme heading.

Can be placed centered if the list has a centered graphics header.

Should link back to this list.

[X] Has a Table of Contents section.

Should be named Contents, not Table of Contents.
Should be the first section in the list.
Should only have one level of nested lists, preferably none.
Must not feature Contributing or Footnotes sections.

[X] Has an appropriate license.

We strongly recommend the CC0 license, but any Creative Commons license will work.

Tip: You can quickly add it to your repo by going to this URL: https://github.com/<user>/<repo>/community/license/new?branch=main&template=cc0-1.0 (replace <user> and <repo> accordingly).

A code license like MIT, BSD, Apache, GPL, etc, is not acceptable. Neither are WTFPL and Unlicense.
Place a file named license or LICENSE in the repo root with the license text.
Do not add the license name, text, or a Licence section to the readme. GitHub already shows the license name and link to the full text at the top of the repo.
To verify that you've read all the guidelines, please comment on your pull request with just the word unicorn.

[X] Has contribution guidelines.

The file should be named contributing.md. The casing is up to you.
It can optionally be linked from the readme in a dedicated section titled Contributing, positioned at the top or bottom of the main content.
The section should not appear in the Table of Contents.

[X] All non-important but necessary content (like extra copyright notices, hyperlinks to sources, pointers to expansive content, etc) should be grouped in a Footnotes section at the bottom of the readme. The section should not be present in the Table of Contents.
[X] Has consistent formatting and proper spelling/grammar.

The link and description are separated by a dash. Example: - [AVA](…) - JavaScript test runner.
The description starts with an uppercase character and ends with a period.
Consistent and correct naming. For example, Node.js, not NodeJS or node.js.

[X] Does not use hard-wrapping.
[X] Does not include a CI (e.g. GitHub Actions) badge.You can still use a CI for linting, but the badge has no value in the readme.
[X] Does not include an Inspired by awesome-foo or Inspired by the Awesome project kinda link at the top of the readme. The Awesome badge is enough.

Go to the top and read it again.

Thanks for the suggestion, but the lists here should be in English.

authors: Zuojiangtao sindresorhus

repo: sindresorhus/awesome


text:
Fallback to xclip

This should fix #3 and allow to export platform specific API in future.

Not sure why xclip hangs – is it waiting for input? @misterhat @sindresorhus

Not sure why xclip hangs – is it waiting for input?

I don't know either. See my comment in the issue:

I had problems getting xclip to work when spawned. It stalled forever until I copied something while it was running.

About the "just working", xclip is an incredibly tiny program and we could make an optional pre-built dependency for it if you wanted.

Could we do this too?

@sindresorhus I think we can bundle xsel – just because it is working.

Could we do this too?

@sindresorhus done.

Maybe I'm missing something, but this PR doesn't actually fall back to xclip at all... I don't see xclip being invoked anywhere.

@Qix- yeah, I decided to drop it. There is no need to fallback on xclip, because xsel is bundled, so it will be always available (and xclip is working very strangely).

Oh okay haha, I was incredibly confused. Perhaps update the title? 💃

It should fall back to the system xsel if for some reason the bundled one doesn't work. It's almost impossible to create a binary that works everywhere on Linux.

@sindresorhus sure thing. Done.

Looks good. Thank you @floatdrop :)

authors: Qix- floatdrop sindresorhus

repo: sindresorhus/clipboardy


text:
Forward slash is not escaped

igornovikov1@~/Documents/Code/wtf-test:$ npm i escape-string-regexp
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN wtf-test@1.0.0 No description
npm WARN wtf-test@1.0.0 No repository field.

+ escape-string-regexp@4.0.0
added 1 package from 1 contributor and audited 1 package in 2.12s
found 0 vulnerabilities

igornovikov1@~/Documents/Code/wtf-test:$ node
> const escape = require('escape-string-regexp')
undefined
> escape ('^test/test$')
'\\^test/test\\$'

Why should it? Running new RegExp('\\^test/test\\$') works fine.

I suppose this is reasonable, but I'd appreciate highlighting it in the docs. My case is a little unusual, I'm passing the regexp into the DefinePlugin in order to use the regexp as a require.context argument -- otherwise non-matching files would be compiled anyway. So, I wrongly expected the slashes to be escaped and ended up with an incredibly arcane error a few weeks later.

Package description:

Escape RegExp special characters

It would be both surprising and incorrect if we escaped other characters.

I guess we could make it clearer in the readme that only the minimal amount of escaping is done.

Thanks, that would work :)

authors: papb septagram sindresorhus

repo: sindresorhus/escape-string-regexp


text:
backslash() disappears in string

I saw the problem Escape string for use in Javascript regex on stack overflow and tried the examples (both short and long answers). But I found out that when a string contains '', browser (or node) would automatically ignore '', leading to a mismatch of backslash.
escapeRegExp("All of these should be escaped: \ ^ $ * + ? . ( ) | { } [ ]");
(expected) >>> "All of these should be escaped: \\ \^ \$ \* \+ \? \. \( \) \| \{ \} \[ \] "
(but got) >>> "All of these should be escaped:  \^ \$ \* \+ \? \. \( \) \| \{ \} \[ \]"

Then I tried to console.log some string containing '', the output ignores it.
console.log("test string with \ contains")
>>> "test string with   contains"

I have no idea about the result, and I wonder if there is anything misunderstanding.
Thanks!

Backslash is a special character in a string because it's the escaping character. If you want a backslash in a string you have to escape the backslash itself thus console.log('\\'); would result in \.
console.log("test string with \\ contains")
>>> "test string with \ contains"

So the escape regex call should be
escapeRegExp("All of these should be escaped: \\ ^ $ * + ? . ( ) | { } [ ]");

Oh, I get it!!! Thanks very much!!!

authors: SamVerschueren pilagod


text:
fix isArray

Array.isArray is not available in IE8.
https://developer.mozilla.org/de/docs/Web/JavaScript/Reference/Global_Objects/Array/isArray#Browser_Unterst.C3.BCtzung

Not sure IE8 support is needed to be honest.

No thanks

No thanks because you don't want ie8 support or no thanks because my
implementation is rushed because I quickly needed it?
Sindre Sorhus notifications@github.com schrieb am Di., 31. März 2015
17:07:

No thanks
—
Reply to this email directly or view it on GitHub
https://github.com/sindresorhus/query-string/pull/17#issuecomment-88125423
.

No thanks to IE8 support.

authors: Nemo64 kevva sindresorhus

repo: sindresorhus/query-string


text:
collapse-wiki-sections should not run on Wiki edit pages

Visit https://github.com/webpack/webpack/wiki/_new

Paste:
# hello

world

Click "Preview" tab

Click "hello"

This should be done in github-url-detection first I think?

authors: fregante kidonng

repo: sindresorhus/refined-github


text:
Link to repo at time of issue comment

Hey, first off, thank you for this awesome extension! I just went through the features list to check if this one was already implemented, and I didn't realize that so many things I've come to rely on aren't even native GitHub UX things 😄
I've got an idea for a feature...
I often find myself browsing through old issues, and sometimes when reading a discussion I think to myself, "I wonder what that part of the code looked like while that was being discussed". Right now it's super tedious to find out, because you have to remember the comment date, then page through the commits until you find something roughly at that date, and then find the "view files at" button, etc.
It would be super awesome if there was an extra little icon button next to comments that let you "jump to the repo at this point on time"!

That's a very cool idea. I could have used this many times. Pull request welcome if anyone wants to see this happen.

authors: ianstormtaylor sindresorhus


text:
Move backtick parsing in format-conversation-titles

Note format-conversation-titles will be removed in #3409

This doesn't seem to work like the rest of ajaxed GH pieces. The title has its specific update function that just changes the textContent, making which is invisible to our new observer
u(n, '.js-issue-title').textContent = o.issue_title;

format-conversation-titles should probably be excluded from https://github.com/sindresorhus/refined-github/pull/3409 as well.
If anything, format-conversation-titles should be fixed because the title isn't re-parsed when the title is changed

#3458


text:
[Web] Error: Bad state: No element when placeholder not provided

This is my widget:
class _Editor extends StatelessWidget {
  const _Editor({
    Key? key,
    required this.scrollController,
    required this.controller,
    required this.readOnly,
    required this.focus,
  }) : super(key: key);
  final ScrollController scrollController;
  final QuillController controller;
  final FocusNode focus;
  final bool readOnly;
  @override
  Widget build(BuildContext context) {
    final keyboardTheme =
        ThemeProvider.controllerOf(context).theme.id == ThemeIds.dark
            ? Brightness.dark
            : Brightness.light;

    Widget editor = QuillEditor(
      controller: controller..ignoreFocusOnTextChange = true,
      scrollController: scrollController,
      scrollable: true,
      focusNode: focus,
      keyboardAppearance: keyboardTheme,
      autoFocus: false,
      readOnly: readOnly,
      showCursor: !readOnly,
      expands: true,
      padding: EdgeInsets.zero,
    );
    if (kIsWeb) {
      editor = QuillEditor(
        controller: controller..ignoreFocusOnTextChange = true,
        scrollController: scrollController,
        scrollable: true,
        focusNode: focus,
     //   placeholder: 'text',      <- without placeholder the error occurs
        keyboardAppearance: keyboardTheme,
        autoFocus: false,
        readOnly: readOnly,
        showCursor: !readOnly,
        expands: true,
        padding: EdgeInsets.zero,
        embedBuilder: defaultEmbedBuilderWeb,
      );
    }
    return Container(
      child: editor,
    );
  }
}

Controller gets initialized via: QuillController.basic()
Following error occurs:
======== Exception caught by gesture ===============================================================
The following StateError was thrown while handling a gesture:
Bad state: No element

When the exception was thrown, this was the stack:
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 236:49  throw_
dart-sdk/lib/_internal/js_dev_runtime/private/js_array.dart 337:5             last]
lib/_engine/engine/text/layout_service.dart 338:18                            [_findLineForY]
lib/_engine/engine/text/layout_service.dart 301:36                            getPositionForOffset
lib/_engine/engine/text/canvas_paragraph.dart 227:27                          getPositionForOffset
...
Handler: "onTapUp"
Recognizer: TapGestureRecognizer#8b819
  debugOwner: _EditorTextSelectionGestureDetectorState#b501e
  state: ready
  won arena
  finalPosition: Offset(435.3, 678.5)
  finalLocalPosition: Offset(401.3, 27.5)
  button: 1
  sent tap down
====================================================================================================

Version: flutter_quill: ^1.3.4
flutter doctor -v:
[✓] Flutter (Channel stable, 2.2.1, on Mac OS X 10.15.6 19G2021 darwin-x64, locale en-DE)
    • Flutter version 2.2.1 at /Users/markuskrebs/.asdf/installs/flutter/2.2.1-stable
    • Framework revision 02c026b03c (3 weeks ago), 2021-05-27 12:24:44 -0700
    • Engine revision 0fdb562ac8
    • Dart version 2.13.1

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/markuskrebs/Library/Android/sdk
    • Platform android-S, build-tools 30.0.3
    • ANDROID_HOME = /Users/markuskrebs/Library/Android/sdk
    • Java binary at: /Users/markuskrebs/Library/Java/JavaVirtualMachines/corretto-1.8.0_292/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment Corretto-8.292.10.1 (build 1.8.0_292-b10)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.4, Build version 12D4e
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[!] Android Studio
    • Android Studio at /Users/markuskrebs/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/203.7395685/Android Studio Preview.app/Contents
    • 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
    ✗ Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

[✓] VS Code (version 1.57.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.23.0

Make sure you check out sample page

authors: jayjah singerdmx

repo: singerdmx/flutter-quill


text:
Modifying table with first cell empty

I'm trying to modify this slide's table:

And having this error:

TypeError: Cannot read properties of undefined (reading 'parentNode')
at Function.insertAfter (/Users/gustavo/Documents/projects/labs/pptx-automizer/src/helper/xml-helper.ts:511:26)
at XmlElements.text (/Users/gustavo/Documents/projects/labs/pptx-automizer/src/helper/xml-elements.ts:30:15)
at ModifyXmlHelper.createElement (/Users/gustavo/Documents/projects/labs/pptx-automizer/src/helper/modify-xml-helper.ts:111:33)
at ModifyXmlHelper.assertElement (/Users/gustavo/Documents/projects/labs/pptx-automizer/src/helper/modify-xml-helper.ts:85:14)
at ModifyXmlHelper.modify (/Users/gustavo/Documents/projects/labs/pptx-automizer/src/helper/modify-xml-helper.ts:38:28)
at ModifyXmlHelper.modify (/Users/gustavo/Documents/projects/labs/pptx-automizer/src/helper/modify-xml-helper.ts:59:16)
at ModifyXmlHelper.modify (/Users/gustavo/Documents/projects/labs/pptx-automizer/src/helper/modify-xml-helper.ts:59:16)
at /Users/gustavo/Documents/projects/labs/pptx-automizer/src/modify/modify-table.ts:36:20
at Array.forEach ()
at /Users/gustavo/Documents/projects/labs/pptx-automizer/src/modify/modify-table.ts:34:18

If I fill the first cell it works, but unfortunately I can't ask the users to modify their pptx.
Is this a bug or expected behavior and what's the way to fix it? I found this issue: https://github.com/singerla/pptx-automizer/issues/76 , but this case seems different because the table is not technically empty, and I don't want to put anything in that position anyways. Could the cell be ignored instead of raising an error maybe?
Thanks!

That's a bug. The latest commit contains a quick fix to skip a cell without content. Please let me know, if this helps you out.
There is a difference between an empty cell in a recently created table and an empty cell after manually remove all characters. The latter will still contain a '<a:p>' parent node, which is necessary for XmlElements.text to work. I still need to handle this.
Thanks a lot for pointing out!

authors: llermaly singerla

repo: singerla/pptx-automizer


text:
[python] Drop support for Python 3.8 (EOL 2024/10)

Split out from #1849, in particular https://github.com/single-cell-data/TileDB-SOMA/issues/1849#issuecomment-1922215496, as requested by @bkmartinjr.
Needs deprecation pre-work in various packages/organizations that depend on TileDB-SOMA. Not for immediate implementation; a longer-term tracking issue.
sc-41048

See also #2282 for two warnings we can get rid of once we drop 3.8 support

We also need to handle these:
FutureWarning: SparseDataset is deprecated and will be removed in late 2024. It has been replaced by the public classes CSRDataset and CSCDataset.

For instance checks, use `isinstance(X, (anndata.experimental.CSRDataset, anndata.experimental.CSCDataset))` instead.

cc @jp-dark

See also #1785

Re-closing; #1785 is open and suffices

repo: single-cell-data/TileDB-SOMA


text:
System user and group

I have taken the commit from PR #61 and added a commit to add system option to user creation as well.

@kfiresmith This role doesn't seem to be actively developed any more 😕

Thanks @noplanman  - I've emailed the contact email addresses to see if SinglePlatform is no longer interested in maintaining this role.  If that is the case, I'd like to propose a neutral community fork of this role since it's the most feature-complete and used local user management role in Galaxy.

@kfiresmith I say go ahead and fork, that's what open source is about 👍
As long as you state that you're building on top of the great foundation of this role, that should be totally fine.
Please let me/us know when you have, so that I/we can change roles and make use of any new features 😇
Thank you!

authors: janorn kfiresmith noplanman

repo: singleplatform-eng/ansible-users


text:
Pre-cleaner update

Different updates on pre-cleaner, including new default to separate "." from word boundaries.
Added unit-tests for different pre-cleaner modules, and integration test for the pre-cleaner pipeline.

Closed because CircleCI won't process new commits. Resubmitting to see if it helps.

repo: singnet/language-learning


text:
Text change in the last tutorial card

Is your feature request related to a problem? Please describe.
The last tutorial card says Last.
Describe the solution you'd like
I will change the 'Last' to 'Start'
Describe alternatives you've considered
In addition if you permit I would like to add hover effects to the tutorial button, 'Skip' 'Next' 'Back'
Additional context

@singodiyashubham87 This is my first time participating in GSSoC, I would like you to assign this issue to me as I am participating in GSSoC'24 as a contributor.

@ayush-848 I've assigned the issue to you, You may proceed now.
Best of Luck :)

@singodiyashubham87 I am not able to find this specific part in the code

@singodiyashubham87 I have done the PR, I have installed the lastest Vite version and I have changed the last button to Start

@singodiyashubham87 thanks for guiding me

Btw @singodiyashubham87 will this be considered as a level 1 PR?

@singodiyashubham87 please assign labels to the Merge


text:
chore(build): use rustls

Signed-off-by: Alex Chi iskyzh@gmail.com
What's changed and what's your intention?
As title
Checklist

[x] I have written necessary docs and comments
[x] I have added necessary unit tests and integration tests
[x] All checks passed in ./risedev check (or alias, ./risedev c)

Refer to a related PR or issue link (optional)
close https://github.com/singularity-data/risingwave/issues/2973

isahc stills requires openssl 🤣 maybe openssl is still the right choice.

repo: singularity-data/risingwave


text:
feat(frontend): add InternalStateTable Catalog

What's changed and what's your intention?

use Table Message to represent InternalStateTable.
add Table Message in prost of Stream Agg & Join.

Next Step(will be done in next PR)

fill the schemaId, databaseId and name(it will have a encoding so we can filter internal tables from normal tables) of InternalTable in meta.
add InternalTable notify in meta.

Checklist

[x] I have written necessary docs and comments
[x] I have added necessary unit tests and integration tests
[x] All checks passed in ./risedev check (or alias, ./risedev c)

Refer to a related PR or issue link (optional)
part of #3053

Any update for this PR?

Any update for this PR?

I intended to add meta part in another PR. Maybe I can commit directly to this one.

authors: WindowsXp-Beta wcy-fdu


text:
slack test2

slack test2

good!

authors: junhyeongpak sinnee


text:
Problem with new line

Well... This problem is really really odd...
I am trying to use the transform to add new field to the payload and then using the new field in the actions.
But - i can't add new line to my new field.
That is my transform code(The rest of the alarm is not important):
  "script": {
    "script": "var results=payload.aggregations.group_by_hosts.buckets;var text='';for(var i=0;i<results.length;i++){text+=results[i].key + ':' + results[i].average.value + '\n';}payload.hosts=text;"
  }
}```

please paste a sample of input data and the expected output

For example: I have 2 servers(named ser1 and ser2) which have low CPU idle.
I want to send an E-mail to myself which will look like that:
ser1 low CPU idle: <idle_value>
ser2 low CPU idle: <idle_value>
I want to create a long string with '/n' in the middle. But as I said,the watcher is failing...

You can use email_html and loop through the reporting items with mustache:
{{#hosts}} <p> {{ some_value}} </p> {{/hosts}}
For more ideas see the mustache documentation and examples - hope this helps!

@lmangani  I figured it out. Just wanted to report on the bug :smile:

@masterofcloud1 thanks! I don't really consider this a bug, since all the "formatting" is to be done in actions, but its appreciated nevertheless to improve documentation and examples

authors: lmangani masterofcloud1 sergibondarenko

repo: sirensolutions/sentinl


text:
Sisimai 4200

Issue #199 Experimental implementation: New MTA modules for 2 Cloud Email Deliveries, Sisimai::CED::US::AmazonSES and Sisimai::CED::US::SendGrid. These modules can parse JSON formatted bounce objects and can convert to Sisimai::Data object; issue #199.
Format of "smtpagent" in the parsed result has been changed. It includes the category name of MTA/MSP modules like "MTA::Sendmail", "MTA::Exim",  and "MSP::US::SendGrid": issue #200.
The Domain part of dummy email address defined in Sisimai::Address module has been changed from "dummy-domain.invalid" to "libsisimai.org.invalid"; issue #202.
Sisimai::SMTP->is_softbounce() method has been deleted.

Coverage decreased (-0.2%) to 93.87% when pulling 78ce00f64911ae988b511d61fbbe623eb9f77a3e on sisimai-4200 into 5d12037a4786737a3900a73bfb93d9d8d2f217fa on master.

Coverage decreased (-0.07%) to 93.995% when pulling a71d69d200b9185ef68359b5ce2e09aa74e12f16 on sisimai-4200 into 5d12037a4786737a3900a73bfb93d9d8d2f217fa on master.

Coverage decreased (-0.07%) to 93.995% when pulling a71d69d200b9185ef68359b5ce2e09aa74e12f16 on sisimai-4200 into 5d12037a4786737a3900a73bfb93d9d8d2f217fa on master.

Coverage increased (+0.2%) to 94.247% when pulling bc0d037765992bf1048cc1accd8ab1881b5d7cda on sisimai-4200 into 5d12037a4786737a3900a73bfb93d9d8d2f217fa on master.

Coverage increased (+0.5%) to 94.513% when pulling 981712f3bfa9144f28a481c12a1fa645b4894749 on sisimai-4200 into 5d12037a4786737a3900a73bfb93d9d8d2f217fa on master.

Coverage increased (+0.6%) to 94.639% when pulling 568d2474c9674ef78ca4cc134d5d988f241b68f6 on sisimai-4200 into 5d12037a4786737a3900a73bfb93d9d8d2f217fa on master.

Coverage increased (+1.03%) to 95.094% when pulling 2de12680920155a1010f8e8e1a82a8bf2e149c74 on sisimai-4200 into 5d12037a4786737a3900a73bfb93d9d8d2f217fa on master.

Coverage increased (+1.03%) to 95.094% when pulling 2de12680920155a1010f8e8e1a82a8bf2e149c74 on sisimai-4200 into 5d12037a4786737a3900a73bfb93d9d8d2f217fa on master.

Coverage increased (+1.03%) to 95.094% when pulling 2de12680920155a1010f8e8e1a82a8bf2e149c74 on sisimai-4200 into 5d12037a4786737a3900a73bfb93d9d8d2f217fa on master.

Coverage increased (+1.03%) to 95.094% when pulling 2de12680920155a1010f8e8e1a82a8bf2e149c74 on sisimai-4200 into 5d12037a4786737a3900a73bfb93d9d8d2f217fa on master.

Coverage increased (+1.03%) to 95.094% when pulling 2de12680920155a1010f8e8e1a82a8bf2e149c74 on sisimai-4200 into 5d12037a4786737a3900a73bfb93d9d8d2f217fa on master.

Coverage increased (+0.7%) to 94.796% when pulling cc269f1a0d3f6ae5ff51e0ac129301c94b3d435e on sisimai-4200 into 5d12037a4786737a3900a73bfb93d9d8d2f217fa on master.

Coverage increased (+1.08%) to 95.141% when pulling ddf319915ea12d245d4c6ca557d0a1e8a114a92b on sisimai-4200 into 5d12037a4786737a3900a73bfb93d9d8d2f217fa on master.

Coverage increased (+1.08%) to 95.141% when pulling c4203b8bc0976eec8ca5e73d608fc68423513387 on sisimai-4200 into 5d12037a4786737a3900a73bfb93d9d8d2f217fa on master.

Coverage increased (+1.08%) to 95.141% when pulling e96bc987f99db042035529e3b4d8a2c2e807ed13 on sisimai-4200 into 5d12037a4786737a3900a73bfb93d9d8d2f217fa on master.

Coverage increased (+1.08%) to 95.141% when pulling f5a851fb334a80094fc7fff56132ffeeaf65b94f on sisimai-4200 into 5d12037a4786737a3900a73bfb93d9d8d2f217fa on master.

Coverage increased (+1.08%) to 95.141% when pulling 8ce6b0bc52be1a0682d407fc77caaa319f3132fd on sisimai-4200 into 5d12037a4786737a3900a73bfb93d9d8d2f217fa on master.

Coverage increased (+1.08%) to 95.14% when pulling 8489b5b7b59abb641aa8765717ecb1ea636365cd on sisimai-4200 into 5d12037a4786737a3900a73bfb93d9d8d2f217fa on master.

Coverage increased (+1.08%) to 95.14% when pulling 07d8f64accef0ae6d1fb62966a56c0cf1c8f85c6 on sisimai-4200 into 5d12037a4786737a3900a73bfb93d9d8d2f217fa on master.

Coverage increased (+1.08%) to 95.14% when pulling 60500e3db45d51c2d56d4ecbd6ce93b43c27c549 on sisimai-4200 into 5d12037a4786737a3900a73bfb93d9d8d2f217fa on master.

Coverage increased (+1.08%) to 95.142% when pulling 49e41646f3fa8885715684b0544a9f013e7a0a64 on sisimai-4200 into 5d12037a4786737a3900a73bfb93d9d8d2f217fa on master.

Coverage increased (+1.08%) to 95.142% when pulling 49e41646f3fa8885715684b0544a9f013e7a0a64 on sisimai-4200 into 5d12037a4786737a3900a73bfb93d9d8d2f217fa on master.

Coverage increased (+1.08%) to 95.142% when pulling 49e41646f3fa8885715684b0544a9f013e7a0a64 on sisimai-4200 into 5d12037a4786737a3900a73bfb93d9d8d2f217fa on master.

Coverage increased (+1.08%) to 95.142% when pulling 49e41646f3fa8885715684b0544a9f013e7a0a64 on sisimai-4200 into 5d12037a4786737a3900a73bfb93d9d8d2f217fa on master.

Coverage increased (+1.08%) to 95.142% when pulling 49e41646f3fa8885715684b0544a9f013e7a0a64 on sisimai-4200 into 5d12037a4786737a3900a73bfb93d9d8d2f217fa on master.

Coverage increased (+1.08%) to 95.142% when pulling 49e41646f3fa8885715684b0544a9f013e7a0a64 on sisimai-4200 into 5d12037a4786737a3900a73bfb93d9d8d2f217fa on master.

Coverage increased (+1.08%) to 95.142% when pulling 49e41646f3fa8885715684b0544a9f013e7a0a64 on sisimai-4200 into 5d12037a4786737a3900a73bfb93d9d8d2f217fa on master.

Coverage increased (+1.08%) to 95.142% when pulling 49e41646f3fa8885715684b0544a9f013e7a0a64 on sisimai-4200 into 5d12037a4786737a3900a73bfb93d9d8d2f217fa on master.

Coverage increased (+1.08%) to 95.142% when pulling 49e41646f3fa8885715684b0544a9f013e7a0a64 on sisimai-4200 into 5d12037a4786737a3900a73bfb93d9d8d2f217fa on master.

Coverage increased (+1.08%) to 95.142% when pulling 49e41646f3fa8885715684b0544a9f013e7a0a64 on sisimai-4200 into 5d12037a4786737a3900a73bfb93d9d8d2f217fa on master.

Coverage increased (+1.08%) to 95.142% when pulling 49e41646f3fa8885715684b0544a9f013e7a0a64 on sisimai-4200 into 5d12037a4786737a3900a73bfb93d9d8d2f217fa on master.

Coverage increased (+1.08%) to 95.142% when pulling 49e41646f3fa8885715684b0544a9f013e7a0a64 on sisimai-4200 into 5d12037a4786737a3900a73bfb93d9d8d2f217fa on master.

Coverage increased (+1.08%) to 95.142% when pulling 49e41646f3fa8885715684b0544a9f013e7a0a64 on sisimai-4200 into 5d12037a4786737a3900a73bfb93d9d8d2f217fa on master.

Coverage increased (+1.08%) to 95.142% when pulling 49e41646f3fa8885715684b0544a9f013e7a0a64 on sisimai-4200 into 5d12037a4786737a3900a73bfb93d9d8d2f217fa on master.

Coverage increased (+1.08%) to 95.142% when pulling 49e41646f3fa8885715684b0544a9f013e7a0a64 on sisimai-4200 into 5d12037a4786737a3900a73bfb93d9d8d2f217fa on master.

Coverage increased (+1.07%) to 95.135% when pulling f65c87c762b5c517e126c9b51a14b2d59b2a121c on sisimai-4200 into 5d12037a4786737a3900a73bfb93d9d8d2f217fa on master.

Coverage increased (+1.07%) to 95.135% when pulling f65c87c762b5c517e126c9b51a14b2d59b2a121c on sisimai-4200 into 5d12037a4786737a3900a73bfb93d9d8d2f217fa on master.

Coverage increased (+1.07%) to 95.135% when pulling f65c87c762b5c517e126c9b51a14b2d59b2a121c on sisimai-4200 into 5d12037a4786737a3900a73bfb93d9d8d2f217fa on master.

Coverage increased (+1.07%) to 95.135% when pulling f65c87c762b5c517e126c9b51a14b2d59b2a121c on sisimai-4200 into 5d12037a4786737a3900a73bfb93d9d8d2f217fa on master.

Coverage increased (+1.07%) to 95.135% when pulling f65c87c762b5c517e126c9b51a14b2d59b2a121c on sisimai-4200 into 5d12037a4786737a3900a73bfb93d9d8d2f217fa on master.

Coverage increased (+1.07%) to 95.135% when pulling f65c87c762b5c517e126c9b51a14b2d59b2a121c on sisimai-4200 into 5d12037a4786737a3900a73bfb93d9d8d2f217fa on master.

Coverage increased (+1.07%) to 95.135% when pulling f65c87c762b5c517e126c9b51a14b2d59b2a121c on sisimai-4200 into 5d12037a4786737a3900a73bfb93d9d8d2f217fa on master.

Coverage increased (+1.07%) to 95.135% when pulling f65c87c762b5c517e126c9b51a14b2d59b2a121c on sisimai-4200 into 5d12037a4786737a3900a73bfb93d9d8d2f217fa on master.

Coverage increased (+1.07%) to 95.135% when pulling f65c87c762b5c517e126c9b51a14b2d59b2a121c on sisimai-4200 into 5d12037a4786737a3900a73bfb93d9d8d2f217fa on master.

Coverage increased (+1.07%) to 95.135% when pulling f65c87c762b5c517e126c9b51a14b2d59b2a121c on sisimai-4200 into 5d12037a4786737a3900a73bfb93d9d8d2f217fa on master.

Coverage increased (+1.07%) to 95.135% when pulling f65c87c762b5c517e126c9b51a14b2d59b2a121c on sisimai-4200 into 5d12037a4786737a3900a73bfb93d9d8d2f217fa on master.

Coverage increased (+1.07%) to 95.135% when pulling f65c87c762b5c517e126c9b51a14b2d59b2a121c on sisimai-4200 into 5d12037a4786737a3900a73bfb93d9d8d2f217fa on master.

Coverage increased (+1.07%) to 95.135% when pulling f65c87c762b5c517e126c9b51a14b2d59b2a121c on sisimai-4200 into 5d12037a4786737a3900a73bfb93d9d8d2f217fa on master.

Coverage increased (+1.07%) to 95.135% when pulling f65c87c762b5c517e126c9b51a14b2d59b2a121c on sisimai-4200 into 5d12037a4786737a3900a73bfb93d9d8d2f217fa on master.

Coverage increased (+1.07%) to 95.135% when pulling f65c87c762b5c517e126c9b51a14b2d59b2a121c on sisimai-4200 into 5d12037a4786737a3900a73bfb93d9d8d2f217fa on master.

Coverage increased (+1.07%) to 95.135% when pulling 237c77e66f9948e33d2efa9e9c6525b4567b5a7a on sisimai-4200 into 5d12037a4786737a3900a73bfb93d9d8d2f217fa on master.

Coverage increased (+1.07%) to 95.135% when pulling 237c77e66f9948e33d2efa9e9c6525b4567b5a7a on sisimai-4200 into 5d12037a4786737a3900a73bfb93d9d8d2f217fa on master.

Coverage increased (+1.07%) to 95.135% when pulling 237c77e66f9948e33d2efa9e9c6525b4567b5a7a on sisimai-4200 into 5d12037a4786737a3900a73bfb93d9d8d2f217fa on master.

Coverage increased (+1.07%) to 95.135% when pulling 237c77e66f9948e33d2efa9e9c6525b4567b5a7a on sisimai-4200 into 5d12037a4786737a3900a73bfb93d9d8d2f217fa on master.

Coverage increased (+1.07%) to 95.135% when pulling 237c77e66f9948e33d2efa9e9c6525b4567b5a7a on sisimai-4200 into 5d12037a4786737a3900a73bfb93d9d8d2f217fa on master.

Coverage increased (+1.07%) to 95.135% when pulling 237c77e66f9948e33d2efa9e9c6525b4567b5a7a on sisimai-4200 into 5d12037a4786737a3900a73bfb93d9d8d2f217fa on master.

Coverage increased (+1.07%) to 95.135% when pulling 237c77e66f9948e33d2efa9e9c6525b4567b5a7a on sisimai-4200 into 5d12037a4786737a3900a73bfb93d9d8d2f217fa on master.

Coverage increased (+1.07%) to 95.135% when pulling 237c77e66f9948e33d2efa9e9c6525b4567b5a7a on sisimai-4200 into 5d12037a4786737a3900a73bfb93d9d8d2f217fa on master.

Coverage increased (+1.07%) to 95.135% when pulling 237c77e66f9948e33d2efa9e9c6525b4567b5a7a on sisimai-4200 into 5d12037a4786737a3900a73bfb93d9d8d2f217fa on master.

Coverage increased (+1.07%) to 95.135% when pulling 237c77e66f9948e33d2efa9e9c6525b4567b5a7a on sisimai-4200 into 5d12037a4786737a3900a73bfb93d9d8d2f217fa on master.

Coverage increased (+1.07%) to 95.135% when pulling 237c77e66f9948e33d2efa9e9c6525b4567b5a7a on sisimai-4200 into 5d12037a4786737a3900a73bfb93d9d8d2f217fa on master.

Coverage increased (+1.07%) to 95.135% when pulling 237c77e66f9948e33d2efa9e9c6525b4567b5a7a on sisimai-4200 into 5d12037a4786737a3900a73bfb93d9d8d2f217fa on master.

Coverage increased (+1.07%) to 95.135% when pulling 237c77e66f9948e33d2efa9e9c6525b4567b5a7a on sisimai-4200 into 5d12037a4786737a3900a73bfb93d9d8d2f217fa on master.

Coverage increased (+1.07%) to 95.135% when pulling 237c77e66f9948e33d2efa9e9c6525b4567b5a7a on sisimai-4200 into 5d12037a4786737a3900a73bfb93d9d8d2f217fa on master.

Coverage increased (+1.07%) to 95.135% when pulling 237c77e66f9948e33d2efa9e9c6525b4567b5a7a on sisimai-4200 into 5d12037a4786737a3900a73bfb93d9d8d2f217fa on master.

Coverage increased (+1.07%) to 95.135% when pulling d4d92559b662ca48c69a801ae143fd362c8cb3f3 on sisimai-4200 into 5d12037a4786737a3900a73bfb93d9d8d2f217fa on master.

Coverage increased (+1.07%) to 95.135% when pulling 25226f4e154473685ca368d13537b179e06c8d7f on sisimai-4200 into 5d12037a4786737a3900a73bfb93d9d8d2f217fa on master.

Coverage increased (+1.07%) to 95.136% when pulling 88f00ca35022dd7a7fe1773713cb273fa3d38642 on sisimai-4200 into 5d12037a4786737a3900a73bfb93d9d8d2f217fa on master.

Coverage increased (+1.07%) to 95.136% when pulling d1b7513b8d2a51ca80f7ff421e941c0c2dcbc85f on sisimai-4200 into 5d12037a4786737a3900a73bfb93d9d8d2f217fa on master.

Coverage increased (+1.07%) to 95.136% when pulling d1b7513b8d2a51ca80f7ff421e941c0c2dcbc85f on sisimai-4200 into 5d12037a4786737a3900a73bfb93d9d8d2f217fa on master.

Coverage increased (+1.07%) to 95.136% when pulling d1b7513b8d2a51ca80f7ff421e941c0c2dcbc85f on sisimai-4200 into 5d12037a4786737a3900a73bfb93d9d8d2f217fa on master.

Coverage increased (+1.07%) to 95.136% when pulling d1b7513b8d2a51ca80f7ff421e941c0c2dcbc85f on sisimai-4200 into 5d12037a4786737a3900a73bfb93d9d8d2f217fa on master.

Coverage increased (+1.07%) to 95.136% when pulling d1b7513b8d2a51ca80f7ff421e941c0c2dcbc85f on sisimai-4200 into 5d12037a4786737a3900a73bfb93d9d8d2f217fa on master.

Coverage increased (+1.07%) to 95.136% when pulling d1b7513b8d2a51ca80f7ff421e941c0c2dcbc85f on sisimai-4200 into 5d12037a4786737a3900a73bfb93d9d8d2f217fa on master.

Coverage increased (+1.07%) to 95.136% when pulling d1b7513b8d2a51ca80f7ff421e941c0c2dcbc85f on sisimai-4200 into 5d12037a4786737a3900a73bfb93d9d8d2f217fa on master.

Coverage increased (+1.07%) to 95.136% when pulling d1b7513b8d2a51ca80f7ff421e941c0c2dcbc85f on sisimai-4200 into 5d12037a4786737a3900a73bfb93d9d8d2f217fa on master.

Coverage increased (+1.07%) to 95.136% when pulling d1b7513b8d2a51ca80f7ff421e941c0c2dcbc85f on sisimai-4200 into 5d12037a4786737a3900a73bfb93d9d8d2f217fa on master.

Coverage increased (+1.07%) to 95.136% when pulling d1b7513b8d2a51ca80f7ff421e941c0c2dcbc85f on sisimai-4200 into 5d12037a4786737a3900a73bfb93d9d8d2f217fa on master.

Coverage increased (+1.07%) to 95.136% when pulling d1b7513b8d2a51ca80f7ff421e941c0c2dcbc85f on sisimai-4200 into 5d12037a4786737a3900a73bfb93d9d8d2f217fa on master.

Coverage increased (+1.07%) to 95.136% when pulling d1b7513b8d2a51ca80f7ff421e941c0c2dcbc85f on sisimai-4200 into 5d12037a4786737a3900a73bfb93d9d8d2f217fa on master.

Coverage increased (+1.07%) to 95.136% when pulling d1b7513b8d2a51ca80f7ff421e941c0c2dcbc85f on sisimai-4200 into 5d12037a4786737a3900a73bfb93d9d8d2f217fa on master.

Coverage increased (+1.07%) to 95.136% when pulling d1b7513b8d2a51ca80f7ff421e941c0c2dcbc85f on sisimai-4200 into 5d12037a4786737a3900a73bfb93d9d8d2f217fa on master.

Coverage increased (+1.07%) to 95.136% when pulling 1ace3af984f0db720c50b17a633c7c66f8fdaadf on sisimai-4200 into 5d12037a4786737a3900a73bfb93d9d8d2f217fa on master.

authors: azumakuniyuki coveralls


text:
YOUR_GPSI_KEY

Sorry for the dumb question but where/how do I get that key?
Thanks!

Hey @taytus there are no dumb question :) You need to register at Google to get the key, I don’t have.a direct link but try searching for it. If you find it, please let me know so I can update the README.
Best
Peter

https://support.google.com/cloud/answer/6158862

Got it! I think I made it work.
It's not giving me errors when I add the plugin.
What should I see differently in the report? What's/where is the new section added.
I thought this will add a lot of values coming from GPSI but I can't find those. I'm new to sitespeed.io so maybe is there and I don't see it :P
Thank you!

There should be a new tab on the page summary page named GPSI?

Hello @soulgalore
Sorry, something is not working... and I'm not sure what I'm doing wrong because no error message or warning is being displayed.

I cloned the repo and followed all the steps to add the plugin
2- When I ran sitespeed.io using bin/sitespeed.js --plugins.add ../plugin-gpsi/lib/ --gpsi.key MY_GPSI_KEY https://www.sitespeed.io/ -n 1, everything seems to be working. I have these output messaages:

Sending url https://www.sitespeed.io/ to test on Page Speed Insights
and
Got https://www.sitespeed.io/ analysed from Google Page Speed Insights

So I guess the plugin is working.
But no tab has been added to my report: https://www.dropbox.com/s/zq3pbgr6vrmagut/Screenshot 2018-06-21 16.20.39.png?dl=0
Any idea what I'm doing wrong?
Any other info I could provide?
Thank you so much for your time.

Hey @taytus np I think you are just looking at the wrong place. Click on "Pages" and then choose one of the URLs that you have tested. Then you should have an extra tab here:

Best
Peter

Hi @soulgalore,
Thank you so much for your help Peter, I really appreciate it. Sadly, even when I've followed all the steps and tried different ways to install the plugin, I haven't been successful.
Please feel free to close this ticket.
Feature request: It would be awesome if we could have a 1-minute video (or less) showing how to install the plugin.
Cheers.

Great! Thanks @taytus . Yep good idea. Ping @beenanner what do you think about a video for how to run plugins? I like that idea.
Best
Peter

Sound like a great idea!

authors: beenanner soulgalore taytus

repo: sitespeedio/plugin-gpsi


text:
deleted: demo because have vulnerability closed #18

This demo have CSRF and XSS vulnerability.
You should access to
http://homepages.inf.ed.ac.uk/cgi/s1051585/udeplambda?defaultQuery.0=Pixar%2C+the+company+which+Disney+acquired%2C+made+Ratatouille.&defaultQuery.1=Pixar%2C+die+Firma+die+Disney+kaufte%2C+machte+Ratatouille.&defaultQuery.2=Pixar%2C+la+empresa+que+Disney+adquirió%2C+hizo+Ratatouille.&query=<%2Ftextarea><script>alert("This+is+XSS+demo.+The+attacker+can+run+some+code.+Example%2C+redirect+to+malware+distribution+site+on+your+domain.")%3B<%2Fscript><textarea>&language=en
So I delete demo code.
I do not know CGI.
And I am not your server operator.
Please check correct.

@sivareddyg
Since the demo has not disappeared from the web server, the vulnerability has not disappeared.
This is a problematic vulnerability so it is better to erase it.

repo: sivareddyg/UDepLambda


text:
kein Wechsel der App, wenn eine Nachricht kommt

Wenn ich im q+g Slack bin und eine direkte Nachricht im bloody quäntchen Slack kommt, wechselt die App ind BQ Slack, ohne, dass ich das will :-(

Firstly – call me meticulous @nelemath – it is common to write in english on GitHub ;-)
Now my question: did this happen on version 0.0.1 or 0.0.2?

authors: nelemath sixmonkey

repo: sixmonkey/schaltzentrale


text:
EOFException While Connecting (1.8.1)

git/clojurecraft/master ☣(solo)> lein swank
Connection opened on localhost port 4005.
Exception in thread "Thread-26" java.lang.RuntimeException: java.io.EOFException
at clojure.lang.AFn.run(AFn.java:28)
at java.lang.Thread.run(Thread.java:680)
Caused by: java.io.EOFException
at java.io.DataInputStream.readByte(DataInputStream.java:250)
at clojurecraft.in$_read_byte_bare.invoke(in.clj:24)
at clojurecraft.in$_read_byte.invoke(in.clj:28)
at clojurecraft.in$read_packet.invoke(in.clj:710)
at clojurecraft.core$input_handler.invoke(core.clj:54)
at clojurecraft.core$connect$fn__4163.invoke(core.clj:143)
at clojure.lang.AFn.run(AFn.java:24)
... 1 more
On the server side:
2011-09-22 22:30:43 [INFO] Disconnecting /127.0.0.1:54452: Took too long to log in
java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at java.net.SocketInputStream.read(SocketInputStream.java:182)
at java.io.DataInputStream.readInt(DataInputStream.java:371)
at la.a(SourceFile:40)
at in.a(SourceFile:145)
at ma.h(SourceFile:190)
at ma.c(SourceFile:10)
at ta.run(SourceFile:77)

I'm going to close this because it's been forever since it was opened and we've updated to work with a much newer protocol version.  Let me know if it's still a problem.

authors: devn sjl

repo: sjl/clojurecraft


text:
Bitbucket:105 設定→ツールバーの項目順

項目「テキストの長さ」に続く項目

自動的に隠す
テキストを表示する

これ「テキストの長さ」に準じれば順番逆じゃね？

BitBucket から移植

項目
内容

元課題
#105

起票日時
2014-11-30T23:24:24Z

起票者
sk_0520

bb3438add614a2876a141344a2e271b78cb7958f

BitBucket から移植

項目
内容

元コメント
#105 コメント

コメント日時
2014-12-01T22:45:14Z

コメントユーザー
sk_0520

Removing component: PeMain (automated comment)

BitBucket から移植

項目
内容

元コメント
#105 コメント

コメント日時
2020-02-24T21:18:24Z

コメントユーザー
sk_0520

license: WTFPL


text:
💡[Feature]: Light mode for FAQ page

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
Styles for faq page for light mode seem to be absent. Id like to add suitable light mode styling to the page
Use Case

Benefits
No response
Add ScreenShots
No response
Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

@Jasleen1210 already being worked on in #508


text:
fails() is true when processing a rule without matching input value

Hi,
Today I noticed that while validating a rule without a matching input value it is possible to get a fail state.  At the moment, in my situation, it would be preferable to have the validation pass in such a situation.   However, Im not really sure of why a validation should fail if a rule exists, but not the matching input value.  It seems like it should be possible to have a rules list that contains validations that should not be executed for every validation.  For instance if I have a common validation json that I want to be used for the entire project.
Please let me know if Im thinking in the wrong direction.

Hi Alex,
Thanks for the feedback. I think in some cases you'd want it to fail and others you would not. For example, the following I would probably want to fail.
var validation = new Validator({}, { name: 'required' });

I definitily see your point too though. What you could do instead would be to create a custom rules object based on your validation json. Something like:
var rules = {

var validation = new Validator({}, { name: nameValidation });

It shouldn't fail unless your using the required rule. @alexkaraman85 can you provide code example or is this no longer an issue?

@alexkaraman85 please create a new issue if you need anymore assistance.


text:
_config.yaml read too often

As soon as I started using this plugin, I started seeing oodles of
Configuration file: /home/zway/src/kata/code/_config.yaml

when I change a single Markdown file while jekyll serve is running.
Some digging leads me to believe that Jekyll::Heroicons#config is invoked for every use of {% heroicon ...%}.  That seems like overkill.
I think that instead of @config, an instance variable, you should be using @@config, a class variable, so that the configuration is only read once.
Note that jekyll serve needs a restart when changing _config.yaml anyway.

@paddy-hack thank you for reporting this issue and such a thorough investigation.
I was able to reproduce this on two of my projects as well. Small, but very annoying issue.
Rubygems should already have 0.4.1 release with this issue resolved.

authors: paddy-hack skatkov

repo: skatkov/jekyll-heroicons


text:
Задачи для новичков

Что мы хотим?
Сделать раздел с задачи для новичков.
Сейчас хочется послушать предложения о том, какие задачи могут быть одновременно интересными и не слишком сложными для выполнения.
В каком виде?
Каждая задача — это:

Постановка задачи;
Описание необходимых для выполнения навыков (мол, нужно знать рефлексию и LINQ);
В идеале еще и базовый интерфейс + автотесты.

Возможно для задач придется создать отдельный репозиторий — так их будет проще клонировать и выполнять. Но первоочередная задача сейчас это придумать сами задачи и их описания.
Зачем?
Учиться без практических задач сложно, а самоучкам зачастую не хватает именно поводов попрактиковаться. Нам нужно максимально упростить такую практику, чтобы убрать ступоры вроде «не могу придумать задачу» или «непонятно, нормально оно работает или нет».

Так как есть отличные ресурсы, где можно решать сотни задач от простого к сложному. С тестами и с примерами.

А подкинете идеи, где можно решать именно задачи на практику тех или иных инструментов? Вроде EF, ASP.NET, чего-то базам данных и так далее?
Просто упомянутые ресурсы это именно алгоритмические задачки. Они подходят для подготовки к собесам, но совсем не подходят для практики «энтерпрайзных» навыков и инструментов. И вот именно таких, энтерпрайзных задач я совсем не встречал.

По упомянутым ресурсам — разберу и что-нибудь наверняка сделаю.

@nevoroman  Хотел бы я сказать что на LeetCode  есть не только алгоритмические задачи, но и на работу с БД.
Но к моему сожалению их слишком мало.
По энтерпрайзным задачам,  я их тоже в таком варианте не встречал. Но наверное этому тоже есть причина. Так как сформировать энтерпрайз задачу в вакуумном пространстве  с интерфейсом и автотестами крайне не просто.
Ну и можно упомянуть ресурс где не мало задач и отличного материала Ulearn.me

@nevoroman есть пара мыслей, как можно реализовать ентерпрайзовые задачки, но хз где брать более-менее подробные постановки задач с тестами.
БД и SQL: некая заранее инициализированная БД и задачки на составление запросов.
В этом плане есть неплохие ресурсы от Postgrespro: https://postgrespro.ru/education/demodb
aspnet и прочее: Как постановка задачи - спецификация сервиса, а тесты должны эту спецификацию тестировать.
Не уверен на счёт адекватности такого подхода, тк он не будет покрывать навыки по проектированию публичного API, да и примеров таких никогда не видел.

По SQL есть хороший ресурс с упражнениями https://www.sql-ex.ru/
Очень много задачек на написание SQL запросов к небольшим тестовым БД, есть задачки из категории для обучающихся и из категории для желающих посоревноваться в скорости написания и оптимизации запросов.
Также есть задачки на DDL.
Доступно использование нескольких диалектов SQL.
Также доступен туториал по SQL с привязкой к задачкам обучающего этапа.
Ресурс дизайном не блещет, но ничего лучше для тренировки навыка написания sql запросов я пока не встречал.

authors: Kamaew mao29 nevoroman vabka

repo: skbkontur/dotEducation


text:
App Rail Refactored

Fixes #1478

Looking good and working well as far as I can tell!

repo: skeletonlabs/skeleton


text:
xform syntax

was ich mich immer schon gefragt habe: ich nutze do_form an sich gerne, was mich allerdings irritiert, ist, dass die syntax sich so sehr von xform unterscheidet. wäre es nicht möglich, das format anzupassen, so dass man formulardefinitionen zwsichen xform und do_form austauschen kann?

do form basiert auf den REDAXO 3 - Formulagenerator ... also ein Urgroßvater von XFORM ... da werde ich nichts mehr machen.

@cukabeka wenn du Lust hast, forken und umbauen ;-)

hm, weißt du spontan, wo im code das parsing stattfindet? dann kann ich das mal mit dem yform-code vergleichen, evtl lässt sich das ja einfach ersetzen..

ne, do-form 6 https://github.com/skerbis/do-form-6
Der Nachfolger wird für yForm realisiert. - Aber das dauert noch was

authors: cukabeka skerbis


text:
[SubVersioner] Git2go refactor

Refactor the sub versioner to remove all os.Exec().  This includes all git binary calls, wget, and unzip.

Finish ssh support, remove unnecessary calls

Make plain text password env variable for now

repo: skeswa/gophr


text:
PNG decoding

Some PNG files don’t get decoded correctly with Skia4Delphi 2.0.1 on Windows.
Images have been loaded and saved with the following method:
procedure DecodeEncodePng(const AFileNameIn, AFileNameOut: string);
var
    LStreamIn, LStreamOut: TStream;
    LImage: ISkImage;
begin
    LStreamOut := nil;
    LStreamIn := TFileStream.Create(AFileNameIn, fmOpenRead or fmShareDenyWrite);
    try
        LStreamOut := TFileStream.Create(AFileNameOut, fmOpenWrite or fmCreate);

        LImage := TSkImage.MakeFromEncoded(LStreamIn);
        LImage.EncodeToStream(LStreamOut, TSkEncodedImageFormat.PNG);
    finally
        LStreamIn.Free;
        LStreamOut.Free;
    end;
end;

DecodeEncodePng('World_time.png', 'World_time_skia.png');

World_time.png

World_time_skia.png

Hi @FlavienQui!
Thank you very much to report this issue.
We had detected this problem a few days ago and we've even fixed it, it was a problem in the decoder implementation and it can affect not only PNG, but other formats as well. However, we will only make the fix available in version 3.0 that is being developed because the solution we propose involves a lot of changes, including binaries for all platforms.
Version 3.0 will be released later this month.
Until then, a workaround would be to use TBitmap to decode and transform into ISkImage. For example:
uses
  System.IOUtils,
  Skia,
  Skia.FMX;

procedure DecodeEncodePng(const AInput, AOutput: string);
var
  LInputBitmap: TBitmap;
  LImage: ISkImage;
begin
  LInputBitmap := TBitmap.Create;
  try
    LInputBitmap.LoadFromFile(AInput);
    LImage := LInputBitmap.ToSkImage;
  finally
    LInputBitmap.Free;
  end;
  TFile.WriteAllBytes(AOutput, LImage.EncodeToBytes(TSkEncodedImageFormat.PNG));
end;

The same implementation above applies to Vcl as well.
Once again, thanks for the issue report, I will put this World_time.png in the unit tests.
Regards, Vinicius

Hi @viniciusfbb,
Thanks a lot for your reply and your great work on this project.
I'm looking forward version 3.0.
Best regards,
Flavien

The problem was solved in new release. Please download new version 3.0.0.

authors: FlavienQui viniciusfbb


text:
Decide status of skippbox/kompose

Now that things are cleaner with kompose2 , shall we just remove github/kompose and rename this repo to kompose ?
I don't really see the need to keep the original fork of lib compose.

+1. Totally agree.

authors: ngtuna runseb


text:
Namespace of injection medicine

処方薬剤の system 属性は名前空間ありに変更されていますが、注射薬剤のそれは名前空間なしになっています。

今修正しました。attribute form="qualified"へ。

authors: mbot-dev skoba

repo: skoba/mml


text:
Issue6 Windows GUI용 executable 지원 #6

안녕하세요~ 카카오 로저스입니다 :)
PyQt6 라이브러리를 이용해서 Window용 GUI 를 지원하도록 구현한 PR입니다.
총 3가지 화면으로 구성하였습니다.

input 파일과 output 포맷을 설정하는 화면입니다.

실행 로그들이 나오는 화면입니다. Stop 버튼을 눌러 생성을 중단할 수 있습니다.

고지문 생성 후 보여지는 화면으로 생성된 고지문들이 보입니다. Open 버튼을 눌러 고지문을 확인하거나 Go home 버튼을 눌러 1번 화면으로 이동할 수 있습니다. 만약, 고지문 생성도중 중지하거나 예외가 발생하면 파일 탐색기 대신 메시지가 보여지게 됩니다.

아래는 추가로 진행한 작업입니다.

print 로직을 logging 라이브러리를 이용하도록 변경하였습니다.
github action workflow를 추가해 dev, main으로 머지될때 자동으로 exe 파일을 생성합니다.
exe 파일 생성방법은 README에 추가해놓았습니다.

감사합니다 :)

@haksungjang
장학성님 안녕하세요^^
이 PR과 issue7 pr이 open 상태로 있어서 코멘트 드립니다.
혹시 실행이 안되는 등의 문제가 있는걸까요?

@HyunMinH 님!!!
(휴가,여행 등으로) review가 늦어져서 죄송합니다. ㅠㅠㅠ
금주 중에 "반드시" review를 마치도록 하겠습니다. :)

@haksungjang
휴가는 잘 다녀오셨나요? ^^
혹시나 환경문제로 인해 실행이 안되는 이슈가 있는지 궁금해서 코멘트 드렸었습니다.
혹시나 실행이 안되면 말씀해주세요 :)

@HyunMinH 님!
올려주신 PR을 windows 환경에서 테스트해보고 싶어서 미뤄두고 있었는데, 너무 오래 리뷰 진행이 안되었네요. 다시 한번 죄송합니다. Merge 완료했습니다.
덕분에 거의 perfect한 고지문 생성도구가 되어가는 것 같아 기쁩니다! ^^
감사합니다.

onot의 기능이 좀 더 많아져서 저도 기쁘네요~!!
리뷰하시느라 고생많으셨습니다^^

authors: HyunMinH haksungjang

repo: sktelecom/onot


text:
[DOC] N_BEATS "AssertionError: filters should not remove entries all entries" when forecasting with new data - Check clarification of docs

PyTorch-Forecasting version: 0.9.0
PyTorch version: 1.10.0
Python version: 3.7.9
Operating System: MacOS

Expected behavior
After training N-BEATS model with NBeats.from_dataset() I want to predict with an out of sample dataframe with the length of max_encoder_lentgh.
Actual behavior
It throws "AssertionError: filters should not remove entries all entries - check encoder/decoder lengths and lags" if the length of the dataframe is lower than: max_encoder_length + max_prediction_length.
Code to reproduce the problem
https://gist.github.com/fornasari12/5ae6dc414f730beb2bd5c8e267b6c9f1

hello @jdb78, could you help me with this error?

Hi @fornasari12 did you find any solution?

You need to specify an input dataset with the length of max_encoder_length + prediction_length. However, the last prediction_length values are ignored and you can mask them with 0.
TODOs:

[ ] check if the documentation might be improved

authors: benHeid fornasari12 pnsafari

repo: sktime/pytorch-forecasting


text:
Feature: Create file identification generator

Well..., I am not sure if this is the right place to request a feature.
I would like a file identifier generator to be implemented in this plugin. I mean when you create a new file with ANF, the file will have a header enclosed inside a comment (based on the programming language type) that can look like that for instance:
/**
 * ==============
 *   FileName.js
 * ==============
 *
 * @author: Author Name
 * @github: https://github.com/author
 * @contact: author@email.com
 * @created: February, 17 2017
 *
 */

, and which can be configured in Package Setting in Sublime Text.

Hi @devmnrj, this is actually already supported! Take a look at the file_templates setting. I'm going off memory so I could be misremembering but creating something like
{
    "file_templates": {
        "*.js": ["Packages/User/js-template.sublime-snippet"]
    }
}

The contents of that file should then match the formatting of sublime text snippets (http://docs.sublimetext.info/en/latest/extensibility/snippets.html#snippets). When you create the file, it should insert the text from the snippet.

Oops..!
Ok I didn't about it yet. thanks

Hi @devmnrj, I'm going to close this ticket. Please feel free to comment on it if something isn't working as expected.

authors: devmnrj skuroda

repo: skuroda/Sublime-AdvancedNewFile


text:
Can't access SQLite adminer on October 2

Hello,
I can't access to Adminer since the new version, in any of my installations. It's installed with composer and it's all with SQLite databases. I checked Iframe and Autologin in the config.
I'm on October v2.0.14.
The error returned is "invalid security key".
Thanks for you help

This is not just in SQLite, it happens with Mysql as well.

Same here, any solution yet ?

+1

Sorry guys, i'm not planning to support any of my plugins on October v2.

authors: CarolinePublipresse PubliAlex amdiv markandmedia skydiver

repo: skydiver/october-plugin-adminer


text:
Load Icons From Url

is there any way to load icons from url?

Hi, In fact, IconSpinnerAdapter is an example of a custom adapter.
So in this case, you can implement a custom adapter using third party image loading libraries like Glide/Picasso/Fresco/Coil by reference  IconSpinnerAdapter.

Hi @skydoves
Even if we do that, the main view which is shown after item selection extends TextView and setting image from url on TextView as a drawable is pain.
Please help us out.

repo: skydoves/PowerSpinner


text:
安卓小程序里的canvas背景无法透明

canvas.getContext('webgl', { alpha: true });
小程序官方给的代码只能在ios下背景透明，Threejs安卓&iOS都可正常transparent
“gl.clear(gl.COLOR_BUFFER_BIT);
gl.clearColor(0, 0, 0, 0);”
大法也试过了...
小程序 2.16.0 微信 8.0.6 android 11

试了一下官方 android下透明bug的解决办法
canvas.getContext("webgl",{ alpha: true}
在PIXI实例init中植入即可.
各个品牌(oppo 华为)测试通过。

那个初始化时候你把transparent设置为true就可以的了，
var renderer = PIXI.autoDetectRenderer({width:stageWidth, height:stageHeight,transparent:true,premultipliedAlpha:true,'view':canvas});//通过view把小程序的canvas传入
这个transparent:true 初始设置过,在各系统表现不一致，但在小程序里的设getContext("webgl",{ alpha: true})
这里的alpha在如果只是单纯的webgl canvas设置是可以一致表现为透明的。Pixijs或Threejs都需要再设置。

repo: skyfish-qc/pixi-miniprogram


text:
[HELP] Is it possible to get the question list sorted by "Frequency"?

For a premium user, on LeetCode website all problems can be ordered by "Frequency". So I am wondering whether this sorting feature is supported by this LeetCode-CLI tool? Thanks.

Welcome any premium user to contribute to this feature! I don't have premium account thus need your help~

i might be able to help with this

Is there anyone can figure this out??
How is your progress @sfdye ?
Thanks~

authors: sfdye skygragon yanzhang0219

repo: skygragon/leetcode-cli


text:
Password showing as plaintext when logging in

Hi I think this is a great tool, but for security I think when the user inputs a password it should not be shown as plaintext. Currently on my computer when I login my password is shown as plaintext using Git Bash on Windows. Maybe have it like this instead?
username: johndoe
password: *****************

or just not show the password

It SHOULD hide the password, let me find a windows and check it.

I tried on win7 with leetcode-cli@2.0.2, the password is hide on both builtin cmd and git bash.
C:\Users\root>npm install leetcode-cli@latest
......
C:\Users\root>leetcode version
2.0.2
C:\Users\root>leetcode user -l
login: nobody
pass:
[ERROR] invalid password? [0]

It looks like its being shown as plaintext on Windows 10 with version 2.0.2-f44f54b

Currently I don't have win10 around, will look into it when I get one.

@Andrew-peng I think the problem is from git-bash only, please try git CMD or powershell instead.

authors: Andrew-peng skygragon


text:
[core]Unexpected Loop and Return

Describe error
Loop and Return statements compile error
Due to confidentiality reasons, I cannot provide relevant APK for the time being. But I can provide the smali result and JEB decompiling result.
jadx:

JEB:

The smali code is here
.method public static a(Landroid/content/Context;Landroid/content/Intent;)Z
    .registers 4

    .line 1
    invoke-virtual {p0}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;

    move-result-object p0

    const/high16 v0, 0x10000

    .line 2
    invoke-virtual {p0, p1, v0}, Landroid/content/pm/PackageManager;->queryIntentActivities(Landroid/content/Intent;I)Ljava/util/List;

    move-result-object p0

    const/4 p1, 0x0

    if-eqz p0, :cond_15

    .line 3
    invoke-interface {p0}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_15

    const/4 v0, 0x1

    goto :goto_16

    :cond_15
    move v0, p1

    :goto_16
    if-eqz v0, :cond_31

    .line 4
    invoke-interface {p0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object p0

    :cond_1c
    invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_31

    invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Landroid/content/pm/ResolveInfo;

    .line 5
    iget-object v1, v1, Landroid/content/pm/ResolveInfo;->activityInfo:Landroid/content/pm/ActivityInfo;

    if-eqz v1, :cond_1c

    iget-boolean v1, v1, Landroid/content/pm/ActivityInfo;->exported:Z

    if-nez v1, :cond_1c

    goto :goto_32

    :cond_31
    move p1, v0

    .line 6
    :goto_32
    new-instance p0, Ljava/lang/StringBuilder;

    invoke-direct {p0}, Ljava/lang/StringBuilder;-><init>()V

    const-string v0, "isIntentAvaliable(intent):"

    invoke-virtual {p0, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p0, p1}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;

    invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p0

    const-string v0, "IntentUtils"

    invoke-static {v0, p0}, Lcom/vivo/Tips/utils/M;->d(Ljava/lang/String;Ljava/lang/String;)V

    return p1
.end method

Plus: JEB smali result
.method public static a(Context, Intent)Z
          .registers 4
00000000  invoke-virtual      Context->getPackageManager()PackageManager, p0
00000006  move-result-object  p0
00000008  const/high16        v0, 0x00010000
0000000C  invoke-virtual      PackageManager->queryIntentActivities(Intent, I)List, p0, p1, v0
00000012  move-result-object  p0
00000014  const/4             p1, 0
00000016  if-eqz              p0, :2A
:1A
0000001A  invoke-interface    List->size()I, p0
00000020  move-result         v0
00000022  if-lez              v0, :2A
:26
00000026  const/4             v0, 1
00000028  goto                :2C
:2A
0000002A  move                v0, p1
:2C
0000002C  if-eqz              v0, :62
:30
00000030  invoke-interface    List->iterator()Iterator, p0
00000036  move-result-object  p0
:38
00000038  invoke-interface    Iterator->hasNext()Z, p0
0000003E  move-result         v1
00000040  if-eqz              v1, :62
:44
00000044  invoke-interface    Iterator->next()Object, p0
0000004A  move-result-object  v1
0000004C  check-cast          v1, ResolveInfo
00000050  iget-object         v1, v1, ResolveInfo->activityInfo:ActivityInfo
00000054  if-eqz              v1, :38
:58
00000058  iget-boolean        v1, v1, ActivityInfo->exported:Z
0000005C  if-nez              v1, :38
:60
00000060  goto                :64
:62
00000062  move                p1, v0
:64
00000064  new-instance        p0, StringBuilder
00000068  invoke-direct       StringBuilder-><init>()V, p0
0000006E  const-string        v0, "isIntentAvaliable(intent):"
00000072  invoke-virtual      StringBuilder->append(String)StringBuilder, p0, v0
00000078  invoke-virtual      StringBuilder->append(Z)StringBuilder, p0, p1
0000007E  invoke-virtual      StringBuilder->toString()String, p0
00000084  move-result-object  p0
00000086  const-string        v0, "IntentUtils"
0000008A  invoke-static       M->d(String, String)V, v0, p0
00000090  return              p1
.end method

@jygzyc thanks. Jadx trying to avoid code duplication, but in your case it is necessary and looks like jadx missed this case. Right now I am working on CFG checker pass, so jadx will be able to find and fix such cases.

authors: jygzyc skylot

repo: skylot/jadx