[BUG]  Out-of-Band Access on Host (harvester-seeder addon) fails to retrieve updated SSL cert

Describe the bug
This seems to occur on the case where the user has underlying bare-metal infrastructure that has an expired SSL cert.
The user then enables harvester-seeder addon & configures on host with credentials.
Yielding:
failed to open connection to BMC: 5 errors occurred:
* provider: gofish: Get "https://<IP_ADDRESS>/redfish/v1/": x509: certificate has expired or is not yet valid: current time 2023-10-17T21:26:10Z is after 2021-06-04T23:54:19Z
* provider: ipmitool: Error: Unable to establish IPMI v2 / RMCP+ session: exit status 1
* provider: *asrockrack.ASRockRack: Error logging in: Post "https://<IP_ADDRESS>/api/session": x509: certificate has expired or is not yet valid: current time 2023-10-17T21:27:02Z is after 2021-06-04T23:54:19Z
* provider: IntelAMT: Unable to perform digest auth with http://<IP_ADDRESS>:443/wsman: Post "http://<IP_ADDRESS>:443/wsman": EOF
* no Opener implementations found

Then the user updates the certificate / rolling the cert on the bare-metal device (node that provides Harvester).
Disabling & Re-enabling on the Host the out-of-band access.
And while the cert may not be expired anymore on the bare-metal the Harvester host still thinks it is.
Adjusting polling interval, enabling or disabling the out-of-band access on the host seems to not have any effect.
To Reproduce
Pre-Reqs:

have a bare-metal server, with an expired SSL cert
Steps:

enable harvester-seeder addon
configure the out-of-band access on the host
audit that the failures exist
update the certificate on the bare-metal machine
update polling interval or enable/disable out-of-band access on the host once the cert on the bare-metal machine has been updated
audit the host, failures will still exist, same as before

Expected behavior
Somehow have a "refresh" or dumping of any saved certs for the server/host if out-of-band access is enabled/disabled on the given host.
Support bundle
supportbundle_09c663e9-9569-4362-9a3e-cc3a2d703f01_2023-10-17T21-37-08Z.zip
Environment

Harvester ISO version: v1.2.1-rc1
Underlying Infrastructure: Dell PowerEdge R720

Additional context

╭─mike at suse-workstation-team-harvester in ~/Programs/dell/iDRACTools/racadm/RHEL8/x86_64
╰─○ sudo racadm -r <IP_ADDRESS> -u root -p root set iDRAC.Webserver.HttpsRedirection Disabled
Security Alert: Certificate is invalid - EE certificate key too weak
Continuing execution. Use -S option for racadm to stop execution on certificate-related errors.
[Key=iDRAC.Embedded.1#WebServer.1]
Object value modified successfully

╭─mike at suse-workstation-team-harvester in ~/Programs/dell/iDRACTools/racadm/RHEL8/x86_6╭─mike╭─mike╭─mike at suse-wor╭─mike at suse-workstation-team-harvester in ~/Programs/dell/iDRACTools/racadm/RHEL8/x86_64
╰─○ sudo racadm -r <IP_ADDRESS> -u root -p root sslresetcfg
[sudo] password for mike:
Security Alert: Certificate is invalid - EE certificate key too weak
Continuing execution. Use -S option for racadm to stop execution on certificate-related errors.
Certificate regenerated successfully and webserver restarted

Also as a workaround did try - disabling the out of band at the host - disabling the harvester-seeder addon.
Then re-enabling harvester-seeder addon, re-enabling the out-of-band access at the host (re-leveraging the already created secret) but still hitting the issue of:
failed to open connection to BMC: 5 errors occurred:
* provider: gofish: Get "https://<IP_ADDRESS>/redfish/v1/": x509: certificate has expired or is not yet valid: current time 2023-10-18T19:52:58Z is after 2021-06-04T23:54:19Z
* provider: ipmitool: Error: Unable to establish IPMI v2 / RMCP+ session: exit status 1
* provider: *asrockrack.ASRockRack: Error logging in: Post "https://<IP_ADDRESS>/api/session": x509: certificate has expired or is not yet valid: current time 2023-10-18T19:53:51Z is after 2021-06-04T23:54:19Z
* provider: IntelAMT: Unable to perform digest auth with http://<IP_ADDRESS>:443/wsman: Post "http://<IP_ADDRESS>:443/wsman": EOF
* no Opener implementations found

So to offer more context on this. :thread:
With Harvester v1.2.2, it is noticable that IPMI based Alerts/Events can come accross on a Dell PowerEdge R720 -w/ the settings configured correctly in iDRAC 7.
Though... to be noted.
RedFish fails entirely, even if the service is up when selecting "insecure TLS" box on the front-end.
As RedFish is using port 443, by default with iDRAC... granted, at least with iDRAC 7, and from what I can tell, though mileage might vary on that...
What seems to happen is indeed the same thing.
That there is an x509 error with the gofish library.
Where it's apparent from like a GET to https://<IP_ADDRESS>/redfish/v1 - we do yield back data, x-ref:
{
<EMAIL_ADDRESS>"/redfish/v1/$metadata#ServiceRoot.ServiceRoot",
<EMAIL_ADDRESS>"/redfish/v1",
<EMAIL_ADDRESS>"#ServiceRoot.v1_3_0.ServiceRoot",
  "AccountService": {
<EMAIL_ADDRESS>"/redfish/v1/Managers/iDRAC.Embedded.1/AccountService"
  },
  "Chassis": {
<EMAIL_ADDRESS>"/redfish/v1/Chassis"
  },
  "Description": "Root Service",
  "EventService": {
<EMAIL_ADDRESS>"/redfish/v1/EventService"
  },
  "Fabrics": {
<EMAIL_ADDRESS>"/redfish/v1/Fabrics"
  },
  "Id": "RootService",
  "JsonSchemas": {
<EMAIL_ADDRESS>"/redfish/v1/JSONSchemas"
  },
  "Links": {
    "Sessions": {
<EMAIL_ADDRESS>"/redfish/v1/Sessions"
    }
  },
  "Managers": {
<EMAIL_ADDRESS>"/redfish/v1/Managers"
  },
  "Name": "Root Service",
  "Oem": {
    "Dell": {
<EMAIL_ADDRESS>"#DellServiceRoot.v1_0_0.ServiceRootSummary",
      "IsBranded": 1,
      "ManagerMACAddress": "C8:1F:66:B7:B2:12",
      "ServiceTag": "6PGZDZ1"
    }
  },
  "Product": "Integrated Remote Access Controller",
  "ProtocolFeaturesSupported": {
    "ExpandQuery": {
      "ExpandAll": true,
      "Levels": true,
      "Links": true,
      "MaxLevels": 1,
      "NoLinks": true
    },
    "FilterQuery": true,
    "SelectQuery": true
  },
  "RedfishVersion": "1.4.0",
  "Registries": {
<EMAIL_ADDRESS>"/redfish/v1/Registries"
  },
  "SessionService": {
<EMAIL_ADDRESS>"/redfish/v1/SessionService"
  },
  "Systems": {
<EMAIL_ADDRESS>"/redfish/v1/Systems"
  },
  "Tasks": {
<EMAIL_ADDRESS>"/redfish/v1/TaskService"
  },
  "UpdateService": {
<EMAIL_ADDRESS>"/redfish/v1/UpdateService"
  }
}

Additionally, checking our event service with a GET out to https://<IP_ADDRESS>/redfish/v1/EventService yields:
{
<EMAIL_ADDRESS>"/redfish/v1/$metadata#EventService.EventService",
<EMAIL_ADDRESS>"/redfish/v1/EventService",
<EMAIL_ADDRESS>"#EventService.v1_0_6.EventService",
    "Actions": {
        "#EventService.SubmitTestEvent": {
<EMAIL_ADDRESS>[
                "StatusChange",
                "ResourceUpdated",
                "ResourceAdded",
                "ResourceRemoved",
                "Alert"
            ],
            "target": "/redfish/v1/EventService/Actions/EventService.SubmitTestEvent"
        }
    },
    "DeliveryRetryAttempts": 5,
    "DeliveryRetryIntervalSeconds": 30,
    "Description": "Event Service represents the properties for the service",
    "EventTypesForSubscription": [
        "StatusChange",
        "ResourceUpdated",
        "ResourceAdded",
        "ResourceRemoved",
        "Alert"
    ],
<EMAIL_ADDRESS>5,
    "Id": "EventService",
    "Name": "Event Service",
    "ServiceEnabled": true,
    "Status": {
        "Health": "OK",
        "HealthRollup": "OK",
        "State": "Enabled"
    },
    "Subscriptions": {
<EMAIL_ADDRESS>"/redfish/v1/EventService/Subscriptions"
    }
}

But!
To note, IPMI, over port 623 with Dell iDRAC does not pose any issues - but the only issues seem to be present in the gofish library, as it's not respecting the "ignore certs" / "insecure TLS" checkbox on the front-end, as if it was, it wouldn't return back x509 cert issues as yes, in this case the cert is self-signed.
The self-signed cert is even noticable in logs on racadm:
╭─mike at suse-workstation-team-harvester in ~/Projects/moritz-baremetal
╰─○ sudo racadm -r <IP_ADDRESS> -u root -p root get iDRAC.RedfishEventing.IgnoreCertificateErrors
Security Alert: Certificate is invalid - self-signed certificate
Continuing execution. Use -S option for racadm to stop execution on certificate-related errors.
[Key=iDRAC.Embedded.1#RedfishEventing.1]
IgnoreCertificateErrors=Yes

╭─mike at suse-workstation-team-harvester in ~/Projects/moritz-baremetal
╰─○ sudo racadm -r <IP_ADDRESS> -u root -p root get iDRAC.RedfishEventing
Security Alert: Certificate is invalid - self-signed certificate
Continuing execution. Use -S option for racadm to stop execution on certificate-related errors.
[Key=iDRAC.Embedded.1#RedfishEventing.1]
DeliveryRetryAttempts=5
DeliveryRetryIntervalInSeconds=30
#IgnoreCertificateErrors=Yes

cc: @ibrokethecloud


Unable to compile AT32F402/405

Unable to compile with no modifications
Both of these commands fail with the same error.
make BOARD=at32f405ccu7_hs all
make BOARD=at32f405ccu7_fs all

EDIT:
I was able to fix it but I need to edit core files.

Sorry. This is a compatibility issue between submodules of different authors.


[T4A2][T11-B4]Tong Fionna

Ready for review.

Accepting this PR without a review because another of your PRs for this tutorial was reviewed in detail.


CFE fails to report error when super is used in a redirecting constructor.

While looking at this co19 test, I noticed that the CFE doesn't report an error for this code:
class A {
  int x;
  A(this.x);
}

class C extends A {
  C(super._);
  C.r(super._) : this(0);
//    ^^^^^
// [analyzer] unspecified
// [cfe] unspecified
}

main() {
  print(C);
}

The analyzer produces an error for this, but I think the CFE is missing a SuperParameterInitializerOutsideConstructor error message for this case. It produces one for factories, but not for redirecting constructors.
Testing on Dart 3.4.3 stable.
cc. @johnniwinther @chloestefantsova

Forgot to mention, but this behaviour is the same regardless of the wildcard-variables flag.

It is also unimportant whether the name of the "super" parameter is _ or whatever.


Support ZGC metric is OAP and UI

[x] If this pull request closes/resolves/fixes an existing issue, replace the issue number. Closes #8411 .
[x] Update the CHANGES log.

it is still failed, the error message is strange

This error usually means the docker-compose can't bootstrap. Could you try the docker image locally?

Notice, the UI template updates may be reset in the near future, as the 9.0.0 UI uses a different template structure.
Welcome back to recheck when it is ready on Mar.

ok


Can Torii be used without Ember-CLI or Ember App Kit?

I understand it can be used via Bower, but it is not explained clearly whether Torii can be used without either of the above utilities. (I am using Ember-Rails.)

Thanks for the notes and concern, here. In future versions of Torii we aren't going to continue to support non-ember-cli versions. But hopefully the code merged in #95 addresses your issue. Please feel free to add a comment if you are still on a non-ember-cli app that is using torii and I'd be happy to help you find a way to bridge this gap.


Updates to Glottolog matches suggested by Harald

Via @d97hah:

Lega -> lega1249
D313_Mbuttu_1919 -> bodo1272

fixed to match the fixes i pushed to https://github.com/lexibank/grollemundbantu


Kwxm/core spec/remove sizes

This removes sizes from the spec and fixes some persistent annoyances wrt file names and things.

The specification contains some builtins which aren't implemented: at least quotInteger, modInteger, and intToByteString.  I think the first two of these are supposed to correspond to Haskell's quot and mod operations, and I think they were added to the spec after some discussion during a Plutus call.  Annoyingly, it transpires that quot and rem don't implement the correct mathematical definition, and neither do div and rem. We should work out what we want to do here.
Also, is there a reason why we have intToByteString but not byteStringToInt?

quot, rem andmod are implemented as the Haskell versions, which might be wrong. intToByteString isn't, but I don't really know why it's there and nobody's ever wanted it.

Residual references in:
2.1 types
3 typing rules
4.1 type frames
Appendix A typing rules
Appendix B typing rules
Builtin signatures look weird, I guess because they don't have any type arguments now.
Arguments to verifySignature are missing.

Otherwise looks fine.

quot, rem andmod are implemented as the Haskell versions, which might be wrong. intToByteString isn't, but I don't really know why it's there and nobody's ever wanted it.

I'll take out intToByteString then.

Residual references in:
2.1 types
3 typing rules
4.1 type frames
Appendix A typing rules
Appendix B typing rules
Builtin signatures look weird, I guess because they don't have any type arguments now.
Arguments to verifySignature are missing.

Fixed.


idea: define app template that could be loaded from Marathon UI when creating a new app

These json templates could be stored in a local folder, or in a git
Whenever creating a new app using Marathon UI, you can load an existing template and then tune it for your need (ex: change an environment variable value).

Thanks for your input. I like the idea of app templates to streamline the app creation. Predefined or community templates could also help lowering entry barriers to newcomers.
Thinking about this ideas I even suggest to have an extra dialog/endpoint where you only need to define a very limited set of variables to actually create an app.
@aquamatthias @pierlo-upitup @leemunroe What do you guys think?

Reminds me a little bit, of what we are trying to achieve here: https://github.com/mesosphere/multiverse/

+1
this cloud be very useful!

Note: This issue has been migrated to https://jira.mesosphere.com/browse/MARATHON-3607. For more information see https://groups.google.com/forum/#!topic/marathon-framework/khtvf-ifnp8.


Adjust the edge attributes returned from KG endpoint

The ICEES KG endpoint currently returns quite a bit of info. While this is helpful for users, I'm somewhat concerned that this may add too much "noise" to the Dec demo and thus backfire. This ticket is intended to initiate a team discussion.
ICEES DILI instance
<html><body>
<!--StartFragment-->

  | {   "chi_squared": 2.3984928470222595,   "columns": [     {       "frequency": 221,       "percentage": 0.8339622641509434     },     {       "frequency": 44,       "percentage": 0.1660377358490566     }   ],   "feature_a": {     "biolink_class": "biolink:ChemicalEntity",     "feature_name": "PrednisoneOrCorticosteroids_Tx",     "feature_qualifiers": [       {         "operator": "=",         "value": "No"       },       {         "operator": "=",         "value": "Yes"       }     ],     "year": null   },   "feature_b": {     "biolink_class": "biolink:Disease",     "feature_name": "PulmonaryDisease",     "feature_qualifiers": [       {         "operator": "=",         "value": "No"       },       {         "operator": "=",         "value": "Yes"       }     ],     "year": null   },   "feature_matrix": [     [       {         "column_percentage": 0.8642533936651584,         "frequency": 191,         "row_percentage": 0.8488888888888889,         "total_percentage": 0.720754716981132       },       {         "column_percentage": 0.7727272727272727,         "frequency": 34,         "row_percentage": 0.1511111111111111,         "total_percentage": 0.12830188679245283       }     ],     [       {         "column_percentage": 0.13574660633484162,         "frequency": 30,         "row_percentage": 0.75,         "total_percentage": 0.11320754716981132       },       {         "column_percentage": 0.22727272727272727,         "frequency": 10,         "row_percentage": 0.25,         "total_percentage": 0.03773584905660377       }     ]   ],   "p_value": 0.12145221113869516,   "rows": [     {       "frequency": 225,       "percentage": 0.8490566037735849     },     {       "frequency": 40,       "percentage": 0.1509433962264151     }   ],   "total": 265 }
-- | --

<!--EndFragment-->
</body>
</html>

Closing issue. To be discussed during mini-retreat.


cmd/compile: spurious foo.func1 redeclared in this block

Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
go version go1.7.3 linux/amd64
go version devel +53fc330 Tue Nov 1 04:42:33 2016 +0000 linux/amd64
What did you do?
https://play.golang.org/p/m7Z1qHv6ak
What did you expect to see?
main.go:7: foo redeclared in this block
	previous declaration at tmp/sandbox669345157/main.go:3

What did you see instead?
main.go:7: foo redeclared in this block
	previous declaration at tmp/sandbox669345157/main.go:3
main.go:8: foo.func1 redeclared in this block
	previous declaration at tmp/sandbox669345157/main.go:4

At least we get an error. Not urgent.

Interestingly when the content of the repeated functions differs, we get the expected single warning
package main

func foo() {
	_ = func() {}
}

func foo() {
	_ = "hey"
}

func main() {}

tmp/sandbox704696438/main.go:7: foo redeclared in this block
	previous declaration at tmp/sandbox704696438/main.go:3

In the reported issue log the compiler seems to be peeking in to compare bodies of the functions hence the spurious
main.go:8: foo.func1 redeclared in this block
	previous declaration at tmp/sandbox669345157/main.go:4

and then
package main

func foo() {
	_ = func() {}
	_ = func() { _ = "hey" }
}

func foo() {
	_ = func() {}
	_ = func() { _ = "hey" }
}

func main() {}

tmp/sandbox613823462/main.go:8: foo redeclared in this block
	previous declaration at tmp/sandbox613823462/main.go:3
tmp/sandbox613823462/main.go:9: foo.func1 redeclared in this block
	previous declaration at tmp/sandbox613823462/main.go:4
tmp/sandbox613823462/main.go:10: foo.func2 redeclared in this block
	previous declaration at tmp/sandbox613823462/main.go:5

@odeke-em Your first example only shows a single error because the anonymous function isn't declared a second time. It's isn't really "comparing the bodies" as much as compiling them. Anonymous functions still have a name, which is a concatenation of the outer function's name, some static text, and a counter. Having two outer functions with the same name (the first error) with anonymous functions inside will lead to these names also clashing.

Ah I see, thanks for the explanation @dominikh, TIL!

First error is from parseFile() and second is from typecheckslice().
Root cause: For both of the above calls, closurename() assigns same name —func1 to blank function. n.Func.Outerfunc.Func.Closgen++ during parseFile() did not have effect in the next call in type-checking.  Looks like it got reinitialized somewhere in between those two events.


Update AMQ streams from 1.0.0 to 1.1.0

We have releases new version of Red Hat AMQ Streams 1.1.0. This is the Red hat version of the Strimzi operator for Apache Kafka. I would like to update the existing package based on 1.0.0 to 1.1.0. 1.1.0 among other things brings the ability to watch whole cluster (all namespaces), Support for Apache Kafka 2.1.1 and for Kafka upgrades.
The CSV should be mostly similar to AMQ Streams 1.1.0 - the text have been slightly updated, the deployment configuration and RBAC roles as well as CRDs have been updated as well..

/ok-to-test

@dmesser Thanks for your review. In 1.1 we currently don't support status due to the older versions of OPenShift which we have to support. I hope we will add status fields in 1.2 where we hopefully should get rid of some of the historical baggage and support only newer versions of OCP (3.11+)

@dmesser Any chance to move forward with this? Thanks.

@scholzj When running this operator in AllNamespaces installmode on OpenShift 4.x, and creating the example Kafka CR in the default namespace, I get the following logs from the operator:
2019-04-18 17:42:05 INFO  ClusterOperator:170 - ClusterOperator is now ready (health server listening on 8080)
2019-04-18 17:42:05 INFO  Main:148 - Cluster Operator verticle started in namespace *
2019-04-18 17:43:46 INFO  AbstractAssemblyOperator:281 - Reconciliation #0(watch) Kafka(default/my-cluster): Kafka my-cluster in namespace default was ADDED
2019-04-18 17:43:46 WARN  VersionUsageUtils:55 - The client is using resource type 'kafkas' with unstable version 'v1alpha1'
2019-04-18 17:43:46 INFO  AbstractAssemblyOperator:167 - Reconciliation #0(watch) Kafka(default/my-cluster): Assembly my-cluster should be created or updated
2019-04-18 17:43:48 WARN  VersionUsageUtils:55 - The client is using resource type 'poddisruptionbudgets' with unstable version 'v1beta1'
2019-04-18 17:44:05 INFO  ClusterOperator:118 - Triggering periodic reconciliation for namespace *...
2019-04-18 17:44:05 WARN  VersionUsageUtils:55 - The client is using resource type 'kafkamirrormakers' with unstable version 'v1alpha1'
2019-04-18 17:44:05 WARN  VersionUsageUtils:55 - The client is using resource type 'kafkaconnects' with unstable version 'v1alpha1'
2019-04-18 17:44:05 WARN  VersionUsageUtils:55 - The client is using resource type 'kafkaconnects2is' with unstable version 'v1alpha1'

These seem to be just warnings, as the operator is able to spin up kafka pods in the default namespace just fine. Let me know if these seem unusual.

@SamiSousa That is ok. The Fabric8 Kubernetes client produces these when you use it with alpha or beta resources. But they do not indicate any problems.

/lgtm


Read hex literals

This PR adds support for hex literals.
See the following test cases:
    (test= 15 (read "0xF"))
    (test= -15 (read "-0Xf"))
    (test= "0x" (read "0x"))
    (test= "-0X" (read "-0X"))
    (test= "-0Xg" (read "-0Xg"))

One moment, sorry. Let me check that performance hasn't been affected by this.


PECL update

Is there planing to update PECL package which is using v0.2.2 now?

Sorry, just checking in on this. What's the effort required to release 0.5.x to pecl?

Only @chingor13 is listed as a maintainer on https://pecl.php.net/package/opencensus


Make promises chainable

Maybe I'm wrong in understanding promises but it is my understanding that a promise returned from then should be chainable. For example you would expect the following
let r = qwest.post('/api/ProspectiveCustomer')
			.then(function(){ return this.getResponseHeader('Location')  })
			.then((url) => qwest.get(url) )
			.then((d) => console.log("this should be json", d))

to work, but it doesn't! Seems like the second then chains the returned promise into the the next parameter. Instead it's supposed to return a new promise that resolves when everything is done.
That's the way every other promise library I've used has worked at least...

I don't really understand your code :p I don't know what the syntax (url) => qwest.get(url) should do. Anyway, it should chain promises as you're saying.
I think the problem comes from the call for qwest inside qwest itself. Try to externalize your qwest.get(url) call. I've planned to remove the current promises implementation for a better/stronger/external library.

Thanks...that syntax is es6 arrow functions :) It's already deployed in Firefox and looks like its getting close in Chrome

Saw that :p I read some ES6 specs but it's quite obscure for some things to me ^^
Anyway, did the externalization of your qwest calls work?

Unfortunately I switched away from qwest to full jquery when I hit this as
I use promise chaining a lot. I can see about checking out the code and
maybe making a pr in a few days
On Tue, May 12, 2015, 00:22 Aurélien Delogu<EMAIL_ADDRESS>wrote:

Saw that :p I read some ES6 specs but it's quite obscure for some things
to me ^^
Anyway, did the externalization of your qwest calls work?
—
Reply to this email directly or view it on GitHub
https://github.com/pyrsmk/qwest/issues/57#issuecomment-101137244.

I completely understand your choice ;) I had to do the same with some promising libraries : our clients can't wait :p
Otherwise, don't waste your time on this. I've planned to use an external library to have a valid and compliant promises spec into qwest. In all cases, thanks for your help!

Since this issue is part of #51, I close it.

Seems completely related to #22
That previous issue should have be rejected instead of fixed because that behavior is not standard at all. It will be fixed by the next release.


Prepared statements in wa-sqlite are not cached

https://github.com/electric-sql/electric/blob/d385d3cf7eb4c8822afefdd6173fad7feb71712a/clients/typescript/src/drivers/wa-sqlite/database.ts#L45
prepare_v2 generates a new query plan every time it's called. Consider keeping a cache of prepared statements.

Amusingly I've been looking a little into this this afternoon. 🤣
Compiled prepared statements include a query plan, and so we probably want to clear any cache whenever migrations are applied.

@samwillis sqlite invalidates the query plan in prepared statements when the schema changes. The query plan will be regenerated when you will try to execute a query(calling sqlite_step). No special handling is required.


Loading with quicklisp fails with: Package CL-DS.FANCY does not exist.

Using SBCL <IP_ADDRESS>
Cloned this repo to ql:*local-project-directories*
Failed with: Package CL-DS.FANCY does not exist.

Update quicklisp packages.

Thanks for the quick reply. Unfortunately it still fails with the same error after quicklisp update.

Ok. Investigating...

I can't replicate this issue. Cl-DS.FANCY was added recentl(ish) and so I thought that lingering cl-ds version in your local quicklisp is a problem. Otherwise I have no idea what is wrong.
To mitgate this problem you can clone https://github.com/sirherrbatka/cl-data-structures.git into ql:local-project-directories as well. Restart sbcl and attempt to load vellum system (or run the mushrooms example).

OK I have it working now. I deleted all the fasls for cl-data-structures and reloaded. Thanks for your help.

Happy to help.
Breanndán Ó Nualláin pisze:

OK I have it working now. I deleted all the fasls for cl-data-structures and
reloaded. Thanks for your help.
--
Marek Kochanowicz


I can,t close the extension

Hi ! I dowloaded this extension to see how it is , but now i can't escape from it . I tryed to delete the extension but my computer don't let me bcuz is still open and i can't close it . Does anyone know how to close it ? Bcuz is getting annoying .

I was having this trouble as well. See if shutting down your PC the turning it back on closes her. If she still pops up still, see if you have a setting set to where apps or files turn on after your PC wakes up from sleep and shut down again.


Regression: 'setFlatten(true)' not working with array when 'additionalProperties: false' is used

Code to reproduce:
        OpenAPIParser openApiParser = new OpenAPIParser();
        ParseOptions options = new ParseOptions();
        options.setResolve(true);
        options.setFlatten(true);
        SwaggerParseResult parseResult = openApiParser.readLocation(inputSpec, null, options);

        OpenAPI openAPI = parseResult.getOpenAPI();

        String string = io.swagger.v3.core.util.Yaml.mapper().writerWithDefaultPrettyPrinter()
        System.out.println(string);

Input Spec:
openapi: 3.0.0
info:
  version: 1.0.0
  title: Issue 1190
  license:
    name: Apache-2.0
    url: 'http://www.apache.org/licenses/LICENSE-2.0.html'
paths:
  /example:
    get:
      operationId: example
      responses:
        '200':
          description: successful operation
          content:
            'application/json':
               schema:
                 $ref: "#/components/schemas/SomeObj"
components:
  schemas:
    SomeObj:
      type: object
      properties:
        lorem:
          type: array
          minItems: 1
          additionalProperties: false
          items:
            type: object
            properties:
              firstName:
                type: string
              lastName:
                type: string

Result with Swagger-Parser 2.0.11:
openapi: 3.0.0
info:
  title: Issue 1190
  license:
    name: Apache-2.0
    url: http://www.apache.org/licenses/LICENSE-2.0.html
  version: 1.0.0
servers:
- url: /
paths:
  /example:
    get:
      operationId: example
      responses:
        200:
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SomeObj'
components:
  schemas:
    SomeObj:
      type: object
      properties:
        lorem:
          minItems: 1
          type: array
          additionalProperties: false
          items:
            $ref: '#/components/schemas/SomeObj_lorem'
    SomeObj_lorem:
      type: object
      properties:
        firstName:
          type: string
        lastName:
          type: string

=> this is correct.

Result with Swagger-Parser ``
openapi: 3.0.0
info:
  title: Issue 1190
  license:
    name: Apache-2.0
    url: http://www.apache.org/licenses/LICENSE-2.0.html
  version: 1.0.0
servers:
- url: /
paths:
  /example:
    get:
      operationId: example
      responses:
        200:
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SomeObj'
components:
  schemas:
    SomeObj:
      type: object
      properties:
        lorem:
          minItems: 1
          type: object
          additionalProperties: false

=> the array information in the lorem property schema is lost. Type should stay array and items must be set

@jmini  please review if this fixes your issue, thanks for reporting it. fixed by #1208


how to integrate entities from dialogflow into Botuim

Please give an example what you want to do.

I want to use entities also in my training phrases while creating test cases. Let say i have one Intent Deliver Pizza. I have user says like
I haven't received my pizza
My pizza order not deleiverd yet.
So here i have entities order_not_received in which values(synonyms) are haven't received,have not received,didn't get,not deleiverd yet.when i am importing test cases in that time only user says is coming. I want to get my entities synonims too in that case like
I haven't received my pizza
I didn't get my pizza
I have not received my pizz order
So how we can get the entities different values(synonyms)combiend with user says in convo files through Botium.
And for webhook response how botuim will identify the response from webhook and match with output file.Because in output file text are present which we have defined in default response not in webhook. It's call webhook when test cases are running.

I think what you need is to separate conversation structure from the utterances (synonyms). Did you have a look at the "Botium in a nutshell" blog, especially Part 2


How to pass more specific props through DataGrid

I know I've done it, I just have to recall how. Not a priority

Going to close this for now.  If there are specific properties that are needed to be passed down, lets make issues about those.  Overall, I'm currently passing some properties, so maybe have addressed some of what you had in mind here.  Please reopen if you had something different in mind, and provide more of a description.


[Feature Request]: Outputs for Kubernetes Terraform provider

Description
I would love to be able to use the kubernetes terraform provider using outputs from kube hetzner, something akin to the following for DO:
provider "kubernetes" {
  host                   = digitalocean_kubernetes_cluster.veloxide-k8s-cluster.endpoint
  token                  = digitalocean_kubernetes_cluster.veloxide-k8s-cluster.kube_config[0].token
  cluster_ca_certificate = base64decode(digitalocean_kubernetes_cluster.veloxide-k8s-cluster.kube_config[0].cluster_ca_certificate)
}

Which comes from:
resource "digitalocean_kubernetes_cluster" "veloxide-k8s-cluster" {
  name                             = "k8s-1-28-2-do-0-ams3-1703291481360"
  region                           = "ams3"
  auto_upgrade                     = true
  version                          = data.digitalocean_kubernetes_versions.k8s.latest_version

  node_pool {
    name       = "veloxidenodepool"
    size       = "s-2vcpu-4gb"
    auto_scale = true
    min_nodes  = 1
    max_nodes  = 5
  }
}

@liamwh That would be really nice indeed. @kube-hetzner/core FYI.

You can already do that:

provider "kubernetes" {
  host                   = module.kube_hetzner.kubeconfig_data.host
  client_certificate     = module.kube_hetzner.kubeconfig_data.client_certificate
  client_key             = module.kube_hetzner.kubeconfig_data.client_key
  cluster_ca_certificate = module.kube_hetzner.kubeconfig_data.cluster_ca_certificate
  ignore_annotations = [
    ".*cattle\\.io.*",
  ]
  ignore_labels = [
    ".*cattle\\.io.*",
  ]
}

And I did that for a while, before concluding that is was an unstable situation. Occasionally, the provider would want to initialize before the cluster was built, so I would be stuck with a terraform state that would refuse to build the cluster because not all providers were fully configured.
I ended up separating my cluster configuration in three "independent" terraform folders, with each their own state, and I run them in a sequence.

(cluster) kube.tf
(core infra on cluster) with the kubeconfig.yaml from 1., setup longhorn, hashicorp vault, service mesh, etc.
(applications) with the configured terraform vault provider (only possible after finalizing step 2), setup all applications with need for vault, etc.

So you can do it, and I concluded it was not the best solution. Your milage might vary...

I am getting this error often, any idea what I can do about it?
module.kube-hetzner.data.remote_file.kubeconfig: Refreshing...
module.kube-hetzner.null_resource.kustomization: Refreshing state... [id=1680158679973432701]
module.kube-hetzner.null_resource.configure_autoscaler[0]: Refreshing state... [id=4638238659851963355]
module.kube-hetzner.null_resource.configure_floating_ip["3-0-egress"]: Refreshing state... [id=4273720719089111240]
module.kube-hetzner.data.remote_file.kubeconfig: Refresh complete after 4s [id=<IP_ADDRESS>:22:/etc/rancher/k3s/k3s.yaml]
module.kube-hetzner.local_sensitive_file.kubeconfig[0]: Refreshing state... [id=b6cb6f78b4f1a23598db3e2f8de60b983224b5c3]
╷
│ Error: Kubernetes cluster unreachable: invalid configuration: no configuration has been provided, try setting KUBERNETES_MASTER environment variable
│
│
╵
Operation failed: failed running terraform plan (exit 1)

@liamwh Did you sort this out? Either way, could you share your the code you use to do that please (without sensitive values of course). It would be greatly appreciated.

It would be great to have access to many more things via outputs. Also the node pools. While playing around to optimize my longhorn volumes issue (#1195) I added this to the outputs for example. So I can add volumes to nodes in the custom way I would like to do it.
output "control_planes" {
  value = module.control_planes
  description = "All control plane items"
}

output "agents" {
  value = module.agents
  description = "All agent items"
}

And yes, I understand that I can break a lot of stuff with that freedom ;)

@andi0b Looking good, PR most welcome!

@andi0b Looking good, PR most welcome!

I have to look into it again, this only exposes the values from the host tf-submodule, I think it should also expose more information, also things from the main TF module, and maybe merged with the node pool input variables.
I've seen that there is a bigger re-factor planned for the next version (more submodules), it might be better to wait for this to be completed. To not implement something now that will soon lead to a breaking change. Do you have an estimation when this refactoring will be finished?

@andi0b You are absolutely right, best to wait for v3. @aleksasiriski is leading the push to v3, we do not have a time estimate yet, but it will come soon enough. We will keep this FR in mind and slip it in if we can.


Missing "tailcall" link

In https://github.com/alexcrichton/futures-rs/blob/master/TUTORIAL.md#user-content-send-and-static

As a bonus, these bounds allow for some [interesting optimizations][tailcall].

But there is no URL associated with tailcall.
(BTW, I know what a tail call optimization is but I don’t see how these bounds enable it. I hope the intended link explains the latter and not just the former :))

Oops! I intended to have a section on this and it ended up not coming to fruition, I'll link to the method for now.


added props.value to initialState of Picker component

This fixes a bug I had with the Picker on IOS.
When pressing OK without changing the selected value, pickerValue in the state remained null.
This was because the component didn't update when only pressing OK.
Now the given value in the properties of the component will be set in the state.

Hi,
Thanks for creating the pr. I'll check this on Monday.

Good stuff. Thank you TorstenRegemortel!


Add files via upload

Assembly review request

ToLID:
Species:
Project:
Affiliation:

no

no

no

no

yes yes!


This is detected by 40 AVs on VirusTotal

I take it that this is just a move from Microsoft to prevent people getting RDC on Win10 Home? Either that or the app makes use of memory hooking or something similar so is detected falsely by loads of AV's?
Please advise accordingly, thank you.

I think it is just blind heuristics - the trick that rdpwrapper plays, live
patching and wrapping a system .dll, is a common technique for making a
malware infection permanent.
This does it for a legitimate reason requested by the computer owner, so it
should be whitelisted by the antivirus vendors. But it hasn't been - so
maybe Microsoft is somehow putting pressure on them to stop them doing this.
On Sun, 6 Dec 2020 at 13:10, Max Playle<EMAIL_ADDRESS>wrote:

I take it that this is just a move from Microsoft to prevent people
getting RDC on Win10 Home?
Please advise. Thank you
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/stascorp/rdpwrap/issues/1227, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAMCGIRHGDVGIMZ6LDH72R3STLY3DANCNFSM4UPAAEAA
.


Share connection/transaction between two DbContext (question)

Hi there,
This is a question. How could I share my connection/transaction between two different DbContexts?
I haven't seen options for that.
Regards,

You can't share the same connection across two open DbContexts - each DbContext is tied to a specific connection, and you can't use the same connection concurrently. However, Npgsql (and other database providers) provide connection pooling, which means that if you use two DbContexts one after the other (not at the same time), the second will likely reuse the connection opened for the first, to avoid the overhead of opening a new physical connection.
By sharing a transaction I assume you're talking about distributed transactions - the same transaction used across multiple connections, even multiple databases. This feature relies on ambient transactions, which (if I understand things right) isn't currently supported by EF Core: https://github.com/aspnet/EntityFramework/issues/5595
Am closing the issue, but let me know if anything is still unclear.

Thanks for your clarification @roji
So, what I did was -
Create a connection
Create a DbContext1 with that connection
Open the transaction
Create a DbContext2 with the same connection
Attach the transaction for the dbContext2 (e.g. Db.Database.UseTransaction(transaction))
It seems it works.
Can you see any problem of doing that?

Well, I'm not knowledgeable enough about what kind of state DbContexts keep in order to know if this could cause an issue. At the very least you have to be very careful not to use the two contexts at the same time, which raises the question of what value this arrangement has - why not have one context and share that?


CV monikers not being compiled

e.g.

::: moniker range=">= tfs-2018"

This is also showing outside of corpnet.
Looks like it is due to this commit: 959e797ca6dc365db0b428ba991895ef3b98f3bf

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

ID: 63e81f8a-e33c-afb7-493b-f51f40fafd49
Version Independent ID: c9495a96-c3e8-00f1-1e53-da6ce584412b
Content: Syntax usage for Markdown files, widgets, wikis, and pull requests - VSTS & TFS
Content Source: docs/collaborate/markdown-guidance.md
Service: unspecified
GitHub Login: @douge
Microsoft Alias: kaelli

@gumgl Thanks for letting us know, we'll get these fixed up.

@gumgl - Yes, thanks for the alert. The topic has been updated and fixed.


free_trusted_setup should also free s

Is there a reason we are not also freeing the pointer s in free_trusted_setup() and the bindings need to do it themselves?

We don't allocate that pointer, so it would be "rude" to free it. It's just a convention where whoever allocates a pointer is responsible for freeing it.

I see. That's because load_trusted_setup() takes the pointer as input instead of producing it itself.
Makes sense. Let's close this for now. Thanks!

We should check that all bindings free the pointer correctly since it's a bit counter-intuitive.


Meetup Suggestion: Bitcoin Charlotte

Required:

Name of Meetup: Bitcoin Charlotte
Location Of Meetup: Charlotte, NC, USA
At least one of the following:

Meetup Page (or similar): http://www.meetup.com/BitcoinCharlotte
Telegram Group (or similar): https://t.me/joinchat/GRK-_ZZ8Qz7U34nB
Website: https://bitcoincharlotte.org

Optional

Name of Organiser(s) & Twitter Handle: @Bitcoin_CLT
Links showing public support: >>>  example
Tweet your commitment
Instagram: https://www.instagram.com/bitcoincharlotte/

As the organiser of Bitcoin Charlotte Meetup I can confirm that the meetup is bitcoin-only
-The meetup is bitcoin focused.
-'Altcoins' are scams and are not promoted in talks/presentations at our meetups.
#bitcoinonlymeetups @bitcoinonly_

Thank you!
Merged
We have not yet automated the build process, so it is not yet live on the site. We will build and update the site in the near future.

Thank you!
Merged
We have not yet automated the build process, so it is not yet live on the site. We will build and update the site in the near future.


[question] geolocation in bg mode

Hello,
I´m using Meteor with this plugin and is not sending any data do server when in bg mode, but send all after back in fg. But the geolocation info is not updated, since my app send a new location on 15s it's sends the same location while in bg mode.

Maybe https://github.com/hgenru/cordova-plugin-bgs helped you

iOS or Android?

iOS or Android?

See #186, sounds like as it is the same topic.

See #186, sounds like as it is the same topic.

Please re-open if still present with latest master branch (0.6.6)


chore: update repo-metadata.json

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

[ ] Make sure to open an issue as a bug/issue before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
[ ] Ensure the tests and linter pass
[ ] Code coverage does not decrease (if any source code was changed)
[ ] Appropriate docs were updated (if necessary)

Fixes #<issue_number_goes_here> 🦕

I double checked, and this agrees with what .NET did:
https://github.com/googleapis/google-cloud-dotnet/blob/main/apis/Grafeas.V1/.repo-metadata.json#L6

ping @bcoe


Created unit test for dicts

Hi Claudio,
I added a unit test for dicts. I wanted to help out and look to do more when I've gotten more familiar with the code base.
I noticed there is a test_collections.py for the sets. I wasn't sure if we wanted to put all collection type tests there including dicts.
Let me know if you want changes.

@deanagan super! Thanks a lot for your help! :)


[WIP][DO NOT MERGE] Add documents list section

Closing because of messy rebase. New branch/PR here: https://github.com/alphagov/collections/pull/711


Use VPS/Seedbox (remote server)

Hello, can I host it on my VPS and webtorrent-mpv-hook client will use my server api to play torrent. basically server-client model

can we use https://github.com/asapach/peerflix-server api?

I want to keep this hook single-purpose and as simple as possible. I do not want to add any additional features.
What you are suggesting would fit better as a separate project.


Making sure GO protein binding interactions are presented in both directions on gene pages and in GAF

Summary:
Although it isn't ideal, we will probably go ahead and store GO protein binding annotations in reciprocal in Canto. Even though this annotation only represents a single interaction/experiment the annotation itself is equally valid for both gene products. Its a little hacky  from a storing in a database perspective, but as a biological representation it is probably OK.
-Kim was worried that the annotation numbers would be overinflated, but as these are included as 2 annotation in GO annotation counts, this is probably OK.
What needs to happen:

Logs need to report any GO protein binding annotation which are not curated in reciprocal from the artemis files (manual or automated, fix depending on scale)
Canto  needs to automatically generate a reciprocal annotation when a GO protein binding annotation is made, AND to delete this reciprocal annotation when a GO protein binding annotation is deleted (I will open a Canto ticket for this). This will make annotation consistent, and clear for users, if the annotation is automatically created we won't get a mixed bag of curating in both directions or not.

1 & 2 above should ensure  that:

GO GAF should automatically contain reciprocal protein binding annotation (required)
GO protein annotation will automatically display on gene pages (required), Mark does not need to do anything.
Mechanisms are in place to ensure that protein binding annotation is synchronized so that everything is consistent.
Querying should work OK against Chado with a single query, as if you specify all of the interactions for gene a, you do not also need to query for all genes  x,y,z which interact with gene a, but where "a" is not the subject of the annotation.

Did I miss anything:

Anything else which needs to happen here?
Any unforeseen consequences ?

Original comment by: ValWood

Only 2 pipe separated protein exist
SPAC17H9.19c IPI	PomBase:SPAC29B12.03|PomBase:SPAC17H9.10c
SPAC17H9.19c IPI	PomBase:SPCC1223.06|PomBase:SPCC895.05
(note that this may change to a comma)
the reciprocal of these is
SPAC29B12.03 -> SPAC17H9.19c
SPAC17H9.10c -> SPAC17H9.19c

PomBase	SPAC6G9.13c	bqt1		GO:0030674	PMID:16615890	IPI	PomBase:SPAC1002.06c	F	bouquet formation protein Bqt1	rec26|mug23	protein	taxon:4896	20140714	PomBase	has_direct_input(PomBase:SPBC12D12.01),has_direct_input(PomBase:SPBC1778.02)
some are
PomBase	SPAC1002.06c	bqt2		GO:0030674	PMID:16615890	IPI	PomBase:SPAC6G9.13c	F	bouquet formation protein Bqt2	rec23|mug18	protein	taxon:4896	20140714	PomBase	has_direct_input(PomBase:SPBC12D12.01),has_direct_input(PomBase:SPBC1778.02)
before you proceed I will check with GO what we should be using and then we can standardize.

Note that also, to complicate this, sometimes we might have curated the reciprocal  "protein binding" GO annotation and sometimes we will not have. At least I used to, all the time, and Antonia has....
So, some will exist already.

e.g. for discuss  plo1 cut23

Here we have an example
drc1 has
binds rad4, active form PR:000027529
but rad4 does not have drc1 binding
But this raises another issue.
The active form here refers to drc1...at first glance at the annotation, I thought this was more specificity about the bound protein rad4
Do we need to make this clearer .....(maybe the mouseover will make this OK)
BUT, do we want to know when we are on the  rad4 page that rad4 only binds to the phosphorylated form of drc1???

This is the canto ticket for displaying interactions in both directions
You might want to treat this as only a "display" issue?
This is the website ticket:
https://github.com/pombase/website/issues/376

Only consider "protein binding" not it's children.
Evidence always IPI, will always have pombe ID in with field (we display this as a binds extension)

Always make sure reciprocal annotations exists
Duplicates from different PMID  are OK

I think I've implemented this.  There are 394 missing protein binding IPI annotations.  Does that sound right?
I'm going to run a local Chado load test to double check.  If that works it should be in tomorrow's nightly load.

Good question, I don't even have a feel for this, but it is probably ball park correct.
we have 948 genes with protein binding annotations. According to amigo 1980 annotations.
I thought it would be more than 394 that were not reciprocated...
But it could be correct.....

I'm going to run a local Chado load test to double check. If that works it should be in tomorrow's nightly load.

I found a bug in more thorough testing.  I got the fix in before the nightly load got to that point so it should be OK.

I've made a thorough check of last night's load.  The reciprocal IPI annotations are mostly being created successfully.
I noticed an oddity though.  I counted the IPI protein binding annotations per publication and noticed that some publications had an odd number of matching annotations.  I thought that since every annotation should have a reciprocal, something had gone wrong.  I hadn't considered the situation where a gene has an IPI with itself.  I checked and that seemed explain things.
But then I noticed anything things I hadn't considered: the dreaded column 17
For example for cdc2:
binds cdc13 active form PR:000045540  IPI Caspari T et al. (2015)
binds cdc13 active form PR:000045541  IPI  Caspari T et al. (2015)
binds cdc13 active form PR:000045542  IPI  Caspari T et al. (2015)
The code I wrote to add the reciprocals is ignoring the column 17 / "active form" part of the annotation and is making three new identical reciprocal annotations like:
cdc13 protein binding with cdc2 - IPI Caspari T et al. (2015)
Whoops.
How should the column 17 part be handled in these cases?

we don't need to worry about this much. there are not many.
The reciprocal could just show the gene name for the modified form, so in this case just store 1 annotation maybe?

Looks good in that the ones I checked are there, the number of individual gene products with protein binding annotation jumps from 948 -> 1006

The reciprocal could just show the gene name for the modified form, so in this case just store 1 annotation maybe?

Great.  That's what it does now.
I'll close this now, but let me know if you spot any oddities.


request: add recommendation for an issue reproduction template

In my project (https://github.com/mikavilpas/yazi.nvim), I have a lazy.nvim lua script that I have been handing out to some people who have had issues. We have had good success with it, the issues being (mostly) easily reproducible.
Here's what I have used as a reference:
Details

-- DO NOT change the paths and don't remove the colorscheme
local root = vim.fn.fnamemodify('./.repro', ':p')

-- set stdpaths to use .repro
for _, name in ipairs({ 'config', 'data', 'state', 'cache' }) do
  vim.env[('XDG_%s_HOME'):format(name:upper())] = root .. '/' .. name
end

-- bootstrap lazy
local lazypath = root .. '/plugins/lazy.nvim'
if not vim.loop.fs_stat(lazypath) then
  vim.fn.system({
    'git',
    'clone',
    '--filter=blob:none',
    'https://github.com/folke/lazy.nvim.git',
    lazypath,
  })
end
vim.opt.runtimepath:prepend(lazypath)
vim.g.mapleader = ' '

-- install plugins
local plugins = {
  'folke/tokyonight.nvim',
  {
    'mikavilpas/yazi.nvim',
    dependencies = {
      'nvim-lua/plenary.nvim',
    },
    event = 'VeryLazy',
    keys = {
      {
        -- 👇 choose your own keymapping
        '<leader>fy',
        function()
          require('yazi').yazi()
        end,

        { desc = 'Open the file manager' },
      },
    },
    opts = {
      open_for_directories = false,
    },
  },
}
require('lazy').setup(plugins, {
  root = root .. '/plugins',
})

vim.cmd.colorscheme('tokyonight')
-- add anything else here

I copied it from the lazy.nvim project and slightly adapted it.
Disregarding the lazy.nvim specific parts, in principle I think this could be a good addition to the guide.
What do you think? How do you reproduce issues in your projects?

Hey :wave:
thanks for the suggestion. That's actually something I forgot to add :sweat_smile:


Webhook should be able to be used multiple times

The problem

If the same webhook_id is specified multiple times within different automations an error is thrown at startup.
You should be able to have multiple automations on the one ID and filter them based on the received json in the template condition.
Environment

Home Assistant release with the issue: 0.104.3
Last working Home Assistant release (if known):
Operating environment (Hass.io/Docker/Windows/etc.): Docker
Integration causing this issue: Automation
Link to integration documentation on our website: https://www.home-assistant.io/integrations/automation/

Problem-relevant configuration.yaml

- id: '1'
  alias: Test1
  trigger:
  - platform: webhook
    webhook_id: WebhookTestName
  condition:
  - condition: template
    value_template: '{{ trigger.json.action == "Test1" }}'
  action:
  - data_template:
      message: Test1
      notification_id: 1234
    service: persistent_notification.create

- id: '2'
  alias: Test2
  trigger:
  - platform: webhook
    webhook_id: WebhookTestName
  condition:
  - condition: template
    value_template: '{{ trigger.json.action == "Test2" }}'
  action:
  - data_template:
      message: Test2
      notification_id: 1234
    service: persistent_notification.create

Traceback/Error logs

2020-02-04 19:17:47 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/automation/__init__.py", line 357, in async_enable_automation
    self.async_trigger
  File "/usr/src/homeassistant/homeassistant/components/automation/__init__.py", line 488, in _async_process_trigger
    remove = await platform.async_attach_trigger(hass, conf, action, info)
  File "/usr/src/homeassistant/homeassistant/components/automation/webhook.py", line 45, in async_attach_trigger
    partial(_handle_webhook, action),
  File "/usr/src/homeassistant/homeassistant/components/webhook/__init__.py", line 33, in async_register
    raise ValueError("Handler is already defined!")
ValueError: Handler is already defined!

It creates those webhooks, so that becomes a problem.
The proper way around this, is creating automation that receives a webhook and fires an event for other automations to listen on.
This way, you can hook up as many as you like.
https://www.home-assistant.io/docs/scripts/#fire-an-event

Closing this issue as the solution is mentioned above.

@springstan  ... I know about events ... but this is

Not a good solution
If this will not be changed ... it should be mentioned here that it has to be unique

@i00 Please feel free to open a documentation PR to make this clearer in the documentation :)


Loop set to false, but both arrows visible at start and end of slideshow when using gotoSlide

I have a slider with loop set to false. When I reach either end of the slideshow by using the arrows, the arrow which would loop is removed as you'd expect. However, I have optional text links which use the gotoSlide method, and if I reach the beginning or end of the slideshow using those, both arrows remain visible behave as if loop is set to true. Also, if I use gotoSlide to navigate to a slide in the middle of the slideshow, both arrows appear but the right arrow is disabled.

Hi. I can't replicate the problem. Can you post a link to the page?


PNG Conversion issue - complex images not rendered correctly

Description
MAUI Resizetizer uses svg-net for image conversion and resizing and for some [complex] SVG images conversion is not correct.
Example data
Given 2 SVGs:

PNGs converted are not rendered correctly:

Used Versions
.NET MAUI Resizetizer
Context:
https://github.com/dotnet/maui/issues/12658

This is fixed in Svg.Skia <IP_ADDRESS>


Wiki information about Azure Data Studio extensions is outdated

Is your feature request related to a problem? Please describe.
The links to the .vsix files are outdated. (https://github.com/microsoft/azuredatastudio/wiki/List-of-Extensions) Looking at the versions that these links download and what is available in the ADS extension manager(often they are newer) doesn't match. At the same time it is currently not possibe to use tools like ProGet (Indeo) to have access to these extensions from clients that are not able to directly access the internet (not uncommon in high security environments). Why are these extensions not hosted on the MSFT marketplace like other extensions ? From what I understand is that ADS is based on Visual Studio Code, then why again a different approach to dealing with extensions ?
Describe the solution or feature you'd like
Either keep these links current or why not integrate the extensions in the https://code.visualstudio.com/docs/editor/extension-marketplace. ?
Describe alternatives you've considered
none, current situation is a bit frustrating for users that can't directly access the internet with ADS
Additional context
Add any other context or screenshots about the feature request here.

Thanks for catching that @nojetlag, the list should be updated now!
As for your question about the marketplace - unfortunately currently we are unable to onboard onto the VS/VS Code marketplace in its current state. We have plans to move over there eventually but there's no ETA at the moment.

Hi @Charles-Gagnon thanks very much for updating. However I think the link to the .vsix for SQL Server Agent is now broken. Rest looks good! Also thanks for the update about the marketplace situation. Hope this will come 2022 :)

Ah, apologies for that! The links should be correct now (also fixed up some others that weren't accurate)


[BUG]#1807 fix array index out of range.

[BUG]#1807 fix array index out of range.
修复数组越界异常

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


User tried to access first time deployment page while not valid.

Getting this error while trying to deploy on IIS8, MongoDB is working, localhost:5000 gives me login screen but /Deployment gives me this error and Shuts down Application.

Didn't set the deployment password... My bad.


[gatsby-theme-cara]: Responsive not working with long content

Description
Hi!
First of all thank you very much for your work and awesome themes. I am very new to gatsby and its ecosystem and I am not sure if this is an actual bug or if it is my fault.
When the content of the sections (e.g.: sections/projects.mdx) is long, the "inner" content height may exceed the "content" parent container. See pictures below.

Inner container

Content container

Steps to reproduce
I forked your codesandbox, shadowed projects.mdx and added more projects.
The issue can be reproduced openning the following codesandbox in a phone or resizing the browser: https://codesandbox.io/s/cara-multiple-pages-lbr2e?file=/src/%40lekoarts/gatsby-theme-cara/sections/projects.mdx
Expected result
Content should not overlap with adjacent sections
Actual result
The different sections overlap (see image)

Environment
Environment in codesandbox: https://codesandbox.io/s/cara-multiple-pages-lbr2e?file=/src/%40lekoarts/gatsby-theme-cara/sections/projects.mdx

Yes I'd like to know if there is a way to add more cards without the layout breaking on mobile. I was able to make it a little better by adding a 300px breakpoint but it still overflows.

Hi, thanks for the issue!
I touched on that same topic in this issue: https://github.com/LekoArts/gatsby-themes/issues/405
You can change the factor of each section to e.g. enlarge it so that it can hold more information. It's a limitation of the underlying parallax library that it can't auto-adjust to the content itself.
Will close this as answered, thanks for using my theme!

Thanks for the feedback and for the theme, @LekoArts.
I had partially fixed the problem by shadowing cara.tsx template to adjust the different values for pages, offset and factor according to the size of my new content and the size of the different devices I wanted to render the page. This is only an "ad hoc" solution that only works for the size of my content.
Here is the code (notice I am using a react hook to change the parameters based on windows size):
import React, { useState, useEffect } from "react"
import { Parallax } from "react-spring/renderprops-addons.cjs"
import { window, exists } from "browser-monads"

import Layout from "@lekoarts/gatsby-theme-cara/src/components/layout"
import Hero from "@lekoarts/gatsby-theme-cara/src/components/hero"
import Projects from "@lekoarts/gatsby-theme-cara/src/components/projects"
import About from "@lekoarts/gatsby-theme-cara/src/components/about"
import Contact from "@lekoarts/gatsby-theme-cara/src/components/contact"
import Footer from "../components/footer"

// breakpoints: [`400px`, `600px`, `900px`, `1200px`, `1600px`],
// The template is not responsive and the parallax effect brokens the containers.
// As a work around, use react hooks (useEffect) to calculate the size of the window
// and change number of pages and offset. This should be done calculating the size of each section first
// but in this version is hardcoded based on different tests

const Cara = () => {
  // Client-side Runtime fetch browser width
  const { pages, projectsOffset, projectsFactor, aboutOffset, aboutFactor, contactOffset, contactFactor } = useWindowWidth(); // Our custom Hook

  return (
    <Layout>
      <Parallax pages={pages}>
        <Hero offset={0} factor={1} />
        <Projects offset={projectsOffset} factor={projectsFactor} />
        <About offset={aboutOffset} factor={aboutFactor} />
        <Contact offset={contactOffset} factor={contactFactor} />
        <Footer/>
      </Parallax>
    </Layout>
  )
}

function useWindowWidth() {
  const [width, setWidth] = useState(window.innerWidth);

  let breakpoints = {
    pages: 7,
    projectsOffset: 1,
    projectsFactor: 3,
    aboutOffset:4,
    aboutFactor: 1,
    contactOffset:5,
    contactFactor: 2,
    width: width
  };

  if(exists(window)){
    useEffect(() => {

      const handleResize = () => setWidth(window.innerWidth);
      window.addEventListener('resize', handleResize);

      return () => {
        window.removeEventListener('resize', handleResize);
      };
    });

    switch (true) {
      case (width <= 400):
        breakpoints.pages = 11;

        breakpoints.projectsOffset = 2;
        breakpoints.projectsFactor = 6;

        breakpoints.aboutOffset = 8;
        breakpoints.aboutFactor = 1;

        breakpoints.contactOffset = 9.5;
        breakpoints.contactFactor = 1;
        break;
      case (width <= 600):
        breakpoints.pages = 10;

        breakpoints.projectsOffset = 2.5;
        breakpoints.projectsFactor = 4;

        breakpoints.aboutOffset = 7;
        breakpoints.aboutFactor = 1;

        breakpoints.contactOffset = 8;
        breakpoints.contactFactor = 1;
        break;
      case (width <= 900):
        //using the default
        break;
      case (width <= 1200):
        //using the default
        break;
      case (width > 1600):
        //using the default
        break;
    }
  }

  // console.log("breakpoints", breakpoints.pages, breakpoints.projectsOffset, breakpoints.projectsFactor, breakpoints.aboutOffset, breakpoints.aboutFactor)

  return breakpoints;
}

/*Original theme.
const Cara = () => (
  <Layout>
    <Parallax pages={10}>
      <Hero offset={0} factor={1} />
      <Projects offset={2.5} factor={4} />
      <About offset={7} factor={1} />
      <Contact offset={8} factor={1} />
    </Parallax>
  </Layout>
)
*/

export default Cara

Hope it might help someone. Thanks for the theme again!


vai_q_pytorch: RuntimeError: Caught an unknown exception! - mixing torch.jit.trace and torch.jit.script

I tried quantizing the following EfficientDet model by running the following code:
from pytorch_nndct.apis import torch_quantizer
import torch

## Import model
PATH_NO_NUMPY_CPU = "/home/ljosefs/Desktop/EffDet/efficientdet/trained_models/no_numpy_cpu_effdet.pth"
model = torch.load(PATH_NO_NUMPY_CPU)
# put model in evaluation mode
model.eval()

# Change from memoryefficient swish to ordinary swish
model.backbone_net.model.set_swish(memory_efficient=False)

device = torch.device("cpu")
quant_mode = 'calib'

## random input tensor
input = torch.randn([1, 3, 512, 512])

quantizer = torch_quantizer(
    quant_mode, model, (input.to(('cpu'))), device=torch.device('cpu'))

It resulted in the following error:
[VAIQ_NOTE]: Loading NNDCT kernels...

[VAIQ_NOTE]: Quantization calibration process start up...

[VAIQ_NOTE]: =>Quant Module is in 'cpu'.

[VAIQ_NOTE]: =>Parsing EfficientDet...
Traceback (most recent call last):
  File "/home/ljosefs/miniconda3/envs/vai-q-pytorch/lib/python3.6/pdb.py", line 1667, in main
    pdb._runscript(mainpyfile)
  File "/home/ljosefs/miniconda3/envs/vai-q-pytorch/lib/python3.6/pdb.py", line 1548, in _runscript
    self.run(statement)
  File "/home/ljosefs/miniconda3/envs/vai-q-pytorch/lib/python3.6/bdb.py", line 434, in run
    exec(cmd, globals, locals)
  File "<string>", line 1, in <module>
  File "/home/ljosefs/Desktop/EffDet/efficientdet/vai-quant.py", line 7, in <module>
    import random """
  File "/home/ljosefs/miniconda3/envs/vai-q-pytorch/lib/python3.6/site-packages/pytorch_nndct/apis.py", line 77, in __init__
    custom_quant_ops = custom_quant_ops)
  File "/home/ljosefs/miniconda3/envs/vai-q-pytorch/lib/python3.6/site-packages/pytorch_nndct/qproc/base.py", line 122, in __init__
    device=device)
  File "/home/ljosefs/miniconda3/envs/vai-q-pytorch/lib/python3.6/site-packages/pytorch_nndct/qproc/utils.py", line 175, in prepare_quantizable_module
    graph = parse_module(module, input_args)
  File "/home/ljosefs/miniconda3/envs/vai-q-pytorch/lib/python3.6/site-packages/pytorch_nndct/qproc/utils.py", line 78, in parse_module
    module, input_args)
  File "/home/ljosefs/miniconda3/envs/vai-q-pytorch/lib/python3.6/site-packages/pytorch_nndct/parse/parser.py", line 68, in __call__
    raw_graph, raw_params = graph_handler.build_torch_graph(graph_name, module, input_args)
  File "/home/ljosefs/miniconda3/envs/vai-q-pytorch/lib/python3.6/site-packages/pytorch_nndct/parse/trace_helper.py", line 44, in build_torch_graph
    raw_graph, raw_params = self._build_raw_graph(graph_name, fw_graph, params)
  File "/home/ljosefs/miniconda3/envs/vai-q-pytorch/lib/python3.6/site-packages/pytorch_nndct/parse/trace_helper.py", line 159, in _build_raw_graph
    const_value = TorchValue(list(fw_node.outputs())[0])
  File "/home/ljosefs/miniconda3/envs/vai-q-pytorch/lib/python3.6/site-packages/pytorch_nndct/parse/torch_graph.py", line 184, in __init__
    self._type = str(value.type())
RuntimeError: Caught an unknown exception!

I performed some pdb debugging and found out that the vai_q graph parser stopped at this TorchScript node:
%3271 : Function = prim::Constant[name="_get_image_shape"](), scope: EfficientDet/Anchors[anchors]
I have successfully performed the torch.jit.trace- test on my model without any trace warnings or other issues. I did however use @torch.jit.script on some functions containing conditional statements and or loops that the torch.jit.trace, according to documentation, was unable to parse. The first in order of these scripted functions is the "_get_image_shape" (here) that may seem to be causing the issue here.
I'm wondering if vai_q_pytorch supports mixing torch.jit tracing and scripting? Or is it something else that causes this problem?

I faced a similar issue. I don't think Vitis AI supports TorchScript in general. Last time I used a traced model and Vitis Ai would throw errors. Using normal PyTorch was fine though. This is quite troublesome as model definitions must be present inside Vitis AI environment, which forces me to re-implement the model in torch 1.7 and torchvision 0.8.
Commenting here so that I will get updates from this thread. Let me know if you can get Vitis AI working with TorchScript!

So far, the vai_q_pytorch does not support torch script.


Server Error on SideBar

Issue Summary
This issue is concerning wagtail's sidebar, when a user has been created within the CMS, the Root Page/Pages on the sidebar don't load and the following error appears: status_code : 403
Endpoint : ...cms/api/v2beta/pages/?child_of=1&for_explorer=1

Response :

Although it works perfectly when the user has been created from the terminal as superuser which makes me think it might be related to permissions. So I tried with many different users and permissions and allowing access to the Root page too and making him an Admin, but the issue remains. The permission side of thingns still works perfectly and can be accessed by the dashboard :

Steps to Reproduce
After setting up a wagtail project with some lists and detail pages with "HomePage" as Root Parent.
Structure :
(Root)HomePage > (List Page) News > (Detail Page) Articles

Create a new Permissions Group.
Give Group Page Permission to the Root Page & News (Tried all kind of combinations).
Create a new user under Settings > Users > Add a User.
When creating the user, adding it to the correspondent group.
Login as the newly created user.
Open sidebar and the error should appear.

Technical details

Python version: Run 2.7.10
Django version: 1.11.13
Wagtail version: 2.1.11
Browser version: Tried with Firefox 61 & Chrome 67.

Thank You in Advance !!

Hi @LuisJLopez - thanks for the report.
The Python / Wagtail versions you've given don't look correct - there is no Wagtail 2.1.11, and Python 2.7 isn't compatible with Wagtail 2.x. What are the correct versions, please?

Thanks for the quick response @gasman
The correct wagtail version is 2.1.1
and the Python version is 3.6.3
:)

Thanks! Just to confirm, have you been able to replicate this on a fresh installation of Wagtail, or only on your existing project?

Currently only on mi existing project, I will try and reproduce it with a fresh/clean installation !

@gasman from a fresh install there is no issue, so it must be related to the way we have setup the structure within the project, thank you for your help :)

I had the same issue adding wagtail to an existing project. In my case this issue was related to my rest-framework project configuration.
If you overrode some of the following settings (children of REST_FRAMEWORK dictionary):

DEFAULT_AUTHENTICATION_CLASSES
DEFAULT_PERMISSION_CLASSES

be sure that wagtail can use the rest_framework.authentication.SessionAuthentication


Create interface to upload file

Instead of use a cURL post to upload new datasets, it would be nice to have and interface where this could be done by the user.

This issue is resolved here:
https://github.com/paulozip/arauto/pull/16

Hi, any idea on when the upload feature will be included? By the way, having problems uploading a csv using curl. Would you be able to help?

Hi, any idea on when the upload feature will be included? By the way, having problems uploading a csv using curl. Would you be able to help?

Yes also having issues uploading using curl. I am getting an Error 405: Method Not Allowed.

This should be easy in streamlit. There is a file uploader widget.


Unable to Cargo Workspace

Describe the bug
So I've been using LSP-Installer for awhile now, and what is really weird is that my config was working a few days ago!
I'm trying to make this work with the rust-tools extension, but this bug shows up whether I configure it with the rust-tools plugin, or simply using the basic rust-analyzer setup laid out in the README. I have a pretty minimal configuration, and besides a basic configuration for sumneko lua, rust is the only language I am trying to get working at the moment (so no complex LSP switching logic).
The reason I think this is an lis-installer issue is because I can get the configuration working fine if I create the LSP server using only the rust-tools plugin.

i'm also able to get it working with normal lspconfig.

So this is why I think it is an lsp-install issue that may have arisen from a recent change in the rust analyzer code.
Expected behavior
When I open a rust file, I expect to simply begin editing, and see diagnostics as I begin typing.

specifically, I seem to lose diagnostics while I type, and while some LSP completions still work, It doesn't seem to have access to variables within the workspace.

Screenshots
If applicable, add screenshots to help explain your problem.

workpace error on new cargo project

minimal LSP config

clear case of a broken code segment without any LSP diagnostics

LSP info

LspInstallInfo for Rust Analyzer (seems fine?)
I've installed, updated, and re-install rust analyzer multiple times now. It seems to install fine each time, I just can't access the workspace from it.

System info (please complete the following information):
Windows 10

WSL 2
Debian for the OS
Neovim .6 AppImage
Checkhealth output (:checkhealth nvim-lsp-installer):

  1 nvim-lsp-installer: require("nvim-lsp-installer.health").check()
  2 ========================================================================
  3 ## nvim-lsp-installer report
  4 │ - WARNING: **Go**: not available
  5 │ - WARNING: **Ruby**: not available
  6 │ - WARNING: **RubyGem**: not available
  7 │ - WARNING: **Composer**: not available
  8 │ - WARNING: **PHP**: not available
  9 │ - WARNING: **javac**: not available
 10 │ - WARNING: **java**: not available
 11 │ - OK: **sh**: `Ok`
 12 │ - OK: **bash**: `GNU bash, version 5.1.4(1)-release (x86_64-pc-linux-gnu)`
 13 │ - OK: **tar**: `tar (GNU tar) 1.34`
 14 │ - OK: **gzip**: `gzip 1.10`
 15 │ - OK: **wget**: `GNU Wget 1.21 built on linux-gnu.`
 16 │ - OK: **python3**: `Python 3.9.2`
 17 │ - OK: **curl**: `curl 7.74.0 (x86_64-pc-linux-gnu) libcurl/7.74.0 OpenSSL/1.1.1k zlib/1.2.11 brotli/1.0.9 libidn2/2.3.0 libpsl/0.21.0 (+libidn2/2.3.0) libssh2/1.9.0 nghttp2/1.43.0         librtmp/2.3`
 18 │ - WARNING: **pip3**: not available
 19 │ - WARNING: **node**: unsupported version `v12.22.5`. Node version must be >= 14
 20 │ - OK: **npm**: `7.5.2`

Please also include any other system information you think is relevant!
Install log
Not applicable, rust analyzer seems to be installed fine, but the plugin is having trouble seeing the actual workspace
Thank you for taking the time to read my Issue, happy to answer any questions. Appreciate the work, love using your plugin!

Hello! When you're able to set it up via both rust-tools and lspconfig, are all other things equal (i.e., exact same project, same system, same version of rust-analyzer)? After some quick research, os error 5 seems to be some WSL-related file permission error.
What does the LSP log say? :exe 'tabnew ' .. luaeval("vim.lsp.get_log_path()")

Hey @williamboman,
TY for your time! I will answer in order.

Yes, in order to minimize variable I reduced both functions down to their base state. Specifically, I just ran an empty setup for the rust tools, and as close to an empty setup for LspConfig as well. Both are using an instance of rust-analyzer that I installed by building from source with the --server flag.
Here is the output I receive: [ERROR][2022-01-02 17:18:35] .../vim/lsp/rpc.lua:417    "rpc"   "rust-analyzer" "stderr"        '[ERROR rust_analyzer::reload] failed to switch workspaces: rust-analyzer failed to load     workspace: "cargo" "--version" failed: Input/output error (os error 5)\n\n'

Posting a follow-up.
So today I updated to 0.6.1 AppImage.
I now get the error that runs when you try to open a rust file while rust-tools is installed, but didn't actually run the setup function
Error Code: Error detected while processing VimEnter Autocommands for "*.rs":
E5108: Error executing lua ...ite/pack/packer/start/rust-tools.nvim/lua/rust-tools.lua:176: attempt to index local 'lsp_opts' (a nil value)
stack traceback:
        ...ite/pack/packer/start/rust-tools.nvim/lua/rust-tools.lua:176: in function 'start_standalone_if_required'
        [string ":lua"]:1: in main chunk

This implies that the new startup changes that recently came to rust-tools as part of the standalone support might break how we actually do this.

I now get the error that runs when you try to open a rust file while rust-tools is installed, but didn't actually run the setup function

Ah so you can now reproduce the issue without using nvim-lsp-installer? I'm at a loss as to what might be happening - if I had to guess this is a WSL-specific file permissions issue. If there was a reproducible minimal config or environment, this would be easier to debug from my end.

I now get the error that runs when you try to open a rust file while rust-tools is installed, but didn't actually run the setup function

Ah so you can now reproduce the issue without using nvim-lsp-installer? I'm at a loss as to what might be happening - if I had to guess this is a WSL-specific file permissions issue. If there was a reproducible minimal config or environment, this would be easier to debug from my end.

Ill rework my config in a new branch to get a minimal config. Thank you for your patience and help!

Hey so I've created a new issue template for these kinds of issues, it contains a minimal_debug_init.lua which should be used when describing how to reproduce the issue. I'll close this issue as I'm unable to reproduce it, but please file a new one using the issue template if you think it's still relevant!

Just a final comment before I leave this. I should note that this workspace error went away with one of the recent updates to rust-tools, I think there was just a temporary workspace bug that should be fixed now with the newest version of rust tools. Thanks as always for your triage and patience!


Decide and document release maintenance lifecycle

See also this comment: https://github.com/falconry/falcon/pull/2409#issuecomment-2477553091.
We ought to have a clear maintenance policy on what is considered maintained, and for how long.
Do we want to maintain anything from the "old stable", i.e., SemVer major version -1?
Some examples from other projects:

MariaDB: MariaDB general release maintenance periods.
SQLAlchemy: Release status.

I would also have a time bound since we usually don't release majors so often.
Say a couple of years

I would also have a time bound since we usually don't release majors so often.
Say a couple of years

:+1: Makes sense to highlight this trend.


Improve api

Description of changes

Improves the API by moving mutations into their own type
Generally improves the codebase of the service
Also changes the database structure. A migration will have to be performed
Includes more thorough automated tests

How has this been tested?
Please describe the test strategy you followed. If not tested, please explain why.

[x] automated unit test
[ ] automated integration test
[ ] manual, exploratory test

Checklist before requesting a review

[x] My code is easy to understand
[x] My code follows the coding guidelines of this project
[x] My code fulfills all acceptance criteria
[x] The test coverage (line and branch) is reasonably high, especially on Service classes and other classes with complex logic
[ ] I have made corresponding changes to the documentation or
the wiki/adr
[ ] I made no breaking changes in the database schema or if so, I will perform a database migration

Checklist for reviewer

The code is easy to understand
The code follows
the coding guidelines of
this project
The code is tested or if not, the reason is documented or discussed
The added and existing tests reasonably cover the code change
The code has no breaking changes in the database schema or if so, the assignee is aware of it and
will perform a database migration

DB migration might be a bit more complicated on this one, depending on how exactly hibernate constructs its relationships depending on how you declare your Entities.
Is deleting the whole flashcard DB a valid migration strategy? 😓

DB migration might be a bit more complicated on this one, depending on how exactly hibernate constructs relationships between Entities depending on how you declare your Entity classes in Java.
Is deleting the whole flashcard DB a valid migration strategy? 😅

In this case I would say yes


Optionally evaluate Groovy script if exists

In addition to the custom user data added via Java code in
CustomUserData, the extension now checks for a Groovy script in
.mvn/gradle-enterprise-custom-user-data.groovy and evaluates it if it
exists.

👍 just requested documentation updates to happen

@facewindu You mean what I wrote here?


Performance degradation because of logging

I'm the maintainer of Serverless Adapter which was based on this library.
I found an issue on my library in the logging, which I describe in more detail here: https://github.com/H4ad/serverless-adapter/pull/77.
But to resume, this is the CPU Profiling of my library:

And because it was based on this library, those lines below are the problem:
https://github.com/vendia/serverless-express/blob/75cfbffeb3fd030695b9587a75300c7b8012ac6a/src/configure.js#L46-L53
Calling util.inspect and logging event and context is very expensive, from my tests, took 3ms.
By just removing, or deferring (which I choose for my library), I improve the performance by 100% and it became very close to the performance of serverless-http.

Thanks @H4ad! I didn't realize util.inspect was so expensive. I might opt for just removing it entirely since we know the shape of context and event and can simply log the important parts. For logBodythe user can log the full response on their end if needed.

@brettstack We don't necessarily need to remove the entire call, at #614 I just defer the execution of the log.
But if you think that worth it, I could run another benchmark removing the entire util.inspect call and leaving just the plain object.


Added a fix for Windows users.

I fixed a glitch with calling wget when running on a windows platform, and added the option to remove version info from asset file names since it was causing firefox and chrome to not load ".css" and ".js" files.

This issue still has not resolved..


Chinese Translation for docs/tutorial/dependencies/index.md

I created the index.md for dependencies in Chinese Language. Looking forward to get accepted

You commited wrong file, new chinese docs should created in  /docs/zh.
And this chapter already has a reviewing pr. Please read contribute guide carefully.

thanks for the reply, I'll fix that soon
------------------ 原始邮件 ------------------
发件人: "Xie @.>;
发送时间: 2021年7月21日(星期三) 晚上10:22
收件人: @.>;
抄送: @.>; @.>;
主题: Re: [tiangolo/fastapi] Chinese Translation for docs/tutorial/dependencies/index.md (#3569)
You commited wrong file, new chinese docs should created in/docs/zh.
And this chapter already has a reviewing pr. Please read contribute guide carefully.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Thanks for the help @waynerv! :bow:
Thanks for the interest @Revoluto, you can check the docs for helping with translations here: https://fastapi.tiangolo.com/contributing/#translations
And the issue coordinating Chinese translations is here: https://github.com/tiangolo/fastapi/issues/1228
Given that, I'll close this PR. :coffee:


Need "Registration" page.

We need a Registration page for the website.
The common details like Name, Email-ID, Contact Number, GitHub and Twitter handle and a reCAPTCHA are needed.
The UI should be as good as possible.
Contribution in any kind is accepted :D
NOTE: Work on a separate branch.
Filename could be registration.html.

Here I am 😉

Thanks, @kartikeytripathi.
Please raise a PR at the earliest on the develop branch ;)

@utkarsh2102 Leave the captcha part.. I will add it from Django.

Would that be easy enough, @GouravSardana?

@utkarsh2102  Yup... you just only want to use a jquery prevent for the submit button i.e it would be submit until you will get response from the captcha.


Raise 404 if failing to find specified page or task for previewing during moderation

Previously, get was used to fetch Pages and Tasks for the preview view, without catching errors. This should probably raise a 404 similarly to the existing preview_for_moderation view, using get_object_or_404.

Makes sense 👍 Merged in fdc5b9fc9cc10143bfbc245e0703e5117a6b3bd7.


The old parser parse 'if statement' as an unexpected AST

@blackdrag  @paulk-asert
Hi Jochen, Paul
I find the old parser parse 'if statement' as an unexpected AST, which I think is not correct. Could you confirm it for me? Thanks in advance.
if (false)
    int x = 2, y = 1

will be parsed as
ACTUAL
if (false) {
    java.lang.Integer x = 2
} else {
    java.lang.Integer y = 1
}

EXPECTED
if (false) {
    java.lang.Integer x = 2
    java.lang.Integer y = 1
}

Cheers,
Daniel.Sun

At first glance, looks like a bug to me.
On Mon, Oct 3, 2016 at 5:56 PM, Daniel.Sun<EMAIL_ADDRESS>wrote:

@blackdrag https://github.com/blackdrag @paulk-asert
https://github.com/paulk-asert
Hi Jochen, Paul
I find the old parser parse 'if statement' as an unexpected AST, which I
think is not correct. Could you confirm it for me? Thanks in advance.
if (false)
int x = 2, y = 1
will be parsed as
ACTUAL
if (false) {
java.lang.Integer x = 2
} else {
java.lang.Integer y = 1
}
EXPECTED
if (false) {
java.lang.Integer x = 2
java.lang.Integer y = 1
}
Cheers,
Daniel.Sun
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/danielsun1106/groovy-parser/issues/4, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AARF0N6ms80U8CYV38EMoWxrxfJBqoonks5qwLUZgaJpZM4KMUdo
.

@paulk-asert
Paul, any plan to fix the bug in the old parser? or leave it to the new parser?

I think we should fix that if it isn't too hard. Worth an issue I think -
which we can always close later.
On Mon, Oct 3, 2016 at 7:50 PM, Daniel.Sun<EMAIL_ADDRESS>wrote:

@paulk-asert https://github.com/paulk-asert
Paul, any plan to fix the bug in the old parser? or leave it to the new
parser?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/danielsun1106/groovy-parser/issues/4#issuecomment-251067425,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AARF0FACg-_p2UKKoiDup-VBGboLYo17ks5qwM_QgaJpZM4KMUdo
.

I think we should fix that if it isn't too hard. Worth an issue I think -
which we can always close later. We'd need to replace
int x = 2, y = 1
on the fly with either one of these I think:
{ int x = 2; int y = 1 }
def (int x, int y) = [2, 1]

OK, I'll follow your steps :)

Looks like this is wrong too:
while (false) int x = 2, y = 1

Yeah, the following code is also wrong:
for(;;) int x = 2, y = 1

is parsed as
for (;;) {
    java.lang.Integer x = 2}

I created this issue to track fixing this for the old parser:
https://issues.apache.org/jira/browse/GROOVY-7958

OK, I'll fix it in the new parser and test when the issue is closed.

Fix commited on the apache/groovyt repo.

OK, I'll fix it in the new parser too later.


Login success but get 401

I login success with swagger UI, but "Try it out" still return 401
Header return with Bearer.What's the problem?

I need (much) more information to assist with this - code examples, console logs, screenshots etc.

Closing due to lack of information and inactivity


syscall: installing Go in chroot chronically fails on TestCloneNEWUSERAndRemapRootDisableSetgroups if /proc/sys/kernel/unprivilged_userns_clone is not 1

I'm installing the latest go in a chroot, and I'm getting a repeat of the error in #11261, but this time, the patch mentioned in #11261 (http://golang.org/cl/11269) doesn't stop the bug.  I manually set that kernel variable (/proc/sys/kernel/unprivileged_userns_clone) to 0 rather than 1, and then the test succeeded, so that is a workaround, but the error still happened in the first place.
This workaround allowed Go to be installed successfully.
I am not going to repeat the data in #11261 since that already explained the background.

Thank you for this report @Ulmo and welcome to the Go project!
I've updated the issue title accordingly and thanks for pointing out the remedy of your workaround.
Kindly pinging perhaps some interested parties @LK4D4 @ianlancetaylor @ALTree.


Incompatibility with whisper-live 0.5.1 and faster-whisper 1.0.1 > merge_segments

Hi collabora,
I encountered an issue while trying to use whisper-live 0.5.1 with the specified dependency faster-whisper==1.0.1.
Problem: The server fails to start because the merge_segments function from faster-whisper.vad cannot be found.
Error message as follows:
Traceback (most recent call last):   File "C:\Pro\WhisperLive-main\run_server.py", line 40, in <module>     from whisper_live.server import TranscriptionServer   File "C:\Pro\WhisperLive-main\whisper_live\server.py", line 15, in <module>     from whisper_live.transcriber import WhisperModel   File "C:\Pro\WhisperLive-main\whisper_live\transcriber.py", line 25, in <module>     from faster_whisper.vad import ( ImportError: cannot import name 'merge_segments' from 'faster_whisper.vad' (C:\Pro\WhisperLive-main\venv\Lib\site-packages\faster_whisper\vad.py)
Background:
According to setup.py, whisper-live 0.5.1 requires faster-whisper==1.0.1.
However, the merge_segments function in faster_whisper.vad seems to have changed in version 1.0.1.
As a result, the current implementation of whisper-live appears incompatible with faster-whisper 1.0.1.
Steps to Reproduce:
Create a fresh venv virtual environment.
Install dependencies:
pip install setup.py
Due to error:
pip install numpy==1.24.4
pip install onnxruntime==1.16.0
Start the server:
python run_server.py --port 9090 --backend faster_whisper
Expected Behavior: The server should start without errors.
Actual Behavior: The import of merge_segments fails, preventing the server from starting.
Suggestions:
Please review the changes in faster-whisper 1.0.1 and update the code accordingly.
If merge_segments is no longer required, consider removing or replacing it with an alternative function.
Alternatively, fix the dependency to faster-whisper==1.0.0 until the issue is resolved.
Additional Information:
OS: Windows 10
Python Version: 3.11
Installed Versions:
whisper-live==0.5.1
faster-whisper==1.0.1
Thank you for your work on this project! Looking forward.

Upgrading to faster-whisper==1.1.0 fixed this for me


Improve tutorials on toponetX

@ninamiolane, noted, not finished yet with this, in my to-do list.

@papamarkou any update on this? Should we close this issue?


The example request from README returns 404

curl -iX POST http://<IP_ADDRESS>:5000/eureka \
-H "Content-Type: application/json" \
-d '{
  "prompt": "Write a function in JavaScript to merge two sorted arrays"
}'

HTTP/1.1 404 Not Found
X-Powered-By: Express
Access-Control-Allow-Origin: *
Content-Security-Policy: default-src 'none'
X-Content-Type-Options: nosniff
Content-Type: text/html; charset=utf-8
Content-Length: 146
Date: Thu, 26 Dec 2024 08:19:46 GMT
Connection: keep-alive
Keep-Alive: timeout=5

<!DOCTYPE html>

<meta charset="utf-8">
<title>Error</title>

Cannot POST /eureka

Add me on Discord @killakidkilla6897 and I will put the server up for you when you need it

Friend request sent.
I don't need the server now, I was just curious why the example req doesn't work. You explained it here but consider adding this disclaimer to README


Found a bug in Microsoft Teams

I can share my screen even though i am an attendee by minimizing the screen and then sharing it
Regards Anad Sinha

@Anad15 Thanks for reaching out to us. We could repro the issue and i have raised a bug for this. Our team is working on a fix for this.


Switch to GH Actions (alternate version of PR #68)

This differs from PR #68 in that the branch lives in this repo, not a fork, which I think means we'll get to see test runs of it before actually merging it... not sure if I am right, we'll see
Closes #68

Very good! Will leave to @fingolfin to merge (do you want to squash commits or not)

Yes, this is fine to be merged. I’m waiting for https://github.com/magjac/d3-graphviz/pull/242/files/e796f9ad6858b64e055e7ce60631b3fb650259a9..e7509e66f2088465a77d12f38d377febd03cfa32 to be merged so I can upgrade all dependencies (mainly because d3 is used across the ja packages) and release version 2 of francy.

I've pushed a minor update. Assuming CI still passes, let's merge (squash, whatever) it

GAP 4.11 test fails
#I  json: PackageAvailabilityInfo for version 2.1.1
#I        (required: >= 2.0.0)
#I  (unknown package): PackageAvailabilityInfo: required GAP version (>= 4.12) does not fitjson
#I  json: PackageAvailabilityInfo: no installed version fits

The problem is within GAP's stable-4.11 branch, which still downloads the "latest" set of GAP packages, which by now includes packages that require GAP 4.12. I'll fix it there.


Cannot access to Tags

Hi everybody !
I am working to implement a registration form for my mailchimp audience list with Gatsby and I would like to use your plugin for this :smiley:
However, we succeed to use the Groups function, but we did not succeed to tag our new contacts with the plugin :/
Is there any possibility to use my tags from mailchimp to tag my new contacts ?
I am adding a colleague to the topic : @knabeth
Thank you for your work !

Is it possible to send a tag to the listing Audience ?

Hi @devism ,
Personally, I don't use this plugin anymore, I prefer to use API call with serveless function to add my members.
That gives me more possibilities.
However, the mailchimp API is a litle bit complicated, good luck !

Hi guys,
Did anybody find a solution to add tags to new contacts by sticking with this plugin (without using the API call)?
Thanks

@devism @juliensl @cjoejoe1 this repo is no longer maintained. im updating the README now.  my sincerest apologies -- i wish i had more time to keep it up but im working on other (paid) projects that have taken up all my free time.