mosaic table in PG database

Enable retrieving mosaic by name instead of mosaicid

name
mosaicid
minzoom
maxzoom
bounds
default assets
available assets

"vincent.mosaic"
"ada12e921qduashdas"
0
24
[-180, -90, 180, 90]
["cog"]
["cog", "thumbnail", "raw"]

@vincentsarago Can we also consider having the root mosaic endpoint return a list of the mosaics and their name and mosaicid?  This might assist in discoverability for some of the VEDA / Dashboard evolution work.

@sharkinsspatial

Can we also consider having the root mosaic endpoint return a list of the mosaics and their name and mosaicid?

Sure, but only if we go ahead with a new mosaic table in the pgstac database. It might be fine for EOapi but I'm a bit worry. The goal of eoAPI submodules is to connect to any pgstac db. if we introduce a mosaic table this might close some possibility.
Maybe https://github.com/stac-utils/titiler-pgstac/issues/30 is a better possibility. We could require a specific metadata to be present (e.g type: Mosaic) and use it as a filter value
cc @bitner

@bitner As we're expanding the use of pgstac-titiler at NASA we have a few use cases where client applications will need to request information about all available mosaics in order to dynamically configure a list of available tile endpoints and their characteristics.  With https://github.com/stac-utils/titiler-pgstac/pull/38 and several follow on PRs @vincentsarago is serializing the majority of the information we need.  Is it feasible from a performance perspective to include a root mosaics endpoint which would fetch, deserialize and return all mosaic hashes as is available with the current individual info endpoint https://github.com/stac-utils/titiler-pgstac/blob/0f2b5b4ba50bb3458237ab21cf9a154d7b811851/titiler/pgstac/factory.py#L359-L367?  cc @anayeaye @abarciauskas-bgse

I've made an addition PR in https://github.com/stac-utils/titiler-pgstac/pull/45
@sharkinsspatial let me know what you think!

@sharkinsspatial EEEEK, I realllllly don't think you want to do that!
That endpoint lists every single search that has ever been made against the pgstac instance! If someone changes a date range, it's another record, etc.
For reference - Planetary Computer has over 4 million different records in the searches table!
I think it could be useful for something like seeing what people are searching on to debug things, but with no control over the searches that are getting recorded I don't see any possible world where it could be useful or scale to any reasonable amount as a "mosaic catalog". I'm not talking about performance here - it could perform just fine, it's more along the lines of I can't see how would you make any sense of it?
These mosaics are by design dynamic - a listing of "every dynamic thing that people can come up with" just doesn't seem right. It may be that I'm just missing something here, but I really don't see how this could be useful??? At least for the Planetary Computer, we are already seeing things in the logs where someone is setting up cron jobs that change the date range every so often and use that to grab new data -- someone could do this against a stac instance say every minute with each and every query being different, so being another record.

@bitner I totally get your point, but mosaic are a little less dynamic and will often be more hard coded search (e.g for static dataset like naip)
In https://github.com/stac-utils/titiler-pgstac/pull/45 what I'm proposing is that we filter only search that have a specific metadata metadata.type = "mosaic" which should narrow things down.

or maybe we could use stac directly 🤷 which means that we could create a mosaic extension and store the mosaic info in a mosaic collection.
{
  "type": "Feature",
  "stac_version": "1.0.0",
  "stac_extensions": [
    "https://stac-extensions.github.io/mosaic/v1.0.0/schema.json",
  ],
  "id": "my search id",
  "bbox": [
    13.86148243891681,
    36.95257399124932,
    15.111074610520053,
    37.94752813015372
  ],
  "geometry": {
    "type": "Polygon",
    "coordinates": [
      [
        [
          13.876381589019879,
          36.95257399124932
        ],
        [
          13.86148243891681,
          37.942072015005024
        ],
        [
          15.111074610520053,
          37.94752813015372
        ],
        [
          15.109620666835209,
          36.95783951241028
        ],
        [
          13.876381589019879,
          36.95257399124932
        ]
      ]
    ]
  },
  "properties": {
    "datetime": "2021-02-21T10:00:17Z",  // or null
    "name": "my mosaic", // OPTIONAl: name of the mosaic
    "stac_assets": ["image", "cog"]  // OPTIONAl: List of available assets in each STAC records
  },
  "collection": "mosaics",
  "assets": {
    "true_color": {
      "title": "True color Mosaic",
      "href": "https://endpoint/{searchid}/{z}/{x}/{y}.jpeg",
      "options": {
        "assets": ["B4", "B3", "B2"],
        "color_formula": "Gamma RGB 3.5 Saturation 1.7 Sigmoidal RGB 15 0.35",
      }
    },
    "ndvi": {
        "title": "NDVI Mosaic",
        "href": "https://endpoint/{searchid}/{z}/{x}/{y}.jpeg",
        "options": {
            "expression": "(B4-B3)/(B4+B3)",
            "rescale": "-1,1",
            "colormap_name": "viridis",
        }
    }
  },
  "links": []
}

@vincentsarago I see the point now on mosaics only being records with "mosaic" metadata. If nothing else, we would need to make sure to put an index on the searches table to make sure that the mosaics could be easily separated. Thant being said, I like your idea of a mosaic collection -- that further would allow us to use all the search mechanisms "for free" on any metadata that is stored as a mosaic item.

If we went the mosaic collection route, rather than having a /list endpoint it would just me /mosaics/items and would have search/filters as well as paging already in place.

re STAC way: I'm just a bit worry about creating a stac extension specific for titiler/titiler-pgstac. It seems to me that

put an index on the searches table to make sure that the mosaics could be easily separated

might just be easier 🙉

I do like the idea of modeling mosaic endpoints as STAC items (though as @vincentsarago noted, I don't like losing the consistency of all mosaic related requests occurring on the mosaic path but that seems a small issue).  If we do consider this approach a few thoughts/questions.

There is significant conceptual overlap with this and the existing extension proposals tiled assets, virtual assets and composite.  Personally I think we can avoid alignment with tiled assets as it would be overly verbose to advertise all of a mosaic's supported TileMatrixSets and the dynamic nature of the mosaic's item composition makes maintaining the Tile Matrix Limits difficult.  It might be worth considering aligning with the processing:expression field for community consistency.

Should mosaic asset href expose a url template (which is not a valid href) or the link to the tilejson?  How much of this information should be packaged in asset and how much should be packaged in the tilejson?  I'd lean towards packaging most of the descriptive information at the asset level and keeping tilejson standardized and minimal.

It would be helpful to know what the current model that is being used for mosaic endpoint discovery by client applications.  I took a quick look at https://github.com/microsoft/PlanetaryComputerDataCatalog but it might be good to know how the PC explorer is referencing the mosaics and how the application might like to leverage a discovery endpoint.


Modify the account number header in the top-right corner to show the account alias as well

Is your feature request related to a problem? Please describe.
No.
Describe the solution you'd like
I would like for the header in the top right that shows the account number to show the account alias as well.
Describe alternatives you've considered
An output for the account alias could be added and then be referred to in the index.js file.
Additional context
Attached screenshot of header location.

No way of achieving this via a CloudFormation output. One way would be via a custom API. Not sure if worth the effort.

Got it, thanks for the response


randomly the pre-action docker build fails

Once in a while Build ravsamhq/notify-slack-action@v1 fails with the following
  /usr/bin/docker build -t 5eae13:03b041c796e34d099842964119063d7c -f "/path/actions-runner/_actions/ravsamhq/notify-slack-action/v1/Dockerfile" "/path/actions-runner/_actions/ravsamhq/notify-slack-action/v1"
  #1 [internal] load build definition from Dockerfile
  #1 sha256:76500476c126f4b5da5ec50421f6358c73853c0dbe71984004e53b6c61712ad7
  #1 transferring dockerfile: 38B done
  #1 DONE 0.0s

  #2 [internal] load .dockerignore
  #2 sha256:b78347fbd62912480d9947bb0aeef597af6c1ea1d2cd959bdcca6fed7f3e9e50
  #2 transferring context: 2B done
  #2 DONE 0.0s

  #4 [internal] load metadata for public.ecr.aws/docker/library/python:3-slim
  #4 sha256:88f83c7105d19eeb7cd4d26d9ce011e2df8ab9dd0dad2e9ce84771f012f3b2e0
  #4 ERROR: unexpected status code [manifests 3-slim]: 400 Bad Request

  #3 [internal] load metadata for gcr.io/distroless/python3-debian10:latest
  #3 sha256:847d648b5ae1c07de239ad1cf534dcbbc90f051f65da51ccb91ed47a5bce342c
  #3 CANCELED
  ------
   > [internal] load metadata for public.ecr.aws/docker/library/python:3-slim:
  ------
  failed to solve with frontend dockerfile.v0: failed to create LLB definition: unexpected status code [manifests 3-slim]: 400 Bad Request
  Warning: Docker build failed with exit code 1, back off 7.569 seconds before retry.
  /usr/bin/docker build -t 5eae13:03b041c796e34d099842964119063d7c -f "/path/actions-runner/_actions/ravsamhq/notify-slack-action/v1/Dockerfile" "/path/actions-runner/_actions/ravsamhq/notify-slack-action/v1"
  #1 [internal] load build definition from Dockerfile
  #1 sha256:d08f37c7dc52a4acce3f973a8fc7e2cd213ce57277830df51bc2006e3e390f0b
  #1 transferring dockerfile: 38B done
  #1 DONE 0.0s

  #2 [internal] load .dockerignore
  #2 sha256:cd044e6bb5820c413cbbf9ac9ce721aba7162651f3994d5eecaabcd0413ba007
  #2 transferring context: 2B done
  #2 DONE 0.0s

  #4 [internal] load metadata for public.ecr.aws/docker/library/python:3-slim
  #4 sha256:88f83c7105d19eeb7cd4d26d9ce011e2df8ab9dd0dad2e9ce84771f012f3b2e0
  #4 ERROR: unexpected status code [manifests 3-slim]: 400 Bad Request

  #3 [internal] load metadata for gcr.io/distroless/python3-debian10:latest
  #3 sha256:847d648b5ae1c07de239ad1cf534dcbbc90f051f65da51ccb91ed47a5bce342c
  #3 CANCELED
  ------
   > [internal] load metadata for public.ecr.aws/docker/library/python:3-slim:
  ------
  failed to solve with frontend dockerfile.v0: failed to create LLB definition: unexpected status code [manifests 3-slim]: 400 Bad Request
  Warning: Docker build failed with exit code 1, back off 2.354 seconds before retry.

Is there any way (like back off and retry) to work around this temporary issue (seems to be a network issue)

I had a deeper look into this issue and it seems to be a "local docker daemon" issue without a proper fix so far.
Currently we are firing hundreds of pipelines using this action and each of them builds a fresh container - would it an option to use a pre-made and pre-published container for this action, which is pulled ones on a runner and then make use of the local container caching?

@witekio-kwe To get rid of the slow build speeds of Docker, we have released v2 which is written in Typescript. See this comment for more information.

@ravgeetdhillon will give it a try - thanks a lot


HDDS-3389. Add response to SetVolumePropertyResponse proto

What changes were proposed in this pull request?
https://github.com/apache/hadoop-ozone/pull/806#discussion_r408279098

Add optional bool response = 1; in the message.
Handle the response on the client. e.g. in setOwner, if the response is false, we can print message: The specified user is already the owner of the volume.

What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-3389
How was this patch tested?
bash-4.2$ ozone sh volume create vol1
bash-4.2$ vi /etc/hadoop/ozone-shell-log4j.properties
# Append: log4j.logger.org.apache.hadoop.ozone.shell.Handler=DEBUG
bash-4.2$ ozone sh volume update vol1 --user=user1
{
  "metadata" : { },
  "name" : "vol1",
  "admin" : "hadoop",
  "owner" : "user1",
  "creationTime" : "2020-05-05T12:05:10.885Z",
  "acls" : [ {
    "type" : "USER",
    "name" : "hadoop",
    "aclScope" : "ACCESS",
    "aclList" : [ "ALL" ]
  }, {
    "type" : "GROUP",
    "name" : "users",
    "aclScope" : "ACCESS",
    "aclList" : [ "ALL" ]
  } ],
  "quota" :<PHONE_NUMBER>606846976
}
bash-4.2$ ozone sh volume update vol1 --user=user1
Volume 'vol1' owner is already 'user1'. Unchanged.
{
  "metadata" : { },
  "name" : "vol1",
  "admin" : "hadoop",
  "owner" : "user1",
  "creationTime" : "2020-05-05T12:05:10.885Z",
  "acls" : [ {
    "type" : "USER",
    "name" : "hadoop",
    "aclScope" : "ACCESS",
    "aclList" : [ "ALL" ]
  }, {
    "type" : "GROUP",
    "name" : "users",
    "aclScope" : "ACCESS",
    "aclList" : [ "ALL" ]
  } ],
  "quota" :<PHONE_NUMBER>606846976
}

LGTM, +1.

Thanks @xiaoyuyao  for reviewing and committing.


Hot Swap doesn't work

This feature doesn't work anymore on the live site.

Any updates on this? I think it's such a pity this is broken since it's one of the coolest features of the language

I believe this is a duplicate of #176 which has a nice example that makes it easy to reproduce. Let's follow along there.


technical recommandation

Hello, is it possible to use VOC on two CRM instances linked to only one AZURE VOC Service ? Which are your recommendation ? Thanks

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

ID: b28685c8-3ad0-2f84-a652-96c80404863d
Version Independent ID: 746930f8-2fe0-52e6-ff49-2028d6573c2c
Content: Install the Voice of the Customer solution
Content Source: ce/voice-of-customer/install-solution.md
Service: dynamics-365-customerservice
GitHub Login: @sbmjais
Microsoft Alias: shjais

Hi. I'm having this kind of issue right now. I'm having 2 Org with one VOC in the tenant. each org can create and send survey. but only one Org can receive the survey response (the latest configured). We have an Open ticket with Microsoft for 3 Week. they told us that it should Work but they can't figure out the issue so far...

Hi, we also have an open ticket with Microsoft for 1 month and they confirm us this configuration can runs but I'm not convinced about that....wait and see

Thanks for contacting us. Unfortunately, we're unable to handle Support requests for the product here. To contact Support, consider one of the options described here: https://docs.microsoft.com/dynamics365/get-started/support/
Closing this issue.


Multiple connections MySQL Lock

I wanted to lock a specific record in a data storage which are identified by UUID. To acquire the lock we do it like the following pseudo code:
if ( ! $this->lock->acquireLock($UUID)) {
   //logic
}

However by doing so we create a PDO connection for each UUID we want to lock since the MySqlLock sets up PDO by itself and stores a connection based on the name used for acquiring the lock (the UUID in this use case)
Looking at the other lock adapters we always inject the connection instead, is the mysql different by intention or just something we need to implement differently?

Seems that locking is for each connection, still doesn't seem to properly disconnect when destructing

Possible fix
https://github.com/arvenil/ninja-mutex/pull/18

The problem with MySQL adapter is that you can only acquire one lock per connection. You can't on the same connection acquire two different locks. Any attempt to acquire another lock will result in releasing first lock. This is not a problem with this library, pdo or php - it's how this works in MySQL.
https://dev.mysql.com/doc/refman/5.0/en/miscellaneous-functions.html#function_get-lock
(well, it looks like they changed/fixed that in MySQL 5.7.5 https://dev.mysql.com/doc/refman/5.7/en/miscellaneous-functions.html#function_get-lock and now multiple locks can be gained on one connection)
About, not closing connection - at first look it looks like you might be right, I'm curious when I messed that up. How did you figure out that connections are not getting closed?

We saw the number of mysql connections quickly rise when we released the latest update of our software which had some command handling loading aggregates with mysql locking in it. So a pure we hit it when it went live on production :)

Can confirm that the fix is working, long processes (like our workers) now close the connections when the lock is released

@arvenil So could you merge the fix?

Thanks again! Released as 0.5.1


Console Errors

[x] When clicking on almost any dropdown

content.js:4477 Uncaught TypeError: Cannot read property 'getBoundingClientRect' of null
    at content.js:4477

Go to any PR start commenting and refresh the page
content.js:808 Uncaught (in promise) TypeError: elements is not iterable
    at Function.watchAndFit [as watch] (content.js:808)
    at enable (content.js:7545)
    at fitPrCommitMessageBox (content.js:7553)
    at HTMLDocument.<anonymous> (content.js:5818)
watchAndFit @ content.js:808
enable @ content.js:7545
fitPrCommitMessageBox @ content.js:7553
(anonymous) @ content.js:5818
async function (async)
(anonymous) @ content.js:5817
so @ session-resume.esm.js:144
(anonymous) @ session-resume.ts:33

content.js:8660 Uncaught (in promise) TypeError: Cannot read property 'dispatchEvent' of null
    at triggerValidation (content.js:8660)
    at HTMLDocument.<anonymous> (content.js:5818)

The first time you go to any repo
content.js:12768 ❌ Refined GitHub: feature `repo-age`

 TypeError: Cannot read property 'src' of undefined
    at content.js:10313
    at async getSet (content.js:2412)

[x] Press T on any repo issue page.

content.js:10791 Uncaught (in promise) TypeError: Cannot read property 'rghFileFinderTerm' of null
    at setValueInField (content.js:10791)
    at preserve_file_finder_term_init (content.js:10800)
    at features_run (content.js:2798)
    at content.js:2853
    at content.js:2742

[ ] When editing and creating a new milestone

❌ Refined GitHub → filter-comments-by-you → TypeError: Cannot read property 'cloneNode' of null
    at filter_comments_by_you_init (refined-github.js:8380)
    at features_run (refined-github.js:5917)
    at refined-github.js:5972
    at refined-github.js:5861
Search issue: https://github.com/sindresorhus/refined-github/issues?q=is%3Aissue+Cannot%20read%20property%20'cloneNode'%20of%20null

refined-github.js:4113 ❌ Refined GitHub → hide-issue-list-autocomplete → TypeError: Cannot read property 'setAttribute' of null
    at hide_issue_list_autocomplete_init (refined-github.js:9478)
    at features_run (refined-github.js:5917)
    at refined-github.js:5972
    at refined-github.js:5861

The issue is here
https://github.com/sindresorhus/refined-github/blob/d757f50ba6ae5b01638f572fcd59665706e0cdf5/source/libs/page-detect.ts#L260

Are you on master or on the store version? Specifically for the watchAndFit error

@fregante both

content.js:12768 ❌ Refined GitHub: feature `repo-age`

 TypeError: Cannot read property 'src' of undefined
    at content.js:10313
    at async getSet (content.js:2412)

The issue is that element ready is firing too early and responding undefined

Is it https://github.com/sindresorhus/element-ready/issues/29?

2 new ones
When editing and creating a new milestone
❌ Refined GitHub → filter-comments-by-you → TypeError: Cannot read property 'cloneNode' of null
    at filter_comments_by_you_init (refined-github.js:8380)
    at features_run (refined-github.js:5917)
    at refined-github.js:5972
    at refined-github.js:5861
Search issue: https://github.com/sindresorhus/refined-github/issues?q=is%3Aissue+Cannot%20read%20property%20'cloneNode'%20of%20null

refined-github.js:4113 ❌ Refined GitHub → hide-issue-list-autocomplete → TypeError: Cannot read property 'setAttribute' of null
    at hide_issue_list_autocomplete_init (refined-github.js:9478)
    at features_run (refined-github.js:5917)
    at refined-github.js:5972
    at refined-github.js:5861

The issue is here
https://github.com/sindresorhus/refined-github/blob/d757f50ba6ae5b01638f572fcd59665706e0cdf5/source/libs/page-detect.ts#L260
Don't know regex that well to be able to fix it

Template of what?

Issue

I'm working on fixing the issue on milestones/new

Another one https://github.com/sindresorhus/eslint-plugin-unicorn/pull/654
refined-github.js:4104 ❌ Refined GitHub → bypass-checks → TypeError: Failed to fetch

Really any pull request there. codecov is not authenticated

Another one https://github.com/sindresorhus/eslint-plugin-unicorn/pull/654
refined-github.js:4104 ❌ Refined GitHub → bypass-checks → TypeError: Failed to fetch

Really any pull request there. codecov is not authenticated

Don't add too many reports in one issue or else they'll be lost. Open a new one for that

I know this issue is closed but I think until sindresorhus/element-ready#29 is resolved

content.js:12768 ❌ Refined GitHub: feature `repo-age`

 TypeError: Cannot read property 'src' of undefined
    at content.js:10313
    at async getSet (content.js:2412)

The issue is that element ready is firing too early and responding undefined

https://github.com/sindresorhus/refined-github/blob/453d3f8566695ce1ea7edd729fb319084bdb7fc2/source/features/repo-age.tsx#L19
Could be changed to
const commitInfo = await elementReady<HTMLAnchorElement | HTMLScriptElement>('a.commit-tease-sha, include-fragment.commit-tease', {
		stopOnDomReady: false,
		timeout: 1000
	});

This would also have the repo age show on first run
JMHO


[Feature Request] Firefox Support

Would love to see this come to Firefox/LibreWolf!

Sorry, web-extension support is not currently planned. If I do, I will reopen this.

I'm also requesting the same feature for Firefox. I hope you will consider this.


initdb command failed with table exists error

When I run airflow initdb, I got the following error. I installed version 1.6.2 from pypi. Could someone help? Thanks.
[2016-02-11 00:17:28,990] {init.py:36} INFO - Using executor SequentialExecutor
DB: sqlite:////home/jlei/airflow/airflow.db
[2016-02-11 00:17:29,103] {utils.py:275} INFO - Creating tables
INFO  [alembic.migration] Context impl SQLiteImpl.
INFO  [alembic.migration] Will assume non-transactional DDL.
INFO  [alembic.migration] Running upgrade 1b38cef5b76e -> 2e541a1dcfed, task_duration
Traceback (most recent call last):
File "/usr/local/bin/airflow", line 15, in
args.func(args)
File "/usr/local/lib/python2.7/site-packages/airflow/bin/cli.py", line 385, in initdb
utils.initdb()
File "/usr/local/lib/python2.7/site-packages/airflow/utils.py", line 168, in initdb
upgradedb()
File "/usr/local/lib/python2.7/site-packages/airflow/utils.py", line 282, in upgradedb
command.upgrade(config, 'heads')
File "/usr/local/lib/python2.7/site-packages/alembic/command.py", line 165, in upgrade
script.run_env()
File "/usr/local/lib/python2.7/site-packages/alembic/script.py", line 390, in run_env
util.load_python_file(self.dir, 'env.py')
File "/usr/local/lib/python2.7/site-packages/alembic/util.py", line 243, in load_python_file
module = load_module_py(module_id, path)
File "/usr/local/lib/python2.7/site-packages/alembic/compat.py", line 79, in load_module_py
mod = imp.load_source(module_id, path, fp)
File "/usr/local/lib/python2.7/site-packages/airflow/migrations/env.py", line 74, in
run_migrations_online()
File "/usr/local/lib/python2.7/site-packages/airflow/migrations/env.py", line 69, in run_migrations_online
context.run_migrations()
File "", line 7, in run_migrations
File "/usr/local/lib/python2.7/site-packages/alembic/environment.py", line 742, in run_migrations
self.get_context().run_migrations(**kw)
File "/usr/local/lib/python2.7/site-packages/alembic/migration.py", line 309, in run_migrations
step.migration_fn(**kw)
File "/usr/local/lib/python2.7/site-packages/airflow/migrations/versions/2e541a1dcfed_task_duration.py", line 26, in upgrade
existing_nullable=True)
File "/usr/local/lib/python2.7/contextlib.py", line 24, in exit
self.gen.next()
File "/usr/local/lib/python2.7/site-packages/alembic/operations.py", line 320, in batch_alter_table
impl.flush()
File "/usr/local/lib/python2.7/site-packages/alembic/batch.py", line 74, in flush
batch_impl._create(self.impl)
File "/usr/local/lib/python2.7/site-packages/alembic/batch.py", line 199, in _create
op_impl.create_table(self.new_table)
File "/usr/local/lib/python2.7/site-packages/alembic/ddl/impl.py", line 181, in create_table
self._exec(schema.CreateTable(table))
File "/usr/local/lib/python2.7/site-packages/alembic/ddl/impl.py", line 105, in _exec
return conn.execute(construct, *multiparams, **params)
File "/usr/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 841, in execute
return meth(self, multiparams, params)
File "/usr/local/lib/python2.7/site-packages/sqlalchemy/sql/ddl.py", line 69, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/usr/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 895, in _execute_ddl
compiled
File "/usr/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1070, in _execute_context
context)
File "/usr/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1271, in _handle_dbapi_exception
exc_info
File "/usr/local/lib/python2.7/site-packages/sqlalchemy/util/compat.py", line 199, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb)
File "/usr/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1063, in _execute_context
context)
File "/usr/local/lib/python2.7/site-packages/sqlalchemy/engine/default.py", line 442, in do_execute
cursor.execute(statement, parameters)
sqlalchemy.exc.OperationalError: (OperationalError) table _alembic_batch_temp already exists u'\nCREATE TABLE _alembic_batch_temp (\n\ttask_id VARCHAR(250) NOT NULL, \n\tdag_id VARCHAR(250) NOT NULL, \n\texecution_date DATETIME NOT NULL, \n\tstart_date DATETIME, \n\tend_date DATETIME, \n\tduration FLOAT, \n\tstate VARCHAR(20), \n\ttry_number INTEGER, \n\thostname VARCHAR(1000), \n\tunixname VARCHAR(1000), \n\tjob_id INTEGER, \n\tpool VARCHAR(50), \n\tqueue VARCHAR(50), \n\tpriority_weight INTEGER, \n\toperator VARCHAR(1000), \n\tqueued_dttm DATETIME, \n\tPRIMARY KEY (task_id, dag_id, execution_date)\n)\n\n' ()

Can you verify that your airflow home is set correctly in the ENV var? I suspect this is caused by 2 different set of migrations running from 2 different airflow installs.
Also, is your issue resolved by a airflow resetdb? If you have a fresh install, airflow resetdb will likely resolve it.
-s

Closing for lack of activity. Please ping me (cc me) if you have more information.


Unreachable NATS leads to unreasonable amount of HTTP metadata service requests

When for some reason the BOSH NATS isn't available (Director update, network problems, etc), the agent exits and re-starts every few seconds. Reason is that heartbeats cannot be sent to the HM.
Here is an example from the agent logs that we see every few seconds:
2017-02-14_13:15:41.94560 [main] 2017/02/14 13:15:41 DEBUG - Starting agent
2017-02-14_13:15:41.94565 [File System] 2017/02/14 13:15:41 DEBUG - Reading file /var/vcap/bosh/agent.json
2017-02-14_13:15:41.94566 [File System] 2017/02/14 13:15:41 DEBUG - Read content
2017-02-14_13:15:41.94566 ********************
--
2017-02-14_13:15:55.06415 [Cmd Runner] 2017/02/14 13:15:55 DEBUG - Stdout:
2017-02-14_13:15:55.06415 [Cmd Runner] 2017/02/14 13:15:55 DEBUG - Stderr: SIOCDARP(dontpub): Network is unreachable
2017-02-14_13:15:55.06416 [Cmd Runner] 2017/02/14 13:15:55 DEBUG - Successful: false (255)
2017-02-14_13:15:55.06416 [NATS Handler] 2017/02/14 13:15:55 ERROR - Cleaning ip-mac address cache for: <IP_ADDRESS>
2017-02-14_13:15:55.06617 [main] 2017/02/14 13:15:55 ERROR - App run Running agent: Message Bus Handler: Starting nats handler: Connecting: dial tcp <IP_ADDRESS>:4222: getsockopt: connection refused
2017-02-14_13:15:55.06618 [main] 2017/02/14 13:15:55 ERROR - Agent exited with error: Running agent: Message Bus Handler: Starting nats handler: Connecting: dial tcp <IP_ADDRESS>:4222: getsockopt: connection refused

Each agent startup makes 4 (or 5?) calls to the metadata service, which makes up for a pretty big amount for huge CF installations using HTTP metadata service: Multiply that by VMs and by Director downtime during an bosh-init update.
I'm open for suggestions how to approach this issue. Possible workarounds are:

using config-drive instead of HTTP metadata service (disk reads are probably less of a problem than HTTP access). However, there might be other reasons why people chose HTTP metadata service over config-drive.
Installing NATS separately from the Director to reduce downtime. Possibly clustered? Not sure what the state is here?
Some kind of exponential backoff in the agent instead of just exiting when NATSHandler cannot connect. This would avoid the source of frequent metadata access due to NATS being not available
something else?

I'd prefer the exponential backoff solution, what do you think?

@cppforlife care to elaborate on the "planned-enhancement" part? Which part are you planning for? :)

Hello,
It looks like we have not responded to this in a reasonable time, and unfortunately a year has passed. Given this, we are going to close the issue, but please feel  free to re-open the issue. In doing so, a new Pivotal Tracker story will be generated, and we can revisit this.
Thanks again for submitting this, and apologies for closing without a proper resolution at this moment.
BOSH Systems Team - @aashah @luan @jaresty

Hey @aashah,
Thanks for replying! While the original issue still exists, we have found a workaround in our environments to keep the Director downtime during updates as small as possible, thereby mitigating this.
I'll leave it up to you if you want to have this issue for documenting this behavior in case someone analyzes their network traffic or even look at one of the possible solution suggestions above – or if this should remain closed.

Seems reasonable to keep this open given the original issue remains.
Side-question: What was your workaround?

We create-env an 'outer director' which is just used to install and 'inner director'. As with the other regular bosh deployments, the inner director is only down on stemcell updates, not on every configuration and release change as with create-env. That was good enough for us at this time.

Hi, any update about this IMP? I just saw tracker removed this story.


undefined symbol: __atomic_compare_exchange_1 on riscv64

On riscv it seems grpcio runs into a similar issue as https://github.com/grpc/grpc/issues/20400?
grpcio version 1.59.2
Ubuntu 22.04
riscv64
python3 -m grpc_tools.protoc -I cln-grpc/proto cln-grpc/proto/node.proto --python_out=contrib/pyln-grpc-proto/pyln/grpc/ --grpc_python_out=contrib/pyln-grpc-proto/pyln/grpc/ --experimental_allow_proto3_optional
Traceback (most recent call last):
  File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/user/.cache/pypoetry/virtualenvs/cln-meta-project-YocaCd4z-py3.10/lib/python3.10/site-packages/grpc_tools/protoc.py", line 20, in <module>
    from grpc_tools import _protoc_compiler
ImportError: /home/user/.cache/pypoetry/virtualenvs/cln-meta-project-YocaCd4z-py3.10/lib/python3.10/site-packages/grpc_tools/_protoc_compiler.cpython-310-riscv64-linux-gnu.so: undefined symbol: __atomic_compare_exchange_1
make: *** [Makefile:388: contrib/pyln-grpc-proto/pyln/grpc/primitives_pb2.py] Error 1

As much as I'd love to, we don't officially support RISC-V. But if you're willing to contribute a patch, we'd happily accept it.

Glad to hear it's solved, closing this issue.


Missing primary key exception for object type

When creating a Realm object as following:
realm.create(type(of: object), value: object, update: true)

an exception is raised:
*** Terminating app due to uncaught exception 'RLMException', reason: ''RLM:Unmanaged Site' does not have a primary key and can not be updated'

This appears to be due to typeName resolving to "RLM:Unmanaged Site"
(lldb) po typeName
"RLM:Unmanaged Site"

Which fails lookup in schema for identifying primaryKeyProperty.
When adding a breakpoint within [RLMObjectBase className]
The output is as follows:
(lldb) po [self className]
Site

(lldb) po className
RLM:Unmanaged Site

(lldb) po [self sharedSchema]
Site {
	id {
		type = string;
		objectClassName = (null);
		linkOriginPropertyName = (null);
		indexed = YES;
		isPrimary = YES;
		array = NO;
		optional = YES;
	}

Version of Realm and Tooling
ProductName:	Mac OS X
ProductVersion:	10.12.6
BuildVersion:	16G29

/Applications/Xcode.app/Contents/Developer
Xcode 9.0
Build version 9A235

/usr/local/bin/pod
1.4.0.beta.1
Realm (3.0.0)
RealmSwift (3.0.0)

/bin/bash
GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin16)

/usr/bin/git
git version 2.13.5 (Apple Git-94)

Realm automatically creates subclasses for each model object and swizzles the class of any newly-created object to one of these subclasses. Swift's type(of:) built-in returns the dynamic type of the object, hence it returns the name of the unmanaged subclass instead of the expected base class.
The fact that the internals are looking up the schema based on the subclass name is an oversight in our code and I'll fix it. In the meantime you can work around this by explicitly specifying the type object rather than using type(of:).

@austinzheng thanks for the response. I'm afraid the solution advised is simply not possible. I've rolled back to 2.10.2 until this is resolved.

Since I'm using generics, I've also tried the following:
self.create(T.self, value: object, update: true)

But unfortunately typeName resolves to RealmSwiftObject:
(lldb) po type
RealmSwift.Object

(lldb) po typeName
"RealmSwiftObject"

☝🏾 think that's actually my drama. since further up the chain I'm casting my generic protocol type to Object.Type. which is actually the reason for using dynamic type(of:).
Thanks for the fix @austinzheng

I'm glad it worked, and thank you for reporting this bug! I've added some unit tests so hopefully it won't show up again once we fix it...

@austinzheng how might I use a pre-release Realm?
I've tried:
pod 'RealmSwift', :git => 'git@github.com:realm/realm-cocoa.git', commit: '457e1f8ec7b466fe823e15f01d2a78cf8d570486'

but CocoaPods fails due to:

   ERROR: One of Realm's submodules is missing!

   If you're using Realm and/or RealmSwift from a git branch, please add 'submodules: true' to
   their entries in your Podfile.

You need to add 'submodules: true to that line as one of the arguments.


Adding tutorial for package + export to .bib template

Hi there,
You mention testing Markdown, Markdown (Hugo), Html. I have tested your plugin (on MacOS) for .docx, Latex, PDF and even have a short script with lua filter to export the bib (see below).
I use your package extensively and have covered it in my article here: https://betterhumans.pub/obsidian-tutorial-for-academic-writing-87b038060522 . If you think it's helpful feel free to link to it!
Also I created this command to export a bib file:
pandoc
-f markdown
-o "${outputPath}"
--resource-path ~/Library/Mobile\ Documents/com~apple~CloudDocs/
--bibliography="export-data.bib"
--to=biblatex
--lua-filter ~/Library/Mobile\ Documents/com~apple~CloudDocs/citefilter.lua
"${currentPath}"

Combined with this lua filter it makes sure that only the citations used in the markdown are exported:
function Pandoc(d)
  d.meta.references = pandoc.utils.references(d)
  d.meta.bibliography = nil
  return d
end

I think it could be added to these templates: https://github.com/mokeyish/obsidian-enhancing-export/blob/master/src/export_command_templates.ts and the .lua file added here: https://github.com/mokeyish/obsidian-enhancing-export/tree/master/lua
Let me know :)

Thanks, Are you willing to submit PR?

Here is the simple guide.
Environment Preparing

Install the nodejs
https://nodejs.org/en/download

Install the pnpm
npm install -g pnpm

Clone the repositotry
git clone https://github.com/mokeyish/obsidian-enhancing-export.git

Install dependencies
cd obsidian-enhancing-export
pnpm install

Build

add .env.local to project root# export to obsidian plugin directory directly
OUT_DIR="path/to/.obsidian/plugins/obsidian-enhancing-export"

build
The following command will build the plugin and copy it to obsidian plugin directory.pnpm run build

Restart this plugin or obsidian.

I tried adding the commands, would you mind fixing it if there's something that does not work?


ssx-serverless

Implementing SSX Server in a serverless environment was a difficult task since the behavior is not decoupled enough. With that in mind this PR introduces a new package ssx-serverless that is a custom implementation of ssx-server focusing on environments that requires a totally custom configuration.

[x] New feature (non-breaking change which adds functionality)
[x] This change requires a documentation update
[x] Integration Tests
[x] E2E
[x] I have performed a self-review of my code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] Any dependent changes have been merged and published in downstream modules

After reviewing the code, this looks good. I was unable to run the provided example however due to not having an existing AWS configuration set up. Would be good to have this verified that it runs with no issues!

Addressed with 86d2460

but maybe at minimum integration with the example-dapp so this can be smoke tested easily would be an acceptable interim solution

I resolved this on my own by appending /dev to the server path in the test dapp - we should include a note in the readme?

but maybe at minimum integration with the example-dapp so this can be smoke tested easily would be an acceptable interim solution

I resolved this on my own by appending /dev to the server path in the test dapp - we should include a note in the readme?

I included a section in the example readme!


Path issue after frozen with PyInstaller on macOS

Hi, the path in the following file is resolved to something like
Users/username/Desktop/program.app/Contents/MacOS/pybo/textunits/../resources/bo_uni_table.csv
instead of
Users/username/Desktop/program.app/Contents/MacOS/pybo/resources/bo_uni_table.csv
after pybo is frozen into my program using PyInstaller on macOS.
https://github.com/Esukhia/pybo/blob/81bfeb19311d1dd44f9bbb31d891155353377b07/pybo/textunits/charcategories.py#L9
This issue does not occur on Windows, and I haven't tested it on Linux (will do it later on Ubuntu).
I solved this issue by modifying this line before freezing pybo into my program:
table_path = Path(__file__).parent.parent / "resources/bo_uni_table.csv"
So is it okay for pybo to modify its codebase to help freezing on macOS?

Sure! I'll do that right now. Thanks for the suggestion that makes code clearer.

solved in 5ec9b32fa6624ac2ecb96035cf9f5c7248e43507, release 0.6.8.
You can directly download it from pypi

Thanks!


Merge changes from Release 1.3 to master

Description
'Nuff said

I think it is much better to cherry-pick when release patch merge, which would reduce possibility of miss.


Coveralls (test coverage) integration

Changes Unknown when pulling 0dc64b3db9c7fafae2118c01640afaa33af43343 on feature/coveralls into ** on develop**.

Changes Unknown when pulling 0dc64b3db9c7fafae2118c01640afaa33af43343 on feature/coveralls into ** on develop**.

Changes Unknown when pulling 5463dbcd8109edf6c2c51ce9b05b5e58716a39ba on feature/coveralls into ** on develop**.

Changes Unknown when pulling 5463dbcd8109edf6c2c51ce9b05b5e58716a39ba on feature/coveralls into ** on develop**.

Changes Unknown when pulling 5463dbcd8109edf6c2c51ce9b05b5e58716a39ba on feature/coveralls into ** on develop**.

Changes Unknown when pulling 5463dbcd8109edf6c2c51ce9b05b5e58716a39ba on feature/coveralls into ** on develop**.

Changes Unknown when pulling 5463dbcd8109edf6c2c51ce9b05b5e58716a39ba on feature/coveralls into ** on develop**.

Changes Unknown when pulling 504bcaf206c7e9577d8e7540fe898b356e1c7549 on feature/coveralls into ** on develop**.

Changes Unknown when pulling 504bcaf206c7e9577d8e7540fe898b356e1c7549 on feature/coveralls into ** on develop**.

Changes Unknown when pulling 1408865ebeaf8ef58a95026ecb986b87c53520f2 on feature/coveralls into ** on develop**.

Changes Unknown when pulling 1408865ebeaf8ef58a95026ecb986b87c53520f2 on feature/coveralls into ** on develop**.

Changes Unknown when pulling 1408865ebeaf8ef58a95026ecb986b87c53520f2 on feature/coveralls into ** on develop**.

Changes Unknown when pulling 5463dbcd8109edf6c2c51ce9b05b5e58716a39ba on feature/coveralls into ** on develop**.

Changes Unknown when pulling 5463dbcd8109edf6c2c51ce9b05b5e58716a39ba on feature/coveralls into ** on develop**.

Changes Unknown when pulling 3cd2458c27bc862f01ece23bd8501821876a62b0 on feature/coveralls into ** on develop**.


Add Russian language support

Thank you so much for your work!
Are you from Russia? Can I ask you to contribute another readme in Russian？LOL 😀

I can, of course, but why? It's one thing when a language is needed in the web interface of a project whose translation the user can supplement as needed, and it's quite another for a README that will need to be maintained by the feature authors. And if it's not difficult for you as the author to add a description, someone may not add a part in Chinese, and you may already encounter difficulties with Russian.


IP Pools

https://sendgrid.com/docs/API_Reference/Web_API_v3/IP_Management/ip_pools.html
Not seeing the docs on adding an IP to a pool, tried using one of the client libraries you guys have but getting a forbidden, access not allowed when trying to an IP address to the pool.
The IP is whitelabeled in our send grid account.  Can you guys provide more info on how to use the IP Pools?

Update:
The docs for adding an IP to an IP Pool is in the IP Management section.
Also the scopes required for this call are not possible to grant through the send grid console.  You have to add the required scopes using the api using your account with basic authentication (your un and pw) to your api key.
I think you guys could make this flow a little easier.  Probably just adding those scopes into the sendgrid web console, and on the ip pools docs page a link back to the ip management section and note indicating info for adding ips to the pools is located there

@KyleGobel
I definitely agree that this flow could be made much easier, and apologize for the confusion! Your suggestion to link between our IP Management and IP Pools documentation is spot on - I'll make sure that we make this happen as soon as possible.
As for the limited scopes on API Keys created in the UI - this is something that we're looking into and should have resolved sometime soon. Unfortunately I can't make any promises right now, but this is a known issue.
Thank you!

Related to this flow, is it possible to create an API key that can be used to grant the scopes? We'd like to limit the exposure of the username and password.
Having created an API key with all of the api_key.* scopes, an attempt to assign the ips.* scopes fails with the following message:
{
    "errors": [
        {
            "field": null,
            "message": "unauthorized scopes: [ips.assigned.read ips.read ips.pools.create ips.pools.delete ips.pools.read ips.pools.update ips.pools.ips.create ips.pools.ips.delete ips.warmup.create ips.warmup.delete ips.warmup.read]"
        }
    ]
}

Hello @KyleGobel,Thanks for your suggestion or question! In an attempt to clear out our backlog,                                              we are closing out issues over 90 days old.                                             If this is still an issue, please feel free to reopen it.                                             Team SendGrid DX-Docs


Maybe I was too quick to open an issue for that.
My apologies.


Photo overflowing into tags section on Safari

[Short description explaining the high-level reason for the pull request]
In Safari, the photos end up being overflowed into the tags section. This helps prevent it.
Before:

After:

[Link to existing Issue #]
[If this Pull Request contains any UI changes, provide an image or GIF displaying the changes]

What version of Safari does this reproduce? Tested here on Safari Version 12.0.3 (14606.4.5) and this doesn't reproduce

@brenoferreira I'm using the same version of Safari, Version 12.0.3 (14606.4.5). It doesn't happen on all images, but it does happen sometimes. Here's a screenshot I recorded:

@sgrepos could you post some URLs to images that have this issue, it'll help us test it.

@kgodey Oh that's weird, I was just going to post some links, but turns out they're working fine when you access the links directly.
It appears that the issue only happens when they're accessed through the search page. Clicking through some of the images in this search for example should reproduce this issue:
https://ccsearch.creativecommons.org/search?q=nature&provider&li&lt&searchBy


Improve formatting of ValidationException

This PR will fix the following two issues:
https://github.com/xh/hoist-core/issues/95
https://github.com/xh/hoist-core/issues/68

Peter -- one additional thing See the following line in toJSON()
   isRoutine: t instanceof RoutineException
Should we check for ValidationException here as well?  Ugh.


Only loading bar is shown upon joining a meeting

Description
After providing the url of a Greenlight app url, it is connecting to the meeting, shows the title, but keeps showing the loading bar forever.
To Reproduce
Steps to reproduce the behavior:

Installed the app from Apple App Store / Installed the app from the latest APK from the releases history
Opened and provided a random name and a valid meeting url (It worked in browser when opening the url)
It said Trying to join meeting for few secs
A new view pushed with the meeting title
But after that noting happened a loading bar was shown in the main area and in the bottom tool bar in place of the center icon

Expected behavior
It should have loaded the meeting
Screenshots

Smartphone (please complete the following information):

Device: iPhone 7 & One Plus 8
OS: iOS 14.4.2 & Android 11 respectively

BBB Server
Greenlight Version - V2
BBB Server Version - 2.3

Hi there! We haven't tested BBB 2.3 yet, so it might not work as expected. We're currently pretty busy but will check the next two months to get it working.


Feature Request: Make links actual links

It would be really nice if all the javascript based navigation also set links on the elements so we had the option to open them in a new tab or window. I often find myself trying to open multiple things from a given view in a tab or window and am disappointed when only one thing opens in the current context.
Some of the links like the main navigation least work via right click but this is not universal for things like the actual table elements in those main pages.
Expected Behavior
Any link in the uchiwa GUI would allow me to ctrl/command+click or right click open in to function as a normal webpage does.
Current Behavior
Ctrl clicking any linked element simply opens the view in the current window/tab

Hi @Gillingham
Thank you for your suggestion. We already have an issue for this feature: https://github.com/sensu/uchiwa/issues/381 so I'll go ahead and close this one to prevent any duplication.
Unfortunately there's no easy way to implement this with Angular 1 that I'm aware of. If anyone have a suggestion, I'm listening!
Thanks


ScanPipeModelsTransactionTest failure when using SQLite as DB

ScanPipeModelsTransactionTest always fails with  AssertionError at self.assertIsNone(package.id). It appears that the max_length attribute is not enforced in SQLite itself. This limitation is even mentioned in SQLite docs.
Link : http://www.sqlite.org/faq.html#q9

@AvishrantsSh From https://scancodeio.readthedocs.io/en/latest/installation.html#database

Choosing SQLite over PostgreSQL has some caveats. See https://docs.djangoproject.com/en/dev/ref/databases/#sqlite-notes for details.

PostgreSQL is the preferred database backend and should always be used on production servers.

We do not actively run the tests against SQLite but a PR is welcome if you want to fix those failure on SQLite. Otherwise we can close this issue.

@AvishrantsSh Those failing tests are now skip when running on SQLite, see https://github.com/nexB/scancode.io/commit/a7ee9632b54ced3dc53beb35891ac015994168ee


Add tests on notify jobs to prevent failures

What does this PR do?
Add new tests on notify jobs to validate their execution.

Motivation
Pipeline stability

Additional Notes
This PR contains a first commit which is an aside change to set datadog-agent as default repo when calling github/gitlab API. Can be reviewed separately

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

/merge

/merge


Slider corruption on iOS12 and iOS12.1 Safari

Bug can be seen on demo site -- touch-sliding forward then backwards a couple of times causes the slides to corrupt and only partially show. Tested failing on iOS12 and iOS12.1 Safari on iPad Pro 10.5 and iPhone 6s. Works, as expected, in iOS11.

Some more info — I think I’ve found the cause — Safari Experimental Features were enabled on both testing devices and, if both 'web animations and css integration’ and ‘web animations’ are enabled then the problem occurs. Disabling either removes the issue...


Change phone number field type to number

Change phone number field type to "number" to open numkeypad in Mobile browsers.

Change phone number field type to "number" to open numkeypad in Mobile browsers.

With water on the touch screen, hard to say whether its a good idea. This is not a regular scenario where we are talking about Usability. Also this will cause few additional CPU cycles from a perhaps about to die mobile phone. So, I would suggest to keep the options given to the end users.
So let people enter details without doing additional checks. Let the users enter.
Also, I would suggest to use geo location being captured with every request using

GSM geo location if possible
GPS
Get the finest information as possible.

PS: I may not be able to respond as I am myself in an area with little bit of water.

Phone number field to number will automatically pop up the numeric keypad. Which facilitates entry of numbers easily. We can let them enter all the other details freely, but don't you think mobile should be numbers only and validated.

Needs merge

Fixed


Need a user documentation and contributor documentation section - to separate types of personas engaging with Pyrsia and making it easy for them to find stuff they need.

Reference https://docs.ortelius.io/guides/

small note: I tried to start this by having the end-user docs under https://pyrsia.io/docs/tutorials/
the rest is still spread out under https://pyrsia.io/docs/developers/ and https://pyrsia.io/docs/community/get_involved/

We did the minimum required and we can open new issues for further improvements.


drivers: sensors: Add SI7006 temperature/humidity sensor driver

Adds driver for Silicon Labs SI7006 chip.
Signed-off-by: Vaishali Pathak<EMAIL_ADDRESS>

Thank you for your first contribution to zephyr! There are a few issues that need to get resolved for this PR to be accepted:

@MaureenHelm  Thanks you!

I'm also concerned about the liberal use of floating point math, which will be expensive for the many soc's without hardware floating point units. Can you convert to fixed point math?

I tried to fix all the issues you mentioned and pushed my code. Thank you for suggesting changes.

I have edited according to changes suggested. Thank you.


Bug: can't connect from browser client to surrealdb on docker localhost

Describe the bug
try to connect with websocket inside a quasar/vite application
Steps to reproduce
/ src/boot/surreal.ts

import Surreal, { Database } from 'surrealdb.js';

import { boot } from 'quasar/wrappers';

const db: Database = new Surreal();
await db.connect('http://' + window.location.host + ':8000/rpc',  {
	ns: 'test',
	db: 'test',
    auth: {
		user: 'root',
		pass: 'root',
	}
    }
  );

export default boot(async({ app }) => {
  app.config.globalProperties.$db = db;
});

export { db};

i get this error:
client-entry.js?t=1690465885626:146 [Quasar] boot error: TypeError: import_ws.WebSocket is not a constructor
    at SurrealSocket.open (SurrealSocket.ts:63:13)
    at WebSocketStrategy.connect (websocket.ts:78:15)
    at surreal.ts:9:10

the error is from:
surrealsocket.ts
 63   this.unprocessedLiveResponses = {};
Expected behaviour
connect.
SurrealDB version
docker nightly
SurrealDB.js version
beta 9
Contact Details
<EMAIL_ADDRESS>Is there an existing issue for this?

[X] I have searched the existing issues

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Hi @coutouly, this looks like a bundling issue on your side to me, but I will try to replicate this issue soon!
PS; A friendly note that a Database is not defined nor exported exported from the package anywhere 😃

@kearfy , I am receiving the same error when running surrealdb.js in a sveltekit project. Copying the details below.
import Surreal from "surrealdb.js";

const db = new Surreal(import.meta.env.VITE_SURREAL_URL, {})

The error log:

Kindly let me know if I am missing something. Thanks

Hiya, could you set up a github repository with a reproducable example for me by any chance? It would greatly help me to figure out where this is going wrong, as I've never worked with Sveltekit before :)
Schedule is a bit busy, so I can't make a promise timewise, but I will look into this shortly!

Same error here with Nest.js:
Import:
import { Surreal } from 'surrealdb.js';

Problematic part:
new Surreal('http://<IP_ADDRESS>:8000')

Error message:
TypeError: node_js_1.default is not a constructor

Temporary solution
import Surreal from "https://cdn.jsdelivr.net/npm/surrealdb.js";

This problem appears with typescript version >=4.9.3

Hey everyone, I'm still having issues to reproduce this issue, I would like to fix it for you all however! Would it be possible for anyone in this conversation that can reproduce it to setup a small repo with a reproducable example? Thanks!

I ran into this issue myself when working on a web project using vite, however updating vite to the latest version (4.5.0) fixed it for me.

@kearfy, It is working fine for me now. I gave another attempt to test the SDK and it is working like a breeze.
The last time I reported the issue, I was using the latest version of the npm package (Aug 22, 2023). Right now, I am using "surrealdb.js": "^0.11.0"
Not sure if something has changed on the package itself. I was using same vite and svelte version back then as what it is now.
    "@sveltejs/kit": "^1.5.0",
    "svelte": "^3.54.0",
    "tslib": "^2.4.1",
    "typescript": "^4.9.3",
    "vite": "^4.0.0"

Very interesting! It could be patched in another library that vite/svelte is using. As for surrealdb.js, I noticed that unws was patched, so that could have changed too.
Anyways, glad that it works for you now!

Same here with Quasar, it's a problem with vite @quasar/app-vite,
you can make it work if you go to \node_modules\@quasar\app-vite> and upgrade vite. i did npm i vite@latest <-- just to test it or as a temporary solution

Will close this as it seems upgrading dependencies fixes this issue!


Separate Configuration Files

Hello
Is there a way to use different Configuration Files (2 Fritz Boxes)?

Hi,
to answer your question: yes and no. Right now, there is no built-in "native" way to route between different boxes. However, assuming you use the latest release https://github.com/bpicode/fritzctl/releases/tag/v1.4.19, you can do it with the following trick:

Put your two config files in two different folders.
Delete any config files from the "general" locations (~/.fritzctl/config.yml, ~/.fritzctl/config.json, ~/.fritzctl, fritzctl.yml, ~/.fritzctl/fritzctl.json, ~/.fritzctl.yml, ~/.fritzctl.json).
When running fritzctl, change your working directory to the respective folder and run your commands from there.

Hope that helps.

Hi.
Thanks i will try that :)


The output is caught in such an endless loop

I have run "multiprocess_detect_actions.py" and it is running on the terminal
Instructions for updating:
Use keras.layers.conv3d instead.
frame_q: 214, obj_q: 0, act_q: 0, vis_q: 0
frame_q: 214, obj_q: 0, act_q: 0, vis_q: 0
frame_q: 214, obj_q: 0, act_q: 0, vis_q: 0
0.383 second per image
frame_q: 214, obj_q: 2, act_q: 0, vis_q: 1
frame_q: 214, obj_q: 5, act_q: 0, vis_q: 4
frame_q: 214, obj_q: 5, act_q: 0, vis_q: 4
frame_q: 214, obj_q: 5, act_q: 0, vis_q: 4
frame_q: 214, obj_q: 5, act_q: 0, vis_q: 4
frame_q: 214, obj_q: 5, act_q: 0, vis_q: 4
frame_q: 214, obj_q: 5, act_q: 0, vis_q: 4
It gives No output opencv window is opened ,neither output video is saved and it get stuck in loop.Any idea?

Same issue here!

@begoechavarren Have you solve it?

@NaeemKhan333 I have by switching to python 2.7.12 (https://github.com/oulutan/ACAM_Demo/issues/9). Hope it helps!

@begoechavarren Thanks . I solve it downgrading the version of the open-cv
pip install opencv-python==<IP_ADDRESS>

@begoechavarren Have You Train This Repository on Your own Custom Dataset?

@NaeemKhan333 no sorry, was hoping for @oulutan to upload the code sometime soon

Training code has been available at the following link for the past 2 months. Please check it out here if you are interested:
https://github.com/oulutan/ActorConditionedAttentionMaps

Also if anyone gets to this issue in the future, output is supposed to be on a loop. If nothing is visualizing or processing, then you probably had an error in the beginning on some of the processes. Check out the initial logs before the loop begins.


Use the :vis fragment specifier

Would this allow you to add visibility modifiers to fields? IE u8, pub foo, pub set_foo: x, y; I can't seem to access the methods from other modules since they are private

You can already add a pub modifier to a field. This will make the two method public. There is an example in the bitfield_fields documentation.
The goal of this issue is to simplify the code and support the more advanced visibility modifier like pub(crate).

Would it be acceptable to also make the content not pub by default (or at least to opt-out from it)?
That’d allow to enforce valid values eg with TryFrom<u8> and avoid users inadventenly crating incorrect instances.


atom snippets unable to load components-button_group.cson

atom auto-complete Function is Not Working...
atom snippets unable to load components-button_group.cson
.atom\packages\atom-bootstrap4\snippets\components-button_group.cson

I have a bunch of errors after installing.

hello! same problem here!

Yes

Here as well

Found the culprit: when runnning predictive HTML, it seems like packages are conflicting. Bootstrap predictions work normally when I turn off the other package.

The solution to this as noted in issue #25


[Feature]: Enable tooltips on table column header

Is there an existing issue for this?

[X] I have searched the existing issues

Summary
Sometimes table column headers require a longer explanation of a concise heading. Having a tooltip field for columns will enhance usability of the table widget
Why should this be worked on?
Improve functionality and usability of the table widget

This can be really beneficial in a lot of cases. Table header could be a very short title but a tooltip can be used to explain any related information about column.

cc @blossom-babs


OisControllers ignores the return value of ControllerListener methods

Issue details
The methods in ControllerListener (eg, buttonDown()) let you return true to say the event is handled, in which case it's not handed on to any other listeners. The AndroidControllers class correctly breaks from the loop so that later listeners are not called, but the OisControllers code on Desktop continues to call every single listener, based on the initial size of the listeners array.
This is causing me crashes, because I'm calling Controllers.removeListener() inside a controller event, which changes the size of the array and causes it to read past the end of it since OisControllers uses the initial size of that array, not the current size, to see if it is finished.
Exception in thread "LWJGL Application" java.lang.IndexOutOfBoundsException: index can't be >= size: 2 >= 2
	at com.badlogic.gdx.utils.Array.get(Array.java:154)
	at com.badlogic.gdx.controllers.desktop.OisControllers$OisController$1.buttonPressed(OisControllers.java:125)
	at com.badlogic.gdx.controllers.desktop.ois.OisJoystick.buttonPressed(OisJoystick.java:53)
	at com.badlogic.gdx.controllers.desktop.ois.OisJoystick.update(Native Method)
	at com.badlogic.gdx.controllers.desktop.ois.OisJoystick.update(OisJoystick.java:83)
	at com.badlogic.gdx.controllers.desktop.ois.Ois.update(Ois.java:42)
	at com.badlogic.gdx.controllers.desktop.OisControllers$1.run(OisControllers.java:100)
	at com.badlogic.gdx.backends.lwjgl.LwjglApplication.executeRunnables(LwjglApplication.java:267)
	at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:214)
	at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:128)

I'm returning true to say the event is handled, so it should stop, but that is ignored so it carries on regardless.
I think the fix should be a simple case of changing allListeners.get(ii).buttonUp(OisController.this, buttonIndex); to if (allListeners.get(ii).buttonUp(OisController.this, buttonIndex)) break; for each event type. That shouldn't be a breaking change as it's expected behaviour that an event won't be passed on if you return true. Apologies if I should just have submitted this as a pull-request, that's not something I've done before.
Version of LibGDX and/or relevant dependencies
1.9.10, gdx-controllers, but it's still that way in the current master branch.
Please select the affected platforms

[ ] Android
[ ] iOS (robovm)
[ ] iOS (MOE)
[ ] HTML/GWT
[X] Windows
[X] Linux
[X] MacOS

As a side-issue, the ControllerListener documentation repeatedly says "@return whether to hand the event to other listeners", which is unclear. It sounds like you should return true to hand the event to other listeners, when the opposite is the case.

@AtkinsSJ I submitted a PR.

@yuripourre Wow, that was quick! Thank you. And sure, if I see something else in the future I'll try submitting a PR.


GLITCH.com upload?

Please describe the changes this PR makes and why it should be merged, as well as any and all proof of successful tests:
Semantic versioning classification:

[ ] This PR changes the framework's interface (methods or parameters added)

[ ] This PR includes breaking changes (methods removed or renamed, parameters moved or removed)

[ ] This PR only includes non-code changes, like changes to README, etc.

Guidebot is not a web server, people are free to add the glitch code if they want but it should not, and will not, be part of the basic bot boilerplate. It doesn't have its place here.


updated: the api doc according to the api.md file on riot.github.io

I have update the api.md file so I could easily include it directly in riot.github.io as submodule

Ops sorry ignore this pull request, this as it's will not work


Add function to resolve eth address to filecoin ID type

Take the ETH address and prepend 0x040a.
Call the resolve_address precompile.

:link: zboto Link

closed by #176


Handling foreign keys

This ensures foreign keys are created as we expect them, rather than Sequelize guessing at what they should be called

:+1:

:+1:


Add example with external query files

First and foremost, after being relatively new to Rust, sqlx made it incredibly easy to dive right into data-driven applications with a great straightforward API and docs to match. The docs touch on query_file!() and query_as_file!() (along with the other variants), but I thought it would be nice to include a Postgres-based example as well (recently did this in a personal project). Great work!

First and foremost, after being relatively new to Rust, sqlx made it incredibly easy to dive right into data-driven applications with a great straightforward API and docs to match. The docs touch on query_file!() and query_as_file!() (along with the other variants), but I thought it would be nice to include a Postgres-based example as well (recently did this in a personal project). Great work!

It looks like you've made a bit of a mess of your commit history here. I'd recommend doing an interactive rebase to get it down to just your commits and then rebase onto main instead of merging main into your fork.

Alternatively, you could copy your changes into a fresh clone against a new branch, and then reset this branch to it.

@abonander whoops, didn't catch that while syncing forks. Updated, looks like the originally intended change now.

You still have 9 or so superfluous commits there that I don't want to add to the repo's history. Can you please rebase instead of pulling? There's a merge conflict from #1802 to fix anyway.

Well, don't worry about the extra commits since I'll do a squash on merge anyway.


chore: building blocks for patching googleapis after download

When developing a new feature based on simple changes to the
googleapis repo, it may well be easier to apply a patch to the
downloaded proto files rather than dealing with branches.
Those googleapis branches are often not kept up to date, so it
can be difficult to rebase branches in this repo, which hinders
developing at head. Patching also allows for the possibility of
layering changes from multiple googleapis branches.
This PR doesn't change any behavior, but it does leave indicators
for where patches can be applied in both the CMake and bazel
builds, as well as adding the "patch" binary to the docker images.
I recently used this mechanism to check whether a proposed proto
rearrangement would affect the build for the Cloud Spanner client.
An additional lesson from that effort was that any changes to the
shape of the proto tree made by the patch, which would require edits
to the list of proto files in external/googleapis/CMakeLists.txt,
would also necessitate patching the downloaded bazel BUILD files.

This change is

Hey, sorry for the delay.  I see how this is useful.  I also see how this is a bit dangerous, it makes our HEAD use protos that do not match production. Do you mind if I mull this until tomorrow?  If other folks think I am overly cautious then we should probably merge.

Let me clarify that I don't think any patches should ever be checked-in.  I could certainly add comments to that effect.
This is only intended for early development on unreleased proto messages.  The thought was that leaving the breadcrumbs for where to apply patches, and to already have the patch tool in the image, would just make such development a little easier.

Ah, yes, a couple of comments saying "never commit these changes: would help.

Thanks.  Added comments.  PTAL.

Thanks. Added comments. PTAL.

It looks like the formatter likes to (further) indent the CMakeLists.txt comments.  Should we try to avoid that?

Thanks. Added comments. PTAL.

It looks like the formatter likes to (further) indent the CMakeLists.txt comments. Should we try to avoid that?

Yikes. Maybe move the comment above and attache it to the ExternalProject_Add command.

Sometimes you can surround a block with   # ~~~ to disable the formatter .

Sometimes you can surround a block with # ~~~ to disable the formatter .

Thanks.  Those fences do disable re-flowing of the comment (which I need for the example anyway), but they do not affect the chosen indentation level.
It looks like it assumes the comment is related to the previous line, so it is indented to the level of that keyword's arguments (in this case, the URL_HASH).  So moving the comment down one line does something reasonable ... aligning with the PATCH_COMMAND argument.


Closes: #1

Add check that first char is alpha
Fixes #1

It's a good idea to open an issue first for discussion.

[ ] Tests pass
[ ] Appropriate changes to README are included in PR

@googlebot I signed it!


Usage example provided not compiling!

When copying the (supposedly standalone) usage example into a file and trying to compile it, I get a parse error on the i in , delete i c = ...

How embarrassing! Thanks for reporting this.
I've fixed the sample code and added a test to check that the sample continues to compile in future. A new release has been uploaded to Hackage.


docs: add quickstart commands

This PR

Adds quickstart instructions to homepage

Related Issues

Closes #895

We've implemented a version of this here.


How do we model globals?

Right now we don't have a design yet for how to model globals. We might expect Allocator to be a context capability, but right now that has to be set through #[global_allocator]. It'd be great if we could model that too using context capabilities.
Examples
Current
This is how to declare a global allocator today (example using wee-alloc):
// Use `wee_alloc` as the global allocator.
#[global_allocator]
static ALLOC: wee_alloc::WeeAlloc = wee_alloc::WeeAlloc::INIT;

fn main() {
    let v = vec![1, 2, 3];
}

Proposed
What I'm wondering is whether we'd be able to replace the attribute using with in global position instead:
// Use `wee_alloc` as the global allocator.
with std::alloc::Allocator = wee_alloc::WeAlloc::INIT;

fn main() {
    let v = vec![1, 2, 3];
}

This would be equivalent to doing:
fn main() {
    with std::alloc::Allocator = wee_alloc::WeAlloc::INIT {
        let v = vec![1, 2, 3];
    }
}

Open Questions

What should the semantics for this be?
What should the syntax for this be?
Would this be useful for other context capabilities beyond allocation?
What would a migration of #[global_allocator] to this look like?
… probably other questions too? Please comment here if there are any other questions we should figure out?

Something I forgot to add: but I believe there is a connection between platform triples and which capabilities are exposed by default. For example wasm32-unknown-unknown will not ship with either an allocator or async runtime, but a (potential) wasm32-browser-wasi platform could be expected to provide both.

For globals like this we may want to make them un-overridable for soundness, e.g. using the final keyword.
cc @joshtriplett


os15 cannot run

Question:
Ios15 cannot run
Specifications:

html2canvas version tested with: 1.3.2
Browser & version:  Wechat built-in browser
Operating system: ios 15.0

Bug reports:
Ios15 cannot run

same issue, anybody fix this?


Hide Bottom Drawer

Hi
Please add hide method in BottomDrawerController to hide completely Bottom Drawer

You can use Offstage widget.


Added Dashboard/stats cards

Reviewer: @lickem22
Estimate: 30mins

Ticket
Fixes: AAQ-601 and AAQ-605
Description
Goal
Write backend dashboard endpoints
Write tests
Link admin app dashboard end to backend
Changes
Future Tasks (optional)
How has this been tested?
Tests pass
Use playground to create queries and urgency requests
Use backend to create feedback requests
Also fixed tests
To-do before merge (optional)
Checklist
Fill with x for completed.

[x] My code follows the style guidelines of this project
[x] I have reviewed my own code to ensure good quality
[x] I have tested the functionality of my code to ensure it works as intended
[x] I have resolved merge conflicts

(Delete any items below that are not relevant)

[x] I have updated the automated tests
[ ] I have updated the scripts in scripts/
[x] I have updated the requirements
[ ] I have updated the README file
[ ] I have updated affected documentation
[ ] I have added a blogpost in Latest Updates
[ ] I have updated the CI/CD scripts in .github/workflows/
[ ] I have updated the Terraform code

Replaced with #268


fixes receivedMessages undefined index

Coverage increased (+0.003%) to 98.133% when pulling abe9e0c9333310c98fe4b65510511f40df9959bc on bshaffer-patch-2 into 68bebb4c1382c3ed6169eb550e6c5e1fa647fcb5 on master.


build: upgrade qemu-user-static package

qemu 8 contains a bug fix that is needed to make an upcoming libuv feature work on systems where the host endianness differs from the target endianness. Without it, the regression test fails on such systems.
Refs: https://github.com/libuv/libuv/pull/4107
Refs: https://github.com/qemu/qemu/commit/44cf6731d6b

When was the last time anything was easy... with qemu 8, every test fails with "execve: format error." Installing the qemu binfmt doesn't work, that's already installed.

Still execve errors with 8.0.4. I'm not going to sink more time in this. Closing.


Uploading to Storage fails with "Code=-13000 "An unknown error occurred, please check the server response."

The first attempt after each app startup works fine, the second upload of a different file fails with an error similar to:
Error Domain=FIRStorageErrorDomain Code=-13000 "An unknown error occurred, please check the server response." UserInfo={object=coaches/cat/cat-tky6BL.mp4, ResponseBody=Can not finalize upload.  Current size is 10457692.  Expected final size is 3865459., bucket=dev-eastnine.appspot.com, data={length = 84, bytes = 0x43616e20 6e6f7420 66696e61 6c697a65 ... 33383635 3435392e }, data_content_type=text/plain; charset=utf-8, NSLocalizedDescription=An unknown error occurred, please check the server response., ResponseErrorDomain=com.google.HTTPStatus, ResponseErrorCode=400}
Uploading the same video from a new local file also succeeds (because it matches the size?).
It feels like there is some kind of caching going on that saves the first file size and checks each following file against that. Possibly because I'm sending the URL, but the file is different.
A symptom of this issue I also detect is that the progress listener if the second file if larger than the first goes over 1.0 up to whatever factor the file size is over the first until it fails with the error above.
Steps to reproduce:
Simply try to upload different video files to different references but from the same local URL.
Relevant Code:
private func uploadLocalVideo() {
    guard let user = UserModel.currentUser, let coachId = user.coachId else { return }

    let metadata = StorageMetadata()
    metadata.contentType = "video/mp4"
    metadata.customMetadata = ["userId":user.documentID, "coachId":coachId, "contentId":contentData.contentId]

    let storage = Storage.storage().reference()
    let ref = storage.child("coaches").child(coachId).child(contentData.contentId + ".mp4")
    DispatchQueue.main.async {
        self.videoUploadTask = ref.putFile(from: NewWorkoutManager.videoUrl, metadata: metadata) { (metadata, error) in
            if let error = error {
                print("********** Error: \(error)")
            } else {
                self.videoUploaded = true
            }
            if let metadata = metadata {
                print("******** Uploaded Video to \(metadata.path)")
            }
        }
    }
}

Hi @HauntedSoul, it seems like your issue is related to #6720. Also, can you provide a sample project that will reproduce the issue in order to help with the investigation? Thanks.

Yes the issue looks related to the linked one. I won't be able to create a sample project in the short term.
I can add that I have fixed the issue by using a URL created in the scope of the function above instead of trying to use the one that was defined in a constant.

Thanks for sharing your findings, @HauntedSoul. It seems that the issue has been fixed by updating the URL. I'll close this issue for now, but we can re-open when we get more reports.


Remove "shaming" text when you have 0 items to read

Specifically, these statements.

They're not helpful and make me feel bad. The "anti-social RSS reader" should say nothing or encourage you to add new feeds :)
Looks like it would require a scrub through the various language files, for example:
https://github.com/swanson/stringer/blob/master/config/locales/en.yml

Would be happy to consider some alternatives if you have any ideas. It would just need to be a change to the English language file and the other translations would be notified and updated.
Intention of "go make something" was to be a bit inspiring and the "slacker" was a joke, but I can see how that might not come across as such. Maybe we can come up with better inspiration phrasing and remove the footer text?

I like it. And it's not exactly difficult to change if you don't.

I'm closing this issue for lack of activity.


Spschul make examples test cases

Fixes
Description of the changes:

Working on getting examples as test cases. WIP.

Before submitting a Pull Request:

[ ] I reviewed CONTRIBUTING.md
[ ] I built my changes locally
[ ] I ran the unit tests
[ ] I ran the functional tests with a device
[ ] I ran the performance tests with a device

I tested changes on:

[ ] Windows
[ ] Linux

/azp run


v8: use 4.5.107 by default

Motivation for this change
Use latest version of v8 by default
Things done

[ ] Tested using sandboxing
(nix.useChroot on NixOS,
or option build-use-chroot in nix.conf
on non-NixOS)
Built on platform(s)

[ ] NixOS
[ ] OS X
[x] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Fits CONTRIBUTING.md.

Default v8 was fixed at 3.30.33, so running nix-build nixpkgs -A v8
would give us version 3.30.33, whereas nix-env -i v8 would install
version 4.5.107. Now, both commands build 4.5.107, and there is still an
option to install version 3.30.33

builds on top of #17199


Updates all action versions

This resolves the warnings in all action runs about Node 12 actions being deprecated.  Despite the major version bump, the breaking change is Node 16 and transparent to actual usage.
I also updated cibuildwheel and the pypi release actions to their latest.  These were not major version bumps.

thanks


fix(example): Incorrect minimum version configuration.

Description
Due to the dependency on flutter_lints: ^5.0.0, version 5.0.0 requires at least Dart SDK 3.5.

fix: https://github.com/fluttercommunity/plus_plugins/issues/3366

Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x]  I titled the PR using Conventional Commits.
[ ] I did not modify the CHANGELOG.md nor the plugin version in pubspec.yaml files.
[ ] All existing and new tests are passing.
[x] The analyzer (flutter analyze) does not report any problems on my PR.

Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change (please indicate that with a ! in the title as explained in Conventional Commits).
[x]  No, this is not a breaking change.

I would prefer to revert flutter_lints dependency version than bump min requirements even more. Closing this PR and will create another one with a different version of flutter_lints instead.


feat: init project + implement SideNavigation component

Feature type

[x] UI
[x] Implementation
[ ] Specification
[ ] CI/CD
[ ] Other

Feature description
Pull request checklist
Please check if your PR fulfills the following requirements:

[x] Your code builds clean without any errors or warnings.
[ ] Tests for changes have been added (for bug fixes / features). If no, why?

It's Feature not Feat, please use feature next time, i have no idea what is feat.


Correct usage for different message formats

This issue is more of a question around usage rather than a bug being present.  If that's not ok, I'd be happy to close this.  I am using pgproto3 to act as a fake PG server to respond to ActiveRecord (ORM) queries.  I have my message handling on the pgproto3 side set up like the following (with the pgproto3.Query type matching the example in this repo almost exactly):
for {
	   msg, err := backend.Receive()
	   // ... err handling

	   switch msg.(type) {
	   case *pgproto3.Parse:
			 fmt.Printf("received parse from client: %#v", msg)
			 buf := (&pgproto3.ParseComplete{}).Encode(nil)
			 _, err = conn.Write(buf)
			 if err != nil {
				   return fmt.Errorf("error writing parse response: %w", err)
			 }
	   case *pgproto3.Bind:
			 fmt.Printf("received bind from client: %#v", msg)
			 buf := (&pgproto3.BindComplete{}).Encode(nil)
			 _, err = conn.Write(buf)
			 if err != nil {
				   return fmt.Errorf("error writing parse response: %w", err)
			 }
	   case *pgproto3.Execute:
			 fmt.Printf("received execute from client: %#v", msg)
			 buf := (&pgproto3.Execute{Portal: "", MaxRows: 0}).Encode(nil)
			 buf = (&pgproto3.ReadyForQuery{TxStatus: 'I'}).Encode(buf)
			 _, err = conn.Write(buf)
			 if err != nil {
				   return fmt.Errorf("error writing parse response: %w", err)
			 }
	   case *pgproto3.Describe:
			 fmt.Printf("received describe from client: %#v", msg)
			 // similar code as execute / bind
	   case *pgproto3.Sync:
			 fmt.Printf("received sync from client: %#v", msg)
			 // similar code as the above cases
	   case *pgproto3.Query:
                        // mostly matches the code in the example repo
... other stuff...
}

ActiveRecord sends some queries that fall under the Bind, Execute, Parse, etc... scopes in the cases above, but the problem is I'm not exactly sure how I should go about responding to those different cases via the Write command, or if I should be using Write at all for those cases.  Here's an example ActiveRecord error log when trying to run a query:
ActiveRecord::StatementInvalid: PG::UnableToSend: no error message available
message contents do not agree with length in message type "E"

from /lib/ruby/gems/3.0.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `exec_params'
Caused by PG::UnableToSend: no error message available
message contents do not agree with length in message type "E"

from /lib/ruby/gems/3.0.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `exec_params

Some of the queries the ORM automatically sends when connecting look like this:
SELECT t.oid, t.typname FROM pg_type as t WHERE t.typname IN ('int2', 'int4', 'int8', 'oid', 'float4', 'float8', 'numeric', 'bool', 'timestamp', 'timestamptz');
SET SESSION timezone TO 'UTC';
SET client_min_messages TO 'warning';

I know that a random ORM project isn't within the realm of what people here are expected to understand, but I thought someone may be able to point me in the right direction here.  Thanks!

At a rough glance it looks okay. But you might want to look at https://github.com/jackc/pgmock. In particular, the pgmockproxy demo. You could use that to observe the message flow between your client and the PG server to see what is expected.

@jackc ah, thanks for the tip!  I'll give that a shot.


License?

Hello, David.
Thanks for this tool!
Sorry, that I contact you by creating this issue (I haven't found another way to do it on gitHub). There is no information about license for browser mob .net wrapper. Can you add one?
Thanks in advance!

Hi David,
I am not seeing the option to add setCaptureHeaders and setCaptureContent as we have it in the Java version, this is causing an issue like when I am trying to capture the Har data when there is a click event I am not seeing the complete traffic as I am seeing when doing GotoUrl in Selenium.


Error log improvements for verifying vulnerability report

What would you like to be added?
I set up a policy to block images that are not compliant with vulnerabilities standards by verifying vulnerability reports.
Case-1: No vulnerability report is attached to an image
The error message is like "verification failed: Error: referrers not found, Code: REFERRERS_NOT_FOUND, Component Type: executor", for normal users, they do not know what referrers mean. It will not help users to understand what happened
Improvement: at least we can add the information of artifactType, so that we know which artifact as the referrers is missing.
Case-2: Verify an image with vulnerabilities of disallowed severities
The message field of the verifier reports is "vulnerability report validation failed" which is very general, the severity violations include a full list of vulnerabilities from vulnerability report, which could be a long list that can flush out the logs
Improvement: The message can be more intuitive, like "Vulnerability report validation failed: Found vulnerabilities with severities in the deny list", in the extension, it could be a list of "CVE and Severity".
Case-3: Verify an image with vulnerabilities in the denylist
Similar to Case-2, the value in the message field is too general message": "vulnerability report validation failed".
Improvement: The message can be more intuitive, like "Vulnerability report validation failed: Found CVEs in the deny list"
Anything else you would like to add?
N/A
Are you willing to submit PRs to contribute to this feature?

[ ] Yes, I am willing to implement it.

This issue was largely fixed by #1238. However, case-1 is a longer tail fix since it requires changes at the executor level.

@akashsinghal lets close this one and open specific executor level error improvement


Add a link to Insights Data Schemas repo into documentation

Add a link to Insights Data Schemas repo into documentation

Added there: https://github.com/RedHatInsights/insights-operator-web-ui/blob/master/docs/references.md


Add document describing correct use of virt-v2v in forklift

Signed-off-by: Richard W.M. Jones<EMAIL_ADDRESS>

Thank you! @rwmjones

Due to the nature of Konveyor changing to align to the Unified Vision, I think it's best we close this PR out.
If you feel strongly otherwise please reopen and add a comment.

Dare I ask what the "Unified Vision" is?

@rwmjones I hope the link helps, working on an update to the Charter as well.  Short summary is we want to align Konveyor to the Application Modernization needs that Tackle has been addressing and move away from the prior concept of Konveyor being a collection of independent projects working in a loosely related problem space.
From that effort we've rehomed several of the former Konveyor projects.
For example, Forklift is now under https://github.com/kubev2v


Webpack build errors when including browser.js

In my app I have:
import { createReport } from '@/plugins/browser';
and have added browser.js to the correct folder.
Nevertheless, when building my app:
C:\myapp\src\plugins\browser.js

   1:51     error  'globalThis' is not defined                                                no-undef
   1:19949  error  Empty block statement                                                      no-empty
   1:28355  error  Redundant double negation                                                  no-extra-boolean-cast
   1:70755  error  Expected a 'break' statement before 'case'                                 no-fallthrough
   1:70967  error  Expected a 'break' statement before 'case'                                 no-fallthrough
   1:71167  error  Expected a 'break' statement before 'case'                                 no-fallthrough
   1:71415  error  Expected a 'break' statement before 'case'                                 no-fallthrough
   1:71725  error  Expected a 'break' statement before 'case'                                 no-fallthrough
   1:72004  error  Expected a 'break' statement before 'case'                                 no-fallthrough
   1:72278  error  Expected a 'break' statement before 'case'                                 no-fallthrough
   1:72628  error  Expected a 'break' statement before 'case'                                 no-fallthrough
   1:72775  error  Expected a 'break' statement before 'case'                                 no-fallthrough
   1:72821  error  Expected a 'break' statement before 'case'                                 no-fallthrough
   1:73380  error  Expected a 'break' statement before 'case'                                 no-fallthrough
   1:73403  error  Expected a 'break' statement before 'case'                                 no-fallthrough
   1:73828  error  Expected a 'break' statement before 'case'                                 no-fallthrough
   1:74198  error  Expected a 'break' statement before 'case'                                 no-fallthrough
   1:75452  error  Expected a 'break' statement before 'case'                                 no-fallthrough
   1:75473  error  Expected a 'break' statement before 'case'                                 no-fallthrough
   1:76239  error  Expected a 'break' statement before 'case'                                 no-fallthrough
   1:76418  error  Expected a 'break' statement before 'case'                                 no-fallthrough
   1:76875  error  Expected a 'break' statement before 'case'                                 no-fallthrough
   1:77116  error  Expected a 'break' statement before 'case'                                 no-fallthrough
   1:77849  error  Expected a 'break' statement before 'case'                                 no-fallthrough
   1:78029  error  Expected a 'break' statement before 'case'                                 no-fallthrough
   2:3513   error  Empty block statement                                                      no-empty
   2:15229  error  Redundant double negation                                                  no-extra-boolean-cast
   7:748    error  Expected method 'get' to always return a value                             getter-return
   7:766    error  Redundant double negation                                                  no-extra-boolean-cast
   7:865    error  Expected method 'get' to always return a value                             getter-return
   7:883    error  Redundant double negation                                                  no-extra-boolean-cast
   7:1634   error  'SharedArrayBuffer' is not defined                                         no-undef
   7:1669   error  'SharedArrayBuffer' is not defined                                         no-undef
   7:14264  error  'BigInt' is not defined                                                    no-undef
   7:14276  error  'BigInt' is not defined                                                    no-undef
   7:14288  error  'BigInt' is not defined                                                    no-undef
   7:14559  error  'BigInt' is not defined                                                    no-undef
   7:14571  error  'BigInt' is not defined                                                    no-undef
   7:14583  error  'BigInt' is not defined                                                    no-undef
   7:15814  error  'BigInt' is not defined                                                    no-undef
   7:15826  error  'BigInt' is not defined                                                    no-undef
   7:15838  error  'BigInt' is not defined                                                    no-undef
   7:16101  error  'BigInt' is not defined                                                    no-undef
   7:16113  error  'BigInt' is not defined                                                    no-undef
   7:16125  error  'BigInt' is not defined                                                    no-undef
   7:18143  error  'BigInt' is not defined                                                    no-undef
   7:18247  error  'BigInt' is not defined                                                    no-undef
   7:18258  error  'BigInt' is not defined                                                    no-undef
   7:18411  error  'BigInt' is not defined                                                    no-undef
   7:18515  error  'BigInt' is not defined                                                    no-undef
   7:18526  error  'BigInt' is not defined                                                    no-undef
   7:18689  error  'BigInt' is not defined                                                    no-undef
   7:18699  error  'BigInt' is not defined                                                    no-undef
   7:18798  error  'BigInt' is not defined                                                    no-undef
   7:18808  error  'BigInt' is not defined                                                    no-undef
   7:20150  error  'BigInt' is not defined                                                    no-undef
   7:20179  error  'BigInt' is not defined                                                    no-undef
   7:20278  error  'BigInt' is not defined                                                    no-undef
   7:20307  error  'BigInt' is not defined                                                    no-undef
   7:23322  error  'BigInt' is not defined                                                    no-undef
   7:23333  error  'BigInt' is not defined                                                    no-undef
   7:23349  error  'BigInt' is not defined                                                    no-undef
   7:23360  error  'BigInt' is not defined                                                    no-undef
   7:23771  error  'BigInt' is not defined                                                    no-undef
   7:32258  error  Do not access Object.prototype method 'hasOwnProperty' from target object  no-prototype-builtins
   7:33625  error  Setter cannot return a value                                               no-setter-return
   7:34715  error  Unexpected combined character in character class                           no-misleading-character-class
   7:35070  error  Unexpected combined character in character class                           no-misleading-character-class
  11:896    error  Do not access Object.prototype method 'hasOwnProperty' from target object  no-prototype-builtins
  17:6584   error  't' is already defined                                                     no-redeclare
  17:8142   error  't' is already defined                                                     no-redeclare
  17:9931   error  Expected a conditional expression and instead saw an assignment            no-cond-assign

Not sure why you're using the browser.js like that. You're using a bundler (webpack), so why not do import createReport from 'docx-templates';?


Fix: Compose menu icons are visible even in unexpanded state.

Fix: #2979

:smile: Based on the comment in the new version it sounds like this is not something we should merge.
I definitely would be interested in a fix for #2979, though! Seems like some more debugging is required. :wink:


feat: set --node-ip for Windows kubelet in k8s v1.29+

What type of PR is this?
/kind feature

What this PR does / why we need it:
set --node-ip for Windows kubelet in k8s v1.29+
kubelet in k8s v1.29+ cannot get the node ip by itself. Reference: kubelet: cloud-provider external addresses by aojea · Pull Request #121028 · kubernetes/kubernetes (github.com)
Which issue(s) this PR fixes:

Fixes #
Requirements:

[x] uses conventional commit messages

[ ] includes documentation
[ ] adds unit tests
[ ] tested upgrade from previous version

Special notes for your reviewer:
Release note:
none

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
2292

Relevant Lines:
2887

💛  - Coveralls

Multitenancy is coming to Windows, this is going to break that scenario.

Multitenancy is coming to Windows, this is going to break that scenario.

I think that the logic will be updated in adding multitenancy support on Windows.

A little worried about nic selection eventually failing if there are multiple nics. (multitenancy) this isn't a big deal for now and doesn't happen on windows yet but lettign some mulitenancy folks know. Hopefully we just have a hostNetwork cloud node manage by then.

Thank you for the comments. I have replied them. The current nic selection should work for current scenarios. I think that we need to update the code at that time when new scenario is introduced.


Add animated buttons using HTML and CSS.

Add animated buttons which are not present here
You can create amazing animated buttons on your own or learn and create one. star2
All the best. eyes

i will take this

okay


On clicking logo it takes me to 404 page

Expected Behavior
After hitting the url https://learntocloud.guide/ when I drag it down the webpage and then again click on the Learn to Cloud logo it should take me to the https://learntocloud.guide(homepage).
Actual Behavior
After hitting the URL https://learntocloud.guide/ when I drag down and then again click on the Learn to Cloud logo it should take me to the https://learntocloud.guide(homepage) instead of that, it takes me to this URL (https://learntocloud.guide/undefined) that gives me a 404 page.
Steps to Reproduce the Problem

Open the website https://learntocloud.guide/
Drag down the page a little bit.
Click on the Learn to Cloud logo.

Specifications

Version:
Platform:
Subsystem:

Thank you :) I've resolved this in latest update.


gpf.serial.buildToRaw

Part of #271
As a developer, I want to create a function that gets any instance of a given class and generates a raw record containing only serializable attributes of this class
Acceptance criterias:

[x] the api name is gpf.serial.buildToRaw, it must accepts a class definition with Serializable attributes
[x] it returns a function that takes an instance of the initial class (it fails if not) and returns a dictionary composed of the Serializable attributes' value

Might move away from static function because of converter support


Added new project for features

Moved the features code out of cheddar-context and duplicated from cheddar-domain to enable greater re-use

Nothing controversial, seems OK


resume_training_from_ckpt is missing some parameters

First of all, it's a great library
coach.py
    def load_from_train_checkpoint(self, ckpt):
        print('Loading previous training data...')
        self.global_step = ckpt['global_step'] + 1
        self.best_val_loss = ckpt['best_val_loss']
        self.net.load_state_dict(ckpt['state_dict'])

        if self.opts.keep_optimizer:
            self.optimizer.load_state_dict(ckpt['optimizer'])
        if self.opts.w_discriminator_lambda > 0:
            self.discriminator.load_state_dict(ckpt['discriminator_state_dict'])
            self.discriminator_optimizer.load_state_dict(ckpt['discriminator_optimizer_state_dict'])
        if self.opts.progressive_steps:
            self.check_for_progressive_training_update(is_resume_from_ckpt=True)
        print(f'Resuming training from step {self.global_step}')

global_step best_val_loss discriminator_state_dict discriminator_optimizer_state_dict It's not stored in the model

how to fix it?

I'm also having this problem, has anyone found a solution?