Provide documentation on how to use test-bot command when the full lifecycle is not wanted - or needs customizing

For example, when uploading bottles is not desired, or when I want to upload to a repository that is not bintray (e.g. to AWS S3).
I see that I can specify root-url for how to set it in the recipe, but I don't see:

documentation on using the command (rather than the test-bot system as a whole), other than --help - which does not provide high-level docs, just descriptions of each arg
options for a custom upload script (i.e. to upload to somewhere that isn't bintray)
a way to get both the locally-produced bottle filename, and the filename that it should be uploaded/stored as, without depending on implementation details

Apologies if I've missed something.

documentation on using the command (rather than the test-bot system as a whole), other than --help - which does not provide high-level docs, just descriptions of each arg

This is all the documentation that's provided beyond https://docs.brew.sh/Brew-Test-Bot and https://docs.brew.sh/Brew-Test-Bot-For-Core-Contributors. We'll accept PRs to add any more and I'll answer questions on those PRs to fill in specific questions you have.

options for a custom upload script (i.e. to upload to somewhere that isn't bintray)

Instead of running brew test-bot --ci-upload use the output bottles and JSON files to upload to the location of your choice.

a way to get both the locally-produced bottle filename, and the filename that it should be uploaded/stored as, without depending on implementation details

The output JSON generated by brew test-bot contains this information.

The output JSON generated by brew test-bot contains this information.

Just checking: is this considered a stable public API?

It's simple enough that I don't see it needing to change so: yes, I guess so. It can be considered to follow the versioning of the rest of Homebrew so if there's deprecations they will be announced in the minor version release notes.

a way to get both the locally-produced bottle filename, and the filename that it should be uploaded/stored as, without depending on implementation details

The output JSON generated by brew test-bot contains this information.

I just ran into this issue since the 1.7.2 tag was made. I made some code that extracts the "filename that it should be uploaded/stored as" from the json and infer the "locally-produced bottle filename" from the name of the json file and changing the extension from json to tar.gz, since the "locally-produced bottle filename" isn't stored in the json.

https://bitbucket.org/osrf/release-tools/pull-requests/627/homebrew_bottle_creationbash-get-upload/diff

I just ran into this issue since the 1.7.2 tag was made. I made some code that extracts the "filename that it should be uploaded/stored as" from the json and infer the "locally-produced bottle filename" from the name of the json file and changing the extension from json to tar.gz, since the "locally-produced bottle filename" isn't stored in the json.

@scpeters I think it would be good to make brew bottle --json generate that information, what do you think? Would you be interested in submitting a PR to add it?

@MikeMcQuaid let me know what you think of https://github.com/Homebrew/brew/pull/4736


Enhancement - Create a version of the script that doesn't have encryption

Could you create a version of the script that doesn't have the encryption bits and just fixes the location and ISP leak issues of Nyr/OpenVPN-install

It's out of scope. But here's the solution https://openvpn.net/archive/openvpn-users/2006-06/msg00145.html.

Yeah that would be pretty weird to have this option in the script 🙄.


initial LazyFrame and Expr parsers

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#841 : 2  dependent PRs (#868 , #896 )
#824
#797
#847
#1454  👈
#795
#1167
#769 : 1 other dependent PR (#771 )
#767
#765
#763
#917 : 1 other dependent PR (#921 )
#916
#907
#874
#705
#754
#704
#703
#753
#702
main

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

Join @Shoeboxam and the rest of your teammates on  Graphite


How to install LuisaCompute manually?

I'm used windows wsl ubuntu, I just download genesis project as a zip file,and copy it into ubuntu path.
Now i'm running examples/rendering/demo.py,and got ModuleNotFoundError: No module named 'LuisaRenderPy'.

In office doc install context, i found the this
git submodule update --init --recursive

But i didn't use git, so i can't install LuisaCompute by this command.
Can i also download LuisaCompute as a zip file and put it on genesis/ext/LuisaRender,
then install it by
cd genesis/ext/LuisaRender
cmake -S . -B build -D CMAKE_BUILD_TYPE=Release -D PYTHON_VERSIONS=3.9 -D LUISA_COMPUTE_DOWNLOAD_NVCOMP=ON -D LUISA_COMPUTE_ENABLE_GUI=OFF
cmake --build build -j $(nproc)

Yes sure you can download it separately and compile
make sure you download the correct commit

Yes sure you can download it separately and compile make sure you download the correct commit

Thanks,But I don't know which commit is correct,can you suggest some commit?

see : https://github.com/Genesis-Embodied-AI/Genesis/tree/main/genesis/ext


MFA issue when using Google authentication

v4.1 build 6375
When using Google for authentication the user is prompted for a multifactor sign-in code at each sign-in event, even when selecting don't ask again on this device.
The user is asked to sign in immediately when launching the XCreds menubar app.  Both this sign-in and the main login screen ask for the multifactor sign-in code every time.
After entering the MFA code the user is also asked every time to allow XCreds access to the Google account.

this has some security issues if we were to reconstitute cookies. closing as NTBF.


New Project from Template

Once ownership access is implemented, we will need a way to allow the user to easily access demonstrations and tutorials.
This likely takes the form of a "new from template" button in the RuleDocList view. Rather than cluttering the object model, it might make more sense to somehow save the templates as .blawx files that can be loaded using the import feature. The .blawx files would probably need to be put into the static folder, and we would probably need a separate import view that accepts the filename and loads it. Or something like that.

Resolved in #300


Sprig include for critical CSS not evaluating as I expected

This is the following pattern I use for loading critical CSS into a site using Twigpack
_includes/css-include
    {# -- Critical CSS -- #}

        {% set cssPath = '/dist/css/all-styles.css' %}
        {% set cssHash = craft.twigpack.getModuleHash(cssPath, "legacy") %}
        {% do getCookie('critical-css') %}
        {% if getCookie('critical-css') %}
            {% set criticalCss = getCookie('critical-css') %}
        {% endif %}
        {% if criticalCss is defined and criticalCss == cssHash %}
            {{ craft.twigpack.includeCssModule(cssPath, false) }}
        {% else %}
            {% do setCookie('critical-css', cssHash, now | date_modify("+7 days").timestamp ) %}
            {{ craft.twigpack.includeInlineCssTags("@webroot/dist/criticalcss/" ~ criticalCSSTemplate|default() ~ '_critical.min.css') }}
            {{ craft.twigpack.includeCssModule(cssPath, true) }}
        {% endif %}

So on a Blitz & Cloudflare cached website, I thought a Sprig included here would be a good option in my layout.twig.
{{ sprig('_includes/css-include', {criticalCSSTemplate:criticalCSSTemplate|default()}) }}
However on page load and subsequent reloads it does not seem to evaluate the logic inside the sprig component.
I realize that the default trigger is refresh so tried load and combo load and refresh. I also tried sprig.isInclude and sprig.isRequest to no avail.
What happens is even if cookie critical-css is there then it will still load the first half of the argument.
I may be missing something fundamental here
Latest Craft, Twigpack, Blitz and Sprig with Cloudflare as reverse proxy

Why would you want to put this in a Sprig component over a regular include? It seems like you’d want critical CSS to be loaded as early as possible and not via an AJAX request.

Normally, I do put it in a regular include, but I am wondering how I escape the Blitz cache here then?

Surely you want critical CSS included in the cached page?

Only if a new visitor to the site. Then cookie created and user's subsequent pages visits have full CSS

Oh I see. But regardless, loading critical CSS via an AJAX request seems pointless to me.
Here’s an example I just tested, which appears to work.
{{ sprig('_components/test', {}, { 's-trigger': 'load' }) }}

_components/test.twig:
{% if sprig.isRequest %}
    <link rel="stylesheet" href="test.css">
{% endif %}

Yeah, I see that now. Ok more of a Blitz question now on how to bypass that cache. K thanks for looking


Path Follower startAt causes an error

Version

Phaser Version: 3.60.0-beta.12

Description
Calling pathFollower.startFollow({ startAt: … }) causes an error.
Example Test Code
https://labs.phaser.io/view.html?src=src/paths/followers/start at.js&v=3.60.0-beta.12

TypeError: undefined is not an object (evaluating 'tweenData.target[tweenData.key] = tweenData.current')

https://github.com/photonstorm/phaser/blob/5fdb91217ef0f01d7f8b44078ac5679d13aa32fd/src/gameobjects/components/PathFollower.js#L233

Thank you for submitting this issue. We have fixed this and the fix has been pushed to the master branch. It will be part of the next release. If you get time to build and test it for yourself we would appreciate that.


Revert "Add focus trigger for index-popover"

Reverts morsbox/rusrails#167

I've prepared a stage to preview changes. Open stage or view logs.


How to listen start and end event of moving ?

I want to listen for the end event.

I have solved the problem by Sketchpad#onTouchStart and Sketchpad#onTouchEnd event. Thx.

For anyone wondering this is the code:
`function eventfunction() {
console.log("event happened");
}
var canvas = document.getElementById('sketchpad');
canvas.addEventListener('mouseup', eventfunction, false);`


OCSP Provider

We should extend the CA in the repo with an OCSP provider to enable revocation of issued certificates and checking the revocation status.
This is also required to test criterion IAM_03 for connectors in the certification criteria catalog.

Included in issue #97


Add Shinshu University

@wanimaru47 I am sorry for a delay with processing your request. Pull request merged. Thank you!


Docs - Emphasized Markdown text color is low-contrast and appears de-emphasized

Description
Emphasized <em> text in the Markdown documentation is currently styled with color: #7f8c8d; resulting in low-contrast text, especially for text that should have greater emphasis. Firefox's Accessibility tools show a contrast ratio of 3.48, which is below WCAG recommendations for body text (4.5 or greater) and could cause readability issues for low-vision users.

(See also: https://webaim.org/resources/contrastchecker/ to confirm WCAG issues)
Expected behavior
Emphasized text should appear emphasized by maintaining high color contrast along with the italic font.
Steps To Reproduce

View public-facing documentation (example: https://jss.sitecore.com/docs/techniques/extending-layout-service/layoutservice-static-context-rendering)

Possible Fix
I'll leave specific styling choices in your capable hands, but using a darker gray like the Sitecore brand color #232323 would improve the contrast. Using a heavier font weight would also improve the readability, but to my eye it also feels like that could add too much focus on specific words? This is an example of color: #232323; font-weight: 600;:

Your Environment
N/A, public-facing documentation.
Screenshots
See above

@ancaemcken Would you mind taking a look at this? I know we looked at lighthouse scores the other day and noticed this was an issue.


added unit tests for Q33

Hello sir, I have thought of the idea of adding unit tests as well so that people new to programming can also get an idea of how to write and use unit tests. I would appreciate if you could merge the PR.

Motive of this repo is to only provide people with the different patterns and their solutions, nothing else.
If you still want to add unit tests then you have to convince me.
What are unit tests and why they are necessary?


fastlane_core: fastlane_runner_spec fails locally, but passes in CI

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I have read the Contribution Guidelines

Issue Description
fastlane_core/fastlne_runner_spec tests locally failed, but succeeded in CI:
Complete output when running tests, including the stack trace and command used
$ bundle exec rspec ./spec/fastlane_runner_spec.rb
[Coveralls] Set up the SimpleCov formatter.
[Coveralls] Using SimpleCov's default settings.

Commander::Runner
  #handle_unknown_error
    should reraise errors that are not of special interest (FAILED - 1)
    should reraise errors that return nil from #preferred_error_info (FAILED - 2)
    should abort and show custom info for errors that have the Apple error info provider method with $verbose=false
    should reraise and show custom info for errors that have the Apple error info provider method with $verbose=true

Failures:

  1) Commander::Runner#handle_unknown_error should reraise errors that are not of special interest
     Failure/Error: expect do
       expected StandardError with "\e[31m[!] my message\e[0m", got #<StandardError: my message> with backtrace:
         # ./lib/fastlane_core/crash_reporting/crash_reporting.rb:56:in `handle_crash'
         # ./lib/fastlane_core/ui/fastlane_runner.rb:57:in `handle_unknown_error!'
         # ./spec/fastlane_runner_spec.rb:19:in `block (4 levels) in <top (required)>'
         # ./spec/fastlane_runner_spec.rb:18:in `block (3 levels) in <top (required)>'
     # ./spec/fastlane_runner_spec.rb:18:in `block (3 levels) in <top (required)>'

  2) Commander::Runner#handle_unknown_error should reraise errors that return nil from #preferred_error_info
     Failure/Error: expect do
       expected StandardError with "\e[31m[!] my message\e[0m", got #<NilReturningError: my message> with backtrace:
         # ./lib/fastlane_core/crash_reporting/crash_reporting.rb:56:in `handle_crash'
         # ./lib/fastlane_core/ui/fastlane_runner.rb:57:in `handle_unknown_error!'
         # ./spec/fastlane_runner_spec.rb:25:in `block (4 levels) in <top (required)>'
         # ./spec/fastlane_runner_spec.rb:24:in `block (3 levels) in <top (required)>'
     # ./spec/fastlane_runner_spec.rb:24:in `block (3 levels) in <top (required)>'

Finished in 0.0105 seconds (files took 0.59638 seconds to load)
4 examples, 2 failures

Failed examples:

rspec ./spec/fastlane_runner_spec.rb:17 # Commander::Runner#handle_unknown_error should reraise errors that are not of special interest
rspec ./spec/fastlane_runner_spec.rb:23 # Commander::Runner#handle_unknown_error should reraise errors that return nil from #preferred_error_info
[Coveralls] Outside the CI environment, not sending data.

Configuration Files
n/a
Fastfile: n/a
Environment
fastlane version (fastlane -v): n/a, developing on master
Do you use bundler, rbenv or rvm? bundler :white_check_mark:, rbenv :white_check_mark:

@bgerstle Hi! Thanks for sending this over. It sounds like there might be a config issue on your side. Are you able to verify this on another device? Thanks :+1:

@TKBurner i'll give it a go, but you may be right.  My ruby environment is a bit of a mess atm. Will update if I'm able to try it out on another Mac or after I have time to tidy up my env again

Thanks @bgerstle I'll mark this as awaiting reply so you can update in a few days. Thanks!


Add optional jupyterlab dependency to qsharp

Remove the existing "test" dependency (we don't use it anywhere - and I don't recall why I initially added it)
Add optional dependency to qsharp_jupyterlab. The way to install it would be pip install qsharp[jupyterlab].

Looks good to me, but I'm not that familiar with those files and how dependencies work, so I'll let Ian give the thumbs up. Thanks!


#9109: Add q_id to Eltwise binary EQ

Add q_id to Eltwise binary EQ
( once this PR is reviewed and approved, will reuse this change to add q_id for more eltwise binary ops used for composite structure -  mul, add  )
Tested EQ output to int fix on wormhole_b0: tests/tt_eager/python_api_testing/unit_testing/misc/test_binary_eq_int.py

Bfloat16 to Uint32 - works correctly
Bfloat16 to Uint16 - works partially but correct enough to pass boolean test ( 0 -> 0,  1 -> 127)

Test result: https://docs.google.com/spreadsheets/d/1us0n4F3Sm90IhB07rWP2j-x4ANu8ssehnVGfSUzjMN8/edit?usp=sharing
CI test: https://github.com/tenstorrent/tt-metal/actions/runs/9391127048

@eyonland , I did try it but ttnn._ttnn.reports.get_buffer_pages() doesn't work for tt_lib operation ? Because I get 0.

@KalaivaniMCW foe it to work tensors have to be in L1


[KOGITO-4302] Define Task admin optional API on Kogito

Added new task management add-on.

The Linux check has failed. Please check the logs.

The Linux check has failed. Please check the logs.

The Linux check has failed. Please check the logs.

The Linux check has failed. Please check the logs.

The Linux check has failed. Please check the logs.

The Linux check has failed. Please check the logs.

The Linux check has failed. Please check the logs.

The Linux check has failed. Please check the logs.

The Linux check has failed. Please check the logs.

@cristianonicolai @tiagodolphine
Ready for review after agreement with @krisv:

API should be also used for modifying input params
Keep two separate apis, this one for updating all not output params and use the already existing ones in process to update output params

I tested manually by modifying one of the examples (to verify it worked with persistence and events), but I'm wondering how to test the rest interface. I tries in the test of the project itself but it does not work. Should I add a new example?

The Linux check has failed. Please check the logs.

unrelated failure
jenkins retest this

The Linux check has failed. Please check the logs.

Jenkins retest this

The Linux check has failed. Please check the logs.

The Linux check has failed. Please check the logs.

The Linux check has failed. Please check the logs.

jenkins retest this

The Linux check has failed. Please check the logs.

The Linux check has failed. Please check the logs.

The Linux check has failed. Please check the logs.

The Linux check has failed. Please check the logs.

The Linux check has failed. Please check the logs.

The Linux check has failed. Please check the logs.

Is the beans.xml needed?

I think is needed by Quakus to include Exception Handler jar automatically within the scanned packages

The Linux check has failed. Please check the logs.

The Linux check has failed. Please check the logs.

The Linux check has failed. Please check the logs.

The Linux check has failed. Please check the logs.

The Linux check has failed. Please check the logs.

The Linux check has failed. Please check the logs.

jenkins retest this

The Linux check has failed. Please check the logs.

answering https://github.com/kiegroup/kogito-runtimes/pull/1055#discussion_r584478903
Right now, in order to find the task to update (without introducing a new API) we need user and group.

The Linux check has failed. Please check the logs.

The Linux check has failed. Please check the logs.

The Linux check has failed. Please check the logs.

The Linux check has failed. Please check the logs.

The Linux check has failed. Please check the logs.

The Linux check is successful.

The Linux check has failed. Please check the logs.

@cristianonicolai @tiagodolphine please review & merge when done

The Linux check is successful.

The Linux check is successful.

The Linux check is successful.

@cristianonicolai @tiagodolphine green again
The only remaining issue I think is the predicate on findNodes()

@cristianonicolai anything to add or can we proceed with the merge as soon as we have the green build? @fjtirado needs this to unblock the work with comments/attachments.
Thanks.

The Linux check is successful.


"NaNs Leakeage" - can not remove innconsistent NaN-grad elements

Description
Hey, folks!
If I don't provide consistent data for gradient calculation, and try to filter the mess at later stages (pre_filter=False), I get NaN gradient while pre-filtering works OK. See the code below:
    def f(x, pre_filter=False):
        delta = jnp.array((0, 1)) * x
        if pre_filter:
            return jnp.sum( delta[delta > 0]**0.5 )
        else:
            return jnp.sum( (delta**0.5)[delta > 0] )
    print(grad(f)(1.))
    # NaN if pre_filter == False
    # 0.5 if pre_filter == True

What jax/jaxlib version are you using?
0.4.23
Which accelerator(s) are you using?
CPU/GPU, doesn't matter
Additional system info?
Ubuntu 22.04, x86, Python 3.10.12
NVIDIA GPU info
No response

Hi - thanks for the question! It looks like you're hitting a variant of this issue: https://jax.readthedocs.io/en/latest/faq.html#gradients-contain-nan-where-using-where
Expressed in terms of where rather than masking, your code is roughly equivalent to this:
def f(x, pre_filter=False):
    delta = jnp.array((0, 1)) * x
    if pre_filter:
        return jnp.sum(jnp.where(delta > 0, delta, 0) ** 0.5)
    else:
        return jnp.sum(jnp.where(delta > 0, delta**0.5, 0))

In the first case, you only apply the square root to positive values. In the second case, you apply the square root to negative values, which generate NaNs. Outside autodiff, the filter works the same each way. But inside autodiff, the autodiff rule must consider the contributions of both filtered and non-filtered values to the gradient. You can read a more complete description of this at the link above.
Does that help answer your question?

Thanks so much for the swift response!
That's definitely a feature, not a bug, already described in details (for Tensorflow too), my bad! The most relevant comprehensive info (just refreshing the topic :) ):
https://github.com/google/jax/issues/1052#issuecomment-514083352
https://github.com/tensorflow/probability/blob/main/discussion/where-nan.pdf
Summarizing all the stuff, my understanding is the following, the problem is:
def f(x): # Our "intuition" on how it SHOULD work
  if x > 0:
    return x**0.5 #sqrt(x)
  else:
    return Const # some stub
jax.grad(f)(0.0)
# 0 - and it really works CORRECTLY, i.e. we get "d Const / d x = 0" at "0"

However with jnp.where(or similar), we get "a surprize":
def f(x): # x.size = 1
   return jnp.where(x > 0, x**0.5, Const)
jax.grad(f)(0.0)
# nan - booom!

So the workaround should be used - we should avoid Nan appearing in any branch (even it's supposed to be filtered later by jnp.where(or similar):
def f(x): # x.size = 1
   return jnp.where(x > 0, jnp.where(x > 0, x, 0)**0.5, Const)
jax.grad(f)(0.0)
# 0 - OK, i.e. we get "d Const / d x = 0" at "0"

Look like that...
p.s. Frankly speaking from the docs read it's still not obvious WHY it is so. Mentioned thing that "0 * nan = nan" isn't really a "theoretical limitation" to the problem imho. So I'm considering the problem to be an implementation "feature" (mb a known issue?)

Or maybe a special NOTE with config.update("jax_debug_nans", True) can appear if that's happened after jnp.where ?

Interesting idea! @jakevdp wdyt?

Mentioned thing that "0 * nan = nan" isn't really a "theoretical limitation" to the problem imho.

That is the fundamental root of the issue, but maybe we can connect the dots more concretely:

the vjp of any function lambda x:T: ... (think of T as including the shape) must be a function which produces a value of type T
the entry of a vjp value corresponding to an input or intermediate for which the value doesn't affect the output must be zero
the vjp of f = lambda y:f32[2]: y[1] is lambda zbar:f32[]: jnp.zeros(2, 'f32').at[1].set(zbar) (has to be a dense array because of Claim 1, and has to be a dense array of zeros because of Claim 2)
the vjp of g = lambda x:f32[]: c:f32[2] * x for any constant c is lambda ybar:f32[2]: (ybar * c:f32[2]).sum(), where the sum arises from the broadcast
the vjp of the composed function lambda x: f(g(x)) is correct no matter the value of the constant c so long as 0 * x = 0 (zero scaling) for all possible array entries x and 0 + x = x  (zero vector) for all possible array entries x, but if we had a nan value in c[0] then the vjp of the composition is incorrect

Indeed the vjp of just g by itself always produces a nan value if c[0] is nan, but it's not clear that that's a problem because there's a nan in the output of g. It's only when we compose it with f, which drops the nan from the output, that it's clear things are really going wrong: just having nans in intermediates, not outputs, can break VJPs.
The last claim is really what we mean when we say the root of the issue is allowing some value x for which x * 0 != 0. If we didn't have such values, then this problem couldn't arise!
We might be able to fix this by changing Claim 1, basically by letting cotangents be sparse array types even when the primals are dense. But we've never gone down that path.
What do you think?

Interesting, thanks so much for the clarifications!
Lets check that I've got your point :)
$f(\boldsymbol{g}(x)) \in \mathbb{R}$ - some functions composition, with scalar $x \in \mathbb{R}$ input,
$\boldsymbol{g}(x) = (g_1(x),  g_2(x))^T \in \mathbb{R}^{2 \times 1}$ - intermediate vector value,
with following derivatives:
$\frac{\partial\ f}{\partial\ \boldsymbol{g}}=\left (\frac{\partial\ f}{\partial\ g_1}, \frac{\partial\ f}{\partial\ g_2}\right ) \in \mathbb{R}^{1 \times 2}$ - gradient of scalar $f$, with corresponding vector-jacobian-product of the form: $\upsilon_g \left (\frac{\partial\ f}{\partial\ g_1}, \frac{\partial\ f}{\partial\ g_2}\right ) \in \mathbb{R}^{1 \times 2}$ with $\upsilon_g \in \mathbb{R}$
$\frac{\partial\ \boldsymbol{g}}{\partial\ x}=\left (\frac{\partial\ g_1}{\partial\ x}, \frac{\partial\ g_2}{\partial\ x}\right )^T \in \mathbb{R}^{2 \times 1}$ - gradient of vector $\boldsymbol{g}$, with corresponding vector-jacobian-product of the form: $\boldsymbol{\upsilon_f}^T \left (\frac{\partial\ g_1}{\partial\ x}, \frac{\partial\ g_2}{\partial\ x}\right )^T \in \mathbb{R}$  with  $\boldsymbol{\upsilon_f} = (\upsilon_f^1 , \upsilon_f^2)^T \in \mathbb{R}^{2 \times 1}$
and finally
$\frac{\partial\ f}{\partial\ x} = \frac{\partial\ f}{\partial\ \boldsymbol{g}} \frac{\partial\ \boldsymbol{g}}{\partial\ x} = \frac{\partial\ f}{\partial\ g_1} \frac{\partial\ g_1}{\partial\ x} + \frac{\partial\ f}{\partial\ g_2} \frac{\partial\ g_2}{\partial\ x} \in \mathbb{R}$
I hope the notation is OK, and I've understood your clarifications correctly, so going straight to the point - the problem the ORIGINAL EXAMPLE is that because
$\frac{\partial\ g_1}{\partial\ x} = \frac{\partial\ \sqrt{x \cdot 0}}{x} = nan$
is being multiplied by derivative of our "filter-function" $f(x)=g_2(x)$ or even $f(x)=0 \cdot g_1(x) + g_2(x)$:
$\frac{\partial\ f}{\partial\ g_1} = 0$ (because $f$ doesn't depend on $g_1$), resulting in $\frac{\partial\ f}{\partial\ x} = 0 \cdot nan + ... = nan$.
Is that correct ?
In other words, simplifying all the above stuff, one may assume that jnp.where is kinda a "ReLU" function, for example:
$where(y > 0,\ y,\ 0) =f(y) = y\ if\ y > 0\ else\ 0$
and having to differentiate $f(y) = f(\sqrt{x}) = \sqrt{x}\ if\ x > 0\ else\ 0$ we anyway end up with the "classic" chainrule:
$\frac{\partial\ f}{\partial\ x} = \frac{\partial\ f}{\partial\ y} \frac{\partial\ \sqrt{x}}{\partial\ x} = (1\ if\ y > 0\ else\ 0) \cdot \frac{\partial\ \sqrt{x}}{\partial\ x}$
and even though we've "turned off" $\sqrt{x}$ for $x \leqslant 0$, there will be
$\ 0 \cdot nan$ during the evaluation chain.
Does this make sense ?
So my NAIVE thought about "theoretical limitation" was based on assumption that current implementation of jnp.where under the hood is something like the binded code
for(size_t i = 0; i < y.size(); ++i)
   if(y[i] > 0)
     //...


Document python requests jwt

As discussed with @begriffs, this example documents:

logging into a PostgREST API using python-requests
obtain token from response
use token auth with requests-jwt
use Range header for pagination of results

@begriffs I've updated the pull request with usage of the Range header for pagination.

Nicely organized!
One final thing is to add your new page into the menu system of the docs page by modifying https://github.com/begriffs/postgrest/blob/master/mkdocs.yml

@begriffs I killed the extraneous newline and added the example link to the mkdocs.yml. Should be good to go!


vite preview not finding routes

Describe the Bug
Application throws the following error upon loading:
Unexpected Application Error!
404 Not Found

This not only happens when npm run build and then npm run preview in my computer. But also doing the same in a Dockerfile.
Generouted Version
1.18.2
Your Example Website or App or Reproduction
https://www.waasabi.co/
Steps to Reproduce the Bug or Issue

Run npm run dev. Everything ok.
Run npm run build to build. Everything ok.
Run npm run preview to check prod version. Error.

Expected Behavior
To load application just like in development mode.
Screenshots or Videos
With npm run dev:

With npm run build && npm run preview:

Platform

OS: Linux
Browser: All of them.
Browser version:

Additional context
I know I am very likely missing something or doing something wrong, but I cannot find the answer anywhere, thanks for the support.

@waldo2810 There's no enough information about your setup, it can be Vite or generouted related.
Could you please provide a minimal reproduction with StackBlitz?

Seems like a Vite issue. This issue may be closed now.

@waldo2810 Hello, I seem to be having the similar issue but the 404 occurs when navigating to a page that is defined. Can you tell me what did you do to resolve that Vite issue?

@waldo2810 Hello, I seem to be having the similar issue but the 404 occurs when navigating to a page that is defined. Can you tell me what did you do to resolve that Vite issue?

Hi, due to purely skill issues, I ended up using react-router directly.
One thing I can assure you, I wasn't able to reproduce in another environment so I'm positive it was an issue in my code.
I hope that helps and happy coding!


Attach openTelemetry metrics to zio.metric.Gauges

Proposal Link with code snippets on how to do that (see Part 2): here
ZIO allows you to define Gauges in your app using zio.metrics api. To forward data collected by the Gauges, we can use the Asynchronous Gauges that hold a reference to any Gauge created by zio internals or the zio app that is instrumented.
Goals:

propagating counter data to otel

NON-goals:

excluding particular metrics collection. This should be planned and done in a separate issue
adding a sophisticated configuration. That can be postponed.

Closed by #421


[Support] Can't reset password

Details

Project URL: nimble.readthedocs.io
Read the Docs username (if applicable<EMAIL_ADDRESS>
I am trying to reset the password for<EMAIL_ADDRESS>through https://readthedocs.org/accounts/password/reset/.
Expected Result
An email with a password reset link will arrive in<EMAIL_ADDRESS>mailbox.
Actual Result
No email arrived.

@rmihael can you check your SPAM folder or similar? Seems to be related to your own email account.
I just reset my own password and I got the proper email in my inbox.

I checked all folders, no signs of this email. Other emails arrive just fine.
The only thing that is special about this account is that it was disabled for some time and now re-enabled. Could it be that your email delivery service applies some weird rules for such accounts?

@humitos, can you suggest any other action that I can take? We cannot fix documentation because of this problem. Is it possible to change account's email to something else that belongs to our domain<EMAIL_ADDRESS>will work for me. I can confirm this change from<EMAIL_ADDRESS>mail.

@humitos, sorry to bother you, but this problem is blocking us. Is there anything that I can do to recover access to this account?

@rmihael Hi! Don't worry. I don't know what's the process here, so I'm asking to not screw anything :)
I'm sorry that I don't have the solution yet.

@rmihael, I sent an email to<EMAIL_ADDRESS>from my readthedocs.org email account. Please respond to that email to confirm your ownership over the account in question.

@davidfischer, I just replied. Thank you for help.

Thanks I received it and sent a temporary password to that email. I'm glad we got this sorted out.

Thank you so much!


Added PPP and test skeleton

Pull Request Test Coverage Report for Build 348

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 54.957%

Totals

Change from base Build 347:
0.0%

Covered Lines:
1591

Relevant Lines:
2895

💛  - Coveralls


Try downgrading to urfave/cli v1

urfave/cli is currently pretty strict about the ordering of flags & args on the CLI. This breaks some of our old CLI examples that pass flags after args. There's an upstream issue to relax the ordering constraint (urfave/cli#1113), but it sounds like some users have had success in just using v1 of the module (buildkite/agent#1286). Try downgrading and see what goes wrong.

There's a v1->v2 migration guide here. We should be able to apply the steps in reverse after downgrading.


Propose enhancement for extended TPM 1.2 support

I think we can close this proposal as there is not enough support in the community for going back to TPM 1.2 support.


DeepSpeed numeric issue with FP32

Thanks for the repo and great work!
I recently found that deepspeed has some numeric issue when using fp32, which gives imprecise forward and backward results for sparse operations, due to a recent update of triton: https://github.com/microsoft/DeepSpeed/issues/1222.
I am also not able to get the gpt part appropriately trained with sparse attention on BAIR and UCF-101 using either fp16 or fp32. On BAIR, I had exploded gradient after a few steps. On UCF-101, the loss didn't decrease. I'm not sure whether it is due to deepspeed or other bugs. For a sanity check, could you please let me know your used versions for these packages, specifically deepspeed, triton, and also cuda version. Thanks!

My package versions are:, deepspeed==0.3.1, triton==0.2.3, cuda10.1 with pytorch 1.6, though cuda10.2 with pytorch 1.7 should also work.
You can also try using gradient clipping if you haven't already: --gradient_clip_val 1

Hi @wilson1yan, thanks for the info. I was able to properly train the models with deepspeed==0.3.1 and triton==0.2.3.


Update 100-plugin-themes.md

Updated theme build command to the proper one
1. Why is this change necessary?
There are no commands defined in the "storefront" namespace. in bin/console
2. What does this change do, exactly?
Shows correct storefront:build command
3. Describe each step to reproduce the issue or behaviour.
4. Please link to the relevant issues (if any).
5. Checklist

[ ] I have written tests and verified that they fail without my change
[ ] I have squashed any insignificant commits
[x] I have written or adjusted the documentation according to my changes
[ ] This change has comments for package types, values, functions, and non-obvious lines of code
[x] I have read the contribution requirements and fulfil them.

Hi @snax4a
your PR was merged ef586a38be255d2a6d81c7bf7e836d0585e69bbc


Layer from analysis is added to the top (above labels)

STR:

Open a map and add an analysis to one of the layers.
Drag analysis below the layer that contained the analysis.
Expected result:
New layer appears below the layer that contained the analysis.
Actual result:
New layer is added on top of labels layer:

cc: @xavijam @viddo

Perhaps we can/should make sure that layers of different types are not "mixed" (eg: labels are always on top). We're doing this in CartoDB.js.

Related to https://github.com/CartoDB/cartodb/issues/7970.

Closing this as we're not able to reproduce it anymore.


Suggestions on some related tools and review papers

Dear Prof. Dozmorov,
Thanks for your collection of single cell ATAC tools and papers! This is such a cool collection.
Here I'd like to share some of the works from me and Dr. Junhyong Kim on single cell multiome and preprocessing of scATAC-seq.

We also have a review of computational methods for scATAC-seq / scRNA-seq integrative analysis. Our review highlighted the high-level frameworks for the computational integration of data across modalities. Here is the link:
https://www.nature.com/articles/s41581-021-00463-x
We have a preprocessing tool for single cell ATAC-seq data quantification, PIC, and we discussed whether there is quantitative information from scATAC-seq data, and here is the bioRxiv preprint:
https://www.biorxiv.org/content/10.1101/2<IP_ADDRESS>8960v1.

I hope you find these relevant and of interest to target audience of your collection, and consider including them in your repository. Thank you in advance and please let me know if you want any additional details about these two articles.
Best regards,
Zhen Miao
University of Pennsylvania, Perelman School of Medicine

Thank you, Zhen, will read and add both.


Dataframe input to Orchestrator

Having the possiblity of inputs on the etl Orchestrator.
I have a case where i need to combine steaming and batch jobs like this:

This would require that i can pass a dataframe to the Orchestrator:
class Orchestrator:
    extractor: Union[Extractor, DelegatingExtractor]
    transformer: Union[Transformer, DelegatingTransformer]
    loader: Union[Loader, DelegatingLoader]

    @abstractmethod
    def execute(self, df: DataFrame) -> DataFrame:
        pass

Making use of the fact that objects are handled by reference, here is a simple implementation in pseudocode of your problem:
from typing import Optional
from pyspark.sql import DataFrame
from atc.etl import Transformer, Orchestrator, Loader

class BatchTransformer(Transformer):
    def __init__(self):
        super().__init__()
        self.batch_df: Optional[DataFrame] = None

    def setInputs(self, batch_df):
        self.batch_df = batch_df

    def process(self, df: DataFrame) -> DataFrame:

        df = df.join(self.batch_df)  # etc, your logic

        self.batch_df = None  # we have consumed it
        return df

class StreamLoader(Loader):
    def __init__(self):
        super().__init__()
        self.transformer = BatchTransformer()
        self.orchestrator = (
            Orchestrator()
            # .extract_from(BatchExtractor())
            .transform_with(self.transformer)
            # .load_into(BatchLoader())
        )

    def save(self, df: DataFrame) -> None:
        self.transformer.setInputs(df)
        self.orchestrator.execute()


feat(eks): add load-balancer

Signed-off-by: Raphaël Pinson<EMAIL_ADDRESS>

There a dependency loop issue with this, as the eks cluster module requires to know the load-balancer in order to create the worker groups. Closing and keep the lb inside the cluster module for now.


Consider adding the package into the RDF

The CSV files have a package defined for many aspects. If this information was also put into the NQ file then a future tool could use the package data to organise the information (e.g. a future version of the csv2doc tool which could read NQ instead of CSV).

@scp93ch : This really should be raised on the csv2nq project. It doesn't require any changes to the domain model CSV files.


How to use Preload() feature in a correct way?

Dear sir,
I have a specific case is for all times, the image must be displayed immediately even the first time. So I tried using:
// In this example urlToImage will be added to cache without being assigned to any target.
ImageService.Instance.LoadFile([PATH_TO_IMAGE]).Preload();
But it still slowly appear on the first time. The image I used has 6MB in size and ran in low performance device. It takes about 6 seconds to display the image for the first time. However, from the second times onward, it is displayed instantly (without any delay).
Could you please give me a detail sample code for this case so that I can resolve my issue as soon as possible?

Preload should work fine for such scenarios. You may also try PreloadAsync and await it as Preload is just adding image loading operation to queue.
Could you make a repo?

Dear sir,
I have created the sample repo on github and invited you:
https://github.com/ManhDucIT/FFImageLoadingPreload
https://github.com/ManhDucIT/FFImageLoadingPreload/invitations
Could you please help me write some code to demonstrate the Preload feature?
I hope to hear from you soon.
Best regards,
On Fri, Apr 26, 2019 at 4:49 PM Daniel Luberda<EMAIL_ADDRESS>wrote:

Preload should work fine for such scenarios. You may also try PreloadAsync
and await it as Preload is just adding image loading operation to queue.
Could you make a repo?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/luberda-molinet/FFImageLoading/issues/1253#issuecomment-486999194,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AF5B6FLO2H3R4YBU6ZL7LPLPSLFZVANCNFSM4HIQ5KIA
.

--
Thanks and Best Regards,
Dang Manh Duc
Technical Leader (Mobile team - Fsoft Company)
Mobile: (+84)<PHONE_NUMBER>
Skype: Đặng Mạnh Đức

This is your problem: DownsampleToViewSize="true"

Image are cached in memory with specific keys eg: ball.jpg
If you use DownsampleToViewSize or DownsampleHeight or DownsampleWidth option, cache key would be automatically modified like this: ball.jpg;size={width}x{height};dip=true
If you Preload an image without downsampling, you're preloading just ball.jpg

If you want to preload correctly you have three options:

disable downsampling on image loading
preload with correct parameters: ImageService.Instance.LoadCompiledResource('ball.jpg').Downsample(width: x, height: x).Preload()
use custom cacheKey (see wiki docs)

BTW: you can enable verbose logging to see cache keys while debugging (via custom config)

I have run into a similar problem in the past where preloading did NOT preload the image and my placeholder image was still visible upon displaying the list view. I have not tried async/await before though.
@daniel-luberda Correct me if I'm wrong, but are you saying Preload queues up the operation whereas PreloadAsync runs it immediately when awaited?

Both Preload / PreloadAsync are queued. First one is fire&forget (doesn't throw exceptions) and second one is a tak which throws all exceptions (important)

Dear sir,
I have tried your suggestion but not successful. The image was still slowly
displayed on the first time.
It seems that I got something wrong.
Could you please help me check and write your sample implementation into
the project: https://github.com/ManhDucIT/FFImageLoadingPreload?
Many thanks,
On Sat, Apr 27, 2019 at 9:25 PM Daniel Luberda<EMAIL_ADDRESS>wrote:

Both Preload / PreloadAsync are queued. First one is fire&forget (doesn't
throw exceptions) and second one is a tak which throws all exceptions
(important)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/luberda-molinet/FFImageLoading/issues/1253#issuecomment-487290326,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AF5B6FM5Q3CKRFWL7D4GLKTPSRO5HANCNFSM4HIQ5KIA
.

--
Thanks and Best Regards,
Dang Manh Duc
Technical Leader (Mobile team - Fsoft Company)
Mobile: (+84)<PHONE_NUMBER>
Skype: Đặng Mạnh Đức

Have a nice day, sir
Do you have any update to my concern? Honestly, it is extremely important
point for me to get our project continuing?
Could you please help me try this?
Best regards,
On Apr 27, 2019 23:36, "Đặng Mạnh Đức"<EMAIL_ADDRESS>wrote:

Dear sir,
I have tried your suggestion but not successful. The image was still
slowly displayed on the first time.
It seems that I got something wrong.
Could you please help me check and write your sample implementation into
the project: https://github.com/ManhDucIT/FFImageLoadingPreload?
Many thanks,
On Sat, Apr 27, 2019 at 9:25 PM Daniel Luberda<EMAIL_ADDRESS>wrote:

Both Preload / PreloadAsync are queued. First one is fire&forget
(doesn't throw exceptions) and second one is a tak which throws all
exceptions (important)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/luberda-molinet/FFImageLoading/issues/1253#issuecomment-487290326,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AF5B6FM5Q3CKRFWL7D4GLKTPSRO5HANCNFSM4HIQ5KIA
.

--
Thanks and Best Regards,
Dang Manh Duc
Technical Leader (Mobile team - Fsoft Company)
Mobile: (+84)<PHONE_NUMBER>
Skype: Đặng Mạnh Đức

First option
Set preload cache key to _filePath, so when CachedImage uses _filePath file source, it will used a cached image.
ImageService.Instance.LoadFile(_filePath)
    .DownSample((int)Application.Current.MainPage.Width, (int)Application.Current.MainPage.Height)
    .CacheKey(_filePath)
    .Preload();

With this both keys (preload and cachedImage) will look like this:
$"{_filePath}"

and cachedImage will use preloaded image.
Second option
image.DownsampleWidth = (int)Application.Current.MainPage.Width;
image.DownsampleHeight = (int)Application.Current.MainPage.HeightRequest;
image.Source = ImageSource.FromFile(filePath);

With this both keys (preload and cachedImage) will look like this:
$"{_filePath};size={(int)Application.Current.MainPage.Width;}x{(int)Application.Current.MainPage.HeightRequest};dip=true"

and cachedImage will use preloaded image.

Also take note that properties like Application.Current.MainPage.Width can change, so the cache key could also change and preloaded image would not be used! It's better to set some fixed value.

Dear sir,
I have already tried both of your suggestions before, but it wasn't work.
Even that I enabled verbose logging, then taking the value of cached key,
then hard-code this key to preload feature, it still did not work.
Did you try this directly into my source code to see the real result?
Best Regards,
On Tue, Apr 30, 2019 at 4:52 PM Daniel Luberda<EMAIL_ADDRESS>wrote:

Also take note that properties like Application.Current.MainPage.Width
can change, so the cache key could also change and preloaded image would
not be used! It's better to set some fixed value.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/luberda-molinet/FFImageLoading/issues/1253#issuecomment-487892846,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AF5B6FKMMQULA6KOAXEM7M3PTAJG5ANCNFSM4HIQ5KIA
.

--
Thanks and Best Regards,
Dang Manh Duc
Technical Leader (Mobile team - Fsoft Company)
Mobile: (+84)<PHONE_NUMBER>
Skype: Đặng Mạnh Đức

Updated. Output:
Preloading finished! Key: sample.jpg;300x0
[MEMORY_CACHE] Cache hit from reuse pool for key: sample.jpg;300x0
[MEMORY_CACHE] EntryDisplayed: sample.jpg;300x0
Image loaded from cache: sample.jpg;300x0
MemoryCache

Yes yes, sir
Previously, I had this output. But seeing directly onto the screen, I still
see the image is slowly displayed on the first time.
Did you check this ?
On Tue, Apr 30, 2019 at 8:40 PM Daniel Luberda<EMAIL_ADDRESS>wrote:

Updated. Output:
Preloading finished! Key: sample.jpg;300x0
[MEMORY_CACHE] Cache hit from reuse pool for key: sample.jpg;300x0
[MEMORY_CACHE] EntryDisplayed: sample.jpg;300x0
Image loaded from cache: sample.jpg;300x0
MemoryCache
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/luberda-molinet/FFImageLoading/issues/1253#issuecomment-487956203,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AF5B6FK3WCIZJUZ7SHQX6WDPTBD4FANCNFSM4HIQ5KIA
.

--
Thanks and Best Regards,
Dang Manh Duc
Technical Leader (Mobile team - Fsoft Company)
Mobile: (+84)<PHONE_NUMBER>
Skype: Đặng Mạnh Đức

It's loaded from memory cache as the last line states. Slowness is probably because you turned on verbose logging.

Please wait for some seconds, I will try your 2 proposed solutions right
now, and give you feedback instantly, sir ! :)
On Tue, Apr 30, 2019 at 9:30 PM Daniel Luberda<EMAIL_ADDRESS>wrote:

It's loaded from memory cache as the last line states. Slowness is
probably because you turned on verbose logging.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/luberda-molinet/FFImageLoading/issues/1253#issuecomment-487975234,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AF5B6FLAVWTGUFVJZOAYHYTPTBJZVANCNFSM4HIQ5KIA
.

--
Thanks and Best Regards,
Dang Manh Duc
Technical Leader (Mobile team - Fsoft Company)
Mobile: (+84)<PHONE_NUMBER>
Skype: Đặng Mạnh Đức

I already changed your sample app, check on: https://github.com/ManhDucIT/FFImageLoadingPreload

Dear sir,
I have just tried your modification and it is ok, BUT as my original
concern, the image I used is a large image (ball.jpg - 2.4MB). It was still
slowly displayed on the first time.
And how do I make the image displayed full screen?
Regards,
On Tue, Apr 30, 2019 at 9:33 PM Daniel Luberda<EMAIL_ADDRESS>wrote:

I already changed your sample app, check on:
https://github.com/ManhDucIT/FFImageLoadingPreload
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/luberda-molinet/FFImageLoading/issues/1253#issuecomment-487976318,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AF5B6FISHWXOKP2Y6SHY2ODPTBKDXANCNFSM4HIQ5KIA
.

--
Thanks and Best Regards,
Dang Manh Duc
Technical Leader (Mobile team - Fsoft Company)
Mobile: (+84)<PHONE_NUMBER>
Skype: Đặng Mạnh Đức

For more information, I have commit the code into git:
https://github.com/ManhDucIT/FFImageLoadingPreload
On Tue, Apr 30, 2019 at 10:29 PM Đặng Mạnh Đức<EMAIL_ADDRESS>wrote:

Dear sir,
I have just tried your modification and it is ok, BUT as my original
concern, the image I used is a large image (ball.jpg - 2.4MB). It was still
slowly displayed on the first time.
And how do I make the image displayed full screen?
Regards,
On Tue, Apr 30, 2019 at 9:33 PM Daniel Luberda<EMAIL_ADDRESS>wrote:

I already changed your sample app, check on:
https://github.com/ManhDucIT/FFImageLoadingPreload
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/luberda-molinet/FFImageLoading/issues/1253#issuecomment-487976318,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AF5B6FISHWXOKP2Y6SHY2ODPTBKDXANCNFSM4HIQ5KIA
.

--
Thanks and Best Regards,
Dang Manh Duc
Technical Leader (Mobile team - Fsoft Company)
Mobile: (+84)<PHONE_NUMBER>
Skype: Đặng Mạnh Đức

--
Thanks and Best Regards,
Dang Manh Duc
Technical Leader (Mobile team - Fsoft Company)
Mobile: (+84)<PHONE_NUMBER>
Skype: Đặng Mạnh Đức

I can make it full screen by AspectFill, but the image still display slowly
on the first time.
On Tue, Apr 30, 2019 at 10:29 PM Đặng Mạnh Đức<EMAIL_ADDRESS>wrote:

For more information, I have commit the code into git:
https://github.com/ManhDucIT/FFImageLoadingPreload
On Tue, Apr 30, 2019 at 10:29 PM Đặng Mạnh Đức<EMAIL_ADDRESS>wrote:

Dear sir,
I have just tried your modification and it is ok, BUT as my original
concern, the image I used is a large image (ball.jpg - 2.4MB). It was still
slowly displayed on the first time.
And how do I make the image displayed full screen?
Regards,
On Tue, Apr 30, 2019 at 9:33 PM Daniel Luberda<EMAIL_ADDRESS>wrote:

I already changed your sample app, check on:
https://github.com/ManhDucIT/FFImageLoadingPreload
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/luberda-molinet/FFImageLoading/issues/1253#issuecomment-487976318,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AF5B6FISHWXOKP2Y6SHY2ODPTBKDXANCNFSM4HIQ5KIA
.

--
Thanks and Best Regards,
Dang Manh Duc
Technical Leader (Mobile team - Fsoft Company)
Mobile: (+84)<PHONE_NUMBER>
Skype: Đặng Mạnh Đức

--
Thanks and Best Regards,
Dang Manh Duc
Technical Leader (Mobile team - Fsoft Company)
Mobile: (+84)<PHONE_NUMBER>
Skype: Đặng Mạnh Đức

--
Thanks and Best Regards,
Dang Manh Duc
Technical Leader (Mobile team - Fsoft Company)
Mobile: (+84)<PHONE_NUMBER>
Skype: Đặng Mạnh Đức

Oh, it seems ok now, I got it work, but I need more test.
I will inform you latter.
After all, I would like to say thank you very very much for your dedicated
support.
Best regards,
On Tue, Apr 30, 2019 at 10:33 PM Đặng Mạnh Đức<EMAIL_ADDRESS>wrote:

I can make it full screen by AspectFill, but the image still display
slowly on the first time.
On Tue, Apr 30, 2019 at 10:29 PM Đặng Mạnh Đức<EMAIL_ADDRESS>wrote:

For more information, I have commit the code into git:
https://github.com/ManhDucIT/FFImageLoadingPreload
On Tue, Apr 30, 2019 at 10:29 PM Đặng Mạnh Đức<EMAIL_ADDRESS>wrote:

Dear sir,
I have just tried your modification and it is ok, BUT as my original
concern, the image I used is a large image (ball.jpg - 2.4MB). It was still
slowly displayed on the first time.
And how do I make the image displayed full screen?
Regards,
On Tue, Apr 30, 2019 at 9:33 PM Daniel Luberda<EMAIL_ADDRESS>wrote:

I already changed your sample app, check on:
https://github.com/ManhDucIT/FFImageLoadingPreload
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/luberda-molinet/FFImageLoading/issues/1253#issuecomment-487976318,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AF5B6FISHWXOKP2Y6SHY2ODPTBKDXANCNFSM4HIQ5KIA
.

--
Thanks and Best Regards,
Dang Manh Duc
Technical Leader (Mobile team - Fsoft Company)
Mobile: (+84)<PHONE_NUMBER>
Skype: Đặng Mạnh Đức

--
Thanks and Best Regards,
Dang Manh Duc
Technical Leader (Mobile team - Fsoft Company)
Mobile: (+84)<PHONE_NUMBER>
Skype: Đặng Mạnh Đức

--
Thanks and Best Regards,
Dang Manh Duc
Technical Leader (Mobile team - Fsoft Company)
Mobile: (+84)<PHONE_NUMBER>
Skype: Đặng Mạnh Đức

--
Thanks and Best Regards,
Dang Manh Duc
Technical Leader (Mobile team - Fsoft Company)
Mobile: (+84)<PHONE_NUMBER>
Skype: Đặng Mạnh Đức

I have a small question that: With the code I have just pushed into git,
why the image was not showing anymore?
Please take a look at the code:
https://github.com/ManhDucIT/FFImageLoadingPreload
I just remove downsample value.
On Tue, Apr 30, 2019 at 10:41 PM Đặng Mạnh Đức<EMAIL_ADDRESS>wrote:

Oh, it seems ok now, I got it work, but I need more test.
I will inform you latter.
After all, I would like to say thank you very very much for your dedicated
support.
Best regards,
On Tue, Apr 30, 2019 at 10:33 PM Đặng Mạnh Đức<EMAIL_ADDRESS>wrote:

I can make it full screen by AspectFill, but the image still display
slowly on the first time.
On Tue, Apr 30, 2019 at 10:29 PM Đặng Mạnh Đức<EMAIL_ADDRESS>wrote:

For more information, I have commit the code into git:
https://github.com/ManhDucIT/FFImageLoadingPreload
On Tue, Apr 30, 2019 at 10:29 PM Đặng Mạnh Đức<EMAIL_ADDRESS>wrote:

Dear sir,
I have just tried your modification and it is ok, BUT as my original
concern, the image I used is a large image (ball.jpg - 2.4MB). It was still
slowly displayed on the first time.
And how do I make the image displayed full screen?
Regards,
On Tue, Apr 30, 2019 at 9:33 PM Daniel Luberda <
<EMAIL_ADDRESS>wrote:

I already changed your sample app, check on:
https://github.com/ManhDucIT/FFImageLoadingPreload
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/luberda-molinet/FFImageLoading/issues/1253#issuecomment-487976318,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AF5B6FISHWXOKP2Y6SHY2ODPTBKDXANCNFSM4HIQ5KIA
.

--
Thanks and Best Regards,
Dang Manh Duc
Technical Leader (Mobile team - Fsoft Company)
Mobile: (+84)<PHONE_NUMBER>
Skype: Đặng Mạnh Đức

--
Thanks and Best Regards,
Dang Manh Duc
Technical Leader (Mobile team - Fsoft Company)
Mobile: (+84)<PHONE_NUMBER>
Skype: Đặng Mạnh Đức

--
Thanks and Best Regards,
Dang Manh Duc
Technical Leader (Mobile team - Fsoft Company)
Mobile: (+84)<PHONE_NUMBER>
Skype: Đặng Mạnh Đức

--
Thanks and Best Regards,
Dang Manh Duc
Technical Leader (Mobile team - Fsoft Company)
Mobile: (+84)<PHONE_NUMBER>
Skype: Đặng Mạnh Đức

--
Thanks and Best Regards,
Dang Manh Duc
Technical Leader (Mobile team - Fsoft Company)
Mobile: (+84)<PHONE_NUMBER>
Skype: Đặng Mạnh Đức

It's rather because you removed this:
        VerticalOptions="FillAndExpand"
         HorizontalOptions="FillAndExpand"

Dear author,
We are using Xamarin Forms FFImageLoading in our big application, and we
are facing a very critical issue in Android platform as bellow:
*During usage of the application, sometimes we get an unhandled exception: *
Java.Lang.Exception: FFImageLoading.finalize() timeout after 10 seconds
(details in attachef image)
Noted that all image used inside our application are storage in app
internal memory, but not in drawable folder of Droid project.
Have you ever faced this problem before?
Could you please share me the root cause and possible solution for this
issue?
Many thanks,


Complete Firebase Authentication including frontend and backend

Authentication using Firebase
Done with following things -

Updated UI of the login and the signup page.
Navigating user from login to signup page and vice versa.
Added input validation using Regex and displaying it to the user.
Added error handling.
Added Firebase to do authentication including login and signup functionality.
Created a context to store the users data for the future use.

Screenshots of UI -
SIGNUP PAGE -

LOGIN PAGE -

Video of the authentication -
https://drive.google.com/file/d/1bn4tW3OQrKYe_kA9lliBv1PGH9sPedfo/view?usp=drive_link

@712Kunal pls update the example.env as well

getting this error when i am trying to run the development server for the frontned

The errors are comming from your local system only, because you might not have the packages whatever they are needed to run the app, follow the steps which are provided in the error message only and then check it

so that means the package and package-lock files you have commited are incorrect?

First of all this is not a development error actually, its a deployment error because the app is running successfully in my local system without any type of error .
Check the node modules files generated in your machine from which you are testing, if it is not then it means the firebase package which I had installed during authentication will not come in your machine, using my package.json and package-lock.json is doesn't makes any sense that these packages will run in your local machine
To installed the packages or to get the node module of the project you have to run the command "npm install" in your terminal in the client folder only, so that all packages will get installed .
if still problem arises, then only delete package-lock.json file and then run the "npm install" command .
And also let me know that how you are testing my code or reviewing it, I mean are you simply clonning my repo and then testing it in your local environment or merging my branch with your local main branch

if it runs on your laptop and not mine, that means your code is not reproducible, I am running it on a github codespaces, so no scope of dependency issue from my side. You have an error in your package-lock.json, the one that you are commiting
Everything seems to be working fine now, that is the only issue that is holding me from merging your pr

I had again regenerated the package-lock.json file again you can review it again


Block Status for Access API

Closes #254
Description
I think, as we don't have chain fork in emulator, and finalize and seal happens at the same time, returning flowgo.BlockStatusSealed for all existing blocks should be ok.

For contributor use:

[X] Targeted PR against master branch
[X] Linked to GitHub issue with discussion and accepted design OR link to spec that describes this work
[X] Code follows the standards mentioned here
[ ] Updated relevant documentation
[X] Re-reviewed Files changed in the GitHub PR explorer
[ ] Added appropriate labels

Nice thank you for this!


Draft: Sdk Config

This PR is currently a draft of SDK configuration and global init. It has three main goals.

Make it easy to setup an SDK by providing sensible defaults and easy way to override them
Establish a defined sequence of initialization. This allows us to make certain gaurantees about which systems and globals are available at each state. The sequence is roughly:

setup logging
setup propagation
setup the tracer_factory and meter_factory
install instrumentation (as the last step)

Make it easy for users to configure and install instrumentation

It is essentially a builder that exposes and API to setup the SDK, which will in turn setup the proper components on the OpenTelemetry module.
Example
Mimimal Setup
OpenTelemetry::SDK.configure

This will setup the SDK with:

default propagation: W3C Trace Context and W3C Correlation Context
basic export: SimpleSpanProcessor with ConsoleExporter
STDOUT logging
No instrumentation installed

Customized setup
These are the options current available and subject to change as the draft progresses
OpenTelemetry::SDK.configure do |c|
  c.tracer_factory = ...
  c.meter_factory = ...
  c.correlation_context_manager = ...
  c.propagation = ...
  c.logger = Logger.new('/dev/null')
  c.add_span_processor(...)
  c.use 'OpenTelemetry::Adapters::Sinatra', {enabled: true}
  c.use 'OpenTelemetry::Adapters::Faraday', {ignore_filters: [/domain\.com/]}
  c.use 'SomeCustom::Adapter::Lib'
end

Installing Instrumentation
This is relevant to #164.
There will be two ways to install instrumentation.

Install adapters individually
Install all adapters that are present on the system by way of the discovery system

This is how each of those would look. Note: this is part of the SDK config draft PR, but an important piece of the instrumentation puzzle:
Install adapters individually
OpenTelemetry::SDK.configure do |c|
  c.use 'OpenTelemetry::Adapters::Sinatra'
  c.use 'OpenTelemetry::Adapters::Faraday', {some_config: some_value} #config can optionally be passed
end

Install all adapters with default config
OpenTelemetry::SDK.configure do |c|
  c.use_all
end

Install all adapters with config overrides
Any adapter configs will be passed onto the adapter during installation. Providing them is optional.
OpenTelemetry::SDK.configure do |c|
  c.use_all {
    'OpenTelemetry::Adapters::Faraday' => {some_config: some_value}
    ....
  }
end

LGTM so far 👍

I don't think we're doing this yet?

basic export: SimpleSpanProcessor with ConsoleExporter

Closing this as it was a proof of concept. Most of the work has been applied in #171 and #183.


Extract exceptions from MVP sample

All Exceptions will have SPIDException as common ancestor to limit consumer import requirements.


track Elf Gratitude

This doesn't strip commas from the number when extracting from the quest log, though I'm not sure if we need to

It doesn't need to. I did try this out.
All preferences are strings.
Preferences.getInteger("pref") will do string -> int conversion that strips commans.
ASH get_property("pref").to_int() does the same.


Should this work with components in pod structure?

I have the following in /components/lineup-tile/component.js:
import Ember from 'ember';
import InViewportMixin from 'ember-in-viewport';

export default Ember.Component.extend(InViewportMixin, {
  le: null,
  didEnterViewport() {
    console.log('entered');
  },

  didExitViewport() {
    console.log('exited');
  },

  didScroll(direction) {
   console.log(direction); // 'up' || 'down' || 'left' || 'right'
 }
});

but all that happens is console.log('entered'); is fired 20 times when the app loads - there are 20 items but only 8 are immediately visible on screen - none of the other events ever fire?

Could share your template?

Closing because of old age.


[C/C++]:Effective use of Constructor, Destructor and Assignment Operator

Description
Description :scroll:

Giving ideas about effective use of Constructor, Destructor and Assignment Operator
Required Documentation or Video or Audio.

Domain
C/CPP
Type of Contribution
Video, Documentation
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

\assign

/assign

@VanshikaSable can you please unassign this issue because I wanted to contribute to this issue as I created this issue .

I want to contribute
mode :-documentation

/assign

@VanshikaSable can you please unassign this issue because I wanted to contribute to this issue as I created this issue .

@sarav18302 if any such thing happens, please inform the mentors or supervisors in the group itself with the issue no and please look for the issues before creating them that they are not taken up by others


httm: init 0.17.5

Description of changes
Added the httm package, a command line tool like time machine for managing snapshots of files in btrfs / zfs.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Duplicate: https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/filesystems/httm/default.nix

Oh shoot, my bad. I checked on an old version of nixpkgs.


Update golangci-lint-action to v3

https://github.com/networkservicemesh/sdk/issues/1255

Merging this due to the repo has sync ignore https://github.com/networkservicemesh/cmd-nse-remote-vlan/blob/main/.templateignore

@NikitaSkrynnik Can we consider removing https://github.com/networkservicemesh/cmd-nse-remote-vlan/blob/main/.templateignore for this repo?


Station AI Interaction Whitelist List

Need to compile a list of everything on the station that the AI can interact with so we can put the comp on each of them. So far in station AI pr we just have airlocks + apcs. If anyone could assist with a comprehensive list that would be ideal.

Off of my top of by head
-Air alarms
-Firelocks (might be included in airlocks thought I would list it just in case)
-Atmospheric pipe components? (pumps, filters, mixers, etc)
-Buttons and Levers
-Disposals bins
-Mail shoots

-Fire alarms
-intercom? (maybe?)
-timers? (maybe?)

-Consoles
-Science Equipment?
-Power Equipment (AME and PA interface and so on?
-Alert System

-shutters?
-blastdoors?

-thrusters and gyros

imo should only be things that have wire panel
with wire panel they can have AI wire, and if you cut the wire, AI can't access the device

Cargo purchase terminal
Communications terminal? Or are we still holding off on having AI make announcements?
Solar panel control
Emitters and containment field generators (?) would be cool to have AI handle the containment wall for Oasis' perma exile shuttle, not sure how we feel about it when it comes to emitter sabotage
News manager console
Cargo and salvager shuttle control
Buttons!
Power monitor, crew monitor, station records, criminal records would be extremely useful as dedicated actions

A.P.E
AI Upload Computer (And Other AI Related Computers, Dunno The Names)
Air Alarm
All Vending Machines
Analysis Console
Anomaly Generator
Anomaly Vessel
Artifact Container
Autolathe
Body Scanner Computer
Buttons / Blast Chamber Buttons
Camera Monitor
Camera Servers (If AI Can Unpower Things)
Cameras
Cargo Bounty Computer
Cargo Request Computer
Cargo Shuttle Computer
ChemMaster 4000
Chemical Dispenser
Circuit Imprinter
Communications Computer
Containment Field Generator
Crew Monitor Servers (If AI Can Unpower Things)
Crew Monitoring Console
Criminal Records Computer
Disease Diagnoser
Dispensers
Duster
Electrolysis Unit
Emitter
Fax Machines
Freezer
Friendship
Gas Filters
Gas Mixers
Gas Pump
Gas Recycler
Heater
Hellfire Freezer
High Security Doors
ID Card Computer
Industrial Ore Processor
Lamps
Lecter Afe (Lock/Unlock)
Lockers(Locking Unlocking, Not Opening)
Mass Scanner Console
Medical Records Computer
Microwaves
Morgue
News Manager Console
Ore Processor
PA Control Computer
PTK-800 Matter Dematerializer
Pacmans
Perforator
Power Monitoring Computer
Protolathe
R&D Console
Radar
Radiation Collectors
Reagent Grinders
Rechargers
Robotics Control Console
Salvage Expeditions Computer
Sheet-Meister 2000
Shuttle Computers
Signaler And Remote Signaler
Soda Dispenser
Solar Control Console
Station Beacons
Station Map
Station Records Computer
Suit Storage
Svalinn Machine Gun
Tabletop Centrifuge
Tech Disk Terminal
Techfabs
Telecomm Servers (If AI Can Unpower Things)
Trash Chute
Vaccinator
Volumetric Gas Pump
Wireless Cameras

Cargo purchase terminal Communications terminal? Or are we still holding off on having AI make announcements? Solar panel control Emitters and containment field generators (?) would be cool to have AI handle the containment wall for Oasis' perma exile shuttle, not sure how we feel about it when it comes to emitter sabotage News manager console Cargo and salvager shuttle control Buttons!
Power monitor, crew monitor, station records, criminal records would be extremely useful as dedicated actions

not the purchase terminal.
"AI order 50 weh crates"
"AI order 1 million beers"
"ai order 12 smg crates"

not the purchase terminal.
"AI order 50 weh crates"
"AI order 1 million beers"
"ai order 12 smg crates"

You can already try to get a Borg to do this and they will probably not do it.
1 and 2 are unreasonable orders and can be safely ignored.
3 can technically violate the crew harm rule but otherwise it's still unreasonable, of course given most circumstances.

Fixed by #31730


Frontend Styling

Frontend Styling

As we're working on a new pull request with more functionality, let's try to resolve the conflict first.


Format array inside a dict

What is the most pythonic way of doing this? https://github.com/UnivaqTelegramBot/UnivaqInformaticaBot/blob/master/libs/other_commands/other_commands.py#L28
Basically I can't show courses because I can't think a smarter way of cycle it

@cclauss thoughts on this? 😄


Protocol yaml parsing, validation, and rendering

Protocol yaml parsing, validation, and rendering:

Use ajv for protocol schema and validation.
Use lodash for protocol rendering.

Coverage decreased (-6.8%) to 45.847% when pulling 53b0985a2ae51103fac8b3f56de8cc7c8b516e3d on xiongyf/protocol-to-json into 9f8adc2174d6b530bcf64e9e453cdfa708f1193f on feature/submission-v2.

Coverage decreased (-6.8%) to 45.847% when pulling 53b0985a2ae51103fac8b3f56de8cc7c8b516e3d on xiongyf/protocol-to-json into 9f8adc2174d6b530bcf64e9e453cdfa708f1193f on feature/submission-v2.

unit test pleas.


Update screenshot

Probably the most important PR this month, updating the component guide screen capture to reflect recent changes.
👉Preview

@nickcolley I give credit to @tijmenb for that 🎨


I wanted to give you a hint

I wanted to give you a hint ,
"Someone should make a program that when we export the YTYP we can edit the PortalCount directly from the plugin or it can do it automatically, because every time we have to re-open externaly YTYP and go there to manually edit the portalcount from limbo!  "

Portal count is automatically calculated now make sure you are updated.

my limbo every time is 0 !

When is the last time you updated? This used to be a bug but was recently resolved. If you updated and are still having this issue, then send a blend file to reproduce the issue.

Thanks for ur sollution !!


[Feat] Add appropriate api to GraphScope client and documents for user easy to write/build graph to/from GAR format files

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Move to release v0.1.1

resolved


Compile and run OpenBLAS with TIMING flag

Hi,I want to use the TIMING flag for debugging:
#ifdef TIMING
#define START_RPCC()		rpcc_counter = rpcc();
#define STOP_RPCC(COUNTER)	COUNTER  += rpcc() - rpcc_counter;
#else
#define START_RPCC()
#define STOP_RPCC(COUNTER)
#endif
I am using the compiler flag CFLAGS="-DTIMING=1" but it isn't working. Kindly suggest the right method.

TIMING is only present in the level3 driver code and the main thread server - and at least some of the files contain an unconditional undef TIMING. These are most likely all just remnants of original GotoBLAS development code, if you really want to use them it is probably best to edit the files directly to make sure TIMING is defined where you need it.

Checked it now, adding -DTIMING=1 to CFLAGS as you said you did does actually work on those few files that have ifdef TIMING (and no undef TIMING) in them. As said, you may have to copy the relevant code parts to the files you are actually interested in - but depending on what you are debugging, it may be more fruitful to use the simple benchmarks.

Thank you @martin-frbg. Defining the Timing flag in the file helped.


When restarting the container image fails to re-bind to the same IP

If I assign a static IP to this container in Unraid it starts fine on that IP/Port. But if I go and restart or stop/start the container it returns this error:
`node:internal/errors:563
ErrorCaptureStackTrace(err);
^
Error: listen EADDRINUSE: address already in use /tmp/tsx-0/34.pipe
at Server.setupListenHandle [as _listen2] (node:net:1855:21)
at listenInCluster (node:net:1920:12)
at Server.listen (node:net:2025:5)
at file:///build/node_modules/tsx/dist/cli.mjs:53:31317
at new Promise ()
at yn (file:///build/node_modules/tsx/dist/cli.mjs:53:31295)
at async file:///build/node_modules/tsx/dist/cli.mjs:55:459 {
code: 'EADDRINUSE',
errno: -98,
syscall: 'listen',
address: '/tmp/tsx-0/34.pipe',
port: -1
}
Node.js v20.11.0
error Command failed with exit code 1.
yarn run v1.22.19
$ tsx ./src/index.ts
[LAUNCHED] Whisker Private API launched at http://localhost:8080
yarn run v1.22.19
$ tsx ./src/index.ts
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.`
It seems like the IP/Port is not being released properly when the container shuts down?

Also if I change the IP to another IP start/stop. Then change it back to its original IP it binds successfully (until container restart again).

The latest version of the api (1.0.3) should work. There was a bug in tsx that caused that to happen. The new version should be available on Docker now.


Ability to install v2 in Rails 6

The railties dependency was only relaxed in your version 3.0.6 update (which includes Editor V3). However I'd like to continue running your V2 editor on Rails 6. Any chance you can put out a 2.9.7 or <IP_ADDRESS> release that allows Froala Editor V2 to run on Rails 6?

@richardonrails This would be possible with the next V2 release

@richardonrails This has been done with the release of 2.9.6-1. Please test and let us know.

Thanks. Is that the same version that's tagged on RubyGems as 2.9.6.pre.1?
https://rubygems.org/gems/wysiwyg-rails/versions/2.9.6.pre.1

Yes


RE3 FIRST PORSEN PROBLEM

in the first person mode
I see the inside head of the character.
I mean isee the tongue the eyes and everything...
How can I fix it?
Please help 🙏


WIP - feat: add data viz section to website

Data viz section
closes: #240, #241

This branch closes: https://github.com/carbon-design-system/carbon-website/issues/240, https://github.com/carbon-design-system/carbon-website/issues/241

@alisonjoseph Could you help with a few changes to the nav? Since we are anticipating the tabs to go away, we'd like to break out Overview's 2 tabs and Charts's 2 tabs all into individual pages. This is the nav for Oct:
Data visualization

Getting started (formally Develop page, just a name change. Keeping tabs here.)
Chart types
Anatomy (formally Charting elements page)
Basic charts
Advanced charts
Color palettes
Axis and labels
Legends
Tooltips

THANKS!

@shixiedesign I can update the nav!

Thanks Connor! let me know if I can help

Hi @alisonjoseph, got a few items for to get your eyes on before you head out:

Most important, is could you work with Eliad to pull in the latest chart demos? As shown here: https://carbon-design-system.github.io/carbon-charts/ If refactor can be done later Eliad can try to update it even more, but at this point, even updating to the versions in the link above would help! Please make sure all charts are on a white background too. It's hard to get over the visuals differences for a lot of people.

Spacing around inline notification is too big. Ideally it can be closer to the element above it:

Cards in Chart types no longer link to the charts page's corresponding H2s. This is probably because I asked Connor to change the nav. I think I can fix this if you are out of time. Just FYI.

Thank you!

made an issue to fix the spacing https://github.com/carbon-design-system/gatsby-theme-carbon/issues/453

@shixiedesign latest React demos are here https://carbon-design-system.github.io/carbon-charts/react/?path=/story/bar--label-based-legend thats what is being pulled into the website. I don't think I'll have time to try and update them today to match the link you have, not sure if @theiliad will?

Okay thanks! lemme check with Eliad. I think that's the last important thing we hopefully can do before shipping this whole section. I don't think we should publish this section until the charts demos are the new style. If it has to wait till next week, we will do that.

@shixiedesign Do we want to have the sketch link show up before the other 2 dev-related links?

Since this is a developer get started page I think the sketch should be number 3 in the list

Also, we should add it to the other framework pages as well.
Also, in the "other frameworks" page, the title should be Get Started not Getting Started

This all looks good to me! (I can't officially approve since its technically my PR).
One comment, did we want to add a link/card to Carbon-charts on the Resources page?


Private torrent not downloading

WebTorrent version: latest
Browser name/version (if using WebTorrent in the browser): Google Chrome

Hi!
I'm trying to use this webtorrent package, but I got stuck. I'm using private torrent files, because I want to track my users leech/seed ratio but my webtorrent is just stays at 0B in my browser. It's only happens with private torrent files. How can I solve this to make it work with private torrent files?
update: I tried it with the desktop version, and it's working. So, I just need to solve it in the browser version.

I guess the private torrent is not seeded by WebRTC peers.
See: https://github.com/feross/webtorrent/blob/master/docs/faq.md#why-does-browser-downloading-not-work-i-see-no-peers


Mark entities as MultiTenant without using an Attribute

If entity classes are in a class library (e.g. MyApp.Core) and the EF configuration in another class library (e.g. MyApp.Data), the MyApp.Core class library has to take on Finbuckle.MultiTenant.EntityFrameworkCore (and therefore EntityFrameworkCore itself) in order to use  [MultiTenant] on classes.
A solution to mark entities as MultiTenant without an attribute would be great. It would make a lot of sense (to me anyway) to make this part of model building API.  Maybe an extension method on EntityTypeBuilder and EntityTypeBuilder<T> so you could do modelBuilder.Entity<MyEntity>().HasMultiTenant().
That way the MyApp.Core library doesn't need to depend on Finbuckle at all.
For example, the HasMultiTenant extension method could add an annotation or something to the entity type:
public static EntityTypeBuilder<TEntity> HasMultiTenant<TEntity>(this EntityTypeBuilder<TEntity> builder) where TEntity : class
{
    HasMultiTenant((EntityTypeBuilder)builder)

    return builder;
}

public static EntityTypeBuilder HasMultiTenant(this EntityTypeBuilder builder)
{
    builder.HasAnnotation("Finbuckle:MultiTenant", true);

    return builder;
}

Shared could add Shared.IsMultiTenant and look for the annotation instead of the attribute:
public static bool IsMultiTenant(IEntityType t)
{
    return (bool?)t.FindAnnotation("Finbuckle:MultiTenant")?.Value ?? false
}

(or since it's a static method anyway, it could be an extension method of IEntityType).
MultiTenantDbContext.MultiTenantEntityTypes and MultiTenantIdentityDbContext.MultiTenantEntityTypes would call Shared.IsMultiTenant instead of Shared.HasMultiTenantAttribute to build the list of MultiTenant entity types.
public IImmutableList<IEntityType> MultiTenantEntityTypes
{
    get
    {
        if (multiTenantEntityTypes == null)
        {
            multiTenantEntityTypes = Model.GetEntityTypes().
                Where(t => Shared.IsMultiTenant(t)).
                ToImmutableList();
        }

        return multiTenantEntityTypes;
    }
}

MultiTenantIdentityDbContext.OnModelCreating would also have to call Shared.IsMultiTenant when modifying indexes on identity tables.
MultiTenantAttribute could remain as well for backwards compatibility and for those who prefer attribtues to annotate models. Shared.SetupModel would simply get a list of entities with the attribute and call HasMultiTenant on them to add the annotation and then loop through entity types with the annotation instead:
public static void SetupModel(ModelBuilder modelBuilder, Expression<Func<TenantInfo>> currentTenantInfoExpression)
{
    foreach (var t in modelBuilder.Model.GetEntityTypes().
        Where(t => HasMultiTenantAttribute(t.ClrType)))
    {
        modelBuilder.Entity(t.ClrType).HasMultiTenant();
    }

    foreach (var t in moduleBuilder.Model.GetEntityTypes().
        Where(t => IsMultiTenant(t))
    {
        var r = modelBuilder.Entity(t.ClrType);

        // ... original logic for setting up model
    }
}

That way both the fluent model builder API as well as the attribute could be used to mark entities as MultiTenant.
Caveat: MultiTenantDbContext.MultiTenantEntityTypes and MultiTenantIdentityDbContext.MultiTenantEntityTypes would not be able to return a list of results until after OnModelCreating is called but I'm not sure how much that would end up being an issue.
Let me know if you're interested in this concept. Maybe I could put together a PR but I don't currently have .NET Core 3.0.

Oops, Shared.EnforceTenantId would also need to be updated to identify MultiTenant entities via the annotation:
public static void EnforceTenantId(TenantInfo tenantInfo,
    ChangeTracker changeTracker,
    TenantNotSetMode tenantNotSetMode,
    TenantMismatchMode tenantMismatchMode)
{
    var changedMultiTenantEntities = changeTracker.Entries().
        Where(e => e.State == EntityState.Added || e.State == EntityState.Modified || e.State == EntityState.Deleted).
        Where(e => Shared.IsMultiTenant(e.Metadata));

    // ... rest of method

Hi @GordonBlahut
I had the same thought about using the model builder as I started looking into IdentityServer support. I think this adds a lot of value as well.
If you start a PR that would be great, otherwise maybe I can get you to review mine? Not sure when I will get to it--a few other items on the plate as well.

Ok, I'll look into putting together a PR. I likely won't be able to get to it until the weekend or maybe even next week.

hi @GordonBlahut, I just submitted PR #191
Thoughts?

No joke I was just about to start my implementation. I will take a look at the PR.


Update how-to-connect-to-workspace-from-restricted-network.md

Minor correction.

@hurtn : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off

@julieMSFT: I'm sorry - only the author of this article, @xujxu, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.


⚠ Mobitopup has degraded performance

In 215d0e0, Mobitopup (https://napcard.voz.tech) experienced degraded performance:

HTTP code: 200
Response time: 6957 ms

Resolved: Mobitopup performance has improved in 6b1ee0f after 423 days, 1 hour, 15 minutes.


[Bug][Sort] Connectors AuditOperator  was not serialized

What happened

What you expected to happen
AuditOperator can send audit infotmation to pulsar
How to reproduce
Move the AuditOperator serialization to correct place.
Environment
No response
InLong version
master
InLong Component
InLong Sort
Are you willing to submit PR?

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

Code of Conduct

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

This Issue divided into three issues as follow:
#10338
#10339
#10340


Recurly client legacy configuration issue

Describe the bug
I upgraded Recurly client to the version 1.15.7 (from 1.14.1) and now some methods, like retrieve existing plans, throw exception:
The Recurly client has has no configuration initialized, please add your settings to web/app.config or call Recurly.Configuration.SettingsManager.Initialize(args)

I use legacy method of configuring with web.config, which I believe is still supported. Also, I am certain that the issue has nothing to do with my configuration as it worked fine with previous versions of the library.
Here is the part of stack trace:
[Exception: The Recurly client has has no configuration initialized, please add your settings to web/app.config or call Recurly.Configuration.SettingsManager.Initialize(args)]
   Recurly.Configuration.Settings.get_PageSize() in /Users/asuarez/code/v2/clients/dotnet/Library/Configuration/Settings.cs:60
   Recurly.RecurlyList`1..ctor(HttpRequestMethod method, String url) in /Users/asuarez/code/v2/clients/dotnet/Library/List/RecurlyList.cs:13
   Recurly.Plans.List(FilterCriteria filter) in /Users/asuarez/code/v2/clients/dotnet/Library/Plan.cs:482

I investigated what may cause the problem and it turns out that Configuration.Settings class fails to read configuration values from web.config and fails silently at
https://github.com/recurly/recurly-client-net/blob/a1791ee4d7632998c9215c6ab6690a3cd8e8473b/Library/Configuration/Settings.cs#L131
As I understand, it happens due to the mismatched section name for request timeout parameter: there is timeoutMilliseconds in configuration propery but requestTimeoutMilliseconds in the methods code and it causes NRE - https://github.com/recurly/recurly-client-net/blob/a1791ee4d7632998c9215c6ab6690a3cd8e8473b/Library/Configuration/Section.cs#L65
When I changed requestTimeoutMilliseconds to timeoutMilliseconds, the issue disappeared.
To Reproduce
To reproduce, use legacy method for defining api key and subdomain on web.config:
<configSections>
  ..
  <section name="recurly" type="Recurly.Configuration.Section,Recurly" />
</configSections>
..
<recurly apiKey="my-api-key" subdomain="my-subdomain" />

Do not statically initialize the library by calling Recurly.Configuration.SettingsManager.Initialize().

After that, attempt to invoke Recurly.Plans.List() - it throws an exception.
Expected behavior
Recurly.Plans.List() does not throw and returns a list with available plans.
Your Environment

Which version of this library are you using?
1.15.6, 1.15.7
Which version of dotnet are you using?
.NET Framework 4.7.2

Thank you for the detailed bug report @subterraneanbob. We will investigate.

@subterraneanbob Please note that using the legacy method can be dangerous depending on your setup. The primary problem is that storing your API key in a plaintext file on your server is a very bad idea from a security perspective. An attacker (or a malicious employee) with access to the server can just read the file and start performing operations via the Recurly API. Instead, it is highly recommended to use an encrypted secrets store. Please be sure to take all proper precautions to safeguard your API keys.

@aaron-suarez Thanks for your concern. We protect Recruly API key (all sensitive information in fact) by encrypting web.config with RSA.

Thank you for the additional context. We will prioritize work on a fix for this issue and have a patch as soon as we can.


fix explorer endpoint

Coverage remained the same at 91.687% when pulling 5f2bf1220d70d8e9f7cc455f2ae35d954350301e on boguslavsky:ECR-1786 into 5e11410204df12d89d7653d3ba09403edcd2fae5 on exonum:master.


paginated get for large buckets

Closes
related to https://github.com/PrefectHQ/prefect/issues/9188
The linked bug is quite a blocker for me. tasks will sometimes just completely randomly fail upon running with no other changes to configs or definitions or deployments. The failure occurs on pulling the project from s3.
I'm not 100% sure this fixes the linked error and I will need help testing it, but I noticed that it uses ListObjects which I believe is deprecated. The previous call to for obj in bucket_resource.objects.filter(Prefix=folder): I think could plausibly fail when the number of objects is extremely large (although I don't know why that causes a permission error). In any case if this closes that issue or not, it seems like a good practice to use a paginator.
update: this won't solve the linked issue. I tested just using a new empty bucket (so it should for sure not have too many objects) and I still get the error sometimes. however, it's probably worth making this change anyway
Example

Screenshots

Checklist

[x] References any related issue by including "Closes #" or "Closes ".

If no issue exists and your change is not a small fix, please create an issue first.

[ ] Includes tests or only affects documentation.
[ ] Passes pre-commit checks.

Run pre-commit install && pre-commit run --all locally for formatting and linting.

[ ] Includes screenshots of documentation updates.

Run mkdocs serve view documentation locally.

[ ] Summarizes PR's changes in CHANGELOG.md

Thanks for the contribution @akdienes! This looks good to me, but I think there's one pre-commit check that is failing. You can run pre-commit install && pre-commit run --all to fix the error.

@desertaxle done, ty


Many incosistencies and an error

There are many inconsistencies in this tutorial.
1. Section: Configure Azure AD single sign-on. Step 3: SharePoint on-premises Domain and URLs
The existing image shows (and the text below it suggests)
Sign On URL: https:///_trust/default.aspx
Identifier (Entity Id): urn:sharepoint:federation
where the actual reality is totally different. Please see the following image.

Please I need a clear answer.
What do I use as Sign On Url?
a. https://MyServer.MyCompany.com/_trust/default.aspx
b. https://MyServer.MyCompany.com
What do I use as Identifier (Entity Id)
a. urn:sharepoint:federation
b. https://MyServer.MyCompany.com
2. Section: Configure Azure AD single sign-on. Step 6: Configure SharePoint on-premises
Please take a look at the following image. This is what I get.

Issues here
a. I pressume this is an error in the Sign-On Service URL (red characters)
Azure AD Single Sign-On Service URL : %metadata:wsFederationSignInUrl% ERROR!
Is there any workaround to this?
Can I use something like
https://login.microsoftonline.com/<what here? my directory id?>/wsfed
It would be nice though to have a reminder as to how to get my tenant directory id, e.g. Azure AD > Properties > Directory ID
b. Tutorial instructs to copy the "SAML Entity ID from the Quick Reference section".
Why? Where do I need that?
Do you mean the "Identifier (Entity ID)" value found in section "Configure Azure AD single sign-on"?
c. The "Azure AD SAML Entity ID" value that I have in Quick Reference section is a Url. Should I use that as "SAML Entity ID from the Quick Reference section" and give that as a realm, later in the PowerShell script where I define the trusted provider for SP?
I believe that someone should get the whole procedure, implement it, and document it again.
And certainly I'll do that, once I'm done, for my own reference.
Thank you.

Document details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: abc120a6-1b98-874a-1cfb-b43456f4a718
Version Independent ID: 1008851f-9a43-953c-e6c1-269397268c72
Content: Tutorial: Azure Active Directory integration with SharePoint on-premises
Content Source: articles/active-directory/saas-apps/sharepoint-on-premises-tutorial.md
Service: active-directory
GitHub Login: @jeevansd
Microsoft Alias: jeedes

Let's recap.
1. Section: Configure Azure AD single sign-on. Step 3: SharePoint on-premises Domain and URLs
a. For Sign on URL: I type "https://MyServer.MyCompany.com/_trust/default.aspx"
b. For Identifier (Entity Id): I type "urn:sharepoint:federation"
2. Section: Configure Azure AD single sign-on. Step 6: Configure SharePoint on-premises
a. I click the Download Azure AD Signing Certificate. The downloaded certificate will be used with the $filepath/$cert variables in the PowerShell script.
3. Section: Configure Azure AD single sign-on. Step 8: Configure a new trusted identity provider in SharePoint Server 2016
a. For the $realm PowerShell script variable I use as value the value of Identifier (Entity Id)
b. For the $wsfedurl PowerShell script variable I use as value the URL https://login.microsoftonline.com/my_tenant_directory_id/wsfed
Please provide a careful answer.
Thank you.

@tbebekis Step 3.a. should be the value of urn:federation:sharepoint everything else is correct.
Apologies for my previous wrong answer for 3.a.

@jeevansd
It was not a wrong answer, I believe.
Searching this URN issue a little bit more Ι found that

The syntax of a URN is urn:NID:NSS
see: https://en.wikipedia.org/wiki/Uniform_Resource_Name
There are two more, optional, components in URN, right after NSS, not needed in our case.

NID (Namespace IDentifier) may include letters, digits, and -

NSS (Namespace Specific String) may include almost any character (slashes too as of 2017).
The interpretation of NSS depends on the specified NID, which, in our case, means we use whatever we like.

NIDs are required to be registered with the IANA.
But there is no entry regarding a "sharepoint" NID in IANA's registered URN namespaces.
see: https://www.iana.org/assignments/urn-namespaces/urn-namespaces.xhtml
I believe we may use whatever we want as our NID, and "sharepoint" is a good choise here.

So in the light of all the above, all the following

urn:sharepoint:my_unique_NSS
urn:sharepoint:federation
urn:federation:sharepoint

should work as long as the whole URN is a unique one.
Unless there is a particular preference in Azure AD's code.
Is there such a preference?
Thank you again.

We updated the tutorial as requested.
#please-close


Interim solution to export KPI data

Changes in this PR

add a rake task to export activity log items as CSV data for convenience
once the task has been run manually and the file downloaded it should be removed from the server

 Activity Log data exporting


Update Ruby to 2.4.2 and bump Gemfile dependancies

Update Ruby and Gemfile dependancies
Ahead of enabling Dependabot on the repository, we want to be using the latest
dependancies, to minimise the onslaught of incremental PRs.

@chrisroos - Thanks for your comments. Agree that bisecting will be easier if the bumps were incremental, though unsure how pragmatic this approach is across ~35 repos.
We discussed both routes with @tijmenb last week and felt the simplest path for teams across GOV.UK would be to batch update the gems to the latest available versions and then get dependabot running against a repo, which will open dependency specific PRs that the teams can deal with.

I don't suppose Dependabot has an option to batch multiple incremental upgrade commits into a single PR...? If it doesn't, it should have!

Not that i've seen, though we're hoping to be able to push some changes (like this) back into https://github.com/dependabot/dependabot-core, if we have some time.


Update the readme version

The readme recommends to put the following in your dependencies:
semver = "0.5.0"

But the current semver version is "0.5.1"

So, given the rules, this is equal to ^0.5.0, which means you'll get 0.5.1, unless you have other constraints. I only tend to bump the README for point versions for this reason.
Thanks though!


Docs neglect binding the provider to the controllerConfig via controllerConfigRef

What happened?
Tried setting up workload Identity per the docs, specifically 2.1 option 2. Banged my head against to wall for a long time. Questioned how the provider was bound to the controllerConfig for a while. Finally found this old thing that pointed out the controllerConfigRef. That worked!
How can we reproduce it?
Follow the docs. Observe that the provider pods use the provider service account and not the configController's.
What environment did it happen in?
Crossplane version: v1.11.0
Provider version: v0.28.0

Oh, also creating an additional ClusterRoleBinding in in 2.1 Option 2 is not necessary. Looks like installing the package with the controllerConfigRef updates the default ClusterRoleBinding with the override serviceAccountName.