Update how HTTP/2 is enabled

Type of Change

Something else: Updates how HTTP/2 is enabled using the new http2 on method instead of listen ... http2

What issue does this relate to?

Resolves #451
What should this PR do?
Changes how HTTP2 is enabled with
What are the acceptance criteria?
Verify that new HTTP/2 directive matches the docs.
Previous

With changes

👀 I'm somewhat concerned this is going to be very breaking for most users? This directive isn't even in stable yet, and causes the entire configuration to error out. It was landed in 1.25.1 which is mainline, whereas 1.24.x is considered stable: https://nginx.org/en/CHANGES
NGINXConfig generally tries to stay as backwards compatible as possible, so until deprecated directives are completely removed, we generally keep using them to support the most versions possible.

Ah, I was following the mainline changes, not stable.
I agree that a toggle, maybe it could change between mainline and stable? I know that HTTP/3 support is now also in mainline version, so it would no longer require the custom build warning that is currently visible.

Yeah, that sounds like a good way to approach it. Probably just a checkbox under the global NGINX tab for "enable NGINX mainline support" or smth.

Should I include that as part of this PR or make a seperate one?

I wouldn't worry about the SSL stuff in this PR, but adding the checkbox in this PR to allow the http2 change to be toggled would be great :)

I'm going to close this PR out as there hasn't been any movement in a while. You're welcome to re-open or create a new one if you find the time to work on the changes :)


Sends Paxel expression string from TS Parser to Kotlin

Captures the full Paxel expression in the top-level Paxel node as text and passes this to Kotlin in recipe2plan, manifest2proto and parses back on the Kotlin side.
Also, a small bugfix to the parser, where a whitespace was required to parse paxel with collection types, but not singletons - weird.
TODO: Make the Peg Parser parse the Showcase expression.

/gcbrun


vinyl file pipe

Hi,
pipe method was removed from the vinyl file in v2.0.0
(https://github.com/gulpjs/vinyl/issues/107  ,
https://github.com/gulpjs/vinyl/commit/d14ba4a7b51f0f3682f65f2aa4314d981eb1029d )
therefore pixelsmith fails at this line
https://github.com/twolfson/pixelsmith/blob/master/lib/engine.js#L40

I posted a question about alternatives on the linked issue as we will have to add support but also add more tests. I'll check back on this in 1 week as it seems gulp@3 is still on<EMAIL_ADDRESS>which is on<EMAIL_ADDRESS>https://github.com/gulpjs/gulp/blob/v3.9.1/package.json#L41
https://github.com/gulpjs/vinyl-fs/blob/v0.3.14/package.json#L21
Reminder: https://twitter.com/twolfsn/status/795367333682290688

@twolfson is there a solution?

The Gulp team never replied on the original issue (https://github.com/gulpjs/vinyl/issues/107) so we're still lacking support. Gulp still seems to be on the<EMAIL_ADDRESS>version though so this hasn't become a priority
When it does become a priority, I feel like we'll probably write a small library (e.g. vinyl-pipe) which copy/pastes the original behavior (https://github.com/gulpjs/vinyl/commit/d14ba4a7b51f0f3682f65f2aa4314d981eb1029d). Is there any reason y'all are looking for vinyl@2 support?


Feature Request: Don't require a "container name" via the Portal

When creating an app via the CLI I really only need to provide it the app name and image. Via the Portal I'm required to also provide it a "container name" - can we make that optional to align with the CLI?

@duglin thanks for reaching out - but this forum is for CLI only - I can't comment on portal. @btardif FYI. please send email to portal team on this.

This is a great idea. Closing now.


How to do automatic search for free parking spaces around and parking?

System information

OS Platform and Distribution (e.g., Linux Ubuntu 18.04): 20.04
Apollo installed from (source or binary): source
Apollo version (3.5, 5.0, 5.5, 6.0): 6.0
Output of apollo.sh config if on master branch:

I am doing valet parking, I want let car find a free parking space automatically and park it by itself, I know that I need to find a parking space first, and then send the parking space info to the routing module. But now I don't know how to find the parking space without any other cars, does Apollo have this method?

https://www.bilibili.com/video/BV1p94y1m7ms?spm_id_from=333.337.search-card.all.click

apollo needs to specify parking space，does not support detect which parking space is empty. You can realize one


fmt: more doc needed for Formatter

Current (go1.15, tip) documentation of interface fmt.Formatter:

Formatter is implemented by any value that has a Format method. The implementation controls how State and rune are interpreted, and may call Sprint(f) or Fprint(f) etc. to generate its output.

This is insufficient to tell how one must implement this interface:

which verbs should be handled for each type?
how to handle unhandled verbs?
how to forward unhandled verbs to Printf?
how to handle unhandled width?
how to handle unhandled precision?
lack of example

There are no constraints how to implement formatters apart from the function signature. Its up to the developer to decide what should be handled how for each type. Which verbs produce output and which dont. Which verbs are implemented directly and which are formatted using other functions.
An example could be added. Contributions welcome.

Yes, there are no constraints. But guildelines or best practices would still be helpful.
Also the stdlib has very few implementation of that interface (grep 'Format(fmt\.State,' $(go env GOROOT)/api/*.txt lists only 2 in package math/big) so reference code is limited.

To maintain consistency, I used GoStringer's example:
package main

import (
	"fmt"
)

// Address has a City, State and a Country.
type Address struct {
	City    string
	State   string
	Country string
}

// Person has a Name, Age and Address.
type Person struct {
	Name string
	Age  uint
	Addr *Address
}

// Format makes Person satisfy the Formatter interface.
func (p Person) Format(state fmt.State, verb rune) {
	switch verb {
	case 'v':
		fmt.Fprint(state, "{Name: \""+p.Name+"\", ")
		fmt.Fprint(state, "Age: "+fmt.Sprint(p.Age))
		fmt.Fprint(state, "}")
	}
}

func main() {
	p1 := Person{
		Name: "Warren",
		Age:  31,
		Addr: &Address{
			City:    "Denver",
			State:   "CO",
			Country: "U.S.A.",
		},
	}
	// If Format() wasn't implemented, the output of `fmt.Printf("%s\n", p1)` would be similar to
	// {Warren 31 0xc0000121b0}
	fmt.Printf("%v\n", p1)

	p2 := Person{
		Name: "Theia",
		Age:  4,
	}
	// If Format() wasn't implemented, the output of `fmt.Printf("%s\n", p2)` would be similar to
	// {Theia 4 <nil>}
	fmt.Printf("%v\n", p2)
}

Thanks to https://blog.gopheracademy.com/advent-2018/fmt/

Your example shows an implementation of Format that implemts %v, but has no specific implementation for %#v, %+v or even %s which now do nothing instead of having the default behaviour for a struct type.
My point of view would be that it is an incomplete implementation of Format but, as there is no guidance on what would be a correct implementation, I'm not sure. That's why I'm asking for for documentation.


Error on npm install

npm ERR<EMAIL_ADDRESS>install: node ./build.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script 'node ./build.js'.
npm ERR! This is most likely a problem with the fibers package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node ./build.js
npm ERR! You can get their info via:
npm ERR!     npm owner ls fibers
npm ERR! There is likely additional logging output above.

@alouis93 Which node version are you running?


Metrics: Add Cumulative APIs.

Updates https://github.com/census-instrumentation/opencensus-java/issues/1815.
Although the Spec PR (https://github.com/census-instrumentation/opencensus-specs/pull/254) hasn't been submitted, Cumulative APIs have already been added to Go and Node. This PR adds the Cumulative APIs in Java similar to Go (https://github.com/census-instrumentation/opencensus-go/pull/1090).
Most are a copy-and-paste from Gauge APIs since they are very similar.

Thanks! Implementation will be in a follow-up PR.


Ci/dependabot config

Welcome to Codecov :tada:
Once merged to your default branch, Codecov will compare your coverage reports and display the results in this comment.
Thanks for integrating Codecov - We've got you covered :open_umbrella:


Make queries that contain BIGINT overflows fail

I am working on this.

This relates to https://github.com/facebook/presto/issues/4571.


User choice to not keep contact

User stories
As a holder, I would like to be given choice on whether to add/keep a connection/contact in my wallet the moment after a transaction (proof request or credential offer) so that I don't keep unnecessary contacts in my wallet, I have more control of my wallet, and I have peace of mind that my privacy is protected.
As a holder I expect my wallet to automatically make a connection permanent if I've previously approved a permanent connection to the same third party, so I am not asked unnecessary questions.
Background
A connection request as a result of a user-initiated action (such as scanning a QR code) is automatically accepted by the holder's wallet on a temporary basis . The wallet then waits for the expected follow-up action from the connected party, such as a credential offer or proof request. Once that follow-up action has been handled through the usual methods, the user is then asked to keep the temporary connection (which gets marked as permanent) or discard it (disconnects the connection).
If the user already has a previous permanent connection to the same issuer, then after the follow-up action is completed the connection is automatically kept. The details of how multiple connections to the same issuer are handled at the UX level—for example, a single connection view which represents multiple actual connections, or alternatively multiple numbered connections (1) (2) etc—is a separate issue.
Given that connections are a fundamental part of the potential for Verifiable Credentials and the Trust Over IP model, the "confirm connection" step should be designed in favour of the user recognizing the connection's future benefits and choosing to keeping the connection.

closing stale issues.  A contact/connection is still evolved, and it is required for long standing relationship.


Switch assignment of property path to use double-quotes

Purpose of this PR is to also check how CI runs on PRs

Note to future self: don't use hyphens for input parameter names. It may work on locally for you (macOS), but failed when executed on the actions runner


[bug] Get returns object but it is interpreted as not found by the api-server

hello, I'm developing an api server with a custom storage.
I see a situation where the Get implementation go the storage interface returns a value, but the result is a not found for the client making the request.
I had noticed the same error for the filepath storage example storage implementaiton, which I'm using as a model, but didn't think much about it, but now I'm starting to thin that there might be an issue with the apiserver-builder framewrok.
Here is the relevant par of my code:
func (f *vaultMountResource) Get(ctx context.Context, name string, options *metav1.GetOptions) (runtime.Object, error) {
...
			if len(strings.Split(path, "/")) == 2 && strings.Split(path, "/")[0] == ri.Namespace && strings.Split(path, "/")[1] == ri.Name {
				f.log.Info("found!", "path", path)
				return &redhatcopv1alpha1.SecretEngine{
					TypeMeta: metav1.TypeMeta{
						APIVersion: "vault.redhatcop.redhat.io/v1alpha1",
						Kind:       "SecretEngine",
					},
					ObjectMeta: metav1.ObjectMeta{
						Name:      strings.Split(path, "/")[1],
						Namespace: strings.Split(path, "/")[0],
						UID:       types.UID(mountOutput.UUID),
					},
					Spec: redhatcopv1alpha1.SecretEngineSpec{
						Mount: *redhatcopv1alpha1.FromMountOutput(mountOutput),
					},
				}, nil
			}
...

I can see the apiserver printing this log:
{"level":"info","ts":1617313426.703883,"logger":"VaultMountResource","msg":"found!","path":"vault-apiserver-dev/secretengine-sample"}

but the client gets this:
oc get secretengine.vault.redhatcop.redhat.io/secretengine-sample -n vault-apiserver-dev
No resources found in vault-apiserver-dev namespace.

what could be the issue?

some development on this one. if the -o yaml parameter is present an object is actually returned:
so here is the behavior:
kubectl get secretengine secretengine-sample -n vault-apiserver-dev -o yaml
apiVersion: vault.redhatcop.redhat.io/v1alpha1
kind: SecretEngine
metadata:
  creationTimestamp: "2021-04-03T13:55:03Z"
  name: secretengine-sample
  namespace: vault-apiserver-dev
  resourceVersion: 601d5aa7-fe0e-a697-25c6-67ff1f21ec6f
  uid: 601d5aa7-fe0e-a697-25c6-67ff1f21ec6f
spec:
  config:
    defaultLeaseTTL: "0"
    forceNoCache: false
    maxLeaseTTL: "0"
  description: mytry
  externalEntropyAccess: false
  local: false
  sealWrap: false
  type: aws
status: {}

while:
kubectl get secretengine secretengine-sample -n vault-apiserver-dev
No resources found in vault-apiserver-dev namespace.

what could be the reason?

kubectl get secretengine secretengine-sample -n vault-apiserver-dev
No resources found in vault-apiserver-dev namespace.

@raffaelespazzoli interesting, i believe the filepath is working fine while can you share w/ me more log by increasing verbosity -v8? it looks like something wrong w/ the kubectl client-side..

this is the output as requested:
kubectl -v8 get secretengine -n vault-apiserver-dev
I0412 08:44:44.282975   78571 loader.go:375] Config loaded from file:  /home/rspazzol/.kube/config
I0412 08:44:44.295770   78571 round_trippers.go:420] GET https://api.tmp-raffa.demo.red-chesterfield.com:6443/apis/vault.redhatcop.redhat.io/v1alpha1/namespaces/vault-apiserver-dev/secretengines?limit=500
I0412 08:44:44.295784   78571 round_trippers.go:427] Request Headers:
I0412 08:44:44.295788   78571 round_trippers.go:431]     Accept: application/json;as=Table;v=v1;g=meta.k8s.io,application/json;as=Table;v=v1beta1;g=meta.k8s.io,application/json
I0412 08:44:44.295792   78571 round_trippers.go:431]     User-Agent: kubectl/v1.18.2 (linux/amd64) kubernetes/52c56ce
I0412 08:44:44.295796   78571 round_trippers.go:431]     Authorization: Bearer <masked>
I0412 08:44:44.604819   78571 round_trippers.go:446] Response Status: 200 OK in 308 milliseconds
I0412 08:44:44.604872   78571 round_trippers.go:449] Response Headers:
I0412 08:44:44.604894   78571 round_trippers.go:452]     Date: Mon, 12 Apr 2021 12:44:44 GMT
I0412 08:44:44.604918   78571 round_trippers.go:452]     X-Kubernetes-Pf-Flowschema-Uid: 888c450e-7487-4db7-9f02-19d3d7317d91
I0412 08:44:44.604942   78571 round_trippers.go:452]     X-Kubernetes-Pf-Flowschema-Uid: 888c450e-7487-4db7-9f02-19d3d7317d91
I0412 08:44:44.604962   78571 round_trippers.go:452]     X-Kubernetes-Pf-Prioritylevel-Uid: 9463dc7c-47d4-4ffb-a268-a9a9644f4d1f
I0412 08:44:44.604981   78571 round_trippers.go:452]     X-Kubernetes-Pf-Prioritylevel-Uid: 9463dc7c-47d4-4ffb-a268-a9a9644f4d1f
I0412 08:44:44.605001   78571 round_trippers.go:452]     Content-Length: 98
I0412 08:44:44.605021   78571 round_trippers.go:452]     Audit-Id: 81282bd2-baf9-48e4-9dbb-13fc0f4dce95
I0412 08:44:44.605041   78571 round_trippers.go:452]     Cache-Control: no-cache, private
I0412 08:44:44.605059   78571 round_trippers.go:452]     Cache-Control: no-cache, private
I0412 08:44:44.605078   78571 round_trippers.go:452]     Content-Type: application/json
I0412 08:44:44.605141   78571 request.go:1068] Response Body: {"kind":"Table","apiVersion":"meta.k8s.io/v1","metadata":{},"columnDefinitions":null,"rows":null}
No resources found in vault-apiserver-dev namespace.

I have a hypotheses of what is going on. The kubectl caches the types structure by interrogating the openapi endpoint. Then it uses the column definition metadata to construct the columnar output. But there is no openapi metadata for my api as I am not able to add that feature to my apiserver. Here is what I get when I try this:
	err := builder.APIServer.
		WithResourceAndHandler(&redhatcopv1alpha1.SecretEngine{}, vaultstorage.NewVaultMountStorageProvider()). // namespaced resource
		WithLocalDebugExtension().
		WithOpenAPIDefinitions("vault.redhatcop.redhat.io", "v1alpha1", redhatcopv1alpha1.GetOpenAPIDefinitions).
		Execute()

I get the following:
{"level":"info","ts":1618231885.4256394,"logger":"VaultMountResource","msg":"initializing VaultMountResource"}
Error: unable to get openapi models: cannot find model definition for k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta. If you added a new type, you may need to add +k8s:openapi-gen=true to the package or type and run code-gen again

so somehow I need to import the openapi for object meta as they don't get generated because that object does not ahve the openapi annotation anymore. Any suggestion on how to do it?

mmm it looks that ur customized storage passed from vaultstorage.NewVaultMountStorageProvider() enabled server-side printing via implememting TableConverter interface but w/ a dummy implemention (probably returning a null Table instance there). server-side printing is supposed to be disabled by default unless the TableConverter interface assertion works on ur customized storage instance. can you verify?

I copied this from the file storage implementation:
func (f *vaultMountResource) ConvertToTable(ctx context.Context, object runtime.Object, tableOptions runtime.Object) (*metav1.Table, error) {
	return &metav1.Table{}, nil
}

so I guess what you are saying is that I should just remove this function...

@raffaelespazzoli can you try kubectl get --raw="/apis/vault.redhatcop.redhat.io/v1alpha1" and share us the output?

here it is:
kubectl get --raw="/apis/vault.redhatcop.redhat.io/v1alpha1"
{"kind":"APIResourceList","apiVersion":"v1","groupVersion":"vault.redhatcop.redhat.io/v1alpha1","resources":[{"name":"secretengines","singularName":"","namespaced":true,"kind":"SecretEngine","verbs":["create","delete","deletecollection","get","list","patch","update","watch"]}]}

I was able to make it work deleting the ConvertToTable method.
this was my output:
oc get secretengine
NAME                  AGE
secretengine-sample   9s

is there support for controlling the displayed columns?
My api definition has the look like this:
// SecretEngine is the Schema for the secretengines API
//+kubebuilder:object:root=true
//+kubebuilder:subresource:status
//+k8s:openapi-gen=true
//+kubebuilder:printcolumn:name:"Name",type="string",JSONPath=".metadata.name"
//+kubebuilder:printcolumn:name:"Namespace",type="string",JSONPath=".metadata.namespace"
//+kubebuilder:printcolumn:name:"Type",type="string",JSONPath=".spec.type"
type SecretEngine struct {
....

so it seems that the +kubebuilder:printcolumn:name: annotations are not honored.


Avoid parsing joint rule codes as distinct codes in # noqa

Summary
We should enable warnings for unsupported codes, but this at least fixes the parsing for # noqa: F401F841.
Closes https://github.com/astral-sh/ruff/issues/12808.

Seems reasonable to exclude non-ASCII.

But Python comments can contain non-ASCII whitespace? We already have an is_python_whitespace that respects the spec for tokens: https://docs.python.org/3/reference/lexical_analysis.html#whitespace-between-tokens


Better messages explaining why a particular auto-step fails

Right now, if an auto-step fails, it's basically a mystery to inexperienced users. Maybe some suggestion to run "refine foo"?

Good thought! Though it may be harder to give good messages here than it is to just improve auto (and get rid of auto-step).

One related issue is that I do not feel the logging system is doing its job now.

@jonsterling What did you mean by getting rid of auto-step? Did you mean something like #438? (I believe #438 is compatible with auto-step, though.)

@favonia It may be possible to implement #438 and retain auto-step, but I think that long-term this stateless, small-step approach to automation is not going to serve us as well as I had hoped. My thinking is that to have a good proof search algorithm, we kind of need to keep track of what we're doing across multiple steps; but maybe I'm wrong.
I was imagining that the "ultimate" version of auto might be some kind of function that you could give a possibly infinite (but possibly finite) amount of 'fuel' to. Anyway, I'm not sure about it.


在wsl的ubuntu部署时遇到的问题

在安装graphlearning库时遇到如图问题，请问如何解决？

sameproblem

Installing graphlearning on Ubuntu
I recently tested installing graphlearning directly using pip on Ubuntu and encountered issues. I will contact the author to address this. In the meantime, you can use the following method to install it manually:
Steps to Install graphlearning
1. Clone the Git Repository
git clone https://github.com/jwcalder/GraphLearning.git
cd GraphLearning

2. Edit setup.py File
Locate the setup.py file in the graphlearning directory and edit it as follows:
from setuptools import setup, Extension, find_packages
import numpy

setup(
    name='graphlearning',
    version='1.6.5',
    description='Graph Learning library',
    author='Jeff Calder',
<EMAIL_ADDRESS>    url='https://github.com/jwcalder/GraphLearning',
    packages=find_packages(),
    install_requires=[
        'numpy',
        'scipy',
        'matplotlib',
    ],
    ext_modules=[
        Extension('graphlearning.cextensions',
                  sources=[
                      'c_code/cextensions.c',
                      'c_code/lp_iterate.c',
                      'c_code/hjsolvers.c',
                      'c_code/memory_allocation.c',
                      'c_code/mnist_benchmark.c',
                      'c_code/mbo_speedy_volume_preserving.c'
                  ],
                  include_dirs=[numpy.get_include()],
                  #extra_compile_args = ['-Ofast','-std=c11'],
                  extra_compile_args=['-Ofast'],
                  extra_link_args=['-lm'])
    ]
)

3. Build the Package
Run the following command to build the package:
python3 setup.py sdist bdist_wheel

4. Install the Package
Install the generated wheel file:
pip3 install dist/graphlearning-1.6.5-cp310-cp310-linux_x86_64.whl

Prerequisite
Ensure pip3 is installed before running the above commands:
sudo apt install python3-pip

问题解决了，感谢


changed the prerequisite node count from 3 to 5

Related to > https://github.com/ondat/documentation/pull/165 I have changed the minimum node count from 3 to 5 for the install guides.

@Arau @DavidMarchant is there anything else we need to consider for the node count or we can go ahead and merge the PR?

Afaik this was the only change to our node requests


Fix condor_ce_metric errors in GangliaLog

Fixed missing options to condor_ce_metric
Fixed incorrect number of arguments to rrd generation function. I set the host to None, similar to the following line in condor_ce_jobmetrics but I'm not sure that's the correct value. @bbockelm, could you take a look at this?

I've verified that there are no more errors in GangliaLog and it appears that things are being published properly now:
04/05/16 14:59:31 publishing CollectorRecentDaemonCoreDutyCycle=2.1121, group=HTCondor Collector, units=%, derivative=0, type=float, title=, desc=Recent fraction of busy time in the daemon event loop, cluster=, spoof_host=<IP_ADDRESS>:fermicloud050.fnal.gov
04/05/16 14:59:31 publishing SchedulerRecentDaemonCoreDutyCycle=0.27839, group=HTCondor Schedd, units=%, derivative=0, type=float, title=, desc=Recent fraction of busy time in the daemon event loop, cluster=, spoof_host=<IP_ADDRESS>:fermicloud050.fnal.gov
04/05/16 14:59:31 publishing Availability=100, group=HTCondor Schedd, units=%, derivative=0, type=int32, title=, desc=Average availability of CE, cluster=, spoof_host=<IP_ADDRESS>:fermicloud050.fnal.gov

However, I was not able to actually see the CEView site to verify that the graphs looked correct.

Still at Puerto Rico and barely treading water in my inbox.  @djw8605 could you review instead?

Yes, I will test this.

https://koji-hub.batlab.org/koji/taskinfo?taskID=208086
https://koji-hub.batlab.org/koji/taskinfo?taskID=208087

I'm getting the below error.  I think you missed a call to get_rrd_name?
04/19/16 18:10:26  ENGINE TypeError('get_rrd_name() takes at least 3 arguments (2 given)',)
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/cherrypy/wsgiserver/wsgiserver2.py", line 1302, in communicate
    req.respond()
  File "/usr/lib/python2.6/site-packages/cherrypy/wsgiserver/wsgiserver2.py", line 831, in respond
    self.server.gateway(self).respond()
  File "/usr/lib/python2.6/site-packages/cherrypy/wsgiserver/wsgiserver2.py", line 2115, in respond
    response = self.req.server.wsgi_app(self.env, self.start_response)
  File "/usr/lib/python2.6/site-packages/cherrypy/_cptree.py", line 290, in __call__
    return app(environ, start_response)
  File "/usr/share/condor-ce/condor_ce_view", line 128, in __call__
    retval = self.app(environ, custom_start_response)
  File "/usr/lib/python2.6/site-packages/htcondorce/web.py", line 497, in application
    return callback(environ, start_response)
  File "/usr/lib/python2.6/site-packages/htcondorce/web.py", line 283, in pilots
    fname = htcondorce.rrd.get_rrd_name(environ, "pilots")
TypeError: get_rrd_name() takes at least 3 arguments (2 given)

@djw8605: I'm going to have to revert some of my changes but I think I'm on the right path.
@bbockelm: it looks like you made some changes to check_rrd to support multiple CEs but this wasn't updated. What should the host argument be here? Does it need to be changed so that condor_ce_metric creates metric subfolders per CE host?

I'm getting a little fuzzy on some of this code (mostly it's been handed off to Derek).  IIRC, the idea was that when run in CE mode, there's no subdirectories - those are only made when in grid-wide mode.

So you would expect /var/log/condor-ce/spool/ceview to look like the following for CE mode:

ceview

jobs
metrics

And for grid-wide mode:

ceview

host1

jobs
metrics

host2

jobs
metrics

Is that correct?

Yup, that's what I recall.
Whether that even remotely matches the code at this point, I have no clue.

@djw8605: This works on a clean install for me. Could you test this with my scratch build here?


GRID-439: Setting renderer at initialization

See the Jira ticket for details.

@Dwaynekj Self-approving this in the interests of getting a release together. Please review it nevertheless when you get back. Thanks.

Again, the next release is for the end of the sprint. Lets not do this anymore

Disregard old comment. And sure thing


Additional column for battery type

Can you add an additional column in your map for the battery type that then needs to be replaced. For example: “1x CR 2032” or “3x AAA” or “2x LR 44”.
At the moment I'm using Andrew's "HA-Battery-Notes" card to enter the data, but I can't query it quickly. This would of course fit perfectly with your card.
see print screens
Best regards,
Mario

https://github.com/andrew-codechimp/HA-Battery-Notes

I guess it adds another entity in HA which stores the battery type value right?
This means that you can add it to the secondary_info by using "KString" eg
secondary_info: "Battery type: {sensor.your_device_battery_type}"

Unfortunately it is not possible to put there the relative time additionally (date will be rendered instead). This will be changed/fixed in the future.
There is no way now to use the "KString" in the name - I will change this in the future as well. So you will be able to have a name like e.g. "Buro FB 1 (CR 2032)"
I'll think about the second column too.
Thank you for pointing out this integration which you use - I will mention it in my docs

Is there a way to add the secondary_info as a new column rather than appear under  the battery name?


Tidying up main.min.css

The style sheet for this theme is a giant block of text. Any interest in me forking and tidying it up a bit when I get a chance? Otherwise, it would be a pretty simple task someone could take on.

I think you missed https://github.com/stevelacey/ghostium/tree/master/src/assets/_scss

I sure did @stevelacey. Nice work, and thanks for keeping this theme supported!


Publish to crates.io

Can you publish this to https://crates.io/ ?

@milisims sorry I don't want to be annoying, but have you considered this?
I'd like to use the grammar as a dependency for my project. But if this is not on crates.io it makes it much more incontinent for me to publish there.
I'd have to include it as a git submodule and manage versions manually.

Sorry I don't move very quickly, but I appreciate the ping. I'll be able to get to it today or more likely tomorrow.

Thanks a lot. No rush

I published the current main branch (v1.3), thanks for the request and for your patience! I'll be keeping it up to date.

Awesome, thank you


Clips are quite glitchy

Current Behavior:
Clips are quite glitchy but this happens in few cases like when I try to pause a clip it starts from 0 once again and sometimes they just don't end and sometimes it starts from somewhere else instead of expected time and sometimes the timestamp just freezes.

Steps To Reproduce:
I am using default stuff that is provided in the docs not anything custom from my own side
Environment:

Framework: React
Meta Framework: Next.js
Vidstack version: 1.11.6

Anything Else?
one of the examples
https://aniray.vercel.app/watch/10165?episode=1&s=553&e=627

it was issue with storage which is bad on my part sorry for this

previously I thought probably mediastorage isinterfering with it so I closed the issue and when I did it without using mediastorage it was working fine and several gltiches were resolved but still few issues remains such as
not able replay the clip (if it's replayed it starts playing from 0:00 instead of provided clip timestamps and moreover progress bar and timestamps gets stuck
https://aniray.vercel.app/clip/10165?episode=1&s=553&e=627
link is still same as before

Sorry for the delay as I've been busy. I can't repro this so I'll have to close. The provided link no longer works either. I'll require a proper repro to debug this properly. Happy to reopen when provided. Thanks!!


ERCOT Shadow Prices (DAM and SCED)

Adds ERCOT DAM and SCED Shadow Prices
Methods: ercot.get_dam_shadow_prices and ercot.get_sced_shadow_prices

This has been completely refactored to use the ErcotAPI.
Shadow Prices DAM
from gridstatus.ercot_api.ercot_api import ErcotAPI

api = ErcotAPI()
api.get_shadow_prices_dam("today")

Output
| Interval Start            | Interval End              | Constraint ID | Constraint Name | Contingency Name | Limiting Facility | Constraint Limit | Constraint Value | Violation Amount | Shadow Price | From Station | To Station | From Station kV | To Station kV |
|---------------------------|---------------------------|---------------|-----------------|------------------|-------------------|------------------|------------------|------------------|--------------|--------------|------------|-----------------|---------------|
| 2024-02-01 00:00:00-06:00 | 2024-02-01 01:00:00-06:00 | 1             | WESTEX          | BASE CASE        |                   | 10629            | 10629            | 0                | 0.632        |              |            | 0.0             | 0.0           |
| 2024-02-01 00:00:00-06:00 | 2024-02-01 01:00:00-06:00 | 2             | PNHNDL          | BASE CASE        |                   | 2700             | 2700             | 0                | 14.697       |              |            | 0.0             | 0.0           |
| 2024-02-01 00:00:00-06:00 | 2024-02-01 01:00:00-06:00 | 3             | HOEFSROA_T1     | BASE CASE        |                   | 9                | 9                | 0                | 0.08         | HOEFSROA     | HOEFSROA   | 69.0            | 12.5          |
| 2024-02-01 00:00:00-06:00 | 2024-02-01 01:00:00-06:00 | 4             | PUEBLO_TRA1     | BASE CASE        |                   | 30               | 30               | 0                | 6.818        | PUEBLO       | PUEBLO     | 138.0           | 12.5          |
| 2024-02-01 00:00:00-06:00 | 2024-02-01 01:00:00-06:00 | 5             | FTST_SOLSTI1_1  | BASE CASE        |                   | 202              | 202              | 0                | 0.564        | SOLSTICE     | FTST       | 138.0           | 138.0         |

Shadow Prices SCED
from gridstatus.ercot_api.ercot_api import ErcotAPI

api = ErcotAPI()
api.get_shadow_prices_sced("2024-03-05", '2024-03-06')

Output:
| SCED Timestamp            | Constraint ID | Constraint Name  | Contingency Name | Limiting Facility           | Shadow Price | Max Shadow Price | Limit  | Value  | Violated MW | From Station | To Station | From Station kV | To Station kV | CCT Status |
|---------------------------|---------------|------------------|------------------|-----------------------------|--------------|------------------|--------|--------|-------------|--------------|------------|-----------------|---------------|------------|
| 2024-03-05 00:00:28-06:00 | 1             | HARGRO_TWINBU1_1 | SBAKCED5         | TWINBU_138.0_HARGROVE_138.0 | 3500.0       | 3500.0           | 147.8  | 147.9  | 0.1         | TWINBU       | HARGROVE   | 138.0           | 138.0         | COMP       |
| 2024-03-05 00:00:28-06:00 | 2             | HARGRO_TWINBU1_1 | DNOECED5         | TWINBU_138.0_HARGROVE_138.0 | 0.0          | 3500.0           | 148.5  | 145.6  | -2.9        | TWINBU       | HARGROVE   | 138.0           | 138.0         | COMP       |
| 2024-03-05 00:00:28-06:00 | 3             | RINCON_WHITE_2_1 | MRESMCM8         | WHITE_PT_138.0_RINCON_138.0 | 304.1803     | 3500.0           | 215.8  | 215.8  | 0.0         | WHITE_PT     | RINCON     | 138.0           | 138.0         | NONCOMP    |
| 2024-03-05 00:00:28-06:00 | 4             | HECKER_WHITE_2_1 | MXWHI89          | WHITE_PT_138.0_HECKER_138.0 | 0.0          | 3500.0           | 277.4  | 257.2  | -20.2       | WHITE_PT     | HECKER     | 138.0           | 138.0         | NONCOMP    |
| 2024-03-05 00:00:28-06:00 | 5             | 6036__A          | DMGSBTR5         | TKWSW_345.0_MGSES_345.0     | 0.0          | 4500.0           | 1273.0 | 1240.6 | -32.4       | TKWSW        | MGSES      | 345.0           | 345.0         | COMP       |


Buttons on Shopping go underneath the page content

I was using google search tools back script for ages. I have one annoyance with both scripts so i am hoping you can fix it.
The buttons on google shopping go underneath the page content just the same as the google search tools back script.
The old script seems to work the same as this script although i edited the websites it runs on so it don't run at document-start and only changed it so it runs at only google domains.
You can remove encrypted.google.com as it don't exist anymore.
I fixed it. Changing width to --user-sidebar-width: 225px; seem decent to me. The other script was way harder to read. What do you think looks best for width?
I havn't decided on 225 or 230px yet. I will just go along with whatever you changes you make as the author.
Another issue. Your script. https://i.imgur.com/fuNSCKJ.png
Google search tools back script looks more normal. https://i.imgur.com/O6AAu3K.png
My screen rez is 1920x1080.
OK when i change the pixels to 230 it overlaps on the main search page. I am fiddling with it until i find the best parameters. I am trying to move the right bar a little more right to take advantage of my screen real estate and then i should be able to adjust it back to 225 or 230px.
I fixed the other overlap issue after changing the first parameter. --user-sidebar-spacer: 30px; to a larger value.
Sorry i edited this a bunch. I made way to many edits to this comment lol
by thebudman420 @ https://greasyfork.org/en/forum/discussion/50684/fix-the-buttons-going-underneath-the-content-on-google-shopping.

This issue was closed because it has been stalled for a long time with no activity. Feel free to reopen this issue if you have further questions or suggestions.


Change Class Borked

I had been experiencing another bug where despite connecting the FGD files exactly, the change class list still has nothing. This is happening with the more recent version as far as my knowledge goes.
Bug Images.zip

Can confirm that. Problem appeared with build Added kostil' for support UTF8 (cyrillic,etc)
@UnrealKaraulov Класс энтити поменять нельзя сейчас. Появилось вместе с костылём для поддержки UTF8.

@ToxicHolyGrenade @Qwertyus3D исправил отсутствие классов


Use popover dismiss instead of emitter on unpin job (#2dewqjn)

Related Issues
usepopover.onDidDismiss on unpin jobs
Closes #
Short Description and Why It's Useful

Screenshots of Visual Changes before/after (If There Are Any)

IMPORTANT NOTICE - Remember to add changelog entry
Contribution and Currently Important Rules Acceptance

[ ] I read and followed contribution rules

Closing as this will not be needed for now. We will be using emitter only we are doing pin/unpin action from different components


Build failure: xdg-utils on aarch64-apple-darwin

Steps To Reproduce
Steps to reproduce the behavior:

build xdg-utils

Build log
       … while evaluating derivation 'alacritty-0.13.1'
         whose name attribute is located at /nix/store/599wy5snf00pn1apmsnzmiy0ysdpds03-source/pkgs/stdenv/generic/make-derivation.nix:353:7

       … while evaluating attribute 'postPatch' of derivation 'alacritty-0.13.1'
         at /nix/store/599wy5snf00pn1apmsnzmiy0ysdpds03-source/pkgs/applications/terminal-emulators/alacritty/default.nix:86:3:
           85|
           86|   postPatch = lib.optionalString (!xdg-utils.meta.broken) ''
             |   ^
           87|     substituteInPlace alacritty/src/config/ui_config.rs \

       … from call site
         at /nix/store/599wy5snf00pn1apmsnzmiy0ysdpds03-source/pkgs/applications/terminal-emulators/alacritty/default.nix:86:15:
           85|
           86|   postPatch = lib.optionalString (!xdg-utils.meta.broken) ''
             |               ^
           87|     substituteInPlace alacritty/src/config/ui_config.rs \

       … while calling 'optionalString'
         at /nix/store/599wy5snf00pn1apmsnzmiy0ysdpds03-source/lib/strings.nix:257:5:
          256|     # String to return if condition is true
          257|     string: if cond then string else "";
             |     ^
          258|

       … while evaluating derivation 'xdg-utils-1.2.0'
         whose name attribute is located at /nix/store/599wy5snf00pn1apmsnzmiy0ysdpds03-source/pkgs/stdenv/generic/make-derivation.nix:353:7

       … while evaluating attribute 'preFixup' of derivation 'xdg-utils-1.2.0'
         at /nix/store/599wy5snf00pn1apmsnzmiy0ysdpds03-source/pkgs/tools/X11/xdg-utils/default.nix:259:3:
          258|
          259|   preFixup = lib.concatStringsSep "\n" (map (resholve.phraseSolution "xdg-utils-resholved") solutions);
             |   ^
          260|
...
       … while evaluating attribute 'buildCommand' of derivation 'xdg-user-dirs-0.18-binlore'
         at /nix/store/599wy5snf00pn1apmsnzmiy0ysdpds03-source/pkgs/build-support/trivial-builders/default.nix:98:16:
           97|         enableParallelBuilding = true;
           98|         inherit buildCommand name;
             |                ^
           99|         passAsFile = [ "buildCommand" ]

Additional context
After this commit https://github.com/NixOS/nixpkgs/commit/cee13123c01af4538ee85a683f52794b8e0b5bd6, xdg-utils depends on xdg-user-dirs which doesn't have support for aarch64-darwin, causing the build to fail.
Notify maintainers
@K900
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
 - system: `"aarch64-darwin"`
 - host os: `Darwin 23.3.0, macOS 14.3.1`
 - multi-user?: `yes`
 - sandbox: `no`
 - version: `nix-env (Nix) 2.20.1`
 - channels(root): `"nixpkgs"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixpkgs`

Add a :+1: reaction to issues you find important.

Why are you using xdg-utils on Darwin? It's not really designed to work there.

@K900 it's a dependency of alacritty (https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/terminal-emulators/alacritty/default.nix#L86), before the xdg-utils commit v1.2.0, it worked. I also updated the build log in the issue description.

Yeah that's just a bug on Alacritty. Going to PR a fix.

I found that aws-vault relies on xdg-utils, and fails to build in this same way.


Unresolved symbol set_parameters in latest arts_api

Bug report
Bug summary
Trying to import typhon.arts.workspace with the latest arts-2-3-900 / typhon-0ff43fa leads to the following error:
Loading ARTS API from: /Users/u237002/Hacking/arts-build/gcc/src/libarts_api.so
[snip]
AttributeError: dlsym(0x7fa7d1b07740, set_parameters): symbol not found

Cause of the problem
In arts-2-3-898 the function set_parameters was removed but calls to this function are still present in typhon/arts/workspace/api.py.

Sorry, I could swear I pushed this on Monday. I'll just blame the crappy satellite internet connection I had on the ferry.


checkov: 3.2.90 -> 3.2.91

Diff: https://github.com/bridgecrewio/checkov/compare/refs/tags/3.2.90...3.2.91
Changelog: https://github.com/bridgecrewio/checkov/releases/tag/3.2.91
Description of changes

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 311303 run on x86_64-linux 1

2 packages built:

checkov
checkov.dist


Adds ProxyCABundleTooLarge failure catcher

Initial work to add this, started on a Sunday from an error I received over the weekend so I don't forget to come back to this during the normal work week.

/approve

@iamkirkbater This looks fine to me, undraft when it is good to go

@iamkirkbater going to need to run make update-gofmt (or otherwise fix spacing in the .go file).
(I don't think the python syntax error is holding up the build, but it's being fixed in #1759 anyway.)

@iamkirkbater Tried to do this on the GH web UI by eyeball and obvs mucked it up.
Also, still seeing problems with the gitpython import. That's not what's causing the failure, but jsyk it's unrelated to this PR. I'm working on it separately.


Update to SDK 35

It looks like an update to AppCompat is required for edge-to-edge and insets to work properly on API 35 with the original changes. Best for #576 to be merged first.


[Bug]: npx @puppeteer/browsers install firefox fails because .tar.bz2 no longer present (only .tar.xz) on https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/

Steps to reproduce
npx @puppeteer/browsers install firefox
Error: Download failed: server returned code 404. URL: https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/firefox-135.0a1.en-US.linux-x86_64.tar.bz2
Looks like the .tar.bz2 file is not longer present on the download site, instead .tar.xz is used.
Expected results
Latest firefox download for linux succeeds
Actual results
Error: Download failed: server returned code 404. URL: https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/firefox-135.0a1.en-US.linux-x86_64.tar.bz2

Please update the browsers versions. E.g., npx @puppeteer/browsers@latest install firefox@nightly.  Duplicate of https://github.com/puppeteer/puppeteer/issues/13390


HCI_CMD_TIMEOUT when setting ext adv data in the hci_usb project

Describe the bug
Attempted to use the samples/bluetooth/hci_usb/ project with CONFIG_BT_CTLR_ADV_EXT=y, to run the BT shell as a native_posix application over HCI over USB for on a NRF52840-DK. This unfortunately results in a HCI_CMD_TIMEOUT when setting the data, as part of the bt advertise on command in the shell.
It works as intended if flashing the shell project directly to the board, but not when run over USB.
To Reproduce
Steps to reproduce the behavior:

Build samples/bluetooth/hci_usb/ with CONFIG_BT_CTLR_ADV_EXT=y and flash to board
Build tests/bluetooth/shell/ with the native_posix board
Run the shell and enter bt init followed by bt advertise on.
See error

Expected behavior
Expected to start advertising legacy adv PDUs but with the extended adv HCI commands.
Impact
Inconvenience.
Logs and console output
Shell log
bt init
[00:00:04.610,000] <wrn> bt_hci_core: ECC HCI commands not available
[00:00:04.610,000] <inf> bt_hci_core: Identity: d6:2c:51:b0:60:7a (random)
[00:00:04.610,000] <inf> bt_hci_core: HCI: version 5.2 (0x0b) revision 0x0000, manufacturer 0x05f1
[00:00:04.610,000] <inf> bt_hci_core: LMP: version 5.2 (0x0b) subver 0xffff
Bluetooth initialized
uart:~$ bt advertise on
[00:00:17.620,000] <err> os: >>> ZEPHYR FATAL ERROR 3: Kernel oops on CPU 0
[00:00:17.620,000] <err> os: Current thread: 0x5676a800 (shell_uart)
[00:00:17.620,000] <err> os: Halting system

BTMON log
< HCI Command: LE Set Extended Advertising Parameters (0x08|0x0036) plen 25      #2247 12009.382438
        Handle: 0x00
        Properties: 0x0013
          Connectable
          Scannable
          Use legacy advertising PDUs: ADV_IND
        Min advertising interval: 100.000 msec (0x00a0)
        Max advertising interval: 150.000 msec (0x00f0)
        Channel map: 37, 38, 39 (0x07)
        Own address type: Random (0x01)
        Peer address type: Public (0x00)
        Peer address: 00:00:00:00:00:00 (OUI 00-00-00)
        Filter policy: Allow Scan Request from Any, Allow Connect Request from Any (0x00)
        TX power: 127 dbm (0x7f)
        Primary PHY: LE 1M (0x01)
        Secondary max skip: 0x00
        Secondary PHY: Reserved (0x00)
        SID: 0x00
        Scan request notifications: Disabled (0x00)
> HCI Event: Command Complete (0x0e) plen 5                                      #2248 12009.383167
      LE Set Extended Advertising Parameters (0x08|0x0036) ncmd 1
        Status: Success (0x00)
        TX power (selected): 127 dbm (0x7f)
< HCI Command: LE Set Advertising Set Random Address (0x08|0x0035) plen 7        #2249 12009.392330
        Advertising handle: 0x00
        Advertising random address: FA:F5:EA:1C:62:4C (OUI FA-F5-EA)
> HCI Event: Command Complete (0x0e) plen 4                                      #2250 12009.393198
      LE Set Advertising Set Random Address (0x08|0x0035) ncmd 1
        Status: Success (0x00)
< HCI Command: LE Set Extended Advertising Data (0x08|0x0037) plen 255           #2251 12009.422305
        Handle: 0x00
        Operation: Complete extended advertising data (0x03)
        Fragment preference: Minimize fragmentation (0x01)
        Data length: 0x07
        Flags: 0x06
          LE General Discoverable Mode
          BR/EDR Not Supported
        16-bit Service UUIDs (complete): 1 entry
          Object Transfer (0x1825)
@ USER Close: zephyr.exe                                                      {0x0003} 12019.434205
= Close Index: 00:00:00:00:00:00                                                       12019.434235

followed by what seems to a reboot and some other commands that didn't originate from me:
@ MGMT Event: Index Added (0x0004) plen 0                                     {0x0001} 12019.434461
@ MGMT Command: Read Controller Information (0x0004) plen 0                   {0x0001} 12019.434648
@ MGMT Event: Command Complete (0x0001) plen 283                              {0x0001} 12019.434665
      Read Controller Information (0x0004) plen 280
        Status: Success (0x00)
        Address: 00:00:00:00:00:00 (OUI 00-00-00)
        Version: Reserved (0x0b)
        Manufacturer: The Linux Foundation (1521)
        Supported settings: 0x0001be1b
          Powered
          Connectable
          Discoverable
          Bondable
          Low Energy
          Advertising
          Secure Connections
          Debug Keys
          Privacy
          Static Address
          PHY Configuration
        Current settings: 0x00008a10
          Bondable
          Low Energy
          Secure Connections
          Static Address
        Class: 0x000000
          Major class: Miscellaneous
          Minor class: 0x00
        Name: thalley-desktop-linux #3
        Short name:
@ MGMT Command: Remove UUID (0x0011) plen 16                                  {0x0001} 12019.437423
        UUID: 00000000-0000-0000-0000-000000000000
@ MGMT Event: Command Complete (0x0001) plen 6                                {0x0001} 12019.437445
      Remove UUID (0x0011) plen 3
        Status: Success (0x00)
        Class: 0x000000
          Major class: Miscellaneous
          Minor class: 0x00
@ MGMT Command: Remove Device (0x0034) plen 7                                 {0x0001} 12019.437631
        BR/EDR Address: 00:00:00:00:00:00 (OUI 00-00-00)
@ MGMT Event: Command Complete (0x0001) plen 10                               {0x0001} 12019.437648
      Remove Device (0x0034) plen 7
        Status: Success (0x00)
        BR/EDR Address: 00:00:00:00:00:00 (OUI 00-00-00)
@ MGMT Command: Set Static Address (0x002b) plen 6                            {0x0001} 12019.437817
        Address: FD:60:4B:20:E3:C7 (Static)
@ MGMT Event: Command Complete (0x0001) plen 7                                {0x0001} 12019.437827
      Set Static Address (0x002b) plen 4
        Status: Success (0x00)
        Current settings: 0x00008a10
          Bondable
          Low Energy
          Secure Connections
          Static Address
@ MGMT Command: Set Privacy (0x002f) plen 17                                  {0x0001} 12019.438004
        Privacy: Disabled (0x00)
        Key:<PHONE_NUMBER>0000000000000000000000
@ MGMT Event: Command Complete (0x0001) plen 7                                {0x0001} 12019.438021
      Set Privacy (0x002f) plen 4
        Status: Success (0x00)
        Current settings: 0x00008a10
          Bondable
          Low Energy
          Secure Connections
          Static Address
@ MGMT Command: Read Experimental Features Information (0x0049) plen 0        {0x0001} 12019.438153
@ MGMT Event: Command Complete (0x0001) plen 5                                {0x0001} 12019.438156
      Read Experimental Features Information (0x0049) plen 2
        Status: Success (0x00)
        Features: 0
@ MGMT Command: Set IO Capability (0x0018) plen 1                             {0x0001} 12019.438275
        Capability: KeyboardDisplay (0x04)
@ MGMT Event: Command Complete (0x0001) plen 3                                {0x0001} 12019.438278
      Set IO Capability (0x0018) plen 0
        Status: Success (0x00)
@ MGMT Command: Add UUID (0x0010) plen 17                                     {0x0001} 12019.438396
        UUID: 00001800-0000-1000-8000-00805f9b34fb
        Service class: 0x00
@ MGMT Event: Command Complete (0x0001) plen 6                                {0x0001} 12019.438400
      Add UUID (0x0010) plen 3
        Status: Success (0x00)
        Class: 0x000000
          Major class: Miscellaneous
          Minor class: 0x00
@ MGMT Command: Add UUID (0x0010) plen 17                                     {0x0001} 12019.438526
        UUID: 00001801-0000-1000-8000-00805f9b34fb
        Service class: 0x00
@ MGMT Event: Command Complete (0x0001) plen 6                                {0x0001} 12019.438530
      Add UUID (0x0010) plen 3
        Status: Success (0x00)
        Class: 0x000000
          Major class: Miscellaneous
          Minor class: 0x00
@ MGMT Command: Add UUID (0x0010) plen 17                                     {0x0001} 12019.438669
        UUID: 0000180a-0000-1000-8000-00805f9b34fb
        Service class: 0x00
@ MGMT Event: Command Complete (0x0001) plen 6                                {0x0001} 12019.438674
      Add UUID (0x0010) plen 3
        Status: Success (0x00)
        Class: 0x000000
          Major class: Miscellaneous
          Minor class: 0x00
@ MGMT Command: Read Advertising Features (0x003d) plen 0                     {0x0001} 12019.438842
@ MGMT Event: Command Complete (0x0001) plen 11                               {0x0001} 12019.438846
      Read Advertising Features (0x003d) plen 8
        Status: Success (0x00)
        Flags: 0x000003ff
          Switch into Connectable mode
          Advertise as Discoverable
          Advertise as Limited Discoverable
          Add Flags field to Advertising Data
          Add TX Power field to Advertising Data
          Add Appearance field to Scan Response
          Add Local Name in Scan Response
          Advertise in 1M on Secondary channel
          Advertise in 2M on Secondary channel
          Advertise in CODED on Secondary channel
        Advertising data length: 31
        Scan response length: 31
        Max instances: 5
        Instances: 0
@ MGMT Command: Set Local Name (0x000f) plen 260                              {0x0001} 12019.438979
        Name: thalley-desktop-linux #3
        Short name:
@ MGMT Event: Command Complete (0x0001) plen 263                              {0x0001} 12019.438983
      Set Local Name (0x000f) plen 260
        Status: Success (0x00)
        Name: thalley-desktop-linux #3
        Short name:
@ MGMT Command: Add UUID (0x0010) plen 17                                     {0x0001} 12019.439159
        UUID: 0000110e-0000-1000-8000-00805f9b34fb
        Service class: 0x00
@ MGMT Event: Command Complete (0x0001) plen 6                                {0x0001} 12019.439167
      Add UUID (0x0010) plen 3
        Status: Success (0x00)
        Class: 0x000000
          Major class: Miscellaneous
          Minor class: 0x00
@ MGMT Command: Add UUID (0x0010) plen 17                                     {0x0001} 12019.439342
        UUID: 0000110c-0000-1000-8000-00805f9b34fb
        Service class: 0x00
@ MGMT Event: Command Complete (0x0001) plen 6                                {0x0001} 12019.439348
      Add UUID (0x0010) plen 3
        Status: Success (0x00)
        Class: 0x000000
          Major class: Miscellaneous
          Minor class: 0x00
@ MGMT Command: Add UUID (0x0010) plen 17                                     {0x0001} 12019.439520
        UUID: 00001133-0000-1000-8000-00805f9b34fb
        Service class: 0x00
@ MGMT Event: Command Complete (0x0001) plen 6                                {0x0001} 12019.439526
      Add UUID (0x0010) plen 3
        Status: Success (0x00)
        Class: 0x000000
          Major class: Miscellaneous
          Minor class: 0x00
@ MGMT Command: Add UUID (0x0010) plen 17                                     {0x0001} 12019.439696
        UUID: 00001132-0000-1000-8000-00805f9b34fb
        Service class: 0x00
@ MGMT Event: Command Complete (0x0001) plen 6                                {0x0001} 12019.439701
      Add UUID (0x0010) plen 3
        Status: Success (0x00)
        Class: 0x000000
          Major class: Miscellaneous
          Minor class: 0x00
@ MGMT Command: Add UUID (0x0010) plen 17                                     {0x0001} 12019.439873
        UUID: 0000112f-0000-1000-8000-00805f9b34fb
        Service class: 0x10
@ MGMT Event: Command Complete (0x0001) plen 6                                {0x0001} 12019.439879
      Add UUID (0x0010) plen 3
        Status: Success (0x00)
        Class: 0x000000
          Major class: Miscellaneous
          Minor class: 0x00
@ MGMT Command: Add UUID (0x0010) plen 17                                     {0x0001} 12019.440052
        UUID: 00001104-0000-1000-8000-00805f9b34fb
        Service class: 0x10
@ MGMT Event: Command Complete (0x0001) plen 6                                {0x0001} 12019.440057
      Add UUID (0x0010) plen 3
        Status: Success (0x00)
        Class: 0x000000
          Major class: Miscellaneous
          Minor class: 0x00
@ MGMT Command: Add UUID (0x0010) plen 17                                     {0x0001} 12019.440230
        UUID: 00001106-0000-1000-8000-00805f9b34fb
        Service class: 0x10
@ MGMT Event: Command Complete (0x0001) plen 6                                {0x0001} 12019.440235
      Add UUID (0x0010) plen 3
        Status: Success (0x00)
        Class: 0x000000
          Major class: Miscellaneous
          Minor class: 0x00
@ MGMT Command: Add UUID (0x0010) plen 17                                     {0x0001} 12019.440407
        UUID: 00001105-0000-1000-8000-00805f9b34fb
        Service class: 0x10
@ MGMT Event: Command Complete (0x0001) plen 6                                {0x0001} 12019.440412
      Add UUID (0x0010) plen 3
        Status: Success (0x00)
        Class: 0x000000
          Major class: Miscellaneous
          Minor class: 0x00
@ MGMT Command: Add UUID (0x0010) plen 17                                     {0x0001} 12019.440584
        UUID: 00005005-0000-1000-8000-0002ee000001
        Service class: 0x00
@ MGMT Event: Command Complete (0x0001) plen 6                                {0x0001} 12019.440590
      Add UUID (0x0010) plen 3
        Status: Success (0x00)
        Class: 0x000000
          Major class: Miscellaneous
          Minor class: 0x00
@ MGMT Command: Add UUID (0x0010) plen 17                                     {0x0001} 12019.440760
        UUID: 00001112-0000-1000-8000-00805f9b34fb
        Service class: 0x00
@ MGMT Event: Command Complete (0x0001) plen 6                                {0x0001} 12019.440765
      Add UUID (0x0010) plen 3
        Status: Success (0x00)
        Class: 0x000000
          Major class: Miscellaneous
          Minor class: 0x00
@ MGMT Command: Add UUID (0x0010) plen 17                                     {0x0001} 12019.440936
        UUID: 00001108-0000-1000-8000-00805f9b34fb
        Service class: 0x20
@ MGMT Event: Command Complete (0x0001) plen 6                                {0x0001} 12019.440943
      Add UUID (0x0010) plen 3
        Status: Success (0x00)
        Class: 0x000000
          Major class: Miscellaneous
          Minor class: 0x00
@ MGMT Command: Unblock Device (0x0027) plen 7                                {0x0001} 12019.441114
        BR/EDR Address: 00:00:00:00:00:00 (OUI 00-00-00)
@ MGMT Event: Command Complete (0x0001) plen 10                               {0x0001} 12019.441121
      Unblock Device (0x0027) plen 7
        Status: Success (0x00)
        BR/EDR Address: 00:00:00:00:00:00 (OUI 00-00-00)
@ MGMT Command: Load Long Term Keys (0x0013) plen 2                           {0x0001} 12019.441288
        Keys: 0
@ MGMT Event: Command Complete (0x0001) plen 3                                {0x0001} 12019.441293
      Load Long Term Keys (0x0013) plen 0
        Status: Success (0x00)
@ MGMT Command: Load Identity Resolving Keys (0x0030) plen 2                  {0x0001} 12019.441464
        Keys: 0
@ MGMT Event: Command Complete (0x0001) plen 3                                {0x0001} 12019.441469
      Load Identity Resolving Keys (0x0030) plen 0
        Status: Success (0x00)
@ MGMT Command: Load Connection Parameters (0x0035) plen 2                    {0x0001} 12019.441636
        Parameters: 0
@ MGMT Event: Command Complete (0x0001) plen 3                                {0x0001} 12019.441643
      Load Connection Parameters (0x0035) plen 0
        Status: Success (0x00)
@ MGMT Command: Add UUID (0x0010) plen 17                                     {0x0001} 12019.441807
        UUID: 00001200-0000-1000-8000-00805f9b34fb
        Service class: 0x00
@ MGMT Event: Command Complete (0x0001) plen 6                                {0x0001} 12019.441813
      Add UUID (0x0010) plen 3
        Status: Success (0x00)
        Class: 0x000000
          Major class: Miscellaneous
          Minor class: 0x00
@ MGMT Command: Set Device ID (0x0028) plen 8                                 {0x0001} 12019.441983
        Device ID: USB Implementer's Forum assigned (0x0002)
          Vendor: Linux Foundation (0x1d6b)
          Product: 0x0246
          Version: 5.3.7 (0x0537)
@ MGMT Event: Command Complete (0x0001) plen 3                                {0x0001} 12019.441988
      Set Device ID (0x0028) plen 0
        Status: Success (0x00)
@ MGMT Command: Set Local Name (0x000f) plen 260                              {0x0001} 12019.442153
        Name: thalley-desktop-linux #3
        Short name:
@ MGMT Event: Command Complete (0x0001) plen 263                              {0x0001} 12019.442160
      Set Local Name (0x000f) plen 260
        Status: Success (0x00)
        Name: thalley-desktop-linux #3
        Short name:
@ MGMT Command: Unknown (0x0046) plen 36                                      {0x0001} 12019.442327
        02 00 01 bf 01 fb 9d 4e f3 bc 36 d8 74 f5 39 41  .......N..6.t.9A
        38 68 4c 02 a5 99 ba e4 e1 7c a6 18 22 8e 07 56  8hL......|.."..V
        b4 e8 5f 01                                      .._.
@ MGMT Event: Command Complete (0x0001) plen 3                                {0x0001} 12019.442336
      Unknown (0x0046) plen 0
        Status: Success (0x00)
@ MGMT Command: Add UUID (0x0010) plen 17                                     {0x0001} 12019.446776
        UUID: 0000110b-0000-1000-8000-00805f9b34fb
        Service class: 0x04
@ MGMT Event: Command Complete (0x0001) plen 6                                {0x0001} 12019.446794
      Add UUID (0x0010) plen 3
        Status: Success (0x00)
        Class: 0x000000
          Major class: Miscellaneous
          Minor class: 0x00
@ MGMT Command: Add UUID (0x0010) plen 17                                     {0x0001} 12019.446984
        UUID: 0000110a-0000-1000-8000-00805f9b34fb
        Service class: 0x08
@ MGMT Event: Command Complete (0x0001) plen 6                                {0x0001} 12019.446996
      Add UUID (0x0010) plen 3
        Status: Success (0x00)
        Class: 0x000000
          Major class: Miscellaneous
          Minor class: 0x00
@ MGMT Command: Set Powered (0x0005) plen 1                                   {0x0001} 12019.464738
        Powered: Enabled (0x01)
= Open Index: 00:00:00:00:00:00                                                        12019.464808
< HCI Command: Reset (0x03|0x0003) plen 0                                        #2252 12019.464841
> HCI Event: Command Complete (0x0e) plen 4                                      #2253 12019.466073
      Reset (0x03|0x0003) ncmd 1
        Status: Success (0x00)
< HCI Command: Read Local Supported Features (0x04|0x0003) plen 0                #2254 12019.466118
> HCI Event: Command Complete (0x0e) plen 12                                     #2255 12019.467048
      Read Local Supported Features (0x04|0x0003) ncmd 1
        Status: Success (0x00)
        Features: 0x00 0x00 0x00 0x00 0x60 0x00 0x00 0x00
          BR/EDR Not Supported
          LE Supported (Controller)
< HCI Command: Read Local Version Information (0x04|0x0001) plen 0               #2256 12019.467081
> HCI Event: Command Complete (0x0e) plen 12                                     #2257 12019.468089
      Read Local Version Information (0x04|0x0001) ncmd 1
        Status: Success (0x00)
        HCI version: Reserved (0x0b) - Revision 0 (0x0000)
        LMP version: Reserved (0x0b) - Subversion 65535 (0xffff)
        Manufacturer: The Linux Foundation (1521)
< HCI Command: Read BD ADDR (0x04|0x0009) plen 0                                 #2258 12019.468130
> HCI Event: Command Complete (0x0e) plen 10                                     #2259 12019.469063
      Read BD ADDR (0x04|0x0009) ncmd 1
        Status: Success (0x00)
        Address: 00:00:00:00:00:00 (OUI 00-00-00)
< HCI Command: LE Read Buffer Size (0x08|0x0002) plen 0                          #2260 12019.469133
> HCI Event: Command Complete (0x0e) plen 7                                      #2261 12019.470047
      LE Read Buffer Size (0x08|0x0002) ncmd 1
        Status: Success (0x00)
        Data packet length: 27
        Num data packets: 7
< HCI Command: LE Read Local Supported Features (0x08|0x0003) plen 0             #2262 12019.470120
> HCI Event: Command Complete (0x0e) plen 12                                     #2263 12019.471048
      LE Read Local Supported Features (0x08|0x0003) ncmd 1
        Status: Success (0x00)
        Features: 0xff 0x59 0x01 0x00 0x00 0x00 0x00 0x00
          LE Encryption
          Connection Parameter Request Procedure
          Extended Reject Indication
          Slave-initiated Features Exchange
          LE Ping
          LE Data Packet Length Extension
          LL Privacy
          Extended Scanner Filter Policies
          LE 2M PHY
          LE Coded PHY
          LE Extended Advertising
          Channel Selection Algorithm #2
          Minimum Number of Used Channels Procedure
< HCI Command: LE Read Supported States (0x08|0x001c) plen 0                     #2264 12019.471091
> HCI Event: Command Complete (0x0e) plen 12                                     #2265 12019.472048
      LE Read Supported States (0x08|0x001c) ncmd 1
        Status: Success (0x00)
        States: 0x000003ffff3fffff
          Non-connectable Advertising State
          Scannable Advertising State
          Connectable Advertising State
          High Duty Cycle Directed Advertising State
          Passive Scanning State
          Active Scanning State
          Initiating State
            and Connection State (Master Role)
          Connection State (Slave Role)
          Non-connectable Advertising State
            and Passive Scanning State
          Scannable Advertising State
            and Passive Scanning State
          Connectable Advertising State
            and Passive Scanning State
          High Duty Cycle Directed Advertising State
            and Passive Scanning State
          Non-connectable Advertising State
            and Active Scanning State
          Scannable Advertising State
            and Active Scanning State
          Connectable Advertising State
            and Active Scanning State
          High Duty Cycle Directed Advertising State
            and Active Scanning State
          Non-connectable Advertising State
            and Initiating State
          Scannable Advertising State
            and Initiating State
          Non-connectable Advertising State
            and Connection State (Master Role)
          Scannable Advertising State
            and Connection State (Master Role)
          Non-connectable Advertising State
            and Connection State (Slave Role)
          Scannable Advertising State
            and Connection State (Slave Role)
          Passive Scanning State
            and Connection State (Master Role)
          Active Scanning State
            and Connection State (Master Role)
          Passive Scanning State
            and Connection State (Slave Role)
          Active Scanning State
            and Connection State (Slave Role)
          Initiating State
            and Connection State (Master Role)
            and Master Role & Master Role
          Low Duty Cycle Directed Advertising State
          Low Duty Cycle Directed Advertising State
            and Passive Scanning State
          Low Duty Cycle Directed Advertising State
            and Active Scanning State
          Connectable Advertising State
            and Initiating State
            and Master Role & Slave Role
          High Duty Cycle Directed Advertising State
            and Initiating State
            and Master Role & Slave Role
          Low Duty Cycle Directed Advertising State
            and Initiating State
            and Master Role & Slave Role
          Connectable Advertising State
            and Connection State (Master Role)
            and Master Role & Slave Role
          High Duty Cycle Directed Advertising State
            and Connection State (Master Role)
            and Master Role & Slave Role
          Low Duty Cycle Directed Advertising State
            and Connection State (Master Role)
            and Master Role & Slave Role
          Connectable Advertising State
            and Connection State (Slave Role)
            and Master Role & Slave Role
          High Duty Cycle Directed Advertising State
            and Connection State (Slave Role)
            and Slave Role & Slave Role
          Low Duty Cycle Directed Advertising State
            and Connection State (Slave Role)
            and Slave Role & Slave Role
          Initiating State
            and Connection State (Slave Role)
            and Master Role & Slave Role
< HCI Command: Read Local Supported Commands (0x04|0x0002) plen 0                #2266 12019.472119
> HCI Event: Command Complete (0x0e) plen 68                                     #2267 12019.474070
      Read Local Supported Commands (0x04|0x0002) ncmd 1
        Status: Success (0x00)
        Commands: 61 entries
          Disconnect (Octet 0 - Bit 5)
          Read Remote Version Information (Octet 2 - Bit 7)
          Set Event Mask (Octet 5 - Bit 6)
          Reset (Octet 5 - Bit 7)
          Read Transmit Power Level (Octet 10 - Bit 2)
          Set Controller To Host Flow Control (Octet 10 - Bit 5)
          Host Buffer Size (Octet 10 - Bit 6)
          Host Number of Completed Packets (Octet 10 - Bit 7)
          Read Local Version Information (Octet 14 - Bit 3)
          Read Local Supported Features (Octet 14 - Bit 5)
          Read BD ADDR (Octet 15 - Bit 1)
          Read RSSI (Octet 15 - Bit 5)
          Set Event Mask Page 2 (Octet 22 - Bit 2)
          LE Set Event Mask (Octet 25 - Bit 0)
          LE Read Buffer Size (Octet 25 - Bit 1)
          LE Read Local Supported Features (Octet 25 - Bit 2)
          LE Set Random Address (Octet 25 - Bit 4)
          LE Set Advertising Parameters (Octet 25 - Bit 5)
          LE Read Advertising Channel TX Power (Octet 25 - Bit 6)
          LE Set Advertising Data (Octet 25 - Bit 7)
          LE Set Scan Response Data (Octet 26 - Bit 0)
          LE Set Advertise Enable (Octet 26 - Bit 1)
          LE Set Scan Parameters (Octet 26 - Bit 2)
          LE Set Scan Enable (Octet 26 - Bit 3)
          LE Create Connection (Octet 26 - Bit 4)
          LE Create Connection Cancel (Octet 26 - Bit 5)
          LE Read White List Size (Octet 26 - Bit 6)
          LE Clear White List (Octet 26 - Bit 7)
          LE Add Device To White List (Octet 27 - Bit 0)
          LE Remove Device From White List (Octet 27 - Bit 1)
          LE Connection Update (Octet 27 - Bit 2)
          LE Set Host Channel Classification (Octet 27 - Bit 3)
          LE Read Channel Map (Octet 27 - Bit 4)
          LE Read Remote Used Features (Octet 27 - Bit 5)
          LE Encrypt (Octet 27 - Bit 6)
          LE Rand (Octet 27 - Bit 7)
          LE Start Encryption (Octet 28 - Bit 0)
          LE Long Term Key Request Reply (Octet 28 - Bit 1)
          LE Long Term Key Request Neg Reply (Octet 28 - Bit 2)
          LE Read Supported States (Octet 28 - Bit 3)
          Read Authenticated Payload Timeout (Octet 32 - Bit 4)
          Write Authenticated Payload Timeout (Octet 32 - Bit 5)
          LE Remote Connection Parameter Request Reply (Octet 33 - Bit 4)
          LE Remote Connection Parameter Request Negative Reply (Octet 33 - Bit 5)
          LE Set Data Length (Octet 33 - Bit 6)
          LE Read Suggested Default Data Length (Octet 33 - Bit 7)
          LE Write Suggested Default Data Length (Octet 34 - Bit 0)
          LE Add Device To Resolving List (Octet 34 - Bit 3)
          LE Remove Device From Resolving List (Octet 34 - Bit 4)
          LE Clear Resolving List (Octet 34 - Bit 5)
          LE Read Resolving List Size (Octet 34 - Bit 6)
          LE Read Peer Resolvable Address (Octet 34 - Bit 7)
          LE Read Local Resolvable Address (Octet 35 - Bit 0)
          LE Set Address Resolution Enable (Octet 35 - Bit 1)
          LE Set Resolvable Private Address Timeout (Octet 35 - Bit 2)
          LE Read Maximum Data Length (Octet 35 - Bit 3)
          LE Read PHY (Octet 35 - Bit 4)
          LE Set Default PHY (Octet 35 - Bit 5)
          LE Set PHY (Octet 35 - Bit 6)
          LE Read Transmit Power (Octet 38 - Bit 7)
          LE Set Privacy Mode (Octet 39 - Bit 2)
< HCI Command: Set Event Mask (0x03|0x0001) plen 8                               #2268 12019.474149
        Mask: 0x200080000204e890
          Disconnection Complete
          Encryption Change
          Read Remote Version Information Complete
          Command Complete
          Command Status
          Hardware Error
          Number of Completed Packets
          Data Buffer Overflow
          Encryption Key Refresh Complete
          LE Meta
> HCI Event: Command Complete (0x0e) plen 4                                      #2269 12019.475042
      Set Event Mask (0x03|0x0001) ncmd 1
        Status: Success (0x00)
< HCI Command: LE Set Event Mask (0x08|0x0001) plen 8                            #2270 12019.475070
        Mask: 0x00000000000a0e7f
          LE Connection Complete
          LE Advertising Report
          LE Connection Update Complete
          LE Read Remote Used Features Complete
          LE Long Term Key Request
          LE Remote Connection Parameter Request
          LE Data Length Change
          LE Enhanced Connection Complete
          LE Direct Advertising Report
          LE PHY Update Complete
          LE Extended Advertising Set Terminated
          LE Channel Selection Algorithm
> HCI Event: Command Complete (0x0e) plen 4                                      #2271 12019.476041
      LE Set Event Mask (0x08|0x0001) ncmd 1
        Status: Success (0x00)
< HCI Command: LE Read White List Size (0x08|0x000f) plen 0                      #2272 12019.476114
> HCI Event: Command Complete (0x0e) plen 5                                      #2273 12019.477064
      LE Read White List Size (0x08|0x000f) ncmd 1
        Status: Success (0x00)
        Size: 8
< HCI Command: LE Clear White List (0x08|0x0010) plen 0                          #2274 12019.477101
> HCI Event: Command Complete (0x0e) plen 4                                      #2275 12019.478062
      LE Clear White List (0x08|0x0010) ncmd 1
        Status: Success (0x00)
< HCI Command: LE Read Resolving List Size (0x08|0x002a) plen 0                  #2276 12019.478093
> HCI Event: Command Complete (0x0e) plen 5                                      #2277 12019.479076
      LE Read Resolving List Size (0x08|0x002a) ncmd 1
        Status: Success (0x00)
        Size: 8
< HCI Command: LE Clear Resolving List (0x08|0x0029) plen 0                      #2278 12019.479101
> HCI Event: Command Complete (0x0e) plen 4                                      #2279 12019.480061
      LE Clear Resolving List (0x08|0x0029) ncmd 1
        Status: Success (0x00)
< HCI Command: LE Read Maximum Data Length (0x08|0x002f) plen 0                  #2280 12019.480088
> HCI Event: Command Complete (0x0e) plen 12                                     #2281 12019.481081
      LE Read Maximum Data Length (0x08|0x002f) ncmd 1
        Status: Success (0x00)
        Max TX octets: 27
        Max TX time: 2704
        Max RX octets: 27
        Max RX time: 2704
< HCI Command: LE Read Suggested Default Data Length (0x08|0x0023) plen 0        #2282 12019.481126
> HCI Event: Command Complete (0x0e) plen 8                                      #2283 12019.482053
      LE Read Suggested Default Data Length (0x08|0x0023) ncmd 1
        Status: Success (0x00)
        TX octets: 27
        TX time: 328
< HCI Command: LE Read Number of Supported Advertising S.. (0x08|0x003b) plen 0  #2284 12019.482101
> HCI Event: Command Complete (0x0e) plen 5                                      #2285 12019.483049
      LE Read Number of Supported Advertising Sets (0x08|0x003b) ncmd 1
        Status: Success (0x00)
        Num supported adv sets: 1
< HCI Command: Set Event Mask Page 2 (0x03|0x0063) plen 8                        #2286 12019.483162
        Mask: 0x0000000000800000
          Authenticated Payload Timeout Expired
> HCI Event: Command Complete (0x0e) plen 4                                      #2287 12019.484076
      Set Event Mask Page 2 (0x03|0x0063) ncmd 1
        Status: Success (0x00)
< HCI Command: LE Write Suggested Default Data Length (0x08|0x0024) plen 4       #2288 12019.484113
        TX octets: 27
        TX time: 2704
> HCI Event: Command Complete (0x0e) plen 4                                      #2289 12019.485061
      LE Write Suggested Default Data Length (0x08|0x0024) ncmd 1
        Status: Success (0x00)
< HCI Command: LE Set Default PHY (0x08|0x0031) plen 3                           #2290 12019.485099
        All PHYs preference: 0x00
        TX PHYs preference: 0x01
          LE 1M
        RX PHYs preference: 0x01
          LE 1M
> HCI Event: Command Complete (0x0e) plen 4                                      #2291 12019.486076
      LE Set Default PHY (0x08|0x0031) ncmd 1
        Status: Success (0x00)
= Index Info: 00:00:00:00:00:00 (The Linux Foundation)                                 12019.486151
< HCI Command: LE Set Extended Advertising Parameters (0x08|0x0036) plen 25      #2292 12019.486241
        Handle: 0x00
        Properties: 0x0012
          Scannable
          Use legacy advertising PDUs: ADV_SCAN_IND
        Min advertising interval: 1280.000 msec (0x0800)
        Max advertising interval: 1280.000 msec (0x0800)
        Channel map: 37, 38, 39 (0x07)
        Own address type: Random (0x01)
        Peer address type: Public (0x00)
        Peer address: 00:00:00:00:00:00 (OUI 00-00-00)
        Filter policy: Allow Scan Request from Any, Allow Connect Request from Any (0x00)
        TX power: 127 dbm (0x7f)
        Primary PHY: LE 1M (0x01)
        Secondary max skip: 0x00
        Secondary PHY: LE 1M (0x01)
        SID: 0x00
        Scan request notifications: Disabled (0x00)
> HCI Event: Command Complete (0x0e) plen 5                                      #2293 12019.487066
      LE Set Extended Advertising Parameters (0x08|0x0036) ncmd 1
        Status: Success (0x00)
        TX power (selected): 127 dbm (0x7f)
< HCI Command: LE Set Advertising Set Random Address (0x08|0x0035) plen 7        #2294 12019.487133
        Advertising handle: 0x00
        Advertising random address: 0C:AF:A6:06:E4:2A (OUI 0C-AF-A6)
> HCI Event: Command Complete (0x0e) plen 4                                      #2295 12019.488078
      LE Set Advertising Set Random Address (0x08|0x0035) ncmd 1
        Status: Success (0x00)
< HCI Command: LE Set Extended Scan Response Data (0x08|0x0038) plen 35          #2296 12019.488117
        Handle: 0x00
        Operation: Complete scan response data (0x03)
        Fragment preference: Minimize fragmentation (0x01)
        Data length: 0x0d
        Name (short): thalley-de
> HCI Event: Command Complete (0x0e) plen 4                                      #2297 12019.489223
      LE Set Extended Scan Response Data (0x08|0x0038) ncmd 1
        Status: Success (0x00)
< HCI Command: LE Set Extended Advertising Data (0x08|0x0037) plen 35            #2298 12019.489283
        Handle: 0x00
        Operation: Complete extended advertising data (0x03)
        Fragment preference: Minimize fragmentation (0x01)
        Data length: 0x03
        Flags: 0x04
          BR/EDR Not Supported
@ MGMT Event: Command Complete (0x0001) plen 7                                {0x0001} 12019.489290
      Set Powered (0x0005) plen 4
        Status: Success (0x00)
        Current settings: 0x00008a11
          Powered
          Bondable
          Low Energy
          Secure Connections
          Static Address
> HCI Event: Command Complete (0x0e) plen 4                                      #2299 12019.490038
      LE Set Extended Advertising Data (0x08|0x0037) ncmd 1
        Status: Success (0x00)

Environment (please complete the following information):

OS: linux 5.8.9-arch2-1
Toolchain: Zephyr SDK 0.11.3
Commit SHA: 0076313bcb5a75151c6741b0e252f182568a51ee

Additional context
As mentioned above, the issue only seems to exists when running with HCI over USB.

@Thalley I'm guessing buffer size configurations are not right, especially since you crash on the ext adv data.
Can you enable CONFIG_BT_EXT_ADV in hci_uart as well?
Ideally you would only have to enable that one, but for the moment we have this:
	# Enable by default for BT_LL_SW_SPLIT when "LE Advertising Set Terminated event" is implemented
	default y if BT_EXT_ADV && !BT_LL_SW_SPLIT

@Thalley Have You tried with CONFIG_BT_EXT_ADV as @joerchan suggested, does it work for You?

@emob-nordic @joerchan Not yet, been busy with some issue with Periodic Advertisements. Will try to get around to it tonight.

@emob-nordic @joerchan Adding CONFIG_BT_EXT_ADV to hci_usb (don't have the cables at home to run over UART) gives the same result.
If there's any buffer size configurations I should try, please let me know which :)

Please try to set CONFIG_USB_REQUEST_BUFFER_SIZE to 384 for instance. That fixed the issue for me.

Please try to set CONFIG_USB_REQUEST_BUFFER_SIZE to 384 for instance. That fixed the issue for me.

@emob-nordic That works for me too; wouldn't have guess that the USB buffer would be an issue on a native_posix build :D

@emob-nordic @joerchan
Using the same setup (i.e. the samples/bluetooth/hci_usb/ with CONFIG_BT_CTLR_ADV_EXT=y) I still experience the same issue.
The PR (https://github.com/zephyrproject-rtos/zephyr/pull/28637) sets the HCI buffer size if BT_RX_BUF_LEN > 76 which it will only be by default if e.g. BT_EXT_ADV is enabled.
Setting BT_EXT_ADV=y in the prj.conf file would fix this, but I was under the impression that BT_EXT_ADV as well as BT_RX_BUF_LEN are BT host configurations, and it is somewhat odd that those should have an impact on the the HCI USB project as I see that as a "controller" that exposes a HCI interface over USB.
Am I under the wrong impressions regarding the above?

@Thalley No, those are common configurations, not host specific. BT_RX_BUF_LEN is used by HCI_RAW as well, and BT_RX_BUF_LEN default is determined based on whether BT_EXT_ADV is enabled or not.
You could only set BT_RX_BUF_LEN, but then there are migt be other  buffers you would have to update, so best would be select the BT_EXT_ADV feature.

@joerchan Shouldn't the BT_EX_BUF_LEN select BT_EXT_ADV then? Or extended buffer does not always mean extended advertising?

@joerchan Should the BT_RX_BUF_LEN really be located in subsys/bluetooth/host/Kconfig then?
I see that BT_CTLR_ADV_EXT has default y if BT_EXT_ADV && !BT_LL_SW_SPLIT so I suppose setting BT_EXT_ADV would be sufficient?

Shouldn't the BT_EX_BUF_LEN select BT_EXT_ADV then? Or extended buffer does not always mean extended advertising?

No, the length of the required buffers could be dependent on other features as well, like Data Length Update, maximum MTU, BR/EDR etc.

Should the BT_RX_BUF_LEN really be located in subsys/bluetooth/host/Kconfig then

When you build HCI_USB you are including hci_raw, so I don't think moving this into the Host makes sense, as you should set this option for the controller-only samples.

I see that BT_CTLR_ADV_EXT has default y if BT_EXT_ADV && !BT_LL_SW_SPLIT so I suppose setting BT_EXT_ADV would be sufficient?

Not if you have BT_LL_SW_SPLIT=y, then you need to set it explicitly, this is because the BT_CTLR_ADV_EXT feature is still in development, so I wouldn't want to set it default on unless you are prepared to handle a work in progress feature.

Should the BT_RX_BUF_LEN really be located in subsys/bluetooth/host/Kconfig then

@joerchan The BT_RX_BUF_LEN is currently located in the host Kconfig, and my comment was regarding whether it would make more sense to put into the common on controller part.
Either way, I think it I understand the configs better now, and the PR does fix this issue :)

@Thalley Sorry, I misread. Yes, perhaps it should be moved, but TBH I'm quite happy to leave it alone right now.


Create constants directly from numpy arrays

Now we create a constant node with code like this
empty_shape = op.Constant(value_ints=[0])
depth = op.Reshape(depth, empty_shape)
values = op.Constant(value_ints=[0, 1])
cast_values = op.CastLike(values, X)

The constant is created in a way that is not simplified compared to the onnx helper,especially for multidimensional tensor creation.
Is it possible to create a constant directly from a numpy array?
empty_shape = np.array([0], dtype=np.int32)
depth = op.Reshape(depth, empty_shape)
values = np.array([0, 1], dtype=np.int32)
cast_values = op.CastLike(values, X)

I think that's something we would like to have but don't yet.

We can already do this to some extent. First, I think replacing empty_shape by [0] should work (it will produce an int64 tensor, but that's what we need for Reshape, I believe). Likewise, we can replace values by [0, 1] and that should work too.
For more complex cases (eg., a 2D tensor), I believe we can use a numpy array, as long as it is created outside the script code. What is not yet fully supported is creating a numpy array within the script itself (though, I think it can be done for attribute-values). We do plan to extend the translator to support this, but I think simpler examples such as the one above do not need the extension.

Cc @fengyuentau

You can write something like empty_shape = op.Constant(value=onnx.numpy_helper.from_array(np.array([0]))).


Using --exclude-if-present may crash restic

Output of restic version
restic 0.9.6 compiled with go1.12.12 on linux/amd64
(installed through Ubuntu 20.04 repositories)
How did you run restic exactly?

export B2_ACCOUNT_ID=00xxxxxxxxxxxxxxxxxx
export B2_ACCOUNT_KEY=*****************************
export RESTIC_REPOSITORY="b2:bucketname:/"
export RESTIC_PASSWORD_FILE="/root/restic-backup/repository-password"
/usr/bin/restic backup --verbose --exclude-file=/root/restic-backup/excludes.txt --exclude-caches --exclude-if-present=RESTIC_DO_NOT_BACKUP --limit-download=7000 --limit-upload=3500 /

After some time (<=10min), as an example this gives
open repository
repository 2f226a3a opened successfully, password is correct
lock repository
load index files
start scan on [/]
start backup on [/]
uploaded intermediate index dc963861
Assertion 'set_remove(iterator->links, link) == link' failed at src/shared/userdb.c:314, function userdb_on_query_reply(). Aborting.
SIGABRT: abort[rest of a path that was written here before]
PC=0x7fd53b54818b m=33 sigcode=18446744073709551610[rest of a path that was written here before]

and then a very long list of goroutine stack traces and register contents, I can post them later if desired.
What backend/server/service did you use to store the repository?
Backblaze B2
Expected behavior
restic makes a backup and doesn't crash

Actual behavior
restic crashes after some time

Steps to reproduce the behavior
Running the command shown above on my data (3995485 files, 4.540 TiB according to restic) reproduces the error. It crashes on the same assertion, but not exactly on the same files (as seen on the last two lines of output during the run). No directory actually contains a RESTIC_DO_NOT_BACKUP file, yet. The filenames restic reached on crash looked something like this (may or may not be a coincidence):

/abcdef/ghijk-lmnopq/rstuvwxyz_abcd/2019_07_12_efghijk-lmnopqrstu
/abcdef/ghijk-lmnopq/rstuvwxyz_abcd/2019_10_09_efghijk.tar.gz
/abcdef/ghijk-lmnopq/rstuvwxyz_abcd/efghijk/lmn_opqrstu/vwxyz/abcdefgh-ijk/lmnop/qrstuv-wxyzabcd.sh

Do you have any idea what may have caused this?
Possibly the option --exclude-if-present. If I remove it, the backup chugs along fine.
Do you have an idea how to solve the issue?
No, unfortunately.
Did restic help you today? Did it make you happy in any way?
Not just today! restic seems really great for my use case, which is backing up files over a slowish link to a somewhat untrusted location. I used a hacky DIY approach before; restic saved me from having to maintain all those backup scripts and gifts deduplication on top. Nice work!

Looks like an OS bug, not a restic bug. The error message about a failed assertion is coming from systemd, not restic, and is the same one reported here.

Interesting, makes me wonder how this bug gets triggered. I'm going to close the issue since it doesn't seem to be restic's fault. Moreover, it's possible to work around this by first preparing another --exclude-file through find/locate. Thanks for your help!


Test

Initiative / user story
Info here
Objective
Info here

Results
Info here

Link to feature: https://wellcomecollection.productboard.com/feature-board/planning/features/25086725


Add download date to the archive

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I remove or skip any mandatory* field

Checklist

[X] I'm requesting a feature unrelated to a specific site
[X] I've looked through the README
[X] I've verified that I'm running yt-dlp version 2022.11.11 (update instructions) or later (specify commit)
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Provide a description that is worded well enough to be understood
When using the --download-archive option add the date of download in ISO8601 format in the same line

https://github.com/yt-dlp/yt-dlp/issues/1762#issuecomment-976441715


Add client_lib_id into user-agent of all http requests

We get more and more traffic for FileAPI v2 and looking for an option how to monitor traffic from connectors for quick reaction to errors. The simplest and convenient for all solution to use "User-Agent" header field. The current sdk already has client_lib_id (introduce in #1) but it was added for another reason (indicate link between particular uploaded file and client lib version).
DoD:

SDK adds client_lib_id and version as "User-Agent" for all http requests (doesn't mater GET\POST\DELETE)
If you want to keep the original "User-Agent" too, then add information in the begging of "User-Agent" . An example:
original user-agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; WOW64; Trident/4.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.5.21022)
new user-agent: smartling-api-sdk-net/2.0.2 Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; WOW64; Trident/4.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.5.21022)
User-agent string has format {client_lib_id}/{version}

Done. Published to Nuget.


Ubuntu 14.04 installation problem with Ghost 0.5

Ghost is not installing properly for Ubuntu 14.04. I can't start the node server after npm install --production. Is there a solution for this?

Hi all.
When I try tu run the process from my upstart script, it stops seconds after it starts, and the logs on /var/log/upstart/blog.log are:
><EMAIL_ADDRESS>start /var/www/swanros.com/ghost
> node index

^[[31m
ERROR:^[[39m ^[[31mCannot find module '/var/www/swanros.com/ghost/node_modules/sqlite3/lib/binding/node-v14-linux-x64/node_sqlite3.node'^[[39m

 Error: Cannot find module '/var/www/swanros.com/ghost/node_modules/sqlite3/lib/binding/node-v14-linux-x64/node_sqlite3.node'
    at Function.Module._resolveFilename (module.js:336:15)
    at Function.Module._load (module.js:278:25)
    at Module.require (module.js:365:17)
    at require (module.js:384:17)
    at Object.<anonymous> (/var/www/swanros.com/ghost/node_modules/sqlite3/lib/sqlite3.js:4:15)
    at Module._compile (module.js:460:26)
    at Object.Module._extensions..js (module.js:478:10)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Module.require (module.js:365:17)
    at require (module.js:384:17)

However, if I go to /var/www/swanros.com/ghost and run npm start --production everything works correctly.
Any ideas on this?

@OscarSwanros I recommend trying either the forum or slack for getting help with issues like these.

This error also occurs when you are trying to run a Ghost (ex. 0.5) with unsupported version of Node (ex. 0.12).
Supported version of Node for specific Ghost version can be found in package.json under engines section.


broken fixer

Further to https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues/4731, the fixer that is responsible for moving statements to a new line should not delete blank lines.

The original issue was closed and locked too soon. I opened it to start a discussion. I was not suggesting we should just change the trait fixer.

please follow the issue template

@GrahamCampbell can you provide an example of the change you are describing in https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues/4731? I've tried on SingleTraitInsertPerStatementFixer and single_trait_insert_per_statement,braces.test and cannot reproduce it there.

This bug is actually a priority bug. Disabling the cache and doing a 2nd run actually fixes the code correctly.

Can we re-open this, so I can be reminded that I need to minimally reproduce this, and then actually fix the priorities, which should be quite easy once the issue is identified.

@GrahamCampbell maybe reproduce first, then submit a new issue with the failing case.

I have a failing case. It just has 100 or so fixers.

Can you maybe share that case? I'm really struggling what you expect us to do here?

Looks like I already did: https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues/4731.

I see now, I cannot help rewriting the priority system, lets hope someone else can :)

https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues/4867 shows the issue. Interestingly, I could not reproduce it with fewer than 5 rules!


NOGAN mvp

See #31

Putting these two in the same issue for now, idk
I feel like the design of each depends a lot on the other
Like, we need the structure to be lightweight enough to handle traversing forwards on the tick very easily, and cloning the whole thing, and modifying a past state, etc

Made a schema and an outline of how it works with a mock syntax

made some helpers for creation and some validation whenever you make a child

need to consider different pulse types... do we resolve them when they reach their target? or during the process? probably worth doing it along the way... but we need to support custom arguments in the pulse... gotta validate for that. and we could have multiple pulses. blp.

Maybe should refactor the isFiringRed, etc... to an array of pulses which have their own validator

actually wait no that would lead to memory leaks and defeat the whole purpose of the finite-stateness of it.
it's lame but i might just need a big bulky object for fire/pulse types
maybe a partial

done loads! more to do. on pulses now!
during a tick, a nod should peek into the future if it has to
(or the past?)

did a big refactor to start to separate out the sugar for the API

got some time travel working
deno crashes though, I think it's time for some memo-ing

It's because the time travel wasn't being targeted at only the required nogans.

done!


New issue

Morning session peer to peer

great work Abdifatah,  👏👏👏 your code looks quite clean and easy to understand, I have nothing more to add than to say a good job.

You have done a great  job so far  keep it up.


api role check on activity query

commented out in dev, the where clause for role check needs to move to an actual check against user column of record joined to their access records, vs a check in the blob itself.

maybe we can live with it in the blob for now, as long as the api is putting it there and not the client.