Fix blank preview when opened URL of deleted file

Details

When we open an invalid attachment on a chat that doesn't have any attachment, a blank view is shown instead of not found view.
Fixed Issues

$ https://github.com/Expensify/App/issues/42438
PROPOSAL: https://github.com/Expensify/App/issues/42438#issuecomment-2123757820
Tests

Same as QA Steps

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

Offline tests

Same as QA Steps
QA Steps

Send an attachment to any chat
Open the attachment and copy the URL
Delete the attachment
Send the deleted/invalid attachment URL to the chat
Open (click) the URL
Verify not found view is shown

[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

https://github.com/Expensify/App/assets/50919443/4012efe1-8c6a-485c-9f99-4268e11495c2

Android: mWeb Chrome

https://github.com/Expensify/App/assets/50919443/aad3031f-d810-4faf-b659-554861097004

iOS: Native

https://github.com/Expensify/App/assets/50919443/51e08479-30dd-481a-ae91-fcfe4b5842a3

iOS: mWeb Safari

https://github.com/Expensify/App/assets/50919443/09c625f7-f24c-4e32-8006-5bc7d4c3b755

MacOS: Chrome / Safari

https://github.com/Expensify/App/assets/50919443/0ee9fcfc-c2dd-49da-a00c-0221b8d49153

MacOS: Desktop

https://github.com/Expensify/App/assets/50919443/9d69a49a-253e-4bb7-a4d2-01c2c4228384

Reviewer Checklist

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

[X] I verified the steps for local testing are in the Tests section
[X] I verified the steps for Staging and/or Production testing are in the QA steps section
[X] 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)
[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 checked that screenshots or videos are included for tests on all platforms
[X] I included screenshots or videos for tests on all platforms
[X] I verified tests pass on all platforms & I tested again on:

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

[X] 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
[X] I verified proper code patterns were followed (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] 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 verified that this PR follows the guidelines as stated in the Review Guidelines
[X] 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)
[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] If a new component is created I verified that:

[X] A similar component doesn't exist in the codebase
[X] All props are defined accurately and each prop has a /** comment above it */
[X] The file is named correctly
[X] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[X] The only data being stored in the state is data necessary for rendering and nothing else
[X] 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)
[X] 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)
[X] All JSX used for rendering exists in the render method
[X] 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

[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.
[X] 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

Networking issue

iOS: Native

iOS: mWeb Safari

https://github.com/Expensify/App/assets/16493223/ffe3882e-62aa-4cc2-a759-31cb007a35d3

MacOS: Chrome / Safari

https://github.com/Expensify/App/assets/16493223/075b87c6-a811-463a-87f1-7cb7f4ba2492

MacOS: Desktop

https://github.com/Expensify/App/assets/16493223/d945934d-1b38-4d9a-9053-926cbdc178a4

: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.

🚀 Deployed to staging by https://github.com/bondydaa in version: 1.4.77-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/puneetlath in version: 1.4.77-11 🚀

platform
result

🤖 android 🤖
failure ❌

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/puneetlath in version: 1.4.77-11 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Permission error when using the CLI concurrently

We run Prisma CLI in parallel, it intermittently fails with this error:
Error: Can't write to /Users/runner/runners/2.164.0/work/introspection-engine-output/introspection-engine-output/node_modules/prisma2/ please make sure you install "prisma2" with the right permissions.

Duplicate of https://github.com/prisma/prisma2/issues/1605


Troubles using the docker image > SERVER_HOST environment var

I had a lot of troubles using the official docker image. There seems something off with the SERVER_HOST env config. Using localhost or not setting it at all prevents me from accessing the kibana server (it either not reachable or crashes on running the container). I'm using Docker 17.03.1-ce-mac12 (17661)
Here's my working Dockerfile in case anyone else has troubles getting this to work:
# this should match your ES version, in my case 5.1.1
FROM docker.elastic.co/kibana/kibana:5.1.1

# since I don't have X-Pack on my cluster, we remove X-pack from the image
RUN bin/kibana-plugin remove x-pack && \
    kibana 2>&1 | grep -m 1 "Optimization of .* complete" # [1]

# url to the cluster, I specified protocol and port here as well (using bonsai)
ENV ELASTICSEARCH_URL=https://yoururltoescluster:443

# don't know why but this was the only value that worked, server is accessible under http://<IP_ADDRESS>:5601/
ENV SERVER_HOST=<IP_ADDRESS>

# only set these if you need basic auth
ENV ELASTICSEARCH_USERNAME=YOURUSERNAME
ENV ELASTICSEARCH_PASSWORD=YOURPASS

EXPOSE 5601

The answer here is to think about what localhost means in a container context. Within the Kibana container, localhost is the Kibana container. So if you set SERVER_HOST to localhost, you can only access Kibana over the (virtual) loopback interface from inside the container itself (probably not what anybody wants).
That's why we default SERVER_HOST to "0" so you don't need to set it at all. Because of this, very little configuration is needed, and this docker-compose.yml, for example, works as expected:
---
version: '3'
services:
  elasticsearch:
    image: docker.elastic.co/elasticsearch/elasticsearch:5.1.1
    networks: ['stack']

  kibana:
    image: docker.elastic.co/kibana/kibana:5.1.1
    ports: ['5601:5601']
    networks: ['stack']

networks: {stack: {}}


Upgrade to use LitElement

Upgrade from Polymer 3 (deprecated) to use LitElement/lit-html.

Completed as of 0dd284d507479896aae693ee33a8bc67104a5783


Add a way to download only the full headers and not the rest of the content

Expectead behavior
Print complete header when pressing Show headers. I don't care about highlighting, plaintext is okay but print the complete header.
Actual behavior
k9 is not showing the full header. It appears as if just some special/known(?) parts of the header are chosen.
Example
This is a classical spam-header -- hence I leave the senders information.
k9
Message-ID<EMAIL_ADDRESS>From: Zusatzliches Einkommen<EMAIL_ADDRESS>To<EMAIL_ADDRESS>Subject: Zusätzliches Einkommen für alle
Date: Mon, 25 Sep 2017 23:41:23 +0300
MIME-Version: 1.0
Content-Type: multipart/related; boundary="----9AVLIOCRAVG8Z8SJ6PZ1Z962WKLRFS"
Content-Transfer-Encoding: 7bit

Actually / Expected
Received: from mailer.censored.com (censored.10.17) by um-excht-a01.um.censored.com
 (censored.11.221) with Microsoft SMTP Server id 14.3.361.1; Mon, 25 Sep 2017
 22:41:36 +0200
Received: from censored.censored.com ([censored.82.140])    by mailer.censored.com
 with esmtps (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.80) (envelope-from
<EMAIL_ADDRESS>   id 1dwaC8-0001bk-Oc; Mon, 25 Sep 2017 22:41:36 +0200
Received: by censored.censored.com (Postfix)    id 591195A7; Mon, 25 Sep 2017
 22:41:36 +0200 (CEST)
Delivered-To<EMAIL_ADDRESS>Received: by censored.censored.com (Postfix, from userid 65534) id
 41631545C; Mon, 25 Sep 2017 22:41:36 +0200 (CEST)
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
    censored.censored.com
X-Spam-Level:
X-Spam-Status: No, score=-3.9 required=5.0 tests=BAYES_00,EXTRA_MPART_TYPE,
    HTML_IMAGE_ONLY_04,HTML_MESSAGE,HTML_SHORT_LINK_IMG_1,MPART_ALT_DIFF,
    RCVD_IN_DNSWL_HI,TVD_SPACE_RATIO,T_AXB_MIME_IMG830 autolearn=ham version=3.3.2
Received: from mailer.censored.com (mailer.censored.com [censored.10.26])   by
 censored.censored.com (Postfix) with ESMTPS id A9D1A5A7;   Mon, 25 Sep 2017
 22:41:29 +0200 (CEST)
Received: from mfilter-123-1-1.mx.srv.dfn.de ([<IP_ADDRESS>])  by
 mailer.censored.com with esmtps (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256)    (Exim
 4.80)  (envelope-from<EMAIL_ADDRESS> id 1dwaC1-0001aM-J4; Mon, 25 Sep
 2017 22:41:29 +0200
Received: from mail.mtsbu.us (mail.mtsbu.us [<IP_ADDRESS>])    by
 mfilter-123-1-1.mx.srv.dfn.de (Postfix) with ESMTP;    Mon, 25 Sep 2017 22:41:25
 +0200 (CEST)
Received: from mtsbu.us (mail.mtsbu.us [<IP_ADDRESS>]) by mail.mtsbu.us
 (Postfix) with ESMTPA id D21A11C0F38;  Mon, 25 Sep 2017 23:41:21 +0300 (EEST)
Message-ID<EMAIL_ADDRESS>From: Zusatzliches Einkommen<EMAIL_ADDRESS>To<EMAIL_ADDRESS>Subject: =?utf-8?B?WnVzw6R0emxpY2hlcyBFaW5rb21tZW4gZsO8ciBhbGxl?=
Date: Mon, 25 Sep 2017 23:41:23 +0300
Content-Type: multipart/related; type="multipart/alternative";
    boundary="----=_NextPart_000_0006_01D33655.5FBCB8C0"
Precedence: bulk
List-Id: b83348430v73546086
X-Complaints-To<EMAIL_ADDRESS>List-Unsubscribe: <http://mtsbu.us/ru/unsubscribe/do?hash=8100057523076787>
X-Virus-Scanned: (clean) by clamav
Return-Path<EMAIL_ADDRESS>X-MS-Exchange-Organization-AuthSource: UM-EXCHT-A01.um.censored.com
X-MS-Exchange-Organization-AuthAs: Anonymous
X-MS-Exchange-Organization-PRD: mtsbu.us
X-MS-Exchange-Organization-SenderIdResult: Fail
Received-SPF: Fail (UM-EXCHT-A01.um.censored.com: domain of<EMAIL_ADDRESS>does
 not designate censored.82.140 as permitted sender)
 receiver=UM-EXCHT-A01.um.censored.com; client-ip=censored.82.140;
 helo=mailer.censored.com;
X-MS-Exchange-Organization-SCL: 5
X-MS-Exchange-Organization-PCL: 2
X-MS-Exchange-Organization-Antispam-Report: DV:3.3.16631.866;SID:SenderIDStatus Fail;OrigIP:censored.82.140
MIME-Version: 1.0

Environment
K-9 Mail version: 5.208
Android version: 7.1.2
Account type (IMAP, POP3, WebDAV/Exchange): IMAP

I suspect that this is a large message, that isn't fully downloaded. You have to fully download the message (i.e., select the "Download complete message" button at the bottom) before you'll see the complete headers.

Indeed! Now the full header appears -- but also the embedded content! This is a real no-go!
When I just want to get the header, I don't want it do execute possibly malicious stuff.

We don't "execute content" under any circumstances. We don't download remote content unless you ask us to.
So for me it's kind of low priority to implement this kind of feature, but it could be done potentially. (I'm not sure how exactly IMAP works in practice here).
We'd want a new FetchProfile - FULL_HEADER.

Thank you for your reply! Maybe I was unclear. Afaik k9 doesn't execute content in terms of binaries but k9 does open and therefore executes (or reads) embedded html content (like malicious images). I never ever want my phone to do so and afaik there is no other way to get to the plaintext header.

K-9 does not execute HTML content.
It passes the raw string data to Android WebView. WebView does not fetch remote content, unless told to. We don't tell it to fetch remote content.
We also remove all scripts using a HTML cleaner tool.

Thank you for your answer! But anyway, the HTML-content (in this case images) is being displayed in it's full glory as soon as I click on "Download complete message".
So, in this case, to read the full header, I have to click "Download complete message" and WebView then renders everything, right? Hum. :-(

Would be also great to be able to show (partial) content of some headers always (if header is available). Like the score or the tests of header "X-Spam-Status".

This is a five years old problem that is still awaiting for a solution.
When K9 "fetches" messages up to a user-specified amount of bytes, it counts the header size as part of the total. If a messages is bigger than the specified amount, then K9 shows the "download complete message" button to download both the rest of the message and the rest of the header.
The approach is not efficient: to see the full header, K9 downloads the whole message, possibly including heavy attachments or inline graphics.
It has been proposed, several times, that when the user hits the "show headers" button, K9 should display the full header as per user request, and thus K9 should download it in full before displaying it. This is more efficient, in terms of bandwidth, than downloading the whole message, and less inconvenient, in terms of coding, than having to enhance K9's GUI to warn the user that the headers are incomplete and that yet another button needs to be pressed to download the rest of it.


Module Manifest Error

Installing Drag Ruler using the module.json here in the git worked fine, but when I initially tried to install it via Foundry's installer, it threw the following error:
Error: Unable to load valid module manifest data from "https://raw.githubusercontent.com/manuelVo/foundryvtt-drag-ruler/v1.30.0/module.json" . . .
And that manifest link goes to a 404 (and doesn't match the module.json here).

There was a typo in the manifest. It should be fixed now.


Bootstrap css grid : Replace flexbox with CSS Grid Layout?

Any plans to use css grid over flexbox for the bootstrap grid?
The support seems pretty good :
http://caniuse.com/#feat=css-grid

I read a lot on this since I am a newbie, but I could gather that both can have a different role and can live with each other well.
So I vote for both.

@Sungodragon I agree. I meant just the bootstrap grid. I changed the description and title to reflect that.

The support is not that good ☹

no? Remember this is for bootstrap 4, and they only support IE11

Flexbox is more widely supported.
http://caniuse.com/#feat=flexbox
97% (flexbox) vs 70% (cssgrid)
Also one of the main points in bs alpha 6 was the flexbox grid overhaul. And there are a lot of components dependant of flexbox.

@alanstratos can you elaborate 97% vs 70% part.
I checked:
It's Baidu browser and UC browsers making 18 percent of unsupported.
Only thing is to understand support for Internet Explorer 11. (although modernizr supports it in latest version)

Beside the declared browser support, implementing Grid Layout would mean a huge changes for the whole design system. I am afraid it can only come with BS5 and after deep rethinking the whole concept of BS grid. With the power of Grid Layout there are completly new possibilities ‒ and deciding what should be part of the framework is nothing simple.

Nope. Browser support isn't there and they don't explicitly serve the same function anyway.

Is it worth looking at CSS Grid again now that it's rolling out properly in Edge? A lot of people are going to be annoyed having to learn Flexbox the CSS Grid - why not just go to Grid?
CSS Grid ships in Microsoft Edge on Oct 17, mark your calendars.
https://twitter.com/gregwhitworth/status/903616284998254595
For anyone who is not sure what CSS Grid is - I suggest you watch the video below - it's awesome:
https://www.youtube.com/watch?v=7kVeCqQCxlk

I created a rudimentary implementation of Bootstrap's responsive layout using CSS grid here: https://codepen.io/oobug/pen/mMgxBZ
Based on how simple this was, I think it's definitely worth looking into CSS Grid again.

@oobug - wow, looks great & not much code. will have a good play with it when I get the chance.
I have just quickly add my debugger script to it & at a quick look it looks like it works well.
https://codepen.io/anon/pen/mMgGeV

CSS Grid is Awesome!, it is a native framework and you can use it together with Bootstrap without changes.

Maybe it could be toggled with a variable just like flexbox?

It's too late in the development cycle to add anything major like that

fair enough :)

Because Bootstrap 4 is Beta, we can't change the grid, nevertheless if a hero can create an extension to include css grid it will be great..., maybe we can merge with iota : http://korywakefield.com/iota/

Use style attribute :)

Related: https://github.com/twbs/bootstrap/issues/24887#issuecomment-347215557

Yes PLEASE!  I'd love to use both and hope it would make my job easier.
I like Per's article on Hackernoon The ultimate CSS battle: Grid vs Flexbox, which describes the primary difference as flexbox (content-first) and css-grid (layout-first).  He illustrates good reasons to use both in different situations.
The biggest problem we have with the current grid system is when someone wants to change the layout (i.e. layout-first changes), we can't change just one tiny grid-template-column definition, we have to change hundreds of col classes on various elements in different files and get the new math right.  Bootstrap's grid currently requires a lot of structural html to define grid behavior that css-grid seems to largely avoid.
For example, if I decide that col-md-3 wasn't the right choice and want to change it to col-md-2... I have to change every single element in the row, and then recheck the math.  Compare that process to css-grid where I just define grid-template-columns once at the top. CSS grid seems to make it so much easier to respond to changing requirements.  Especially if you are implementing lots of nested views and forms.

I guess it would be a real benefit for bootstrap!


folder created and added sample doc

welcome message

5 Points are assured. No Errors found by AI system, you must be really good in writing uipath code. An expert need to review your code and it will be done before next sunrise :)

5 Points are assured. No Errors found by AI system, you must be really good in writing uipath code. An expert need to review your code and it will be done before next sunrise :)


Delete account endpoints are slow

Both the page for requesting delete as a user and the page for deleting an account as a site admin take too long
Average on PROD for the last week:
Delete Request - 3.960 seconds
Delete Account - 9.277 seconds
These endpoints should not take so long and it's annoying for the support request on-call.

Backlogging and unassigning because this was not as trivial as I thought.


Update VCPKG to latest release (currently used one yields 404 on some packages

this hopefully fixes the Windows build failures on CI.

Windows CI passes. Arch Linux we still have to fix (seperately), apparently. 🤔


Crash on iOS

On IOS it's crashing instead of  restart, any solution?

Have you modified the code as mentioned in README?

yes
import UIKit
import Flutter
import restart

@main
@objc class AppDelegate: FlutterAppDelegate {
  override func application(
    _ application: UIApplication,
    didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
  ) -> Bool {
    // --------------------------------------------------
    RestartPlugin.generatedPluginRegistrantRegisterCallback = { [weak self] in
        GeneratedPluginRegistrant.register(with: self!)
    }
    // --------------------------------------------------
    GeneratedPluginRegistrant.register(with: self)
    return super.application(application, didFinishLaunchingWithOptions: launchOptions)
  }
}

@alexmercerind I user this plugin for a landscape game, on restart (when it doesn't crash) and rotate my phone the game begin in portrait (Knowing that I have configured in the Info.pilst that it's a landscape app). This bug is only on IOS too.

Can you please share a minimal sample?

Hello @alexmercerind, any update about these 2 bugs on IOS?


The USB slave device of esp32-s3 chip cannot be recognized normally in windows11 and deepin OS (IDFGH-6910)

Before submitting a new issue, please follow the checklist and try to find the answer.

[x] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[x] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[x] I have searched the issue tracker for a similar issue and not found a similar issue.

Environment

Development Kit:      [ESP32-S3-DevKitM-1 | none]
Module or chip used:  [ESP32-S3-MINI-1 | ESP32-S3-WROOM-1 | ESP32-S3-WROOM-2]
IDF version : v5.0-dev-1881-g6ddd6e6d29
Build System:         [idf.py]
Compiler version: xtensa-esp32s3-elf-gcc.exe (crosstool-NG esp-2021r2-patch3) 8.4.0
Operating System:     [Windows11]
(Windows only) environment type: VSCode
Using an IDE:  master
Power Supply:         [USB]

Problem Description
Reset to download mode, install the driver according to the official tutorial USB download normal, USB ID identification normal, use examples\peripherals\ USB \device\tusb_console, set to ESP32S3 chip. After compiling, download the program through USB without error. After the update is successful, power off and re-insert USB, and the system cannot identify USB device. Vendor ID: 0x0000, Product ID:0x0002, even if zadig-2.7.exe is used to update the driver for it, it cannot be used normally.
Expected Behavior
After the USB is inserted, it can be identified normally
Actual Behavior
After the USB is inserted, it cannot be identified properly
Steps to reproduce

cd examples\peripherals\ USB \device\tusb_console
idf.py set-target esp32s3
idf.py build
idf.py dfu
idf.py dfu-flash
Unplug the USB cable and plug in the USB again

Debug Logs
...
I (270) sleep: Configure to isolate all GPIO pins in sleep state
I (277) sleep: Enable automatic switching of GPIO sleep configuration
I (284) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
I (304) example: USB initialization
I (304) tusb_desc:
┌─────────────────────────────────┐
│  USB Device Descriptor Summary  │
├───────────────────┬─────────────┤
│bDeviceClass       │ 0           │
├───────────────────┼─────────────┤
│bDeviceSubClass    │ 0           │
├───────────────────┼─────────────┤
│bDeviceProtocol    │ 0           │
├───────────────────┼─────────────┤
│bMaxPacketSize0    │ 64          │
├───────────────────┼─────────────┤
│idVendor           │ 0x303a      │
├───────────────────┼─────────────┤
│idProduct          │ 0x3000      │
├───────────────────┼─────────────┤
│bcdDevice          │ 0x101       │
├───────────────────┼─────────────┤
│iManufacturer      │ 0x1         │
├───────────────────┼─────────────┤
│iProduct           │ 0x2         │
├───────────────────┼─────────────┤
│iSerialNumber      │ 0x3         │
├───────────────────┼─────────────┤
│bNumConfigurations │ 0x1         │
└───────────────────┴─────────────┘
I (474) TinyUSB: TinyUSB Driver installed
I (474) example: USB initialization DONE
I (484) example: log -> UART
example: print -> stdout
example: print -> stderr
I (6484) example: log -> UART
example: print -> stdout
example: print -> stderr
...

Today, I just bought the mass production version of S3 chip development board from Anxin Ke. After the same operation, it can be used normally. Therefore, do the S3 chips before mass production have such problems?

Hello, when did you buy your S3 mod, I have the same problem.

I uploaded a sketch and now the board (Adafruit Feather ESP32-S3) does not register as a USB device on my MacBook Pro. Pressing the Boot and Reset buttons on the board have no change. The Neopixel LED turns-on (that's not my sketch doing that) on boot. I may have encountered this issue.

Solved this by powering the board (connecting the USB C port to my laptop) and pressing both Boot and Reset simultaneously. Now the board registers as a USB device on my laptop and in Arduino IDE.

Sorry no one got back to you earlier. However, I couldn't reproduce the issue. Could you please describe what behavior you see when the device 'cannot be identified properly'?
Could you also share your chip revision? You should see it during boot in the serial console., something like this:
I (25) boot: compile time 13:55:29
I (25) boot: chip revision: 0
I (28) boot.esp32s3: Boot SPI Speed : 80MHz

抱歉没有人早点回复你。但是，我无法重现该问题。您能否描述一下当设备“无法正确识别”时您看到的行为？
你也可以分享你的芯片版本吗？您应该在引导期间在串行控制台中看到它，如下所示：
I (25) boot: compile time 13:55:29
I (25) boot: chip revision: 0
I (28) boot.esp32s3: Boot SPI Speed : 80MHz

I'm very sorry that the old version of the chip no longer exists, and in the new version of the chip, there is no such problem again

Thanks for reporting, feel free to reopen. 感谢反馈，如有问题请重新打开此问题，谢谢。

I also have the same problem, can the new version of the chip solve this problem？

I also have the same problem, can the new version of the chip solve this problem？

我的问题是无法使用USB DFU，貌似是因为旧版芯片efuse的问题，根据文档，新版已经修复这个错误

邮件已收到，谢谢


Skip promoted jobs?

Hello,
Is there a way to skip scraping promoted jobs? The promoted jobs are entirely irrelevant to the title of the position I'm searching for. It would be nice if there is a way to skip them. Thank you.

Hi, just added skip_promoted_jobs query option. Give it a go!

Hi, when I run my query it usually full of Promoted Jobs (over 80%). Linkedin will usually place 100's of Promoted Jobs as the will be entire search results just full of promoted jobs.
When running the scraper may I ask if we can stop the scrape when the 25 jobs are all promoted and skipped. Otherwise the scraper will continue to run indefinitely.

@DeonEmyr you can collect from metrics how many jobs have been skipped and act accordingly


Explain what the macros do

After reading through the tutorial I understand how to build the functions and storage for a module with the decl_storage! and decl_module! macros, but I don't understand what is actually being built by the macros. It would be great to have a section that explains some of the inner workings.
For the storage macro, what are the "for" and "as" words expressing?
trait Store for Module<T: Trait> as KittyStorage {
What is the structure of a Module and Storage? We really only see a glimpse of their existence in the construct_runtime! macro with Substratekitties: substratekitties::{Module, Call, Storage}
Similarly for decl_module!, what is enum Call?
pub struct Module<T: Trait> for enum Call where origin: T::Origin {

@jaybutera more in progress
https://substrate.readme.io/docs/construct_runtime

@jaybutera decl_module here:
https://substrate.readme.io/v1.0.0/docs/decl_module


MD5 checksum for files

Is there a way to create a MD5 checksum for a File(in GDScript)?

Why?

Yes, the FileAccess object has a get_md5 method. I'm not sure if it's
exported to gdscript tho.
On 24 February 2016 at 10:29, anatoly techtonik<EMAIL_ADDRESS>wrote:

Why?
—
Reply to this email directly or view it on GitHub
https://github.com/godotengine/godot/issues/3820#issuecomment-188255255.

A quick search in the editor help says that MD5 functions exist only for String and ResourceImportMetadata.

I made a quick hack it looks like it is working but it takes ~1min to make a md5 for a 2.7gb file is that normal?
Why is the name p_file and not p_path?
https://github.com/godotengine/godot/blob/7cb930dbede1b9c21cf138e4a38ebb9e3dbd099f/core/os/file_access.cpp#L482
https://github.com/godotengine/godot/blob/7cb930dbede1b9c21cf138e4a38ebb9e3dbd099f/core/os/file_access.cpp#L469
String _File::get_md5(const String& p_path) const {

	ERR_FAIL_COND_V(!f,String());

	String md5 = f->get_md5(p_path);
	return md5;

}

I made a quick hack it looks like it is working but it takes ~1min to make a md5 for a 2.7gb file is that normal?

That's normal yes, try md5sum directly on your file, it should be in the same order of magnitude.

Why is the name p_file and not p_path?

That's arbitrary I guess :)

I will archive this one since there is proper feature request in this issue now: https://github.com/godotengine/godot/pull/3833

Actually #3833 is a pull request meant to fix this very issue, so I guess it's best to keep it open if e.g. the pull request was rejected but the feature request still valid.

Oh my, it's my mistake, very sorry haven't drink morning coffee yet :)


Database wont sync after importing (web)

After importing the initial_messages.json through the firebase console in the browser and adding the relevant code to main.js below:
// Loads chat messages history and listens for upcoming ones.
FriendlyChat.prototype.loadMessages = function() {
  // Reference to the /messages/ database path.
  this.messagesRef = this.database.ref('messages');
  // Make sure we remove all previous listeners.
  this.messagesRef.off();

  // Loads the last 12 messages and listen for new ones.
  var setMessage = function(data) {
    debugger // NOTE THE DEBUGGER HERE TO FREEZE PAGE IN CHROME DEV TOOLS
    var val = data.val();
    this.displayMessage(data.key, val.name, val.text, val.photoUrl, val.imageUrl);
  }.bind(this);
  this.messagesRef.limitToLast(12).on('child_added', setMessage);
  this.messagesRef.limitToLast(12).on('child_changed', setMessage);
};

the setMessage function is never called which means that the sample application is most likely not connected to the database online.
var config = {
    apiKey: "asdfasdfasdfasdfasdf",
    authDomain: "testapp-ed989.firebaseapp.com",
    databaseURL: "https://testapp-ed989.firebaseio.com", // I've checked this url is the same
    storageBucket: "testapp-ed989.appspot.com",
  };
  firebase.initializeApp(config);

I've initialized firebase in the bottom of my index.html within a <script> and in the database tab of my console, the url is https://testapp-ed989.firebaseio.com/ which is the same as in my config.
The only thing that I'm not sure about is the database configurations which I dont think does anything different about connecting to the database as long as I'm logged in.
{
  "rules": {
    "users": {
      "$uid": {
        ".read": "$uid === auth.uid",
        ".write": "$uid === auth.uid"
      }
    }
  }
}

The imported messages wont display regardless of how many times I reload/re-serve/deploy.

Hey @JeffreyCheng92,
Could you check your browser's Javascript console for any errors? Also could you upload your code online (using firebase deploy) and give us the URL?
Thanks!

@nicolasgarnier I figured it out. There were no errors but it had to do with the database.rules.json. Basically, it wasn't throwing an error when I tried to connect to the /messages even if there wasn't any permissions for it. Maybe it can be added to the tutorial? Now my database.rules.json looks like (copied from the completed web project):
{
  "rules": {
    "messages": {
      ".read": "auth != null",
      ".write": "auth != null"
    }
  }
}

Upon further reading, it was actually step 9 where the database.rules.json is edited. Maybe step 9 and 8 can be swapped?

It's very strange because by default, on new projects, the Database rules are:
{
  "rules": {
    ".read": "auth != null",
    ".write": "auth != null"
  }
}

Which should work for the code. Step 9 is actually an optional step for that reason (the app would still work the same if you skipped it). For example could you try to revert the rules to the rules above? Things should still work.

Okay I see the issue here now. It wasn't the tutorials fault at all but when I went to import the initial_messages.json it said the rules had to be changed before the database could be used.

which led me to copy this in my database.rules.json as well as in the online rules.

Thanks for clearing all of this up!


improvement Using set to store a small number of elements to improve performance

Proposed changes
Test on SSB 100g:
select lo_suppkey, count(distinct lo_linenumber) from lineorder group by lo_suppkey;

exec time: 4.388s
create materialized view:
create materialized view customer_uv as select lo_suppkey, bitmap_union(to_bitmap(lo_linenumber)) from lineorder group by lo_suppkey;

select lo_suppkey, count(distinct lo_linenumber) from lineorder group by lo_suppkey;

exec time: 12.908s
test with the patch, exec time: 5.790s
Problem summary
Describe your changes.
Checklist(Required)

[ ] Does it affect the original behavior
[ ] Has unit tests been added
[ ] Has document been added or modified
[ ] Does it need to update dependencies
[ ] Is this PR support rollback (If NO, please explain WHY)

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

run buildall

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 34.69 seconds
stream load tsv:          443 seconds loaded<PHONE_NUMBER>9 Bytes, about 161 MB/s
stream load json:         22 seconds loaded<PHONE_NUMBER> Bytes, about 102 MB/s
stream load orc:          59 seconds loaded<PHONE_NUMBER> Bytes, about 17 MB/s
stream load parquet:          30 seconds loaded 861443392 Bytes, about 27 MB/s
insert into select:          74.7 seconds inserted 10000000 Rows, about 133K ops/s
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230524025724_clickbench_pr_149288.html

run buildall

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 34.3 seconds
stream load tsv:          456 seconds loaded<PHONE_NUMBER>9 Bytes, about 156 MB/s
stream load json:         23 seconds loaded<PHONE_NUMBER> Bytes, about 97 MB/s
stream load orc:          59 seconds loaded<PHONE_NUMBER> Bytes, about 17 MB/s
stream load parquet:          30 seconds loaded 861443392 Bytes, about 27 MB/s
insert into select:          76.7 seconds inserted 10000000 Rows, about 130K ops/s
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230524051702_clickbench_pr_149411.html

run buildall

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 35.13 seconds
stream load tsv:          445 seconds loaded<PHONE_NUMBER>9 Bytes, about 160 MB/s
stream load json:         23 seconds loaded<PHONE_NUMBER> Bytes, about 97 MB/s
stream load orc:          59 seconds loaded<PHONE_NUMBER> Bytes, about 17 MB/s
stream load parquet:          30 seconds loaded 861443392 Bytes, about 27 MB/s
insert into select:          25.5 seconds inserted 10000000 Rows, about 392K ops/s
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230524140218_clickbench_pr_149859.html

run buildall

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 34.65 seconds
stream load tsv:          445 seconds loaded<PHONE_NUMBER>9 Bytes, about 160 MB/s
stream load json:         22 seconds loaded<PHONE_NUMBER> Bytes, about 102 MB/s
stream load orc:          59 seconds loaded<PHONE_NUMBER> Bytes, about 17 MB/s
stream load parquet:          30 seconds loaded 861443392 Bytes, about 27 MB/s
insert into select:          25.5 seconds inserted 10000000 Rows, about 392K ops/s
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230525021406_clickbench_pr_150033.html

run buildall

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 34.92 seconds
stream load tsv:          443 seconds loaded<PHONE_NUMBER>9 Bytes, about 161 MB/s
stream load json:         22 seconds loaded<PHONE_NUMBER> Bytes, about 102 MB/s
stream load orc:          59 seconds loaded<PHONE_NUMBER> Bytes, about 17 MB/s
stream load parquet:          30 seconds loaded 861443392 Bytes, about 27 MB/s
insert into select:          25.5 seconds inserted 10000000 Rows, about 392K ops/s
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230527155255_clickbench_pr_151907.html

run buildall

run buildall

run buildall

run buildall

run buildall


⚠ API - Lens has degraded performance

In 2bd259c, API - Lens ($LENS_API_URL) experienced degraded performance:

HTTP code: 503
Response time: 665 ms

Resolved: API - Lens performance has improved in 1af1328 after 8 minutes.


podvm: run image jobs from the controller automatically

This will automatically update your peer-pods-cm with the image ID, currently supports only AWS
to test use:
quay.io/snir/osc-operator:v1.4.8
quay.io/snir/osc-operator-bundle:v1.4.8
quay.io/snir/osc-operator-catalog:v1.4.8

cc also @jensfr  @pmores

@jensfr @bpradipt , fips changes add to this pr, based on https://github.com/confidential-containers/cloud-api-adaptor/pull/1474

Same remarks on dnf and the securityContext apply to the other yaml files as well.

Hi @gkurz thanks for reviewing, some of the commits i addressed in HEAD^, the rest i believe are addressed in the the HEAD commit which hides the ImageGenerator initialization behind Create/Delete
(later I'll try to squash it all)


session_start(): Setting option 'session.name' failed

Trying out Grav on my Linux laptop. Ubuntu 18.04 LTS, php (7.2), nginx, php-fpm from system packages. Nginx config from webserver-configs directory with a modified server_name directive to match the website hostname configured in /etc/hosts.
When accessing http://mysitename.local/ for the first time, I get an exception with a stack trace.
session_start(): Setting option 'session.name' failed
The root cause is that $options arrays has keys with session. prefixes when invoking session_start() in system/src/Grav/Framework/Session/Session.php line 192. That is incorrect. The docs for session_start() explicitly say that $options array should not have session. prefixes.
Here is the array I get
array:11 [▼
  "session.name" => "grav-site-XXXXXX"
  "session.cookie_lifetime" => "1800"
  "session.cookie_path" => "/"
  "session.cookie_domain" => "mysitename.local"
  "session.cookie_secure" => "0"
  "session.cookie_httponly" => "1"
  "session.cache_limiter" => "nocache"
  "session.use_trans_sid" => "0"
  "session.use_cookies" => "1"
  "session.lazy_write" => "1"
  "session.use_strict_mode" => "1"
]

I would have provided a patch but I am not yet familiar with the codebase. The patch I hacked works for me, but I need to learn how to run the test suite if Grav has one...
The error should have been caught by others but for some reason I am the person reporting it... And suppressing warnings with @ seems fishy to me.

I got this exception because I had xdebug.scream set to 1 that essentially disables @.
https://xdebug.org/docs/all_settings

i think it does happen because you named each key in array with dot
try to remove that   . between session and properties  like this
$_SESSION = array ([
"name" => "grav-site-XXXXXX",
"cookie_lifetime" => "1800",
"cookie_path" => "/",
"cookie_domain" => "mysitename.local"
"cookie_secure" => "0",
"cookie_httponly" => "1",
"cache_limiter" => "nocache",
"use_trans_sid" => "0",
"use_cookies" => "1",
"lazy_write" => "1",
"use_strict_mode" => "1",
]);
try this its should be works

i think it does happen because you named each key in array with dot
try to remove that   . between session and properties  like this
$_SESSION = array ([
"name" => "grav-site-XXXXXX",
"cookie_lifetime" => "1800",
"cookie_path" => "/",
"cookie_domain" => "mysitename.local"
"cookie_secure" => "0",
"cookie_httponly" => "1",
"cache_limiter" => "nocache",
"use_trans_sid" => "0",
"use_cookies" => "1",
"lazy_write" => "1",
"use_strict_mode" => "1",
]);
try this its should be works

This has been fixed for a long time ago. It's using ini_set() now.

This has been fixed for a long time ago. It's using ini_set() now.


Extraction: caveat about polymorphic mutual recursion

OCaml is tricky. When two functions are mutually recursive, and there's a type variable 'a in one of the two, the "liveness" of that variable is shared across both definitions. This means, in particular, that when g calls f, f's type variable might be unified preventing it from being polymorphic.
Here's a source F* example:
module A

let rec f (x : 'a) : Dv 'a =
    x
and g (x : int) : Dv int =
    f x

let x : unit = f ()

(f is not even recursive in this example, but that's besides the point)
F* accepts this, since f was typed at 'a -> Dv 'a. When extracting to OCaml, we get roughly:
let rec f x = x
and g: int -> int = fun x  -> f x

let x: unit = f ()

And this fails with
File "A.ml", line 3, characters 16-18:
Error: This expression has type unit but an expression was expected of type
         int

This is because f was inferred to have type int -> int because of the call in g's body. Adding type annotations for arguments and results doesn't fix the problem, and the real fix seems to be using an explicit polymorphic annotation (the 'a. ... part):
let rec f : 'a. 'a -> 'a = fun x -> x
and g: int -> int = fun x  -> f x
let x: unit = f ()

Reference: http://caml.inria.fr/pub/docs/manual-ocaml/extn.html#sec227
Thanks a lot to @Armael for helping with this.

(continuing discussion from #1127)
This is now fixed in guido_tactics, after combining fixes from Nik and me. The warning about unused arguments is still present, but I plan to fix it later (I consider it less priority than merging the tactics branch into master).

Fix now in master, for all OCaml versions


Fix AccessEnforcementOpts for OSSA

Add extendOwnership to fixup OSSA before merging access scopes.
Uses the new GuaranteedOwnershipExtension utility.

Build failed
Swift Test Linux Platform
Git Sha - 7d9caf381f7ba2a99953a2f1a9eede5476ad44c3

@swift-ci smoke test linux


Added icon support to KBar

Added icon support to KBar. Works with strings, inline svgs, and imported icons and with all optional fields.

Fixes issue #136

Thanks, can you align the spacing? Might need to fix the icon size

The alignment issue came up because I was using FontAwesome for the first icon, embedded HeroIcons svg for the second, and FontAwesome again for the third. Had I stayed consistent with the libraries, they would have been lined up properly. I attached a picture of my site to show what just using FontAwesome would look like with smaller icons.

And sample code for the socials section
const socials: Action[] = [
    {
      id: siteMetadata.email,
      name: 'Email',
      section: socialSection,
      perform: () => {},
      icon: <FontAwesomeIcon icon={faEnvelope} fixedWidth className={'text-xs'} />,
    },
    {
      id: siteMetadata.github,
      name: 'Github',
      section: socialSection,
      perform: () => window.open(siteMetadata.github, '_blank'),
      icon: <FontAwesomeIcon icon={faGithub} fixedWidth className={'text-xs'} />,
    },
    {
      id: siteMetadata.linkedin,
      name: 'LinkedIn',
      section: socialSection,
      perform: () => window.open(siteMetadata.linkedin, '_blank'),
      icon: <FontAwesomeIcon icon={faLinkedin} fixedWidth className={'text-xs'} />,
    },
]

The other instance I think there might be spacing issues is with plain text or emojis but I think it is up to the users to enforce proper spacing and sizing.

Thanks for the explanation and LGTM!


Images not being centered properly

The closing center tag around the cover image is written as <ceter> instead of </center>

#5


feat(MOPLAT-331): dark mode

This PR resolves MOPLAT-331
Description
dark mode 😎 ⚫
Current state
https://user-images.githubusercontent.com/100233/180281660-ba3ee394-6f3f-4fd2-bce9-a875cf0365af.mov

PR Checklist

[ ] I tested my changes on iOS and Android.
[ ] I added screenshots or videos to illustrate my changes.
[ ] I added Tests and Stories for my changes.

To the reviewers 👀

[ ] I would like at least one of the reviewers to run this PR on the simulator or device.

Need help with something? Have a look at our docs, or get in touch with us.

We tried this when we paired, and it seemed to work, but when working on it more it definitely seemed like a thing that would break sooner or later, for specific cases when we need the actual color without the mapping. So after some more thought I went with the original trial of the extra naming layer that seems more futureproof.

In which way did it seem like it would break sooner or later?
If we need a specific color we could do this locally, but it definitely feels wrong replacing all our colors with "background", "text", "contrast" etc. :/

I'm reading this to get some more opinions on the topic
https://blog.zenhub.com/improving-design-system-for-dark-mode-theming/
https://www.google.com/search?q=how+to+code+dark+mode+on+your+design+system&oq=how+to+code+dark+mode+on+your+design+system&aqs=chrome..69i57j0i22i30j0i390l3j69i64l3.24864j0j7&sourceid=chrome&ie=UTF-8

felt like it would break when we need a raw color without the mapping. we even had a hard time for the dark-mode-only avatar outline. and adding a manual "white" there is not making things easier. All colors should come from the tokens/DS. It makes things simple to have hex strings like #123456, name these like orange70, and then name our usages like background or buttonDisabled.
We are doing the same thing, but the 2-layer approach allows the designers to assign the same name color to many usage colors, and if they change one, all of them change. It also allows devs to handle colors better, depending if we want the background color or if we actually want the black100 color, based on if its a usage as background or similar, or if we actually just need the color black100, or even specifically the darkest color of the display, which in that case we could use #000. Having two name layers makes things more easy to work with. One layer is great for one theme. Two layers help us go from one theme to two, but honestly if we wanted fifteen themes, we could easily make them using just the 2 named layers.
Also, your first link suggests exactly the same, with the primary, secondary names, that point to black-60 and black-0 for light and dark. Many others links and people suggest the same, and I have found this to be more convenient than just a mapping that bluntly replaces a hex string for a raw color name like black100 from #000 to #fff.

Great work @pvinis 👏
I just noticed a few things while running this branch locally that need to be fixed

Loading spinner screen which is white.

https://user-images.githubusercontent.com/17421923/181197429-ab2385ff-9594-43ba-b928-4f99de393c07.mov

Buttons with the active color blue looks weird.

https://user-images.githubusercontent.com/17421923/181197669-286d3ece-bb26-4319-be68-6774cf2b5e74.mov

Text input not visible

https://user-images.githubusercontent.com/17421923/181197901-43a2da96-cedf-4a9e-9496-b3d9f21d00b5.mov

Currently available in all albums text alignment is messed up

We already have a Settings screen, let's maybe rebase to use it?
https://github.com/artsy/energy/pull/120
src/app/screens/HomeTabs/Settings/Settings.tsx

is it already rebased, and i reworked them a bit to start using Screen and Screen.Body etc. I also made a SettingsItem and moved it in the sharedUI dir, so we can make settings items in the same way.

I feel like changing our color scheme without consulting designers first is a change that is going to create an unnecessary cognitive burden and I personally am very much against doing this right now.
Since this is not a pressing matter, but rather a nice thing to have, instead of doing this change I would feel much better if we waited until the designers have decided on a color scheme and naming before changing anything.
Having said that, if this is something the whole team is onboard with, feel free to go ahead and merge.

i have consulted with the design team, this is the temp thing we will use. this PR has all the work to support dark mode, and the final colors are the thing we are waiting on.
i can make it so that the toggle just doesn't flip, so it is not visible to the user, if you think this is better. thought i don't see how this changes anything, since we are still not releasing this as is, and its useful for genia to play around with it while figuring out the final colors.

for completeness, this is the ticket explaining what we need to change once the design team has picked the final colors: https://artsyproduct.atlassian.net/browse/MOPLAT-381, very simple changes.
also, we do have a figma file, its here https://www.figma.com/file/BQVn5aOJ4varTAgtz8mnai/Folio-2022?node-id=1493%3A6887, and its a WIP.
ill see if i can separate things somehow, but i don't think i can 🤔


Is Dead??

is dead project?

Yeah pretty much :-/ see #387

Was thinking about utilizing this library for a project. Now not so sure.

See #395 for news on maintainership.
@shyamal890 -- although development has not been active,

it works very well in my experience
I have material to prepare a bug fix release,
It works well with the upcoming full calendar 2.7.0, a highly expected release as it will have support for drag-and-drop on touch screen devices
see #395 , come join us lend a hand

No it's not :-)


Add SparkSql function make_decimal_by_unscaled_value

Returns decimal value with the type of decimal from an unscaled bigint value x.
MakeDecimal is internal Expression in Spark but a regular function in Velox.

Can you help review this PR? @mbasmanova

I will move the function to gluten side.
And refactor when Velox supports custom SpecialForm.

Fixed all the comments, can you help review again? @mbasmanova

Can you help take a look? @mbasmanova

Deepak, could you help take a look? @majetideepak

@mbasmanova, @majetideepak, any comments of this PR? The PR is used to pass TPCH/DS in Gluten

@FelixYBW I reviewed this change some time back and left comments. I'm now waiting for the author to address the comments and ping for another round of review.

@mbasmanova @FelixYBW I will follow up, thanks.

@mbasmanova As discussed, make_decimal function was registered as special form. Could you help review again? Thank you.

@mbasmanova Masha, could you help review again? Thank you.

@mbasmanova Above comments were fixed. Thank you.

@mbasmanova Above comments were fixed. Could you help review again? Thanks.

Hi @mbasmanova, do you have any other comment? Thanks.

@mbasmanova Thanks, I appreciate that. There are some linter issues, please contact me to fix them if needed.


fix: handle versions without v prefix

As mentioned in https://github.com/jdx/mise/issues/1776, versions without v prefix do currently not work.

that was quick!


face_locations() with model='cnn' using GPU still very slow (~600ms for 500x400 image) on Jetson Nano

face_recognition version: 1.3
Python version: 3.6.9
Operating System: Ubuntu 18.04.6 LTS (Jetson Nano 4gb w/ JetPack 4.6)

I'm just trying to get facial detection and recognition working for an app that needs to detect/recognize faces as quickly as possible. I understand with GPU that this library can get up to 15fps. I am using a Jetson Nano 4gb with JetPack 4.6, dlib 19.24 (CUDA enabled), and a clean installation of face_recognition 1.3 via pip3.
I installed face_recognition via pip3 which had the following output:
Looking in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com
Collecting face_recognition
  Downloading face_recognition-1.3.0-py2.py3-none-any.whl (15 kB)
Requirement already satisfied: Click>=6.0 in /usr/lib/python3/dist-packages (from face_recognition) (6.7)
Requirement already satisfied: numpy in /usr/local/lib/python3.6/dist-packages (from face_recognition) (1.18.5)
Requirement already satisfied: Pillow in /home/marc/.local/lib/python3.6/site-packages (from face_recognition) (8.4.0)
Collecting face-recognition-models>=0.3.0
  Downloading face_recognition_models-0.3.0.tar.gz (100.1 MB)
     |████████████████████████████████| 100.1 MB 1.4 MB/s
  Preparing metadata (setup.py) ... done
Requirement already satisfied: dlib>=19.7 in /usr/local/lib/python3.6/dist-packages/dlib-19.24.0-py3.6-linux-aarch64.egg (from face_recognition) (19.24.0)
Building wheels for collected packages: face-recognition-models
  Building wheel for face-recognition-models (setup.py) ... done
  Created wheel for face-recognition-models: filename=face_recognition_models-0.3.0-py2.py3-none-any.whl size=100566186 sha256=7c5980c2063efaed4fa069d0aa2bcd5a7ea66ede6e93ae0be6f5582323aa12a2
  Stored in directory: /tmp/pip-ephem-wheel-cache-rr2na938/wheels/6a/e1/1a/8969952b51c25409d5b96ecb09603de12b8534bd6d68e6e7d1
Successfully built face-recognition-models
Installing collected packages: face-recognition-models, face-recognition
Successfully installed face-recognition-1.3.0 face-recognition-models-0.3.0

I then wrote a very simple python script that looks like:
#!/usr/bin/python3

import face_recognition
import time

def current_milli_time():
    return round(time.time() * 1000)

image = face_recognition.load_image_file("your_file.jpg")

start=current_milli_time()
face_locations = face_recognition.face_locations(image, model="cnn")
print(face_locations)
end=current_milli_time()
print("Get locations took {}ms" .format(end-start))

start=current_milli_time()
face_locations = face_recognition.face_locations(image, model="cnn")
print(face_locations)
end=current_milli_time()
print("Get locations took {}ms" .format(end-start))

I know the first call takes a while (about 15s in this case), and subsequent calls should be faster, so that's why I did the call twice. The image "your_file.jpg" is a 500x400 jpg of 2 people standing side by side.
Unfortunately the quickest I can get the face_locations function to run is around 600ms.  Am I misunderstanding something? I would expect facial detection should be faster than ~1.5 fps on a GPU accelerated platform, no?
I have confirmed with tegrastats that the GPU is being used, as I can see the GPU frequency to up to 99%, so I know that isn't the issue.
Any thoughts? Any help would be greatly appreciated.

I'm still experiencing this issue. I have recompiled dlib and reinstalled face_recognition, but I am still seeing similar performance issues. Is there any information to be provided that might help me resolve this?

I have the same issue


chore: enable dependabot

This PR enables dependabot.

@eddycharly please feel free to fully take ownership of how you want to apply pull requests and review code. 🙂

Sure, I will configure ci checks, code owners, required reviews etc…


web finger 404 - 'activitypub_wrong_host'

I've been trying to get webFinger and ActivityPub working on my site with the help of my host. They have changed a few of the bot settings which seem to let webFinger work. However, if I use https://webfinger.net/lookup/?resource=%40drew%40drewwestcott.co.uk I get 404 error.
Trying to view the https://drewwestcott.co.uk/.well-known/webfinger?resource=acct%3A%40drew%40drewwestcott.co.uk via a GET returns
{"code":"activitypub_wrong_host","message":"Resource host does not match blog host","data":{"status":404}}
My site url and blog address are set to https://drewwestcott.co.uk and my primary domain in the hosting is also drewwestcott.co.uk
What's the next step I should take to try and find out what is causing the error?
Thanks

WebFinger does not support the @ before a username, that is a construct from the fediverse (mainly mastodon) to simulate the @-replies on Twitter. To check your WebFinger-Endpoint, simply use<EMAIL_ADDRESS>=> https://drewwestcott.co.uk/.well-known/webfinger?resource=acct%3Adrew%40drewwestcott.co.uk
To find your profile on Mastodon, you can still use<EMAIL_ADDRESS>I agree that this might be a bit confusing :)

Thanks, hadn't realised I needed to search without the @ symbol on WebFinger. As they say, you learn something new everyday.


Docker install failed with covenince script?

Hi,
Seems the Docker install has failed... but not clear what has happen as it using Docker script in your play task?
TASK [Run Docker install convenience script.] ********************************************************************************************** fatal: [<IP_ADDRESS>]: FAILED! => {"changed": true, "cmd": ["/tmp/get-docker.sh"], "delta": "0:01:54.361977", "end": "2022-07-31 14:36:31.143754", "msg": "non-zero return code", "rc": 100, "start": "2022-07-31 14:34:36.781777", "stderr": "+ sh -c apt-get update -qq >/dev/null\n+ sh -c DEBIAN_FRONTEND=noninteractive apt-get install -y -qq apt-transport-https ca-certificates curl >/dev/null\n+ sh -c mkdir -p /etc/apt/keyrings && chmod -R 0755 /etc/apt/keyrings\n+ sh -c curl -fsSL \"https://download.docker.com/linux/raspbian/gpg\" | gpg --dearmor --yes -o /etc/apt/keyrings/docker.gpg\n+ sh -c chmod a+r /etc/apt/keyrings/docker.gpg\n+ sh -c echo \"deb [arch=armhf signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/raspbian buster stable\" > /etc/apt/sources.list.d/docker.list\n+ sh -c apt-get update -qq >/dev/null\n+ sh -c DEBIAN_FRONTEND=noninteractive apt-get install -y -qq --no-install-recommends docker-ce docker-ce-cli containerd.io docker-compose-plugin >/dev/null\nE: Sub-process /usr/bin/dpkg returned an error code (1)", "stderr_lines": ["+ sh -c apt-get update -qq >/dev/null", "+ sh -c DEBIAN_FRONTEND=noninteractive apt-get install -y -qq apt-transport-https ca-certificates curl >/dev/null", "+ sh -c mkdir -p /etc/apt/keyrings && chmod -R 0755 /etc/apt/keyrings", "+ sh -c curl -fsSL \"https://download.docker.com/linux/raspbian/gpg\" | gpg --dearmor --yes -o /etc/apt/keyrings/docker.gpg", "+ sh -c chmod a+r /etc/apt/keyrings/docker.gpg", "+ sh -c echo \"deb [arch=armhf signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/raspbian buster stable\" > /etc/apt/sources.list.d/docker.list", "+ sh -c apt-get update -qq >/dev/null", "+ sh -c DEBIAN_FRONTEND=noninteractive apt-get install -y -qq --no-install-recommends docker-ce docker-ce-cli containerd.io docker-compose-plugin >/dev/null", "E: Sub-process /usr/bin/dpkg returned an error code (1)"], "stdout": "# Executing docker install script, commit: b2e29ef7a9a89840d2333637f7d1900a83e7153f", "stdout_lines": ["# Executing docker install script, commit: b2e29ef7a9a89840d2333637f7d1900a83e7153f"]}

Managed to find a set of steps to ensure previous failed installs from above where cleaned up.  Completing the below steps and rerunning you play solved the failures and I gained a working Docker install.
Docker Uninstall Clean

sudo apt-get remove docker*
removed /etc/docker /var/lib/docker /etc/init.d/docker /run/docker folders
sudo apt-get clean
rebooted before retrying


Release v0.2.0

We got in a weird state with some packages where there are newer versions published from the monorepo days than the version outside the monorepo. Doing a minor version bump to get clear of that

!merge


file delete confirmation message change

Pull Request Checklist:

[ ] Positive Test Case Written by Dev

[ ] Automated Testing

[ ] Sufficient User and Developer Documentation

[ ] Passing Jenkins Build

[ ] Peer Code review and approval

Positive Test Case

[Enter positive test case here]

METRIC
VALUE

NEW BUGS
0

NEW VULNERABILITIES
0

NEW DUPLICATED LINES DENSITY
0.0

NEW CODE SMELLS
0

NEW SECURITY HOTSPOTS
0

https://sonarqube.cuahsi-workstation.com:9000/dashboard?id=hydroshare-4295


Remove master and whitelist text

Signed-off-by: Joshua Li<EMAIL_ADDRESS>Description
[Describe what this change achieves]
Issues Resolved
[List any issues this PR will resolve]
Check List

[ ] New functionality includes testing.

[ ] All tests pass, including unit test, integration test and doctest

[ ] New functionality has been documented.

[ ] New functionality has javadoc added
[ ] New functionality has user manual doc added

[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #342 (7e909da) into main (9b4391e) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##               main     #342   +/-   ##
=========================================
  Coverage     74.18%   74.18%
  Complexity      383      383
=========================================
  Files            94       94
  Lines          3966     3966
  Branches        639      639
=========================================
  Hits           2942     2942
  Misses          890      890
  Partials        134      134

Flag
Coverage Δ

dashboards-reports
76.69% <ø> (ø)

reports-scheduler
71.85% <ø> (ø)

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

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 9b4391e...7e909da. Read the comment docs.


Support AWS Profiles and/or Session Tokens with AWS providers

Is your feature request related to a problem? Please describe.
Currently, the only AWS authentication supported is via access key and secret access key. More complex setups use SSO profiles or require a Session Token. Neither is supported by promptfoo.
Describe the solution you'd like
Support AWS Profiles and/or AWS Session Tokens for authentication.
Describe alternatives you've considered
Do not use promptfoo or use a Custom Python provider that does its own AWS authentication.

Released in 0.96.0!


New package: Colab v0.1.0

Registering package: Colab
Repository: https://github.com/Chandu-4444/Colab.jl
Created by: @Chandu-4444
Version: v0.1.0
Commit: d45050bddd948f65168f65af503cd76a9f6e9d47
Git reference: HEAD

Hi @Chandu-4444, could you please put some indications in the README of the package what it is for and how it works? It doesn't need to be super in depth, but it's generally bad to have registered packages that come with no instructions or even indication what they do.

Hi @Chandu-4444, could you please put some indications in the README of the package what it is for and how it works? It doesn't need to be super in depth, but it's generally bad to have registered packages that come with no instructions or even indication what they do.

Yeah sure. I totally somehow forgot to update the README. Thanks for reminding.

Can someone please approve this for merging. I don't think the name conflict is an issue. Thanks


Carthage only builds Realm.framework

➜ cat Cartfile
github "realm/realm-cocoa" "v0.93.1"

➜ carthage build --platform iOS  --no-use-binaries

At the moment, Carthage only builds Realm.framework, but ignores RealmSwift.framework.

That's because Carthage doesn't support building Realm Swift from source. Use Carthage binaries instead: github "realm/realm-cocoa" ~> 0.93

Thanks. Is there a specific reason for this?
I think this should explicitly be added to the installation guide. We are constantly hitting the Github API limit on one of our projects, thus are required to use --no-use-binaries in some cases.

Carthage doesn't support multiple projects in a single repo, and we couldn't get building Realm and RealmSwift from a single xcodeproj to work correctly (https://github.com/realm/realm-cocoa/pull/1809).

@jpsim

This didn't work for me, adding " ~> 0.93" made no difference. Is there another Carthage option to specify use binaries?
Someone should probably change the RealmSwift/Cartage option on https://realm.io/docs/swift/latest/ since those instructions are apparently not accurate.

@michaelsand are you using Carthage 0.7.4?

That was it, apparently the link I'd followed to the latest version was outdated, thanks.


Fix occlum wrong futex implemention

Please modify the implementation of se_event in sgx_urts.
commit to sgx_2.21_for_occlum branch.


libtess.js library is undefined when using SvgScene

Hmm What's your PixiJS setup? The stack trace has @pixi-essentials/cull in it.

The issue was with the libtess library itself. What fixed it was wraping the .min.js file like this
var libtess = (function() {
...
return this.libtess;
}).apply(new Object());


fix(select): ensure the correct option is selected in IE 10/11

Request Type: bug
How to reproduce: 1.  go here: http://plnkr.co/edit/zLwCvV2TgELcWiHwxn25?p=preview
2.  select foo bar from drop down in IE 10/11.  foo bar will not be shown as selected in the dropdown
Component(s): forms
Impact:
Complexity: small
This issue is related to:
Detailed Description:
Other Comments:
fixes issue #2828

This works in 1.3.16 / 1.4.0


Example code not working (happy and sad both NaN)

Hi there,
I checked out the code, ran "npm install", then "node index.js", but I get the following output:
{ happy: NaN, sad: NaN }

Any idea what's going wrong? I'm running on Windows, if that matters.

Hi @Connum , I'm gonna check it asap 😄

Try to increase iteration number

broken lol

It also doesnt work even running against "I am sad" which is one of the inputs

It also doesnt work even running against "I am sad" which is one of the inputs

Yeah its not the best, the best approach would be to use nlp.js or use NLU with a public api or something


Docs: gtk::Revealer is missing gtk::RevealerExt trait

The gtk::RevealerExt trait is not listed under implements.

This no longer seems to be the case. Can someone close this bug? cc @GuillaumeGomez

Thanks for checking!


Support categories

Category resource
In Task, convert category list into category (lazy-loaded) objects

Not supported by the new API yet


Mark cloud as beta

Pull Request Description
Closes: enso-org/cloud-v2#1466
This PR:

Makes local as default choice in the sidebar (if appropriate)
Add new <Badge /> component
Add Beta badge on Cloud item in the Sidebar

Important Notes

Checklist
Please ensure that the following checklist has been satisfied before submitting the PR:

[ ] The documentation has been updated, if necessary.
[ ] Screenshots/screencasts have been attached, if there are any visual changes. For interactive or animated visual changes, a screencast is preferred.
[ ] All code follows the
Scala,
Java,
TypeScript,
and
Rust
style guides. In case you are using a language not listed above, follow the Rust style guide.
[ ] Unit tests have been written where possible.

Can't build
 INFO ide_ci::program::command: pnpm ℹ src/components/Devtools/EnsoDevtools.tsx(166,51): error TS17001: JSX elements cannot have multiple attributes with the same name.
 INFO ide_ci::program::command: pnpm ℹ /Users/pawelbuchowski/projects/enso/app/dashboard:
 INFO ide_ci::program::command: pnpm ℹ  ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL<EMAIL_ADDRESS>compile: `tsc`
 INFO ide_ci::program::command: pnpm ℹ Exit status 2
 INFO ide_ci::program::command: pnpm ℹ /Users/pawelbuchowski/projects/enso/app/gui2:
 INFO ide_ci::program::command: pnpm ℹ  ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL<EMAIL_ADDRESS>build: `corepack pnpm -r --filter enso-dashboard run compile && corepack pnpm run build:vite`

@PabloBuchu fixed


Authoring az cli extensions

We're trying to run tests for a given extension. Are these steps correct?
git clone https://www.github.com/azure/azure-cli
git clone https://www.github.com/azure/azure-cli-extensions
python3 -m venv azcli-extension-env
source azcli-extension-env/bin/activate
pip install azdev
azdev setup --cli ./azure-cli --repo ./azure-cli-extensions
cd azure-cli-extensions
azdev setup -r . -e aks-preview
azdev test aks-preview
The last command fails with:

=============
| Run Tests |
=============

test index found: /home/azureuser/.azdev/env_config/home/azureuser/azure-cli-extensions/env/test_index/latest.json

Test on modules: aks-preview

'aks-preview' not found. If newly added, re-run with --discover
No tests selected to run.

route to CXP team

@rguptar yes, the steps are correct.  Can you please try running azdev test aks-preview --discover.

/unresolve

@rguptar I believe you already got few suggestions from the CLI team on the Github issue linked above.  Please let me know if you still have questions otherwise, we will close this issue.

Ideally, these steps would be added to documentation before closing out this issue but if that's not doable, then we can close this.

@rguptar I get you and as mentioned in the other issue the team will be working on combining and improving the existing in future which could help onboarding developers, I am proceeding with the closure of this issue.
Please feel free to open an issue if you have any questions or any blockers using CLI or CLI extensions.  Thank you.


JWT Provider is called with wrong parameters

"lexik/jwt-authentication-bundle": "^2.6.0"
"nelmio/api-doc-bundle": "^3.3"
"symfony/symfony": "^3.4.17"
Type error: Argument 3 passed to Lexik\Bundle\JWTAuthenticationBundle\Security\Authentication\Provider\JWTProvider::__construct() must implement interface Symfony\Component\EventDispatcher\EventDispatcherInterface, string given, called in /Users/andreastronati/MagicGol/api/var/cache/dev/ContainerXgx0ht6/getSecurity_Authentication_Provider_Jwt_ApiService.php on line 10
The error above is generated trying to access the documentation page generated by nelmio_api_doc
security.yml
firewalls:
        # disables authentication for assets and the profiler, adapt it according to your needs
        dev:
            pattern: ^/(_(profiler|wdt)|css|images|js)/
            security: false

        doc:
            # https://symfony.com/doc/current/security.html#a-configuring-how-your-users-will-authenticate
            pattern: ^/doc
            http_basic:
                provider: in_memory

        api_login:
            pattern: ^/v1/login
            stateless: true
            anonymous: true
            form_login:
                check_path: /v1/login
                require_previous_session: false
                username_parameter: email
                password_parameter: password
                success_handler: lexik_jwt_authentication.handler.authentication_success
                failure_handler: lexik_jwt_authentication.handler.authentication_failure

        api_registration:
            pattern: ^/v1/registration
            stateless: true
            anonymous: true

        api_reset:
            pattern: ^/v1/reset
            stateless: true
            anonymous: true

        api_social_access:
            pattern: ^/v1/social-access
            stateless: true
            anonymous: true

        api:
            pattern: ^/v1
            stateless: true
            lexik_jwt: ~

Its an issue in the LexikJWTAuthenticationBundle itself. I create a PR to fix this issue.

@astronati, error comes from cached code, can you try clear cache and check again?

I had the same issue, its working with latest dependency:
"lexik/jwt-authentication-bundle": "dev-master"
and
"minimum-stability": "dev",
in composer.json

Thanks


feat(paginator): Use en dash in MatPaginatorIntl

Number ranges should be formatted with en dash.
Technically, there should be no spaces either: https://www.thepunctuationguide.com/en-dash.html
But since this isn’t a sentence, I think the spaces are fine (It’s also a less disruptive change, while still going in the right direction).
BREAKING CHANGE: MatPaginatorIntl will now cause MatPaginator to display
an 'EN DASH' (U+2013) rather than a 'HYPHEN-MINUS' (U+002D)

This results in ~100 targets failing, a combination of screen diffs and unit tests comparing against strings like '1 - 2'

Since it causes so many breakages, this probably won't get merged for a long time (unless you want to do the work of getting it green inside Google, @paulferaud)

@jelbourn As in just getting all tests inside Google in a state where they would pass with or without this change? Or is there a more manageable process?
I don’t think I can single single handedly fix 100 tests in such a way...

For that many, yes, it would probably be getting affected the tests to pass either way and then also updating the screenshots affected. It's ultimately a lot of work for a small change.

Alright. Would be nice to get this in eventually.
Hopefully, we could migrate a log of people to use the newer Xap paginator, which would alleviate the breakage.

Took quite a lot of test and screenshot changes but we got a passing test run 👍

That’s amazing! I was ready to give up on this. Thanks a lot!
PS: I saw the CL. Glad we could do this as a 1 shot.


App is crashing on Transfer fund UAI

Uploading RPReplay_Final1692606111.MP4…

App is crashing as soon as we click on "Transfer fund to vault" UAI.
Tested on upgraded app v 1.0.7(206) to 1.1.5(229)

App is still crashing on Transfer fund UAI even in fresh app.
Tested on keeper app v 1.1.5(231)

Still the app is crashing on same UAI.
Tested on dev app v 1.1.5(231)


swift 3.0 support

This framework does not compile with swift 3.0 compiler. If I set the compiler to legacy swift 2.x versions, as ReactiveFoundation depends also on ReactiveKit, this later also should be compiled with swift 2.x settings so it can not be used in newer projects.

This framework is deprecated. ReactiveKit supports Swift 3 since version 3. Features from ReactiveFoundation and ReactiveUIKit have been merged into Bond framework.
https://github.com/ReactiveKit/ReactiveKit#migration-from-v2x-to-v3x


Please try the free top ai tools directory - tap4.ai

Tap4 AI Tools Directory
https://tap4.ai/
Find the best AI tools for yourself with Tap4 AI, Unlock 10,000+ AI tools for innovation and productivity. Simply browse our categorized listings or use our intelligent search feature to find tools that align with your project's needs and objectives.

Please send a PR


Fixed typo - Changed POwer Pages to Power Pages

Fixed typo

Thank you. We've corrected this in our docs.


The typing for es6-shim is causing problem with the latest version of angular 2.0

/home/anoop/new/bm_dashbaord/node_modules/angular2-highcharts/typings/globals/es6-shim/index.d.ts:3:14
    Duplicate identifier 'PropertyKey'.
[default] /home/anoop/new/bm_dashbaord/node_modules/angular2-highcharts/typings/globals/es6-shim/index.d.ts:7:5
    All declarations of 'value' must have identical modifiers.
[default] /home/anoop/new/bm_dashbaord/node_modules/angular2-highcharts/typings/globals/es6-shim/index.d.ts:245:5
    All declarations of 'EPSILON' must have identical modifiers.
[default] /home/anoop/new/bm_dashbaord/node_modules/angular2-highcharts/typings/globals/es6-shim/index.d.ts:280:5
    All declarations of 'MAX_SAFE_INTEGER' must have identical modifiers.
[default] /home/anoop/new/bm_dashbaord/node_modules/angular2-highcharts/typings/globals/es6-shim/index.d.ts:287:5
    All declarations of 'MIN_SAFE_INTEGER' must have identical modifiers.
[default] /home/anoop/new/bm_dashbaord/node_modules/angular2-highcharts/typings/globals/es6-shim/index.d.ts:343:5
    All declarations of 'flags' must have identical modifiers.
[default] /home/anoop/new/bm_dashbaord/node_modules/angular2-highcharts/typings/globals/es6-shim/index.d.ts:495:5
    All declarations of 'prototype' must have identical modifiers.
[default] /home/anoop/new/bm_dashbaord/node_modules/angular2-highcharts/typings/globals/es6-shim/index.d.ts:558:5
    All declarations of 'size' must have identical modifiers.
[default] /home/anoop/new/bm_dashbaord/node_modules/angular2-highcharts/typings/globals/es6-shim/index.d.ts:567:5
    All declarations of 'prototype' must have identical modifiers.
[default] /home/anoop/new/bm_dashbaord/node_modules/angular2-highcharts/typings/globals/es6-shim/index.d.ts:578:5
    All declarations of 'size' must have identical modifiers.
[default] /home/anoop/new/bm_dashbaord/node_modules/angular2-highcharts/typings/globals/es6-shim/index.d.ts:587:5
    All declarations of 'prototype' must have identical modifiers.

Workaround
The workaround which I have done is that I have removed the es6-shim folder from the typings and any reference related to it, which solves my errors. So can you please update the library to address this issue.

same as #69


Sort by video length!

I would like to be able to sort a user's videos by length.
I like watching long videos so this would make it alot easier!

+1 if this is plausible to implement.

+1
Used to be able to sort playlists by length. I miss it!


Add osxphotos import command

osxphotos import [--album ALBUM_TEMPLATE] [--keyword KEYWORD_TEMPLATE] [--title TITLE_TEMPLATE] [--description DESCRIPTION_TEMPLATE] [--walk] FILES_OR_DIRS
import files into Photos, optionally add to albums and set metadata.  Use autofile plugins to allow template system based on metadata in the file to set the album and metadata attributes.
if FILES_OR_DIRS is dir then get all files in the dir, otherwise get all files
also use --glob "*.jpg" to limit only to jpgs, allow multiple --glob
Allow some timewarp functionality?  e.g. --timezone, --time-delta, --date-delta, --time, --date
--keyword "{exiftool:IPTC:Keywords}"
--album "{filepath.parent}"
--title "{sidecar:json:title}" (how to specify sidecar name?)
maybe
--title "{json:filepath.stem.json:title}" or
--title "j{son,{filepath.stem.json:title},}" <-- not this as it makes the template system need special handling for :title
--title "{json:filepath.stem.json:title}" or
I like this version.  Could backport to autofile as a json plugin
--description "{xmp:filepath.name.xmp:XMP:Description}"
--title "{function:title.py::title}"  -->
def title(path: pathlib.Path) -> List[str]:
    ...

Include --dup-check to enable duplicate checking on import. This should be disabled by default as the duplicate check requires user interaction in Photos which is annoying when importing

When you manually import duplicated pics in Photos it warns you. Yes! It requires user interaction. Would an import via osxphotos 'catch' that same notice?

When you manually import duplicated pics in Photos it warns you. Yes! It requires user interaction. Would an import via osxphotos 'catch' that same notice?

It's possible to programmatically import photos with or without the dupe check. If the dupe check is enabled, it pops up a window in Photos requiring user interaction.  Without, it silently imports the duplicates.
I suppose osxphotos could do it's own dupe check against the Photos database and do the prompt via the command line instead of the modal Photos window.

Implemented in 0.51.0


MINOR: Add “npm run add-git-hooks” action.

This commit add an "npm run add-git-hooks" command that will configure
an environment's git hooks and config file to support the development
conventions that we set out.
It's based on recommendations from this post:
http://blog.andrewray.me/dealing-with-compiled-files-in-git/
More git hooks can be added to .githooks
To do:

[ ] Test what happens when the merge failures happen without the git config
[ ] Test what happens when you a conflicting non-rebase merge happens
[ ] Add docs to en/05_Contributing/01_Code.md#npm
[ ] Add checks for SCSS files

With the change to .gitattributes being immediate, but the addition of the merge strategy only happening after "npm run add-git-hooks", have you checked what happens if add-git-hooks isn't run? Does it just error out?
(check-built-files.sh is also pretty lossy - won't pick up scss changes for instance - but probably good enough as a start)

Something else I wanted to test: what happens if you use merge instead of rewrite and you get a clash, does "post-rewrite" still get called?

We've been documenting npm scripts https://github.com/silverstripe/silverstripe-framework/blob/master/docs/en/05_Contributing/01_Code.md#npm can you please add the new script?

To do:

[ ] Test what happens when the merge failures happen without the git config
[ ] Test what happens when you a conflicting non-rebase merge happens
[ ] Add docs to en/05_Contributing/01_Code.md#npm
[ ] Add checks for SCSS files

Abandoning this as stale.


Livesvelte setup

This pull request introduces the following changes:

Improves code formatting in assets/js/app.js by adding semicolons and adjusting indentation for better readability.

Modifies the csrfToken retrieval to use method chaining for a more concise syntax.

Adds the esbuild dependency to the project's mix.exs file with version "~> 0.8" and sets it to run only in the development environment.

Updates the setup alias in mix.exs to use cmd npm install --prefix assets instead of npm install --prefix assets, ensuring better cross-platform compatibility.

These changes enhance code style consistency and add a new build tool to the project's development dependencies.

#134
#133  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @RTLS and the rest of your teammates on  Graphite


401 unauthorized when creating a dashboard.

response: {
"timestamp":1504626172545,
"status":401,
"error":"Unauthorized",
"message":"Full authentication is required to access this resource",
"path":"/api/dashboard"
}
Docker-compose.yml
mongodb:
  image: mongo:latest
  environment:
    - MONGODB_USERNAME=dashboarduser
    - MONGODB_DATABASE=dashboarddb
    - MONGODB_PASSWORD=1qazxSw2

hygieia-api:
  image: hygieia-api:latest
  container_name: hygieia-api
  volumes:
  - ./logs:/hygieia/logs
  environment:
    - jasypt.encryptor.password=hygieiasecret
    - SPRING_DATA_MONGODB_DATABASE=dashboarddb
    - SPRING_DATA_MONGODB_HOST=mongo
    - SPRING_DATA_MONGODB_PORT=27017
    - SPRING_DATA_MONGODB_USERNAME=dashboarduser
    - SPRING_DATA_MONGODB_PASSWORD=1qazxSw2
    - AUTH_AUTHENTICATION_PROVIDERS=STANDARD
    - AUTH_EXPIRATION_TIME=3600
    - AUTH_SECRET=hygieiasecret
    - CONTEXT_PATH=/api
  links:
  - mongodb:mongo

hygieia-ui:
  image: hygieia-ui:latest
  container_name: hygieia-ui
  ports:
  - "8088:80"
  links:
  - hygieia-api

Once logged in as a standard user, I go to create a dashboard, then get the error underneath the title: "Error creating dashboard. Changed title and try again." Developer tools show the response above for the request sent.
any ideas how to fix this?

can you try creating dashboard by logging in again. I have seen similar issue and found that it was something due to user session. This was resolved for me once I logged in again.

I just logged out, cleared cache, then logged back in and attempted to create a dashboard and I still received the same response. I've restarted all of the containers as well. I'm thinking there's a configuration issue, but unfortunately this error isn't output to the api console or the log.

can you share screenshot of error. if error is not showing in api logs, maybe it is validation error.

Here's a screenshot of the UI after I attempt to make a dashboard:

@anutting  - share api prop file and api log

@anutting  did you try changing title and save ?

Since I'm using docker-compose, the api properties are set in the docker-compose.yml pasted above. It's my understanding that the properties file is created using the properties-builder.sh.
The api log is attached in a txt file. Thank you for taking the time to troubleshoot this error.
api-log.txt

Yes, I've tried several different titles as well.

do you see API connectivity is successful on Login screen?

yes I see API CONNECTIVITY with a green checkmark and 2.0.5-SNAPSHOT

It's odd. Sometimes when I click create, the "Create a new dashboard" modal stays visible, but the background page is now Login.

I see the authentication errors on the log, but those must be from a previous executions. Here's a fresh log after a docker-compose start and 1 attempt to create a dashboard.
api-log.txt

I see some exceptions in this log, this as first exception:
2017-09-05 18:46:11,760 INFO  o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/registerUser],methods=[POST],consumes=[application/json],produces=[application/json]}" onto public org.springframework.http.ResponseEntity<java.lang.Void> com.capitalone.dashboard.rest.AuthenticationController.registerUser(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse,com.capitalone.dashboard.request.AuthenticationRequest) throws java.io.IOException,javax.servlet.ServletException
can you share what properties it is using.

I'm not entirely sure where to place my properties file since there is a properties-builder in the api/docker directory. I've been changing properties in the docker-compose.yml with some success:
mongodb:
  image: mongo:latest
  environment:
    - MONGODB_USERNAME=dashboarduser
    - MONGODB_DATABASE=dashboarddb
    - MONGODB_PASSWORD=1qazxSw2

hygieia-api:
  image: hygieia-api:latest
  container_name: hygieia-api
  volumes:
  - ./logs:/hygieia/logs
  environment:
    - jasypt.encryptor.password=hygieiasecret
    - SPRING_DATA_MONGODB_DATABASE=dashboarddb
    - SPRING_DATA_MONGODB_HOST=mongo
    - SPRING_DATA_MONGODB_PORT=27017
    - SPRING_DATA_MONGODB_USERNAME=dashboarduser
    - SPRING_DATA_MONGODB_PASSWORD=1qazxSw2
    - AUTH_AUTHENTICATION_PROVIDERS=STANDARD
    - AUTH_EXPIRATION_TIME=3600
    - AUTH_SECRET=hygieiasecret
    - CONTEXT_PATH=/api
  links:
  - mongodb:mongo

hygieia-ui:
  image: hygieia-ui:latest
  container_name: hygieia-ui
  ports:
  - "8088:80"
  links:
  - hygieia-api

can you try pinging at url.... and share whats the result you get
http://localhost:8080/api/ping
and can you check properties file to update database host to localhost instead of mongo:
SPRING_DATA_MONGODB_HOST=mongo   ->  localhost

Before I made that database host change, the /api/ping displays true in the browser. After I made that database host change, the api does not start due to a java.net.ConnectException. I believe the host must be mongo since they are linked containers.

I'm not sure if this helps at all but this stack-overflow issue talks about the same error I am seeing: https://stackoverflow.com/questions/38279753/spring-security-oauth-full-authentication-is-required-to-access-this-resource

Anyone able to provide input on this issue? Thanks!

@anutting  - check this out - https://github.com/capitalone/Hygieia/issues/1719

@nitin1706 I have Hygieia running outside of containers and it still gives me the same error!
api.properties:
dbname=dashboarddb
#dbusername=dashboarduser
#dbpassword=1qazxSw2
dbhost=localhost
dbport=27017
server.contextPath=/api
server.port=8080
auth.expirationTime=3600
auth.secret=hygieiasecret
auth.authenticationProviders=STANDARD

it seems the x-authentication-token isn't added to the /api/login response so then it's never added to the future requests. Any ideas why that may be?

Thank you @anutting . This was helpful. Even I faced the same issue and after increasing the expiration time it got resolved.


Revert "Implement dram node deletion of skiplist"

Reverts pmem/kvdk#76, node free is not implement yet.
Signed-off-by: Jiayu Wu<EMAIL_ADDRESS>

Signed-off-by: Jiayu Wu<EMAIL_ADDRESS>


[Packager] Offset is out of bounds

Hey guys,
Ever since I upgraded to 0.4.2, I keep getting this error from time to time in the middle of development:
 ERROR  Offset is out of bounds
Error: Offset is out of bounds
    at Object.fs.read (evalmachine.<anonymous>:462:11)
    at Object.fs.read (/Users/josebalius/Sites/Ravedish/node_modules/react-native/node_modules/graceful-fs/polyfills.js:237:15)
    at /Users/josebalius/Sites/Ravedish/node_modules/react-native/node_modules/image-size/lib/index.js:46:8
    at OpenReq.Req.done (/Users/josebalius/Sites/Ravedish/node_modules/react-native/node_modules/graceful-fs/graceful-fs.js:141:5)
    at OpenReq.done (/Users/josebalius/Sites/Ravedish/node_modules/react-native/node_modules/graceful-fs/graceful-fs.js:61:22)
    at Object.oncomplete (evalmachine.<anonymous>:107:15)

Has any ran into this before? Not a big issue but it sucks to have to keep restarting the packager.

@donghanji Is this still a continuing problem?

@christopherdro sorry for the late reply, I need to upgrade my version of RN to the latest and see if it's still an issue. I'll let you know.

@christopherdro this looks to be fixed for good can't replicate with 0.6.0.

thanks for the update!

:+1:

I had this error this morning.
Working thru the issue and posting this for anyone else that may get this: in my case this was an image that was empty the file existed and was named but had no content for the system to read. Once the image was fixed reran after closing the process window and everything back to normal.


Radar Parameters

Hi,
I need to clarify some of the radar parameters. You have stated in the doc that,
"designed_frequency":			76.8 Hz,
"config_frequency":			77 Hz,

Is designed_frequency = Bandwidth?
config_frequency = career frequency?
Why both the frequencies are in Hz?
Thank you.

Hi,
designed_frequency is the frequency we got from a TI mmwave technician, and we used this for radar processing.
config_frequency is the frequency we used to config radar. Though we input 77Hz, the actual frequency of the radar is 76.8 Hz. That is the difference.
Thanks