chore(issue-110): move all dev dependencies to dev-packages

Pull Request Template
1. Targeted Issue
(Issue #110)[https://trello.com/c/MZOUTyBS]
2. Overview of Solution
Moves the following development packages to [dev-packages] in Pipfile

coverage
pre-commit

Adds documentation to README.md about installing packages.
3. Tools Used
Pipenv category groups - https://pipenv.pypa.io/en/latest/pipfile/#package-category-groups
4. Testing Strategy
We will need to test this on staging
5. Future Implications
Moving forward we should make sure we add dev-packages using the following command:
pipenv install --dev <package-name>
6. Screenshots

7. Code Reviewers
@GitLukeW @jimbandrews

Before you go...

[x]  I have linked the relevant issue
[x]  I have provided an overview of my solution
[x]  I have shared the tools I've used
[x]  I have outlined my testing strategy
[x]  I have considered future implications of my changes
[x]  I have included relevant screenshots
[x]  I have kept my team in the loop

Looks good, just some slight changes requested.

Got this cleaned up. Should be good to re-review.


Investigate ways to improve querying the bags list over RPC

This issue is meant to track efforts to improve the performance of queries to the bags list from the both the client (e.g. UI) and the node side.
From the node side we can look into creating a specialized RPC that does tasks like group a bag and its nodes into one query or provides some metadata about a bag, like its length and how many nodes are displaced.
From the client side we can look into exactly what the various needs are and benchmark different querying approaches in meeting them.
cc @rossbulat @kianenigma

A bit too opaque, closing to open something more tangible when needed.


Set Up DaisyUI Theme called night

Feature Request: Add DaisyUI Theme to Tailwind Configuration
Description
We are looking for a new contributor to help us configure the DaisyUI theme for our project. DaisyUI is a Tailwind CSS component library that provides a set of ready-to-use components and themes. This is a great first issue for someone new to the project and wanting to start.
Tasks

Update tailwind.config.js to include DaisyUI themes:

Add the following configuration to tailwind.config.js:

 module.exports = {
// other configurations...
plugins: [require("daisyui")],
daisyui: {
  themes: ["night"],
},
};

Ensure the configuration is added below other plugins:

The plugins array should look like this:

    plugins: [
 // other plugins...
 require("daisyui"),
],
daisyui: {
 themes: ["night"],
},

Test the theme configuration:

Switch between different themes (e.g., "cupcake", "light", "forest") and ensure they are applied correctly.

Additional Notes

Branch: Please create a new branch from feature/website-theme for your changes.git checkout feature/website-theme
git pull origin feature/website-theme
git checkout -b feature/add-theme

Pull Request: Submit a pull request to merge your changes into feature/website-theme.
Testing: Ensure the theme changes are reflected correctly by testing different themes.

hello @lokytech5, I have created the merge request.


fix: update transitive use of braces

Braces has a security issue that's fixed in 3.0.3  - this addresses aint's exposure of the issue through updates of direct dependencies

@stathismor this is good to go now:
% yarn why braces
└─ micromatch@npm:4.0.5
   └─ braces@npm:3.0.3 (via npm:^3.0.2)


music

alexsmart
Very well. For a starter, I composed a playlist of Soviet Union songs, all standardized into mp3 format as the vanilla music files are.  There are 2 rules of thumb that I am following regarding the selection of music.

The music must be a national march, or a classical/traditional/folklore song original to that nation
If possible, always use the instrumental version of a song over a regular version

This list may contain Russian folk songs that may predate the Soviet Era. As such, some of these songs could also used for "normal" non-Communist Russia. Tell me if I'm missing any good Soviet song, any general suggestion, or if you disagree with anything.
1-  Anthem of the Soviet Union Instrumental  (usable for vanilla Russia too since it's their same anthem)
2- The Sacred War Instrumental
3-  Red Army is the Strongest Instrumental
4- The Cliff
5- Smuglianka Moldovanka Instrumental
6- Partisan's Song
7- Cossack's Song
8- There march the soldiers
9- The Hunt for Red October
10-Polyushka Polye Instrumental
11- March of the Defenders of Moscow Instrumental
12- March of Motherland
13- Let's go! Instrumental
14- Korobeiniki Instrumental
15- Katyusha Instrumental
16- Kalinka Instrumental
17- Farewell of Slavianka Instrumental
alexsmart
Finished the soundtrack for my home country of Romania for both Vanilla and Communist.
The total added up estimate is 87 minutes for Vanilla and 60 minutes for Communist (I figured if I did over an hour of Vanilla, I should at least do an hour of Communist)
I would've loved to have put the YouTube links for the origin of all of these to make them easier to preview, but Paradox Forums automatically embeds media links, even "dry" ones, and using BB code Editor doesn't help.
Vanilla Romanian songs
Desteapta-te Romane  (Instrumental version of Romanian National anthem)
Treceti batalioane romane carpatii (Instrumental)
Noi suntem Romani
Asa-i romanul
Doamne ocroteste-i pe Romani
And now for some amazing victorianesque Romanian traditional music
Romanian Rhapsody
Romanian Rhapsody 2
Transylvanian String Quartet (Transylvanian Suite)
Transylvanian String Quartet (Wallachian Suite)
Transylvanian String Quartet (Moldovan Suite)
Transylvanian String Quartet (Banat Suite)
Dropbox link for all mp3 format Vanilla songs here :
Mixed Romanian songs
These songs can be simultaneously used by Communist and non-Communist Romania due to their non-communist origin and mixed use.  The rounded time estimates of these 2 songs were added to both the Vanilla and Communist estimate at the top.
Hora Unirii
Drum Bun
Dropbox link for all mp3 format Mixed songs here :
Communist Romanian songs
Trei Culori* (Instrumental Communist Romanian National anthem)
Te slavim, Romanie (Communist Romanian National anthem)
Internationale in Romanian
Marseillaise of the Romanian Proletariat
1 Mai muncitoresc
Aceasta e patria mea
Noi in Anul 2000
Comandantul Suprem
Eroul Ceausescu, Iubit Conducator
Glorie Partidului
Mars Pioneresc
Partidul al Inimilor Noastre
Partidul, Ceausescu, Romania!
Porniti inainte, tovarasi!
Privesc din Doftana
Spre comunism in zbor
Trepte spre Soare
Un partid, o tara, un popor
*Due to having overwhelmingly strong communist association, I chose to put Trei Culori as a communist only song even though it fits the definition of a Mixed song
Dropbox link for all mp3 format Communist songs here :

simsulla
I love the music compilations.But I am afraid I in order to incorporate it in the mod it needs to be free music or we'll have copyright issues. As an alternative I suggest you make an alternative music drop for NWO distributed outside the mod. In the NWO/music folder there is a songs.txt that indicates how to make music play only under certain conditions - like communist government, Romania etc... Also in the NWO.mod files the "music" has to be a replace_path.
For the mod only free music may be added. Will look into it.

After some consideration I decided to update the music of NWO with some free music. The music composers are attributed in the attribution.csv file.


Use the standard flow for blind signing

Here is how app-ethereum handle blind_signing:
---Screen 1---
<Warning-icon>
This transaction cannot be trusted

---Screen 2--- Not on Nanos
Your Ledger cannot decode this transaction. If you sign it, you could

---Screen 3--- Not on Nanos
be authorizing malicious actions that can drain your wallet.

---Screen 4---
Learn more: ...

---Screen 5---
<Accept-icon>
Accept risk and review transaction

---Screen 6---
<Reject-icon>
Reject

Currently, here is how the Tezos Wallet app handle blind_signing:
---Screen 1---
Parsing error
Reason

---Screen 2---
<Accept-icon>
Switch to blindsigning

---Screen 3---
<Reject-icon>
Reject

Ethereum
Nanos:

Nanosp / Nanox:

Tezos
Nanos:

Nanosp / Nanox:


[WIP] New build system.

Rearchitecture of the the build system.  A vast simplification.
Changes

./configure can produce an XCode project of the Turi source code.
deps/ can be compiled and installed out of the regular build process. Helpful for the XCode project.
All packages in src/external/ and src/visualization compile into static libraries.
The rest of the code base compiles into a single shared library.  This means that most everything occurs in one single CMakeLists.txt file using standard cmake commands.
All headers are installed into targets/include when make install is called.  The main library is installed into targets/lib.
The code definitions that reflect compiler oddities (e.g. is std::hash<int128_t> defined) are dumped into a single header file, src/turi_common.h, at configure time.  All source files and headers now include this file first.  This allows other programs to link against this library / headers reliably.
The python part of TuriCreate now builds through the standard setup.py method. Cython / pybind11 extensions are compiled and packaged using the standard extensions mechanisms and linking against the installed Turi headers.

WIP TODO: The python installation, deployment building.
To review:  Essentially it's all in the root CMakeLists.txt file, with some changes to ./configure.  Just focus on those two.

forked in #3065.


HTTPError 302 when Extracting URL: https://www.facebook.com/reel/3399817376948660

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm reporting that yt-dlp is broken on a supported site
[X] I've verified that I'm running yt-dlp version 2023.03.04 (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[X] I've read about sharing account credentials and I'm willing to share it if required

Region
Netherlands
Provide a description that is worded well enough to be understood
I tried to download a facebook reel which was sent to me. I don't have a facebook account.
When opening it Brave browser, the reel shows a warning banner in the bottom:
Partly false information. Checked by independent fact-checkers.. Maybe it's related?
yt-dlp failed with a  HTTP Error 302: The HTTP server returned a redirect error that would lead to an infinite loop.
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
[debug] Command-line config: ['-f', 'best', 'https://www.facebook.com/reel/3399817376948660', '-vU']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>[392389b7d] (win_exe)
[debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.19045-SP0 (OpenSSL 1.1.1k  25 Mar 2021)
[debug] exe versions: ffmpeg 4.3.2-2021-02-02-essentials_build-www.gyan.dev, ffprobe 4.3.2-2021-02-02-essentials_build-www.gyan.dev
[debug] Optional libraries: Cryptodome-3.17, brotli-1.0.9, certifi-2022.12.07, mutagen-1.46.0, sqlite3-2.6.0, websockets-10.4
[debug] Proxy map: {}
WARNING: "-f best" selects the best pre-merged format which is often not the best option.
         To let yt-dlp download and merge the best available formats, simply do not pass any format selection.
         If you know what you are doing and want only the best pre-merged format, use "-f b" instead to suppress this warning
[debug] Loaded 1786 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Available version<EMAIL_ADDRESS>Current version<EMAIL_ADDRESS>Current Build Hash: 5590c57bd0433ed239a2deaaf92e2ad6f37fe50f53664c821575cafe106a9421
yt-dlp is up to date<EMAIL_ADDRESS>[facebook:reel] Extracting URL: https://www.facebook.com/reel/3399817376948660
[facebook] Extracting URL: https://m.facebook.com/watch/?v=3399817376948660&_rdr
[facebook]<PHONE_NUMBER>948660: Downloading webpage
ERROR: [facebook]<PHONE_NUMBER>948660: Unable to download webpage: HTTP Error 302: The HTTP server returned a redirect error that would lead to an infinite loop.
The last 30x error message was:
Found (caused by <HTTPError 302: 'The HTTP server returned a redirect error that would lead to an infinite loop.\nThe last 30x error message was:\nFound'>); please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
  File "yt_dlp\extractor\common.py", line 694, in extract
  File "yt_dlp\extractor\facebook.py", line 703, in _real_extract
  File "yt_dlp\extractor\facebook.py", line 381, in _extract_from_url
  File "yt_dlp\extractor\common.py", line 1097, in _download_webpage
  File "yt_dlp\extractor\common.py", line 1048, in download_content
  File "yt_dlp\extractor\common.py", line 882, in _download_webpage_handle
  File "yt_dlp\extractor\common.py", line 839, in _request_webpage

  File "yt_dlp\extractor\common.py", line 821, in _request_webpage
  File "yt_dlp\YoutubeDL.py", line 3742, in urlopen
  File "urllib\request.py", line 531, in open
  File "urllib\request.py", line 640, in http_response
  File "urllib\request.py", line 563, in error
  File "urllib\request.py", line 502, in _call_chain
  File "urllib\request.py", line 755, in http_error_302
  File "urllib\request.py", line 531, in open
  File "urllib\request.py", line 640, in http_response
  File "urllib\request.py", line 563, in error
  File "urllib\request.py", line 502, in _call_chain
  File "urllib\request.py", line 755, in http_error_302
  File "urllib\request.py", line 531, in open
  File "urllib\request.py", line 640, in http_response
  File "urllib\request.py", line 563, in error
  File "urllib\request.py", line 502, in _call_chain
  File "urllib\request.py", line 755, in http_error_302
  File "urllib\request.py", line 531, in open
  File "urllib\request.py", line 640, in http_response
  File "urllib\request.py", line 563, in error
  File "urllib\request.py", line 502, in _call_chain
  File "urllib\request.py", line 755, in http_error_302
  File "urllib\request.py", line 531, in open
  File "urllib\request.py", line 640, in http_response
  File "urllib\request.py", line 563, in error
  File "urllib\request.py", line 502, in _call_chain
  File "urllib\request.py", line 755, in http_error_302
  File "urllib\request.py", line 531, in open
  File "urllib\request.py", line 640, in http_response
  File "urllib\request.py", line 563, in error
  File "urllib\request.py", line 502, in _call_chain
  File "urllib\request.py", line 755, in http_error_302
  File "urllib\request.py", line 531, in open
  File "urllib\request.py", line 640, in http_response
  File "urllib\request.py", line 563, in error
  File "urllib\request.py", line 502, in _call_chain
  File "urllib\request.py", line 755, in http_error_302
  File "urllib\request.py", line 531, in open
  File "urllib\request.py", line 640, in http_response
  File "urllib\request.py", line 563, in error
  File "urllib\request.py", line 502, in _call_chain
  File "urllib\request.py", line 755, in http_error_302
  File "urllib\request.py", line 531, in open
  File "urllib\request.py", line 640, in http_response
  File "urllib\request.py", line 563, in error
  File "urllib\request.py", line 502, in _call_chain
  File "urllib\request.py", line 755, in http_error_302
  File "urllib\request.py", line 531, in open
  File "urllib\request.py", line 640, in http_response
  File "urllib\request.py", line 563, in error
  File "urllib\request.py", line 502, in _call_chain
  File "urllib\request.py", line 744, in http_error_302
urllib.error.HTTPError: HTTP Error 302: The HTTP server returned a redirect error that would lead to an infinite loop.
The last 30x error message was:
Found

for this video - https://www.facebook.com/reel/3399817376948660
copy the URL and paste it in a new tab, change www to mbasic, play the video
and the video will open in another new tab, copy the URL to download the video

ok. i changed www. to mbasic. and so, i navigated to  https://mbasic.facebook.com/reel/3399817376948660
it moved to https://mbasic.facebook.com/login.php?next=https%3A%2F%2Fmbasic.facebook.com%2Fgail.richards.9699%2Fvideos%2F3399817376948660%2F%3Fextid%3Dreels%26refsrc%3Ddeprecated&refsrc=deprecated&_rdr
Requiring me to login first. (but i don't have a facebook account)

are you able to watch the video in the mbasic tab page ??

No, it goes to a login page, which blocks viewing

reproducible in a browser, by clicking share, copy link and then pasting that link


Implicit conversions that lose precision should be compile errors

Problem
Consider this code:
void foo(uint16_t arg) {
}
uint32_t bar();
void baz() {
    foo(bar());
}

This code, when placed inside CHIP code or one of our sample apps, compiles just fine (failing to link because bar is not in fact defined).  It might be better if it did not, because the call to foo is dropping the high 2 bytes of the return value of bar.  This is particularly relevant because PacketBuffer takes its size as uint16_t in some cases (see https://github.com/project-chip/connectedhomeip/issues/1633) so we could run into problems where different parts of the system disagree about the amount of data in a PacketBuffer.
Proposed Solution
Add -Werror=conversion or equivalent to our build flags.
@mspang @rwalker-apple @bhaskar-apple

OK, I'm going to split this up into pieces and do part of the tree at a time, because otherwise the diff will be huge and things will bitrot...
Once all the pieces are done, we can set this as a global flag in gn/build/config/compiler/BUILD.gn (e.g. in the "strict_warnings" config would make sense, I think).


sw_engine: prevent long overflow

If long has 32 bits on the system, it is possible
to go beyond the range of variable values.
As a workaroung introduced counter to prevent infinite loop.
@Issue: https://github.com/thorvg/thorvg/issues/2651

https://github.com/thorvg/thorvg/pull/2815


[CLI] Wandb import pollutes sys.modules with deprecated graphql version

Description
When importing wandb, it also imports graphql from the vendors folder. This is version 1.1, which is really old. The latest version is 3.2.0. This breaks other libraries that want to use graphql and require a newer version, if wandb is imported before that library.
Wandb features
import wandb
How to reproduce
First install the latest graphql and wandb:
pip install wandb==0.12.10 graphql-core==3.2.0

The following script demonstrates and explains the error.
Uncomment one of the lines in the main to see how the behavior changes. I also added a workaround that deletes the modules from sys.modules again after the import, but I am not sure how that affects wandb functionality.
The line that is currently uncommented produces the following error:
Traceback (most recent call last):
  File "/home/veith/Projects/debug-graphql/wandb_graphql_demo/break_the_import.py", line 51, in <module>
    demo_wandb_breaks_graphql_import()
  File "/home/veith/Projects/debug-graphql/wandb_graphql_demo/break_the_import.py", line 22, in demo_wandb_breaks_graphql_import
    do_graphql_import()
  File "/home/veith/Projects/debug-graphql/wandb_graphql_demo/break_the_import.py", line 5, in do_graphql_import
    _ = graphql.GraphQLResolveInfo  # will cause an AttributeError if graphql version is too low
AttributeError: module 'graphql' has no attribute 'GraphQLResolveInfo'

def do_graphql_import() -> None:
    import graphql
    print(graphql.__version__)
    _ = graphql.GraphQLResolveInfo  # will cause an AttributeError if graphql version is too low

def demo_wandb_breaks_graphql_import(do_workaround: bool = False) -> None:
    # noinspection PyUnresolvedReferences
    import wandb
    if do_workaround:
        import sys
        # remove the graphql module exposed by wandb
        # not sure if this breaks any wandb functionality
        remove = []
        for name in sys.modules.keys():
            if "graphql" in name:
                remove.append(name)
        print(f"Removing the following modules as a workaround: {remove}")
        for remove_module in remove:
            sys.modules.pop(remove_module)
    do_graphql_import()

"""
Executing this file will result in the following unexpected / potentially breaking behavior:

wandb is imported first, which exposes the "graphql" module that is bundled with wandb
under wandb/vendor/gql-0.2.0 as a module in sys.modules.
This is graphql version 1.1.0 (contradicting the folder name?), which is really old. The latest version in 3.2.0.

Now when the graphql import happens, and it is already exposed in sys.modules from wandb,
it does not import the version that is required (>=3.2.0) by this package,
but (correctly) assumes that it is already imported.
The problem is that the version is so old that some things don't exist anymore, which breaks 3rd party libraries.
An example of this is the "apischema" library, which can now not be imported any more if wandb is imported first.
(E.g. install apischema and try `python -c "import wandb; import apischema"`)

This is very confusing behavior. If wandb still depends on such an old version of graphql, it would be great
if it could not globally expose that module.
If you first import graphql and then wandb, it seems to work, but I am not sure if wandb can handle the newer version.
"""

if __name__ == '__main__':
    # TODO Uncomment one of these lines and execute to see that wandb overwrites the graphql import
    #  It only works if you
    #  - don't import wandb first
    #  - or do the workaround of removing the graphql modules after the wandb import

    # do_graphql_import()
    demo_wandb_breaks_graphql_import()
    # demo_wandb_breaks_graphql_import(do_workaround=True)

If wandb really depends on such an old graphql version and even bundles it with the package (it is not listed in the dependencies), then I would expect that it does not pollute the namespace for other libraries that require a newer version.
Environment

OS: [Ubuntu 20.04]
Environment: [e.g. Local virtual environment]
Python Version: [3.8]

This seems to be resolved with the 0.12.11 release, so I will close the issue. Thanks!


Links in https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/app-sso/nodejs/client/readme.md need to be updated

all links referencing facebook.github.io needs to be updated to correct location at https://create-react-app.dev/docs/code-splitting/

@TheBluLion - The links have been updated. Thank you. We are closing this issue, please feel free to reach out to us if you face any issue.

We are closing this issue, please feel free to reach out to us if you have any questions. Thank you.


Create a partner page

Description
We should create a partner page so we can link to different partner offering that we have, including:

Rexroth
AWS
Digital Ocean

I would have the page linked under the company menu.
Epic/Story
No response
Have you provided an initial effort estimate for this issue?
I have provided an initial effort estimate

Thinking about this a bit more. We need to define some partner categories. I think we have the following:

Referral partners  - what have this page https://flowfuse.com/partners/
Hosting partners - AWS and Digital Ocean
PLC Partners - Bosch Rexroth

Some text for the page.
Title: FlowFuse Partners
Description: FlowFuse partners with leading cloud, hardware, technology and consulting companies to provide a complete solution that allows our customers to deliver results using Node-RED and FlowFuse.
Section 1:
Title: Cloud Providers
Description: FlowFuse is available for deployment from the marketplace of the following Cloud providers.
Amazon
Digital Ocean
Section 2.
Title: Hardware Partners
Description: FlowFuse partners with key industry hardware partners to provide an integrated experience using Node-RED and FlowFuse.
Bosch Rexroth
Section 3.
Title: Referral partners
Description: FlowFuse partners with different solution providers to encourage them to recommend and support Node-RED and FlowFuse with their customers.
https://docs.google.com/spreadsheets/d/1y_QDHXt0g9CGvQCsF12zH5nFTmkdfl0rLLRWI85sOMk/edit?usp=sharing

We should repurpose the existing partner page https://flowfuse.com/partners/ with this new page. The existing page should be moved to https://flowfuse.com/partners/referral-sign-up

HI @iskerrett I've created a mockup with the information you provided in this issue. Should the logos be linked to specific pages? For instance, should the Rexroth logo link to the /ctrlx page?

Under the 'Partners' section, I've added an 'Apply Now' button that will link to the /referral-sign-up page.
Please let me know if this aligns with your vision or if you have a reference for something different.

I looked for references, but most of them seem to emphasize the benefits of being a partner. Do we offer any benefits? Just thinking if we could add more info to this page.
Here are a few references I found (not all are in the same industry as us):
https://www.mendix.com/partners/
https://monday.com/partnership
https://www.wrike.com/partners/

I looked for references, but most of them seem to emphasize the benefits of being a partner. Do we offer any benefits? Just thinking if we could add more info to this page.
Here are a few references I found (not all are in the same industry as us): https://www.mendix.com/partners/ https://monday.com/partnership https://www.wrike.com/partners/

I wouldn't worry about benefits right now. I'd rather do a fast iteration on this page so we can move on to other pages.

The referral partners should just link to the company home page.

So, should I remove the button that links to the /referral-sign-up page?

The referral partners should just link to the company home page.

So, should I remove the button that links to the /referral-sign-up page?

No please keep the link to the sign-up page. We want to encourage more referral partners.

The referral partners should just link to the company home page. @MarianRaphael needs to confirm with each referral partner if they are okay with us hosting their logo.

I'll reach out and check if it's okay for them


How long will I have to wait to use Jax if this is my Gemfile?

I went through Michael Hartl's Rails Tutorial for the second time just to get a refresher after taking some time off.  I have a project idea that I really want to get to work on.  I through the jax gem into my Gemfile and got an incompatibility error message.  How long before I can use the jax gem within this configuration?  Thanks in advance!
My Gemfile:
source 'https://rubygems.org'

gem 'rails',                   '4.2.0.beta2'
gem 'bcrypt',                  '3.1.7'
gem 'faker',                   '1.4.2'
gem 'carrierwave',             '0.10.0'
gem 'mini_magick',             '3.8.0'
gem 'fog',                     '1.23.0'
gem 'will_paginate',           '3.0.7'
gem 'bootstrap-will_paginate', '0.0.10'
gem 'bootstrap-sass',          '<IP_ADDRESS>'
gem 'sass-rails',              '5.0.0.beta1'
gem 'uglifier',                '2.5.3'
gem 'coffee-rails',            '4.0.1'
gem 'jquery-rails',            '3.1.2'
gem 'turbolinks',              '2.3.0'
gem 'jbuilder',                '2.1.3'
gem 'rails-html-sanitizer',    '1.0.1'
gem 'sdoc',                    '0.4.0', group: :doc
gem 'pg'

group :development, :test do
  gem 'byebug',      '3.4.0'
  gem 'web-console', '2.0.0.beta3'
  gem 'spring',      '1.1.3'
end

group :test do
  gem 'minitest-reporters', '1.0.5'
  gem 'mini_backtrace', '0.1.3'
  gem 'guard-minitest', '2.3.1'
end

group :production do
  gem 'rails_12factor', '0.0.2'
  gem 'unicorn',        '4.8.3'
end

# These were not suggested by the tutorial
gem 'bootstrap_form'
gem 'jax'

When I run bundle install, I get the following message:
 bundle install
Fetching gem metadata from https://rubygems.org/.........
Fetching additional metadata from https://rubygems.org/..
Resolving dependencies...
Bundler could not find compatible versions for gem "rails":
  In Gemfile:
    jax (>= 0) ruby depends on
      rails (~> 3.1.0) ruby

    rails (4.2.0.beta2)

Bundler could not find compatible versions for gem "rake":
  In Gemfile:
    jax (>= 0) ruby depends on
      rake (~> 0.8.7) ruby

    rails (= 4.2.0.beta2) ruby depends on
      railties (= 4.2.0.beta2) ruby depends on
        rake (10.3.2)

Bundler could not find compatible versions for gem "bundler":
  In Gemfile:
    jax (>= 0) ruby depends on
      bundler (~> 1.0.10) ruby

  Current Bundler version:
    bundler (1.6.3)

This Gemfile requires a different version of Bundler.
Perhaps you need to update Bundler by running `gem install bundler`?

I have the same problem. Maybe we could build jax from source using the current versions of ruby and bundler, but I don't know how to do that or if this gem contains anything useful for me if I can't run it. Thanks


removed resetAll from operations, and allocating qubits inside the lo…

Resolved issue #1370

Thanks for working on this, @goshua13 !


Added !mock, a script that will mock previous messages in a channel

PTAL :^)

This would make a good little code golf puzzle
from random import choice
''.join(choice([c.upper, c.lower])() for c in message)


Mongo Db environment variable is named MONGOLAB_URI in heroku

Application unable to start because of this with default settings, adding MONGODB to heroku variable works or possibly adding check for MONGOLAB_URI in secrets.js.

Something internally is not using the MongoDB setting form the secrets.js

I will keep it as is since @adammendoza mentioned that he had a similar issue even with MONGOLAB_URI in secrets.js. Plus, what if someone is using Compose (MongoHQ) instead of MongoLab.


KeyError: 'rw_file_cache_path'

In the config template is says Config settings for the RW cache if enabled.  I dont have RW cache enabled so I removed those 3 entries but now it complains I dont have rw_file_cache_path specified
at2 check-config
Traceback (most recent call last):
  File "/var/services/homes/.autotorrent/bin/at2", line 8, in <module>
    sys.exit(cli())
  File "/var/services/homes/.autotorrent/lib/python3.8/site-packages/click/core.py", line 1130, in __call__
    return self.main(*args, **kwargs)
  File "/var/services/homes/.autotorrent/lib/python3.8/site-packages/click/core.py", line 1055, in main
    rv = self.invoke(ctx)
  File "/var/services/homes/.autotorrent/lib/python3.8/site-packages/click/core.py", line 1654, in invoke
    super().invoke(ctx)
  File "/var/services/homes/.autotorrent/lib/python3.8/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/var/services/homes/.autotorrent/lib/python3.8/site-packages/click/core.py", line 760, in invoke
    return __callback(*args, **kwargs)
  File "/var/services/homes/.autotorrent/lib/python3.8/site-packages/click/decorators.py", line 26, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/var/services/homes/.autotorrent/lib/python3.8/site-packages/autotorrent/__main__.py", line 143, in cli
    ctx.obj.update(parse_config_file(config, utf8_compat_mode=utf8_compat_mode))
  File "/var/services/homes/.autotorrent/lib/python3.8/site-packages/autotorrent/__main__.py", line 73, in parse_config_file
    parsed_config["rw_file_cache_path"],
KeyError: 'rw_file_cache_path'

Fixed in 1.0.2, thanks for reporting these !


📄 Vite in build tools

What is the improvement or update you wish to see?
Add documentation for Vite on the Master Docs, currently this is missing and already released, so documenting this would be great for people unfamilar.
Docs page
No response

https://github.com/master-co/css/tree/beta/examples/vite will be included in the upcoming 2.0 beta docs.

@1aron I think there is something wrong with the documentation, because when I follow the steps and run npm run dev I get the following error:
> dev
> vite

✗ Cannot find master.css.{ts,js,mjs,cjs} config

@1aron I think there is something wrong with the documentation, because when I follow the steps and run npm run dev I get the following error:
> dev
> vite

✗ Cannot find master.css.{ts,js,mjs,cjs} config

This is a bad terminal output, which has been improved in recent releases #163.

https://beta.css.master.co/docs/guides/vite


Duplicated code has been removed.

Resolve #89

Coverage remained the same at 45.532% when pulling f5f2dab481d7e713174164a5adbfeb265ebe1204 on get-rid-of-duplicated-code-in-object-generators into 95b8dde3d51ab544a1164d6fe3578c690a2c77b7 on master.

Coverage remained the same at 45.587% when pulling 5bdf71c1b4186302895cb2362931eab0a550b1d2 on get-rid-of-duplicated-code-in-object-generators into d75209e70a23f2adf44280011605c37f95775c6d on master.


Doesn't read values with special symbols

A cell value with percent (55%) is displayed nicely in the chart, but values like $223 make the plugin render empty graph.
Workaround is to add the symbol via css :before and :after attributes.

@C10ne if we create callback function thath will be called on each value to clean those values (with the callback function that must be written be every user of this library), will this be ok for you ?
maybe something like this :
  $('table.highchart')
  .bind('highchartTable.cleanValue', function(event, value) {
    return value.replace('$', '');
 });

Well, I made a workaround by adding css pseudo classes. But this sollution could also work.

I have run into similar issues with £, did the cleanValue callback every get implemented?

James


is there any function to add marker on user click

Searched a lot but not got any help how can we implement marker when user clicks on mapview

The sample app has a number of press to plot examples
On Wed, Feb 27, 2019, 6:18 AM AviShek Adhikari<EMAIL_ADDRESS>wrote:

Searched a lot but not got any help how can we implement marker when user
clicks on mapview
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/osmdroid/osmdroid/issues/1284, or mute the thread
https://github.com/notifications/unsubscribe-auth/AB4kGQei25490jsFRDVa3AONYx7O7Tvgks5vRmd8gaJpZM4bUR4c
.

Like in the demo, "More samples / bookmarks / bookmark samples" with a long click.

@wisdomrider Did that answer your question? If so please close the issue.

yes i got it

It looks like the issue is solved: I'm closing it.
@wisdomrider Feel free to open a new one if needed.


'KubeletCheck' object has no attribute 'kubelet_credentials'

Additional environment details (Operating System, Cloud provider, etc):

k8s: 1.12.5-gke.5
datadog-agent: 6.10.1

Steps to reproduce the issue:

Run datadog-agent:6.10.1 in a cluster.

Describe the results you received:
I'm getting the following warning on startup of any 6.10.1 datadog agents in a Kubernetes cluster on GKE with version 1.12.5-gke.5:
[ AGENT ] 2019-03-08 20:38:29 UTC | WARN | (pkg/collector/py/datadog_agent.go:148 in LogMessage) | (kubelet.py:264) | kubelet check https://<IP_ADDRESS>:10250/healthz failed: 'KubeletCheck' object has no attribute 'kubelet_credentials'

Describe the results you expected:
Not getting this warning and the failed health check.
Additional information you deem important (e.g. issue happens only occasionally):
Looks like the kubelet_credentials value is created here in KubeletCheck.check(..) but used here in KubeletCheck.perform_kubelet_query(..).
The offending method would be KubeletCheck.check(..) call to _perform_kubelet_check here which therefore attempts to call the method which uses those credentials before the method which instantiates them.

I am experiencing the same issue on an On-Premise cluster running v1.13.4 and Agent v6.10.2

I am seeing the same on agent 6.10.2.

Indeed, there is a lifecycle issue in the kubelet check. Although subsequent runs will be OK, the first check run will fail, creating a false-positive on the service check. https://github.com/DataDog/integrations-core/pull/3457 will fix it.
In the meantime, you can set monitors to only trigger on two+ consecutive failed checks, to filter out this blip.

Thanks for the fix @xvello!

My bad, should have closed this issue -- I've verified its fixed as of 6.11.0. Thanks again!


no space left on device

Expected behavior
docker pull seth/oracle-12c:latest successful
Actual behavior
write /var/lib/docker/tmp/GetImageBlob897658874: no space left on device
Information about the Issue
I have enough space on my fs.
Steps to reproduce the behavior

docker pull

This is pretty common when you download a lot of images. The virtualbox disk that gets created is only 20gb to prevent taking over the user's laptop.
You can update the space it uses by following the wiki:
https://github.com/docker/kitematic/wiki/Common-Issues-and-Fixes#running-out-of-space
Another option is to cleanup the different images found by doing docker images


setNativeProps does not work with text property on Text component

Environment
  React Native Environment Info:
    System:
      OS: macOS 10.14.1
      CPU: (8) x64 Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz
      Memory: 123.34 MB / 16.00 GB
      Shell: 5.3 - /bin/zsh
    Binaries:
      Node: 8.11.3 - /usr/local/bin/node
      Yarn: 1.10.1 - ~/.yarn/bin/yarn
      npm: 5.6.0 - ~/n/bin/npm
      Watchman: 4.9.0 - /usr/local/bin/watchman
    SDKs:
      iOS SDK:
        Platforms: iOS 12.1, macOS 10.14, tvOS 12.1, watchOS 5.1
      Android SDK:
        API Levels: 23, 24, 26, 27, 28
        Build Tools: 23.0.1, 26.0.2, 26.0.3, 27.0.3, 28.0.0, 28.0.0, 28.0.1, 28.0.2, 28.0.3
        System Images: android-27 | Google Play Intel x86 Atom
    IDEs:
      Xcode: 10.1/10B61 - /usr/bin/xcodebuild
    npmPackages:
      react: 16.6.3 => 16.6.3
      react-native: 0.57.8 => 0.57.8
    npmGlobalPackages:
      create-react-native-app: 1.0.0
      generator-module-react-native: 0.0.2
      react-native-cli: 2.0.1
      react-native-create-bridge: 1.2.1
      react-native-create-library: 3.1.2
      react-native-git-upgrade: 0.2.7

Description
setNativeProps does not work with text property on Text component.
Reproducible Demo
See this repo:
https://github.com/tychota/bugSetNativePropsText
Expected:

first print "-" then goes from 0 to 100 in 2 seconds

Real life:

prints "-"  on 🍎 (ios), then  does nothing
prints "-"  on 🤖 (android), then  does nothing

People to CC

@shergin (followup of twitter conversation)
@rigdern (as requested by @shergin)

Cause hypothesis
AFAIK:

there is two component involved in rendering a text: a RCTText and a RCTRawText
while most of the properties are handled by the RCTText (eg opacity, color, ect), the text itself is handled by RCTRawText
there is no property in the RCTText (or its parent RCTBaseText) to set text

Next steps
I'm willing to contribute.
I think we can do something similar to https://github.com/facebook/react-native/commit/2307ea60d03edd234511bfe32474c453f30c1693.
Not sure exactly how to get the text since the information must be in attributed string and I would like to keep having one single source of True (hence not duplicating text and adding it as property like previous commit).

patch-package
--- a/node_modules/react-native/Libraries/Text/BaseText/RCTBaseTextShadowView.m
+++ b/node_modules/react-native/Libraries/Text/BaseText/RCTBaseTextShadowView.m
@@ -73,6 +73,33 @@ static void RCTInlineViewYogaNodeDirtied(YGNodeRef node)
   [super removeReactSubview:subview];
 }

+- (NSString *)text
+{
+  NSString *text;
+  for (RCTShadowView *shadowView in self.reactSubviews) {
+    // Special Case: RCTRawTextShadowView
+    if ([shadowView isKindOfClass:[RCTRawTextShadowView class]]) {
+      RCTRawTextShadowView *rawTextShadowView = (RCTRawTextShadowView *)shadowView;
+      text = rawTextShadowView.text;
+      continue;
+    }
+  }
+  return text;
+}
+
+- (void)setText:(NSString *)text
+{
+  for (RCTShadowView *shadowView in self.reactSubviews) {
+    // Special Case: RCTRawTextShadowView
+    if ([shadowView isKindOfClass:[RCTRawTextShadowView class]]) {
+      RCTRawTextShadowView *rawTextShadowView = (RCTRawTextShadowView *)shadowView;
+      rawTextShadowView.text = text;
+      continue;
+    }
+  }
+  [self dirtyLayout];
+}
+
 #pragma mark - attributedString

 - (NSAttributedString *)attributedTextWithBaseTextAttributes:(nullable RCTTextAttributes *)baseTextAttributes
--- a/node_modules/react-native/Libraries/Text/BaseText/RCTBaseTextViewManager.m
+++ b/node_modules/react-native/Libraries/Text/BaseText/RCTBaseTextViewManager.m
@@ -26,6 +26,7 @@ RCT_EXPORT_MODULE(RCTBaseText)
 #pragma mark - Text Attributes

 // Color
+RCT_EXPORT_SHADOW_PROPERTY(text, NSString)
 RCT_REMAP_SHADOW_PROPERTY(color, textAttributes.foregroundColor, UIColor)
 RCT_REMAP_SHADOW_PROPERTY(backgroundColor, textAttributes.backgroundColor, UIColor)
 RCT_REMAP_SHADOW_PROPERTY(opacity, textAttributes.opacity, CGFloat)
--- a/node_modules/react-native/Libraries/Text/Text.js
+++ b/node_modules/react-native/Libraries/Text/Text.js
@@ -65,6 +65,7 @@ const viewConfig = {
     minimumFontScale: true,
     textBreakStrategy: true,
     onTextLayout: true,
+    text: true
   },
   directEventTypes: {
     topTextLayout: {

makes it works on iOS, provided the props is send in form of string, eg:
export default class App extends Component<Props, State> {
  textRef = createRef();
  state = {
    progress: new Animated.Value(0)
  };

  componentDidMount() {
    this.state.progress.addListener(ev => {
      this.textRef.current &&
        this.textRef.current.setNativeProps({
          text: Math.round(ev.value).toString()
        });
    });
    Animated.timing(this.state.progress, {
      toValue: 100,
      duration: 2000
    }).start();
  }

  render() {
    return (
      <Animated.View style={styles.container}>
        <Text style={styles.welcome} ref={this.textRef}>
          -
        </Text>
      </Animated.View>
    );
  }
}

If I forget the toString, I get:

Questions:

@shergin any tips how to use RCTConvert or so to force convert to string ?
@shergin what do you think of my current approach

Next, Android :)

For Android this seems to work:
/**
 * Copyright (c) 2015-present, Facebook, Inc.
 * <p>
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */

package com.facebook.react.views.text;

public class ReactTextShadowNode extends ReactBaseTextShadowNode {

    // .....

    @ReactProp(name = "text")
    public void setText(@Nullable String text) {
        List<ReactShadowNode> childrens = this.getChildrenList();
        if (childrens != null) {
            for (ReactShadowNode child : childrens) {
                if (child instanceof ReactRawTextShadowNode) {
                    ((ReactRawTextShadowNode) child).setText(text);
                }
            }
        }
        markUpdated();
    }
}

If the approach is OK, let me know, I will create a PR for further discussion.
If I don't answer ping me on Twitter (Github notification are hard to grasp): @tychota.

@tychota Thank you for working on this! 👍
Your approach is okay, but we can improve this a bit more.

We don't need a getter in ShadowView, let's just remove it.
Instead of mutating nested RawTextShadowViews, we have to introduce a new instance variable and store the value directly inside it. Then we have to use that as a prefix of a full value. Same way as we do in TextInput.

So, the output of def should be "abcdef". Actually, we probably want to make a case where both the property and nested content are not empty illegal. Adam put a lot of consideration into this topic, so I defer this decision to him. cc @rigdern
And maybe we want to go with "value" instead of "text". Adam, IIRC we discussed this as well, what do you think?

The problem I worked on is different but close enough that I have an opinion here.
I would say that it's not a bug that setNativeProps doesn't work on the text prop of a Text component. The Text component doesn't have a text prop. In addition to setNativeProps not doing anything, code like <Text text='foo' /> doesn't do anything. The way to render text is to pass it as children to the Text component: <Text>foo</Text>.
I just wanted to clarify that I consider our discussion here to be about a new feature rather than a bug fix.
Adding this new feature will introduce some complexity to the Text component:

Developers will have to decide between passing text as a prop to the Text component (e.g. <Text value='foo' />) and passing text as children to the Text component (e.g. <Text>foo</Text>). Today, developers don't have to give this any thought because the latter is the only option.
We'll have to handle the case that the developer passes Text as both a prop and as children (e.g. <Text value='foo'>bar</Text>). What would a developer expect to happen? Should there be a runtime error? Should one take priority over the other? Should we render them both?
Related to (2), a developer might end up having both the prop and the children set by passing the initial text as children and then using setNativeProps. Example: <Text>bar</Text> and later they do setNativeProps({ value: 'foo' }). We have to consider that our solution to (2) will also determine the behavior of (3).

@tychota can you describe the real world scenario you are trying to solve and why passing the text as children to the Text component isn't sufficient? Before we decide to add this feature, I want to make sure the benefits we'll get from it are worth the costs (some of which I listed above).
API Feedback
If we decide to go forward with this feature, here are some thoughts on the API:

I think the prop name should be value instead of text to match TextInput's API. I know that RCTRawText uses the prop name text but I think that RCTRawText is an implementation detail and isn't part of React Native's public API.
If you pass text as both a prop and as children to Text, I think we should copy TextInput's behavior. Unfortunately, TextInput does different things depending on the code path you take:

Failed assert (example).
The children are appended to the value prop.

For Text, I suppose we could do (i) for all code paths but we'll still need to do (ii) in case this happens in a release build where there are no asserts.
Adam Comella
Microsoft Corp.

Real Word scenario

@tychota can you describe the real world scenario you are trying to solve and why passing the text as children to the Text component isn't sufficient? Before we decide to add this feature, I want to make sure the benefits we'll get from it are worth the costs (some of which I listed above).

Fair point.
We actually discussed it with @shergin but offline.
The use case is performance.
Two examples in my current app:

Ex1: slider
Ex2: progress

In both case the performance is slugish. To give you an example with code:
1. Unoptimized version

click to see the code ...
export class CircleProgression extends PureComponent<IProps, IState> {
  public state: IState = {
    percentage: 0,
  };

  private iteration = 0;

  private circleDimensions = {
    diameter: 190,
    progressBarWidth: 15,
    get radius() {
      return this.diameter / 2 - this.progressBarWidth / 2;
    },
  };

  public componentDidMount() {
    setTimeout(this.animateProgress, 300);
  }

  public render() {
    const { chapter } = this.props;
    const { percentage } = this.state;
    const { diameter, radius, progressBarWidth } = this.circleDimensions;
    const perimeter = Math.PI * 2 * radius;
    const offset = perimeter * (1 - percentage / 100);

    return (
      <Container>
        <CircleContainer>
          <ProgressionCircleBackground>
            <Svg height={diameter} width={diameter}>
              <Circle
                cx={diameter / 2}
                cy={diameter / 2}
                r={radius}
                fill="none"
                stroke="#ffffff"
                strokeWidth={progressBarWidth}
                strokeDasharray={[perimeter]}
                strokeDashoffset={offset}
              />
            </Svg>
          </ProgressionCircleBackground>
          <Medallion
            source={this.getMedallionSource(chapter)}
            resizeMode="contain"
          />
        </CircleContainer>
        <ProgressionTextContainer>
          <ProgressionNumber>{Math.floor(percentage)}</ProgressionNumber>
          <ProgressionSymbol>%</ProgressionSymbol>
        </ProgressionTextContainer>
      </Container>
    );
  }

  private getMedallionSource = (chapter: TChapterName) => {
    return chapterData[chapter].imageSrc;
  };

  private animateProgress = () => {
    const { percentage } = this.state;
    const maxPercentage = chapterData[this.props.chapter].progressionPercentage;
    if (percentage >= maxPercentage) return;

    const newProgress = easeInOutExpo(
      this.iteration,
      0,
      maxPercentage / 100,
      70
    );
    this.setState({ percentage: newProgress * 100 });
    this.iteration += 1;
    requestAnimationFrame(this.animateProgress);
  };
}

The perf was horrible (drop around 15 fps in debug) still super slugish on release, even on good device (iphoneX and pixel).
2. Animated svg

click to see the code ...
export class CircleProgression extends PureComponent<IProps, IState> {
  public state: IState = {
   percentage: 0,
    animatedPercentage: new Animated.Value(INITIAL_PERCENTAGE),
  };

  public componentDidMount() {
    this.listenerId = this.state.animatedPercentage.addListener(e => {
      this.setState({percentage: e.value});
    });
    this.startAnimation();
  }

  public get maxPercentage() {
    return chapterData[this.props.chapter].progressionPercentage;
  }

  public componentWillUnmount() {
    this.state.animatedPercentage.removeListener(this.listenerId);
  }

  public render() {
    const { chapter } = this.props;
    const { diameter, radius, progressBarWidth } = this.circleDimensions;
    const perimeter = Math.PI * 2 * radius;
    const emptyArcSize = perimeter * (1 - this.maxPercentage / 100);

    const animatedOffset = this.state.animatedPercentage.interpolate({
      inputRange: [INITIAL_PERCENTAGE, this.maxPercentage],
      outputRange: [perimeter, emptyArcSize],
    });

    return (
      <Container>
        <CircleContainer>
          <ProgressionCircleBackground>
            <Svg height={diameter} width={diameter}>
              <AnimatedCircle
                cx={diameter / 2}
                cy={diameter / 2}
                r={radius}
                fill="none"
                stroke="#ffffff"
                strokeWidth={progressBarWidth}
                strokeDasharray={[perimeter]}
                strokeDashoffset={animatedOffset}
              />
            </Svg>
          </ProgressionCircleBackground>
          <Medallion
            source={this.getMedallionSource(chapter)}
            resizeMode="contain"
          />
        </CircleContainer>
        <ProgressionTextContainer>
          <ProgressionNumber>{Math.floor(this.state.percentage)}</ProgressionNumber>
          <ProgressionSymbol>%</ProgressionSymbol>
        </ProgressionTextContainer>
      </Container>
    );
  }

  private startAnimation = () => {
    Animated.timing(this.state.animatedPercentage, {
      toValue: this.maxPercentage,
      delay: ANIMATION_DELAY,
      duration: ANIMATION_DURATION,
      useNativeDriver: true,
    }).start();
  };

  private getMedallionSource = (chapter: TChapterName) => {
    return chapterData[chapter].imageSrc;
  };
}

We upgraded rn-svg and last version support native driver.
Perf is way better but still not ok, especially, the text finish animating later than svg
3. Trick, using Textinput

click to see the code ...
export class CircleProgression extends PureComponent<IProps, IState> {
  public state: IState = {
    animatedPercentage: new Animated.Value(INITIAL_PERCENTAGE),
  };

  private progression: React.RefObject<TextInput> = React.createRef();

  public componentDidMount() {
    this.listenerId = this.state.animatedPercentage.addListener(e => {
      this.updateNativePercentage(e.value);
    });
    this.startAnimation();
  }

  public get maxPercentage() {
    return chapterData[this.props.chapter].progressionPercentage;
  }

  public componentWillUnmount() {
    this.state.animatedPercentage.removeListener(this.listenerId);
  }

  public render() {
    const { chapter } = this.props;
    const { diameter, radius, progressBarWidth } = this.circleDimensions;
    const perimeter = Math.PI * 2 * radius;
    const emptyArcSize = perimeter * (1 - this.maxPercentage / 100);

    const animatedOffset = this.state.animatedPercentage.interpolate({
      inputRange: [INITIAL_PERCENTAGE, this.maxPercentage],
      outputRange: [perimeter, emptyArcSize],
    });

    return (
      <Container>
        <CircleContainer>
          <ProgressionCircleBackground>
            <Svg height={diameter} width={diameter}>
              <AnimatedCircle
                cx={diameter / 2}
                cy={diameter / 2}
                r={radius}
                fill="none"
                stroke="#ffffff"
                strokeWidth={progressBarWidth}
                strokeDasharray={[perimeter]}
                strokeDashoffset={animatedOffset}
              />
            </Svg>
          </ProgressionCircleBackground>
          <Medallion
            source={this.getMedallionSource(chapter)}
            resizeMode="contain"
          />
        </CircleContainer>
        <ProgressionNumber ref={this.progression} />
      </Container>
    );
  }

  private startAnimation = () => {
    Animated.timing(this.state.animatedPercentage, {
      toValue: this.maxPercentage,
      delay: ANIMATION_DELAY,
      duration: ANIMATION_DURATION,
      useNativeDriver: true,
    }).start();
  };

  private updateNativePercentage = (newValue: number) => {
    const currentProgression = this.progression.current;
    if (currentProgression) {
      currentProgression.setNativeProps({
        text: `${Math.floor(newValue)}%`,
      });
    }
  };

  private getMedallionSource = (chapter: TChapterName) => {
    return chapterData[chapter].imageSrc;
  };
}

const ProgressionNumber = styled.TextInput.attrs({
  editable: false,
  defaultValue: `${INITIAL_PERCENTAGE}%`,
})`
  font-family: ${({ theme }) => theme.fonts.primary.bold};
  color: ${({ theme }) => theme.colors.white};
  font-size: ${({ theme }) => theme.fontSizes.hugeTitle};
`;

Consistant frame rate on JS and native thread,  max drop to 53fps, super fluid even on low device (galaxy s3).
But using text input is super hacky.
Slider (example 1)
The slider is even worth, user side of view. Since user do a gesture, animation as not only to be fluid but be also in sync. That is impossible to do without nativeDriver (or @kmagiera reanimated).
Is the example clearer, @rigdern ?

Solutions comparison
Solution 1: props value or text
Description, POC: see above
Note: in comparison to what you said, text seems to work see:
https://github.com/facebook/react-native/blob/7de2f77d20b600ba30856d75660357ce7577f9ca/Libraries/Text/TextInput/RCTBaseTextInputShadowView.m#L105-L118
Pro/cons:

👍relatively easy to implement (see POC)
👎pirate props that can make conflicts
👎 a bit hacky (I'm not sure to understand the reason of RawText implementation details)

Solution 2: textRef.setNativeRef
Description
In react Instance, we add setNativeTextand connect it only when the ref is type of Text (no sure how to do).
That will allow us to do something like this:
export class CircleProgression extends PureComponent<IProps, IState> {
  public state: IState = {
    animatedPercentage: new Animated.Value(INITIAL_PERCENTAGE),
  };

  private progression: React.RefObject<Text> = React.createRef();

  public componentDidMount() {
    this.listenerId = this.state.animatedPercentage.addListener(e => {
      this.updateNativePercentage(e.value);
    });
    this.startAnimation();
  }

  public render() {
    return (
      <Container>
        <Text ref={this.progression} />
      </Container>
    );
  }

  private startAnimation = () => {
    Animated.timing(this.state.animatedPercentage, {
      toValue: this.maxPercentage,
      delay: ANIMATION_DELAY,
      duration: ANIMATION_DURATION,
      useNativeDriver: true,
    }).start();
  };

  private updateNativePercentage = (newValue: number) => {
    const currentProgression = this.progression.current;
    if (currentProgression) {
      // See Here
      // ↓↓↓↓↓↓↓↓
      currentProgression.setNativeText(`${Math.floor(newValue)}%`);
    }
  };
}

POC
ReactNativeFiberHostComponent.prototype.setNativeText = function(nativeText) {
  UIManager.updateNestedView(
    this._nativeTag,
    "RCTRawText",
    { "text": nativeText }
  );
};

UIManager.updateNestedView is a new method that loop under the subviews to find matching component.
Pro/cons:

👍less chance conflict
👍I feel it is more classsy and easily teachable
👍no new props
👎styled-component may need to adapt so we can can call setNativeText in styled.Text
👎more complex to implement (like super complex actually, I think, because we need a way to find the RawText given a Text handle so at least add a method to UIManager : a good method can be UIManager.updateNestedView(parentHandle, childrenClass, props) because it can be used in other cases where a component have an implementation in two native components)

@rigdern and @shergin: what do you think ?
Should I involve other people to the decision ?

@tychota thanks for your detailed posts. Understanding the real world problem you are encountering is very helpful.
Reading thru your two examples, I think you are talking about several different problems:

Frame rate of animating changes to a Text value.
Keeping Text value animation in sync with another animation (e.g. SVG) or a user gesture (e.g. slider).
Frame rate of animating an SVG.
Frame rate of user interacting with a slider.

For example in "Progress (example 2) -- 2. Animated svg", you mentioned that upgrading rn-svg improved the performance. I suspect that the improvement is all due to (3).
I think this GitHub issue should focus on (1) and (2).
Let's talk about what an ideal API might look like. Once that's decided, we can see how to implement it.
If your problem is all about animating the value of Text, then we'll want to integrate with Animated. Something like this (you mentioned this under "Solution 3: animate string property"):
Notes about examples:

The example code will only be useful if #18187 is merged.
Assume that animatedValue is of type Animated.Value or something similar.

// Animated.Value in `Text` children
//

<Text>
  {animatedValue}
</Text>

Potential Problem: Are Animated.Values supported as children anywhere in React Native? If not, this option won't work.
// Animated.Value in `Text's` `value` prop
//

<Text value={animatedValue} />

Limitation: You can only pass a string to the Text. Inline images/views and formatting of subsets of Text via nested Text are not supported. Is this limitation acceptable?
@tychota Do you see any problems with the above 2 APIs for solving your problems (let's ignore the implementation details of these APIs for now)? Am I correct in assuming that ideally you want to update the value of the Text via Animated values for both of your scenarios?
Potential App-Level Workaround
@tychota Here's a workaround that might work for you today.
The idea is that the ImperativeText component below minimizes the amount of work that must be done to update the Text value. When you want to update the Text value, instead of dirtying and rerendering all of CircleProgression or whatever, just ImperativeText gets dirtied and needs to rerender.
I haven't tested this so I don't know if it's fast enough for your scenario.
class ImperativeText extends Component {
  state = {
    value: this.props.initialValue
  };

  setValue(value) {
    this.setState({ value: value });
  }

  render() {
    return <Text {...this.props}>{value}</Text>;
  }
}

// Example usage of `ImperativeText`
//

// Use `ImperativeText` in your render function
<ImperativeText ref={this.label} initialValue="0%" />

// ...

// Update `ImperativeText's` value whenever `progress` changes
this.label.current.setValue(progress + '%');

Note that I modeled ImperativeText after the Fully uncontrolled component with a key pattern to avoid the gotchas described in that blog post.

Note: in comparison to what you said, text [on TextInput] seems to work

I see. The prop is called value on the JavaScript TextInput component but it's called text on the native components that back TextInput.
I wonder if this causes problems if you try to pass an Animated value to the value prop because Animated might try to call setNativeProps on value rather than text because value is the name of the prop associated with the Animated value.

Hello there 👋 this issue seems to have stalled [after some good back and forth!]. I’ll label it as needing Follow Up, meaning that it will get closed in the future after further stagnation.

Thanks for pinging @alloy, completly forgotten this. You could have closen "stale" it but you chose to ping and that is motivating me to finish that. Thank you :)
To sum stuff up:

https://github.com/facebook/react-native/issues/22855#issuecomment-451447483 describes potential solutions: I have 1) working in my project (patch packaged)
after discussion here are the final result:

solution 1: ok but concerns here: https://github.com/facebook/react-native/issues/22855#issuecomment-451295803 are they show stopper ?
solution 2: the more we discuss, the more downside we found, lets say it is ko

I should test react native Text update for solution 3 but i guess it depends on sol 1 and also https://github.com/facebook/react-native/pull/18187 (one year old, @alloy can you ping there tooo so it get merged).
Before going i would like an approval of the choice of going for solution 1, with or without renamming value  props from "text" to "value". And how to handle concerns.
Then I can PR 1.
Then we can look if 3) works out the box, or need another PR (https://github.com/facebook/react-native/pull/18187 or one i can do) to works.
Last celebrate :)

This feature would be awesome!! :1st_place_medal:

Using react-native-reanimated to animate text doesn't work @ android.
There is a PR for that, but still not merged. 😭


Fix - Security error for container __gadget_gadgetArea-d5

How to reproduce

Open browser console in a new tab
Goto https://localhost:9443/dashboard/
wait for about 15 seconds to see below error generated from shindig.js:15

Security error for container __gadget_gadgetArea-d5 : OpenAjax.hub.SecurityAlert.LoadTimeout

Thank you for your contribution!
We are closing this issue since it has not been prioritized for a long time. Chances are that it has already been solved in more recent versions. If not, we will be re-evaluating this when it becomes a priority.


Build is failing during running pip

Details
I have deployed RedaThedDocs on my local PC, during building it throws errors.

python: can't open file 'C:...\readthedocs.org\user_builds\test\envs\latest\bin\pip': [Errno 2] No such file or directory

I can't understand why it calls pip from bin directory while it doesn't exists
Environment was installed, configured like in installation guide,  path and tags without white spaces.

I found this one http://stackoverflow.com/questions/13206990/virtualenv-env-not-creating-bin-directory-in-windows-7

Some paths within the virtualenv are slightly different on Windows: scripts and executables on Windows go in ENV\Scripts\ instead of ENV/bin/ and libraries go in ENV\Lib\ rather than ENV/lib/.

But why ReadTheDocs Build engine calls pip from bin, not from Scripts folder?

Closing this, I don't think we'll get around to solving this. The core team doesn't support Windows as a platform, mostly due to problems with symlinking.


ModuleNotFoundError: No module named 'torch._vmap_internals' with pytorch 1.2

When I run an toy example in my computer with PyTorch 1.9.0, while giving the right answer, it also gives me the following warning:
C:\Users\iTom\Desktop\pytorch-lasso\lasso\linear\utils.py:36: UserWarning: torch.cholesky is deprecated in favor of torch.linalg.cholesky and will be removed in a future PyTorch release.
L = torch.cholesky(A)
should be replaced with
L = torch.linalg.cholesky(A)
and
U = torch.cholesky(A, upper=True)
should be replaced with
U = torch.linalg.cholesky(A.transpose(-2, -1).conj()).transpose(-2, -1).conj() (Triggered internally at  ..\aten\src\ATen\native\BatchLinearAlgebra.cpp:1284.)

However, when I try to test the same sample with cuda on the server within a PyTorch 1.2 docker container, it raises the following error:
Traceback (most recent call last):
  File "test.py", line 2, in <module>
    from lasso.linear import dict_learning, sparse_encode
  File "/home/tom/codes/tmp.completer/lasso/__init__.py", line 1, in <module>
    from . import linear, nonlinear, conv2d
  File "/home/tom/codes/tmp.completer/lasso/nonlinear/__init__.py", line 3, in <module>
    from .split_bregman import split_bregman_nl
  File "/home/tom/codes/tmp.completer/lasso/nonlinear/split_bregman.py", line 5, in <module>
    from torch._vmap_internals import _vmap
ModuleNotFoundError: No module named 'torch._vmap_internals'
root@7509fe2f96ac:/home/tom/codes/tmp.completer# python test.py
Traceback (most recent call last):
  File "test.py", line 2, in <module>
    from lasso.linear import sparse_encode#, dict_learning
  File "/home/tom/codes/tmp.completer/lasso/__init__.py", line 1, in <module>
    from . import linear, nonlinear, conv2d
  File "/home/tom/codes/tmp.completer/lasso/nonlinear/__init__.py", line 3, in <module>
    from .split_bregman import split_bregman_nl
  File "/home/tom/codes/tmp.completer/lasso/nonlinear/split_bregman.py", line 5, in <module>
    from torch._vmap_internals import _vmap
ModuleNotFoundError: No module named 'torch._vmap_internals'

my code using cuda:
import torch
from lasso.linear import sparse_encode #, dict_learning

n, d = 3, 4
H = torch.arange(n * d).view(n, d).float().cuda()
print("data:\n", H)

# Dictionary Learning
# dictionary, losses = dict_learning(data, n_components=50, alpha=0.5, algorithm='ista',
#   device='cuda', progbar=False)
# print(dictionary.size())

# Sparse Coding (lasso solve)
Z = sparse_encode(H, H.T, alpha=0.2, algorithm='interior-point')
print("Z:\n", Z)

H_hat = Z.mm(H)
print("recon:\n", H_hat)

Disabling the importing of nonlinear & conv2d in lasso/__init__.py works for this sample code


Support "Authorization" header in import

In https://github.com/crs-tools/tracker/blob/a1757f52f0fbcc925d7e75622e1adacba9877acf/src/Application/Controller/Import.php#L457-L462 we have support for the "Authentication" header. Most newer applications use the "Authorization" header instead.
The tracker should also have support for that header.

Please keep in mind that the authentication scheme is custom-made, and not following some standard, e.g. bearer token or JWT. So there is possibly no point in using a standardized header name that 3rd party can send, if the header content cannot be produced correctly by that 3rd party software.
Additionally, the name "Authentication" is more correct, as the header only proofs "who" the client is, not what the client is allowed to do (in contrast to modern API tokens and such). IIRC this was one of the reasons for choosing that particular header name.
IMO you should clarify if you just find the name unsuitable or if you think the tracker should support a standard authentication/authorization mechanism like JWT.

I believe you misunderstood. This issue is about using the "Authorization" header when requesting the schedule.xml for importing the Fahrplan into the tracker :)
(I'm happy to provide a pull request for that later in the week)

Ahh it's outgoing - okay, the code snippet was too short to see that. That is 100% useful of course.


Sharding not possible across namespaces

Describe the bug a clear and concise description of what the bug is.
Cluster resources for RBAC are created with static names, but references namespace specific resources. Given a situation where I install flux into two namespaces a and b. The clusterrolebinding mentions the a/serviceaccount. When I go to install b it attempts to create the same clusterrolebinding but mentions b/serviceaccount.
The simple fix is to include the release name in all cluster wide rbac objects.
What's your helm version?
n/a
What's your kubectl version?
n/a
What's the chart version?
2.9.2
What happened?
No response
What you expected to happen?
No response
How to reproduce it?
Install the chart twice in the same cluster into two separate namespaces.
Enter the changed values of values.yaml?
No response
Enter the command that you execute and failing/misfunctioning.
helm install ... normal steps.
Anything else we need to know?
No response

Flux sharding is not supported by the chart, also deploying to separate namespaces is not how sharding should work. The chart needs to replicate this config: https://fluxcd.io/flux/installation/configuration/sharding/

I'm using sharding just fine with this chart. I'll submit a PR to remedy this bug.


ScreenOffset is define but never used?

Im wondering where to use this function. specially when building for ios
export const ScreenOffsets = {
top: safeTop,
left: 0,
bottom: safeBottom,
right: 0,
}

I should probably actually remove that, but if you don't use a SafeAreaView, you can use that to get offsets. Ill probably put up a PR to remove it


Simple Chatbot in Python

This Chatbot program does not include deep learning. It is a simple prototype inspired by the Chatbot with Deep Learning functionalities.

Please mention the issue number in your PR description.


Restore RMap.keySet and RMap.values methods with eager fetch loading

Those methods were deleted in a07e4d4ebdf0a2c2436942c8e537eebe48aee7f5 commit.

Thanks for the fix, @mrniko . This one is critical. When will 2.2.7 be released?

@flashas8 it has been released already.


Module 1.1 Assignment

Given what you have learned about Git, why would you want to use Git in your classroom?

To manage my students coding assignment easily.


Relative base (./) renders absolute URLs

Describe the bug
Working scenario
On Stackblitz

Create a Vite + React + TS project.
Add the base property to vite.config.ts and set it to /foo/bar.

Expectation: The URLs rendered in the web app start with /foo/bar.
Result: Works!

Broken scenario (?)
On Stackblitz

Create a Vite + React + TS project.
Add the base property to vite.config.ts and set it to ./.

Expectation: The URLs rendered in the web app start with ./.
Result: Does not work, absolute URLs are rendered :(

Question
Bug or misconfiguration?
Reproduction
https://stackblitz.com/edit/vitejs-vite-7n9q6h?file=vite.config.ts
Steps to reproduce
No response
System Info
Just a simple starter project.

Used Package Manager
npm
Logs
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

This is expected. See https://github.com/vitejs/vite/issues/11142#issuecomment-1501689795

I'm very surprised that this is not planned.
As @patak-dev asked in the related issue for some more information about the use case, I would like to point you at a related question I recently opened where I describe that scenario.
However, does at least the build support relative paths then?

Yes, the build supports base: './'.
For your use case, I guess you can use base: process.env.APP_BASE || './' and then pass in the environment variable when running the container.

This is just what I also came up with. Thanks!


Fix cmake crosscompilation for core2 target

Missing HAVE_SSE* cmake variables cause cc.cmake to forget about -msse* flags

Thank you.

Thank you.


No HAT-L_SRx4_ImageNet-pretrain.pth on the Google drive

Hello, guys! I can't find the best model on your Google drive, are there any reasons for that or you just missed it?) Great work, by the way

This model is recently not publicly available for some reasons. I will re-upload it in a few days.

This model has been re-uploaded.


[Feature]: Converting to react app

I would like to convert this website to a react

it's a good idea, but you should work on it on a different branch rather than the main one.

i am assigning this issue to you @Chanpreetk03

created a branch named react-branch you can fork it and work on it.

Alright, thank you


Support setting a default destination name for SI channels

As described in #949, I have a case where I want to be able to bind both input and output channels to the same underlying message queue. Since SCS models bindings as one-to-one with channels, this requires enumerating every input and output channel in properties, which quickly gets unwieldy because of the inability to trivially compose Boot application.properties.
For cases like this (and potentially others), it would be useful to be able to override the binding name that's applied to a channel. For example, given this code:
@Input(target = "message.input", binding = "message-binding")
...

@Output(target = "message.output", binding = "message-binding")

SCS would pull the binding properties (destination, content-type converters) for both of these channels from the same place, ensuring that changes to them are applied consistently. (In this case, among other implications, messages would be assured to loop back into the input channel when sent through the output channel.)
The default if no binding attribute is applied would simply be the value.

@Input(target = "message.input", binding = "message-binding")

Thanks @chrylis for submitting this - we'd probably want to call it defaultDestination as in the original discussion, as 'binding' has a different meaning (and gets constantly overloaded).

I'm confused about what a "target" is as well. If it's a bean name, or channel name, maybe it could be given a more obvious correlation to what it will be used for?

@dsyer target is the existing name for the attribute, and it's the channel name, I think.
@mbogoevici Perhaps the precise semantics I was seeking aren't feasible, but I was specifically not referring to defaultDestination. I want to be able to specify spring.cloud.stream.bindings.message-binding.destination: mbqueue and have that destination configuration apply to both the input and output directions atomically.

It's called 'target' as it is the binding target - we support other bindable targets such as Flux, KStream, etc.
@chrylis

I want to be able to specify spring.cloud.stream.bindings.message-binding.destination: mbqueue and have that destination configuration apply to both the input and output directions atomically.

I don't think it is unfeasible, but it requires a pretty serious reconsideration of the model. Basically creating a single 'binding' with separate channels for producers and consumers (which goes back to the 'scoping' discussion you brought).
Given that this is meant to solve a very specific use case (bus-like interaction), which might be a very popular one, but it is relatively easily (even if not tersely) solvable by providing configuration properties, it is hard to make it an immediate priority.
We will try to fit this one roadmap, but in the mean time, if you are up to it and would like to contribute the feature, we are happy to help in any way we can.

I'll look into it, but it won't be soon. At least part of my difficulty is that I've had a hard time understanding the documentation of the system model, and especially how SCS and SI relate and interaction patterns. When I get a chance (after this project is off the ground), I may start by trying to enhance the docs.

Thanks - any contribution, large or small, is appreciated!

One clarification: Part of the reason for the proposal is that I understood the binding and the channel to be distinct concepts. If they aren't, then the model change makes less sense, but if they are, I'm unclear why there are multiple terms.

We should probably provide a better description of it, but a binding is an input or output connected to an external messaging system. The 'binding target' is the bean or the element that's referenceable by a @StreamListener for example. In most examples that we provided the binding targets are Spring Messaging/Spring Integration MessageChannel instances created by the framework, but they are not exclusively channels. For example, we want to support bindings to Kafka Streams - https://github.com/mbogoevici/spring-cloud-stream-binder-kstream/blob/master/spring-cloud-stream-binder-kstream/src/main/java/org/springframework/cloud/stream/kstream/annotations/KStreamProcessor.java or Reactive Streams-backed Reactor Flux: https://github.com/mbogoevici/spring-cloud-stream-binder-reactive-streams/blob/master/spring-cloud-stream-binder-reactive-streams-core/src/main/java/org/springframework/cloud/stream/reactive/ReactiveProcessor.java , none of which operates with the Spring Integration model.
This why in the common use case the 'binding' and the 'channel' overlap, but in the general case a binding might not strictly refer to a channel.

Actually we consider binding input and output to the same destination an anti-pattern and actually have an issue to explicitly disallow it, we won't be addressing it.


Feature/api 2019 08 01 preview

Recreated PR due to merge conflict with master during rebase.
Added peering service operations.
[Rest Spec PR] (https://github.com/Azure/azure-rest-api-specs/pull/7033)

Since this PR is all about management plane, I'll just merge it.


Filter options is blank in the example dataset?

I wasn't able to see any content under the Filter Options for the example dataset, regardless of whether I had some residues selected or not. It's possible that I wasn't using the site correctly. Did I need to select something else first?
I'm using Firefox 122.0 (64-bit) installed via Snap for Ubuntu
This issue is part of https://github.com/openjournals/joss-reviews/issues/6129

There are no filters in the default dataset. But I will address this by either adding default filters or by hiding the filters if there aren't any. I'm addressing these in other issues, so I'm closing this one.


After safehouse owner dies, allow raid to continue

If a safehouse owner defends their home unsuccessfully and is killed, the raiders currently are not able to finish raiding the safehouse because it is no longer claimed.
The safehouse should still be raidable after the owner dies so that the raiders can claim their spoils.

Check this section in PlayerInteractListener. Should probably add a tag to a safehouse if the owner dies but still keep the owner active. This would allow the raiders to keep raiding while the owner is online even if they're dead, or the owner to return and reclaim the safehouse and keep their stuff.
    private void startBreakIn(Player intruder, Safehouse safehouse, int breakingInDurationSecond) {
        Optional<Player> houseOwnerOpt = safehouse.getOwnerPlayer();
        // the isPresent check below is not needed. players can break into houses only when the owner is online
        houseOwnerOpt.ifPresent(houseOwner -> {
            // get the character name of the intruder and notify the homeowner
            storyStorage.getActiveStory(intruder.getUniqueId()).thenAccept(storyOpt -> {
                if (storyOpt.isEmpty()) {
                    plugin.getLogger().log(Level.SEVERE, "The player " + intruder.getUniqueId() + " doesn't have an active story and they were able to try breaking into the safehouse " + safehouse.getId());
                    return;
                }
                houseOwner.sendMessage(plugin.getMessage("break-in-started-owner")
                        .replace("{character-name}", storyOpt.get().characterName()));
            });
        });
        breakingInClicks.put(intruder.getUniqueId(), new ClickDuration());
        intruder.sendMessage(plugin.getMessage("break-in-started")
                .replace("{seconds}", Integer.toString(breakingInDurationSecond)));
    }


Notes on day-to-day operations on an acs-engine cluster

What this PR does / why we need it:
After deploying an acs-engine based cluster the docs are lacking guides on how to perform common operations.
The current file is based on my personal experiences and lessons learned over the last few days while getting my first 100% acs based cluster ready for production.
I'd really like to know what form and style of documentation is preferred so I can maybe change this and follow up material accordingly.
Thanks for any feedback!

 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.:x: skinny sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

Hmm, this PR now triggers a build, another reason for discussion on how to contribute to the documentation :-)

Hi @skinny, I'm happy to merge this as-is for now. It'd be nice to have a broader, well-organized store of day 2 ops docs; this one may get transformed into that eventually. :)


Automatic Git Reverts

It seems lately chaosbot has been reverting a lot of commits due to the automatic rollback feature enabled. Determining when this happens is not easy.
Can we get a better message (like an issue opened) indicating a revert took place?

Is Chaosbot can open a PR with the revert and merge it ?

@Swizz bad idea - then after issues like the voters.json corruption it'll be a pain to clean up.

Yeah my symbol emoji PR seems to have gotten reverted, any idea why?

Several PRs were reverted. My suspicion is it was due to the issue commands exceptions - the deleted command comments not being handled. Since the fix only just went in, any new PRs were just continually reverted.

So, basically some functionalities have passed the vote stage but the bot reverted them ?
Is this really democratic ?

That's a suspicion, but not guaranteed what happened.

@Swizz They were reverted due to invalid syntax introduced in #461, and because no syntax fixes were merged before those commits were, they were also reverted.

Wouldn't we also need a dev repository then?

@anythingbot The problem is that the two bots will have to behave in different ways - dev needs to merge and pull as usual, while prod needs to wait for dev to ensure changes are stable. This means that we're going to test apply changes to one bot to see if those changes applied to a different bot will be stable.
There's not an obvious solution to this - if we use the same repo and simply disable the GitHub API on dev (make it return mock values, for example), then we're not ensuring that the GitHub API part is stable, and the same goes for other parts.

Perhaps we should also serve the code from the server to the webserver, so we can cross-reference if the intended changes took place.

I think it's still reverting. At the very least, my symbol emojis PR still hasn't taken effect: https://github.com/chaosbot/Chaos/pull/485#issuecomment-305904553.

@anythingbot The problem is now that the the dev bot still has to behave normally just like the prod bot - things like responding to PRs, recording votes, etc. If we have two bots running on the same repo at once, there could be conflicts between their behaviour. Also, we'd need to make sure that dev doesn't replicate itself in the case of another PR getting merged and tested, because then we'd lose track of them.

I think it's still reverting. At the very least, my symbol emojis PR still hasn't taken effect: #485 (comment).

@amoffat any resolution on this? You do have the inside scoop

So here was the difference between HEAD and upstream
(chaos) root@ubuntu:~/workspace/Chaos# git shortlog @..origin/master
Lee Bousfield (5):
      merging PR #463: Count contributors' votes, regardless of account age
      merging PR #472: Use symbol emojis instead of human emojis
      merging PR #469: Fix meritocracy.json serialization
      merging PR #471: Mention meritocracy when needed
      merging PR #478: Fix rescinding reviews

Neal (1):
      merging PR #468: Added imps to voting reactions

Phil Rukin (1):
      merging PR #412: Bring back mandatory travis-ci check

Quentin Gerodel (2):
      merging PR #485: Ignore meritocracy.json like voters.json
      merging PR #486: Create and update labels improved, close #476

Who? Me?! (1):
      merging PR #477: Better logging

md678685 (3):
      merging PR #454: Update/add missing dependencies to Vagrantfile
      merging PR #462: Dump meritocracy data alongside voters.json
      merging PR #455: FIX ERROR PAGES WITH THIS ONE SIMPLE TRICK

rudehn (5):
      merging PR #464: start cleaning up issue closing
      merging PR #467: Fix issue polling exception
      merging PR #481: Error handling
      merging PR #487: remove broken auditing
      merging PR #484: fix invalid syntax

Looks like it reverted quite a bit.  I went ahead and fast forwarded it so everything is up to date, but if it was continually reverting, there is definitely a problem there

@amoffat is it still reverting? I don't see how that would happen otherwise.

Apparently hotfixed: 2f75bd0fde3e3427ce11d8267cebe1bf8a3726e4

So this reverting might need addressed..

@rudehn chaosbot does open an issue if it rollbacks a commit as soon as it is able to run again... see #494


Context overloads for all applicable methods

This PR adds *Context versions of all public methods.
The ability to propagate context is really important in apps that instrument their external dependencies to support additional logging metadata, tracing (eg OTEL), and metrics (eg Prometheus).

Bump @lornajane

Sorry, I don't work for Vonage any more, suggest you fork if you don't get a response


Filter before/after produces incorrect ES query

In gitlab by @sylvaingaudan on Aug 4, 2017, 09:14
Filter after=XXX produces a range query instead of a gte query:
       {
         "range" : {
           "centerViewingDateTime" : {
             "from" : XXX,
             "to" : null,
             "include_lower" : true,
             "include_upper" : true,
             "boost" : 1.0
           }
         }
       }

Filter before=YYY produces a range query instead of a lte query:
      {
         "range" : {
           "centerViewingDateTime" : {
             "from" : null,
             "to" : YYY,
             "include_lower" : true,
             "include_upper" : true,
             "boost" : 1.0
           }
         }
       },

And a before=XXX&after=YYY filter produces a double range query instead of a single range query:
"filter" : [
       {
         "range" : {
           "centerViewingDateTime" : {
             "from" : null,
             "to" : XXX,
             "include_lower" : true,
             "include_upper" : true,
             "boost" : 1.0
           }
         }
       },
       {
         "range" : {
           "centerViewingDateTime" : {
             "from" : YYY,
             "to" : null,
             "include_lower" : true,
             "include_upper" : true,
             "boost" : 1.0
           }
         }
       }
     ]

In gitlab by @sylvaingaudan on Aug 4, 2017, 09:23
changed the description

In gitlab by @sylvaingaudan on Aug 4, 2017, 09:53
added ~2424198 label

In gitlab by @sfalquier on Aug 4, 2017, 10:26
assigned to @sfalquier

In gitlab by @sfalquier on Aug 4, 2017, 10:52
mentioned in commit d686695e5e513dae0a49fd03e7be5226b6f26547

In gitlab by @sfalquier on Aug 4, 2017, 10:52
mentioned in merge request !75

In gitlab by @sfalquier on Aug 4, 2017, 10:53
added ~2424199 and removed ~2424198 labels

In gitlab by @sylvaingaudan on Aug 4, 2017, 12:00
closed via merge request !75

In gitlab by @sylvaingaudan on Aug 8, 2017, 16:45
mentioned in commit 6c24bb36b3585180bcf9fc9325fa2ad209c71bf4


Code analysis fails to determine that the variable is used in the code

From<EMAIL_ADDRESS>on 2012-08-28T01:55:14Z
Spyder Version:  2.1.9
Python Version:  2.7.3
Qt Version:      4.8.1, PyQt4 (API v2) 4.9.1 on Linux
Consider the following code:
def define():
name = "John"
return locals()

for k, v in define().iteritems():
print k, v
The code line 'name = "John"' is marked as "local variable 'name' is assigned to but never used." But the 'name' variable is really used.
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=1140

From pierre.raybaut on 2012-09-01T06:57:49Z
Thanks for the feedback.
That's perfectly normal.
The code analysis engine (pyflakes) can't understand such "unorthodox" code. I expect pyflakes to guess that 'locals()' returns a dictionnary, but the contents of this dictionnary can't be guessed except at runtime.
Status: Done


Modify instrument to accomodate commercial system

eg. make lots of things optional :(

closed by PR #269


Schema folder preview feature can create multiple databases

Bug description
What's not working?
In RedwoodJS we notice odd behavior with the schema folder after supporting the feature in 15.5.
In short, multiple SQLite databases could be created depending on relative paths and working directories.
Thus the migration would run on one database and he client generate on the second -- this meant the app when when using the generated client didn't have any tables and queries failed.
We think it might happen when Prisma initiates a connection to the database, doesn't find and thus creates a new one.
We worked with @jharrell to reproduce and have a repo to showcase it.
See: https://github.com/redwoodjs/redwood/issues/11008 (content below):
This isn't strictly a bug in redwood but I am creating this issue to track what we want to do about the new behaviour (if we care to do anything at all).
In prisma v15.6.0 they made some breaking changes to the multi file schema preview feature:

When using relative paths in Prisma Schema files with the prismaSchemaFolder feature, a path is now relative to the file it is defined in rather than relative to the prisma/schema folder. This means that if you have a generator block in /project/prisma/schema/config/generator.prisma with an output of ./foo the output will be resolved to /project/prisma/schema/config/foo rather than /project/prisma/foo. The path to a SQLite file will be resolved in the same manner.
We realized that during migration many people would have prisma/schema as well as prisma/schema.prisma. Our initial implementation looked for a .prisma file first and would ignore the schema folder if it exists. This is now an error.

We added support for this in redwood recently. There was a slight difference in behaviour when I tested the multi file schema behaviour before and after the upgrade. The location that the database file resolves to is different.
If you setup the test project you'll get a sqlite database file in the standard spot. If you now enable prisma multi file schema and then perform some action like yarn rw prisma migrate reset you'll observe a new database file generated in a different location. This is mentioned in prisma's first point above.
The result of following the reproduction steps below. Observe multiple database files:

Maybe this is just something users should expect given prisma have changed their behaviour and we have nothing to do here? Perhaps we should add documentation to highlight this to our users?
I'll leave it up to @dthyresson to how to go forward but happy if you want to just close this as expected behaviour.
How do we reproduce the bug?

Create a new test project
Follow the docs to setup multi file schema
Run yarn rw prisma migrate reset
Observe the new database file generated

How to reproduce
ere's a non-redwood reproduction of the issue we were seeing: https://github.com/Josh-Walker-GM/prisma-multi-file-issue-repro.
Note we worked with @jharrell and confirmed reproduction case.
Expected behavior

Database not duplicated
Client geenrated correctly

Prisma information
See rep for schema
Environment & setup
OSX, SQLite, RedwoodJs 7.7.3+, Prisma 15.6.x. See repo for setup.
Prisma Version
 Prisma 15.6.x

Hi @dthyresson!
It looks like this is a duplicate of #24647.
It was fixed a couple of weeks ago, but not yet released. 5.18.0 will be the first version with this fix. You can also test 5.18.0-integration-fix-config-dir-client.5 version to verify that fix works for you.

Hi @dthyresson! It looks like this is a duplicate of #24647. It was fixed a couple of weeks ago, but not yet released. 5.18.0 will be the first version with this fix. You can also test 5.18.0-integration-fix-config-dir-client.5 version to verify that fix works for you.

Interesting. I don’t think we tried v18
@jharrell is this a different than issue or related to the findings you had with the test project  that we shared?

I just tested this with 5.18.0 and the issue appears to be fixed. Thanks!

I'll now close this issue as complete. Thanks!


cht-sh: unstable-2021-10-20 -> unstable-2021-11-13

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for cht-sh is: "CLI client for cheat.sh, a community driven cheat sheet"
meta.homepage for cht-sh is: "https://github.com/chubin/cheat.sh"
meta.changelog for cht-sh is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
/nix/store/5yfr6rhcambq74gdgnx90s8z1k0bag2v-cht.sh-unstable-2021-11-13/bin/cht.sh passed the binary check.
/nix/store/5yfr6rhcambq74gdgnx90s8z1k0bag2v-cht.sh-unstable-2021-11-13/bin/.cht.sh-wrapped passed the binary check.
1 of 2 passed binary check by having a zero exit code.
2 of 2 passed binary check by having the new version present in output.
found unstable-2021-11-13 with grep in /nix/store/5yfr6rhcambq74gdgnx90s8z1k0bag2v-cht.sh-unstable-2021-11-13
found unstable-2021-11-13 in filename of file in /nix/store/5yfr6rhcambq74gdgnx90s8z1k0bag2v-cht.sh-unstable-2021-11-13

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
0 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
cht-sh

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/5yfr6rhcambq74gdgnx90s8z1k0bag2v-cht.sh-unstable-2021-11-13 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A cht-sh https://github.com/r-ryantm/nixpkgs/archive/fa02bf0dfbeb050fa135a4b2eaf9c75258a8db34.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/5yfr6rhcambq74gdgnx90s8z1k0bag2v-cht.sh-unstable-2021-11-13
ls -la /nix/store/5yfr6rhcambq74gdgnx90s8z1k0bag2v-cht.sh-unstable-2021-11-13/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

cht-sh

Maintainer pings
cc @fgaz @evanjs for testing.

Result of nixpkgs-review pr 145828 run on x86_64-linux 1

1 package built:

cht-sh


Create give_a_talk.yml

Adding the give a talk issue template from the main repo to the conferences repo.
Hopefully this looks okay and runs correctly :D

Looks like this works fine. However, this repo doesn't have .github/workflows/close-talk-issues.yml and so as things stand the final bit about automated closing is not correct. We could either add that workflow to this repo, or remove that section of the text.

Do we want to have this template on both repos? My guess would be no, and that it would be better to direct people to use one or the other. We could replace the template in the main repo with a link to create an issue on this repo perhaps?

Do we want to have this template on both repos? My guess would be no, and that it would be better to direct people to use one or the other. We could replace the template in the main repo with a link to create an issue on this repo perhaps?

I think sending folks to this repo sounds really sensible! I'd be open to others saying that it makes the flow more confusing? But I think a 2025 goal is to not have an overwhelming number of issues all in one repo, right? So a nudge to this one seems the best way forwards 😄

Do we want to have this template on both repos?

Nope, there should be only in the one where the talk would eventually live. Or maybe just have a  "Note" template? E.g. they can choose the talk as an option in the main repo, but then the template is a link to this repo instead? (But I don't think it's a good option, only a handful of people will/should open these PRs and they will all use to the fact that we stepped away from having a monorepo really fast)


arrow layout bug

This will help demonstrate the bug in the current arrow positioning code:

Create a fresh problem instance.
Set up 4 inputs named a, b, c, and d.
Make the window really wide.

The arrows should all be pointing correctly to the center of the circle. So far, so good. Now:

Change the input names to some longer text that gets broken into two lines, e.g., "alpha alpha", "beta beta", etc.

Even though all four inputs have the same text box height, the arrows are no longer pointing to the center of the circle. The layout is off.

This is pretty much fixed.


Add bypass proxy setting

Hi!
I'm using a proxy to run VS Code ("http.proxy": "http://user:password@ip:port") and when I try to connect to the local Jupyter server at <IP_ADDRESS> (my CUDA machine) I get an error because all traffic goes through the proxy
This topic has already been raised here: https://github.com/microsoft/vscode/issues/44941

[ ] Add bypass proxy setting please

And thanks for the best IDE!

You could try setting the NO_PROXY env variable to your local machine's IP address. Adding a user setting makes sense.