Improve build process

I was just looking at the source, and thought wouldn't it be nice to use something like webpack + npm dependencies to handle the JavaScript based dependencies, as well as being able to write the scripts for the site in es6 using babel.
Would you be up for a PR that implements this?

I don't know if it's really necessary at this point. I don't want to use webpack either.

Beauty of the build pipeline now is that we can just push to GitHub pages and it automatically builds it with Jekyll.

@thejameskyle @sebmck How do you build and preview this site locally?

It's just a basic Jekyll site. Setup commands are something like:
``sh
$ # install ruby
$ gem install bundler # if ruby hasn't been installed
$ bundle install # if you haven't already
$ gem install jekyll-redirect-from
$ jekyll s

@sebmck Ok, thanks. I've never built a Jekyll site before.

@sebmck What does this mean?:

# if ruby hasn't been installed

Isn't the premise that ruby is installed when running?:
$ gem install bundler

When I ran:
$ bundle install

I got:
Could not locate Gemfile or .bundle/ directory

When I run:
$ jekyll s

I get various crashes that I have no idea how to debug, e.g.:
      Generating...
*** glibc detected *** ruby /home/jesse/.rvm/gems/ruby-2.2.1/bin/jekyll s: free(): invalid pointer: 0x00000000028c1690 ***
<...many lines>
Aborted (core dumped)

You might want to make sure you have all of the same versions of gems that GitHub Pages uses https://pages.github.com/versions/

@thejameskyle Thanks, I tried following the instructions there (including installing github-pages gem) and no dice. Sometimes it's the message I posted earlier, sometimes it's this:
/somedir/.rvm/gems/ruby-2.2.1/gems/liquid-2.6.2/lib/liquid/variable.rb:28: [BUG] Segmentation fault at 0x00000000000000

And then hangs at:
-- C level backtrace information -------------------------------------------

I don't think we will change the build anytime soon right? I think we can update the instructions on how to run it locally though.


Provide ability to carry State(Object) with Telemetry

Proposing to provide an ability to store a raw object/state in any ITelemetry item inside the TelemetryContext, which can be used by TelemetryInitializers (for enrichment) or by TelemetryProcessors (filtering)/Channel.
The state/object is not meant to be serialized and sent to backend.
If multiple sinks are configured, the state will be shared between them. Sinks are expected to treat this state as read-only. If any of the sinks wants to modify the state clone the object, and modify so as to not affect the shared state.
Use Cases:
Similar discussion here: https://github.com/Microsoft/ApplicationInsights-dotnet-server/issues/900 DependencyTelemetry was modified to provide the ability to carry additional state.(via SetOperationDetail(string key, object detail) and TryGetOperationDetail(string key, out object detail))
We can modify the above to make use of the new state sharing mechanism being proposed here.
ProposedAPI:
TelemetryContext.StoreRawObject(string key, Object rawObject, bool keepForInitializationOnly  = true)
bool TelemetryContext.TryGetRawObject(string key, out Object rawObject)
Details:
StoreRawObject will let users store any state (i.e any object) into the TelemetryContext. The 3rd boolean parameter indicates whether this state is to be used only till TelemetryInitializers or not.
True - the entry will be cleared after all TelemetryInitializers are run. i.e TelemetryProcessors/Channels won't have access to this object.
Use this, if storing memory intensive objects like HTTPResponse, HttpContext etc. for use by TelemetryInitializers. This has negligible memory overhead, as its cleared immediately after initializers.
False - SDK will not clean it up explicitly. Once telemetry is send from the channel, objects are GC'ed as usual.
Use this if storing custom states which are needed in TelemetryProcessors. Since the object is not explicitly cleaned up by SDK, storing memory intensive objects like HttpResponse etc. can cause memory overheads.
TryGetRawObject - to retrieve the state for the given key.

Example usage:
class MyProcessor : ITelemetryProcessor
{
    private ITelemetryProcessor next;

    public MyProcessor(ITelemetryProcessor next)
    {
        this.next = next;
    }

    public void Process(ITelemetry item)
    {
       // The following will not find the value set in MyInitializer1 into "key"
        var tempKeyExists = item.Context.TryGetRawObject("key", out object myvalue);

       // The following will successfully retrieve the value set in MyInitializer2 into "keyperm"
        var permKeyExists = item.Context.TryGetRawObject("keyperm", out object myvalueperm);

        this.next.Process(item);
    }
}

class MyInitializer1 : ITelemetryInitializer
{
    public void Initialize(ITelemetry telemetry)
    {
        // Stores something for access by TelemetryInitializers only
        telemetry.Context.StoreRawObject("key", "cijothomas");
    }
}

class MyInitializer2 : ITelemetryInitializer
{
    public void Initialize(ITelemetry telemetry)
    {
        // Stores something for access by TelemetryInitializers, TelemetryProcessors
        telemetry.Context.StoreRawObject("keyperm", "cijothomas", false);

        // If MyInitializer2 is added MyInitializer1, then the following will successfully retrieve the value set in MyInitializer1
        var result = telemetry.Context.TryGetRawObject("key", out object myval);
    }
}


MaximumLikelihoodEstimationModel and NaNs

It seems like the MaximumLikelihoodEstimationModel is introducing NaNs somewhere. When trying it out with my data that has no NaN values anywhere I get an error:
ValueErrorTraceback (most recent call last)
<ipython-input-1-cf2cd2ac15d7> in <module>()
     22     sub_mod_denoise_mle = MaximumLikelihoodEstimationModel(dataset_reader=dataset_reader)
     23     sub_mod_denoise_mle_rest = MaximumLikelihoodEstimationModel(dataset_reader=dataset_reader_rest)
---> 24     result_denoise_mle = sub_mod_denoise_mle.run_modeling()
     25     result_denoise_mle_rest = sub_mod_denoise_mle_rest.run_modeling()
     26     corrs_denoised_mle.append(np.corrcoef(result_denoise_mle['quality_scores'],result_denoise_mle_rest['quality_scores']))

/home/fh/miniconda2/envs/keras_py27up/lib/python2.7/site-packages/sureal/subjective_model.py in run_modeling(self, **kwargs)
     61
     62     def run_modeling(self, **kwargs):
---> 63         model_result = self._run_modeling(self.dataset_reader, **kwargs)
     64         self._postprocess_model_result(model_result, **kwargs)
     65         self.model_result = model_result

/home/fh/miniconda2/envs/keras_py27up/lib/python2.7/site-packages/sureal/subjective_model.py in _run_modeling(cls, dataset_reader, **kwargs)
    816             print(np.isnan(x_e).any())
    817
--> 818             delta_x_e = linalg.norm(x_e_prev - x_e)
    819
    820             likelihood = np.sum(cls.loglikelihood_fcn(x_es, x_e, b_s, v_s, a_c, dataset_reader.content_id_of_dis_videos, 1, numerical_pdf))

/home/fh/miniconda2/envs/keras_py27up/lib/python2.7/site-packages/scipy/linalg/misc.pyc in norm(a, ord, axis, keepdims)
    135     """
    136     # Differs from numpy only in non-finite handling and the use of blas.
--> 137     a = np.asarray_chkfinite(a)
    138
    139     # Only use optimized norms if axis and keepdims are not specified.

/home/fh/miniconda2/envs/keras_py27up/lib/python2.7/site-packages/numpy/lib/function_base.pyc in asarray_chkfinite(a, dtype, order)
   1231     if a.dtype.char in typecodes['AllFloat'] and not np.isfinite(a).all():
   1232         raise ValueError(
-> 1233             "array must not contain infs or NaNs")
   1234     return a
   1235

ValueError: array must not contain infs or NaNs

Notice I did change the model to check for NaN values in x_e_prev and x_e, and only x_e contains them. I am not sure what causes this bug, but I'd love to see if someone knows what's the cause.
Edit: Also, I get these additional warning messages:
/home/fh/miniconda2/envs/keras_py27up/lib/python2.7/site-packages/sureal/subjective_model.py:711: RuntimeWarning: divide by zero encountered in divide
  num = - np.tile(a_c_e, (S, 1)).T / vs2_add_ace2 + np.tile(a_c_e, (S, 1)).T * a_es**2 / vs2_add_ace2**2
/home/fh/miniconda2/envs/keras_py27up/lib/python2.7/site-packages/sureal/subjective_model.py:711: RuntimeWarning: invalid value encountered in divide
  num = - np.tile(a_c_e, (S, 1)).T / vs2_add_ace2 + np.tile(a_c_e, (S, 1)).T * a_es**2 / vs2_add_ace2**2
/home/fh/miniconda2/envs/keras_py27up/lib/python2.7/site-packages/sureal/subjective_model.py:717: RuntimeWarning: divide by zero encountered in divide
  den = - vs2_minus_ace2 / vs2_add_ace2**2 + a_es**2 * poly_term / vs2_add_ace2**4
/home/fh/miniconda2/envs/keras_py27up/lib/python2.7/site-packages/sureal/subjective_model.py:717: RuntimeWarning: invalid value encountered in divide
  den = - vs2_minus_ace2 / vs2_add_ace2**2 + a_es**2 * poly_term / vs2_add_ace2**4
/home/fh/miniconda2/envs/keras_py27up/lib/python2.7/site-packages/sureal/subjective_model.py:725: RuntimeWarning: divide by zero encountered in divide
  -vs2_minus_ace2 / vs2_add_ace2**2 + a_es**2 * poly_term / vs2_add_ace2**4
/home/fh/miniconda2/envs/keras_py27up/lib/python2.7/site-packages/sureal/subjective_model.py:725: RuntimeWarning: invalid value encountered in divide
  -vs2_minus_ace2 / vs2_add_ace2**2 + a_es**2 * poly_term / vs2_add_ace2**4
/home/fh/miniconda2/envs/keras_py27up/lib/python2.7/site-packages/sureal/subjective_model.py:730: RuntimeWarning: divide by zero encountered in divide
  a_c_std = 1.0 /np.sqrt(np.maximum(0., -lpp))
/home/fh/miniconda2/envs/keras_py27up/lib/python2.7/site-packages/sureal/subjective_model.py:779: RuntimeWarning: divide by zero encountered in divide
  num = pd.DataFrame(num_num / num_den).sum(axis=1) # sum over s
/home/fh/miniconda2/envs/keras_py27up/lib/python2.7/site-packages/sureal/subjective_model.py:782: RuntimeWarning: divide by zero encountered in divide
  den = pd.DataFrame(den_num / den_den).sum(axis=1) # sum over s

Maybe I should clarify. My dataset is not annotated by each user entirely. So I have set up my data as you suggest in the Readme, and the SR models work just fine (and improve the mos), but the MLE models don't seem to work. None of the tests you supply seem to handle partially-annotated data in the sense that observers have not annotated all contents.

The problem seems to be in the gradient computations of the model parameters. Depending on the data I input I get division by zero warnings at different places. I have created a sample dataset where all stimuli are annotated by all participants.  I'd be super glad, if you could help me figure out where the problem lies.

Hi @FranzHahn I'd love to take a look if I can reproduce the issue, if you could share with me your dataset.

Hi @li-zhi , I have a json file that holds the data on a pastebin. Here, specifically, the last stimulus is missing a vote from "44796579" (which is 3). Using this dataset gives me the above mentioned errors. Specifically, it seems that variables such as vs2_add_ace2, or num_den seem to take the value 0, subsequently cause a division by 0, and introduce NaNs into the calculations. This happens regardless of the gradient methods.

@FranzHahn I can reproduce your issue. With "MLE" I ended up with the same "NaN" result. If I switch to "DMOS_MLE" model (MLE running on the DMOS instead of MOS scores), things work better.
I don't think forcing a_c_std = 1.0 /np.sqrt(np.maximum(EPSILON**2, -lpp)) would fundamentally solve the issue (have you tried?).
The current MLE solver is known to have the issue of lacking of uniqueness in its solution. Some discussions can be found here. This topic has been discussed quite extensively in the VQEG SAM meeting group.
Since you have a small dataset, it seems more likely it would invoke its unstable behavior, thus the division by 0 result.
We don't have a good solution at this moment, and we are lack of theoretically analysis. You are more than welcomed to help look into possible solutions.

I have tried adding EPSILONs anywhere a division occurs to potentially catch division by 0 but that alone didn't solve the issues. I suspect a better initial guess for some of the parameters would help. I have some ideas in this regard. I will see if I can implement them and inform you if it helps.
Why do you think the small size of the start should have a negative impact on this issue? I have much bigger variants of this dataset where the issue occurs all the same. In fact, on none my of partially annotated datasets of tiny to huge sizes does the mle method work. And I would have assumed that smaller datasets with fewer stimuli and fewer subjects would be less complex, as there are fewer parameters?

@FranzHahn I can reproduce your issue. With "MLE" I ended up with the same "NaN" result. If I switch to "DMOS_MLE" model (MLE running on the DMOS instead of MOS scores), things work better.

Could you enlighten me as to how to use your model to do this?
Are the resulting scores meaningful?
I've tried using dataset_reader.to_pc_dataset but I'm not sure what to do with this then?
Could you supply me a short code snippet how to switch to DMOS MLE model?

Hi you can run it in the command line:
python -m sureal DMOS_MLE dataset.py

See the README.md file for more information.
The dataset can be prepared in the following format (I converted your json into the following .py file):
dataset_name = 'Nantes_4K'
ref_score = 5

ref_videos = [
    {
        "path": "orig_10181314856_540_5s.mp4",
        "content_id": 0,
        "content_name": "10181314856"
    },
    {
        "path": "orig_10259212155_540_5s.mp4",
        "content_id": 1,
        "content_name": "10259212155"
    },
    {
        "path": "orig_10320058616_540_5s.mp4",
        "content_id": 2,
        "content_name": "10320058616"
    },
    {
        "path": "orig_10332507295_540_5s.mp4",
        "content_id": 3,
        "content_name": "10332507295"
    },
    {
        "path": "orig_10410965174_540_5s.mp4",
        "content_id": 4,
        "content_name": "10410965174"
    },
    {
        "path": "orig_10420562595_540_5s.mp4",
        "content_id": 5,
        "content_name": "10420562595"
    },
    {
        "path": "orig_10932852506_540_5s.mp4",
        "content_id": 6,
        "content_name": "10932852506"
    }
]

dis_videos = [
    {
        "asset_id": 0,
        "path": "orig_10181314856_540_5s.mp4",
        "content_id": 0,
        "os": {
            "44796579": 3,
            "44279676": 4,
            "43974450": 3,
            "39602571": 4,
            "44733676": 3
        }
    },
    {
        "asset_id": 1,
        "path": "orig_10259212155_540_5s.mp4",
        "content_id": 1,
        "os": {
            "44796579": 3,
            "44279676": 4,
            "43974450": 1,
            "39602571": 3,
            "44733676": 3
        }
    },
    {
        "asset_id": 2,
        "path": "orig_10320058616_540_5s.mp4",
        "content_id": 2,
        "os": {
            "44796579": 3,
            "44279676": 4,
            "43974450": 2,
            "39602571": 4,
            "44733676": 2
        }
    },
    {
        "asset_id": 3,
        "path": "orig_10332507295_540_5s.mp4",
        "content_id": 3,
        "os": {
            "44796579": 3,
            "44279676": 3,
            "43974450": 3,
            "39602571": 4,
            "44733676": 3
        }
    },
    {
        "asset_id": 4,
        "path": "orig_10410965174_540_5s.mp4",
        "content_id": 4,
        "os": {
            "44796579": 3,
            "44279676": 2,
            "43974450": 4,
            "39602571": 4,
            "44733676": 4
        }
    },
    {
        "asset_id": 5,
        "path": "orig_10420562595_540_5s.mp4",
        "content_id": 5,
        "os": {
            "44796579": 3,
            "44279676": 4,
            "43974450": 2,
            "39602571": 1,
            "44733676": 2
        }
    },
    {
        "asset_id": 6,
        "path": "orig_10932852506_540_5s.mp4",
        "content_id": 6,
        "os": {
            "44279676": 2,
            "43974450": 3,
            "39602571": 2,
            "44733676": 3
        }
    }
]


Log failed accesses

Hello,
I think it would be really nice for BookStack to log failed authentications.
We would then be able to monitor these messages and ban malicious IPs, at firewall level, with for example Fail2Ban on a Linux server.
An easy and nice solution would simply be to log a message into the webserver log for each failed authentication attempt or misbehaviour, using for example PHP error_log() function.
Thank you very much 👍
Ben

Thanks for this suggestion @benrubson, I really like this idea. Will really provide some useful security insight.

Thank you very much for your feedbacks Dan 👍

+1, adding this logging would be appreciated.

+1

@917huB @berez23 Please could you thumbs-up the original issue post to show support as we can sort issues by this meaning your support for this issue will be take more into account when we are deciding on new features to implement.

See PR #1881 which solves this 👍

Thanks to @benrubson this will be part of the future v0.30 release.


Day292

Resolves #598.

Pull Request Test Coverage Report for Build 1162

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 100.0%

Totals

Change from base Build 1159:
0.0%

Covered Lines:
5

Relevant Lines:
5

💛  - Coveralls


Add simple usage stats to cheatsheet

Dependency: Command history logging #2115
As an avid cheatsheet user, it is the most intuitive place for me to show aggregate usage and would help me identify gaps.
Implementation

Read the raw usage file and create a rollup to actions, scopes, modifiers - simply usage count for each
Inject a new variable usageStatistics similar to how we inject cheatsheetInfo in https://github.com/pokey/cursorless-vscode/blob/main/packages/cursorless-engine/src/core/Cheatsheet.ts'

UI

Discussions

[ ] What UI do people expect from this?
[ ] Gamifying completing features by coloring them different (after X number of uses) similar to keyboard shortcuts in Figma. Made harder by the table rows cycling different colors
[ ] How to deal with sections with variants?

Checklist

[ ] Remove my personal notes from the code :D
[ ] Remove changes contributed by my local autoformatter ... look into how is formatting setup on the project? I would expect it to do the right thing and play nicely with auto-save formatters (I have ESLint + prettier extensions)
[ ] Add a default setting in VSCode (off by default), allow toggle on the cheatsheet side
[ ] I have updated the docs and cheatsheet
[ ] I have not broken the cheatsheet

[Outside the scope of this PR]
Would be most effective when combined with a re-work of the cheatsheet structure. Grouping by what commands do, popularity, common non-obvious commands, for instance 'change tree instances' etc. I imagine there have been a number of discussions on this already.

I'm curious what you expect to gain by this feature. Are you interested in finding actions / scopes you're not using?

@pokey Yes, the original idea is to discover features I'm not using. For new users this can serve as gamification for tracking their progress.
While implementing this I think a more impactful contribution is to improve cheat sheet contents

for example remove alphabetical sorting (example: tail and head should be next to each other)
add snippets that are available #1726 (personally I feel this is where I leave most of the cursorless productivity on the table)
add common combinations #1510

Call me lazy, but I just want the cheatsheet to be my one stop shop for pretty much anything after I learned the basics from documentation / watching YouTube videos

I think we decided to hold off on this direction for now, right? Any reason not to close this one out for now?


old dependency for common and server packages

I use the ius repo and recently installed mariadb 10.3.  I'm not sure if this is right place to note it, but:
mariadb103-common-3:10.3.21-2.el7.ius.x86_64
mariadb103-server-3:10.3.21-2.el7.ius.x86_64

both list:
mariadb-libs.x86_64                1:5.5.65-1.el7                @base
as a dependency.  Should they maybe list the equivalent package in 10.3 instead?
mariadb103-libs.x86_64             3:10.3.21-2.el7.ius           @ius

Thanks for reaching out, but this is intentional.  mariadb103 uses the /etc/my.cnf file from mariadb-libs.  mariadb-libs and mariadb103-libs provide different libraries.  It's described in more detail here.

Brilliant.  Thanks again for your hard work.  I really appreciate it.


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-yml-archive-non-versioning-archive/pull/51 is merged into live branch.
Auto archive content to https://github.com/VSC-Service-Account/docs-yml-archive-non-versioning-archive.git

Docs Build status updates of commit 787f297:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

.openpublishing.redirection.json
:white_check_mark:Succeeded

docs/TOC.yml
:white_check_mark:Succeeded
View

docs/to-be-archive/level1/article3-1-1.md
:white_check_mark:Succeeded
View

docs/to-be-archive/level1/article3-1-2.md
:white_check_mark:Succeeded
View

docs/to-be-archive/level1/article3-1-3.yml
:white_check_mark:Succeeded
View

docs/to-be-archive/level2/article3-2-1.md
:white_check_mark:Succeeded
View

docs/to-be-archive/level2/article3-2-2.md
:white_check_mark:Succeeded
View

docs/to-be-archive/level2/article3-2-3.yml
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Unexpected Circular Import

When I try importing Board from the package tictactoe like this:
from tictactoe import Board

Python cannot import Board from tictactoe because it is a circular import, the error looks like this:
Traceback (most recent call last):
  File "c:\Users\...\tictactoe.py", line 1, in <module>
    import tictactoe
  File "c:\Users\...\tictactoe.py", line 2, in <module>
    from tictactoe import Board
ImportError: cannot import name 'Board' from partially initialized module 'tictactoe' (most likely due to a circular import) (c:\Users\...\tictactoe.py)

Can anyone please explain to me why?
Note: There are those ... in the error because I don't want to show my absolute path location.

What is your python version?

There is a problem with python 3.6. If you are using it, please upgrade to python 3.7 or later.

3.12

From: Ioannis Pantidis @.>
Sent: Thursday, June 6, 2024 5:10 PM
To: AttackingOrDefending/python-tictactoe @.>
Cc: notanerd @.>; Author @.>
Subject: Re: [AttackingOrDefending/python-tictactoe] Unexpected Circular Import (Issue #8)
What is your python version?
—
Reply to this email directly, view it on GitHubhttps://github.com/AttackingOrDefending/python-tictactoe/issues/8#issuecomment-2151908340, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BHUFL5QXXBI4I2YCQ35XZU3ZGAYTBAVCNFSM6AAAAABI4CU7QCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJRHEYDQMZUGA.
You are receiving this because you authored the thread.Message ID: @.***>

You have named your python file tictactoe.py. tictactoe is also the name of the library and that causes problems. Try chnanging the filename (e.g. to tic_tac_toe.py).

Cool thanks

From: Ioannis Pantidis @.>
Sent: Monday, June 10, 2024 12:37 PM
To: AttackingOrDefending/python-tictactoe @.>
Cc: notanerd @.>; Author @.>
Subject: Re: [AttackingOrDefending/python-tictactoe] Unexpected Circular Import (Issue #8)
You have named your python file tictactoe.py. tictactoe is also the name of the library and that causes problems. Try chnanging the filename (e.g. to tic_tac_toe.py).
—
Reply to this email directly, view it on GitHubhttps://github.com/AttackingOrDefending/python-tictactoe/issues/8#issuecomment-2157307299, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BHUFL5TDCUXMMGQG55PIJNLZGU3QPAVCNFSM6AAAAABI4CU7QCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJXGMYDOMRZHE.
You are receiving this because you authored the thread.Message ID: @.***>


Web UI: Improve AQL highlighter

Scope & Purpose
Support identifiers in forward ticks, multi-line strings, pseudo keywords, etc.
Note that there is a bug with case insensitive matching in Ace editor: https://github.com/ajaxorg/ace/issues/4887
Our version is v1.2.6 from 2016. If the bug gets fixed, we need to upgrade to v1.8.x+, which may require additional testing.

[ ] :hankey: Bugfix
[x] :pizza: New feature
[ ] :fire: Performance improvement
[ ] :hammer: Refactoring/simplification

Checklist

[ ] Tests

[ ] Regression tests
[ ] C++ Unit tests
[ ] integration tests
[ ] resilience tests

[ ] :book: CHANGELOG entry made
[ ] :books: documentation written (release notes, API changes, ...)
[ ] Backports

[ ] Backport for 3.10: (Please link PR)
[ ] Backport for 3.9: (Please link PR)
[ ] Backport for 3.8: (Please link PR)

Related Information
(Please reference tickets / specification / other PRs etc)

[ ] Docs PR:
[ ] Enterprise PR:
[ ] GitHub issue / Jira ticket:
[ ] Design document:

It's quite robust now:

It handles identifiers wrapped in forward ticks and backticks, including newlines and escapes. It can also handle single- and double-quoted strings, including new lines and escapes.
Known limitations: still false-positive matches of pseudo-keywords like SEARCH, KEEP, etc. I believe identifier isn't actually a token type that gets styled, but I left unrecognized tokens as "identifier" because "variable" would color everything that isn't something else.


Fixed version number for Jackett version 0.18.533.0.

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?

[x] Does your manifest conform to the 1.0 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

I fixed it to match the other ones with the trailing zero. @OfficialEsco if you think it should be the other way let me know and I'll fix the other ones. Either way it matches.
Microsoft Reviewers: Open in CodeFlow

Huh yea this looks like a typo on my end that Levvie didn’t notice 👀 had to jumpin on the PR before you or Joakim submitted 🙄
Ill check the version before approving in a hour


[cherry-pick] MVR new naming standard

Cherry-pick mvr name changes into v1.33 release

@amnn and @manolisliolios Is this a mainnet patch? Do we also need this in v1.34.0 branch?

@ebmifa it should already be in v1.34!


Does pdf.js surport pdf files with audio?

I have such need: pdf files are embeded with audios.
I wonder if pdf viewer that developed from pdf.js  can play audios in pdf files?

Duplicate of #6078


fix shadow batching

Objective
RenderMeshInstance::material_bind_group_id is only set from queue_material_meshes::<M>. this field is used (only) for determining batch groups, so some items may be batched incorrectly if they have never been in the camera's view or if they don't use the Material abstraction.
in particular, shadow views render more meshes than the main camera, and currently batch some meshes where the object has never entered the camera view together. this is quite hard to trigger, but should occur in a scene with out-of-view alpha-mask materials (so that the material instance actually affects the shadow) in the path of a light.
this is also a footgun for custom pipelines: failing to set the material_bind_group_id will result in all meshes being batched together and all using the closest/furthest material to the camera (depending on sort order).
Solution

queue_shadows now sets the material_bind_group_id correctly
MeshPipeline doesn't attempt to batch meshes if the material_bind_group_id has not been set. custom pipelines still need to set this field to take advantage of batching, but will at least render correctly if it is not set

Is there a shadow stress tests I should benchmark this against?


[WSL2 / Windows Insider 20175] Closing stdin not correctly propagated when running win32 process from WSL

Environment
Windows build number:  10.0.20175.0
Your Distribution version: Ubuntu
Whether the issue is on WSL 2 and/or WSL 1: WSL 2

Steps to reproduce
From a wsl terminal, just type echo test | cmd.exe /s /c more.
Expected behavior
On 19041, this prints test and gives back control
Actual behavior
On 20175, this prints test then hangs, seemingly waiting for stdin to be closed.
The issue was first reported on Docker Desktop issue tracker, where I drilled down the issue to this stdin close propagation bug: https://github.com/docker/for-win/issues/7808#issuecomment-664406938.

This bug should receive a high priority as this bug prevents Docker from updating thus there are a lot of users who can't work right now.

10.0.20175.0

/dupe #5648


Wire ocm services

This PR adds a new ocm service which runs the ocm and sciencemesh services, making OCM 1.1 avilable on the API level.

Waiting for the reva PR to be merged before moving this one forward.


resolve #82 -- add support for interface extensions

Hello! This should resolve #82 -- enabling "extend interface" SDL syntax.  Works for what I need at least.

@ErikWittern any issues w/ merging this one?


Problem with Surveillance Station and firmware version 0.3.1

Hello,
I have the same problem that is mentioned here Issue 816, my camera as you can see is an h60ga, could you send me the new version with new ONVIF configuration options? Thanks

Here it is:
h60ga_0.3.1.tar.gz

Thanks, as soon as I try it I'll comment.

Hi @roleoroleo,
I have carried out several tests that I will explain to you
Option 1
With both options disabled, it works but still gives an error when performing the connection test.

Option 2
With the "Fault response if unknown request" option activated, it does not work and still fails when performing the connection test.

Option 3
With the "Synology NVR compatibility" option activated, it works and still gives an error when performing the connection test.

Option 4
With both options activated, it works and still gives an error when performing the connection test.

So, options 1, 3 and 4 have the same behavior.
Please send me a network capture during the connection test, if you can.
About resolution, the reason is simple, I will fix it.
You can try it manually editing the file /tmp/onvif_simple_server.conf

Could you give me details of how you want me to perform the network capture? Activating the log? Wireshark?
I have made the modification of profile 0 in the file /tmp/onvif_simple_server.conf
width=2304
height=1296
But when I restart the camera, the modification is lost again and I can't check if it works.

Okay, as soon as I can I'll send you the network capture.
I have modified profile 0 in the /tmp/onvif_simple_server.conf file and it did not seem to do anything without restarting, but I let it pass for a while and when it reloaded the new configuration as you can see in the image, but it loads it with 10 FPS by default but I can change it to 20 and everything seems to work correctly

Framerate  is not reported by the cam with this onvif server.
Set it client side.

It seems that Synology Surveillance Station makes a second call to the CreateProfile method without Authentication data, the Onvif server correctly returns (according to the documentation) the NotAuthorized error and Synology understands this response as an authentication failure (screenshots shown on issue).

capture-filtered.pcap.gz
It seems a bug specific to Synology Surveillance (at least version 9.2). It can be fixed by allowing the CreateProfile method (an ACTUATE class) to be called without authentication data.

... this is a bit outside the specifications, but it works.

capture-fix-filtered.pcap.gz
Thanks for all :)

It's nor smart but I will add this patch to the code.
Thanks.


dependabot is not working

Error:
Dependabot encountered '2' error(s) during execution, please check the logs for more details.
+----------------------------------------------------------------+
|                 Dependencies failed to update                  |
+------------------------------------------------+---------------+
| Microsoft.FluentUI.AspNetCore.Components.Icons | unknown_error |
| Microsoft.FluentUI.AspNetCore.Components       | unknown_error |
+------------------------------------------------+---------------+

Same issue as AliceNovel#59
This is related in: dependabot-core#8004

Fixed
(after https://github.com/AliceNovel/AquaNotes/commit/dac8154b0b20c5b0b612598b9b44a643f87667e6
Microsoft.FluentUI.AspNetCore.Components 4.7.2 -> 4.8.1 (latest)
Microsoft.FluentUI.AspNetCore.Components.Icons 4.7.2 -> 4.8.0 (latest))


CIP11: Off-chain attestations and claims

WIP

I really like the idea of separating individual claims. Now it is very cumbersome to work with metadata. When you need to change, for example, a metadata URL, you need to recreate the whole metadata from scratch and add all other claims.
I am also looking forward to Master Validator and other attestations, which will assure users about validator's professionalism.


fix merchant payment method list

collect_billing_details_from_wallets field should be made true if either of always_collect_billing_details_from_wallet_connector  collect_billing_details_from_wallet_connector
collect_shipping_details_from_wallets field should be made true if either of always_collect_shipping_details_from_wallet_connector  collect_shipping_details_from_wallet_connector

Opening the issue to link it for hotfix pr
https://github.com/juspay/hyperswitch/pull/5857

Closing this as completed in https://github.com/juspay/hyperswitch/pull/5857


s3cmd: 1.0.1 -> 1.5.2 and remove git version

As far as I can tell, there's no reason to keep the old version
of s3cmd or the git version (introduced in #2809) around.

lgtm


java.lang.IndexOutOfBoundsException

I got IndexOutOfBoundsException, when tried filter adapter with search view. Have you got any solutions. Many thanks

Hi @darkerhp. Sorry for late reply.
Please checkout new version of a library with bug fix and new features.
Maybe you'll find a solution.


All that money can buy quest entry outdated

The outdated entry of SCP overwrites the recent fix by Bethesda.

Details
[002C1C9B] Xedit shows the latest update make quest alias Ryleigh "allow dead" to fix a potential quest not starting bug.
Game Version
1.10.32
Language
English (EN)
New Game
Yes
Reproduction Steps
Just open xEdit to see the record.

Thank you for the report. This one will be handled as part of this issue: https://www.starfieldpatch.dev/issues/924


Support tests to be run only with MIR-libstd

It would be nice if it was possible to mark tests as "requiring MIR-libstd". I've been playing around a little to see which other unsafely implemented data structures miri supports and what is missing if it does not. I have a patch which permits at least creating a HashMap, if a non-default hasher is chosen (the default hasher uses a syscall to get some random bytes). However, this only works if the MIR in libstd is actually present. I suspect we can quickly run into similar issues with other data structures.
I don't know compiletest well enough; ideally, one could say something like // require-mir or so to filter tests. Not sure if that is possible. Also, miri's test suite would have to somehow know whether it is executed with or without MIR in libstd; the easiest way would be for an environment variable to tell it.
(To actually support inserting into a HashMap, miri would have to permit a pointer-integer-pointer roundtrip. There are some ideas for what that could look like, but in any case that's a whole separate project ;)

pointer-integer-pointer is not that bad if integer is not modified. There are also some operations where you do know what the abstract pointer should look like. The paper @nikomatsakis linked is more relevant to FFI in miri than anything else IMO.

Oh, but the integer is modified. The HashMap stores something in the least significant bit.

Technically, if it's "under" the requested allocation alignment, bitops can be done on abstract pointers.

Well but it has to cast to usize before doing bitops, right? So on the miri side, the ptr ends up in the integer allocation and all hope is lost.
I don't see a way to do this much simpler than what the paper suggested, but I am open for ideas :)

ptr ends up in the integer allocation and all hope is lost.

I designed the miri memory model such that ptr -> int -> ptr is truly a noop. There is no need to throw away the abstract allocation information from the pointer - memory is untyped after all.

Right now I think doing math on pointers will erase the relocation part. But we can fix that without too much trouble

Wrt  the topic. I wrote a new system for clippy that doesn't use compiletest, but uses cargo clippy. It can be used for miri, too

I wrote a new system for clippy that doesn't use compiletest, but uses cargo clippy. It can be used for miri, too

So does this give us more freedom for specifying our own flags or so? That would make it interesting. Where would I find that system?
You seem to sometimes run miri also against the entire rustc test suite, does that rely on the compiletest stuff?

Running miri against rustc is a third (and very ad-hoc) system: https://github.com/solson/miri/blob/master/tests/compiletest.rs#L87-L196
The clippy "system" is this short file: https://github.com/Manishearth/rust-clippy/blob/master/tests/examples.rs
Since it reuses cargo instead of reimplementing it, it's very short, even if a few features like filters are missing. I think something along those lines is much cleaner than the huge compiletest code that I get lost in every time I want to do something slightly different than what rustc is doing.

However, that doesn't give us compile-fail tests with fancy "check the error is in the right line" and so on, does it?

Most of the time you want ui tests anyhow. The code for figuring out line errors isn't very complex if you remove he suggestions/help/note variants, iirc the plan is to readd them to ui tests, in order to remove compile-fail entirely.

UI tests? Is that also something we could re-use?

Only partially.  Ui tests don't cope well with tests printing different but similar things, like some of our tests which produce different stack frame depths.

I see.
So what do you think the path forward for miri should be?

Moving compiletest out of tree so we can add features to it that rustc doesn't need.

@oli-obk implemented this recently.


[SPARK-31927][K8S] Bump Fabric8 to 4.10.2 to support k8s 1.18

What changes were proposed in this pull request?
Update the Fabric8 Kubernetes client to the latest release to support Kubernetes version 1.18 (and 1.17) in Spark 2.4.x.
Why are the changes needed?
Kubernetes 1.16 will fall out of support after the next Kubernetes release (which is probably going to be released this summer), so Kubernetes cluster maintainers will want to upgrade their clusters past it. However, the current Spark 2.4.x version can't function in Kubernetes clusters with version higher than 1.16 without upgrading the Kubernetes client.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Using standard dev/run-tests script and by executing a demo job in Minikube. Steps for executing in Minikube:

Create a Minikube cluster.
Build the project using Maven with Kubernetes support.
Build the Docker images using bin/docker-image-tool.sh with -m flag.
Create a namespace and a service account for Spark.

Can one of the admins verify this patch?

Thank you for making a PR, @jkpl . However, branch-2.4 is a maintenance release which we cannot change its dependency dramatically. Especially, this is not a bug because this PR aims to support a new K8s version which is released after Apache Spark 2.4.0.
Please see the following example at Apache Spark 2.4.6 released recently this week. Since we didn't change the dependency, we provide a workaround.

https://github.com/apache/spark/pull/28638

We hope the users can migrate to 3.0.0 soon.

https://dist.apache.org/repos/dist/dev/spark/v3.0.0-rc3-bin/

@dongjoon-hyun Thanks for the quick feedback! I understand your concern, but I think that it also puts Spark Kubernetes users to a tough spot. The users will have to pick between stable version of Spark and supported Kubernetes cluster versions. I think it puts a lot of pressure on people to migrate to Spark 3.

@dongjoon-hyun What do you think about bumping the Kubernetes client dependency from 4.6.x to 4.7.x for Spark 2.4 similar to #27443? So instead of using 4.10.x, 4.7.x would be used instead. This would mean that there's less changes in dependencies, but it would still increase the Kubernetes version support.

Please see the following example at Apache Spark 2.4.6 released recently this week. Since we didn't change the dependency, we provide a workaround. #28638

I managed to get Spark 2.4.6 working with K8s 1.18 using the workaround you suggested. I mistakenly interpreted the HTTP2 issue as a K8s compatibility issue. I withdraw my PR. Thanks!

Thank you for understanding, @jkpl  .


logger: Use a shorter field width for non-colored output

avoids unnecessarily long prefixes when not using color:
[INFO              ] [Foo] Info message

instead becomes:
[INFO   ] [Foo] Info message

to test, use TERM= set to something unknown:
% TERM=asdf python examples/demo/showcase/main.py

Added another commit which does the same change for the FileHandler. It makes the log files more closely match what is seen in the console.

Seems reasonable, thanks.


Matching (quote, bracket, paren) doesn't get deleted when hitting Ctrl+Backspace

VSCode Version: 1.42.1
OS Version: Fedora 29

Steps to Reproduce:

Start with an empty opening & closing pair of quotes, brackets or parentheses.

This applies to auto closed pairs and manual ones

Hit Backspace on the opening of the pair and they both get deleted
Start with the pair again and hit Ctrl+Backspace and the closing of the pair is NOT deleted
The expected behavior is that both methods would delete the closing of the pair on an empty pair (), [], '', "", etc

I specifically ran into this issue in JS and JSX but I think it would apply to other languages.

@rebornix @tonyzhc Sorry to mention you but is there any update on this? It's a small bug but I run into it a fair bit and I'm hoping it can get fixed before the bot closes it down.


Can we add another tool to the list?

Another native Windows client - StorAMP - https://www.microsoft.com/en-gb/p/storamp/9nkv1d43nll3

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

ID: 08d5d605-63a1-1388-59b9-2ec6d5b40766
Version Independent ID: 11230eca-a134-fa35-63d8-7b195f0ca37a
Content: Tools for working with Azure Storage
Content Source: articles/storage/common/storage-explorers.md
Service: storage
Sub-service: common
GitHub Login: @tamram
Microsoft Alias: tamram

@aloneguid Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.

@aloneguid - We've opted to restrict this page to Microsoft-only tools at this point, and removed all third-party tools. I am sorry that we can't feature this tool in our documentation, but providing third-party tools in the docs creates a maintenance problem for us.

#please-close


Need a master page show masters informations like worker page

Is your feature request related to a problem? Please describe.
Now, we have no master page, user cannot get masters state by webui, when a master lost, we cannot know the lost time.
Describe the solution you'd like
We can get masters info from the following objects within DefaultMetaMaster.java
  private final IndexedSet<MasterInfo> mMasters =
      new IndexedSet<>(ID_INDEX, ADDRESS_INDEX);
  private final IndexedSet<MasterInfo> mLostMasters =
      new IndexedSet<>(ID_INDEX, ADDRESS_INDEX);

We can display the MasterInfo like the following part.
public final class MasterInfo {
  /** Master's address. */
  private final Address mAddress;
  /** The id of the master. */
  private final long mId;
  /** Master's last updated time in ms. */
  private long mLastUpdatedTimeMs;

Describe alternatives you've considered
Add a master page like worker page

Urgency
Normal
Additional context
No

@lucaspeng12138 Would you like to take this tickets?

@lucaspeng12138 Would you like to take this tickets?

Yes, I will work on this issue!


[FLINK-18569][table] Support limit() for unordered tables

What is the purpose of the change
Removes the limitation for offset/fetch on unbounded tables in Table API. It also improves the documentation.
Brief change log

Remove check for streaming mode in SortOperationFactory
Add a shortcut in Java Table API to easily find the limit() operation
Improve documentation

Verifying this change
This change is already covered by existing tests, such as LimitITCase
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): yes
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? yes
If yes, how is the feature documented? docs

Thanks @aljoscha and @KurtYoung. I hope I could address your feedback. I will merge this once the build is green.


Add 6 character only as_hex e.g. Color("red").as_hex(format="long") == #ff0000

Initial Checks

[X] I have searched Google & GitHub for similar requests and couldn't find anything
[X] I have read and followed the docs and still think this feature is missing

Description
Currently I use a custom function for converting Pydantic Color to hex, to remove the unexpected return value of #f00 when I expect #ff0000 instead.
def as_hex(color: Color) -> str:
    rgb_hex = ''.join(f'{v:02x}' for v in data.signature.brand_color.as_rgb_tuple())
    return f"#{rgb_hex}"

I propose (and happy to contribute), an optional parameter e.g. format="long" to allow non-compressed hex values.
Affected Components

[ ] Compatibility between releases
[ ] Data validation/parsing
[ ] Data serialization - .model_dump() and .model_dump_json()
[ ] JSON Schema
[ ] Dataclasses
[ ] Model Config
[X] Field Types - adding or changing a particular data type
[ ] Function validation decorator
[ ] Generic Models
[ ] Other Model behaviour - model_construct(), pickling, private attributes, ORM mode
[ ] Plugins and integration with other tools - mypy, FastAPI, python-devtools, Hypothesis, VS Code, PyCharm, etc.

Thanks @DJRHails for this feature request.
As you may know, We are working on Pydantic V2, and Color type is deprecated in Pydantic V2.
We moved this and some other extra types to a separate package pydantic-extra-types.
I am moving this issue there.


Search compressed files

Issue Type: Feature Request
Description
Ripgrep now supports searching compressed files, for some formats.

Currently gz, bz2, xz, and lzma files are supported.

See https://github.com/BurntSushi/ripgrep/commit/f007f940c53a4818ead58f2fe2e0fac95cc3a40a
VS Code Info
VS Code version: Code - Insiders 1.20.0-insider (3f8cf5311b631c5bc395df1e8b9c795358c1ef80, 2018-02-03T01:26:08.181Z)
OS version: Darwin x64 17.3.0

@roblourens Note that ripgrep currently only looks for gzip, bzip2 and xz binaries. So if those aren't available, then this won't work. It was said that 7z.exe could be used on Windows. It'd be fairly easy to add that in, but I've never used 7z before. Does that sound right?

That does sound right but what about .zip files? There are usually tools included with the OS to decompress those files. I probably wouldn't enable it in vscode unless it works for typical .zips.

@roblourens We punted on archive formats because that is quite a bit more involved feature! ripgrep doesn't handle .tar.gz either.

Oh, got it. I suspect that an option to search compressed files in vscode would confuse people if it didn't search archive formats, but I'll have to think about it.


⚠ Bofrost.be has degraded performance

In fcaa566, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1534 ms

Resolved: Bofrost.be performance has improved in 9a58c64 after 6 minutes.


README populated

Thanks for your support! 🙏
I will update the README later again when the app will be available as alpha or beta (probably next year).


one object key being the prefix of another seems not supported

Hello,
In my S3 bucket (on AWS) I have the following two objects

foobar/foo
foobar

(the AWS console shows the first one as a folder containing an object foo).
When the bucket is mounted with goofys v0.24.0, only the one created the most recently is accessible (with ls or read), the other one is not accessible at all.
Is this a known issue or can we somehow fix this easily?

My bad, it is actually a limitation of Linux file system: a file and a folder cannot share the same same. Hence closing the issue.

My bad, it is actually a limitation of Linux file system: a file and a folder cannot share the same same. Hence closing the issue.


Previous selection is initialised in Create DB type dataset

Describe the bug
When previous button is clicked in Create DB type dataset, all selection is refreshed.
To Reproduce
Steps to reproduce the behavior:
See screenshot

Expected behavior
Selection should not be refreshed
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

Integrated test 2 passed.


[FLINK-18348] RemoteInputChannel should checkError before checking client when fetching data

What is the purpose of the change
The error will be set and partitionRequestClient will be a null value if a remote channel fails to request the partition at the beginning. And the task will fail because partitionRequestClient is null when the task thread trying to fetch data from channels.
But the root cause is the PartitionConnectionException we set when requesting the partition.
Brief change log

Reverse the calls between checkError and checkState

Verifying this change

Add testPartitionConnectionException, the TestingExceptionConnectionManager will set PartitionConnectionException as error when requesting a new partition. And the channel should throw PartitionConnectionException when fetching data.

(You can see the wrong behaviour by removing the changes in RemoteInputChannel)
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive): yes(per-buffer not per-record)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? not applicable

Test failure is unrelated and already fixed on master: https://issues.apache.org/jira/browse/FLINK-18358

@pnowojski The PR is updated :).

@pnowojski  Sorry I forget to modify a few places. Please take a look at the latest commit.

Test failure is unrelated.

Thanks merged :)


Combine tabular and image tasks?

I have a problem best fit for tabular but one column points to images. Is it possible with AutoGluon to combine both tasks, so image and tabular input for each row? If yes, how?

Offering this as a built-in task is on our roadmap, but probably won't be ready for a while.
For now, you can use ImageClassification.fit() on just the images, and TabularPrediciton.fit() on the tabular input (on a GPU machine). At inference time you can just take a weighted average of the image-classifier's predicted probabilities and the tabular-predictor's predicted probabilities (assigning a weight to image-classifier that maximizes accuracy over held-out validation data).

#1041 implements Tabular + Image functionality.


MVP Epic

This epic covers what we want to see in the MVP:

Reckless-mainnet MVP

Spend as little time building this as possible
Retrieve funds from any state

We don’t want to get into a state where we need to prune the data directory of the coordinator because this would mean we would lose funds

Positions are open for 24h

we try to collaboratively close
if does not work, we force close the channel

Configuration: we need to figure out the right configuration to

return funds from Lightning channels as fast as possible
return funds from a DLC channel as fast as possible

See details in Notion
App

[ ] https://github.com/get10101/10101/issues/347
[x] https://github.com/get10101/10101/issues/67
[x] https://github.com/get10101/10101/issues/68
[x] https://github.com/get10101/10101/issues/128
[x] https://github.com/get10101/10101/issues/132
[x] https://github.com/get10101/10101/issues/134
[x] https://github.com/get10101/10101/issues/73
[x] #220
[x] https://github.com/get10101/10101/issues/168

Maker

[ ] #217
[x] #216

Orderbook

[x] #219
[x] #218

Coordinator

[ ] #226
[ ] https://github.com/get10101/10101/issues/51

Global tickets

[x] https://github.com/get10101/10101/issues/50
[ ] #221

App Nice to Have for MVP

[ ] https://github.com/get10101/10101/issues/63
[ ] https://github.com/get10101/10101/issues/64
[ ] https://github.com/get10101/10101/issues/346
[ ] https://github.com/get10101/10101/issues/74
[ ] https://github.com/get10101/10101/issues/137
[ ] https://github.com/get10101/10101/issues/131
[ ] https://github.com/get10101/10101/issues/163
[ ] https://github.com/get10101/10101/issues/180

Resilience
Bugs that will require to wipe the coordinator or reinstall the app

[x] https://github.com/get10101/10101/issues/299
[x] https://github.com/get10101/10101/issues/308
[x] https://github.com/get10101/10101/issues/309
[x] https://github.com/get10101/10101/issues/333
[ ] https://github.com/get10101/10101/issues/336
[ ] https://github.com/get10101/10101/issues/352
[x] https://github.com/get10101/10101/issues/359

Maker Nice to Have for MVP

[ ] Hedge position

Perpetual
Can be postponed till post MVP

[ ] https://github.com/get10101/10101/issues/133

I updated this ticket:

Moved https://github.com/get10101/10101/issues/51 to be implemented for the coordinator
Added https://github.com/get10101/10101/issues/347 for the app
Some minor ticket-splits for the app to convey better what is implemented and what not.

Unsorted TODOs:

[ ] cap the channel size
[ ] form validation: allow the user to do only possible things (e.g. check if there is enough channel balance)
[ ] communicate with the user if a channel is not usable anymore because it is unbalanced.

inform the user to inform us

[ ] referral: if we give the user 2k sats, can the user open a position or do anything?

Do we need a cap for referral payments because we cannot extend an existing channel?

[ ] in app tracking

user clicked buy/sell, user clicked confirm
user clicked close position
how often do they open the app
e.g. the app sends telemetries to the coordinator

[ ] Show the expiry in the position and when creating an order (e.g. 00:00 every day)
[ ] add push notification to tell the user: your trade is over, please open app to receive loss/profit

when the user opens the app, we collaboratively close the position at the price at expiry time
we need a background task which checks for (close to) closed positions to send a notification to the users phone

[ ] check if numbers are adding up (e.g. P/L)
[ ] error handling: the user does not know anything if a position failed. If something failed tell user: please share logs with us
[ ] startup: fix splash screen of death

e.g. add a text: we are loading, please wait...
add Beta tag
~add a welcome wizard and load in the background~

[ ] closing the screen should show the create buy/sell screen. Don't just close the position but show order overaly
[ ] (optional) send on-chain funds
[ ] remove 30 fees and mention that while in beta we do not charge any orderbook fee
[ ] change max leverage to 5
[ ] welcome wizard: https://github.com/get10101/10101/issues/63
[ ] wallet backup: https://github.com/get10101/10101/issues/63
[ ] make send off-chain more beautifully: adhere to Figma mocks
[ ] ~send on-chain screen ~ can be postponed if wallet can be used in different app
[ ] check if we can recover funds from blue wallet

I believe we can close this epic even though not all tickets have been done. Let's focus on Q3 instead.


Could not resolve dependency: peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>

Hi!
I'm trying to install UI Kitten using the typescript template but it doesn't work:
npx react-native init MyApp --template @ui-kitten/template-ts

And the errors:
error Error: Command failed: npm install
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/react-native-svg
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!   peer react-native-svg@"*" from<EMAIL_ADDRESS>npm ERR!   node_modules/@ui-kitten/components
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!     peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR!     node_modules/@ui-kitten/eva-icons
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!   1 more (@ui-kitten/eva-icons)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR! node_modules/@ui-kitten/eva-icons/node_modules/react-native-eva-icons
npm ERR<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR!   node_modules/@ui-kitten/eva-icons
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

I ran into this problem too. I solved it by adding the --legacy-peer-deps  flag when installing react native svg.
npm i react-native-svg --legacy-peer-deps

react native svg is already installed automatically when you init an expo project. You don't need to install it, just use it.

But without expo cli not work properly?

I'm not sure, test it out.

Hey @VictorACH
This issue seems a bit old. Have you tried the last version?
If your problem is solved can you please close the issue?
It sparks joy for maintainers ✨

This issue still persists...


Error when running with transformers 4.22.2

When I run the BLIP captioning model with transformers 4.22.2 I get the following error:
import torch
from lavis.models import load_model_and_preprocess
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
# loads BLIP caption base model, with finetuned checkpoints on MSCOCO captioning dataset.
# this also loads the associated image processors
model, vis_processors, _ = load_model_and_preprocess(name="blip_caption", model_type="base_coco", is_eval=True, device=device)
# preprocess the image
# vis_processors stores image transforms for "train" and "eval" (validation / testing / inference)
image = vis_processors["eval"](raw_image).unsqueeze(0).to(device)
# generate caption
model.generate({"image": image})
# ['a large fountain spewing water into the air']

 The following `model_kwargs` are not used by the model: ['encoder_hidden_states', 'encoder_attention_mask'] (note: typos in the generate arguments will also show up in this list)

Hi @eware-godaddy, thanks for your feedback.
We also encountered this issue. It seems that the 4.22.0 release violates compatibilities. Currently, we require transformers>=4.15.0,<4.22.0 as specified in the requirement file.
We need to look into what's happening on HF before we can fix this. PR is welcomed.
Thanks.

Hi @eware-godaddy
This should now work with HF version >=4.25.


networks: Fixes bug preventing 3rd party routes from being restored

networks: Fixes bug preventing 3rd party routes from being restored on network start.
Signed-off-by: Thomas Parrott<EMAIL_ADDRESS>

@stgraber would you prefer that any errors restoring routes just logs an error rather than stopping the network starting?


Implement Sovereign <> Cosmos relaying in Hermes SDK

Background
This issue outlines the high-level tasks required to achieve relaying between Sovereign and Cosmos chains within the Hermes SDK. The provided steps serve as an initial roadmap and will be updated as progress is made:
Naive relaying without recursive ZK proofs

Will update every immediate height

Relaying with lazy waiting of recursive ZK proofs

Wait for rollup provider to post recursive ZK proofs

Relaying with active ZK proofs generation

Relayer would call the corresponding ZK prover to generate ZK proofs

Prerequisites
The following tasks should be completed before any efforts can be made on the relayer implementation front:
### Tasks
- [ ] https://github.com/informalsystems/sovereign-ibc/issues/21
- [ ] https://github.com/informalsystems/sovereign-ibc/issues/32

This is closed as the Sovereign <> Cosmos relaying tasks is being tracked here https://github.com/informalsystems/hermes-sdk/issues/10 in the Hermes SDK repository.


Getting error while predict after converting it to pytorch on KMeans model

I am simply converting my clustering KMeans model like this
**
from hummingbird.ml import convert
model_torch = convert(sklearn_model, 'pytorch')
predicted = model_torch .predict(data)
**
The columns are exactly same but it is showing me the following error and without converting it to pytorch when I use the simple skl-algo it works fine
"Traceback (most recent call last):
File "/root/anaconda3/envs/pyspark_env/lib/python3.6/site-packages/hummingbird_ml-0.2.2-py3.6.egg/hummingbird/ml/containers/_sklearn_api_containers.py", line 114, in predict
return self._run(self._predict, *inputs)
File "/root/anaconda3/envs/pyspark_env/lib/python3.6/site-packages/hummingbird_ml-0.2.2-py3.6.egg/hummingbird/ml/containers/_sklearn_api_containers.py", line 62, in _run
return function(*inputs)
File "/root/anaconda3/envs/pyspark_env/lib/python3.6/site-packages/hummingbird_ml-0.2.2-py3.6.egg/hummingbird/ml/containers/sklearn/pytorch_containers.py", line 162, in _predict
output = self.model.forward(*inputs).cpu().numpy()
File "/root/anaconda3/envs/pyspark_env/lib/python3.6/site-packages/hummingbird_ml-0.2.2-py3.6.egg/hummingbird/ml/_executor.py", line 70, in forward
self._input_names
AssertionError: number of inputs or number of columns in the dataframe do not match with the expected number of inputs ['input']
"

Hi @muhammad49! I think this happens because your input dataset is in pandas dataframe format while by default Hummingbird expects a numpy array. Does it work if you pass data.values as input to the predict function?

Yes it worked. Thanks

Great!

After converting it into numpy array it throws the following traceback
"Traceback (most recent call last):
File "/root/anaconda3/envs/pyspark_env/lib/python3.6/site-packages/hummingbird_ml-0.2.2-py3.6.egg/hummingbird/ml/containers/_sklearn_api_containers.py", line 114, in predict
return self._run(self._predict, *inputs)
File "/root/anaconda3/envs/pyspark_env/lib/python3.6/site-packages/hummingbird_ml-0.2.2-py3.6.egg/hummingbird/ml/containers/_sklearn_api_containers.py", line 62, in _run
return function(*inputs)
File "/root/anaconda3/envs/pyspark_env/lib/python3.6/site-packages/hummingbird_ml-0.2.2-py3.6.egg/hummingbird/ml/containers/sklearn/pytorch_containers.py", line 162, in _predict
output = self.model.forward(inputs).cpu().numpy()
File "/root/anaconda3/envs/pyspark_env/lib/python3.6/site-packages/hummingbird_ml-0.2.2-py3.6.egg/hummingbird/ml/_executor.py", line 107, in forward
outputs = operator((variable_map[input_name] for input_name in operator.inputs))
File "/root/anaconda3/envs/pyspark_env/lib/python3.6/site-packages/torch/nn/modules/module.py", line 889, in _call_impl
result = self.forward(*input, **kwargs)
File "/root/anaconda3/envs/pyspark_env/lib/python3.6/site-packages/hummingbird_ml-0.2.2-py3.6.egg/hummingbird/ml/operator_converters/sklearn/cluster.py", line 30, in forward
dist = torch.cdist(x, self.centroids, compute_mode="donot_use_mm_for_euclid_dist")
File "/root/anaconda3/envs/pyspark_env/lib/python3.6/site-packages/torch/functional.py", line 1123, in cdist
return _VF.cdist(x1, x2, p, 2)  # type: ignore
RuntimeError: expected scalar type Float but found Double
"

Can you please re-open this issue

Let's use another issue for this since it's a different error.


Add method: findLastIndex

Implement a findLastIndex method that returns the index of the last item in the set matching the given predicate function. Returns -1 if no item matching the predicate was found in the set.
Requirements

please use the prepared method-findLastIndex branch (contains tests)
make sure the automated tests pass

Can I take this issue?

@binkpitch sure 👍


add table metric sources

🚀 Deployed on https://6642bbdd496fcb610cba4653--cozy-fox-0defec.netlify.app


Simpler onboarding

doing graphcool add-template email-password
would be much easier and intuitive
instead of
graphcool add-template graphcool/templates/auth/email-password

I updated templates.json, so you can do graphcool add-template email-password.


Fix display of detector names

When starting or stopping detectors, the pop-up window shows the detector names as DETECTOR_NAME /> where "DETECTOR_NAME" is the name of the detector.
The markup seems to have residual /> that are rendered to the user. Remove them to ensure they do not appear between the opening and the closing EuiLink tags.

To reproduce:

Visit https://playground.opensearch.org/app/anomaly-detection-dashboards#/detectors?from=0&size=20&search=&indices=&sortField=name&sortDirection=asc
Check a few detectors
Click on Actions > Stop real-time detectors

CI failures seems unrelated :roll_eyes: :

https://github.com/opensearch-project/anomaly-detection does not build;
yarn install failed on a network error (transient failure, may be fixed by re-starting the test).


Style header

[x] Style header
[x] Global style definitions
[x] Embed fonts
[x] Fixed footer + header
[x] Remove deprecated theming stuff
[ ] ~Mobile view~ will be done by another PR - see #69

Closes #51

LGTM!


Synthesizer.WordBoundary method not working to get word audio duration (including latest SDK)

Describe the bug
synthesizer.WordBoundary event is not firing for Azure function or Console app.
To Reproduce
The sample code is provided at end of the post. I posted this issue last year on learn.microsoft.com forum and team could not reproduced. They suggested to contact SDK team with a log file. I have attached the log file with the post too
https://learn.microsoft.com/en-us/answers/questions/849161/azure-text-to-speech-synthesizer-wordboundary-meth
https://learn.microsoft.com/en-us/answers/questions/1181912/synthesizer-wordboundary-method-still-not-working?comment=question#newest-question-comment
Expected behavior
I would expect to capture word boundary events, so I can implement text highlight as part of my read aloud module in my app.
Version of the Cognitive Services Speech SDK
1.25.0
I have tried the same code with previous version of SDKs, however it did not work either.
Platform, Operating System, and Programming Language

OS: Windows 10
Hardware - x64
Programming language: C#
Browser: NA

Additional context

Error messages, stack trace, sample code to reproduce the issue - NA, no error
Please provide full Speech SDK Log - is attached.
Sample Code:

private static async Task SynthesisWordBoundaryEventAsync(string text, SpeechConfig config)
{
using (var synthesizer = new SpeechSynthesizer(config, null as AudioConfig))
{
// Subscribes to word boundary event
synthesizer.WordBoundary += (s, e) =>
{
// The unit of e.AudioOffset is tick (1 tick = 100 nanoseconds), divide by 10,000 to convert to milliseconds.
Console.WriteLine($"Word boundary event received. Audio offset: " +
$"{(e.AudioOffset + 5000) / 10000}ms, text offset: {e.TextOffset}, word length: {e.WordLength}.");
};
        using (var result = await synthesizer.SpeakTextAsync(text))
        {
            if (result.Reason == ResultReason.SynthesizingAudioCompleted)
            {
                Console.WriteLine($"Speech synthesized for text .");
                var audioData = result.AudioData;
                Console.WriteLine($"{audioData.Length} bytes of audio data received for text [{text}]");
            }
            else if (result.Reason == ResultReason.Canceled)
            {
                var cancellation = SpeechSynthesisCancellationDetails.FromResult(result);
                Console.WriteLine($"CANCELED: Reason={cancellation.Reason}");

                if (cancellation.Reason == CancellationReason.Error)
                {
                    Console.WriteLine($"CANCELED: ErrorCode={cancellation.ErrorCode}");
                    Console.WriteLine($"CANCELED: ErrorDetails=[{cancellation.ErrorDetails}]");
                    Console.WriteLine($"CANCELED: Did you update the subscription info?");
                }
            }
        }
    }
}

Let me know if you need any additional details.
Thanks,
Samir
TextToSpeechLog.txt

Hi, could you share the codes when you initialize your SpeechConfig? I noticed that you are explicitly using REST api, while word boundary events are only available via websocket.

Could you try var config = SpeechConfig.FromSubscription("YourSubscriptionKey", "eastus"); ?

Thank you Yulin  for your feedback. It worked :)
I was using SpeechConfig.FromSubscriptionUrl method. After switching to SpeechConfig.FromSubscription generated the the events and I was able to capture duration for each words. Thank you so much.
Secondly, I am planning to use this method in Azure Function. I have tested with console app today. Do I need to consider anything special for Azure function? Or the same code should work.
Final question: Will VisemeReceived work with the same configuration? Or any special settings I need to do to capture VisemeReceived events. I haven't tried yet, however I am planning to look into later in the year.
Samir

Thanks for the confirmation.
We don't have any limitation for Azure Function, so it's supposed to work.
For viseme, yes, all you need to do is to capture VisemeReceived events


Add travis-ci config

Testing the configuration

It works!
/cc @jordwalke

Looks good, thanks!

@tadeuzagallo hmm... how does this work? Do you need admin access to add authorize travis to access this repo?

You need admin access to enable Travis for the repo. After that it should be fine. Is that what you mean?

@tadeuzagallo Right. Was just wondering where in fb's internal system can one gets admin access to the repo. But we can discuss that offline.


transpile for systemjs bundle not working since 2.1.0

Im bunde angular2 with the help of systemjs-bundle. It worked fine since the 2.1.0 version.
TypeScript Version:  Works with 2.0.10, since 2.1.0 it stopped working.
Code
My  Systemconfig, where the transpiler is declared and mapped.
System.config({
    transpiler: 'typescript', //add transpiler
    map: {
        app: '',
        '@angular': 'node_modules/@angular',
        'rxjs': 'node_modules/rxjs',
        'typescript': 'node_modules/typescript/lib/typescript.js' //add typescript map
    },
    packages: {
        '@angular/core': {
            main: 'index.js' //use the ESM entry point for bundling tools
        },
        '@angular/common': {
            main: 'index.js' //use the ESM entry point for bundling tools
        },
        '@angular/compiler': {
            main: 'index.js' //use the ESM entry point for bundling tools
        },
        '@angular/forms': {
            main: 'index.js'
        },
        '@angular/http': {
            main: 'index.js'
        },
        '@angular/platform-browser': {
            main: 'index.js' //use the ESM entry point for bundling tools
        },
        '@angular/platform-browser-dynamic': {
            main: 'index.js' //use the ESM entry point for bundling tools
        },
        '@angular/router': {
            main: 'index.js' //use the ESM entry point for bundling tools
        },
        app: {
            main: './main.js',
            defaultExtension: 'js'
        },
    }
})

Gulp Task:
gulp.task('bundle:angular', function() {
    var builder = new SystemBuilder('dist', './src/bundleconfig.js');
    return builder.bundle('vendor.js', 'dist/vendor.js', {
         externals: ['main'],
        minify:true,
        mangle:true});
});

Expected behavior:
Bundle works fine.
Actual behavior:
It throws an error:  (SystemJS) Unexpected token ;
It only doesnt work if Typescript is > 2.1.0. Is this because angular 2 is built with a lower version, or does it have any other source, there shouldnt be an BC in a 2.X.0 Version, right?

I don't know why you would get a syntax error. How are you passing typescriptOptions to SystemJS? I don't see it in your config.

can you please provide a standalone repro that will demonstrate the problem?

Hello,
I made an Repo to see it, it master is with the ^ so it install 2.1.4 the working branch is without ^ so its installing 2.0.10.
Clone it, npm install, gulp.

I can repro this, seems to have the same root cause with https://github.com/Microsoft/TypeScript/issues/12876


x/tools/go/packages: documentation on overlays is incomplete

The documentation of Config.Overlay says

Overlays provide incomplete support for when a given file doesn't
already exist on disk. See the package doc above for more details.

but the package documentation doesn't talk about overlays at all.

Apparently this is part of doc.go, but only as an internal comment, not part of the package documentation. I'm not sure it's relevant anymore, either.

cc @matloob


Is k8s multi-copy deployment supported?

Is your feature request related to a problem? Please describe.

Describe the solution you'd like

Describe alternatives you've considered

Additional context

Is your feature request related to a problem? Please describe.
At present, it is necessary to run multiple copies on k8s. If the configuration is changed, can multiple copies overload the service?
Describe the solution you'd like
Need to run multiple copies in k8s to achieve HA
Describe alternatives you've considered
NO
Additional context
NO


[Event Request]  Codeunit "Service Line-Reserve" CreateReservation

Describe the request
Can we add the events OnCreateReservationOnBeforeCreateReservEntry(ServiceLine, Quantity, QuantityBase, ForReservEntry, IsHandled) and OnAfterCreateReservation(ServiceLine) to the Service Line-Reserve codeunit CreateReservation to mirror the events in the "Sales Line-Reserve" codeunit
Additional context
Consistency with Sales line-Reserve
Internal work item: AB#496592

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 15512.


One Time trial was already activated in past question

Version of react-native-iap
4.6.1
Version of react-native
0.63.2
Platforms you faced the error (IOS or Android or both?)
Both
Expected behavior
return info that user can use trial subscription period without paying
Actual behavior
not sure which function return this?
Tested environment (Emulator? Real Device?)
Real Device
Steps to reproduce the behavior
Setup free period in stores.
This is question, not a bug. I need to know when user already bought a subscription with onetime trial period, use this onetime trial period and then unsubscribe. I found some solution for iOS here: https://developer.apple.com/documentation/storekit/in-app_purchase/subscriptions_and_offers/implementing_introductory_offers_in_your_app
I would like achieve this: condition for show/hide trial text:

It can be also turned on/off from the store.
User might not be eligible for the trial offer (= already had the trial activated in the past)

Did anyone has experience with this please? :)

I would also like to know this.


Travis integration

Adding Travis-CI to the project. @robb will have to setup the actual hooks to make it run from this repo, but the configuration file and other project updates should make it smooth sailing once that's done.

Thanks!


Translations from plugins not found

I have one plugin which contains a file grails-app/assets/javascripts/plugin-messages.i18n.
The file plugin-messages.i18n contains severals messages keys. The translation is defined in a messages_de.properties.
Then I have a app with a file grails-app/assets/javascripts/messages_de.i18n with the content "@import plugin-messages.i18n"
A request to the url http://localhost:8080/app/assets/messages_de.js?compile=false return:
(function (win) {
    var messages = {
        "kendoui.column.sortAscending": "kendoui.column.sortAscending",
        "kendoui.column.sortDescending": "kendoui.column.sortDescending",
        "kendoui.column.filter": "kendoui.column.filter",
        "kendoui.column.columns": "kendoui.column.columns"
    }

    win.$L = function (code) {
        return messages[code];
    }
}(this));

So the messages of the plugin is not translated. It only works if the messages are defined in the app.
The reason seems to be in I18nProcessor.groovy. In the process Method only the resource file from the current grails project is used. It would be probably necessary to iterate over all plugins.

produced at my end..

when this bug will fix. please do it asap

Do you have the message keys and their translations in grails-app/i18n/message*.properties? This asset pipeline plugin expects theses files where it takes the translations from.

My project structure is modularized, i have plugin in one module and messages* .properties in other module.

I'm sorry, but I have no knowledge how to obtain message files from other plugins. Thus, I cannot support this feature for now.

I found the solution....
Change messages*.properties location from I18nProcessor.groovy.
in process method-
StringBuilder buf = new StringBuilder('[messages.properties location]')
works for me...

Would you please submit a piece of code?

This is the file(I18nProcessor.groovy)-
String process(String inputText, AssetFile assetFile) {
AssetFile f = (AssetFile) assetFile
Matcher m = f.name =~ /.(\w+).i18n$/
StringBuilder buf = new StringBuilder("modules/[module-name]/grails-app/i18n/messages")
if (m) buf << '' << m.group(1)
Properties props = loadMessages(buf.toString())

Hi,
how can i use java script message with arguments.


BUG - Raven Icon enlarged & hides content

Summary
After upgrade to MM 5.24 the Raven icon hides content & is shown enlarged on Firefox 77.0.1
Steps To Reproduce
Steps to reproduce the behavior:

Open Firefox
Open Mattermost site with current version 5.25
Login & switch to channel with Standup Raven enabled

Expected behavior
A small raven icon is shown above the notification area,
Observed Behavior
The raven icon hides the notification content & is shown enlarged
Screenshots

Environment

Mattermost version: 5.25
OS: Linux Debian
Platform: Windows 10
Browser (if applicable): Firefox 77.0.1 only, Works with Chrome & Edge
Platform Version: 77.0.1

All caches have been cleared.

OK, fixed...

@jprusch thank you for the bug report. This is now fixed in v2.5.2.


cross eval methodology

Per offline discussion around https://github.com/sethtroisi/minigo/pull/4 and https://cloudygo.com/all-eval-graphs?bucket=cross-eval
Andrew suggested

Removing all models below the "knee" (e.g. model 200)

Seth mentioned

[] Completely removing ratings.py and all that rsync jazz
[] Add a models cloud bigtable table with models and runs
[] clean up cross-eval panel/model selection.
[] Figure out how to correctly tag run (e.g. v15) in cbt

Fix length mismatch between cc eval and backfill


Variable bitmap fonts

I've been playing a lot with Pico/st7789 library, and I find the Write fonction much better thant the Text function.
It allows to use variable width bitmap fonts (better looking on the screen)
It allows mainly to import any fonts with font2bitmap that offers the world TTF fonts access.
I know the repository is on halt due to the buffer allocation timeout, but if you find the time, I'll appreciate testing the Write function. I gave a look to the C library and tried to import Russ Hughes routines but they need too much adaptation I cannot manage.

This is kinda hard for me to do at the moment. Time-wise... I am trying to learn rust right now and will be starting my college in August...
I'll try to squeeze some time to do this till this weekend, but there is absolutely no guarantee.

Very nice,
I've been testing, it's working perfectly !
If I find the time this week-end I'll show you my project (already running well on a Pico + waveshare st7789 screen.
The bug is of course annoying, mostly when you restart the program on Thonny but that's nothing important.
Thanks a lot

Hi
I fixed the resetting bug, at least for the mpy v1.23. If you want, you can give it a try. Worked for me. There might also be a slight performance hit since I also added an Error message to tell the user when they are trying to use more ram than they supposed to be. (This was a bug in color.py, I was too stupid to code that example late night and ye... it cost me today a lot. Tho, this was not the cause for the resetting, but now still fixed.)
best regards and cheers if you are also drinking coffee

Hi, polygon and fill_polygon should be easy to adapt, jgp and png support are not that easy and the implementation of st7789 is not very fast. For jpg, it only uses 40KB RAM, which is great on lower-end devices, but for this device, it ist just not fully utilizing its potential.

Well,
Short time, high efficiency ;-)
I confirm the annoying reset bug has gone away also on my Micropython build !
By the way, I managed to implement (let's better say copy) the Polygon, Fill_polygon and Polygon_Center in your code. And it works perfectly !


Exits from inputting 0xFFFFFFFF

Reads as 0111 1111 1111 1111 ... (why is first nibble not 1111)?
Exits with code 022 in GDB (can't find anyone with a similar issue)

Fixed by using larger buffer (still happens when that buffer explodes though)


Update Webui

1. Tell us something about your changes.
Update font-awesome from 4.2 to 4.6.3
Add Roboto Font
Add Dashboard example
Add Config example
Add support page
little adjustments
Note: Code mess on kodi page - and nothing final there. Just to get an idea of my personal direction.
2. If this changes affect the .conf file. Please provide the changed section
3. Reference an issue (optional)

+1

@redPanther
There is a issue loading the Roboto font (parsing)
For a uknown reason this works flawless with my local xampp (No - Roboto is not installed)
Do you have an idea/same problem?

@brindosch an \r\n is appended. This dosn't harm on textfiles, but is fatal on binaries. I investigate ... but my schedule this week is tight, but this will be the next thing I hunt (have also other things for webserver todo ... e.g. the bug that index.html in subfolder is not called automaticly)

I think this is the reason
https://github.com/hyperion-project/hyperion.ng/blob/master/libsrc/webconfig/QtHttpClientWrapper.cpp#L178

Fast!
No hurry :)
Just note it on the buglist :)

can't resist:
wehen commenting out this https://github.com/hyperion-project/hyperion.ng/blob/master/libsrc/webconfig/QtHttpClientWrapper.cpp#L190 it works, but i don't know the consequences ...


Both slo_forward_on_logout and slo_forwad_on_logout are required to prevent redirect

It looks like the remediation from (https://github.com/bluedatainc/jupyterhub-samlauthenticator/issues/40) has resulted in both variables being required or the samlauthenticator looks for the SingleSignOut in the metadata. With only one set (it doesn't matter which), the following shows up the logs:
[D 2020-09-16 16:43:43.808 JupyterHub samlauthenticator:711] Got metadata etree
[D 2020-09-16 16:43:43.808 JupyterHub samlauthenticator:717] Got valid metadata etree
[D 2020-09-16 16:43:43.809 JupyterHub samlauthenticator:723] Final xpath is: //md:SingleLogoutService[@Binding='urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect']/@Location
[E 2020-09-16 16:43:43.809 JupyterHub web:1792] Uncaught exception GET /hub/logout (<IP_ADDRESS>)
HTTPServerRequest(protocol='http', host='jupyter3.domain.tld', method='GET', uri='/hub/logout', version='HTTP/1.1', remote_ip='<IP_ADDRESS>')
Traceback (most recent call last):
File "/opt/jupyterhub/lib64/python3.7/site-packages/tornado/web.py", line 1703, in _execute
result = await result
File "/opt/jupyterhub/lib64/python3.7/site-packages/samlauthenticator/samlauthenticator.py", line 852, in get
logout_handler_self)
File "/opt/jupyterhub/lib64/python3.7/site-packages/samlauthenticator/samlauthenticator.py", line 729, in _get_redirect_from_metadata_and_redirect
handler_self.redirect(redirect_link_getter(saml_metadata_etree)[0], permanent=False)
IndexError: list index out of range

This is going to be fixed in the v1 release when slo_forwad_on_logout is removed.


CDN link outdated

Not sure if this is intentional or not, so just figured I'd file an issue here first but if a PR is desired I can make one.
In the README you have the @import line:
@import url('https://cdn.jsdelivr.net/gh/pengx17/logseq-laurel-theme@1.8.1/custom.css');

As of this writing the current release is 1.8.4.  Is there a reason to not just use @master instead of @<version> instead?

This readme file is currently manually maintained and I forgot to update them accordingly when updating the styles.
I think normally users can use master version as you suggested, but it has some caching timeout which I am not sure how long will it is?

This readme file is currently manually maintained and I forgot to update them accordingly when updating the styles.
I think normally users can use master version as you suggested, but it has some caching timeout which I am not sure how long will it is?

I'm not aware of any caching but it is a CDN after all so it is possible, but even if so the overall benefit to me of not having to manually update a README for the sake of versioning outweighs the cost of time and potential forgetfulness.
If you feel there's more value in manually maintaining then I respect that.  I was mainly pitching this to make the friction of updates to a theme a little less.

If you feel there's more value in manually maintaining then I respect that. I was mainly pitching this to make the friction of updates to a theme a little less.

Thanks! I have a check on the caching header of jsDelivr on master branch and it seems cache TTL is 7d. I think it should be safe to indicate the users to use master version for convenience!


Render mode argument is missing

Describe the bug
Gym 0.26+ requires a render_mode argument in the constructor.
To Reproduce
Provide a minimal code :
import gymnasium as gym

gym.make("PandaPush-v3", render_mode="human")

Thanks @araffin


[#5150] fix (doc): Align the gravitino type in trino-connector doc

What changes were proposed in this pull request?
Align the gravitino type in trino-connector doc with programming guides doc
Why are the changes needed?
Fix:#5150
Does this PR introduce any user-facing change?
Update docs
How was this patch tested?
No

@danhuawang Please take a review.

LGTM


MOL ver 1.2.5

Support for Ad Icons
Bug fixes reported during the testing cycle

Changes approved - looks good!


[STAN-173] UI: show breadcrumbs at all sizes

The NHS toolkit hides breadcrumbs until the browser width is at or above tablet width.
For us the breadcrumbs were hidden but a white background was still visible.
Here we're overriding this setting to display breadcrumbs at all sizes.
Before

After

We'll keep an eye out for when the breadcrumb goes a third level in and what that would look like but LGTM! :-)


Default selected item should be the current Access tier in 'Update Access Tier' dialog

Storage Explorer Version: 1.1.0 RC
Platform: Windows/Linux/Mac
Architecture: ia32/x64
Build Number: 20180507.1
Commit: bcc8990d
Regression From: Not a regression
Steps to Reproduce:

Launch Storage Explorer and expand a blob account.

Right click the account and set the default Access Tier to 'Cool'.

Reopen the 'Update Access Tier' dialog and check the default selected item.

Expected Experience:

The default selected item is the current Access Tier 'Cool'.
Actual Experience:

'Hot' still is selected in the 'Update Access Tier' dialog.

Verified this issue on the latest build 20190614.7. It still reproduces. Could you help to take a look?

Verified this issue on build 20201116.2. Fixed.


Add Windows 11 21H2 to create-and-manage-central-store.md

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

Hi @JasonCook599, thank you for submitting the PR.
The download link for "Administrative Templates (.admx) for Windows 11 October 2021 Update (21H2)" already exists in this article. The changed line is duplicate so I will just close this PR.
Thanks.


Please provide xz compressed releases

If it is not too inconvenient please provide further releases also as a .xz archive.
The size comparison:
openssl-1.1.0f.tar.gz 5.1M
openssl-1.1.0f.tar.xz 3.5M
I could recompress it myself but then I wouldn't have an official the PGP signature.

I wonder if .lz rather .xz doesn't make even more sense, given the lzip format is intended for long-term archiving (some GNU projects are using it already as replacement for xz format), size is about the same with xz.


Provide real Helm deployer to Landscaper

Description
Currently, the Landscapers "Helm Deployer" only uses the Helm Templating mechanism, which is sufficient for the Gardener usecase / Helm-based deployments, but not for other Stakeholders of the Landscaper.
So we have to provide another Deployer for the Landscaper, which encapsulates the complete feature-set of the Helm Client. We might not be able to use the Potter Helm-Deployer, but should be able to benefit from our previous knowledge when we have created that deployer for the Potter.
Done Criteria

[ ] All Features implemented
[ ] Code has been reviewed by other team members
[ ] Unit Tests created for new code
[ ] Integration Test Suite updated (if applicable)
[ ] Internal technical Documentation updated
[ ] Enduser Documentation updated (if applicable)
[ ] Successful demonstration in Review

Format of new helm deploy items

for charts in an OCI registry
for charts in a helm chart repo

Clarify the deployment of the new deployer (deployer registration vs default deployer)

moved to other backlog project

@In-Ko should we close this?

Yes, as issue is now tracked in the new backlog project.


loading properties not depending specific classloader

One of my colleague wanted some druid servers(broker and historical?) embedded in his java process but it wasn't work because all servers tried to read the same configuration file.
Current property loading mechanism for servers depends on class loader and we should make class loader for specific server before start. This is generally ok but when using druid server embedded in other process, it makes some trouble for managing it. this is for that.

This breaks backwards compatibility and will break our deployments. Instead of completely foregoing the prior methodology of using ClassLoader resources, would it be possible to have a property that contains a list of files to use to create Properties, in ADDITION to pulling from the ClassLoader mechanism as was previously done?

revised a little. would it better to have single druid/config path in classpath rather than adding  druid/config/_common:druid/config/$SERVER/?

@navis that is how we deploy it internally, with a single config path in the classpath that contains both runtime.properties and common.runtime.properties
For the example deployment I think it makes things clearer if there is clear delineation between the node types.

@drcrallen ok. then I should make alternative way to fix my problem. thanks.


Change ECP message to text and internationalize

ECP == EverythingClosedPeriod

Needs some styling. Perhaps centering?

Check out Samfundet.no to compare it to the current message


Added definitions for ImageButton with explicit ID

Hello!
I've added support for the new definitions of ImGui::ImageButton that support explicitely setting the id of the widget.
This feature was added in ImGui v1.89 and wasn't implemented in ImGui-SFML as far as I was aware.
Please give any feedback if something is wrong. Thanks :)

This will require we raise the minimum ImGui requirement from 1.87 to 1.89. @eliasdaler Thoughts on raising that requirement?

For what's it's worth, it seems like the old definitions are still available in 1.89, although they are now marked as deprecated.

Are there certain package managers still shipping <1.89 that we would break support with if we raised this requirement?

Search the repo for "1.87". You should find another reference to that version in a build script.

Found it and fixed it in CMakeLists.txt

Are there certain package managers still shipping <1.89 that we would break support with if we raised this requirement?

I would have to check, I mostly use FetchContent with ImGui-SFML so I'm not sure about that

Search the repo for "1.87". You should find another reference to that version in a build script.

Search again. There are more references to 1.87.

Thanks for cleaning that up.
I'm going to give Elias time to weigh in one whether he likes increasing this minimum requirement.

I'm going to give Elias time to weigh in one whether he likes increasing this minimum requirement.

Let's do it. 1.89 was released more than a year ago and Dear ImGui is a fast moving library which many users are expected to keep up with since it rarely breaks its API.

Shouldn't be overloads without "const char* id" be removed? It seems like you can't call ImGui::ImageButton without passing a label/id now.

Shouldn't overloads without const char* id be removed? It seems like you can't call ImGui::ImageButton without passing a label/id since 1.89.

They can be kept, as those definitions are still available in 1.89. The only difference is that they are now marked as deprecated.

I see. Let's just drop these overloads - it's better than copy-paste and we'll need to get rid of them eventually.

Shouldn't overloads without const char* id be removed? It seems like you can't call ImGui::ImageButton without passing a label/id since 1.89.

They can be kept, as those definitions are still available in 1.89. The only difference is that they are now marked as deprecated.

I see. Let's just drop these overloads - it's better than copy-paste and we'll need to get rid of them eventually.

Just dropped them in last commit

Much better.
@ChrisThrasher, please look at it again and feel free to merge.


Enhancement - Bulk loading of data

This would be a nice feature for loading a large amount of data, perhaps from a spreadsheet.

I'm afraid this is outside the scope of this project but I can offer some guidance.
I suggest a node script using a library like https://github.com/request/request to hit the wdts api at http://localhost:4000/api. The algorithm would be:
login
for each source actor
  create node
  add evidence
for each source connection
  create edge
  add evidence

A good way to understand the api is by using developer-tools in the browser (F12) to trace the http request and response messages during manual interaction. Then replicate these calls in your script.


added a bullet at the end of the page re: docker

and what might not work as expected in the beta.

Thank you, absoludicrous


chore(adapter-neon): remove pool check

(Do not merge)
/integration

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