text:
Add log to say which check failed

Details
The prepDeploy currently fails if any of the typecheck, lint or test actions fail, but it doesn't say which one – which makes it harder to quickly troubleshoot why it's failing in the first place. This simply adds an echo for the return status of these 3 checks.
Fixed Issues
N/A - but this workflow is failing for all merged PRs at the moment and it's not obvious why
https://expensify.slack.com/archives/C03V9A4TB/p1721345496895109
Tests

Unit tests
After merging, wait for prepDeploy to fail, check logs

[ ] Verify that no errors appear in the JS console

Offline tests
N/A
QA Steps
No QA

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

PR Author Checklist

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Screenshots/Videos

Android: Native

Android: mWeb Chrome

iOS: Native

iOS: mWeb Safari

MacOS: Chrome / Safari

MacOS: Desktop

Reviewer Checklist

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Screenshots/Videos

Android: Native

Android: mWeb Chrome

iOS: Native

iOS: mWeb Safari

MacOS: Chrome / Safari

MacOS: Desktop

Ok tests are passing now

🚀 Deployed to staging by https://github.com/srikarparsi in version: 9.0.10-2 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Cherry-picked to staging by https://github.com/mountiny in version: 9.0.10-3 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
failure ❌

🕸 web 🕸
success ✅

@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes.

🚀 Deployed to production by https://github.com/mountiny in version: 9.0.10-7 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
failure ❌

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/francoisl in version: 9.0.11-5 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

authors: OSBotify francoisl srikarparsi


text:
[NO QA] Revert "Ensures mini actions menu will disappear when attachment modal opens up"

Reverts Expensify/App#6083
This commit was unsigned, we're going to revert this and then make the same change with a verified commit

sorry @thienlnam - didn't see you were assigned! @stitesExpensify feel free to wait on @thienlnam's 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.

🚀 Deployed to staging by @stitesExpensify in version: 1.1.16-11 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by @roryabraham in version: 1.1.17-7 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

source: gharchive/pull-request

authors: NikkiWines OSBotify stitesExpensify

repo: Expensify/App

license: MIT

license_type: permissive

license_source: github-api


text:
Fix/14060: Bug: Link with multiline text loses markdown when edited

Fixed Issues
$ https://github.com/Expensify/App/issues/14060
Tests

Login with any account and go to any chat room
Send this message:

[multiline
text](https://google.com/)

Edit this message

QA

Login with any account and go to any chat room
Send this message:

[multiline
text](https://google.com/)

Edit this message
Verify that when editing, the original message should be auto-filled

[multiline
text](https://google.com/)

@cristipaval All yours. This is the expensify-common PR. There'll be a follow up PR to add it to the App.

I'll leave this open for @cristipaval to review and merge.

authors: Luke9389 mananjadhav tienifr

repo: Expensify/expensify-common


text:
External Monitor -- "declaration failed. \"OK\" unknown property"

Environment
Application Services Version: 3.35.0
BIG-IP Version: 16.1.2.1:
Summary
When creating an external monitor with a environmental variable of "200 OK" fails with the following error message.
"msg": "declaration failed. \\\"OK\\\" unknown property",
Posting the following JSON will result in the above error.
{
    "$schema": "https://raw.githubusercontent.com/F5Networks/f5-appsvcs-extension/master/schema/latest/as3-schema.json",
    "class": "AS3",
    "action": "deploy",
    "persist": true,
    "id": "example.com",
    "declaration": {
        "class": "ADC",
        "schemaVersion": "3.0.0",
        "example.com": {
            "class": "Tenant",
            "Shared": {
                "class": "Application",
                "template": "shared",
                "enable": true,
                "example.com_external_monitor": {
                    "monitorType": "external",
                    "interval": 5,
                    "timeUntilUp": 0,
                    "timeout": 16,
                    "script": {
                        "base64": "IyEvYmluL3NoDQpJUD1gZWNobyAkezF9IHwgc2VkICdzLzo6ZmZmZjovLydgDQpQT1JUPSR7Mn0NCg0KUElERklMRT0iL3Zhci9ydW4vYGJhc2VuYW1lICR7MH1gLiR7SVB9XyR7UE9SVH0ucGlkIg0KIyBraWxsIG9mIHRoZSBsYXN0IGluc3RhbmNlIG9mIHRoaXMgbW9uaXRvciBpZiBodW5nIGFuZCBsb2cgY3VycmVudCBwaWQNCmlmIFsgLWYgJFBJREZJTEUgXQ0KdGhlbg0KICAgZWNobyAiRUFWIGV4Y2VlZGVkIHJ1bnRpbWUgbmVlZGVkIHRvIGtpbGwgJHtJUH06JHtQT1JUfSIgfCBsb2dnZXIgLXAgbG9jYWwwLmVycm9yDQogICBraWxsIC05IGBjYXQgJFBJREZJTEVgID4gL2Rldi9udWxsIDI+JjENCmZpDQplY2hvICIkJCIgPiAkUElERklMRQ0KDQpjdXJsLWFwZCAtayAtaSAtLWNvbm5lY3QtdGltZW91dCA0IC0tcmVzb2x2ZSAke0ZRRE59OiR7UE9SVH06JHtJUH0gaHR0cHM6Ly8ke0ZRRE59JHtVUkl9IHxncmVwIC1pICIke1JFQ1Z9IiA+IC9kZXYvbnVsbCAyPiYxDQoNCmlmIFsgJD8gLWVxIDAgXQ0KdGhlbg0KICAgIHJtIC1mICRQSURGSUxFDQogICAgZWNobyAiVVAiDQplbHNlDQogICAgcm0gLWYgJFBJREZJTEUNCmZpDQpleGl0"
                    },
                    "environmentVariables": {
                        "RECV": "200 OK",
                        "URI": "/example.aspx",
                        "FQDN": "example.com"
                    },
                    "remark": "EXAMPLE",
                    "class": "Monitor"
                }
            }
        }
    }
}

If you post the same JSON but remove the "OK" from "RECV": "200 OK", you will receive a successful, example below.
{
    "$schema": "https://raw.githubusercontent.com/F5Networks/f5-appsvcs-extension/master/schema/latest/as3-schema.json",
    "class": "AS3",
    "action": "deploy",
    "persist": true,
    "id": "example.com",
    "declaration": {
        "class": "ADC",
        "schemaVersion": "3.0.0",
        "example.com": {
            "class": "Tenant",
            "Shared": {
                "class": "Application",
                "template": "shared",
                "enable": true,
                "example.com_external_monitor": {
                    "monitorType": "external",
                    "interval": 5,
                    "timeUntilUp": 0,
                    "timeout": 16,
                    "script": {
                        "base64": "IyEvYmluL3NoDQpJUD1gZWNobyAkezF9IHwgc2VkICdzLzo6ZmZmZjovLydgDQpQT1JUPSR7Mn0NCg0KUElERklMRT0iL3Zhci9ydW4vYGJhc2VuYW1lICR7MH1gLiR7SVB9XyR7UE9SVH0ucGlkIg0KIyBraWxsIG9mIHRoZSBsYXN0IGluc3RhbmNlIG9mIHRoaXMgbW9uaXRvciBpZiBodW5nIGFuZCBsb2cgY3VycmVudCBwaWQNCmlmIFsgLWYgJFBJREZJTEUgXQ0KdGhlbg0KICAgZWNobyAiRUFWIGV4Y2VlZGVkIHJ1bnRpbWUgbmVlZGVkIHRvIGtpbGwgJHtJUH06JHtQT1JUfSIgfCBsb2dnZXIgLXAgbG9jYWwwLmVycm9yDQogICBraWxsIC05IGBjYXQgJFBJREZJTEVgID4gL2Rldi9udWxsIDI+JjENCmZpDQplY2hvICIkJCIgPiAkUElERklMRQ0KDQpjdXJsLWFwZCAtayAtaSAtLWNvbm5lY3QtdGltZW91dCA0IC0tcmVzb2x2ZSAke0ZRRE59OiR7UE9SVH06JHtJUH0gaHR0cHM6Ly8ke0ZRRE59JHtVUkl9IHxncmVwIC1pICIke1JFQ1Z9IiA+IC9kZXYvbnVsbCAyPiYxDQoNCmlmIFsgJD8gLWVxIDAgXQ0KdGhlbg0KICAgIHJtIC1mICRQSURGSUxFDQogICAgZWNobyAiVVAiDQplbHNlDQogICAgcm0gLWYgJFBJREZJTEUNCmZpDQpleGl0"
                    },
                    "environmentVariables": {
                        "RECV": "200",
                        "URI": "/example.aspx",
                        "FQDN": "example.com"
                    },
                    "remark": "EXAMPLE",
                    "class": "Monitor"
                }
            }
        }
    }
}

I suspect it's really not as much about the OK as it is how the F5 is interpreting spaces in the RECV:. But I have not had a chance to test it out. Unless I'm doing something wrong.
We use several of these types of monitors and is preventing us from deploying them with AS3.

Thank you for your feedback. I have confirmed the bug and added it to our internal product backlog as AUTOTOOL-3139.
As you suspected, it appears to be related to the spaces.

Heads up. Ran into the same issue today. Same circumstances, the external monitor variable value has a space for "200 OK".
Also tried, but same OK message and no value in monitor configured:
"200%20OK" (URL Encoded Space)
"200/u0020OK" (UTF-16 Encoded Space)

This has been resolved in the 3.38.0 release of AS3.

source: gharchive/issue

authors: MicSkr devildog-tech dstokesf5


text:
Stop ice on exception to game launch

Fixes #1582
Stops iceAdapter when error occurs during game launch

If there is a unit test can we verify this

repo: FAForever/downlords-faf-client


text:
HTML5 Development Tools List

HTML5 Development Tools List
Ever wanted to start your web project from scratch, but never knew how and where to find the right Development tools? Well, you’re in the right place. In this thorough article we’ll be explaining essential tools like editors, websites, libraries and frameworks that will boost productivity and help you kickstart your HTML5 project.
Web projects usually include lots of effort in coding and shortcuts on several aspects are of great help on those things that take up to much of your time and are not your main focus in the project.
1. The Right Editor
Choosing an editor for coding can be hard sometimes, even though there are tens and hundreds out there. However, below are the three best and most used editors for you to choose and also other alternatives you might be interested in.
1.1 Sublime Text – Clean and Productive
Sublime Text is a sophisticated text editor for code, markup and prose. You’ll love the slick user interface, extraordinary features and amazing performance. Some of its best features include:
1. Multiple Selections
Make ten changes at the same time, not one change ten times. Multiple selections allow you to interactively change many lines at once, rename variables with ease, and manipulate files faster than ever.
2. Goto Anything
Use Goto Anything to open files with only a few keystrokes, and instantly jump to symbols, lines or words.
Triggered with Ctrl+P, it is possible to:
Type part of a file name to open it.
Type @ to jump to symbols, # to search within the file, and : to go to a line number.
3. Distraction Free Mode
When you need to focus, Distraction Free Mode is there to help you out. Distraction Free Mode is full screen, chrome free editing, with nothing but your text in the center of the screen. You can incrementally show elements of the UI, such as tabs and the find panel, as you need them.
4. Split Editing
Get the most out of your wide screen monitor with split editing support. Edit files side by side, or edit two locations in the one file. You can edit with as many rows and columns as you wish. Take advantage of multiple monitors by editing with multiple windows, and using multiple splits in each window.
5. Plugin API
Sublime Text has a powerful, Python based plugin API. Along with the API, it comes with a built in Python console to interactively experiment in real time.
All this functionality, combined with a great theme like Material Up from equinusocio on GitHub makes it even more exciting. You can find this theme here and add it to the packages folder.
Also a good optimization of the editor would be the following settings under Preferences > Settings-User:

{
"bold_folder_labels": true,
"color_scheme": "Packages/material-theme-master/schemes/Material-Theme.tmTheme",
"draw_minimap_border": true,
"font":
[
	"subpixel_antialias"
],
"font_face": "DejaVu Sans Mono",
"font_options":
[
	"gray_antialias"
],
"font_size": 11,
"highlight_line": true,
"highlight_modified_tabs": true,
"line_padding_bottom": 1,
"line_padding_top": 1,
"save_on_focus_lost": true,
"scroll_past_end": true,
"shift_tab_unindent": true,
"tab_size": 4,
"translate_tabs_to_spaces": true,
"trim_trailing_white_space_on_save": true,
"word_wrap": true
}

Have a look at how Sublime looks like:

1.2 Adobe Dreamweaver – All in One
Dreamweaver is Adobe’s standard editor for building web pages. It is, in fact, a very powerful program that is thought to be helpful in a lot of aspects. You can design and develop responsive sites from scratch or with built-in templates, preview them in real time on your mobile devices and quickly extract web-optimized design elements from Photoshop documents directly into your projects.
As of 2015 updates, Adobe Dreamweaver comes with the following enhances and new features:
1. Batch export from PSDs
Save time by quickly extracting web-optimized images from Adobe Photoshop documents in multiple resolutions and formats.
2. Code faster
New code editor themes, real-time code validation with Linting and Autocomplete with Emmet support make writing code in Dreamweaver faster and easier than ever.
3. Preview on any device
Test and inspect websites on multiple devices simultaneously. Just type a short URL into your mobile device’s browser to preview your sites.
4. Live view and edit
Dreamweaver enables you to see live preview of the page you are coding as well as edit the page itself instead of the code. So for example you can change text and images right from the graphical UI of the webpage and changes get reflected right into your HTML.
5. Live Guides
With Live Guides, you can accurately move HTML elements, along with their associated code, simply by dragging and dropping.
Well, Dreamweaver is a vast ocean of options and tools for ‘coding the web’, and you might wanna use it in large scale projects.

1.3 Microsoft Visual Studio for Ambitious Web Projects
Visual Studio is a bit different, because it offers tools for so many programming languages that you might get lost trying to work on your HTML. However, it makes sense to code HTML in visual studio when considering websites that use several technologies and programming languages, so that you don’t change editor frequently. Talking about featues, it has most of what the above editors have combined, although you may find it a bit difficult to find them because of it’s complicated UI. Here’s what Visual Studio looks like:

1.4 Alternative Editors
Those three editors are world’s most used and by far the best. However, you might be interested in trying even other editors. Light and minimalistic editors, that are also good for using are:

Atom

Notepad++

Visual Studio Code

Click on the names to follow the official links to their websites to learn more.
2. Frameworks for Productive Coding
HTML has such a strong bond with CSS that you will be understaning as you get more and more experience. While it would take some time to create specific elements, and grids in html, and furthermore, a lot of code, frameworks enable a full suite of already defined classes to which properties and values have already been given. It makes it so easy to get going fast in a way that’s really convenient. For example, you just add classes and id’s to your html elements and you set up layouts and elements in seconds. Below we’ll take a look at two most used frameworks of css and also give you a list of other frameworks you can also try.
2.1 Bootstrap – World’s Best CSS Framework
Bootstrap is the most popular HTML, CSS, and JS framework for developing responsive, mobile first projects on the web. Twitter Bootstrap is the nowadays standard for front-end developers that continues to redefine the modern web in terms of lightness, optimization and speed.Over the last few years, Bootstrap has become an increasingly popular front-end development framework. More and more developers and designers continue to get on board. Evidently, there’s a reason for that. The Bootstrap framework is feature rich and offers several benefits to those using it. Below we’ll have a look at what makes it so unique and useful:
1. Speed of Development
Undoubtedly one of the biggest advantages of using Bootstrap is the speed of development. If you’re looking to push out a new website or application quickly, you should definitely consider using Bootstrap. Rather than coding from scratch, Bootstrap enables you to utilize ready made blocks of code to help you get started. Combine that with cross-browser compatibility and CSS-Less functionality, many hours of coding can be saved. To achieve the fastest route possible, you can also purchase ready-made Bootstrap themes and modify them to suit your needs.
2. Responsiveness
Mobile devices continue to grow in popularity year after year. Cisco predicts that global mobile data traffic will increase nearly 11-fold between 2013 and 2018. The need to have a responsive website is becoming increasingly important.
Creating mobile ready websites is a breeze with Bootstrap thanks to the fluid grid layout that dynamically adjusts to the proper screen resolution. There is virtually no work that needs to be done to achieve proper responsiveness.
Using Bootstrap’s ready made classes, you can specify how many spots in the grid system you want each column to occupy. Then, you can specify at which point you want your columns to stack horizontally rather than vertically to display properly on mobile devices.

3. Consistency
Bootstrap was actually founded on this principle. It was originally developed by a few Twitter employees as a framework to encourage consistency across internal tools. Co-Founder Mark Otto later realized it had potential beyond just an internal toolkit and released the first open-source version in August 2011.
Mark also describes how Bootstrap was built using one core concept: pairing designers with developers. Doing so is what made Bootstrap successful at Twitter, and why it continues to be successful on the web.
Put simply, Bootstrap ensures consistency regardless of who’s working on the project. In addition, results are uniform across platforms so output remains the same whether you’re using Firefox, Chrome or Internet Explorer.
4. Customizable
Bootstrap can be tailor made according to the specifications of your project. Developers have the ability to pick and choose the features that are needed and the rest can be tossed. This is easily accomplished using the Bootstrap customize page. Simply tick off all the features you don’t need and your custom version of Bootstrap will be ready for download. How cool is that?

As you can see, there are several benefits to using Bootstrap. The framework allows for rapid, responsive development that is consistent and well supported by the development and design community. As the framework continues to develop, the reasons to use Bootstrap keep mounting. If you’ve overlooked this framework, it’s probably time to give it a try.
Get to know and download Bootstrap from here.
2.2 Zurb Foundation – A Compelling Alternative
Foundation is a great alternative to Bootstrap for professionals. It is an advanced, responsive front-end framework. The framework is mobile friendly and ready for you to customize it any way you want to use it. Here are some key features that will help you have a better understanding of it:
1. Interchange: Foundation’s secret weapon
Interchange uses media queries to dynamically load responsive content that is appropriate for different users’ browsers.
Responsive design in the past has worked fine with content and presentation that remain exactly the same across all devices. Unfortunately, if you want content to differ on any viewport width it would normally involve either:
Hiding the content – which is generally bad for loading times, SEO and accessibility.
Using server-side user-agent sniffing to detect mobile devices – which can get really messy, difficult to debug, and can create numerous edge cases. So a plugin that can deliver different content client-side is an enormous help – making Interchange the feature I am most excited about.
2. The medium grid
This was actually an ‘experimental’ feature of Foundation 4.3, but is fully supported and documented in Foundation 5. One of the issues I had with Foundation 4 was that columns had the same width ratio for all screen sizes. Adjusting column widths on smaller devices before v4.3 meant hacking the Foundation styles, which always felt weirdly uncomfortable…
A fully functional medium grid will be great for those situations where a 9-and-3 column combo looks good on a wide-screen but would look better as 8-and-4 on a smaller screen (e.g. you’ve probably seen a 3-column block ‘squeeze’ text on tablet).
3. All new style
One of the best features that made Bootstrap 3 great for designers is the flat, simple style. By stripping things back, they made it much easier to customise. Foundation 5 has also moved more towards this blank-canvas mentality. The default UI in Foundation 4 was cool, but a bit of a hassle to re-style. It was also instantly recognisable as Foundation to other designers, which can be a bit awkward, especially if you’re trying to make your design look unique!
To improve the user-experience on mobile devices, further hardware acceleration support has been added into Foundation 5. This means smoother animations, less flickering of content and a generally improved mobile user experience.
4. A new command line tool
Foundation 5 aims to optimize the development process by making it super easy to get started building with a brand new command line tool. The new CLI will allow even faster project building It’s a similar approach to Bootstrap 3’s simple development environment, leveraging popular tools like Grunt and Bower, to help speed up the development process even further.
They’ve also beefed up the back-end CSS pre-processing. Foundation 5 uses Libsass, which is built in C/C++, meaning it’s five times faster. This will dramatically speed up Sass processing – great for big projects …or slow computers.
Get to know and download Foundation from here.
2.3 Alternatives to Bootstrap and Foundation
Well, you might get comfortable with Bootstrap or Foundation, but what if not? Well, here’s a list of other great css frameworks you can use:

Semantic UI

Pure by Yahoo

UIkit by YOOtheme

It is now up to you to decide which one is best for you after having all the information provided.
3. Websites for Web Designers
Designing a web page can be a rather difficult task. In this section, you will be presented to some helpful websites.
3.1 Colors, Gradients and Patterns

Adobe Color
Adobe Color, formerly known as Adobe Kuler, is an internet application from Adobe Systems that lets you try out, create and save various colour schemes, each of which consists of a set of five colours. It is available in browser-hosted variants, and in desktop versions using the Adobe AIR runtime.

https://www.webcodegeeks.com/html5/html5-development-tools-list/

repo: FGF-College-Work/Forum


text:
Detect and replace FHIR core resource urls

Completes task CIMPL-488.
When a FHIR core resource url is a profile parent or the type in an OnlyRule, it is not necessary to use the full url. The name of the resource is sufficient.

I reviewed this and everything looks good to me! I didn't find anything new, so I'm good to review once Chris's questions are resolved!

authors: jafeltra mint-thompson

repo: FHIR/GoFSH


text:
windows下不能提交多行日志

环境：
windows 7
cygwin
comment="test1
test2
test3"
fir.bat p application_path -T user_token -c "$comment"

只有第一行注释：test1会被提交

windows 换行是使用 "\r\n" 吧

意思是要把\r\n替换为\n吗？

@Nstd \r\n 还是不行吗?

@NaixSpirit 还是不行，我们把jenkins改到mac下了:)

@Nstd fir-cli 对 windows 的支持不怎么好, 尽量使用 linux 或者 mac osx 系统吧

@Nstd 1.3.7 版本直接直接从文件读取 changelog 了

@NaixSpirit 好的，多谢~

authors: NaixSpirit Nstd

repo: FIRHQ/fir-cli

license: mit

license_source: bigquery


text:
[WiP] Add new AgriFertiliser model

Issue #525
This model is referenced but not defined in GSMA ones, more work is required to identify relevant fields

Regarding AgriFertiliser (or more generic AgriProduct): A Product is modeled in ISO11783 and in ADM-ADAPT as a generic class, which gathers everything that could be considered input/output of a field Operation. That means for us, that we can considered the creation of a Property called ProductType (AgriProductType) and define some values for the property (e.g. Fertiliser or CropNutrition, CropProtection, CropVariety, etc.) and we relate the property to the AgriProduct generic entity.

yes, sounds better to me that to model fertiliser as an AgriProductType
thanks!

authors: AgrDIN-L fdelavega jmcanterafonseca

repo: FIWARE/dataModels


text:
Remove unneeded options

Draft PR before going upstream. This is supposed to be similar to https://github.com/intel/intel-xpu-backend-for-triton/pull/1148

@etiotto @whitneywhtsang here is the draft for upstreaming the device property changes FYI

repo: FMarno/triton


text:
Undefined variable "gl_Position1"

When loading all my lighting shaders with latest FNA, I get a compile error.
Here's the shader source mojoshader is feeding to the driver:
#version 120
uniform vec4 vs_uniforms_vec4[11];
uniform float vpFlip;
const vec4 vs_c13 = vec4(0.857142865, 0.0, 0.0, 0.5);
const vec4 vs_c12 = vec4(0.142857147, 0.0, 0.0, 1.0);
const vec4 vs_c14 = vec4(0.857142865, 1.0, 0.0, 0.0);
const vec4 vs_c15 = vec4(0.142857147, 1.0, 0.0, 0.0);
const vec4 vs_c16 = vec4(0.857142865, 0.142857147, 0.0, 0.0);
const vec4 vs_c17 = vec4(1.0, 0.142857147, 0.0, 0.0);
const vec4 vs_c18 = vec4(1.0, 0.857142865, 0.0, 0.0);
const vec4 vs_c19 = vec4(0.857142865, 0.857142865, 0.0, 0.0);
const vec4 vs_c20 = vec4(0.0, 0.142857147, 0.0, 0.0);
const vec4 vs_c21 = vec4(0.142857147, 0.142857147, 0.0, 0.0);
const vec4 vs_c22 = vec4(0.142857147, 0.857142865, 0.0, 0.0);
const vec4 vs_c23 = vec4(0.0, 0.857142865, 0.0, 0.0);
const vec4 vs_c24 = vec4(0.0, 0.0, 0.0, 0.0);
vec4 vs_r0;
vec4 vs_r1;
vec4 vs_r2;
vec4 vs_r3;
ivec4 vs_a0;
uniform vec4 vs_const_array_12_13[13];
#define vs_c0 vs_uniforms_vec4[0]
#define vs_c1 vs_uniforms_vec4[1]
#define vs_c3 vs_uniforms_vec4[2]
#define vs_c4 vs_uniforms_vec4[3]
#define vs_c5 vs_uniforms_vec4[4]
#define vs_c6 vs_uniforms_vec4[5]
#define vs_c7 vs_uniforms_vec4[6]
#define vs_c8 vs_uniforms_vec4[7]
#define vs_c9 vs_uniforms_vec4[8]
#define vs_c10 vs_uniforms_vec4[9]
#define vs_c11 vs_uniforms_vec4[10]
attribute vec4 vs_v0;
attribute vec4 vs_v1;
attribute vec4 vs_v2;
attribute vec4 vs_v3;
attribute vec4 vs_v4;
#define vs_o0 gl_TexCoord[0]
#define vs_o1 gl_TexCoord[2]
#define vs_o2 gl_TexCoord[3]
#define vs_o3 gl_TexCoord[4]
#define vs_o4 gl_Position1
#define vs_o5 gl_Position

void main()
{
	vs_r0.x = vs_v0.x * vs_c12.w;
	vs_a0.x = int(floor(abs(vs_r0.x) + 0.5) * sign(vs_r0.x));
	vs_r0.xyz = vs_const_array_12_13[vs_a0.x].xyz;
	vs_r0.w = vs_v2.y + vs_v2.x;
	vs_r1.x = vs_r0.w + vs_c12.w;
	vs_r0.w = 1.0 / vs_v3.z;
	vs_r0.w = vs_r0.w * vs_r1.x;
	vs_r0.w = -vs_r0.w;
	vs_r0.w = vs_r0.w + vs_r1.x;
	vs_r0.w = vs_r0.w * vs_c13.w;
	vs_r0.w = -vs_r0.w;
	vs_r1.y = vs_r0.w + vs_r1.x;
	vs_r1.z = vs_c12.y;
	vs_r1.xyz = vs_r1.xyz;
	vs_r2.xyz = -vs_r1.xyz;
	vs_r2.xyz = vs_r2.xyz + vs_v1.xyz;
	vs_r1.yzw = vs_r1.xyz + vs_v1.xyz;
	vs_r0.w = vs_c10.z;
	vs_r0.w = vs_r0.w * vs_r1.x;
	vs_r1.x = vs_c10.y;
	vs_r1.x = vs_r1.x * vs_v1.z;
	vs_r3.xyz = -vs_r2.xyz;
	vs_r1.yzw = vs_r1.yzw + vs_r3.xyz;
	vs_r1.yzw = vs_r0.xyz * vs_r1.yzw;
	vs_r2.xyz = vs_r1.yzw + vs_r2.xyz;
	vs_r0.x = float(vs_r0.y < vs_c13.w);
	if (vs_r0.x != -vs_r0.x) {
		vs_r0.x = -vs_r0.w;
		vs_r0.x = vs_r0.x + vs_r2.y;
		vs_r0.y = -vs_r1.x;
		vs_r2.w = vs_r0.y + vs_r0.x;
	} else {
		vs_r2.w = vs_r2.y;
	}
	vs_r0.xy = -vs_c9.xy;
	vs_r0.z = -vs_c12.y;
	vs_r0.xyz = vs_r0.xyz + vs_r2.xwz;
	vs_r1.xy = vs_c8.xy;
	vs_r1.xy = vs_r1.xy * vs_c11.xy;
	vs_r1.xy = vs_r0.xy * vs_r1.xy;
	vs_r0.xy = vs_r0.zz * vs_c12.wy;
	vs_r1.zw = vs_r0.xy + vs_c12.yw;
	vs_r0.x = dot(vs_r1, vs_c4);
	vs_r0.y = dot(vs_r1, vs_c5);
	vs_r0.z = dot(vs_r1, vs_c6);
	vs_r0.w = dot(vs_r1, vs_c7);
	vs_r1.x = dot(vs_r0, vs_c0);
	vs_r1.y = dot(vs_r0, vs_c1);
	vs_r1.w = dot(vs_r0, vs_c3);
	vs_o5.xyw = vs_r1.xyw;
	vs_o5.z = vs_c12.y;
	vs_o0.xyz = vs_v1.xyz;
	vs_o1 = vs_v2;
	vs_o2 = vs_v3;
	vs_o3 = vs_v4;
	vs_o4.xyz = vs_r2.xwz;
	gl_Position.y = gl_Position.y * vpFlip;
	gl_Position.z = gl_Position.z * 2.0 - gl_Position.w;
}

The relevant part of the HLSL shader, I think:
void SphereLightVertexShader(
    in int2 vertexIndex              : BLENDINDICES0,
    inout float3 lightCenter         : TEXCOORD0,
    // radius, ramp length, ramp mode, enable shadows
    inout float4 lightProperties     : TEXCOORD2,
    // ao radius, distance falloff, y falloff factor, ao opacity
    inout float4 moreLightProperties : TEXCOORD3,
    inout float4 color               : TEXCOORD4,
    out float3 worldPosition         : POSITION1,
    out float4 result                : POSITION0

Incidentally, shouldn't vs_a0 be an attribute since it's coming from the vertex buffer with the vs_vN uniforms? I'm not totally clear on how this works.

Probably have to break before this assignment when index > 0:
https://github.com/FNA-XNA/MojoShader/blob/fna-staging/mojoshader.c#L2626

maybe strcpy gl_position to var, then strcat the index and return that?

Try the break first. The issue isn't the name, it's that we're trying a builtin that doesn't actually exist. If we break before that assignment, it'll move to the logic that generates a varying to fill in the spot that POSITION1 will take.

Here's the git diff of what I mean, should apply cleanly to the MojoShader submodule in your local copy of FNA:
diff --git a/mojoshader.c b/mojoshader.c
index 083d8a7..fad1854 100644
--- a/mojoshader.c
+++ b/mojoshader.c
@@ -2603,6 +2603,8 @@ static void emit_GLSL_attribute(Context *ctx, RegisterType regtype, int regnum,
             switch (usage)
             {
                 case MOJOSHADER_USAGE_POSITION:
+                    if (index > 0)
+                        break;
                     usage_str = "gl_Position";
                     break;
                 case MOJOSHADER_USAGE_POINTSIZE:

I can't get FNA's version of mojoshader to build, are there instructions somewhere? I have all the dependencies I can figure out how to get, but cmake is exploding when I try to configure+generate with multiple errors. The one about SDL2 seems like it's probably the root cause but it's not clear to me how I'm supposed to fix it:
re2c missing. You can go on, but can't rebuild the lexer.
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
SDL2
    linked by target "finderrors" in directory E:/Documents/Projects/FNA/lib/MojoShader

Am I meant to put SDL2's sources somewhere and then point cmake to them? Which revision of SDL2?

Bottom of this page: https://github.com/FNA-XNA/FNA/wiki/8:-Contributing-to-FNA#external-libraries

Do I put SDL2 in a certain place? In my PATH?

SDL2 won’t come into play, that’s a test program acting up. It should ignore that test when it’s not found.

Latest MojoShader revision introduces some CMake changes that may make building easier. This should work now:
mkdir flibitBuild
cd flibitBuild
cmake -G "Visual Studio 10 2010" .. -DBUILD_SHARED=ON -DPROFILE_D3D=OFF -DPROFILE_BYTECODE=OFF -DPROFILE_ARB1=OFF -DPROFILE_ARB1_NV=OFF -DPROFILE_METAL=OFF -DCOMPILER_SUPPORT=OFF -DFLIP_VIEWPORT=ON -DDEPTH_CLIPPING=ON -DXNA4_VERTEXTEXTURE=ON

Fixed by https://github.com/FNA-XNA/MojoShader/commit/4c1c5971f8fd53b5502b4bd2993ebc4c6363ac1b

authors: flibitijibibo kg

repo: FNA-XNA/MojoShader

license: Zlib


text:
What is the Objective value in the output

Hi,
I apologize if this is mentioned somewhere already, but what is the Objective value in the output. And how can it be used to qc the prediction?
Thanks,
Rashesh

The objective value is a regularized count of reads explained by the selected HLA genotype.
QC is though since the objective function is the optimally achievable score. You could enumerate the solutions and create other (sub)-optimal solutions and compare their score and manually check the results in an alignment viewer of your choice.


text:
Impossible: Forced tk not present

module UnexpectedError

type foo : (unit -> Tot bool) -> Type =
  | Test : f:(unit -> Tot bool) -> foo f

val bar : foo (fun _ -> true) -> unit
let bar t = match t with
  | Test _ -> ()

This code fails with
Unexpected error; please file a bug report, ideally with a minimized version of the source program that triggered the error.
Impossible: Forced tk not present (bug.fst(6,24-6,28))

thanks for the report ... this is related to my most recent commits, obviously. Working on it now

Yes, indeed. This is an issue at least as far back as e9efcadf4ef041d237d7907db16fa21e01619250

Just pushed a fix ... but it's not an optimal one. You may not get all the equations you expect on implicitly bound function-typed values. In this case, the implicitly bound function appears in the discriminator isTest #(fun x -> true) t
Closing it for now ... but may have to reopen in the future.

authors: ngrimm nikswamy

repo: FStarLang/FStar


text:
Little random bits and new hand swing stuff

Signed-off-by: liach liach@users.noreply.github.com

@gegy1000 mind reviewing this?

Asking for another round of review before Wednesday the snapshot day.

repo: FabricMC/yarn


text:
Ticking Entity crash when pushing a contraption containing a lectern with an unsigned book in it

Describe the Bug
The crash occurs as soon as the contraption stops moving. If there is an unsigned book within a lectern that is part of a contraption, and said contraption is pushed via a mechanical piston, then the game will constantly crash, and the world will refuse to reload.
Reproduction Steps

Make a contraption that contains a lectern. (Like a simple elevator held together with glue)

Move the new contraption with a mechanical piston

Once the piston reaches the end of it's length, the game crashes when it tries to set the contraption to its new location

If you try to reload the world, it crashes at startup, softlocking the world.

Expected Result
The contraption is supposed to behave as it would normally. (example: an elevator would move up and down without any crashes.)
Screenshots and Videos
No response
Crash Report or Log
https://pastebin.com/hH8MVdZt
Operating System
Windows 10
Mod Version
0.5.0i
Minecraft Version
1.19.2
Other Mods
No response
Additional Context
No response

happens on forge too: https://github.com/Creators-of-Create/Create/issues/3032

Issues that occur on Forge as well are no longer being tracked on this repo. Please follow the respective issue on the Forge repo instead: https://github.com/Creators-of-Create/Create/issues/3032

authors: Game-Log TropheusJ

repo: Fabricators-of-Create/Create


text:
CTD when trying to open video settings

Describe the bug
Always crash to desktop when trying to open video settings.
Does not happen with 6.1.0-beta.5 for 1.21.1
Modpack version
6.1.0-Beta.7 for 1.21.1
Launcher
Modrinth App
Confirm

[X] This bug report is about an issue with the modpack itself, I have not modified the mods nor added any resource packs. If this is not the case, I know that I should post the issue to modpack's Discord support channel instead.

Additional context
No response

Are you sure you have not updated any mods manually? Please send latest.log or latest crashlog.

Hm, reinstalled Beta 7 for the third time and now it works fine, maybe it was something on my end. Sorry about the trouble!


text:
98 voting pallet

Adding unit tests to the pallet

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@aeffcca). Click here to learn what that means.
The diff coverage is 98.37%.

:exclamation: Current head d60684a differs from pull request most recent head e3da89f. Consider uploading reports for the commit e3da89f to get more accurate results

@@           Coverage Diff           @@
##             main     #108   +/-   ##
=======================================
  Coverage        ?   63.54%
=======================================
  Files           ?       27
  Lines           ?     1731
  Branches        ?        0
=======================================
  Hits            ?     1100
  Misses          ?      631
  Partials        ?        0

Impacted Files
Coverage Δ

pallets/voting/src/lib.rs
56.08% <40.00%> (ø)

pallets/voting/src/mock.rs
81.81% <100.00%> (ø)

pallets/voting/src/tests.rs
100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

authors: codecov-commenter letodunc

repo: Fair-Squares/fair-squares


text:
fixing typos and formatting issues

fixes to formatting and typos

 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.

repo: FairwindsOps/insights-docs


text:
:set line_w bounds check

:set line_w now checks if provided value is greater or equals to 1.
If not - prints message and uses TOOLS.default_line_w value

done in 8737aae

repo: Familex/xpaint


text:
Tax Setting page - Text should be change

Describe the bug

Create Taxes From Here -> Create Tax,
No SubTax Added -> No Sub Tax Found
Provide some Description about this Template
Rupee symbol should be ₹

Rupee symbol should be Setting page

https://www.berrycast.com/conversations/67c2963b-6d37-5efd-aa8d-44ac7e4c4acb

authors: Avinash-ecb dharmendraecb

repo: Fammeo/EasyCloudBooks


text:
Company Profile image issue

Describe the bug
When creating new company then image popup box not opening when try to click on it for image upload.
To Reproduce
Steps to reproduce the behavior:

Go to https://ac-74.s1.easycloudbooks.com/user/company/list
Click on Create new company button
Add your company details and click on image edit button
See error

Expected behavior
When click on image edit button it should open image upload model
Screenshots

issue fixed


text:
/npc scale does not do anything if trying to reset back to scale 1.0

If you try and make a NPC a different size, then reset it using /npc scale 1 nothing happens

I think I've encountered this issue before, so I'd assume it's valid. Should be reported in FancyNpcs repository though.
https://github.com/FancyMcPlugins/FancyNpcs

I think I've encountered this issue before, so I'd assume it's valid. Should be reported in FancyNpcs repository though. https://github.com/FancyMcPlugins/FancyNpcs

oh crap was looking in the wrong repo lol

authors: Grabsky Xemorr

repo: FancyMcPlugins/FancyHolograms


text:
Berkeley cs184/284a

找图片的时候发现的课程, 大致看了一下 lecture9~13 的部分, 感觉配图都挺漂亮的

Thanks!

authors: FancyVin infancy

repo: FancyVin/fun-with-graphics


text:
Docs: Programs  rust

[x] npm run docs:build √

please review
@Fankouzu

OK @Fankouzu

authors: DerickIT Patrickming

repo: Fankouzu/solana-basic-ui


text:
MaxRetryError for requesting ZoeD_M12_N.pt or huggingface.co

description
when i use zoe-depth map to get image depth. sometimes it will tell me MaxRetryError!
expect value:
get depth image done!
details as below:
'(MaxRetryError("HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /lllyasviel/Annotators/resolve/main/ZoeD_M12_N.pt (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x00000207DC87E050>, 'Connection to huggingface.co timed out. (connect timeout=10)'))"), '(Request ID: d6facb74-7953-4e15-a629-1ab29edfe873)')' thrown while requesting HEAD https://huggingface.co/lllyasviel/Annotators/resolve/main/ZoeD_M12_N.pt
!!! Exception during processing !!!
Traceback (most recent call last):
  File "D:\code\python\ComfyUI\execution.py", line 151, in recursive_execute
    output_data, output_ui = get_output_data(obj, input_data_all)
  File "D:\code\python\ComfyUI\execution.py", line 81, in get_output_data
    return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
  File "D:\code\python\ComfyUI\execution.py", line 74, in map_node_over_list
    results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
  File "D:\code\python\ComfyUI\custom_nodes\comfyui_controlnet_aux\node_wrappers\zoe.py", line 18, in execute
    model = ZoeDetector.from_pretrained(HF_MODEL_NAME, cache_dir=annotator_ckpts_path).to(model_management.get_torch_device())
  File "D:\code\python\ComfyUI\custom_nodes\comfyui_controlnet_aux\src\controlnet_aux\zoe\__init__.py", line 36, in to
    self.model.to(device)
  File "D:\code\python\ComfyUI\custom_nodes\comfyui_controlnet_aux\src\controlnet_aux\zoe\zoedepth\models\depth_model.py", line 42, in to
    return super().to(device)
  File "D:\code\python\stable-diffusion-webui\venv-3060\lib\site-packages\torch\nn\modules\module.py", line 1145, in to
    return self._apply(convert)
  File "D:\code\python\stable-diffusion-webui\venv-3060\lib\site-packages\torch\nn\modules\module.py", line 797, in _apply
    module._apply(fn)
  File "D:\code\python\stable-diffusion-webui\venv-3060\lib\site-packages\torch\nn\modules\module.py", line 797, in _apply
    module._apply(fn)
  File "D:\code\python\stable-diffusion-webui\venv-3060\lib\site-packages\torch\nn\modules\module.py", line 797, in _apply
    module._apply(fn)
  [Previous line repeated 3 more times]
  File "D:\code\python\stable-diffusion-webui\venv-3060\lib\site-packages\torch\nn\modules\module.py", line 820, in _apply
    param_applied = fn(param)
  File "D:\code\python\stable-diffusion-webui\venv-3060\lib\site-packages\torch\nn\modules\module.py", line 1143, in convert
    return t.to(device, dtype if t.is_floating_point() or t.is_complex() else None, non_blocking)
RuntimeError: CUDA error: unknown error
CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.

questions

how does the huggingface model save or cache in local with comfyui_controlnet_aux ? does it requset huggingface .co when
ZoeD_M12_N.pt has been downloaded and saved to correct location ?

i have downloaded ZoeD_M12_N.pt and paste it to correct position for comfyui  comfyui\ckpts\models--lllyasviel--Annotators\snapshots\982e7edaec38759d914a963c48c4726685de7d96\ZoeD_M12_N.pt
i changed default dir in my comfyui\custom_nodes\comfyui_controlnet_aux\config.yaml:
annotator_ckpts_path: ../../ckpts

Fixed in https://github.com/Fannovel16/comfyui_controlnet_aux/commit/9e9127db89a11bb048b0748d4f51fbb711aaea7a. Update the extension and it should work now


text:
Installation Issues on Ubuntu Python 3.11

OS: ubuntu 20.04  LTS
Python version: 3.11.9
Pip version: 24.0

When running pip install magent2, the probelm occurs:
Collecting magent2
  Using cached magent2-0.3.2.tar.gz (4.1 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error

  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [19 lines of output]
      Traceback (most recent call last):
        File "/home/ubuntu/anaconda3/envs/magent311/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
          main()
        File "/home/ubuntul/anaconda3/envs/magent311/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/home/ubuntu/anaconda3/envs/magent311/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
          return hook(config_settings)
                 ^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-bgp1vyg5/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 325, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=['wheel'])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-bgp1vyg5/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 295, in _get_build_requires
          self.run_setup()
        File "/tmp/pip-build-env-bgp1vyg5/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 311, in run_setup
          exec(code, locals())
        File "<string>", line 116, in <module>
        File "<string>", line 21, in get_version
      FileNotFoundError: [Errno 2] No such file or directory: 'magent2/__init__.py'
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

I think this issue is caused by the Python version. I tried Python 3.11 to 3.7, and ultimately found that only Python 3.7 can install and run the examples from magent2.environments import battle_v4 properly.


text:
Thumbnails on the welcome page

Instead of a list show thumbnails in a grid. Maybe with the title above or below and a short description on hover. Maybe add an effect to make it grow slightly on mouseover? The thumbnails are links to the sketches.

duplicate of #24


text:
How to override methods

Hi!
Can you explain please, how to override your methods (for example, _onPress),  when I use your component in my project, and want to change some features?

Thanks for answer!
There is not so many libraries based on react and using google autocomplete api.
And your lib is very helpful.
I think, I found the way to override methods.

Since this is not encouraged, you'll have to do it on your own risk.

authors: myaskevich ptnz


text:
Update react with flatlist

This changes ListView to FlatList (as mentioned in issue #175), still takes styles as a props.styles.listView to keep compatibility.
NOTE: This has also updates react as in PR #181 .

I believe  {this._getListView()} on line 699 should be {this._getFlatList()}
Once this change is made it shows further errors as this.state.dataSource.cloneWithRows is undefined.

Oops, I probably forgot to push some commit, I tested it here. I will check it later today or tomorrow.

should be fine now

@FaridSafi @jamesone any update on merging this PR? ( + #181 + #178 ?)

@kelset actually I did update is mounted() issue on #181 too and some others react updates.

Oh nice to hear, but still basically this one and #181 are "complementary", right? Meaning, both would need to be merged to get everything working properly right?

Thank you guys! :)

Available on 1.3.0

authors: esganzerla guilhermepontes kelset zolrath


text:
Fix title matching for iOS devices

iOS keyboards use “” instead of "", so users can't give a name to the spoilers.
This little fix adds support to the left/right double quotation marks used by iOS devices and should should allow to write spoiler names either in "" or in “”.

Thank you, @snyk-bot :)

authors: Fazendaaa Scino

repo: Fazendaaa/I-m-a-Spoiler-Bot


text:
⚠ Thumbnails API Endpoint has degraded performance

In d637c67, Thumbnails API Endpoint (https://thumbnails.roblox.com/v1/assets?assetIds=82738847&format=Png&isCircular=false&size=30x30) experienced degraded performance:

HTTP code: 200
Response time: 1004 ms

Resolved: Thumbnails API Endpoint performance has improved in 5431f16.

repo: FearedFusionX/Ro-Status


text:
部分代码格式按照PEP8规范进行缩进、不规范的docstring、超长行换行、去除多余括号等调整

@jat001 @dylan-fan @zhihuiwan

当前fate flow 1.9正处于开发阶段，文件改动太多可能会引入很多冲突，这些优化建议等1.9开发稳定阶段合并。

@zhihuiwan 了解了

authors: MiKKiYang zhihuiwan

repo: FederatedAI/FATE-Flow


text:
Floating button follows active tab space

Pretty nice feature but the button doesn't stay in the place you put it on each tab space. It just goes back to the default which may be inadapted for certain sites
(archlinux)

This is a know issue, normally Faymoon is working on it. I will ask him when it will be ready.

authors: Dregni Feldrise

repo: Feldrise/SieloNavigateur


text:
Unnecessary vertical scroll bar in items tab

A related problem is that after fragmentation, the gap at the bottom of the molecules tab becomes larger.
Before fragmentation:

After fragmentation:

As I understand it, the image structure heights of the imported molecule data models are updated when the fragments and items tabs are created. For the items tab, they have to be smaller than before to accommodate the horizontal scroll bar at the bottom and the doubled table header height (fragments column is split into multiple sub-columns). The problem is: this reflects back to image structure heights in the molecules tab, increasing the gap at the bottom.
I see two possible solutions:

(quick and dirty) remove the overall fragments column in the items tab (but keep separate "Fragment 1", "Fragment 2", etc columns) and then tweak the image structure height adjustment in a way that doe snot make things much worse in the molecules tab but makes the vertical scroll bar in the items tab disappear.
(touching the data models and more complex) separate the image structure height property of the molecule data models into separate properties, i.e. image structure height for molecules tab, fragments tab, items tab, etc.

To discuss and probably not fix for v1.2.

Are you sure, I don't think the structures once drawn are updated just because a new tab is added.
I would rather try to customize the "setImageStructureHeight" method in "GuiUtil". The easiest way would be to add another minuend in line 539 by trial and error.

A related problem is that after fragmentation, the gap at the bottom of the molecules tab becomes larger.

I can't reproduce this on Linux.

Are you sure, I don't think the structures once drawn are updated just because a new tab is added.

I can't reproduce this on Linux.

Did you switch pages after the fragmentation was completed? Drawn structures or rather generated and displayed pages are not updated but they will be updated when you switch pages and a new page is created.

I would rather try to customize the "setImageStructureHeight" method in "GuiUtil". The easiest way would be to add another minuend in line 539 by trial and error.

I tried that but then, the gap at the bottom of the molecules tab becomes even larger.

Let us meet about this

Friday morning between 0800 and 1100

Friday morning before 11 am

Friday morning before 11 am

Friday at 10 am would suit me, since I'm meeting the students at 9.

Just as a related note: there is another "unnecessary" scroll bar at the bottom of the histogram view.

repo: FelixBaensch/MORTAR


text:
Exposing PoppperJS trough the library

Hi everyone,
Hi recently opened #224 that i realize is a poor solution to the problem.
The problem is that you may need to access to popper defaults in order to build an object that is compatible with the propTypes.
Matching your Popper with the one from react-popper is complicated and if often get a double boundling with webpack.
I would like to suggest to add PopperJS to the exports of react-popper in order to access defaults.
I would submit a green PR but i have flowJS test failing and i have no idea how to fix them

For anyone interested in a solution, I expressed my opinion in #244.

authors: FezVrasta asturur

repo: FezVrasta/react-popper


text:
Additional default bathymetry environments

Candidate 1: Alarcon Rise

Hard to find a good square tile with interesting geometries
Resolution : 2m
Link : https://www.marine-geo.org/tools/search/Files.php?data_set_uid=24366
Fledermaus screen shot

GOCAUV_AR2_2m.grd
It's grd file converted to GeoTiff

Candidate 2: Penguin Bank

Look OK, but not much of plane
Resolution : 75 cm
Link : https://www.marine-geo.org/tools/search/Files.php?data_set_uid=24449
Fledermaus screen shot

XYZ file converted to GeoTiff
MS03-bat75cm-Final.xyz
Square patch within

Candidate 3: Axial Seamount

Resolution : 75 cm

Link : https://www.marine-geo.org/tools/datasets/30219
Clague, D.; Caress, D. and J. Paduan, (2022). Preliminary 1-meter resolution
bathymetric model (ESRI ASCII grids) for the summit region of Axial
Seamount, version as of 10 March 2021. IEDA. doi:10.26022/IEDA/330219

Fledermaus screen shot

ASC (XYZ) file converted to GeoTiff

AxialSummit_MAUV_10Mar2021_All_OverEM302_Topo1mSq.asc

North-East region look interesting

Small patch in the North-East region (High ground at North-East, Low gound at South-West)

Converted Model SDF includes mesh file about 367MB in size

Working on to make a launch/world file

Now narrowed down to two candidates,
https://github.com/Field-Robotics-Lab/dave/pull/202
https://github.com/Field-Robotics-Lab/dave/pull/203
Closing this issue.

Documented at https://github.com/Field-Robotics-Lab/dave/wiki/Bathymetry-Models

repo: Field-Robotics-Lab/dave


text:
How to identify the first and last point in the swath path

Hi @Gonzalo-Mier ,
Inside the swath-generated path, starting point and end point looks similar. How to identify the starting point and the endpoint.

Not sure what you mean. Could you rephrase it a bit or add an image? Thanks

hai @Gonzalo-Mier ,
In the fields2cover generated path, I tried to visualize it in google earth. The starting and end points look similar for the generated path. The paths are not connected.

Should I close this issue?

Should I close this issue?

yes

authors: Botronics Gonzalo-Mier


text:
🛑 Gitea is down

In 05527a1, Gitea (https://git.efimio.ru) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Gitea is back up in af99c7d.

repo: Filadeus/filadeus-upptime


text:
Add hsts header

Resolves -- https://github.com/Financial-Times/polyfill-service/issues/646

Do we really need an additional dependency to write a single line, static HTTP header?

@triblondon I removed the module and added the header. Ready for review.

Ok, this looks fine. No need for the moment upgrade but no harm I guess. Not sure it's obvious to me why you chose 18 weeks, so if there was a reason, a comment in the code would be useful.

@triblondon Switched to one_year

authors: JakeChampion triblondon

repo: Financial-Times/polyfill-service


text:
Error when trying to connect to server

Minecraft: 1.21
Fabric: 0.16.9
Fabric API: 0.102.0+1.21
Mod: 2.0.8
Error:
Internal Exception: io.netty.handler.codec.EncoderException: Failed to encode packet 'clientbound/minecraft:custom_payload' (additionalplacements:check_data_client)
Normally I'd guess this is a version mismatch between the client and host but it's my server and I copied the mods folder from my server to the client PC I'm using to test it so I know it's not that.
My guess would be it's some dependency within the Fabric API but as far as I know 0.102.0 is the last Fabric API release for 1.21-
I also have Packet Fixer installed but as I understand it the only thing it really does is increase the byte limit of some state update packets, NBT tag packets, and chunk data payload packets so I don't think it would interfere with this.

If the game crashes, post the crashlog. If it does not, post the game output log. Just posting the error message provides no useful information for me.

latest-client.log
latest-server.log

Fixed in:
1.18.2: 019db4e
1.19.2: 6d4abdd
1.20.1: 13739df
1.20.2: b5e40f9
1.20.4: c068f8a
1.21: 67c9035
1.21.3: 5b31ca8

authors: FirEmerald SpartanG01 gvancamp

repo: FirEmerald/AdditionalPlacements


text:
"SDL2 Linux runtime dependency not found" when SDL2 is installed

When I run the binary, a popup appears saying "SDL2 Linux runtime dependency not found" even though I have all dependencies installed.

The executable path is ~/Moonscraper Chart Editor v1.5.4 Linux (Universal)/Moonscraper Chart Editor.x86_64
My system:

@bmwalters A common solution to this is to install libsdl2-dev instead. Is there a solution to not have to install the dev version on systems that encounter this issue?

That helped, thx

Reopening for visibility as dev version is a workaround.

I think there’s a few possibilities:

user might have sdl 1 or old sdl2 version which is updated when installing dev package.
we might be depending on one of the sdl2 sub-packages (e.g. sdl2-mixer) by default

I suggest adding a string representation of the DllNotFoundException to the error window for further troubleshooting and so we know which library name is not found

Apparently this can also happen if dynamic linking dependencies of SDL fails due to other dependency issues on the system. Running the binary with the env var LD_DEBUG=libs may help debug. https://github.com/ppy/osu/issues/18628


text:
Add Contributor Section in Readme

As a contributor, student, alumni, or outside party I would like to see who has contributed to the project.
This will entail adding a section at the bottom of the Readme with these categories:

First Name
Last Name or Last Initial (optional)
Github username
Other potential links (Twitter, Facebook, website, etc)

All the students who have contributed should be acknowledged for all of their hard work :smile:

Love the idea!

authors: colinrubbert kenmazaika


text:
🛑 Museum of Archaeology is down

In 04f44fa, Museum of Archaeology (https://maa.cam.ac.uk/) was down:

HTTP code: 500
Response time: 950 ms

Resolved: Museum of Archaeology is back up in 42e24a9.

repo: FitzwilliamMuseum/uptime


text:
totalitarianism ii by staysold

Song Name
totalitarianism ii
Artist Name
staysold
Source
Youtube
Youtube Link
https://youtu.be/7XTRbvMc9Vg?si=umnqJdKUoCmRSQ_s
Direct File Link
No response
Song ID
467339
Start Offset [ms]
1
Extra
Created from Auto Nong.
Created for level: 10565740

reject
popular songs like "At the Speed of light" are too inconvenient to be replaced by smth unrelated and are therefore usually rejected

repo: FlafyDev/auto-nong-indexes


text:
怎么改变模型加载的gpu呢

我有两个显卡，使用的是FlagModel，默认是加载到了第一个显卡上，但第一个显卡不够用了。怎么让他加载到第二个卡上呢？强制去改了FlagModel类中init的self.device。好像也不起作用。

可以在程序前设置
os.environ["CUDA_VISIBLE_DEVICES"]="1", 这样只会使用第二张卡

谢谢，这样也行

repo: FlagOpen/FlagEmbedding


text:
Update README.md (Fix for #460)

Example is wrong (see #460)

Thanks~

Hey @staoxiao
I noticed while the current change seems to be formally correct, reranking doesnt work as expected - I guess some more adjustements need to be made, honestly I cant tell.
When using model_type='encoder', to merge a two reranking models and then getting scores for two sentences the output is:
   [  [value1] ]
This is the expected behaviour.
When using model_type='reranker' the output for one pair of query/sentence is:
[
[value1 value2]
]
  `
Can you tell me something acout this behaviour? Is this another bug? Can this be explained?
Best,
Damian

Hi, I run the command to merge two bge-reranker-base models, and the output is correct:
"""
from LM_Cocktail import mix_models, mix_models_with_data
Mix fine-tuned model and base model; then save it to output_path: ./mixed_model_1
model = mix_models(
model_names_or_paths=["BAAI/bge-reranker-base", "BAAI/bge-reranker-base"],
model_type='reranker',
weights=[0.5, 0.5],  # you can change the weights to get a better trade-off.
output_path='./mixed_model_1')
import torch
from transformers import AutoModelForSequenceClassification, AutoTokenizer, BatchEncoding, PreTrainedTokenizerFast
tokenizer = AutoTokenizer.from_pretrained('./mixed_model_1')
model = AutoModelForSequenceClassification.from_pretrained('./mixed_model_1')
model.eval()
pairs = [['what is panda?', 'hi']]
with torch.no_grad():
inputs = tokenizer(pairs, padding=True, truncation=True, return_tensors='pt', max_length=512)
scores = model(**inputs, return_dict=True).logits.view(-1, ).float()
print(scores)
"""
The scores is tensor([-8.1544]).
It's possible that there are some errors in your usage. Could you provide the code you used to test?


text:
Consolidated Error Handling

Consolidates all of the errors produced by the client into a single enum. Although not entirely needed, the majority of errors that could be potentially thrown were from APIManager.NetworkError. With that being an internal type, that limited the ability of a client consumer from being able to type catch and potentially resolve issues. All errors are now of type FlagsmithError.
Additional notes:

Moved Router to its own file and added the ability to pass a JSONEncoder to the request method enabling unit tests.
Refactored the APIManager request method to not need the emptyResponse parameter. The conditional checking for a specific type and flag was a bit cumbersome to follow. Now the completion block dictates if the response is decoded vs just indicating success/failure.
Replaced the fatalError() in the APIManager with an error completion. Questionable wether the library should cause an application to crash for being misconfigured.
Added additional documentation comments to fill out automatic DocC documentation that can be generated in Xcode.
Unit tests for Router and APIManager where possible.

I know I can go a bit overboard with some changes and opinionated behaviors. Please, feel free to reject or request changes. The company I work for is likely adopting Flagsmith, hence all the PRs!

This is great - thanks so much

authors: dabeeeenster richardpiazza

repo: Flagsmith/flagsmith-ios-client


text:
Flashpoint 11 not loading if analytics turned on while offline

Flashpoint 11 doesn't start if the analytics are activated and you are disconnected from the internet. It gets stuck at loading "Games", "Credits" and "Misc"; obviously Logs can't be accessed since it gets stuck before any buttons show up so I can't give more info about the bug.

Bit late (and I think I fixed this earlier anyway), but should be 100% dealt with for 12

repo: FlashpointProject/FPL-Analytics


text:
Show images of resistor

On surfaces with a screen, show the corresponding resistor image to the query. This can be generated dynamically.

https://us-central1-newagent-ecf2d.cloudfunctions.net/resistor_image?colors=red,yellow,brown,silver,black

repo: Fleker/resistor-agent


text:
Can't paste colors (or anything) from clipboard on color picker

Describe the bug
It is not possible to paste values or anything into color picker fields. When a string is pasted, it simply gets removed and leaves the input field empty. This forces the user to manually enter the HEX, RGB or HSL values which is incredibly inconvinient and inefficient.
To Reproduce
Steps to reproduce the behavior:

Copy a hexadecimal color value such as #69db7c.
Pick a existing folder with an lucide icon or create a new one and assign any icon to it.
Right click, select 'Change color of icon'.
Click into the color pick area.
Switch to HEX value view.
Try to paste the value.

Expected behavior
I expect to have the color value on my clipboard to have been entered into the color pickers value field when I paste it.
Screenshots
Not applicable.
Additional context

I have created a new vault and only had this plugin enabled to make sure this is not caused by other plugins.
I am using the latest stable version of the Obsidian.

Thank you for reporting the issue. Unfortunately, Iconize tries to always use the native integrated components provided by Obsidian. Thus, the color picker component comes from Obsidian and it seems that I cannot change anything here at the moment.

As a note, I went to Obsidian forums to create a bug report there but turns out this has been a known issue with the Chrome color picker for at least 4 years and unfortunately looks unlikely to be solved anytime soon.

As a note, I went to Obsidian forums to create a bug report there but turns out this has been a known issue with the Chrome color picker for at least 4 years and unfortunately looks unlikely to be solved anytime soon.
Edit: Just made a feature request post on Obsidian forum to replace the color picker: https://forum.obsidian.md/t/switch-from-chromiums-color-picker-to-a-custom-one-in-order-to-allow-copying-pasting-values/89924

Awesome! :)

authors: FlorianWoelki SametHope

repo: FlorianWoelki/obsidian-iconize


text:
QA - Site - Product Detail Page - Shipping Section - Edit Address Functionality is not working.

QA - Site - Product Detail Page - Shipping Section - Edit Address Functionality is not working.
Go To Publish website.
Click on search button and go to search page.
Click on any product and go tot detail page.
Select Place Order tab and Select product Color.
Enter Qty in Qty box.
Select Shipping Address.
Click on Address Book List Button.
Edit any Address.
update any detail and click on Save button.

Done

repo: FlowzPlatform/website-service-apis


text:
Fix bug report issue

A working demo - https://github.com/Saransh-cpp/.github-FluxML/issues/new/choose
See https://github.com/FluxML/.github/pull/4#issuecomment-1345499741
PR Checklist

[ ] Tests are added
[ ] Documentation, if applicable

nice, thanks

authors: CarloLucibello Saransh-cpp


text:
import('axios-auth-refresh') wraped with default

Hello.
I have a problem with the module when I use it with nodejs.
Welcome to Node.js v18.12.1.
Type ".help" for more information.

import('axios-auth-refresh').then(console.log)

[Module: null prototype] {
'axios-auth-refresh': undefined,
default: { default: [Function (anonymous)] }

It causes trouble with SSR.

Why? It is just exporting the default.  You can try require. But my guess you don't have node setup right for imports.
>  npx ts-node
import axios from 'axios';
import createAuthRefreshInterceptor from 'axios-auth-refresh';
createAuthRefreshInterceptor(axios, () => Promise.resolve());

This works once I have the packages in node_modules.

Hello.
I have a problem with the module when I use it with nodejs.
Welcome to Node.js v18.12.1. Type ".help" for more information.

import('axios-auth-refresh').then(console.log)

[Module: null prototype] {
'axios-auth-refresh': undefined,
default: { default: [Function (anonymous)] }

It causes trouble with SSR.

Did you find any solution for the above? I'm getting this while creating a bundle using tsup.

Probably same issue: https://github.com/Flyrell/axios-auth-refresh/issues/284

authors: Ti-webdev billnbell corwinstephen mjangir

repo: Flyrell/axios-auth-refresh


text:
how to get response cookie ??

{ server: 'nginx/1.10.1',
date: 'Fri, 07 Oct 2016 11:05:18 GMT',
'content-type': 'text/html',
'transfer-encoding': 'chunked',
connection: 'close',
'x-powered-by': 'PHP/5.5.31',
'set-cookie':
[ 'ci_session=a%3A5%3A%7Bs%3A10%3A%22session_id%22%3Bs%3A32%3A%22cfd30f3790c9c54a3a37d59a31e964a3%22%3Bs%3A10%3A%22ip_address%22%3Bs%3A9%3A%22127.0.0.1%22%3Bs%3A10%3A%22user_agent%22%3Bb%3A0%3Bs%3A13%3A%22last_activity%22%3Bi%3A1475838318%3Bs%3A9%3A%22user_data%22%3Bs%3A0%3A%22%22%3B%7D0bd06711d12f305a41296c637a0d670c510dcf07; expires=Fri, 07-Oct-2016 13:05:18 GMT; Max-Age=7200; path=/',
'ci_session=a%3A6%3A%7Bs%3A10%3A%22session_id%22%3Bs%3A32%3A%22cfd30f3790c9c54a3a37d59a31e964a3%22%3Bs%3A10%3A%22ip_address%22%3Bs%3A9%3A%22127.0.0.1%22%3Bs%3A10%3A%22user_agent%22%3Bb%3A0%3Bs%3A13%3A%22last_activity%22%3Bi%3A1475838318%3Bs%3A9%3A%22user_data%22%3Bs%3A0%3A%22%22%3Bs%3A8%3A%22username%22%3Bb%3A0%3B%7D86252f436517ca9d65c812f9ebee93ea137123b6; expires=Fri, 07-Oct-2016 13:05:18 GMT; Max-Age=7200; path=/' ] }
response have "set-cookie", I login in for php and have a session,than, I want get cookie.how can i get response cookie?

Handling cookies is out of scope for this library.  It will provide the necessary headers if you want to build your own cookie-jar implementation though.

authors: ForbesLindesay smarttang

repo: ForbesLindesay/sync-request


text:
Move internal types into I<Facet>Base interface

That includes structs, events and errors

Example I<Contract>Internal interface from solidstate-solidity

repo: Forgenie/diamond-foundry


text:
Add URL hash capability

This add the capability to handle hashes in the URL and have it be available in the state.

Codecov Report

Merging #177 into master will decrease coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #177      +/-   ##
==========================================
- Coverage   99.56%   99.55%   -0.01%
==========================================
  Files          20       20
  Lines         229      227       -2
==========================================
- Hits          228      226       -2
  Misses          1        1

Impacted Files
Coverage Δ

src/reducer.js
100% <ø> (ø)
:arrow_up:

src/util/normalize-href.js
100% <100%> (ø)
: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 2509515...d197ffb. Read the comment docs.

authors: codecov-io kriuz

repo: FormidableLabs/redux-little-router


text:
Uncaught TypeError: Object(...) is not a function

Hi,
as soon as I try to make a query I have this error:
Uncaught TypeError: Object(...) is not a function
    at Client.createRequestOperation (urql.es.js:506)
    at Client.executeQuery (urql.es.js:522)
    at urql.es.js:951
    at urql.es.js:966
    at commitHookEffectList (react-dom.development.js:17860)
    at commitPassiveHookEffects (react-dom.development.js:17887)
    at HTMLUnknownElement.callCallback (react-dom.development.js:147)
    at Object.invokeGuardedCallbackDev (react-dom.development.js:196)
    at invokeGuardedCallback (react-dom.development.js:250)
    at commitPassiveEffects (react-dom.development.js:19513)
    at wrapped (scheduler-tracing.development.js:177)
    at flushFirstCallback (scheduler.development.js:99)
    at flushWork (scheduler.development.js:216)
    at MessagePort.push../node_modules/scheduler/cjs/scheduler.development.js.channel.port1.onmessage (scheduler.development.js:619)

It's strange because the same exact project inside codesandbox.io was working perfectly but now I have the same error in local and on netlify.
I cannot share this project, I'm sorry
I am using this (from package.json):
"dependencies": {
    "@material-ui/core": "3.9.2",
    "@material-ui/icons": "3.0.2",
    "axios": "0.18.0",
    "date-fns": "1.30.1",
    "graphql": "14.1.1",
    "lodash": "4.17.11",
    "react": "16.8.3",
    "react-dom": "16.8.3",
    "react-router-dom": "4.3.1",
    "react-scripts": "2.0.3",
    "recharts": "1.5.0",
    "urql": "1.0.4"
  },

Hiya, that's certainly odd! I apologise, we haven't announced v1 publicly for this very reason. We're still searching for good error messages that we can add here and there for more clarity.
Do you have a small snippet at least of your usage of useQuery? A completely anonymised snippet would be completely fine! Feel free to comment out the actual query, variables, and component around it 👌

Sure!, I hope this is enough
I start like this:
import React from 'react';
import ReactDOM from 'react-dom';
import { BrowserRouter as Router } from 'react-router-dom';
import Main from './pages/Main';
import * as serviceWorker from './serviceWorker';
import { Provider, createClient } from 'urql';

const gcProjectId = process.env.GC_PROJECT_ID;
const url = `https://api.graph.cool/simple/v1/${gcProjectId}`;

const client = createClient({
  url,
  fetchOptions: () => {
    const token = window.localStorage.getItem("token");
    return token
      ? {
          headers: {
            Authorization: `Bearer ${token}`
          }
        }
      : {};
  }
});

const App = () => (
  <Provider value={client}>
    <Router>

    </Router>
  </Provider>
);

ReactDOM.render(<App />, document.getElementById('root'));
serviceWorker.unregister();

then I use it like this:
import React from 'react';
import { Route } from 'react-router-dom';
import { useQuery } from 'urql';
import { Provider, createClient } from 'urql';

import asyncComponent from './../AsyncComponent';
import queries from './../queries';
import { DataProvider } from './../context';

const Dashboard = asyncComponent(() => import('./../pages/Dashboard'));
const Users = asyncComponent(() => import('./../pages/Users'));
const ActiveDoc = asyncComponent(() => import('./../pages/ActiveDoc'));

export default props => {
  const query = queries.TotalQuery;
  const [res] = useQuery({ query });

  if (res.fetching || !res.data) {
    return 'Loading...';
  } else if (res.error) {
    return `Oh no! ${res.error}`;
  }

  return
Stuff
;
};

I'm afraid it's hard to pin this down; your usage here looks correct and I'm unsure of how an error in urql would throw Object(...) as that'd be a very specific object being referred to in an error that's probably looking like Object() if I'd have to guess that this is v8.
Also this doesn't seem to be mapping back to the actual file 🤔 Can you maybe check the line in urql.es.js:506 in your runtime/browser please? That'd help tremendously!
    at Client.createRequestOperation (urql.es.js:506)
    at Client.executeQuery (urql.es.js:522)
    at urql.es.js:951
    at urql.es.js:966

This is it:

When this happens my query is:
(double quotes are included, and yes, I had to "censor" it...)
"
  query GetUsers {
    allUsers {
      ...
    }
    allCompanies {
      ...
    }
    allSalesDocuments {
      ...
    }
    allStuff...
    allMoreStuff...
  }
"

@sun2rise that kind of sounds like a dependency issue with GraphQL maybe? Given that it errors when calling "parse". We're using the same version on this repo for verification and testing, so maybe make sure that all dependencies are installed correctly and that your lockfile's integrity is good?
It could also be a minification or bundling issue but those would be harder to pin down

Hi @kitten, thanks for your support!
I understand that it can be difficult to find the cause for this one so I made a saple project that gives me the same problem
you can find it here --> https://codesandbox.io/s/xpyzwwzzoq
This is the simplest project possible, as you will see.
It works fine on codesandbox, but when I download the source and try locally it give the error.
Don't worry for the data and the token, it's all about a test database too.

Sorry for being inactive for a while! I've been caught up in a couple of other projects.
I can successfully replicate your bug using the Sandbox as described (Export to zip, yarn, start, etc).
It's an issue with create-react-app, i.e. react-scripts.
If you upgrade react-scripts that fixes the issue. I suspect it's something with .mjs imports.

repo: FormidableLabs/urql


text:
suspense: true causes duplicated requests

urql version & exchanges:

@urql/core@2.5.0
@urql/exchange-graphcache@4.4.1

Steps to reproduce

Create a client with suspense: true and requestPolicy: cache-and-network
Render the app using the new createRoot or hydrateRoot React API

Expected behavior
Only one request is made.
Actual behavior
Two requests are made.
Reproduction
Run this sandbox to see two requests being made: https://codesandbox.io/s/vibrant-saha-8bdm4g?file=/src/index.js

I have a feeling that's related to React making a separate fiber when suspending, useQuery is called again in a different context, which makes it think it's called for the first time. I didn't dig deeper though..
Workaround
I'm using this simple exchange to dedupe all requests made within a second:
const operations = new Map<number, number>()
const exchanges = [
    ({ forward }) =>
        (source) =>
            pipe(
                forward(
                    pipe(
                        source,
                        filter(({ key, kind, context }) => {
                            if (
                                kind === 'query' &&
                                context.requestPolicy === 'network-only'
                            ) {
                                const limit = operations.get(key)

                                return !limit || limit < Date.now()
                            }

                            return true
                        }),
                    ),
                ),
                tap(({ operation, hasNext }) => {
                    if (
                        !hasNext &&
                        operation.context.meta?.cacheOutcome !== 'hit'
                    ) {
                        operations.set(operation.key, Date.now() + 1000)
                    }
                }),
            ),
    dedupExchange,
    cacheExchange({ keys }),
    ssrExchange,
    options.fetchExchange ?? fetchExchange,
]

From a React point of view there aren't any ways around this becaue an interrupt isn't observable. This means that when the initial render happens we start the cache-miss fetch, then we get a response, un-suspend and have a cache-hit. Now the request-policy kicks in and refetches the cache-hit in the background. This is intended behaviour 😅

Ah, got it. I think that this behaviour, while intended, is not the one most urql users are expecting. For example, doing SSR with the streaming APIs result in duplicated calls, increasing latency and resources needed to render a page.
Would you be receptive to a tested PR fixing the duplication?

Just to clarify, inherently, when you say cache-and-network then you're saying "when I ask for cached data, also load data again". So you're explicitly expressing that you want this behaviour. This is why we never recommend or explicitly tell people to change the default request policy for every request. This simply is wasteful.
That said, if you do want this behaviour, two identical requests will never be sent simultaneously. So it doesn't really matter whether it sends one or two requests, since the second one is only sent because it wasn't already being sent.

I think the confusion here is that suspense: true is changing the request-policy behaviour, which isn't expected or documented.
I don't expect suspense: true to cause some requests to be sent twice in a row because I'm not asking for data twice. React might be, but I'm a user, it's transparent to me. I'm expecting urql to be suspense aware, and provide the same caching behaviour whether suspense is enabled or not.
For my use-cases, cache-and-network provides the best compromise between user experience (display cache data fallback when loading) and consistency (always query data when requested). I want cache data to be invalidated, but I don't want it to be wasteful.

So it doesn't really matter whether it sends one or two requests, since the second one is only sent because it wasn't already being sent.

My main worry here is a ~1.5x increase of GraphQL-related hosting costs (bandwidth, compute and IOPS).

The workaround I mentioned fixes the suspense behaviour for me, so I'm closing this issue as you feel this is the desired behaviour. I'm editing the title to make it easier to find in case someone hits the same problem.

No, it's not changing the request behaviour. We never recommend using cache-and-network on every request by default. An operation is triggered on mount which means it sends off an operation that may then get fulfilled by the cache exchange. Depending on when React decides to unmount and remount or let a component lose its state (and as per Concurrent Mode we always now have to assume that state and effects are repeated or lost) then the operation is re-issued.
This is basically just a React-specific behaviour and working against it introduces other problems. To prevent it the simplest method is to not work against our caches.
We have a TTL-based requestPolicyExchange which is a much better compromise if you want to regularly let operations refetch

authors: JoviDeCroock fathyb kitten


text:
RFC: Reduce whitespace in queries by using stripIgnoredCharacters

Summary
Currently when we make graphql requests using GET, the length of the request is much longer than anticipated because whitespace is included in the request itself. From my research, this appears to occur when we transform the AST from graphql-tag into a string via graphql. Aside from being a longer (and therefore slower) request, this also hits max length issues which are most apparent on GET requests.
Proposed Solution
graphql 14.3.0 adds a utility function called stripIgnoredCharacters ( https://github.com/graphql/graphql-js/pull/1802 ) that we can call on the stringified request to remove whitespace characters that don't impact the query itself. We should make use of this utility function.
I'll attach a sample request and the formatted query as a follow up

Here's the repro of the underlying behavior this proposal aims to correct:
https://github.com/dhinklexo/urql-whitespace-issue-test-bench


text:
Unexpected multiple selection in item edit children list

Describe the bug
When adding new items, before save, and the name is duplicated - on select one of the item it will select all of them with this name
To Reproduce
Steps to reproduce the behavior:
As usual

Go to this page
Add few new items with name "New Item"
Click on select one of the "New Item"
See all of them selected

Expected behavior
Must be selected only one item
Screenshots

Hum that should not be possible to put several time the same item as children. I have to check that...

authors: Iloveall smadbe

repo: France-ioi/AlgoreaFrontend


text:
🛑 Certificados Humanidades is down

In 26240bf, Certificados Humanidades (https://certificadosfhu.unse.edu.ar) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Certificados Humanidades is back up in 0851d1d.

repo: Francisco-Castillo/certificados


text:
推荐亚里士朱德的博客

http://yalishizhude.github.io/
@yalishizhude

到目前为止，2018年更新了三篇，继续关注

最近在写书，所以博客更新慢了~😭

authors: FrankFang yalishizhude

repo: FrankFang/best-chinese-front-end-blogs


text:
Typeof of array is object - how to pass this test

Challenge Using typeof has an issue.
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/601.6.17 (KHTML, like Gecko) Version/9.1.1 Safari/601.6.17.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:

console.log(typeof "string");

console.log(typeof 10);

console.log(typeof ["Saab", "Volvo", "BMW"]);

console.log(typeof {"1":"2","3":"4"});

The instructions state that you should

Try using typeof on each of the following to see which types they have.

It gives you examples of a string, number, array, and object.
You could just type in the examples given on the side.

How silly!! :):) Thanks!

Closing as resolved.

authors: ShahPriyankah dhcodes patrickk93

repo: FreeCodeCamp/FreeCodeCamp