fix: all throwables should be ignored in shutdown hook

All throwables (and not just exceptions) should be ignored in the shutdown hook. Failing to close these resources during shutdown is not a major problem, as they will be garbage collected by the backend anyways. Without this wide catch, some
applications will log a ClassNotFoundException when shutting down, which can be confusing for end users.
Fixes #949
Also fixes https://github.com/cloudspannerecosystem/liquibase-spanner/issues/66#issuecomment-794765002

Why is the class loader different during initialization vs finalization?

Why is the class loader different during initialization vs finalization?

I'm not sure exactly what happens, but globally speaking it seems to be caused by the fact that the shutdown hook is invoked when Maven is being shutdown, and not when the plugin is shutdown. So my hunch is the following:

Maven starts and runs the Liquibase plugin.
The Liquibase plugin dynamically loads the JDBC drivers and other services that it can find and then does its work.
The Liquibase plugin shuts down, but that does not shutdown the JVM.
Maven shuts down, which also shuts down the JVM, and that invokes the shutdown hook of the JDBC driver. But Maven does not know that the JDBC driver had been dynamically loaded by Liquibase.

Note: This is not a finalizer of a class, but a JVM shutdown hook, so it is only invoked when the entire JVM is shut down.

Thanks for the explanation @olavloite


bug: 1.0.0-rc.1: Popover + header-bar with top padding on iOS

Type: bug
Platform: ios 8 webview
Header-bars in popovers have a top padding on iOS and 1.0.0-rc.1. I suppose that Ionic wants to add this space for the iOS status bar.
// $ionicPopover example with header-bar
<ion-popover-view>
    <ion-header-bar>

My Popover Title

     </ion-header-bar>
    <ion-content>
        Hello!
    </ion-content>
</ion-popover-view>';

Codepen: http://codepen.io/anon/pen/vEvXWL

Steps to reproduce:
$ ionic start myApp http://codepen.io/anon/pen/vEvXWL
$ cd myApp
$ ionic platform add ios
$ ionic build ios
$ ionic emulate ios

My system:

OSX 10.10.2
Ionic 1.3.16
Cordova 4.3.0
tested on iOS 8.1 (simulator) and iOS 8.2 (simulator & device)

thx

I have a fix for this.
  .popover{
    .bar-header:not(.bar-subheader) {
      height: $bar-height;
      &.item-input-inset .item-input-wrapper {
        margin-top: -1px;
      }
      > * {
        margin-top: 0;
      }
    }
    .has-header,
    .bar-subheader {
      top: $bar-height;
    }
    .has-subheader {
      top: $bar-height + $bar-subheader-height;
    }
  }

Feel free to use this in your app, I will commit it to our post 1.0 branch. I don't want to accidentally break anything with this so we'll wait until post 1.0 to test this more.

Thanks Mike, it works exactly as expected. I really appreciate your and the team's work!

Hi Mike, your fix doesn't work for me. I just placed your code in scss/ionic.app.scss. What am I missing?

@TheJetlag this should work out of the box. It could be an issue with the variables though. You could switch them out for their values:
$bar-height, $bar-subheader-height: 44px


Support for Node v20

Support compilation under Node v20. Aditionally, build binary addons for Node v18 and Node v20 when prebuilding.

Thank you!


OffsetPaginatedCollection example schema

A standard OffsetPaginatedCollection schema (with properties self, next, prev, first, last, pageSize, page) could potentially be defined for implementing the https://www.belgif.be/specification/rest/api-guide/#pagination guidelines.
However, given that the guidelines only impose the naming of these pagination related properties, and not whether they should be used, this may not be easy to standardize on Belgif level?

The many optional fields are indeed the reason why there's no standard schema.
Especially the last and total properties might not be easy to provide by an API depending on its internals.
If they'd be in a standard schema, even if not listed as required, clients would expect them to be filled in.

Maybe it might be helpful to add an example schema in the REST guide, from which people can copy-paste and tailor to their needs? It needs of course to be clear that it's not to be copy-pasted as such, but the easier you make it, the more chance it will be correct and not something completely different

Maybe it might be helpful to add an example schema in the REST guide, from which people can copy-paste and tailor to their needs? It needs of course to be clear that it's not to be copy-pasted as such, but the easier you make it, the more chance it will be correct and not something completely different

@jpraet is working on a type for CBSS, we could include this as example schema in the guide when ready (after WG review)

    OffsetPaginationCollection:
      type: object
      description: Base type for collection resources using offset-based pagination.
      externalDocs:
        url: https://www.belgif.be/specification/rest/api-guide/#pagination
      properties:
        pageSize:
          description: Maximum number of items per page.
          type: integer
          format: int32
          minimum: 1
        page:
          description: Index of the current page of items (1-based).
          type: integer
          format: int32
          minimum: 1
        total:
          description: >
            Total number of items acrross all pages.
            If query parameters are used to filter the result set, this is the total of the collection result set, not of the entire collection.
          type: integer
          format: int64
          minimum: 0
        first:
          description: Hyperlink to the first page.
          type: string
          format: uri
        prev:
          description: Hyperlink to the previous page.
          type: string
          format: uri
        last:
          description: Hyperlink to the last page.
          type: string
          format: uri
        next:
          description: Hyperlink to the next page.
          type: string
          format: uri
      required:
        - pageSize
        - page
        - total
        - first
        - last
      example:
        pageSize: 20
        page: 5
        total: 195
        first: "https://api.ksz-bcss.fgov.be/demo/v1/pets?pageSize=20&page=1"
        prev: "https://api.ksz-bcss.fgov.be/demo/v1/pets?pageSize=20&page=4"
        last: "https://api.ksz-bcss.fgov.be/demo/v1/pets?pageSize=20&page=10"
        next: "https://api.ksz-bcss.fgov.be/demo/v1/pets?pageSize=20&page=6"


Adds new tutorial link

Wrote an article where custom clock-tag is created step by step.

Nice job!
But the clock is not ticking on my Chrome. It stops at 9:10.


Hope you can make the pig named "Technoblade" undying

I'm sorry, but this would require access to the server side, which is not possible on a mod designed to work purely on the client end.
You can, however, achieve a similar effect by putting the command "/execute as @e[type=pig,name=Technoblade] run data merge entity @s {Invulnerable:1}" into either a repeating command block or a datapack; any place which would run the command constantly.


Multi channels support per connection

From channel.rb in bunny gem: AMQP 0.9.1 is a multi-channeled protocol. Channels provide a way to multiplex a heavyweight TCP/IP connection into several light-weight connections.
But hutch doesn't seem to do that, I mean hutch uses a single channel per connection, why is that?
PS: Sorry if I'm missing something basic.

Because sharing a TCP connection between processes is very problematic at best (and impossible up to certain Linux kernel versions).


Add config option to specify file name

Add a configuration option that will allow the user to specify the name of the output file generated by the reporter.

confirmed this exists in current implementation by using
reporterOptions: {
        mochawesome_filename: `my_file_${Date.now()}.json`
    },


protoc_plugin does not test dart_name extension handling

https://github.com/google/protobuf.dart/blob/8792f2aca21c087e9c061cb40aaa88af3cc6c3e4/protoc_plugin/lib/names.dart#L457-L458
The line above handles dart_name extension and it's currently not tested in protoc_plugin tests. I can change that line to
  var name = _nameOption(field);
  if (name.isNotEmpty) {
    assert(false);
  }

and I can still compile all of the protos used in the tests to Dart and all tests pass.
Not too important, but conversion of names to snake_case and then back during serialization seems quite delicate, and we have a few attributes/properties related to names of fields (dart_name, json_name). It would be good if we had good coverage here so that (1) code could be refactored without breakage (2) I could look at the tests for the intended behavior when the code gets tricky.

It turns out I forgot to pass --enable-asserts (by modifying bin/protoc-gen-dart) when testing these. When I pass --enable-asserts I see that the index != -1 branch above is actually taken, but the branch shown in my original message is still not taken in the tests.


Publish

<EMAIL_ADDRESS>
Background
https://github.com/Shopify/ui-extensions/pull/899
Solution
(Describe your solution, why this approach was chosen, and what the alternatives/impacts may be)
🎩

...

Checklist

[x] I have :tophat:'d these changes
[x] I have updated relevant documentation

@eric-blue can you please also take a look at #709 no one is saying anything or responding really needed it for now stuck there also no workaround please check this thanks.


Why do vive trackers only work if their role is not "handheld_object"?

Other folks are seeing a similar problem, so it's probably not just on the python side. https://community.khronos.org/t/pose-action-space-can-not-filter-between-left-and-right-hand/108263/8


Provide an Add-on to enable and disable Twig debugging in Drupal

Is there an existing issue for this?

[X] I have searched the existing issues

(also searched web for "ddev one command to turn twig debugging on off" :grin: )
Is your feature request related to a problem?
It would save even our small tech collective a combined total of a dozen hours a year to have a single command for turning twig debugging on and off.
Describe your solution
ddev twig-debug on
ddev twig-debug off
I know this wouldn't live in DDEV itself but would be a add-on.
If there is no /sites/default/services.yml file, create it with just enough configuration to enable twig debugging:
parameters:
  twig.config:
    debug: true

Or maybe that would be a special file like /sites/default/twig_debug.services.yml that is then included explicitly if it exists from settings.ddev.php.  Then it can be created or deleted without any fear.
Describe alternatives
A shell script of some kind, which is probably what this DDEV plugin would be running, but the value in ddev get cool-new-twig-debug-plugin and then ddev twig-debug on as standardized for every project is what would be so valuable.
Additional context
We at Agaric (ok really @wolcen) could (help) maintain this plugin, but we would love for the architecture to be

Add-ons are so easy! Your steps would be:

Create a custom command named twig that does what you want. Or maybe you'll want something else. Get it working the way you want.
Create an add-on that installs it, either globally or as a project custom command.
Anybody can create an add-on.

https://ddev.readthedocs.io/en/latest/users/extend/additional-services/#additional-service-configurations-add-ons
Thanks so much for contibuting, raising this, and the good thinking, and of course thanks for your sponsorship of the project.

Just pointing out that Drush now supports this natively (we had a custom ddev command to do it up to this point).
https://www.drush.org/12.1.3/commands/twig_debug/

It sounds like the drush path forward is the best, but happy to help you with an add-on if you want to go that way. It's amazingly easy.

@mlncn BTW we implemented this before Drush supported it.
https://github.com/redfinsolutions/ddev-commands/blob/main/commands/web/tdebug


From Alabama ! Rocket City Huntsville

:1st_place_medal:

Hi there! i'm closing this issue since you've now been added as a collaborator. If you have any further questions, open a new issue and I'll be glad to help you out 🎈 🙇


Update yt-dlp to version 2024.10.22

This is an automated Pull Request to update the yt-dlp versions that is used in the docker image.

Merge into develop branch as it needs more testing on the new docker runtime.


Add make-gen argument to convert-basis

When converting from a segmented contraction basis set format to a general contraction basis set format like NWChem, one needs to be able to run make_general in the conversion.

Codecov Report

Merging #242 (98ef534) into master (b2fc88f) will decrease coverage by 0.02%.
The diff coverage is 33.33%.


How to consume this project as package in maven or gradle

Seems I can't find a package named "serilogj" in maven repository. How can I use this project without syncing the source code?

@kfstorm I believe JitPack https://jitpack.io/ enables this.
@80dB would it make sense to publish this on Maven Central and/or JCenter? If you would like a hand with it please just give the word! :-) Cheers!

It does make sense to publish this on Maven, but I have no idea what is required to do so, or if there are specific standards that we need to comply to (like namespaces).
There are video instructions about it:
http://central.sonatype.org/pages/producers.html
But with the current work load at the office it'll be hard for me to accomplish this. Java isn't our 'main language', we only use it because it's required for Wowza. And we added it to our private-maven repository.

@80dB I'm happy to dig into it, if you're open to some extra help on the project? I think the first question will be whether to spin up an organisation (a serilogj GitHub org?) so that the packages can live under a community identity, or if you are keen to create an individual account to publish under. I can spare some bandwidth to help with maintenance etc. if it would work for you/your org. Cheers!

@nblumhardt I would think a community identity. The code was written entirely based on your Serilog :)

:+1: shall we create a serilogj GitHub organization?

Ok, think I've got this covered ;)
I invited you as owner of this organization and transfered the repo to this organisation.

Fantastic; I'm there! 👍
Will be patchy time available, but should be able to dig in over the next few weeks. Thanks!!!

@80dB planning to set up CI with AppVeyor and use https://www.appveyor.com/docs/deployment/bintray/ to publish to bintray/jcenter, let me know if I'm off track :-)
@kfstorm is bintray/jcenter a good option for you? Thanks!

I apologize in advance for any obvious shortcomings, I've never published artifacts on Bintray before. I'll PR the packaging changes I made shortly.
The package is at: https://bintray.com/serilogj/serilogj/serilogj
I've also submitted it for inclusion in JCenter (can take several hours apparently).
The package was published by hand using mvn deploy , next step is to get CI running.

From Bintray support:

JCenter hosts java applications that follow maven convention. In addition to the .pom and .jar files, your version should include a sources jar, and optionally a javadoc jar.
Your files should be under a maven path layout. (See https://bintray.com/docs/usermanual/uploads/uploads_includingyourpackagesinjcenter.html)
Once those files are added, we'll be glad to include your package in JCenter.

Will need to spend some time figuring out how to do this.

WOW, you guys are awesome! I really like Serilog and can’t find a replacement in Java world. It’ll be great if you can publish serilogj as package. Thank you for your efforts! @nblumhardt bintray/jcenter is great.

Great, thanks for the feedback @kfstorm :-)
https://bintray.com/bintray/jcenter?filterByPkgName=serilogj
Let us know if you have any difficulties consuming it.

@kfstorm I believe JitPack https://jitpack.io/ enables this.
@80dB would it make sense to publish this on Maven Central and/or JCenter? If you would like a hand with it please just give the word! :-) Cheers!

Thanks it works.
For anyone finding this thread on how to add serilogj in gradle here is a sample that worked for me
repositories {
    ...
    maven { url 'https://jitpack.io' }
}

dependencies {
    ...
    implementation 'com.github.serilogj:serilogj:v0.6.1'
}


Add Ubuntu 22.10

Ubuntu 22.10 currently offers Openssl 3.0.5 and this can be vulnerable. Verified by locally checking out the container.
Signed-off-by: Nico Rikken<EMAIL_ADDRESS>

Thank you for your contribution!


Added generate_checkpoint_state_proto().

Added generate_checkpoint_state_proto() which returns a checkpoint proto with model_checkpoint_path containing absolute path or path relative to save_dir.
Added unit tests.
Fixes #751.

Can one of the admins verify this patch?

I signed it!

@tensorflow-jenkins: test this please.

LG, can you squash the commits?  Then I'll merge.

Can one of the admins verify this patch?


Secret owned by ReplicatSet doesn't get deleted after RS is scaled to 0 and all consumer pods are deleted

The secrets will sync only after you start a pod to mount them. To rely solely on syncing with the Kubernetes secrets feature doesn't work. When all the pods that consume the secret are deleted, the Kubernetes secret is also deleted.

The above paragraph suggests that Kubernetes secret will get deleted when there is no pods consuming it. However in my testing I found if the pods were part of a Deployment, the ownerReferences of the secret becomes the ReplicaSet created by the Deployment so deleting all pods by scaling the Deployment to 0 does not trigger the secret to be garbage collected because the ReplicaSet still exists.
Based on that, would you consider updating this paragraph to cover the scenario that Deployment or Replicateset is used to create pods consuming the secrets?

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 409a3be9-4831-9401-0bb3-c65209bb3f42
Version Independent ID: 4cf81213-5989-f36c-7456-70accfe452c2
Content: Use the Azure Key Vault Provider for Secrets Store CSI Driver for Azure Kubernetes Service secrets - Azure Kubernetes Service
Content Source: articles/aks/csi-secrets-store-driver.md
Service: container-service
GitHub Login: @Nickomang
Microsoft Alias: nickoman

@boliu83
Thanks for your feedback! We will investigate and update as appropriate.

@boliu83
Thanks for bringing this to our attention.
I'm going to assign this to the document author so they can take a look at it accordingly.
@Nickomang
Can you please check and add your comments on this doc update request as applicable.

Thank you @boliu83 for the feedback!
We've added an item to our backlog and will prioritize accordingly.
#please-close

I was unable to recreate this issue. Thank you again for your feedback!


chore(backend): update wallet address middleware & error handling

Changes proposed in this pull request

To finalize the standardization of Open Payments route errors in backend, this PR splits up walletAddressMiddleware into several separate middlewares. One group of them deals with adding the walletAddressUrl onto the ctx (from several resources), while getWalletAddressForSubresource simply polls for the active wallet address by using the ctx.walletAddressUrl itself. Each of the middlewares is then added explicity to the route.
The benefits:

We now handle all possible Open Payments API errors properly in the openPaymentsServerErrorMiddleware (i.e. we don't use ctx.throw at all in other places)
walletAddressUrl is added to the ctx as a middleware specific to the route route, meaning we can remove all-encompassing logic in walletAddressMiddleware. Likewise, we don't need to actually fetch the wallet address before doing token introspection and http sig verification

Context

Fixes #1905 for backend
Checklist

[x] Related issues linked using fixes #number
[x] Tests added/updated
[ ] Documentation added
[ ] Make sure that all checks pass
[ ] Bruno collection updated

walletAddressUrl is added to the ctx as a middleware specific to the route route, meaning we can remove all-encompassing logic in walletAddressMiddleware. Likewise, we don't need to actually fetch the wallet address before doing token introspection and http sig verification

This is much better. Low coupling/high cohesion. 👍

Going to close and re-open to see if I can get past the stuck actions (I think affected by their degradation here)


bugfix: that keywords don't add escaped characters

[ ] I have registered the PR changes.

Ⅰ. Describe what this PR did
Ⅱ. Does this pull request fix one issue?

Ⅲ. Why don't you add test cases (unit test/integration test)?
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

Codecov Report

Merging #5310 (a52577f) into 2.x (33d777e) will increase coverage by 0.00%.
The diff coverage is 80.00%.

:exclamation: Current head a52577f differs from pull request most recent head f9bad41. Consider uploading reports for the commit f9bad41 to get more accurate results

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@            Coverage Diff            @@
##                2.x    #5310   +/-   ##
=========================================
  Coverage     48.58%   48.58%
+ Complexity     4196     4193    -3
=========================================
  Files           764      764
  Lines         26877    26870    -7
  Branches       3358     3352    -6
=========================================
- Hits          13057    13055    -2
+ Misses        12439    12435    -4
+ Partials       1381     1380    -1

Impacted Files
Coverage Δ

...va/io/seata/rm/datasource/exec/UpdateExecutor.java
85.48% <75.00%> (+5.48%)
:arrow_up:

...datasource/exec/mysql/MySQLUpdateJoinExecutor.java
77.07% <100.00%> (-0.57%)
:arrow_down:

...erver/storage/file/session/FileSessionManager.java
49.04% <0.00%> (-0.64%)
:arrow_down:

...torage/file/store/FileTransactionStoreManager.java
61.09% <0.00%> (+0.64%)
:arrow_up:


SEHException

I am getting this error System.Runtime.InteropServices.SEHException: 'External component has thrown an exception.' When accessing xlsx files. No changes to the code, it just stopped working.
var excel = new ExcelQueryFactory(FullFileName);
List wsNames = excel.GetWorksheetNames().ToList();
This works for xls files but not xlsx files.
Thank You,
Scott

Can you tell me the following:

Which version of LinqToExcel?
Which version of the ACE driver are you using (if applicable), including whether it is 32 or 64 bit.
Please include the full stack-trace, so I can see where the error occurred.
Also, attach an xlsx file that you are seeing this problem with (I need to rule it out as a cause). You can create a new xlsx file, as long as it still reproduces the problem.

Thanks

Duplicates #163.

I Attached an Excel example, but it happens to all xlsx files.
Thank you,
Scott Snyder
LinqToExcel
Assembly Version: <IP_ADDRESS>
Win32 Version: 1.11.0
32 bit ACE
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.Runtime.InteropServices.SEHException (0x80004005): External
component has thrown an exception.
at
System.Data.OleDb.DataSourceWrapper.InitializeAndCreateSession(OleDbConnectionString
constr, SessionWrapper& sessionWrapper)
at System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString
constr, OleDbConnection connection)
at
System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnectionOptions
options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo,
DbConnectionPool pool, DbConnection owningObject)
at
System.Data.ProviderBase.DbConnectionFactory.CreateConnection(DbConnectionOptions
options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo,
DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions
userOptions)
at
System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection
owningConnection, DbConnectionPoolGroup poolGroup, DbConnectionOptions
userOptions)
at
System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection
owningConnection, TaskCompletionSource1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)    at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource1 retry, DbConnectionOptions userOptions)
at
System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection
outerConnection, DbConnectionFactory connectionFactory,
TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at
System.Data.ProviderBase.DbConnectionInternal.OpenConnection(DbConnection
outerConnection, DbConnectionFactory connectionFactory)
at System.Data.OleDb.OleDbConnection.Open()
at LinqToExcel.Query.ExcelUtilities.GetWorksheetNames(ExcelQueryArgs
args)
at LinqToExcel.Query.ExcelUtilities.GetWorksheetNames(String fileName,
ExcelQueryArgs args)
at LinqToExcel.ExcelQueryFactory.GetWorksheetNames()
at PPL_DataManagement.frmBulkLoader.gDFV_BulkLoad_FileSelected(String
FullFileName, String FileName) in
C:\Users\Scott\Source\Repos\PPL_DataManagement\PPL_DataManagement\FormViews\frmBulkLoader.cs:line
124
at gControlLib.gDirFileView.FileView1_FileSelected(String FullFileName,
String FileName)
at gControlLib.FileView.ListView1_SelectedIndexChanged(Object sender,
EventArgs e)
at System.Windows.Forms.ListView.OnSelectedIndexChanged(EventArgs e)
at System.Windows.Forms.ListView.WmReflectNotify(Message& m)
at System.Windows.Forms.ListView.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg,
IntPtr wparam, IntPtr lparam)
System.Runtime.InteropServices.SEHException
HResult=0x80004005
Message=External component has thrown an exception.
Source=System.Data
StackTrace:
at
System.Data.OleDb.DataSourceWrapper.InitializeAndCreateSession(OleDbConnectionString
constr, SessionWrapper& sessionWrapper)
at System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString
constr, OleDbConnection connection)
at
System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnectionOptions
options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo,
DbConnectionPool pool, DbConnection owningObject)
at
System.Data.ProviderBase.DbConnectionFactory.CreateConnection(DbConnectionOptions
options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo,
DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions
userOptions)
at
System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection
owningConnection, DbConnectionPoolGroup poolGroup, DbConnectionOptions
userOptions)
at
System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection
owningConnection, TaskCompletionSource1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)    at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource1 retry, DbConnectionOptions userOptions)
at
System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection
outerConnection, DbConnectionFactory connectionFactory,
TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at
System.Data.ProviderBase.DbConnectionInternal.OpenConnection(DbConnection
outerConnection, DbConnectionFactory connectionFactory)
at System.Data.OleDb.OleDbConnection.Open()
at LinqToExcel.Query.ExcelUtilities.GetWorksheetNames(ExcelQueryArgs
args)
at LinqToExcel.Query.ExcelUtilities.GetWorksheetNames(String fileName,
ExcelQueryArgs args)
at LinqToExcel.ExcelQueryFactory.GetWorksheetNames()
at PPL_DataManagement.frmBulkLoader.gDFV_BulkLoad_FileSelected(String
FullFileName, String FileName) in
C:\Users\Scott\Source\Repos\PPL_DataManagement\PPL_DataManagement\FormViews\frmBulkLoader.cs:line
125
at gControlLib.gDirFileView.FileView1_FileSelected(String FullFileName,
String FileName)
at gControlLib.FileView.ListView1_SelectedIndexChanged(Object sender,
EventArgs e)
at System.Windows.Forms.ListView.OnSelectedIndexChanged(EventArgs e)
at System.Windows.Forms.ListView.WmReflectNotify(Message& m)
at System.Windows.Forms.ListView.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.SendMessage(HandleRef hWnd,
Int32 msg, IntPtr wParam, IntPtr lParam)
at System.Windows.Forms.Control.SendMessage(Int32 msg, IntPtr wparam,
IntPtr lparam)
at System.Windows.Forms.Control.ReflectMessageInternal(IntPtr hWnd,
Message& m)
at System.Windows.Forms.Control.WmNotify(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.UserControl.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr
wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at System.Windows.Forms.NativeWindow.DefWndProc(Message& m)
at System.Windows.Forms.Control.DefWndProc(Message& m)
at System.Windows.Forms.ListView.WmMouseDown(Message& m, MouseButtons
button, Int32 clicks)
at System.Windows.Forms.ListView.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at
System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr
dwComponentID, Int32 reason, Int32 pvLoopData)
at
System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32
reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32
reason, ApplicationContext context)
at System.Windows.Forms.Application.RunDialog(Form form)
at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
at System.Windows.Forms.Form.ShowDialog()
at PPL_DataManagement.FormViews.frmStartUp.glblBulkLoader_Click(Object
sender, EventArgs e) in
C:\Users\Scott\Source\Repos\PPL_DataManagement\PPL_DataManagement\FormViews\frmStartUp.cs:line
377
at System.Windows.Forms.Control.OnClick(EventArgs e)
at gControlLib.gLabel.OnClick(EventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons
button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Label.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at
System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr
dwComponentID, Int32 reason, Int32 pvLoopData)
at
System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32
reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32
reason, ApplicationContext context)
at System.Windows.Forms.Application.RunDialog(Form form)
at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
at System.Windows.Forms.Form.ShowDialog()
at PPL_DataManagement.Dialogs.dlgLogin.ShowMain() in
C:\Users\Scott\Source\Repos\PPL_DataManagement\PPL_DataManagement\Dialogs\dlgLogin.cs:line
139
at PPL_DataManagement.Dialogs.dlgLogin.OK_Click(Object sender, EventArgs
e) in
C:\Users\Scott\Source\Repos\PPL_DataManagement\PPL_DataManagement\Dialogs\dlgLogin.cs:line
169
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons
button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at
System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr
dwComponentID, Int32 reason, Int32 pvLoopData)
at
System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32
reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32
reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at PPL_DataManagement.Program.Main() in
C:\Users\Scott\Source\Repos\PPL_DataManagement\PPL_DataManagement\Program.cs:line
22
On Thu, Feb 14, 2019 at 10:36 AM Stephen Workman<EMAIL_ADDRESS>wrote:

Can you tell me the following:

Which version of LinqToExcel?
Which version of the ACE driver are you using (if applicable),
including whether it is 32 or 64 bit.
Please include the full stack-trace, so I can see where the error
occurred.
Also, attach an xlsx file that you are seeing this problem with (I
need to rule it out as a cause). You can create a new xlsx file, as long as
it still reproduces the problem.

Thanks
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/paulyoder/LinqToExcel/issues/164#issuecomment-463672809,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AY-XW1gM4DDq9zoUETq2NmzpifwO0mupks5vNYKNgaJpZM4a71Fe
.

@SSDiver2112, github is lame and doesn't allow attachments on issues, apparently. Can you send a link to the file on OneDrive/DropBox/Google Drive ?

Here is a link to the file. It is just a new file i made for this example.
I can't get any xlsx to work anymore.
Thanks,
Scott
https://1drv.ms/x/s!AnQ6Hkbv2zwFhrE2mPDRlHTRIMFYQQ
On Tue, Feb 19, 2019 at 3:28 PM Stephen Workman<EMAIL_ADDRESS>wrote:

@SSDiver2112 https://github.com/SSDiver2112, github is lame and doesn't
allow attachments on issues, apparently. Can you send a link to the file on
OneDrive/DropBox/Google Drive ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/paulyoder/LinqToExcel/issues/164#issuecomment-465296937,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AY-XW0b0G49vyNwS2RVT-KSp7JEgef4dks5vPF5xgaJpZM4a71Fe
.

Thanks. I should be able to check it out this weekend, but I notice you're using a v1 version of LinqToExcel. There's a v2 in pre-release (on nuget) that you could try in the meantime.

Thanks Stephen,
I tried v2 but then it did not like either xls or xlsx files (see below) so
I reverted back to v1.11.0 so I can at least convert and open the xls files
for now.
Thank you,
Scott Snyder
System.Runtime.InteropServices.SEHException
HResult=0x80004005
Message=External component has thrown an exception.
Source=System.Data
StackTrace:
at
System.Data.OleDb.DataSourceWrapper.InitializeAndCreateSession(OleDbConnectionString
constr, SessionWrapper& sessionWrapper)
at System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString
constr, OleDbConnection connection)
at
System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnectionOptions
options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo,
DbConnectionPool pool, DbConnection owningObject)
at
System.Data.ProviderBase.DbConnectionFactory.CreateConnection(DbConnectionOptions
options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo,
DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions
userOptions)
at
System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection
owningConnection, DbConnectionPoolGroup poolGroup, DbConnectionOptions
userOptions)
at
System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection
owningConnection, TaskCompletionSource1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)    at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource1 retry, DbConnectionOptions userOptions)
at
System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection
outerConnection, DbConnectionFactory connectionFactory,
TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at
System.Data.ProviderBase.DbConnectionInternal.OpenConnection(DbConnection
outerConnection, DbConnectionFactory connectionFactory)
at System.Data.OleDb.OleDbConnection.Open()
at LinqToExcel.Query.ExcelUtilities.GetWorksheetNames(ExcelQueryArgs
args) in
E:\Opt\Projects\LinqToExcel\src\LinqToExcel\Query\ExcelUtilities.cs:line 92
at LinqToExcel.Query.ExcelUtilities.GetWorksheetNames(String fileName,
ExcelQueryArgs origArgs) in
E:\Opt\Projects\LinqToExcel\src\LinqToExcel\Query\ExcelUtilities.cs:line 68
at LinqToExcel.ExcelQueryFactory.GetWorksheetNames() in
E:\Opt\Projects\LinqToExcel\src\LinqToExcel\ExcelQueryFactory.cs:line 164
at PPL_DataManagement.frmBulkLoader.gDFV_BulkLoad_FileSelected(String
FullFileName, String FileName) in
C:\Users\Scott\Source\Repos\PPL_DataManagement\PPL_DataManagement\FormViews\frmBulkLoader.cs:line
125
at gControlLib.gDirFileView.FileView1_FileSelected(String FullFileName,
String FileName)
at gControlLib.FileView.ListView1_SelectedIndexChanged(Object sender,
EventArgs e)
at System.Windows.Forms.ListView.OnSelectedIndexChanged(EventArgs e)
at System.Windows.Forms.ListView.WmReflectNotify(Message& m)
at System.Windows.Forms.ListView.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.SendMessage(HandleRef hWnd,
Int32 msg, IntPtr wParam, IntPtr lParam)
at System.Windows.Forms.Control.SendMessage(Int32 msg, IntPtr wparam,
IntPtr lparam)
at System.Windows.Forms.Control.ReflectMessageInternal(IntPtr hWnd,
Message& m)
at System.Windows.Forms.Control.WmNotify(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.UserControl.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr
wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at System.Windows.Forms.NativeWindow.DefWndProc(Message& m)
at System.Windows.Forms.Control.DefWndProc(Message& m)
at System.Windows.Forms.ListView.WmMouseDown(Message& m, MouseButtons
button, Int32 clicks)
at System.Windows.Forms.ListView.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at
System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr
dwComponentID, Int32 reason, Int32 pvLoopData)
at
System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32
reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32
reason, ApplicationContext context)
at System.Windows.Forms.Application.RunDialog(Form form)
at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
at System.Windows.Forms.Form.ShowDialog()
at PPL_DataManagement.FormViews.frmStartUp.LoadBulkLoader() in
C:\Users\Scott\Source\Repos\PPL_DataManagement\PPL_DataManagement\FormViews\frmStartUp.cs:line
904
at PPL_DataManagement.FormViews.frmStartUp.glblBulkLoader_Click(Object
sender, EventArgs e) in
C:\Users\Scott\Source\Repos\PPL_DataManagement\PPL_DataManagement\FormViews\frmStartUp.cs:line
486
at System.Windows.Forms.Control.OnClick(EventArgs e)
at gControlLib.gLabel.OnClick(EventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons
button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Label.WndProc(Message& m)
at gControlLib.gLabel.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at
System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr
dwComponentID, Int32 reason, Int32 pvLoopData)
at
System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32
reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32
reason, ApplicationContext context)
at System.Windows.Forms.Application.RunDialog(Form form)
at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
at System.Windows.Forms.Form.ShowDialog()
at PPL_DataManagement.Dialogs.dlgLogin.ShowMain() in
C:\Users\Scott\Source\Repos\PPL_DataManagement\PPL_DataManagement\Dialogs\dlgLogin.cs:line
153
at PPL_DataManagement.Dialogs.dlgLogin.dlgLogin_Shown(Object sender,
EventArgs e) in
C:\Users\Scott\Source\Repos\PPL_DataManagement\PPL_DataManagement\Dialogs\dlgLogin.cs:line
121
at System.Windows.Forms.Form.OnShown(EventArgs e)
at System.Windows.Forms.Form.CallShownEvent()
at
System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry
tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext
executionContext, ContextCallback callback, Object state, Boolean
preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext
executionContext, ContextCallback callback, Object state, Boolean
preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext
executionContext, ContextCallback callback, Object state)
at
System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbacks()
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at
System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr
dwComponentID, Int32 reason, Int32 pvLoopData)
at
System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32
reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32
reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at PPL_DataManagement.Program.Main() in
C:\Users\Scott\Source\Repos\PPL_DataManagement\PPL_DataManagement\Program.cs:line
22
On Fri, Feb 22, 2019 at 10:08 AM Stephen Workman<EMAIL_ADDRESS>wrote:

Thanks. I should be able to check it out this weekend, but I notice you're
using a v1 version of LinqToExcel. There's a v2 in pre-release (on nuget)
that you could try in the meantime.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/paulyoder/LinqToExcel/issues/164#issuecomment-466428614,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AY-XWxoIY6ARurQMs82JUJyb5onwNBBNks5vQAfqgaJpZM4a71Fe
.

Hi @SSDiver2112,
Unfortunately, I'm not able to reproduce the problem. Looking up OleDb SEHException 0x80004005, I see a number of possible causes most notably:

Platform bitness (x64 project & x32 ACE, or vice versa). I doubt this is your problem, usually you'd get an ACE exception instead.
Some kind of endpoint protection software. Are you experiencing this issue on a work PC?

Aside from that, it's difficult to tell with the error that was thrown. 0x80004005 is just E_FAIL, which could mean anything. But such a generic error could indicate that something else is killing your DB connection (like endpoint protection / av) -- this would jive with the fact that you didn't make any code changes that could have lead to the failure.
I assume you've already done the re-install of the ACE driver, and other basic troubleshooting.


Add Columns from Related Record?

Hi,
Is it possible to add a column to the grid view from a related record?  I am not looking to display a list of related records, I just want to be able to select the related record in the grid config (ie. in a view of accounts, select the main contact in order to display a field from that contact record in the account view).
Thanks!

I am having the same issue.  I want to display the product ID from the Product table that is related to a quote product.  Please let me know if this can be done.
Thank you.

@dcastaldi1969 a colleague contacted the creator to ask about this because it is what prevents us from using it - they said there are no plans to include this functionality because of the work involved to change the grid.

This feature will be implemented in the next version.
Thank you,
Mehrdad


Updating ChangeLog since release of v0.1.1

This change is

Codecov Report

Merging #7 (95e22b8) into main (5e10533) will not change coverage.
The diff coverage is n/a.

@@        Coverage Diff         @@
##           main    #7   +/-   ##
==================================
  Coverage    86%   86%
==================================
  Files         5     5
  Lines        69    69
==================================
  Hits         60    60
  Misses        9     9


team page and linked page to the navbar in index.html

Added files:
Images/logo.png
Styles/TeamPage.css
Scripts/TeamPage.js
Layouts/Teampage.html
Modified:
Layouts/index.html   ( added link of teamPage to navbar)

I have made all the suggested changes and also added some design changes


Filename conflict with case-insensitive filesystem (windows)

"reCycle_gan_model.py" and "recycle_gan_model.py" are the same file on a case-insensitive filesystem.
This doesn't cause an error, it makes both model="recycle_gan" and model="reCycle_gan" to load the same thing. (on windows it loads reCycle_gan_model)
It's also confusing to have 2 different models who's only difference in name is the capitalization of a letter.

" It's also confusing to have 2 different models who's only difference in name is the capitalization of a letter." - Agreed.
Please also add a more detailed description on what the architectural differences between the two models are.


port PR 9937 to release branch

port the fix for https://github.com/microsoft/azuredatastudio/pull/9975 to release branch

@alanrenmsft could you please link to the issue that Ken approved for this bug port?

issue: https://github.com/microsoft/azuredatastudio/issues/9975, I will ask Ken to take a look at the issue.

@kburtram, Ken has approved the issue.

We discussed this during the DRI meeting, and decided that I should handle merging Alan's PRs while @kburtram is sick.


PhysicsDirectSpaceState3D.intersect_ray lowers precision the farther away from world origin you go

Godot version
4.0 beta 14
System information
Windows 10
Issue description
I was following the official docs on Ray-Casting from the screen to the object and discovered that if you go far enough from the origin (~130 units in the attached video), then the recommended way of ray-casting through space state starts to become inaccurate, while casting RayCast3D keeps being accurate.
You may see that I switch between using space state and the collision position of RayCast3D in the top left corner and the marker either is placed off to the side or in the correct place.
https://user-images.githubusercontent.com/18574763/215352736-8daa2a51-a832-42df-8ce9-fffbe95bc807.mp4
Steps to reproduce

create a CollisionShape >130 units from the origin in any direction;
build the project, move the camera to the location of the CollisionShape;
try to ray-cast from the screen using PhysicsDirectSpaceState3D.intersect_ray;
place a simple small CubeMesh at the collision position by marker.global_transform.origin = result["position"];
see that the mesh does not have the correct position;
try the same but with RayCast3D.get_collision_point() to see the mesh in the correct spot.

Minimal reproduction project
extends Node3D

@onready var marker: MeshInstance3D = MeshInstance3D.new()
@onready var ray_cast = RayCast3D.new()

var new_click_location: Vector2 = Vector2.INF
var _use_space_state: bool = true

func _ready() -> void:
	ray_cast.hide()
	ray_cast.set_collision_mask_value(2, true)
	add_child(ray_cast)

	marker.mesh = BoxMesh.new()
	marker.scale = Vector3(0.2, 0.2, 0.2)
	marker.hide()
	add_child(marker)

func _physics_process(delta):
	if new_click_location != Vector2.INF:
		var camera: Camera3D = get_viewport().get_camera_3d()
		var from: Vector3 = camera.project_ray_origin(new_click_location)
		var to: Vector3 = camera.project_ray_normal(new_click_location) * 1000

		var result_position: Vector3 = Vector3.INF

		if _use_space_state:
			var space_state: PhysicsDirectSpaceState3D = get_world_3d().direct_space_state

			var result: Dictionary = space_state.intersect_ray(
				PhysicsRayQueryParameters3D.create(from, to)
			)

			if result != null and not result.is_empty():
				result_position = result["position"]
				player.update_path(a_star_custom.find_path(player.global_transform.origin, result_position))
		else:
			ray_cast.global_position = from
			ray_cast.target_position = to
			ray_cast.force_raycast_update()

			if not ray_cast.visible:
				ray_cast.show()

			result_position = ray_cast.get_collision_point()

		if result_position == Vector3.INF:
			marker.hide()
		else:
			marker.show()
			marker.global_transform.origin = result_position

		new_click_location = Vector2.INF

func _unhandled_input(event: InputEvent) -> void:
	if event.is_action_pressed("switch_ray_cast"):
		_use_space_state= not _use_space_state

	if event is InputEventMouseButton and event.is_action_pressed("click"):
		new_click_location = (event as InputEventMouseButton).position

It looks similar to 61174 but this instance has nothing to do with frustum offset.

Note the RayCast3D node's target_position is given in local coordinates whereas the to member of PhysicsRayQueryParameters3D is given in global coordinates, so your code is incorrect.


Add Y062: Protocol method arg should not be pos-or-kw

Fixes #441

(#449 bagged Y062, so this will have to be Y063 now :)

It's probably best to merge this as an off-by-default rule, and maybe we can eventually build something that alerts on a typeshed PR if new violations are introduced.


Added support for no_std

Hello,
I have noticed that your crate does not really use any std feature, so I added the necessary modifications for supporting no_std platforms such as Arduino or Raspberry PI pico.

Thank you :)


[Issue #8204][pulsar-broker] Fixes first automatic compaction issue

Fixes #8204
Motivation
Details are described in the issue and also on previous pull request #8205
Modifications
If we have no durable subscriptions yet (e.g. when using Reader instead of Consumer) use ledger total size instead of estimated backlog size that will always be equal to 0 in this case.
Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API: (no)
The schema: (no)
The default values of configurations: (no)
The wire protocol: (no)
The rest endpoints: (no)
The admin cli options: (no)
Anything that affects deployment: (no)

Documentation

Does this pull request introduce a new feature? (no)
If yes, how is the feature documented? (comments)
If a feature is not applicable for documentation, explain why? It is an internal change (no equivalent doc is available)

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

@fmiguelez Could you please help take a look the checkstyle failure?

@fmiguelez Could you please help take a look the checkstyle failure?

Is it now ok?

@fmiguelez Please fix ci error. It seems to be a check-style problem, as follows:
Error:  src/main/java/org/apache/pulsar/broker/service/persistent/PersistentTopic.java:[1273] (regexp) RegexpSingleline: Trailing whitespace
Error:  Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.1.1:check (check-style) on project pulsar-broker: You have 1 Checkstyle violation. -> [Help 1]

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

Don't merge this PR, CI with name Broker Group 2 is missed in the CI tests list.

@codelipenghui is there anything left I should do?

@fmiguelez no, we are fixing the CI issues.  I copied the log here:
Error:  Tests run: 36, Failures: 1, Errors: 0, Skipped: 1, Time elapsed: 9.187 s <<< FAILURE! - in org.apache.pulsar.broker.service.PersistentTopicTest
Error:  testCompactionTriggeredAfterThresholdFirstInvocation(org.apache.pulsar.broker.service.PersistentTopicTest)  Time elapsed: 0.021 s  <<< FAILURE!
Wanted but not invoked:
compactor.compact(<any string>);
-> at org.apache.pulsar.broker.service.PersistentTopicTest.testCompactionTriggeredAfterThresholdFirstInvocation(PersistentTopicTest.java:1612)
Actually, there were zero interactions with this mock.

	at org.apache.pulsar.broker.service.PersistentTopicTest.testCompactionTriggeredAfterThresholdFirstInvocation(PersistentTopicTest.java:1612)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:132)
	at org.testng.internal.InvokeMethodRunnable.runOne(InvokeMethodRunnable.java:45)
	at org.testng.internal.InvokeMethodRunnable.call(InvokeMethodRunnable.java:73)
	at org.testng.internal.InvokeMethodRunnable.call(InvokeMethodRunnable.java:11)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)

@fmiguelez Please take a look at the failed test, seems related to this change. I copied the log here:
Error:  Tests run: 36, Failures: 1, Errors: 0, Skipped: 1, Time elapsed: 9.187 s <<< FAILURE! - in org.apache.pulsar.broker.service.PersistentTopicTest
Error:  testCompactionTriggeredAfterThresholdFirstInvocation(org.apache.pulsar.broker.service.PersistentTopicTest)  Time elapsed: 0.021 s  <<< FAILURE!
Wanted but not invoked:
compactor.compact(<any string>);
-> at org.apache.pulsar.broker.service.PersistentTopicTest.testCompactionTriggeredAfterThresholdFirstInvocation(PersistentTopicTest.java:1612)
Actually, there were zero interactions with this mock.

	at org.apache.pulsar.broker.service.PersistentTopicTest.testCompactionTriggeredAfterThresholdFirstInvocation(PersistentTopicTest.java:1612)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:132)
	at org.testng.internal.InvokeMethodRunnable.runOne(InvokeMethodRunnable.java:45)
	at org.testng.internal.InvokeMethodRunnable.call(InvokeMethodRunnable.java:73)
	at org.testng.internal.InvokeMethodRunnable.call(InvokeMethodRunnable.java:11)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)

/pulsarbot run-failure-checks


Spring Boot 3.x support

Are there any plans to support Spring Boot 3.x?
Particularly, migrating from javax.jms to jakarta.jms.

Thank you for suggesting this feature. We have opened an investigation task for this in our backlog, and will update this issue when we have more information. To help us get this prioritized, it would be helpful to see others vote and support this feature, as well as explain their scenarios.

Yes we will be supporting Jakarta https://github.com/Azure/azure-servicebus-jms/pull/42 . Pending release


Wal-e and docker recommendation

Good afternoon,
I hope I am in the right place to ask more a question than an issue.
I am implementing Wal-e on a test infrastructure and it works great so far! Thank you for all your efforts!

Is there any official docker image you guys recommends? (I am using abevoelker/postgres which include Postgres+Wal-e).

Is it possible to use Wal-e to backup a remote database? Until now I manage only to backup the local Postgres in the same container. I couldn't find the right command to use a Wal-e container (ex: jonathantron/wal-e) linked to a db container (postgres:9.3) in order to backup the db file to s3.

Thank you for any feedback, and very good week everyone!
Regards,
Greg.

Wal-e in my dockerfile:
RUN \
  curl -O https://bootstrap.pypa.io/get-pip.py && \
  python get-pip.py && \
  rm get-pip.py && \
  pip install gevent==1.0.2 && \
  pip install boto==2.38.0 && \
  pip install wal-e==0.8.1

Good evening Zjeraar,
Do you manage to run this Wale outside the db container?
We managed to install Wale in the dockerfile of our postgres db, but last week, the db container failed. Still investigation why... Will be great if I could run Wale ouside the db container and not touch that db...
Thank you and good start of week! ;-)
Greg.

Well, the way we use it is by the archive command in the postgresql configuration file(which performs a wal-push command), so the postgresql container needs to be able to use wal-e. I think that makes it difficult to do in another container.
If you only use the backup-push command, you can just share the postgresql data container with a seperate wal-e container and run wal-e seperately. Never tried, but I see no reason why that shouldn't work.

Thanks for the tip, didn't think of that. I will try if the db fails again because of a backup. Cheers! ;-)

Thanks for answering this issue. re-open it if anything gets hairy.

@zjeraar I got postgres and WAL-E working by  creating my own Dockerfile based on postgres. It runs continuous backups with the archive_command set to wal-push, and that part runs fine. However, I also want to run base backups 1-2x a day. I had been doing this with a cron task that ran backup-push through  docker exec. However, I am now set up on Amazon ECS, and I can't do docker exec because there's no way for the script to know the name of the postgres container.
Is there a way to run backup-push from a different container, and by linking to my running postgres container?

On Mon, Jun 20, 2016 at 2:44 PM David Ham<EMAIL_ADDRESS>wrote:

@zjeraar https://github.com/zjeraar I got postgres and WAL-E working by
creating my own Dockerfile based on postgres. It runs continuous backups
with the archive_command set to wal-push, and that part runs fine. However,
I also want to run base backups 1-2x a day. I had been doing this with a
cron task that ran backup-push through docker exec. However, I am now set
up on Amazon ECS, and I can't do docker exec because there's no way for
the script to know the name of the postgres container.
Is there a way to run backup-push from a different container, and by
linking to my running postgres container?

You might be able to set something up by using PGHOST as a TCP address
rather than a unix socket address (the default) and sharing volumes, while
ensuring to carefully map file permissions. But this all seems rather
complicated relative to running WAL-E in the same container.

@davidham, in my postgres container I run everything with a bash script. I have a function there that is something like this:
periodically_backup () {
  while true; do
    sleep 45

    local current_time=$(date +"%H:%M")
    if [[ "$current_time" == "$BACKUP_EXECUTION_TIME" ]]; then
      local wale_s3_prefix=$(create_wale_prefix)
      wal-e --s3-prefix="$wale_s3_prefix" backup-push "$DATA_DIRECTORY"
      wal-e --s3-prefix="$wale_s3_prefix" delete --confirm retain 30
    fi
  done
}

and then in the script
periodically_backup &

@fdr agreed, totally. @zjeraar I love this! And you could manage this all with the stock postgres image, with environment vars and the script in docker-initdb.d. Thanks so much for your response.

@zjeraar Can you describe a little more about how you have this set up? In my container I have a setup-wal-e.sh script, which sets archive_mode and archive_command, and kicks off a version of your periodically_backup in the background. I copy this into docker-entrypoint-initdb.d, and it runs great when I am creating a new database; however, when I run it with a volume containing my existing database, I can't tell how to run it without it exiting when I close the shell. Do I run periodically_backup & in the script and then run ./setup-wal-e.sh & in a docker terminal (opened with docker exec -it mycontainer bash? Thanks for any advice you can offer!

@davidham I don't use the official postgres image (I think you're referring to). I have my own image with one bash script which kicks of the periodically_backup in the background and after that starts the db (also in the background). All this is done with the initial docker run command.
Something like:
echo "start periodically backup at $BACKUP_EXECUTION_TIME""h..."
periodically_backup &

echo "starting postgresql..."
/usr/lib/postgresql/9.4/bin/postgres -c config_file=/etc/postgresql/postgresql.conf &

# wait for the pid of this file to end
wait $!

@zjeraar this is very helpful, thank you.


Protoc does not find system proto files

I installed Protocol Buffers using vcpkg and the installation was successful. I can build projects that depend on the library using CMake and generate code without problems except when importing system proto files (like google/protobuf/timestamp.proto). Even invoking protoc from the command line the code generation fails because it cannot find the imported file. I do not have any issue when I use a protoc executable not installed through vcpkg.
I believe this may be due to the fact that vcpkg installs protoc inside the tools/protobuf subfolder instead of the bin subfolder. In fact, i copied the executable inside bin and I was able to generate the code without problems.
Is there a reason for the executable to be installed in that subfolder, and is there a way to solve the problem with system proto files?

My work around for this is to pass -DProtobuf_IMPORT_DIRS="%VCPKG_DIR%\installed%TRIPLET_NAME%\include" to cmake generator step

Another workaround for a cmake project:
set (Protobuf_IMPORT_DIRS ${Protobuf_INCLUDE_DIR})
protobuf_generate_cpp(...


Documentation should state that button callbacks/handlers are called in new thread

It may be good to know to users of the buttonshim library that the button callbacks (handlers) are called from a new thread.

True! This could potentially be a gotcha.
I've added this to the handler binding docstrings, so it now shows up at: http://docs.pimoroni.com/buttonshim/


Moving card to empty list fails

When I click on "add a card.." in the empty list everxthing works. I assume this creates a card of temporarly existence.

I cannot reproduce this bug. Could you provide more details?

Hmmm, It seems the mistake was on my side. I tried to drag the card on the "add a card" button, not on the list headline. This doesn't work in Libreboard (it does in Trello).
So this is not really a bug. Sorry.

I imagine we can improve the user experience here.

Fixed in 6db01bb3c7bbcf3e5451dd828d3d0932eb5efec3.


Charts building issue

This issue can be found in exchange of UAH/* and if you have option "Candlestick" active.

Next issue can be recreated if the chart are empty at the first place like below:

Make any transaction and you will get forever loading

Hi, I'm having the same issue when I start trading with a newly created database.

I'm also having that issue, but the error is different. The JSON request returns {"error":{"code":1001,"message":"market does not have a valid value"}} and the console logs: Failed to load resource: the server responded with a status of 422 (Unprocessable Entity)
Any solutions to this problem?

Fixed in #39.


Providing Generics for Read Methods

It would make interacting with the library a lot easier if one can use generics to Methods like ReadAsyncs. For example when i want to Request a Patient I don't want to type
FhirResponse patResponse = fhirService.ReadAsync(key);
Patient pat = (Patient)patResponse.Resource;

doSomething(pat)

but i could quickly write
patResponse = await fhirService.ReadAsync<Patient>(key);
doSomething(pat.Resource);

It would improve Development experience and Code readibility.

I like the idea!


Expose the DataEntityDataReader Class.

Check in to the master branch and will be a part of release > v1.9.1


Programatically saving a Static SuperTable

Hello — I'm trying to save some data via my plugin to a SuperTable field. It is a static field, and following the Wiki method doesn't seem to work for this.

Hey there - I've just updated the example for you, which should hopefully help out - https://github.com/engram-design/SuperTable/wiki/Programatically-saving-a-Super-Table-field-with-content

Hmm – I went ahead and made changes but it's still not having any effect…
I'm hooking into updating my "thumbnail" field with a programmatically created asset. The asset is being saved but the relationship is not, nor is the crop position.
`$response = craft()->assets->insertFileByLocalPath($tmpfname, $slug . '.jpg', '11');
$fileIds = array();
if ($response->isSuccess()) {
$fileId = $response->getDataItem('fileId');
$fileIds[] = $fileId;
error_log(print_r($fileIds, true));
$field = craft()->fields->getFieldByHandle('thumbnail');
$blockTypes = craft()->superTable->getBlockTypesByFieldId($field->id);
$blockType = $blockTypes[0];
  $superTableData = array();
  $supderTableData['new1'] = array(
    'type' => $blockType->id,
    'enabled' => true,
    'fields' => array(
      'image' => $fileIds,
      'cropPosition' => 'left'
    )
  );

  $entry->setContentFromPost(array('thumbnail' => $superTableData));
  if (craft()->elements->saveElement($entry)) {
    error_log('saved element');
    return true;
  }
  else {
    Craft::dd($entry->getAllErrors);
  }
}`

Is cropPosition just a plain text field, or a Position Select field? What does error_log(print_r($fileIds, true)); print out? Are there any errors shown through Craft::dd($entry->getAllErrors);?

cropPosition is a select dropdown with options center (default), left, and right. The single file ID gathered from the $response is printed upon the log command, and the element is always successfully saved. Just not updating the SuperTable field.

Should you be using craft()->entries->saveEntry($entry); as opposed to craft()->elements->saveElement($entry)? Haven't tested all that, but will now.

Doesn't matter as both do the same thing.

I'm pretty sure they're not the same thing - Have a look at app/services/EntriesService.php and saveEntry(). My testing shows that craft()->elements->saveElement($entry) doesn't work, as you're just creating the element for the entry, not the entry plus the element if that makes sense?

Not to worry — it's working completely great in multiple instances in my app. Thanks for the help and all the best!


non-python sources

I noticed that https://github.com/roxma/nvim-completion-manager/blob/master/pythonx/cm_sources/cm_filepath.py
Is callback based in returning the completions. The registering is done via a python api though.
Is this an implementation detail, or can I write sources in other languages (in other plugins) that call the same underlying functions?

You can use any language, python3 is more preferable by this framework currently.
use the same protocol as autoload/cm/sources/ultisnips.vim cm#sources#ultisnips#cm_refresh function did.
If the completion calculation takes a while, you should call cm#complete later, through your own async channel, instead of in the same refresh handler function.

This is the registering code in pure vimscript:
au User CmSetup call cm#register_source({'name' : 'cm-ultisnips',
        \ 'priority': 7,
        \ 'abbreviation': 'Snip',
        \ 'cm_refresh_patterns':['\S{1,}$'],
        \ 'cm_refresh': 'cm#sources#ultisnips#cm_refresh',
        \ })

" css
" the omnifunc pattern is PCRE
au User CmSetup call cm#register_source({'name' : 'cm-css',
        \ 'priority': 9,
        \ 'scopes': ['css','scss'],
        \ 'abbreviation': 'css',
        \ 'cm_refresh_patterns':['\w{2,}$',':\s+\w*$'],
        \ 'cm_refresh': {'omnifunc': 'csscomplete#CompleteCSS'},
        \ })

I'll update the documentation for this, ask any question if you get confused.

Here is an example using asyncomplete that is written in vim script that uses job.
https://github.com/prabirshrestha/asyncomplete-tscompletejob.vim/blob/5eedc54022ffdc44fc1f4e7e13271ec19513a3a0/autoload/asyncomplete/sources/tscompletejob.vim
https://github.com/prabirshrestha/asyncomplete-gocode.vim/blob/93161392b82b42e36a78cdebdab32a9ea050fdff/autoload/asyncomplete/sources/gocode.vim
Since asyncomplete is fork of nvim-completion-manager you should be able to do the same. But as roxma mentioned vim script is single thread so you could still be blocked. I have been using the typescript asyncomplete job for a large codebase at work for at least a week and haven't noticed any lag.


sage: matplotlib 3.6 upgrade fixes

Description of changes
Import upstream patches (https://git.sagemath.org/sage.git/patch?id2=9.8.beta2&id=5501e0de0dca1cff0355326dd42bd8c7e5749568 and https://git.sagemath.org/sage.git/patch?id2=9.8.beta4&id=64589686c261d33e6b5aff2589bcae8af004bcc6) and delete now-upstreamed patch from #189776.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

@ofborg build sageWithDoc

Thank you for the review :)


Request for clarification

Hello,
I just found this repository and while the whole thing is released under MIT license,
the individual files do not have license information.
For example, what is the supposed status of vxlapi.h?
It clearly states Vector Informatik copyright, no issue there, but what about the license?
Or A2L.c, there is no copyright or license for this file.

Hello,
our understanding is, that the MIT license does not require the license text to be included inside each source file.
The license of vxlapi.h is indeed unclear, as the official download of the library installer states different license conditions.
We will simplify XL driver library licensing in the future.
I will remove the files here.
Please download the official "XL Driver Library" Setup from www.vector.com.

our understanding is, that the MIT license does not require the license text to be included inside each source file.

And in general I agree.
However, you are mixing files from several sources here, like any normal project would do.
And assessing afterwards which files came under which license is a real pain with no hints in the files and sometimes
even no copyright information.
Sure, you are perfectly fine, even more so since this repository is marked to be from Vector.
But for everyone else this is a copyright minefield.
For example A2L.h and A2L.c.
Lets assume one would like to use these, finds this repository, sees MIT license and copies the files into their own project.
Now someone else is conducting a BlackDuck test a while later and BlackDuck determines there is a potential license conflict as these two files were found in a totally different repository that is under GPL.
There is not a even a hint that A2L.h and A2L.c are under Vector copyright and no license.
Putting a standard header in the file including the license would make things so much easier.

The license of vxlapi.h is indeed unclear, as the official download of the library installer states different license conditions.

The XL Driver Library is distributed without any license currently, I hope that gets changed soon.

Ok, thanks for your comments.
I just added copyright notes to all source files.
Until the XL-API license conditions are clarified and simplified, please contact Vector for an individual XL Driver Library license agreement.


Implemented devise

In this PR, we:

Removed current_user method in ApplicationController.
Installed devise.
Can register a new user.
User logs in with a combination of email and password.
Hashed password is stored in the database.
Asks for confirmation of email.
Can reset password.
Followed best practises, no linters errors

For the next Reviewer: Please proceed with the review even if there are no commits from maths29.
Student Success authorized @vangelif and @jubaer919 to submit the project.
@vangelif - please submit another review request and the next CR will review your project.

For the next Reviewer: Please proceed with the review even if there are no commits from maths29. Student Success authorized @vangelif and @jubaer919 to submit the project.
@vangelif - please submit another review request and the next CR will review your project.

@enniopo - appreciate for the understanding here


extend the configuration for faker plugin

allow to modify the route for faker plugin

Thanks! That is a useful option :) Just one minor thing, can you move the fallback route to default options instead?

@hjvedvik updated the file as requested


[BUG] nvidia-open drivers already shipping?

could be a red herring, but on the silverblue-nvidia image, I'm seeing this in /etc/nvidia/kernel.conf:
nvidia-open

Good catch, that file is technically incorrect, however the driver itself is correct.
See this verification:
$ modinfo -l nvidia
NVIDIA

The config file is used for dkms or akmods to determine which version of the driver to build, but we are doing things correctly in akmods but not in hwe.
What is happening is we do change from nvidia-open to nvidia when building the non-open nvidia driver (see: https://github.com/ublue-os/akmods/actions/runs/11301936520/job/31437048406#step:12:1762 ) however, when installing in HWE (or using the HWE nvidia-install.sh script) we do not re-run that sed command, which creates the false impression that the wrong driver may be installed.
The negativo17 maintainer address this config file and how to verify the module itself here:  https://negativo17.org/nvidia-proprietary-and-open-source-kernel-modules/
I'll make the change in the nvidia-install.sh script to avoid this confusion.

Fixed here in hwe, also in bluefin, and I think bazzite should already be good to go.


upgrade to neat-interpolation >= 0.5

Yeah, this is a no-go. Closing until we decide on a better approach.

Reopening while discussion rages

See also my PR https://github.com/nikita-volkov/neat-interpolation/pull/26 as an alternate approach. We can also simply introduce this synonym in Pact.Util.


Call for function implementations

There are some functions we haven't supported in eKuiper. Here are some functions we listed group by the priority. It's always welcome if someone helps to support any of the unimplemented function.
Here is the example for implementation array and object functions https://github.com/lf-edge/ekuiper/pull/1871
If you have any interest for implementing the above functions, plz comment on this issue first in order to avoid do the duplicated work.
Array functions
https://rockset.com/docs/array-functions/
High

[x] ARRAY_POSITION
[x] LENGTH
[x] SLICE
[x] ELEMENT_AT
[x] ARRAY_CONTAINS
[ ] ARRAY_SORT
[ ] ARRAY_CONCAT

Medium

[x] ARRAY_CREATE
[ ] ARRAY_REMOVE
[ ] ARRAY_LAST_POSTION
[ ] ARRAY_CONTAINS_ANY
[ ] ARRAY_INTERSECT
[ ] ARRAY_UNION
[ ] ARRAY_MAX
[ ] ARRAY_MIN
[ ] ARRAY_EXCEPT
[ ] REPEAT
[ ] SEQUENCE

LOW

[ ] CARDINALITY
[ ] ARRAY_FLATTEN
[ ] ARRAY_DISTINCT
[ ] ARRAY_MAP
[ ] ARRY_JOIN
[ ] ARRAY_SHUFFLE

Object functions
https://rockset.com/docs/object-functions/
High

[x] ELEMENT_AT
[x] LENGTH
[x] KEYS
[x] VALUES

Medium

[x] OBJECT
[x] ZIP
[x] ITEMS
[ ] MERGE
[ ] ERASE

Hi, I am interested in this issue. Can I do this task?

@wangxye Sure, welcome

Hi, I am interested in this issue. Can I do this task?

sure, please declare the functions u want to implement before start coding.

I can start with the medium and low priorities of array functions.

Hi, I am interested in solving the high and medium priorities of array functions.

Hi, I am interested in solving the high and medium priorities of array functions.

Hi, The rest array functions in Medium are in working, could u help to work on array_sort or array_concat?

Yeah sure

Can you please tell me in which code or where do I exactly implement these functions?

HI, I support ARRAY_SORT in this pr https://github.com/lf-edge/ekuiper/pull/2176

All added. Great teamwork!


version is not written to stdout

Not working:
./flow-evm-gateway version|grep <something>
Working:
./flow-evm-gateway version 2>&1|grep <something>

@Maharacha Thanks for reporting, I missed that 🙏
Here's the fix: https://github.com/onflow/flow-evm-gateway/pull/625


How to bypass Cloudflare "Checking your browser before accessing "?

run command: "favors crawl nhentai"，got 503 responses.

Keeping your IP in cloudflare white list, just open nhentai with browser can solute it.
Sending request with cookies. (I will fix this bug.)


Default value from model after Gii generator

make auto-generated fields in the model , as well as Auto-mapping in the view
Additional info

Q
A

Yii version
2.0.9

PHP version
5.6

Operating system

and default value of text column is null not empty string

Please elaborate.

Closed, unless more information provided


Config-UI CDN does not work in china.

Description
@klesh said that they can't connect to CDN. We need these packaged in the build

Not a problem will get these fonts localized.


DDC-1545

This is the test case related to http://www.doctrine-project.org/jira/browse/DDC-1545

Fix was already provided here a8478d5766e2cc4185612af680b7f6bcd83af61e.


Revert "nc/runnable-dynamic-schemas-from-config"

This reverts commit a46eef64a78edcbfb15d13165224b4574b668c18.

Whoops


fix(ipfs-coord): Updating to 6.8.11

:tada: This PR is included in version 2.2.1 :tada:
Your semantic-release bot :package::rocket:


Split sui system state file

A few more refactoring is coming.
Before that, first split the growing sui system state file into a dedicated sub crate with multiple files:

Put a few common Move types such as Table into collection_types.rs
Put all the V1 data structures in a dedicated V1 file.

Before that, first split the growing sui system state file into a dedicated sub crate with multiple files:

Slight nit: You're moving it into a sub module not another crate


Feature: RHEL8 RPM Build

I was able to compile projecteur on RHEL8 and it seems to be working.  I had to install a few QT libraries, but it works. There was a bit of ham fisted grasping at QT packages, but I could probably produce a list of required RPM's if someone wanted to undertake the effort.

Yeah why not. But I would definitely need a docker RHEL8 docker image for that (all the package builds are automated via docker on their respective distribution images) - do you know if there is one?

https://developers.redhat.com/products/rhel/ubi/

Found this which seems a good start on creating a RHEL8 based docker image: https://medium.com/pareture/docker-basics-dockerised-rhel8-24d49d93e91d

I might add that a RHEL8 package build does not have a really high priority on my personal list. Contributions are welcome though: Very helpful would be:

a docker image that can build the project and the dist-package target, similar to the existing build images (see: https://github.com/jahnf/Projecteur/tree/develop/docker)
and a minimal list of package dependencies that will be needed at runtime on a fresh installed distribution - similar to existing ones in https://github.com/jahnf/Projecteur/blob/develop/cmake/modules/PkgDependenciesProjecteur.cmake

Installing a vanilla RHEL8 VM to get the package list together.

On a vanilla RHEL8 Developer free subscription (https://developers.redhat.com/topics/linux/)
Connect RHEL to RH repos using your dev credentials:
sudo subscription-manager register
sudo subscription-manager refresh
sudo subscription-manager attach --auto
sudo dnf -y install qt5-qtbase qt5-qtbase-devel qt5-qtgraphicaleffects qt5-qtx11extras qt5-qt3d-devel qt5-qt3d make cmake git
this installs a whole bunch of dependencies
sudo git clone https://github.com/jahnf/projecteur
sudo mkdir build && cd build
sudo cmake ..
sudo make
sudo make install
sudo cp 55-spotlight.rules /lib/udev/rules.d/55-spotlight.rules
sudo udevadm trigger
Projecteur doesnt run in the VM, but I think that's a VM / X display complication. The same steps work on my laptop.
Looking into some gotchas for building this into a container w/UBI

@aclater
Thanks for the details. I tried to create a docker build image for Projecteur based on RHEL8 yesterday (like described here https://medium.com/pareture/docker-basics-dockerised-rhel8-24d49d93e91d) but realized, that you can only get qt5 packages with a subscribtion.
This makes it basically not possible to create a docker image (which will be publicly available) for automated builds. The only thing that I could do is to add package information for RHEL8, so that RHEL8 users could run make dist-pkg and it would build a rpm-package

@aclater Would a package that was built on CentOS 8, work on RHEL8?

It should - I'm happy to test

Alright: here you go, please try it out- the latest builds have a build for CentOS-8 and also create a package for it:

Build: https://travis-ci.org/jahnf/Projecteur/jobs/650472852?utm_medium=notification&utm_source=github_status
Binaries: https://bintray.com/jahnf/Projecteur/projecteur-develop/0.7-alpha.29#files

Biary works for me! Thanks a million. I'll be sure to let other folks @ Red Hat know this is available.

Perfect, great that it works. Also happy to see that Projecteur being used on a variety of distributions. All future versions will now be additionaly build on CentOS (763632e)


Disable the PMD analysis cache

We never set this in the first place, but users would see a
warning that they could improve build times by using it. Since
each test run is hermetic, we can't realistically do that, so
instead we disable the warning.

Given how bazel should be executing this in a sandbox without access to the wider filesystem, the cache it builds would be for the files seen in this one run of the action, and would then be discarded. It would be very surprising if subsequent builds could alter this file (and a gross violation of build hermeticity) Which is a long way of saying that I don't think the cache analysis file is really helpful for us :)

Given how bazel should be executing this in a sandbox without access to the wider filesystem, the cache it builds would be for the files seen in this one run of the action, and would then be discarded. It would be very surprising if subsequent builds could alter this file (and a gross violation of build hermeticity) Which is a long way of saying that I don't think the cache analysis file is really helpful for us :)

It seemed to me like --cache can point to a file that resides inside output-dir instead of a global cache location. we have done something similar in rules_nodejs here: https://github.com/bazelbuild/rules_nodejs/blob/89fbec3801487b522ac36f32a7a6b00ebf069695/packages/typescript/internal/ts_project.bzl#L186
Anyways I am not familiar with how pmd works internally so no gonna make too much noise :)


RangeError in /clan/rkhys-lb-dl-h-luc200jj

Error in ClashLeaders
RangeError in /clan/rkhys-lb-dl-h-luc200jj
Maximum call stack size exceeded
View on Bugsnag
Stacktrace
webpack:///node_modules/vue/dist/vue.esm.js:893 - ke.walk

View full stacktrace
Created automatically via Bugsnag

An error linked to this issue has been marked as fixed in Bugsnag
RangeError in /clan/sheng-wei-wang-bai-wei-kou-y0qupr9u


Pin jQuery to Ember.js compatible version

Fixes Testem not running at all on a fresh install.

thankyou @john-kurkowski !


Security

Plexus demonstrates the following

[ ] No OWASP Top 10 warnings are present in the code
[ ] No long-standing medium or higher vulnerabilities (2+ months)
[ ] Proper security disclosure processes
[ ] Any cryptographic functions and key lengths used within the software should be identified and vetted with Foundation's legal counsel in order to request compliance with U.S. Export policy.

Repo is integrated with WhiteSource tool, therefore:
No OWASP Top 10 warnings are present in the code
No warnings
No long-standing medium or higher vulnerabilities (2+ months)
No long-standing valnurabilities
Proper security disclosure processes
Proactive raise of vulnerabilities by Whitesource tool
Any cryptographic functions and key lengths used within the software should be identified and vetted with Foundation's legal counsel in order to request compliance with U.S. Export policy.
Not applicable


Train code

Hello, I am really impressed with Lawin Transformer.
I would like to train with the model you proposed, but there are difficulties because hyper-parameters related to learning are not shared in the paper
Could you please share the code to train it?
thank you

Hello, the code can be trained now.


Don't set DOTNET_ROOT during build

Summary

As a part of https://github.com/paketo-buildpacks/dotnet-core/issues/722, the .NET Core ASP.NET buildpack will no longer be needed during build, so there's no need to make the DOTNET_ROOT available at build-time anymore.
Use Cases

Checklist

[X] I have viewed, signed, and submitted the Contributor License Agreement.
[X] I have linked issue(s) that this PR should close using keywords or the Github UI (See docs)
[X] I have added an integration test, if necessary.
[X] I have reviewed the styleguide for guidance on my code quality.
[X] I'm happy with the commit history on this PR (I have rebased/squashed as needed).

This should probably get merged in after the related SDK and Publish PRs.


Get User credentials after successful login

After successfully login with the Facebook login dialog, the result doesn't return the actual use credentials.
Instead it returns: {"declinedPermissions": [], "grantedPermissions": ["public_profile", "email"], "is
Cancelled": false}
LoginManager.logInWithPermissions(["public_profile"]).then(
  function(result) {
    console.log(result)
    //I get this in the console: {"declinedPermissions": [], "grantedPermissions": ["public_profile", "email"], "is
Cancelled": false}
    }
  },
);

Maybe related, react-native-firebase auth is having difficulty consuming the output from this module at the moment, that issue could use more triage before saying it is definitely related: https://github.com/invertase/react-native-firebase/issues/5106

@PrincewillIroka thanks for reporting this bug.
Does it happen all the time?
Would you mind to clone this repo and implement some test for it in order to reproduce?
That would help me a lot in order to debug it and specially having your constraints (environment and platform) set to reproduce :)

Be sure to check that you have enabled the facebook auth in the firebase console. I had the same issue, and enabling it fixed the problem

Interesting! That might explain why I have not been able to reproduce it in my project or help (I maintain react-native-firebase and wanted to solve this one...) thanks @zRelux - curious to here from @PrincewillIroka if that was the problem

I've sorted the issue. @zRelux Thanks for your suggestion and @mikehardy thanks for your efforts too.
I also found out that I was making a mistake by trying to access the user credentials from here directly:
const result = await LoginManager.logInWithPermissions([
      'public_profile',
      'email',
    ]);
console.log(result)

I had to get the user AccessToken, pass it unto auth (from  '@react-native-firebase/auth) before gaining access to the user credentials.
import auth from '@react-native-firebase/auth';

    if (result.isCancelled) {
      throw 'User cancelled the login process';
    }

    // Once signed in, get the users AccessToken
    const data = await AccessToken.getCurrentAccessToken();

    if (!data) {
      throw 'Something went wrong obtaining access token';
    }

    // Create a Firebase credential with the AccessToken
    const facebookCredential = auth.FacebookAuthProvider.credential(
      data.accessToken,
    );

    // Sign-in the user with the credential
    auth().signInWithCredential(facebookCredential);
    auth().onAuthStateChanged((user)=>console.log(user));

Glad to see that everything went fine in this issue :)