部署报错 你现在处于部署环境None

这是哪一步

这是哪一步

docker 启动报错

同样的问题，日志如下：
docker logs

ubuntu@abby-zetland:~/sublink$ docker logs sublink
[2024-03-15 13:49:46 +0800] [7] [INFO] Starting gunicorn 21.2.0
[2024-03-15 13:49:46 +0800] [7] [INFO] Listening at: http://<IP_ADDRESS>:5000 (7)
[2024-03-15 13:49:46 +0800] [7] [INFO] Using worker: sync
[2024-03-15 13:49:46 +0800] [9] [INFO] Booting worker with pid: 9
[2024-03-15 13:49:46 +0800] [10] [INFO] Booting worker with pid: 10
[2024-03-15 13:49:46 +0800] [11] [INFO] Booting worker with pid: 11
[2024-03-15 13:49:46 +0800] [12] [INFO] Booting worker with pid: 12
[2024-03-15 13:49:47 +0800] [9] [ERROR] Exception in worker process
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 1965, in _exec_single_context
self.dialect.do_execute(
File "/usr/local/lib/python3.8/site-packages/sqlalchemy/engine/default.py", line 921, in do_execute
cursor.execute(statement, parameters)
sqlite3.OperationalError: table user already exists
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/gunicorn/arbiter.py", line 609, in spawn_worker
worker.init_process()
File "/usr/local/lib/python3.8/site-packages/gunicorn/workers/base.py", line 134, in init_process
self.load_wsgi()
File "/usr/local/lib/python3.8/site-packages/gunicorn/workers/base.py", line 146, in load_wsgi
self.wsgi = self.app.wsgi()
File "/usr/local/lib/python3.8/site-packages/gunicorn/app/base.py", line 67, in wsgi
self.callable = self.load()
File "/usr/local/lib/python3.8/site-packages/gunicorn/app/wsgiapp.py", line 58, in load
return self.load_wsgiapp()
File "/usr/local/lib/python3.8/site-packages/gunicorn/app/wsgiapp.py", line 48, in load_wsgiapp
return util.import_app(self.app_uri)
File "/usr/local/lib/python3.8/site-packages/gunicorn/util.py", line 371, in import_app
mod = importlib.import_module(module)
File "/usr/local/lib/python3.8/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1014, in _gcd_import
File "", line 991, in _find_and_load
File "", line 975, in _find_and_load_unlocked
File "", line 671, in _load_unlocked
File "", line 843, in exec_module
File "", line 219, in _call_with_frames_removed
File "/app/run.py", line 5, in
create_db()
File "/app/app/model.py", line 30, in create_db
db.create_all() # 创建所有表
File "/usr/local/lib/python3.8/site-packages/flask_sqlalchemy/extension.py", line 900, in create_all
self._call_for_binds(bind_key, "create_all")
File "/usr/local/lib/python3.8/site-packages/flask_sqlalchemy/extension.py", line 881, in _call_for_binds
getattr(metadata, op_name)(bind=engine)
File "/usr/local/lib/python3.8/site-packages/sqlalchemy/sql/schema.py", line 5813, in create_all
bind._run_ddl_visitor(
File "/usr/local/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 3239, in _run_ddl_visitor
conn._run_ddl_visitor(visitorcallable, element, **kwargs)
File "/usr/local/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 2443, in _run_ddl_visitor
visitorcallable(self.dialect, self, **kwargs).traverse_single(element)
File "/usr/local/lib/python3.8/site-packages/sqlalchemy/sql/visitors.py", line 670, in traverse_single
return meth(obj, **kw)
File "/usr/local/lib/python3.8/site-packages/sqlalchemy/sql/ddl.py", line 922, in visit_metadata
self.traverse_single(
File "/usr/local/lib/python3.8/site-packages/sqlalchemy/sql/visitors.py", line 670, in traverse_single
return meth(obj, **kw)
File "/usr/local/lib/python3.8/site-packages/sqlalchemy/sql/ddl.py", line 955, in visit_table
CreateTable(
File "/usr/local/lib/python3.8/site-packages/sqlalchemy/sql/ddl.py", line 315, in _invoke_with
return bind.execute(self)
File "/usr/local/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 1412, in execute
return meth(
File "/usr/local/lib/python3.8/site-packages/sqlalchemy/sql/ddl.py", line 181, in _execute_on_connection
return connection._execute_ddl(
File "/usr/local/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 1524, in _execute_ddl
ret = self._execute_context(
File "/usr/local/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 1844, in _execute_context
return self._exec_single_context(
File "/usr/local/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 1984, in _exec_single_context
self._handle_dbapi_exception(
File "/usr/local/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 2339, in _handle_dbapi_exception
raise sqlalchemy_exception.with_traceback(exc_info[2]) from e
File "/usr/local/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 1965, in _exec_single_context
self.dialect.do_execute(
File "/usr/local/lib/python3.8/site-packages/sqlalchemy/engine/default.py", line 921, in do_execute
cursor.execute(statement, parameters)
sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) table user already exists
[SQL:
CREATE TABLE user (
id INTEGER NOT NULL,
username VARCHAR(40),
password VARCHAR(40),
name VARCHAR(40),
PRIMARY KEY (id)
)
]
(Background on this error at: https://sqlalche.me/e/20/e3q8)
[2024-03-15 13:49:47 +0800] [9] [INFO] Worker exiting (pid: 9)
你现在处于部署环境None
[2024-03-15 13:49:47 +0800] [7] [ERROR] Worker (pid:9) exited with code 3
[2024-03-15 13:49:47 +0800] [10] [INFO] Worker exiting (pid: 10)
[2024-03-15 13:49:47 +0800] [11] [INFO] Worker exiting (pid: 11)
你现在处于部署环境None
你现在处于部署环境None
初始化用户表
[2024-03-15 13:49:47 +0800] [12] [INFO] Worker exiting (pid: 12)
你现在处于部署环境None
[2024-03-15 13:49:47 +0800] [7] [ERROR] Shutting down: Master
[2024-03-15 13:49:47 +0800] [7] [ERROR] Reason: Worker failed to boot.

重新启动试试

重新启动试试

重新登录可以解决

我也遇到了同样的问题，重启没用

我重启也没有用


Ole Martin Setup Personal Enviro device.

Setup the Raspberry pi with eviro to Azure IoT

[x] Connect to PI Zero. And setup wit local wifi.
[x] Configure for remote development. Hint https://code.visualstudio.com/docs/remote/remote-overview
[x] Install and setup Enviro project get it todo something.
[ ] Install Azure Device SDK and create device in Hub
[ ] Write device "driver" for Azure IoT Hub.

Abandoning it for now I have a shuttle to remote.


[Feature][Connector-V2] Support multi-table sink feature for kudu

Search before asking

[X] I had searched in the feature and found no similar feature requirement.

Description
Support multi-table sink feature for kudu
Usage Scenario
No response
Related issues
No response
Are you willing to submit a PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

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

link #5652


Fix assign_release_conductor.yml

[x] Add branch check
[x] Get pagerduty schedule instead of on-call
[x] Add assignee
[x] Add reviewer

Self reviewing because it's a safe scoped change :)


Multi-Year Ranking History Graph

Build a component that enables switching between views of a team's ranking over multiple episodes!
Related to #782 :rocket:

oh this is cool, first time I've seen people use this. sure thing!

@Desperationis can we add tags to the charts for the tournaments? Like on jmerle's charts 😎


Full width slider, how to move arrows toward middle of screen?

I have a full width slider. It stretches across the entire browser.
My arrows, I don't want them to be on the far left and right side of the slider. I need them closer to the middle, at a maximum of 1000px distance between them, centered.
Doing this is easy: make an absolutely positioned div (that sits next to the slider in the DOM), that contains the arrows. Center it and add a max-width: 1000px; to it. Perfect, now the arrows are where I need them.
BUT, the problem is now that this absolutely positioned div is on top of my slider. I cannot click through it to click content on the slider or drag to the next slide.
Is there a clear solution for how to accomplish this?

Well definitely skip the div. Center the arrows horizontally with an offset of half 1000px in the arrow's respective direction.
https://github.com/kenwheeler/slick/blob/master/CONTRIBUTING.markdown

Sorry, I'm redirecting this support request to https://www.reddit.com/r/slickcarousel/comments/4l7gbv/center_arrows_in_full_width_slider/. Still some questions about this regarding doing this in a responsive/fluid layout.

Any chance for some more support on this topic?
https://www.reddit.com/r/slickcarousel/comments/4l7gbv/center_arrows_in_full_width_slider/

Nevermind I finally figured it out.

Good job. Thanks for sharing :|

@Dean-Wilson It was @leggomuhgreggo's suggestion that I used.


Create specific README files for foundry and hardhat options

Description
Delete base template README and create 2 different README files, with the specific commands and file routes for Hardhat or Foundry. Add each file to their corresponding template folder.
Additional Information

[X] I have read the contributing docs (if this is your first contribution)
[X] This is not a duplicate of any existing pull request

Related Issues
Closes #755
Your ENS/address: pabl0cks.eth

Maybe the common parts between both READMEs can be in another file, and when the extension is installed, the README is merged.

But not sure it's easy to do with .md files and with multiple params

Just templated the READEME's because if you choose "none" for "What solidity framework do you
want to use?" option you were not getting any README (lol but I agree that  "none" option mostly no one uses)
For now templated the whole QuickStart section because it had differences based on option's selected.
Also if anyone want's to test quickly you could select no for install dependencies and copy changes from #784

Just templated the READEME's because if you choose "none" for "What solidity framework do you
want to use?" option you were not getting any README (lol but I agree that "none" option mostly no one uses)

Great!

For now templated the whole QuickStart section because it had differences based on option's selected.

Noticed that half of quick start still copypasted. Maybe divide it to smaller but specific templates, like runLocalNetworkDescription, deployContract and runTests?

Maybe divide it to smaller but specific templates, like runLocalNetworkDescription, deployContract and runTests?

Ohh yes! I had the same thought but when we add more plugins like the subgraph etc I thought maybe its better to templatise the whole quickstart section.
But yeah 100% agree that we could make it more granular 🙌 For this PR keeping it as it but in future we should update it
Thanks all ! Mering this 🙌

Thanks for the reviews! ♥ Nice catch and great improvements @technophile-04 🙌


Bump version to 0.19.2rc2

resolves #173
Description
Bump version to 0.19.2rc2 to match dbt Core.
Checklist

[x] I have signed the CLA
[x] I have run this code in development and it appears to resolve the stated issue
[x] This PR includes tests, or tests are not required/relevant for this PR
[x] I have updated the CHANGELOG.md and added information about my change to the "dbt next" section.

Can you change the base branch of this PR to target the 0.19.latest branch?


Want to add car game using C++

Prerequisites

[X] I am a GSSoC-22 Participant
[X] I checked to make sure that this issue has not already been filed

Description
It will be a graphical game made using c++.
Tech Stack
C++

@manisha-27 @heet-kumar @abhijeet007rocks8 Please Assign this to me.

@Avik-creator go for it . Good Luck 👍


DOC: Add Guidelines for Project Setup in local machine

What's wrong with the existing documentation
I would like to contribute by adding commands for branching, committing changes as well as the push the changes in proper format to clone the project in the user's local system. Please add the hacktoberfest label.
Add ScreenShots

Record

[X] I agree to follow this project's Code of Conduct
[ ] I'm a GSSOC'24 contributor
[X] I want to work on this issue

Yes I will start working on this and will create a PR soon
On Sat, Oct 12, 2024 at 11:30 PM github-actions[bot] <
@.***> wrote:

Assigned #3328 https://github.com/anuragverma108/SwapReads/issues/3328
to @Aayush2308 https://github.com/Aayush2308.
—
Reply to this email directly, view it on GitHub
https://github.com/anuragverma108/SwapReads/issues/3328#event-14617484889,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BDCGQ2NXCJFFRCVRQ7YTFQLZ3FPUHAVCNFSM6AAAAABP2TTHL6VHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJUGYYTONBYGQ4DQOI
.
You are receiving this because you were assigned.Message ID:
@.***>


Could do with better documentation

Hi,
This project looks very interesting, but it could really do with more detailed documentation, and some examples etc. (I can't find a single example shipitfile.js on the web).  It's not entirely clear to me what the scope of the project is, what exactly it adds on top of Orchestrator, what features are shipit and what the shipit-deploy plugin etc.. (I had a look at the shipit source, and was a bit confused to see references to 'keepReleases' and 'shallowClone' which I thought would be part of shipit-deploy).
Cheers

@bgSosh yes I agree

The documentation is cheap especially for shipit-deploy, any contributions are welcome.

Yeah, documentation is a bit light, notably for shipit-deploy. An explanation of some variable purpose would be great like shallowClone, plus in option, an example when useful.
Concerning the servers option, it is said it can be either a String or an Array<String> but in the sample under, it is an Array<Object> which notation is not documented. Is there a third notation ?

@jdat82 not only the ones you listed

Documentation will be improved in v4, released at the end of the month.


iOS: Preserve story for backgrounding

Basically just return to the last feed/folder > story > story scroll position when starting the app. Would be nice if we had a choice preference for "Return to last story [on/off]" so you could turn this feature off (status quo), but default it to on.

This is related to issue #1173.
The ideal solution for both would be to implement state restoration, so the app relaunches in the state it was last used, or as close as possible.
Not a trivial undertaking, given the complex nature of the views, but perhaps worthwhile.
For the preference, it might make sense to have a time limit, e.g. only restore the state if within 24 hours, or similar. That could be a preference, perhaps with options like Never, Within 24 Hours, Within 12 Hours, ..., Always.

Love the preference for this. It's something I know I wish I could change in other apps.

Now supported for iPhone; iPad support will be added later, so I'll leave this open for now.

Can we increase the max from 1 day to 1 week? I find that I check NewsBlur once or twice a day but it doesn't preserve my location perfectly yet. I have a feeling it's just taking too long between refreshes.

The maximum already is 1 week (or never). You might need to scroll to see that option if you're using a small screen.

So I'm having some difficulty getting this feature to open the right story or reload the river. When I'm looking at a story list and leave the app, when I return the feed/folder isn't always reloaded. Sometimes it is, though.
Secondly, when I'm looking at a story, if the feed has lots of stories, the story is gone and I'm on some random story, which is not a good experience. I'd rather kick the user back out to the feed list than load them on to the wrong story.

If you force quit the app, it doesn't do state restoration.
I've changed it to pop to the feed detail if the story isn't available, instead of loading the next unread one as before.


Import a73d669246: Added comments to .gitlab-ci.yml if we wanted to build interface (by Maki)

This is an automated proposal to look at a commit made by Maki and import it into Overte

Commit:
a73d669246b4768bb4a3f2c8385e93a671f64557

Author:
Maki

Date:
Wed, 05 Feb 2020 23:12

Added comments to .gitlab-ci.yml if we wanted to build interface

Stats:

Filename
Stats
Lines
Added
Removed
Lines in blame

.gitlab-ci.yml

3
3
0
⚠ 0

1 files
-
3
3
0
0

To work on this, please assign the issue to yourself, then look at the commit and decide whether this would be a good addition to Overte.

If the commit is useful, tag it with "Tivoli: Keep", and keep it open until it's merged.
If the commit is not useful, tag it with "Tivoli: Discard", and close it.
If the commit is not useful right now, but might be later, tag it with "Tivoli: Maybe later", and close it.
If it's hard to decide, tag it with "Tivoli: Discuss", and keep it open.

Useful commits should be submitted as a PR against Overte. Tag this issue in PR, so that it's automatically closed once the PR is merged.
You can cherry-pick this issue with this command:
git cherry-pick a73d669246b4768bb4a3f2c8385e93a671f64557

Duplicate of #151


Reverse search fails with no response from server, but iqdb.harry.lu is up and works in browser

Results page is stuck in infinite load, curl can't get result within timeout time, even when it reaches timeout and has part of the website data returned it will return false because it didn't finish loading.
iqdb.harry.lu has this issue from time to time, wait few days.

Applied a workaround in updated version.


Interactive Tutorial - Creating a Cluster - Env is not starting

/label team/katacoda

/kind support

/remove-lifecycle rotten

/remove-lifecycle stale

/remove-lifecycle rotten

@Ayzrian, the katacoda service was not as reliable as it could be. If this happens again, please try another time.
/close


Update main.go

there is no definition  for toscalib.ToscaDefinition, i think it should be toscalib.ServiceTemplateDefinition

I didn’t touch this project in ages.
I think it should be completely rewritten and use gonum’s graph and dot/encoding package.
If you have a proper use case, I may help you with this, but to be honest, I don’t work with Tosca anymore.
I merge your PR in case it can help you though.
Thanks for your interest.


fix: support .tar.xz archives for Firefox 135+

Closes https://github.com/puppeteer/puppeteer/issues/13390

I Need this fix :)


doc Use git clone instead of git checkout and suggest wrapping the po…

I am assuming this is a minor doc issue and I am not follow the pull request template. Also bear with me because this is my first contribution. I had encountered the doc issues when I was trying to follow the doc steps as newbie developer.

@juandemanjon would you mind signing the CLA?
Sorry for the unreasonably late response.

@juandemanjon would you mind signing the CLA?
Sorry for the unreasonably late response.

@2opremio I did long time ago, but I just have signed the CLA again.

@2opremio I did long time ago, but I just have signed the CLA again.

@cla-bot check

@cla-bot check

@juandemanjon I think the problem is due to the email you used in the commit, would you mind double-checking that's the identity you want and that you signed the CLA with that identity?
Thanks (And sorry again for the unreasonable delay)

@juandemanjon I think the problem is due to the email you used in the commit, would you mind double-checking that's the identity you want and that you signed the CLA with that identity?
Thanks (And sorry again for the unreasonable delay)

@2opremio I have dup the pull request at https://github.com/stellar/go/pull/3309

@2opremio I have dup the pull request at https://github.com/stellar/go/pull/3309


:bug: Raise addon csr threshoud to 11

Summary
https://issues.redhat.com/browse/ACM-11947
In 2.11. We add the OU in registratonConfiguration of cluster-proxy-addon: https://github.com/open-cluster-management-io/cluster-proxy/pull/183
But in the upgrade case, it will trigger the klusterlet-agent(2.10) stop and start clientCertificateController many times and create a lot of CSRs:
I0602 17:31:08.704725       1 base_controller.go:172] Shutting down ClientCertController@addon:cluster-proxy:signer:open-cluster-management.io/proxy-agent-signer ...
I0602 17:31:08.704778       1 base_controller.go:114] Shutting down worker of ClientCertController@addon:cluster-proxy:signer:open-cluster-management.io/proxy-agent-signer controller ...
I0602 17:31:08.704790       1 base_controller.go:104] All ClientCertController@addon:cluster-proxy:signer:open-cluster-management.io/proxy-agent-signer workers have been terminated
I0602 17:31:08.784076       1 base_controller.go:67] Waiting for caches to sync for ClientCertController@addon:cluster-proxy:signer:open-cluster-management.io/proxy-agent-signer
I0602 17:31:08.985512       1 base_controller.go:73] Caches are synced for ClientCertController@addon:cluster-proxy:signer:open-cluster-management.io/proxy-agent-signer
I0602 17:31:08.985614       1 base_controller.go:110] Starting #1 worker of ClientCertController@addon:cluster-proxy:signer:open-cluster-management.io/proxy-agent-signer controller ...
I0602 17:31:08.996511       1 event.go:364] Event(v1.ObjectReference{Kind:"Deployment", Namespace:"open-cluster-management-agent", Name:"klusterlet-agent", UID:"f312e9e9-9cef-4df2-ad48-299e4b6251d3", APIVersion:"apps/v1", ResourceVersion:"", FieldPath:""}): type: 'Normal' reason: 'NoValidCertificateFound' No valid client certificate for ClientCertController@addon:cluster-proxy:signer:open-cluster-management.io/proxy-agent-signer is found. Bootstrap is required
I0602 17:31:09.011564       1 event.go:364] Event(v1.ObjectReference{Kind:"Deployment", Namespace:"open-cluster-management-agent", Name:"klusterlet-agent", UID:"f312e9e9-9cef-4df2-ad48-299e4b6251d3", APIVersion:"apps/v1", ResourceVersion:"", FieldPath:""}): type: 'Normal' reason: 'CSRCreated' A csr "addon-local-cluster-cluster-proxy-4k95n" is created
I0602 17:31:09.101409       1 base_controller.go:172] Shutting down ClientCertController@addon:cluster-proxy:signer:open-cluster-management.io/proxy-agent-signer ...
I0602 17:31:09.101536       1 base_controller.go:114] Shutting down worker of ClientCertController@addon:cluster-proxy:signer:open-cluster-management.io/proxy-agent-signer controller ...

We need to make  klusterlet-agent(2.11) to have a higher addonCSRThreshold so that after klusterlet-agent(2.11) start, it won't pending on the condition: Stop creating csr since there are too many csr created already on hub

The PR on registration_controller to fix the loop csr creations is also WIP.

/assign @qiujian16

/hold
Wait for branch cut.

/close


Default tag_name and release_name to be github.ref

For most workflows (indeed, even in the example for this action), this action will be scoped to only run for version tags. So for most workflows, it is highliy likely that the tag-name for the release ought to be the same as ${{ github.ref }}. In the spirit of convention over configuration, that would make a desirable default.
Similarly for the release_name. This actually results in the same behavior as when creating a release manually through the UI (the default release name is the same as the tag name, unless given explicitly).
(Pattern of setting defaults via expression directly in the manifest taken from actions/checkout.)

closes #26

@jasonkarns Additionally please remove the refs/tags portion of the string from body:
const body = core.getInput('body', { required: false }).replace('refs/tags/', '');

Currently, it is displaying like this:

@shivapoudel I'm not against that, but doing so would be a more invasive change that would decrease the chance this PR gets merged. Perhaps open as a separate PR?

@jasonkarns Thanks for the suggestion, I have raised a PR #66 for this separately.

bump

In my repository, github.ref evaluates to refs/heads/master when I push directly to the master branch. As a consequence, I had to spend some time on the non-trivial task to remove a tag with this special name from the remote again ... (turns out that, through detours, you can delete a tag directly from the GitHub web interface). Did they change this behavior, or could I have misconfigured my workflow?
Otherwise, I'd propose to choose another default tag name, also in the example in the README.md, maybe based on the commit SHA (github.sha) or the current date (for example, this can be achieved using the<PHONE_NUMBER>/get-current-time@v1 action).
Just my 2 cents :)

I followed the readme, ended up with 'Release refs/heads/master' :(

github.sha doesn't work due to this error: pre_receive Sorry, branch or tag names consisting of 40 hex characters are not allowed.


[No QA] Update GitUtils to work with manual version bumps

Details
We include --shallow-exclude as an optimization to make our workflows faster (by avoiding fetching the full git history every time we checkout or fetch). This saves a couple minutes for every workflow run that needs git history (and this time would only go up over time).
It broke because it relied on normal semver version bumps to work, but we manually jumped from 1.4 to 9.0. We were grabbing the previous patch version (8.0 in this case), and then running git fetch origin main staging --no-tags --shallow-exclude="8.0.0-0". But because there was no tag for 8.0.0-0, that command failed.
I fixed this by getting the previous version in a loop until we find one for which a tag actually exists.
Fixed Issues
$ https://expensify.slack.com/archives/C03V9A4TB/p1718917022181759
Tests
Merge and CP to test. I also added an automated test to cover this edge case. Did TDD to verify that it was failing as expected without the changes here, then made the changes and verified it passed ✅.

[x] Verify that no errors appear in the JS console

Offline tests
None.
QA Steps
None.

[x] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label and/or tagged @Expensify/design so the design team can review the changes.

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

Android: Native

Android: mWeb Chrome

iOS: Native

iOS: mWeb Safari

MacOS: Chrome / Safari

MacOS: Desktop

Reviewer Checklist

[ ] I have verified the author checklist is complete (all boxes are checked off).
[ ] I verified the correct issue is linked in the ### Fixed Issues section above
[ ] I verified testing steps are clear and they cover the changes made in this PR

[ ] I verified the steps for local testing are in the Tests section
[ ] I verified the steps for Staging and/or Production testing are in the QA steps section
[ ] I verified the steps cover any possible failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[ ] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)

[ ] I checked that screenshots or videos are included for tests on all platforms
[ ] I included screenshots or videos for tests on all platforms
[ ] I verified tests pass on all platforms & I tested again on:

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[ ] MacOS: Chrome / Safari
[ ] MacOS: Desktop

[ ] If there are any errors in the console that are unrelated to this PR, I either fixed them (preferred) or linked to where I reported them in Slack
[ ] I verified proper code patterns were followed (see Reviewing the code)

[ ] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick).
[ ] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[ ] I verified that comments were added to code that is not self explanatory
[ ] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[ ] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method
[ ] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[ ] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
[ ] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[ ] I verified the JSDocs style guidelines (in STYLE.md) were followed

[ ] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[ ] I verified that this PR follows the guidelines as stated in the Review Guidelines
[ ] I verified other components that can be impacted by these changes have been tested, and I retested again (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar have been tested & I retested again)
[ ] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[ ] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[ ] If a new component is created I verified that:

[ ] A similar component doesn't exist in the codebase
[ ] All props are defined accurately and each prop has a /** comment above it */
[ ] The file is named correctly
[ ] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[ ] The only data being stored in the state is data necessary for rendering and nothing else
[ ] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[ ] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[ ] All JSX used for rendering exists in the render method
[ ] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[ ] If any new file was added I verified that:

[ ] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[ ] If a new CSS style is added I verified that:

[ ] A similar style doesn't already exist
[ ] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)

[ ] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[ ] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[ ] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[ ] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[ ] If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:

[ ] I verified that all the inputs inside a form are aligned with each other.
[ ] I added Design label and/or tagged @Expensify/design so the design team can review the changes.

[ ] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[ ] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[ ] I have checked off every checkbox in the PR reviewer checklist, including those that don't apply to this PR.

Screenshots/Videos

Android: Native

Android: mWeb Chrome

iOS: Native

iOS: mWeb Safari

MacOS: Chrome / Safari

MacOS: Desktop

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Cherry-picked to staging by https://github.com/AndrewGable in version: 9.0.0-7 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/AndrewGable in version: 9.0.0-9 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

@roryabraham the file CIGitLogicTest.ts is a quite expensive test that runs everytime on npm run test since it was put inside /unit dir.
But is it really a unit test? right now this 1 file runs for 70seconds on my m3 mac and fails, which makes the whole test command fails as well.
Can we treat this as not a unit test and exclude it from the basic test run? feels to me like something more complex, closer to integration test than a unit test?

Hey, @roryabraham today I wanted to run tests and I got bizarre stuff going on. Undeterministic number of tests is failing. Almost all of them with the error visible on the screenshot. It stopped when I removed the file CIGitLogicTest.ts.

Sorry for the inconvenience. I think the flakiness from this test was fixed in https://github.com/Expensify/App/pull/44967


Slowness in Tesseract OCR

I am currently working on performing OCR using Tesseract. I am using Tess4j version 4.4.1 to scan documents. We notice that any clear document is taking 20-30 sec to perform OCR. But if the image has some distortions or unclear its taking more than a min to OCR. I would like to understand what are all the major factors that would impact Tess4j performance. All our images would have distortions, have many lines, drawings, hand written (though hand written need not be OCRed). Also, we would like to understand how to get rid of this slowness?
As per our project requirements we have nearly 650K documents to scan. So this slowness will definitely impact.
Following is the code snippet we are using
Tesseract tesseract = new Tesseract();
tesseract.setLanguage("eng");
tesseract.setDatapath(dataDirectory.toString());
String result = tesseract.doOCR(image);

Please respect guidelines for posting issue: use tesseract user forum for asking questions/support.
Make sure you read docs first, search forum and other issues (even closed).


Pass anonymous tracking ID to dashboard URLs

Change-type: patch
Signed-off-by: Roman Mazur<EMAIL_ADDRESS>

Yes, we'll need to handle utm parameters separately. They are not yet
tracked automatically except Google Analytics.
On Tue, Oct 15, 2019, 12:13 gelbal<EMAIL_ADDRESS>wrote:

@gelbal approved this pull request.
Looks good Roman.
One quick question: Do we need to do anything explicit here to handle UTM
parameters like we do in Blog?
(Of course this could be a later PR when we start doing marketing
campaigns that direct users to Docs)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/balena-io/docs/pull/1183?email_source=notifications&email_token=AACLD632AM5VQRNLQPZAQOTQOWCRZA5CNFSM4JARHE6KYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCH6H4XY#pullrequestreview-301760095,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACLD63UOZAAZJSAWPGNPPLQOWCRZANCNFSM4JARHE6A
.


fix(table): apply lightweight styling to header

Closes #837
Summary

Fixes lightweight table header styling

Acceptance Test (how to verify the PR)

Verify with lightweight design story.  In a stateful store, toggle the lightweight knob and verify the column selection, filtering, and bulk action states.

@davidicus working this now

:tada: This PR is included in version 2.37.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Regenerate KeyVault SDK using the latest swagger version

The fix for key rotation for code generators has been merged. Use commit 5dd1107d5f2be8d600325d795450e1d854fbe7e8 for codegen

There is no functional difference  between 7.5 and 7.3(currently supported in c++), from diffing the latest and greatest swaggers  beyond the version for either keys, certs or secrets.


Open article URL when selected

Open URL when O hit and focus is on headline table.

I can't find a function to get the index of the currently selected headline, but I did see a way to get the content of what's selected, and then I could take that and search for it in the real array to get the index.
Also need to make sure the URL is passed to the frontend. @shobrook

headlinesTable.on("select", function() {
  log("DEBUG ME")
})

// If box is focused, handle `enter`/`return` and give us some more content.
headlinesTable.key('o', function(ch, key) {
  log("aksdjf;alskdf");
});


Bugs boutons suppression aliments au frigo

Closed by #de7c7928ad7bd8ced827a9ad507edaf2ffb358d0

Closed by #de7c7928ad7bd8ced827a9ad507edaf2ffb358d0

Closed by #de7c7928ad7bd8ced827a9ad507edaf2ffb358d0

Closed by #de7c7928ad7bd8ced827a9ad507edaf2ffb358d0


Fixes bug when the last seen section was renamed or removed

This pull request closes #507. It solves the found bug  when the last seen section was renamed or removed.
@dialelo @raulraja Could you take a look when you have a chance? Thanks

:+1: LGTM


Add inline datum functionality for state machines

Pre-submit checklist:

Branch

[x] Tests are provided (if possible)
[x] Commit sequence broadly makes sense
[x] Key commits have useful messages
[x] Formatting, PNG optimization, etc. are updated
[ ] Important changes are reflected in changelog.d of the affected packages

PR

[x] Self-reviewed the diff
[x] Useful pull request description
[ ] Reference the ADR in the PR and reference the PR in the ADR (if revelant)
[ ] Reviewer requested

Sorry, we're transitioning to a new ci and the integration is not fully there yet. Results can be found on this page. There's at least a few warning to fix from what I've seen (I saw unused fields, the general rule is to prefix them by an underscore).


[Feature] Add Soft Assertions

See here: https://playwright.dev/docs/test-assertions#soft-assertions

+1 Thanks for creating a feature request for this @mxschmitt .

Hi,
what about soft assertion in .net? Will it be available in near future? :)

Hi, what about soft assertion in .net? Will it be available in near future? :)

Any update on this? That would be beneficial for our project.

I'm adding my vote for this feature request, but understand that it might take quite a bit of a time for it to materialize.
Could you suggest a workaround, or an approach this could be implemented outside of the framework?

Hello Max @mxschmitt, any update on that feature

Hi @mxschmitt do you have any thoughts on how this should be implemented in dotnet? Happy to pitch in as this would be really beneficial for us.

+1 - this would be useful

Still nothing?

+1 - this would be useful

I don't suppose there are any updates for this? Would be an awesome feature.


add travis config and add yarn support

Probably yarn.lock should also be added .npmignore?

On that note, tests should probably be as well.

ok let me fix it

Can you also change instances of npm in the readme to yarn, and in the install docs add a note that you can use npm as well if you like but we are defaulting to yarn?

sure

@vramana @jlongster added what you suggested, please review

Absolutely perfect 🌟


not working in iOS

We checked same in ios when recording is on then it not detected recording is on

@sandeep14, can you share the code snippet?
Did you go through the readme file?

yes not recognising event in iOS

use react-native-screen-record-detect for iOS. It is working fine for iOS


Release v2.1.1 not created with v2.1.1 tag

Automation that relies on pulling in release artifacts based on tags is broken when the tag is created but the release with its artifacts is not created.

Sorry for the delay, https://github.com/cert-manager/cmctl/releases/tag/v2.1.1 has been published now.

Thank you @inteon 👏


db-4.8.nix: add -Wno-format-security if hostPlatform.isStatic

Description of changes
Without this commit, pkgsStatic.db48 fails to build with:
../dist/../crypto/aes_method.c: In function '__aes_err':
../dist/../crypto/aes_method.c:270:2: error: format not a string literal and no format arguments [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat-security-Werror=format-security8;;]
270 |  __db_errx(env, errstr);
|  ^~~~~~~~~
Things done

Built on platform(s)

[X] powerpc64le-linux
[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
[X] Fits CONTRIBUTING.md.

Sorry, this was due to a mistake of mine.


Update home image, text, and logo for the main page

This pull request fixes issue #1188 by changing the home image, adding new text, and updating the logo on the main page.

Sure @SurajPratap10 Sir.

@SurajPratap10 I have updated the logo and left the hero image unchanged in the home section.
Please have a look. Thank you.


HTTP/1.0 and keep-alive bug

I was testing my hyper-based server with ab (Apache Bench) and it turns out that if you enable the -k (keepalive) option, ab just hangs.
Turns out that ab uses HTTP/1.0 requests. It sends a Connection: keep-alive header, and hyper does keep the connection alive, but it does not add a Connection: keep-alive header to the reply. ab assumes that the server does not support keep-alive, and waits for the server to close the connection, and as a result ab hangs.
Hyper should probably add a Connection: keep-alive header to the response if it is found in the request, the request protocol is HTTP/1.0 and there's no Connection header in the Response object present yet.

Yikes, you're right! Seems there's two parts to this bug:

When the version is HTTP/1.0, and the response didn't send Connection: keep-alive, it should have closed the connection.
When coercing an HTTP/1.1 response to HTTP/1.0 because that's what the client speaks, a Connection: keep-alive header should be added.

Probably the best place to do this is in Conn::enforce_version. If enforcing 1.0, then check for the response version. If also 1.0, then check for Connection: keep-alive, and it not present, call self.state.disable_keep_alive(). If the response is 1.1, then translating to 1.1 should add Connection: keep-alive if self.state.wants_keep_alive() is true.

PR #1634 should fix this.
before change
`$ ab -k http://<IP_ADDRESS>:3000/
This is ApacheBench, Version 2.3 <$Revision: 1807734 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking <IP_ADDRESS> (be patient)...apr_pollset_poll: The timeout specified has expired (70007)
`
after change
`$ ab -k http://<IP_ADDRESS>:3000/
This is ApacheBench, Version 2.3 <$Revision: 1807734 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking <IP_ADDRESS> (be patient).....done
Server Software:
Server Hostname:        <IP_ADDRESS>
Server Port:            3000
Document Path:          /
Document Length:        12 bytes
Concurrency Level:      1
Time taken for tests:   0.001 seconds
Complete requests:      1
Failed requests:        0
Keep-Alive requests:    1
Total transferred:      112 bytes
HTML transferred:       12 bytes
Requests per second:    939.85 [#/sec] (mean)
Time per request:       1.064 [ms] (mean)
Time per request:       1.064 [ms] (mean, across all concurrent requests)
Transfer rate:          102.80 [Kbytes/sec] received
Connection Times (ms)
min  mean[+/-sd] median   max
Connect:        0    0   0.0      0       0
Processing:     1    1   0.0      1       1
Waiting:        1    1   0.0      1       1
Total:          1    1   0.0      1       1
`


Redis installed on containerized WP

Redis takes some special configuration to run with WordPress. See: https://github.com/rhubarbgroup/redis-cache/blob/develop/INSTALL.md

See: https://github.com/rhubarbgroup/redis-cache/blob/develop/INSTALL.md#composer-instructions fpr composer instructions. Will be part of build process.


XLA GPU problems in tensorflow-rocm 3.7?

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux Ubuntu 18.04 using upstream radeon driver
TensorFlow installed from (source or binary): pypi (pip install tensorflow-rocm)
TensorFlow version: 2.3.0
Python version: Python 3.7.6
Installed using virtualenv? pip? conda?: pip
ROCm/MIOpen version: 3.7
GPU model and memory: Dual Radeon VII's

Describe the problem

Tensorflow ops work (https://gist.github.com/roblem/cf50f4393aa337717662a2d0596e80b4#file-tensorflow_ops-py)
Tensorflow functions (@tf.function) work (https://gist.github.com/roblem/cf50f4393aa337717662a2d0596e80b4#file-tensorflow_functions-py)
Tensorflow XLA functions on CPU (@(tf.function(experimental_compile=True) work

2020-08-31 08:09:10.722274: I tensorflow/compiler/jit/xla_compilation_cache.cc:314] Compiled cluster using XLA!  This line is logged at most once for the lifetime of the process.

Tensorflow XLA functions on GPU don't work with this error:

2020-08-31 08:09:11.054180: W tensorflow/core/framework/op_kernel.cc:1767] OP_REQUIRES failed at xla_ops.cc:363 : Internal: unable to find ld.lld in PATH: No such file or directory

Could you help check if ld.lld is present under one of the following 2 directories in your ROCm 3.7 installation?

/opt/rocm/llvm/bin/ld.lld
/opt/rocm/hcc/bin/ld.lld

Neither of those directories exist on my machine.

Could you try install llvm-amdgpu package. In my installation where XLA works out of the box /opt/rocm/llvm/bin/ld.lld is present:
root@9af94f31d138:/opt/rocm/llvm/bin# dpkg -S ld.lld
llvm-amdgpu: /opt/rocm-3.7.0/llvm/bin/ld.lld
root@9af94f31d138:/opt/rocm/llvm/bin# apt show llvm-amdgpu
Package: llvm-amdgpu
Version: 11.0.dev
Status: install ok installed
Priority: optional
Section: devel
Maintainer<EMAIL_ADDRESS><EMAIL_ADDRESS>Installed-Size: unknown
Depends: libstdc++6 | libstdc++8, libstdc++-5-dev | libstdc++-7-dev, libgcc-5-dev | libgcc-7-dev
Recommends: gcc, g++, gcc-multilib, g++-multilib
Download-Size: unknown
APT-Manual-Installed: no
APT-Sources: /var/lib/dpkg/status
Description: amdgpu backend
  This is the amdgpu backend based on LLVM 11.0

Also you could try pull rocm/tensorflow:rocm3.7-tf2.3-dev docker image which should have everything configured.
https://hub.docker.com/r/rocm/tensorflow/tags

Here is what I have for the two commands you ran
$ dpkg -S ld.lld
dpkg-query: no path found matching pattern *ld.lld*

$ apt show llvm-amdgpu -a
Package: llvm-amdgpu
Version: 1:6.0-697810
Priority: optional
Section: devel
Maintainer: Advenced Micro Devices (AMD<EMAIL_ADDRESS>Installed-Size: 105 kB
Depends: llvm-amdgpu-runtime (= 1:6.0-697810), llvm-amdgpu-6.0 (= 1:6.0-697810)
Download-Size: 5,536 B
APT-Manual-Installed: yes
APT-Sources: file:/var/opt/amdgpu-pro-local ./ Packages
Description: Low-Level Virtual Machine (LLVM)
 The Low-Level Virtual Machine (LLVM) is a collection of libraries and
 tools that make it easy to build compilers, optimizers, Just-In-Time
 code generators, and many other compiler-related programs.
 .
 This is a dependency package providing the default llvm package.

Package: llvm-amdgpu
Version: 11.0.dev
Priority: optional
Section: devel
Maintainer<EMAIL_ADDRESS><EMAIL_ADDRESS>Installed-Size: unknown
Depends: libstdc++6|libstdc++8, libstdc++-5-dev|libstdc++-7-dev, libgcc-5-dev|libgcc-7-dev
Recommends: gcc, g++, gcc-multilib, g++-multilib
Download-Size: 511 MB
APT-Sources: http://repo.radeon.com/rocm/apt/debian xenial/main amd64 Packages
Description: amdgpu backend
  This is the amdgpu backend based on LLVM 11.0

@roblem So it seems llvm-amdgpu is not installed on your box. It should carry an attribute when you do apt show:
Status: install ok installed

Could you test again after you do apt install llvm-amdgpu?

Apologies.  Remnants of the opencl parts of amdgpupro were still lingering in the system.  After removing those and reinstalling rocm 3.7, this works so closing.


Process enum body

Add processing of enum body in UMLModelPsiReader
Find out all declarations inside enum and process them

There is an issue in RefactoringMiner related to the detection of rename constant refactoring in enums.

The issue has been fixed. A rename can be detected only if the references to the enum constant are renamed.

Thank you, @tsantalis!


[Typography] Add a custom, self-hosted font demo

I read the results of the Material UI survey this weekend and saw that a custom typography demo was asked for. Since I had recently added Roboto as a self-hosted font to my web app I figured I'd pull that out and make a demo of it using Raleway instead.
Since I wanted to reuse the main Typography demo, I converted it to Typescript and Hooks.

yarn typescript passes
yarn docs:typescript:formatted passes
yarn prettier was run, but produced some odd formatting (extreme amounts of indenting) so I manually corrected that after running it.
yarn lint TBD. Has issue loading font files. See both errors below.

± yarn lint
yarn run v1.15.2
$ eslint . --cache --report-unused-disable-directives

/Users/john/Development/opensource/material-ui/material-ui/docs/src/pages/style/typography/TypographyFontFamily.js
  4:31  error  Unable to resolve path to module<EMAIL_ADDRESS>  import/no-unresolved
  5:29  error  Unable to resolve path to module<EMAIL_ADDRESS>    import/no-unresolved
  6:33  error  Unable to resolve path to module<EMAIL_ADDRESS>import/no-unresolved
  7:31  error  Unable to resolve path to module<EMAIL_ADDRESS>  import/no-unresolved
  8:32  error  Unable to resolve path to module<EMAIL_ADDRESS> import/no-unresolved
  9:30  error  Unable to resolve path to module<EMAIL_ADDRESS>   import/no-unresolved

I am having trouble building the documentation website to see if the demo works properly because there isn't a babel plugin or loader configured to load .woff2 or .ttf files. Would love some guidance as I normally lean on CRA heavily and don't know my way around Babel or its plugins.
Docs Page: http://<IP_ADDRESS>:3000/style/typography
./docs/src/pages/style/typography/TypographyFontFamily.js
Module not found: Can't resolve '../../../../../packages/material-ui-docs/src/src/pages/style/typography/fonts/Raleway-Light.ttf' in '/Users/john/Development/opensource/material-ui/material-ui/docs/src/pages/style/typography'
ModuleNotFoundError: Module not found: Error: Can't resolve '../../../../../packages/material-ui-docs/src/src/pages/style/typography/fonts/Raleway-Light.ttf' in '/Users/john/Development/opensource/material-ui/material-ui/docs/src/pages/style/typography'
    at factory.create (/Users/john/Development/opensource/material-ui/material-ui/node_modules/next/node_modules/webpack/lib/Compilation.js:823:10)
    at factory (/Users/john/Development/opensource/material-ui/material-ui/node_modules/next/node_modules/webpack/lib/NormalModuleFactory.js:397:22)
    at resolver (/Users/john/Development/opensource/material-ui/material-ui/node_modules/next/node_modules/webpack/lib/NormalModuleFactory.js:130:21)
    at asyncLib.parallel (/Users/john/Development/opensource/material-ui/material-ui/node_modules/next/node_modules/webpack/lib/NormalModuleFactory.js:224:22)
    at /Users/john/Development/opensource/material-ui/material-ui/node_modules/neo-async/async.js:2825:7
    at /Users/john/Development/opensource/material-ui/material-ui/node_modules/neo-async/async.js:6886:13
    at normalResolver.resolve (/Users/john/Development/opensource/material-ui/material-ui/node_modules/next/node_modules/webpack/lib/NormalModuleFactory.js:214:25)
    at doResolve (/Users/john/Development/opensource/material-ui/material-ui/node_modules/enhanced-resolve/lib/Resolver.js:184:12)
    at hook.callAsync (/Users/john/Development/opensource/material-ui/material-ui/node_modules/enhanced-resolve/lib/Resolver.js:238:5)
    at _fn0 (eval at create (/Users/john/Development/opensource/material-ui/material-ui/node_modules/tapable/lib/HookCodeFactory.js:32:10), <anonymous>:15:1)
    at resolver.doResolve (/Users/john/Development/opensource/material-ui/material-ui/node_modules/enhanced-resolve/lib/UnsafeCachePlugin.js:37:5)
    at hook.callAsync (/Users/john/Development/opensource/material-ui/material-ui/node_modules/enhanced-resolve/lib/Resolver.js:238:5)
    at _fn0 (eval at create (/Users/john/Development/opensource/material-ui/material-ui/node_modules/tapable/lib/HookCodeFactory.js:32:10), <anonymous>:15:1)
    at hook.callAsync (/Users/john/Development/opensource/material-ui/material-ui/node_modules/enhanced-resolve/lib/Resolver.js:238:5)
    at _fn0 (eval at create (/Users/john/Development/opensource/material-ui/material-ui/node_modules/tapable/lib/HookCodeFactory.js:32:10), <anonymous>:12:1)
    at resolver.doResolve (/Users/john/Development/opensource/material-ui/material-ui/node_modules/enhanced-resolve/lib/DescriptionFilePlugin.js:42:38)

I could just switch this to use Google's CDN as I mention in the code comments and then write a detailed comment in the block at the top on how you'd self-host. I'm open to w/e is easier or better for everyone.
I'm also not sure if you'd like to use LFS for the binary font files, but that could easily be done as well.

[x] I have followed (at least) the PR section of the contributing guide.

I don't think that we should add a demo for it. I would rather keep it simple cc @mbrookes.

Yes, that's pretty much what I said yesterday in chat. The only reference to fonts in the survey is WRT using [@mdi/font]https://www.npmjs.com/package/@mdi/font] with  not being the correct size. Not really a Material-UI issue.
It perhaps got mistranslated to "Theme: Non-material font example", which got misinterpreted as "self hosted font demo", and here we are.

Well, at the very least this PR, merged or closed, can serve as documentation for any future users 😆

@johnrichter That turned out to be a worthwhile exercise, despite the initial misunderstanding. Thanks for working on it! 👍

You're welcome. I'm glad I could help! I want to find more time to contribute so you'll probably see more PRs from me in the future. I've been going from zero to hero using MUI solely in TS and could probably submit some fixes or quality of life changes as I run into them.

That would be great!  PRs that make getting started easier are always welcome. If they're small things, you could always keep a note of them and batch them.

@johnrichter It's a great first pull request on Material-UI 👌🏻. Thank you for working on it!


[EXP] DeclarativeNetRequest Rules Example

What is the example you wish to see?
I would like to see usage of DeclarativeNetRequest rules (example) with Plasmo.
Is there any context that might help us understand?
How would you be able to use a rules.json file with Plasmo?
Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I checked the current issues for duplicate problems.

@afkvido thanks for filing this issue :)
It was tested here: https://github.com/PlasmoHQ/plasmo-test/blob/main/exp/with-dnr/package.json
We should definitely convert it into an example OR add documentation around it. This should be a pretty simple PR if anyone would like to take a crank at it 👀

PR done, i think

Awesome thanks @afkvido! - I think we should name it with-declarative-net-request to make it more explicit

Thanks for adjusting it, sorry, I wasn't able to fix stuff at the time you requested.
🎉 pr merged


Question about performance RMSE

Hello,
I have run some experiments in order to collect five different data sets. Each data set has a subset in which data are flagged with a letter.
I have created a test set that contains 10000 random values.
Then I have trained ten Gaussian Processes (using  a data set or a subset as the train set): the kernel is GPy.kern.RBF(input_dim=4, variance=1., lengthscale=1.), the model is GPRegression and at the end I have optimized the model by running model.optimize().
After the training, for each GP I have calculated the performance RMSE on the test set.
The question is about the results I have found: is it normal that, for each experiment, the performance RMSE of the whole set is always greater than the performance RMSE of its subset? Is it common that this happens?
Specifically, sets and their subsets have this number of elements:

Set 1: 4590, subset 1: 1670
Set 2: 8849, subset 2: 1670
Set 3: 2552, subset 3: 980
Set 4: 5538, subset 4: 980
Set 5: 2911, subset 5: 496.

Thank you for the answer.

Are the subsets selected randomly from the bigger set?

Then the sets and the subsets have different statistics, right? So I can't see the reason why the performance from learning on them shouldn't differ, unless I'm missing something.

Exactly, that's the reason of my question. I'm missing something too.

Tipically, the RMSE on the error of the whole dataset should be better than the RMSE on the error of a subset. But I got the opposite result and I don't know why.

It's difficult to tell without knowing what your specific dataset looks like, but in the general case of having datasets with different statistics it's absolutely possible to get worse results in the bigger dataset (for example, the bigger dataset can be more noisy by nature due to how it's generated).
With respect to things you do control, check whether your initialization favors the small dataset(s). Check, for example, what happens if you initialize the lengthscale with a larger or smaller value (biasing towards a more or less linear model). Another idea is to try to normalize the big/small data in a consistent way so that you make sure that the initialization doesn't favor the statistics of the smaller dataset (e.g. try to zero-mean the data and maybe scale the std to 1 or try to set the Gaussian_noise.variance to something like 1/100 of the empirical variance of the outputs in each case).


feat: improve Store API

This is a feature request
Problem
Store protocol seems to be overloaded with additional definitions such as cursor, page etc. For novice people it might be overwhelming.
Proposed Solutions
Make Store compatible with ISubscriber interface and hide difficulties behind good default.
If someone would need to customize query - they would fall back to old API.

Iceboxing before it is clear which team will work on this


Use local time for log output

The timestamps in logging are currently in UTC, but changing them to local time is a lot more human-friendly, I think.

I think so too, thanks.


Does it support for reactjs?

TypeError: fs.readFileSync is not a function
(anonymous function)
node_modules/unicode-properties/index.js:10
   7 |
   8 | fs = require('fs');
   9 |
> 10 | trie = new UnicodeTrie(fs.readFileSync(__dirname + '/data.trie'));
  11 |
  12 | log2 = Math.log2 || function(n) {
  13 |   return Math.log(n) / Math.LN2;

I tried
npm install @types/node

fyi: fs is a node module... will not work on browser.
AND THIS is my current problem... with webpack I got the same error message on frontend
Any workaround?

Same here - it cannot find fs and crashes.
I think the brfs transform does not work because I think it should get rid of all fs calls if it was working correctly, shouldn't it?

From a previous issue
https://github.com/devongovett/pdfkit/issues/659
'including the browser releases for pdfkit and blobstream worked for me
https://github.com/devongovett/pdfkit/releases
https://github.com/devongovett/blob-stream/releases'


Missing dependencies in umd with DllReferencePlugin

Bug report

Hey, I created a little reproducer to show the issue, don't wonder I removed a lot of stuff, which actually merges the webpack files, what is not necessary to reproduce this behavior.
What is the current behavior?
The reference in the umd header to the vendor project (DllPlugin) is missing in the output.
(function webpackUniversalModuleDefinition(root, factory) {
	if(typeof exports === 'object' && typeof module === 'object')
		module.exports = factory();
	else if(typeof define === 'function' && define.amd)
		define("aa_consumer", [], factory);
	else if(typeof exports === 'object')
		exports["aa_consumer"] = factory();
	else
		root["aa_consumer"] = factory();
})(self, function() {});

Even this entry is in the output:
/***/ "dll-reference aa_vendor":
/*!****************************!*\
  !*** external "aa_vendor" ***!
  \****************************/
/*! dynamic exports */
/*! exports [maybe provided (runtime-defined)] [no usage info] */
/*! runtime requirements: module */
/***/ ((module) => {

"use strict";
module.exports = __WEBPACK_EXTERNAL_MODULE_dll_reference_aa_vendor__;

/***/ })

But the __WEBPACK_EXTERNAL_MODULE_dll_reference_aa_vendor__ is not defined.
If the current behavior is a bug, please provide the steps to reproduce.
chapterjason/webpack-bug-reproducer
I have a config project which contains the webpack basic configuration which I can merge later in the consuming project.
const path = require("path");
const webpack = require("webpack");

/**
 * @param {string} directory
 */
module.exports = function (directory) {
    // workaround:
    // const webpack = require(path.resolve(directory, "node_modules/webpack"));

    return {
        plugins: [
            new webpack.DllReferencePlugin({
                context: directory,
                sourceType: "umd",
                manifest: path.resolve(directory, "node_modules/aa-vendor/dist/manifest.json"),
            }),
        ],
    };
};

Then I have another project which creates a shared vendor bundle with the DllPlugin.
const path = require("path");
const webpack = require("webpack");

const config = {
    mode: "development",
    entry: {
        vendor: [
            "luxon",
        ],
    },
    devtool: "source-map",
    plugins: [
        new webpack.DllPlugin({
            context: __dirname,
            name: "aa_vendor",
            path: path.join(__dirname, "dist", "manifest.json"),
        }),
    ],
    output: {
        path: path.resolve(__dirname, "dist"),
        chunkFilename: "[name].chunk.js",
        filename: "[name].bundle.js",
        libraryTarget: "umd",
        umdNamedDefine: true,
        library: "aa_vendor",
    },
};

module.exports = config;

And the consuming project:
const path = require("path");

const config = {
    mode: "development",
    entry: {
        customer: "./index.js"
    },
    devtool: "source-map",
    ...(require("aa-config/base")(__dirname)),
    output: {
        path: path.resolve(__dirname, "dist"),
        chunkFilename: "[name].chunk.js",
        filename: "[name].bundle.js",
        libraryTarget: "umd",
        umdNamedDefine: true,
        library: "aa_consumer",
    },
};

module.exports = config;

I think its the used webpack module, they are the same version.

What is the expected behavior?
(function webpackUniversalModuleDefinition(root, factory) {
	if(typeof exports === 'object' && typeof module === 'object')
		module.exports = factory(require("aa_vendor"));
	else if(typeof define === 'function' && define.amd)
		define("aa_consumer", ["aa_vendor"], factory);
	else if(typeof exports === 'object')
		exports["aa_consumer"] = factory(require("aa_vendor"));
	else
		root["aa_consumer"] = factory(root["aa_vendor"]);
})(self, function(__WEBPACK_EXTERNAL_MODULE_dll_reference_aa_vendor__) {});

Other relevant information:
webpack version:  5.1.0
Node.js version: v12.13.3
Operating System: Win10
Additional tools: Yarn: 1.19.1

bump

bump

Hello, have you solved this problem
@chapterjason


GATTS long reads behavior

In general, I like that NimBLE tries to hide the complexity of long reads and writes from the user, automatically servicing them within the stack, it's a welcome change from Bluedroid that spills all this onto the user of the API and expects the user to deal with all the complications.
However, currently observed behavior for long reads is that NimBLE will repeatedly request the value from the attribute callback while responding to central's requests and sending MTU chunks at a time (at least i suspect that's what's happening). However, if the value of the characteristic happens to change between reads, incorrect value will be returned to the client. As far as i can tell, there is current;y no way for the API user to tell if  a particular BLE_GATT_ACCESS_OP_READ_CHR is part of the same long read or not - for example, read offset is not provided to the user, so user application cannot work this around either.
IMO, NimBLE should buffer the long response and serve long reads from internally buffered copy of the response and not rely on the value staying the same.

I ran in to this as well. My callback contained a function that gathered data from an external source which would run multiple times and crash the microcontroller. I must say I found it quite confusing that this was happening, although I have now had a practical education on one of the inner workings of BLE, which is a good thing I suppose!
I think @rojer's idea of buffering the data is a good one. It would also be useful to be able to tell inside the callback function if it is being run for the first time in a long read, the last time, or somewhere in the middle.
This would allow the implementation of characteristics that iterate through a data structure, which would be useful in my application.

Running into this sporadically. It is a confusing behaviour that the offset reads are handled, but the developer still needs to consider this case.
Buffering internally in Nimble would be good, but I suppose that could be an equally nasty surprise in a low resource environment.
@ivanholmes @rojer did you end up with any workarounds? I'm thinking of caching the value when it's first read, and returning the cached value if it's read again within some time period (e.g. 5 seconds).

@macksal yep, in my library i buffer the full response and wait until MinBLE reads it out in MTU-1 byte sized chunks (here). this seems to be working so far but could break if nimble decides to change their behavior.

Hi,
This is integral trait of long reads in GATT. Specification doesn't treat long read as atomic and thus server never knows what (if any) GATT procedure is executed by the client.  It is up to higher layers (ie profiles) to define and handle this.
This is from Core Spec 5.4 Vol 3 Part F <IP_ADDRESS> "ATT_READ_BLOB_REQ"
"Note: The value of a Long Attribute may change between the server receiving one ATT_READ_BLOB_REQ PDU and the next ATT_READ_BLOB_REQ PDU. A higher layer specification should be aware of this and define appropriate behavior."

that's fine, the problem is there is no way to do that currently. it's literally impossible to tell if the read being serviced is a part of long read or not. for example, my higher layer decision is to present consistent view to the client but how am i to tell the NimBLE api reads apart? right now i'm relying on MTU-1 read behavior, which is less than ideal. even as much as passing an offset for the read would be sufficient (as bluedroid does).

ahh ok, I see now,  I think we should be able to extend ble_gatt_access_ctxt with needed info without breaking API compatiblity

@ivanholmes, @macksal, @rojer, I believe buffering the data inside the nimble stack is not an option here. Because it's up to the client to decide whether it wants to and will read the whole attribute or not, so there is no guarantee that after the first read request there would be other.
As provided in the comments offset field in ble_gatt_access_ctxt struct could indicate the long attribute read procedure. I've made a pull request on this #1846.


Add build task for publishing

The goal for this is to make circuit-ui  easy to add to a project without additional modifications. This is most important for apps that are built with CRA where you cannot change the config.
Changes

Change .babelrc so we have different configs for different env targets.
Add a build command that transpiles the code to both cjs and es modules and puts them in lib.

I've created two example repos using this.

CRA based app with working build/tests (https://github.com/elanoism/circuit-ui-cra)
Custom made app that have tree shaking working (https://github.com/elanoism/circuit-ui-treeshaking)

For testing, you need circuit-ui and the example app working side by side and:

Run yarn build:js in the circuit-ui  folder
Run yarn upgrade circuit-ui in the example folder

I'm not really the build expert to really tell you if this is the right way to go, but my impression is that it looks great and will allow us to move forward.
Thanks a ton for the extra initiative and focusing on a simple solution 👍
Once you address Felix/Fernando's feedback item, you have my approval!

Replaced preset-es2015 with preset-env. We should just make sure not to add usage options to it, because it will start adding polyfills and fatten the bundle. This is not what we want :)
Gathered some feedback locally and the theme is now exported trough the main export as:
import { theme } from 'circuit-ui';
<ThemeProvider theme={theme.standart}>...</Theme>

This comes from @connor-baer and leaves the possibility open for adding dark, light in the future.
WDYT? @felixjung @mlent
Generally we should try to export everything trough the main export in order to leverage bundlers choosing appropriate module type.
Later I will focus on exporting the utils trough the main export as well.

@elanoism As long as you spell standard correctly :)

I rebased it in so .... it didn't happen.

@elanoism Will you also export the style helpers at root level?

Added the utils export.
Rebased on master and made a release<EMAIL_ADDRESS>@connor-baer . @herberthenrique , please try it out.
I need to move on on different things, before I can spin it up in the dashboard, but we first need to update all places where we use it, before merging this to master.
P.S. Take a look at the exports in the bottom for styles/globalStyles/utils and stuff.

@elanoism I upgraded the website to Webpack 4 (adds support for sideEffects: false) and installed the canary version of Circuit UI. It works great apart from a few warning messages from Webpack:
 WARNING  Compiled with 4 warnings                      23:30:25
 warning  in<EMAIL_ADDRESS>
"export 'MessageButton' was not found in './components/Button'

 warning  in<EMAIL_ADDRESS>
"export 'MessageIcon' was not found in './components/Button'

 warning  in ./node_modules/@sumup/circuit-ui/lib/es/components/
CreditCardDetails/components/ExpiryDateInput/index.js

"export 'parseExpiryDate' was not found in './ExpiryDateInputSer
vice'

 warning  in ./node_modules/@sumup/circuit-ui/lib/es/components/
CreditCardDetails/components/SecurityCodeInput/index.js

"export 'parseSecurityCode' was not found in './SecurityCodeInpu
tService'

I haven't looked into it any further yet.
Also, the reduction in bundle size won't be as big as I estimated. I'm seeing improvements of 400kb (110kb). Still substantial though.

@connor-baer , these are general bugs in the library. I can fix them before release, though.

@elanoism @felixjung @fernandofleury Looks like there are a lot of approvals, is there more work to be done before this can be merged? 🎉

Published next release 0.0.4-canary including the latest changes from master.
@mlent, we need to prepare extra release for the dashboard (website and referrals are already fine, afaik) before we can merge this. We believe that due to the name change it may cause problems otherwise. I can do it after the release of the transactions history.

Relase 0.0.6-canary rebased on a fixed master so tests pass now.
Opened PR in dashboard https://github.com/sumup/ze-dashboard/pull/1790.

Waiting for https://github.com/sumup/ze-dashboard/pull/1790.

@elanoism Ready to merge? 🚀


Translate Error Boundaries.

#1

Closed to fix a few typos that I've found myself. I will reopen it in a while.

Reopened at https://github.com/reactjs/pt-BR.reactjs.org/pull/73


BadDeviceToken

what's this?

What caused this？It's OK for me to let someone use this token to test me

This mig help: https://github.com/KnuffApp/Knuff/issues/71

if I select Sandbox ,it's show me DeviceTokenNotForTopic

The explanation for the different error messages can be found here: https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/CommunicatingwithAPNs.html
My guess is that you hare using the wrong certificate / token combo, might be an outdated/invalidated cert, open Keychain Access and have a look at the certificate.

Thank you


AddressComplete : WCAG Fieldset Legend

A fieldset requires a legend. Swapping the Description out for a Legend won't work because it may or may not be present. One idea is to have some screen reader only visible text generically describing the fields e.g. "Fill in the Address fields" or something like that.

See:
https://github.com/cds-snc/platform-forms-client/pull/4197/files#r1793802220


[FLOC 3129] Document using the Flocker Plugin

Includes changes proposed in https://github.com/ClusterHQ/flocker/pull/2000, and makes additional changes to the Using Flocker section.
We have provided another method of controlling Flocker, so the Using Flocker section has been renamed Controlling Flocker. The information about using the plugin has been placed within here.
The tutorials and examples have been moved out of this section into a new top level section called Tutorials and Examples
Changes are still being pushed to this branch

@davidoliverSP2 What does "This is still work in progress, so should not be merged." and "CODE REVIEW READY" mean? Would you like a check that in general this is OK, so you can continue to refine it? If so use "DESIGN REVIEW READY".

It means I am still pushing changes to this branch - I'm not sure what the protocol is for a branch in that state?

The JIRA issue is in the "Coding" state.  That seems exactly right.

:+1: Thanks.


Add a loader when the app is fetching data

Thanks much! I honestly need to rework how getting tweets work but this is definitely a UX thing I need to address!

@chadstewart can i work on this or it has been resolved

@chadstewart can i work on this or it has been resolved

Sure, go ahead and work on this!

this issue has been fixed in my next PR

this issue has been fixed in my next PR

Okay, no problem. Please ensure to add the issue in your PR and add a note in the description to say that you fixed this issue in that PR so it doesn't get lost.


update read with listener's class method

A more friendly README.

Coverage remained the same at 96.0% when pulling 81db1abee51aa307234ff5d4a6e9e241a837cb8b on Martin91:update-readme into ab4e020561863dc4781e1432992c34199014525d on krisleech:master.


floatPlaceholder="never" misaligned on Safari (macOS)

Bug, feature request, or proposal:
CSS Bug
What is the expected behavior?
Placeholder should be aligned in the same position as the text like on Chrome/Firefox:

Chrome

What is the current behavior?

Safari

What are the steps to reproduce?
Any app should emulate. My example is with devapp

gulp serve:devapp
go to http://localhost:4200/input
Enable "Never Float"

or
<md-input-container floatPlaceholder="never">
  <input mdInput name="filter" type="text" placeholder="Filter">
</md-input-container>

Which versions of Angular, Material, OS, TypeScript, browsers are affected?
@angular/*: 4.2.2
@angular/material: 2.0.0-beta.6
typescript: 2.3.4

Safari: Version 10.1.1 (12603.2.4)

Chrome: Version 58.0.3029.110 (64-bit) (working)
Firefox: 53.0.3 (64-bit) (working)

Is there anything else we should know?
Works on Firefox and Chrome (tested on macOS only)

Possibly related to #5262, will check after #5154 is merged


Add options to operate comparison table  #feature

like the summary_col
from statsmodels.iolib.summary2 import summary_col

OR
stargazer
https://github.com/mwburke/stargazer

Buy the way, they are like to do it too
https://github.com/mwburke/stargazer/issues/26

This is already implemented for both panel models and iv models.
https://bashtage.github.io/linearmodels/panel/panel/linearmodels.panel.results.compare.html
https://bashtage.github.io/linearmodels/iv/iv/linearmodels.iv.results.compare.html


Custom folder for slurped notes

Hi, thanks very much for the plugin. Possibly related to #3, but could it be possible to specify the target folder for slurped notes? I'd like to put them in a subfolder of my "sources" folder.

Soon™!

Thanks!

@oldjove to clarify: are you looking to do this on a per-page basis or in general for all saves?

For all pages. Just to be able to set the default folder is all I'm looking for. 🙂

this is available now in v0.1.6!


[QUESTION] How to make light player load fullplayer / play onHover ?

i created onHover method to play with the full player , but now after switching to light i can't play it anymore with same method , how can i access the method to load the full player onHover and not onClick ? so once i hover on lightplayer it loads full player and starts playing.
Thanks in advance.

i've managed to do it somehow but i don't know if its good approach or not
accessed ref of the player then setting onHover
this.playerRef.state.showPreview = false

onHover should now work in light mode because of the fix for #584, published in v1.10.0


add tests for files module

Still no coverage report ?

@ewjoachim this one has a report, very strange.

rebased on master

rebased on master


Load 2017_law.json from the installed taxcalc version in run_ogusa_example.py

Fixes #607
I'm currently running run_examples.py to test it out.

Codecov Report

Merging #608 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #608   +/-   ##
=======================================
  Coverage   84.00%   84.00%
=======================================
  Files          47       47
  Lines        6848     6848
=======================================
  Hits         5753     5753
  Misses       1095     1095

Continue to review full report at Codecov.

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

I think this worked, as it got well past where it previously failed dealing with the reform file, but I hit a different error at the end:
Time path iteration complete.
It took 23807.388461351395 seconds to get that part done.
run time =  23807.39177799225
Traceback (most recent call last):
  File "run_ogusa_example.py", line 126, in <module>
    main()
  File "run_ogusa_example.py", line 111, in main
    num_years=10, start_year=og_spec['start_year'])
  File "/home/mghenis/PSLmodels/OG-USA/ogusa/output_tables.py", line 51, in macro_table
    assert (base_params.start_year == reform_params.start_year)
AssertionError

I think my latest commit will fix the start_year error. It takes about 6 hours on my computer so I'll run it overnight tonight to check.

@MaxGhenis. I just ran run_ogusa_example.py on my machine in just over 3 hours. Works great. I have not run all the pytest non-CI tests yet. @jdebacker.

@MaxGhenis Thanks for this PR!  Merging.


Export the Prompt example

It would be nice to have Prompt exported to import it for the most common use-cases.

Or, better, a simple confirmation Yes/No dialog!

We were previously exporting the prompt but it's more of an example - I'll leave this issue open and if we get more interest maybe we can make it as an export again.

In my experience, people want to do prompts a little different, even from app to app, so I'm not sure if we should include one out of the box. However, this might be a great way to do some documentation. Basically, create the prompt as part of a docs article on how to use the dialog plugin. Thoughts?


Glorfindel: Blacklist bookmywash.co

Glorfindel requests the blacklist of the following website(s):

bookmywash.co - MS search

bookmywash.co has been seen in 1 true positive, 0 false positives, and 0 NAAs.


Migrate all packages to unstable

Context
The idea of this PR is to migrate all packages to a pinned commit in nixpkgs-unstable. This brings some advantages:

We ensure that every Nubanker uses the same derivations, including its dependencies
Should avoid issues between multiple NixOS versions (i.e.: old stable vs. stable vs. unstable)
Make sure our tooling is up-to-date

Of course, there is some disadvantages too:

We either pin a commit and needs to bump it from time to time, or  track master and possible lose control and risk some regressions

For now I think pinning should be ok. We could make a CI that would bump the commit from time-to-time and asks for a review. Of course, this is for a future PR.
BTW, since this commit uses unstable for everything, and clojure-lsp is currently broken in unstable, this also backports a fix from @ericdallo fork (until it is merged in upstream).

Going to merge, future issues can be addressed in other PRs.

Going to merge, future issues can be addressed in other PRs.


gzip: add setup-hook to stop gzip from adding timestamps to headers

Motivation for this change
This will hopefully help with reproducible builds.
See https://github.com/NixOS/nixpkgs/issues/86348 for more info
Things done

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

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

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

Correct, although the idiomatic way would be to use the setupHook attribute.

Thanks, fixed in d3d831c2317444e7a1032858f3dd52b9e9faa9f5

Closes #86348


[needs docs] Can you style footnote text?

I can’t work out how to CSS-style the text in a footnote...

Yes yes you can
References
For the reference basically a footnote is inserted as
[1]

So you can style that with .jd_content sup a.fnref or some appropriate combination thereof.
Definitions
For definitions, it's inserted as a table like:

        [2]
        this is another footnote

so you can style the back-reference via the .jd-content fndef td.fndef-backref and the text of the definition via .jd-content fndef td.fndef-content; consider the following base styling:
.jd-content table.fndef  {
    margin: 0;
    margin-bottom: 10px;}
.jd-content .fndef tr, td {
    padding: 0;
    border: 0;
    text-align: left;}
.jd-content .fndef tr {
    border-left: 2px solid lightgray;
    }
.jd-content .fndef td.fndef-backref {
    vertical-align: top;
    font-size: 70%;
    padding-left: 5px;}
.jd-content .fndef td.fndef-content {
    font-size: 80%;
    padding-left: 10px;}

hope this helps!

Thanks. This is just what I wanted to know!
(My brain is just about coping with simultaneously using Literate, JuDoc, Markdown, and CSS, while upgrading Julia from 0.6/0.7 to 1.2. :))

oops, closed this too quickly, still needs docs

now there's docs.


Calling execute() asynchronously corrupts its output

Describe the bug
Calling execute() with external command asynchronously messes up the output.
To Reproduce

Create script ~/async_exec.vim:

function! MyFunction()
  echom execute("!bash -c 'for i in {0..9}; do echo $i; sleep 0.1; done'")->split('\r\n')[1:]
endfunction

call timer_start(0, {-> MyFunction()})
call timer_start(0, {-> MyFunction()})

Run VIM as:

vim -g -f -u NONE +'so ~/async_exec.vim'

Inspect messages log: :mes

The output is:
['0', '^@[''0'', ''1'', ''2'', ''3'', ''4'', ''5'', ''6'', ''7'', ''8'', ''9'']1', '2', '3', '4', '5', '6', '7', '8', '9']

Expected behavior
The output is:
['0', '1', '2', '3', '4', '5', '6', '7', '8', '9']
['0', '1', '2', '3', '4', '5', '6', '7', '8', '9']

Environment:

Vim version: 8.2.2019
OS:  Ubuntu 20.04
Terminal: GUI

I always find :! weird in a script, unless the shell command needs to be connected to a terminal.
FWIW, I would re-write the code like this:
function! MyFunction()
  echom expand("`bash -c 'for i in {0..9}; do echo $i; sleep 0.1; done'`")->split('\n')
endfunction

call timer_start(0, {-> MyFunction()})
call timer_start(0, {-> MyFunction()})

@lacygoill that's a nice workaround, thanks!

echom execute("!bash -c 'for i in {0..9}; do echo $i; sleep 0.1; done'")->split('\r\n')[1:]

Why would you use execute()  in such a case  and not system() or systemlist() if you want shell commands?

@chrisbra https://github.com/vim/vim/issues/6565 system() is not interruptible, I suppose systemlist() also

@lacygoill I seem not able to capture stderr using expand()
echom expand('`123 2>&1`')

expecting:
sh: 1: 123: not found

but instead outputs nothing

Any output from a command started by a timer cannot be controlled by Vim.
Asynchronous stuff does not have any guaranteed sequence, especially for external commands.
Starting a shell can take any amount of time, executing commands in a shell can take any amount of time (including sleep).
So this really has nothing to do with what Vim is doing.

@lacygoill is it possible to obtain v:shell_error when using expand('`...`')?

@lacygoill is it possible to obtain v:shell_error when using expand('`...`')?

I'm not sure to understand, but it seems that v:shell_error is set when Vim runs a shell command which encounters an issue:
$ vim -Nu NONE

:echo v:shell_error
0

:call expand('`invalid`', v:true, v:true)
:echo v:shell_error
127

Or do you mean you want the shell exit code from the shell itself?
:echo expand('`invalid; echo $?`', v:true, v:true)
['127']

I'm not sure to understand, but it seems that v:shell_error is set when Vim runs a shell command which encounters an issue:
$ vim -Nu NONE

:echo v:shell_error
0

:call expand('`invalid`', v:true, v:true)
:echo v:shell_error
127

Or do you mean you want the shell exit code from the shell itself?
:echo expand('`invalid; echo $?`', v:true, v:true)
['127']

I'm also trying to preserve stderr, so by piping to cat I mask the exit code of the original command:
:call expand('`false 2>&1 | cat`')
:echo v:shell_error
0

:call expand('`false 2>&1 | cat; echo $?`')
:echo v:shell_error
0

I'm also trying to preserve stderr, so by piping to cat I mask the exit code of the original command:
:call expand('`false 2>&1 | cat`')
:echo v:shell_error
0

:call expand('`false 2>&1 | cat; echo $?`')
:echo v:shell_error
0

this is shell specific, but I guess you want to use set :sehllcmdflag+=-eo\ pipefail
Note: I still think using system() is a better aproach here.

this is shell specific, but I guess you want to use set :sehllcmdflag+=-eo\ pipefail
Note: I still think using system() is a better aproach here.

@chrisbra shellcmdflag solved it, thanks.
As I stated above, I cannot use system() because it may freeze VIM and cannot be interrupted.

@chrisbra shellcmdflag solved it, thanks.
As I stated above, I cannot use system() because it may freeze VIM and cannot be interrupted.

If you're worried about freezing, why don't you use job_start()? It's a lot cleaner that this awful expand('`cmd`') hack.

If you're worried about freezing, why don't you use job_start()? It's a lot cleaner that this awful expand('`cmd`') hack.

I'm not sure if job_start() can be used synchronously, otherwise rewriting everything with callbacks is an overkill in my case.

I'm not sure if job_start() can be used synchronously, otherwise rewriting everything with callbacks is an overkill in my case.


Table Iteration on Next page ends with "uri cannot be empty"

Issue description
When iterating other pages (table api), the Iterate function call gives error "uri cannot be empty" when accessing the next page.
This error seems to indicate that the UrlTemplate field is empty during the Send of the next link
Use Case
What problem would this feature solve?
Correct behavior of the Iteration process
Proposed Solution
During the call of the Next link, as part of the iteration process, the UrlTemplate field should be initialized from the initial request Builder
Additional Context
Code for reproducing the issue:
import (
    "fmt"
    snowcred "github.com/michaeldcanady/servicenow-sdk-go/credentials"
    servicenow "github.com/michaeldcanady/servicenow-sdk-go"
    snowtable "github.com/michaeldcanady/servicenow-sdk-go/table-api"
)

func main() {
    cred := snowcred.NewUsernamePasswordCredential(username, password)
    client := servicenow.NewServiceNowClient(cred, instance)
    fmt.Printf("fetching ServiceNow Computers\n")
    pathParameters := map[string]string{
        "baseurl": client.BaseUrl + "/now",
        "table":   "cmdb_ci_computer",
    }
    requestBuilder := snowtable.NewTableRequestBuilder(client, pathParameters)
    params := &snowtable.TableRequestBuilderGetQueryParameters{
        Limit: 10,
    }
    result, err := requestBuilder.Get(params)
    if err != nil {
        fmt.Printf("unable to GET table %s in ServiceNow: %s\n", "cmdb_ci_computer", err)
        return
    }
    fmt.Printf("fetched devices count: %d\n", len(result.Result))
    pageIterator, err := snowtable.NewPageIterator(*result, client)
    if err != nil {
        fmt.Printf("error on NewPageIterator: %s\n", err)
        return
    }
    cis := []string{}
    iterateErr := pageIterator.Iterate(func(pageItem *snowtable.TableEntry) bool {
        ci, inerr := pageItem.Value("sys_id").ToString()
        if inerr == nil {
            cis = append(cis, ci)
        }
        return true
    })
    if iterateErr != nil {
        fmt.Printf("error on Iterate: %s\n", iterateErr)
        return
    }
    fmt.Printf("Fetched CIs = %d\n", len(cis))
}

Results:
fetching ServiceNow Computers
fetched devices count: 10
error on Iterate: uri cannot be empty

Related Issues
Version
Checklist
Before submitting this feature request, please make sure you have completed the following:

[x]  I have searched for similar feature requests in the repository's issue tracker.
[x]  I have checked the latest version of the Go SDK to see if this feature already exists.
[x]  I have provided a clear and descriptive title for this feature request.
[x]  I have provided a detailed description of the feature and its use case.
[x]  I have provided any relevant additional context or examples.
[ ]  I have linked any related issues or pull requests.

I'll take a look thank you!


Stuck on No renewals were attempted

Hi,
I'm trying to launch a simple static website on Ubuntu 20.04 server.
Repository LINK
After following all the steps and pushing my docker image to docker hub when I run the docker-compose up I'm stuck on "No renewals were attempted.". No error or warnings, the terminal just waits.
I have modified your docker-compose.yaml file to use my own image since my image is based on the nginx image and contains all the files needed for my website.

Closing