Support (non-legacy) SQL nested data types

STRUCT<t> and ARRAY<t> seem to be the types.
See #2342. h/t to @c0b for filing.

From #2585: Sample app that reproduces this
Stacktrace:
Traceback (most recent call last):
  File "simple_app.py", line 57, in <module>
    query_shakespeare()
  File "simple_app.py", line 47, in query_shakespeare
    page_token=page_token)
  File "lib/python2.7/site-packages/google/cloud/bigquery/query.py", line 401, in fetch_data
    rows_data = _rows_from_json(response.get('rows', ()), self.schema)
  File "lib/python2.7/site-packages/google/cloud/bigquery/_helpers.py", line 98, in _rows_from_json
    for item in cell['v']])
  File "lib/python2.7/site-packages/google/cloud/bigquery/_helpers.py", line 61, in _record_from_json
    for subfield, cell in zip(field.fields, value['f']):
KeyError: 'f'

Stepping into the debugger:
ipdb> value
{u'v': {u'f': [{u'v': u'hamlet'}, {u'v': u'5318'}]}}
ipdb> field.__dict__
{'field_type': u'RECORD', 'description': None, 'name': u'title', 'fields': [<google.cloud.bigquery.schema.SchemaField object at 0x7f4ba9227550>, <google.cloud.bigquery.schema.SchemaField object at 0x7f4ba9227690>], 'mode': u'REPEATED'}

(Added by @dhermes)

A simple statement works fine
>>> from google.cloud import bigquery
>>> client = bigquery.Client()
>>> query = client.run_sync_query('SELECT 1')
>>> query.use_legacy_sql = False
>>> query.run()
>>> query.rows
[(1,)]

Sending a query with nested types also works fine
In [1]: from google.cloud import bigquery

In [2]: client = bigquery.Client()

In [3]: sql_str = (
   ...:     'SELECT ARRAY['
   ...:     'STRUCT("zx83" AS id, 1 AS a, 2 AS b), '
   ...:     '("f8f7", 4, 7)'
   ...:     '] '
   ...:     'd')

In [4]: query = client.run_sync_query(sql_str)

In [5]: query.use_legacy_sql = False

In [6]: query.run()

In [7]: query.__dict__
Out[7]:
{'_client': <google.cloud.bigquery.client.Client at 0x7fb7cf39a290>,
 '_configuration': <google.cloud.bigquery.query._SyncQueryConfiguration at 0x7fb7cf3b0fd0>,
 '_job': None,
 '_properties': {u'cacheHit': False,
  u'jobComplete': True,
  u'jobReference': {u'jobId': u'job_ruoSHLwjeg_lSfYZq8dmrjQ0Eg4',
   u'projectId': u'precise-truck-742'},
  u'kind': u'bigquery#queryResponse',
  u'rows': [{u'f': [{u'v': [{u'v': {u'f': [{u'v': u'zx83'},
          {u'v': u'1'},
          {u'v': u'2'}]}},
       {u'v': {u'f': [{u'v': u'f8f7'}, {u'v': u'4'}, {u'v': u'7'}]}}]}]}],
  u'schema': {u'fields': [{u'fields': [{u'mode': u'NULLABLE',
       u'name': u'id',
       u'type': u'STRING'},
      {u'mode': u'NULLABLE', u'name': u'a', u'type': u'INTEGER'},
      {u'mode': u'NULLABLE', u'name': u'b', u'type': u'INTEGER'}],
     u'mode': u'REPEATED',
     u'name': u'd',
     u'type': u'RECORD'}]},
  u'totalBytesProcessed': u'0',
  u'totalRows': u'1'},
 '_udf_resources': (),
 'query': 'SELECT ARRAY[STRUCT("zx83" AS id, 1 AS a, 2 AS b), ("f8f7", 4, 7)] d'}

but the rows accessor fails
In [8]: query.rows
---------------------------------------------------------------------------
KeyError                                  Traceback (most recent call last)
<ipython-input-8-27b591eefa89> in <module>()
----> 1 query.rows

.../google/cloud/bigquery/query.pyc in rows(self)
    223         :returns: fields describing the schema (None until set by the server).
    224         """
--> 225         return _rows_from_json(self._properties.get('rows', ()), self.schema)
    226
    227     @property

.../google/cloud/bigquery/_helpers.pyc in _rows_from_json(rows, schema)
     96             if field.mode == 'REPEATED':
     97                 row_data.append([converter(item, field)
---> 98                                  for item in cell['v']])
     99             else:
    100                 row_data.append(converter(cell['v'], field))

.../google/cloud/bigquery/_helpers.pyc in _record_from_json(value, field)
     59     if _not_null(value, field):
     60         record = {}
---> 61         for subfield, cell in zip(field.fields, value['f']):
     62             converter = _CELLDATA_FROM_JSON[subfield.field_type]
     63             if field.mode == 'REPEATED':

KeyError: 'f'

Just for fun, here are those last properties as JSON:
{
  "cacheHit": false,
  "jobComplete": true,
  "jobReference": {
    "jobId": "job_ruoSHLwjeg_lSfYZq8dmrjQ0Eg4",
    "projectId": "precise-truck-742"
  },
  "kind": "bigquery#queryResponse",
  "rows": [
    {
      "f": [
        {
          "v": [
            {
              "v": {
                "f": [
                  {
                    "v": "zx83"
                  },
                  {
                    "v": "1"
                  },
                  {
                    "v": "2"
                  }
                ]
              }
            },
            {
              "v": {
                "f": [
                  {
                    "v": "f8f7"
                  },
                  {
                    "v": "4"
                  },
                  {
                    "v": "7"
                  }
                ]
              }
            }
          ]
        }
      ]
    }
  ],
  "schema": {
    "fields": [
      {
        "fields": [
          {
            "mode": "NULLABLE",
            "name": "id",
            "type": "STRING"
          },
          {
            "mode": "NULLABLE",
            "name": "a",
            "type": "INTEGER"
          },
          {
            "mode": "NULLABLE",
            "name": "b",
            "type": "INTEGER"
          }
        ],
        "mode": "REPEATED",
        "name": "d",
        "type": "RECORD"
      }
    ]
  },
  "totalBytesProcessed": "0",
  "totalRows": "1"
}

and where can I get alias names? in a query like below I am expecting to access results in a dict way like result.a result.b because in my actual app (in nodejs) I have more complicated query generated schema, there are more fields, to access all those fields in the tuple (1, 2) way is not convenient and error prone; please let me know should it be another issue by its own? or can be documentation request if you already have it (but I don't see an example in current doc)
https://googlecloudplatform.github.io/google-cloud-python/stable/bigquery-query.html
In [56]: query = client.run_sync_query('SELECT 1 AS a, 2 AS b'); query.use_legacy_sql = False; query.run()

In [57]: query.__dict__
Out[57]:
{'_client': <gcloud.bigquery.client.Client at 0x7f89a047ad90>,
 '_configuration': <gcloud.bigquery.query._SyncQueryConfiguration at 0x7f89a0404710>,
 '_job': None,
 '_properties': {u'cacheHit': False,
  u'jobComplete': True,
  u'jobReference': {u'jobId': u'job_POdEXqw6MgHtL-WDZX21BA7_fII',
   u'projectId': u'hb-inspector'},
  u'kind': u'bigquery#queryResponse',
  u'rows': [{u'f': [{u'v': u'1'}, {u'v': u'2'}]}],
  u'schema': {u'fields': [{u'mode': u'NULLABLE',
     u'name': u'a',
     u'type': u'INTEGER'},
    {u'mode': u'NULLABLE', u'name': u'b', u'type': u'INTEGER'}]},
  u'totalBytesProcessed': u'0',
  u'totalRows': u'1'},
 '_udf_resources': (),
 'query': 'SELECT 1 AS a, 2 AS b'}

In [58]: query.rows
Out[58]: [(1, 2)]

I just found bq tool has a command switch --apilog can save the detail log, exposed the library used by bq tool's python code is google-api-python-client; that one is able to handle nested google-api-python-client; at least not crashing, but the data types handling are still not there google/google-api-python-client#281
INFO:root:user-agent: google-api-python-client/1.3.1 (gzip)

Bump - this is blocking a critical sample.

@tseaver You still planning to handle?

Another bump here.

blocked on this can't use google-cloud-python with the new BigQuery standard SQL

Another bump, this is blocking samples and usage of this service.
/cc @omaray @jgeewax

/cc @stephenplusplus

Another bump, blocked on this.
Currently using a manual fix to:
google/cloud/bigquery/_helpers.py, line 61, in _record_from_json
Changed from
 for subfield, cell in zip(field.fields, value['f']):

to
record_iter = None
if 'f' in value:
    record_iter = zip(field.fields, value['f'])
else if 'v' in value and 'f' in value['v']:
    record_iter = zip(field.fields, value['v']['f'])
if record_iter:
    for subfield, cell in record_iter:

Also changed line 63, it's referencing the parent field mode instead of the subfield.
Changed from
if field.mode == 'REPEATED':

to
if subfield.mode == 'REPEATED':

@c0b since you helped us out with our schema parser over on google-cloud-node, does this issue affect us?

@stephenplusplus Can you point me to the issue there?

Sure: https://github.com/GoogleCloudPlatform/google-cloud-node/issues/1593 -- and here is the parser we ended up with: https://github.com/GoogleCloudPlatform/google-cloud-node/blob/72192113f3259d94c565498c081cde1bc95d8085/packages/bigquery/src/table.js#L261

@gaurangsinha thanks for the suggested fix.  I will investigate ASAP.

@gaurangsinha Can you check out #2787 for your purposes?  It makes a more general change to how RECORD and REPEATED mode columns are parsed.

@tseaver when can we expect a release of the bigquery client that includes this fix?

@jonparrott We can make a release whenever.  I'm expecting that we will be "declaring beta" this week on bigquery, which would be the natural point for the release.

It'd be great to get a release before then so I can get the samples ready.

Hi - I am getting a strange error when trying the big query Python API. I think it is related to this this discussion but not sure (and haven't found anything else relevant).
from google.cloud import bigquery
client = bigquery.Client()
query_results = client.run_sync_query("""
        SELECT
            fullVisitorId
        FROM dataset.table
        where hits.eventInfo.eventCategory is not Null
        limit 50;""")

(I've removed the dataset and table names.) If I have the constraint "where hits is not Null" - this works just fine. But with the above code I get the error -
google.cloud.exceptions.BadRequest: 400 Cannot access field eventInfo on a value with type ARRAY<STRUCT<hitNumber INT64, time INT64, hour INT64, ...>> at [5:20]

Is this error indeed related? Is so, when can we expect the fix to be released? (I installed the bigQuery client a couple of days ago so pretty sure I am using the most recent version.) If this error is not related, my apologies and any help pointing me in the right direction would be greatly appreciated.
Cheers, Greg

@greghines Your error does not appear to be caused by the client library. Are you able to run the same query in the BigQuery UI?

@tswast - thanks for the response. Yes the code does run in the BigQuery UI


feat: use pipeline for reth stage unwind

Closes: #6965

thanks for the start @PanGan21 ! thinking better about the issue, there's a few more requirements, so will be taking over

from an holesky datadir up to block 1M, with 0 headers in mdbx:

unwind 100 blocks ✅
--debug.tip 1M_HASH ✅

Thanks @joshieDo for taking it over!


Reuse allocations for br_table translations

This causes less strain on the heap allocator for Wasm binaries with many br_table instructions.

Codecov Report

Merging #440 (0ab2a1a) into master (11b35ae) will increase coverage by 0.04%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #440      +/-   ##
==========================================
+ Coverage   79.33%   79.38%   +0.04%
==========================================
  Files          72       72
  Lines        6198     6198
==========================================
+ Hits         4917     4920       +3
+ Misses       1281     1278       -3

Impacted Files
Coverage Δ

wasmi_v1/src/engine/func_builder/mod.rs
92.44% <100.00%> (+0.36%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


fix lsvmbus test case for patched/customized kernel installed

When a customized kernel are running with test cases related to lsvmbus, test cases always failed. As a workaround, scripts should try run lsvmbus first and then download a remote version of lsvmbus if execution exit unsuccessfully.

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

@harz566 Could you please give an example for the applied scenario?

@LiliDeng @iamshital   when ubuntu 1804 installed a manual built kernel (e.g., uname-r 5.3.0 RC3-xxx-xx), the default lsvmbus will skip execution with error code, because kernel doesn't match the linux-tools version from original distro (e.g. 4.18.xxx).    But actually some of the expected vmbus devices are there, especially those System shutdown and Heartbeat.  So we should check lsvmbus, if there are error, just try once to wget from remote.  Without that fix, in my scenario, the errors from LISAv2  LSVMBUS  and VMBUS_VERIFY_HEARTBEAT_PROPERTIES  Test Cast will have error below:
LSVMBUS:
Wed Aug 07 23:26:08 2019 : Operating system shutdown not found in lsvmbus information.
VMBUS_VERIFY_HEARTBEAT_PROPERTIES:
Thu Aug 08 02:03:04 2019 : Heartbeat device system path [] does not exist or is not in the vmbus subsystem.


Use the latest observed state to merge in the API update response

Use the latest observed state to merge in the API update response. Since latest will already be merged with desired from the ReadOne call (see https://github.com/aws-controllers-k8s/code-generator/blob/main/templates/pkg/resource/sdk_find_read_one.go.tpl#L43 and https://github.com/aws-controllers-k8s/runtime/blob/main/pkg/runtime/reconciler.go#L205)
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@A-Hilaly based on last night's discussion around server-side defaults and override fields, I think we should close this out and wait for @vijtrip2's writeups on solutions. Cool?

@jaypipes @vijtrip2 Yep, agreed. Closing this PR.


Second Mule Acc issue

(GameAction) File data/secure/1911156780933e4e0282cc4fd134b559.txt does not exist!
After created Second Muleacc , he Show items ON new acc / chars but i can't drop It in game .
GameAction is started  And making this Error after run , Not Login .
From 1st Muleacc still working

Ok, so if you check your mules by using the mulelog script OR the numpad6 key, the limedrop won't work. The proper way to make it work is to list all mule by adding it on the limedrop frontend. Doing this way everything works fine.


⚠ Bofrost.fr has degraded performance

In ab54bfc, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1148 ms

Resolved: Bofrost.fr performance has improved in 886e7f6 after 13 minutes.


Erro while building for iOS

Hello, So first of all, thank you for building this component. It's really useful and will be a game-changer for the app I am about to launch.
So I got this error while building for iOS:
It may be some issue with the path to the installation script?
---------> INSTALLING adalo-geo-location
ADDING<EMAIL_ADDRESS>----------> ./scripts/install_ios.sh [
'logo',
'displayName',
'components',
'iosInstallScript',
'androidInstallScript'
]
BEFORE: Stats {
dev: 16777220,
mode: 33188,
nlink: 1,
uid: 501,
gid: 20,
rdev: 0,
blksize: 4096,
ino: 201155701,
size: 259,
blocks: 8,
atimeMs:<PHONE_NUMBER>584.5442,
mtimeMs:<PHONE_NUMBER>773.999,
ctimeMs:<PHONE_NUMBER>074.8994,
birthtimeMs:<PHONE_NUMBER>773.999,
atime: 2021-09-06T21:11:26.585Z,
mtime: 2021-09-06T21:11:15.774Z,
ctime: 2021-09-06T21:11:26.075Z,
birthtime: 2021-09-06T21:11:15.774Z
}
Error: Command failed: /Users/administrator/Code/TestApp2/node_modules/adalo-geo-location/scripts/install_ios.sh
/bin/sh: /Users/administrator/Code/TestApp2/node_modules/adalo-geo-location/scripts/install_ios.sh: Permission denied
at ChildProcess.exithandler (child_process.js:390:12)
at ChildProcess.emit (events.js:400:28)
at maybeClose (internal/child_process.js:1055:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5) {

killed: false,
code: 126,
signal: null,
cmd: '/Users/administrator/Code/TestApp2/node_modules/adalo-geo-location/scripts/install_ios.sh',
stdout: '',
stderr: '/bin/sh: /Users/administrator/Code/TestApp2/node_modules/adalo-geo-location/scripts/install_ios.sh: Permission denied\n'
}

hello, I'd like to know if you have solved that issue yet or no?

I think this is close. Sorry I was AWOL for the last month.


Temporarily disable the ARM build

Temporarily disabling ARM build.  See dotnet/source-build#324

@dotnet-bot test ci please

@dotnet-bot test OSX10.12 Release please

https://ci.dot.net/job/dotnet_source-build/job/dev_release_2.0/job/Linux_ARM_Release_prtest/303/
says:

HTTP ERROR 404
Problem accessing /job/dotnet_source-build/job/dev_release_2.0/job/Linux_ARM_Release_prtest/303/. > Reason:
Not Found

is build machine off/broken?


Add log_msg overload that will accept text VUIDs

This ability is necessary to support private extension development, where numeric VUIDs are unavailable, and even text VUIDs will not appear in the VUID database.
Added an overload of log_msg that will take text VUIDs
(e.g., "VUID-VkDeviceQueueInfo2-queueFamilyIndex-01842")
in place of the usual integer VUID (e.g., VALIDATION_ERROR_42200e64).
A new map of the VUID strings to the old integer VUIDs has been added to vk_validation_error_messages.h.
vk_layer_logging.h was modified to handle outputting the text VUIDs without changing the callbacks.  This is important since many ISVs are likely using the current callback structure.
If a text VUID is used with the DEBUG_REPORT extension, the message will look like:
[ VUID-VkGraphicsPipelineCreateInfo-attachmentCount-00746 ] Object: VK_NULL_HANDLE (Type = 19) | vkCreateGraphicsPipelines(): Render pass (0x6) subpass 0 has colorAttachmentCount of 1 which doesn't match the pColorBlendState->attachmentCount of 0. The spec valid usage text states 'If rasterization is not disabled and the subpass uses color attachments, the attachmentCount member of pColorBlendState must be equal to the colorAttachmentCount used to create subpass' (https://www.khronos.org/registry/vulkan/specs/1.0/html/vkspec.html#VUID-VkGraphicsPipelineCreateInfo-attachmentCount-00746)
The DEBUG_UTILS extension handles text VUIDs natively.
If a text VUID is specified and does NOT exist in the error_message database, the message will appear as before but without the appended spec text.

Incorporated feedback and pushed to Master.


Android Basics: Activity Lifecycle

URL of codelab
https://developer.android.com/courses/quizzes/android-basics-kotlin-unit-3-pathway-1/android-basics-kotlin-unit-3-pathway-1?continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-kotlin-unit-3-pathway-1%23quiz-%2Fcourses%2Fquizzes%2Fandroid-basics-kotlin-unit-3-pathway-1%2Fandroid-basics-kotlin-unit-3-pathway-1
In which task and step of the codelab can this issue be found?
In the question #2 :
Given the following code, what is the result of oneWordCities[1]?
val cities = listOf(“Jeddah”, “Bengaluru” “Shenzhen”, “Abu Dhabi”, “Mountain View”, “Tripoli”, “Bengaluru”, “Lima”, “Mandalay”, “Tripoli”)
val oneWordCities = cities.toSet().toList().filter { !it.contains(“ “)}.sorted()

Describe the problem

comma missing between “Bengaluru” and “Shenzhen”,
“ and ” (typographic quotation marks) characters) should be neutral quotation marks : "

Steps to reproduce?

Go to the quizz
View the question number 2
See error in the sample code of the question

@nivivier
Thank you for reaching out to us.
This should be fixed now.

Great! Thanks!


Mismatch Between Query Response and Source Document Ordering in a Captive Network with Multiple Documents

Hello,
I've successfully implemented the LLM Model on a custom dataset within a controlled network, leveraging over 1000 PDF documents. The responses are comprehensive and informative. However, I've noticed a significant issue in the way sources are presented.
When a query is raised, the model accurately retrieves responses from relevant documents. However, the sources listed at the end do not seem to align with the provided response. The document mentioned in the response is consistently placed at the very bottom of the list of sources. Ideally, the relevant document should be listed first, enabling users to access the specific source document immediately.
This discrepancy undermines the primary goal of using the LLM. The intent is to present query details along with the corresponding source at the top of the list for quick access. Currently, users have to sift through the entire list of sources to find the document related to the response, which defeats the purpose of streamlining information retrieval from a pool of 1000 PDFs.
I am seeking suggestions on how to address this issue as it poses a significant obstacle in the effective deployment of the solution. Your assistance in resolving this matter is crucial, and I appreciate any insights or recommendations you can provide.
Thank you

If you can give me an example repro of your case using some set of public documents, where it shows sources are at bottom of list, I can take a look.
The sources are scored based upon standard semantic similarity search and the distance metric 'l2'.  The LLM then decides what is most relevant from that.  As you might imagine, that's why LLMs are so useful, is because they actually find the relevant info, when semantic similarity cannot fully.  That's why we fill the context with various info the let the LLM decide.
There's no easy way to extract which text/sources the LLM used, that's an area of active research.  In some cases a simple ngram check may help, but it also might hurt for non-keyword related cases.  There may be a way to back-prop through the model to see why it decided, but nobody has figured that out for auto-regressive case, only classification.
If the user has to verify the answer, best is to present the sources more cleanly like in our Enterprise h2oGPT https://h2o.ai/resources/video/enterprise-h2ogpt/ that shows full page references with highlighted text regions.  But that doesn't really solve your problem when there are numerous documents.

How does one resolve the "detail": "File not allowed" error , when one clicks on the sources?

^ https://github.com/h2oai/h2ogpt/issues/1512

A further question: the LLM is unable to provide the information from the document which is given in a Table in the PDF. Even after asking specifically which table to see it is unable to give the results.
For example if one wants to know what all are the company's investments it is unable to list it down (See table 3B in the 2023 pdf).
Going forward, aim was to find out which new investments happened during the year which could be done by comparing annual reports of 2 years, the LLM  is unable to to that even after pointing which 2 tables to compare.
Annual Reports: https://www.infoedge.in/InvestorRelations/IR_Annual_Report

Smarter models do better at such tasks.
https://github.com/h2oai/enterprise-h2ogpte/blob/main/rag_benchmark/results/test_client_e2e.md


Unexpected Rotation Occurring on Zoom

I'm trying to rotate an image and then allow the zoom and pan effect to be added in the latest version of the plugin with jQuery 3.0.0. When the image is it's default orientation then the zoom works perfectly. Once the image has been rotated though and the zoom happens it's starts rotating unexpectedly on the zoom event.
This seems to be an issue in all the browsers I've tested it in.
I've created an example of this on CodePen.
Drag the image first to get it working.
To replicate: rotate the image from it's default orientation and then zoom in and out.
Hope someone can help me out with this. I'm not sure whether it's expected behavior or not.

You're right. I didn't take rotations into account when calculating zoom. I'm not sure the proper formula, but I may be able to rely on the browser when setting.

We are experiencing the same issue when zooming on a rotated image (using version 2.0.6).  Do you know the expected release date of 3.3.0?  Will this also address panning on rotated images?  Currently, when we rotate the image and then try to pan, left-right dragging moves the image up-down and up-down panning moves the image left-right.
Thanks!

Do you know the expected release date of 3.3.0?

I do this in my off-time, but I'll do my best to make time. Meaning, I'm not sure.

Will this also address panning on rotated images?

Yes. It involves using a scale transformation matrix and manipulating matrices, rather than setting indices 0 and 3 on a transform matrix to the desired scale. The latter only works for certain rotations, like the default, but not for all. I've got a pretty good idea of how that will look, but it might take some time.

Hey! @timmywil I appreciate your work and would like to thank your plugin. Is there any hope for a fix to this bug?

@madfriend I will get to this, but I don't know when.

Any Updates in this issue @timmywil ?

@tnr2394 Yes. Please test my PR, and provide any comments here, as it may help to get this committed.

I believe this can now be closed.

This broke zoom to specified scale (and, along with that, pinch zoom). see #347.

This also broke pinch and zoom on iOS


Load the map but it doesn't show

I'm submitting a ...  (check one with "x")

[ ] question
[x ] any problem or bug report

OS:  (check one with "x")

[x ] Android
[ ] iOS
[ ] Browser

cordova information:  (run $> cordova plugin list)
com.googlemaps.ios 3.8.0 "Google Maps SDK for iOS"
cordova-plugin-androidx-adapter 1.1.1 "cordova-plugin-androidx-adapter"
cordova-plugin-camera 4.1.0 "Camera"
cordova-plugin-device 2.0.3 "Device"
cordova-plugin-file 6.0.2 "File"
cordova-plugin-file-transfer 1.7.1 "File Transfer"
cordova-plugin-geolocation 4.0.2 "Geolocation"
cordova-plugin-googlemaps 2.7.1 "cordova-plugin-googlemaps"
cordova-plugin-inappbrowser 4.0.0 "InAppBrowser"
cordova-plugin-keyboard 1.2.0 "Keyboard"
cordova-plugin-media 5.0.3 "Media"
cordova-plugin-network-information 2.0.2 "Network Information"
cordova-plugin-safariviewcontroller 1.6.0 "SafariViewController"
cordova-plugin-splashscreen 5.0.4 "Splashscreen"
cordova-plugin-statusbar 2.4.3 "StatusBar"
cordova-plugin-whitelist 1.3.4 "Whitelist"
cordova-support-google-services 1.3.2 "cordova-support-google-services"
phonegap-plugin-multidex 1.0.0 "Multidex"
phonegap-plugin-push 2.3.0 "PushPlugin"

Current behavior:

Expected behavior:
On Android, load the map, the controls appear but you don't see the map. In the Android Studio emulator it works correctly, but when I upload the bundle, when I install it in a mobile, it doesn't show, I attach a screen of the emulator and another one of the APP installed in a mobile. In iOS it works correctly
Screen capture or video record:

Gray map means your API key is wrong

but on the emulator it does work

Thank you, I have reviewed my API key and it is working correctly.


Use https for GitHub link

This reduces unnecessary redirection from http://... to https://... when someone visits this gem's homepage via https://rubygems.org/gems/cocoon or some tools or APIs that use the gem's metadata.

Good catch!


Follow up to PR #21, lets use setWantClientAuth() instead of setNeedC…

…lientAuth() so that you can do basic auth over SSL.  The auth will fail if client cert auth is enabled, but a valid client cert is not found.

From http://stackoverflow.com/questions/14875094/ssl-server-socket-want-auth-option its unfortunately not really clear to me, whether a client can present an untrusted client cert (i.e. not signed by the CA) and still pass with wantClientAuth. It seems that it gets rejected by the SSL engine, but if not, we need to verify any presented cert with the CA's public key on our own.

Added this to master and adapted the ClientCertAuthenticator that it returns a Failure when not client cert is presented at all
Added some unit testst
Updated changes.

I'm going to prepare a next 2.0-M4 milestone and hopefully release a 1.3.4 this week with these changs

@chirino : Jolokia 2.0.0-M3 is released, the s2i images has been upgraded an a fabric8/s2i-java-jboss:1.2.11 has been pushed to index.docker.io

@chirino : Please let me know, whether this works for you so that I can eventually do a Jolokia 1.3.4 release.

@chirino Could you test it ?

@chirino ok, I suppose its ok for you. Going to release now 1.3.4. overdue anyway.


Image support on s390x.

Hi,
Is there any method to create image for s390x (multi arch)?

This has been resolved downstream with KMM 1.0.2 release.


lambda_handler error: 'requestContext'

Hi,
Was looking over some cloudwatch logs regarding another issue & noted there were multiple instances of the following error
File "/var/task/image_handler/lambda_function.py", line 234, in lambda_handler
if event['requestContext']['httpMethod'] != 'GET' and
KeyError: 'requestContext'
Solution is still working for me but just thought I would bring it up.
Thanks
Todd

This project is in JavaScript, so I don't know what those errors are related to, but it's likely another Lambda function.


Backstage/master

Hey, I just made a Pull Request!

:heavy_check_mark: Checklist

[ ] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[ ] All your commits have a Signed-off-by line in the message. (more info)

sorry wrong branch, needed my own repo


Dukstra

Name: Sanket Sharma
Name of Team: Dukstra
Student Number:
University:
Location: Cape Town, South Africa
Target Sector: FinTech, Identity management
Twitter (optional):
LinkedIn (optional):

Team Members @fsjoubert @ciskaj


compose: Fix extra whitespace area under the compose box in the preview mode.

When writing in the expanded mode in the compose box and when one preview the content, huge whitespace is left below the compose box. I think we should fix this.
Moreover, in the expanded mode, we can't see the full content preview (need to scroll to see the content). I think the expanded mode is added to help to write the content and not preview the full content. So, I think we can also improve here.
The same details can be found here: https://chat.zulip.org/#narrow/stream/9-issues/topic/expanded.20composebox.20in.20preview.20mode

@zulipbot add "help wanted" "area: compose"


turms gateway cluster

How does turms gateway cluster work? Has the author considered it？
1、目前gateway 只能在单节点负责处理 service
2、gateway 启动两个实例，在nginx映射域名的情况下，gateway 怎样选主，怎样做集群的容灾
3、gateway 集群模式下，链接中断，服务会话的session是否还可以保持？
请教一下老哥的涉及思路，不胜感谢。

How does turms gateway cluster work?

You can read https://turms-im.github.io/docs/design/architecture.html#the-general-process-of-client-accessing-server for details.

Has the author considered it？

Turms servers are designed to work in a cluster in the first place, and I think no other open-source IM solutions have the scalability comparable to Turms.

1、目前gateway 只能在单节点负责处理 service

You can deploy as many turms-gateway and turms-service servers as you want, and the turms-gateway server will choose any healthy turms-service to send requests to them to handle automatically.

gateway 启动两个实例，在nginx映射域名的情况下，gateway 怎样选主

There is no need to choose a leader from turms-gateway servers. Like most web servers, they are stateless, and the client can choose any webserver to handle their requests, and there is no need to choose a leader.
If you use Nginx as the load balancer, you can reference the following Nginx config (Note that we should use Nginx to proxy on the TCP level, not the HTTP level):
stream {
        # List of upstream turms-gateway WebSocket servers
        upstream stream_gateway_ws {
                hash $remote_addr consistent;

                # The addresses of turms-gateway WebSocket servers
                server <IP_ADDRESS>:10510 fail_timeout=10s max_fails=20;
                server <IP_ADDRESS>:10510 fail_timeout=10s max_fails=20;
        }

        # List of upstream turms-gateway TCP servers
        upstream stream_gateway_tcp {
                hash $remote_addr consistent;

                # The addresses of turms-gateway TCP servers
                server <IP_ADDRESS>:11510 fail_timeout=10s max_fails=20;
                server <IP_ADDRESS>:11510 fail_timeout=10s max_fails=20;
        }

        # For WebSocket connections to turms-gateway
        server {
                listen 10510; # the port to listen on this server
                proxy_pass stream_gateway_ws; # forward traffic to this upstream group
                proxy_timeout 3m;
                proxy_connect_timeout 15s;
        }

        # For TCP connections to turms-gateway
        server {
                listen 11510; # the port to listen on this server
                proxy_pass stream_gateway_tcp; # forward traffic to this upstream group
                proxy_timeout 3m;
                proxy_connect_timeout 15s;
        }
}

For Nginx health checks, you can read https://www.f5.com/company/blog/nginx/active-or-passive-health-checks-which-is-right-for-you for details.

怎样做集群的容灾

You can try to shut down any turms-gateway and turms-service servers forcedly or gracefully for testing, turms servers are smart. e.g., If a server is shut down gracefully, the server will clear all data related to it in Redis and MongoDB automatically on shutdown, so there is no dirty data. If a server is shut down forcedly, it doesn't have the chance to clear data in Redis and MongoDB, so there will be dirty data in Redis or MongoDB, but turms servers are smart, and will choose other healthy servers to handle requests, and clear dirty data stored in MongoDB and Redis automatically after a timeout.
So you just need to ensure to restart the server (if the machine crashes) and restart the turms-gateway/turms-service again (e.g. use restart: unless-stopped for services in the docker compose config), and everything should work fine.
For turms clients, you can reference the following to let the client log in again if the connection is closed for any reason:
turmsClient.userService.addOnOfflineListener { sessionCloseInfo ->
    if (setOf(
            # The session close reasons that you want the client to log in again if encounters.
            HEARTBEAT_TIMEOUT,
            LOGIN_TIMEOUT,
            SERVER_ERROR,
            SERVER_CLOSED,
            SERVER_UNAVAILABLE,
            CONNECTION_CLOSED,
            UNKNOWN_ERROR
        ).contains(sessionCloseInfo.closeStatus)
    ) {
        turmsClient.userService.login(...)
    }
}

gateway 集群模式下，链接中断，服务会话的session是否还可以保持？

If a logged-in client loses the connection to the turms-gateway server, or fails to send the heartbeat requests in a specified time (2 minutes by default), the session will be considered offline by turms-gateway, and turms-gateway will close the established session.
To reconnect to the turms-gateway, you can reference the above code for clients.

Thank for your help。


BIGTOP-4030: Error building Ranger deb using bigtop

Description of PR
This PR addresses several issues:
1.Fixed a bug related to the configuration directory. The command update-alternatives --install /etc/ranger/conf ranger-conf<EMAIL_ADDRESS>30 was updated. The soft link directory under /etc should correspond to the component's directory, such as /etc/ranger-admin/conf.
2.Added JDBC dependency. When executing the setup.sh script under Ubuntu 22, an error was reported about missing JDBC driver. This was resolved by installing libpostgresql-jdbc-java.
3.Also, a solution was provided for the lack of /var/log/ranger directory when starting Ranger
How was this patch tested?
manual test
unit test
For code changes:

[ ] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'BIGTOP-3638. Your PR title ...')?
[ ] Make sure that newly added files do not have any licensing issues. When in doubt refer to https://www.apache.org/licenses/

@sekikn Could you help review this PR?


Add describe config to kafkaclient

This allows fetching configs for topics and brokers, using the describe configs API (https://kafka.apache.org/protocol#The_Messages_DescribeConfigs).
Exposed as 3 methods on KafkaClient - describeConfigs which is a low level access to the API, and getTopicConfigs and getClusterConfigs on top. The request is supported on 0.11+.
As part of this there are a couple of new ways to send requests to brokers that are not with payloads.
Example use:
var kafka = require('..');
var client = new kafka.KafkaClient({
  kafkaHost: '<IP_ADDRESS>:9092'
});

client.on('ready', () => {
  // Get a broker ID and pass null for config names to get all
  const brokerId = Object.keys(client.brokerMetadata)[0];
  client.getClusterConfigs(brokerId, null, (err, result) => {
    console.log(result[brokerId]);
  });

  client.getTopicConfigs(['ExampleTopic', 'RebalanceTopic'], ['compression.type', 'message.format.version'], (err, result) => {
    console.log(result['ExampleTopic']);
    console.log(result['RebalanceTopic']);
  });
});

Seems like Travis is failing on all runs due to
(+) Error: Client request error: getaddrinfo ENOTFOUND api.nodesecurity.io api.nodesecurity.io:443
npm ERR! Test failed.  See above for more details.
The command "npm test" exited with 1.

Any ideas? 🤔

How do you know :-)
Closing in favour of https://github.com/SOHU-Co/kafka-node/pull/1081


Add support for working with rendered content to remove the page 'jumps' after truncation

This adds support for truncation in hidden elements, so that truncation doesn't cause page 'jumps'. After truncating the hidden element, the element will be cloned and the original rendered content will be overwritten. See README.md for a short explanation.

Thanks.
It's impossible to check the diff of the js file because it seems you've changed the spacing of the file (tabs/spaces). Can you fix that?

Oh, haha yeah I see. My IDE found it was necessary to do that. I'll look into it.

Still not great, but better readable.

Any thoughts?

Sorry, it's still too difficult to read as-is. I'd really only like to see a diff of your changes.

Ok, the formatting should be the way it was. You do use some strange indenting rules by the way..

I agree with the goal of this patch, but I think it requires the user to do too much, creating elements with specific CSS properties. It just feels fragile.

Ok, no problem. I'm not using the lib anymore, so I'll just close this.


Source Maps get messed up on bundling

Source maps are pointing to the wrong source on a bundle build.

The bundler is replacing some of the compiled files in the /dist directory with the new bundled modules, so the sourcemaps point to the same file. Need to figure out a way to keep the compiled files, or have the sourcemaps map to the original ES6 sources in the /src directory.


Default target wrong

The target selected by default is System. Yet in PRIV, PARTNERS is the default value.

@milstan That selection is a provenance restriction for a particular demand, not the target of the entire privacy request. Based on this section of PRIV I used system as the default.
For the target of the whole privacy request, that option is available afterwords in the review view (with partners as the default):

It is designed this way to accomadate for multiple demands in a single request (each of which may have a different provenance restriction, defaulting to system), then all of these demands will be shown in the request review view and the user may select a target for the whole request:

Indeed, you are right Justin. Thanks for the detailed response.


Add cycle-lists-with-keyboard-shortcuts feature

Closes #1450.

Makes use of custom events emitted by GitHub to detect and add events to input elements.
As opposed to #2008, this PR adds keydown event listeners to only search fields, which is also what GitHub uses (you cannot use up and down arrow keys to navigate when the search field is not focused).
Supports cycling through labels, projects, milestones and all other sidebar elements, even when a search filter is applied.

Preview

Test
Can be tested on any issue or PR that you have permissions to edit.

The functionality seems to work well. Needs to be mentioned in the readme.

Needs to be mentioned in the readme.

Done!


what's this repo for?

Hi,
I'm new to jotai.
I noticed the jotai github doc doesn't include this anymore: https://github.com/pmndrs/jotai/blob/v1.7.7/docs/integrations/query.mdx
Meanwhile, the official website doc contains this.
I'm a little confused

jotai/query will be deprecated soon and will be removed in jotai v2. jotai-tanstack-query is the new implementation of it with more features and stability.


[WIP]fix: 优化windows powershell userdata

这个 PR 实现什么功能/修复什么问题:
优化windows powershell userdata
是否需要 backport 到之前的 release 分支:

release/2.13

/area region
/cc @zexi

Codecov Report

Merging #6346 into master will decrease coverage by 0.01%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master    #6346      +/-   ##
==========================================
- Coverage    7.07%    7.06%   -0.02%
==========================================
  Files         652      652
  Lines      111320   111337      +17
==========================================
- Hits         7880     7867      -13
- Misses     102830   102860      +30
  Partials      610      610

Flag
Coverage Δ

#aFlag
7.06% <0.00%> (-0.02%)
:arrow_down:

Impacted Files
Coverage Δ

pkg/cloudprovider/instance.go
0.00% <ø> (ø)

pkg/compute/guestdrivers/aws.go
3.96% <0.00%> (-0.14%)
:arrow_down:

pkg/compute/guestdrivers/base.go
0.00% <0.00%> (ø)

pkg/compute/guestdrivers/managedvirtual.go
0.00% <0.00%> (ø)

pkg/compute/models/guestdrivers.go
12.50% <ø> (ø)

pkg/multicloud/aws/host.go
0.00% <ø> (ø)

pkg/util/cloudinit/cloudconfig.go
50.48% <0.00%> (-1.50%)
:arrow_down:

pkg/cloudcommon/cronman/cronman.go
48.83% <0.00%> (-5.12%)
:arrow_down:

pkg/appsrv/response.go
67.64% <0.00%> (-2.95%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 600226f...5c6b016. Read the comment docs.


Remove unused karma.config file

Changes

Remove karma.config.js as we use configuration form /config folder.

Coverage remained the same at 4.054% when pulling 62812dc92ceb69377105109a2f921ccd1154e1a0 on removeKarmaConfig into 64e5090536e5ca4f4dfdb56ff30cb6a6e18a47bb on master.


Proposal for Service Invocation

My proposal breaks a little bit of the initial premise of the CS protocol where the proxy acts as a client and the user function acts as a server, despite the communication being bidirectional originally, in fact the proxy starts and the user function responds with some information.
But I thought it would be difficult to reuse the original streamed semantics for a simple service invocation without having to force the sdks to implement it with callbacks or some kind of message buffer, which would make the whole flow very complex. So I chose to simplify and make the proxy also provide a service that could be called by the user function (again reversing the traditional flow) and would only play the function of orchestrator of the user function request.
Obviously this forces sdks to implement both a grpc server and a grpc client to communicate with the proxy. But that was a choice that Dapr followed and opened up so many paths for them. If there was an option to just keep streamed without it complicating things too much I'd take it, but I've thought a lot about the implications of streamed for things like invoking services and haven't been able to visualize how it could work without changing the structure of what was done.

The relevant part is in this commit here https://github.com/eigr/massa/pull/130/commits/f3f01180acbeb8cef91c1f39af333352bd2682ff

Thanks @sleipnir. I'll review it. I'm not sure yet if I understand all implications and how it would fit into the protocol, but I'm very much open for an interaction model where an SDK can be provided much simple than it is right now.

The big question that this proposal aims to answer is.
How do I make direct invocations to other services (local or remote). Today the protocol doesn't have this mechanism besides an approximation with the Forward function.
Today what the customer can do is:
Client A invoke -> Service A -> Service A forward request to -> Service B -> Service B respond to Client A

Which is good for some use cases and not good enough for other use cases. What we need to add in addition to Forwards would be:
Client A invoke -> Service A -> Service A invoke -> Service B -> Service B respond to Service A  -> Service A handle response, do  anything, maybe invoke other services, compile some response and respond to -> Client A

In other words, it gives us the ability to call other services without interrupting the flow of the original service.
This, in addition to giving us greater coverage of different use cases, also opens the door to more complex state machine implementations, such as the implementation of the SAGA pattern (not covered in this PR) in the proxy.
Could I explain to you how things fit together?


predict_fn in "Inference Pipeline with Scikit-learn and Linear Learner"

Hi!  Quick question... in the predict_fn I see this:
def predict_fn(input_data, model):
    """Preprocess input data

    We implement this because the default predict_fn uses .predict(), but our model is a preprocessor
    so we want to use .transform().

    The output is returned in the following order:

        rest of features either one hot encoded or standardized
    """
    features = model.transform(input_data)

    if label_column in input_data:
        # Return the label (as the first column) and the set of features.
        return np.insert(features, 0, input_data[label_column], axis=1)
    else:
        # Return only the set of features
        return features

Regarding this part:
    features = model.transform(input_data)

    if label_column in input_data:
        # Return the label (as the first column) and the set of features.
        return np.insert(features, 0, input_data[label_column], axis=1)

Assuming features contains the the label column (if it was present in the input data), why do we add it again to the beginning of the ndarray (return np.insert(features, 0, input_data[label_column], axis=1))? Wouldn't this give us the label column twice in the output.  This is what I am seeing in my testing.
Thanks!
AlexW

After some read it appears the Estimators expect the target column as the first column (as I understand it).  So that explains why it's inserted.  To me though it still seems this predict_fn would be outputting [Target, Features, Target] if the "input_data" has the target/label column in it already.  Am i wrong?

I worked around this.


Installation failed on Ubuntu 16.10

I tried to install using git clone --recursive, followed by make, but get the following errors:
/home/wfl/programs/bamaddrg/bamtools/src/toolkit/bamtools_resolve.cpp: In member function ‘bool BamTools::ResolveTool::ReadNamesFileReader::Read(std::map<std::__cxx11::basic_string, ReadGroupResolver>&)’:
/home/wfl/programs/bamaddrg/bamtools/src/toolkit/bamtools_resolve.cpp:401:74: error: no matching function for call to ‘make_pair(__gnu_cxx::__alloc_traits<std::allocator<std::__cxx11::basic_string > >::value_type&, bool)’
resolver.ReadNames.insert( make_pair<string,bool>(fields[1], true) ) ;
^
In file included from /usr/include/c++/6/bits/stl_algobase.h:64:0,
from /usr/include/c++/6/bits/char_traits.h:39,
from /usr/include/c++/6/string:40,
from /home/wfl/programs/bamaddrg/bamtools/src/toolkit/bamtools_tool.h:14,
from /home/wfl/programs/bamaddrg/bamtools/src/toolkit/bamtools_resolve.h:13,
from /home/wfl/programs/bamaddrg/bamtools/src/toolkit/bamtools_resolve.cpp:10:
/usr/include/c++/6/bits/stl_pair.h:493:5: note: candidate: template<class _T1, class _T2> constexpr std::pair<typename std::__decay_and_strip<_Tp>::__type, typename std::__decay_and_strip<_T2>::__type> std::make_pair(_T1&&, _T2&&)
make_pair(_T1&& __x, _T2&& __y)
^~~~~~~~~
/usr/include/c++/6/bits/stl_pair.h:493:5: note:   template argument deduction/substitution failed:
/home/wfl/programs/bamaddrg/bamtools/src/toolkit/bamtools_resolve.cpp:401:74: note:   cannot convert ‘fields.std::vector<_Tp, _Alloc>::operator[]<std::__cxx11::basic_string, std::allocator<std::__cxx11::basic_string > >(1ul)’ (type ‘__gnu_cxx::__alloc_traits<std::allocator<std::__cxx11::basic_string > >::value_type {aka std::__cxx11::basic_string}’) to type ‘std::__cxx11::basic_string&&’
resolver.ReadNames.insert( make_pair<string,bool>(fields[1], true) ) ;
^
/home/wfl/programs/bamaddrg/bamtools/src/toolkit/bamtools_resolve.cpp: In member function ‘bool BamTools::ResolveTool::StatsFileReader::ParseReadGroupLine(const string&, std::map<std::__cxx11::basic_string, ReadGroupResolver>&)’:
/home/wfl/programs/bamaddrg/bamtools/src/toolkit/bamtools_resolve.cpp:598:75: error: no matching function for call to ‘make_pair(const string&, ReadGroupResolver&)’
readGroups.insert( make_pair<string, ReadGroupResolver>(name, resolver) );
^
In file included from /usr/include/c++/6/bits/stl_algobase.h:64:0,
from /usr/include/c++/6/bits/char_traits.h:39,
from /usr/include/c++/6/string:40,
from /home/wfl/programs/bamaddrg/bamtools/src/toolkit/bamtools_tool.h:14,
from /home/wfl/programs/bamaddrg/bamtools/src/toolkit/bamtools_resolve.h:13,
from /home/wfl/programs/bamaddrg/bamtools/src/toolkit/bamtools_resolve.cpp:10:
/usr/include/c++/6/bits/stl_pair.h:493:5: note: candidate: template<class _T1, class _T2> constexpr std::pair<typename std::__decay_and_strip<_Tp>::__type, typename std::__decay_and_strip<_T2>::__type> std::make_pair(_T1&&, _T2&&)
make_pair(_T1&& __x, _T2&& __y)
^~~~~~~~~
/usr/include/c++/6/bits/stl_pair.h:493:5: note:   template argument deduction/substitution failed:
/home/wfl/programs/bamaddrg/bamtools/src/toolkit/bamtools_resolve.cpp:598:61: note:   cannot convert ‘name’ (type ‘const string {aka const std::__cxx11::basic_string}’) to type ‘std::__cxx11::basic_string&&’
readGroups.insert( make_pair<string, ReadGroupResolver>(name, resolver) );
^~~~
/home/wfl/programs/bamaddrg/bamtools/src/toolkit/bamtools_resolve.cpp: In member function ‘bool BamTools::ResolveTool::ResolveToolPrivate::MakeStats()’:
/home/wfl/programs/bamaddrg/bamtools/src/toolkit/bamtools_resolve.cpp:1001:93: error: no matching function for call to ‘make_pair(std::__cxx11::string&, const bool&)’
else resolver.ReadNames.insert( make_pair<string, bool>(al.Name, isCurrentMateUnique) );
^
In file included from /usr/include/c++/6/bits/stl_algobase.h:64:0,
from /usr/include/c++/6/bits/char_traits.h:39,
from /usr/include/c++/6/string:40,
from /home/wfl/programs/bamaddrg/bamtools/src/toolkit/bamtools_tool.h:14,
from /home/wfl/programs/bamaddrg/bamtools/src/toolkit/bamtools_resolve.h:13,
from /home/wfl/programs/bamaddrg/bamtools/src/toolkit/bamtools_resolve.cpp:10:
/usr/include/c++/6/bits/stl_pair.h:493:5: note: candidate: template<class _T1, class _T2> constexpr std::pair<typename std::__decay_and_strip<_Tp>::__type, typename std::__decay_and_strip<_T2>::__type> std::make_pair(_T1&&, _T2&&)
make_pair(_T1&& __x, _T2&& __y)
^~~~~~~~~
/usr/include/c++/6/bits/stl_pair.h:493:5: note:   template argument deduction/substitution failed:
/home/wfl/programs/bamaddrg/bamtools/src/toolkit/bamtools_resolve.cpp:1001:68: note:   cannot convert ‘al.BamTools::BamAlignment::Name’ (type ‘std::__cxx11::string {aka std::__cxx11::basic_string}’) to type ‘std::__cxx11::basic_string&&’
else resolver.ReadNames.insert( make_pair<string, bool>(al.Name, isCurrentMateUnique) );
~^~
/home/wfl/programs/bamaddrg/bamtools/src/toolkit/bamtools_resolve.cpp: In member function ‘void BamTools::ResolveTool::ResolveToolPrivate::ParseHeader(const BamTools::SamHeader&)’:
/home/wfl/programs/bamaddrg/bamtools/src/toolkit/bamtools_resolve.cpp:1033:93: error: no matching function for call to ‘make_pair(const string&, ReadGroupResolver)’
m_readGroups.insert( make_pair<string, ReadGroupResolver>(rg.ID, ReadGroupResolver()) );
^
In file included from /usr/include/c++/6/bits/stl_algobase.h:64:0,
from /usr/include/c++/6/bits/char_traits.h:39,
from /usr/include/c++/6/string:40,
from /home/wfl/programs/bamaddrg/bamtools/src/toolkit/bamtools_tool.h:14,
from /home/wfl/programs/bamaddrg/bamtools/src/toolkit/bamtools_resolve.h:13,
from /home/wfl/programs/bamaddrg/bamtools/src/toolkit/bamtools_resolve.cpp:10:
/usr/include/c++/6/bits/stl_pair.h:493:5: note: candidate: template<class _T1, class _T2> constexpr std::pair<typename std::__decay_and_strip<_Tp>::__type, typename std::__decay_and_strip<_T2>::__type> std::make_pair(_T1&&, _T2&&)
make_pair(_T1&& __x, _T2&& __y)
^~~~~~~~~
/usr/include/c++/6/bits/stl_pair.h:493:5: note:   template argument deduction/substitution failed:
/home/wfl/programs/bamaddrg/bamtools/src/toolkit/bamtools_resolve.cpp:1033:70: note:   cannot convert ‘rg.BamTools::SamReadGroup::ID’ (type ‘const string {aka const std::__cxx11::basic_string}’) to type ‘std::__cxx11::basic_string&&’
m_readGroups.insert( make_pair<string, ReadGroupResolver>(rg.ID, ReadGroupResolver()) );
~~~^~
src/toolkit/CMakeFiles/bamtools_cmd.dir/build.make:254: recipe for target 'src/toolkit/CMakeFiles/bamtools_cmd.dir/bamtools_resolve.cpp.o' failed
make[3]: *** [src/toolkit/CMakeFiles/bamtools_cmd.dir/bamtools_resolve.cpp.o] Error 1
make[3]: Leaving directory '/home/wfl/programs/bamaddrg/bamtools/build'
CMakeFiles/Makefile2:520: recipe for target 'src/toolkit/CMakeFiles/bamtools_cmd.dir/all' failed
make[2]: *** [src/toolkit/CMakeFiles/bamtools_cmd.dir/all] Error 2
make[2]: Leaving directory '/home/wfl/programs/bamaddrg/bamtools/build'
Makefile:127: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/wfl/programs/bamaddrg/bamtools/build'
Makefile:10: recipe for target 'libbamtools.a' failed
make: *** [libbamtools.a] Error 2

I have similar problem.
[ 94%] Building CXX object src/toolkit/CMakeFiles/bamtools_cmd.dir/bamtools_resolve.cpp.o
/home/yifang/study/C++/bamaddrg/bamtools/src/toolkit/bamtools_resolve.cpp: In member function ‘bool BamTools::ResolveTool::ReadNamesFileReader::Read(std::map<std::__cxx11::basic_string<char>, ReadGroupResolver>&)’:
/home/yifang/study/C++/bamaddrg/bamtools/src/toolkit/bamtools_resolve.cpp:401:74: error: no matching function for call to ‘make_pair<std::__cxx11::string, bool>(__gnu_cxx::__alloc_traits<std::allocator<std::__cxx11::basic_string<char> > >::value_type&, bool)’
         resolver.ReadNames.insert( make_pair<string,bool>(fields[1], true) ) ;
                                                                          ^
In file included from /usr/include/c++/7/bits/stl_algobase.h:64:0,
                 from /usr/include/c++/7/bits/char_traits.h:39,
                 from /usr/include/c++/7/string:40,
                 from /home/yifang/study/C++/bamaddrg/bamtools/src/toolkit/bamtools_tool.h:14,
                 from /home/yifang/study/C++/bamaddrg/bamtools/src/toolkit/bamtools_resolve.h:13,
                 from /home/yifang/study/C++/bamaddrg/bamtools/src/toolkit/bamtools_resolve.cpp:10:
/usr/include/c++/7/bits/stl_pair.h:519:5: note: candidate: template<class _T1, class _T2> constexpr std::pair<typename std::__decay_and_strip<_Tp>::__type, typename std::__decay_and_strip<_T2>::__type> std::make_pair(_T1&&, _T2&&)
     make_pair(_T1&& __x, _T2&& __y)
     ^~~~~~~~~
/usr/include/c++/7/bits/stl_pair.h:519:5: note:   template argument deduction/substitution failed:
/home/yifang/study/C++/bamaddrg/bamtools/src/toolkit/bamtools_resolve.cpp:401:74: note:   cannot convert ‘fields.std::vector<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char> > >::operator[](1)’ (type ‘__gnu_cxx::__alloc_traits<std::allocator<std::__cxx11::basic_string<char> > >::value_type {aka std::__cxx11::basic_string<char>}’) to type ‘std::__cxx11::basic_string<char>&&’
         resolver.ReadNames.insert( make_pair<string,bool>(fields[1], true) ) ;
                                                                          ^
/home/yifang/study/C++/bamaddrg/bamtools/src/toolkit/bamtools_resolve.cpp: In member function ‘bool BamTools::ResolveTool::StatsFileReader::ParseReadGroupLine(const string&, std::map<std::__cxx11::basic_string<char>, ReadGroupResolver>&)’:
/home/yifang/study/C++/bamaddrg/bamtools/src/toolkit/bamtools_resolve.cpp:598:75: error: no matching function for call to ‘make_pair<std::__cxx11::string, ReadGroupResolver>(const string&, ReadGroupResolver&)’
     readGroups.insert( make_pair<string, ReadGroupResolver>(name, resolver) );
                                                                           ^
In file included from /usr/include/c++/7/bits/stl_algobase.h:64:0,
                 from /usr/include/c++/7/bits/char_traits.h:39,
                 from /usr/include/c++/7/string:40,
                 from /home/yifang/study/C++/bamaddrg/bamtools/src/toolkit/bamtools_tool.h:14,
                 from /home/yifang/study/C++/bamaddrg/bamtools/src/toolkit/bamtools_resolve.h:13,
                 from /home/yifang/study/C++/bamaddrg/bamtools/src/toolkit/bamtools_resolve.cpp:10:
/usr/include/c++/7/bits/stl_pair.h:519:5: note: candidate: template<class _T1, class _T2> constexpr std::pair<typename std::__decay_and_strip<_Tp>::__type, typename std::__decay_and_strip<_T2>::__type> std::make_pair(_T1&&, _T2&&)
     make_pair(_T1&& __x, _T2&& __y)
     ^~~~~~~~~
/usr/include/c++/7/bits/stl_pair.h:519:5: note:   template argument deduction/substitution failed:
/home/yifang/study/C++/bamaddrg/bamtools/src/toolkit/bamtools_resolve.cpp:598:61: note:   cannot convert ‘name’ (type ‘const string {aka const std::__cxx11::basic_string<char>}’) to type ‘std::__cxx11::basic_string<char>&&’
     readGroups.insert( make_pair<string, ReadGroupResolver>(name, resolver) );
                                                             ^~~~
/home/yifang/study/C++/bamaddrg/bamtools/src/toolkit/bamtools_resolve.cpp: In member function ‘bool BamTools::ResolveTool::ResolveToolPrivate::MakeStats()’:
/home/yifang/study/C++/bamaddrg/bamtools/src/toolkit/bamtools_resolve.cpp:1001:93: error: no matching function for call to ‘make_pair<std::__cxx11::string, bool>(std::__cxx11::string&, const bool&)’
         else resolver.ReadNames.insert( make_pair<string, bool>(al.Name, isCurrentMateUnique) );
                                                                                ^
In file included from /usr/include/c++/7/bits/stl_algobase.h:64:0,
                 from /usr/include/c++/7/bits/char_traits.h:39,
                 from /usr/include/c++/7/string:40,
                 from /home/yifang/study/C++/bamaddrg/bamtools/src/toolkit/bamtools_tool.h:14,
                 from /home/yifang/study/C++/bamaddrg/bamtools/src/toolkit/bamtools_resolve.h:13,
                 from /home/yifang/study/C++/bamaddrg/bamtools/src/toolkit/bamtools_resolve.cpp:10:
/usr/include/c++/7/bits/stl_pair.h:519:5: note: candidate: template<class _T1, class _T2> constexpr std::pair<typename std::__decay_and_strip<_Tp>::__type, typename std::__decay_and_strip<_T2>::__type> std::make_pair(_T1&&, _T2&&)
     make_pair(_T1&& __x, _T2&& __y)
     ^~~~~~~~~
/usr/include/c++/7/bits/stl_pair.h:519:5: note:   template argument deduction/substitution failed:
/home/yifang/study/C++/bamaddrg/bamtools/src/toolkit/bamtools_resolve.cpp:1001:68: note:   cannot convert ‘al.BamTools::BamAlignment::Name’ (type ‘std::__cxx11::string {aka std::__cxx11::basic_string<char>}’) to type ‘std::__cxx11::basic_string<char>&&’
         else resolver.ReadNames.insert( make_pair<string, bool>(al.Name, isCurrentMateUnique) );
                                                                 ~~~^~~~
/home/yifang/study/C++/bamaddrg/bamtools/src/toolkit/bamtools_resolve.cpp: In member function ‘void BamTools::ResolveTool::ResolveToolPrivate::ParseHeader(const BamTools::SamHeader&)’:
/home/yifang/study/C++/bamaddrg/bamtools/src/toolkit/bamtools_resolve.cpp:1033:93: error: no matching function for call to ‘make_pair<std::__cxx11::string, ReadGroupResolver>(const string&, ReadGroupResolver)’
         m_readGroups.insert( make_pair<string, ReadGroupResolver>(rg.ID, ReadGroupResolver()) );
                                                                                ^
In file included from /usr/include/c++/7/bits/stl_algobase.h:64:0,
                 from /usr/include/c++/7/bits/char_traits.h:39,
                 from /usr/include/c++/7/string:40,
                 from /home/yifang/study/C++/bamaddrg/bamtools/src/toolkit/bamtools_tool.h:14,
                 from /home/yifang/study/C++/bamaddrg/bamtools/src/toolkit/bamtools_resolve.h:13,
                 from /home/yifang/study/C++/bamaddrg/bamtools/src/toolkit/bamtools_resolve.cpp:10:
/usr/include/c++/7/bits/stl_pair.h:519:5: note: candidate: template<class _T1, class _T2> constexpr std::pair<typename std::__decay_and_strip<_Tp>::__type, typename std::__decay_and_strip<_T2>::__type> std::make_pair(_T1&&, _T2&&)
     make_pair(_T1&& __x, _T2&& __y)
     ^~~~~~~~~
/usr/include/c++/7/bits/stl_pair.h:519:5: note:   template argument deduction/substitution failed:
/home/yifang/study/C++/bamaddrg/bamtools/src/toolkit/bamtools_resolve.cpp:1033:70: note:   cannot convert ‘rg.BamTools::SamReadGroup::ID’ (type ‘const string {aka const std::__cxx11::basic_string<char>}’) to type ‘std::__cxx11::basic_string<char>&&’
         m_readGroups.insert( make_pair<string, ReadGroupResolver>(rg.ID, ReadGroupResolver()) );
                                                                   ~~~^~
src/toolkit/CMakeFiles/bamtools_cmd.dir/build.make:254: recipe for target 'src/toolkit/CMakeFiles/bamtools_cmd.dir/bamtools_resolve.cpp.o' failed
make[3]: *** [src/toolkit/CMakeFiles/bamtools_cmd.dir/bamtools_resolve.cpp.o] Error 1
make[3]: Leaving directory '/home/yifang/study/C++/bamaddrg/bamtools/build'
CMakeFiles/Makefile2:520: recipe for target 'src/toolkit/CMakeFiles/bamtools_cmd.dir/all' failed
make[2]: *** [src/toolkit/CMakeFiles/bamtools_cmd.dir/all] Error 2
make[2]: Leaving directory '/home/yifang/study/C++/bamaddrg/bamtools/build'
Makefile:129: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/yifang/study/C++/bamaddrg/bamtools/build'
Makefile:10: recipe for target 'libbamtools.a' failed
make: *** [libbamtools.a] Error 2

Could you give me any clue please?

Did you manage to fix this problem? am faced with a similar issue

You can try installing bamtools first using conda and Bioconda channel:
conda install -c conda-forge -c bioconda bamtools

Then you can try compiling bamaddrg.
Hope it helps.

I dont know if people resolved this - but if you install the latest bamtools via conda, you can then compile bamaddrg successfully by removing or commenting out the first rule in the Makefile - "libbamtools.a: cd .... / cp .... " so it does not try to build bamtools again.

If you're on an Ubuntu/Debian derivative and have install bamtools and  libbamtools-dev you can build bamaddrg directly without the Makefile as follows:
g++ -O3 bamaddrg.cpp -o bamaddrg -lbamtools -lz -I/usr/include/bamtools


[Theme Request] Rei Ayanami (black plugsuit)

Who/What do you want to be featured?
Rei Ayanami from Neon Genesis Evangelion (but with her black plugsuit)
What do they look like?

What type of theme?

[ ] Light Theme
[X] Dark Theme

Additional Information (Optional)
My current favorite theme is One Dark Vivid if this can help in what kind of colorscheme i'm looking for.
Also, since everyone seems to put a video here : https://youtu.be/46AXsvhIj18

Wow! I did not know that this variant of Rei existed!

My current favorite theme is One Dark Vivid if this can help in what kind of colorscheme i'm looking for.

Neat! Well if I am going to build this the color palette of the syntax coloring and editor look and feel will be chosen from Rei and her dark suit like below.

(Which I do like very much!)
If you want one-dark with Rei, might I suggest setting the background image. (It would be faster for you!)

If you want one-dark with Rei, might I suggest setting the background image. (It would be faster for you!)

I... didn't think of this. It's a good solution, although i would obviously prefer a theme made around Rei.
I'll still keep the request open in case you ever make this theme (and also because doki theme need more NGE waifu)

Wow! I did not know that this variant of Rei existed!

It's from the third movie from the Rebuild of Evangelion reboot. I cannot recommend these movies enough !

(and also because doki theme need more NGE waifu

I've been wanting to add Asuka and Rei for a while, but Asuka is red and Rei is blue, and I already have a bunch of blue and red themes.
I think this variant of Rei would be nice :ok_hand:
Looks like I need to watch some Eva movies!

Hey! Figured I'd share an update. I am pretty happy with how the theme has turned out. I was looking for a green and black theme. Green, red, and black looks soo good!
I got to look the way I wanted it to, and this will be the final product. (I'll probably change Rei's sticker to be looking directly at me, but that's the only change)


Cascading filter works only for the first value available in sub filter

Describe the bug
Dataset : The Stapfer-Enquête: schooling in Switzerland 1799 (RDF)
Chart type : Bar chart, with these options :

First and second filters work fine, with the available combination : Kanton = Argau, Bezirk = Aarau (Argau)

Filters are reset when I try to change the first filter value to Bern
3.
Same behavior if I change first the Kanton to Bern and then add the second filter.

Expected behavior
I already tested this functionality, maybe with another dataset, but it worked.
When I change the value in the first filter, Visualize update the second filter with a valid value.
Now, it seems Visualize tries to apply the first available value or keep the current value in the second filter when I update the value in the first filter, resulting in no available observations for the combined value.
Environment :

Visualize INT Visualize int v3.4.1 (https://github.com/visualize-admin/visualization-tool/commit/040ed03a0445f0cc90e06d87d33336a3f31ee014)
Edge Version 98.0.1108.43 (Official build) (64-bit)
Firefox 78.12.0esr (64-bit)

Additional context
Tested with the dataset "Bathing water quality", same problem. The cascading filter is no more usable.

Can you confirm it works better in test ? https://test.visualize.admin.ch/en/browse/dataset/https%3A%2F%2Fculture.ld.admin.ch%2Fsfa%2Fstapfer-enquete-1799%2F4%2F?previous={"includeDrafts"%3Atrue%2C"order"%3A"SCORE"%2C"search"%3A"stapfer"}

Yes it's better. The filters are no more reseted when changing the value in the first filter. The second filter value is set to No Filter,

but in the graph the old values are present :

"No filter" for the second filter value is ok, but the chart should display all the values for the first filter.
Same thing when changing the default value in the first filter then adding a second filter.
I think, last week (or 10 days ago) the cascading filter worked very well and always displayed something. I've made a lot of tests and I can't remember a special case where it does not work.

Thanks Pierre for your feedback, I'll take a look.

I think, last week (or 10 days ago) the cascading filter worked very well and always displayed something. I've made a lot of tests and I can't remember a special case where it does not work.

There were cases where it did not work, see #327 and #328.


feat(auth): add URLSession client

Issue #

None
Description

Add URLSession Client for making HTTP calls to API Gateway Endpoint

General Checklist

[x] Added new tests to cover change, if needed
[x] Build succeeds with all target using Swift Package Manager
[x] All unit tests pass
[x] All integration tests pass
[x] Security oriented best practices and standards are followed (e.g. using input sanitization, principle of least privilege, etc)
[ ] Documentation update for the change if required
[x] PR title conforms to conventional commit style
[x] New or updated tests include Given When Then inline code documentation and are named accordingly testThing_condition_expectation()
[ ] If breaking change, documentation/changelog update with migration instructions

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report
Attention: 55 lines in your changes are missing coverage. Please review.

Comparison is base (3ad7de2) 67.74% compared to head (701fbbc) 67.57%.

Files
Patch %
Lines

...in/Support/URLSessionClient/URLSessionClient.swift
3.92%
49 Missing :warning:

...port/URLSessionClient/PreInitiateAuthPayload.swift
0.00%
6 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@                    Coverage Diff                     @@
##           feat/auth-passwordless    #3387      +/-   ##
==========================================================
- Coverage                   67.74%   67.57%   -0.17%
==========================================================
  Files                        1086     1088       +2
  Lines                       36217    36279      +62
==========================================================
- Hits                        24535    24516      -19
- Misses                      11682    11763      +81

Flag
Coverage Δ

API_plugin_unit_test
67.07% <ø> (ø)

AWSPluginsCore
64.59% <ø> (ø)

Amplify
47.46% <ø> (ø)

Analytics_plugin_unit_test
81.16% <ø> (ø)

Auth_plugin_unit_test
77.64% <12.69%> (-0.34%)
:arrow_down:

CoreMLPredictions_plugin_unit_test
59.44% <ø> (ø)

DataStore_plugin_unit_test
80.61% <ø> (-0.50%)
:arrow_down:

Geo_plugin_unit_test
70.75% <ø> (ø)

Logging_plugin_unit_test
63.09% <ø> (ø)

Predictions_plugin_unit_test
37.29% <ø> (ø)

PushNotifications_plugin_unit_test
87.03% <ø> (ø)

Storage_plugin_unit_test
78.00% <ø> (ø)

unit_tests
67.57% <12.69%> (-0.17%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


IPAllowList does not show allowed IPs in Dashboard as IPWhiteList does

Welcome!

[X] Yes, I've searched similar issues on GitHub and didn't find any.
[X] Yes, I've searched similar issues on the Traefik community forum and didn't find any.

What did you do?
Changed my middleware from IPWhiteList to IPAllowList.
Open Traefik Dashboard and have a look on the configured middleware.
(Or open a HTTP Router that uses the middleware)
The page shows only:

TYPE: ipallowlist
PROVIDER: File
STATUS: Success

IPWhiteList used to show also the configured IP Adresses from "sourceRange".
When I change back to IPWhiteList, the list of configured IPs is shown.
What did you see instead?
No configured IPs.
What version of Traefik are you using?

Before and working:
http:
  middlewares:
    IP_allow:
      ipWhiteList:

After and not working:
http:
  middlewares:
    IP_allow:
      ipAllowList:

If applicable, please paste the log output in DEBUG level
No response

Hello @schenklklopfer,
Thanks for reporting this!
The vue component for the IPAllowList is indeed missing in webui/src/components/_commons/PanelMiddlewares.vue, we marked this issue as bug-confirmed accordingly.

Fixed by #10459


move "remote_dataset_exist" function into gcp utils

@Josh-Joseph combine with #53 ?

this seems to already be in gcp utils? maybe I moved it without tagging/closing this issue then? Either way going to close it but feel free to reopen if I'm missing it


[Q] How to switch off image smoothing by default?

Hello everyone!
I used to log tiny(10x10 pixels or so) images into runs and they just enlarged in wandb, so I could see everything fine. However, recently, images and gifs have started to appear smoothed and I don't see how to switch it off. As a solution, I can load pictures of normal size, but, I think, I can save a lot of space by logging small images.
Example of smoothed image:

Hi @ZhekaHauska , thanks for reporting this. Would you be able to share a link for a run page with an example of this issue?

Hi @ZhekaHauska , thanks for reporting this. Would you be able to share a link for a run page with an example of this issue?

Hi @tyomhak, thanks for your response. Here it is.

Hey @ZhekaHauska could you also share what browser you are using? I opened the example in chrome and it does not have the smoothing effect.

Hey @ZhekaHauska could you also share what browser you are using? I opened the example in chrome and it does not have the smoothing effect.

Hi @jsbroks! That's interesting, I didn't think the issue may be connected with the browser. I am using Mozilla Firefox 90.0.2 (64-bit).


Replace :assigned_id with :assigned_user_id in notification's response

I'm updating notification docs to reflect the changes here: https://github.com/teambox/Teambox-hosted/pull/3978

:+1:

:+1:


Interactive map: add option for toggling other relevant layers

There are many existing geographical features that I'd like to be able to compare the DSA chapter boundaries against, for example, congressional districts, county lines, and municipal boundaries. It would be nice to be able to overlay some of these on the same map as the chapter boundary interactive atlas.

Actually never mind; I just hadn't zoomed in far enough


[Feature Request]: add repo-rater GitHub Action

Why Do We Need This Feature?
Krish recently created this GitHub Action in connection with Eddie Jaoude’s new project, Repo-Rater: https://github.com/marketplace/actions/repo-rater-action
This can help the project gain more visibility.
Are There Any Workarounds Available Today?
N/A
Any Design Proposals(Here you can provide any raw screenshots)
N/A
I adhere to the CODE OF CONDUCTS of this project

[x] I DO

Do you want to work on this? It's a good proposal. @CBID2


Proxy does only proxy top level members

If you proxy a subtype of any kind. only the methods in the subtype is proxied. no visible members from the base type(s) are part of the generated code.
e.g.
public class A
{
    void Foo() {}
}

public class B : A
{
     void Bar() {}
}

[ProxyInterfaceGenerator.Proxy(typeof(B))]
public partial interface IB {
}

The proxy will only contain code for Bar, nothing for Foo

The 'work around' for this is to proxy both classes:
[ProxyInterfaceGenerator.Proxy(typeof(A))]
public partial interface IA {
}

[ProxyInterfaceGenerator.Proxy(typeof(B))]
public partial interface IB : IA {
}

And example like this is:

https://github.com/StefH/ProxyInterfaceSourceGenerator/blob/main/src-examples/ProxyInterfaceConsumerForPnP/Interfaces/IClientObject.cs
https://github.com/StefH/ProxyInterfaceSourceGenerator/blob/main/src-examples/ProxyInterfaceConsumerForPnP/Interfaces/ISecurableObject.cs

@rogeralsing
Actually, this should work like this : https://github.com/StefH/ProxyInterfaceSourceGenerator#proxybaseclasses

@rogeralsing
Does this answer you question?

@rogeralsing
Is this enough information for you?


Update cats-effect, cats-effect-laws to 3.5.0 in series/4.x

About this PR
📦 Updates

org.typelevel:cats-effect
org.typelevel:cats-effect-laws

from 2.5.5 to 3.5.0 ⚠
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

💡 Applied Scalafix Migrations

org.typelevel:{cats-effect,cats-effect-laws}:3.0.0 (created no change)

github:typelevel/cats-effect/v3_0_0?sha=v3.0.0

org.typelevel:{cats-effect,cats-effect-laws}:3.3.0 (created no change)

github:typelevel/cats-effect/v3_3_0?sha=series/3.x

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.typelevel" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.typelevel" }
}]

labels: library-update, early-semver-major, semver-spec-major, version-scheme:early-semver, scalafix-migrations, commit-count:1

Superseded by #1746.


add extensions-Field to GraphQLError.kt

see https://github.com/aPureBase/KGraphQL/issues/165

Could you also enable issues/diskussions in this fork so that we can communicate further issues?


Consultation on model results

Hi, you mentioned in your paper that your results were averaged using your trained model sampled three separate times, meaning that you repeated the following code three times to get three results and then averaged them?
CUDA_VISIBLE_DEVICES=2 python main.py --config configs/vpsde_qm9_uncond_jodo.py --mode eval --workdir exp_uncond/vpsde_qm9_jodo --config.eval.ckpts '30' --config.eval.batch_size 2500 --config.sampling.steps 1000

Please use different seeds by setting --config.seed

What are the three --config.seed values you chose?

Using random seeds you can obtain similar results.


[FEATURE] Make harvester self-aware of configurations

Is your feature request related to a problem? Please describe.
It will be nice if options/records in Harvester are auto populated with valid values/options e.g.

Improved hardware discovery process so all hardware options are presented for configuration such has networks, disks etc. e.g. hardware discovery process in MAAS.
Vlan should provide you list of Ethernet adapters. Currently you login to console (or based on experience) to figure out its eth0 or eth1
When creating VM's on a specific machine we need to know host-ID.
On VM's or Hosts with multiple network cards/IP only one ip is displayed.

Describe the solution you'd like

Hardware discovery process similar to MAAS
Improved network configuration Vlan->available ethernet configuration may be similar to MAAS
drop down with valid hosts so errors can be eliminated
display all ip's assigned to Host/VM

Describe alternatives you've considered
None of these are show stoppers but incremental UI enhancements. Workaround available.
Additional context

This was a long time ago. Some of those have already been implemented.
CC the community coordinator for the week @yaocw2020


Developer gets a 'Package Visibility: Type is not visible: tdtm_config_api' error when trying to call API method

This happens through the Force.com IDE and the dev console, but not if the class is edited directly in the web UI.
HUB thread: https://powerofus.force.com/_ui/core/chatter/groups/GroupProfilePage?g=0F980000000CjRe&fId=0D58000001xqmXI
Code that produces the error:
@isTest
global class TEST_NPSP_API {
    public static void insertDefaultTDTM() {
        List<npsp__Trigger_Handler__c> obj = npsp.TDTM_Config_API.getDefaultRecords();
        insert obj;
    }

}

FWIW, I was able to get very similar code to compile fine in the latest version of MavensMate

**lurch: attach W-007367

Tracking W-007367

This has been marked as "Never" internally.


Custom service creation in docker not working

I have tried to follow the guide for docker custom service creation and it is not working.
I have tried accessing /new in several ways:

http://localhost:3333/new
http://192.168.X.X:3333/new
https://mydomain.com/new

Trying to access any of those service creation webs shows just a redirect to the main website of my server (which is correctly set up).
Is this a bug or just some not updated functionality?
If it is the second case, please direct me to the correct way of implementing custom services as of today since I have tried creating the custom recipes following manual tutorial and they don't show up either.
Thanks!

+1 on this one


iOS - Motion Sickness

hi boris
i'm currently comparing your webvr-boilerplate with the one from https://vr.chromeexperiments.com/ - i have set up two projects with the same content for each boilerplate - a skybox using 6x 1024x1024px textures.
with your boilerplate on iOS (tested on iphone6+ and ipad air2 running both iOS 8.3 with google cardboard) the device orientation is not smooth (works fine on android / nexus 5) and it's not a fps issue. may it has something to do with gyro/motion sensor .. ?
you can test it here (best with cardboard)
this is the project with your webvr-boilerplate:
http://zaak.io/prototypes/swiss/
same project with vr chrome experiments boilerplate:
http://zaak.io/prototypes/swiss3/

hey zaak, yes indeed, thanks for reminding. this is because the vr chrome
boilerplate does linear interpolation, and webvr-boilerplate doesn't. i
think this feature is a good thing to add. stay tuned.
On Tue, May 5, 2015 at 11:37 AM ZAAK<EMAIL_ADDRESS>wrote:

hi boris
i'm currently comparing your webvr-boilerplate with the one from
https://vr.chromeexperiments.com/ - i have set up two projects with the
same content for each boilerplate - a skybox using 6x 1024x1024px textures.
with your boilerplate on iOS (tested on iphone6+ and ipad air2 running
both iOS 8.3 with google cardboard) the device orientation is not smooth
(works fine on android / nexus 5) and it's not a fps issue. may it has
something to do with gyro/motion sensor .. ?
you can test it here (best with cardboard)
this is the project with your webvr-boilerplate:
http://zaak.io/prototypes/swiss/
same project with vr chrome experiments boilerplate:
http://zaak.io/prototypes/swiss3/
—
Reply to this email directly or view it on GitHub
https://github.com/borismus/webvr-boilerplate/issues/17.

what about a wurfl.js iphone detect to deviceorientation switch?

No need for wurfl (can be done much more easily), but that's also an
option. Smoothing may be OK on Android, though. Will have to test.
On Tue, May 5, 2015 at 12:23 PM ZAAK<EMAIL_ADDRESS>wrote:

what about a wurfl.js iphone detect to deviceorientation switch?
—
Reply to this email directly or view it on GitHub
https://github.com/borismus/webvr-boilerplate/issues/17#issuecomment-99192861
.

Hi ZAAK, could you try now? I've updated the boilerplate with interpolation.
On Tue, May 5, 2015 at 1:40 PM Boris Smus<EMAIL_ADDRESS>wrote:

No need for wurfl (can be done much more easily), but that's also an
option. Smoothing may be OK on Android, though. Will have to test.
On Tue, May 5, 2015 at 12:23 PM ZAAK<EMAIL_ADDRESS>wrote:

what about a wurfl.js iphone detect to deviceorientation switch?
—
Reply to this email directly or view it on GitHub
https://github.com/borismus/webvr-boilerplate/issues/17#issuecomment-99192861
.

thank you boris!
i've tested SOOMTHING_FACTOR from 0 - 1 in 0.1 steps
0: like before
0.5 : best
all above 0.5 is like going back from 0.5 to 0 - so 1 is not super smooth it's like 0
here is a test with 0.5:
http://zaak.io/prototypes/swiss4/
compared to vr chromexperiments version it performs equal with 0.5 smoothing factor
is the smoothing linear ?
i think exponential or cubic inOut smoothing would perform best

i also see that nosleep works on iOS now !

or a general motion blur?

Why do you think an easing function will yield better results? Also I doubt
that motion blur is a good idea, might be even more sickness inducing.
On Wed, May 6, 2015, 8:37 AM ZAAK<EMAIL_ADDRESS>wrote:

or a general motion blur?
—
Reply to this email directly or view it on GitHub
https://github.com/borismus/webvr-boilerplate/issues/17#issuecomment-99516326
.

motion blur in general yes i would say that too.
but maybe to trigger it on a certain headmovement speed level could be a way to trick
the 20hz issue which is bad on fast head movements.
to easing function : when you enter a room you see for the first time (1) or when
you enter a room that you already know (2) - the way you look/orientate is different.
1 the brain needs to scan the scene as whole thing > u need constant linear motion
2 is more with easing as you know what’s around you - so head&eyes jump from
A to B with speeding up the time between.
so easing may be another way to trick update rates
looking for ways to fight that 20hz issue on iOS as it is important for webvr to run
on each platform with best possible device responsiveness
how would you trick it?

The way the linear interpolation works already handles large movements
pretty well. And actually iOS does a good job of providing events that are
accurate, so large deltas ate OK.
If you have time to explore better solutions that would be great. For now
I'm moving onto other improvements.
B
On Wed, May 6, 2015, 2:40 PM ZAAK<EMAIL_ADDRESS>wrote:

motion blur in general yes i would say that too.
but maybe to trigger it on a certain headmovement speed level could be a
way to trick
the 20hz issue which is bad on fast head movements.
to easing function : when you enter a room you see for the first time (1)
or when
you enter a room that you already know (2) - the way you look/orientate is
different.
1 the brain needs to scan the scene as whole thing > u need constant
linear motion
2 is more with easing as you know what’s around you - so head&eyes jump
from
A to B with speeding up the time between.
so easing may be another way to trick update rates
looking for ways to fight that 20hz issue on iOS as it is important for
webvr to run
on each platform with best possible device responsiveness
how would you trick it?
—
Reply to this email directly or view it on GitHub
https://github.com/borismus/webvr-boilerplate/issues/17#issuecomment-99617895
.

i'll give it a try soon

This should be fixed. With iOS 9 the update frequency is 60 Hz, and I just landed motion prediction, which hugely improves quality of head tracking. Re-open if you see issues.


Methods are not used anywhere isKeyFrame and getInitFrames

The V4L2DeviceSource class and its descendants (H264_V4L2DeviceSource, H264_V4L2DeviceSource) have methods that are not used anywhere.
bool isKeyFrame(const char* buffer, int size)
std::list< std::string > getInitFrames()

https://github.com/mpromonet/v4l2rtspserver/blob/master/inc/V4L2DeviceSource.h#L82
What are they needed for ?

Hi,
These methods are used by v4l2camera.
Best Regards
Michel


article.Rmd not (yet) outputting CiTO in RStudio

@tarleb @egonw I'm documenting the issue with some screenshots, working directly from article.Rmd in RStudio from my own repo created using the template option: https://github.com/schymane/markdown-jcheminf-research
This works (i.e. not using any fancy options),
output:
  pdf_document:
bibliography: bibliography.bib

but two refs are (obviously) unrecognised because of the CiTO tags:

Output:

I had issues last night with two outputs in one specification, so just concentrating on the PDF for now (I also got doc working last night), it does not like -- citeproc  ...

...and if you look at the previous RStudio image it seems to receive it as a filter instead
So this "works":
output:
  pdf_document:
   pandoc_args:
   - --lua-filter=filters/extract-cito.lua
   - --filter=C:/Program Files/RStudio/bin/pandoc/pandoc-citeproc.exe
   - --lua-filter=filters/insert-cito-in-ref.lua
cito-bibliography: bibliography.bib

but ... no CiTO in the output ...

Any ideas? Thanks so much for your efforts!

Yes, try the tip here: https://twitter.com/kraut0xA/status/1373545044855111681

Update, docx is working with updated pandoc, PDF and HTML are working without CiTO but not with
PDF with the CiTO filters:

PDF without:

HTML with the CiTO filters:

HTML without:

Since it works for Egon on Linux and not me in win I'm kind of tipping on path errors atm? PDF and HTML paths look like a bit of a mess ...
For the record word with CiTO is:

PDF and HTML were spacing errors ... --citeproc works
and the trick was to upgrade pandoc (release in RStudio is too old):
https://github.com/jgm/pandoc/releases/tag/2.12
and also rmarkdown in RStudio (via update packages)

and the trick was to upgrade pandoc (release in RStudio is too old):

Last release of RSTUDIO IDE 1.4 should have a suitable version I believe.


Use minideb:buster base image for kernel-collector until kernel_headers.sh/yum issues with bullseye are resolved.

/easycla


hotfix: parent version for pom.xml in storm-mongo is not properly set

+1

+1 Good catch!

+1

+1 good

The bug has been fixed by https://github.com/apache/storm/pull/1231
@HeartSaVioR Could you close this PR?

@vesense Thanks for noticing. Closing.


Run cucumber+Selenide in parallel

The problem
In our project, tests run in Selenide + Cucumber (Gradle project), now We have a usual execution but We need parallel execution to optimize our time execution. But, I don't find any information about that. Is it possible to do parallel execution?
Tell us about your environment

Selenide Version: 6.15.0
Cucumber Version: 5.6.0

@leticiafernandez Selenide allows running tests in parallel. No problems.
But I don't know about Cucumber.


test extract_cells_by_type() failing on 32-bit arches: Expecting a numpy.int32 array, got int64 instead.

vedo 2024.5.2 tests are failing on 32-bit architectures in debian tests.
The failure is in extract_cells_by_type()  from common tests test_core2.py
517s --- TEST METHOD extract_cells_by_type() -------------------
517s           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
517s   File "/usr/lib/python3/dist-packages/vedo/grids.py", line 634, in extract_cells_by_type
517s     uarrtyp = utils.numpy2vtk(ctarrtyp, deep=False, dtype="id")
517s               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
517s   File "/usr/lib/python3/dist-packages/vedo/utils.py", line 778, in numpy2vtk
517s     varr = numpy_to_vtkIdTypeArray(arr.astype(np.int64), deep=deep)
517s            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
517s   File "/usr/lib/python3/dist-packages/vtkmodules/util/numpy_support.py", line 191, in numpy_to_vtkIdTypeArray
517s     raise ValueError(
517s ValueError: Expecting a numpy.int32 array, got int64 instead.

numpy2vtk in vedo/utils.py explicitly requests np.int64, which I presume is causing the error.
Should it use simple python int instead?
Full test logs are available at
armel https://ci.debian.net/packages/v/vedo/testing/armel/48706152/
armhf https://ci.debian.net/packages/v/vedo/testing/armhf/48706220/
i386 https://ci.debian.net/packages/v/vedo/testing/i386/48705992/
https://ci.debian.net/packages/v/vedo/
This is with vtk 9.3.0 and numpy 1.26.4.

Thanks for reporting! I just committed a fix, but I guess that the simple python int should also do the trick...


Show Logged in Users?

Hello,
First of all, thank you very much for your script, it was exactly what I was looking for :)
Secondly, is it possible to show me which users are currently logged in?
Thanks,

Hi, JonnyUK!
It is possible to add that functionality, but most log in systems leave it out because of the inherent dangers it exposes.  Whenever you show logged in users, you give attackers a clear list of which user accounts have active sessions.  For that reason, I won't post working code here for others to come along and copy/paste.
If you decide you would like to add this feature, the easiest way is to have your sessions save to a MySQL database.  You can do this using PHP's session_set_save_handler(http://php.net/manual/en/function.session-set-save-handler.php) function.  With the sessions stored in a db table, its easy to loop over each of the records and parse out the logged in user name.
I would suggest having this information only available to logged in users with admin/moderator rights and not for everybody.

Thanks, is it also possible to have user access levels for each page?

Sure.  You would need to add a field to the database to store the user level.  Then on a given page, you would need to check that the user level is above a certain level. You can add a field like this.
ALTER TABLE users ADD userlevel TINYINT(2);

Then at the top of each page you could check against the required userlevel.
if(empty($_SESSION['user']) || $_SESSION['user']['userlevel'] < 1) {

In this case, the required userlevel is 1 or higher.
Also, going  back to your first question, please see memberlist.php.


Support for .NET Core?

I'll add preliminary support now.
It's almost Friday, so why not!

Initial corification available now under the core branch

That was quick - thanks!

Sure, np, it's on nuget as of today as well
https://www.nuget.org/packages/Bmbsqd.AsyncLock/


The docs walkthrough wants a default when starting port forwarding the UI

Signed-off-by: James Sturtevant<EMAIL_ADDRESS>
Description:
When going through the walk through at I wasn't able to view the bookstore-ui application.  The doc at https://release-v1-2.docs.openservicemesh.io/docs/getting_started/install_apps/#view-the-application-uis shows to do:
cp .env.example .env
bash <<EOF
./scripts/port-forward-bookbuyer-ui.sh &
./scripts/port-forward-bookstore-ui.sh &
./scripts/port-forward-bookthief-ui.sh &
wait
EOF

but I get the following (nothing fails have to run it manually)  so the UI isn't visible.
❯ ./scripts/port-forward-bookstore-ui.sh
Usage: ./scripts/port-forward-bookstore-ui.sh <selector>

this just sets a default.  I thought about  changing the docs but it was mentioned in multiple ways and this seemed easier.

Testing done:

Affected area:

Functional Area

New Functionality
[ ]

CI System
[ ]

CLI Tool
[ ]

Certificate Management
[ ]

Control Plane
[ ]

Demo
[x]

Documentation
[x]

Egress
[ ]

Ingress
[ ]

Install
[ ]

Networking
[ ]

Observability
[ ]

Performance
[ ]

SMI Policy
[ ]

Security
[ ]

Sidecar Injection
[ ]

Tests
[ ]

Upgrade
[ ]

Other
[ ]

Please answer the following questions with yes/no.

Does this change contain code from or inspired by another project?

Did you notify the maintainers and provide attribution?

Is this a breaking change?

Has documentation corresponding to this change been updated in the osm-docs repo (if applicable)?

This fixes the docs...

Codecov Report

Merging #4940 (38bff5d) into main (7abf10d) will increase coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #4940      +/-   ##
==========================================
+ Coverage   68.72%   68.74%   +0.01%
==========================================
  Files         220      220
  Lines       15924    15924
==========================================
+ Hits        10944    10947       +3
+ Misses       4928     4925       -3
  Partials       52       52

Flag
Coverage Δ

unittests
68.74% <ø> (+0.01%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/messaging/workqueue.go
100.00% <0.00%> (+10.71%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7abf10d...38bff5d. Read the comment docs.


add System.CommandLine style directives

[debug] will print the current process id and wait for
a debugger to attach
[parse] will print the args as parsed by the shell
this is not intended to be as feature rich as theirs
but just borrowing their naming convention

@bilal-fazlani  i'm adding this to example because it makes testing easier.  it seems like an interesting feature to offer via configuration.  What do you think?

Yeah. This looks like it's very handy for debugging apps


update(OWNERS): move inactive approvers to emeritus_approvers

What type of PR is this?
/kind cleanup
/kind documentation
Any specific area of the project related to this PR?
What this PR does / why we need it:
For https://github.com/falcosecurity/falco/issues/2115, this PR proposes moving inactive approvers (who had very little or zero contributions over the past 6 months) from approvers to emeritus_approvers in OWNERS.
Which issue(s) this PR fixes:
Special notes for your reviewer:
This is part of https://github.com/falcosecurity/charts/pull/360, that was split due to the required chart version bump.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: jasondellaluce
To complete the pull request process, please assign leodido after the PR has been reviewed.
You can assign the PR to them by writing /assign @leodido in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

LGTM label has been added.  Git tree hash: bd1eb2a951aff7489d1f53e9720a46fe66fdc903

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: jasondellaluce, leogr
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [leogr]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


User Access Token is granted on WebAPI even when Scope is defined and user does not have scope

When I try to access the WebAPI with a different Bearer Token that specifically has a different Scope, I get 403 Forbidden, which is correct.  However, when I use a user access token from a login from the Interactive Identity server login page, the call to the WebAPI (in PostMan) succeeds when it should fail.
var scopePolicy = new AuthorizationPolicyBuilder()
	.RequireClaim("scope", "CoreAPI.Admin")
	.Build();

services.AddMvc(options =>
{
	options.Filters.Add(new AuthorizeFilter(scopePolicy));
})
.AddJsonOptions(options => options.SerializerSettings.ContractResolver = new CamelCasePropertyNamesContractResolver());

services.AddAuthentication(options =>
{
	options.DefaultScheme = JwtBearerDefaults.AuthenticationScheme;
})
.AddJwtBearer(options =>
{
	options.Authority = "https://myidentity001.azurewebsites.net/";
	options.Audience = "CoreAPI";
	options.RequireHttpsMetadata = false;
});

All code you are showing here is from Microsoft...how is that an IdentityServer problem?

Apologies.  I followed the code setup like here for validating scopes.  Just not sure the issue for when passing a users access_token.
http://docs.identityserver.io/en/release/topics/apis.html

you can use https://jwt.io to have a look inside the token

For some reason the User has the scope, but the do not anywhere in the database.  Does it get tacked on because that is the site that they are logging in to?
{   "nbf":<PHONE_NUMBER>,   "exp":<PHONE_NUMBER>,   "iss": "https://myidentity001.azurewebsites.net",   "aud": [     "https://myidentity001.azurewebsites.net/resources",     "CoreAPI"   ],   "client_id": "91d54606-9875-94fa-c5b3-6160286de4f4",   "sub": "bd60f258-6ce4-4781-86bb-3adfc96469f1",   "auth_time":<PHONE_NUMBER>,   "idp": "local",   "firstName": "Jim",   "lastName": "Bob",   "email"<EMAIL_ADDRESS>  "fullName": "Jim Bob",   "userId": "bd60f258-6ce4-4781-86bb-3adfc96469f1",   "scope": [     "openid",     "profile",     "CoreAPI.Admin",     "offline_access"   ],   "amr": [     "pwd"   ] }

Users don't have scopes. Clients do.

Thanks...since I know who the user is now, then in my app I need to look up to see if they can access the app?

yes