C1 reolink stop working

Hello
During some time I have this integrationworking without any problem, but recently i start facing this issue

With following log
Logger: homeassistant.config_entries
Source: helpers/network.py:116
First occurred: 10:27:32 PM (1 occurrences)
Last logged: 10:27:32 PM
Error setting up entry Reolink C1 for reolink_dev
Traceback (most recent call last):
File "/config/custom_components/reolink_dev/init.py", line 77, in async_setup_entry
push = hass.data[DOMAIN][base.push_manager]
KeyError: 'push_manager-B0411D1FD780'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 293, in async_setup
result = await component.async_setup_entry(hass, self)  # type: ignore
File "/config/custom_components/reolink_dev/init.py", line 86, in async_setup_entry
await push.subscribe(base.event_id)
File "/config/custom_components/reolink_dev/base.py", line 302, in subscribe
get_url(self._hass, prefer_external=False),
File "/usr/src/homeassistant/homeassistant/helpers/network.py", line 116, in get_url
raise NoURLAvailableError
homeassistant.helpers.network.NoURLAvailableError

Logger: libav.rtsp
Source: components/stream/worker.py:338
First occurred: 10:27:16 PM (3 occurrences)
Last logged: 10:27:33 PM
Too short data for FU-A H.264 RTP packet
I alredy try do remove/disable add the camera again without sucess for now
Can you please help me in oder to solve this issue?
Thank you in advance for your support and best regards

Just to share more info about this issue I'm using the v0.19 version reolink dev integration
HA version - Home Assistant 2021.7.4
I just try with other camera model and the error persist... I'm not able to use this integration for now ...

Hello @fwestenberg
Can you please help me in order to solve this issue ?
Thank you

The issue may be is related to the costume integration
https://github.com/home-assistant/core/issues/54394
Any help in order to solve this issue ? Thank you

Hello,
I just bought Reolink E1 Zoom and am trying to integrate it into Home Assistant but get the same error: /

Hello,
I ave Reolink E1 Zoom and am trying to integrate it into Home Assistant but get the same error: /

Hello,
I ave Reolink E1 Zoom and am trying to integrate it into Home Assistant but get the same error: /

Hi Malvu,
I had the same problem as you, managed to solve this by filling in External URL and Internal URL under Configuration -> General

Hi Malvu,
I had the same problem as you, managed to solve this by filling in External URL and Internal URL under Configuration -> General

thank you for your answer, but the worry is still present

Hi Malvu,
I had the same problem as you, managed to solve this by filling in External URL and Internal URL under Configuration -> General

thank you for your answer, but the worry is still present

Yes I Still facing the same erro also
Thank you

Hello Any news about this ?
Does anyone please have a ideia how to solve this?
Thank you

I just reinstall the home assistant, restore the backup and the problem persist 😐
I appreciate some help in order to try solve this issue
Thank you and best regards

Hello
Any news about this issue that I'm facing?
I update to the last version available and I still have the same issue ...
Thank you and best regards

Did you check #222 ?

Did you check #222 ?

Great thank you now is working again
Thank you for your support and best regards


sth. wrong about 'isMoney'

while the value is '0.3', it will return false

fix it on v1.0.3 , please upgrade , thank you


Power reading on P110 is 1000 times too large

Describe The Bug:
When viewing the power consumed by the device in Eve app exposed via home bridge the value is 1000 times larger than that displayed in the native app.
To Reproduce:
Use P110 plug, view in Eve
Expected behavior:
Reduce value by 1000
Plugin Config:
 "devices": [
            {
                "name": "TapoPlug1",
                "host": "<IP_ADDRESS>",
                "type": "Plug"
            },
            {
                "name": "Tapo_P110",
                "host": "<IP_ADDRESS>",
                "type": "PowerPlug"
            }
        ],
        "platform": "TapoP100"

Not sure if related, but when using a P110 plug I'm getting this on Homebrige's log, for a power draw of 1182W:
This plugin generated a warning from the characteristic 'Current Consumption': characteristic was supplied illegal value: number 1182231 exceeded maximum of 65535.

@mgondium @malcsmith thank you for your feedback. As I don't own an P110 I based the implementation on the L530E. Would it be possible for you to provide me the readings from the Tapo app, the readings from the Eve app and also could you enable debug mode on homebridge and provided me the log for the device_info call?

I redacted some identifying data.
The Tapo App reads 1190W, I'm not using Eve.
[16/11/2021, 16:47:07] [homebridge-tapo] This plugin generated a warning from the characteristic 'Current Consumption': characteristic was supplied illegal value: number 1119024 exceeded maximum of 65535. See https://git.io/JtMGR for more info.
[16/11/2021, 16:47:07] [homebridge-tapo] Error:
    at Characteristic.characteristicWarning (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:2074:105)
    at Characteristic.validateUserInput (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1986:16)
    at /usr/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1569:24
    at /usr/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/util/once.ts:9:18
    at P110Accessory.getCurrentConsumption (/usr/lib/node_modules/homebridge-tapo/src/platformP110Accessory.ts:132:5)
    at Characteristic.emit (node:events:390:28)
    at /usr/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1544:14
    at new Promise (<anonymous>)
    at Characteristic.<anonymous> (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1542:12)
    at step (/usr/lib/node_modules/homebridge/node_modules/tslib/tslib.js:143:27)

[16/11/2021, 16:47:07 [Tapo Smart Platform] Device Info:  {
  device_id: '8022E5AAE0141E81D4B425C124B9D9FA1EED31E2',
  fw_ver: '1.0.7 Build 210629 Rel.174901',
  hw_ver: '1.0',
  type: 'SMART.TAPOPLUG',
  model: 'P110',
  mac: 'XX-XX-XX-XX-XX-XX',
  hw_id: '2FB30EF5BF920C44099401D396C6B55B',
  fw_id: '00000000000000000000000000000000',
  oem_id: '18BDC6C734AF8407B3EF871EACFCECF5',
  overheated: false,
  ip: 'XXX.XXX.X.XXX',
  time_diff: 0,
  ssid: 'XXXX',
  rssi: -45,
  signal_level: 3,
  latitude: XXXXXX,
  longitude: XXXXXX,
  lang: 'XX_XX',
  avatar: 'plug',
  region: 'XXXXXXXXXXXXX',
  specs: '',
  nickname: 'XXXXXXXXXXXXXXXX',
  has_set_location_info: true,
  device_on: true,
  on_time: 1442,
  default_states: { type: 'custom', state: { on: false } },
  last_update:<PHONE_NUMBER>810
}

@mgondium is the consumption returned by the Tapo app the total consumption since start use ? Or is it the current consumption?

@mgondium is the consumption returned by the Tapo app the total consumption since start use ? Or is it the current consumption?

It is the current load.
When the Tapo App measures a 650W load, this shows in the Homebridge log:
[16/11/2021, 19:29:02] [Tapo Smart Platform] Get Characteristic Power consumption -> 650151
Notice that since it does not exceed 65535, no error is shown.

I just released a beta Version 1.4.11-beta1. Please give it a try and let me know.

Should be fixed with v1.4.11

Hi @apatsufas
Not sure if it's the same, but I have one p110 and just configured the device and have about 60W consuming in 2h and in the eve app says 112kWh used... In the tapo app says 0,2kWh

@firewhank please try again with Version 1.4.16-beta2

It’s still showing a similar behavior. Every hour it’s consuming about 110w, but the consumption on eve app is 1,5kwh every hour

@firewhank could you do me a favor and try  1.4.16-beta4 and set homebridge in Debug mode? Please let me know the log values for "Current consumption" and "Total consumption"

I think this is it:
Tapo Smart Platform] {
result: {
today_runtime: 1243,
month_runtime: 5747,
today_energy: 716,
month_energy: 6974,
local_time: '2022-01-03 20:50:04',
past24h: [
119, 2, 356, 686, 1, 2, 1, 2,
2, 1,   2,   1, 1, 2, 1, 2,
2, 1,   2,   1, 2, 1, 2, 1
],
past30d: [
0,   0, 0,   0,   0,   0,   0,
0,   0, 0,   0,   0,   0,   0,
0,   0, 0,   0,   0,   0,   0,
0,   0, 0, 116, 663, 516, 763,
4200, 716
],
past1y: [
0,    0, 0, 0, 0,
0,    0, 0, 0, 0,
1295, 5679
],
past7d: [
[Array], [Array],
[Array], [Array],
[Array], [Array],
[Array]
],
current_power: 1515
},
error_code: 0
}

@firewhank thank you for your help. I'm not really sure though what current_power and today_energy are. Would it be possible to provide the same response in conjunction with the corresponding TAPO app screen, maybe this way I could tell what each value means.

device_id: '8022C3DF85981442E4475A1774FDF9F71EF01BFA',
fw_ver: '1.0.7 Build 210629 Rel.174901',
hw_ver: '1.0',
type: 'SMART.TAPOPLUG',
model: 'P110',
mac: 'B0-A7-B9-0F-7F-E1',
hw_id: '2FB30EF5BF920C44099401D396C6B55B',
fw_id: '00000000000000000000000000000000',
oem_id: '18BDC6C734AF8407B3EF871EACFCECF5',
overheated: false,
ip: '<IP_ADDRESS>',
time_diff: 0,
ssid: 'UGFyZGFs',
rssi: -79,
signal_level: 1,
latitude: 390087,
longitude: -90764,
lang: 'en_US',
avatar: 'plug',
region: 'Europe/Lisbon',
specs: '',
nickname: 'QXF1ZWNlZG9y',
has_set_location_info: true,
device_on: true,

on_time: 65817,
default_states: { type: 'last_states', state: {} },
last_update:<PHONE_NUMBER>740

Hope it helps


define alert rule for missing GDC metadata archive (#13)

Fixes #13.  Also moves commented lines to annotations.

Following the discussion on #13 the alert rule still needs to be updated such that it filters only by GDCs. Otherwise it would trigger an alert for all centers not updating their metadata in 24 hours.

Following the discussion on #13 the alert rule still needs to be updated such that it filters only by GDCs. Otherwise it would trigger an alert for all centers not updating their metadata in 24 hours.

I can see that centre_id =~ ".*global-discovery-catalogue" then needs to be part of the alert definition.  Is the below correct?
time() - wmo_wis2_gc_last_metadata_timestamp_seconds{centre_id =~ ".*global-discovery-catalogue"} > 86400
Once I have a validation I will update this PR accordingly.

The syntax seems to be correct. As #13 is not yet implemented by Global Caches for the GDC archive at the moment this alert would fire

The syntax seems to be correct. As #13 is not yet implemented by Global Caches for the GDC archive at the moment this alert would fire

PR updated accordingly for review.


Update misspell to 0.5.0 and add misspellings.csv

Misspell 0.5.0 supports passing a csv file to extend the list of misspellings, so I added some common ones from the codebase. There is at least one typo in a API response so we need to decided whether to revert that and then likely remove the dict entry.

The committer issue looks like a bug in misspell, filed https://github.com/golangci/misspell/issues/18.

Should be ready now, the API change was reverted and the word "comiter" removed from the list of words. The only other potentially problematic change is the struct change for Reviwer property, but it seems it's not exposed externally.


Problem importing excel with formulas

I've found that there is a problem when you try to import an excel with formulas.
If you use and .xls file it works fine but, if the file is and .xlsx, it reads formulas and not values.
Could it be a bug?
Tested with:
python: 3.7.4
django: 2.2.5
django-import-export: 1.2.0

I could reproduce as follows

In admin site, export book as xlsx
Open the downloaded file and change an author cell to ABS(5) - swap in the actual value of the cell here
Save and import the file
It will give an error showing that the formula and not the value is to be imported (see attached)

Apparently can be fixed with data_only flag (#1095).


requests.exceptions.InvalidProxyURL: Please check proxy URL

Hi,
I created a python script to export a dimension structure. This script was then converted to an exe file using pyinstaller.
I then called this exe file via cmd in my machine. The exe worked and exported the data.
But when I used this exe in another machine, it gave out the highlighted error. Any idea how to sort this out?
code:
import configparser
import os
import sys cube_name = sys.argv[1]
config = configparser.ConfigParser()
cwd = os.getcwd()
config.read(os.path.join(cwd, 'config.ini'))
metadata_file = os.path.join(cwd, cube_name+'.xlsx')
import pandas as pd
from TM1py.Services import TM1Service
from TM1py.Utils import Utils
with TM1Service(**config['USCPADM_SIT']) as tm1:
    all_cubes = tm1.cubes.get(cube_name)
    dims = all_cubes.dimensions
    with pd.ExcelWriter(metadata_file) as writer:
        for dim in dims:
            df = []
            dimension = tm1.dimensions.get(dim) for hierarchy in dimension: for element in hierarchy:
        df.append(element.name) pd.DataFrame(df).to_excel(writer, sheet_name=dim, header=False,
index=False)

Error:
Traceback (most recent call last): File "dim.py", line 16, in
File "site-packages\TM1py\Services\TM1Service.py", line 12, in **init**
File "site-packages\TM1py\Services\RESTService.py", line 96, in **init**
File "site-packages\TM1py\Services\RESTService.py", line 169, in _start_session
File "site-packages\requests\sessions.py", line 525, in get
File "site-packages\requests\sessions.py", line 512, in request
File "site-packages\requests\sessions.py", line 622, in send
File "site-packages\requests\adapters.py", line 388, in send
File "site-packages\requests\adapters.py", line 292, in get_connection
requests.exceptions.InvalidProxyURL: Please check proxy URL. It is malformed and could be missing the host. [10048] Failed to execute script dim

I tested the proxy settings in both the machines and the results were same:
netsh winhttp show proxy
Current WinHTTP proxy settings:
Direct access (no proxy server).

I still don't have the expertise required to help you with that issue, but I suggest you edit the issue formatting to make it easier for maintainers to understand the problem.
Put triple backticks (```) around multi-line code (in that case, both code and error) and keep the line breaks.
E.g.:
```
code goes here
including line breaks
```

Thanks!

Sorry about the way I posted the question. I'm totally new to Github, still learning.
Thanks for quick tip!

It's okay, Github's markdown can be confusing sometimes.
You're almost there, just need to put line breaks before each triple backtick (```) exactly like I exemplified in my previous comment.

Thanks! But I still have my clarifications, hope someone would help me out.

@timofurrer do you know who can investigate this issue?

No idea, I started checking it myself. Will provide an update here if I find the solution.

My second machine has no proxy enabled, I confirmed the same with netsh winhttp show proxy
Output:
Current WinHTTP proxy settings: Direct access (no proxy server)
Not sure why the control is getting into if proxy: after proxy = select_proxy(url, proxies)
So I removed the below lines (288 - 296) from adapters.py and created the executable file again. I used this new executable file in the second machine, now the file worked successfully.
        if proxy:
            proxy = prepend_scheme_if_needed(proxy, 'http')
            proxy_url = parse_url(proxy)
            if not proxy_url.host:
                raise InvalidProxyURL("Please check proxy URL. It is malformed"
                                      " and could be missing the host.")
            proxy_manager = self.proxy_manager_for(proxy)
            conn = proxy_manager.connection_from_url(url)
        else:

I used this as a workaround, please let me know how to fix this permanently.

This looks like a bug in the library, can someone please investigate on this?


[SPARK-27405][SQL][TEST] Restrict the range of generated random timestamps

What changes were proposed in this pull request?
In the PR, I propose to restrict the range of random timestamp literals generated in LiteralGenerator. timestampLiteralGen. The generator creates instances of java.sql.Timestamp by passing milliseconds since epoch as Long type. Converting the milliseconds to microseconds can cause arithmetic overflow of Long type because Catalyst's Timestamp type stores microseconds since epoch in Long type internally as well. Proposed interval of random milliseconds is [Long.MinValue / 1000, Long.MaxValue / 1000].
How was this patch tested?
By DateExpressionsSuite in the PR https://github.com/apache/spark/pull/24311

@dongjoon-hyun @srowen Please, take a look at the PR.

Can one of the admins verify this patch?

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/9698/
Test PASSed.

Test build #104366 has started for PR 24316 at commit 990b5b5.

Thank you for splitting this, @MaxGekk !

Could you add a concrete example in the PR description for the following, too?

Converting the milliseconds to microseconds can cause arithmetic overflow of Long type because Catalyst's Timestamp type stores microseconds since epoch in Long type internally as well.

Test build #104366 has finished for PR 24316 at commit 990b5b5.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/104366/
Test FAILed.

jenkins, retest this, please

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/9717/
Test PASSed.

Test build #104384 has started for PR 24316 at commit 990b5b5.

BTW, this PR is not tested ... because this reduces the range of generated data.
By DateExpressionsSuite in the PR #24311

I would agree the PR is not tested by an explicit test but what would you like to test? I think we can trust to ScalaCheck's  Gen.choose that it returns longs in the range [Long.MinValue / 1000, Long.MaxValue / 1000]. There is theoretical foundation that generated milliseconds out of the range cause Long arithmetic overflow, so, the range cannot be wider. What should the test proof?

Test build #104384 has finished for PR 24316 at commit 990b5b5.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/104384/
Test PASSed.


Bump Alpine version to newest minor version

A newer Alpine version has been released.
Bumping in order to get newest packages.
This also fixes CVE-2019-14697 as in alpinelinux/docker-alpine#34

On this case, I'd suggest using the latest Alpine tag. We do that already for the OneAgent image.

Vulnerabilities fixed:
https://quay.io/repository/dynatrace/dynatrace-oneagent-operator/manifest/sha256:68e779b6b576a67531fc1f92bf000053e19be75508cf8118fd15b5ea36946b39?tab=vulnerabilities


Controlled vocab for Property "frequency": missing values in EU Authority List

We link this to a Controlled Vocab from the EU Authority List. Because this vocab is missing some values that we need, we added another proprietary vocab. Both vocabs together provide the entire list of possible values.
SEMIC states that this is possible, but it is better to contact the team of the EU Authority List, and ask them to upgrade their vocab, so we don't need a proprietary vocab.
-> We need to contact the EU Authority List, but only after our v1.0 publication.

@peterlubrich @marioscrock not sure how to get in contact with the EU Authority List. Any suggestions?

I found this email address on their website to suggest a concept<EMAIL_ADDRESS>

I sent an email to the Publication Office with this request

Meeting 24.06.24:
Received response from Ines/Publication Office: Proposal for expansion of "frequency" vocabulary.
Peter/Mario: check response,  get back to Ines
In next mobilityDCAT-AP version: change reference to vocab

Status 13.06.24:
Ines from the EU Publication Office sends a "final proposal to accommodate your requested concepts in the Frequency Authority Table
Peter and Mario accept this proposal.
Next:
When new Frequency Authority Table is published:

Adopt our Controlled Vocabulary for "dct:accrualPeriodicity"
Publish with next mobilityDCAT-AP release


Issue with merged static mounts

What version of Hugo are you using (hugo version)?

$ hugo version
hugo v0.123.1-3f8434a62fc91a50f4e5bd43a4435d2d301844ff+extended darwin/arm64 BuildDate=2024-02-21T08:17:45Z VendorInfo=brew

Does this issue reproduce with the latest release?
Yes
Description
Combined Mount setup like the following stopped working
Contents of the folders

static/images

header.svg

themes/PaperMod/images/

screenshot.png

[module]

  [[module.mounts]]
    source = "themes/PaperMod/images/screenshot.png"
    target = "static/images/screenshot.png"

  [[module.mounts]]
    source = "static"
    target = "static"

See Discourse #48374
Results
0.122.0
$ hugo-0.122.0
Start building sites …
hugo v0.122.0-b9a03bd59d5f71a529acb3e33f995e0ef332b3aa+extended darwin/arm64 BuildDate=2024-01-26T15:54:24Z

WARN  Dir layouts/partials/shortcodes/metadata not found

                   | EN
-------------------+-----
  Pages            | 20
  Paginator pages  |  0
  Non-page files   |  0
  Static files     |  2
  Processed images |  0
  Aliases          |  7
  Sitemaps         |  1
  Cleaned          |  0

Total in 57 ms

$ ls public/images/
header.svg	screenshot.png

0.123.1
$ hugo
Start building sites …
hugo v0.123.1-3f8434a62fc91a50f4e5bd43a4435d2d301844ff+extended darwin/arm64 BuildDate=2024-02-21T08:17:45Z VendorInfo=brew

WARN  Dir layouts/partials/shortcodes/metadata not found

                   | EN
-------------------+-----
  Pages            | 21
  Paginator pages  |  0
  Non-page files   |  0
  Static files     |  1
  Processed images |  0
  Aliases          |  7
  Cleaned          |  0

Total in 54 ms
$ ls public/images/
screenshot.png

Reproduceable example
See https://github.com/cmahnke/hugo-test/tree/0.123.0-static
Further ideas

Maybe it's now depending on the order of the mounts? Shouldn't really matter.

@bep Please don't shoot me, if I'm wrong: IS it possible that this is also causing the remaining SCSS issues? There it's also possible that the search path for stylesheets is expected to be combined / merged from theme and site.
If not, please just ignore this comment.


Food bug

🐛 bug report
When going to pvm, it only allows me to use monkfish and not any other type of food. I’ve tried favoriting food and unfavorite it, nothing seems to work. Thank you.

With all the fixes and time since this was posted I want to say this has been corrected. If not please open a new issue thread with updated info.


Error running deviceCreate (createSnapDevice) dm_task_run failed

When trying to create a simple dockerfile :
root@ns333968:~/DockerBuild# docker build .
Sending build context to Docker daemon 2.048 kB
Step 1 : FROM ubuntu:trusty
---> 91e54dfb1179
Step 2 : MAINTAINER Bussiere
---> Using cache
---> 911dab2dbd76
Step 3 : RUN locale-gen fr_FR.UTF-8
Error running deviceCreate (createSnapDevice) dm_task_run failed
root@ns333968:~/DockerBuild# docker version
Client:
Version:      1.9.0
API version:  1.21
Go version:   go1.4.2
Git commit:   76d6bc9
Built:        Tue Nov  3 17:43:42 UTC 2015
OS/Arch:      linux/amd64
Server:
Version:      1.9.0
API version:  1.21
Go version:   go1.4.2
Git commit:   76d6bc9
Built:        Tue Nov  3 17:43:42 UTC 2015
OS/Arch:      linux/amd64
root@ns333968:~/DockerBuild#
The dockerfile :
FROM ubuntu:trusty
MAINTAINER  Bussiere
RUN locale-gen fr_FR.UTF-8
ENV LANG fr_FR.UTF-8
ENV LANGUAGE fr_FR.UTF-8
ENV LC_ALL fr_FR.UTF-8
RUN apt-get update && apt-get -y upgrade && apt-get -y dist-upgrade
RUN apt-get -y install encfs wget
RUN mkdir -p /home/qpso
CMD ["/bin/bash"]

Hi!
Please read this important information about creating issues.
If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.
If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.
This is an automated, informational response.
Thank you.
For more information about reporting issues, see https://github.com/docker/docker/blob/master/CONTRIBUTING.md#reporting-other-issues

BUG REPORT INFORMATION
Use the commands below to provide key information from your environment:
docker version:
docker info:
uname -a:
Provide additional environment details (AWS, VirtualBox, physical, etc.):
List the steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Provide additional info you think is important:
----------END REPORT ---------
#ENEEDMOREINFO

@bussiere can you please provide your host system information?

closing because we need more information (as mentioned by @GordonTheTurtle above), but happy to reopen once that information is added


Make publisher.track() and publisher.add() return instantly

At the moment, if connections to ably are slow, they block publisher.track() and publisher.add(), preventing control from returning to the caller.
To fix this, we should add the trackable to the publisher immediately and return control to the caller - allowing the ably connection startup to happen in the background.
More info in related Android sdk issue #966

Closing as covered by https://github.com/ably/ably-asset-tracking-swift/issues/563, https://github.com/ably/ably-asset-tracking-swift/issues/558 and https://github.com/ably/ably-asset-tracking-swift/issues/554


Remove needless manual default impl of ButtonBundle

Objective

Remove a manual impl block for something that can be derived
Correct a misleading doc comment.

bors retry


Cartfile not found in custom directory (using chdir before carthage action)

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description
I've met error "The file “Cartfile” couldn’t be opened because there is no such file." in carthage action with specifying custom directory before it with Dir.chdir.
In my project I store Carthage files in [ROOT_DIR]/External/Frameworks/. So, I use this flow to run carthage action:
  lane :update_carthage do
    Dir.chdir("../External/Frameworks/") do
      carthage(
        ...
      )
    end
  end

It fails with error:
Failed to read file or folder at /Users/user/Projects/MyProject-ios/External/Cartfile: Error Domain=NSCocoaErrorDomain Code=260 "The file “Cartfile” couldn’t be opened because there is no such file.". And strange thing here is that the path is broken (/Frameworks missed). Actually Dir.chdir works correctly, so the problems is with carthage action. Looks like a bug in carthage action.
Complete output when running fastlane, including the stack trace and command used
/Users/user/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.101.1/fastlane_core/lib/fastlane_core/ui/interface.rb:153:in `shell_error!': [!] Exit status of command 'carthage update --no-use-binaries --no-build --platform iOS' was 1 instead of 0. (FastlaneCore::Interface::FastlaneShellError)
Failed to read file or folder at /Users/user/Projects/MyProject-ios/External/Cartfile: Error Domain=NSCocoaErrorDomain Code=260 "The file “Cartfile” couldn’t be opened because there is no such file." UserInfo={NSFilePath=/Users/user/Projects/MyProject-ios/External/Cartfile, NSUnderlyingError=0x7fae5ec61200 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
from /Users/user/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.101.1/fastlane_core/lib/fastlane_core/ui/ui.rb:17:in `method_missing'
from /Users/user/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.101.1/fastlane/lib/fastlane/helper/sh_helper.rb:80:in `sh_control_output'
from /Users/user/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.101.1/fastlane/lib/fastlane/helper/sh_helper.rb:12:in `sh'
from /Users/user/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.101.1/fastlane/lib/fastlane/actions/carthage.rb:34:in `run'
from /Users/user/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.101.1/fastlane/lib/fastlane/runner.rb:253:in `block (2 levels) in execute_action'
from /Users/user/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.101.1/fastlane/lib/fastlane/actions/actions_helper.rb:50:in `execute_action'
from /Users/user/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.101.1/fastlane/lib/fastlane/runner.rb:232:in `block in execute_action'
from /Users/user/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.101.1/fastlane/lib/fastlane/runner.rb:227:in `chdir'
from /Users/user/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.101.1/fastlane/lib/fastlane/runner.rb:227:in `execute_action'
from /Users/user/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.101.1/fastlane/lib/fastlane/runner.rb:157:in `trigger_action_by_name'
from /Users/user/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.101.1/fastlane/lib/fastlane/fast_file.rb:149:in `method_missing'
from Fastfile:105:in `block (3 levels) in parsing_binding'
from Fastfile:100:in `chdir'
from Fastfile:100:in `block (2 levels) in parsing_binding'
from /Users/user/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.101.1/fastlane/lib/fastlane/lane.rb:33:in `call'
from /Users/user/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.101.1/fastlane/lib/fastlane/lane.rb:33:in `call'
from /Users/user/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.101.1/fastlane/lib/fastlane/runner.rb:49:in `block in execute'
from /Users/user/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.101.1/fastlane/lib/fastlane/runner.rb:45:in `chdir'
from /Users/user/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.101.1/fastlane/lib/fastlane/runner.rb:45:in `execute'
from /Users/user/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.101.1/fastlane/lib/fastlane/lane_manager.rb:56:in `cruise_lane'
from /Users/user/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.101.1/fastlane/lib/fastlane/command_line_handler.rb:36:in `handle'
from /Users/user/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.101.1/fastlane/lib/fastlane/commands_generator.rb:108:in `block (2 levels) in run'
from /Users/user/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:178:in `call'
from /Users/user/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:178:in `call'
from /Users/user/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:153:in `run'
from /Users/user/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/commander-fastlane-4.4.6/lib/commander/runner.rb:476:in `run_active_command'
from /Users/user/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.101.1/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:74:in `run!'
from /Users/user/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/commander-fastlane-4.4.6/lib/commander/delegates.rb:15:in `run!'
from /Users/user/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.101.1/fastlane/lib/fastlane/commands_generator.rb:333:in `run'
from /Users/user/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.101.1/fastlane/lib/fastlane/commands_generator.rb:41:in `start'
from /Users/user/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.101.1/fastlane/lib/fastlane/cli_tools_distributor.rb:108:in `take_off'
from /Users/user/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.101.1/bin/fastlane:20:in `<top (required)>'
from /Users/user/.fastlane/bin/bundle/bin/fastlane:22:in `load'
from /Users/user/.fastlane/bin/bundle/bin/fastlane:22:in `<main>'

Why don't i succeed with updating the carthage ?
I created a cart file, put it in the root directory of my project, but still there's an error, which looks like that :
Failed to read file or folder at /Users/nickslobodsky/Documents/Swift/Tabbed/Tabbed/Tabbed/Watson/Cartfile: Error Domain=NSCocoaErrorDomain Code=260 "The file “Cartfile” couldn’t be opened because there is no such file." UserInfo={NSFilePath=/Users/nickslobodsky/Documents/Swift/Tabbed/Tabbed/Tabbed/Watson/Cartfile, NSUnderlyingError=0x7f947145ec00 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}


Fix last filter for numbers

While not unit tested, TwigPHP's last filter returns the last digit of
a number, not "".
With TwigPHP:
{{ 14|last }} # returns '4'

Currently, with twig.js
{{ 14|last }} # returns ''

See: https://twigfiddle.com/e28i2l

Thanks a lot... Hadn't considered numbers as individual character digits.

Don't forget to update https://github.com/twigjs/twig.js/wiki/Implementation-Notes
😉

It is not released, yet, but I will. :+1:


ReferenceError: cov_1hphpf4qcw is not defined

I have problem create test for my function

here is my project https://github.com/frantallukas10/youtu-get
I try to create test for my function where I use puppeteer for get every title and id from youtube playlist
here is my test: https://github.com/frantallukas10/youtu-get/blob/master/tests/test.js
and here is my function: https://github.com/frantallukas10/youtu-get/blob/master/src/main.js
thank you for your help or information... =)

Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions. You'll find more on Jest docs help page. Thank you :)


Adding new segments to the listing.

Seems to me this could be done generally in the other direction by stripping off __ so removing SEG_ from the symbol and looking for the value prefixed __ could reduce the need for a dataset that isn't useful here.

LGTM, just needs RuboCop fixes.
Also, could you add :SEG_LINKINFO => "__LINKINFO"? It overlaps with __LINKEDIT but it's also marked separately.


Ignore schedules without determined hours or minutes in groups

The title is clear.

Done in this commit.


Add option to turn off the menubar notification count in mac os

Love the project, thank you for building this!
I'd like to be able to just use the app, not the item in the menubar if possible.

Thanks for your feedback!
Sure, I'll add an option to disable it

@mcrascal Hi, I added the option in the settings, I will publish a new release soon with this changes


Broken Link in Samples -> Kafka

/kind bug
There is a broken link in https://github.com/kubeflow/kfserving/blob/master/docs/samples/kafka/README.md
contains broken link:
5. Install Kafka Event Source
https://github.com/knative/eventing-contrib/tree/main/kafka/source return 404
The issue raised by @difince in Kubeflow/website
https://github.com/kubeflow/website/issues/2740#issue-902320041

/assign


Topic and keyword terms in study view

Original report on BitBucket by Taina Jääskeläinen.

To increase the visibility and use of the subject vocabularies, put them higher up in the detailed study view. Now at the bottom.
The order of keywords in which the keywords are shown could be random.
To be considered and discussed: when it is possible to do a proper keyword search (restricted to the keyword element), maybe again show more than 12 keywords, 15-18 keywords? Because it is a very useful way to search.

Are these in conflict: #413 ?

After further inspection, no.
This issue was discussed in the User group.

We are satisfied with the current cut off at 12 keywords.
There is no need to implement a cut off for topics.

User group agrees that Topics and Keywords should be moved up in the detailed study view. Position should be between "Abstract" and "Methodology". The current format of the elements shall remain.


'knife node edit' fails on Windows with git-bash

Version:
11.14.0.rc.2
Environment:
Windows 8.1
Scenario:
Trying to edit a node object
Steps to Reproduce:
See 'Actual Result'
Expected Result:
An editor running
Actual Result:
Git-Bash:
Jeff@PATCHY ~/chef-repo (master)
$ grep EDITOR $HOME/.bashrc
export EDITOR=vim

Jeff@PATCHY ~/chef-repo (master)
$ echo $EDITOR
vim

Jeff@PATCHY ~/chef-repo (master)
$ knife node edit dev
ERROR: RuntimeError: Please set EDITOR environment variable

Jeff@PATCHY ~/chef-repo (master)
$ knife node edit dev -e vim
ERROR: RuntimeError: Please set EDITOR environment variable

Jeff@PATCHY ~/chef-repo (master)
$

I'm going to close this ancient issue, the TLDR is that on Windows we require an editor that supports Windows paths (ref: http://take-your-vitamins.blogspot.com/2013/05/chef-error-runtimeerror-please-set.html).  Vim in the latest git-bash on Windows does actually work for this now:
echo "export EDITOR=vim" >> ~/.bashrc
source ~/.bashrc
knife node edit vm1306


Codesign verification fails on OS X 10.9.5 and 10.10.5

Expected behavior
Codesign verification would pass on all supported OS X versions
Actual behavior
Codesign verification does not pass on 10.9.5 or 10.10.5 but passes on 10.11.4
10.9.5 or 10.10.5
Running codesign
codesign --verify --verbose=4 Kitematic\ \(Beta\).app/
--prepared:/path/to/Kitematic (Beta).app/Contents/Frameworks/Electron   Framework.framework/Versions/Current/.
--validated: /path/to/Kitematic (Beta).app/Contents/Frameworks/Electron Framework.framework/Versions/Current/.
Kitematic (Beta).app/: invalid signature (code or signature have been modified)
In subcomponent: /path/to/Kitematic (Beta).app/Contents/Frameworks/Kitematic (Beta) Helper EH.app

Running spctlto mimic Gatekeeper
spctl -a -t exec -vv Kitematic\ \(Beta\).app/
Kitematic (Beta).app/: invalid signature (code or signature have been modified)

10.11.4
Running codesign
codesign --verify --verbose=4 Kitematic\ \(Beta\).app/
--prepared:/path/to/Kitematic (Beta).app/Contents/Frameworks/Kitematic (Beta) Helper NP.app
--validated:/path/to/Kitematic (Beta).app/Contents/Frameworks/Kitematic (Beta) Helper NP.app
--prepared:/path/to/Kitematic (Beta).app/Contents/Frameworks/Kitematic (Beta) Helper EH.app
--validated:/path/to/Kitematic (Beta).app/Contents/Frameworks/Kitematic (Beta) Helper EH.app
--prepared:/path/to/Kitematic (Beta).app/Contents/Frameworks/Electron Framework.framework/Versions/Current/.
--validated:/path/to/Kitematic (Beta).app/Contents/Frameworks/Electron Framework.framework/Versions/Current/.
--prepared:/path/to/Kitematic (Beta).app/Contents/Frameworks/Kitematic (Beta) Helper.app
--validated:/path/to/Kitematic (Beta).app/Contents/Frameworks/Kitematic (Beta) Helper.app
--prepared:/Users/pettinen/.Trash/Kitematic (Beta).app/Contents/Frameworks/Mantle.framework/Versions/Current/.
--validated:/path/to/Kitematic (Beta).app/Contents/Frameworks/Mantle.framework/Versions/Current/.
--prepared:/path/to/Kitematic (Beta).app/Contents/Frameworks/Squirrel.framework/Versions/Current/.
--validated:/path/to/Kitematic (Beta).app/Contents/Frameworks/Squirrel.framework/Versions/Current/.
--prepared:/path/to/Kitematic (Beta).app/Contents/Frameworks/ReactiveCocoa.framework/Versions/Current/.
--validated:/path/to/Kitematic (Beta).app/Contents/Frameworks/ReactiveCocoa.framework/Versions/Current/.
Kitematic (Beta).app/: valid on disk
Kitematic (Beta).app/: satisfies its Designated Requirement

Running spctl
spctl -a -t exec -vv Kitematic\ \(Beta\).app/
Kitematic (Beta).app/: accepted
source=Developer ID
origin=Developer ID Application: Docker Inc (9BNSXJN65R)

Information about the Issue
This is probably related to Apple changing their certificate in mid-February 2016. See https://developer.apple.com/support/certificates/expiration/ for further details.
Steps to reproduce the behavior

Download Kitematic 0.10.2 (or 0.10.1) and extract the app
run codesign --verify --verbose=4 Kitematic (Beta).app on 10.9.5/10.10.5/10.10.4

Thanks for the report - CC @jeffdm

I've been looking into this, and the issue here is not the certificate being changed, but rather the application not being signed correctly.    Apple's documentation states that you should not be using --deep to codesign, only to verify.
What I use to codesign is my own custom made script that wraps up what XCode would normally do if it were to codesign an application.   This adds the proper codesigning requirements that running codesign bare does not attach.
What I did to get Kitematic to be signed correctly and validate on OS X 10.9/1.10 as well as 10.11 is I removed ALL of the _CodeSigning folders (as there were some extra files added in them that should not be there, probably from the --deep) and then ran my script on the app to code-sign it.
https://gist.github.com/urkle/93bddd0aaa7d5e692f0ec03df377f4d0
NOTE this script has been used for codesigning LOTS of released applications (Largely game ports that I do for Humble Bundle) and thus is battle tested.

Thanks for sharing @urkle I'll review it and will update our signing process to use that instead


Support non-json content types?

Hello and thanks for a great project!
I wondered whether there's any interest in support for non-json content types?
Two examples I have right now are that I'd like to annotate some existing methods to document:

An API that returns no content. The only options I seem to have are None which comes back as null and an empty string, which comes back as "".
A simple string value. I've refactored a method that used to be equivalent to return web.Response('foo') to be return APIResponse('foo') but over the wire, I'm changing the API behavior. It used to be returning foo but now it returns "foo".

This assumption that all API respond in json requirement seems to be coming from here?
Thank you!

* An API that returns no content. The only options I seem to have are `None` which comes back as `null` and an empty string, which comes back as `""`.

My plan is to introduce a constant to represent an empty body.

* A simple string value. I've refactored a method that used to be equivalent to `return web.Response('foo')` to be `return APIResponse('foo')` but over the wire, I'm changing the API behavior. It used to be returning `foo` but now it returns `"foo"`.

I don't have any concrete plans for how non-JSON responses would work in the library just yet (and also not sure how these are represented in OpenAPI yet).

So, merging thoughts from #40, maybe a valid approach would be to specify the media type in the decorator. When not using the default json type, it should not use/expect an APIResponse as the return type.
So, we might have something that looks like:
@SCHEMA.api(media_type="text/plain")
def handler(request) -> web.Response:
    ...

@SCHEMA.api()
def handler(request) -> APIResponse:
    ...

I like your suggestion. Are decorators powerful enough to see media_type="text/plain" and know to expect a different response type? Or would we need another decorator like @SCHEMA.text_api or whatever?
Pushing my own use case one more time, would something like @SCHEMA.api_doc(response_shape=...) where we don't validate the types but can use the information to build the openapi schema be possible?

That might be an option. Will come back to it once the higher priority stuff in done.


[BEAM-11739] Add tag to docker image when pushing to container registry

It currently tries to use the 'latest' tag and fails with tag not found

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

Run Java Examples on Dataflow Runner V2

Run Java 11 Examples on Dataflow Runner V2

Run Java Dataflow V2 ValidatesRunner

Run Java Dataflow V2 ValidatesRunner Streaming

Run Java Dataflow V2 ValidatesRunner Streaming

Streaming tests are failing, but it's been unhealthy for a few days now
R: @kennknowles, @boyuanzz


add macOS CI

Add mac os runner to ci

It seems we have this problem http://os-tres.net/blog/2010/02/17/mac-os-x-and-task-for-pid-mach-call/

It seems we have this problem http://os-tres.net/blog/2010/02/17/mac-os-x-and-task-for-pid-mach-call/ The blog explains what steps to take to make it work, but I haven't tried. (not sure it's possible to do the same steps on gh actions)
For now, I can run tinyinst_simple only with sudo + LLDB, else it fails to call task_for_pid()

ya had to do same thing in x64 mac... Not sure how we can do that through gh action...

let's run cargo build --release only for now

sounds good.


Unvendor bytebuddy dependency

Vendoring the bytebuddy dep was introduced in https://issues.apache.org/jira/browse/BEAM-1019:

We encountered backward incompatible changes in bytebuddy during upgrading to Mockito 2.0.
Shading bytebuddy helps to address them and future issues.
This makes it harder to upgrade the bytebuddy version (e.g. https://issues.apache.org/jira/browse/BEAM-14065, https://issues.apache.org/jira/browse/BEAM-12241).

Vendoring or shading bytebuddy is discouraged by the upstream owners of the library, see e.g. https://github.com/assertj/assertj-core/issues/2470 where assertj was migrated off a shaded version:

As Byte Buddy retains compatibility, not shading the library would allow running recent JVMs without an update of assertj but only BB. Other libraries like Mockito or Hibernate do not shade BB and there are no known issues with this approach. In case of an error, stack traces would also be easier to process as break points remain intact.
Does anyone remember additional context about the issues encountered during the mockito 2.0 upgrade? Would there be any interest in trying to unvendor bytebuddy? I'm happy to help route issues to the upstream bytebuddy and mockito projects, in general I think they want to support making it possible to use bytebuddy without shading it.

Imported from Jira BEAM-14117. Original Jira may contain additional context.
Reported by: cushon.

Fixed by https://github.com/apache/beam/pull/17317


Composition api

upgrade element-plus、vue-router、vuex、sass
fix Iframe component bug
fix keep-alive bug

upgrade element-plus、vue-router、vuex、sass
fix Iframe component bug
fix keep-alive bug


Saving does not work on desktop

When I go to save a file, it says

Here's a GIF:

I tried this on Mac OSX Yosemite 10.10.5 and Windows 8.

@juliandescottes If there's any chance you could fix this before November 7th, you would be my hero! I would like to use this tool for a game development workshop for a group of high school girls. It would be ideal to use the desktop version in case we have internet trouble, etc.

Thanks for the report !
Looks like the button is broken :/ CMD + SHIFT + S works, though should be easy to fix.
I'll have a fix uploaded in one hour max.

Wow! That was fast! Hero :heart:

@civilframe no worries :) If you want to give a try to the new versions, they're available at https://github.com/juliandescottes/piskel/wiki/Desktop-applications
Cheers !

Excellent! It works.


7036 layer update source id

Resolves #7036
@xavijam @javierarce
cc @alonsogarciapablo

should be merged to analysis, redoing PR…


[CLOSED] Script to fix inconsistent edition states

 Issue by bestie
Wednesday 02 July 2014 at 10:34 GMT
Originally opened as https://github.com/alphagov/specialist-publisher/pull/155

As can be seen in the test data some editions have states in consistent with their version number as a result of not being correctly archived.

bestie included the following code: https://github.com/alphagov/specialist-publisher/pull/155/commits

 Comment by bestie
Wednesday 02 July 2014 at 10:56 GMT

Thinking about this I'm not sure it should be a migration at all because it is:

Reusable should this happen again
Doesn't affect shape of data
Only updates editions which have become inconsistent

 Comment by evilstreak
Thursday 03 July 2014 at 20:52 GMT

:+1: Looks good


few faces detected

few faces gets detected by running test.py. Does it requires any parameter changes during inference to  detected all faces

?

You can try to change the threshold in './data/config.py'.
for example, you can change "widerface_640['conf_thresh'] = 0.6" to "widerface_640['conf_thresh'] = 0.1"

You can try to change the threshold in './data/config.py'. for example, you can change "widerface_640['conf_thresh'] = 0.6" to "widerface_640['conf_thresh'] = 0.1"

That doesn't change anything, the model still detects very few faces. Has anyone figured out a solution ?


NO ISSUE: Modifying Makefile

Modifying Makefile, with current implementation for newer go version controller-gen is not being installed properly and the build failed, changing "go get" to "go install" and removing the temp dir since it's not required, the binary file is placed under $HOME/go/bin.
Also changing controller-gen to a newer version (still support legacy features) and switching docker with podman.

it probably needs to run with older versions too so it may need a bit more work

@jortel @mansam Hey, can you please take a look when you have the time, it's a really minor change but required for a successful build.


List.concat has a memory leak

Change examples/helloWorld.roc main function to:
mainTask =
    List.concat [1, 2, 3] [4, 5]
    |> List.sum
    |> Num.toStr
    |> Stdout.line
    |> Program.exit 0

Then cargo run build examples/helloWorld.roc
followed by: valgrind --leak-check=full ./examples/helloWorld

Interesting, gmalloc doesn't seem to detect anything (on macOS):
DYLD_INSERT_LIBRARIES=/usr/lib/libgmalloc.dylib MallocPreScribble=1 /Users/hafiz/Code/Roc/roc/target/release/roc run examples/helloWorld.roc --optimize

I didn't test with --optimize, so that may be the issue. Otherwise, maybe gmalloc doesn't detect leaked memory? Does it just detect double free/use after free?

Ah, I guess leaks won't be caught by gmalloc. I was thinking of the use-after-free reported in Zulip, my b

Yeah, just happened to find this while trying to figure out the root cause of the use after free (haven't figured that one out yet)

The issue looks pretty simple and direct. Here is the IR for main:
procedure : `#UserApp.mainTask` {{Str, {}}, U8}
procedure = `#UserApp.mainTask` ():
    let `#UserApp.10` : List I64 = Array [1i64, 2i64, 3i64];
    let `#UserApp.11` : List I64 = Array [4i64, 5i64];
    let `#UserApp.9` : List I64 = CallByName `List.concat` `#UserApp.10` `#UserApp.11`;
    let `#UserApp.8` : I64 = CallByName `List.sum` `#UserApp.9`;
    dec `#UserApp.9`;
    let `#UserApp.7` : Str = CallByName `Num.toStr` `#UserApp.8`;
    let `#UserApp.5` : {Str, {}} = CallByName `pf.Stdout.line` `#UserApp.7`;
    dec `#UserApp.7`;
    let `#UserApp.6` : U8 = 0i64;
    let `#UserApp.4` : {{Str, {}}, U8} = CallByName `pf.Program.exit` `#UserApp.5` `#UserApp.6`;
    ret `#UserApp.4`;

Both of the input lists are passed to List.concat with a unique refcount. Neither has their refcount incremented before being passed in. As such, it is List.concat's job to free both lists (unless it is returning one of them). As such, the fix should just be for List.concat to decrement the refcount of the second list. Does this sound correct? If so, I can submit a PR to fix it (also might add in another optimization).


Improve providers

Resolves  #11
Also includes some bug fixes to the table parsing and continuous updating

Checklist

[x] The changes include an associated explanation of how/why
[x] An issue has been created for any pending work
[x] Test pass
[x] Documentation has been updated

Only thing we want to think about for the future as we add more and more custom providers is how we might want to structure it - whether it should be broken up into smaller files/sub-modules etc.

💯 agree. maybe one provider class per table, if we get to that granularity


Frontier - Add HASH

Pending changes, initial liquidity, pool for price data + router.

I see that alternative coin Id 'pool:nhash' was defined, but this id isn't being used. Please define this id as the 'coinGeckoId' for each time it's listed as a currency (stake, currency, fee) under EmbedChainInfos in config.ts.

We are not listed on coin gecko. Should I remove alternativeCoinId?


Better font detection

typst predefines these paths for font detection:

/usr/share/fonts
/usr/local/share/fonts
$HOME/.local/share/fonts

The last one is obtained from the dirs crate.
Sometimes fonts are stored in other directories, like on NixOS, for example, where fonts are stored in a totally separate directory.  I'm not familiar with font detection, however, I believe the "conventional" way to go about this is by using the fontconfig library, as used by gimp and many other programs. There are a couple of other Rust alternatives I scoped out but they seem all either unmaintained or immature.

Hey, just a heads-up, this is probably a duplicate of #100 ^^

Yep, thanks!


albert静态图

请提出你的问题
Albert是否支持了静态图导出

您好，2.4.1版本是直接转成静态图导出的

您好，2.4.1版本是直接转成静态图导出的
报错信息
The behavior of expression A + B has been unified with elementwise_add(X, Y, axis=-1) from Paddle 2.0. If your code works well in the older versions but crashes in this version, try to use elementwise_add(X, Y, axis=0) instead of A + B. This transitional warning will be dropped in the future.
op_type, op_type, EXPRESSION_MAP[method_name]))
Traceback (most recent call last):
File "G:/proofread_data_process/export_model.py", line 31, in
main()
File "G:/proofread_data_process/export_model.py", line 27, in main
paddle.jit.save(model, './checkpoints/albert/inference')
File "", line 2, in save
File "E:\anaconda\envs\py37\lib\site-packages\paddle\fluid\wrapped_decorator.py", line 25, in impl
return wrapped_func(*args, **kwargs)
File "E:\anaconda\envs\py37\lib\site-packages\paddle\fluid\dygraph\base.py", line 40, in impl
return func(*args, **kwargs)
File "E:\anaconda\envs\py37\lib\site-packages\paddle\fluid\dygraph\jit.py", line 744, in save
inner_input_spec)
File "E:\anaconda\envs\py37\lib\site-packages\paddle\fluid\dygraph\dygraph_to_static\program_translator.py", line 517, in concrete_program_specify_input_spec
*desired_input_spec)
File "E:\anaconda\envs\py37\lib\site-packages\paddle\fluid\dygraph\dygraph_to_static\program_translator.py", line 427, in get_concrete_program
concrete_program, partial_program_layer = self._program_cache[cache_key]
File "E:\anaconda\envs\py37\lib\site-packages\paddle\fluid\dygraph\dygraph_to_static\program_translator.py", line 744, in getitem
self._caches[item] = self._build_once(item)
File "E:\anaconda\envs\py37\lib\site-packages\paddle\fluid\dygraph\dygraph_to_static\program_translator.py", line 735, in build_once
**cache_key.kwargs)
File "", line 2, in from_func_spec
File "E:\anaconda\envs\py37\lib\site-packages\paddle\fluid\wrapped_decorator.py", line 25, in impl
return wrapped_func(*args, **kwargs)
File "E:\anaconda\envs\py37\lib\site-packages\paddle\fluid\dygraph\base.py", line 40, in impl
return func(*args, **kwargs)
File "E:\anaconda\envs\py37\lib\site-packages\paddle\fluid\dygraph\dygraph_to_static\program_translator.py", line 689, in from_func_spec
error_data.raise_new_exception()
File "E:\anaconda\envs\py37\lib\site-packages\paddle\fluid\dygraph\dygraph_to_static\error.py", line 336, in raise_new_exception
six.exec("raise new_exception from None")
File "", line 1, in
TypeError: In transformed code:

File "G:\proofread_data_process\paddlenlp\transformers\albert\modeling.py", line 1455, in forward
return_dict=return_dict)
File "G:\proofread_data_process\paddlenlp\transformers\albert\modeling.py", line 1135, in forward
return_dict=return_dict)
File "G:\proofread_data_process\paddlenlp\transformers\albert\modeling.py", line 459, in forward
output_hidden_states=output_hidden_states)
File "G:\proofread_data_process\paddlenlp\transformers\albert\modeling.py", line 376, in forward
output_attentions=output_attentions,
File "G:\proofread_data_process\paddlenlp\transformers\albert\modeling.py", line 319, in forward
output_attentions=output_attentions,
File "G:\proofread_data_process\paddlenlp\transformers\albert\modeling.py", line 238, in forward
query_layer = self.transpose_for_scores(mixed_query_layer)
File "G:\proofread_data_process\paddlenlp\transformers\albert\modeling.py", line 221, in transpose_for_scores
    # Copied from transformers.models.bert.modeling_bert.BertSelfAttention.transpose_for_scores
    def transpose_for_scores(self, x):
        new_x_shape = x.shape[:-1] + [
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <--- HERE
            self.num_attention_heads, self.attention_head_size
        ]

TypeError: can only concatenate tuple (not "list") to tuple

动转静代码
def main():     model = AlbertForMaskedLM.from_pretrained('./checkpoints/albert-chinese-tiny')     model.eval()     model = paddle.jit.to_static(         model,         input_spec=[             paddle.static.InputSpec(                 shape=[None, None], dtype="int64"),               paddle.static.InputSpec(                 shape=[None, None], dtype="int64"),             paddle.static.InputSpec(                 shape=[None, None], dtype="int64")         ])     paddle.jit.save(model, './checkpoints/albert/inference')

您好，2.4.1版本是直接转成静态图导出的

报错信息：
The behavior of expression A + B has been unified with elementwise_add(X, Y, axis=-1) from Paddle 2.0. If your code works well in the older versions but crashes in this version, try to use elementwise_add(X, Y, axis=0) instead of A + B. This transitional warning will be dropped in the future.
op_type, op_type, EXPRESSION_MAP[method_name]))
Traceback (most recent call last):
File, line 31, in
main()
File line 27, in main
paddle.jit.save(model, './checkpoints/albert/inference')
File "", line 2, in save
File "E:\anaconda\envs\py37\lib\site-packages\paddle\fluid\wrapped_decorator.py", line 25, in impl
return wrapped_func(*args, **kwargs)
File "E:\anaconda\envs\py37\lib\site-packages\paddle\fluid\dygraph\base.py", line 40, in impl
return func(*args, **kwargs)
File "E:\anaconda\envs\py37\lib\site-packages\paddle\fluid\dygraph\jit.py", line 744, in save
inner_input_spec)
File "E:\anaconda\envs\py37\lib\site-packages\paddle\fluid\dygraph\dygraph_to_static\program_translator.py", line 517, in concrete_program_specify_input_spec
*desired_input_spec)
File "E:\anaconda\envs\py37\lib\site-packages\paddle\fluid\dygraph\dygraph_to_static\program_translator.py", line 427, in get_concrete_program
concrete_program, partial_program_layer = self._program_cache[cache_key]
File "E:\anaconda\envs\py37\lib\site-packages\paddle\fluid\dygraph\dygraph_to_static\program_translator.py", line 744, in getitem
self._caches[item] = self._build_once(item)
File "E:\anaconda\envs\py37\lib\site-packages\paddle\fluid\dygraph\dygraph_to_static\program_translator.py", line 735, in build_once
**cache_key.kwargs)
File "", line 2, in from_func_spec
File "E:\anaconda\envs\py37\lib\site-packages\paddle\fluid\wrapped_decorator.py", line 25, in impl
return wrapped_func(*args, **kwargs)
File "E:\anaconda\envs\py37\lib\site-packages\paddle\fluid\dygraph\base.py", line 40, in impl
return func(*args, **kwargs)
File "E:\anaconda\envs\py37\lib\site-packages\paddle\fluid\dygraph\dygraph_to_static\program_translator.py", line 689, in from_func_spec
error_data.raise_new_exception()
File "E:\anaconda\envs\py37\lib\site-packages\paddle\fluid\dygraph\dygraph_to_static\error.py", line 336, in raise_new_exception
six.exec("raise new_exception from None")
File "", line 1, in
TypeError: In transformed code:
File "G:\paddlenlp\transformers\albert\modeling.py", line 1455, in forward
return_dict=return_dict)
File "G:\paddlenlp\transformers\albert\modeling.py", line 1135, in forward
return_dict=return_dict)
File "G:\paddlenlp\transformers\albert\modeling.py", line 459, in forward
output_hidden_states=output_hidden_states)
File "G:\paddlenlp\transformers\albert\modeling.py", line 376, in forward
output_attentions=output_attentions,
File "G:\paddlenlp\transformers\albert\modeling.py", line 319, in forward
output_attentions=output_attentions,
File "G:\paddlenlp\transformers\albert\modeling.py", line 238, in forward
query_layer = self.transpose_for_scores(mixed_query_layer)
File "G:\paddlenlp\transformers\albert\modeling.py", line 221, in transpose_for_scores
    # Copied from transformers.models.bert.modeling_bert.BertSelfAttention.transpose_for_scores
    def transpose_for_scores(self, x):
        new_x_shape = x.shape[:-1] + [
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <--- HERE
            self.num_attention_heads, self.attention_head_size
        ]
TypeError: can only concatenate tuple (not "list") to tuple

动转静代码
def main():     model = AlbertForMaskedLM.from_pretrained('./checkpoints/albert-chinese-tiny')     model.eval()     model = paddle.jit.to_static(         model,         input_spec=[             paddle.static.InputSpec(                 shape=[None, None], dtype="int64"),             paddle.static.InputSpec(                 shape=[None, None], dtype="int64"),             paddle.static.InputSpec(                 shape=[None, None], dtype="int64")     paddle.jit.save(model, './checkpoints/albert/inference')


[BUG] Test cases of multiple data source feature are failing

What is the bug?
Test cases of multiple data source feature are failing due to multiple reasons
See cypress-test-log.txt for detail
How can one reproduce the bug?

enable datasource from cypress.json by setting
Run cypress tests cases for datasource management plugin and observe the results or check the screenshots and videos

yarn cypress run --spec "cypress/integration/core-opensearch-dashboards/opensearch-dashboards/datasource-management-plugin/*.js"

What is the expected behavior?
tests should pass
What is your host/environment?
Operating system, version.
Do you have any screenshots?

Do you have any additional context?

I am happy to work on this

@zhongnansu hey Zhongnan! How's it going!
Sounds good go for it!


euclidean_gcd in c++

euclidean__gcd is there in c & java only. It should be there in c++ as well !!

can i work on this??

GitMate.io thinks possibly related issues are https://github.com/NITSkmOS/Algorithms/issues/16 ([Algo]: Add euclidean-gcd in C++), https://github.com/NITSkmOS/Algorithms/issues/20 ([Algo]: Add Bubble Sort in C++), https://github.com/NITSkmOS/Algorithms/issues/41 ([DataStructure] Stack [C++]), https://github.com/NITSkmOS/Algorithms/issues/27 ([DataStructure] Linear Linked List [C++]), and https://github.com/NITSkmOS/Algorithms/issues/32 ([DataStructure] Doubly Linked List [C++]).

Duplicate of https://github.com/NITSkmOS/Algorithms/issues/16


Update protobuf to v21.7

Updates protobuf version to 21.7 and fixes security issues mentioned in #148
Unfortunately not all mirror links are available for 21.7

Thanks for the update!
I mirrored the files.

@neumann-nico can you rebase? CI failures were fixed.


Temporary broken tb.lx site checks

FYI @nunomrc the https://tblx.io/ cert is expired.
We have an action that validates URLs on the README.md which just detected this issue.
Issue raised so everyone is aware why the action is failing. Not ignoring the site for now as this issue might be short-lived.

Issue fixed.


add support for CONVERT expressions

fixes #1047
adds support for the following CONVERT syntaxes:

CONVERT('héhé' USING utf8mb4) (MySQL, Postgres)
CONVERT('héhé', CHAR CHARACTER SET utf8mb4) (MySQL)
CONVERT(DECIMAL(10, 5), 42) (MSSQL) - the type comes first

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

59 of 69 (85.51%)  changed or added relevant lines in 7 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.007%) to 87.708%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/dialect/mod.rs
1
2
50.0%

src/dialect/mssql.rs
1
2
50.0%

src/dialect/redshift.rs
0
2
0.0%

src/ast/mod.rs
14
17
82.35%

src/parser/mod.rs
33
36
91.67%

Files with Coverage Reduction
New Missed Lines
%

src/ast/mod.rs
1
78.94%

Totals

Change from base Build<PHONE_NUMBER>:
-0.007%

Covered Lines:
17845

Relevant Lines:
20346

💛  - Coveralls

The "simple" function syntax already works (eg CONVERT(DECIMAL(10, 5), 42))
You can possibly make the code simpler by keep this behaviour and adding the more complex CONVERT statement parsing if it is detected.
Adding something like the following in the parser.
if self.parse_keyword(Keyword::USING) {

} else {
  parse_function
}

This approach would remove the need for the check for function order and mean CONVERT struct would not need so many Optional types as you only ever use it for the "complex" CONVERT statements.

@tobyhede , we cannot do a if self.parse_keyword(Keyword::USING) { after having already parsed the first argument as a data type. In the MySQL syntax, the first argument is an expression, not a data type.

The "simple" function syntax already works (eg CONVERT(DECIMAL(10, 5), 42))

Does it ? I think CONVERT(DECIMAL(10, 5), 42) is parsed incorrectly today. DECIMAL(10, 5) would be parsed as an expression instead of a data type.

Does it ? I think CONVERT(DECIMAL(10, 5), 42) is parsed incorrectly today. DECIMAL(10, 5) would be parsed as an expression (a function call) instead of a data type.

I agree this is what it seems to do:
$ echo "select CONVERT(DECIMAL(10, 5), 42)" > /tmp/foo.sql
$ cargo run --example cli -- /tmp/foo.sql
    Finished dev [unoptimized + debuginfo] target(s) in 0.07s
     Running `target/debug/examples/cli /tmp/foo.sql`
Parsing from file '/tmp/foo.sql' using GenericDialect
2023-11-20T19:50:50.259Z DEBUG [sqlparser::parser] Parsing sql 'select CONVERT(DECIMAL(10, 5), 42)
'...
2023-11-20T19:50:50.259Z DEBUG [sqlparser::parser] parsing expr
2023-11-20T19:50:50.259Z DEBUG [sqlparser::parser] parsing expr
2023-11-20T19:50:50.259Z DEBUG [sqlparser::parser] parsing expr
2023-11-20T19:50:50.259Z DEBUG [sqlparser::parser] prefix: Value(Number("10", false))
2023-11-20T19:50:50.259Z DEBUG [sqlparser::parser] get_next_precedence() TokenWithLocation { token: Comma, location: Location { line: 1, column: 26 } }
2023-11-20T19:50:50.259Z DEBUG [sqlparser::parser] 0: , 1: 5 2: )
2023-11-20T19:50:50.259Z DEBUG [sqlparser::parser] next precedence: 0
2023-11-20T19:50:50.259Z DEBUG [sqlparser::parser] parsing expr
2023-11-20T19:50:50.259Z DEBUG [sqlparser::parser] prefix: Value(Number("5", false))
2023-11-20T19:50:50.259Z DEBUG [sqlparser::parser] get_next_precedence() TokenWithLocation { token: RParen, location: Location { line: 1, column: 29 } }
2023-11-20T19:50:50.259Z DEBUG [sqlparser::parser] 0: ) 1: , 2: 42
2023-11-20T19:50:50.259Z DEBUG [sqlparser::parser] next precedence: 0
2023-11-20T19:50:50.259Z DEBUG [sqlparser::parser] prefix: Function(Function { name: ObjectName([Ident { value: "DECIMAL", quote_style: None }]), args: [Unnamed(Expr(Value(Number("10", false)))), Unnamed(Expr(Value(Number("5", false))))], filter: None, null_treatment: None, over: None, distinct: false, special: false, order_by: [] })
2023-11-20T19:50:50.259Z DEBUG [sqlparser::parser] get_next_precedence() TokenWithLocation { token: Comma, location: Location { line: 1, column: 30 } }
2023-11-20T19:50:50.259Z DEBUG [sqlparser::parser] 0: , 1: 42 2: )
2023-11-20T19:50:50.259Z DEBUG [sqlparser::parser] next precedence: 0
2023-11-20T19:50:50.259Z DEBUG [sqlparser::parser] parsing expr
2023-11-20T19:50:50.259Z DEBUG [sqlparser::parser] prefix: Value(Number("42", false))
2023-11-20T19:50:50.259Z DEBUG [sqlparser::parser] get_next_precedence() TokenWithLocation { token: RParen, location: Location { line: 1, column: 34 } }
2023-11-20T19:50:50.259Z DEBUG [sqlparser::parser] 0: ) 1: EOF 2: EOF
2023-11-20T19:50:50.259Z DEBUG [sqlparser::parser] next precedence: 0
2023-11-20T19:50:50.259Z DEBUG [sqlparser::parser] prefix: Function(Function { name: ObjectName([Ident { value: "CONVERT", quote_style: None }]), args: [Unnamed(Expr(Function(Function { name: ObjectName([Ident { value: "DECIMAL", quote_style: None }]), args: [Unnamed(Expr(Value(Number("10", false)))), Unnamed(Expr(Value(Number("5", false))))], filter: None, null_treatment: None, over: None, distinct: false, special: false, order_by: [] }))), Unnamed(Expr(Value(Number("42", false))))], filter: None, null_treatment: None, over: None, distinct: false, special: false, order_by: [] })
2023-11-20T19:50:50.259Z DEBUG [sqlparser::parser] get_next_precedence() TokenWithLocation { token: EOF, location: Location { line: 0, column: 0 } }
2023-11-20T19:50:50.259Z DEBUG [sqlparser::parser] 0: EOF 1: EOF 2: EOF
2023-11-20T19:50:50.259Z DEBUG [sqlparser::parser] next precedence: 0
Round-trip:
'SELECT CONVERT(DECIMAL(10, 5), 42)'
Parse results:
[
    Query(
        Query {
            with: None,
            body: Select(
                Select {
                    distinct: None,
                    top: None,
                    projection: [
                        UnnamedExpr(
                            Function(
                                Function {
                                    name: ObjectName(
                                        [
                                            Ident {
                                                value: "CONVERT",
                                                quote_style: None,
                                            },
                                        ],
                                    ),
                                    args: [
                                        Unnamed(
                                            Expr(
                                                Function(
                                                    Function {
                                                        name: ObjectName(
                                                            [
                                                                Ident {
                                                                    value: "DECIMAL",
                                                                    quote_style: None,
                                                                },
                                                            ],
                                                        ),
                                                        args: [
                                                            Unnamed(
                                                                Expr(
                                                                    Value(
                                                                        Number(
                                                                            "10",
                                                                            false,
                                                                        ),
                                                                    ),
                                                                ),
                                                            ),
                                                            Unnamed(
                                                                Expr(
                                                                    Value(
                                                                        Number(
                                                                            "5",
                                                                            false,
                                                                        ),
                                                                    ),
                                                                ),
                                                            ),
                                                        ],
                                                        filter: None,
                                                        null_treatment: None,
                                                        over: None,
                                                        distinct: false,
                                                        special: false,
                                                        order_by: [],
                                                    },
                                                ),
                                            ),
                                        ),
                                        Unnamed(
                                            Expr(
                                                Value(
                                                    Number(
                                                        "42",
                                                        false,
                                                    ),
                                                ),
                                            ),
                                        ),
                                    ],
                                    filter: None,
                                    null_treatment: None,
                                    over: None,
                                    distinct: false,
                                    special: false,
                                    order_by: [],
                                },
                            ),
                        ),
                    ],
                    into: None,
                    from: [],
                    lateral_views: [],
                    selection: None,
                    group_by: Expressions(
                        [],
                    ),
                    cluster_by: [],
                    distribute_by: [],
                    sort_by: [],
                    having: None,
                    named_window: [],
                    qualify: None,
                },
            ),
            order_by: [],
            limit: None,
            limit_by: [],
            offset: None,
            fetch: None,
            locks: [],
            for_clause: None,
        },
    ),
]


ISPN-12626 marshalling adapter class

https://issues.redhat.com/browse/ISPN-12626

Thanks @oraNod

Thanks @oraNod


Android Basics: change-app-theme

URL of codelab
https://developer.android.com/codelabs/basic-android-kotlin-training-change-app-theme#4vv
In which task and step of the codelab can this issue be found?
Update the dark version of your theme
Describe the problem
The sample themes.xml (night) doesn't as as the description.
@color/blue_light
should be
@color/blue
Steps to reproduce?

Go to...
Click on...
See error...

Versions
Android Studio version:
API version of the emulator:
Additional information
Include screenshots if they would be useful in clarifying the problem.

@takhau
Thank you for reaching out to us. We added the Note that colorSecondaryVariant could  be the same color as colorSecondary. It will be published soon.


feat: register the metrics with manager

I know this is out of the scope of this PR, however, I got a question since you're the author of the following:
https://github.com/clastix/capsule-proxy/blob/8ed733e4b0100879be30570b0eacc45904fdb300/internal/webserver/middleware/metrics.go#L33
Why are we hard-coding the status code to be 200? This could be misleading since if I'm unauthenticated, I'm expecting 403.
curl localhost:8001/api/v1/namespaces -v                                                                                (kind-dataprotector/default)
*   Trying <IP_ADDRESS>:8001...
* TCP_NODELAY set
* Connected to localhost (<IP_ADDRESS>) port 8001 (#0)
> GET /api/v1/namespaces HTTP/1.1
> Host: localhost:8001
> User-Agent: curl/7.68.0
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 403 Forbidden
< Cache-Control: no-cache, private
< Content-Length: 309
< Content-Type: application/json
< Date: Mon, 27 Jun 2022 16:11:25 GMT
< X-Content-Type-Options: nosniff
< X-Kubernetes-Pf-Flowschema-Uid: 825c0a5c-a119-4db2-bb6a-36ca1e73cc99
< X-Kubernetes-Pf-Prioritylevel-Uid: 2d66fcb3-6520-4240-9b72-8d8a7c516b13
<
{
  "kind": "Status",
  "apiVersion": "v1",
  "metadata": {

  },
  "status": "Failure",
  "message": "namespaces is forbidden: User \"alice\" cannot list resource \"namespaces\" in API group \"\" at the cluster scope",
  "reason": "Forbidden",
  "details": {
    "kind": "namespaces"
  },
  "code": 403
* Connection #0 to host localhost left intact
}

Just a silly example, it could be any other error.

@prometherion The status code is not getting hardcoded and it will always be the same as the status code returned handler.
we are creating a response writer with the below statement
https://github.com/clastix/capsule-proxy/blob/8ed733e4b0100879be30570b0eacc45904fdb300/internal/webserver/middleware/metrics.go#L57
and this response writer is getting passed to handlers in the chain which will be updating the status code to be same as what is returned by the handler
https://github.com/clastix/capsule-proxy/blob/8ed733e4b0100879be30570b0eacc45904fdb300/internal/webserver/middleware/metrics.go#L33
and we are passing the updated status code to Prometheus metrics labels, the 200 is put just to create a response writer with a valid HTTP status code.
https://github.com/clastix/capsule-proxy/blob/8ed733e4b0100879be30570b0eacc45904fdb300/internal/webserver/middleware/metrics.go#L60


V1.2 dev

@samussiah - Issues with missing code in v1.2-dev PR. going to re-start merges from master.


Post notification on time offset change

The MHSNTPManager should probably post a notification once the calculated time offset has changed. This comes at a little cost and I'm not sure whether it's needed at all. Need to come up with a use-case first.

One use-case would be to wait for the first time offset to arrive after an app start.


Could we use another program completion ?

After a bit of searching, I found that you could use complete -F to use another command completion and didn't find example of that in Completely.
Do you support it ? If not is it something you'd be considering ?
Thanks for your great work.

The complete -F <function> <command> command simply sets a bash function to serve as completions for a command.
It is used by all completion scripts, once.
You can see it at the end of the completely-generated completions script:
https://github.com/DannyBen/completely/blob/54dd2593dba9f8d9eeecaa4a81c18a0aca8b4210/lib/completely/templates/template.erb#L47
It cannot be "merged" with the other completions, if that is what you meant.

There is no dumb question until there is, duh...Sorry about that.
But yeah that is what I meant. Freshened eyes and brains gave me the answer, "a bit like sudo but for a specific command", so I am going to look into that.
Thank you for the quick answer :)

Well - one thing that you can do and might help, is to blend completions from another external command.
If you run completely init you will get a sample file that contains a line with this syntax:
https://github.com/DannyBen/completely/blob/54dd2593dba9f8d9eeecaa4a81c18a0aca8b4210/lib/completely/templates/sample.yaml#L12
Any command that returns a whitespace delimited list, can be used.
Docs for this feature are here.
Also note that the completions are simply generated with the compgen - so if you find something in this command that is not implemented, and can be helpful - feel free to share.


Make comments foldable

Just a minor improvement suggestion.

I'm cool with this, seems a pretty common convention in some other language syntaxes. @derekwyatt?

Yeah, looks good @ches and @normenmueller.  Go for it (and thanks for the PR).

Cool! @ches are you going to merge?

Done, thanks @normenmueller!


merge jshint fixes, fixed a couple issues introduced by the patch

thumbnailer has state, so a new instance is required per thumbnail, I've updated constructors to better reflect this requirement.
I figured I might as well upgrade thumbd to use yargs, since I'm doing manual testing any ways.

Oh sorry, I see that you removed that option of sending the thumbnailer to the Worker.

As mentioned in https://github.com/bcoe/thumbd/issues/90, you're using quite some closures here and there which is why I suspect the memory leaks. new Thumbnailer everytime could be one of those closures as well?

@rubenstolk it would take a bit of refactoring to make Thumbnailer() contain no state., which is why a new instance is required each time. Otherwise exceptions various exceptions occur related to callbacks being executed multiple times with async.

I doubt the memory leak is related to the new instance of thumbnailer, as the problem does not manifest itself in 0.10.36 of Node.js.
We had a very similar problem on Heroku a few months back:
https://github.com/bcoe/thumbd/issues/63
Any ways, my preference would be to get the fixes merged for jshint; and to tackle the memory leak in a different pull-request.

Thanks @bcoe!


PackageId:CPython39.Exe.x64;PackageAction:Install;ReturnCode:1603;

This issue has been moved from a ticket on Developer Community.

[regression]
Describe your issue here
===DO NOT EDIT BELOW THIS LINE===
PackageId:CPython39.Exe.x64;PackageAction:Install;ReturnCode:1603;

Original Comments
Feedback Bot on 8/21/2022, 08:14 PM:
(private comment, text removed)

Original Solutions
(no solutions)

Hi there, from looking at your logs, the error message is most likely caused by Windows Installer was attempting to install this MSI that is already installed on your PC. Could you check if it's already installed? If so, uninstall and reinstall it to see if that works for you. Thank you!

Also, we could use more detailed logs to see what's really going on. Can you please collect more logs by running http://aka.ms/vscollect.exe and uploading %temp%\vslogs.zip ? Thank you!

Going to close this out. If the issue still persists, please reopen with the information requested. Thanks.😊


Change to tag validation regex to allow more flexibility in hypen use

Proposed Changes

I wanted to apply "tag:home-automation" to my HomeAssistant. This generated a regex validation error while "tag:h-omeautomation" was accepted. I didn't find Tailscale's regex for tags so I'm proposing a revision to accept multiple hyphens and in multiple locations. Tested against example tags in Common Patterns for Tag Names

Related Issues

N/A. commit c9c96aa

Tailscale ACLs will accept trailing hyphens but not leading. Resubmitting with revised regex.


theming

resolves #2

Automatically attempt to match the current page styling - can be diabled by setting autotheme to false in the config.
Otherwise exposes overridable CSS classes:
:root {
    --nomnoml-svg-stroke: <color>;
    --nomnoml-svg-fill-1: <color>;
    --nomnoml-svg-fill-2: <color>;
}

Codecov Report

Merging #8 (e31cab9) into main (4b0bc70) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main        #8   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           10        11    +1
  Lines          129       191   +62
  Branches        34        57   +23
=========================================
+ Hits           129       191   +62

Impacted Files
Coverage Δ

src/main-browser.ts
100.00% <100.00%> (ø)

src/shared/svg.ts
100.00% <100.00%> (ø)

src/shared/util/auto-theme.ts
100.00% <100.00%> (ø)

src/shared/util/index.ts
100.00% <100.00%> (ø)

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 4b0bc70...e31cab9. Read the comment docs.


Changed maven deploy configuration

This closes #230
Fat jar has been installed/deployed twice under different names. This is because artifacts under same artifactId can differ only in classifiers. If we want separate diktat-$version.jar, we should create separate pom for it.

@akuleshov7 do we still need separate diktat.jar, or it is fine to upload diktat-rules-jar-with-dependencies?


How can I avoid undefined when use in IOS?

It works well in Android, tks!.
But when I build for IOS, it said that I have to manually link and cannot read property of undefined when access useSEA().
How can I fix this? Tks.

Hello @minhkwan , could you provide additional details, such as a screenshot of the error message, along with the specific part of the code where useSEA() is being called?

Error: The package 'react-native-schedule-exact-alarm-permission' doesn't seem to be linked. Make sure:

You have run 'pod install'
You rebuilt the app after installing the package
You are not using Expo Go
, js engine: hermes

TypeError: Cannot read property 'useSEA' of undefined
This only appear when I hook, method from your library in IOS Device. I ran pod install.
Tks!

Tks! Due to it has been error from the import 'useSEA' i found a way to import conditionally whether it's IOS / Android.

The package has been updated. You can compare how your code would react compared to the previous version. Make sure to download the latest version.


Minor: Csv Options Clean-up

Which issue does this PR close?

Closes #.
Rationale for this change

When CSV header option is not specified from the options clause, it is set from the session config. This behavior is now more understandable, and the Option wrap has been removed.
Additionally, there is a minor fix in the CastExpr ordering. Boolean to numeric cast needs to preserve ordering.
There is also a typo in the functions cargo.toml, which is fixed.
What changes are included in this PR?

Removed Option wrap when CSV header options are not specified
Fixed CastExpr ordering for Boolean to numeric cast
Corrected a typo in functions cargo.toml

Are these changes tested?

with existing tests
Are there any user-facing changes?

Maybe I can help clarify things a little bit. The purpose of the PR is not to change the current fallback behavior, just simplify its implementation. AFAICT @berkaysynnada is moving the fallback logic to TableProviderFactory's create (from FileFormat's create_physical_plan), which enables him to simplify the rest of the code. I see that he implemented this for ListingTableFactory. The proto change is a consequence of the above -- it can be made independently AFAICT.
The upside of the approach in this PR is that it simplifies the code across multiple files (e.g. proto), but the fallback behavior no longer becomes automatic for all custom table providers as far as I can tell -- @berkaysynnada  please correct me if I'm wrong.
Maybe we can do the following: Instead of making every TableProviderFactory responsible for implementing this behavior in create, we can add some general mechanism at the trait level (maybe via a default method implementation?) to make this fallback automatic for all TableProviderFactory implementations unless overridden. @alamb, what do you think? Any ideas come to mind?

Maybe we can do the following: Instead of making every TableProviderFactory responsible for implementing this behavior in create, we can add some general mechanism at the trait level (maybe via a default method implementation?) to make this fallback automatic for all TableProviderFactory implementations unless overridden. @alamb, what do you think? Any ideas come to mind?

Thank you for the explanation -- what you describe makes sense -- maybe we can update the documentation to add some of this context and that would be good enough. I haven't thought through all the nuances of general fallbacks, but given what you say perhaps it is a corner case we can worry about if/when somone actually hits it.
From my perspective the most important thing is for the behavior to be clearly documented.

The upside of the approach in this PR is that it simplifies the code across multiple files (e.g. proto), but the fallback behavior no longer becomes automatic for all custom table providers as far as I can tell -- @berkaysynnada please correct me if I'm wrong.

This explanation summarizes it very well. Currently, the extraction of catalog information is encapsulated in the create() method of TableProviderFactory. It seems tidier to have this extraction centralized in one spot (or we could move it to another recommended location if there is any) rather than having it scattered. However, as @ozankabak mentioned, a custom TableProvider should also handle this. I can add an explanation for this in the docstring of the trait method.

After talking with @ozankabak, we decided to undo the changes related to header options.
There's also another place where SessionState is used in the FileFormat API: https://github.com/apache/datafusion/blob/ae107548bdccbb356b75f99edde3ce296532396e/datafusion/core/src/datasource/file_format/parquet.rs#L192 Suggesting that people should extract SessionState values during TableProvider creation might not be safe. I'm not sure if removing SessionState from this API is the right move, but it definitely needs more thought. Rushing to clean up the code could lead to losing functionality. We should discuss these in a different issue.
For now, this PR only makes a small fix to CastExpr.


Inference on Custom DB

Dear authors,
I'd like to test your model on my custom 3D reconstructed pointclouds + rgb map.
In order to directly use the checkpoints you shared, I need to extract the normalization features from 3D mesh (as your models are all trained with the norm features).
However, I have no idea how to make the norm features from my custom dataset. I understand the normalized features are calculated in read_mesh_vertices_rgb_normal() from the face of 3D mesh. But I only have 3D pointclouds and rgb, without the mesh faces.
I initially tried to get the faces using Meshlab tool (surface reconstruction - ball pivoting), and the result is as below.

Using the 3D mesh, I followed the all preprocessing steps (xyz, rgb, norm) to extract the similar features to fit your model with the checkpoint(scanrefer_scst_vote2cap_detr_pp_XYZ_RGB_NORMAL.pth).
But the detection and captioning result was really poor, and I suspect the normalized features would be the issue.
Regarding this issue, can you share you insight?

You can train a model with only xyz+rgb inputs and test it on your data.

I'm training the model with only xyz+rgb inputs as suggested.
Can you share the training log or any ablation study with/without normal features, if conducted?
I'd like to know the impact of normal features.

The evaluation result from the model trained with only xyz+rgb inputs is as below.
I think it pretty much good without the normal features as well.
----------------------Evaluation-----------------------
INFO<EMAIL_ADDRESS>matched proposals: [1516 / 2068],
[BLEU-1] Mean: 0.6582, Max: 1.0000, Min: 0.0000
[BLEU-2] Mean: 0.5636, Max: 1.0000, Min: 0.0000
[BLEU-3] Mean: 0.4638, Max: 1.0000, Min: 0.0000
[BLEU-4] Mean: 0.3785, Max: 1.0000, Min: 0.0000
[CIDEr] Mean: 0.7329, Max: 6.3784, Min: 0.0000
[ROUGE-L] Mean: 0.5413, Max: 1.0000, Min: 0.1015
[METEOR] Mean: 0.2608, Max: 1.0000, Min: 0.0448
One thing I'm wondering is that sometimes there is a difference between the semantic class from detection head and the described class from caption head. One of the results is as below. Can you tell me the reasons and how to make them match?
It seems the caption branch is not using the output of the detection branch when inferencing captions.
"detection": "sofa"
"caption": "this is a brown table . it is to the left of the table ."

Yes, the result seems ok to me. If you would like to alleviate the hallucinations, you can design the alignment as a reward function to supervise the caption generation training.

you can design the alignment as a reward function

Do you mean to design the reinforced learning?
One more thing I'm wondering is that the model currently predicts the color and shape info sometimes, not always.
Can I always get the color and shape attributes as the captioning output?
Do you have any idea of it?


What {subId} means

This page showcases various powershell statements with frequent use for parameters values like {subId}. What does this notation means?

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

ID: 54bc2b59-0178-5a45-c8f7-a1544ded4d7a
Version Independent ID: fd23e3db-d408-ebdd-b8fc-908ea2f12b47
Content: How to manage assignments with PowerShell - Azure Blueprints
Content Source: articles/governance/blueprints/how-to/manage-assignments-ps.md
Service: blueprints
GitHub Login: @DCtheGeek
Microsoft Alias: dacoulte

#assign:DCtheGeek

@artisticcheese Thanks for the question.  The {subId} references the subscription.  This is mentioned earlier in the doc:
... from a specific subscription represented as {subId}:
@MicrosoftDocs/azure-cxp-triage Please label 'product-question' and #please-close.

Using squiggly brackets have a lot of additional meaning in both powershell and shell scripts. One can think that it's value of variable or expanding environment variable etc. Not sure if there is better way to denounce it but I think it would be better to use real subscriptionID value and there and just note that users needs to replace their specific subscription ID with correct values

If it was a PowerShell variable, it would have been $subId.  Using real values has their own set of issues... basically people end up cut/paste the code and then it doesn't work and then open tickets.  Appreciate the feedback, though.  We'll take it into consideration for future changes and consideration for how to structure sample code!


FileNotFoundError: soffice command was not found. Please install libreoffice on your system and try again.

Checked other resources

[X] I added a very descriptive title to this issue.
[X] I searched the LangChain documentation with the integrated search.
[X] I used the GitHub search to find a similar question and didn't find it.
[X] I am sure that this is a bug in LangChain rather than my code.

Example Code
# Load Directory that contains all the documents related to RAG:
from langchain_community.document_loaders import DirectoryLoader
directory = '/content/drive/MyDrive/QnA Pair Documents'

def load_docs(directory):
    loader = DirectoryLoader(directory)
    documents = loader.load()
    return documents

documents = load_docs(directory)

Error Message and Stack Trace (if applicable)
---------------------------------------------------------------------------
FileNotFoundError                         Traceback (most recent call last)
[/usr/local/lib/python3.10/dist-packages/unstructured/partition/common.py](https://localhost:8080/#) in convert_office_doc(input_filename, output_directory, target_format, target_filter)
    406     try:
--> 407         process = subprocess.Popen(
    408             command,

15 frames
FileNotFoundError: [Errno 2] No such file or directory: 'soffice'

During handling of the above exception, another exception occurred:

FileNotFoundError                         Traceback (most recent call last)
[/usr/local/lib/python3.10/dist-packages/unstructured/partition/common.py](https://localhost:8080/#) in convert_office_doc(input_filename, output_directory, target_format, target_filter)
    412         output, error = process.communicate()
    413     except FileNotFoundError:
--> 414         raise FileNotFoundError(
    415             """soffice command was not found. Please install libreoffice
    416 on your system and try again.

FileNotFoundError: soffice command was not found. Please install libreoffice
on your system and try again.

- Install instructions: https://www.libreoffice.org/get-help/install-howto/
- Mac: https://formulae.brew.sh/cask/libreoffice
- Debian: https://wiki.debian.org/LibreOffice

Description
I have downloaded and installed the libreoffice from provided link but I am still getting this error.
System Info
Python version: 3.10.10
Operating System: Windows 11
Windows: 11
pip == 23.3.1
python == 3.10.10
long-chain == 0.1.0
transformers == 4.36.2
sentence_transformers == 2.2.2
unstructured == 0.12.0

so need to install Libreoffice to resolve this error? @KaifAhmad1. how did you resolve this error?