After a recent update my app crashes when trying to show a map....

Not sure if it is after the latest Xcode updates - but I have a suspicion...
This happens in the iOS simulator. Just commenting out the map in the XML and it runs without crashing.
It just crashes with something like this:
=================================================================
	Native Crash Reporting
=================================================================
Got a segv while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================

=================================================================
	Native stacktrace:
=================================================================
	0x10f576a65 - /Users/jda/Library/Developer/CoreSimulator/Devices/8C2837C8-72C2-4B79-B4AD-D3FD28EC35A6/data/Containers/Bundle/Application/DF77A01C-FC0A-41B4-A827-9055A922D1B4/Angler.iOS.app/Angler.iOS : mono_dump_native_crash_info
	0x10f56ae8e - /Users/jda/Library/Developer/CoreSimulator/Devices/8C2837C8-72C2-4B79-B4AD-D3FD28EC35A6/data/Containers/Bundle/Application/DF77A01C-FC0A-41B4-A827-9055A922D1B4/Angler.iOS.app/Angler.iOS : mono_handle_native_crash
	0x10f57ddab - /Users/jda/Library/Developer/CoreSimulator/Devices/8C2837C8-72C2-4B79-B4AD-D3FD28EC35A6/data/Containers/Bundle/Application/DF77A01C-FC0A-41B4-A827-9055A922D1B4/Angler.iOS.app/Angler.iOS : mono_sigsegv_signal_handler_debug
	0x125213e2d - /usr/lib/system/libsystem_platform.dylib : _sigtramp
	0x0 - Unknown
	0x16dd32195 - /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/OpenGLES.framework/libGLProgrammability.dylib : glvmInterpretFPTransformFour
	0x16d23d986 - /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/OpenGLES.framework/GLRendererFloat.bundle/GLRendererFloat : gldLLVMFPTransform2x2
	0x16d23cce7 - /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/OpenGLES.framework/GLRendererFloat.bundle/GLRendererFloat : gldMergeScanlines2x2
	0x16d2520c4 - /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/OpenGLES.framework/GLRendererFloat.bundle/GLRendererFloat : gldLLVMVecPolyRender
	0x16d23a540 - /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/OpenGLES.framework/GLRendererFloat.bundle/GLRendererFloat : gldRenderFillPolygonPtr
	0x1736ea16e - Unknown
	0x16d0c66f7 - /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/OpenGLES.framework/GLEngine.bundle/GLEngine : gleFlushAtomicFunc
	0x16d11310d - /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/OpenGLES.framework/GLEngine.bundle/GLEngine : glDrawElements_IMM_ES2Exec
	0x10f0f2c83 - /Users/jda/Library/Developer/CoreSimulator/Devices/8C2837C8-72C2-4B79-B4AD-D3FD28EC35A6/data/Containers/Bundle/Application/DF77A01C-FC0A-41B4-A827-9055A922D1B4/Angler.iOS.app/Angler.iOS : _ZN7gmscore8renderer8GLEntity4DrawEPNS0_14EntityRendererEPNS0_9RenderBinERKPKc
	0x10f0f7360 - /Users/jda/Library/Developer/CoreSimulator/Devices/8C2837C8-72C2-4B79-B4AD-D3FD28EC35A6/data/Containers/Bundle/Application/DF77A01C-FC0A-41B4-A827-9055A922D1B4/Angler.iOS.app/Angler.iOS : _ZN7gmscore8renderer9RenderBin11PerformDrawINSt3__121__tree_const_iteratorINS_4base10reffed_ptrINS0_10BaseEntityEEEPNS3_11__tree_nodeIS8_PvEElEEEEvT_SE_PNS0_14EntityRendererEb
	0x10f1b07cd - /Users/jda/Library/Developer/CoreSimulator/Devices/8C2837C8-72C2-4B79-B4AD-D3FD28EC35A6/data/Containers/Bundle/Application/DF77A01C-FC0A-41B4-A827-9055A922D1B4/Angler.iOS.app/Angler.iOS : _ZN7gmscore6vector22GMSVectorTileRenderBin4DrawEPNS_8renderer14EntityRendererE
	0x10f0f0a4a - /Users/jda/Library/Developer/CoreSimulator/Devices/8C2837C8-72C2-4B79-B4AD-D3FD28EC35A6/data/Containers/Bundle/Application/DF77A01C-FC0A-41B4-A827-9055A922D1B4/Angler.iOS.app/Angler.iOS : _ZN7gmscore8renderer14EntityRenderer4DrawEb
	0x10f17c77c - /Users/jda/Library/Developer/CoreSimulator/Devices/8C2837C8-72C2-4B79-B4AD-D3FD28EC35A6/data/Containers/Bundle/Application/DF77A01C-FC0A-41B4-A827-9055A922D1B4/Angler.iOS.app/Angler.iOS : -[GMSPhoenixRenderer drawForced:]
	0x10f161780 - /Users/jda/Library/Developer/CoreSimulator/Devices/8C2837C8-72C2-4B79-B4AD-D3FD28EC35A6/data/Containers/Bundle/Application/DF77A01C-FC0A-41B4-A827-9055A922D1B4/Angler.iOS.app/Angler.iOS : -[GMSEntityRendererView draw]
	0x10f1abd80 - /Users/jda/Library/Developer/CoreSimulator/Devices/8C2837C8-72C2-4B79-B4AD-D3FD28EC35A6/data/Containers/Bundle/Application/DF77A01C-FC0A-41B4-A827-9055A922D1B4/Angler.iOS.app/Angler.iOS : -[GMSVectorMapView draw]
	0x10f15fe76 - /Users/jda/Library/Developer/CoreSimulator/Devices/8C2837C8-72C2-4B79-B4AD-D3FD28EC35A6/data/Containers/Bundle/Application/DF77A01C-FC0A-41B4-A827-9055A922D1B4/Angler.iOS.app/Angler.iOS : -[GMSEntityRendererView displayLinkFired:]
	0x10f15ee9f - /Users/jda/Library/Developer/CoreSimulator/Devices/8C2837C8-72C2-4B79-B4AD-D3FD28EC35A6/data/Containers/Bundle/Application/DF77A01C-FC0A-41B4-A827-9055A922D1B4/Angler.iOS.app/Angler.iOS : -[GMSDisplayLink displayLinkFired:]
	0x1202bc474 - /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/QuartzCore.framework/QuartzCore : _ZN2CA7Display11DisplayLink14dispatch_itemsEyyy
	0x1203bb9c6 - /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/QuartzCore.framework/QuartzCore : _ZL22display_timer_callbackP12__CFMachPortPvlS1_
	0x112afcb42 - /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation : __CFMachPortPerform
	0x112b31125 - /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation : __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__
	0x112b304cc - /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation : __CFRunLoopDoSource1
	0x112b2a901 - /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation : __CFRunLoopRun
	0x112b29a90 - /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation : CFRunLoopRunSpecific
	0x1256c1c8e - /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices : GSEventRunModal
	0x13a65190e - /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UIApplication _run]
	0x13a656569 - /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : UIApplicationMain
	0x168cacf85 - Unknown
	0x168cac753 - Unknown

=================================================================
	Basic Fault Address Reporting
=================================================================
Memory around native instruction pointer (0x16dce38b9):0x16dce38a9  00 48 8b 7d d0 48 8d 5f 08 c7 45 b8 00 00 00 00  .H.}.H._..E.....
0x16dce38b9  44 8a 27 44 8a 33 41 83 f8 06 0f 87 eb 06 00 00  D.'D.3A.........
0x16dce38c9  44 89 ef 21 cf 66 0f ef c0 44 89 c0 48 8d 1d 1c  D..!.f...D..H...
0x16dce38d9  21 00 00 48 63 04 83 48 01 d8 ff e0 40 0f b6 c7<EMAIL_ADDRESS>
=================================================================
	Managed Stacktrace:
=================================================================
	  at <unknown> <0xffffffff>
	  at UIKit.UIApplication:UIApplicationMain <0x00254>
	  at UIKit.UIApplication:Main <0x00172>
	  at Angler.iOS.Application:Main <0x00092>
	  at <Module>:runtime_invoke_void_object <0x001a8>
=================================================================

Anyone else seeing this - and have ideas to solve it?
I have not made any changes to this code - so it is something "around" the project i.e. development tools

Not sure if related, but I have a similar issue with Xamarin.Google.iOS.Maps v6.0.1. The only workaround for me is to install Xamarin.Google.iOS.Maps v3.9.0 aside of Xamarin.Forms.GoogleMaps v3.3.0

Interesting. I tried to upgrade Xamarin.Google.iOS.Maps from v.3.9 to 6.0.1 - but then it cannot build...
This is my map code:
<maps:Map  InitialCameraUpdate="{Binding InitialCameraUpdate,Mode=OneWay}"
                    MapType="{Binding MyMapType, Mode=OneTime}">
    <maps:Map.Behaviors>
        <bindings:BindingPinsBehavior Value="{Binding Pins}"/>
        <bindings:AnimateCameraBehavior Request="{Binding AnimateCameraRequest}"/>
        <bindings:InfoWindowClickedToCommandBehavior Command="{Binding PinClickedCommand}" />
    </maps:Map.Behaviors>
</maps:Map>

If I remove the InitialCameraUpdate then it doesn't crash - but obviously place the map in a wrong place..

I am experiencing the same issue whereby the app crashes when the map is shown on iOS. It happens on the simulator and on a physical device.
I am using Xamarin.Forms.GoogleMaps 3.3.0 and Xamarin.Google.IOS.Maps 3.9.0 on an iPhone 13 running iOS 15.5. I have tried updating to version 6 but that stops the project from building.
I am running the solution from my MacBook Pro using Visual Studio for mac:

I am not currently able to publish my app. Please help! Thanks.  Everything was working until recent updates, no code has changed.

Try my nuget - posted here https://github.com/amay077/Xamarin.Forms.GoogleMaps/issues/784#issuecomment-1040305197


How to build?

There are any differences or custom flags from building cpu-only common tensorflow?
Thanks in advance!

You need to use the --copt=-mavx as well as the --define tensorflow_xsmm=1 flags when calling bazel to enable xsmm in tensorflow.

I have added https://github.com/hfp/libxsmm/blob/master/documentation/tensorflow.md (or PDF).


Rewrite semicolonRule

PR checklist

[ ] Addresses an existing issue: #0000
[x] New feature, bugfix, or enhancement

[x] Includes tests

[x] Documentation update

Overview of change:
Simplify ASI checks for TypeAlias, import, export and debugger
Simplify checks for semicolon
[bugfix] Ignore comments when checking for unnecessary semicolon
[bugfix] Don't report unnecessary semicolon when followed by regex literal
[enhancement] New check for export statements, function overloads and shorthand module declaration
[enhancement] Report unnecessary semicolons in classes and in statement position (for option "always"
too)
Is there anything you'd like reviewers to focus on?
This is just the beginning to make option "never" fully ASI compatible.

I reverted the changes regarding type literals for now, because they caused too much failures.
The rule will need better config options for this to be usable. I will add that in a followup PR once this one lands.

please resolve conflict


Add innerStep support.

This is my simplified version of #214, leaving all of the styling of inner steps to CSS.

Hi @carljm, in an effort to clear up older issues/PRs we are pinging back to know if you are still tracking this request.
To give a little bit of context, recently a decision was made in the project to make the development more active and the first task is to clear up older issues like this one to see if the OP is still interested in keep it going.
By the way, this seems duplicate of the substep functionality proposed on #207

Yes, I think this is roughly the same functionality as #207. This version of the functionality worked well for me in practice and was easy to use; I'd need to take a closer look at #207 to see how it compares in practice.

Do you want to take a look and check if the functionality is the same or similar? Eventually we need to close one of them because it doesn't make sense having 2 duplicated Pull Requests =/

After further review, I think this is rather different from #207 (though they are similar enough that I don't think both should be merged; rather one of them should be improved if needed to make sure it can handle the same use cases as the other).
AFAICT #207 is usable only by a JS developer. The substeps are not elements in the markup that one steps through, they are callback functions attached to a slide via somewhat circuitous means (you have a global window.impressSubsteps object, which is a string-indexed collection of callback functions, and then you reference one of those callback functions with a string in the slide's data-substep attribute). The callback can do anything it wants on an attempt to advance to the next slide, and it can prevent the slide from advancing by returning false. This is a very flexible system, but on the downside it has a much steeper barrier to entry, especially for non-developers.
With this PR, you can declare any element in your slide an "innerStep" by just giving it the CSS class .innerstep. As you advance, each innerstep within the slide, from first to last, is given the CSS class .stepped. Thus it's trivial with only CSS knowledge to do a typical set of "revealed" substeps, by just styling .innerstep as invisible and .innerstep.stepped as visible. For more advanced use cases requiring custom JS, this PR also offers the "innerstep" event, which allows running arbitrary JS at the time of an innerstep advance.
So I believe that this PR ultimately offers the same flexibility as #207 for when its needed, but makes the simple cases much simpler (and usable by non-developers). Also, I think it's more consistent with the existing impress.js API, in that the hook for custom code is an impress event, not the introduction of an entirely new global object full of callback functions.

(I wouldn't have any problem with updating this PR to rename them from "innerSteps" to "substeps", if that naming is preferred. Or any other changes that are desired.)

@carljm Thanks for the feedback! We will definitely revisit this PR later. If you want to keep track of what we are doing, see https://github.com/impress/impress.js/issues/512

See substep plugin, now merged to master.


Add more information in the Error Type.

I think the current implementation, which includes only a message and it's the responsibility of the rule, is a little cumbersome. If I want a different error message, I need to create a custom rule. If this applies to all the rules, I believe it's worth considering programmatic access to the validation type and constraint info that failed or the constraints (Like in the param data in the Validator Crate) or the option to override the error message. I expect comments on this or even if it’s relatively easy to implement with the current state of this library or even if it's the plan.
Thanks for your time.

Please search through issues before opening new ones:

https://github.com/jprochazk/garde/issues/3
https://github.com/jprochazk/garde/issues/7
https://github.com/jprochazk/garde/issues/105


[Tracking] WebAuthn support

Modify MANY to support WebAuthn requests
See https://webauthn.guide/#webauthn-api

The current PR #69 is a non-compliant workaround making use of the WebAuthn API.
After discussion with the team, we should work on being compliant with the WebAuthn spec.

ETA this week.

We have a working version to demo.


GCE quickstart does not work

To reproduce:

Follow the instructions here word for word https://cloud.google.com/nodejs/docs/tutorials/getting-started-on-compute-engine
startup script fails with:

Default
2020-11-16 17:08:32.000 PST
Nov 17 01:08:32 my-app-instance systemd[1]: Started Google Compute Engine Startup Scripts.
Default
2020-11-16 17:08:32.000 PST
Nov 17 01:08:32 my-app-instance supervisord: nodeapp npm
Default
2020-11-16 17:08:32.000 PST
Nov 17 01:08:32 my-app-instance supervisord: nodeapp
Default
2020-11-16 17:08:32.000 PST
Nov 17 01:08:32 my-app-instance supervisord: nodeapp ERR!

Default
2020-11-16 17:08:32.000 PST
Nov 17 01:08:32 my-app-instance supervisord: nodeapp
Default
2020-11-16 17:08:32.000 PST
Nov 17 01:08:32 my-app-instance supervisord: nodeapp enoent
Default
2020-11-16 17:08:32.000 PST
Nov 17 01:08:32 my-app-instance supervisord: nodeapp ENOENT: no such file or directory, open '/opt/app/new-repo/package.json'
Default
2020-11-16 17:08:32.000 PST
Nov 17 01:08:32 my-app-instance supervisord: nodeapp npm
Default
2020-11-16 17:08:32.000 PST
Nov 17 01:08:32 my-app-instance supervisord: nodeapp
Default
2020-11-16 17:08:32.000 PST
Nov 17 01:08:32 my-app-instance supervisord: nodeapp ERR!

👋 @nicoleczhu Thanks for reporting the issue. Into which location did you clone the GitHub repository? Looks like nodeapp is trying to find it here: /opt/app/new-repo/. You can ssh into the instance and list what's in that directory.

Greetings. Looks like the issue got resolved. Please let us know if we should reopen it.


[Request] 1.16.5 You Died

Hi, I was wondering if you could publish a 1.16.5 version of the You Died mod really quick! I want to include it in a modpack that I've spent the last few months making inspired by Dark Souls. I want to publish the pack tomorrow so anytime that day (03/02/2022) would be AMAZING. If you do this I will love you forever

Just released the 1.16.5 version of the mod here: https://www.curseforge.com/minecraft/mc-mods/you-died/files/3670055


[BACKLOG-18592] - Search an replace all hadoop cluster url to the file system url

Only resolve hc url with a cluster information that is defined.

@mkambol @tkafalas please review.
@tkafalas I had a horrible time trying to setEmbeddedNamedCluster in the transmeta for testing. Is there any other alternative.

@rmansoor this looks good
Couple alternatives for mocking the embeddednamedcluster in the transmeta:

Use a mockito spy.  (in general spys are evil, but sometimes is the best way with legacy code).
Pass the named cluster in to the convert method.

@mkambol thanks for the feedback. Updated the pr with your suggestions. Please review

Build Completed
:fire: This pull request has some issues. It would be preferable to fix them in order for it to be just perfect. See below for more details. Some links are also available below for further assistance in addressing those issues.
Build Commands
mvn -B -fn -f 'pom.xml' -pl 'engine' -P '!assemblies' -amd clean install && mvn -B -f 'pom.xml' -pl 'engine' -P '!assemblies' -amd site

Cleanup Commands
mvn -B -f 'pom.xml' -pl 'engine' -P '!assemblies' -amd build-helper:remove-project-artifact

Changed files
  engine/src/main/java/org/pentaho/di/trans/ael/adapters/TransMetaConverter.java
  engine/src/test/java/org/pentaho/di/trans/ael/adapters/TransMetaConverterTest.java

Unit test coverage change
These statistics help you identify how your changes have affected the coverage of the following files. If a file is not in this list, then its coverage was not affected by your changes. To get some help interpreting these metrics, please refer to Jacoco's documentation.
org.pentaho.di.job.entries.evaluatetablecontent.JobEntryEvalTableContent

Branch Change:  + 1.01%
Complexity Change:  + 1.06%
Instruction Change:  + .17%

org.pentaho.di.trans.ael.adapters.TransMetaConverter

Branch Change: -6.71%:small_red_triangle_down:
Complexity Change: -5.79%:small_red_triangle_down:
Instruction Change:  + .92%
Line Change:  + 1.11%
Method Change:  + .41%

org.pentaho.di.trans.step.StepMeta

Branch Change:  + .68%
Complexity Change:  + 1.16%
Instruction Change:  + .37%
Line Change:  + .52%
Method Change:  + 1.01%

org.pentaho.di.trans.steps.checksum.CheckSumMeta

Instruction Change:  + .11%

org.pentaho.di.trans.steps.combinationlookup.CombinationLookupMeta

Instruction Change:  + .04%

org.pentaho.di.trans.steps.constant.ConstantMeta

Instruction Change:  + .10%

org.pentaho.di.trans.steps.file.BaseFileInputFiles

Branch Change:  + 11.11%
Complexity Change:  + 5.26%
Instruction Change:  + 14.45%
Line Change:  + 17.65%
Method Change:  + 10.00%

org.pentaho.di.trans.steps.file.BaseFileInputMeta

Complexity Change:  + 7.69%
Instruction Change:  + 3.85%
Line Change:  + 3.70%
Method Change:  + 11.11%

org.pentaho.di.trans.steps.fileinput.text.TextFileInputMeta

Branch Change:  + 1.20%
Complexity Change:  + 5.22%
Instruction Change:  + 3.81%
Line Change:  + 3.53%
Method Change:  + 9.80%

org.pentaho.di.trans.steps.groupby.GroupByMeta

Branch Change: -1.04%:small_red_triangle_down:
Complexity Change: -1.05%:small_red_triangle_down:
Instruction Change: -.14%:small_red_triangle_down:
Line Change: -.37%:small_red_triangle_down:

org.pentaho.di.trans.steps.ifnull.IfNullMeta

Branch Change: -2.00%:small_red_triangle_down:
Complexity Change: -1.89%:small_red_triangle_down:
Instruction Change: -.17%:small_red_triangle_down:

org.pentaho.di.trans.steps.memgroupby.MemoryGroupByMeta

Branch Change: -1.12%:small_red_triangle_down:
Complexity Change: -1.30%:small_red_triangle_down:

org.pentaho.di.trans.steps.pgbulkloader.PGBulkLoaderMeta

Branch Change:  + .89%
Complexity Change:  + .98%

org.pentaho.di.trans.steps.singlethreader.SingleThreaderMeta

Instruction Change:  + .10%

org.pentaho.di.trans.steps.synchronizeaftermerge.SynchronizeAfterMergeMeta

Instruction Change:  + .04%

org.pentaho.di.trans.steps.tableoutput.TableOutputMeta

Branch Change: -.91%:small_red_triangle_down:
Complexity Change: -.82%:small_red_triangle_down:

org.pentaho.di.trans.steps.textfileoutput.TextFileOutputMeta

Branch Change:  + 4.92%
Complexity Change:  + 3.95%
Instruction Change:  + .95%
Line Change:  + 1.37%
Method Change:  + 1.10%

org.pentaho.di.trans.steps.uniquerows.UniqueRowsMeta

Instruction Change:  + .18%

org.pentaho.di.trans.steps.webservices.WebServiceMeta

Branch Change:  + 1.79%
Complexity Change:  + 1.19%
Instruction Change:  + .07%

org.pentaho.di.trans.steps.googleanalytics.GaInputStepMeta

Instruction Change:  + .07%

org.pentaho.di.trans.steps.salesforceinsert.SalesforceInsertMeta

Instruction Change: -.15%:small_red_triangle_down:

org.pentaho.di.trans.steps.salesforceupdate.SalesforceUpdateMeta

Instruction Change:  + .17%

org.pentaho.di.trans.steps.salesforceupsert.SalesforceUpsertMeta

Instruction Change:  + .14%


💧 first drop for a SQLite backend that stores when each field was last updated

See https://github.com/apollographql/apollo-kotlin/issues/3566
First drop for a SQLite backend that stores when each field was last updated. It introduces a new SQLite table that stores Records in a binary format that also holds the last updated timestamp.
This allows to throw a cache miss when a given field is older that a configured max-age
    val client = ApolloClient.Builder()
        .normalizedCache(
            normalizedCacheFactory(),
            TypePolicyCacheKeyGenerator,
            MaxAgeCacheResolver(10) // Allow 10s for the max Age
        )
        .serverUrl("https://...")
        .build()

    val records = query.normalize(data, CustomScalarAdapters.Empty, TypePolicyCacheKeyGenerator).values

    client.apolloStore.accessCache {
      // store records 11s in the past
      it.merge(records, cacheHeaders(currentTimeMillis()/1000 - 11))
    }

    try {
      client.query(GetUserQuery()).fetchPolicy(FetchPolicy.CacheOnly).execute()
      fail("An exception was expected")
    } catch (e: CacheMissException) {
      assertTrue(e.age != null) // Age will be 11s
    }

Next steps:

add more tests
make the maxAge configurable per-type/per-field programmatically
make the maxAge configurable per-type/per-field declaratively
add benchmarks

One thing that I'm not entirely sure I understand: the date stored along with fields - with the MaxAgeCacheResolver they're meant to represent the time at which they were received, right? But with a different Resolver, they could also represent an expiration date in the future (whose value could come from the server), right? So it is a generic date - its usage can adapt to needs?

Excellent question. At the moment it's mostly the receive time. We could store the expiration time too I guess. It wouldn't be too hard I think. Something I want to improve is to make sure a given database is always open with the same assumption (blob vs json, date vs expire). I'll suggest something

Also closes https://github.com/apollographql/apollo-kotlin/issues/3758


Fix filtering by =[[]]

Summary of the changes / Why this improves CrateDB
Follows https://github.com/crate/crate/pull/16688. Works on 5.8.3, regression on master only. Please see the commit for details.
Checklist

[x] Added an entry in the latest docs/appendices/release-notes/<x.y.0>.rst for user facing changes
[x] Updated documentation & sql_features table for user facing changes
[x] Touched code is covered by tests
[x] This does not contain breaking changes, or if it does:

It is released within a major release
It is recorded in the latest docs/appendices/release-notes/<x.y.0>.rst
It was marked as deprecated in an earlier release if possible
You've thought about the consequences and other components are adapted
(E.g. AdminUI)

Thank you @romseygeek, added.

retest this please, unrelated failures.

sphinx failed, retest this please


use virtual dry static energy instead of density

Fix issues discuss on the channel

Code changes look fine to me. My only question would be: do we want the ΔDSEᵥ ≈ FT(0) comparison in this form or not? Is this what we want? I'm not advocating for something different, it would just be more efficient to get this the first time around.

@charleskawczynski thanks for commenting on that, you are totally right! This problem is also in the original SF.jl and could have been the cause for many of the problems reported in the past week (@jiahe23 @szy21 @akshaysridhar).
I am changing it to compare(num::FT) where {FT} = isapprox(num, FT(0.0); atol=FT(1e-3), rtol=0)
which would return true for FT(1e-3). DSE is order cpT ~ 3e5 so this is probably as sensitive as we would need.

@yairchn  I think we can do this using the isapprox function and providing the appropriate tolerance (rtol and atol are keyword arguments, so a new compare function is perhaps not needed ); I agree that ≈ is more stringent than is necessary for these cases.

@yairchn @jiahe23 https://github.com/CliMA/SurfaceFluxes.jl/blob/4f85d1b5a567e9809d20358d0d6fd767184f09a6/test/runtests.jl#L150-L172 This block exercises the code in this PR, given input parameters from specific examples in ClimaAtmos.jl

We just released Thermodynamics.jl. I can upgrade the dependencies and would you like to update the PR after that @akshaysridhar ?

We just released Thermodynamics.jl. I can upgrade the dependencies and would you like to update the PR after that @akshaysridhar ?

@szy21 Yes ; will run through a round of tests following the rebase, then update with the new functions defined in Thermodynamics #120.

bors r+


how to use this code?

Hello,
how to use this code and create a QG model?

This implementation is still a work in progress, and is not yet able to train a QG model out of the box.

@shizhediao yeah it works now


Cannot download data file - Git LFS - Over Quota Limit

Expected Behavior

When I clone the repo and run git lfs install in the repo, correct data file should be downloaded in beacon/deploy/db and running docker containers after that should launch the containers.
Current Behavior

The file is not downloaded, beacon container exits and error on the console gunzip: invalid magic
Error downloading object: deploy/db/data.sql.gz (67b1c20): Smudge error: Error downloading
deploy/db/data.sql.gz (67b1c20b4e2cbb4194037dcc26377515b01739e0f9eff5d50b874a6f24f6fa3d):
batch response: This repository is over its data quota. Account responsible for LFS bandwidth
should purchase more data packs to restore access.

This repository is over its data quota. Account responsible for LFS bandwidth should
purchase more data packs to restore access.

Possible Solution

Purchase more bandwidth please :sweat_smile:

Apologies, I should have searched before opening.  I see this comment now https://github.com/EGA-archive/beacon-2.x/issues/74#issuecomment-908258917

As far as I know there is no plan to do that, and we should probably find another way to share the demo data.

Is there another way to get demo data?

Not at the moment.
We are working on a different approach: generate some fake demo data.
@sdelatorrep and @MrRobb can bring some light on it (in a few weeks).
Leaving the issue open so that, eventually, a discussion takes place here.


Audit logs aren't instantly updated on demotion

Add a sleep to let the audit log catch up before generating the report or you might miss the demotion event in the report.

@droidpl - As discussed earlier, this should add some leeway to allow the organisation audit log to be flushed before generating the report.

Merging. This should work straight away. Thanks for the fix @steve-norman-rft


docs: fix typo in custom user attributes docs

This fixes what I believe was a small copy/paste typo that gave me a quick second of confusion while working through the docs.
The section is "Define user attributes" and the first sentence describes defining custom session attributes.

Thanks!


httparse 1.9.1 unit tests fail to compile on 32-bit architectures

I tried to rebase the Fedora Linux package for the httparse crate to the latest version, but got test failures on i686-unknown-linux-gnu. Looks like some file types might have an unexpectedly-architecture-dependent size:
error[E0308]: mismatched types
   --> src/simd/swar.rs:194:36
    |
194 |     assert!(!is_header_value_block(*b"foo.com\n"));
    |              --------------------- ^^^^^^^^^^^^^ expected an array with a fixed size of 4 elements, found one with 8 elements
    |              |
    |              arguments to this function are incorrect
    |
note: expected because the closure was earlier called with an argument of type `[u8; 4]`
   --> src/simd/swar.rs:182:40
    |
182 |         assert!(!is_header_value_block([b; BLOCK_SIZE]), "b={}", b);
    |                  --------------------- ^^^^^^^^^^^^^^^ expected because this argument is of type `[u8; 4]`
    |                  |
    |                  in this closure call
note: closure parameter defined here
   --> src/simd/swar.rs:178:34
    |
178 |     let is_header_value_block = |b| match_header_value_char_8_swar(b) == BLOCK_SIZE;
    |                                  ^
error[E0308]: mismatched types
   --> src/simd/swar.rs:195:36
    |
195 |     assert!(!is_header_value_block(*b"o.com\r\nU"));
    |              --------------------- ^^^^^^^^^^^^^^ expected an array with a fixed size of 4 elements, found one with 8 elements
    |              |
    |              arguments to this function are incorrect
    |
note: expected because the closure was earlier called with an argument of type `[u8; 4]`
   --> src/simd/swar.rs:182:40
    |
182 |         assert!(!is_header_value_block([b; BLOCK_SIZE]), "b={}", b);
    |                  --------------------- ^^^^^^^^^^^^^^^ expected because this argument is of type `[u8; 4]`
    |                  |
    |                  in this closure call
note: closure parameter defined here
   --> src/simd/swar.rs:178:34
    |
178 |     let is_header_value_block = |b| match_header_value_char_8_swar(b) == BLOCK_SIZE;
    |                                  ^
For more information about this error, try `rustc --explain E0308`.
error: could not compile `httparse` (lib test) due to 2 previous errors

Hm, seems like our CI matrix has several holes. I added an x86 target this morning, but perhaps we need another one with SIMD disabled?

v1.9.2 published with this fixed.

Awesome, thank you for the quick fix!


APIOps Publisher adding the BaseUrl value to WebService Url if it is empty

Release version
APIOps v 3.0.1
Describe the bug
I have an API where Webservice URL is left empty and we are using 'set-backend-service' policy to add the backend dynamically. When we deploy the artifacts where apiInformation.json does not have 'serviceUrl' property, publisher is automatically using 'BaseUrl' value and adding it to 'Webservice Url' post deployment
Expected behavior
WebService url should be left empty
Actual behavior
Value from BaseUrl is assigned to Webservice url making both fields have the same value
Reproduction Steps

Create a API
Leave Webservice URL blank
Run extractor and it will bring apiInformation.json with 'serviceUrl' property
Run publisher and see the value of base url is now assigned to Webservice url

@rohit3d2003 - thanks, I was able to reproduce the behavior. Looks like the APIM REST API sets things to the base URL if you don't explicitly pass a null service URL.
Is that causing any issues for you? I would expect the set-backend-service policy to still override things correctly.
In any case, we'll have the extractor explicitly set serviceUrl: null if you don't pass a Web Service URL.

It unfortunately looks like this behavior is by design in APIM. Our tool just provides an abstraction layer over the APIM REST APIs. We won't try to change their behavior.
Here's how to manually reproduce it:

Create an API without a web service URL.

Export the API's specification file.

The generated specification file will include the server's base URL.

Import the generated specification file.

Once the import is complete, the API has the base service URL as its web service URL.

I noticed this issue after promoting to our QA environment. The Dev url is showing up in QA because it comes from the openAPI spec which is added by Azure APIM.
Fortunately it can be overridden using a publish configuration (see below), but this issue is annoying because the backend url was already provided via a backend and now it needs to be specified in two places that are under control of two different teams. Rather than deal with that I removed the backend and am just specifying the backend url via the following:
apis:
- name: my-api-name
  properties:
    serviceUrl: https://my-api-backend-url

why can't we use an empty string in the above sample? @waelkdouh / @nathan-j-nd
apis:

name: my-api-name
properties:
serviceUrl: "" or '' or null or none

APIM Supports empty Web Service URL, manually you could remove it and save it, but when I am running the pipeline, it doesn't publish the changes, stating the error that the value for serviceUrl is invalid

@waelkdouh / @nathan-j-nd  - any updates on this ticket?

Also interested in this.

@waelkdouh, @nathan-j-nd

@waelkdouh  / @nathan-j-nd  - any updates on this ticket?

Just to be clear this is an open source project. Do you are opening an issue and not a ticket and this we can't give you any timelines. We are currently busy with v6 release. We will get to this issue when we get time.

Will investigate. We might be reading serviceUrl: null as serviceUrl: "null" in configuration.

following

subscribing

@guythetechie Could this be because of JsonIgnore?
[JsonPropertyName("serviceUrl")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? ServiceUrl { get; init; }


Stable Coin Bridge Suggestion on Native Bridge

We can use USDC as gas fee on some platforms. Why can't we use stable coins for bridge just like as gas fees?  We need to reduce our dependence on Ethereum. This is a suggestion.
Regardsly.

agree


weighted hypergraph

Model: AllSetTransformer
If I understood correctly, in the original code implementation all the hyperedges are assumed to have unit weight. Now my hypergraph has weighted hyperedges, how do I integrate this information into the code?
I noticed the comment below https://github.com/jianhao2016/AllSet/blob/15cbc85a9c325815ab7b8f4bf51ff8e56bac2628/src/models.py#L330 . If the hyperedge weight can be considered as hyperedge feature, where do I concat the hyperedge weight exactly? Is it after the final output of the PMA of the self.V2EConvs block i.e. https://github.com/jianhao2016/AllSet/blob/15cbc85a9c325815ab7b8f4bf51ff8e56bac2628/src/layers.py#L157 ?

Hi @JMian ,
Thanks for being interested in our work! I believe your understanding is correct. Just concatenate your edge feature with the output of self.V2EConvs blocks. Remember to change the E_in_dim accordingly. Please let us know if it works well or if you encounter other issues with this approach. I am also interested in knowing how AllSet would work on your data :)
Best,
Eli

Thanks for confirming. I have concatenated the hyperedge weights with the output of self.V2EConvs block and it worked. I’ve also tried the another approach by multiplying the output of self.V2EConvs block by the hyperedge weight, it seems to work too. However, as of now I can’t say for sure which approach is better, probably needs more training and/or hypeparameter tuning to tell.  As I am using AllSet with the other downstream task, I didn’t separate out AllSet from the overall task to test its performance on my data. Nevertheless, the metrics for the overall task is definitely improving. Thanks!


WatchingResolvePathTemplateManager issue with renamed files

There's a bug in the renamed file handler:
void watcher_Renamed(object sender, RenamedEventArgs e)
{
    watcher_Changed(sender, new FileSystemEventArgs(WatcherChangeTypes.Deleted, e.OldFullPath, e.OldName));
    watcher_Changed(sender, new FileSystemEventArgs(WatcherChangeTypes.Created, e.FullPath, e.Name));
}

The second parameter to FileSystemEventArgs is a directory not a path, so the args passed to watcher_changed don't point to the proper filenames, and all rename events are essentially ignored.

This fixes it for me:
        void watcher_Renamed(object sender, RenamedEventArgs e)
        {
            var contentRoot = watchers.FirstOrDefault(w => e.OldFullPath.StartsWith(w.Path))?.Path;
            if (contentRoot != null)
            {
               // directory should be monitored root, name should be relative to that contentRoot folder.
                watcher_Changed(sender, new FileSystemEventArgs(WatcherChangeTypes.Deleted, contentRoot, e.OldName));
                watcher_Changed(sender, new FileSystemEventArgs(WatcherChangeTypes.Created, contentRoot, e.Name));
            }
        }


Add an option to ignore certain files

It would be great to have a glob shellcheck.excludeFiles option to ignore known "bad" files, 3rd-party files, unsupported shell scripts etc. I.e. don't run shellcheck for those files at all to avoid cluttering the Problems view.

v0.5.0 released with this feature, please have a look at "shellcheck.ignorePatterns". It shares the same syntax as "files.exclude".

@timonwong Thank you! However, the matcher seems to skip files/folders starting with a period.
From what I see, this is just a matter of setting the dot minimatch option: https://github.com/isaacs/minimatch#dot


cb is not a function

Sorry for the late reply but to fix that issue try reinstalling the package.

Sorry for the late reply but to fix that issue try reinstalling the package.

still same

Thank you for replying, I will look into this issue as soon as possible, while it is still happening have you tried using the ejs version?


Missing locked field in scoreboard API

Hi!
SpongeVanilla version: 1.12.2-7.3.0
Java version: 8
Operating System: macOS
Plugins: only my plugin in development (cosmos)

Just a little ticket to inform that I can't find the Locked field in org.spongepowered.api.scoreboard.Score:

This field is used for the /trigger command to enable a non-op player to modify his own score on the selected objective.

Thank you for reading this issue.

PR merged


[udp] bind to Thread interface by default

Bind to Thread network by default so that UDP sockets in CLI can send multicast packets through Thread network interface.

fixes the issue reported in https://groups.google.com/g/openthread-users/c/gfB6e1W-opM/m/YfYEQhqQFQAJ

Any idea if there are still issues when running under Zephyr? Posted here and then I saw these multiple PR - none of which are in latest Nordic Connect :(
https://groups.google.com/g/openthread-users/c/iS_4MRlc9zo/m/ptD3MnutAAAJ

Any idea if there are still issues when running under Zephyr? Posted on openthread-users and then I saw these multiple PR - none of which are in latest Nordic Connect :(
@bukepo @jwhui @wgtdkp
https://groups.google.com/g/openthread-users/c/iS_4MRlc9zo/m/ptD3MnutAAAJ

This PR addresses issues that only appear when using the the posix platform - specifically when OpenThread is managing a network interface on the host OS as well as Thread. I don't believe this should be an issue in nRF Connect SDK.


[Doc] Missing information about updating token validity period in identity.xml

Validity period of access tokens can be modified by configuring the following parameters in identity.xml.
<AccessTokenDefaultValidityPeriod>
<UserAccessTokenDefaultValidityPeriod>

These changes will only take effect on new applications created through the API Store. This information should be added to the documentation at [1].
[1] https://docs.wso2.com/display/AM260/Token+API#TokenAPI-Configuringthetokenexpirationtime

Closing Since the issue has been stale for a long time.


MediaElement package not pointing to the right URL

I noticed that MediaElement package is still pointing to https://github.com/johndyer/mediaelement and it is now under https://github.com/mediaelement/mediaelement. Is there a way to update this?

Any updates on this?


Not able to run credential tool with "--ui" option.

Steps to reproduce the problem:

Launch UI using - GPTSCRIPT_CHAT_UI_TOOL=github.com/gptscript-ai/ui@v2 gptscript --ui

Execute the following script that uses credentials:

Tools:  github.com/gptscript-ai/gpt4-v-vision, github.com/gptscript-ai/dalle-image-generation
chat: true

Describe the image in file file:///Users/sangeethahariharan/Downloads/grocerylist.png

Following error is seen:

Expected Behavior:
Should be prompted to enter the credentials.

Played with this one a bit and can reproduce.
Datapoint: If I run this from the TUI and i enter the credential there, then it works from the UI (because it doesnt have to prompt for creds.
So, it's something to do with credential prompting. I wonder if it is because it is doing permissions and the cred prompting back-to-back.

Tested with latest gptscript ui.
User is prompted to enter credentials when there is a tool that requires credential is called (and credential is not already present).
Able to enter credentials and proceed with scrip execution.


Option to setup columns number

Since last update, the providers list has been split into two columns. That is not generally a bad idea, but it needs a little improvement. Otherwise on the phones like my Pixel, I can see only 5 digits of any code it provides until I rotate it on the widescreen format, which is not very convenient. Please add the option to manage columns number or implement #136. Thank you

I just updated the app and it went from list view to grid view. As a result I can only see 4 OTP digits per provider, meaning I can no longer effectively use the app (except for relying on the copy-to-clipboard). Please allow for some way to customize this.

There is a miscalculation in the column calculation. This is fixed in https://github.com/helloworld1/FreeOTPPlus/commit/59c124fe1ca7cdfbed36bbc1661c6a70b9c851bb

2.5 was released to fix the issue.


Auto-generate the release notes upon release

Issue Summary
For every release, we hand craft the release notes on GitHub, now we would like to automate this process. Please see the existing release notes for an example. The contents of the release notes are generated from the CHANGELOG.md file. Here is the documentation for updating the release notes via the GitHub API.
Acceptance Criteria

A script, which when run, creates a release note update based on the last deployed release

I'm happy to have a look at this. 👍

Closing as we're moving to internal tooling for automated release notes.


ASE: kloc fix for scanf in ase

Implemented ASE version of sscanf_s_ii, fscanf_s_i and fscanf_s_u

These fixes were requested by klocwork

Local NLB tests passed.

DCP regression at:
http://sw-pert.altera.com/pert/pert.php?test_run_id=2482407

Coverage remained the same at 69.022% when pulling c72a2639250ba8d5ba0c872ae50beb06d2d4cb2a on lzhan55/kloc_fix_scanf into 296f077718614d0ef0173f867e7035b83e210665 on master.

DCP regression running at http://sw-pert.altera.com/pert/pert.php?test_run_id=2515724


Login Workflow

From morpho-app created by neema-orual: Radiant-Industries/morpho-app#18
Currently login is hardcoded. Do have a credentials cache now (would like to encrypt it at rest, currently plaintext), need to check if it works properly and finish the login workflow.

So it fails on the first login attempt, but picks up the credentials when you restart the app just fine. WTF?

Got rid of the hardcoded stuff and fixed a bunch of bugs. Might actually work now.

This is the most critical thing holding back a public alpha release. Gotta take another look at it.


[bug] when i use command, then WebKitWebProcess memory leak.

Describe the bug
test commamd code:
#[tauri::command]
pub fn test_mem_command() -> Result<Vec<u8>, String> {
    debug!("test_mem_command");
    let v = vec![0xff; 1024 * 1024];
    Ok(v)
}

js code:
setInterval(() => {
    invoke('test_mem_command');
}, 1000)

Reproduction
This demo demonstrates the memory leak.

clone

git clone https://github.com/zzyandzzy/tauri-memory-leak.git

run

cargo run

top

# get pid
ps -ef | grep WebKitWebProcess
top

screenshot:

Expected behavior
No response
Platform and versions
Environment
  › OS: Linux 2.8 X64
  › Node.js: 14.17.6
  › npm: 7.21.1
  › pnpm: Not installed!
  › yarn: 1.22.17
  › rustup: 1.24.3
  › rustc: 1.60.0
  › cargo: 1.60.0
  › Rust toolchain: stable-x86_64-unknown-linux-gnu

Packages
  › @tauri-apps/cli [NPM]: 1.0.0-rc.8

Stack trace
No response
Additional context
No response

I can reproduce this issue :( seems like the eval function is leaking the memory.

An example only using window.eval to demonstrate the issue:
use tauri::Manager;

fn main() {
  tauri::Builder::default()
    .setup(|app| {
      let w = app.get_window("main").unwrap();
      std::thread::spawn(move || loop {
        std::thread::sleep_ms(500);
        let v = vec![0xff; 1024 * 1024 * 2];
        w.eval(&format!("{:?}", v)).unwrap();
      });
      Ok(())
    })
    .run(tauri::generate_context!(
      "../../examples/helloworld/tauri.conf.json"
    ))
    .expect("error while running tauri application");
}

I checked with @wusyong and there's nothing we can do here, the leak is from webkit2gtk process itself (and that's not the only one).

If your command uses a lot of memory, try using a custom protocol instead to see if webkit can handle that.

tauri-invoke-http is also an alternative, which leverages a localhost server (yikes) instead of our current IPC implementation.

If your command uses a lot of memory, try using a custom protocol instead to see if webkit can handle that.

I have tried using a custom  protocol, two things:

If freezes the UI when you make a request.
The memory still leaks

Also, a memory leak happens when you emit an event to a window in a loop.
During my investigation, I  found out that if you emit an event to the window but on the window, there is no listener registered there will be no memory leak. But if a listener is registered,  a memory leak occurs.


UPDATE THE BUTTONS AND SECTIONS SO THEY CAN WORK AGAIN

Since there is now a new way to create buttons and sections, please update ckptw now to be able to do this.

Already planned, maybe it will be implemented in the next update 👍

Already planned, maybe it will be implemented in the next update 👍

really? yall found the work around for buttons?

@Cyberkingcr7 Just use InteractiveMessage (or whatever it's called), it seems like buttons can be used... But some issues like messages that have buttons I think are not supported on Whatsapp Desktop and web(?)

@Cyberkingcr7 Just use InteractiveMessage (or whatever it's called), it seems like buttons can be used... But some issues like messages that have buttons I think are not supported on Whatsapp Desktop and web(?)

well i dont see any references in this library of what you talkinag about?

@Cyberkingcr7 There is no reference to that in this repo. It is still under development. But if you look for references in other repos that develop bots using Baileys, you might find what you're looking for.

Buttons and sections can now be used in the latest version 👍

Thanks this is a great repo if you get time please just work a bit on poll message, getting the keys and etc

@Cyberkingcr7 Do you mean this poll message or what?


Remove author tags

Authors tags don't provide much use. Multiple authors will work on a file over time, just adding more people using tags seems counter-productive. Additionally any version control system will have the capability to track who created/modified/deleted a file.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 46.915%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1525

Relevant Lines:
3012

💛  - Coveralls


DO NOT MERGE: Concurrent queries transactions

Hello,
This PR has some skeleton code for basic transactional queries support in quickstep. This PR follows the design proposed in the presentation attached with https://issues.apache.org/jira/browse/QUICKSTEP-107.

@pateljm @zuyu @jianqiao Can you take a look at these changes whenever possible? Thanks.

The design looks good to me! It would be better to fast forward to subsequent PRs to see the actual usage.


Getting "Something went wrong. Please try again." error in Wallet

I have followed the tutorial and when I click on "Add to Google Wallet" button the Wallet is showing the error "Something went wrong. Please try again." and not adding the generic pass. Also the onActivityResult in CheckoutActivity is not getting called at all.
Any ideas where its going wrong and what the error could be? Thanks

Me too, getting this result always

I get the same error, but I go back onActivityResult in CheckoutActivity, with this error:
PayClient.SavePassesResult.SAVE_ERROR -> data?.let { intentData ->
      val errorMessage = intentData.getStringExtra(PayClient.EXTRA_API_ERROR_MESSAGE)
 }

and the received errorMessage is this:

{
  "errorCode": "INVALID_JSON",
  "errorMessage": "Not a JSON Object"
}

I copied the JWT made by
node generic_pass.js
any idea to solve this issue?

I solved my issue :D it was because of using
            walletClient.savePasses(                 token,                 this,                 addToGoogleWalletRequestCode             )
when I need to call savePassesJwt
for anyone who read it later and has the same issue, the codelab step-by-step procedure with that node.js, needs savePassesJwt instead of savePasses!

@parissakalaee
Still i'm getting "Something went wrong. Please try again" error

@mohamedebrahim96
What is the exact errorMessage?
 PayClient.SavePassesResult.SAVE_ERROR -> data?.let { intentData ->       val errorMessage = intentData.getStringExtra(PayClient.EXTRA_API_ERROR_MESSAGE)  }

@parissakalaee
1- i enabled the Google cloud Key for Google wallet
2- i downloaded the json file from Google cloud
3- i added (issuerId) in this file https://github.com/google-wallet/android-codelab/blob/main/backend/generic_class.js
with commend node generic_class.js
4- after running the android app i'm getting this
{   "errorCode": "INVALID_JSON",   "errorMessage": "Not a JSON Object" }


gopass thinks there is no usable keys - no info what is causing this

Summary
I'm setting up gopass on google colab, I've managed to configure gpg along with preset-password so that I'm able to fetch data from private github repo. So gpg works.
But gopass thinks it isn't. gopass clone fetches private repo using gpg-agent and then complains that there is no usable keys.
Unfortunately debugging does not help as you suppress any usable information in this line:
https://github.com/gopasspw/gopass/blob/d122a9c24b698acf1190f61ce5653d0c04741539/internal/action/setup.go#L231-L234
Steps To Reproduce
it is obvious from code.
Expected behavior
gopass informs user why it can't access any keys or there is a way to check that
Environment
google colab, installed today via direct download from github

It ssems that gopass is able to read all my keys but for some reason it does not encrypt anything.
gopass> show test
❌  empty secret
gopass> show kaggle
kaggle/
├── json
├── passwd
├── username
└── yaml

gopass> show kaggle/json
❌  empty secret

I can't diagnose what is going on as the error is muted here as well here:
https://github.com/gopasspw/gopass/blob/d00a8e1dbba5d3a8b4db19ee54f1734fa184dde4/internal/action/show.go#L166-L169

Sorry, I'm not familiar with google colab and how to use gopass there. Can you please try to provide some more details?
If you want to get more details out of gopass you can run it with GOPASS_DEBUG_LOG=/some/file.log and look inside.
Not everything that gets logged might be suitable for posting it here, but it should give you a clue why gopass thinks the keys are unusable.
Also I don't quite understand how you use GPG to fetch from a private GitHub repo. One is GPG the other is using SSH. Different encryption, different keys.

Hi @dominikschulz , thank you for having a look.
I've got in to the bottom of the issue. Ubuntu on colab has gpg 2.1.x and my macos has gpg 2.3.7. They are not compatible, as 2.3.7 select new AES block cipher ( ) which is not supported by old gpg , and the old gpg fails without errors outputing nothing.
Basically I can encode on Ubuntu and decode on OSX but not the otherway around. I've described the issue in more details in my answer: to https://unix.stackexchange.com/questions/697579/gpg-failing-with-no-error-for-one-of-my-encrypted-files/710736#710736
I'm looking for a way to workaround this without downgrading my GPG on macos.

Also I don't quite understand how you use GPG to fetch from a private GitHub repo. One is GPG the other is using SSH. Different encryption, different keys.
I'm using gpg-agent ssh mode , where it act as ssh-keyagent to authenticate the connections. It was pain to configure but it is working.

It seems the only way to fix this is to remove any AEAD algorithms from the key prefs, that way the older and slower MDC  (Modification Detection Code) will be used.
I've updated the  stackexchange answer, with the solution, it is rather long. But  I think it would make sense to a mention of this to setup.md.  As currently the keys generated with this guide cannot be used on platforms with GPG version below 2.3. That includes 1ubuntu 18.04 that is supported for 10 years so until 2028.
For anyone finding this ticket, the way to fix this is to disable AEAD in your key prefs by running gpg --edit-key ...  and then setpref SHA512 SHA384 SHA256 SHA224 SHA1 AES256 AES192 AES ZLIB BZIP2 ZIP Uncompressed then y then save. Then reencrypt your messages. The easiest way I found was to add a dummy recipient which will reencrypt all your passwords.
$ gopass recipients add
[ 0] 0x285CE99FAA64E280 - Piotr Czapla (api key used to decrypt gopass on less secure instances<EMAIL_ADDRESS>[ 1] 0x451EB25D7B6320CE - Piotr Czapla<EMAIL_ADDRESS>
Add Recipient - (q to abort) [0]: 1
1
Do you want to add "0x451EB25D7B6320CE - Piotr Czapla<EMAIL_ADDRESS>(key "0x451EB25D7B6320CE") as a recipient to the store ""? [y/N/q]: y
Reencrypting existing secrets. This may take some time ...
Starting reencrypt
] 5 / 5 [Goooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooopass] 100.00%

Added 1 recipients
You need to run 'gopass sync' to push these changes

And it would be useful to add some information to the error message: ❌  empty secret  and maybe an entry to faq.md
Something like: ❌  empty secret  (see: see https://gopass.pw/faq.md#empty-secret)
To do so I would change the faq to have multiple headers.  I've put that in to the pull request to show you what I mean.

I've added pull request #2285  with entry to the faq.md .


use cog

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


⚠ SceneTime has degraded performance

In 790b72a, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 1686 ms

Resolved: SceneTime performance has improved in 61b71b2 after 6 minutes.


The help site doesn't link to the main Vector Atlas site

In most cases, if a user left clicks on the help link the help website loads in the current tab. There is no link back to the main Vector Atlas website.
A link to the main website should be added to the help website

Link from help site to main website (https://vectoratlas.icipe.org/) added to VA logo.


Support startIndex for from_cbor/from_msgpack

The idea is to not create another copy of std::vector since my cbor data start at certain offset.
    static basic_json from_cbor(const std::vector<uint8_t>& v, const size_t startIndex = 0)
    {
        size_t i = startIndex;
        return from_cbor_internal(v, i);
    }

Done.

Thanks!

With 22b59693f110b730d41c8f616f82b1fef72c161a, the offset/startIndex parameter  was removed as this behavior can be mimicked with an iterator range. For instance, instead of calling
json j = json::from_cbor(vec, 5);

you can write
json j = json::from_cbor({vec.begin()+5, vec.end()});

Are the braces {} intentional?

Yes, I did not find a better way to implicitly create an input adapter from two parameters. And since there is a parameter with a default value following, I cannot use variadic parameters.
(Though I would love to find a solution!)

I didn't go into the details, but what about adding a new overload of  from_{cbor,msgpack} that take an iterator range, just like parse?
You could then construct the input_adapter as you did in your example code.

That would be one solution, but then I also have an input adapter to parse from a uint8_t* and a length, and then I would need another family of overloads...

(Of course, the example above could be written as
json j = json::from_cbor(json::input_adapter(vec.begin()+5, vec.end()));

Actually, this is also supported by parse:
auto j = json::parse(vec.begin(), vec.end());
auto j2 = json::parse(vec.data(), vec.data() + vec.size());

Both cases are covered with the same overload. Plus, that would be symmetrical with other parts of the API (e.g. parse as mentioned).
If those kind of methods could share the same API, that would become really intuitive to use IMO.

I know that this is desirable, but I don't really like copy/pasting so many functions...

On the other hand, there are at most two parameters, so I can add two functions for each parser and forward the arguments to the input_adapter constructors.

@theodelrieu Since you are the SFINAE wizard - what do you think of
template<typename A1, typename A2,
         detail::enable_if_t<std::is_constructible<detail::input_adapter, A1, A2>::value, int> = 0>
static basic_json from_cbor(A1&& a1, A2&& a2, const bool strict = true)
{
    return binary_reader(detail::input_adapter(std::forward<A1>(a1), std::forward<A2>(a2))).parse_cbor(strict);
}

Ahah I'm not sure I deserve that title :)
Well that will work, but I think it's quite brittle for some reasons:

Too complex for what it does.

You have no idea what kind of arguments the function takes. (Not to mention that input_adapter  is not exposed, due to the detail namespace)

Might break if there is a new ctor to input_adapter (or one less)

I understand that you don't want to copy code, in order to get the same interface than parse, but that's really what we want IMO:
All those functions (parse/from_cbor/msgpack) only take byte containers or equivalent.
Last but not least, I'd rather write boilerplate in the library code than in the client code, all day everyday! Even more when it's just a few lines ;)

I wish I had some arguments that do not translate into "I am too lazy to do the copying...". :-/

I can take care of it :p
Anyway I'd rather not have to rebase my PR (#700) twice a day, so if you want to wait a bit before committing that's fine for me!

I won't touch this one right now. I'm about to finish #593 and then I let the library go.

About https://github.com/nlohmann/json/issues/462#issuecomment-322864786:
I just realized we do more or less the same here: https://github.com/nlohmann/json/blob/develop/src/json.hpp#L8368


Global widget can't access setState method

I'm trying to create a show/hide password using a TextFormField but I can't access the setState method if the TextFormField were declared outside of the class. Here's what I did:

I have a StatefulWidget class named FormLogin.
Inside FormLogin, I have 2 layout widgets named frmLoginPortraitView and frmLoginLandScapeView.
Both frmLoginPortraitView and frmLoginLandScapeView were seperated widgets.
Outside of FormLogin, I created a global TextFormField named txtPassword.
Inside txtPassword, I put an onPressed() method, inside of it is the setState() method.
An error "setState isn't defined" is showing whenever I put the setState method in txtPassword which is a global widget.

I need to set the txtPassword global since I was calling it on both frmLoginPortraitView and frmLoginPortraitView every time user changing device orientation.

Questions like these are better suited for Q&A sites like StackOverflow or on one of the flutter community sites at https://flutter.dev/community


Handout, README.md and S2I example

Add a template for a handout with practical information to be handed out
at the workshop, a README.md file that describes the content of the
repository and one final example - S2I.

Looks good!
I wonder if we should add a bonus step to convert the route to a https -terminated one, since that is one of the nice features you get out of the box with Rahti?
oc create route edge rpi-https --service=rahti-public-intro --insecure-policy=Redirect


NSFS | Prevent concurrent UploadPart with different data

Environment info

NooBaa Version: 5.15
Platform: rhel+gpfs+nsfs

Actual behavior

While @guymguym and I looked at https://github.com/noobaa/noobaa-core/issues/7833 and https://github.com/noobaa/noobaa-core/pull/8017, a need to define better the concurrent NSFS UploadPart bahevior raised.
Few examples -
Concurrent UploadPart calls, partNumber equals (Sort of a retry), uploadId equals.
Concurrent UploadPart calls, partNumber differs, uploadId equals.
Conccurent UploadPart call and Complete multipart upload call, upload id equals.

Expected behavior

Having a well defined behavior of conccurent scenarios.

Steps to reproduce

NA

More information - Screenshots / Logs / Other output

commenting for preventing from clousre


Authentication: Move to first party app and change flow to implicit flow.

Authentication changes:

Move to Bot Framework first party app
On the app side, requested a change that jst got approved to allow implicit flow
Implicit flow docs: oauth spec  and aad docs.
Implicit flow returns the access token directly but to a reply uri approved by the app. We just intercept the request and extract the token from the url

Demos
Microsoft account
2 factor auth in progress

Phone authentication

Querying luis models after successful auth

Querying QnA resources

Hotmail account
Hotmail MFA password

Hotmail device authentication with Authenticator app

Live specific remember account to bypass 2fa in the future

Successful signin iwth hotmail

Pull Request Test Coverage Report for Build 1476

5 of 11 (45.45%)  changed or added relevant lines in 1 file are covered.
241 unchanged lines in 41 files lost coverage.
Overall coverage decreased (-3.7%) to 53.021%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

packages/app/main/src/services/azureAuthWorkflowService.ts
5
11
45.45%

Files with Coverage Reduction
New Missed Lines
%

packages/app/client/src/data/action/presentationActions.ts
1
50.0%

packages/emulator/core/src/utils/approximateObjectSize.ts
1
74.19%

packages/app/client/src/data/botHelpers.ts
1
65.0%

packages/app/client/src/data/action/endpointServiceActions.ts
1
71.43%

packages/app/shared/built/types/index.js
1
41.76%

packages/emulator/core/src/facility/attachments.ts
1
58.33%

packages/app/client/src/data/action/dialogActions.ts
1
0.0%

packages/emulator/core/src/utils/sendErrorResponse.ts
1
72.73%

packages/app/shared/built/types/responseTypes.js
1
47.06%

packages/app/client/src/data/reducer/azureAuthReducer.ts
1
66.67%

Totals

Change from base Build 1470:
-3.7%

Covered Lines:
3918

Relevant Lines:
6657

💛  - Coveralls


Cannot connect to OPCUA Server with hostname in server endpoint

Hi,
I confronted a problem while I was using publisher ver. 2.3.3 as an IoT Edge module on Azure VM (Windows 10 Pro 1809). When I specified the server endpoint with hostname in pn.json file, the publisher module couldn't establish connection with OPCUA server (I have done additional test that I replaced hostname with IP address, and it worked!). Could you please advise me how I can fix the connection problem with hostname in server endpoint?
And there was an ExtraHosts container create option to specify the hostname-IP pairs in the previous version. May I know how publisher module looks up the IP without ExtraHosts configuration?
And I provide my system information and module settings below.
While using hostname in server endpoint (opc.tcp://brianopc:62541/Quickstarts/ReferenceServer), the prompted error messages are as following.
[07:41:12 INF] Publisher is running. Press CTRL-C to quit.
[07:41:12 INF] Connect and monitor session and nodes on endpoint 'opc.tcp://brianopc:62541/Quickstarts/ReferenceServer'.
[07:41:36 ERR] Session creation to endpoint 'opc.tcp://brianopc:62541/Quickstarts/ReferenceServer' failed 1 time(s). Please verify if server is up and Publisher configuration is correct.
Opc.Ua.ServiceResultException: Error establishing a connection: BadNotConnected
   at Opc.Ua.Bindings.ChannelAsyncOperation`1.End(Int32 timeout, Boolean throwOnError)
   at Opc.Ua.Bindings.UaSCUaBinaryClientChannel.EndSendRequest(IAsyncResult result)
   at Opc.Ua.Bindings.UaSCUaBinaryTransportChannel.EndSendRequest(IAsyncResult result)
   at Opc.Ua.Bindings.UaSCUaBinaryTransportChannel.SendRequest(IServiceRequest request)
   at Opc.Ua.DiscoveryClient.GetEndpoints(RequestHeader requestHeader, String endpointUrl, StringCollection localeIds, StringCollection profileUris, EndpointDescriptionCollection& endpoints)
   at Opc.Ua.DiscoveryClient.GetEndpoints(StringCollection profileUris)
   at Opc.Ua.Client.CoreClientUtils.SelectEndpoint(String discoveryUrl, Boolean useSecurity, Int32 operationTimeout)
   at OpcPublisher.OpcSession.ConnectSessionAsync(CancellationToken ct) in C:\app\opcpublisher\OpcSession.cs:line 288

However, I changed the hostname (brianopc) in the server endpoint to my VM's IP address (<IP_ADDRESS>), the publisher module worked fine! And the messages are stated as below.
[07:48:25 INF] Publisher is running. Press CTRL-C to quit.
[07:48:25 INF] Connect and monitor session and nodes on endpoint 'opc.tcp://<IP_ADDRESS>:62541/Quickstarts/ReferenceServer'.
[07:48:27 INF] Create unsecured session for endpoint URI 'opc.tcp://<IP_ADDRESS>:62541/Quickstarts/ReferenceServer' with timeout of 10000 ms.
[07:48:27 INF] Session successfully created with Id ns=3;i=2093901607.
[07:48:27 INF] The session to endpoint 'opc.tcp://<IP_ADDRESS>:62541/Quickstarts/ReferenceServer' has 4 entries in its namespace array:
[07:48:27 INF] Namespace index 0: http://opcfoundation.org/UA/
[07:48:27 INF] Namespace index 1: urn:brianopc:UA:Quickstarts:ReferenceServer
[07:48:27 INF] Namespace index 2: http://opcfoundation.org/Quickstarts/ReferenceApplications
[07:48:27 INF] Namespace index 3: http://opcfoundation.org/UA/Diagnostics
[07:48:27 INF] Created subscription with id 3 on endpoint 'opc.tcp://<IP_ADDRESS>:62541/Quickstarts/ReferenceServer'
[07:48:27 INF] Create subscription on endpoint 'opc.tcp://<IP_ADDRESS>:62541/Quickstarts/ReferenceServer' requested OPC publishing interval is 5000 ms. (revised: 5000 ms)
[07:48:27 INF] Start monitoring items on endpoint 'opc.tcp://<IP_ADDRESS>:62541/Quickstarts/ReferenceServer'. Currently monitoring 0 items.
[07:48:28 INF] Done processing unmonitored items on endpoint 'opc.tcp://<IP_ADDRESS>:62541/Quickstarts/ReferenceServer' took 916 msec. Now monitoring 1 items in subscription with id '3'.

Here I provide my environment info.
VM on Azure

VM Size: D2s v3
OS: Windows 10 Pro ver.1809
Container: Windows container

IoT Edge & Module

Container URI: mcr.microsoft.com/iotedge/opc-publisher:2.3.3-windows-amd64
Container Create Option:

{
  "Hostname": "publisher",
  "Cmd": [
    "--pf=./pn.json",
    "--aa"
  ],
  "HostConfig": {
    "Binds": [
      "c:/iiotedge:c:/appdata"
    ]
  }
}

pn.json file content:

[
  {
    "EndpointUrl": "opc.tcp://brianopc:62541/Quickstarts/ReferenceServer",
    "UseSecurity": false,
    "OpcNodes": [
      {
        "Id": "ns=2;s=Scalar_Simulation_Int64",
        "OpcSamplingInterval": 2000,
        "OpcPublishingInterval": 5000,
        "DisplayName": "Current time"
      }
    ]
  }
]

Best regards,
Brian Liu

@CHBrianLiu i was simplifying the sample CreateContainerOptions. You can still use the ExtraHosts configuration. I have updated the readme to show how to use it.

Hi @CHBrianLiu, can you confirm that the updated documentation fixes the issue?


Serializing/restoring form state

I'm looking for an ideal way to effectively take a snapshot of a form's current state and retrieve it, such that I can do something like...
state = form.serialize()

and get a representation of a form's current data (in perhaps JSON format?) in such a way that it can be saved in a database somewhere, and then later do:
form.deserialize(state)

My particular use case is a report generator, where it'd be useful to save the settings of a particular report and then re-initialize the form with those settings later.
My thought was that 'state' could essentially be a formdata-like multidict that, when sent to form.process(state), functions exactly as if the saved values had been submitted via normal means.  The issue here is it's not sufficient to merely grab the existing formdata multidict since it's not reliable in many cases (for instance, a form initialized from an object that hasn't yet been submitted) and there's no reliable way of -- given a particular field -- figuring out what the underlying form value(s) are.
it's also not sufficient to merely store form[field].data, as it's often not something that can be serialized (for instance, anything along the lines QuerySelectField where .data is an SQLAlchemy object rather than, say, an integer ID).
Any ideas on a clean way to do this?

If the data can't be serialized, what makes you think the form containing that data can be serialized?

I should clarify, it's not something that can be easily serialized.  WTForms already has some flavor of serialization -- every Widget is capable of rendering the appropriate HTML -- and this already take into account things like the current value(s).
I imagine form.serialize()'s output would resemble the same thing you'd get if you rendered the form in its current state and then immediately submitted it -- and deserialize() would treat that output as if the form had been submitted.


Your current environment
import os
os.environ["CUDA_VISIBLE_DEVICES"]="4,5,6,7"  # 4090*4
from transformers import AutoTokenizer
from vllm import LLM, SamplingParams
import time
import uvicorn
from fastapi import FastAPI,Body
from pydantic import BaseModel
import asyncio
apps = FastAPI()
path = "/workspace/model/llm/Mistral/Mistral-Large-Instruct-2407/Mistral-Large-Instruct-2407-IQ1_M.gguf"
sampling_params = SamplingParams(temperature=1.0,repetition_penalty=1.0,max_tokens=512)
Create an LLM.
llm = LLM(model=path,tokenizer="/workspace/model/llm/Mistral/Mistral-Large-Instruct-2407/",trust_remote_code=True,gpu_memory_utilization=0.8,tensor_parallel_size=4,enforce_eager=True,disable_custom_all_reduce=True)
🐛 Describe the bug
WARNING 09-10 15:07:35 multiproc_gpu_executor.py:56] Reducing Torch parallelism from 72 threads to 1 to avoid unnecessary CPU contention. Set OMP_NUM_THREADS in the external environment to tune this value as needed.
INFO 09-10 15:07:35 custom_cache_manager.py:17] Setting Triton cache manager to: vllm.triton_utils.custom_cache_manager:CustomCacheManager
(VllmWorkerProcess pid=3532163) INFO 09-10 15:07:35 multiproc_worker_utils.py:215] Worker ready; awaiting tasks
(VllmWorkerProcess pid=3532163) INFO 09-10 15:07:35 utils.py:977] Found nccl from library libnccl.so.2
INFO 09-10 15:07:35 utils.py:977] Found nccl from library libnccl.so.2
(VllmWorkerProcess pid=3532163) INFO 09-10 15:07:35 pynccl.py:63] vLLM is using nccl==2.20.5
INFO 09-10 15:07:35 pynccl.py:63] vLLM is using nccl==2.20.5
INFO 09-10 15:07:35 shm_broadcast.py:235] vLLM message queue communication handle: Handle(connect_ip='<IP_ADDRESS>', local_reader_ranks=[1], buffer=<vllm.distributed.device_communicators.shm_broadcast.ShmRingBuffer object at 0x7fed8f24fee0>, local_subscribe_port=38065, remote_subscribe_port=None)
INFO 09-10 15:07:36 model_runner.py:915] Starting to load model /workspace/model/llm/Mistral/Mistral-Large-Instruct-2407/Mistral-Large-Instruct-2407-IQ1_M.gguf...
(VllmWorkerProcess pid=3532163) INFO 09-10 15:07:36 model_runner.py:915] Starting to load model /workspace/model/llm/Mistral/Mistral-Large-Instruct-2407/Mistral-Large-Instruct-2407-IQ1_M.gguf...
INFO 09-10 15:07:58 model_runner.py:926] Loading model weights took 15.6715 GB
(VllmWorkerProcess pid=3532163) INFO 09-10 15:07:59 model_runner.py:926] Loading model weights took 15.6715 GB
/root/miniconda3/envs/vllm/lib/python3.10/multiprocessing/resource_tracker.py:224: UserWarning: resource_tracker: There appear to be 1 leaked shared_memory objects to clean up at shutdown
warnings.warn('resource_tracker: There appear to be %d '
段错误 (核心已转储)
Before submitting a new issue...

[X] Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.

vllm                              0.6.0

Does this segmentation fault occur when disabling tensor parallel?

cc @Isotr0py since it may be related to GGUF loading

Does this segmentation fault occur when disabling tensor parallel?

[rank0]: torch.OutOfMemoryError: CUDA out of memory. Tried to allocate 74.00 MiB. GPU 0 has a total capacity of 23.65 GiB of which 13.75 MiB is free. Process 2509972 has 23.63 GiB memory in use. Of the allocated memory 23.05 GiB is allocated by PyTorch, and 145.30 MiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True to avoid fragmentation.  See documentation for Memory Management  (https://pytorch.org/docs/stable/notes/cuda.html#environment-variables)

Mistral-Large-Instruct-2407-IQ1_M.gguf   1bit Already the smallest

Seems that the model has been loaded to GPU successfully, this may be related to problematic model forwarding instead. (Maybe caused by calling kernel like rotary_embeddings or page_attention)

Oh, it's because the gguf kernel we ported is out of date which didn't include IQ1_M implementation. I will add it back.


Handle new bankruptcy attachment page format

Seems there was some sort of update which changed the attachment page format for bankruptcy cases.

@mlissner I reviewed this one, and it looks good to be merged.

Wonderful, thank you both!


kvm: disable cpu features if feature starts with '-'

When I use SandyBridge as custom cpu in my testing, vm failed to start due to following error:
org.libvirt.LibvirtException: unsupported configuration: guest and host CPU are not compatible: Host CPU does not provide required features: avx, xsave, aes, tsc-deadline, x2apic, pclmuldq

With this patch, it works with the following setting in agent.properties:
  guest.cpu.mode=custom
  guest.cpu.model=SandyBridge
  guest.cpu.features=-avx -xsave -aes -tsc-deadline -x2apic -pclmuldq

vm cpu is defined as below:
  <cpu mode='custom' match='exact'>
    <model fallback='allow'>SandyBridge</model>
    <feature policy='disable' name='avx'/>
    <feature policy='disable' name='xsave'/>
    <feature policy='disable' name='aes'/>
    <feature policy='disable' name='tsc-deadline'/>
    <feature policy='disable' name='x2apic'/>
    <feature policy='disable' name='pclmuldq'/>
  </cpu>

Description

Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[ ] Bug fix (non-breaking change which fixes an issue)
[X] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)

Screenshots (if appropriate):
How Has This Been Tested?

add agent.properties to server using KVM,  and restart cloudstack-agent

guest.cpu.mode=custom
guest.cpu.model=
guest.cpu.features=<cpu features, seperated by space>

create a vm on the server

cpu feature starts with "-" will be disabled, others will be enabled.
  <cpu mode='custom' match='exact'>
    <model fallback='allow'><cpu mode></model>
    <feature policy='disable' name='<cpu feature starts with "-">'/>
    <feature policy='require' name='<other cpu feature>'/>
  </cpu>

document needs to be updated as well.
http://docs.cloudstack.apache.org/en/<IP_ADDRESS>/installguide/hypervisor/kvm.html#install-and-configure-the-agent

@ustcweizhou why not simply configure the agent.properties without the hyphen -? For example:
  guest.cpu.features=avx xsave aes tsc-deadline x2apic pclmuldq

@rhtyd
these features are not supported by our CPU (a quite old CPU) so I want to disable these cpu features.
according to qemu documents, if we want to disable a cpu feature, we add hyphen before the cpu feature in qemu command line.
Currently cloudstack only support 'require' cpu features, but does not support 'disable' cpu features.

@ustcweizhou thanks for explaining
@blueorangutan package

@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: ✔centos6 ✔centos7 ✔debian. JID-2742

@rhtyd @svenvogel
added unit test

@blueorangutan package

@DaanHoogland a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: ✔centos6 ✔centos7 ✔debian. JID-2755

@blueorangutan help

@DaanHoogland I understand these words: "help", "hello", "thanks", "package", "test"
Test command usage: test [mgmt os] [hypervisor] [additional tests]
Mgmt OS options: ['centos6', 'centos7', 'ubuntu']
Hypervisor options: ['kvm-centos6', 'kvm-centos7', 'kvm-ubuntu', 'xenserver-71', 'xenserver-65sp1', 'xenserver-62sp1', 'vmware-65', 'vmware-60u2', 'vmware-55u3', 'vmware-51u1', 'vmware-50u1']
Additional tests: list of space separated tests with paths relative to the test/integration directory, for example: component/test_acl_listvm.py component/test_volumes.py
Note: when additional tests are passed, you need to specify mgmt server os and hypervisor or use the matrix command.
Blessed contributors for kicking Trillian test jobs: ['rhtyd', 'nvazquez', 'PaulAngus', 'borisstoyanov', 'DaanHoogland', 'anuragaw', 'shwstppr', 'andrijapanic', 'DagSonsteboSB', 'gsirett']

not sure if it will cover the changes here as to specific libvirt and or component tests, but
@blueorangutan test

@DaanHoogland a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

Trillian test result (tid-3572)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 30745 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr3335-t3572-kvm-centos7.zip
Intermittent failure detected: /marvin/tests/smoke/test_internal_lb.py
Intermittent failure detected: /marvin/tests/smoke/test_privategw_acl.py
Intermittent failure detected: /marvin/tests/smoke/test_host_maintenance.py
Intermittent failure detected: /marvin/tests/smoke/test_hostha_kvm.py
Smoke tests completed. 68 look OK, 2 have error(s)
Only failed tests results shown below:

Test
Result
Time (s)
Test File

test_02_cancel_host_maintenace_with_migration_jobs
Error
2.40
test_host_maintenance.py

test_hostha_enable_ha_when_host_in_maintenance
Error
303.74
test_hostha_kvm.py


Installation error when using npm

I'm using npm as my package manager (version 10.8.2). When attempting to install this package in my project via npm install react-screen-wake-lock, I get the following error:
➜  npm install react-screen-wake-lock
npm error code 127
npm error path /new-project/node_modules/react-screen-wake-lock
npm error command failed
npm error command sh -c husky install
npm error sh: husky: command not found

You can reproduce this with a minimal project by creating a new folder, running npm init, and then try installing the package.
According to https://github.com/typicode/husky/issues/884, it looks like switching from the postinstall script for husky install to a prepare script should resolve this.

Open since July 15th? Anyone has a solution that works?

"npm install husky" is the workaround. Seems like an excessive dependency tho.


Discovery cannot be triggered in 2.6.146

Describe the bug
Cannot trigger discovery. It fails with an error in the browser console
To Reproduce
Steps to reproduce the behavior:

In the engineering tool Go to '/discoverers'
Wait for the list to appear
On a connected discovery module click the checkbox 'Enable Scanning.'
In the Browser console you see an error and discovery is not executed

It appears that the web socket connection is already closed when trying to enable scanning.
It is also impossible to change the scanning settings.
Expected behavior
Discovery works
Screenshots

Desktop (please complete the following information):

OS: Windows 10
Browser: Chrome
Version: 80.0.3987.163 (Official Build) (64-bit)

Take a look here

yeah, Default is already configured. still same problem.

You are using a 2.6 code with a 2.7 deployment.
For 2.6 you need ServiceMode = Serverless in SignalR
For 2.7 you need ServiceMode = Default in SignalR

Ok, switching to Serverless did help, thanks!
We actually just deployed using the deployment script. Why is this settings not automatically applied correctly?

Do you follow instructions here using deploy script from root folder?

A colleague of mine used the all-in-one option. so we don't have a k8s cluster, it is all app services

I will go ahead and close the issue, since it is now resolved for me.


Support for Live Feed (next best thing and so might be)

⚠ Please check that this feature request hasn't been suggested before.

[X] I searched previous Ideas in Discussions didn't find any similar feature requests.
[X] I searched previous Issues didn't find any similar feature requests.

🔖 Feature description
upload live feed url to documents
📝 Additional Context
No response
Acknowledgements

[X] My issue title is concise and descriptive.
[X] I have searched the existing issues to make sure this feature has not been requested yet.
[X] I have provided enough information for the maintainers to understand and evaluate this request.

@viprocket1 could you give an example of a live feed?


Function identifiers no longer receive semantic highlighting tokens

Bug Report
Function identifiers (including methods) don't appear to be receiving semantic highlighting tokens from the LSP as of TS 4.2.x.
This is important to me because I prefer the terser style of passing callbacks directly by identifier instead of always wrapping them in anonymous lambdas (e.g., myArray.filter(myPredicate) instead of myArray.filter(it => myPredicate(it))), but with the semantic colorization missing, it's much harder to recognize where this is happening when scanning code.
🔎 Search Terms
semantic highlight, highlighting, function, token
🕗 Version & Regression Information

Semantic function tokens worked as expected in 4.1.5
They appear to be missing in 4.2.4 (VS Code's version at time of writing)

💻 Code
CodeSnap with TS v4.0.7:

CodeSnap with TS v.4.2.4:

Textual representation for the sake of screen-readers and whatnot:
let result = [...newFiles];

const compareFileName: Comparator<INewFile|IDisplayFile> = (a, b) => a.FileName === b.FileName;
const isDisplayFile = (item: INewFile|IDisplayFile): item is IDisplayFile => !!item.ExternalId;

const currentFiles = this._displayFiles$.value ?? [];
const dupes = intersectionWith(compareFileName, newFiles, currentFiles);

if (!dupes.length) {
	return result;
}

// Find the sets of current files and new uploads that are unique.
const [currentUniques, newUniques] = flow(
	xorWith(compareFileName),
	partition(isDisplayFile),
)(currentFiles, newFiles);

🙁 Actual behavior
In the newer snap, notice that references to compareFileName and isDisplayFile are colored as ordinary variables after their declarations. Invoking VS Code's "Inspect Editor Tokens and Scopes" command on those tokens indicates that they're falling back to their TextMate scopes instead of using the semantic information.
🙂 Expected behavior
In the older snap, all references to the function names are colored as functions, making it easier to spot which arguments are callbacks when scanning the code. Invoking the "Inspect..." command on these shows that they're marked with the function semantic token type, with readonly and local modifiers.

Not sure if this is related or not, but I found this case with hybrid types:

Text representation:
type X = {
    (): boolean;
};

declare const x: X; // Semantic highlighting present

export { x }; // Semantic highlighting present

type Y = {
    (): boolean;
    prop: string;
};

declare const y: Y; // Semantic highlighting missing

export { y }; // Semantic highlighting missing

Did this somehow get fixed ahead of schedule? I just reloaded VS Code and the semantic highlighting seems to be working exactly the same for me now (on 4.3.2) as it did pre-4.2.x. Other issues I hadn't bothered reporting (missing token for parameters, missing or less specific token for enum members, etc.) also appear to be fixed, and identifiers in imports have reverted to being rendered as plain variables (not my favorite behavior but worth the trade-off :)). It's like someone hit a "reset" button.


Cannot use az login with user assigned managed identity

This is autogenerated. Please review and update as needed.
Describe the bug
Cannot login to subscription using user assigned managed identity
Command Name
az login
Errors:
HTTPConnectionPool(host='<IP_ADDRESS>', port=80): Max retries exceeded with url: /metadata/identity/oauth2/token?resource=https%3A%2F%2Fmanagement.core.windows.net%2F&api-version=2018-02-01&msi_res_id=%2Fsubscriptions%2F50196bc3-8713-44fa-959d-2e6685b3d73f%2FresourceGroups%2Fsastst_pb_westus%2Fproviders%2FMicrosoft.ManagedIdentity%2FuserAssignedIdentities%2Fsastst-mi-pb-westus (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x0567C390>: Failed to establish a new connection: [WinError 10051] A socket operation was attempted to an unreachable network',))
Traceback (most recent call last):
pip-install-0h4gq3wj\urllib3\urllib3\connection.py, ln 159, in _new_conn
urllib3\urllib3\util\connection.py, ln 80, in create_connection
...

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Create user assigned managed identity in a subscription
Attempt to login from local machine using CLI
-- az login --identity -u {user assigned managed service identity id (from portal)}

Expected Behavior

successful login

Environment Summary
Windows-10-10.0.18362-SP0
Python 3.6.6
Shell: cmd.exe

azure-cli 2.0.73 *

Extensions:
dev-spaces 1.0.3
interactive 0.4.3

Additional Context

add to S167.

@williamamincey , MSI credential login is only supported in Azure VM and you need to assign a managed identity to the VM https://docs.microsoft.com/en-us/azure/active-directory/managed-identities-azure-resources/qs-configure-portal-windows-vm#assign-a-user-assigned-identity-during-the-creation-of-a-vm

Duplicate of #10998


JSON topology should save the block's name

name field in the JSON topology for the block
apply the name when creating the block

https://github.com/pothosware/PothosCore/commit/ad5a0828292840d5592f23c1774caab0d8aa3624


bump nextra version

Related to https://github.com/shuding/nextra/pull/1429

Thanks for the PR! LGTM, merging!


Collada. Double sided texture do not work on server

I create dae file to export to cesium. My surface has texture only on back (one side of surface). I want it has face and back texture. In collada spec 1.5 (page 26) i see that we should apply semantic attribute with double sided:
I use
<newparam>
         <semantic>DOUBLE_SIDED</semantic>
</newparam>

inside library_effects>profile_COMMON
Is problem in my code or on the server? Thanks for any help.

Hello @alextym, Cesium doesn't support COLLADA directly, you'll have to convert it to glTF first.  We have a hosted converter here: http://<IP_ADDRESS>/convertmodel.html
If you have any follow up questions, please ask them on the forum: https://groups.google.com/forum/?hl=en#!forum/cesium-dev
We use GitHub exclusively for tracking bugs and planning new features.  Thanks!

Hello @hpinkos, thank you.


pls add IntersectionObserverEntry

pls add IntersectionObserverEntry, thank you!

Is http://caniuse.com/#feat=intersectionobserver somehow inadequate?

Agree with @cvrebert , this is already covered.


GL Shaders using uint need #version 130

When loading a shader that is using uint, but no other >120 features, it is patched with version #version 120 and fails loading. This fixes it.

Is this intended?

Fix blit to 2D texture layer on D3D11

Oops I messed it up while juggling the commits. Let me fix it.

Have a look, I removed the stray commit


Label size proportional

Hello,
is there a possibility in v2 to make the labels size proportional, like the first Sigma version ?
Has anyone an idea ?

@KostaPag you can do it by defining a custom label renderer for instance. Here is how ipysigma does it for instance: https://github.com/medialab/ipysigma/blob/master/src/custom-label.ts

It worked, thanks

Hm, when using this custom renderer the size of the labels are still fixed, what could be the issue here?

@KostaPag Did the exact code provided in the link work for you? Unfortunately, it didn't work for me


feat: new entry autosavespan

They introduced a new server setting for AutoSaveSpan which controls the intervals in which your server automatically saves.

Thank you!


Getting Host Related Events like Host Add/Delete, PG add/delete

Hello,
I am trying to get the events for the following:
=> DVS and DVS-PG (DPG) Events like Add, Delete.
=> Regular PG events like Add, delete
=> VLAN modified on a DVS port group or a regular port group
=> Any CDP/LLDP neighbour change like the vnic or connected switch information
The DVS events seem to work fine (Thanks to prziborowski) when i give the id of type  'DvsCreatedEvent',  'DVPortgroupCreatedEvent',   'DvsDestroyedEvent' or 'DVPortgroupDestroyedEvent'.
But, for a regular PG events like create, delete or modify like VLAN. I do not see any events. I tried giving 'HostEvent' as the id, that did not help. Can someone please suggest how can i get events for the following:
a) Regular PG events like Add, delete
b) Any CDP/LLDP neighbour change like the vnic or connected switch information
Is there any top level event or specific event ID associated with the above?
Thanks,
KP

I even tried all the below ID's as a part of the filter spec.
I tried all the below ID's in the filterSpec that seems even remotely related.
ids = ['Event', 'GeneralEvent', 'GeneralHostInfoEvent', 'HostEvent', 'DvsHostJoinedEvent', 'DvsHostLeftEvent', 'DVPortgroupEvent', 'DVPortgroupReconfiguredEvent', 'DvsReconfiguredEvent', 'DVPortgroupCreatedEvent', 'DVPortgroupDestroyedEvent', 'VmRelocatedEvent', 'DrsVmMigratedEvent', 'VmMigratedEvent', 'DvsCreatedEvent', 'DvsPortCreatedEvent', 'DvsDestroyedEvent']

...
filterSpec = vim.event.EventFilterSpec(eventTypeId=ids, time=byTime,
entity=byEntity)
So, is there any provision to get real time events for hosts and host PG's?


FAQ - redactional terminology

Fixes #524
Please double-check the changes.

@heinezen Please resolve merge conflicts


:construction_worker:  refactor earthfile

Description
Refactor Earthfile to make it more readable.
Checklist

[x] My changes follow the contributing guidelines of this project.
[x] I have performed a self-review of my code.
[x] ~I have made corresponding changes to the documentation.~
[x] ~I have added tests that prove my fix is effective or that my changes work.~
[x] New and existing unit tests pass locally with my changes.

Coverage: ?%. Remained the same when pulling a46dde941e4d16c77d015ff3e07eac00525efc0f on chore/refactor-earthly into 6029e670fed9cfdc0f91b4d63759cd092bc17b5e on main.

Coverage: 94.745%. Remained the same when pulling a46dde941e4d16c77d015ff3e07eac00525efc0f on chore/refactor-earthly into 6029e670fed9cfdc0f91b4d63759cd092bc17b5e on main.

Coverage: 94.745%. Remained the same when pulling 84eb2871ff8e4f1c036e60eda035e5b673dcea93 on chore/refactor-earthly into 6029e670fed9cfdc0f91b4d63759cd092bc17b5e on main.

Coverage: 94.745%. Remained the same when pulling 84eb2871ff8e4f1c036e60eda035e5b673dcea93 on chore/refactor-earthly into 6029e670fed9cfdc0f91b4d63759cd092bc17b5e on main.

Coverage: 94.701%. Remained the same when pulling 8cb73b683e53ba3021891808308e6c630be0918e on chore/refactor-earthly into 6af74db2f41de9a5711ec9c6cf642b6a9b608cdc on main.

Coverage: 94.701%. Remained the same when pulling 8cb73b683e53ba3021891808308e6c630be0918e on chore/refactor-earthly into 6af74db2f41de9a5711ec9c6cf642b6a9b608cdc on main.