[$1000] Web - Console log "Invalid Attempt to destructure non-iterable instance" error when clicking 'Add reaction' icon

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

Action Performed:

Open an existing chat
Open JS console
Send a message
Right-click on the sent message
Click on 'Add reaction' icon

Expected Result:
Console log error shouldn't be displayed
Actual Result:
Console log error displayed
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[x] MacOS / Chrome / Safari
[x] MacOS / Desktop

Version Number: <IP_ADDRESS>
Reproducible in staging?: n/a
Reproducible in production?: n/a
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/93399543/7c25b01e-825f-4158-a5fb-e81eb1f5095f
Expensify/Expensify Issue URL:
Issue reported by:@Natnael-guchima
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1687469634741619
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~0177a9790c8518250d
Upwork Job ID:<PHONE_NUMBER>126748160
Last Price Increase: 2023-06-28

Proposal
Please re-state the problem that we are trying to solve in this issue.
When clicking 'Add reaction' icon, console log error is shown.
What is the root cause of that problem?
When show modal, status bar color will be set using StyleUtils.getThemeBackgroundColor.
https://github.com/Expensify/App/blob/3dc50e0e565d776432de8fb98cd2f30153f8d5c8/src/components/Modal/index.web.js#L27-L35
StyleUtils.getThemeBackgroundColor will be called twice when show popup menu and when show reaction modal.
And the return value of the first call becomes the input of the second call.
The return value of the first call is of the same format as rgb(6, 33, 20).
https://github.com/Expensify/App/blob/3dc50e0e565d776432de8fb98cd2f30153f8d5c8/src/styles/StyleUtils.js#L699-L710
hexadecimalToRGBArray function can't convert this format and return undefined.
https://github.com/Expensify/App/blob/3dc50e0e565d776432de8fb98cd2f30153f8d5c8/src/styles/StyleUtils.js#L396-L404
hexadecimalToRGBArray must return an array of at least three items. If it doesn't, there is no way to convert the result from hexadecimalToRGBArray into values for backgroundRed, backgroundGreen, backgroundBlue.
https://github.com/Expensify/App/blob/3dc50e0e565d776432de8fb98cd2f30153f8d5c8/src/styles/StyleUtils.js#L702
So the error Invalid attempt to destructure non-iterable instance occurs.
What changes do you think we should make in order to solve the problem?
StyleUtils.getThemeBackgroundColor should return in the form of #062114.
We can add rgbArrayToHexadecimal function which takes rgb array and return hex format color.
And in StyleUtils.getThemeBackgroundColor return hex format color using above function.
What alternative solutions did you explore? (Optional)
None.

Proposal
Please re-state the problem that we are trying to solve in this issue.
Web - Console log error when clicking 'Add reaction' icon
What is the root cause of that problem?
getThemeBackgroundColor in src/styles/StyleUtils.js is designed to get hexadecimal color. but it gets rgb color.
At that time, hexadecimalToRGBArray method returns undefined.
https://github.com/Expensify/App/blob/98bb603a89fe0323d503157961c7f4fbfe0db45b/src/styles/StyleUtils.js#L701
So, this line produces error.
What changes do you think we should make in order to solve the problem?
Need to add to validate color param from [here] (https://github.com/Expensify/App/blob/98bb603a89fe0323d503157961c7f4fbfe0db45b/src/styles/StyleUtils.js#L698) and add rgbToArray to get [r, g, b] values directly.
If bgColor param is rgb color,
const [backgroundRed, backgroundGreen, backgroundBlue] = isRGBcolor ? rgbToArray(bgColor) : hexadecimalToRGBArray(bgColor);

What alternative solutions did you explore? (Optional)
N/A

hear check out this hexadecimal values parameters are not hexadecimal
check out the image

I can reproduce - adding External label

Contributor details
Your Expensify account email<EMAIL_ADDRESS>Upwork Profile Link: https://www.upwork.com/freelancers/kaomoua

When I do testing, I don't see console error

my name is bhargava gonugunta
my expensify account email is @.***
my upwork profile is https://www.upwork.com/freelancers/~01b5bdebd526b4f100
On Thu, 29 Jun 2023 at 02:50, melvin-bot[bot] @.***>
wrote:

Triggered auto assignment to Contributor-plus team member for initial
proposal review - @Santhosh-Sellavel
https://github.com/Santhosh-Sellavel (External)
—
Reply to this email directly, view it on GitHub
https://github.com/Expensify/App/issues/21833#issuecomment-1612120591,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A4I5R7SRCC4SPQDYOEYHNIDXNSN2XANCNFSM6AAAAAAZXPLY44
.
You are receiving this because you were mentioned.Message ID:
@.***>

On Thu, 29 Jun 2023 at 3:19 PM, aliammar1995 @.***>
wrote:

When I do testing, I don't see console error
—
Reply to this email directly, view it on GitHub
https://github.com/Expensify/App/issues/21833#issuecomment-1612733685,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A4I5R7W6TDGZSNQIQIRNEW3XNVFTBANCNFSM6AAAAAAZXPLY44
.
You are receiving this because you were mentioned.Message ID:
@.***>

My name is Bhargava Gonugunta
Email is : @.***
Upwork profile url :
https://www.upwork.com/freelancers/~01b5bdebd526b4f100

https://github.com/Expensify/App/blob/98bb603a89fe0323d503157961c7f4fbfe0db45b/src/styles/StyleUtils.js#L698C1-L709C2

Proposal
Please re-state the problem that we are trying to solve in this issue.

Due to some styling issue when removing the user from a work space this error is logged.

What is the root cause of that problem?

The root cause is the color format of StatusBar.getBackgroundColor() which is rgba(0,0,0,0). The color format should have been in hexcode.
StatusBarColor is then passed to getThemeBackgroundColor() which is expecting a hexcode. This is causing the error.

function getThemeBackgroundColor(bgColor = themeColors.appBG) {
    const backdropOpacity = variables.modalFullscreenBackdropOpacity;
    const [backgroundRed, backgroundGreen, backgroundBlue] = hexadecimalToRGBArray(bgColor);
    const [backdropRed, backdropGreen, backdropBlue] = hexadecimalToRGBArray(themeColors.modalBackdrop);
    const normalizedBackdropRGB = convertRGBToUnitValues(backdropRed, backdropGreen, backdropBlue);
    const normalizedBackgroundRGB = convertRGBToUnitValues(backgroundRed, backgroundGreen, backgroundBlue);
    const themeRGBNormalized = convertRGBAToRGB(normalizedBackdropRGB, normalizedBackgroundRGB, backdropOpacity);
    const themeRGB = convertUnitValuesToRGB(...themeRGBNormalized);

    return `rgb(${themeRGB.join(', ')})`;
}

What changes do you think we should make in order to solve the problem?

Create a function that converts rgba, rgb, short-hexcode to hexcode.

Convert Function code
function convertColorToHex(color) {
  if (typeof color !== "string") {
    return null;
  }
  if (color.startsWith("rgba")) {
    // eslint-disable-next-line no-unused-vars
    const [un, r, g, b, a] = color.match(/rgba\((\d+),\s*(\d+),\s*(\d+),\s*([\d.]+)\)/);
    return `#${Number(r).toString(16).padStart(2, "0")}${Number(g).toString(16).padStart(2, "0")}${Number(b).toString(16).padStart(2, "0")}`;
  }
  if (color.startsWith("rgb")) {
    // eslint-disable-next-line no-unused-vars
    const [un, r, g, b] = color.match(/rgb\((\d+),\s*(\d+),\s*(\d+)\)/);
    return `#${Number(r).toString(16).padStart(2, "0")}${Number(g).toString(16).padStart(2, "0")}${Number(b).toString(16).padStart(2, "0")}`;
  }
  if (color.startsWith("#")) {
    const hex = color.replace("#", "");
    if (hex.length === 3) {
      return `#${hex[0]}${hex[0]}${hex[1]}${hex[1]}${hex[2]}${hex[2]}`;
    }
    if (hex.length === 6) {
      return `#${hex}`;
    }
  }
  return null;
}

Use the function in hexadecimalToRGBArray() to convert rgba to hexcode.

Usage code
function hexadecimalToRGBArray(hexadecimal) {
+   const color = convertColorToHex(hexadecimal);
+   if (color === null) {
+       return undefined;
+   }
-   const components = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(hexadecimal);
+   const components = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(color);

    if (components === null) {
        return undefined;
    }

    return _.map(components.slice(1), (component) => parseInt(component, 16));
}

What alternative solutions did you explore? (Optional)

N/A

No proposals are needed here, this is a regression from the other issue, and it's being handled now.
We can remove the Help Wanted label here @Christinadobrzyn

@Christinadobrzyn Only reporting bonus is due when the other issue gets closed!

https://github.com/Expensify/App/issues/21833#issuecomment-1613532407 - @Santhosh-Sellavel @Christinadobrzyn  Pls check this once.

@jeet-dhandha
As per our contributing guidelines, when a contributor gets hired for a job. The assigned contributor is responsible for fixing the bugs with any regressions. If any regression is found/reported within 7 days from deployment to production then the assignee on the issue should fix it without any additional payments. This issue is a regression from https://github.com/Expensify/App/issues/20516 so the assignee of https://github.com/Expensify/App/issues/20516 should handle it.
Thanks!

waiting for this issue to be closed - https://github.com/Expensify/App/issues/20516
then I'll pay the reporting bonus based on https://github.com/Expensify/App/issues/21833#issuecomment-1613563987

waiting for this issue to be closed - https://github.com/Expensify/App/issues/20516
then I'll pay the reporting bonus based on https://github.com/Expensify/App/issues/21833#issuecomment-1613563987

^ same

I'm going to be ooo until August 31st so going to unassign and assign a new teammate.
At this time, we're waiting for waiting for this issue to be closed - https://github.com/Expensify/App/issues/20516
then pay the reporting bonus based on https://github.com/Expensify/App/issues/21833#issuecomment-1613563987

No problem @laurenreidexpensify

Payment summary

Natnael-Guchima bug report - $250 in Upwork

@laurenreidexpensify I am not paid yet

ah yes i just noticed this! Sorry folks Monday brain!! Nat v Nat!!

@Natnael-Guchima offer sent in Upwork 😅

Accepted the offer. Thanks @laurenreidexpensify 😁

Okay we can close now! Correct Nat has been paid!


feat(model): adds properties, ownership, deprecated, institutional memory and tags as aspects for data platform instance entity

Adds properties, ownership, deprecated, institutional memory and tags as aspects for data platform instance entity.
We may also add the corresponding EditableDataPlatformInstanceProperties, this would require a UI where we can view and update a Data Platform Instance entity. Does exist such a page view?
I have explicitely skipped GlossaryTerm and Domain because those look more related to data than infrastructure
Checklist

[ ] The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
[ ] Links to related issues (if applicable)
[ ] Tests for the changes have been added/updated (if applicable)
[ ] Docs related to the changes have been added/updated (if applicable). If a new feature has been added a Usage Guide has been added for the same.
[ ] For any breaking change/potential downtime/deprecation/big changes an entry has been made in Updating DataHub

@shirshanka , any feedback here?

@hsheth2 could you help me here? what else is needed to extend the model?

We do not yet have an entity profile page in the UI for Data Platform Instance. That's something we'll have to add post this PR.

Thanks @jjoyce0510


Implement HttpContext.Cache against System.Runtime.Caching

This is an implementation of the surface area of System.Web.HttpContext.Cache using System.Runtime.Caching. The System.Web implementation does have an implementation against MemoryCache that is #if/def'd (not sure if it's actually compiled in) that I've used as a guide while doing this.
This currently does not support CacheDependency but the type is present (with an internal constructor) so we can match the API signature.

Thanks @StephenMolloy for the review. Any other thoughts before I merge it in?


LL-2193 fixed ledger blue animations

Fixed the height of the container of animations for it not to bleed out of the pages

Type
UI Polish
Context
LL-2193
Parts of the app affected / Test plan
DeviceActions with blue animations

make sure to validate with @bscholving

Tested in light and dark mode, every screens where a Ledger Blue device is displayed.
✓ QA-ed

7a20904 (HEAD -> LL-2193_fix-blue, luiz/LL-2193_fix-blue) (DeviceAnimations): fixed container height for ledger blue animations issue


fix(cli): fix the check option

Description
Add the missing code to override the check args in the config instance with the --check CLI option
Motivation and Context

Fix the issue that's introduced in #62

How Has This Been Tested?

I trayed to pass --check="-h" and it worked as expected
I trayed to pass  --check='-h' --check='-V' and it worked as expected also

Types of Changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Documentation (no code change)
[ ] Refactor (refactoring production code)
[ ] Other

Checklist:

[x] My code follows the code style of this project.
[x] I have updated the documentation accordingly.
[x] I have formatted the code with rustfmt.
[x] I checked the lints with clippy.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.

Codecov Report
Patch coverage: 66.67% and project coverage change: -0.24 :warning:

Comparison is base (81f3e9a) 77.40% compared to head (9f210f6) 77.16%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #81      +/-   ##
==========================================
- Coverage   77.40%   77.16%   -0.24%
==========================================
  Files          14       14
  Lines         606      604       -2
==========================================
- Hits          469      466       -3
- Misses        137      138       +1

Impacted Files
Coverage Δ

src/cli.rs
82.46% <66.67%> (-0.87%)
:arrow_down:

... and 5 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


SWEEP error

Hi, I am new to wandb. I am trying sweep to do hyperparameter searching. After I typed the command "wandb agent ID", there is only one set of hyperparameter run. When it comes to the second set, it raised the following error:

2020-05-28 02:12:37,337 INFO    MainThread:7173 [wandb_agent.py:run():194] Running runs: []
2020-05-28 02:12:37,555 INFO    MainThread:7173 [wandb_agent.py:_process_command():256] Agent received command: run
2020-05-28 02:12:37,555 INFO    MainThread:7173 [wandb_agent.py:_command_run():286] Agent starting run with config:
batch_size: 136
epochs: 3
log_interval: 17
lr: 0.01617047217268529
momentum: 0.8414045852070394
seed: 4
test_batch_size: 1982
2020-05-28 02:12:37,559 DEBUG   MainThread:7173 [wandb_config.py:_load_defaults():128] wandb dir not provided, skipping defaults
2020-05-28 02:12:37,682 INFO    MainThread:7173 [wandb_agent.py:_command_run():325] About to run command: /usr/bin/env python main.py --batch_size=136 --epochs=3 --log_interval=17 --lr=0.01617047217268529 --momentum=0.8414045852070394 --seed=4 --test_batch_size=1982
2020-05-28 02:12:42,695 INFO    MainThread:7173 [wandb_agent.py:run():194] Running runs: ['dm3it6yv']
2020-05-28 02:13:13,411 INFO    MainThread:7173 [wandb_agent.py:run():209] Cleaning up finished run: dm3it6yv
2020-05-28 02:13:13,585 ERROR   MainThread:7173 [internal.py:execute():113] 500 response executing GraphQL.
2020-05-28 02:13:13,585 ERROR   MainThread:7173 [internal.py:execute():114] {"errors":[{"message":"anaconda 400 error: {"code":400,"message":"TypeError: must be real number, not dict"}\n","path":["agentHeartbeat"]}],"data":{"agentHeartbeat":null}}
2020-05-28 02:13:14,794 ERROR   MainThread:7173 [internal.py:execute():113] 500 response executing GraphQL.
2020-05-28 02:13:14,794 ERROR   MainThread:7173 [internal.py:execute():114] {"errors":[{"message":"anaconda 400 error: {"code":400,"message":"TypeError: must be real number, not dict"}\n","path":["agentHeartbeat"]}],"data":{"agentHeartbeat":null}}
2020-05-28 02:13:17,399 ERROR   MainThread:7173 [internal.py:execute():113] 500 response executing GraphQL.
2020-05-28 02:13:17,399 ERROR   MainThread:7173 [internal.py:execute():114] {"errors":[{"message":"anaconda 400 error: {"code":400,"message":"TypeError: must be real number, not dict"}\n","path":["agentHeartbeat"]}],"data":{"agentHeartbeat":null}}
2020-05-28 02:13:17,400 ERROR   MainThread:7173 [retry.py:call():108] Retry attempt failed:
Traceback (most recent call last):
File "/home/pwang/anaconda3/envs/py37/lib/python3.7/site-packages/wandb/retry.py", line 95, in call
result = self._call_fn(*args, **kwargs)
File "/home/pwang/anaconda3/envs/py37/lib/python3.7/site-packages/wandb/apis/internal.py", line 116, in execute
six.reraise(*sys.exc_info())
File "/home/pwang/anaconda3/envs/py37/lib/python3.7/site-packages/six.py", line 693, in reraise
raise value
File "/home/pwang/anaconda3/envs/py37/lib/python3.7/site-packages/wandb/apis/internal.py", line 110, in execute
return self.client.execute(*args, **kwargs)
File "/home/pwang/.local/lib/python3.7/site-packages/gql/client.py", line 52, in execute
result = self._get_result(document, *args, **kwargs)
File "/home/pwang/.local/lib/python3.7/site-packages/gql/client.py", line 60, in _get_result
return self.transport.execute(document, *args, **kwargs)
File "/home/pwang/.local/lib/python3.7/site-packages/gql/transport/requests.py", line 39, in execute
request.raise_for_status()
File "/home/pwang/anaconda3/envs/py37/lib/python3.7/site-packages/requests/models.py", line 940, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://api.wandb.ai/graphql
2020-05-28 02:13:21,933 ERROR   MainThread:7173 [internal.py:execute():113] 500 response executing GraphQL.
2020-05-28 02:13:21,934 ERROR   MainThread:7173 [internal.py:execute():114] {"errors":[{"message":"anaconda 400 error: {"code":400,"message":"TypeError: must be real number, not dict"}\n","path":["agentHeartbeat"]}],"data":{"agentHeartbeat":null}}
2020-05-28 02:13:31,257 ERROR   MainThread:7173 [internal.py:execute():113] 500 response executing GraphQL.
2020-05-28 02:13:31,257 ERROR   MainThread:7173 [internal.py:execute():114] {"errors":[{"message":"anaconda 400 error: {"code":400,"message":"TypeError: must be real number, not dict"}\n","path":["agentHeartbeat"]}],"data":{"agentHeartbeat":null}}
2020-05-28 02:13:50,818 ERROR   MainThread:7173 [internal.py:execute():113] 500 response executing GraphQL.
2020-05-28 02:13:50,818 ERROR   MainThread:7173 [internal.py:execute():114] {"errors":[{"message":"anaconda 400 error: {"code":400,"message":"TypeError: must be real number, not dict"}\n","path":["agentHeartbeat"]}],"data":{"agentHeartbeat":null}}
2020-05-28 02:14:26,396 ERROR   MainThread:7173 [internal.py:execute():113] 500 response executing GraphQL.
2020-05-28 02:14:26,396 ERROR   MainThread:7173 [internal.py:execute():114] {"errors":[{"message":"anaconda 400 error: {"code":400,"message":"TypeError: must be real number, not dict"}\n","path":["agentHeartbeat"]}],"data":{"agentHeartbeat":null}}

I tried several times. But it still can only work for the first set, and failed on the second set. Could anyone help me? Many thanks!

Can you share your sweep config / sweep.yaml file?

The experiment is "pytorch-cnn-mnist" in the example folder. Here is the sweep config:
method: bayes
metric:
goal: minimize
name: graph_0
parameters:
lr:
distribution: uniform
max: 0.037289897112918954
min: 0.002536465250558708
program: main.py
Thank you!

Can you share your sweep config / sweep.yaml file?

Hey @Merlin55
In the past year we've majorly reworked the CLI and UI for Weights & Biases. We're closing issues older than 6 months. Please comment to reopen. :smile:


aot build successfully but runtime error in browser

Bug Report or Feature Request (mark with an x)
- [ ] bug report -> please search issues before submitting
- [ ] feature request

Versions.
"@angular/cli": "^1.3.0",
"@angular/compiler-cli": "^4.3.4",
"@angular/common": "^4.3.4",
"@angular/compiler": "^4.3.4",
"@angular/core": "^4.3.4",

Repro steps.
Build the project with ng build --prod --aot it works perfectly however when run project in browser javascript run time error appears in console and project wont run:
Uncaught TypeError: Cannot read property 'a' of undefined
    at Object.oxwE (vendor.d14c0d56e4fed27b2fc7.bundle.js:1)
    at n (inline.d0b3ec7c688c76dd01d5.bundle.js:1)
    at Object.<anonymous> (vendor.d14c0d56e4fed27b2fc7.bundle.js:1)
    at Object.Xg3h (vendor.d14c0d56e4fed27b2fc7.bundle.js:1)
    at n (inline.d0b3ec7c688c76dd01d5.bundle.js:1)
    at Object.UyBN (vendor.d14c0d56e4fed27b2fc7.bundle.js:1)
    at n (inline.d0b3ec7c688c76dd01d5.bundle.js:1)
    at Object.cDNt (main.dc5997e4f23ac0d0231f.bundle.js:1)
    at n (inline.d0b3ec7c688c76dd01d5.bundle.js:1)
    at Object.0 (main.dc5997e4f23ac0d0231f.bundle.js:1)

and here is a exact location of a in vendor js file
p("design:paramtypes",[y.a])],f)
When I build the project with ng build --prod --aot=false or ng build --aot it compiles and runs perfectly but both these option prod and aot makes runtime error in browser

If you can provide a simple reproduction I can try to figure it out, but as is there just isn't anything I can help out with.

my problem was solved with lasted release of angular-cli


Use tsvector for ValueSet display search

Experimenting with loading in ~3 million codes from UMLS, and immediately hit performance issues with the naive ValueSet $expand operation.  This implements Postgres full text search for big performance gains.
Before:
medplum=# SELECT DISTINCT "code", "display"
medplum-# FROM "ValueSetElement"
medplum-# WHERE "display" ILIKE '%left%'
medplum-# AND "display" ILIKE '%pain%'
medplum-# LIMIT 10;
       code       |                    display
------------------+------------------------------------------------
<PHONE_NUMBER>       | Pain of left breast
<PHONE_NUMBER>       | Pain of left breast (finding)
<PHONE_NUMBER>119101 | Pain of left sternoclavicular joint
<PHONE_NUMBER>119101 | Pain of left sternoclavicular joint (finding)
<PHONE_NUMBER>119104 | Pain of left acromioclavicular joint
<PHONE_NUMBER>119104 | Pain of left acromioclavicular joint (finding)
<PHONE_NUMBER>119106 | Joint pain in left hand
<PHONE_NUMBER>119106 | Joint pain in left hand (finding)
<PHONE_NUMBER>119100 | Pain in left thumb
<PHONE_NUMBER>119100 | Pain in left thumb (finding)
(10 rows)

Time: 923.421 ms

After:
medplum=# SELECT DISTINCT "code", "display"
medplum-# FROM "ValueSetElement"
medplum-# WHERE "display_tsv" @@ to_tsquery('english', 'left:* & pain:*')
medplum-# LIMIT 10;
       code       |                    display
------------------+------------------------------------------------
<PHONE_NUMBER>       | Pain of left breast
<PHONE_NUMBER>       | Pain of left breast (finding)
<PHONE_NUMBER>119101 | Pain of left sternoclavicular joint
<PHONE_NUMBER>119101 | Pain of left sternoclavicular joint (finding)
<PHONE_NUMBER>119104 | Pain of left acromioclavicular joint
<PHONE_NUMBER>119104 | Pain of left acromioclavicular joint (finding)
<PHONE_NUMBER>119106 | Joint pain in left hand
<PHONE_NUMBER>119106 | Joint pain in left hand (finding)
<PHONE_NUMBER>119100 | Pain in left thumb
<PHONE_NUMBER>119100 | Pain in left thumb (finding)
(10 rows)

Time: 8.851 ms

Coverage increased (+0.005%) to 94.03% when pulling c0c7de99c2ff4b8e54f7b5417e87c905b57666f7 on cody-tsvector-for-valueset-display into 914c05eee15438ebac15a9692272c42e93e18655 on main.


No template lines covered

I have multiple tests that render a response, but I am showing 0 coverage in my templates.
The repo is https://github.com/degustaf/symmetrical-eureka
And the coverage report can be seen at https://travis-ci.org/degustaf/symmetrical-eureka/jobs/128951675
Possibly related, I have a base template for displaying a common header for all pages on the site, which does not show at all in the coverage report.

I'm having the same issue - did you ever figure this out?

I just cloned symmetrical-eureka and ran the tests locally with Python 3.5, Django 1.11, Coverage 4.5.1 with C extension, and django_coverage_plugin v1.6rc1. I'm seeing the templates being listed as covered, so I'm guessing you sorted the issue out, and am therefore closing the issue.
If either of you are still having problems with this package, please re-open this issue or open a new issue. Thanks!


Add MartenBE to Contributors list

Thank you for your contribution @MartenBE . Best wishes on your future endeavours in the open source world. Do ping me if you need any help going forward 😄
Merging


Plugin working for Interstitial, rewarded video but not for banner on Android

I use this plugin and it work very well but since yesterday, banner doesn't show ...
It's loaded correctly :
adloaded :  {"isTrusted":false,"adNetwork":"AdMob","adType":"banner","adEvent":"onAdLoaded"}
I don't understand why
Code to show banner :
let optionsbanner = {adId : 'ca-app-pub-4119644342432662/6449975129',isTesting:true,autoShow:true,position:this.Admob.AD_POSITION.BOTTOM_CENTER};
this.Admob.createBanner(optionsbanner).then(
success => console.log("success : " + JSON.stringify(success)),
error => console.log("error : " + JSON.stringify(error))
)
Thanks in advance.
Edit : Test with demo, banner work but SMART_BANNER doesn't work ...
In my app, i set SMART_BANNER to config :/

I'm facing exactly the same. I try the the free version of Admob and both have the same issue: they're not displaying any banner

Even if you force it to be displayed through the console you'll see a black banner


Point cloud layer example fix for the layer browser

Comment out modelMatrix.rotateZ and modelMatrix.rotateX for the point cloud layer in the layer browser as we removed those controls in a previous commit

@ibgreen


fix: specify modules when autoimport post-processing

This PR fixes the issue with the stable release of post-processing

@Tinoooo @damienmontastier, we have an issue with compatibility because of how we decided to architecture the @tresjs/post-processing package. Nuxt module tries to auto import the default, since there are two modules, I tried adding them but names collide. We need to go another route for the post-processing package and probably have a breaking change there

@alvarosabu Instead of having 2 exports (for three and pmdrs), would it be better, for example, to have only one UnrealBloom folder, and within that folder the Three.js effect and the Pmdrs effect?

@damienmontastier @alvarosabu https://github.com/Tresjs/post-processing/pull/152

I'm going to prepare another PR here (will supersede this PR), we only need to do some hack before registering the imports...


Fix paging issues with large records

Sometimes, records are so large that API Gateway rejects the results even though our back-end systems don't otherwise error. Therefore, I've designed a strategy and retries the request with a total_record_count^(0.85) or half the existing limit (whichever is smaller) batch size. On subsequent retries (up to 3), it will continue the decay with last_limit^(0.85) records per batch.
Additionally, this PR includes the option of explicitly passing page_size to FSS query calls. Example:
phc.Patient.get_data_frame(all_results=True, page_size=1000)

Note: I initially reviewed the error with @tdstein.

For the backoff/retry logic did you checkout the retry module?

For the backoff/retry logic did you checkout the retry module?

It's actually doing a retry with a smaller batch not with a delay. I apologize if my terminology was unclear.


Removed postgresql-migration from extensions Gallery

We are retiring this extension.

This PR is associated with the issue - https://github.com/microsoft/azuredatastudio/issues/26044


InspectContainerAsync() -> Health is always null.

Output of dotnet --info:
.NET SDK:
 Version:   7.0.202
 Commit:    6c74320bc3

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.19044
 OS Platform: Windows
 RID:         win10-x64
 Base Path:   C:\Program Files\dotnet\sdk\7.0.202\

Host:
  Version:      7.0.4
  Architecture: x64
  Commit:       0a396acafe

.NET SDKs installed:
  3.1.403 [C:\Program Files\dotnet\sdk]
  3.1.426 [C:\Program Files\dotnet\sdk]
  5.0.102 [C:\Program Files\dotnet\sdk]
  6.0.100 [C:\Program Files\dotnet\sdk]
  6.0.115 [C:\Program Files\dotnet\sdk]
  7.0.100-rc.1.22431.12 [C:\Program Files\dotnet\sdk]
  7.0.202 [C:\Program Files\dotnet\sdk]

.NET runtimes installed:
  Microsoft.AspNetCore.App 3.1.9 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 3.1.32 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 5.0.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 5.0.17 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 6.0.0 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 6.0.15 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 7.0.0-rc.1.22427.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 7.0.4 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 3.1.9 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 3.1.32 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 5.0.2 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 5.0.17 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 6.0.0 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 6.0.15 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 7.0.0-rc.1.22426.10 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 7.0.4 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.WindowsDesktop.App 3.1.9 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 3.1.32 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 5.0.2 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 5.0.17 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 6.0.0 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 6.0.15 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 7.0.0-rc.1.22427.1 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 7.0.4 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

Other architectures found:
  arm64 [C:\Program Files\dotnet]
    registered at [HKLM\SOFTWARE\dotnet\Setup\InstalledVersions\arm64\InstallLocation]
  x86   [C:\Program Files (x86)\dotnet]
    registered at [HKLM\SOFTWARE\dotnet\Setup\InstalledVersions\x86\InstallLocation]

Environment variables:
  Not set

global.json file:
  Not found

Learn more:
  https://aka.ms/dotnet/info

Download .NET:
  https://aka.ms/dotnet/download

What version of Docker.DotNet?:
3.125.13

Steps to reproduce the issue:
await client.Images
	.CreateImageAsync(
		new ImagesCreateParameters()
		{
			FromImage = "mcr.microsoft.com/mssql/server",
			Tag = "latest",
		},
		new AuthConfig(),
		new Progress<JSONMessage>());

var sqlServerContainer = await client.Containers.CreateContainerAsync(new CreateContainerParameters()
{
	Image = "mcr.microsoft.com/mssql/server",
	Name = "linqpad-sql1",
	Hostname = "sql1",
	ExposedPorts = new Dictionary<string, EmptyStruct>
	{
		{ "1433", default }
	},
	HostConfig = new HostConfig
	{
		PortBindings = new Dictionary<string, IList<PortBinding>>
		{
			{
				"1433",
				new List<PortBinding>
				{
					new PortBinding
					{
						HostIP = "<IP_ADDRESS>",
						HostPort = "1433",
					},
				}
			},
		},
	},
	Env = new List<string>
	{
		"ACCEPT_EULA=Y",
		"MSSQL_SA_PASSWORD=<YourStrong@Passw0rd>",
	},
	Healthcheck = new HealthConfig
	{
		Interval = TimeSpan.FromSeconds(10),
		Timeout = TimeSpan.FromSeconds(3),
		Retries = 3,
		StartPeriod = (long)TimeSpan.FromSeconds(60).TotalNanoseconds, // long??? What goes here?? Nanoseconds, Miliseconds, seconds?? No docs!
		Test = new List<string>
		{
			"/opt/mssql-tools/bin/sqlcmd -S localhost -U SA -P '<YourStrong@Passw0rd>' -Q \"Select 1\"",
		}
	},
});

while(true)
{
	var i = await client.Containers.InspectContainerAsync(createSQLServerContainerResponse.ContainerID);
	i?.State.Health.Dump(); // <--------------------- Always null!!!!
	Thread.Sleep(5000);
}

What actually happened?:
InspectContainerAsync() -> State.Health is always null
What did you expect to happen?:
InspectContainerAsync() -> State.Health should no be null.
Additional information:
I cant find any docs that tell me what to put for StartPeriod which is a long.

long??? What goes here?? Nanoseconds, Miliseconds, seconds?? No docs!
I cant find any docs that tell me what to put for StartPeriod which is a long.

It is documented in the Docker Engine API docs, see the section Create a container, parameter Healthcheck.

Start period for the container to initialize before starting health-retries countdown in nanoseconds. It should be 0 or at least 1000000 (1 ms). 0 means inherit.

Furthermore, your Test property is wrong. See the docs too, it requires additional information about the command:

["CMD", args...] exec arguments directly
["CMD-SHELL", command] run command with system's default shell

It should be something like Test = new List<string> { "CMD", "true" }

@HofmeisterAn thank you,
Adding "CMD" to my test args now gets me health information:
Healthcheck = new HealthConfig
  {
  Interval = TimeSpan.FromSeconds(10),
  Timeout = TimeSpan.FromSeconds(3),
  Retries = 10,
  StartPeriod = (long)TimeSpan.FromMinutes(1).TotalNanoseconds,
  Test = new List<string>
  {
	  "CMD",
	  $"/opt/mssql-tools/bin/sqlcmd",
	  "-S",
	  "localhost",
	  "-U",
	  "SA",
	  "-P",
	  sqlServerPassword,
	  "-Q",
	  "Select 1",
  }
},

Regarding my question about the docs, why is there no XML comments so that information can easily be seen in the IDE?

Also one last question, I could not find info in the docs on how the health check is actually evaluated.
If I set the health values to absurdly low values:
Interval = TimeSpan.FromSeconds(1),
Timeout = TimeSpan.FromSeconds(3),
Retries = 2,
StartPeriod = (long)TimeSpan.FromSeconds(1).TotalNanoseconds,

I get the following:

Each blue box is the result of a InspectContainerAsync every 2 seconds.
You can see there is a list of health check results, the second one says that the health check exceeded timeout (3s), but status is still starting, and eventually it goes healthy.
I guess I expected the status to say "unhealthy" and to never go healthy again since it exceeded the timeouts and retries? My main question would be how could I use InspectContainerAsync to determine that the health check has failed completely and needs user intervention?

Regarding my question about the docs, why is there no XML comments so that information can easily be seen in the IDE?

I do not know why the author did not add more XML documentation, but I can imagine that copying the documentation would not add much value. Simply look at the official ones; they will always be up-to-date. This is in general a good advice working with Docker.DotNet.

You can see there is a list of health check results, the second one says that the health check exceeded timeout (3s), but status is still starting, and eventually it goes healthy.

I think the health state is controled by Retries:

The number of consecutive failures needed to consider a container as unhealthy.


feat: Support SetIfNotExists

SetIfNotExists stores a value for a key if the key is not already present (and returns Stored), otherwise it does not store the value (and returns NotStored).
Even though it's not really to do with "data structures," this API is only available in caches that also support data structures.
The server side changes for this have not all landed yet, so the tests won't pass in CI. I wanted to get this up for review anyway, but we should hold off merging it until this actually exists for real :grin:.
(Also, I've never written any PHP before this, so a lot of no idea what I'm doing going on here).

Server side changes merged into alpha and CI is passing 🎉


ENH: Window functions should not accept non-integer or negative window lengths

Fix for https://github.com/scipy/scipy/issues/6390
I didn't try to consolidate all the identical code because I couldn't see a clean way to do it.  Can always be done later.

What about:
def _check_len(m)
    if ...:
        raise ...
    if m <= 1:
         return np.ones(m)
    else:
        return m

def whatever(...)
     ...
     m = _check_len(m)
     if isinstance(m, ndarray):
         return m

That would cut down on the changed lines a lot.

Ok I did something a little different, noticing that ones() could handle both cases.

LGTM, @e-q do you have time to look and merge if you're happy?

This is nice! Thanks @endolith


Increased bin to 10m and fixed deprecated commands

Increased bin outcomes from 5 to 10 minutes to reduce even more the volume of data Fixed deprecated commands:

makeset to make_set

makelist to make_list

mvexpand to mv-expand
Change(s):

Increased bin to 10m
fixed deprecated commands

Reason for Change(s):

Increased bin outcomes from 5 to 10 minutes to reduce even more the volume of data Fixed deprecated commands:
replaced makeset with make_set and limit
replaced makelist with make_list and limit
replaced mvexpand with mv-expand

Version Updated:

Yes

Testing Completed:

Yes

Checked that the validations are passing and have addressed any issues that are present:

Yes

Hello @tduarte14 any respond to @shainw's Comment

I'm really not 100% sure of what shainw wants, but I can add extra changes.
I haven't made bigger changes because I didn't want to change too much, but if it's ok, I can:

adjust timeRange to 2h
set queryFrequency and queryPeriod to 2h

regarding the bin of 10 min, would it be ok with the changes above or you recommend different value?

@microsoft-github-policy-service agree

@shainw I agree, I will get this detection added in the list for quality improvement.
According to your comments, the changes are made by @tduarte14. Can you please provide your approval?

Hi @shainw, please provide your approval. Thanks

Hello @shainw waiting for your approval

@shainw anything on this pr


feat(Datagrid): Filter flyout

Contributes to #2251
This adds the filter flyout component and adds filtering to the Datagrid component

PR is ready for review, the latest commit adds batch update method

Added proper filter resetting when the user cancels the filters.

Added FilterSummary to this PR 🍾


IPs on the docker bridge can be the same on different hosts, so will need scoping

See #245 for more info

Plan here is to pass -docker.bridge to the probe (defaulting to docker0), then in ids.MakeAddressNodeID append the host scope to the id if the address is loopback or is in the subnet associated with the docker bridge.


ActiveRecord model metrics can provide their own identity source

This allows objects created on the backend (outside the ActionController) context to still have an associated identity.
Additionally, fixes a bug with the after_create callback so that the current Vanity.context.vanity_identity is passed along to properly record the conversion for the participant.

If this PR is accepted, I have another in the conversions-for-particpants-only branch which fixes what I consider to be a bug.  That is, currently conversions are recorded for all model metrics when they're created, even if created by a non-participant in an experiment.
The only problem with it is the fact that if you start any experiments before the user can be identified by their user_id (for example) then you will still have a problem because the user_id isn't an experiment participant, but rather the users anonymous cookie identifier.

Looks like the build is still failing on the case with protected attributes.


[docs] Fix typo masterial-ui to material-ui

This changes the typo on the v0.x migration page. In some places, it says masterial-ui, not material-ui, which is the correct package name.

@Ginkoid Thank you!


Numbering only between TODAY and TOMORROW ?

Actually, only number tasks that are due "today" ?

Or maybe just an option to turn on/off numbering?


Add NoNameCon conference

Practical Cybersecurity Conference in Ukraine, happening online on YouTube in 2020.
Featuring JP Aumasson, Andy Greenberg, Bruce Schneier and many others.

Thank you so much @rkiyanchuk !


Respect region config in Makefile when getting ssm parameter

Issue #, if available:
Description of changes: The current Makefile does not use region configured in build.config on ssm get-parameter, this commit uses this config.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Thank you for your contribution to DREM


⚠ ClamAV has degraded performance

In 8ee9036, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 52 ms

Resolved: ClamAV performance has improved in 784579f.


Poppy Object: move robot descriptor from inner methods to constructor parameter.

Do not instantiate the robot descriptor from inner methods of Poppy robot but provide it from constructor parameters.
Then, adapt the poppy object factory to handle descriptor instantiation.

Descriptor is now passed to Poppy constructor  instead of desciptor locator.
The poppy constructor has then been consequently changed. see jsdoc.
The poppy factory createPoppy has been updated:

No change for the connection settings object,
The (optionnal) descriptor locator property has been renamed from 'descriptor' to 'locator'.

Note the compatibility of the constructor with previous verison has been broken.
see jsdoc for further details.


Inconsistent handling of Postgres infix operators

There appear to be some Postgres operators which are supported in the base dialect and some that are only supported in the Postgres dialect, but I'm not able to work out why from looking at the code. See below, it looks like >> is in Postgres and Generic, but ~ is everywhere.
            Token::ShiftRight if dialect_of!(self is PostgreSqlDialect | GenericDialect) => {
                Some(BinaryOperator::PGBitwiseShiftRight)
            }
            Token::Sharp if dialect_of!(self is PostgreSqlDialect) => {
                Some(BinaryOperator::PGBitwiseXor)
            }
            Token::Tilde => Some(BinaryOperator::PGRegexMatch),
            Token::TildeAsterisk => Some(BinaryOperator::PGRegexIMatch),

Is this a bug in the implementation (should tilde be only applicable to Postgres / ShiftRight be available to all) or is there a missing comment as to why this distinction exists?

@joocer, the operator handling is quite faulty right now for two reasons:

The operators vary from dialect;
(more critical) Their precedence varies between dialects.

The fact that we try to do all parsing together makes it hard to handle specific logic properly. As I commented on #814, I would love to review a new implementation, but I can work directly on that. It is too much, and for now, I only plan on working on the following:

Review PRs
Review issues
Solve small generic PRs (e.g., add a keyword for a statement here, a data type there, etc.)
MySQL and PostgreSQL specific syntax

Besides that, I can't guarantee anything for the next month, at least considering the pacing I'm taking. Sorry about that.

Thanks @AugustoFKL, rather than two issues that touch on each other, I suggest this one be closed off, it looks like michael-2956 is probably in a better position to progress as I'm not much of a rust developer (I'm using this library in Python via SqlOxide).

@joocer lovely to know! Thanks for the information; it makes me wanna work even more here to support everyone using this!!
Promise you that the precedence will be fixed within the next month, even if @michael-2956 doesn't work on this.


confuse init_checkpoint in T5-base operative_config.gin

Hi in your pretrained_models_base_operative_config.gin of pre-train T5 model there was a line
''' init_checkpoint = "gs://mesolitica-general/t5-base/model.ckpt-100000 '''
was this the checkpoint for the Malaya version of T5 or the checkpoint for the original T5 from model. And does this affect the pretrain process at all ?

checkpoint for Malaya version, feel free to download pretrained model from https://github.com/huseinzol05/Malaya/tree/master/pretrained-model/t5#download and upload to your own GCS. You need to store the checkpoint inside GCS if want to use TPU.

got it thanks


Add option to allow connections with invalid ssl certificates

Motivation
I know this is just... wrong, and everyone should be using letsencrypt, or adding their self-signed cert as a trusted root. Allowing invalid SSL connections is still a "feature" that rust doesn't have, and I'd like to fix that.
Changes
This change adds an optional flag onto the ClientBuilder to accept invalid certificates.
Previously
The validation logic treated the RecoverableTrustFailure identically to the FatalTrustFailure. Upon a limited reading of the documentation, it seems as though the intended use of the RecoverableTrustFailure was to allow the user to opt into the insecure connection.
Now
During validation, if we get a RecoverableTrustFailure, and the user has opted into allowing invalid certs, I treat it just like a Proceed. If the user has not opted-in, the result is the same as it was before.
In keeping with rust's theme of not wanting you to shoot yourself in the foot, I've named the function danger_accept_invalid_certs(), and put a big warning in the doc comments. If you want this to be more obnoxious name, I'm open to suggestions.
Testing
I added a test-case from badssl.com. I also tested this by making connections to a variety of bad servers from my osx workstation.

Sorry for missing this for a while!

I updated this PR based on your feedback. Let me know if there's anything else I can do.
Once you decide to push up a new crate with this change, I'll update my PR for https://github.com/sfackler/rust-native-tls/pull/56, and we can go from there.

Sorry, I pushed a little early, I don't trust what I just wrote, seems like we could either get stuck in that loop, or error out with the wrong message.

Ok, I think its about as sane as we're going to get. I think worse case scenario would be some kind of corrupted cert which is both invalid, and unable to even support SSL. We would "trust" it, but I think it would end up causing some kind of handshake or other stream error.
Let me know if you can think of anything else.


Not to able to connect aws s3 url while performance test for vectordb benchmark

Hi,
I have setup vectordb benchmark tool on GCP cloud .
Can we use only aws bucket url while performing performance test on vectordb benchmark url
getting error while connecting aws s3 url :
botocore.exceptions.ConnectTimeoutError: Connect timeout on endpoint URL: "https://s3.us-west-2.amazonaws.com/assets.zilliz.com/benchmark/cohere_medium_1m/shuffle_train.parquet"
Please suggest

@XuanYang-cn please help~
same as #323


PerfectScrollbar is not a constructor

I installed @coreui/coreui throught yarn, yarn add @coreui/coreui, but if I include @coreui/coreui/dist/js/coreui.js and define a sidebar like in the example I get an error with PerfectScrollbar is not a constructor. I tried adding the perfect-scrollbar package and include the js file, but it didn't solve the problem. If I include<EMAIL_ADDRESS>version from demo everything works fine.

Manjaro Linux - kernel 4.17.0-2
Firefox 60.0.2 (x64)

makes npm then solved " npm install perfect-scrollbar --save "


Updating schema fields and sdk version

Updating schema fields and sdk version

Weird that CI is failing. This branch fetches the same resources as master, but I guess something changed in cloudflare so that we're not seeing the grant anymore. I think clean up the extra variables and this is good to go.

@mchavez Can I close this PR?


Scheduling messages in 3y results in immediate delivery

When a message is scheduled 3y in advance, it is immediately sent to the recipient:
nick1    | !in 3y tell nick2 message
greenman | nick1: Ok, I'll message nick2 in 3 years
greenman | nick2: (nick1, a few seconds ago) message

This is probably an issue with milliseconds to setTimeout() overflowing. Implement long-term delivery or validation on how far into the future a message can be scheduled.

Fixed by using long-timeout NPM module.


Error 28: no space left on device

RHEL8.4
VirtualBox-6.1-6.1.26_145957_el8-1.x86_64.rpm
vagrant version Installed Version: 2.2.18
repo:   Downloading ansible-4.4.0.tar.gz (35.4 MB)
repo: ERROR: Could not install packages due to an OSError: [Errno 28] No space left on device

You can try follow link:
https://github.com/rdbreak/rhce8env/pull/21/commits/120e09ee469b3fb2731f3470a8a9302d9a0487aa


N+1 Problem?

https://github.com/dlukez/dataloader-dotnet
Looks like this package is resolving this, but I can not make it work, it fails, do you have another option?

I had exactly the same question.... I mean, if the N+1 problem is "by design", then it's just unusable, or am I missing something ?

Batching is the solution but on dotnet is not yet supported it @Bidou44  we depend of open source libraries like that one, or do our own ones for now

Any more thoughts on this?

We're solving this by having a top-level resolver that converts the GraphQL query to a Gremlin query so we can fetch the whole dataset in one query to our CosmosDB backend.

@BenjaBobs, nice, you're using CosmosDb? I'm currently trying graphql-net and GraphQL.Net to Cosmos Db, but still seeing lots of limitations on both. Do you have anything open source you can share?
Are you saying you're handling specific cases that involve join-like queries by creating top-level named queries for them? Like "userWithFriends" or something?

I don't have anything open source, but I can talk a bit about my strategy.
Firstly, all of my entities are stored in Cosmos, I don't know how I will handle other data sources yet.
On the dotnet side
Each entity is a simple datamodel with properties decorated with attributes. I then use these attributes to generate GraphQL Dotnet fields. For each entity I currently generate tree queries, three mutations and one subscription.
As example, imagine an entity called Car.

Queries

car
carList
carCount

Mutations

createCar
updateCar
deleteCar

Subscriptions

carUpdated

The EntityList queries are the interesting ones. For each of these I also generate query arguments based on the entity properties and their types.
I implemented a filtering system that then takes the GraphQL query arguments and translate them to partial Gremlin queries such as for integers: $".has(\"{fieldName}\", lt({lessThanValue}))".
All of these merge together to a composite Gremlin query.
Properties that are references to other entities are translated to
g.V('id').union(
  outE('propertyName').inV().hasLabel('propertyType'),
  outE('otherPropertyName').inV().hasLabel('otherPropertyType')
).tree()

The .tree() in the end makes Cosmos return the entire data tree with properties in GraphSON.
I then deserialize this into my entity models and return them via GraphQL Dotnet.
On the Azure side
The CosmosDb is setup to use Graph API. I don't know how I'm going to handle clever partitioning yet.
I've experienced that when doing a query with many nestings performance drops, but if I keep my queries to a max depth of 2, I get really snappy responses (ofc keeping in mind that more data = slower queries).

Awesome, thanks @BenjaBobs, I'm not too familiar with Graph API / Gremlin, I'm leaning towards using the SQL API as it's more familiar to me. I started using GraphQL.Net but it doesn't support variables, doesn't seem to work with filtering scalars on properties nested in documents, and isn't .NET Standard supporting. These issues are all starting to add up and make it difficult :P

If you can wrap your mind around using CosmosDB SQL api, I think that might give you better performance, and it also seem to be a bit ahead of Gremlin api in terms of implemented functionality.
Good luck. :)


Update syntax.md

Description
I've read the Template Syntax page (v2 docs and v3 docs). I think there are a few sentences that need adjusting.
Bdw, I'm using Grammarly for better results.
Thank you 🙂

Thanks for the PR @andriannus!


Fix on iOS Platform

Fixes to NSUserDefaults null error by changing InternalToken = null to InternalToken = string.Empty

Problem: ##80
This PR handles the default NSDictionary to string behavior which generates a non easily parse-able string.
{\n
destination =     {\n
section = notifications;\n
type = none;\n
uri = "";\n
};\n
}
Current code will convert it to json so it can be parsed upon opening or receiving.

@rdelrosario Could you please check this PR ?
Unregister is crashing on iOS.

Thanks for your contribution again!
I just got the same comments of my review in https://github.com/CrossGeeks/PushNotificationPlugin/pull/143


Geo-redundancy retry policy for storage

Current implementation is missing primary/secondary storage locations in retry policy.

Is this planned to be implemented at the client level?

Are there any updates on this? I was trying to see if I can implement this sort of geo redundancy on the client to move ACR's remaining unmigrated workloads to the new table SDK but ran into difficulties adding a fallback to the pager abstraction. Any updates would be appreciated.

@vibhansa-msft the bot closed this due to age. If this is still on the radar for storage can you please open a new issue and link to this one?


Loop through .Data.Pages inside single.html

Is there anyway to loop over the pages in a section on single.html? I want to achieve a simple sidebar on all post pages.
{{ range first 10 .Data.Pages }}
  <li>{{ .Title }}</li>
{{ end }}

Please use http://discuss.gohugo.io/ for questions.
Or look in the doc.

Ok thanks, i'll post there.


How to deploy/publish a modern and legacy javascript file for a web component ?

I have create a new project with the npm init @open-wc command.
All options activated (a web component project, with typescript, and demoing, etc ...)
Now i want to build/publish my project, not a HTML file ... But simply a module and legacy version of my web component that can be deployed on s3 to allow my customers to use this webcomponent on their websites.
Is there someone have a the perfect config file to do this ?

Currently we recommend doing building only at the final distribution level. This is because there are quite a lot of things to keep in mind when bundling, such as browser target, polyfills and shared dependencies, which are hard to decide from a component point of view.
That being said, you could use the createBasicConfig option from our rollup package: https://github.com/open-wc/open-wc/tree/master/packages/building-rollup#non-spa-projects

Ok i understand but the createBasicConfig only speaks about multiple html file generation. I do not need HTML file, only JS files with a modern and legacy build. The legacy build must be IE11 compatible with the fetch polyfill.
The default behavior of @open-wc is to build SPA app or reusable web component for app development.
I want to distribute a web component, that can be directly integrated in a basic HTML page (for example a wordpress integration). And the user choose itself if he want to integrate the modern or legacy build.

The basic config does JS bundling. It gives an example of using the HTML plugin if you need it, but it's not required. You could also set up your own rollup config, it's not a very complicated tool.
Our configs don't bundle any polyfills because this can be problematic when multiple scripts on the page include conflicting polyfills.


Picker opens in wrong position where there is a left sidebar

Last version of Atom, all packages just updated:
packages: [
  "color-picker"
  "emmet"
  "file-icons"
  "highlight-selected"
  "linter"
  "linter-jshint"
  "local-history"
  "minimap"
  "minimap-bookmarks"
  "minimap-codeglance"
  "minimap-find-and-replace"
  "minimap-git-diff"
  "minimap-linter"
  "minimap-selection"
  "package-sync"
  "pigments"
  "term3"
]

What OS are you on?

Ubuntu. Can't remember the exact version atm, I think 15.04

A fix for this was merged in https://github.com/atom/atom/pull/11274, which means a fix for this should be out relatively soon.

To me, still broken with Atom 1.8.0 and color-picker 2.2.2. Shouldn't be fixed?


Paper in English

Is there a english release of your paper?

Hello.
Unfortunately, the English version does not exist yet.
I don't know when, but I don't know if it will come out later.
Sorry for not helping.


Full page localisation

[x] Added missing gettext on {hopefully} all text that was missing one
[x] Generated .po files for all languages except zh-hans & zh-hant

A-we-so-me @tenshikiri ! We needed this. Just some changes related to greek translation and you are good to go

Fixed, I was expecting more :D


Cache's magic does not start with 'dyld', most likely given a file that's not a cache or the file is broken.

system % dyldex_all dyld_shared_cache_arm64e
Traceback (most recent call last):
File "/usr/local/bin/dyldex_all", line 299, in
_main()
File "/usr/local/bin/dyldex_all", line 228, in _main
dyldCtx = DyldContext(f)
File "/usr/local/lib/python3.10/site-packages/DyldExtractor/dyld/dyld_context.py", line 36, in init
raise ValueError("Cache's magic does not start with 'dyld', most likely given a file that's not a cache or the file is broken.")  # noqa
ValueError: Cache's magic does not start with 'dyld', most likely given a file that's not a cache or the file is broken.

Where did you get the cache file from?

Get from /System/Library/Caches/com.apple.dyld/

It says that it's probably broken, are you able to open the cache file in a hex editor and tell me what the first few bytes are? It should be like something here, where the first 4 are dyld.
If not, can you send the file to me? My email is<EMAIL_ADDRESS>

I will send the document to you. Thank you for your reply

Okay, I looked at your file, and it seems that the first 0x2c580 bytes are all zeros, which is not correct.
I don't know how you got your file, but I suggest using SCP if you have a jail broken phone, or directly extracting it from an IPSW. https://github.com/blacktop/ipsw.


Add support for XML-based solution file format (slnx)

Add support for XML-based solution file format (slnx)
Should be an opt-in as the slnx feature itself is still in the preview phase

dotnet new formsclasslib -o MyApp.UI -slnx

This feature is now part of the below release:

VijayAnand.FormsTemplates - v1.10.0


[fmt] Update to 10.2.0

[x] Changes comply with the maintainer guide
[x] SHA512s are updated for each updated download
[x] The "supports" clause reflects platforms that may be fixed by this new version
[x] Any fixed CI baseline entries are removed from that file.
[x] Any patches that are no longer applied are deleted from the port's directory.
[x] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[x] Only one version is added to each modified port's versions file.

LICENSE.rst was renamed to LICENSE.
One of the patches was applied upstream in a more complete manner, so is removed from here.
FYI: @vitaut

Thanks for the update!


graph: SOUS_USE_SOUS_SEVER on iff == YES

Previously any value including empty string was considered 'on' which
was hard to use in scripts.
Now it must be exactly uppercase YES in order to be considered on.

LGTM!
No errors, no warnings. :shipit:

  Generated by :no_entry_sign: Danger


🌎 Make tests pass in any timezone

The tests use the system timezone during date calculations, which causes them to fail when run at Pacific time (-08:00). This PR adds as spy on TemporalHelper.getDefaultZoneOffset() and makes it return a fixed timezone (-06:00).
To reproduce the error, set the fixed timezone to -08:00 and run the tests.

Looks like this change isn't successful on CI:
[ERROR] Tests run: 203, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 20.566 s <<< FAILURE! - in TestSuite
[ERROR] testMainSuite(org.opencds.cqf.cql.execution.CqlTestSuite)  Time elapsed: 5.68 s  <<< FAILURE!
org.opencds.cqf.cql.exception.CqlException:
Test FromString_dateTimeStr failed: Expected 2015-01-02 Found 2015-01-02
TEST SUITE FAILED
	at org.opencds.cqf.cql.execution.CqlTestSuite.testMainSuite(CqlTestSuite.java:70)

I don't get that failure locally, which might be because I'm not using the same JDK as Travis.


Small bug fixes that have been annoying me

Pull Request Test Coverage Report for Build 3184

0 of 1 (0.0%)  changed or added relevant line in 1 file are covered.
2 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.01%) to 66.063%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

routes/devices_compat.js
0
1
0.0%

Files with Coverage Reduction
New Missed Lines
%

routes/devices_compat.js
1
22.22%

routes/my_conversation.js
1
66.36%

Totals

Change from base Build 3164:
-0.01%

Covered Lines:
6909

Relevant Lines:
9819

💛  - Coveralls


[gmp] Build error: Failed to download from mirror set

Host Environment
OS: Windows
Steps to reproduce the behavior:
./vcpkg install gmp
Failure logs:
error: Failed to download from mirror set
error: https://repo.msys2.org/msys/x86_64/msys2-runtime-3.2.0-8-x86_64.pkg.tar.zst: failed: status code 404
error: https://www2.futureware.at/~nickoe/msys2-mirror/msys/x86_64/msys2-runtime-3.2.0-8-x86_64.pkg.tar.zst: failed: status code 404
error: https://mirror.yandex.ru/mirrors/msys2/msys/x86_64/msys2-runtime-3.2.0-8-x86_64.pkg.tar.zst: failed: status code 404
error: https://mirrors.tuna.tsinghua.edu.cn/msys2/msys/x86_64/msys2-runtime-3.2.0-8-x86_64.pkg.tar.zst: failed: status code 404
error: https://mirrors.ustc.edu.cn/msys2/msys/x86_64/msys2-runtime-3.2.0-8-x86_64.pkg.tar.zst: failed: status code 404
error: https://mirror.bit.edu.cn/msys2/msys/x86_64/msys2-runtime-3.2.0-8-x86_64.pkg.tar.zst: WinHttpSendRequest failed with exit code 12007
error: https://mirror.bit.edu.cn/msys2/msys/x86_64/msys2-runtime-3.2.0-8-x86_64.pkg.tar.zst: WinHttpSendRequest failed with exit code 12007
error: https://mirror.bit.edu.cn/msys2/msys/x86_64/msys2-runtime-3.2.0-8-x86_64.pkg.tar.zst: WinHttpSendRequest failed with exit code 12007
error: https://mirror.bit.edu.cn/msys2/msys/x86_64/msys2-runtime-3.2.0-8-x86_64.pkg.tar.zst: WinHttpSendRequest failed with exit code 12007
error: https://mirror.selfnet.de/msys2/msys/x86_64/msys2-runtime-3.2.0-8-x86_64.pkg.tar.zst: failed: status code 404
error: https://mirrors.sjtug.sjtu.edu.cn/msys2/msys/x86_64/msys2-runtime-3.2.0-8-x86_64.pkg.tar.zst: failed: status code 404
[DEBUG] D:\a\_work\1\s\src\vcpkg\base\downloads.cpp(960):
[DEBUG] Time in subprocesses: 0us
[DEBUG] Time in parsing JSON: 5us
[DEBUG] Time in JSON reader: 0us
[DEBUG] Time in filesystem: 13983us
[DEBUG] Time in loading ports: 0us
[DEBUG] Exiting after 13.7187489 s (13680878us)

CMake Error at scripts/cmake/vcpkg_download_distfile.cmake:32 (message):

Failed to download file with error: 1
If you are using a proxy, please check your proxy setting. Possible causes are:

1. You are actually using an HTTP proxy, but setting HTTPS_PROXY variable
to `https://address:port`. This is not correct, because `https://` prefix
claims the proxy is an HTTPS proxy, while your proxy (v2ray, shadowsocksr
, etc..) is an HTTP proxy. Try setting `http://address:port` to both
HTTP_PROXY and HTTPS_PROXY instead.

2. If you are using Windows, vcpkg will automatically use your Windows IE Proxy Settings
set by your proxy software. See https://github.com/microsoft/vcpkg-tool/pull/77
The value set by your proxy might be wrong, or have same `https://` prefix issue.

3. Your proxy's remote server is out of service.

If you've tried directly download the link, and believe this is not a temporary download server failure, please submit an issue at
https://github.com/Microsoft/vcpkg/issues to report this upstream download server failure.

Call Stack (most recent call first):
scripts/cmake/vcpkg_download_distfile.cmake:270 (z_vcpkg_download_distfile_show_proxy_and_fail)
scripts/cmake/vcpkg_acquire_msys.cmake:26 (vcpkg_download_distfile)
scripts/cmake/vcpkg_acquire_msys.cmake:67 (z_vcpkg_acquire_msys_download_package)
scripts/cmake/vcpkg_acquire_msys.cmake:345 (z_vcpkg_acquire_msys_declare_package)
scripts/cmake/vcpkg_configure_make.cmake:224 (vcpkg_acquire_msys)
ports/gmp/portfile.cmake:85 (vcpkg_configure_make)
scripts/ports.cmake:147 (include)

error: building gmp:x64-windows failed with: BUILD_FAILED
error: Please ensure you're using the latest port files with `git pull` and `vcpkg update.
Then check for known issues at:
https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+gmp
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?template=report-package-build-failure.md&title=[gmp]+Build+error
Include '[gmp] Build error' in your bug report title, the following version information in your bug description, and attach any relevant failure logs from above.
vcpkg-tool version: 2023-03-14-105f7f7e8a5ea10dfac9874ff9d1a6bacba5f454
vcpkg-scripts version: 23f0707b1 2023-03-29 (2 hours ago)

Additional context:
It seems like gmp is using msys2-runtime-3.2.0-8-x86_64, which is no longer available.
URL for package download (https://mirror.bit.edu.cn/msys2/msys/x86_64/msys2-runtime-3.2.0-8-x86_64.pkg.tar.zst) is not available with WinHttpSendRequest exit code 12007

Can your network access https://repo.msys2.org/msys/x86_64/? Please make sure the network is normal.

This address can be accessed normally. (https://mirror.bit.edu.cn/msys2/msys/x86_64/msys2-runtime-3.2.0-8-x86_64.pkg.tar.zst) The download of msys2-runtime-3.2.0-8-x86_64.pkg.tar.zst is tried in multiple urls, as long as there is one that can be downloaded, there is no problem.

Okay, I got it, thanks. It looks like the only available url to download this package is not available with WinHttpSendRequest exit code 12007. This is indeed a network issue. Last question. Can I get a solution to this problem?

You can set up a proxy or go through a VPN to access that url. This is not a vcpkg problem, I will close this issue. If you have other questions about vcpkg, you can resubmit an issue.

We are running into this issue as well, it looks like msys2-runtime-3.2.0-8-x86_64.pkg.tar.zst is also no longer available in any of the mirrors so it can't be downloaded.

This is still happening from a clean install of vcpkg.

No fix merged yet, but you know now which change to cherry-pick. vcpkg Ci must rebuild a lot of ports for msys2 changes.

I actually accessed this old package (from what appears to be an internal Chinese URL) using a Singapore VPN. But I found another problem. Is it normal that the setup and build of the package takes a really, I mean very long time (it takes about an hour and continues)???

Is it fine that the configure and build of the package takes a really, I mean really long time (it takes about an hour and continues)

It is not normal, but such cases exist. This issue has gmp in its subject. For this particular port, you should install clang-cl from Visual Studio. Otherwise it will download and extract the official clang. I assume that this takes very long: Some people reported vcpkg would "hang" on downloading 7Z but nobody actually verified that it was slow extracting of llvm using the quickly downloaded 7Z...

@jimwang118<EMAIL_ADDRESS>

@jimwang118<EMAIL_ADDRESS>
We have fixed this issue in PR https://github.com/microsoft/vcpkg/pull/30546, you can try to update vcpkg to fix your issue.

Thanks for your reply! I download the recent vcpkg-master and fixed it! THX


Add photo and update bio/abstract for Mahtab

Hopefully it's cool that I added emojis... 🙏

merged upstream! :)


CI infrastructure improvements

Builds for macOS and windows without flaky triggers.
Removed outdated and unused stuff from travis config.
Additional builds using gcc 6 on ubuntu trusty.
All badges in the readme have working links and show either green or gray (no gray, errors, or 404s).
CI builds fail if any test fails.  When a test fails, this is indicated by a red cross on the github PR/commit.
Native windows builds on appveyor.
Coverage results on codecov

If we merge this, I think we'll need to allow codecov and appveyor to access the leanprover organization.  I'll also need to update the badges to point to leanprover/lean instead of my fork.

If we merge this, I think we'll need to allow codecov and appveyor to access the leanprover organization. I'll also need to update the badges to point to leanprover/lean instead of my fork.

Done (I think so).


Fixes relation not found errors when dealing with table names that have uppercase characters

fixes issue that generates an error message when getting table info/schema via tabs, truncating/deleting table, and exporting data for tables with uppercase letters via right click menu
fixes exporting Tables with uppercase letters #310

@sosedoff would love to see this merged

@ericdagenais sorry its been a while, could you perhaps update this PR? Im planning on a new release so it you can make it in time i will include your changes.


Cannot claim Front-end Cert

I just completed the last project for the front-end certificate.

But get an error on step 3 to try again later???

The strange avatar pic in the top middle of the page is real and appears after clicking the big button to open the new link to verify the work is done. It is also clickable like the normal avatar in the top right corner.

Confirmed.  We've got several reports of this bug.
@BerkeleyTrue can you check this out?

Looking into it.

Sweet thanks to both of you!

Can y'all give it a try again and see if it works now?

@BerkeleyTrue You got it! Thanks so much! So happy to get my certificate! Excited for the react challenges to help solidify what I learned making this project. React and Redux are amazing.

@natac13 Congratulations!

Hi, I am experiencing the same issue. Error in console says:
Failed to parse SourceMap: https://www.freecodecamp.com/challenges/rx.all.map
Here's my screenshot:


Scheduled github action not working

The cron job defined in yaml file does not work as expected.

It works now that the repo has seen some activities.

@CAMOBAP could we add a keep-alive workflow here too, similar to https://github.com/paneron/paneron.org/issues/2?

The reason it may actually be more important to keep these builds alive compared to paneron.org site is that extensions.paneron.org is currently (not necessarily forever) used by Paneron to determine current versions of available extensions.

For now, I 1) manually enabled workflow and 2) ran workflow by hand from GHA GUI. (But we shouldn’t rely on this…)

keep-alive workflow added

@CAMOBAP I guess keep-alive doesn’t work, because it weren’t building in the last 3 weeks…

Can you confirm that manual action is required?

@strogonoff keep-alive workflow was removed in https://github.com/paneron/extensions.paneron.org/commit/d8453375cf7e484d25cbfcf542683ea0bd3439de by @kwkwan

Got it, I overlooked that fact…

Looks like it's working.  Closing.


Call for maintainers

@stuartcampbell @licode @jrmlhermitte any interest in being added? (or anyone I missed?)

yes thanks!

@danielballan perhaps and maybe @tacaswell

@mrakitin as well

Happy to help

@mrakitin any interest?

Sure, with pleasure!

@dchabot has done some work on pyepics packaging. @klauer might also be interested.


Info tooltips are not navigable with keyboard

Parking this issue here - happy to write up, or dump existing email conversations, but just want to mark its place in the pile of issues here on github. Not sure if you've already taken any action in any of the discussed directions.

See https://github.com/microbit-foundation/ml-trainer/pull/526

Now navigable with the keyboard. We might need to revisit tooltips for screenreader and the idea that moving towards the content shouldn't dismiss it but let's track via the report/other issues.

To confirm that this still doesn't make the tooltip content accessible with NVDA. It appears the tooltip has aria-describedby but only after clicking on it / tabbing to it. Should this be present from page load?

(but still an improvement re keyboard accessibility, thanks :)


Improve derive(FromPyObject) to apply intern! when applicable to get_item

This PR adds more intern!s to FromPyObject derive macro implementation. This should improve performance when using #[pyo3(item)].

bors retry


Can't pull ubuntu image 403 from https://registry-1.docker.io/v1/repositories/library/ubuntu/tags

docker pull ubuntu leads to
time="2015-12-23T01:00:46Z" level="debug" msg="Calling POST /images/create"
time="2015-12-23T01:00:46Z" level="info" msg="POST /v1.16/images/create?fromImage=ubuntu%3Alatest"
time="2015-12-23T01:00:46Z" level="info" msg="+job pull(ubuntu, latest)"
time="2015-12-23T01:00:46Z" level="info" msg="+job trust_update_base()"
time="2015-12-23T01:00:47Z" level="debug" msg="Fetched 1 base graphs at 2015-12-23 01:00:47.104404613 +0000 UTC"
time="2015-12-23T01:00:47Z" level="info" msg="-job trust_update_base() = OK (0)"
time="2015-12-23T01:00:47Z" level="debug" msg="Pulling tag from V2 registry: "latest""
time="2015-12-23T01:00:47Z" level="debug" msg="[registry] Calling "GET" https://registry-1.docker.io/v2/manifest/library/ubuntu/latest"
time="2015-12-23T01:00:47Z" level="debug" msg="https://registry-1.docker.io/v2/manifest/library/ubuntu/latest -- HEADERS: map[User-Agent:[docker/1.4.1 go/go1.3.3 kernel/2.6.32-504.16.2.el6.x86_64 os/linux arch/amd64]]"
time="2015-12-23T01:00:47Z" level="debug" msg="hostDir: /etc/docker/certs.d/registry-1.docker.io"
time="2015-12-23T01:00:47Z" level="debug" msg="Reloaded graph with 3 grants expiring at 2017-03-22 19:04:46.713978458 +0000 UTC"
time="2015-12-23T01:00:48Z" level="debug" msg="[registry] Calling GET https://index.docker.io/v1/repositories/library/ubuntu/images"
time="2015-12-23T01:00:48Z" level="debug" msg="https://index.docker.io/v1/repositories/library/ubuntu/images -- HEADERS: map[User-Agent:[docker/1.4.1 go/go1.3.3 kernel/2.6.32-504.16.2.el6.x86_64 os/linux arch/amd64]]"
time="2015-12-23T01:00:48Z" level="debug" msg="hostDir: /etc/docker/certs.d/index.docker.io"
time="2015-12-23T01:00:49Z" level="debug" msg="Retrieving the tag list"
time="2015-12-23T01:00:49Z" level="debug" msg="https://registry-1.docker.io/v1/repositories/library/ubuntu/tags -- HEADERS: map[User-Agent:[docker/1.4.1 go/go1.3.3 kernel/2.6.32-504.16.2.el6.x86_64 os/linux arch/amd64]]"
time="2015-12-23T01:00:49Z" level="debug" msg="hostDir: /etc/docker/certs.d/registry-1.docker.io"
time="2015-12-23T01:00:50Z" level="debug" msg="Got status code 403 from https://registry-1.docker.io/v1/repositories/library/ubuntu/tags"
time="2015-12-23T01:00:50Z" level="error" msg="Could not reach any registry endpoint"
Could not reach any registry endpoint
time="2015-12-23T01:00:50Z" level="info" msg="-job pull(ubuntu, latest) = ERR (1)"
And (your doc is very sporadic)
https://docs.docker.com/v1.7/docker/reference/api/hub_registry_spec/#get-all-tags
Why this requires auth
https://registry-1.docker.io/v1/repositories/library/ubuntu/tags
and this doesn't?
https://index.docker.io/v1/repositories/library/ubuntu/tags

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

You will need to upgrade to a newer version of Docker. Sorry for the inconvenience.
http://blog.docker.com/2015/10/docker-hub-deprecation-1-5/

Thanks

I'll close this issue then. Feel free to comment here after I've closed!


E5112: Error creating lua piece

E5112: Error creating lua piece: cannot open C:\Users\admin\AppData\Local\nvim\init.lua: No such file or directory

Follow the instruction here: https://github.com/jdhao/nvim-config/tree/master/docs#how-to-install-this-configuration.
Have you cloned the config to the proper directory?


error: cannot access Function2 class file for kotlin.jvm.functions.Function2 not found

It seems that result code doesn't work in Java. Kindly add this function for Java also.

It seems working fine with the below code:

Try below import
import kotlin.Unit;
import kotlin.jvm.functions.Function2;

I cant import  these into java...sir please help. .i am fresher

https://github.com/kyonifer/koma/issues/98 was the solution:
The classes it can't find are parts of the Kotlin standard library. Since you're not using Kotlin, you'll need to adjust your project's dependencies to include the kotlin standard library manually. If you're using gradle, that looks something like this:
repositories {
mavenCentral()
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib:1.3.21"
}

kyonifer/koma#98 was the solution:
The classes it can't find are parts of the Kotlin standard library. Since you're not using Kotlin, you'll need to adjust your project's dependencies to include the kotlin standard library manually. If you're using gradle, that looks something like this:
repositories { mavenCentral() }
dependencies { compile "org.jetbrains.kotlin:kotlin-stdlib:1.3.21" }

WORKS!


[FEATURE] Add set_structured_output method to LLM so Tasks can configure it

Is your feature request related to a problem? Please describe.
There are some Tasks that are tough to be used with structured output (e.g. a json schema defining the output of the LLM). Right now, the user has to take care of that and be aware that the Task works better with structured output and specifying the structured_output argument manually when instantiating the LLM class to be used by the Task.
Describe the solution you'd like
Tasks can define a preferred structured_output and they can call a set_structured_output method of the LLM to automatically set this preferred structured_output.

This means for example defining a predefined format for Ultrafeedback so we automatically use structured generation if nothing else is informed?


Notifications on prayer, dhikr, sleep and wakeup times

Splitting this issue into mutiple tasks

[ ] Notifications on prayer times
[ ] Notifications on dhikr times
[ ] Notifications on sleep and wakeup times

prayer notifications resolve on #38.
Creating other tasks as new issues.


Trigger external workflow

Currently we have this:
      - name: Trigger API Build
        run: |
          curl -X POST \
            -H "Accept: application/vnd.github.v3+json" \
            -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
            https://api.github.com/repos/littlehorse-enterprises/lh-user-tasks-api/dispatches \
            -d '{"event_type":"build","client_payload":{"repository":"${{ github.repository }}","sha":"${{ github.sha }}"}}'

It is not working I guess
Try to use something like this:
https://github.com/marketplace/actions/trigger-external-workflow

closed by #22


Async Custom Language Detector

Is it possible to have an asynchronous custom language detector? I need to call out to an API to get the user's stored locale preference, but since this is an async call, the value returned from my lookup function is null because the Promise returned from the API doesn't resolve until after the lookup call has completed. For now, I'm just calling the API directly and then calling i18n.changeLanguage once the Promise resolves (and not using a custom detector), but this causes the screen to flash briefly with my default language on first load. Any suggestions on how to work around this?

Looks like this is no longer available. Is there another documented example?

@brownbl1 the sample moved here: https://github.com/i18next/react-i18next/blob/master/example/v9.x.x/reactnative-expo/js/i18n.js#L7

Looks like the link isn't available anymore. Do you happen to still have an example? Thanks!

@michaelg-hf https://github.com/i18next/react-i18next/blob/v9.x.x/example/reactnative-expo/js/i18n.js
but for react-native use this one: https://github.com/i18next/react-i18next/blob/master/example/ReactNativeProject/i18n.js


Implement Renamer for CAS

Fixes #14, thanks very much to @wsx-ucb for his help on debugging.

CI fails with:
Error: The solution
         Π (_7 : x) → x
       is not well-scoped
       In particular, these variables are not in scope: `x`, `x`

bors try

bors r+

bors r+


Sds 2623

Adding Spectrum Documentation Website Slug
Description
Adding the Slug for the Documentation Website.
Summary: https://paper.dropbox.com/doc/Matching-components-from-Spectrum-CSS-to-Spectrum-Documentation-October-2019--AmoFLfMEb5JDCzut~MgPcpx1Ag-HqLp71eyfJ24cqB2TTS3H
How and where has this been tested?

How this was tested:
Manual matching of the components.

Screenshots

To-do list

[ ] If my change impacts other components, I have tested to make sure they don't break.
[x] If my change impacts documentation, I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.

[ ] This pull request is ready to merge.

some conflicts, needs re-basing.

closing and re-basing this to upstream master #337


Add Devs screening and IBM event to past events

As we've been doing with all events, we need to upload the two latest events we had

Devs Screening
IBM QNLP talk by Amin

Created pull request #42

Pull request merged


Fix for #24 - Likes limit

Does this work for "all" likes, or just 200?

Only 200 is this is the max limit the SoundCloud API can retrieve. There
might be a way to get all likes by doing multiple calls, hmm
On Mon, 11 Jan 2016, 10:27 PM Rich Jones<EMAIL_ADDRESS>wrote:

Does this work for "all" likes, or just 200?
—
Reply to this email directly or view it on GitHub
https://github.com/Miserlou/SoundScrape/pull/51#issuecomment-170527308.

--
Zach

The 200 limit is indeed an API limit by soundcloud, my concern is that once multiple calls for massive amounts are used it's very possible the existing developer credentials might get flagged and the account shutdown. Hence the "don't abuse this policy."


Ignore characters in (parens) when querying the title

Hello,
I am trying to run gaps 0.0.3 and it is failing to find many of my movies because the meta data in the file has data in it like 'Title (1080P)'.   So I get a query like:
2019-02-27 15:00:48.133 ERROR 19431 --- [           main] com.jasonhhouse.Gaps.GapsApplication     : Results not found for   (1080P) (2011)
I know this is bad data in my files, but I have a large number of files with this in it.   Would it be possible to just ignore anything between () when searching for the title?

Are you running a branch or develop? I haven't merged file support yet, so it would only be plex returning values like that.

I am running 0.0.3 branch.   It is plex that is returning those values as this is what the meta data in the file contains.   I was hoping that gaps could ignore those values in the title and send the query without the () data.

How are you setting that in the metadata for Plex? I'll need that to help build a repeatable example to remove.

The files are almost all m4v.   Meta data in the files were created using MetaX which pulls from various sources.    The title was manually overwritten from: 'title' to 'title (resolution)' in the file metadata (not the file name).  When Plex imports the files, it appears to ignore the data in the title between the parens to match appropriately.  So in Plex, the files all match correctly.  I don't do it this way any more, but I sure don't want to fix 1000+ files
The easiest way reproduce is to take an existing file, edit with MetaX or some other metadata editor and add the date or anything in parens to the title.    Then import into plex.   It should still match the right movie, but if you look at the title, it will show the whole thing including the parens.  This then gives grief to Gaps as it doesn't match when it does the lookup.

Sorry for the long delay.  It has taken me some time to get back to playing with Gaps.
I just did a completely fresh install using docker w/ gaps:latest and the issue persists.
For example, it is saying 30 Days of Night and 30 Das of Night Dark Days are missing from the 30 Days of Night Collection, but they are both there - they just also have (1080p) in the title.

Hello.    I spent a little more time on this issue this week and now I am even more confused.
I have updated to v0.2.2
In plex, I also figured out how to get it to not utilize the local metadata that is in the files.   It is now pulling data only from the moviedb.   As a result, of all my meta data with (1080p) in the movie title is now gone.
I was hopeful this would resolve the issue with gaps, but unfortunately, it is still the same.   I found the recommendedMovies.json file and looking through it, many (most) of the movies it is recommending are movies already in my collection.   Any thoughts on how to further diagnose?

Gaps 0.v48 has now fixed many of my matching issues.
I still need to ensure that I do lookups based on themoviedb and not from local content.   I think this can be closed.


AIX use force poll poll Selector by default

On AIX, we are having trouble implementing pollset for Selector. We would like to opt-in to the mio_unsupported_force_poll_poll.

Can you add CI support for this? See https://github.com/tokio-rs/mio/blob/d8d68ac6373a197af435a80d61d71963678fff97/.github/workflows/ci.yml#L128-L135

Seems like the random crate doesn't compile?
  error[E0425]: cannot find function `fill_bytes` in module `sys`
    --> /home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/random.rs:66:14
     |
  66 |         sys::fill_bytes(bytes)
     |              ^^^^^^^^^^ not found in `sys`

  error[E0425]: cannot find function `fill_bytes` in this scope
    --> /home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/random/mod.rs:92:5
     |
  92 |     fill_bytes(&mut buf);
     |     ^^^^^^^^^^ not found in this scope

It seems like we don't have the full stdlib support yet in upstream Rust. It compiles and tests fine downstream.
Would it be okay to leave aix out of the CI for now?
Also, I'm seeing a CI / Sanitizer (leak) in the checks.

Thanks for the info. I removed it from CI and created a new issue mentioning it https://github.com/tokio-rs/mio/issues/1834.

Thanks @mustartt


feat: Yolov5 Object detector UDF

Adding Yolov5 Object Detector UDF.
About 100x faster than fasterRCNNObjectDetector, when used with EVA.

Also, please add test cases for this UDF. You can add testcases similar to FasterRCNN. Look at examples in integration_tests

Can we get rid of FasterRCNN at the same time?

The test cases are not being executed -- the formatting error has to be fixed first: https://app.circleci.com/pipelines/github/georgia-tech-db/eva/1946/workflows/751a8b36-3ae8-4996-9b20-e9b278571379/jobs/2752?invite=true#step-106-19


Support parsing further keypresses and refactor key events

It would be nice to detect and emit:

Holding shift and control when pressing arrow keys
More control characters (e.g. ^L, ^P, ^W, etc.)
Function keys (F1, F2, and so on)
^V followed by another control character to allow entering literal values as a normal "keypress" event

Currently, special keypresses get emitted as separate events. This can be difficult to work with, so I'm proposing switching to only having several events:

"keypress", for normal keys
"control", for pressing control sequences
"arrow", for pressing arrow keys
"meta", for pressing special keys on the keyboard, like "home", "end", etc.

It might be good not to overload the name meta here, as it's not unreasonable to use that name to describe Meta-Key combinations -- e.g., M-x would result in the sequence (ESC, x) on the wire.
I'm also not sure what to do about Shift-Tab, for instance.  It seems reasonable to represent Tab as {{^I}} through the {{control}} event, but what about Shift-Tab?  I believe that turns into (ESC, [, Z) on the wire.  Perhaps we should also emit the more symbolic tab via whatever the meta event is called, with shift set appropriately?

I suspect it would also be worthwhile to make support for ^V something that the consumer can enable or disable.

I've created a pull request that contains the changes I've made for this. I decided to remove the ^V bits, and leave that up to applications to implement. (Many applications that work with ^V for entering literal characters like to show an indicator to make the state clear to the user, like a reverse video ^ character.)
I thought about Shift+Tab for a while, and wasn't really satisfied with indicating it as a tab character with a shift modifier. After thinking about it for a while, I decided to represent it as a "special" event, named "reverse-tab", to line up with how XTerm and others refer to it.
While making these changes, I used this documentation for information on some of the keypresses, and modifier combinations.

Merged as 516f829 and published as<EMAIL_ADDRESS>


Add 4 new icon links

Description

Type of change

:x: Bug fix (non-breaking change which fixes an issue)
:white_check_mark: Icon addition (non-breaking change that adds/modifies Lawnicons's icons)
:x: General change (non-breaking change that doesn't fit the above categories like copyediting)

Icons addition information

Icons linked

Fork Client - fork of Telegram messenger (linked org.forkgram.messenger to @drawable/telegram)
InnerTune - YouTube Music client (linked com.zionhuang.music to @drawable/mi_music)
Simple Dialer (linked com.simplemobiletools.dialer to @drawable/dialer)
Simple Voice Recorder (linked com.simplemobiletools.voicerecorder to @drawable/Recorder)

Thanks!


Is possible to do this nowdays with Gnome/X11/libinput ?

as above

Hello, Grigio,
I haven't looked into this code for some time but people maintaining freedesktop said:

See comment #10 for the summary, we're pushing this to the compositor.

(See here: https://bugs.freedesktop.org/show_bug.cgi?id=89999)

Thanks for the update, I'll follow that

No, there won't be anything. Check my recent comment: https://bugzilla.gnome.org/show_bug.cgi?id=768421#c5
We need to figure it out the way by OURSELVES. Guys, are you interested in getting this done?

Ah..... I stopped working on this thing last year because I need to get graduate school stuff done && some other obligations. ლ(ಠ益ಠლ)
Also as I remember the code in this repository still have some minor bugs that have to be fixed.
Maybe I am a bit too lazy and just lack a push to bring this thing further (to production quality.)
Thanks Ricky for the comments, I'll check out TigerSoldier's hacks in LibInput here. https://github.com/tigersoldier/libinput/tree/wip/three-fingers-dragging

The link you post is dead.
Someone suggest to use bounty to motivate them to fix: https://bugzilla.gnome.org/show_bug.cgi?id=768421#c10
That's not a bad idea. It will take me at least a month of spare time to figure it out and patch it.

@rickyzhang82 Sorry for the bad link, I fixed the link. It should point to https://github.com/tigersoldier/libinput/tree/wip/three-fingers-dragging .

See also this libinput bug https://bugs.freedesktop.org/show_bug.cgi?id=89999 where I just now argued in favor of this.

The sad thing is that on Ubuntu 16.04 there are actually three drivers for touchpad:

xserver-xorg-input-synaptics-hwe-16.04
xserver-xorg-input-mtrack-hwe-16.04
xserver-xorg-input-libinput-hwe-16.04

I tried all of them on a Lenovo T460s but none of them supports three-finger-drag out of the box. However, the touchpad does support three and four finger guestures (use libinput-debug-events to observe swipe and pinch gestures).

@schlomo Thank you for your argument and I've also seen the replies in bug 89999 regarding libinput and composer ---- I don't quite like the idea of filing a bug in every compositor, but it did look like Ubuntu Unity has some 4-finger dragging enabled in as early as 2014~2015. So this is worth looking into.
I would probably argue that having 3 finger drag in the driver provides some "default behavior" for the 3-finger related gestures/drags, but that would depend on how slowly or how fast the compositors adopt 3 finger drags.
Anyway, I have fixed some bugs in the current code; I haven't looked at it for about a year and this time I found a bunch of problems which would make users think this thing is totally useless. Hopefully after the fixes in the past few days they would be less likely to think so. :-S


fix: provide version attribute

Change Summary
Provide __version__ attribute.
Pyinstaller is giving an error packaging a script that uses pydantic, AttributeError: Module 'pydantic' has no attribute '__version__'
Related issue number
fix #2572
Checklist

[n/a] Unit tests for the changes exist
[n/a] Tests pass on CI and coverage remains at 100%
[n/a] Documentation reflects the changes where applicable
[x] changes/<pull request or issue id>-<github username>.md file added describing change
(see changes/README.md for details)

looks good, please could you:

rebase off or merge master to fix tests.
add a test to confirm this attribute present and a string

Ready @samuelcolvin

thanks so much.


Pass through OPTIONS requests without oauth redirect

Deploying this function results in blocking any CORS request. Main issue here is that when browser issues preflight request via OPTIONS (https://www.w3.org/TR/cors/#cross-origin-request-with-preflight-0 and https://developer.mozilla.org/en-US/docs/Glossary/Preflight_request) it doesn't include any cookies, that results in constant redirect to oauth provider, that cannot be completely resolved, because there are no cookies allowed.
Unfortunately CloudFront doesn't allow specifying that OPTIONS requests should be executed without triggering Lambda@Edge function. The only way to pass those requests is in function code only.

Any feedback with this issue at all ? Now that CloudFront is triggering a preflight request (which it wasn't 6 months ago), this approach is no longer valid.


docs: fix one TypeScript example in Mock Functions documentation

Summary
Just noticed that one of the examples in Mock Functions documentation needs to be typed. Here scalar is of type any, because of missing annotation:
const mockFn = jest.fn(scalar => 42 + scalar);

Must be:
const mockFn = jest.fn((scalar: number) => 42 + scalar);

Test plan
Green CI.

Is it possible for scalar to be unknown instead of any?

Is it possible for scalar to be unknown instead of any?

That’s good question. In a way, scalar implicitly has any and that type is respected, but why TS does not complain with "implicitly has an 'any' type"? I will look at this.