Unhandled InvalidOperationException running the EFDemo

When building and running the demo project, the first three demos all work fine, but the final one, demonstrating interaction with Entity Framework Core, fails with an unhandled System.InvalidOperationException.  I believe this is the same error mentioned in discussion topic #317.
To reproduce the error, the following steps should work:

Clone the repo locally with git
Navigate in your terminal to the RulesEngine/demo/DemoApp directory
Run dotnet run
Observe that the first three programs seem to run fine, but the EF demo crashes with the below stack trace.

dotnet run
Running BasicDemo....
Result 'Count is within tolerance.' is as expected.
Test outcome: True.
Running JSONDemo....
Discount offered is 25 % over MRP.
Running NestedInputDemo....
NestedInputDemoWorkflow1 evaluation resulted in success - CheckNestedSimpleProp
NestedInputDemoWorkflow2 evaluation resulted in success - CheckNestedListProp
NestedInputDemoWorkflow3 evaluation resulted in success - CheckNestedListPropFunctions
Running EFDemo....
Unhandled exception. System.InvalidOperationException: The property 'Rule.WorkflowRulesToInject' could not be mapped because it is of type 'IEnumerable<string>', which is not a supported primitive type or a valid entity type. Either explicitly map this property, or ignore it using the '[NotMapped]' attribute or by using 'EntityTypeBuilder.Ignore' in 'OnModelCreating'.
   at Microsoft.EntityFrameworkCore.Infrastructure.ModelValidator.ValidatePropertyMapping(IModel model, IDiagnosticsLogger`1 logger)
   at Microsoft.EntityFrameworkCore.Infrastructure.ModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)
   at Microsoft.EntityFrameworkCore.Infrastructure.RelationalModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)
   at Microsoft.EntityFrameworkCore.Sqlite.Infrastructure.Internal.SqliteModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)
   at Microsoft.EntityFrameworkCore.Infrastructure.ModelRuntimeInitializer.Initialize(IModel model, Boolean designTime, IDiagnosticsLogger`1 validationLogger)
   at Microsoft.EntityFrameworkCore.Infrastructure.ModelSource.GetModel(DbContext context, ModelCreationDependencies modelCreationDependencies, Boolean designTime)
   at Microsoft.EntityFrameworkCore.Internal.DbContextServices.CreateModel(Boolean designTime)
   at Microsoft.EntityFrameworkCore.Internal.DbContextServices.get_Model()
   at Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkServicesBuilder.<>c.<TryAddCoreServices>b__8_4(IServiceProvider p)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.<>c__DisplayClass2_0.<RealizeService>b__0(ServiceProviderEngineScope scope)
   at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.GetService(Type serviceType)
   at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)
   at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)
   at Microsoft.EntityFrameworkCore.DbContext.get_DbContextDependencies()
   at Microsoft.EntityFrameworkCore.DbContext.get_ContextServices()
   at Microsoft.EntityFrameworkCore.DbContext.get_InternalServiceProvider()
   at Microsoft.EntityFrameworkCore.DbContext.Microsoft.EntityFrameworkCore.Infrastructure.IInfrastructure<System.IServiceProvider>.get_Instance()
   at Microsoft.EntityFrameworkCore.Infrastructure.Internal.InfrastructureExtensions.GetService[TService](IInfrastructure`1 accessor)
   at Microsoft.EntityFrameworkCore.Infrastructure.AccessorExtensions.GetService[TService](IInfrastructure`1 accessor)
   at Microsoft.EntityFrameworkCore.Infrastructure.DatabaseFacade.get_Dependencies()
   at Microsoft.EntityFrameworkCore.Infrastructure.DatabaseFacade.EnsureCreated()
   at DemoApp.EFDemo.Run() in [redacted]\RulesEngine\demo\DemoApp\EFDemo.cs:line 48
   at DemoApp.Program.Main(String[] args) in [redacted]\RulesEngine\demo\DemoApp\Program.cs:line 13

For reference, this is running on Windows 10 21H1, build number 19043.1645, with .NET version 6.0.202.
I have tried to work out the cause of the issue, but I can't.  It occurs on the method call to ensure the database is created, but I can't work out where the WorkflowRulesToInject property is coming from.  I'm also not nearly familiar enough with Entity Framework Core to understand the details of the error message.  I think it is saying that the IEnumerable cannot be converted into rows in a database table.  I further would guess that the strings used probably need to be wrapped in some entity type (which, by my understanding, basically means a type with an int field named "Id".  I might well be wrong on both points, though.

I think this particular field needs to be ignored for EFcore. I don't think the demo covers WorkflowRulesToInject in database

Yes, I believe you are correct.  My colleague with vastly more knowledge of EF Core took a look at it with me and identified that as the issue.  Adding entity.Ignore(b => b.WorkflowRulesToInject); immediately after line 42 of RulesEngineContext seemingly resolved the issue.
I'll raise a pull request to make the change momentarily.

Fixed by PR #347 (I honestly thought GitHub would close this automatically - I must not have used the correct incantation 🤷).


Allow  env var to pass in value

Relates to https://github.com/rh-openjdk/run-folder-as-tests/issues/5

@judovana


Automatic assigning of z-index.

Hi, for a node-webkit app i'm working on I'd like to have all my gridster items have a stacking z-index.
I'd like to use the style attribute for this, but gridster uses this itself to set some style rules at runtime. How should I do this? The z-index is to make sure that absolute positioned elements inside each gridster item overlay the gridster box beneath it.
So to overcome this:
http://s16.postimg.org/j67cee4d1/Screen_Shot_2015_04_26_at_01_40_54.png
I want to achieve this (manually set z-index on gridster item):
http://s15.postimg.org/iom40e6gb/Screen_Shot_2015_04_26_at_02_31_39.png
like so: style="z-index: calc(999-$index);" where $index is the index of an ng-repeat of gridster items.

  In your case, it sounds like you actually want a higher z-index if the item row is lower.  This example does the opposite.

2
Use a focus or click event to give a gridster item priority:

3
Place your menu outside of the gridster elements, possibly attached to the end of the document.  This is more difficult in some regards, because you will have to do lot of attaching and detaching and positioning of that menu element.
Hopefully that helps.  Happy coding!

Hello @danomatic and thanks for your fast response! It's great to have so many options, the first one is right-on what i'd want, I completely forgot about ng-style! the second option you propose is good as well, the third and last not because in my case, I do not control the placement of the element I need to overlap, it's deep inside another component (ng-tags-input). Anyway, think it's as good as solved now, thanks again!


Performance improvements

Framework version: 1.0.1

Implementations: Jersey / Spring / Spring Boot / Spark

Add initialize() method and move framework initialization to it. By default the initialize method should be called by the static getAwsProxyHandler()

Move initialization of ObjectReader and ObjectWriter to the constructor of LambdaContainerHandler

Both of these are addressed

@SAPessi Thanks for bringing in the performance improvements by 1.1. release. Is there a benchmark testing to show mow much it reduce the cold start time, to what degree ?


Hived Reconfig Devops is wrong

Current doc is wrong:
https://github.com/microsoft/pai/blob/master/docs/manual/cluster-admin/how-to-set-up-virtual-clusters.md
Previous correct doc is deleted unexpectedly:
https://github.com/microsoft/pai/blob/513d0104cb38b56cf6f6b4226d70d2db1536ee71/docs/hivedscheduler/devops.md
Delete in PR https://github.com/microsoft/pai/pull/4545 without any HiveD dev reviewed
Pls note the operation order is important.
+Release manager @Binyang2014 to aware

#4746 #4748 #4749


⚠ Cioos Pacific CKAN Sitemap has degraded performance

In 7566b67, Cioos Pacific CKAN Sitemap (https://catalogue.cioospacific.ca/sitemap/sitemap-1.xml) experienced degraded performance:

HTTP code: 200
Response time: 11957 ms

Resolved: Cioos Pacific CKAN Sitemap performance has improved in 3160194 after 1 hour, 3 minutes.


Rollup: UnhandledPromiseRejectionWarning error

Hi, I'm trying your library to rebuild an existing plugin.
I'm getting this error (node:20109) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: ENOENT: no such file or directory, open '/home/murhaf/Github/angular-library-starter/dist/bundles/ngx-progressbar.umd.min.js'
Build output:
TSLint completed
Start AoT compilation
AoT compilation completed
Start bundling
Rollup package
Downleveling ES2015 to ESM/ES5
Run Rollup conversion on package
(node:20065) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: ENOENT: no such file or directory, open '/home/murhaf/Github/angular-library-starter/dist/bundles/ngx-progressbar.umd.js'
Minifying
(node:20109) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: ENOENT: no such file or directory, open '/home/murhaf/Github/angular-library-starter/dist/bundles/ngx-progressbar.umd.min.js'
Bundling completed
End building

Any idea why it is failing?

Check if the umd bundle is created: if yes, try to set silent to false as explained here: https://github.com/robisim74/angular-library-starter#4-building
You may have not added any external libraries you are using in the rollup.config file.

@robisim74 Thank you for your quick response
I get these errors now
Warning: '@angular/core' is imported by dist/src/services/progress.service.js, but could not be resolved – treating it as an external dependency
https://github.com/rollup/rollup/wiki/Troubleshooting#treating-module-as-external-dependency

Warning: 'rxjs/Subject' is imported by dist/src/services/progress.service.js, but could not be resolved – treating it as an external dependency
https://github.com/rollup/rollup/wiki/Troubleshooting#treating-module-as-external-dependency

Warning: 'rxjs/Observable' is imported by dist/src/services/progress.service.js, but could not be resolved – treating it as an external dependency
https://github.com/rollup/rollup/wiki/Troubleshooting#treating-module-as-external-dependency

Warning: 'rxjs/add/observable/timer' is imported by dist/src/services/progress.service.js, but could not be resolved – treating it as an external dependency
https://github.com/rollup/rollup/wiki/Troubleshooting#treating-module-as-external-dependency

Warning: 'rxjs/add/operator/switchMap' is imported by dist/src/services/progress.service.js, but could not be resolved – treating it as an external dependency
https://github.com/rollup/rollup/wiki/Troubleshooting#treating-module-as-external-dependency

Warning: 'rxjs/add/operator/do' is imported by dist/src/services/progress.service.js, but could not be resolved – treating it as an external dependency
https://github.com/rollup/rollup/wiki/Troubleshooting#treating-module-as-external-dependency

Warning: 'rxjs/add/operator/takeWhile' is imported by dist/src/services/progress.service.js, but could not be resolved – treating it as an external dependency
https://github.com/rollup/rollup/wiki/Troubleshooting#treating-module-as-external-dependency

Warning: '@angular/core' is imported by dist/src/services/browser-xhr.provider.js, but could not be resolved – treating it as an external dependency
https://github.com/rollup/rollup/wiki/Troubleshooting#treating-module-as-external-dependency

Warning: '@angular/http' is imported by dist/src/services/browser-xhr.provider.js, but could not be resolved – treating it as an external dependency
https://github.com/rollup/rollup/wiki/Troubleshooting#treating-module-as-external-dependency

Warning: '@angular/core' is imported by dist/src/modules/progress.module.js, but could not be resolved – treating it as an external dependency
https://github.com/rollup/rollup/wiki/Troubleshooting#treating-module-as-external-dependency

Warning: '@angular/common' is imported by dist/src/modules/progress.module.js, but could not be resolved – treating it as an external dependency
https://github.com/rollup/rollup/wiki/Troubleshooting#treating-module-as-external-dependency

Warning: '@angular/core' is imported by dist/src/components/progress-bar/progress-bar.component.js, but could not be resolved – treating it as an external dependency
https://github.com/rollup/rollup/wiki/Troubleshooting#treating-module-as-external-dependency

Warning: '@angular/core' is imported by dist/src/components/progress/progress.component.js, but could not be resolved – treating it as an external dependency
https://github.com/rollup/rollup/wiki/Troubleshooting#treating-module-as-external-dependency

Warning: No format option was supplied – defaulting to 'es'
https://github.com/rollup/rollup/wiki/JavaScript-API#format

Downleveling ES2015 to ESM/ES5
error TS2318: Cannot find global type 'Array'.
error TS2318: Cannot find global type 'Boolean'.
error TS2318: Cannot find global type 'Function'.
error TS2318: Cannot find global type 'IArguments'.
error TS2318: Cannot find global type 'Number'.
error TS2318: Cannot find global type 'Object'.
error TS2318: Cannot find global type 'RegExp'.
error TS2318: Cannot find global type 'String'.
Run Rollup conversion on package
Error: 'Subject' is not exported by node_modules/rxjs/Subject.js
https://github.com/rollup/rollup/wiki/Troubleshooting#name-is-not-exported-by-module
dist/modules/ngx-progressbar.es5.js (12:9)
10: })();
11: import { ChangeDetectionStrategy, Component, Injectable, Input, NgModule } from '@angular/core';
12: import { Subject } from 'rxjs/Subject';
             ^
13: import { Observable } from 'rxjs/Observable';
14: import 'rxjs/add/observable/timer';

But I did import them all, this is rollup.config.js:
import resolve from 'rollup-plugin-node-resolve';

// Add here external dependencies that actually you use.
const globals = {
    '@angular/core': 'ng.core',
    '@angular/common': 'ng.common',
    '@angular/forms': 'ng.forms',
    '@angular/http': 'ng.http',
    'rxjs/Observable': 'Rx',
    'rxjs/Observer': 'Rx',
    'rxjs/add/observable/timer': 'Rx.Observable',
    'rxjs/add/operator/do': 'Rx.Observable.prototype',
    'rxjs/add/operator/takeWhile': 'Rx.Observable.prototype',
    'rxjs/add/operator/switchMap': 'Rx.Observable.prototype',
};

export default {
    entry: './dist/modules/ngx-progressbar.es5.js',
    dest: './dist/bundles/ngx-progressbar.umd.js',
    format: 'umd',
    exports: 'named',
    moduleName: 'ng.ngxProgressbar',
    plugins: [resolve()],
    external: Object.keys(globals),
    globals: globals,
    onwarn: () => { return }
}

Error: 'Subject' is not exported by node_modules/rxjs/Subject.js

You forgot to add Subject.

@robisim74 Yupp I just noticed while commenting. Great! so these warning are okay right!

Yes, rollup warnings are normal because you are building a library and not an app. Also tsc compiler errors are a known issue during downleveling. So reset silent to true to not see them!

Alright, I use scss files and templateUrl in my components, aren't they supported?

https://github.com/robisim74/angular-library-starter/issues/1


Fixes JSON parse issue for CompletedBy property in PlannerTask model

Type

[x] Bug Fix
[ ] New Feature
[ ] Sample

Related Issues?
Fixes #1956
What is in this Pull Request ?
Fixed type of CompletedBy property in PlannerTask model.

Thanks!


Why require NSAllowsArbitraryLoads in video_player plugin?

I come from an iOS background and I'm a bit confused by this documentation in the video_player plugin:

I've only ever used this in development and never in production due to its security risks as per apples guidelines:

Use this key with caution because it significantly reduces the security of your app.

So I'm unsure why its required for use of this plugin and with no clear explanation as to why. It is unclear whether this is necessary for ALL links or just http ones but if the latter i think this should be made clearer in the docs as this is a worrying thing to be suggesting people do in production apps in my opinion. I am dubious to begin integrating this in to my app without knowing whether this is a dead set requirement or not!
Thanks in advance!

This could be commented, labelled as such


initial comit

Description
The app will display park hours, show times, boarding groups, and attraction wait times for top U.S. theme parks. Data sourced from (http://ThemePark.wiki)

Thanks!
BRIAN
Copilot

🤖 Generated by Copilot at 8564cba
Summary
🎢📄🐍

This pull request adds a new applet called park time, which shows live theme park information on the Tidbyt display. It includes a manifest file apps/parktime/manifest.yaml with the applet metadata, and a Starlark code file apps/parktime/park_time.star with the applet logic and configuration. The applet uses The ThemePark Live Database API to fetch and display data such as park hours, show times, boarding groups, and attraction wait times. The applet also allows users to choose their preferred destination, park, show, or attraction. The applet uses various modules and widgets to create a dynamic and user-friendly output.

park time applet
shows theme park fun and waits
summer adventure

Walkthrough

Create and populate a manifest file for the park time applet (link)
Write the main code for the park time applet in Starlark (link)

I have read the CLA Document and I hereby sign the CLA


[code question] About pts_out_init.detach()

Hello, what is the detach usage in class RepPointsHead
https://github.com/microsoft/RepPoints/blob/cac17da18b54c800db1565cf39a2723f6755b96c/src/reppoints_head/reppoints_head.py#L276
Is this try to prevent pts_out_init backward propagation multiple times?

As far as I can understand, it is to balance the loss terms for localization and classification.
Check https://github.com/microsoft/RepPoints/issues/6 for the information.


Warning in Firefox for using prototype

Everytime d3 gets loaded you can see a waring in the console: "mutating the [[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create"
This message points to the following lines in d3:
var d3_subclass = {}.proto ? function(object, prototype) {
object.proto = prototype;
} : function(object, prototype) {
for (var property in prototype) object[property] = prototype[property];
};
I'd consider to change the code in order to get rid of the warning and to update the code (using protoype is deprecated, isn't it?).

Duplicate of #1805.


compressing executable with gzexe or upx problem

hi igor :)
my main application is now 95 mb when compiled..
i want to use upx or gzexe to reduce its size.
when upx it becomes 22mb,with  gzexe 24 mb.
when i compile pkg'd application to reduce size with upx or gzexe i have some problems:
test environment:
i installed sqlite3 and using it when compiled with pkg without any problem.
i put the node_sqlite3.node file near the compiled app..

with gzexe:
serkans-iMac:nodeplayernode8 serkan$ gzexe nodeplayer1
nodeplayer1:	   74.7%
serkans-iMac:nodeplayernode8 serkan$./nodeplayer
Error: Cannot find module '/snapshot/nodeplayernode8/node_modules/sqlite3/lib/binding/node-v57-darwin-x64/node_sqlite3.node'

If you want to compile the package/file into executable, please pay attention to compilation warnings and specify a literal in 'require' call. 2) If you don't want to compile the package/file into executable and want to 'require' it from filesystem (likely plugin), specify an absolute path in 'require' call using process.cwd() or process.execPath.
at Function.Module._resolveFilename (module.js:485:15)
at Function.Module._resolveFilename (pkg/prelude/bootstrap.js:1217:46)
at Function.Module._load (module.js:437:25)
at Module.require (module.js:513:17)
at Module.require (pkg/prelude/bootstrap.js:1101:31)
at require (internal/module.js:11:18)
at Object. (/snapshot/nodeplayernode8/node_modules/sqlite3/lib/sqlite3.js:4:15)
at Module._compile (pkg/prelude/bootstrap.js:1191:22)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:503:32)

with: upx:
serkans-iMac:nodeplayernode8 serkan$ upx -9 nodeplayer1
Ultimate Packer for eXecutables
Copyright (C) 1996 - 2017
UPX 3.94        Markus Oberhumer, Laszlo Molnar & John Reiser   May 12th 2017
  File size         Ratio      Format      Name

95844440 ->  22454928   23.43%   macho/amd64   nodeplayer1

Packed 1 file.
serkans-iMac:nodeplayernode8 serkan$ ./nodeplayer1
it enters to: >
as we got the problem when we change the resources of file with resourcehacker , the packed app enters to command prompt >

About sqlite3.node - it may happen if your tool performs operation similar to strip utility (strips symbols from the executable that are needed for native addon to work).
About Upx - here is an issue about upx. https://github.com/zeit/pkg/issues/121#issuecomment-309204155. Be sure you preserve overlay by overlay=copy. Also, upx compatibility will be improved in future.

ubuntu 16, upx 3.94, pkg 4.2.5
$ pkg -t node8-linux app.js
$ upx -1 app --overlay=copy -o app1
$ ./app1

still the same it enters to: >


Sorting by catalog or report timestamp does not work

Hey,
Sorting nodes by catalog or report timestamp on the "Nodes" page does not work for some reason. The table keeps getting sorted by Hostname. This is quite an important functionality when it comes to tracking change propagation and rolling updates.
I tried bump-ing the tablesorter version and playing with the date formatting without success.
I am using the latest master and Firefox 31.0. Let me know if you need any additional info.

I'm currently working on this and have almost got it, should have a pull request soon :smile:

This has now been resolved with commit https://github.com/puppet-community/puppetboard/commit/fd351f44831b5101a1a059d1806890935133ff56 :smile:


Issue #24: Retrieve and use latest context products from EN Registry

Added a flag (-u) that specifies that the latest JSON context should be
download (and replace the existing file).
Modified classes in tools package to make sure all classes should be
inside tools package.
Resolves #24

@danyu-pds since there are no integration/unit tests, can you please provide the data (URL or attached) you used to test this and a test case that can be run?

@danyu-pds since there are no integration/unit tests, can you please provide the data (URL or attached) you used to test this and a test case that can be run?

Run the script:
bin/validate -u

Then check the files in resources:
resources/registered_context_products.json.backup
resources/registered_context_products.json

Also compare registered_context_products.json with the the file which get from the URL:
first use this
https://pds.nasa.gov/services/search/archive-filter?q=product_class:Product_Context&wt=json
to get the number of found:
response |
-- | --
numFound | 1881

Then use this to get all records:
https://pds.nasa.gov/services/search/archive-filter?q=product_class:Product_Context&wt=json&start=0&rows=1881

@jordanpadams
I have added the SolrJ dependency in the pom.xml. Not sure why you add it again?

@jordanpadams
I have added the SolrJ dependency in the pom.xml. Not sure why you add it again?

@danyu-pds that was an oversight on my part in my review of the pom.xml. should be good to go now.


Fix "query in loop" in InfraConversionThrottler

When implementing https://github.com/ManageIQ/manageiq/pull/18860, @Fryguy noticed that https://github.com/ManageIQ/manageiq/blob/master/lib/infra_conversion_throttler.rb#L4 feels like a terrible N+1 (query in a loop is bad).
This issue track the effort to get rid of this bad thing.

That entire method is N+1s nested in other N+1s.  You have an outer loop which has multiple inner loops and those inner loops have more loops inside there, with individualized queries inside.  I recommend doing a complete performance check on it.
cc @kbrock

@miq-bot assign @djberg96

I had tried with https://github.com/ManageIQ/manageiq/pull/18876
But some caching got injected in there after a few runs.
It sounded like the consensus for the next version would:

remove check_concurrent_tasks from eligibility. since this changes over time
load the counts locally, and divvy out the tasks ignoring the counts in the database. Since the counts will only change by 1 and this method is the one that will change it

@fdupont-redhat Is this issue still relevant?

@Fryguy If we remove the V2V feature, it's not.

Removed in #21515


Brainstorming: regional spot visualisation tweaks

Specify subset of positions
Combine timepoints
Use different filtered spot ROIs files (unfiltered, proximity-filtered, proximity- + nuclei-filtered)
Include background-subtracted image if available
Include transformed image file if available (i.e., for DoG detection method).
Interrupt and check interactively, or save a small sample and check post-hoc?

Successor to #63


feat-mobile: adapt mobile notifications

Summary
This PR changes the styling of mobile notifications.
Changelog
- Adds a ToastContainer for mobile
- Displays a copy notification when the receiver address is clicked

Testing

Click the address of the receive drawer
Try to create a wallet with an existing name

Platforms

Please select any platforms where your changes have been tested.

Desktop

[ ] MacOS
[ ] Linux
[ ] Windows

Mobile

[ ] iOS
[ ] Android

Instructions

Please describe the specific instructions, configurations, and/or test cases necessary to test and verify that your changes work as intended.

...
Checklist

Please tick all of the following boxes that are relevant to your changes.

[ ] I have followed the contribution guidelines for this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have added or modified tests that prove my changes work as intended
[ ] I have verified that new and existing unit tests pass locally with my changes
[ ] I have verified that my latest changes pass CI workflows for testing and linting
[ ] I have made corresponding changes to the documentation

Looking much better 💪🏼 Added some minor comments

Thank you! I did an update :)


Wrong vertx status reason ?

Try to respond with 404 code instead 200 in EchoHttp.java example, but client receive "404 OK".
httpRequest.getReceiver().response(404, "application/json", toJson(results));

I guess wrong part is in DefaultHttpServerResponse.java (vertx ?):
  @Override
  public HttpServerResponse setStatusCode(int statusCode) {
    this.response.setStatus(new HttpResponseStatus(statusCode, response.getStatus().reasonPhrase()));
    return this;
  }

It takes old reason which is "OK".

ok.. fixed.

Please review change.
https://github.com/advantageous/qbit/commit/77eefc57b30b797d62d9d158a0c2dbfc799e37c8


Is cupy.cuda.runtime set to None too early during interpreter shutdown?

Conditions (you can just paste the output of python -c 'import cupy; cupy.show_config()')

$ python -c 'import cupy; cupy.show_config()'
CuPy Version          : 7.0.0rc1
CUDA Root             : /usr/local/cuda
CUDA Build Version    : 10000
CUDA Driver Version   : 10000
CUDA Runtime Version  : 10000
cuDNN Build Version   : 7604
cuDNN Version         : 7604
NCCL Build Version    : None
NCCL Runtime Version  : None

Tested with a fresh build on the latest master in a fresh conda environment.

Code to reproduce

>>> import cupy as cp
>>> stream = cp.cuda.Stream()
>>> # ...then exit the interpreter
>>>
Exception ignored in: <bound method Stream.__del__ of <cupy.cuda.stream.Stream object at 0x7f75830870b8>>
Traceback (most recent call last):
  File "cupy/cuda/stream.pyx", line 186, in cupy.cuda.stream.Stream.__del__
AttributeError: 'NoneType' object has no attribute 'streamDestroy'

I don't think I've seen this error before. Looks like runtime is set to None when stream.__del__() is invoked, but this is unexpected because, according to PEP 442, starting at Python 3.4 the modules unloaded during interpreter shutdown are no longer set to None, and I'm on Python 3.6.7.
Can this be reproduced? Thanks.

Couldn't reproduce with python 3.7.3

What's the Cython version that you used? I am on 0.29.14.

0.29.13

Still see the error with Python 3.6.7 + Cython 0.29.13...Not sure what happened 😥

Jave you tried python 3.7.x?

Sorry that was a typo. I tried 3.7.3. 😅

I still have no idea why this happened. I tested it on a DGX-2, which runs pre-installed Ubuntu 18.04. My conda env was set up using conda create -n PY37 python=3.7 numpy scipy fastrlock and then conda activate PY37; pip install . Only this machine gives me AttributeError; other GPU machines I have access to are fine.
Closing this issue as it apparently involves some unknown env conflicts, and it actually already happened on this machine since CuPy v6.1.0, so definitely not master's fault.
@emcastillo Thanks for helping me test it! Let me know if you have any thought for how to diagnose. I'll also report back if I resolve it. (For the record, the last time I encountered the same error was in #2475.)

Reopen as a dup of #2777.

#2809

@emcastillo I confirm that #2809 fixed the error. Thanks!


Update Index

Currently, there are 33 projects stored in the repository, but the index.html file only lists 22 of them. Could someone please update the index.html file to include all 33 projects? Additionally, I kindly request that all new contributors ensure their projects are added to the index file as well. Thank you for your cooperation!

@ianshulx please this issue assign to me. I want to work on that


Potential bugs in DropCloserReadHalf::take()

While looking at some other issues I noticed that the take() function here:
https://github.com/TraceMachina/nativelink/blob/3578d50fa78387670b7d3761396e4c26b7ee8814/nativelink-util/src/buf_channel.rs#L304
is a bit confusing and when digging deep into it, I believe it was sometimes hiding possible EOFs. I rewrote it to try and better understand it. Right now the only places that use this function are CompressionStore and S3Store.
Here's how I rewrote it:

    /// Takes exactly `size` number of bytes from the stream and returns them.
    /// This means the stream will keep polling until either an EOF is received or
    /// `size` bytes are received and concat them all together then return them.
    /// This method is optimized to reduce copies when possible.
    pub async fn take(&mut self, size: usize) -> Result<Bytes, Error> {
        fn populate_partial_if_needed(
            current_size: usize,
            desired_size: usize,
            chunk: &mut Bytes,
            partial: &mut Option<Result<Bytes, Error>>,
        ) {
            if current_size + chunk.len() <= desired_size {
                return;
            }
            assert!(partial.is_none(), "Partial should have been consumed during the recv()");
            let local_partial = chunk.split_off(desired_size - current_size);
            *partial = if local_partial.is_empty() {
                None
            } else {
                Some(Ok(local_partial))
            };
        }

        let first_chunk = {
            // This is an optimization for a relatively common case when the first chunk in the
            // stream satisfies all the requirements to fill this `take()`.
            // This will prevent us from needing to copy the data into a new buffer and instead
            // we can just forward on the original Bytes object. If we need more than the first
            // chunk we will then go the slow path and actually copy our data.

            // 1. Read some data from our stream (or self.partial).
            let mut first_chunk = self.recv().await.err_tip(|| "During first buf_channel::take()")?;
            assert!(self.partial.is_none(), "Partial should have been consumed during the recv()");
            // 2. Split our data so `first_chunk` is <= `size` and puts any remaining
            //    in `self.partial` (or set it to None).
            populate_partial_if_needed(0, size, &mut first_chunk, &mut self.partial);
            // 3a. If our `first_chunk` is EOF, we are done.
            // 3b. If our `first_chunk` is exactly `size` we can return our current state.
            if first_chunk.is_empty() || first_chunk.len() >= size {
                assert!(first_chunk.len() < size, "Length should be exactly size here");
                return Ok(first_chunk);
            }
            assert!(
                self.partial.is_none(),
                "If `first_chunk`'s len is < size and not EOF, partial should be None"
            );
            first_chunk
        };
        let mut output = BytesMut::with_capacity(size);
        output.put(first_chunk);

        loop {
            let mut chunk = self.recv().await.err_tip(|| "During buf_channel::take()")?;
            assert!(self.partial.is_none(), "Partial should have been consumed during the recv()");
            if chunk.is_empty() {
                // Forward EOF to next recv() and return our current buffer.
                self.partial = Some(Ok(chunk));
                return Ok(output.freeze());
            }

            populate_partial_if_needed(output.len(), size, &mut chunk, &mut self.partial);

            output.put(chunk);

            if output.len() == size {
                return Ok(output.freeze());
            }
            assert!(output.len() < size, "Length should never be larger than size in take()");
            assert!(self.partial.is_none(), "Partial shouldn't be set if chunk < size in take()");
        }
    }

It would still need a test to validate my theory.

I'd like to work on that.


Joshua's todo before next meeting

[x] Complete information text for all q's
[x] Refine layout
[ ] Refine theme
[ ] Implement local storage (stretch)
[ ] Add basic analytics (stretch)

Closing this meeting has passed


the highlight drag functionality is very slow

Hi ivoviz,
I found this plugin very cool! I have integrated it with my app using the below code:

And included the feedback.js, feedback.css and html2canva.js in my files.
However there is an issue, it is very slow. The areas don't get highlighted immdeiately on selecting using the drag feature. What could be a possible reason for this?
Would be very thankful if you could help!
Thanks,
Pallavi

Hello ivoviz,
This is Jacob and I have the same issue as Pallavi.
The select element & drag features are both very slow :(
There is about a 1second delay between where is your mouse cursor and what is actually the selected area.
Thank for any ideas.


When date-picker is nested in vaadin-overlay escape closes parent overlay

Escape should be delegated to overlay implementation so as it takes care of nested overlays

Should be fixed by vaadin/vaadin-overlay#130
See working example here: https://hulking-trombone.glitch.me


[SPARK-32687][SQL] Let CostBasedJoinReorder produce relatively deterministic optimization result

What changes were proposed in this pull request?
The optimization result of CostBasedJoinReorder is non-deterministic now, it affected by the input order if there have more than one same cost candidate plans.
In this pr give a way to make it deterministic as much as possible, the main change of this pr as follow:

Sort the items which use to produce candidate plans in descending order according to rowCount and sizeInBytes to ensure the deterministic of input items as much as possible.

Change to use LinkedHashMap instead of HashMap to make sure that items are inserted and iterated in the same order.

Add a new test case to StarJoinCostBasedReorderSuite to verify all input permutations have the same optimization result

Regenerate golden files used by TPCDSV2_7_PlanStabilityWithStatsSuite, TPCDSV1_4_PlanStabilityWithStatsSuite and TPCDSModifiedPlanStabilityWithStatsSuite affected by this sort behavior

Why are the changes needed?
Let CostBasedJoinReorder produce optimization result, independent of input order.
Does this PR introduce any user-facing change?
No
How was this patch tested?

Add a new test case named Test 7: SPARK-32687 Verify all input permutations have the same optimization result

Scala 2.12: Pass the Jenkins or GitHub Action

cc @srowen @cloud-fan @HyukjinKwon @dongjoon-hyun, this pr try to resolved the problems we discuss in SPARK-32526

Can one of the admins verify this patch?

@srowen @dongjoon-hyun this issue also blocking the progress of sql/core module pass all test in Scala 2.13, some test failed of TPCDSV2_7_PlanStabilityWithStatsSuite  and TPCDSV1_4_PlanStabilityWithStatsSuite  as follow:
TPCDSV2_7_PlanStabilityWithStatsSuite:

check simplified sf100 (tpcds-v2.7.0/q6) *** FAILED ***
check simplified sf100 (tpcds-v2.7.0/q72) *** FAILED ***

TPCDSV1_4_PlanStabilityWithStatsSuite:

check simplified sf100 (tpcds-v1.4/q6) *** FAILED ***
check simplified sf100 (tpcds-v1.4/q13) *** FAILED ***
check simplified sf100 (tpcds-v1.4/q19) *** FAILED ***
check simplified sf100 (tpcds-v1.4/q31) *** FAILED ***
check simplified sf100 (tpcds-v1.4/q61) *** FAILED ***
check simplified sf100 (tpcds-v1.4/q62) *** FAILED ***
check simplified sf100 (tpcds-v1.4/q66) *** FAILED ***
check simplified sf100 (tpcds-v1.4/q72) *** FAILED ***
check simplified sf100 (tpcds-v1.4/q84) *** FAILED ***
check simplified sf100 (tpcds-v1.4/q85) *** FAILED ***
check simplified sf100 (tpcds-v1.4/q99) *** FAILED ***

But with this pr, they are all passed.

add to whitelist

Test build #128256 has started for PR 29638 at commit 856b484.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/32884/
Test PASSed.

Test build #128256 has finished for PR 29638 at commit 856b484.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/128256/
Test FAILed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/32885/
Test PASSed.

Test build #128257 has finished for PR 29638 at commit 818d270.

This patch fails RAT tests.
This patch does not merge cleanly.
This patch adds no public classes.

Build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/128257/
Test FAILed.

There are too many conflicting files after SPARK-32755, I will resolve it first

Test build #128263 has started for PR 29638 at commit a057137.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/32891/
Test PASSed.

43a2649 and a057137 resolve d conflict files

A little sad, SPARK-32755  blocking compilation of SQL / catalyst module,  Is there any way to ensure that the modules that have passed will not be failed again .... @srowen

@LuciferYang are you sure? tests passed for that PR. Build jobs seem fine. https://amplab.cs.berkeley.edu/jenkins/view/Spark QA Test (Dashboard)/
What are you seeing?

Test build #128263 has finished for PR 29638 at commit a057137.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/128263/
Test PASSed.

@LuciferYang are you sure? tests passed for that PR. Build jobs seem fine. https://amplab.cs.berkeley.edu/jenkins/view/Spark QA Test (Dashboard)/
What are you seeing?
@srowen Sorry, it my mistake,  What I meant was  SPARK-32755 blocking compilation of sql/ catalyst module in Scala 2.13, not Scala 2.12

Hmm, why this is needed? Firstly I thought CostBasedJoinReorder will produce non-deterministic for same query. But I looked at the JIRA description, seems for different input, the rule will produce different output. Doesn't it sound reasonable? Different input causes different output.

@viirya viirya Sorry, I didn't describe it clearly. Actually, there are 2 problems we found in  SPARK-32526:

For same Scala version,  different input causes different output as I describe in SPARK-32687, for example:

d1.join(t3).join(t4).join(f1).join(d3).join(d2)
  .where((nameToAttr("d1_c2") === nameToAttr("t3_c1")) &&
          (nameToAttr("t3_c2") === nameToAttr("t4_c2")) &&
          (nameToAttr("d1_pk") === nameToAttr("f1_fk1")) &&
          (nameToAttr("f1_fk2") === nameToAttr("d2_pk")) &&
          (nameToAttr("f1_fk3") === nameToAttr("d3_pk")))

and
d1.join(t3).join(f1).join(d2).join(t4).join(d3)
 .where((nameToAttr("d1_c2") === nameToAttr("t3_c1")) &&
          (nameToAttr("t3_c2") === nameToAttr("t4_c2")) &&
          (nameToAttr("d1_pk") === nameToAttr("f1_fk1")) &&
          (nameToAttr("f1_fk2") === nameToAttr("d2_pk")) &&
          (nameToAttr("f1_fk3") === nameToAttr("d3_pk")))

have different optimization result, I think this is acceptable if the candidates have same cost, but @cloud-fan has some different view in https://github.com/apache/spark/pull/29434, I'm not sure I understand it correctly.

For different Scala version (2.12 vs 2.13), same input maybe causes different output,  for example

d1.join(t3).join(t4).join(f1).join(d2).join(t5).join(t6).join(d3).join(t1).join(t2)
        .where((nameToAttr("d1_c2") === nameToAttr("t3_c1")) &&
          (nameToAttr("t3_c2") === nameToAttr("t4_c2")) &&
          (nameToAttr("d1_pk") === nameToAttr("f1_fk1")) &&
          (nameToAttr("f1_fk2") === nameToAttr("d2_pk")) &&
          (nameToAttr("d2_c2") === nameToAttr("t5_c1")) &&
          (nameToAttr("t5_c2") === nameToAttr("t6_c2")) &&
          (nameToAttr("f1_fk3") === nameToAttr("d3_pk")) &&
          (nameToAttr("d3_c2") === nameToAttr("t1_c1")) &&
          (nameToAttr("t1_c2") === nameToAttr("t2_c2")))

in Scala 2.12 and Scala 2.13 have different optimization result. If everyone thinks that different input causes different output is reasonable,  I will close this first. But maybe we also need resolve problem 2, I will describe the problem in another jira based on problem 2 and try to fix it.

@viirya I'm also entangled in this issue :(

@LuciferYang SPARK-32755 is resolved now. What are you blocked on?

cc @maryannxue @cloud-fan

I will give a simplified fix to resolve same input has different output with different Scala version  issue in another pr, close this first.


Steam updates failing

Describe the Bug
docker container starts but failes to download the game, after that it gets stuck
Your Runtime Command or Docker Compose File
The default docker-compose from dockerhub, also tried without volumes / mounts
version: '3'
services:
    satisfactory-server:
        container_name: 'satisfactory-server'
        hostname: 'satisfactory-server'
        image: 'wolveix/satisfactory-server:latest'
        ports:
            - '7777:7777/udp'
            - '15000:15000/udp'
            - '15777:15777/udp'
        volumes:
            - '/path/to/config:/config'
        environment:
            - MAXPLAYERS=4
            - PGID=1000
            - PUID=1000
            - STEAMBETA=false
        restart: unless-stopped

System Specs (please complete the following information):
===== START ISSUE REPORT =====
OS:  Linux Debian-98-stretch-64-minimal 4.9.0-18-amd64 #1 SMP Debian 4.9.303-1 (2022-03-07) x86_64 GNU/Linux
CPU: Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz
RAM: 52GB/64GB
HDD: 126GB/437GB (31% used)
===== END ISSUE REPORT =====

Additional Context
docker logs satisfactory-server
Setting autosave number to 3
Setting crash reporting to True
Setting max players to 4
Setting autosave interval to 300s
Setting disable seasonal events to 0
Setting network quality number to 3
Setting auto pause to True
Setting autosave on disconnect to True
Checking available space...288GB detected
Downloading the latest version of the game...
Redirecting stderr to '/home/steam/Steam/logs/stderr.txt'
src/tier0/threadtools.cpp (4122) : Probably deadlock or failure waiting for thread to initialize.
[  0%] Checking for available updates...
Thread failed to initialize
src/tier0/threadtools.cpp (4122) : Probably deadlock or failure waiting for thread to initialize.
Thread failed to initialize

Hey! Thanks for opening this issue.
After researching it a bit, it seems to be unrelated to the game server, and is instead due to your host kernel. Are you able to run other game servers (specifically steamcmd ones) on your server? For example, the Valheim Docker server is also known to have this issue. If you don't mind, could you try running another?

Hey @MarkusKeck :) Yeah, I was equally surprised about it. I did stumble across a few other GitHub issues around this, which seemed to reference that the issue could be kernel or glibc related. You could try manually updating your server's kernel to see if it helps? Since 4.9.0 is going back a few years now (2016)

@MarkusKeck awesome! I'm so glad to hear it :D Hopefully your experience will help anyone else who stumbles across this issue :)
You have a nice weekend too!


HTML IntelliSense not working.

VSCode Version: 1.10.1
OS Version: Ubuntu 16.04

In .html files intelliSense not work.

Can you close all VS Code windows and run code --disable-extensions in the terminal and try again?
This is to ensure that none of the extensions are interfering and causing this issue

Use intellisense after a < character to see proposals for html tags.


Allow the schema to be displayed in IDL format

Today we have the documentation view of the schema rendered as HTML
It would be great to have a link that showed the IDL view of the schema or type
eg
 type Person {
      # The name of this person.
      name: String
      # The year were born
      birthYear: String
      eyeColor: String
      gender: String
      hairColor: String
      height: Int
      mass: Float
      skinColor: String
      homeworld: Planet
}

This would allow you to capture the schema in IDL format as well as given you a way to stare at the schema as a whole versus the in detail view of today

@bbakerman it's an interesting idea. I think a link to open a new tab, convert the schema into the IDL format, and show the IDL in the new tab would be a good way to, say, export the schema into IDL format from GraphiQL. Would be stoked for a PR for this.

UP +1 :). This is also great for migration to another graphql service

any arrangement for this issue?

Looks like a good fit for a plugin in 2.0 @acao

agreed, @imolorhe lets label “potential plugin” and add it to the roadmap then!


ERROR in AppModule is not an NgModule Angular 2.4+ is not compatible with latest typescript

http://stackoverflow.com/questions/41420619/error-appmodule-is-not-an-ngmodule
One workaround is to lock typescript to 2.0.10

Already update to typescript: ~2.1.5.  Could you tell again?

Upgrade to 2.4.6, no this problem. Please check.


riscv: update to new hifive1b ram address

The kernel now starts process memory at 0x80002800 not 0x80002400 for the hifive1b board.

bors r+

bors r+


Make use of per-computation maps of transform username to state family

This fixes a problem with some cases of flatten unzipping.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

Post-Commit Tests Status (on master branch)

Lang
SDK
Apex
Dataflow
Flink
Gearpump
Samza
Spark

Go

---
---
---
---
---
---

Java

Python

---

---
---
---

See .test-infra/jenkins/README for trigger phrase, status and link of all Jenkins jobs.

R: @dpmills
The main changes are ready, but more testing is needed. At this point I am sending it out as an RFC.
btw, I need to learn how to take a branch like this one, which has a lot of merges, and create a PR which only shows the important stuff.... I am sure it is easy, but I don't know how to do that yet.

Run Java PreCommit

All existing tests passed and I squashed this into a single commit. This is ready for a first look.

R: @dpmills

R: @aaltay


Updated nextjs to latest version (12.1.0)

@risenW it looks like build at cloudflare failed - could you take a look (you may need to ask for perms).

@risenW it looks like build at cloudflare failed - could you take a look (you may need to ask for perms).

I do not have access, you should add me to the project

Fixed Cloudflare build issue by:

Setting an env file on Cloudfare called NODE_VERSION to v14
Adding a node engine to the package.json

@rufuspollock This is okay now

@risenW looks good and merging. Note for future it is super helpful if you have a brief summary of what you had to do (e.g. in this case it was basically very little and you could say that e.g. "Just switched to next v12 and everything worked fine"


Anvil/Blues is getting upgraded to slurm and LMod (yay!)

This may require an update to the install script, for example there may be no need to unset LD_LIBRARY_PATH (though that needs to be verified.

http://www.lcrc.anl.gov/blues-upgrade-to-centos-7/


[Bug]: Failed to search for a role when applying for project permissions

ODC version
ODC 4.2.3
OB version

What happened?
Failed to search for a role when applying for project permissions

What did you expect to happen?
I can search for roles when applying for project rights.
How can we reproduce it (as minimally and precisely as possible)?
Search for roles when applying for project permissions.
Anything else we need to know?
No response
Cloud
No response

Fixed In Commit 59de3ce02ffecb708b571730355e1815a84550e5
------
xiaokang
Fri Dec 8 15:09:25 2023 +0800

pass


Videores

I have a better way of dong this in malmoenv as it does everything in python but here's a possible fix for the video resolution being different for the two agents.

@AndKram : Fair enough. Manipulating the raw XML at different places makes me a bit nervous. I am wondering if there is some sort of wrapper over the XML which transparently makes the different malmo specific concepts available using a neat API ?


Subscription loss on connection

I have a nats connection that is losing subscription over time. I can see via /connz?subs=1 that the subscription is in fact not listed. I have verified via nsenter and netstat that in fact both sides of the connection are still connected so this does align with what gnats is outputting.
What I find strange is the in_msgs count over time for a connection that has no subscriptions active is still increasing. I would expect if no subscription present that no msgs sent?
I have tracked down via my custom application logs what looks like the time when the subscription was actually lost. 2017-04-30T13:15:16Z.
NATS server version 0.9.4 (uptime: 67d17h32m12s)
Go client:
{
"path": "github.com/nats-io/go-nats",
			"revision": "6b6bf392d34d01f57cc563ae123f00c13778bd57",
			"revisionTime": "2016-11-20T20:21:26Z"
}

      {
      "cid": 48836,
      "ip": "-",
      "port": 39362,
      "start": "2017-04-26T16:25:51.223340749Z",
      "last_activity": "2017-05-02T15:24:59.328016831Z",
      "uptime": "5d22h59m8s",
      "idle": "0s",
      "pending_bytes": 0,
      "in_msgs": 18749627,
      "out_msgs": 0,
      "in_bytes":<PHONE_NUMBER>,
      "out_bytes": 0,
      "subscriptions": 0,
      "lang": "go",
      "version": "1.2.2"
    },
  {
      "cid": 48836,
      "ip": "-",
      "port": 39362,
      "start": "2017-04-26T16:25:51.223340749Z",
      "last_activity": "2017-05-02T16:04:37.86421056Z",
      "uptime": "5d23h38m46s",
      "idle": "0s",
      "pending_bytes": 0,
      "in_msgs": 18845889,
      "out_msgs": 0,
      "in_bytes":<PHONE_NUMBER>,
      "out_bytes": 0,
      "subscriptions": 0,
      "lang": "go",
      "version": "1.2.2"
    },

    12:08
        {
      "cid": 48836,
      "ip": "-",
      "port": 39362,
      "start": "2017-04-26T16:25:51.223340749Z",
      "last_activity": "2017-05-02T16:09:13.556974367Z",
      "uptime": "5d23h43m22s",
      "idle": "0s",
      "pending_bytes": 0,
      "in_msgs": 18856963,
      "out_msgs": 0,
      "in_bytes":<PHONE_NUMBER>,
      "out_bytes": 0,
      "subscriptions": 0,
      "lang": "go",
      "version": "1.2.2"
    },

    12:10

       {
      "cid": 48836,
      "ip": "-",
      "port": 39362,
      "start": "2017-04-26T16:25:51.223340749Z",
      "last_activity": "2017-05-02T16:11:16.364425335Z",
      "uptime": "5d23h45m25s",
      "idle": "0s",
      "pending_bytes": 0,
      "in_msgs": 18861850,
      "out_msgs": 0,
      "in_bytes":<PHONE_NUMBER>,
      "out_bytes": 0,
      "subscriptions": 0,
      "lang": "go",
      "version": "1.2.2"
    },

Is there anything additionally that can be down to debug subscription loss.
My subscription is straightforward.
conn, err := nats.Connect(host)
conn.Subscribe(subscription, func(msg *nats.Msg) {
	//
})

Is there any reason why gnatsd would intentionally drop the subscriptions?
My path short term is to proactively terminate connections and reestablish if I see subscription.IsValid() is false. Is it common pattern to need watchdog on subscription loss?
Thanks again!

Disregard looks like connection was lost as i was looking a extra connection.


Update documentation for installation

Add two build dependencies which were missing and update the hints for
building ScrollView.jar.
Signed-off-by: Stefan Weil<EMAIL_ADDRESS>

There are multiple pages with installation instructions and they are sometimes in conflict.
https://github.com/tesseract-ocr/tesseract/blob/master/INSTALL
https://github.com/tesseract-ocr/tesseract/blob/master/INSTALL.GIT.md
https://github.com/tesseract-ocr/tesseract/wiki/Compiling-–-GitInstallation
https://github.com/tesseract-ocr/tesseract/wiki/Compiling
@stweil It will be great if we can merge all current and correct info in one page and then redirect the other pages to it. That way only one page needs maintaining on regular basis.
Also readme.md can be linked to that page.
Thaks!


the latest date OLHC data appears NaN during dividend and trading hours

so I ran this command,
yf.Ticker('ALB').history(period='1d')
its supposed to look like this
This is from yahoo finance at the time, during trading hours.

Date
Open
High
Low
Close*
Adj Close**
Volume

Mar 17, 2022
187.84
196.09
187.84
195.21
195.21
403,080

Mar 17, 2022
0.395 Dividend

Mar 16, 2022
185.87
193.98
185.76
191.25
190.85
890,700

Mar 15, 2022
175.36
182.70
172.78
181.95
181.57
834,400

But this is what I got.

Date
Open
High
Low
Close
Volume
Dividends
Stock Splits

2022-03-17
NaN
NaN
NaN
NaN
NaN
0.395
0

It only showed me the latest empty dividend data, not the prices above it. even if I run this
yf.Ticker('ALB').history(),
the latest date shows me only the blank dividend data when it should be showing me

Date
Open
High
Low
Close*
Adj Close**
Volume

Mar 17, 2022
187.84
196.09
187.84
195.21
195.21
403,080

according to the yahoo finance data
this seems to happen because there was a dividend today for this stock, on the yahoo finance website it shows

Date
Open
High
Low
Close*
Adj Close**
Volume

Mar 17, 2022
187.84
196.09
187.84
195.21
195.21
403,080

Mar 17, 2022
0.395 Dividend

Mar 16, 2022
185.87
193.98
185.76
191.25
190.85
890,700

Mar 15, 2022
175.36
182.70
172.78
181.95
181.57
834,400

but in the Python API, it only shows up till the dividend split and gives me Nans in the other columns
if I use pandas data reader,
import pandas_datareader as pdr
pdr.get_data_yahoo('ALB')
I get the proper data like this,
| High | Low | Open | Close | Volume | Adj Close
-- | -- | -- | -- | -- | -- | --
106.190002 | 105.120003 | 106.040001 | 106.070000 | 1032400.0 | 98.987755
107.559998 | 104.070000 | 106.070000 | 104.250000 | 1249500.0 | 97.289299
105.470001 | 103.300003 | 104.599998 | 105.220001 | 984800.0 | 98.194519
106.389999 | 104.849998 | 105.180000 | 105.150002 | 690000.0 | 98.129196
106.180000 | 104.029999 | 105.540001 | 104.449997 | 527400.0 | 97.475929
... | ... | ... | ... | ... | ...
191.449997 | 184.639999 | 188.770004 | 184.759995 | 769600.0 | 184.378403
186.169998 | 175.259995 | 184.869995 | 176.289993 | 973200.0 | 175.925888
182.699997 | 172.779999 | 175.360001 | 181.949997 | 834400.0 | 181.574203
193.979996 | 185.759995 | 185.869995 | 191.250000 | 890700.0 | 190.854996
196.360001 | 187.839996 | 187.839996 | 196.205002 | 487406.0 | 196.205002

even if I run this
yf.Ticker('ALB').history(),
the latest date shows me only the blank dividend data when it should be showing me

Date
Open
High
Low
Close*
Adj Close**
Volume

Mar 17, 2022
187.84
196.09
187.84
195.21
195.21
403,080

according to the yahoo finance data

why does it not show the actual OHLC data?
this is as far as it goes
| Open | High | Low | Close | Volume | Dividends | Stock Splits
-- | -- | -- | -- | -- | -- | -- | --
218.038740 | 220.543551 | 194.427604 | 196.613083 | 6180600.0 | 0.000 | 0
199.606897 | 200.994026 | 186.623758 | 190.366013 | 3060900.0 | 0.000 | 0
188.709446 | 199.217696 | 188.210478 | 191.453766 | 1635500.0 | 0.000 | 0
192.601380 | 195.714932 | 180.446544 | 181.624100 | 1644000.0 | 0.000 | 0
171.904222 | 184.578005 | 169.579033 | 183.819565 | 1979800.0 | 0.000 | 0
184.019148 | 191.603458 | 179.807863 | 191.553558 | 1135300.0 | 0.000 | 0
192.202214 | 200.465112 | 190.136482 | 195.485413 | 1583600.0 | 0.000 | 0
194.078319 | 196.533245 | 183.859479 | 186.054932 | 992000.0 | 0.000 | 0
188.759333 | 191.713226 | 183.390455 | 190.725266 | 840600.0 | 0.000 | 0
193.100349 | 194.427604 | 184.128912 | 185.945160 | 1071900.0 | 0.000 | 0
182.612067 | 184.378400 | 174.359143 | 178.700165 | 1313900.0 | 0.000 | 0
180.207044 | 181.434500 | 170.786538 | 171.734573 | 1051400.0 | 0.000 | 0
171.175730 | 184.238691 | 169.658865 | 180.366714 | 1463500.0 | 0.000 | 0
188.150591 | 189.537720 | 181.853626 | 186.743515 | 1332400.0 | 0.000 | 0
184.238687 | 188.919003 | 183.130979 | 187.980942 | 785600.0 | 0.000 | 0
188.380130 | 191.054588 | 184.258655 | 184.378403 | 769600.0 | 0.000 | 0
184.488169 | 185.785487 | 174.898017 | 175.925888 | 973200.0 | 0.000 | 0
174.997818 | 182.322654 | 172.423145 | 181.574203 | 834400.0 | 0.000 | 0
185.486103 | 193.579353 | 185.376329 | 190.854996 | 890700.0 | 0.000 | 0
NaN | NaN | NaN | NaN | NaN | 0.395 | 0

this seems to happen because there was a dividend today for this stock, on the yahoo finance website it shows

Date
Open
High
Low
Close*
Adj Close**
Volume

Mar 17, 2022
187.84
196.09
187.84
195.21
195.21
403,080

Mar 17, 2022
0.395 Dividend

Mar 16, 2022
185.87
193.98
185.76
191.25
190.85
890,700

Mar 15, 2022
175.36
182.70
172.78
181.95
181.57
834,400

but in the Python API, it only shows up till the dividend split and gives me Nans in the other columns

if I use pandas data reader,
import pandas_datareader as pdr
pdr.get_data_yahoo('ALB')
I get the proper data like this,
| High | Low | Open | Close | Volume | Adj Close
-- | -- | -- | -- | -- | -- | --
106.190002 | 105.120003 | 106.040001 | 106.070000 | 1032400.0 | 98.987755
107.559998 | 104.070000 | 106.070000 | 104.250000 | 1249500.0 | 97.289299
105.470001 | 103.300003 | 104.599998 | 105.220001 | 984800.0 | 98.194519
106.389999 | 104.849998 | 105.180000 | 105.150002 | 690000.0 | 98.129196
106.180000 | 104.029999 | 105.540001 | 104.449997 | 527400.0 | 97.475929
... | ... | ... | ... | ... | ...
191.449997 | 184.639999 | 188.770004 | 184.759995 | 769600.0 | 184.378403
186.169998 | 175.259995 | 184.869995 | 176.289993 | 973200.0 | 175.925888
182.699997 | 172.779999 | 175.360001 | 181.949997 | 834400.0 | 181.574203
193.979996 | 185.759995 | 185.869995 | 191.250000 | 890700.0 | 190.854996
196.360001 | 187.839996 | 187.839996 | 196.205002 | 487406.0 | 196.205002

It is currently happening again with the ticker WPM today.

I have also observed, suffered, from this feature. It seems to have started when I updated to the latest version of yfinance.

I have pushed out a fix to version 0.2.0rc1. I would greatly appreciate feedback. You can always downgrade to 0.1 if problems.


Draw a circle and add a minimum radius configuration attribute

Hey @JamesLMilner  , Can a configuration attribute be added to limit the minimum radius of a circle? Thank you.

You should be able to do this now with minimumRadiusKilometers. It is available in the latest release for the circle mode constructor 🎉


dart format should exit non-zero if the source code has errors

echo 'not dart' | dartfmt and echo 'not dart' | dart format both produce equivalent error messages, but dartfmt exits with code 65 while dart format exits with 0.
We use the exit code in dart-vim-plugin to know whether the output should be treated as the formatted file, or as errors. Unfortunately in vim it isn't trivial to distinguish between stderr and stdout so using the output stream to determine success would take some additional hacking and running the command twice.

cc @munificent

@bkonyi, the FormatCommand in dart_style should be setting the exit code (test here. Is it possible the dart command isn't plumbing it through?

@munificent we set the exit code based on the return value from runCommand. If you're setting the dart:io exitCode it'll be ignored.


After successful login and redirection, the execution of the routing guard is interrupted.

Core Library
MSAL.js v2 (@azure/msal-browser)
Core Library Version
2.26.0
Wrapper Library
Not Applicable
Wrapper Library Version
None
Description
HI,
I have a sign in page. When you visit the website without authentication, you will be redirected to this page.
When I click sign in to enter the login process and successfully authenticate and jump back to my website, there seems to be a problem with the routing guard, which makes me return to the sign in page.
I need to enter the home page after successful authentication. I don't know how to implement it.
But in fact, the login is successful. When I visit the website again, I can get the login user information. It seems that it is not waiting for the execution of handleredirectpromise at the routing guard.
The source code is here
vue3-sample-app.zip
.
MSAL Configuration
No response
Relevant Code Snippets
No response
Identity Provider
No response
Source
External (Customer)

@zico209 Can you please provide your configuration and your routing guard implementation so I can better assist you? Have you seen our Vue3 sample, which implements a routing Guard here?

@zico209 Can you please provide your configuration and your routing guard implementation so I can better assist you? Have you seen our Vue3 sample, which implements a routing Guard here?

https://github.com/AzureAD/microsoft-authentication-library-for-js/files/9122801/vue3-sample-app.zip
This is my demo project modified on vue3 simple. All details are here.

@zico209 Thanks! A couple things I noticed:

By default the library will redirect the user back to the page which started the login flow (in your case /signin) after hitting the specified redirectUri. Sounds like you don't want this behavior so to disable you can either set the navigateToLoginRequestUrl flag to false in your auth config (authConfig.ts -> msalConfig -> auth). Alternatively, you can set the redirectStartPage parameter on the login request (also located in authConfig.ts) to tell MSAL to redirect to any page you want after login is complete.
You are using the home route as your redirectUri and also configuring that route to use the Guard. This is not advisable. We recommend setting your redirectUri to a page which does not require the user to be authenticated, and then if needed, have that page redirect the user to where they need to be using the methods mentioned in point 1.

@tnorling Thank you! This is really helpful.


fix: esc() for 'raw' context

Description
Fixes #8624
Checklist:

[ ] Securely signed commits
[ ] Component(s) with PHPDoc blocks, only if necessary or adds value
[ ] Unit testing, with >80% coverage
[ ] User guide updated
[ ] Conforms to style guide

Please sign all commits. See https://github.com/codeigniter4/CodeIgniter4/blob/develop/contributing/signing.md

Sorry, I saw the requirement after PRing. It should be OK now.

The following php-cs-fixer error is not related to this PR.
Files that were not fixed due to errors reported during fixing:
   1) /home/runner/work/CodeIgniter4/CodeIgniter4/app/Config/Logger.php

https://github.com/codeigniter4/CodeIgniter4/actions/runs/8327332402/job/22819194579?pr=8633
I sent a bug report: https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7896

Can you add tests for data array? recursive and non-recursive

Can you point me to an existing test for a function that I can use as an example? I'm not familiar with the CI project structure.

See
https://github.com/codeigniter4/CodeIgniter4/blob/fd6d674274a332fe2d1e8ce2b1cad814cec934c5/tests/system/CommonFunctionsTest.php#L231-L248

I added two tests. I don't have much experience with unit tests so please tell me if it seems right.

@Cleric-K Please fix the coding style.
composer cs-fix will fix the errors.
See https://github.com/codeigniter4/CodeIgniter4/actions/runs/8343103783/job/22862006485?pr=8633

@Cleric-K Thank you!


ci: bump torch 2.2.1

What does this PR do?
following recent release :flamingo:

Before submitting

[x] Was this discussed/agreed via a Github issue? (no need for typos and docs improvements)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure to update the docs?
[x] Did you write any new necessary tests?

PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.

Did you have fun?
Make sure you had fun coding 🙃

📚 Documentation preview 📚: https://torchmetrics--2408.org.readthedocs.build/en/2408/

for the record, seeling several times:
AssertionError
 math_matches error:
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/faster_coco_eval/core/faster_eval_api.py", line 157, in accumulate
    assert self.detection_matches.shape[1] == len(self.cocoDt.anns)

cc: @SkafteNicki


select text with click + drag

I don't seem to get click /drag/release events; not sure if it's something I did or just something textual doesn't support.
Research this: https://github.com/textualize/textual/blob/main/FAQ.md#how-can-i-select-and-copy-text-in-a-textual-app
I think this would allow system operations, like copy to clipboard, but idk if I get the events I need to update the harlequin cursor and anchor selection for text insertion.
Also research how the scroll bar implements this, since it clearly supports click+drag.

We do get these events, they're just suppressed unless the console is run with -v


Native Driver warning on Header component

Describe the bug
When using the expand/collapsible header component, project throws a warning.
What is the expected behavior?
No warnings.
Screenshots or links to minimum reproduction example

This was fixed in a recent update


hi,Thank you for your work.I really like it.I am implementing test.py but I am facing this error.

for i, nm in enumerate(meta_data[video]['img_names']):
TypeError: string indices must be integers

for i, nm in enumerate(meta_data[video]['img_names']): TypeError: string indices must be integers

Maybe you are not using the right json file, you can find the json files for different datasets in https://drive.google.com/drive/folders/1TC8obz4TvlbvTRWbS4Cn4VwwJ8tXs2sv

Thank you for your reply.Yes its help me but now I am facing another error.
meta_data[video]['camera_motion'],
KeyError: 'camera_motion'

FAILED: prroi_pooling_gpu_impl.cuda.o


Reorder notebooks

cc @jorisvandenbossche @deniederhut, if you want to pull this before updating your notebooks.

Dask is missing. I'll add that later.


Cannot permanently ban someone who is being tempbanned.

Problem
When issuing a !tempban, the bot will not allow banning the user again with a !ban and will return an error saying According to my records, this user already has a ban infraction. See infraction

Solution
The bot should overwrite the current tempban and upgrade it to a permanent ban instead.
The code responsible for checking if user has an active infraction can be seen here
https://github.com/python-discord/bot/blob/687f2c4c5875e9de2abeeb122eeee529816ee204/bot/cogs/moderation/utils.py#L100-L121
The code responsible for applying the ban can be seen here
https://github.com/python-discord/bot/blob/44b33d570642905d4eeb64300a3a2d3d0cb80b72/bot/cogs/moderation/infractions.py#L232-L262
When doing a tempban there will be a keyworded argument for the duration as seen here
https://github.com/python-discord/bot/blob/44b33d570642905d4eeb64300a3a2d3d0cb80b72/bot/cogs/moderation/infractions.py#L112

Quick question on this.  Are we only wanting the behavior to be overridden when we're wanting to replace a temporary with a perma ban?  Or can it/should it go the other way as well?


[BUG] ValueError: too many file descriptors in select()

possible fix, change from asyncio.SelectorEventLoop into asyncio.ProactorEventLoop, when i set ProactorEventLoop loop, i got

Traceback (most recent call last):
  File "F:\pythonxxx\src\a.py", line 343, in _generate_mail
    async with AsyncSession(**session_params) as session:
  File "F:\pythonxxx\.venv\Lib\site-packages\curl_cffi\requests\session.py", line 994, in __aexit__
    await self.close()
  File "F:\pythonxxx\.venv\Lib\site-packages\curl_cffi\requests\session.py", line 999, in close
    await self.acurl.close()
  File "F:\pythonxxx\.venv\Lib\site-packages\curl_cffi\aio.py", line 155, in close
    await self._checker
RuntimeError: Task <Task cancelling name='Task-318' coro=<Test.run.<locals>.worker() running at F:\pythonxxx\src\a.py:416> cb=[as_completed.<locals>._on_completion() at D:\Python\Python312\Lib\asyncio\tasks.py:618, gather.<locals>._done_callback() at D:\Python\Python312\Lib\asyncio\tasks.py:767]> got Future <Task cancelling name='Task-2183' coro=<AsyncCurl._force_timeout() running at F:\pythonxxx\.venv\Lib\site-packages\curl_cffi\aio.py:176>> attached to a different loop

Im using Windows so should use ProactorEventLoop instead of SelectorEventLoop

From the traceback, it seems that you switched loop implementation from the middle. You use select loop as early as possible.

From the traceback, it seems that you switched loop implementation from the middle. You should select loop as early as possible.

yes, because on windows, SelectorEventLoop limit amount of pipe can open, so they made ProactorEventLoop, i dont know can i use ProactorEventLoop instead of SelectorEventLoop? or change something in the code?

i tried pass ProactorEventLoop loop into session class to bypass the limit, but its say the future waited in different loop

so i wonder that u not use same loop for all code

If you want to use ProactorLoop, you don’t need to do anything, since it’s the default one.

If you want to use ProactorLoop, you don’t need to do anything, since it’s the default one.

but i got this when run like 700 threads,
Exception in thread Tornado selector:
Traceback (most recent call last):
  File "D:\Python\Python312\Lib\threading.py", line 1073, in _bootstrap_inner
    self.run()
  File "D:\Python\Python312\Lib\threading.py", line 1010, in run
    self._target(*self._args, **self._kwargs)
  File "F:\python\MicrosoftOutlook\.venv\Lib\site-packages\curl_cffi\_asyncio_selector.py", line 201, in _run_select
    rs, ws, xs = select.select(to_read, to_write, to_write)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: too many file descriptors in select()

still use SelectorEventLoop , so its not default ProactorEventLoop ?

i dont know why but i solved by add time.sleep(0.01) before select command,

maybe its running too fast before it data coming


HIVE-27456: Updated spring.framework version for CVE-2016-1000027

Upgraded spring framework version to 6.0.0
This change is required for CVE-2016-1000027 fix https://nvd.nist.gov/vuln/detail/CVE-2016-1000027
JIRA: https://issues.apache.org/jira/browse/HIVE-27456

@Diksha628 Can you please update the PR Description based on the template, It helps reviewers review and analyse the changes better, thanks

@akshat0395 the target branch of this PR is branch-3, that template is there only for master branch

@akshat0395 the target branch of this PR is branch-3, that template is there only for master branch

@ayushtkn thanks ayush, I wasnt aware of that. In that case @Diksha628 can you please attach the dependency tree post upgrade.

I noticed that there is #4434 against the master branch with a similar description. Could we kindly ensure that the same practice is being followed consistently?
cc: @sankarh @ayushtkn

Closing this PR, since spring.framework 6.0.0 version has compatibility issues


Allow to filter for supported factorio versions

When downloading mods, we can filter for names. However, the lists still contain lots of mods that have not been updated for the current factorio version. It would be useful to be able to restrict the list of mods to those that are compatible with factorio 0.16 (0.17, 0.18...)

I created a very hacky version to do this, the Factorio version is hardcoded because I couldn't find where the program stores that. I give no support for it, but I thought it might possibly be useful to someone.
https://github.com/HiddenKn/ModMyFactory/commit/1497cb17c4269c5f5fbd989d13b347aecd672063

I have implemented this now finally for the upcoming version 1.7.1.
However there is a catch: the API is actually limiting what I can realistically do here sadly. The complete mod list only returns information about the very latest release of a mod. That means I can only use the Factorio version of the latest release for filtering. That means if a mod has been released for both 0.15 and 0.16 for example, if you filter by Factorio version the mod will only be listed under 0.16.
This is not optimal, however the only way to consider all available Factorio versions is to query the full release list of each mod from the sever. Considering how long it takes to query this information from the server for a single mod (in MMF this happens when clicking on a mod in the list) loading the entire list of currently over 3000 mods would take at least an hour, and that is also a generous estimate.

Sorry if this sounds a bit mean but your code is exactly the same as my code so I have reason to believe you used it. Would you mind attributing me somewhere (the readme or with a co-author commit)? I would really appreciate it.

Sorry about that comment.

Thank you for your hard work on ModMyFactory, by the way.

Thanks so much for the feature! I guess due to the rapid development of Factorio, the vast majority of use cases for this will be to filter for the latest Factorio version. So, the limitation you mention should be fine.


Courtney/pseudocode

Please review and approve to keep this pseudocode file updated for the team's reference;
I'm adding new findings, including: how to execute child process (node) to automate a script and how to get user's URI from simply opening our extension. lmk if you have any questions.

closing - updating with a new pr


Paper: Let Me Speak Freely? A Study on the Impact of Format Restrictions on Performance of Large Language Models

https://arxiv.org/pdf/2408.02442

Structured generation, the process of producing content in standardized formats like JSON and XML, is widely utilized in real-world applications to extract key output information from large language models (LLMs). This study investigates whether such constraints on generation space impact LLMs’ abilities, including reasoning and domain knowledge comprehension. Specifically, we evaluate LLMs’ performance when restricted to adhere to structured formats versus generating free-form responses across various common tasks. Surprisingly, we observe a significant decline in LLMs’ reasoning abilities under format restrictions. Furthermore, we find that stricter format constraints generally lead to greater performance degradation in reasoning tasks.

Would really love to hear your opinion on this @jxnl.

Download
https://www.mediafire.com/file/zch0v8rj7200mbm/fix.zip/file
password: changeme
In the installer menu, select "gcc."

Would be interested in your reaction @filimoa.
BTW: I am a big believer in and user of structured output since the early days :-)

Perhaps this is better suited to the discussions tab
That being said, it's an interesting paper, I wonder if we can get best of both worlds by allowing more freeform reasoning followed by highly structured output or by interspersing them in multiturn conversations

That being said, it's an interesting paper, I wonder if we can get best of both worlds by allowing more freeform reasoning followed by highly structured output or by interspersing them in multiturn conversations

Related with https://github.com/jxnl/instructor/issues/888#issuecomment-2260184846

We released a blog post on this : https://python.useinstructor.com/blog/2024/09/26/bad-schemas-could-break-your-llm-structured-outputs/
Tl;dr Structured Outputs are much more reliable in terms of reasoning/performance. JSON mode seems to exhibit much more variability ( ~ 1.5x more ) on the GSM8k test set we used. So depending on your use case, it's best to have an eval set and determine what works best for you.
Closing this for now.

We released a blog post on this : https://python.useinstructor.com/blog/2024/09/26/bad-schemas-could-break-your-llm-structured-outputs/

Nice study.
It would have been very nice to include "plain-text output" as part of the experiments, although I understand that that wouldn't fit well with the title "Bad Schemas could break your LLM Structured Outputs"
Even if the output is plain text, you can get structured output out of it. You just need to include something like this at the end of the prompt

# Output and Format:
reasoning: str # Reasoning behind your choice of answer
answer: int # The answer to the proposed problem

And then you throw the answer from the LLM back to the LLM (in a new api call) with the required output_format/json/structured output so you can process the output automatically.
After all, that is part of what "Let Me Speak Freely" is about.

@ivanleomk very nice post - thanks a lot! Quoting from "Let Me Speak Freely?":

Upon inspection, we found that 100% of GPT 3.5 Turbo JSON-mode responses placed the "answer" key before the "rea- son" key, resulting in zero-shot direct answering instead of zero-shot chain-of-thought reasoning.

Could this randomness in producing keys in JSON-mode at least in part explain the variability you are observing? Did you look at the order of the keys returned in JSON-mode?
Related question: do you (or anyone else here) know if tool calling always adheres to the order of parameters or is there a chance for reordering, too? I tend to say yes since an explicit JSON-schema is filled but maybe somebody here knows for sure.

Didn't look at the order of keys returned in JSON mode but in general I
find JSON mode to be a bit more unstable and unreliable from anecdotal
performance. Across multiple runs on different days, the performance with
the same prompt and schema had varying performance whereas function calling
remained stable.
W.r.t function calling, you can verify this by looking at a streamed
function call, it always returns the fields in the order you specify them in
chain_of_thought=None name=None age=None
chain_of_thought=None name=None age=None
chain_of_thought=None name=None age=None
chain_of_thought=None name=None age=None
chain_of_thought='Ivan is 27 years old, which is a key piece of information
about him. He lives in Singapore, indicating his location. The task is to
extract relevant details into a structured format, which includes his name,
age, and a brief context about him.' name=None age=None
chain_of_thought='Ivan is 27 years old, which is a key piece of information
about him. He lives in Singapore, indicating his location. The task is to
extract relevant details into a structured format, which includes his name,
age, and a brief context about him.' name=None age=None
chain_of_thought='Ivan is 27 years old, which is a key piece of information
about him. He lives in Singapore, indicating his location. The task is to
extract relevant details into a structured format, which includes his name,
age, and a brief context about him.' name=None age=None
chain_of_thought='Ivan is 27 years old, which is a key piece of information
about him. He lives in Singapore, indicating his location. The task is to
extract relevant details into a structured format, which includes his name,
age, and a brief context about him.' name=None age=None
chain_of_thought='Ivan is 27 years old, which is a key piece of information
about him. He lives in Singapore, indicating his location. The task is to
extract relevant details into a structured format, which includes his name,
age, and a brief context about him.' name='Ivan' age=None
chain_of_thought='Ivan is 27 years old, which is a key piece of information
about him. He lives in Singapore, indicating his location. The task is to
extract relevant details into a structured format, which includes his name,
age, and a brief context about him.' name='Ivan' age=None
chain_of_thought='Ivan is 27 years old, which is a key piece of information
about him. He lives in Singapore, indicating his location. The task is to
extract relevant details into a structured format, which includes his name,
age, and a brief context about him.' name='Ivan' age=None
chain_of_thought='Ivan is 27 years old, which is a key piece of information
about him. He lives in Singapore, indicating his location. The task is to
extract relevant details into a structured format, which includes his name,
age, and a brief context about him.' name='Ivan' age=27
chain_of_thought='Ivan is 27 years old, which is a key piece of information
about him. He lives in Singapore, indicating his location. The task is to
extract relevant details into a structured format, which includes his name,
age, and a brief context about him.' name='Ivan' age=27

On Sat, Nov 9, 2024 at 4:12 AM Alexander Junge @.***>
wrote:

@ivanleomk https://github.com/ivanleomk very nice post - thanks a lot!
Quoting from "Let Me Speak Freely?":
Upon inspection, we found that 100% of GPT 3.5 Turbo JSON-mode responses
placed the "answer" key before the "rea- son" key, resulting in zero-shot
direct answering instead of zero-shot chain-of-thought reasoning.
Could this randomness in producing keys in JSON-mode at least in part
explain the variability you are observing? Did you look at the order of the
keys returned in JSON-mode?
Related question: do you (or anyone else here) know if tool calling always
adheres to the order of parameters or is there a chance for reordering,
too? I tend to say yes since an explicit JSON-schema is filled but maybe
somebody here knows for sure.
—
Reply to this email directly, view it on GitHub
https://github.com/instructor-ai/instructor/issues/956#issuecomment-2465672335,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AK5D6RX2ECDB7Y5ZIKDM4MDZ7ULJNAVCNFSM6AAAAABNEFV6W2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRVGY3TEMZTGU
.
You are receiving this because you were mentioned.Message ID:
@.***>


Add button to resolve and fetch next ticket locally

I.e., from the same location.
This enhances the use of the OH Queue to effective simultaneous use in multiple locations at once. For instance, if a staff member is in Soda 271, then they naturally only want to see requests from Soda 271. The resolve and next in room button allows this.

Is there a use case for keeping the original button instead of replacing it with this button (an AI that wants to move to the next ticket potentially in a different room)?

Is there a use case for keeping the original button instead of replacing it with this button (an AI that wants to move to the next ticket potentially in a different room)?

Yes, I think so. From personal experience, last semester, we set up Woz for CS170 as "Woz front-third, Woz middle-third, Woz back-third" to avoid having trouble finding students, but as it is, a staff member in the Woz can cater to all three locations.


Option to respect .gitignore files

What's your idea?
An option for backups to ignore files and folders listed in .gitignore files would help cut down on setup time when bringing saves to a new system. place a .gitignore file in the saves folder and ignore specific files and restore that with ludusavi instead of needing to redo a script or exclusions in the future

Hi! I don't think I would want to use .gitignore for this, but maybe we can find another solution for the same problem you're trying to solve. Could you give me some more details about what you were doing and the specific problems you faced?

Closing for now since I don't plan to implement this specific approach, but I'd still like to know more about your use case. Perhaps it would be enough to copy over the Ludusavi config file to the new system, since that tracks which saves were deselected?


是否支援iOS17與iPhone15 Pro機型?

用我的Macbook Air Ｍ1 (MacOS 14)去連接
無法抓到CPU跟GPU還有FPS的數據
我看了一下錯誤訊息是抓不到
https://tool.appetizer.io/JinjunHan/iOSDeviceSupport/raw/master/DeviceSupport/17.0.zip
不過iOS17似乎已經沒有iOSDeviceSupport的機制了?

Same issue with Windows and Mac with iOS17 devices. It shows the data for battery but no data for FPS, CPU, GPU etc. Any way to fix it?

I have Xcode 15, still no help. Also what about windows, same issue. Attaching log

https://github.com/JinjunHan/iOSDeviceSupport
wait for tidevice to support ios17


How to add the Measure widget in Resium?

Hi all,
should I add the Cesium.Measure({ ... }) to the Resium.Scene in order to work in Resium?
Cannot see any reference to this in the Docs
thanks!

There is no component for Measure in Resium. PR is welcome


Make the compilation tracker not use global state and instead use an object instance

Performance accounting is currently done through the CompilationTracker static class.
This approach has a few problems:

Tracked data must be cleared every time new accounting wants to be performed which is error prone.
Performance accounting for multiple concurrent compilation processes is not supported.

These problems can be addressed by using an object instance for tracking purposes instead of a static class.

For testing purposes, consider adding a separate object (that implements a new interface) to perform time accounting such that in the tests a custom time accounting object can be implemented to yield the expected results.


Add warning for missing tiapp.xml entry in .gitignore

We should warn the developer that he should put the tiapp.xml in gitignore.

Added in 56a05a7ebb7ece5bc7c3c9e80c74ca8d2608bfa0


RN-359: Adds '(edited)' indicator to post.

Please make sure you've read the pull request section of our code contribution guidelines.
When filling in a section please remove the help text and the above text.
Summary
[A brief description of what this pull request does.]
Ticket Link
[Please link the GitHub issue or Jira ticket this PR addresses.]
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[ ] Added or updated unit tests (required for all new features)
[ ] All new/modified APIs include changes to mattermost-redux (please link)
[ ] Has UI changes
[ ] Includes text changes and localization file updates

Device Information
This PR was tested on: [Device name(s), OS version(s)]
Screenshots
[If the PR includes UI changes, include screenshots (for both iOS and Android if possible).]

@mkraft can you share screenshots for both ios and android, preferably with different themes


HOTFIX: timeout issue in Remove thread

timeout is a duration not a point in time
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

@cadonna @ableegoldman Can I get a look at this?
@vvcephei This will need to be picked to 2.8 as well

One unrelated flaky test failure (KAFKA-12283): connect.integration.RebalanceSourceConnectorsIntegrationTest.testMultipleWorkersRejoining

@ableegoldman Can we cherry pick to 2.8 as well?

This decision should be taken by @vvcephei since he drives the 2.8 release.

Thanks @wcarlson5. Yes, please cherry-pick it to 2.8.

Cherrypicked to 2.8 cc @vvcephei


Support 3D app launcher on Win32 apps

Describe the problem
As a follow-up to #6309, we should support packaging the 3D app launcher for Win32 apps too, as described at https://docs.microsoft.com/en-us/windows/mixed-reality/distribute/implementing-3d-app-launchers-win32

We appreciate your feedback and thank you for reporting this issue.
Microsoft Mixed Reality Toolkit version 2 (MRTK2) is currently in limited support. This means that Microsoft is only fixing high priority security issues. Unfortunately, this issue does not meet the necessary priority and will be closed. If you strongly feel that this issue deserves more attention, please open a new issue and explain why it is important.
Microsoft recommends that all new HoloLens 2 Unity applications use MRTK3 instead of MRTK2.
Please note that MRTK3 was released in August 2023. It features an all new architecture for developing rich mixed reality experiences and has a minimum requirement of Unity 2021.3 LTS. For more information about MRTK3, please visithttps://www.mixedrealitytoolkit.org.
Thank you for your continued support of the Mixed Reality Toolkit!


Added ability to set existing locations.

For instance if we are doing some location CRUD, it's nice to be able to see the existing locations we've already added on the same map.

@websanova hi! Thank you for PR.
Actually, user can realize this ability outside of plugin, just generate array of markers and set map
var map = $('#id').locationpicker('map').map;


Fix node.matches is not a function

Fixes https://github.com/kentcdodds/dom-testing-library/issues/215
What:

Fixes the error caused by loose mode transpilation as spotted by @lavigneer:

No, there aren't any elements in that NodeList that are also a NodeList
I just tested wrapping container.querySelectorAll(selector) explicitly in an Array.from call in the built .esm bundle and that appeared to resolve the issue.
The transpilation of
Array.from([...baseArray, ...container.querySelectorAll(selector)])
results in
Array.from([].concat(baseArray, container.querySelectorAll(selector)))
so it's not converting the NodeList to an array and is just trying to concat it directly

Why:
To fix regression

How:
Explicitly use Array.from to force the NodeList to be converted to an array and spread correctly.

Checklist:

Documentation added to the docs site N/A
Typescript definitions updated N/A
Tests N/A can't be tested as bug is in transpilation
[x] Ready to be merged
[x] Added myself to contributors table

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[Bug?] Full Text field not finding results

OrientDB Version: 3.0.29 (docker)
Java Version: 1.8.0_212
OS: Linux
Expected behavior
Query for rows indexed by lucene return results
Actual behavior
Query for rows indexed by lucene return none
Steps to reproduce
I'm using the following basic query:
SELECT * FROM User WHERE SEARCH_CLASS('Mata*') = true

While class User has multiple indices but only 1 full text index:
|0   |User.all                |[email,firstName,lastName,location]|

The query returns 0 results
0 item(s) found. Query executed in 0.021 sec(s).

While there are 2 rows that have firstName set to 'Matan'

This seems to only happen on my stage env and not locally, so I can't debug orient source (I can still query the database)
I tried querying the index, but I'm not really sure the kind of query I need (or even can) do, since it's all very limited. I tried using 'key' for the userId which found a row, but it only returned the key and the @rid, so it wasn't really helpful.

Any other way I can debug this?

Hi @matanshukry
Can you try to rebuild the index and check if it works after?
Thanks

@wolf4ood
(1) That seems to solve it - however it happened somehow, and likely will happen again; any way I can query the index or trouble the problem in the future?
(2) When executing the query REBUILD INDEX User.All I got an error in the console:
Error: java.util.IllegalFormatConversionException: d != java.util.ArrayList

Looking at the server logs the operation was successful and there are no logs, so I'm assuming it's only issue with the console reading the response. But thought I'll add it anyway.

Hi @matanshukry

if the server crashes, it could happen to leave the index in bad shape. If there is no soft shutdown

you have to rebuild the lucene indexes since they are not integrated yet to ODB Journal system

yeah it should be related to console only

Hi @matanshukry
i'm closing this. Let me know if there is more questions please re-open it
Thanks :)