text:
[No QA] Fix file type typo

Details
Fixes "filetype" typo
Fixed Issues
$ part of https://github.com/Expensify/App/issues/33164
Tests
None
Offline tests
None
QA Steps
None

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

PR Author Checklist

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

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

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

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

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

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

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

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[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 a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

Android: Native

Android: mWeb Chrome

iOS: Native

iOS: mWeb Safari

MacOS: Chrome / Safari

MacOS: Desktop

Reviewer Checklist

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

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

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

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

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

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

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

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

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

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

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

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

[ ] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[ ] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[ ] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[ ] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[ ] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[ ] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[ ] I have checked off every checkbox in the PR reviewer checklist, including those that don't apply to this PR.

Screenshots/Videos

Android: Native

Android: mWeb Chrome

iOS: Native

iOS: mWeb Safari

MacOS: Chrome / Safari

MacOS: Desktop

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

🚀 Deployed to staging by https://github.com/Julesssss in version: 1.4.14-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
failure ❌

🕸 web 🕸
success ✅

🚀 Deployed to staging by https://github.com/Julesssss in version: 1.4.14-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/jasperhuangg in version: 1.4.14-6 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
failure ❌

🕸 web 🕸
success ✅

authors: Julesssss OSBotify arosiclair


text:
Revert "Remove create new workspace button from workspace settings"

Reverts Expensify/App#6827
The reported issue is invalid since users should be able to create multiple Workspaces per account.

Thanks @mountiny!

🚀 Deployed to production by @sketchydroide in version: 1.1.22-2 🚀

platform
result

🤖 android 🤖
cancelled 🔪

🖥 desktop 🖥
cancelled 🔪

🍎 iOS 🍎
cancelled 🔪

🕸 web 🕸
cancelled 🔪

🚀 Deployed to staging by @mountiny in version: 1.1.22-2 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by @yuwenmemon in version: 1.1.23-1 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
failure ❌

🍎 iOS 🍎
failure ❌

🕸 web 🕸
success ✅

🚀 Deployed to production by @yuwenmemon in version: 1.1.23-1 🚀

platform
result

🤖 android 🤖
failure ❌

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
failure ❌

🕸 web 🕸
success ✅

source: gharchive/pull-request

authors: OSBotify luacmartins

repo: Expensify/App

license: MIT

license_type: permissive

license_source: github-api


text:
Download E.cash attachments immediately

Details
Passes an auth token in the chat attachment URL, if necessary.
Fixed Issues
Fixes https://github.com/Expensify/Expensify/issues/154254
Tests / QA Steps

Send a regular link such as https://www.google.com/ in Expensify.cash
Click on the link, ensure that it is opened in the default browser.
Click on Upload Attachment and upload a .zip file.
After a few moments, a link to that attachment should appear.
Click on that link, and ensure that the file is downloaded immediately. You should not have to log in to the expensify.com website.

Tested On

[x] Web
[x] Mobile Web
[x] Desktop
[x] iOS
[ ] Android

Screenshots
Web
https://user-images.githubusercontent.com/47436092/119179677-117e2200-ba24-11eb-955e-147b6efe4329.mov
Mobile Web
https://user-images.githubusercontent.com/47436092/119179266-93218000-ba23-11eb-9b4f-8ba35d96c229.mov
Desktop
https://user-images.githubusercontent.com/47436092/119179975-79cd0380-ba24-11eb-8f5d-7660592cd459.mov
iOS
https://user-images.githubusercontent.com/47436092/119180502-3a52e700-ba25-11eb-9977-71d71c9a2516.mov
Android

This needs to be on HOLD until https://github.com/Expensify/Web-Expensify/pull/31009 is merged and deployed to production.

https://github.com/Expensify/Web-Expensify/pull/31009 was deployed to prod yesterday, so this is ready for review 👍

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

authors: OSBotify roryabraham


text:
corrected spelling of the word "latest"

Earlier 'latest' word was written as "lasest', which has no meaning.

Corrected the word "latest".

repo: ExpertServices/Websitepanel

license_source: bigquery


text:
Fix Cygwin build

It seems commit https://github.com/Extrawurst/cimgui/commit/516547dcd92426ca5bbdd68675a58158fb7968db #32 flipped #ifndef here.

thank you

authors: Extrawurst okuoku

repo: Extrawurst/cimgui

license: mit


text:
decode box "n:mp", size 30066 too big

using this file (2 KB):
https://github.com/Eyevinn/mp4ff/files/14441426/audio_eng.268840.dash.txt
I get this result:
> mp4ff-info audio_eng=268840.dash
2024/02/28 18:52:14 decode box "moov": decode box trak: decode box udta: decode
box "n:mp", size 30066 too big (max 71)

same file with Bento4:
Bento4-SDK-1-6-0-641.x86_64-microsoft-win32> bin\mp4dump audio_eng.268840.dash.mp4
[ftyp] size=8+16
  major_brand = iso6
  minor_version = 0
  compatible_brand = iso6
  compatible_brand = dash
[free] size=8+32
[moov] size=8+1571
  [mvhd] size=12+96
    timescale = 1
    duration = 0
    duration(ms) = 0
  [pssh] size=12+726
    system_id = [9a 04 f0 79 98 40 42 86 ab 92 e6 5b e0 88 5f 95]
    data_size = 706
  [pssh] size=12+80
    system_id = [ed ef 8b a9 79 d6 4a ce a3 c8 27 dc d5 1d 21 ed]
    data_size = 60
  [trak] size=8+585
    [tkhd] size=12+80, flags=7
      enabled = 1
      id = 1
      duration = 0
      width = 0.000000
      height = 0.000000
    [edts] size=8+36
      [elst] size=12+24, version=1
        entry_count = 1
        entry/segment duration = 0
        entry/media time = 1024
        entry/media rate = 1
    [mdia] size=8+392
      [mdhd] size=12+20
        timescale = 48000
        duration = 0
        duration(ms) = 0
        language = eng
      [hdlr] size=12+38
        handler_type = soun
        handler_name = USP Sound Handler
      [minf] size=8+302
        [smhd] size=12+4
          balance = 0
        [dinf] size=8+28
          [dref] size=12+16
            [url ] size=12+0, flags=1
              location = [local to file]
        [stbl] size=8+242
          [stsd] size=12+162
            entry_count = 1
            [enca] size=8+150
              data_reference_index = 1
              channel_count = 2
              sample_size = 16
              sample_rate = 48000
              [esds] size=12+30
                [ESDescriptor] size=2+28
                  es_id = 0
                  stream_priority = 0
                  [DecoderConfig] size=2+20
                    stream_type = 5
                    object_type = 64
                    up_stream = 0
                    buffer_size = 0
                    max_bitrate = 363904
                    avg_bitrate = 268840
                    DecoderSpecificInfo = 11 90 56 e5 00
                  [Descriptor:06] size=2+1
              [sinf] size=8+72
                [frma] size=8+4
                  original_format = mp4a
                [schm] size=12+8
                  scheme_type = cenc
                  scheme_version = 65536
                [schi] size=8+32
                  [tenc] size=12+20
                    default_isProtected = 1
                    default_Per_Sample_IV_Size = 8
                    default_KID = [ca 21 5a 25 bb 2d 43 f0 bd 09 5f c6 71 c9 84 ee]
          [stts] size=12+4
            entry_count = 0
          [stsc] size=12+4
            entry_count = 0
          [stsz] size=12+8
            sample_size = 0
            sample_count = 0
          [stco] size=12+4
            entry_count = 0
    [udta] size=8+41
      [kind] size=8+33
  [mvex] size=8+32
    [trex] size=12+20
      track id = 1
      default sample description index = 1
      default sample duration = 0
      default sample size = 0
      default sample flags = 0

Thanks for your report. The error message is confusing, but hints at the problem is inside the udta box.  The core issue is that its child kind box is not properly parsed.
It was interpreted as an ordinary box, but is a full box with four extra header bytes. Fixed in PR #334.

source: gharchive/issue


text:
打包H5后访问异常

调试模式正常，打包后显示错误

构建错误等 mpvue-packager 更新解决

已更新

authors: F-loat appbest

repo: F-loat/ithome-lite


text:
修改 pages.js 后需要重新 run 才能更新页面配置

这个涉及到模块热更新的问题，近期会解决

已有页面的配置可以热更新，新增页面目前还不支持

修改pages.js的顺序来修改首页，无法被热更新。

首页要在 main.js 里配置才行

authors: F-loat JoJoChilly

repo: F-loat/mpvue-entry


text:
Unable to add BIG-IQ managed Certificate in AS3

Do you already have an issue opened with F5 support?
no
ISSUE TYPE

Feature Idea

AS3 BUILD/ VERSION

3.12.1-2

BIGIP VERSION

Main Package
  Product     BIG-IQ
  Version     7.0.0
  Build       0.0.1854
  Edition     Final

SUMMARY

We are using F5 BIG-IQ for Certificate Management at our site.
We would like to automate our app deployment using AS3. Unfortunately we are unable to pass BIG-IQ Managed Objects into AS3 Declarations.

In order to use BIG-IQ to manage certificates and use them with AS3, you need to publish the certificates to the BIG-IP from BIG-IQ. Then you can use a "bigip" style reference in your AS3 declaration to reference the certificate.
In order for AS3 to better automate this process, we would need BIG-IQ to have an endpoint that AS3 can download the certificate from.


text:
FAST template for AWS deployments

Is your feature request related to a problem? Please describe.
Deploying services with AS3 still requires me to create a secondary IP on my interface, create an EIP and match both. I would like to see FAST doing it for me in the background, so I can focus on the application.
Describe the solution you'd like

FAST should create secondary IP and take this IP as VIP IP
FAST should create new EIP and map this EIP to my VIP IP that was created before

Describe alternatives you've considered
CFT or ansible playbooks
Additional context

Could you describe your workflow?
From my reading, this may be an appropriate feature for DO or AS3 that could be utilized by a FAST template.
CFTs may be the best solution in the short term for onboarding a box with EIPs.

The workflow is:

Client sends a FAST API call to BIG-IP to create a new service.

The API call does not provide an IP address but a service name and the subnet it should live on.

FAST reaches out to AWS and requests a secondary IP for the BIG-IP's interface that belongs to the subnet

FAST takes the assigned IP address and uses it as the VIP address for the service

FAST reaches out to AWS and allocates a new EIP

FAST assigns the EIP with the secondary IP

FUTURE improvement: FAST reaches out to F5 CS DNS GSLB and registers the service name with the EIP as IP endpoints

Service is up and runnig
This is not a feature for DO, because you do not add a secondary selfIP, you create a VIP on BIG-IP.
This is not a feature for AS3, because AS3 AS3 focusses exclusively on BIG-IP Service deployment.

Hi @vbojko ,
FAST as it exists right now is primarily a templating system for AS3 applications.  Future versions of the FAST RPM will have the ability to make templated calls to other HTTP endpoints besides AS3.
Orchestration like you describe is currently not in the scope of this project.
Typically interactions with cloud platforms happen on the BIG-IP through something called cloud-libs, this is utilized by AS3 to enable features such as service discovery. Additionally, we have many supported cloud formation templates that can be used to set up infrastructure in the cloud: https://github.com/F5Networks/f5-aws-cloudformation
We are looking at future products which will include the ability to orchestrate across multiple APIs, but as of today cloud interactions should be mediated by DO or AS3, or some outside orchestration software like Ansible or Terraform.
Additionally, a custom orchestration pipeline could be built with JavaScript, or as part of a CI/CD pipeline by using the f5-fast-core NPM module found here: https://www.npmjs.com/package/@f5devcentral/f5-fast-core
Thanks,
Matt


text:
Completes test coverage of bigip init class

Issues:
Fixes #629
Problem:
Test coverage was not complete for this class in Coveralls
Analysis:
This change completes functional and unit tests for this class
Tests:
Unit and functional

@zancas @pjbreaux ready to go


text:
Add a code of conduct

I propose we adopt http://berlincodeofconduct.org

Sure, go for it.

LGTM

Perhaps something like https://www.contributor-covenant.org/ is more appropriate? The Berlin Code of Conduct appears to be targeting communities / meetups rather than software projects. The Contributor Covenant is simple, short, and targets open-source software projects.
We should also consider how enforceable it is, and how we'd wish to enforce it. A code of conduct that is ignored / not enforceable is worse than not having one at all. One of my concerns here is that, by enumerating rights / wrongs, we pave the way for behaviour that gets by on technicalities. UK law works quite nicely without a written, enumerated constitution, based on precedent and ethical / moral / social expectations, while the US continue to argue over the precise definitions of "well regulated militia" and "right of the People to keep and bear arms" (and even on the placement of a comma)...

I’m really not sure what’s best to do here. Our community is currently so tiny and the tone of all communication so pleasant that it’s hard to imagine any of the issues that a Code of Conduct seeks to address arising.
My concern is that the absence of a code of conduct might be putting off contributors. In fairness an unresolved issue to add one probably looks worse.
Maybe a Bill & Ted code of conduct is all we need: “Be excellent to each other”?

authors: ajbennieston jbcoe petr-tik

repo: FFIG/ffig


text:
Update README.md

Title: Fixed Typos in Commands in README.md for onramp-contracts (reference issue: https://github.com/FIL-Builders/onramp-contracts/issues/1 )
Description:
This pull request addresses a few small typographical errors identified in the README.md file of the OnRamp Contracts repository. These issues primarily affect the installation commands, such as npm install, where minor typos were present, leading to confusion or potential errors when users try to follow the setup instructions.
Changes:
Corrected typos in the commands section of the README.md.
Ensured consistency and clarity in the command instructions to help users more easily set up and deploy the OnRamp contracts.
Why This Change is Important:
Improves User Experience: By fixing these typos, the setup process becomes smoother for new users and developers attempting to get the OnRamp contracts up and running.
Enhances Documentation Accuracy: Clear and correct instructions are essential for successful onboarding and usage of the project.
List of Fixes:
Corrected to npm install (and similar typos for other commands).
Ensured all examples follow the correct syntax and parameters.
Verified that the updated commands work correctly in typical environments, allowing users to avoid unnecessary issues when setting up the project.
By applying these changes, the documentation will be more reliable, and developers will experience fewer obstacles while setting up the OnRamp contracts. Let me know if further adjustments are needed!

Update Documentation to Clarify Supported Node.js Versions for Hardhat
**Description:
This PR addresses Issue #19 by updating the documentation to clarify the Node.js versions supported by Hardhat.
Changes Included:

Added a "Prerequisites" section in the README to specify compatible Node.js versions, referencing Hardhat's Node.js Versions Support and Node.js Release Schedule.
Included a warning about potential issues when using unsupported versions, such as Node.js v21.
Provided a quick setup checklist for developers to verify their Node.js environment before starting.

References:

Compatibility issues were observed and documented in this Google Doc].
Relevant test results and screenshots have been attached in the above document.

Why This Is Needed:
Ensuring that developers are aware of the supported Node.js versions will streamline onboarding, prevent avoidable runtime errors, and improve the overall development experience.
Please review and let me know if further adjustments are needed!

repo: FIL-Builders/onramp-contracts


text:
Revert "Update maven to 3.6.0"

Reverts FINkit/jenkins-boshrelease#180

Reverted due to issues with maven v3.6.0

repo: FINkit/jenkins-boshrelease


text:
合约执行并行化问题

简单合约并行化执行，向合约中存储大数据量(1kB)数据量，会小概率出现区块交易执行结果不一致共识无法达成的问题

可否给出更详细的说明，包括合约定义、数据等

简单合约并行化执行，向合约中存储大数据量(1kB)数据量，会小概率出现区块交易执行结果不一致共识无法达成的问题

可以给予更多信息，帮助我们复现问题吗？比如：合约代码，调用参数，区块链网络状况等。

authors: MaggieNgWu mask-pp wheatli

repo: FISCO-BCOS/FISCO-BCOS


text:
Support include of code snippets in a document

Some technical specification documents include snippets of code examples or XML elements and the like. Those snippets should remain in source files that can be validated by a language interpreter. Also, source code may be subject to improvements, changes, or corrections over time, but if they are included into a markdown file by copy and paste, they become frozen. Therefore, it would be better to provide a syntax to include snippets dynamically when a Tablature file is processed.
Typically code snippets are bound by markdown fenced code blocks using "```".  Rather than literally copying the code into the fenced block, the block would contain syntax to tell a Tablature processor to include a file or section of a file. The source file would need to be accessible at processing time.

The markdown parser should recognize fenced code blocks as a leaf block type, including info string.
See https://github.github.com/gfm/#fenced-code-blocks

This should be a generic feature of module md-grammar, which is now in its own repository.

repo: FIXTradingCommunity/tablature


text:
Watch if db clock is missing seconds

Is your feature request related to a problem? Please describe.
We have a db-clock queue that receives an event every one second in the database module in order to trigger the bgp updates handler.
If we have queries that take too much time, the queue gets bigger and bigger, meaning that it is loosing seconds of processing.
Describe the solution you'd like
We need to have a way to check if this clock is getting bigger and bigger and have a threshold that notifies the user that there is  problem. For example, if the db-clock is above 60 and increasing this means that there is a running query of 1 minute+.
We can also report the query that takes this time so it is easier for us to debug afterwards and find database bottlenecks.

Correct, and also please check what happens with the accumulated messages in the queue. E.g., if we have 10 clock signals in the queue the DB actually needs to implement only one to reinstate timing, and ignore the rest (we may have to change the logic for the scheduler, let's discuss when you start on the issue).

This will be addressed by the decoupled arch of https://github.com/FORTH-ICS-INSPIRE/artemis/pull/472 (when that works and is merged, we can also close this issue).

Update: this issue can be definitely closed after #472 is merged. We are using threaded timers there; monitoring the performance of the DB calls can be an orthogonal issue (there is not explicit clock signal any more).

Closed by #472

authors: slowr vkotronis

repo: FORTH-ICS-INSPIRE/artemis


text:
[WIP] Implicit withdrawals for corrected AS-paths

Description of PR

What component(s) does this PR affect?

[X] Back-End (Database, Microservices, Containers, etc)
[ ] Front-End (Flask, API, etc)
[ ] Docs
[ ] Build System

Does the PR require changes on other components? If yes, please mark the components:

[ ] Back-End (Database, Microservices, Containers, etc)
[ ] Front-End (Flask, API, etc)
[X] Docs
[ ] Build System

Related Issue

Resolves #74
Solution

Type

[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[X] Docs update
[ ] None of the above

Checklist:

[X] I have read the contributing guide and my code conforms to the guidelines.
[X] This change requires a change in the documentation.
[ ] I have updated the documentation accordingly.

Only issue: "healed" BGP paths leading to sub-prefixes of the hijacked prefix (i.e., monitoring of deaggregation effects on hijack mitigation)


text:
chore: Refactor OrderButton module to use more theme assets instead of overriding

Re: https://github.com/FOSSBilling/FOSSBilling/issues/249
OrderButton was providing it's own CSS files which means it also needed to get rid of googlefonts. I refactored the OrderButton module to use the theme assets instead of providing it's own.
Note:  This is my first time working in this repo so this could definitely use a second or third set of eyes to make sure I didn't mess anything up.

I think it’d be better if we get them to share assets instead of shipping the CSS and font files twice. I also don’t know why the Orderbutton module depends on Huraga’s full CSS in the first place.

@evrifaessa yeah that's fair, I was trying to follow the pattern of what was there, but I can try to move things around later tonight and get them to share these files. I noticed that FontAwesome + Elusive were also replicated in both places so I thought there might be a reason for it

I noticed that FontAwesome + Elusive were also replicated in both places so I thought there might be a reason for it

To be honest, you are likely to find a lot of things throughout the code that there seems to be no logical reason for. The best thing we can do is to clean them up as we go along.

I took a stab at making OrderButton use more of the theme assets instead of providing it's own, but this is my first time working in this repo so this could definitely use a second or third set of eyes.

Looks good to me. Tested and saw that the module now depends on Huraga's assets and works fine.

Thanks for the PR. We'd be really glad to see more of them. You can also join our Discord server to keep in touch with the community :)

authors: John-S4 evrifaessa mvarrieur

repo: FOSSBilling/FOSSBilling


text:
Various fixes to letrecs

This PR tidies up somewhat the treatment of let recs by introducing a notion of "arity of recursion". Some review would be good, I'm not super confident in the code changes themselves.
The main motivation was to allow this kind of thing again:
let rec test (x:nat) : bool -> bool = if x = 0 then ...

which were rejected after the fix to #1017 by a check that forces the amount of binders in the lambda term and the binders in the expected type to match exactly. That check is at times annoying, and does not really prevent one from doing this kind of thing anyway:
let rec test (x:nat) : PURE (bool -> bool) (pure_null_wp _) = if x = 0 then ...

which makes the recursion happen at "arity 1". The check was, IMO, more of a typechecker bandaid.
This PR will make the recursion happen essentially at the minimum amount of binders from the expected type (until we hit an effect) and the lambda term, so in the example above, it happens at arity 1. This is also the case if we had an effect under the arrow:
let rec test_div (x:nat) : bool -> Dv bool = if x = 0 then ...

the recursion happens at arity 1, hence in Tot, hence with a totality check. If you don't want the check, eta expand it.
Other fixes include not blasting past decreases clauses when computing how many binders a type has, so things like this example from Nik:
assume val f1 (n : nat) (m : bool) : Dv bool

let rec f2 (l : list nat)
  : Tot (n : bool -> Dv bool)
        (decreases l)
  = fun n ->
    match l with
    | [] -> false
    | x :: l' ->
      let r = f1 x n in
      if r then f2 l' n else r

now actually do happen at arity 1, and actually do check the decreases clause. Before, it was silently dropped and the recursion was happening at arity 2 in Dv.
The decreases clauses are still in the types, this does not address #1974, but I think we'll have fewer surprises now that the arities are computed in a single spot.
Also things like this, from Bug379.fst, now work. Before we were stopping at the first Tot, for some reason.
val test2 : nat -> Tot (nat -> Tot nat)
let rec test2 x y = if x = 0 then y else test2 0 y

There is an awful hack in the code to make nested Tm_abs nodes so tc_abs will only take as much as needed. We should probably rework that completely, but I haven't done it yet.
Fixes #1182
Fixes #1901
Fixes #1902

Another comment:
I had previously advocated that Tm_abs nodes, along with Tm_app and Tm_arrow should be canonicalized and never allowed to nest. I've tried again to make that happen for Tm_app and gave up, since it's not so clear what it means to not allow them to nest: is a Tm_app (Tm_delayed (Tm_app _), _) valid? What about with a Tm_uvar, or Tm_meta? The only way I see this really flying is by forcing the invariant in compress, but perhaps just making sure that every piece of code that inspects these nodes does the right is the least painful. The new get_n_binders functions is a step in that direction.

This also fixes #258.

Hi @mtzguido
This looks great, overall. Thank you!
The main question in my mind is how this relates to the notion of let_rec_arity used in NBE
https://github.com/FStarLang/FStar/blob/master/src/typechecker/FStar.TypeChecker.NBE.fs#L126
https://github.com/FStarLang/FStar/blob/master/src/syntax/FStar.Syntax.Util.fs#L930
Can we unify these notions somehow?

Sorry, I just noticed that let_rec_arity function. It seems to compute an arity from the type alone, not looking at the lbdef, so it would potentially return an arity larger than the one computed in TcTerm now. Maybe we can unify them, and NBE would reduce a bit more then (as I think it should).
But maybe the real fix for that is keeping the arities in the lets themselves, which we chatted would be a solution for #1974 too. My current idea for that is that something such as
let rec f (x:a) : t = def

would force an arity 1, perhaps by desugaring into something like
Sig_let_rec ("f", [x:a], t, def)

regardless of the shape t and def. (This PR makes takes us a bit closer to this.)
If we had the arities in the syntax, the NBE and typechecker could just pick it up without doing anything fancy. So I would leave that for the (near!) future when we fix decreases.

authors: mtzguido nikswamy

repo: FStarLang/FStar


text:
Renaming vprop->slprop + uniform names for each level

As discussed today. The slprop types in Pulse.Lib.Core.fsti now look like this:
[@@erasable]
val slprop : Type u#4

[@@erasable]
val slprop2_repr : Type u#3
val cm_slprop2 : CM.cm slprop2_repr
val down2 (p:slprop) : slprop2_repr
val up2 (p:slprop2_repr) : slprop
let is_slprop2 (v:slprop) : prop = up2 (down2 v) == v
val up2_is_slprop2 (p:slprop2_repr) : Lemma (is_slprop2 (up2 p))

[@@erasable]
val slprop1_repr : Type u#2
val cm_slprop1 : CM.cm slprop1_repr
val down1 (p:slprop) : slprop1_repr
val up1 (p:slprop1_repr) : slprop
let is_slprop1 (v:slprop) : prop = up1 (down1 v) == v
val up1_is_slprop1 (p:slprop1_repr) : Lemma (is_slprop1 (up1 p))

let slprop2 = s:slprop { is_slprop2 s }
let slprop1 = s:slprop { is_slprop1 s }

The rationale for the naming is that slprop1 can be faithfully turned into and from an slprop1_repr, and the predicate deciding which slprops are slprop1 is called is_slprop1. The down and up functions for slprop1 and down1 and up1. Same for every other number.
Also every slpropN_repr lives in universe N+1.
As a side comment: it doesn't seem we have to expose the cm_ monoids in Core.fsti. Should I delete that?

I removed the monoids in Core, and added aliases for the storable slprops.

Not exposing the monoids in Core is fine. I added them at one point because I was trying to define a PCM over slprops themselves for use in ConditionVar ... but that didn't work out and these remain unused.

Thanks! It's great to clean this up and settle on a systematic naming scheme.

repo: FStarLang/pulse


text:
In RichTextFX 0.10.9, calling the scrollToPixel method on a CodeArea constructed in a background thread has no effect

Here is an example:
import javafx.application.Application;
import javafx.application.Platform;
import javafx.scene.Scene;
import javafx.scene.layout.StackPane;
import javafx.stage.Stage;
import org.fxmisc.flowless.VirtualizedScrollPane;
import org.fxmisc.richtext.CodeArea;

public class Main extends Application {
    @Override
    public void start(Stage primaryStage) throws Exception {
        StackPane root = new StackPane();
        Scene scene = new Scene(root, 200, 400);
        primaryStage.setScene(scene);

        new Thread(() -> {
            CodeArea area = new CodeArea();
            area.replaceText("This is test text\n".repeat(10000));
            area.scrollToPixel(0, 0);
            Platform.runLater(() -> {
                root.getChildren().add(new VirtualizedScrollPane<>(area));
            });
        }).start();

        primaryStage.show();
    }
}

In RichTextFX 0.10.8, it open the CodeArea with the scroll bar at the top. But after updating to 0.10.9, it open the CodeArea with the scroll bar at the bottom.
In 0.10.9, I tried a lot of methods, but I can't create the CodeArea with the focus on the top in the background thread (CodeArea's constructor that accepts String will also be at the bottom, both selectRange and scrollToPixel are invalid). The only way is to call replaceText on the JavaFX thread, but this will cause the screen to freeze.

By the way, simply moving the call to the scrollToPixel method to the JavaFX thread doesn't work either. It seems that in 0.10.9 scrollToPixel doesn't take effect for a short time after replaceText is called.

Try the following:
new Thread( new Task<CodeArea>()
{
    @Override public CodeArea call() // executes on background thread
    {
        CodeArea area = new CodeArea();
        area.replaceText( "This is test text\n".repeat( 10000 ) );
        return area;
    }
    @Override protected void succeeded() // executes on FX thread
    {
        CodeArea area = getValue();
        root.getChildren().add( new VirtualizedScrollPane<>( area ) );
        // Give the CodeArea chance to be rendered first ....
        Platform.runLater( () -> area.scrollToPixel( 0,0 ) );
    }
}).start();

Try the following:
new Thread( new Task<CodeArea>()
{
    @Override public CodeArea call() // executes on background thread
    {
        CodeArea area = new CodeArea();
        area.replaceText( "This is test text\n".repeat( 10000 ) );
        return area;
    }
    @Override protected void succeeded() // executes on FX thread
    {
        CodeArea area = getValue();
        root.getChildren().add( new VirtualizedScrollPane<>( area ) );
        // Give the CodeArea chance to be rendered first ....
        Platform.runLater( () -> area.scrollToPixel( 0,0 ) );
    }
}).start();

Thanks for your reply, this workaround is working.
What is the essence of this problem? I tried it, and based on this workaround, move the scrollToPixel out of foo and the problem happens. Based on this workaround, moving call of scrollToPixel out of Platform.runLater, the problem also occurs, but it still works fine in 0.10.8. Does this need fixing?

There are only two difference between release 8 and 9. The latter is now compiled with JDK 9 and is using the latest version of the Flowless library. I suspect that this is what is causing the changed behavior.
In my experience one of the pain points with JavaFX is these little timing issues one occasionally runs into, and then you seem to just have to pause a few milliseconds before something will work as expected ???

authors: Glavo Jugen

repo: FXMisc/RichTextFX


text:
[Feature request] Adding RichTextChange<...>.getSource()

Hi,
since I'm having issues with richChanges() (setStyle calls it), I wonder if it could be possible to add an enum that specifies the source of the change (TYPE (user typing), STYLE (setStyle, setStyleClass, etc), UNDO (undo), REDO (redo), etc).

Do you think this could be implemented?

I haven't had a chance to look at this yet (but thank you for supplying the full demo!). I should get to it by this upcoming Monday.

It sounds like you want to insert some character independent of the style of the character that precedes it. Is that correct?

I think you mean to write this:
public class Main extends Application {

    @Override
    public void start(Stage primaryStage) {
        Button bold = new Button("Make selection bold");
        CodeArea area = new CodeArea("RichTextFX");
        // set text to .green
        area.setStyleClass(0, area.getText().length(), "green");

        // when text is modified (ignore style changes),
        area.plainTextChanges().subscribe(change -> {
            Collection<String> style = area.getStyleOfChar(change.getPosition() - 1);
            area.setStyle(change.getPosition(), change.getPosition() + 1, style);
        });
        bold.setOnAction(e -> {
            IndexRange selection = area.getSelection();
            StyleSpans<Collection<String>> stylesInSelection = area.getStyleSpans(selection);

            // merge the original spans and the added spans together into a new StyleSpans object
            StyleSpans<Collection<String>> updatedSpans = stylesInSelection.overlay(
                    StyleSpans.singleton(Collections.singleton("bold"), selection.getLength()),
                    (oldList, addedList) -> {
                        List<String> copy = new ArrayList<>(oldList);
                        copy.addAll(addedList);
                        return copy;
                    });
            area.setStyleSpans(selection.getStart(), updatedSpans);
        });
        VBox root = new VBox(bold, area);
        root.setPrefWidth(400);
        Scene scene = new Scene(root);
        scene.getStylesheets().add(this.getClass().getResource("style.css").toExternalForm());
        primaryStage.setScene(scene);
        primaryStage.show();
    }

    public static void main(String... args) {
        launch(args);
    }
}

It sounds like you want to insert some character independent of the style of the character that precedes it. Is that correct?

I want to apply the style of the previous character to the new one.
Anyways, I'll try your code. Thank you

The problem was about using richChanges() instead of plainTextChanges(), now it seems like it's working.
I'd still enjoy if you add that feature though.
Keep up the great work, and thanks a lot for your support.

Glad you figured it out!

I'd still enjoy if you add that feature though.

Well, I know you already opened this issue for that, but the content of this issue turned to focus on fixing your specific problem. I initially did not want to add that feature because of how it went previously (hence why I tried to figure out your specific problem), but I'm willing to reconsider it. Could you change the title of this issue to something that adheres to more of this issue's content and open a new issue for that feature request. We can continue the discussion there. Perhaps there is a better way to implement it without the problems I encountered previously.

authors: JordanMartinez iAmGio


text:
[bug] shared instance of atlas results in race condition errorenous http responses

It appears that individual atlases instance (human, rat, mouse) are shared in the same process.
This could (and has) led to difficult to decipher bugs, such as regions returned are not the one that's requested, or (as I found out the hard way) datasets requested did not belong to the region(s) requested.
min repro:
use https://github.com/FZJ-INM1-BDA/siibra-api/tree/bug_minrepro (slightly modified to magnify the effect of network latency / multiple concurrent users)
#! /bin/bash

# works correctly:

curl http://localhost:5000/v1_0/atlases/juelich%2Fiav%2Fatlas%2Fv1.0.0%2F1/parcellations/minds%2Fcore%2Fparcellationatlas%2Fv1.0.0%2F94c1125b-b87e-45e4-901c-00daee7f2579/regions |
  jq '[.[].name]'

# expected output:
#[
#  "telencephalon",
#  "metencephalon"
#]

sleep 1

# does not work

curl http://localhost:5000/v1_0/atlases/juelich%2Fiav%2Fatlas%2Fv1.0.0%2F1/parcellations/minds%2Fcore%2Fparcellationatlas%2Fv1.0.0%2F94c1125b-b87e-45e4-901c-00daee7f2579/regions |
  jq '[.[].name]' & \
curl -o /dev/null \
  http://localhost:5000/v1_0/atlases/juelich%2Fiav%2Fatlas%2Fv1.0.0%2F1/parcellations/juelich%2Fiav%2Fatlas%2Fv1.0.0%2F6/regions

# actual output
# [
#   "Left Hemisphere",
#   "Right Hemisphere"
# ]

In the first fix I create a separate atlas for each request.
It seems to work.
@xgui3783 I tried your script and get now the expected value. Do you have more cases where you experienced the issue and can do some test?

I believe this issue is addressed. Thanks.


text:
Cant open/import mclighting aia file

Hello,
i wanted to check out the McLightingApp on App Inventor but i cant import the aia file.
Error: The selected project is not a project source file! Project source files are aia files.
And yes i am uploading the aia file.
Could someone help?
thanks

apparently it only works if you download the file by itself (unkompressed)

repo: FabLab-Luenen/McLighting


text:
named and commented various seeding methods

The previous method names were repetitive and arbitrary "x" and "z" parameters didn't explain what was going on. I mostly stuck with the names seed finding has been using.

Is this the result of last night's shenanigans?

What shenanigans? :P

Could you update the base branch to 20w08a?

I approve those names!

authors: Juuxel KaptainWutax Sollace hube12

repo: FabricMC/yarn


text:
UncheckyAds list still valid and usefull?

Hi @FadeMind
Is UncheckyAds list still valid and usefull?
It looks to be outdated due to no activity in the last 2 years.
Thank you and cheers

Original hosts have 36 lines, but after review with dead-hosts tool is just 10 active domains.
See: https://github.com/dead-hosts/UncheckyAds_git_FadeMind/blob/master/output/hosts/ACTIVE/hosts

authors: FadeMind crssi


text:
fix: Properly mount DOMElement

DOMElements are components, therefore it should be able to instantiate them in
an isolated fashion and then add them at a later point in time using
Node#addComponent.
Other issues this PR addresses:

Show DOMElement when onShow is being invoked
Keep track of cutout state
Prefix private methods with _

This is the beginning of a general refactor of some parts of the platform.

Build on Travis CI failed again because of GeometryHelper.spec.js.
Couldn't reproduce on my local machine. This seems to be a pretty weird test case.
while tape ./webgl-geometries/test/*.js; do ; done

Overall I like but have a few issues with the implementation.  Will comment inline

@michaelobriena Did you have a change to add the inline comments?

authors: alexanderGugel michaelobriena

repo: Famous/engine


text:
🛑 Random Fandom Shop is down

In c4e17e5, Random Fandom Shop (https://shop.rfmg.top) was down:

HTTP code: 500
Response time: 5833 ms

Resolved: Random Fandom Shop is back up in 351e490 after 15 minutes.

repo: FanboyStudios/RFMG-Status-Monitor


text:
Feature Request

I'm trying to get the value of the input field when there is no result found that matchs the users input. The onChangeText and onChange doesnt seem to return the value on the input field. I want to have a feature that will show a "just use" (the users input)
I added this
onChangeText={(userInput) => {
setNotFoundInput(userInput)
}
}
I figured I would use the method listEmptyComponent like this
listEmptyComponent={() => (
<Pressable onPress={() => {
setText(notFoundInput) // get input value and save it to state
}}>
<View style={{ flex: 1, alignItems: 'center', marginTop: 10, justifyContent: 'center' }}>
<Text style={{ fontSize: 18, fontWeight: 'bold' }}>Just Use "{notFoundInput}"

)}
Maybe there's a better way to implement this?

Well a few minutes later i noticed the getAdressText method. Dont know how i missed it earlier. So i just got the returned value from
const userInput= locationInputRef.current?.getAddressText()
setText(userInput)
and used state to update the listEmptyComponent to display a Just Use 'user input text'


text:
Support multiple labeled examples

Hey, SwaggerUI and the open APi spec support defining multiple request body examples with descriptions to represent different request use cases and to provide an example request with each use case.
Could the FastEndpoints request example implementation be updated to support multiple examples along with a label describing each example?

will check...
if somebody wants to send a PR, please go ahead.

This is implemented in v5.18.0.5-beta
Multiple examples for the request DTO can be specified by setting the ExampleRequest property of the Summary class multiple times like so:
Summary(s =>
{
    s.ExampleRequest = new()
    {
        Name = "one",
    };

    s.ExampleRequest = new()
    {
        Name = "two",
    };
});

You need to add it in a documentation, it was not obvious to me

@Mishatopkek it's documented here.

@dj-nitehawk I'm sorry, I've checked in my project and I updated my message. Currently, I want to know who to change label in an example. My mistake

customizing the label of examples is currently not supported. will look in to implementing that sometime next week.
the alternative would be to write your own nswag operation processor to customize the generated swagger spec.

@Mishatopkek Give v5.24.0.1-beta a try. You can now do this:
Summary(
    x =>
    {
        x.RequestExamples.Add(new(new MyRequest { ... }, "label goes here"));
    });

@Mishatopkek Give v5.24.0.1-beta a try. You can now do this:
Summary(
    x =>
    {
        x.RequestExamples.Add(new(new MyRequest { ... }, "label goes here"));
    });

I've checked and it works fine

authors: KateyBee Mishatopkek altmank dj-nitehawk

repo: FastEndpoints/FastEndpoints


text:
🛑 FastGit Archive is down

In 63aab38, FastGit Archive (https://archive.fastgit.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FastGit Archive is back up in 1ad5c56.

repo: FastGitORG/uptime


text:
Mobile Authenticator

Can´t trade! There is no Mobile Authenticator implementation! Please Add.

2FA is supported, but Escrow bypasses are not. Are you referring to the trade escrow?

Yes, you are referring to escrow, never mind. I'm working on implementing https://github.com/geel9/SteamAuth

authors: BitPhinix FatherFoxxy

repo: FatherFoxxy/CSharpTradeOffers


text:
🛑 Voice Chat API is down

In 5672a17, Voice Chat API (https://voice.roblox.com/) was down:

HTTP code: 404
Response time: 65 ms

Resolved: Voice Chat API is back up in e5a57a8 after 20 minutes.

repo: FearedFusionX/Ro-Status


text:
more reasonable start parameter

In make_temporal_cutoffs, this PR allows start to be a list of times, corresponding to an associated instance id. Each one specifies the first cutoff t ime to be made for the corresponding instance.

Codecov Report

Merging #149 into master will decrease coverage by 1.33%.
The diff coverage is 92.59%.

@@            Coverage Diff             @@
##           master     #149      +/-   ##
==========================================
- Coverage    92.7%   91.37%   -1.34%
==========================================
  Files          72       72
  Lines        7693     7743      +50
==========================================
- Hits         7132     7075      -57
- Misses        561      668     +107

Impacted Files
Coverage Δ

featuretools/utils/time_utils.py
94.44% <90%> (-5.56%)
:arrow_down:

featuretools/tests/utils_tests/test_time_utils.py
94.28% <94.11%> (-1.37%)
:arrow_down:

featuretools/primitives/aggregation_primitives.py
73.79% <0%> (-18.78%)
:arrow_down:

featuretools/utils/wrangle.py
57.24% <0%> (-15.4%)
:arrow_down:

featuretools/primitives/transform_primitive.py
86.29% <0%> (-11.49%)
:arrow_down:

...turetools/computational_backends/pandas_backend.py
91.74% <0%> (-0.34%)
:arrow_down:

...ols/tests/feature_function_tests/test_agg_feats.py
98.5% <0%> (-0.02%)
:arrow_down:

.../feature_function_tests/test_transform_features.py
98.84% <0%> (-0.01%)
:arrow_down:

featuretools/utils/api.py
100% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

authors: bschreck codecov-io

repo: Featuretools/featuretools


text:
Update requirements

This updates the required versions of two dependencies, distributed and pympler.  This PR downgrades Pympler from 0.6 to 0.5 because 0.6 is not available on conda.  This PR upgrades the distributed requirement to 1.24.2, which includes the bugfix that addresses #313

Looks good to me


text:
TO-DO

Añadir archivos y carpetas recomendadas en paper de buenas prácticas de computación científica.

1.1. Archivo README.md en la carpeta raíz con:
. un breve resumen de resultados del análisis EDA
1.4. En la carpeta data incluir:
. la base de datos que utilizará para el análisis EDA del proyecto y en el README.md de esta carpeta una descripción general de esta información.
1.5. En la carpeta src incluir:
. Jupyter notebook con el análisis EDA.
1.6. En la carpeta results incluir:
. en el README.md de esta carpeta compartir los resultados del análisis EDA realizado.


text:
Tigris $set updates Datetime and ObjectID value to string field type should throw validation error

Versions
0.8.1
What did you do?
Added compat test cases for $set.
Using $set operator  DateTime and ObjectID are set to string field type in Tigris. The field type stays as string but value stored is DateTimeandObjectID`.
See the issue number in the code base.
What did you expect to see?
Same as compat.
What did you see instead?
In TestUpdateFieldCompatSet testcase ObjectID, the field type string is set with objectID value.
        	            	--- expected
        	            	+++ actual
        	            	@@ -6,5 +6,3 @@
        	            	   "_id": "string",
        	            	-  "v": {
        	            	-    "$o": "000102030405060708091011"
        	            	-  }
        	            	+  "v": "AAECAwQFBgcICRAR"
        	            	 }

Environment
- OS:
- Architecture:
- Version:
- Go:
- Git:
- Deployment:
- Deployment details:

This issue is similar to https://github.com/FerretDB/FerretDB/issues/1835, should be covered by https://github.com/FerretDB/FerretDB/issues/1061.
Let's not close the issue because the issue number is mentioned in the source code, but it should stick together with https://github.com/FerretDB/FerretDB/issues/1061

authors: chilagrow rumyantseva

repo: FerretDB/FerretDB


text:
Update README.md to link to SSPL

When reading the README for the first time, I was left wondering what the SSPL was, and why it might be a problem, so this change merely links to the license in question, for ease of browsing and understanding: https://www.mongodb.com/licensing/server-side-public-license

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

Thank you!

authors: AlekSi CLAassistant cooljeanius


text:
🛑 PVE is down

In 6b0d454, PVE (https://pve-01.efimio.ru) was down:

HTTP code: 0
Response time: 0 ms

Resolved: PVE is back up in 05ba2c5.

repo: Filadeus/filadeus-upptime


text:
Code gen failing: flutter pub run build_runner build --delete-conflicting-outputs

I'm unable to run my code gen.

What task are you trying to accomplish that made you run the command?

Added a view

Did you add the view that using the Stacked_CLI?

What version of the stacked and the stacked_generator are you using?

authors: Edamijueda FilledStacks ikennaumeh

repo: FilledStacks/stacked


text:
how to connect to remote mysql

Sorry to trouble you .
Usually , I login in my reomte machine with ssh test  , and do some job with mysql .But now I want to do this job in my local machine . I try to make it work , but I have trouble .
My ssh config is
Host test
    HostName 121.201.1.111
    User test
    Port 12528
    IdentityFile ~/.ssh/id_rsa

My remote mysql config is
    host: 'localhost',
    user: 'db_test',
    password: 'db_password',
    database: 'db_name',

And all my code is here
var tunnel = require('tunnel-ssh');
var  mysql = require('mysql');
  var server = tunnel({
      host: '121.201.1.111',
      dstPort: 12528
    }, function (error, result) {
      if(error) {
        return console.log(error)
      }
      // This is ok ,
      console.log('connected',result);

       // this is not work
      var connection = new mysql.createConnection({
        host: 'localhost',
        database: "db_name",
        user: "db_test",
        password: "db_password"
      });

      var sql = "select count(*) as total from accounts  ";

      connection.query(sql, function(err, rows, fields) {
        if (err) {
            console.log(err);
            return ;
        }
        console.log(rows)
      });
  });

I can connect with my ssh machine ,but i can't connect with mysql .  What the problem is ?
The error is like below , when i changed mysql host from  localhost to 121.201.1.111
{ [Error: connect ETIMEDOUT]
  errorno: 'ETIMEDOUT',
  code: 'ETIMEDOUT',
  syscall: 'connect',
  fatal: true }

or below ,  when the  host is localhost
[Error: ER_ACCESS_DENIED_ERROR: Access denied for user 'db_test'@'localhost' (using password: YES)]
  code: 'ER_ACCESS_DENIED_ERROR',
  errno: 1045,
  sqlState: '28000',
  fatal: true }

Hope you can help me . Thanks a lot .

Well it looks like you have problems with the authentification.
you should check your user settings from your mysql. Maybe you need to connect via 127.0.0.1
Maybe you can use some gui like navicat to figure out your configuration.
Sorry can't  help you any further here.

authors: SunLn agebrock


text:
Per-tenant CORS

I'm trying to use per-tenant CORS policy but it doesn't seem to work.
I'm not sure if I'm setting it up wrong or if ASP.NET Core just doesn't setup the CORS middleware in a compatible way but I'm wondering if anyone else has had any success with this.
public IServiceProvider ConfigureServices(IServiceCollection services)
{
    services.AddCors(options => {});

    // ... other stuff

    services.AddMultiTenant()
        .WithHostStrategy("__tenant__")
        .WithFallbackStrategy("localhost")
        .WithInMemoryStore(Configuration.GetSection("MultiTenant"))
        .WithPerTenantOptions<Microsoft.AspNetCore.Cors.Infrastructure.CorsOptions>((options, tenantContext) =>
        {
            options.AddPolicy("ApiCorsPolicy", builder => builder
                .WithOrigins(IdentityServerConfig.GetClients(tenantContext)
                    .SelectMany(c => c.AllowedCorsOrigins)
                    .Where(o => o != null)
                    .ToArray())
                .AllowAnyHeader()
                .AllowAnyMethod());
        });
}

public void Configure(IApplicationBuilder app, IHostingEnvironment env)
{
    app.UseMultiTenant();
    app.UseCors("ApiCorsPolicy");
    // other stuff
}

Setting a breakpoint inside WithPerTenantOptions, I can see that it never even gets hit.

Any luck @GordonBlahut ?
Sometimes Microsoft coaches options internally which can make getting the desired abhor across tenants difficult, but it is doable. I’ll try to take a look this week.

Any luck @GordonBlahut ?
Sometimes Microsoft coaches options internally which can make getting the desired abhor across tenants difficult, but it is doable. I’ll try to take a look this week.

Any luck @GordonBlahut ?
Sometimes Microsoft coaches options internally which can make getting the desired abhor across tenants difficult, but it is doable. I’ll try to take a look this week.

@achandlerwhite No luck yet. Since it never hits WithPerTenantOptions I suspect they aren't even using an IOptions-based approach in the cords middleware but I haven't had a chance to really dig through the source.

@GordonBlahut you may have figured it out already, but the options are pulled in the CorsService class, which internally caches them. A simple hack would be reregister the service as transient rather than a singleton I think. The options are cached anyway so I'm not sure why they did so in this class. They also did it in AuthenticationSchemeProvider, which I had to work around.

For those who are on the same boat, the CorsPolicyBuilder now supports a delegate to determine if the origin is allowed or not: SetIsOriginAllowed.
public void Configure(IApplicationBuilder app, IMultiTenantContextAccessor<TenantInfo> ctx)
{
    app.UseCors(config => config
      .AllowAnyHeader()
      .AllowAnyMethod()
      .SetIsOriginAllowed((origin) =>
      {
        var tenant = ctx.MultiTenantContext.TenantInfo;
        var originsAllowed = // get the allowed origins for the tenant
        return originsAllowed.Contains(origin);
      })
    );
}


text:
Add Support for a different property name than TenantId to identify MultiTenant entities

Currently the Data Isolation requires that an entity contains a property called TenantId.
I would like to use this with an existing database, in which tenant entities have their tenants identified by a property called ProfileId, and not TenantId.  Also, this ProfileId property is an integer, and not a string.
Can you please add support to be able to specify the tenant-identifying property (and it's type) when configuring data isolation?

This is a really good idea. I have a release comign soon for .NET Core 5 but I don't think I can work this request in by then--but I'll start thinking about it. Allowing a custom property to be used shouldn't be too difficult but having it be an int might be harder -- I'd have to make a generic version of ITenantInfo which might have a lot of ripple effects in the library.
Thanks for the suggestion!

authors: AndrewTriesToCode shawndewet


text:
What would you do differently today?

I found this site as an example of real world usage for rails + angularjs.  My question, it's been years, what would you do differently today?  Are there any up to date examples that you know of of rails + angularjs?  I really like the way you have the templates in assets, so i'm really drawn to this one (and possibly updating this one to 4.2)

We've actually done a lot different since we initially published this example.  On the Rails side we've switched to using jbuilder because we wanted to more easily serialize different variations of our data models for each of our SPAs.  For instance, an Employee we serialize in more detail our Employee app compared to this Training app.  AMS is still a perfectly valid choice especially since it's used in Rails 5 with the --api switch.
Overall though our general structure for the AngularJS portion is roughly the same but there's a lot of things we'd probably do differently based on the latest best practices.
One thing we've talked about but never implemented (cost of loading resources is fairly low on our internal apps) is potentially injecting templates in the top-level HTML to load them as inline templates instead of external resource calls.

authors: silkcom tpodom


text:
Support for Firebase.InstanceId

Hi,
Are there any plans to add support for Firebase.InstanceId in flutterfire?
Thanks,

Hi @rgb1380
Please checkout this answer
Hope it helps
Thank you

Thanks for the link. Still would be good to include Firebase.InstanceId in the library if possible.

repo: FirebaseExtended/flutterfire


text:
🐛 [cloud_firestore][web] Cannot update data when at html.window.onBeforeUnload

Bug report
Describe the bug
The data doesn't update in html.window.onBeforeUnload
Steps to reproduce

write source code like

  @override
  void initState(){
    super.initState();
    html.window.onBeforeUnload.listen((event) async {
      print( "on before unload" );
      FirebaseFirestore.instance.collection("collection").doc("test").update({"sample": "is beforedunload");
    });
  }

run command  flutter run -d chrome --web-renderer=canvaskit
reload blowser( ctrl+R)

Expected behavior
firestore data has been updated
Additional context
I want to updated data when user leave from my website.
If there is another way, please let me know
update sometime successful, but failed always at when it is released.
Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
[√] Flutter (Channel beta, 2.0.0, on Microsoft Windows [Version 10.0.19042.804], locale ja-JP)
[√] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[√] Chrome - develop for the web
[√] Android Studio (version 4.1.0)
[√] VS Code (version 1.53.2)
[√] Connected device (3 available)

Flutter dependencies
Click To Expand
Dart SDK 2.12.0
Flutter SDK 2.0.0
mangaplotter 3.21.3

dependencies:
- auto_animated 2.1.0 [flutter visibility_detector]
- cloud_firestore 0.16.0+1 [flutter meta quiver firebase_core firebase_core_platform_interface cloud_firestore_platform_interface cloud_firestore_web]
- configurable_expansion_tile 1.0.0 [flutter]
- connectivity_plus 0.8.1 [flutter meta connectivity_plus_platform_interface connectivity_plus_linux connectivity_plus_macos connectivity_plus_web connectivity_plus_windows]
- cupertino_icons 1.0.2
- device_info 1.0.0 [flutter device_info_platform_interface]
- dotted_border 1.0.7 [flutter path_drawing]
- dynamic_color_theme 1.1.1 [flutter flutter_colorpicker shared_preferences]
- email_validator 1.0.6
- encrypt 4.1.0 [args asn1lib clock collection crypto pointycastle]
- esys_flutter_share 1.0.2 [flutter path_provider]
- expandable 4.1.4 [flutter]
- file_picker 2.1.6 [flutter flutter_web_plugins flutter_plugin_android_lifecycle plugin_platform_interface]
- firebase_analytics 7.0.1 [meta flutter firebase_core firebase_analytics_web firebase_analytics_platform_interface]
- firebase_auth 0.20.1 [meta firebase_core firebase_core_platform_interface firebase_auth_platform_interface firebase_auth_web flutter]
- firebase_auth_oauth 0.2.4 [flutter firebase_auth firebase_auth_oauth_platform_interface firebase_auth_oauth_web firebase_core]
- firebase_core 0.7.0 [firebase_core_platform_interface flutter quiver meta firebase_core_web]
- firebase_crashlytics 0.4.0+1 [flutter stack_trace firebase_core firebase_core_platform_interface firebase_crashlytics_platform_interface]
- firebase_storage 7.0.0 [flutter firebase_core firebase_core_platform_interface firebase_storage_web firebase_storage_platform_interface quiver]
- flutter 0.0.0 [characters collection meta typed_data vector_math sky_engine]
- flutter_cupertino_date_picker 1.0.12 [flutter]
- flutter_email_sender 3.0.1 [flutter]
- flutter_facebook_login 3.0.0 [flutter flutter_web_plugins collection]
- flutter_image 3.0.0 [flutter]
- flutter_inapp_purchase 3.0.1 [http meta flutter platform]
- flutter_keyboard_visibility 4.0.3 [meta flutter_keyboard_visibility_platform_interface flutter_keyboard_visibility_web flutter]
- flutter_local_notifications 4.0.1+1 [flutter flutter_local_notifications_platform_interface platform timezone]
- flutter_localizations 0.0.0 [flutter intl characters clock collection meta path typed_data vector_math]
- flutter_page_indicator 0.0.3 [flutter]
- flutter_reorderable_list 0.1.5 [flutter]
- flutter_signin_button 1.1.0 [flutter font_awesome_flutter]
- flutter_staggered_animations 0.1.2 [flutter]
- flutter_twitter 1.1.3 [flutter]
- flutter_typeahead 2.0.0 [flutter flutter_keyboard_visibility]
- fluttertoast 7.1.8 [flutter flutter_web_plugins]
- google_sign_in 4.5.9 [google_sign_in_platform_interface flutter meta google_sign_in_web]
- html_unescape 1.0.2
- http 0.12.2 [http_parser path pedantic]
- image_cropper 1.3.1 [flutter]
- image_picker 0.6.7+22 [flutter flutter_plugin_android_lifecycle image_picker_platform_interface]
- image_size_getter 0.2.1 [collection hashcodes]
- keyboard_service 1.0.4 [flutter]
- outline_material_icons 0.1.1 [flutter]
- package_info_plus 0.5.0 [flutter package_info_plus_platform_interface package_info_plus_web package_info_plus_macos]
- passcode_screen 1.2.2+1 [flutter]
- path_provider 1.6.14 [flutter path_provider_platform_interface path_provider_macos path_provider_linux]
- permission_handler 5.1.0+2 [flutter meta permission_handler_platform_interface]
- photo_view 0.10.3 [flutter]
- shared_preferences 0.5.12+4 [meta flutter shared_preferences_platform_interface shared_preferences_linux shared_preferences_macos shared_preferences_web shared_preferences_windows]
- sign_in_with_apple 2.5.4 [meta flutter]
- sqflite 1.3.2+1 [flutter sqflite_common path]
- svg_path_parser 0.1.1 [string_scanner flutter]
- timezone 0.6.1 [path]
- transformer_page_view 0.1.6 [flutter]
- tutorial_coach_mark 0.6.0+1 [flutter]
- universal_html 1.2.4 [async charcode collection csslib html meta typed_data universal_io zone_local]
- url_launcher 5.7.10 [flutter url_launcher_platform_interface url_launcher_web url_launcher_linux url_launcher_macos url_launcher_windows]
- web_browser_detect 1.0.4+1 [flutter universal_html]

dev dependencies:
- flutter_driver 0.0.0 [file meta path vm_service webdriver flutter flutter_test fuchsia_remote_debug_protocol archive args async boolean_selector characters charcode clock collection convert crypto fake_async matcher platform process source_span stack_trace stream_channel string_scanner sync_http term_glyph test_api typed_data vector_math]
- flutter_launcher_icons 0.7.5 [image args yaml]
- flutter_test 0.0.0 [flutter test_api path fake_async clock stack_trace vector_math async boolean_selector characters charcode collection matcher meta source_span stream_channel string_scanner term_glyph typed_data]
- test 1.16.0-nullsafety.19 [analyzer async boolean_selector coverage http_multi_server io js node_preamble package_config path pedantic pool shelf shelf_packages_handler shelf_static shelf_web_socket source_span stack_trace stream_channel typed_data web_socket_channel webkit_inspection_protocol yaml test_api test_core]

dependency overrides:
- intl 0.17.0-nullsafety.2 [clock path]
- platform 3.0.0-nullsafety.1

transitive dependencies:
- _fe_analyzer_shared 7.0.0 [meta]
- analyzer 0.39.17 [_fe_analyzer_shared args charcode cli_util collection convert crypto glob html meta package_config path pub_semver source_span watcher yaml]
- archive 2.0.13 [crypto args path]
- args 1.6.0
- asn1lib 0.8.1
- async 2.5.0 [collection]
- boolean_selector 2.1.0 [source_span string_scanner]
- characters 1.1.0
- charcode 1.2.0
- cli_util 0.2.0 [path]
- clock 1.1.0
- cloud_firestore_platform_interface 3.0.2 [flutter meta collection firebase_core plugin_platform_interface]
- cloud_firestore_web 0.3.0+2 [flutter flutter_web_plugins http_parser meta firebase_core firebase_core_web cloud_firestore_platform_interface js]
- collection 1.15.0
- connectivity_plus_linux 0.3.1 [flutter connectivity_plus_platform_interface dbus meta]
- connectivity_plus_macos 0.4.1 [connectivity_plus_platform_interface flutter]
- connectivity_plus_platform_interface 0.4.1 [flutter meta plugin_platform_interface]
- connectivity_plus_web 0.6.1 [connectivity_plus_platform_interface flutter_web_plugins flutter]
- connectivity_plus_windows 0.1.1 [connectivity_plus_platform_interface flutter]
- convert 2.1.1 [charcode typed_data]
- coverage 0.14.1 [args logging package_config path source_maps stack_trace vm_service]
- crypto 2.1.5 [collection convert typed_data]
- csslib 0.16.2 [source_span]
- dbus 0.1.2 [args meta xml]
- device_info_platform_interface 1.0.1 [flutter meta plugin_platform_interface]
- fake_async 1.2.0 [clock collection]
- ffi 0.1.3
- file 6.0.0 [meta path]
- firebase 7.3.2 [http http_parser js]
- firebase_analytics_platform_interface 1.0.3 [flutter meta]
- firebase_analytics_web 0.1.1 [flutter flutter_web_plugins firebase firebase_analytics_platform_interface meta]
- firebase_auth_oauth_platform_interface 0.2.2 [flutter firebase_auth firebase_core]
- firebase_auth_oauth_web 0.2.2 [flutter flutter_web_plugins firebase firebase_auth firebase_auth_oauth_platform_interface firebase_core js]
- firebase_auth_platform_interface 3.1.0 [flutter meta firebase_core plugin_platform_interface]
- firebase_auth_web 0.3.3 [flutter flutter_web_plugins meta http_parser intl firebase_core firebase_core_web firebase_auth_platform_interface js]
- firebase_core_platform_interface 3.0.1 [flutter meta plugin_platform_interface quiver]
- firebase_core_web 0.2.1+3 [firebase_core_platform_interface flutter flutter_web_plugins meta js]
- firebase_crashlytics_platform_interface 1.1.6 [flutter meta collection firebase_core plugin_platform_interface]
- firebase_storage_platform_interface 1.0.4 [flutter meta collection firebase_core plugin_platform_interface]
- firebase_storage_web 0.1.1+3 [async crypto firebase_core firebase_core_web firebase_storage_platform_interface flutter flutter_web_plugins http js meta]
- flutter_colorpicker 0.3.5 [flutter]
- flutter_keyboard_visibility_platform_interface 1.0.1 [flutter meta plugin_platform_interface]
- flutter_keyboard_visibility_web 1.0.1 [flutter_keyboard_visibility_platform_interface flutter_web_plugins flutter]
- flutter_local_notifications_platform_interface 2.0.0+1 [flutter plugin_platform_interface]
- flutter_plugin_android_lifecycle 1.0.9 [flutter]
- flutter_web_plugins 0.0.0 [flutter js characters collection meta typed_data vector_math]
- font_awesome_flutter 8.8.1 [flutter]
- fuchsia_remote_debug_protocol 0.0.0 [process vm_service file meta path platform]
- glob 1.2.0 [async collection node_io path pedantic string_scanner]
- google_sign_in_platform_interface 1.1.2 [flutter meta quiver]
- google_sign_in_web 0.9.2 [google_sign_in_platform_interface flutter flutter_web_plugins meta js]
- hashcodes 1.0.0
- html 0.14.0+3 [csslib source_span]
- http_multi_server 2.2.0 [async]
- http_parser 3.1.4 [charcode collection source_span string_scanner typed_data]
- image 2.1.18 [archive xml meta]
- image_picker_platform_interface 1.1.0 [flutter meta http plugin_platform_interface]
- io 0.3.4 [charcode meta path string_scanner]
- js 0.6.3
- logging 0.11.4
- matcher 0.12.10 [stack_trace]
- meta 1.3.0
- mime 0.9.7
- node_interop 1.1.1 [js]
- node_io 1.1.1 [node_interop path]
- node_preamble 1.4.12
- package_config 1.9.3 [path charcode]
- package_info_plus_macos 0.1.0 [flutter]
- package_info_plus_platform_interface 0.1.0 [flutter meta plugin_platform_interface]
- package_info_plus_web 0.1.0 [http package_info_plus_platform_interface platform_detect flutter flutter_web_plugins meta]
- path 1.8.0
- path_drawing 0.4.1+1 [vector_math meta path_parsing flutter]
- path_parsing 0.1.4 [vector_math meta]
- path_provider_linux 0.0.1+2 [path xdg_directories path_provider_platform_interface flutter]
- path_provider_macos 0.0.4+4 [flutter]
- path_provider_platform_interface 1.0.3 [flutter meta platform plugin_platform_interface]
- path_provider_windows 0.0.4+3 [path_provider_platform_interface meta path flutter ffi win32]
- pedantic 1.11.0
- permission_handler_platform_interface 2.0.2 [flutter meta plugin_platform_interface]
- petitparser 3.0.4 [meta]
- platform_detect 1.4.0 [meta pub_semver]
- plugin_platform_interface 1.0.3 [meta]
- pointycastle 2.0.0
- pool 1.5.0 [async stack_trace]
- process 4.0.0 [file path platform]
- pub_semver 1.4.4 [collection]
- quiver 2.1.3 [matcher meta]
- shared_preferences_linux 0.0.2+2 [file flutter meta path path_provider_linux shared_preferences_platform_interface]
- shared_preferences_macos 0.0.1+10 [shared_preferences_platform_interface flutter]
- shared_preferences_platform_interface 1.0.4 [meta flutter]
- shared_preferences_web 0.1.2+7 [shared_preferences_platform_interface flutter flutter_web_plugins meta]
- shared_preferences_windows 0.0.1+3 [shared_preferences_platform_interface flutter ffi file meta path path_provider_platform_interface path_provider_windows]
- shelf 0.7.9 [async collection http_parser path stack_trace stream_channel]
- shelf_packages_handler 2.0.0 [path shelf shelf_static]
- shelf_static 0.2.8 [convert http_parser mime path shelf]
- shelf_web_socket 0.2.3 [shelf web_socket_channel stream_channel]
- sky_engine 0.0.99
- source_map_stack_trace 2.1.0 [path stack_trace source_maps]
- source_maps 0.10.10 [source_span]
- source_span 1.8.0 [charcode collection path term_glyph]
- sqflite_common 1.0.2+1 [synchronized path meta]
- stack_trace 1.10.0 [path]
- stream_channel 2.1.0 [async]
- string_scanner 1.1.0 [charcode source_span]
- sync_http 0.2.0
- synchronized 2.2.0+2
- term_glyph 1.2.0
- test_api 0.2.19 [async boolean_selector collection meta path source_span stack_trace stream_channel string_scanner term_glyph matcher]
- test_core 0.3.12-nullsafety.17 [analyzer async args boolean_selector collection coverage glob io meta package_config path pedantic pool source_map_stack_trace source_maps source_span stack_trace stream_channel vm_service yaml matcher test_api]
- typed_data 1.3.0 [collection]
- universal_io 1.0.2 [crypto meta zone_local]
- url_launcher_linux 0.0.1+1 [flutter]
- url_launcher_macos 0.0.1+8 [flutter]
- url_launcher_platform_interface 1.0.9 [flutter meta plugin_platform_interface]
- url_launcher_web 0.1.5 [url_launcher_platform_interface flutter flutter_web_plugins meta]
- url_launcher_windows 0.0.1+1 [flutter]
- vector_math 2.1.0
- visibility_detector 0.1.5 [flutter]
- vm_service 5.5.0 [meta]
- watcher 0.9.7+15 [async path pedantic]
- web_socket_channel 1.1.0 [async crypto stream_channel]
- webdriver 2.1.2 [archive matcher path stack_trace sync_http]
- webkit_inspection_protocol 0.7.3 [logging]
- win32 1.7.4 [ffi]
- xdg_directories 0.1.2 [meta path process]
- xml 4.5.1 [collection convert meta petitparser]
- yaml 2.2.1 [charcode collection string_scanner source_span]
- zone_local 0.1.2

Hi @hatano0x06
Is there an error message or does the request not go through?
Does it help if you add await before the firestore call?
Thank you

@markusaksli-nc
I rewrite my code like this
      print(" reloaded");
      html.window.onBeforeUnload.listen((event) async{
        print( "on before unload" );

        print("start save");
        await FirebaseFirestore.instance.collection("collection").doc("test").update({"sample": "is beforedunload");
        print("end save");
      });

and output was like this
 reloaded
on before unload
start save

 reloaded

there is no error message and request not go through

Does this only happen with Firestore or does it happen with any asynchronous call? It could be that this is an issue with if the event can even wait for your call to return or not. Maybe it is just not designed to await asynchronous callbacks.

@markusaksli-nc
I have not confirmed it because I do not expect other asynchronous call.
What I want to do is save the final data (such as the textfield data user focusing and typing) when the user reloads the browser (eg ctrl + R).
If I can save the data before reloading, I think that I do not need to use html.window.onBeforeUnload
Is there any Idea?

You could get around this issue by constantly caching the values you need saved instead of uploading them, or requiring the values get "saved" and blocking from leaving or closing like https://www.photopea.com/

Unless you can block from reloading, you will run into the issue of your code getting halted at some random point during the reload with that callback you are using. Unless it blocks the reload while the callbacks execute, you just can't rely on it. But with something like what Photopea does you could require the user to save their state and warn them if they leave without doing it.
As it stands though it doesn't seem like there's anything wrong with our plugin here so I'm closing this issue for now.

@markusaksli-nc
then how I can show the alert when the user leave?
I tryed
      html.window.onBeforeUnload.listen((event) async{
          return "wait before save";
      });

but doesn't work

Not sure, you need to figure out how it is done in JS and then see if there is a way to use that method from flutter. StackOverflow is your friend

ok
thank you!
I'll try it


text:
feat(firebase_admob): integrate Admob with new core

Depend on firebase_core v 0.5.0 and migrate plugin to use firebase_core native SDK versioning features;
Firebase iOS SDK versions are now locked to use the same version defined in firebase_core.
Firebase Android SDK versions are now using the Firebase Bill of Materials (BoM) to specify individual SDK versions. BoM version is also sourced from firebase_core.
Fixes #3209

Is it worth adding in https://github.com/FirebaseExtended/flutterfire/issues/3236 as part of this too?

Seems urgent enough to add in.

Re: #3236 I don't think there's anything we need to do on the FlutterFire side other than make sure we're using the latest sdk, source: https://github.com/invertase/react-native-firebase/issues/4107

Makes sense, we will have to update this dependency outside of setting Firebase Core since Firebase/AdMob is no longer updated and Firebase docs recommends direct dependency.

@googlebot I consent.

Both Android & iOS should be working now, have ran both locally:

Makes sense, we will have to update this dependency outside of setting Firebase Core since Firebase/AdMob is no longer updated and Firebase docs recommends direct dependency.

Why Firebase/AdMob is no longer updated?!!!
Developing flutter applications can’t make money. Why do we use flutter?

@john990 Firebase/AdMob podspec is just a shell to bring in the underlying google ads pods, what's being said here is that we'd in future rely on the google ads pods directly instead. Only the shell podspec is what's not being updated

When is the release planned for this PR?

I think this update is still in prerelease. When is it going to be published?
https://pub.dev/packages/firebase_admob

@john990 Firebase/AdMob podspec is just a shell to bring in the underlying google ads pods, what's being said here is that we'd in future rely on the google ads pods directly instead. Only the shell podspec is what's not being updated

Wow, this is really good news, is it implemented entirely in Flutter?  Is there an approximate release date?  look forward to!

authors: Ehesp Salakar ianpark john990 kroikie praveentcom


text:
🛑 Schools project is down

In 6518c2d, Schools project (http://schools.fitzmuseum.cam.ac.uk) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Schools project is back up in 370501a after 4 minutes.

repo: FitzwilliamMuseum/uptime


text:
🛑 Collection is down

In 0e9b355, Collection (https://data.fitzmuseum.cam.ac.uk) was down:

HTTP code: 504
Response time: 15504 ms

Resolved: Collection is back up in 194d39c after 7 minutes.


text:
Requesting to add 'Carbon Wallet' to the 'Wallets' category

Submission Notes: Please fill in the template below, and don't worry about exact formatting, just do your best! Use the Preview tab to check your submission before sending it. A

Requesting to add 'Carbon Wallet' to the 'Wallets' category. Details follow:

- name: Carbon Wallet
      url: http://google.com
      img:
      twitter: Carbon_wallet
      email_address: john@carbonwallet.com
      btc: Yes
      bch: Yes
      othercrypto: Yes
      doc: https://www.reddit.com/r/Bitcoincash/comments/7vg4is/carbon_wallet_now_live_with_support_for_bch/

But Twitter!

Testing!

/abc btc no

/abc img https://pbs.twimg.com/profile_images/953675228361707520/clvKLS6g_400x400.jpg

/abc btc yes

/abc btc Yes

/abc img https://pbs.twimg.com/profile

/abc img https://pbs.twimg.com/profile_images/953675228361707520/clvKLS6g_400x400.jpg

repo: Flaez/acceptbitcoincash-staging


text:
Add Electroman Adventures (Sairk Remake) by Waterflame, Sairk

Song Name
Electroman Adventures (Sairk Remake)
Artist Name
Waterflame, Sairk
Source
Youtube
Youtube Link
185pOR9gZ2Y
Direct File Link
No response
Song ID
12
Start Offset [ms]
0
Extra
Created from Auto Nong.
Created for level: 700880
Downloaded: No

accept

"accept"

repo: FlafyDev/auto-nong-indexes


text:
Handle possible errors & install dependencies at the end of the script

Title says it all. Relates to https://github.com/FlafyDev/create-spicetify-app/issues/2

Spawn doesn't seem to work well in Windows.
https://stackoverflow.com/questions/41177132/child-process-exec-vs-spawn-enoent
I think it would be better to use exec instead

Exec doesn't provide any feedback while installing though. See this stackoverflow post.
I just tested with node v14.18.2 on windows 10 in git bash and it worked fine.

Oh, I didn't know you have to specify options for it, my bad!

authors: FlafyDev jeroentvb

repo: FlafyDev/create-spicetify-app


text:
全参预训练数据集

用于RAG的向量模型在预训练时，哪些数据集是已经开源的？开源数据集的使用比例大概占总数据集的多少？

You can refer to our paper.

authors: CanvaChen staoxiao

repo: FlagOpen/FlagEmbedding


text:
Page size items based on FF response

The drop-down list for the different page sizes should be based on the results per page items which are part of the search/navigation response. Thus the option "All" wouldn't be supported anymore.

Implemented in version 4.1.18.

repo: Flagbit/Magento-FACTFinder


text:
Provide an environment export to support Offline Mode

See this related ticket.
Now that we're supporting an increasingly larger number of SDKs operating in Offline Mode, it would be a real usability win if an environment.json file could be generated for our users which can then be manually imported into their SDKs for use in Offline Mode.
@matthewelwell has some ideas on how to make this export really straight forward.

User token authentication (instead of Server Key authenticated) endpoint already exists for this at GET /api/v1/environments/{api_key}/document/.

authors: matthewelwell zachaysan

repo: Flagsmith/flagsmith


text:
Minor likelihood fixes/enhancements

A few small fixes/enhancements to flamedisx.Likelihood:

A new defaults argument for Likelihood.__init__. This allows you to override defaults for all sources. Now you can collect all your custom defaults in one place (e.g. a config file), load them into a dictionary, then pass them to your likelihood.
Likelihood.guess should output a dict of python values, not tf.constants. This is consistent with the output of e.g. Likelihood.bestfit and other functions.
If the likelihood had shape parameters, you could not call .simulate() without arguments. Now you can; omitted parameters are replaced by their defaults.
Conversely, if you passed shape parameters the likelihood did not take, those parameters were just ignored. So you might think   Likelihood.simulate(elife=0) runs a zero-elife simulation, but the elife was actually just left to its default value (unless the likelihood has elife as a shape parameter). Now you get an error if you try this.

(We cannot just let Likelihood.simulate accept any parameters, like Source.simulate, since the former needs to know the efficiency at the new shape parameters. For this, the likelihood does a series of big simulations when it is initialized, a few for each parameter to be varied. We cannot just vary another parameter without doing more simulations. Source.simulate instead expects the user to say how many events are simulated, so it can take arbitrary parameters. )

Simple but effective changes! I think this can be merged without problems. @plt109 , thoughts?

authors: CristianAntochi JelleAalbers

repo: FlamTeam/flamedisx


text:
[BUG] Quotev not downloading properly

Describe the bug
Can't retrieve the novel URL from quotev.com. The message popped up as follows:
[ERROR]Something went wrong, see log for more information.
It was able to download on 5/16,but it doesn't work now.
Platform
Windows,Java8
Logs
java.lang.NullPointerException
at grabber.sources.quotev_com.getMetadata(quotev_com.java:80)
at grabber.Novel.check(Novel.java:85)
at gui.GUI.lambda$null$0(GUI.java:260)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Thank you very much indeed!

repo: Flameish/Novel-Grabber


text:
Implemented tuple of vector class

It's an alternative container for vector<vector<K V>>.

Some algorithms uses swap(*l_iter, *r_iter) instead of iter_swap, so that tied_sequence_iterator is unable to apply such algorithms...

P2321 provides how support SoA based flat_map.


text:
feat: add AggregatorReporter

Description
This PR adds the class AggregatorReporter to compute the aggregation (SUM or MEAN) of different sources' into a single one. This reporter allows to add the aggregate energy flows, costs, emissions, etc... of a system in a time period (e.g hourly).
Details:

This reporter makes source a required parameter in beliefs_search_configs.
Supports passing weights for the different alias. This can be used to convert a consumption (in absolute value) to a negative flow or to convert a current into power (i.e $P = V \cdot I$ for biphasic and $P = V \cdot I \cdot cos(\theta) \cdot \sqrt{3}$ for triphasic).
The (optional) parameter method can be set to SUM or MEAN to chose the aggregation method.

Look & Feel
{
    "beliefs_search_configs": [
        {
            "sensor": 1,
            "source" : 1,
            "alias" : "PV"
        },
        {
            "sensor": 1,
            "source" : 2,
            "alias" : "CONSUMPTION"
        }
    ],
    "method" : "SUM",
    "weights" : {
        "PV" : 1.0,
        "CONSUMPTION" : -1.0
    }
}

Testing Steps
Test for MEAN and SUM cases in flexmeasures/data/models/reporting/tests/test_aggregator.py.

So can this be merged?

Yes, but let's give @victorgarcia98 a chance to review my commits first.

Thanks! Nice the addition of the experimental warning.

repo: FlexMeasures/flexmeasures