convertRec and null/nil values

Hi,
I think that Instance.Fill misbehaves on nil-values, as it will be unable to marshal them to JSON or decode them properly.
Example:
package main

import (
	"log"

	"cuelang.org/go/cue"
	"cuelang.org/go/cue/build"
)

func main() {
	bctx := build.NewContext()
	cueRuntime := new(cue.Runtime)
	ci, _ := cueRuntime.Build(bctx.NewInstance("test", nil))
	ci, _ = ci.Fill(nil, "test")

	var m map[string]interface{}
	log.Println(ci.Value().Decode(&m))
	log.Printf("%#v", m)
}

// $ go run test.go
// 2019/12/10 14:29:54 cue: marshal error at path test: cannot convert incomplete value "_" to JSON
// 2019/12/10 14:29:54 map[string]interface {}(nil)

From what I understand the bug is in cue/go.go:206:
https://github.com/cuelang/cue/blob/275105a3c865a7444b9552bb115ab1c7db3c088b/cue/go.go#L206
// Interpret a nil pointer as an undefined value that is only
// null by default, but may still be set: *null | _.
return makeNullable(&top{src.base()}, false).(evaluated)

According to the comment the default should be null, however it is marked as false. Changing to
return makeNullable(&top{src.base()}, true).(evaluated)

fixes the behaviour, but breaks the test in https://github.com/cuelang/cue/blob/275105a3c865a7444b9552bb115ab1c7db3c088b/cue/go_test.go#L37 which asserts null | _ instead of *null | _.
Which one is/should be the correct behaviour?
Thank you, Bastian

Can I help with the investigation? I think as null is an element of _ the expression null | _ is equal to _, so it only makes sense to specify null if it is actually marked as default.

Hi @mpvl, sorry for the late answer.
I don't have a PR, my code works around this issue by adding a *null | _ constraint to every nil value
https://github.com/i-love-flamingo/flamingo/blob/master/framework/config/area.go#L255-L262
(as the code used to handle schema-less yaml it originated from that, cue was added later, that's why we have to support both, also we do violate some cue details like hermeticity).
Anyway it's fine for me to treat open _ as undefined, and rely on users to specify the schema if necessary.

This issue has been migrated to https://github.com/cue-lang/cue/issues/220.
For more details about CUE's migration to a new home, please see https://github.com/cue-lang/cue/issues/1078.


Arch detection error on expressInstall

I ran source /dev/stdin <<< "$(wget -qO- https://raw.githubusercontent.com/openziti/ziti/release-next/quickstart/docker/image/ziti-cli-functions.sh)"; expressInstall as directed by the quickstart doc but it gave this error:
ziti-bin/ziti-v0.26.5/ziti-controller: cannot execute binary file: Exec format error
I checked with file ziti-controller and it said ELF 64-bit LSB executable, x86-64
However, my uname -m is aarch64
I believe your ziti-cli-functions.sh needs to change from
  elif [[ "$(uname -a)" == *"arm"* ]]; then
    ZITI_ARCH="arm"
  fi

to
  elif [[ "$(uname -a)" == *"arm"* ]]; then
    ZITI_ARCH="arm"
  elif [[ "$(uname -a)" == *"aarch64"* ]]; then
    ZITI_ARCH="arm64"
  fi

P.S. you may also want to switch from uname -a to uname -m for a more direct arch string comparison

quick workaround until fixed in production:
curl -sLo /tmp/ziti.sh https://raw.githubusercontent.com/openziti/ziti/release-next/quickstart/docker/image/ziti-cli-functions.sh
sed -i 's/ZITI_ARCH="amd64"/ZITI_ARCH="arm64"/' /tmp/ziti.sh
source /dev/stdin <<< "$(cat /tmp/ziti.sh)"; expressInstall

@gberl002 I thought we had this sorted?
@mrbluecoat what OS are you running? MacOS? or are you running on a raspberry pi or other?

It's an Orange Pi R1 Plus

it's easier than pulling the branch... you can just run the source directly:
source /dev/stdin <<< "$(wget -qO- https://raw.githubusercontent.com/openziti/ziti/issue823-expressinstall-aarch64/quickstart/docker/image/ziti-cli-functions.sh)"; expressInstall

that's a link right to the 'raw' form of that branch. @mrbluecoat if that works - would you let us know and we'll merge it back?

Sorry, no luck:
******** Setting Up Environment ********
using default ZITI_HOME: /root/.ziti/quickstart/orangepir1plus
ZITI HOME SET TO: /root/.ziti/quickstart/orangepir1plus
ZITI_BINARIES_VERSION: v0.26.5
Downloading https://github.com/openziti/ziti/releases/download/v0.26.5/ziti-linux-amd64-0.26.5.tar.gz to /root/.ziti/quickstart/orangepir1plus/ziti-bin/ziti-linux-amd64-0.26.5.tar.gz
UNZIPPING /root/.ziti/quickstart/orangepir1plus/ziti-bin/ziti-linux-amd64-0.26.5.tar.gz into: /root/.ziti/quickstart/orangepir1plus/ziti-bin/ziti-v0.26.5
...

Looks like you updated verifyZitiVersionExists but forgot to update getLatestZitiVersion: https://www.diffchecker.com/cUlyhULB

@mrbluecoat Sorry about that, perfect case for The Pragmatic Programmer DRY development principle.
Would you kindly try again? I appreciate your assistance with this.

That worked, thanks

Thanks again @mrbluecoat, this has been merged. Closing the issue
https://github.com/openziti/ziti/pull/824


CLI import fails when a dataset column has empty extra specified

superset import-dashboards fails when a dataset has its “Extra” details specified… but empty (i.e. {}).
How to reproduce the bug

Specify the Extra field:

Go to Data/Datasets menu,
Click on Edit dataset,
Click on Use legacy Editor,
In Edit Table/Detail tab, scroll to the last row and specify Extra as {} (see below).
Save changes.

Export instance: superset export-dashboards --file my_archive.zip
Change instance (should you want to)
Import instance: superset import-dashboards --path my_archive.zip

Expected results
JustWorks™
Actual results
$ superset import-dashboards --path my_archive.zip
…
Command failed validation
2022-03-09 14:32:11,353:INFO:superset.dashboards.commands.importers.dispatcher:Command failed validation
There was an error when importing the dashboards(s), please check the exception traceback in the log
Traceback (most recent call last):
  File "/opt/superset/venv/lib/python3.7/site-packages/superset/cli.py", line 360, in import_dashboards
    ImportDashboardsCommand(contents, overwrite=True).run()
  File "/opt/superset/venv/lib/python3.7/site-packages/superset/dashboards/commands/importers/dispatcher.py", line 64, in run
    raise exc
  File "/opt/superset/venv/lib/python3.7/site-packages/superset/dashboards/commands/importers/dispatcher.py", line 57, in run
    command.run()
  File "/opt/superset/venv/lib/python3.7/site-packages/superset/commands/importers/v1/__init__.py", line 63, in run
    self.validate()
  File "/opt/superset/venv/lib/python3.7/site-packages/superset/commands/importers/v1/__init__.py", line 161, in validate
    raise exception
superset.commands.exceptions.CommandInvalidError: Error importing dashboard
Segmentation fault

Environment

superset version: 1.4.1
python version: 3.7
any feature flags active: "VERSIONED_EXPORT": True.

Checklist
Make sure to follow these steps before submitting your issue - thank you!

[x] I have checked the superset logs for python stacktraces and included it here as text if there are any.
[x] I have reproduced the issue with at least the latest released version of superset.
[x] I have checked the issue tracker for the same issue and I haven't found one similar.

Additional context
I've tracked down the Exception be first thrown by the Marshmallow (version 3.14.1 — current latest) definition, and more precisely this module.
The Exception I get from Superset looks like:
[ValidationError({'columns': {0: {'extra': ['Not a valid mapping type.']}, 1: {'extra': ['Not a valid mapping type.']}})]

(where 0, and 1 are the rank of the columns I have implemented the empty Extra field in).
The Not a valid mapping type is this one.
I can see that, back on Superset's side, the `ImportModelsCommand.contents.items() to be validated contains the following (beautified manually):
dict_items([…,
    (
        'datasets/my_db/my_table.yaml',
        '
        cache_timeout: null
        columns:
        - {column_name: timestamp, description: null, expression: null, extra: \'{}\', filterable: true,
  groupby: true, is_active: true, is_dttm: true, python_date_format: null, type: TIMESTAMP
    WITH TIME ZONE, verbose_name: null}
      …

What is interesting is the extra: \'{}\', part, that is likely causing the issue, and raises this exception that then “bubbles up”.

As an interesting bonus, the Python stack traces not always ends up with
…
superset.commands.exceptions.CommandInvalidError: Error importing dashboard
Segmentation fault

as mentioned above. I have also faced:
2022-03-10 15:56:55,214:INFO:superset.dashboards.commands.importers.dispatcher:Command failed validation
There was an error when importing the dashboards(s), please check the exception traceback in the log
Traceback (most recent call last):
  File "/opt/superset/venv/lib/python3.7/site-packages/superset/cli.py", line 360, in import_dashboards
    ImportDashboardsCommand(contents, overwrite=True).run()
  File "/opt/superset/venv/lib/python3.7/site-packages/superset/dashboards/commands/importers/dispatcher.py", line 64, in run
    raise exc
  File "/opt/superset/venv/lib/python3.7/site-packages/superset/dashboards/commands/importers/dispatcher.py", line 57, in run
    command.run()
  File "/opt/superset/venv/lib/python3.7/site-packages/superset/commands/importers/v1/__init__.py", line 63, in run
    self.validate()
  File "/opt/superset/venv/lib/python3.7/site-packages/superset/commands/importers/v1/__init__.py", line 161, in validate
    raise exception
superset.commands.exceptions.CommandInvalidError: Error importing dashboard
Traceback (most recent call last):
  File "/opt/superset/venv/lib/python3.7/site-packages/superset/cli.py", line 360, in import_dashboards
    ImportDashboardsCommand(contents, overwrite=True).run()
  File "/opt/superset/venv/lib/python3.7/site-packages/superset/dashboards/commands/importers/dispatcher.py", line 64, in run
    raise exc
  File "/opt/superset/venv/lib/python3.7/site-packages/superset/dashboards/commands/importers/dispatcher.py", line 57, in run
    command.run()
  File "/opt/superset/venv/lib/python3.7/site-packages/superset/commands/importers/v1/__init__.py", line 63, in run
    self.validate()
  File "/opt/superset/venv/lib/python3.7/site-packages/superset/commands/importers/v1/__init__.py", line 161, in validate
    raise exception
superset.commands.exceptions.CommandInvalidError: Error importing dashboard

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/superset/venv/bin/superset", line 33, in <module>
    sys.exit(load_entry_point('apache-superset==1.4.1', 'console_scripts', 'superset')())
  File "/opt/superset/venv/lib/python3.7/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/opt/superset/venv/lib/python3.7/site-packages/flask/cli.py", line 586, in main
    return super(FlaskGroup, self).main(*args, **kwargs)
  File "/opt/superset/venv/lib/python3.7/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/opt/superset/venv/lib/python3.7/site-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/opt/superset/venv/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/opt/superset/venv/lib/python3.7/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/opt/superset/venv/lib/python3.7/site-packages/click/decorators.py", line 21, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/opt/superset/venv/lib/python3.7/site-packages/flask/cli.py", line 426, in decorator
    return __ctx.invoke(f, *args, **kwargs)
  File "/opt/superset/venv/lib/python3.7/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/opt/superset/venv/lib/python3.7/site-packages/click/decorators.py", line 21, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/opt/superset/venv/lib/python3.7/site-packages/flask/cli.py", line 426, in decorator
    return __ctx.invoke(f, *args, **kwargs)
  File "/opt/superset/venv/lib/python3.7/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/opt/superset/venv/lib/python3.7/site-packages/superset/cli.py", line 363, in import_dashboards
    "There was an error when importing the dashboards(s), please check "
  File "/usr/lib/python3.7/logging/__init__.py", line 1418, in exception
    self.error(msg, *args, exc_info=exc_info, **kwargs)
  File "/usr/lib/python3.7/logging/__init__.py", line 1412, in error
    self._log(ERROR, msg, args, **kwargs)
  File "/usr/lib/python3.7/logging/__init__.py", line 1519, in _log
    self.handle(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 1529, in handle
    self.callHandlers(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 1591, in callHandlers
    hdlr.handle(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 905, in handle
    self.emit(record)
  File "/opt/superset/venv/lib/python3.7/site-packages/systemd/journal.py", line 157, in emit
    send(**data)
  File "systemd/_journal.pyx", line 68, in systemd._journal.send
  File "systemd/_journal.pyx", line 48, in systemd._journal._send
  File "/opt/superset/venv/lib/python3.7/site-packages/superset/commands/exceptions.py", line 31, in __repr__
    return repr(self)
  File "/opt/superset/venv/lib/python3.7/site-packages/superset/commands/exceptions.py", line 31, in __repr__
    return repr(self)
  File "/opt/superset/venv/lib/python3.7/site-packages/superset/commands/exceptions.py", line 31, in __repr__
    return repr(self)
  [Previous line repeated 320 more times]
RecursionError: maximum recursion depth exceeded while getting the repr of an object

and
Command failed validation
2022-03-10 15:44:46,566:INFO:superset.dashboards.commands.importers.dispatcher:Command failed validation
There was an error when importing the dashboards(s), please check the exception traceback in the log
Traceback (most recent call last):
  File "/opt/superset/venv/lib/python3.7/site-packages/superset/cli.py", line 360, in import_dashboards
    ImportDashboardsCommand(contents, overwrite=True).run()
  File "/opt/superset/venv/lib/python3.7/site-packages/superset/dashboards/commands/importers/dispatcher.py", line 64, in run
    raise exc
  File "/opt/superset/venv/lib/python3.7/site-packages/superset/dashboards/commands/importers/dispatcher.py", line 57, in run
    command.run()
  File "/opt/superset/venv/lib/python3.7/site-packages/superset/commands/importers/v1/__init__.py", line 63, in run
    self.validate()
  File "/opt/superset/venv/lib/python3.7/site-packages/superset/commands/importers/v1/__init__.py", line 161, in validate
    raise exception
superset.commands.exceptions.CommandInvalidError: Error importing dashboard
double free or corruption (out)
Aborted

cc @betodealmeida @eschutho who have a fair bit of context here.

Ah, thanks for the report, @EBoisseauSierra! I'll take a look.

@betodealmeida i find where bug and fix it
superset\datasets\commands\export.py
`
@staticmethod
def _export(model: SqlaTable) -> Iterator[Tuple[str, str]]:
database_slug = secure_filename(model.database.database_name)
dataset_slug = secure_filename(model.table_name)
file_name = f"datasets/{database_slug}/{dataset_slug}.yaml"
    payload = model.export_to_dict(
        recursive=True,
        include_parent_ref=False,
        include_defaults=True,
        export_uuids=True,
    )
    # TODO (betodealmeida): move this logic to export_to_dict once this
    # becomes the default export endpoint
    for key in JSON_KEYS:
        if payload.get(key):
            try:
                payload[key] = json.loads(payload[key])
            except json.decoder.JSONDecodeError:
                logger.info("Unable to decode `%s` field: %s", key, payload[key])

    for column in payload.get("columns", []):
        if column.get("extra"):
            try:
                column["extra"] = json.loads(column["extra"])
            except json.decoder.JSONDecodeError:
                logger.info("Unable to decode `extra` field: %s", column["extra"])

    for metric in payload.get("metrics", []):
        if metric.get("extra"):
            try:
                metric["extra"] = json.loads(metric["extra"])
            except json.decoder.JSONDecodeError:
                logger.info("Unable to decode `extra` field: %s", metric["extra"])

    payload["version"] = EXPORT_VERSION
    payload["database_uuid"] = str(model.database.uuid)

    file_content = yaml.safe_dump(payload, sort_keys=False)
    yield file_name, file_content

    # include database as well
    file_name = f"databases/{database_slug}.yaml"

    payload = model.database.export_to_dict(
        recursive=False,
        include_parent_ref=False,
        include_defaults=True,
        export_uuids=True,
    )
    # TODO (betodealmeida): move this logic to export_to_dict once this
    # becomes the default export endpoint
    if payload.get("extra"):
        try:
            payload["extra"] = json.loads(payload["extra"])
        except json.decoder.JSONDecodeError:
            logger.info("Unable to decode `extra` field: %s", payload["extra"])

    payload["version"] = EXPORT_VERSION

    file_content = yaml.safe_dump(payload, sort_keys=False)
    yield file_name, file_content

`

@betodealmeida i find where bug and fix it superset\datasets\commands\export.py need add this code
for column in payload.get("columns", []): if column.get("extra"): try: column["extra"] = json.loads(column["extra"]) except json.decoder.JSONDecodeError: logger.info("Unable to decode extra field: %s", column["extra"])

@melnikovmaksimv can you provide context on line number . function where this code has to be intriduced?  looks like i am facing the same issue

See issue #19297 @melnikovmaksimv  can you please delete the dataset/database and then try import again?  Continues to fail

Hi @melnikovmaksimv what line in export.py did you add that code?

Thanks for the fix! If someone wants to open a PR with those changes, we can do a quick review and get it merged in.


Unable to Retry Nearby.saveFile() after initial permission failure (granting after initial failure)

Hey Butch, first need to say amazing library!
I have a question regarding the ability to call Nearby.saveFile(serviceId,endpointId,payloadId) after an initial permission failure. Currently, as long as a user has granted permissions to READ/WRITE  external storage, calling Nearby.saveFile() has the promise resolve successfully. If permissions are not granted or are revoked before calling saveFile, one encounters a promise rejection. Until here things are still behaving as expected.
However, in my case I am trying to offer the user the ability to retry executing saveFile() at a later point by storing the serviceId, endpointId, and payloadId before initially calling saveFile. This way, once saveFile() is called and it fails, the user can be prompted to grant permissions within their settings or elsewhere and try calling it again. The problem is that when I allow the user to retry using the same serviceId, endpointId, and payloadId which previously failed due to permissions not being granted, the promise still rejects.
When I adb logcat I see it is failing with the message 03-24 14:31:03.806 24644 26856 V NearbyConnection: Cannot convert to file., which is line #1501 here https://github.com/butchmarshall/react-native-google-nearby-connection/blob/44f1699812c1f9cce37440294d7de1df438b75af/android/src/main/java/com/butchmarshall/reactnative/google/nearby/connection/NearbyConnectionModule.java#L1468-L1526
In other words it seems that
File payloadFile = payload.asFile().asJavaFile(); is null. I decided to log every payload variable until permissionsCheck fires and this is the below output:
03-24 14:31:03.805 24644 26856 V NearbyConnection: saveFile from service com.google.myApp.v1 and endpoint hT4- and payload -6821529802993021226
03-24 14:31:03.805 24644 26856 V NearbyConnection: Payload com.google.android.gms.nearby.connection.Payload@16edba2
03-24 14:31:03.805 24644 26856 V NearbyConnection: payload.getType() 2
03-24 14:31:03.805 24644 26856 V NearbyConnection: payloadFileData  awesomePhoto.WEBP:{"description":"a flower"}
03-24 14:31:03.805 24644 26856 V NearbyConnection: payloadFilename awesomePhoto.WEBP
03-24 14:31:03.805 24644 26856 V NearbyConnection: payloadMetadata {"description":"a flower"}
03-24 14:31:03.806 24644 26856 V NearbyConnection: Cannot convert to file.

Question/s: Any idea why payload.asFile().asJavaFile() returns null when retrying saveFile? Is it that the initial permissions failure causes the payload content to somehow be destroyed within the NearbyConnection cache so there is nothing to call payload.asFile().asJavaFile() on? Although I find it strange that calling payload.getType() works and other metadata still exists on the payload but asFile() fails. Any thoughts here would be amazing.
Assumption/Hypothesis: After the final payload is delivered, Nearby Connections attempts to write the file which, if the permissions are not given, fails. Therefore, regardless if permissions are then granted after, that final payload will still not have a file associated and, as such, will forever fail. If this is correct then there is no other option than to resend the file I'm guessing.
Stackoverflow link: https://stackoverflow.com/questions/55328027/nearbyconnection-payload-asfile-asjavafile-is-null-when-retrying-to-savefil

Hey @Faolain - i'm not entirely sure what's going on here either.  Your use case should work.
The payload is still in the mReceivedPayloads array otherwise you'd get Cannot find payload.
I don't think it would attempt to write the file if no permissions.  It may be the underlying native cleaning up files?  That doesn't make much sense though either that a only a failed permission check would cause that.
I'm sorry but I don't have time to do a deeper investigation at the moment.

Thanks @butchmarshall appreciate it, turns out the google sdk is caching the failures which is leading to this issue. Xlythe submitted a bug ticket to remedy that.


Everytime I deploy strapi, it forgets the plugin info

Every time I deploy strapi it forgets the plugin data.
I have an installation of strapi in a git repo and then use a dockerfile to build and deploy it. I can make changes to the data types using yarn develop on my local and then commit and deploy them and it saves it fine.
However, any changes to plugins like "roles & permissions" and the layout of content for the "content type builder" gets forgotten. This means every deployment all my endpoints lose their authentication and return a 403 which is less than ideal haha. I think I must be missing something.
Thanks very much for any help! Let me know if you need any more detail.

Hi @maxh213 What database are you using ? When deploying strapi if you want to use your local configuration in production you will need to create a migration script. This isn't yet provided by strapi.

ah I see thanks! I'm using postgres. Do you know where the local configuration is stored?

Local and production have seperate databases, it's ok that they have different data on them. But when production gets deployed and it goes offline and the docker image is rebuilt, when it comes back up it has forgotten the details about the plugin. It still has all the info saved in the database.
I assume this means the plugin info is stored locally?

The plugin configuration are stored in DB but if you change them lcoally they won't be saved in your production DB. This is when you need to create migration script to do that :)
I think you got the hang of it. I'm going to close the issue as it is not related to the dockder image. Feel free to go on our community slack to ask for help on building your migration scripts of course !

Thanks for your help Alex!


Who are patient E0 and E1 in column "contractedfromwhichpatientsuspected" column in raw data ?

E0 is the Delhi Congregation event
E1 is the Noida cluster

Thanks a lot


[Members-Only] Tutorial Requests

To support my channel and pay for AWS, I'm planning to start making very SPECIALIZED tutorials for channel members only. If you have any requests, leave them here and be specific as possible. Benchmarks requests -  https://github.com/antonputra/tutorials/issues/355.

Deno 2, NodeJs, Bun with Honojs

Monitoring AWS infrastructure components such as ELBs, S3s, EC2s etc. using Cloudwatch and Grafana OSS.
I would really like to see a code-centric approach to creating everything using IaC tools. Maybe even the Grafana dashboards and panels.

OPENSHIFT tutorial on AWS With Tekton pipelines.

Manage OpenStack, AWS, GCP and Azure with Cloud-Native IaC.

Setting up a solid production environment for a backend service—like a Go-based app using the Chi framework and Postgres. A lot of engineers don’t have clear examples of how to do it right. Things like real-world infrastructure setups and tips for creating a scalable foundation often get overlooked.
It’d be great to have a straightforward, end-to-end guide for setting up a production-ready backend. This could cover everything from monitoring the service, adding a reverse proxy, and building a solid, scalable setup—without focusing too much on what the service actually does.

It would be interesting if there's some course related to Rancher Kubernetes Engine to look how it performs and the management.

Create a learning channel for EKS, sagemaker, terraform and GitHub CI/CD

K8S in OCI, AWS e GCP, cool.

hi Anton, thank you for this opportunity:

effectively setting up SIEM Wazuh for infra (k8s, swarm or for a set of VMs)
integrating open-source SAST/DAST jobs in GitLab CI/CD pipelines for docker methods
Deploying KRaft Kafka cluster with docker using SCRAM-SHA-256 or even better SASL_SSL auth with additional components such as ksqldb, schema-registry, connectors, and more... (for on-premise self-hosted)

Hello @antonputra

Ruby on Rails (Falcon instead of Puma) vs NodeJS (or anything else)

To help setup the project:

Replace gem 'puma' with gem 'falcon'

This is falcon.rb:
#!/usr/bin/env falcon-host

load :rack

hostname = File.basename(__dir__)
port = ENV['PORT'] || 3000

service hostname do
  include Falcon::Environment::Rack

  append preload('preload.rb')
  count ENV.fetch('FALCON_WORKERS_COUNT', 1).to_i
  endpoint Async::HTTP::Endpoint.parse("http://<IP_ADDRESS>:#{port}")
end

Then to run it with (production):
bundle exec falcon host
Also, it's good idea to set a connection pool size that can make most of the DB. Falcon can have connection pool that is independent of thread pool (Falcon should use fibers instead of threads)


Do not create rational from array type.

For fixing issue #26

This all looks sensible to me - my only comment is that it's half a fix, in the sense that various other types will also fail to instantiate std::numeric_limits: abstract types, function types and incomplete types at the very least.  Some of those are probably fixable, incomplete types probably not so much.
I'd also like to test the changes against Boost.Multiprecision for any breakages.

I'd also like to test the changes against Boost.Multiprecision for any breakages.

Done, all looks OK.


cmd: migrate from getopt to argp

Reopened because of fail in #71 / #70
The argument handling is quite hard to make it good when using getopt with help and usage messages. The argp library is a better choice for this task.
Note: cleanup of dirty code or unwanted redundancies will be done from time to time in this PR. If you notice anything that bothers you, please add a comment directly. Thanks!
Checklist:

[x] Migrate command base structure to argp
[ ] Refactor host_init and ast_ahb_access for standardised flags
[ ] Cleanup inconsistencies
[ ] Consolidate possible duplicates and make it more user-friendly
[ ] Add proper git commit messages
[ ] Documentation

@amboar I don't have an AST2600 system on-hand to test the coprocessor stuff. Could you please test if the command still works as before?

@amboar I don't have an AST2600 system on-hand to test the coprocessor stuff. Could you please test if the command still works as before?

Looks like the argument processing is a bit off:
root@ast2600:~# ./culvert -vv coprocessor run 0xba000000 $((32 * 1024 * 1024)) < sclydesdale.bin
[*] Found 5 registered bridge drivers
[*] Trying bridge driver p2a
[*] Trying bridge driver ilpc
[*] Trying bridge driver devmem
[*] Trying bridge driver debug-uart
[*] Opening 33554432
[*] Failed to initialise the console (33554432): -1
[*] Failed to initialise local debug interace on 33554432: -1
[*] Trying bridge driver l2a
[*] Bridge discovery failed, cannot access BMC AHB
[*] Failed to acquire AHB interface

It should instead look like:
root@cc-nvme-mi:~# ./culvert -vv coprocessor run 0xba000000 $((32 * 1024 * 1024)) < sclydesdale.bin
[*] Found 5 registered bridge drivers
[*] Trying bridge driver p2a
[*] Failed to initialise P2A bridge: -2
[*] Trying bridge driver ilpc
[*] Failed to initialise iLPC bridge: -95
[*] Trying bridge driver devmem
[*] Probing devmem
[*] Probing for SoC revision registers
[*] ahb_readl: 0x1e6e2004: 0x05030303
[*] ahb_readl: 0x1e6e207c: 0x00000000
[*] ahb_readl: 0x1e6e2014: 0x05030303
[*] Found revision 0x5030303
...

Looks like the argument processing is a bit off:

Found the issue. That was a leftover when I made the subcommand stuff easier 😄
New commit pushed where the argument processing for host_init is now correct.

Currently:
root@ast2600:~# ./culvert -vv coprocessor run 0xba000000 $((32 * 1024 * 1024)) < sclydesdale.bin
[*] Found 5 registered bridge drivers
[*] Trying bridge driver p2a
[*] Trying bridge driver ilpc
[*] Trying bridge driver devmem
[*] Trying bridge driver debug-uart
[*] Unrecognised argument list for debug interface (2)
[*] Trying bridge driver l2a
[*] Bridge discovery failed, cannot access BMC AHB
[*] Failed to acquire AHB interface

:slightly_smiling_face:
I suspect there's a stray two arguments being passed to devmem_driver_probe(), which then takes an early-exit.

@sinuscosinustan something I have been idly considering for a while is to require a keyword like via (in the vein of ip route ...) to help sync the argument parsing where the user wants a specific interface to be used, e.g:
# culvert write firmware via /dev/ttyUSB0

or maybe even with the bridge name:
# culvert write firmware via debug /dev/ttyUSB0

What do you think?
This might help where there are other positional arguments, such as in the case of the coprocessor run subcommand (which I've just tested again and isn't yet working).
For the record, I plan to tag a release of culvert immediately prior to merging your changes. I think it's reasonable that we can break the command line behaviour a bit subsequent to the tag, in the process of cleaning up the implementation.
Thanks again for your effort here. I'm honestly not sure how you've motivated yourself through it, because I was certainly struggling to motivate myself :sweat_smile:

What do you think?

I was thinking about a generic set of options like -I /dev/ttyUSB0 -H <IP> and so on, but using via is also a cool idea!

For the record, I plan to tag a release of culvert immediately prior to merging your changes
Awesome! At least some breakage possible 😄

I'm honestly not sure how you've motivated yourself through it

Holiday, a lot of caffeine and suffering from the broken parsing 😂

I've pushed commit ae1c35c as proposal.
@amboar What do you think about this? Would this be suitable or would be the via approach better?

I've pushed commit ae1c35c as proposal (I know it'll cause pointer errors and whatsoever in its current state).
@amboar What do you think about this? Would this be suitable or would be the via approach better?

Sorry for the delay; after a quick look I think I prefer the via approach? I'm happy to prototype it myself if you don't prefer that direction (you've done a lot of great work already and I don't want you to feel obligated to any requests on my part).

after a quick look I think I prefer the via approach?

Sounds good! I've tried to take a look into implementing my approach but for some reason argp doesn't want me to use the children option for that and always segfaults with non-explainable coredumps (lol).

I'm happy to prototype it myself if you don't prefer that direction

If you have a small prototype of how it should look like I'd be happy to implement it! In the meanwhile I'll rework the host_init stuff to use struct connection instead and cleanup any inconsistencies.

@amboar I have pushed a new proposal with the via keyword. Yes, it may not look nice rn but the way how iproute2 is doing it is waaaay more disgusting.

@sinuscosinustan so you've motivated me to do something I've been meaning to get to for a while: convert the commands to use autodata.
Can you please take a look at https://github.com/amboar/culvert/pull/77 ?
Regarding your argp rework, the new struct cmd gives us a place to capture argp children. We can hook them into the reference instance, which I think is interesting?

Can you please take a look at https://github.com/amboar/culvert/pull/77 ?

I like the autodata idea. That's definitely an improvement and will make it easier for implementation, although subcommand handling might still be a bit funky (but easier).

the new struct cmd gives us a place to capture argp children

I have looked into argp children in a playground project for some reason the input struct from the state is not being passed into the children's parser (and the children approach does not allow things like via at the end easily). IMO, it'll be easier to not use argp childrens.

We can hook them into the reference instance, which I think is interesting?

We can definitely use the reference instance and combine the subcommand stuff with autodata which will reduce the overall code complexity.


alpine apk repositories version error.

Qinglong version
2.17.12
Steps to reproduce
Use the default compose.
The /etc/apk/repositories file contains the following:
https://mirrors.aliyun.com/alpine/v3.20/main
https://mirrors.aliyun.com/alpine/v3.20/community

However, when trying to install chromium and chromium-chromedriver via the web, errors occur.
What is expected?
success install.
What is actually happening?

The x86_64/APKINDEX.tar.gz file from https://mirrors.aliyun.com/alpine/v3.20/community (shown below) does not contain the 131.0.6778.69-r0 version.
However, the version available on https://mirrors.aliyun.com/alpine/v3.19/community is correct.
System Info
No response
Any additional comments?
No response

mirrors.aliyun.com is a mirror source, version 131.0.6778.69-r0 was released on 2024-11-15 10:43:47, if you are looking for the latest dependencies, please use the official alpine source.
And the chromium in alpine v3.19 is version 124.0.6367.78-r0, not the same version.


Ivory by Tapbots

Ivory by Tapbots
Updated 11302022-143844

GitHub Issue
WTF
Local
Home Page
Press Kit

Social

Announcement Post

Media

Media

App Store Listing!

App Store Share URL
Market Tools Page
ID:<PHONE_NUMBER>

Description
Ivory is a brand new app that brings over a dozen years of experience building the award-winning Tweetbot for Twitter, over to the Mastodon network. We obsess over every detail and put good design and experience first. Download and experience it for yourself. If you liked Tweetbot, you’ll love Ivory!
We are very excited about the future of Ivory and have so many great plans for it. Here’s what you can expect in Ivory now:
⁃ Beautiful visual and sound design
⁃ Blazing fast performance and super smooth scrolling
⁃ Many theme and app icon options
⁃ Support for multiple accounts
⁃ Create and view content warnings
⁃ Create and participate in polls
⁃ Easily search for and post gifs
⁃ Customizable push notifications and viewable notifications tab
⁃ View post statistics for the day and graph for the week in the stats tab
⁃ Powerful mute filters with regex support
⁃ Ability to follow hashtags
⁃ Bookmark posts to refer back to privately
⁃ View local and federated timelines as well as trending posts
⁃ Powerful timeline filters to quickly show/hide posts of different criteria
⁃ Never lose your place in the timeline across Ivory on multiple devices.
Terms: https://www.apple.com/legal/internet-services/itunes/dev/stdeula/
Privacy Policy: https://tapbots.net/ivory/privacy/
Embed

AppStore link didn't work for me. This one does:
https://apps.apple.com/us/app/ivory-for-mastodon-by-tapbots/id6444602274


The webrtc presenters view is visible on the Main Stream view

Presenters view component that is constantly rendered "under the hood" of main stream view leads to some problems especially visible on the mobile version with presenter (https://github.com/membraneframework-labs/membrane_live/pull/109).
Problems include:

Buttom of presenters view displays on mobile when scrolled down.
The presenter view changes it's shape when switching back and forth from vertical to horizontal to vertical again.

This problem is addressed in #109


added some video tutorial links in cryptography.

Hi @Santan47 , please squash all the commits into one.

Hi, @vicky002, can you please tell me how can I squash all these commits into one.

You can easily find that by googling a bit : https://stackoverflow.com/questions/1657017/how-to-squash-all-git-commits-into-one

Thanks, @vicky002, that link was really helpful.

Hey @vicky002, sorry for late replying, actually somehow my algowiki branch is deleted in squashing all the commits into one.
And I am trying to recover it, I searched on google about the recovery of the deleted branch but nothing is happening and I cannot be able to reach my rebase file for squashing commits because of my algowiki branch is deleted. Can you please tell me what can I do?


__ion-dev-server scripts injecting is not compatible with path locationStrategy

Note: for support questions, please use one of these channels:
https://forum.ionicframework.com/
http://ionicworldwide.herokuapp.com/
Short description of the problem:
I'm using path location strategy in Ionic app:
IonicModule.forRoot(MyApp, {
  locationStrategy: 'path'
}),

with nested IonicPage segments (ex. /users/add). All scripts (like chunks 0.main.js etc) are loaded by realitve paths so in my example browser tries to load /users/build/0.main.js. This can be fixed just by adding <base href="/"> at the top of <head>. But in ionic serve there are scripts injected just at the top of of <head> so they're always before <base href="/">, so they're 404'ed:
<link href="__ion-dev-server/ion-dev.css?v=1.3.8" rel="stylesheet">
<script src="__ion-dev-server/ion-dev.js?v=1.3.8"></script>

What behavior are you expecting?
If all the script should be loaded by relative paths (as it is now), __ion-dev-server should be injected at the end of </head>
Steps to reproduce:

Set locationStrategy to path in your app config
Add page with nested segment (ex. /users/add) -(but I'm using nested tabs view)
ionic serve
Open nested page by entering url http://localhost:8100/users/add - in console you'll see 404 for all js and css files

insert any relevant code between the above and below backticks

Which @ionic/app-scripts version are you using?
1.3.8
Other information: (e.g. stacktraces, related issues, suggestions how to fix, stackoverflow links, forum links, etc)

https://github.com/ionic-team/ionic-app-scripts/pull/916


[Bug]: After pi4 power cycle, Zwave yale lock cannot be controlled

Contact Details (optional)
<EMAIL_ADDRESS>What happened?
When my power goes out on my pi4, the zwave yale lock cannot be controlled. The feedback is working, but I cannot send Commands. This can be fixed by doing a manual interview of the node. See attached screen capture showing a before and after interview. Can this be corrected with an automatic interview on power up or retaining the interview information through a power cycle?
If you need I have a full log of the start up from first power on with at the end the manual interview that fixed the problem. The file is 62MB, so could not be attached. I can send to you if required

How to reproduce?
Please list steps to reproduce. If the problem is hardware-specific, please list which devices are affected.
Version
4.3.0
Node-RED Version
1.3.5
What hardware are you seeing the problem on?
Raspberry Pi
Relevant Z-Wave-JS log output
Log is to big to paste here. I can email if required.

Hello,
Define "power cycle" is that shutting down the pi correctly or just pulling the power.

I'd need to see a logfile - you can just upload it here by drag&drop.
Please try to limit it to the power cycle and subsequent driver start where things go wrong.

@WarrenEvans,
As above, we do need the log (focused on the power cycle and start up).
It might also be helpful, to attach your cache files (Before the power cycle)
These can normally be found here:
/home/pi/.node-red/zwave-js-cache/<HomeID>.json
/home/pi/.node-red/zwave-js-cache/<HomeID>.values.jsonl

Marcus
I have attached the files requested.
Regards
Warren Evans
From: Marcus Davies @.>
Sent: Friday, 13 August 2021 7:17 pm
To: zwave-js/node-red-contrib-zwave-js @.>
Cc: WarrenEvans @.>; Mention @.>
Subject: Re: [zwave-js/node-red-contrib-zwave-js] [Bug]: After pi4 power cycle, Zwave yale lock cannot be controlled (#92)
@WarrenEvans https://github.com/WarrenEvans ,
As above, we do need the log (focused on the power cycle and start up).
It might also be helpful, to attach your cache files (Before the power cycle)
These can normally be found here:
/home/pi/.node-red/zwave-js-cache/.json
/home/pi/.node-red/zwave-js-cache/.values.jsonl
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/zwave-js/node-red-contrib-zwave-js/issues/92#issuecomment-898244340 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ABP37HJU4ZU4HG7KX7GSRNDT4TBG3ANCNFSM5CCML5AQ .
Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675  or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .  https://github.com/notifications/beacon/ABP37HLULYL74CHJ2P5KL5TT4TBG3A5CNFSM5CCML5A2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGWFB55A.gif

Marcus
I normally use shutdown while testing.
Regards
Warren Evans
From: Marcus Davies @.>
Sent: Friday, 13 August 2021 6:32 pm
To: zwave-js/node-red-contrib-zwave-js @.>
Cc: WarrenEvans @.>; Author @.>
Subject: Re: [zwave-js/node-red-contrib-zwave-js] [Bug]: After pi4 power cycle, Zwave yale lock cannot be controlled (#92)
Hello,
Define "power cycle" is that shutting down the pi correctly or just pulling the power.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/zwave-js/node-red-contrib-zwave-js/issues/92#issuecomment-898224871 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ABP37HOFWGJFQZAJCR5UAMTT4S357ANCNFSM5CCML5AQ .
Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675  or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .  https://github.com/notifications/beacon/ABP37HK6LTMHFX55NK2JS6TT4S357A5CNFSM5CCML5A2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGWE5FZY.gif

@WarrenEvans,
There are no files attached.

Attaching files doesn't work via e-mail. You'll have to open the issue and upload them via drag and drop.

Marcus
I have attached the log.
Regards
Warren Evans
From: Marcus Davies @.>
Sent: Monday, 16 August 2021 4:27 pm
To: zwave-js/node-red-contrib-zwave-js @.>
Cc: WarrenEvans @.>; Mention @.>
Subject: Re: [zwave-js/node-red-contrib-zwave-js] [Bug]: After pi4 power cycle, Zwave yale lock cannot be controlled (#92)
@WarrenEvans https://github.com/WarrenEvans ,
There are no files attached.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/zwave-js/node-red-contrib-zwave-js/issues/92#issuecomment-899204777 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ABP37HNYSOHQ476CW46JQODT5CHQRANCNFSM5CCML5AQ .
Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675  or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .  https://github.com/notifications/beacon/ABP37HKKI6B74YGAICNAZBTT5CHQRA5CNFSM5CCML5A2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGWMMNKI.gif

Marcus
I have attached the next file.
Regards
Warren Evans
From: Marcus Davies @.>
Sent: Monday, 16 August 2021 4:27 pm
To: zwave-js/node-red-contrib-zwave-js @.>
Cc: WarrenEvans @.>; Mention @.>
Subject: Re: [zwave-js/node-red-contrib-zwave-js] [Bug]: After pi4 power cycle, Zwave yale lock cannot be controlled (#92)
@WarrenEvans https://github.com/WarrenEvans ,
There are no files attached.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/zwave-js/node-red-contrib-zwave-js/issues/92#issuecomment-899204777 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ABP37HNYSOHQ476CW46JQODT5CHQRANCNFSM5CCML5AQ .
Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675  or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .  https://github.com/notifications/beacon/ABP37HKKI6B74YGAICNAZBTT5CHQRA5CNFSM5CCML5A2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGWMMNKI.gif

Marcus
This is the last file. I hope you got them all.
Regards
Warren Evans
From: Marcus Davies @.>
Sent: Monday, 16 August 2021 4:27 pm
To: zwave-js/node-red-contrib-zwave-js @.>
Cc: WarrenEvans @.>; Mention @.>
Subject: Re: [zwave-js/node-red-contrib-zwave-js] [Bug]: After pi4 power cycle, Zwave yale lock cannot be controlled (#92)
@WarrenEvans https://github.com/WarrenEvans ,
There are no files attached.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/zwave-js/node-red-contrib-zwave-js/issues/92#issuecomment-899204777 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ABP37HNYSOHQ476CW46JQODT5CHQRANCNFSM5CCML5AQ .
Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675  or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .  https://github.com/notifications/beacon/ABP37HKKI6B74YGAICNAZBTT5CHQRA5CNFSM5CCML5A2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGWMMNKI.gif

@WarrenEvans Attaching files doesn't work via e-mail. You'll have to open the issue and upload them via drag and drop.

@WarrenEvans,
As mentioned, you need to do this within Github, and not via a reply to email.
Drag the files into the comment box

Sorry for getting this in the wrong place. I have attached the log and the other 2 file.
zwave-js-log.zip

Looks like the driver tries to communicate without encryption. Likely the power out broke your <homeid>.json cache file, where the security status is stored.
This might be the thing I fixed in v8.0.6 https://github.com/zwave-js/node-zwave-js/blob/master/CHANGELOG.md#806-2021-07-28 or this might mean that we need to do https://github.com/zwave-js/node-zwave-js/issues/3091 to solve it.

@WarrenEvans,
I have V5 of this node being released very soon, a few users are using the beta.
This of course, includes the most recent version of z-wave js.
You can install the beta, to see if this fixes the issue you're seeing.
Make sure you log into terminal as a user that has read/write access to .node-red
In the .node-red directory.
npm install --production node-red-contrib-zwave-js@beta
Be warned however! V5 removes an old API model (deprecated in v4)
see https://github.com/zwave-js/node-red-contrib-zwave-js/blob/dev/APIChange.md if you're not already using the new model

V5 has been released.
if you continue to get issues,
please re-open providing a fresh set of log.


Remove expired collaborator from Terraform file/s for trudley

Hi there
This is the GitHub-Collaborator repository bot.
The collaborator trudley review date has expired for the file/s contained in this pull request.
Either approve this pull request, modify it or delete it if it is no longer necessary.

Not required


Extend Fee Policy With Flat Fee For Certificate

Context

The Jörmungandr fee policy actually consists of 3 values:

A coefficient;
A constant fee;
A certificate flat fee.

(see also: https://github.com/input-output-hk/chain-libs/blob/master/chain-impl-mockchain/doc/format.md#type-0-initial-blockchain-configuration)
Our own FeePolicy only represents the first two, and discards the certificate flat fee during binary deserialization.
Decision

Parse the certificate flat fee from the Jörmungandr binary representation.
Extend the FeePolicy type to include the flat certificate fee.
Revise the feeOpts function from the wallet layer and provide multiple constructors to choose the type of policy to apply (so we can easily select whether we need to take certificate fees into account or not).

Acceptance Criteria

cardano-wallet-core FeePolicy must account for certificate flat fees.
cardano-wallet-jormungandr must correctly deserialize fee policy to all three values (constant, coefficient, certificate).
The wallet layer must still ignore certificate fees when balancing standard transactions .

Development Plan

PR

Number
Base

#946
master

QA

The PR was about extending fee policy. Until now it was a + bx like policy where x is byte payload. After extending to a + bx + cy where y is the number of delegated certificates it propagated to the following tests :

https://github.com/input-output-hk/cardano-wallet/pull/946/files#diff-ea01d42dc8106d3d2e18f8ec129c9fa3R581
(here just checking the proper format)
https://github.com/input-output-hk/cardano-wallet/pull/946/files#diff-243dc78f6db975fd4b83e50a4e045bc1R143
(here reading from binary the last part - previously it was ignored)
The above tests are hinting directions for next testing (if one is eager to)

lgtm


Addressing Issue #5241: Updating deepspeed/runtime/zero/stage_1_and_2.py

A soft exception case in stage_1_and_2.py/complete_grad_norm_calculation_for_cpu_offload() is not properly handled. Creating a soft logger Warning to better inform the users for further debugging.

@desire2020, thanks for the PR. However, a common complaint is the high volume of log messages generated by DeepSpeed and so we need to be really careful in introducing new messages. Also, this PR will break symmetry with norm computation for the non-offload case. To help figure out the right solution here, could you please explain the problem that you are fixing? Thanks!

@desire2020, thanks for the PR. However, a common complaint is the high volume of log messages generated by DeepSpeed and so we need to be really careful in introducing new messages. Also, this PR will break symmetry with norm computation for the non-offload case. To help figure out the right solution here, could you please explain the problem that you are fixing? Thanks!

@tjruwase - this issue has more information I believe

@desire2020, are you able to complete this PR? Thanks!

@desire2020, are you able to complete this PR? Thanks!

Hi tjruwase, sorry for the late reply. I was busy on some other works. Yes, I will spend some time to work on it asap, and since a new major release is already there, I'm considering starting a new PR to avoid your major changes to config parsing being affected. What do you think? Let me know of your thoughts.

since a new major release is already there, I'm considering starting a new PR to avoid your major changes to config parsing being affected. What do you think? Let me know of your thoughts.

Either option of a new PR or updating the current is fine with me. Please do whatever is most convenient for you. Thanks for your contribution.


Send a message to a specific user

I'd like to send a message to a specific user. It seems that the connection.send functionality sends the request to everybody. Any solution to target a specific userId?

connection.send(data, specific userid);

Great, thanks a lot. Then it may be nice to document it in the api page ?

I don't know if this part was intentionally or accidentally left out. So If you give your opinion, and the owner/commiters approve it, it would be better to document it.


Implement firebase database for backend

resolved by PR#53
https://github.com/kitgore/codagotchi/pull/53


Speech stops working

Version
4.1.0 (on windows)
Describe the bug
Speech stops working after the emulator has been in use for a while.
At some point, clicking on the mic icon doesn't enable the microphone anymore.
To Reproduce
Steps to reproduce the behavior:
I don't have specific repro steps, just use the emilator for a while (a couple of hours or more) and at some point the mic button should stop working.
The only workaround is to close and reopen the emulator (but it sometimes take a long to restart and it is a pain)
Expected behavior
I would expect the mic button to work without having to restart the emulator.
[bug]

This looks like a WebChat issue. @compulim  - is this a known issue for the WebChat version the Emulator is using?

Bing Speech underwent a big API update to Speech Services back at this year's Ignite. Because of this, Bing Speech no longer allows the creation of new speech bots, and Bing Speech will be deprecated in 10/2019.
Our plan is to have Speech Services supported (through the latest Web Chat) on Emulator very soon, and that progress can be tracked here. At the moment there is no plan to back-support Bing Speech in Emulator or Web Chat. For more information on Web Chat supporting Speech Services, please take a look at https://github.com/Microsoft/BotFramework-WebChat/issues/1336.

OK, I will wait for the new emulator but this issue is very similar with the an issue we have when using webchat on edge (it does work fine in chrome). Hopefully the rewrite to use the new API makes things better (but I wouldn't dismiss this as a Bing speech issue, there seems to be something else going on).

@gabog if you are able to repro on Web Chat via Edge, this definitely sounds like a Web Chat issue - thanks for clarifying. Unfortunately I'm not able to transfer issues over to that repo -- if you manage to pin down more detailed reproduction steps, could you file this issue over there, listing those steps and any error messages you see in the console? Unfortunately debugging a bot that stops working after a few hours would be extremely difficult for us.


Pointer member access operator (->)

We should support the member access operator ->:
typedef struct { int x; } Y;

Y *y;
y->x = 0;
int x = y->x;

Depends on:

[x] #72

The necessary part of #72 is done.

I'm on it.

Closed by #129.


Dart Runtime expects the entrypoint file to be inside lib folder

Previously on 1.3x the entry point file was allowed to be used in the root directory & it wasn't necessary that it should be inside lib directory.
However, on 1.4x function building fails.
Even the default path for the entry point is lib/main.dart if Platform.environment['OPEN_RUNTIMES_ENTRYPOINT'] is null.
If the entry point is in the root directory, the build fails with below error:
server.dart:5:8: Error: Error when reading 'lib/main.dart': No such file or directory
import 'package:packageName/main.dart' as user_code;
       ^
server.dart:107:25: Error: Method not found: 'main'.
              user_code.main(context)
                        ^^^^
server.dart:117:38: Error: Method not found: 'main'.
            output = await user_code.main(context);

Build works fine if the main.dart is inside the lib folder.

The error stems from here, I believe:
serv = serv.replaceAll('{entrypoint}', "package:$packageName/" + fileName);

Proposed solution:

Add relevant info to docs to follow the standard Dart file structure convention
Move the entry point inside the lib directory when building the function.

Moved this issue to appwrite repository. Closing.


Updated UI

MoneyGoWhere is now responsive :)
#193, #206 , #177

Does the reminder list also still responsive after this change? I don't have your code so i cant test it out

Could we add this as well so that the budget area is clearer?

Does the reminder list also still responsive after this change? I don't have your code so i cant test it out

you can pull from my branch if you want to test it out. However, it is responsive in which it shows a horizontal sliding bar when the size is resized to a smaller size. Same as the spending list

Could we add this as well so that the budget area is clearer? (Highlighted in image)

this suggestion should be assigned to @austinsantoso

Fixes #206


Expose list of problems that have yet to be ported for a language track

The /problems endpoint already lists the problems and which languages have implemented them: -- let's add the list of languages that have not implemented them.
In addition, we should add a "todo" key to the language track endpoint itself that lists problems that have yet to be implemented.
If a problem is deprecated or foregone (see the config.json for each language), it should not go in the list.

I'm going to be working through this with @jendiamond @kalisafalzone @ashlopez

Thanks for showing us everything last night, Katrina. I learned so much! We are close to completing the todo list for each track (aka #14).

It was great working with you, see you next week.

@KalisaFalzone and I worked together to create methods out of our sketch from the other night.
I created a Todo class and renamed and re-factored some of the methods.

Create Todo class methods to access tracks and slugs

slugs are the exercises that are written in each language
track are the languages

Methods:
=====
get_slugs
gets a list of all the unique exercises that currently exist in all the language tracks

=====
get_tracks
gets a list of all the language tracks

=====
get_existing_slugs(track)
gets a list of all the exercises that currently exist in a particular language track

=====
get_todo(track)
gets a list of all the exercises that need to be written for a language track to have
  all of the exercises that currently exist between all the tracks

=====
print_todo(track)
print a list of number of exercises that need to be written for a language track to
  have all of the exercises that currently exist between all the tracks

=====
track1_minus_track2(track1, track2)
gets a list of all the exercises that currently exist in a particular language track

The API does not have a command-line, so that method should be omitted.

track1_minus_track2(track1, track2)

I'm not sure what this means. Are we comparing, say, Python to Ruby? If so, why? What does that have to do with TODOs?

get_todo(track)

In Ruby we very rarely use get_ in names.
How about reversing this? We already have a Track object. What if we could ask it what, out of a particular list of slugs, remained to be done?

This was completed.


Rancher network error when attempting to get admin API key and cannot log back in after password reset

Setup

Rancher version: 2.6-head Commit ID 931a0f0
Browser type & version: Chrome Version 94.0.4606.81 (Official Build) (x86_64)

Describe the bug
Network Error when attempting to obtain API key for admin. After logout, cannot log back in with password. Resetting password does not correct issue - still cannot log back in to rancher as admin
To Reproduce

install rancher
login as admin
click on avatar in upper right hand corner
click Account and API keys
click create API key
Network error observed
Logout
Attempt to log back in - ERROR
Reset password via docker
Attempt to login with new password

Result
Cannot generate API key due to network error; cannot log back in to rancher as admin, even after resetting password
Expected Result
API key is generated; admin can login with password
Screenshots

Additional context
I installed 3 instances of this rancher version on separate EC2 instances. I was able to reproduce the error on 2 of the instances.

>

closing this as caching issue; self-signed cert browser problem. hard refresh fixed.


Issue #SB-8381 fix: Implementation : Mimetype streaming expectations (v1)

Issue #SB-8381 fix: Implementation : Mimetype streaming expectations (v1)
Issue link:- https://project-sunbird.atlassian.net/browse/SB-8381
Functional test cases:- 16

Updated base branch to release-1.13.0, hence reopened it


Documentation of pipfile_dir environment variable

Is your feature request related to a problem? Please describe.
I just wanted to know if this variable is documented anywhere and whether or not I can rely on it to get the location of the virtualenv directory
Describe the solution you'd like
Would like to see some documentation on this
Thanks for your time!

I could not find that environment variable in the code base going back many versions, even to 2018.11.26.     I don't believe it is a supported variable or something we should document.


As a developer I want to create a basic infrastructure for a Rest Service in Java using Spring Boot.

Implemented in following commit directly from local Repo Copy to Main. https://github.com/Kakamaka93/MaintenanceMonitor/commit/0f9f3badfe20e042ee2c93b22e5de34315b0645d


Adding many files is a pain

Issue
I just try to add files and it take so long, This is why Aider should be a IDE plugin click and adding files. (IDE, Probably not possible because is Python)
I thought it was smart enough to at least add all files from a directory /add src\components*
But no, I want to add a dozen of files but is so long.
Writing long folders and files names is a pain. Often we miss typing and we redo it all again.
I hate that i cannot work fast and have to write every folders and files typing theme one by one. With AI in IDE it takes seconds.
After 15 min. (And it's append every time working within a project with Aider)
I'm very frustated and i want to leave it all and use less good but faster AI plugins or Cursor.
Version and model info
Aider latest.
model: Any
No GitHub project or repo.

Thank you for filing this issue.
This doc may be helpful -> https://aider.chat/docs/faq.html#how-can-i-add-all-the-files-to-the-chat
It is also possible to add files and folder on the command line like this
aider src/components src/app src/utils/*.ts

But keep in mind that his will possibly add a lot of files and mess up your context.
Another approach is iteratively build your context this way:

/ask I want to create feature X. Please make a plan for the necessary changes, but first ask me for additional files you need to look at.

This will the LLM allow to think about the problem and together with the repository map come up with a list of files it needs to look at.

I'm going to close this issue for now, but feel free to add a comment here and I will re-open. Or feel free to file a new issue any time.


CORE-9975: Allow signing operation to use new key category parameters

Yes sorry, I added that in a previously merged change along with some testing (https://github.com/corda/corda-runtime-os/commit/980f9a5a6b28dff82e37d58384881f82727171b4)

Yes sorry, I added that in a previously merged change along with some testing (980f9a5)

Thanks, it looks like that PR covers the bits that I thought were missing from this PR. I would still consider adding an additional test case (which I don't think we have in that PR) to cover what I mentioned earlier:
asking the signing service to sign when we provide it with both a ledger and notary key, specifying one or the other types, and verifying we only got the one signature back with the correct type


Webpack guides

Hi  to all
I am requesting anyone that has followed the guides more specifically "getting started", and got Webpack to work following their procedure to send me a template, i literally installed and reinstalled packages and their procedure keeps failing.
regards
Dibate

@dibate48 , I have followed the guide and everything works perfectly. His guide is the best source to learn webpack.

Thanks for your response, i will keep trying, may i should remove the lodash functionality from the index.js as it seems to me i likely to unsupported in the versions i am in.
The suggested npx wepack works fine:
![image](https://user-images.githubusercontent.com/45804214/77228401-d8cc8980-6b8f-11ea-97e4-d68f845fa8bb.png
but npx webpack --config webpack.config.js fails, my understanding is that the config file remains supported. i will send the output in a jiffy


ES index names configurables

Related Issue(s):

#126

Description:
Allows to define custom ES index name for "collections" and "items"
PR Checklist:

[x] Code is formatted and linted (run pre-commit run --all-files)
[x] Tests pass (run make test)
[ ] Documentation has been updated to reflect changes, if applicable, and docs build successfully (run make docs)
[ ] Changes are added to the changelog

Looks good I think. Could you add a note to the changelog? Also, it looks like pre-commit is failing. Could you run pre-commit again? Thanks

Changed, thanks for your review

Thank you very much @jonhealy1 !!!


VS Code - File Explorer / Explorer change case

Do you have a question? Please ask it on http://stackoverflow.com/questions/tagged/vscode
Already did, see here

VSCode Version: 1.12.1
OS Version: Ubuntu 16.04

Steps to Reproduce:

Install VS Code
See the issue I mentioned above.

Hi,
I have been asked to come here and put this as an issue/feature/bug? Please can you help?
Cheers.

This is just for UI consinstence, ant it's better than having a My-beautifulDirectory. I think this doesn't hurt you.

This is just for UI consinstence, ant it's better than having a My-beautifulDirectory. I think this doesn't hurt you.

Well it did confuse me hence the StackOverflow post.
Its bad anyway because CAPS is bad, I understand its "Visual Studio menu" thing, but should not be ported to VS Code in my view. Or give an option to opt-out.

This may change some day if there is a redesign, currently no plans to change.

Pretty bad, but okay whatever.


Salsa20 cleanups/performance optimizations.

The performance optimizations come mostly from processing a block at a time in the common case (same as my 'chacha20_perf' branch).
The cleanups aim to increase readability/maintainability of the code (storing the state as an array of 'u32's is more natural and how the papers are written), and also results in a fairly minor performance increase.
Before: salsa20::bench::salsa20_64k 403337 ns/iter (+/- 3252) = 162 MB/s
After: salsa20::bench::salsa20_64k 288177 ns/iter (+/- 1947) = 227 MB/s

Ok, I'm done for real now.  I was going to stop after doing the cleanup pass, but decided I might as well SIMD the thing.  I'm fairly happy with where the performance is at, and I don't think I compromised readability too much.
After (again): salsa20::bench::salsa20_64k  242093 ns/iter (+/- 1784) = 270 MB/s

I had the one minor comment, but, otherwise, this looks good to me. A nice performance improvement is always exciting.
@andreasots - do you have any thoughts?

@DaGenix - Indeed.  I fixed the comment.  Minor brainfart since I've been poking at both algorithms.

Aren't quarterround_a and quarterround_b essentially columnround and rowround? Other than that it looks good.

@andreasots Fixed.  I went and also renamed the swizzle_foo macros for more clarity.

Thanks!

Thanks @andreasots for your input!


AVRO-4023: Move IdlUtils into org.apache.avro.idl

Noticed this when building the distributions.
I think it makes sense to move it just into the idl namspace.
This package hasn't been released before, so we don't break any existing APIs.
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.8.0:jar (module-javadocs) on project avro-idl: MavenReportException: Error while generating Javadoc:
[ERROR] Exit code: 2
[ERROR] error: No source files for package org.apache.avro.util
[ERROR] 1 error
[ERROR] Command line was: /usr/lib/jvm/java-21-openjdk-arm64/bin/javadoc -J-Duser.language= -J-Duser.country= -Xdoclint:none @options @packages
[ERROR]
[ERROR] Refer to the generated Javadoc files in '/home/fokko.driesprong/avro/lang/java/idl/target/apidocs' dir.
[ERROR]
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :avro-idl

What is the purpose of the change
(For example: This pull request improves file read performance by buffering data, fixing AVRO-XXXX.)
Verifying this change
(Please pick one of the following options)
This change is a trivial rework / code cleanup without any test coverage.
(or)
This change is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)

Extended interop tests to verify consistent valid schema names between SDKs
Added test that validates that Java throws an AvroRuntimeException on invalid binary data
Manually verified the change by building the website and checking the new redirect

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

Thanks for the prompt review 🙏


Intellisense and Quick Info do not show F# documentation in FSX files

Version: VS 2017 Visual F# Tools v<IP_ADDRESS>42501
In FSX files only, Intellisense and Quick Info (hover tip) pop-ups show the type signature but not the summary documentation strings for F# core classes, modules and functions. However, the summary docs are displayed correctly for symbols defined by the user in F#, from F# libs and other .NET symbols.
Repro steps
Open an FSX file and type List.ma, or type List.map and hover over the map part.

You should see the doc string: "Builds a new collection whose elements...", but it's missing.

Thanks @theprash
I consider this the next thing I should try :smile:

I believe this is because the default FSharp.Core reference used is the one on
C:\Program Files (x86)\Microsoft SDKs\F#\4.1\Framework\v4.0

which does not have FSharp.Core.xml alongside.  I think we should just install the XML alongside this, that is simplest.  The default reference text used is a fully qualified assembly name "FSharp.Core, Version=<IP_ADDRESS>..." computed by "GetFSharpCoreReferenceUsedByCompiler".  Prior to VS2017 (?) there was no FSharp.Core in the above directory and went to reference assemblies instead.
It's arguable we shouldn't be searching the above directory when resolving FSharp.Core, but that's hard because we have to include the directory in the assembly resolution search paths in order to resolve #r "FSharp.Compiler.Interactive.Settings.dll among others.

Proposed fix is here https://github.com/Microsoft/visualfsharp/pull/2941

Fix has been merged

Thank you!

@dsyme I'm on the latest VF# nightly and the problem remains. I don't have FSharp.Core.xml in the directory you mentioned. What should it take to fix this without manually copying the file?

@theprash Just copy the file.  The VF# nightly doesn't install the file

@dsyme I can do that but I am thinking about fixing existing installations. Just to be clear, would this only be fixed in the next major VS update? Or only after a fresh VS install?

@dsyme  would this be fixed in the next major VS update?

Yes I believe so

@dsyme This problem still remains for me in 15.3. I couldn't fix it with your suggested workaround either.

I confirm the bug is not fixed in 15.3 + today's nightly:

@theprash @vasily-kirichenko Could you check if C:\Program Files (x86)\Microsoft SDKs\F#\4.1\Framework\v4.0 has FSharp.Core.xml in your installation?  Thanks

I have the file there too (with the same modified date, so it's not one that I left there trying the workaround).

@theprash @vasily-kirichenko OK, thanks.

Here's the status of seeing docs from FSHarp.Core.xml in projects and scripts
16.4.5:
FSPROJ: YES
FSX: NO

16.4.5 with master installed into RoslynDev:
FSPROJ: NO
FSX: NO

16.5.0:
FSPROJ: YES
FSX: NO

@cartermp I'm going over all issues and we really need to fix this one.
Currently people doing scripting in F# in Visual Studio just aren't seeing any documentation for FSharp.Core.   Of course experienced people don't notice this but beginners do.
I know this has been regressed a long time but it is a very basic part of the experience, otherwise there's no point in providing any XML docs at all.
On the whole we just have to make sure we don't regress this sort of thing, and if we do we fix it.

Likely a setup thing, since FSharp.Core is a nuget package something needs to get updated to know to look there

Updated workaround: copy FSharp.Core.xml into here:
C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\Common7\IDE\CommonExtensions\Microsoft\FSharp

Re-opening - something has regressed and it's no longer deployed, even though we explicitly deploy this now in our setup file.

Okay, this appears as if it wasn't actually fixed - this apparently also needs ad adjustment: https://github.com/dotnet/fsharp/blob/release/dev16.8/vsintegration/Vsix/VisualFSharpFull/VisualFSharpFull.csproj#L28-L33


[HOLD for payment 2022-09-30] [$250] Web - Login - The input field does not focus after following the magic link

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Go to URL https://staging.new.expensify.com/
In the email field, enter a gmail email address for a new account
Navigate to the email inbox of the account and open the validation email
Copy the link and change it to staging
Navigate to the staging link

Expected Result:
The input field must be focused
Actual Result:
The input field does not focus
Workaround:
Unknown
Platform:

Where is this issue occurring?

Web
iOS
Android
Desktop App
Mobile Web

Version Number: <IP_ADDRESS>
Reproducible in staging?: Yes
Reproducible in production?: Yes
Email or phone of affected tester (no customers): any
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://user-images.githubusercontent.com/93399543/189963694-b68a0db3-04cc-43bc-a5ce-9f8a69a430c6.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub

Not a big issue, but I suppose we should try to get this working.

Proposal
We have to use componentDidMount in NewPasswordForm.js
    componentDidMount() {
        if (!canFocusInputOnScreenFocus() || !this.input) {
            return;
        }
        this.input.focus();
    }

Need to pass ref={el => this.input = el} here -
https://github.com/Expensify/App/blob/a0340070ebf94fe3acde872c8c0c4222edd984c3/src/pages/settings/NewPasswordForm.js#L72

@parasharrajat can you review @thesahindia 's proposal above? Thx
Job posted https://www.upwork.com/jobs/~016f4999710bb43714

Proposal
We need to pass autoFocus={true} props to TextInput and it fixes the issue.
https://github.com/Expensify/App/blob/a0340070ebf94fe3acde872c8c0c4222edd984c3/src/pages/settings/NewPasswordForm.js#L72
Like This
<TextInput
                autoFocus={true}
                label={`${this.props.translate('setPasswordPage.enterPassword')}`}
                secureTextEntry
                autoComplete={ComponentUtils.NEW_PASSWORD_AUTOCOMPLETE_TYPE}
                textContentType="newPassword"
                value={this.props.password}
                onChangeText={password => this.props.updatePassword(password)}
                onBlur={() => this.onBlurNewPassword()}
                onSubmitEditing={() => this.props.onSubmitEditing()}

/>
After Fixing The Issue
Uploading Screen Recording 2022-09-15 at 3.49.44 AM.mov…

I agree the autofocus prop seems preferable. Curious how this is handled on mobile platforms though. Is it simply ignored, or will the soft keyboard be displayed?

Hey, just a question: Why aren't we using autofocus at other places like LoginForm

@Julesssss can you confirm @syedsaroshfarrukhdot 's hire by assigning the issue to them and then I'll hire in Upwork

@mallenexpensify @Julesssss should i apply on upwork ?

@parasharrajat @mallenexpensify  @Julesssss  Just submitted a proposal on Upwork.

Yup, @Julesssss will be back tomorrow.  Something to do with a Queen? English bank holiday?  👑

Already submitted Proposal on Upwork. I will be making a PR by tomorrow.

Hired @syedsaroshfarrukhdot in Upwork.  @parasharrajat will you apply for C+ plz
https://www.upwork.com/jobs/~016f4999710bb43714

Issue not reproducible during KI retests. (First week)

👋 I settled up with @syedsaroshfarrukhdot.
The other hire on this job is @mananjadhav, but @parasharrajat was C+. Any idea what happened there? In the meantime, I've sent Rajat an offer.

I did work on an issue related to magic link and forgot password. But I don't think it is this one.

Gotcha. Any idea which issue and contract that is? Looks like you've been paid for this one, you see.

Yeah I found the issue. Looks like I was paid for https://github.com/Expensify/App/issues/10785 with this issue's Upwork job. I don't see any Upwork job or payment for 10785.

Got it, got it. Cool, so just waiting on @parasharrajat to accept the contract for this job and then we can close it out!

Cool, settled up with @parasharrajat. Thanks everyone! 🎉


Search is not working on live site

When performing a search on https://wpdirectory.net/ the red loading bar reaches the end but no results are shown.

The service is back up now, sorry for such a long period of downtime.
Resolving the initial hosting config issue only highlighted other problems, resulting in my finally having to host it on a Windows computer locally. There is some issue with the use of mmap which is not working on any version of Linux I have tried.
I will continue working on it until I can get it back to being hosted normally. I should have resorted to this local hosting earlier, I have made a note for myself.

Awesome, thanks Peter!
Is there any way WPScan can help? Sponsorship maybe?

The offer is very kind, Ryan. I believe I have all the resources needed- working on it has reminded me that I only took a break to improve my React (this was my first React site), so that I could create a much better interface.
Between the experience of the weaknesses of the first version and using React at work I have everything I need to focus on version 2 now. A more robust and long-term sustainable infrastructure is priority number one.
I would hugely appreciate any feedback, requests and/or stories about how you use wpdir though.


run-ios

Installing build/Build/Products/Debug-iphonesimulator/reading.app
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=2):
Failed to install the requested application
An application bundle was not found at the provided path.
Provide a valid path to the desired application bundle.
Print: Entry, ":CFBundleIdentifier", Does Not Exist
Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/reading.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist

Use Xcode to run and try again.


z3: 4.8.1 -> 4.8.3

Motivation for this change
https://github.com/Z3Prover/z3/releases/tag/z3-4.8.3
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[x] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Success on x86_64-darwin (full log)
Attempted: z3
Partial log (click to expand)
strip is /nix/store/mvpvjar6m4jpjcz48715w2pax53djv6g-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/96d0m6jmjq47hcgs9wy20hxvvfji2rcr-z3-4.8.3-lib/lib
patching script interpreter paths in /nix/store/96d0m6jmjq47hcgs9wy20hxvvfji2rcr-z3-4.8.3-lib
/nix/store/96d0m6jmjq47hcgs9wy20hxvvfji2rcr-z3-4.8.3-lib/lib/libz3.dylib: fixing dylib
strip is /nix/store/mvpvjar6m4jpjcz48715w2pax53djv6g-cctools-binutils-darwin/bin/strip
patching script interpreter paths in /nix/store/37kzybhqwbjnqklxgv1agn5z02cl5xi1-z3-4.8.3-dev
strip is /nix/store/mvpvjar6m4jpjcz48715w2pax53djv6g-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/fl1lnxwk28fkspv60yk2aizp5qbjm2mf-z3-4.8.3-python/lib
patching script interpreter paths in /nix/store/fl1lnxwk28fkspv60yk2aizp5qbjm2mf-z3-4.8.3-python
/nix/store/ja7dd8kx971vrfmvb06q8z8ndbsr4bds-z3-4.8.3


Avoid runtime checks when possible in BuilderInfo.add

This avoids casting default value builders to dynamic in Builder.add
when possible.
Fixes #575

@mkustermann Martin could you review?


Add PgAdmin4

Adding PgAdmin4
It this PR I add PgAdmin4 and provide an additional way to manage application's database

[x] PR has the only feature
[x] PR has a code example for this feature
[] PR has tests
[x] Commits are reasonably squashed
[] Release note is attached

  docker compose -f Rails7StartKit/docker/docker-compose.yml exec --user root  pgadmin /bin/sh

  apk update
  apk add busybox-extras
  telnet psql 5432

  apk --update add postgresql-client
  psql -h psql -d rails7_app_development -U postgres / qwerty


Failed to bind to address http://<IP_ADDRESS>:5000: address already in use.

Attempting to add a YARP site on a server that already has IIS for sites.
From my understanding I need to auto-bind to an open port, but ""{**catch-all}"" seems to be the wrong setting.
What is the correct configuration to be able to run YARP side by side with IIS?
Any help appreciated - thanks!
 "ReverseProxy": {
   "Routes": {
     "route1" : {
       "ClusterId": "cluster1",
       "Match": {
         "Path": "{**catch-all}"
       },
     }
   },
   "Clusters": {
     "cluster1": {
       "Destinations": {
         "destination1": {
           "Address": "https://example.com/"
         }
       }
     }
   }
 }
}

Application: MySite.exe
CoreCLR Version: <IP_ADDRESS>210
.NET Version: 6.0.0
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.IOException: Failed to bind to address http://<IP_ADDRESS>:5000: address already in use.
 ---> Microsoft.AspNetCore.Connections.AddressInUseException: Only one usage of each socket address (protocol/network address/port) is normally permitted.
 ---> System.Net.Sockets.SocketException (10048): Only one usage of each socket address (protocol/network address/port) is normally permitted.
   at System.Net.Sockets.Socket.UpdateStatusAfterSocketErrorAndThrowException(SocketError error, String callerName)
   at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.Sockets.Socket.Bind(EndPoint localEP)
   at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportOptions.CreateDefaultBoundListenSocket(EndPoint endpoint)
   at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketConnectionListener.Bind()
   --- End of inner exception stack trace ---
   at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketConnectionListener.Bind()
   at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportFactory.BindAsync(EndPoint endpoint, CancellationToken cancellationToken)
   at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure.TransportManager.BindAsync(EndPoint endPoint, ConnectionDelegate connectionDelegate, EndpointConfig endpointConfig, CancellationToken cancellationToken)
   at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.<>c__DisplayClass30_0`1.<<StartAsync>g__OnBind|0>d.MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindEndpointAsync(ListenOptions endpoint, AddressBindContext context, CancellationToken cancellationToken)
   --- End of inner exception stack trace ---
   at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindEndpointAsync(ListenOptions endpoint, AddressBindContext context, CancellationToken cancellationToken)
   at Microsoft.AspNetCore.Server.Kestrel.Core.LocalhostListenOptions.BindAsync(AddressBindContext context, CancellationToken cancellationToken)
   at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.DefaultAddressStrategy.BindAsync(AddressBindContext context, CancellationToken cancellationToken)
   at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindAsync(IEnumerable`1 listenOptions, AddressBindContext context, CancellationToken cancellationToken)
   at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.BindAsync(CancellationToken cancellationToken)
   at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.StartAsync[TContext](IHttpApplication`1 application, CancellationToken cancellationToken)
   at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
   at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)
   at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
   at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
   at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.Run(IHost host)
   at Microsoft.AspNetCore.Builder.WebApplication.Run(String url)
   at Program.<Main>$(String[] args) in C:\...\workspace\MySite_deploy-dev\Web\Program.cs:line 927
   at Program.<Main>(String[] args)

The ReverseProxy config section is unrelated to the incoming server bindings and that port conflict error. You need to configure the kestrel server bindings like this:
https://docs.microsoft.com/en-us/aspnet/core/fundamentals/servers/kestrel/endpoints?view=aspnetcore-6.0


Log out everywhere

As a user I want to be logged out of every app when I log out

Not complete. It wasn't on the original requirements list, but can be added.

Closing older issues that were created during the initial server planning process, but are not part of the current feature set.


Refactor integration_tests

Make integration tests follow the pattern ./integration_tests/<TOPOLOGY>/<TEST_NAME>/foo.go
Move binding to internal directory
Remove bgp_triggered_gue from CI tests

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
9 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.1%) to 66.243%

Files with Coverage Reduction
New Missed Lines
%

sysrib/zapi.go
9
65.79%

Totals

Change from base Build<PHONE_NUMBER>:
-0.1%

Covered Lines:
4070

Relevant Lines:
6144

💛  - Coveralls


installation issues on windows

Love this idea, trying to install/get it working on windows, so if anyone else has please let me know your steps.
Other mcp servers are working with this caude_desktop_config.json:
{
  "mcpServers": {
    "filesystem": {
      "command": "node",
      "args": [
<EMAIL_ADDRESS>
        "E:\\Repositories\\sandbox"
      ]
    },
    "git": {
      "command": "python",
      "args": ["-m", "mcp_server_git", "--repository", "E:\\Repositories\\bloom\\"]
    },
    "mcpserver": {
      "command": "uv",
      "args": [
        "--directory",
        "E:\\Repositories\\sandbox\\mcpserver",
        "run",
        "mcpserver"
      ]
    },
    "Demo": {
      "command": "uv",
      "args": [
        "run",
        "--with",
        "fastmcp",
        "fastmcp",
        "run",
        "E:\\Repositories\\sandbox\\demo.py"
      ]
    }
  }
}

I've tried (in windsurf cmd prompt):
E:\Repositories\sandbox>uv pip install fastmcp
Audited 1 package in 13ms

E:\Repositories\sandbox>fastmcp install demo.py
'fastmcp' is not recognized as an internal or external command,
operable program or batch file.

E:\Repositories\sandbox>C:\Users\Max\AppData\Roaming\Python\Python312\Scripts\fastmcp.exe install demo.py
[12/02/24 09:17:43]
INFO     Added server 'Demo' to Claude config            claude.py:108
INFO     Successfully installed Demo in Claude app       cli.py:402

So the installation went well, but when restarting Claude Desktop, it failed to recognise fastmcp. The cmd terminal launches in the background, but then closes, suggesting an error somewhere, but there's no traceback.
Not sure if we can run servers externally? I tried this and it just sits there, and Claude doesn't recognise it even after a restart:
E:\Repositories\sandbox>C:\Users\Max\AppData\Roaming\Python\Python312\Scripts\fastmcp.exe run demo.py

then I tried this:
E:\Repositories\sandbox>C:\Users\Max\AppData\Roaming\Python\Python312\Scripts\fastmcp.exe run E:\Repositories\sandbox\demo.py
File not found: E:\Repositories\sandbox\E

Which suggests that's the root of the problem - maybe fastmcp is not handling windows paths very well at the moment? How can I get more verbose output?
I've tried with and without venv, pip installing directly, using uv, etc...
I've also tried calling fastmcp directly from claude's config:
    "Demo": {
      "command": "C:\\Users\\Max\\AppData\\Roaming\\Python\\Python312\\Scripts\\fastmcp.exe",
      "args": [
        "run",
        "E:\\Repositories\\sandbox\\demo.py"
      ]
    }

So far no luck.

Thanks for the report - definitely odd, I will look into this. If you have any other detail / logs please share them, and I can try to add more verbose output in places that will help.

See https://github.com/jlowin/fastmcp/pull/42 for a fix

I believe this was closed in #42, please reopen if not!

(release should go out tonight)

https://github.com/jlowin/fastmcp/releases/tag/v0.3.5


adding additional STAC resources other that GEE

I think it would be good to add other STAC resources. e.g ArcticDEM V4 (much better than V3) is available through AWS.
https://registry.opendata.aws/pgc-arcticdem/
Cubo (https://github.com/ESDS-Leipzig/cubo) might also be a option to access data to custom STAC catalogs

Cubo looks amazing, let's see what we can do :blush:


Bring up-to-date with latest matrix-sdk (5d46b35d)

In my quest to make method names consistent I first needed to reflect previous changes from matrix-sdk.

(if you converted that reference to be a proper {@link ...}, like some of the other docs, then this sort of nonsense would be caught by CI)


v4.0.0 failed to build

I follow the doc:
https://github.com/strangelove-ventures/noble-networks/blob/main/mainnet/noble-1/chain-upgrades/v4.0.0/README.md
Error:
go install -mod=readonly -tags "netgo ledger" -ldflags '-X github.com/cosmos/cosmos-sdk/version.Name=noble -X github.com/cosmos/cosmos-sdk/version.AppName=nobled -X github.com/cosmos/cosmos-sdk/version.Version=4.0.0 -X github.com/cosmos/cosmos-sdk/version.Commit=28bc842ed691e6a7ecf284177fe1e7284f5678b3 -X "github.com/cosmos/cosmos-sdk/version.BuildTags=netgo ledger," -X github.com/tendermint/tendermint/version.TMCoreSemVer=v0.34.27' ./cmd/nobled
go: downloading github.com/circlefin/noble-cctp v0.0.0-20231013164358-dc81b3e0d566
app/app.go:113:2<EMAIL_ADDRESS>invalid version: git ls-remote -q origin in /root/go/pkg/mod/cache/vcs/5208368c48cabb2825e5bc32e4743dc57a572b086be03758a66e3bd5f18d537e: exit status 128:
        fatal: could not read Username for 'https://github.com': terminal prompts disabled
Confirm the import path was entered correctly.
If this is a private repository, see https://golang.org/doc/faq#git_https for additional information.
app/app.go:114:2<EMAIL_ADDRESS>invalid version: git ls-remote -q origin in /root/go/pkg/mod/cache/vcs/5208368c48cabb2825e5bc32e4743dc57a572b086be03758a66e3bd5f18d537e: exit status 128:
        fatal: could not read Username for 'https://github.com': terminal prompts disabled
Confirm the import path was entered correctly.
If this is a private repository, see https://golang.org/doc/faq#git_https for additional information.
app/app.go:115:2<EMAIL_ADDRESS>invalid version: git ls-remote -q origin in /root/go/pkg/mod/cache/vcs/5208368c48cabb2825e5bc32e4743dc57a572b086be03758a66e3bd5f18d537e: exit status 128:
        fatal: could not read Username for 'https://github.com': terminal prompts disabled
Confirm the import path was entered correctly.
If this is a private repository, see https://golang.org/doc/faq#git_https for additional information.
make: *** [Makefile:82: install] Error 1

Because the circlefin/noble-cctp codebase is still private, you should use the official prebuilt binaries found in the v4.0.0 release tag!


[e2e]: container-based tag main default slsa3

Repo: https://github.com/slsa-framework/example-package/tree/v35.0.447
Run: https://github.com/slsa-framework/example-package/actions/runs/9459375913
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.container-based.tag.main.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.container-based.tag.main.default.slsa3.yml
Trigger: push
Branch: v35.0.447
Date: Tue Jun 11 04:05:51 UTC 2024

Repo: https://github.com/slsa-framework/example-package/tree/v35.0.448
Run: https://github.com/slsa-framework/example-package/actions/runs/9476506599
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.container-based.tag.main.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.container-based.tag.main.default.slsa3.yml
Trigger: push
Branch: v35.0.448
Date: Wed Jun 12 04:49:03 UTC 2024
Tests are passing now. Closing this issue.


Very early Settings app that can only show you theme-related settings.

I'll edit this more later. Only pulling it in now to have something there. There's still a lot of stuff based on the search app that hasn't been changed because I haven't had to yet (mainly the about page and main.py), but it will have to be changed eventually. Can't tab through the list or use the arrow keys, and it's probably really bad on the screen reader front right now, too.
I did figure out how to have text colorized by the accent color, which you can see on the "start+theme" page.
Something I'm also doing is adding a way to run commands from the appbar drawer, which will be used eventually for pinning stuff, for example. Right now all there is is just a debug button that outputs "hello" in the console.

Remember to do the setting preview text below each applicable item in the list, and figure out a way to loop through the QML files in ./pages (and whatever other folder I decide on to allow other packages to add their own page, as previously mentioned) and just show them in the list automatically without the list having to be hardcoded.
Some items may need to update after loading the list, though. Not sure how to do that unless I can have a way to have it so that pages can pull from either the relevant config file (will need a way to grab a file from a different folder if it doesn't install/save/load in the same folders my stuff is in) or from a D-Bus thing.