Add README for starter-jaeger

Fixes: #115

@pavolloffay I updated the PR. Please take a look and let know what you think

Travis is failing on
testExpectedReporter(io.opentracing.contrib.spring.cloud.starter.jaeger.basic.JaegerTracerServiceNoSenderConfiguredSpringTest): (..)
  testExpectedReporter(io.opentracing.contrib.spring.cloud.starter.jaeger.basic.JaegerTracerServiceHttpSenderConfiguredSpringTest): (..)

flaky tests?

I would merge, as there are mostly readme changes and one one-liner. Could you please verify why is it failing and merge on green?

I definitely need to take a good look at the tests. We can't have tests
failing randomly 😀
On Mon, Apr 16, 2018, 21:19 Pavol Loffay<EMAIL_ADDRESS>wrote:

I would merge, as there are mostly readme changes and one one-liner. Could
you please verify why is it failing and merge on green?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/opentracing-contrib/java-spring-cloud/pull/122#issuecomment-381700520,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AELBvwnGny200pdYATBFAhFVmnhW9HzWks5tpOC6gaJpZM4TPqob
.

Actually, I figured out the problem :). In the rest I always access the first element of a list which seems to not always have the same elements.
I will update the test to work under all circumstances

PR #128 should be merged first and then we should restart the Travis build to make sure everything is OK here (although there shouldn't be any problems with a README PR :P)

I have added master as a protected branch to be able update PR branch via GH UI

@pavolloffay Cool, thanks!


Cartoon Network: Unable to extract post url

Checklist

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

Region
USA
Description
I'm trying to download from the Cartoon Network site. I have done this successfully in the past, using cookies, I believe. This time I hit an error. The log indicated that I need to use the --ap-mso, --ap-username and --ap-password options. I updated my command to include these options and received the error below.
ERROR: [CartoonNetwork] whodundidit: Unable to extract post url; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
Verbose log
[debug] Command-line config: ['-vU', '--write-subs', '--sub-langs', 'en', '--sub-format', 'srt', '--ffmpeg-location', 'C:\\ffmpeg\\bin', '--ap-mso', 'DTV', '--ap-username', 'PRIVATE', '--ap-password', 'PRIVATE', 'https://www.cartoonnetwork.com/video/teen-titans-go/whodundidit-episode.html']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2022.05.18 [b14d523] (win_exe)
[debug] Python version 3.8.10 (CPython 64bit) - Windows-10-10.0.19044-SP0
[debug] Checking exe version: "C:\ffmpeg\bin\ffprobe" -bsfs
[debug] Checking exe version: "C:\ffmpeg\bin\ffmpeg" -bsfs
[debug] exe versions: ffmpeg 2022-05-16-git-e3580f6077-full_build-www.gyan.dev (setts), ffprobe 2022-05-16-git-e3580f6077-full_build-www.gyan.dev
[debug] Optional libraries: Cryptodome-3.14.1, brotli-1.0.9, certifi-2021.10.08, mutagen-1.45.1, sqlite3-2.6.0, websockets-10.3
[debug] Proxy map: {}
Latest version: 2022.05.18, Current version: 2022.05.18
yt-dlp is up to date (2022.05.18)
[debug] [CartoonNetwork] Extracting URL: https://www.cartoonnetwork.com/video/teen-titans-go/whodundidit-episode.html
[CartoonNetwork] whodundidit: Downloading webpage
[CartoonNetwork] c7029d3afb37967d5bf73ffea6c798d9c5bf6ac3: Downloading JSON metadata
[CartoonNetwork] c7029d3afb37967d5bf73ffea6c798d9c5bf6ac3: Downloading Provider Redirect Page
[CartoonNetwork] c7029d3afb37967d5bf73ffea6c798d9c5bf6ac3: Downloading Provider Login Page
ERROR: [CartoonNetwork] whodundidit: Unable to extract post url; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
  File "yt_dlp\extractor\common.py", line 642, in extract
  File "yt_dlp\extractor\cartoonnetwork.py", line 36, in _real_extract
  File "yt_dlp\extractor\turner.py", line 234, in _extract_ngtv_info
  File "yt_dlp\extractor\turner.py", line 38, in _add_akamai_spe_token
  File "yt_dlp\extractor\adobepass.py", line 1713, in _extract_mvpd_auth
  File "yt_dlp\extractor\adobepass.py", line 1393, in post_form
  File "yt_dlp\extractor\common.py", line 1235, in _html_search_regex
  File "yt_dlp\extractor\common.py", line 1226, in _search_regex

It's not CN, but DTV login that is broken - Same issue as https://github.com/yt-dlp/yt-dlp/issues/2188


Update MD file on new branch 2017-12-07_09-37-44

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

split/updateTestRef1.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


can't use library with web3.js 2.0+

how do you upgrade to web3 2.0 and keep using spl-token in the project?

There are new auto-generated libraries being developed for web3.js v2 -- you can check out the one for token-2022 at https://github.com/solana-program/token-2022/tree/main/clients/js and token at https://github.com/solana-program/token/tree/main/clients/js.
Since development will soon be ending in this repo, closing the issue


import chart bump 1.5.1

Codecov Report
Base: 61.61% // Head: 8.26% // Decreases project coverage by -53.35% :warning:

Coverage data is based on head (c5959ac) compared to base (683c40d).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #1920       +/-   ##
==========================================
- Coverage   61.61%   8.26%   -53.36%
==========================================
  Files         179      93       -86
  Lines       14523   10111     -4412
==========================================
- Hits         8949     836     -8113
- Misses       4468    9220     +4752
+ Partials     1106      55     -1051

Flag
Coverage Δ

acceptance-api
?

acceptance-apps
?

acceptance-cli
?

unittests
8.26% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Release tagged versions of Cookbook template

I think it makes sense to mint new releases of the Cookbook template each time we have a working update.
This could help with our future automation for pushing updates out to all the individual cookbooks. An action can be triggered by each new release to open PRs on every Cookbook repo.
We could simply adopt Calendar Versioning like do for the pythia-datasets package

Revisiting this. I think that now is the time to mint the first "release" of the Template, now that the infrastructure has settled down.

I went ahead and minted a release:
https://github.com/ProjectPythiaCookbooks/cookbook-template/releases/tag/v2022.11.07

I'll bring this up at an upcoming IWG. It would be good to have some sort of consensus on releases and what they might trigger (e.g. some automation as proposed in #86)


Added Searching and sorting algorithms Python

I've added Searching and Sorting algorithms in python

Searching Alg

Linear Search
Binary Search

Sorting Alg

Bubble Sort
Selection Sort
Insertion Sort
Merge Sort
Quick Sort

Thankyou for contributing @mani-barathi  !


Transformed commands into binning function

Hi @sviaro ! Thanks, this works pretty well!
Before we add it to the plugin, we need to generalize it a little bit. For example, the plugin can read a "single FLIM 2D slice" as the one shown in your example, but it can also sometimes receive a z-stack and a time-lapse.
Therefore, could you add a new section between "Creating a test..." and "Using real data" with another array that is for example 5D? The apply_conv_binning function should be flexible to bin more dimensions.
In fact, the plugin always turn any image to 5D as a standardization pre-processing step. For example, a FLIM "2D image" of shape (270, 512, 512) is turned into (270, 1, 1, 512, 512) before being processed.
Let's discuss more soon in the meeting :)

Here is a general template:
def apply_conv_binning(flim_image, bin_size = 2, binning_3D=True):
    """
    docstring
    """
    if binning_3D:
        apply_conv_binning_3D
    else:
        apply_conv_binning_2D
    return

Hi @sviaro ,
That is awesome now, thanks! 🎉
I am merging it.


linux/android mempolicy options update

r? @Amanieu
(rust-highfive has picked a reviewer for you, use r? to override)

@bors r+

:pushpin: Commit 536b33aec35a5c0cbef312ed9bbe30a592daa725 has been approved by Amanieu

:hourglass: Testing commit 536b33aec35a5c0cbef312ed9bbe30a592daa725 with merge 792b26d03b5d692982ad0775595637672a890c79...

:broken_heart: Test failed - checks-actions

@bors r+

:pushpin: Commit dc6b377e34287a713e8fb8bfdf2ae19dac89e4ec has been approved by Amanieu

:hourglass: Testing commit dc6b377e34287a713e8fb8bfdf2ae19dac89e4ec with merge 7175e038529251cea87dfa562f68b4f7e409a1ea...

:broken_heart: Test failed - checks-cirrus-freebsd-13

@bors retry

:hourglass: Testing commit dc6b377e34287a713e8fb8bfdf2ae19dac89e4ec with merge 7fa08a441ed9a140048ea768fb3477c7d597d5dc...

:sunny: Test successful - checks-actions, checks-cirrus-freebsd-11, checks-cirrus-freebsd-12, checks-cirrus-freebsd-13
Approved by: Amanieu
Pushing 7fa08a441ed9a140048ea768fb3477c7d597d5dc to master...


Unable connect DB Mysql Laravel Version: 5.8.x and 6.x

Laravel Version: 5.8.x and 6.x
PHP Version: 7.2.x
Database Driver & Version: MySQL

Description:
[previous exception] [object] (PDOException(code: 1044): SQLSTATE[42000] [1044] Access denied for user 'pha29410_userConn'@'localhost' to database 'pha29409_userData' at /home/29410/public_html/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:70) [stacktrace]
Unable to connect the db mysql to the user and the password is correct with Laravel Version: 5.8.x and 6.x. But it is possible to connect the DB to version 5.7 or earlier. The server connects Plesk and Cpanel

Hi there,
Thanks for reporting but it looks like this is a question which can be asked on a support channel. Please only use this issue tracker for reporting bugs with the library itself. If you have a question on how to use functionality provided by this repo you can try one of the following channels:

Laracasts Forums
Laravel.io Forums
StackOverflow
Discord
Larachat
IRC

However, this issue will not be locked and everyone is still free to discuss solutions to your problem!
Thanks.


ARROW-11050: [R] Handle RecordBatch in write_parquet()

Passing builds on my fork: https://github.com/nealrichardson/arrow/actions/runs/449308860

LGTM


Are you interested for macro ?

Hello, would you be interested in adding macros to your project?
We like your project and use SharedContainer a lot to separate our domains.
The macro available here helps reduce frequently repeated code.
The code is tested, some things may still be missing, but would you be interested in porting it to your repository?

Interesting, would have to think about it. Should note, however, that FactoryContainer is an existing typealias for Container.

Probably not at this point in time. I am considering macros for other functionality in the future.


Support exposing multiple services per pod

This commit removes support for the pathPort annotation and instead
uses the publicPaths annotation to provide all of the details
necessary to map a request path to a particular container within a pod.
This will allow you to expose path routing for multiple containers
within the same application using a simple convention: {CONTAINER_PORT}:{PATH}
See: #11
Subtask Link: https://github.com/30x/k8s-pods-ingress/issues/11#issuecomment-208422348

LGTM.  Nothing in the diff stands out as a glaring issue.


Exception Value: Invalid database type, expected City

I am using the version 0.6.2 and the GeoIP databases provided in the repository but I am getting this error ?
File "/home/alpha/.virtualenvs/cybrhome-alpha/lib/python2.7/site-packages/easy_timezones/middleware.py" in process_request
81.                         tz = db.time_zone_by_addr(ip)
File "/home/alpha/.virtualenvs/cybrhome-alpha/lib/python2.7/site-packages/pygeoip/init.py" in time_zone_by_addr
594.             raise GeoIPError(message)

Same problem with me.


can't build Material DateTime Picker with support library

When I add Material DateTime Picker dependency to gradle.build file :
dependencies {
    implementation 'com.wdullaer:materialdatetimepicker:4.1.2'
}

it throws this error
Manifest merger failed : Attribute application@appComponentFactory value=(android.support.v4.app.CoreComponentFactory) from [com.android.support:support-compat:28.0.0] AndroidManifest.xml:22:18-91 	is also present at [androidx.core:core:1.0.1] AndroidManifest.xml:22:18-86 value=(androidx.core.app.CoreComponentFactory). 	Suggestion: add 'tools:replace="android:appComponentFactory"' to <application> element at AndroidManifest.xml:6:5-31:19 to override.
I'm using support library v7
dependencies {
    implementation fileTree(dir: 'libs', include: ['*.jar'])
    implementation 'com.android.support:appcompat-v7:28.0.0'
    implementation 'com.android.support.constraint:constraint-layout:1.1.3'
    implementation 'com.android.support:design:28.0.0'
}

I find some solutions on Stack overflow say that i have a migration conflicts between Androidx and support library.
should I Migrate all my app to Androidx to use Material DateTime Picker Library ?

I solve the issue by Migrate my app to AndroidX Library.
Migrate to AndroidX
Maybe is a tough decision, but as mentioned in the documentation:
"The support library artifacts are being deprecated and all future development is going into AndroidX, so there's no avoiding this migration".

Sorry for the late reply.
As you correctly found out: you need to use Androidx rather than the old support library to use v4+ of this library.
If you really can't migrate yet, you can use the last v3 release, which does not depend on Androidx.
If you do this, keep in mind that I do not backport anything, so that version will never receive any bugfixes or new features (judging by download stats, it does seem to be stable for a lot of people).


How can I make vim's syntax error prompt not at the end of the text box, but also display it normally?

Feature description
How can I make vim's syntax error prompt not at the end of the text box, but also display it normally? For example, I can use Space + ga to display error details and repair methods, just like vscode. Currently, only the status of ctr cut out will be displayed. An error pops up, and sometimes the error is not prompted at the end of the line, so how to optimize this usage preference. Is there any relevant plug-in that can do it, and whether there is a method currently, but I don’t know the shortcut keys.
lIt means that the error can be displayed in the wrong chart position and related operations can be performed.
Additional information
No response

You can press gt under normal mode or execute :TroubleToggle. Besides, add this line to lua/user/settings.lua to disable diagnostics_virtual_text at the end of line.
settings["diagnostics_virtual_text"] = true

@ayamir thanks, i have tried like you desc, and get some what i want.

@ayamir have you used coc.nvim, its configfile can be more queit then meson, i tried its coc-python,. coc-clangd, and then feel more smooth.

@ayamir have you used coc.nvim, its configfile can be more queit then meson, i tried its coc-python,. coc-clangd, and then feel more smooth.

Yes, we had coc branch before but now we only support neovim native lsp.

@ayamir 我一直找到了这个分支 https://github.com/ayamir/nvimdots/tree/3c65e6e9a320503e6c5f8a9b2a6e82e16484cb03 发现仍然是 lsp, 我喜欢咱们这个搜索和一些快捷键，find提示，弹框等，coc.nvim 的配置文件我感觉要比 lsp简单。 我准备尝试使用 lsp代理 coc试试，你能提供一个 commit 的记录，我自己导出来跟着修改下吗。如果在现在这个基础上修改我看工作量比较大。因为目录结构使用都比较固定

The coc branch is deleted in our repo, but you can find it in other forks like: https://github.com/hypghzy/nvimdots/tree/coc

ok, thanks


bump deps

@TomasVotruba it needs rebase and re-generate as the "remove sensio fw" commit reverted as cause demo page submit error https://github.com/rectorphp/getrector.org/issues/461

Replaced by https://github.com/rectorphp/getrector.org/pull/472


fix(dynamicWatcher): make wrapDelegate() return removeWatch function

Fix console error on scope $destroy removeWatchCollection[i] is not a function (angular.js L9201)
--- More details---
angular $$watchDelegate is a function that calls scope.$watch and returns an unwatch function (see example in angular.js L14710). In bindNotifier L135, it wraps the original $$watchDelegate but the wrapped function does not return anything. It just need to return the result of the original function.

👏


Do toshiba api return when the device is in idle mode?

Hello,
I observed something: when I put my AC unit in heat mode and set the target temperature lower to what it is now, I would have expected that the device goes into an "idle" mode - so it remains on, but does not do the heating. same with cooling.
for what I have seen for my device, it continues with the heating/cooling. is this different for your unit? and is it possible to get that state from the API?
best regards

Hey, what API returns is the desired state so if you set heating it will always return heating. In app it's the same at least for my unit.


Scan-Scroll support for Spark RDDs?

I can't find anywhere references to whether or not esRDD supports properly scan-scroll when attempting to load a very large amount of results from ES to Spark: [http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-request-scroll.html#scroll-scan]
If it does, would somebody be kind enough to provide an example?
Thank you!

Nowadays it just support scroll api using Spark ?


How to remove default filter ID for searching?

Please let me know how can I remove these default filter which search ID?

@smuzammilali
$grid->filter(function($filter){
    $filter->disableIdFilter();
});

Thank you it works also it's possible to remove the labels?

@z-song Any help regarding above issue?
Also can we use just one input field for all filters? which called just Search

@smuzammilali It's unable to remove the label currently.
For the second question:
$filter->where(function ($query) {

    $query->where('title', 'like', "%{$this->input}%")->orWhere('content', 'like', "%{$this->input}%");

}, 'Search');

You can write the search query just use eloquent methods.


Secret URL "no data" even though ZenBot is actively trading

My logs URL works fine and I can confirm that Zenbot is actively trading on GDAX for me but the "/?secret=xxxx" url that is generated when you launch ZenBot continues to report "no data :(" and no graphs load.
Is there an issue with the latest bot or am I missing something?

In case anyone else is having this issue:  the charts were actually running all along but i needed to change my graphing criteria.
While it was set to:

gdax.BTC-USD | 1 day | 2000
no chart was loading

When I changed it to:

gdax.BTC-USD | 5 min | 100
the chart loaded

I guess if it doesn't have enough historical data for the time frame, the chart just doesn't load.


Support for >= and <= on if conditionals

I was going through the GreenBerry code and syntax and noticed that 'greater than or equal' ( >= ) and 'less than or equal' ( <= ) signs are currently not supported for if conditionals. I would like to work on it and add this functionality if that's alright.

@chrigkou ok that's fine!


Modify some pattern internals, cargo fmt, some tidying.

Hello, there was some issues with the tests so I didn't get to try - although, there shouldn't be any issue. If there is please tell me and I'll take care of it.
Also, why not reimplement the pattern scanner as following?
    /// Find `pattern` indice in `self.size`-sized raw parts of `self.bytes`, returns either
    /// `Pointer<T>` or `std::io::Error`
    ///
    /// # Arguments
    ///
    /// `pattern` - Array, can contain wildcard (`0`) which'll be ignored in matching
    ///
    /// # Example
    ///
    /// ```
    /// module.find_pattern_bytes::<u8>(b"\x55\x8B\xEC").expect("Failed finding prologue")
    /// ```
    ///
    /// # Safety
    ///
    /// Computes `from_raw_parts` from raw pointer of `self.size` and walks section,
    /// which is considered `unsafe`
    pub fn find_pattern_bytes<T>(&self, pattern: &[u8]) -> Result<Pointer<T>, Error> {
        /// Custom predicate for iterator position finder
        fn match_with_wildcard(wildcard_array: &[u8], memory_view: &[u8]) -> bool {
            !wildcard_array
                .iter()
                .zip(memory_view)
                .map(|x| if *x.0 == 0 { true } else { *x.0 == *x.1 })
                .any(|x| !x)
        }

        let indice = unsafe {
            std::slice::from_raw_parts(self.get_bytes(), self.get_size() - pattern.len())
                .windows(pattern.len())
                .position(|x| match_with_wildcard(pattern, x))
                .ok_or(Error::new(
                    ErrorKind::InvalidData,
                    format_args!(
                        "Failed finding subsequence {:x?} in slice sequence",
                        pattern
                    )
                    .to_string(),
                ))?
        };

        Ok(Pointer::new((self.get_bytes() as usize + indice) as _))
    }

    /// This is a wrapper for it's [base function](Module::find_pattern_bytes)
    ///
    /// # Arguments
    ///
    /// `pattern` - String which'll get split by whitespaces. If a resulting substring
    /// contains `'?'`, it'll be mapped to `0` in the iterator, otherwise, it'll be turned into it's
    /// hexadecimal form. If it's not contained within hexadecimal alphanumerical bounds, it'll
    /// panic
    pub fn find_pattern<T>(&self, pattern: &str) -> Result<Pointer<T>, Error> {
        fn string_to_vec(pattern: &str) -> Vec<u8> {
            pattern
                .split_whitespace()
                .map(|x| {
                    if x.contains('?') {
                        0
                    } else {
                        u8::from_str_radix(x, 16)
                            .expect("Substring not contained within hexadecimal alphanumeric form")
                    }
                })
                .collect()
        }

        self.find_pattern_bytes(string_to_vec(pattern).as_slice())
    }

I do it like that personally. Should also work on externals with little modification inside the find_pattern_bytes based on cfg.

Edit: I have now tested and examples work just fine!

Hi, it's all cool, one of the things you could do to make your Rust development experience better is simply having format-on-save. If you use VS Code, you can add this to your settings.json
    "[rust]": {
        "editor.defaultFormatter": "statiolake.vscode-rustfmt"
    },
    "editor.formatOnType": true,
    "editor.formatOnSave": true,

And it should run cargo fmt

Having auto format off is just my personal preference. It looks unclear to me when the method chain is folded at each dot.
But i knew it's minority opinion haha, I'm gonna turn it on.

Hey mate I just tried out your PR, and surprisingly pattern_scan_all_test became super faster than before. Originally, it was ridiculously slow idk why.
What do you think was the cause of the slow speed?

Hey mate I just tried out your PR, and surprisingly pattern_scan_all_test became super faster than before. Originally, it was ridiculously slow idk why. What do you think was the cause of the slow speed?

Not certain, maybe optimizations ramping up on more idiomatic approaches?

Alright it looks pretty good to me overall, i'll merge it.

Also, why not reimplement the pattern scanner as following?

I'll take your pattern scanning code into account as well.
Thanks mate!


fixed read/write BlockMemoryUnaligned8 functions

Added while loop for processing all data in list. It has impact to Flash > programPage function. For me its working now correct.

Hi @molejar , thanks for the pull request.  What problem were you seeing before you created this pull request?  Were not enough bytes getting written/read?  The way writeBlockMemoryUnaligned8 and readBlockMemoryUnaligned8 are written there should be no need for a loop.  In those functions the first and last 2 checks transfer all the unaligned data and the check in the middle transfers all the other data.
Were you using python 3 when you saw problems?  If so it might have something to do with changes to integer division in python 3 which handles rounding differently when using '/'.

Hi @c1728p9, sorry for wrong pull request. You have right, my changes has no impact to functionality. Please, ignore it. Thanks.


Feature/tuya panel remote sdk

Owner

[x] Nickname(Tuya): 南树
[x] Intra-group review（组内审阅人员）：OS一组

Description
Please provide a brief summary of the changes. If it is related to an issue, please bring the issue number, like fixes #${number}.
Add new component MaskView
Package
Please select the relevant package.

[ ] tuya-panel-animation-sdk
[ ] tuya-panel-api
[ ] tuya-panel-electrician-sdk
[ ] tuya-panel-ipc-sdk
[ ] tuya-panel-lamp-sdk
[ ] tuya-panel-lock-sdk
[ ] tuya-panel-robot-sdk
[ ] tuya-panel-outdoor-sdk
[x] tuya-panel-outdoor-sdk

Type of change
Please select the relevant option.

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Self CheckList
Please check all options.

[x] Intra-group review
[x] ESLint lint
[x] Example Run
[x] Jest Run
[x] No Grammer Error
[x] No Spell Error
[x] No Merge Conflict

Codecov Report

Merging #171 (9f01bc1) into main (1e9c794) will increase coverage by 0.06%.
The diff coverage is 75.43%.

@@            Coverage Diff             @@
##             main     #171      +/-   ##
==========================================
+ Coverage   61.57%   61.64%   +0.06%
==========================================
  Files         320      321       +1
  Lines       12100    12157      +57
  Branches     2818     2835      +17
==========================================
+ Hits         7451     7494      +43
- Misses       4617     4631      +14
  Partials       32       32

Impacted Files
Coverage Δ

...anel-remote-sdk/src/components/mask-view/index.tsx
75.43% <75.43%> (ø)

Continue to review full report at Codecov.

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


Multi-calendar view to show current and previous month

Firstly thank you for creating this great datepicker!
Is your feature request related to a problem? Please describe.
My use case requires people to select a date range in the past. All future dates are disabled. So when opening the calendar I want to show two months with the current month on the right, and the previous month on the left. But I cannot find a way to do this: the current month always shows on the left with the next month on the right. Even when using a max-date of today and prevent-min-max-navigation, the disabled month will still show.
Describe the solution you'd like
A new prop to allow the calendar to open with two months side-by-side, like multi-calendars, but with the current month on the right.
Describe alternatives you've considered

Using single calendar (only viable option)
Setting max-date with prevent-min-max-navigation (disabled month still shows on initial opening)
Trying to manually click back button on opening (element not loaded in time)

Additional context
How it currently opens:

How I'd like it to open:

UPDATE - I found a way to solve this by using start-date and focus-start-date - so no urgency for this feature!

@emilyDZC How have you solved it?

I came across this ticket while trying to address a similar problem I was facing. Specifically, I managed to resolve the issue of the initial opening of the date picker using the start-date and focus-start-date properties.
However, I've encountered a challenge when updating the selected dates using the presets I added on the left side. When the dates are updated, the view also changes, causing the current month to appear on the left and the next month on the right.
I've attempted to use the setMonthYear method to fix this behavior, but it hasn't resolved the issue. Could you provide guidance on how to address this using the available properties and methods?


Multi threaded unit tests - "Db instance has not been initialized" exception

Hello,
I have multi threaded code which uses Sitecore code and I'd like to unit test it via FakeDB.
My issue is that when using FakeDB I get an exception from FakeDB if I use Sitecore API in newly created threads.
Exception message: "Sitecore.FakeDb.Db instance has not been initialized." Exception comes from method: Sitecore.FakeDb.Data.Engines.DataCommands.DataEngineCommand.get_DataStorage
Is it possible to make the same fake DB object available and working for the newly started threads? Or is there any workaround for this?
Example nunit test:
        [Test]
        public void MultiThreadedFakeDbTest()
        {
            var db = new Db();
            bool hadException = false;

            var item = db.GetItem("/sitecore/content");

            var thread = new Thread((myDb) =>
            {
                try
                {
                    var children = item.GetChildren();
                }
                catch (Exception ex)
                {
                    hadException = true;
                }
            });

            thread.Start();
            thread.Join(); //waiting until the thread finishes

            Assert.IsFalse(hadException);

            db.Dispose();
        }

The db object is not disposed before I try to call the Sitecore code.
In the running Sitecore application using new threads works fine so I would expect that it also works with FakeDB.

FakeDb is actively using ThreadLocal storage to isolate tests that might run in parallel (e.g. XUnit 2 or NCrunch). And there goes the obvious side effect - if you launch your own threads you won't see the FakeDb's state in there

Does this mean that testing multi-threaded code with FakeDB is not supported at all and won't be supported in the future either? I think it would useful.

I guess what I would recommend is to take a closer look at your unit tests and ask yourself if you are writing unit or rather integration tests. There should be a way to test the logic you run on your threads in isolation. If not, you may want to consider refactoring it a bit - testing often leads to better and more decoupled design.
The ThreadLocal is very core to how FakeDb works internally so I doubt we can change anything to accommodate your scenario. At the end of the day, FakeDb is an isolation framework, not an emulation framework. There are other approaches to automating your Sitecore tests and especially the integration tests (e.g. running them in-container, in context of a running Sitecore instance).

@molntamas, good question re: whether we will ever support testing multi-threaded code with FakeDb. FakeDb supported it in its early days but had all kinds of unexpected side effects when running tests in parallel (NCrunsh adn XUnit 2). @sergeyshushlyapin and I talked about it a few times and decided that being able to safely run tests in parallel was more important that supporting multi-threaded code. At that time the internal fake items store and all Database's commands instances were converted to be ThreadLocal to prevent any kind of bleeding of state between tests.
I guess the answer to your question is yes, I don't think FakeDb will support testing multi-threaded code that access shared Sitecore state in the individual threads.

I can only agree with @pveller. There is a workaround that might be used, but as Pavel mentioned, I'd check if the unit tests do not try to test too much.
            var thread = new Thread((myDb) =>
            {
                try
                {
                    var d = (Db) myDb;
                    Assert.NotNull(d.DataStorage);
                    Assert.Null(DataStorageSwitcher.CurrentValue(d.Database.Name));
                    DataStorageSwitcher.Enter(d.Database.Name, d.DataStorage);

                    var children = item.GetChildren(); // does not fail
                }
                catch (Exception ex)
                {
                    Console.Out.WriteLine("ex.Message = {0}", ex.Message);
                    hadException = true;
                }
            });

            thread.Start(db); // (!)

Your options are:

refactor your tests to test the logic of individual threads in isolation
refactor your code not to access Sitecore database in individual threads. Branch the logic, not data access

p.s. In general, I haven't found myself doing multithreading the way your test is doing it with Sitecore. Sitecore's Jobs provide a good abstraction to run background processes and if you follow the pattern your code will be single threaded and thus easily testable. I also would not recommend to run threads when processing individual web requests (neither in the pipelines nor in the rendering code) as it can easily escalate under load. I am not saying your design is flawed - don't get me wrong - just wondering why would you need to use threads like that in a typical Sitecore solution.

Thanks for the clarification and recommendations. I might try to re-organize my code so that I can test the multi-threaded part without access to Sitecore, as you suggested. Or just skip the testing of the multi-threading and test all other aspects. I will also try the FakeFB code Sergey posted.
To me personally it makes sense to test multi threaded code as a unit test. I'm writing unit tests for data copy functionality within Sitecore with certain business rules, which uses multi threading to gain performance.
In our system we have many sites and many types of contents. The functionality I am developing would be only executed few times a day to copy a lot of Sitecore items to sites. It is a requirement to make it faster cause it takes many hours to generate ten thousands of items. (actually we are using cloning, but it still takes time)  Additional CPU usage is not a problem on the authoring servers during this time. It is btw executed in a Sitecore job context.
I wouldn't put multi threading into web request handling either, but for background jobs I think it is OK. I would be also OK to run within one single thread and use async if Sitecore would provide async methods for their data layer.
I  often find that it is convenient to unit test certain kinds of multi threaded code.
The multi threading related code I would like to test right now is if tasks are properly distributed to the running threads and that the tasks are executed properly, in the end no item is left out for the copy operation. I don't need to synchronize between the different threads, they have their unit of work, so I don't want to test something like that.
For this I see unit tests beneficial in a few ways compared to integration testing:  1. Tests can be quickly and easily executed during development. 2. I can control and test many aspects of the code by mocking certain parts of my code. E.g. I could unit test if proper number of threads are created and task distribution happens correctly.
The logic without multi threading I can unit test already.
But I agree that this is on the edge whether this should be unit tested or integration tested. I also checked this related stackoverflow discussion: http://stackoverflow.com/questions/12159/how-should-i-unit-test-threaded-code
It would be simple and convenient for me if I could unit test the full multi-threaded code and this also doesn't violate the FIRST principles, it wouldn't make the test execute slowly or to be not repeatable: https://pragprog.com/magazines/2012-01/unit-tests-are-first

Understood. It's clearly a limitation of FakeDb and how it goes about virtualizing Sitecore database - I would argue that it's probably the only way but it is a limitation nonetheless. That said, this limitation allows us to parallelize tests execution which is a very important quality for a codebase with a large number of tests. Not sure we will do anything about it in the near future. Maybe Sitecore vNext will be easier to virtualize :) Time will tell.

@sergeyshushlyapin, I have tried the code you wrote with switching the DataStorage. It works fine, the only issue is that the property DataStorage is internal, so I can't use it in my assembly properly. I can only get it with reflection.
Could property made public in the future? Does that make sense? Thanks!

Oh, right.. I just run the code in the FakeDb solution. The DataStorage contains internal data that are not expected to be used in devs scenarios. Opening the property does not sound like a good decision to me..

Ok, thanks. I will keep it for now with reflection, which is kind of bad, but it works fine for me. I can test the multi threaded code properly. Because of this it would be good for me to have it as public, but you know better how to handle this.
JFYI: The other issue I have encountered is that it seems like FakeDb throws exceptions if two separate threads try to create (clone) items the same time. I could resolve this issue by using a lock to not to create items the same time from separate threads.
The exception I got was this:
"Collection was modified; enumeration operation may not execute.
at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)   at System.Collections.Generic.Dictionary2.ValueCollection.Enumerator.MoveNext()   at System.Linq.Enumerable.<OfTypeIterator>d__921.MoveNext()   at Sitecore.FakeDb.Data.DataProviders.FakeDataProvider.GetTemplates(CallContext context)   at Sitecore.Data.DataProviders.DataProvider.GetTemplates(CallContext context, DataProviderCollection providers)   at Sitecore.Data.Engines.TemplateEngine.AddStaticTemplates(TemplateDictionary result)   at Sitecore.Data.Engines.TemplateEngine.InternalGetTemplates()   at Sitecore.Data.Engines.TemplateEngine.GetTemplate(ID templateId)   at Sitecore.Data.Managers.TemplateProvider.GetTemplate(ID templateId, Database database)   at Sitecore.Data.Managers.TemplateProvider.GetTemplate(Item item)   at Sitecore.Data.Managers.TemplateManager.GetTemplate(Item item)   at Sitecore.Collections.FieldCollection.ReadAll()   at Sitecore.FakeDb.Data.Items.ItemHelper.EnsureItemFields(Item item)   at Sitecore.FakeDb.Data.Items.ItemHelper.CreateInstance(Database database, String itemName, ID itemId, ID templateId, ID branchId, FieldList fields, Language language, Version version)   at Sitecore.FakeDb.Data.Engines.DataStorage.GetSitecoreItem(ID itemId, Language language, Version version)   at Sitecore.FakeDb.Data.Engines.DataStorage.GetSitecoreItem(ID itemId, Language language)   at Sitecore.FakeDb.Data.Engines.DataCommands.GetParentCommand.DoExecute()   at Sitecore.Data.Engines.EngineCommand`2.Execute()   at Sitecore.Data.Engines.DataEngine.GetParent(Item item)   at Sitecore.Data.Managers.ItemProvider.GetParent(Item item)   at Sitecore.Data.Managers.ItemProvider.GetParent(Item item, SecurityCheck securityCheck)   at Sitecore.Data.Managers.ItemManager.GetParent(Item item, SecurityCheck securityCheck)   at Sitecore.Security.AccessControl.ItemAuthorizationHelper.GetAncestorAccess(Item item, Account account, AccessRight accessRight, PropagationType propagationType)   at Sitecore.Security.AccessControl.ItemAuthorizationHelper.GetItemAccess(Item item, Account account, AccessRight accessRight, PropagationType propagationType)   at Sitecore.Security.AccessControl.ItemAuthorizationHelper.GetAncestorAccess(Item item, Account account, AccessRight accessRight, PropagationType propagationType)   at Sitecore.Security.AccessControl.ItemAuthorizationHelper.GetItemAccess(Item item, Account account, AccessRight accessRight, PropagationType propagationType)   at Sitecore.Security.AccessControl.ItemAuthorizationHelper.GetAccess(Item item, Account account, AccessRight accessRight)   at Sitecore.FakeDb.Security.AccessControl.FakeAuthorizationProvider.GetAccessCore(ISecurable entity, Account account, AccessRight accessRight)   at Sitecore.Security.AccessControl.AuthorizationProvider.GetAccess(ISecurable entity, Account account, AccessRight accessRight)   at Sitecore.FakeDb.Security.AccessControl.FakeAuthorizationProvider.GetAccess(ISecurable entity, Account account, AccessRight accessRight)   at Sitecore.Security.AccessControl.AuthorizationManager.GetAccess(ISecurable entity, Account account, AccessRight accessRight)   at Sitecore.Security.AccessControl.AuthorizationManager.IsAllowed(ISecurable entity, AccessRight right, Account account)   at Sitecore.Security.AccessControl.ItemAccess.IsAllowed(Item item, AccessRight accessRight)   at Sitecore.Security.AccessControl.ItemAccess.CanCreate()   at Sitecore.Data.Managers.ItemProvider.AddFromTemplate(String itemName, ID templateId, Item destination, ID newId)   at Sitecore.Data.Managers.ItemManager.AddFromTemplate(String itemName, ID templateId, Item destination, ID newItemId)   at Sitecore.Data.Managers.ItemManager.AddFromTemplate(String itemName, ID templateId, Item destination)   at Sitecore.Data.Items.Item.Add(String name, TemplateID templateID)   at Sitecore.Data.Items.Item.Add(String name, TemplateItem template)   at Sitecore.Data.Items.Item.CloneTo(Item destination, String name, Boolean deep)   at Sitecore.Data.Items.Item.CloneTo(Item destination, Boolean deep)"
...

JFYI: The other issue I have encountered is that it seems like FakeDb throws exceptions if two separate threads try to create (clone) items the same time.
@molntamas, could you please share the test reproducing this? Thanks!

@sergeyshushlyapin , see the code in the attachment with an NUnit test.
I could reproduce the issue with this code.
Test.txt

As @pveller described above, that is a limitation that unfortunately won't be supported.


Update s3, sdk-core, sqs to 2.20.120

About this PR
📦 Updates

software.amazon.awssdk:s3
software.amazon.awssdk:sdk-core
software.amazon.awssdk:sqs

from 2.17.295 to 2.20.120
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "software.amazon.awssdk" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "software.amazon.awssdk" }
}]

labels: library-update, early-semver-minor, semver-spec-minor, commit-count:1

Superseded by #648.


Update gsitemap.php

Questions
Answers

Description?
Replace deprecated usage

Type?
refacto

BC breaks?
no

Deprecations?
no

Fixed ticket?

How to test?
Ci 🟢

thanks!


Hard pin datasets and wandb

What's changing
We're pinning wandb and datasets due to regressions from upper-bound versions because integration tests were failing with updated versions.
How to test it
Run pytest -s tests/integration/test_finetuning.py locally
Related Jira Ticket
Additional notes for reviewers

❤


SOS report Heading

The heading of SOS report page has many capitalized letters in between the sentence which doesn't seems professional, I understand that those words are capital in order to highlight user's attention on them.
For ex: "Critical", "Animal Care"

Suggestion: Either Bold/italicize or change their color in order to emphasize on those words instead of capitalizing them.
Ex:

this is not needed


CSV files are missing labels for synsets and senses

These are obviously important and cannot be generated from the words.csv file.

Thomas supplied me with labels in separate CSV files.


Current Nightly Docker image unable to run any dotnetcore apps

Steps to reproduce the issue
~/s/f/core-dotnetcore   dotnetcore *$…  docker run --rm -ti -v (pwd):/root/ -v /home/paul/.aws:/root/.aws -p 8282:8282 microsoft/dotnet-nightly:2.0-sdk bash
root@3a23c05bbe43:/# mkdir /tmp/paul
root@3a23c05bbe43:/# cd /tmp/paul
root@3a23c05bbe43:/tmp/paul# dotnet new console
The template "Console Application" was created successfully.

Processing post-creation actions...
Running 'dotnet restore' on /tmp/paul/paul.csproj...
Restore succeeded.

root@3a23c05bbe43:/tmp/paul# dotnet restore
  Restoring packages for /tmp/paul/paul.csproj...
/usr/share/dotnet/sdk/2.0.0-preview2-006215/NuGet.targets(98,5): warning : Dependency specified was Microsoft.NETCore.App (>= 2.0.0-preview2-25324-03) but ended up with Microsoft.NETCore.App 2.0.0-preview2-25401-01. [/tmp/paul/paul.csproj]
  Lock file has not changed. Skipping lock file write. Path: /tmp/paul/obj/project.assets.json
  Restore completed in 172.73 ms for /tmp/paul/paul.csproj.

  NuGet Config files used:
      /root/.nuget/NuGet/NuGet.Config

  Feeds used:
      https://api.nuget.org/v3/index.json
      /root/.dotnet/NuGetFallbackFolder
root@3a23c05bbe43:/tmp/paul# dotnet build
Microsoft (R) Build Engine version <IP_ADDRESS>955 for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

  paul -> /tmp/paul/bin/Debug/netcoreapp2.0/paul.dll

Build succeeded.
    0 Warning(s)
    0 Error(s)

Time Elapsed 00:00:02.21
root@3a23c05bbe43:/tmp/paul# dotnet publish
Microsoft (R) Build Engine version <IP_ADDRESS>955 for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

  paul -> /tmp/paul/bin/Debug/netcoreapp2.0/paul.dll
  paul -> /tmp/paul/bin/Debug/netcoreapp2.0/publish/
root@3a23c05bbe43:/tmp/paul# dotnet bin/Debug/netcoreapp2.0/publish/paul.dll
It was not possible to find any compatible framework version
The specified framework 'Microsoft.NETCore.App', version '2.0.0-preview2-25401-01' was not found.
  - Check application dependencies and target a framework version installed at:
      /
  - Alternatively, install the framework version '2.0.0-preview2-25401-01'.
root@3a23c05bbe43:/tmp/paul#

Expected behavior
At the very least, I'd expect that to print "Hello World!"
Actual behavior
That error
Additional information (e.g. issue happens only occasionally)
Happens consistently.  I was actually trying to get a compile version of an app that uses the SignalR packages from the aspnet-dev myget repo, and stumbled around that error for hours before I decided it must be more insidious than my narrow knowledge of .netcore2.0
I doubt this is a docker issue, it's something peculiar to the nightly image.  I even tried creating a new image with the latest preview that I could discover (006236), but that has the same issue.
Output of docker version
$ docker version
Client:
 Version:      17.05.0-ce
 API version:  1.29
 Go version:   go1.8.1
 Git commit:   89658bed64
 Built:        Fri May  5 22:40:58 2017
 OS/Arch:      linux/amd64

Server:
 Version:      17.05.0-ce
 API version:  1.29 (minimum version 1.12)
 Go version:   go1.8.1
 Git commit:   89658bed64
 Built:        Fri May  5 22:40:58 2017
 OS/Arch:      linux/amd64
 Experimental: false

Output of docker info
docker info
Containers: 7
 Running: 0
 Paused: 0
 Stopped: 7
Images: 191
Server Version: 17.05.0-ce
Storage Driver: overlay2
 Backing Filesystem: extfs
 Supports d_type: true
 Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge host macvlan null overlay
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 9048e5e50717ea4497b757314bad98ea3763c145
runc version: 9c2d8d184e5da67c95d601382adf14862e4f2228
init version: 949e6fa
Security Options:
 seccomp
  Profile: default
Kernel Version: 4.11.3-2-zen
Operating System: Arch Linux
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 15.6GiB
Name: chulak
ID: Q5R4:VMTX:45AB:E37M:QBFM:3IDF:Z6AL:DDKK:3CGT:RYIM:KI3P:34LS
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Username: pms1969
Registry: https://index.docker.io/v1/
Experimental: false
Insecure Registries:
 <IP_ADDRESS>/8
Live Restore Enabled: false

The nightly repo contains the latest builds of .NET Core.  A consequence of this is sometimes workarounds are needed.  Because of some issues in CLI right now, you will need to specify a custom NuGet feed to get the correct packages loaded.  When restoring try this instead - dotnet restore -s https://dotnet.myget.org/F/dotnet-core/api/v3/index.json -s https://api.nuget.org/v3/index.json

Thank you Michael.  That worked.  As it turns out, I'd eventually figured that I could apt-get it as well, but I much prefer your solution...  Cheers.


Split ovn-controller in separate daemonsets

Split the services ovsdb-server and ovs-vswitchd from current ovn-controller. As this way we would have 2 different
daemonsets, one for the ovn-controller and another one for the ovsdbserver and ovsvswitchd, allowing the update of ovn-controller in a separate way.
Closes: OSPRH-1932

recheck

/ok-to-test

recheck

/retest

recheck

I pushed a bunch of patches that I think make this PR more readable and maintainable. I may continue tomorrow.

@karelyatin @slawqo I am happy enough with this version of the PR. Please take a look. (I haven't dived into func test changes here but they seem ok. But please check these too.)


HSEARCH-3096 Allow users to provide their own default bridges

https://hibernate.atlassian.net/browse/HSEARCH-3096

Jenkins, retest this please.

Jenkins, retest this please.

Great job, merged, thanks!


DBZ-6340 Make "preferred" the new default SSL mode for the MySQL connector

https://github.com/debezium/debezium/pull/4460 made "prefer" the default SSL mode for the Postgres connector. This comment suggested doing similar work for other connectors. This PR makes a similar change for MySQL.

@fredlegaucher Applied, thanks!


Msalem/add scheduler function

Adding new feature to schedule metered Emitting events. This PR will contain change to every application layer to reflect the newly added entity. Here is summary for changes

SQL Server : Added 2 new tables + 1 new view for scheduler
DAL : Added new entity to context and added contract and repository
Business Service: Added Service and Model
Publisher site: New View and controller for scheduler
New Function for scheduler

@msalemcode  Would you attach screenshot of this features?

For ./docs/Installation-Instructions.md, please change the title from "Installating" to "Installing"


Should every localized README.md include info of other localizing community?

This is a Feature Request
According to minimum requirement to localize k8s doc, localizing README.md at kubernetes/website is required.
Current README.md includes information about Korean localizing team. And localized README.md (e.g. README-de.md) includes this, but other localizing team's info.
This leads to difficulty. If chief maintainer of Korean changes to other, every localized README.md should reflect this. It's little bit costly. But if we have file enumerating summary of each localization team (e.g. slack channel, chief maintainer) under kubernetes/website and each localized README.md refers to this file, it's easy to maintain info about localizing team consistently throughout each localized README.md.

What would you like to be added

New file under kubernetes/website enumerating summary of each localizing team (e.g. chief maintainer, slack channel and link to localized README.md)
Make README.md and README-**.md point to file described above

Why is this needed
To ease maintenance of each README file under kubernetes/website
Comments
OR, should only README.md (English version of README) enumerate summary of each localizing team? (Other localized README.md doesn't include info about other localizing team & no new file listing summary of each localizing team under kubernetes/website)

/sig docs

/close
Solved in #14324


Lost striped with background defined

When I define one or more rows with "table-danger" (p.e.) background the striped effect are non functional, all rows have the same background color without respect striped-definition.
Workaround for default "table-danger":
.table-danger:nth-child(odd)>td,
.table-danger:nth-child(odd)>th {
background-color: #efa6ae;
}

Bug reports must include a live demo of the issue. Per our contributing guidelines, please create a reduced test case via CodePen or JS Bin and report back with your link, Bootstrap version, and specific browser and Operating System details.
This is an automated reply

I create two demos:
1.- Direct bootstrap 4 example:
https://software.uv.es/bugstrap.php
2.- Workarounded bootstrap 4 example:
https://software.uv.es/bugstrapw.php

Thanks, but I don't see us supporting this, nor do I see it as a bug right now. We won't be making any changes to support multi-colored tables other than the existing utilities and modifiers.


Any support of Privacy Manifest?

Privacy Updates for AppStore submission
Expected Behavior
Developers are responsible for all code included in their apps. At WWDC23, Apple introduced new privacy manifests and signatures for commonly used third-party SDKs and announced that developers will need to declare approved reasons for using a set of APIs in their app’s privacy manifest.
Current Behavior
The library doesn't provide Privacy Manifest file
Possible Solution
The library should provide Privacy Manifest if it collects information or access "Required Reasons API"
Additional Info

I’ll try and sort that out today as a matter of urgency!Interesting that it’s the first time I’ve encountered this. I successfully submitted an update to an app that uses StoreHelper with no problem. On 8 Mar 2024, at 09:09, Ihar Katkavets @.***> wrote:
Privacy Updates for AppStore submission
Expected Behavior
Developers are responsible for all code included in their apps. At WWDC23, Apple introduced new privacy manifests and signatures for commonly used third-party SDKs and announced that developers will need to declare approved reasons for using a set of APIs in their app’s privacy manifest.
Current Behavior
The library doesn't provide Privacy Manifest file
Possible Solution
The library should provide Privacy Manifest if it collects information or access "Required Reasons API"
Additional Info
Screenshot.2024-03-08.at.09.26.02.png (view on web)
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>

And just to confirm, StoreHelper doesn't collect any data whatsoever 😁

Done. I've added a privacy manifest (see StoreHelper/Sources/Resources) and made sure it's correctly bundled with the target (see the package manifest).
The privacy manifest correctly states that there's no tracking or data collection and that StoreHelper does use the UserDefaults API. All seems correct.
To test, if I archive an app using StoreHelper app then right-click on the archive in the archive organizer and select Generate Privacy Report I should get a report as a pdf:

However, the report is always empty (no content), no matter what's in the manifest. I'm not sure if this is an Xcode bug or something I'm doing wrong.
So, I'll leave this issue open for now. Let me know if what I've done gets you through app store review!

But it should be empty, since yep - StoreHelper is not using any of these and doesn't collect any data.
Also, deadline for this is 1 May, so lib developers have a plenty of time from now to add this.

Actually that's what I thought too. However, after digging a bit deeper it turns out that I need to declare use of the UserDefaults API (StoreHelper persists a list of purchases as a fallback in case the App Store's not available).


[Maintenance] struktur anpassen

Relevant template
No response
Problem description (optional)
No response
Desired solution

[ ] readme anpassen
[ ] dockerfile auf oberste ebene löschen
[ ] ...

Considered alternatives (optional)
No response
Additional context (optional)
No response
No duplicate

[X] I confirm that this issue is not a duplicate

Code of Conduct

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

I split your request into mutiple issues under https://github.com/it-at-m/refarch-templates/issues/190 and https://github.com/it-at-m/refarch-templates/issues/189. This issue will be closed. Please make sure to split your issues into separate units where useful in the future.
On top of that, please notice we want our issues and communication to take place in english where possible, so everybody can participate evenly. Thank you!


keycodes

Any chance you could add keycodes to the output?

@grkblood13 great suggestion. Don't have time but happy to merge in a PR for this if anyone wishes to contribute. In the mean I suppose you can use something like the keycode library to key output strings to key codes https://github.com/timoxley/keycode


Minecraft 1.19.3 Websocket closed before READY packet was received

I was running discarpet on my Minecraft 1.19.3 server for a while before updating a few mods and it was going fine. Since updating it has now returned this error
Jan 16 00:51:54 minecraft conmon[11179]: [00:51:54] [Server thread/WARN]: Could not login bot Minceraft
Jan 16 00:51:54 minecraft conmon[11179]: java.util.concurrent.ExecutionException: java.lang.IllegalStateException: Websocket closed before READY packet was received!
Jan 16 00:51:54 minecraft conmon[11179]:         at java.util.concurrent.CompletableFuture.reportGet(Unknown Source) ~[?:?]
Jan 16 00:51:54 minecraft conmon[11179]:         at java.util.concurrent.CompletableFuture.get(Unknown Source) ~[?:?]
Jan 16 00:51:54 minecraft conmon[11179]:         at Discarpet.config.Bot.<init>(Bot.java:35) ~[discarpet-1.19.2-1.4.7.jar:?]
Jan 16 00:51:54 minecraft conmon[11179]:         at Discarpet.Discarpet.loadBots(Discarpet.java:138) ~[discarpet-1.19.2-1.4.7.jar:?]
Jan 16 00:51:54 minecraft conmon[11179]:         at Discarpet.Discarpet.loadConfig(Discarpet.java:118) ~[discarpet-1.19.2-1.4.7.jar:?]
Jan 16 00:51:54 minecraft conmon[11179]:         at Discarpet.commands.DiscarpetCommand.lambda$register$7(DiscarpetCommand.java:64) ~[discarpet-1.19.2-1.4.7.jar:?]
Jan 16 00:51:54 minecraft conmon[11179]:         at com.mojang.brigadier.CommandDispatcher.execute(CommandDispatcher.java:263) ~[brigadier-1.0.18.jar:?]
Jan 16 00:51:54 minecraft conmon[11179]:         at net.minecraft.class_2170.method_9249(class_2170.java:279) ~[server-intermediary.jar:?]
Jan 16 00:51:54 minecraft conmon[11179]:         at net.minecraft.class_2170.method_44252(class_2170.java:272) ~[server-intermediary.jar:?]
Jan 16 00:51:54 minecraft conmon[11179]:         at net.minecraft.class_3176.method_20799(class_3176.java:526) ~[server-intermediary.jar:?]
Jan 16 00:51:54 minecraft conmon[11179]:         at net.minecraft.class_1255.method_5386(class_1255.java:67) ~[server-intermediary.jar:?]
Jan 16 00:51:54 minecraft conmon[11179]:         at java.util.concurrent.CompletableFuture$AsyncSupply.run(Unknown Source) ~[?:?]
Jan 16 00:51:54 minecraft conmon[11179]:         at net.minecraft.class_3738.run(class_3738.java:18) ~[server-intermediary.jar:?]
Jan 16 00:51:54 minecraft conmon[11179]:         at net.minecraft.class_1255.method_18859(class_1255.java:156) ~[server-intermediary.jar:?]
Jan 16 00:51:54 minecraft conmon[11179]:         at net.minecraft.class_4093.method_18859(class_4093.java:23) ~[server-intermediary.jar:?]
Jan 16 00:51:54 minecraft conmon[11179]:         at net.minecraft.server.MinecraftServer.method_24306(MinecraftServer.java:787) ~[server-intermediary.jar:?]
Jan 16 00:51:54 minecraft conmon[11179]:         at net.minecraft.server.MinecraftServer.method_18859(MinecraftServer.java:166) ~[server-intermediary.jar:?]
Jan 16 00:51:54 minecraft conmon[11179]:         at net.minecraft.class_1255.method_16075(class_1255.java:130) ~[server-intermediary.jar:?]
Jan 16 00:51:54 minecraft conmon[11179]:         at net.minecraft.server.MinecraftServer.method_20415(MinecraftServer.java:769) ~[server-intermediary.jar:?]
Jan 16 00:51:54 minecraft conmon[11179]:         at net.minecraft.server.MinecraftServer.method_16075(MinecraftServer.java:763) ~[server-intermediary.jar:?]
Jan 16 00:51:54 minecraft conmon[11179]:         at net.minecraft.class_1255.method_18857(class_1255.java:139) ~[server-intermediary.jar:?]
Jan 16 00:51:54 minecraft conmon[11179]:         at net.minecraft.server.MinecraftServer.method_16208(MinecraftServer.java:748) ~[server-intermediary.jar:?]
Jan 16 00:51:54 minecraft conmon[11179]:         at net.minecraft.server.MinecraftServer.handler$zce000$modifiedRunLoop(MinecraftServer.java:3917) ~[server-intermediary.jar:?]
Jan 16 00:51:54 minecraft conmon[11179]:         at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:655) ~[server-intermediary.jar:?]
Jan 16 00:51:54 minecraft conmon[11179]:         at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:264) ~[server-intermediary.jar:?]
Jan 16 00:51:54 minecraft conmon[11179]:         at java.lang.Thread.run(Unknown Source) ~[?:?]
Jan 16 00:51:54 minecraft conmon[11179]: Caused by: java.lang.IllegalStateException: Websocket closed before READY packet was received!
Jan 16 00:51:54 minecraft conmon[11179]:         at org.javacord.core.DiscordApiImpl.lambda$new$6(DiscordApiImpl.java:664) ~[org_javacord_javacord-core-3.5.0-181484acc4cd0a16.jar:?]
Jan 16 00:51:54 minecraft conmon[11179]:         at java.util.concurrent.CompletableFuture.uniWhenComplete(Unknown Source) ~[?:?]
Jan 16 00:51:54 minecraft conmon[11179]:         at java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(Unknown Source) ~[?:?]
Jan 16 00:51:54 minecraft conmon[11179]:         at java.util.concurrent.CompletableFuture.postComplete(Unknown Source) ~[?:?]
Jan 16 00:51:54 minecraft conmon[11179]:         at java.util.concurrent.CompletableFuture.complete(Unknown Source) ~[?:?]
Jan 16 00:51:54 minecraft conmon[11179]:         at org.javacord.core.util.gateway.DiscordWebSocketAdapter.onDisconnected(DiscordWebSocketAdapter.java:515) ~[org_javacord_javacord-core-3.5.0-181484acc4cd0a16.jar:?]
Jan 16 00:51:54 minecraft conmon[11179]:         at com.neovisionaries.ws.client.ListenerManager.callOnDisconnected(ListenerManager.java:224) ~[com_neovisionaries_nv-websocket-client-2.14-4fd9dbe62fc77c4e.jar:?]
Jan 16 00:51:54 minecraft conmon[11179]:         at com.neovisionaries.ws.client.WebSocket.finish(WebSocket.java:3758) ~[com_neovisionaries_nv-websocket-client-2.14-4fd9dbe62fc77c4e.jar:?]
Jan 16 00:51:54 minecraft conmon[11179]:         at com.neovisionaries.ws.client.WebSocket.onThreadsFinished(WebSocket.java:3724) ~[com_neovisionaries_nv-websocket-client-2.14-4fd9dbe62fc77c4e.jar:?]
Jan 16 00:51:54 minecraft conmon[11179]:         at com.neovisionaries.ws.client.WebSocket.onWritingThreadFinished(WebSocket.java:3713) ~[com_neovisionaries_nv-websocket-client-2.14-4fd9dbe62fc77c4e.jar:?]
Jan 16 00:51:54 minecraft conmon[11179]:         at com.neovisionaries.ws.client.WritingThread.notifyFinished(WritingThread.java:539) ~[com_neovisionaries_nv-websocket-client-2.14-4fd9dbe62fc77c4e.jar:?]
Jan 16 00:51:54 minecraft conmon[11179]:         at com.neovisionaries.ws.client.WritingThread.runMain(WritingThread.java:78) ~[com_neovisionaries_nv-websocket-client-2.14-4fd9dbe62fc77c4e.jar:?]
Jan 16 00:51:54 minecraft conmon[11179]:         at com.neovisionaries.ws.client.WebSocketThread.run(WebSocketThread.java:45) ~[com_neovisionaries_nv-websocket-client-2.14-4fd9dbe62fc77c4e.jar:?]

I haven't had a opportunity to isolate the issue yet to see if it's a conflict with another mod.

Have you checked your config still has the right and valid token?

I think so? I've also reset it twice and copied the new token to the config but still same issue

Fixed the issue. Removed the config file and regenerated a new one. Must've messed up somewhere


nixos/lib/make-ext4-fs: Fix: `resize2fs -M' can leave insufficient slack

Motivation for this change
The root filesystem resizing step, resize2fs -M, does not provide any control over the amount of slack left in the result. It can produce an arbitrarily tight fit, depending on how well the payload aligns with ext4 data structures.
This is problematic, as NixOS must create a few files and directories during its first boot, before the root is enlarged to match the size of the containing SD card.
An overly tight fit can cause failures in the first stage:
mkdir: can't create directory '/mnt-root/proc': No space left on device

or in the second stage:
install: cannot create directory '/var': No space left on device

A previous version of make-ext4-fs (before PR #79368) was explicitly "reserving" 16 MiB of free space in the final filesystem. Manually calculating the size of an ext4 filesystem is a perilous endeavor, however, and the method it employed was apparently unreliable.
Reverting is consequently not a good option.
A solution would be to create some sort of "balloon" occupying inodes and blocks in the image prior to invoking resize2fs -M, and to remove these temporary files/directories before the compression step.
This changeset takes the simpler approach of simply dropping the resizing step.
Note that this does not result in a larger image in general, as the current procedure does not truncate the .img file anyway. In fact, it has been observed to yield smaller compressed images—probably because of some "noise" left after resizing. E.g., before-vs-after:
-r--r--r-- 2 root root 607M  1. Jan 1970  nixos-sd-image-21.11pre-git-x86_64-linux.img.zst

-r--r--r-- 2 root root 606M  1. Jan 1970  nixos-sd-image-21.11pre-git-x86_64-linux.img.zst

Things done

[X] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Added a release notes entry if the change is major or breaking
[X] Fits CONTRIBUTING.md.

How big is the uncompressed ext4 image before/after the change?

How big is the uncompressed ext4 image before/after the change?

The uncompressed .img files always have exactly the same size, as the recipe does not truncate them to match the resized filesystem:
unzstd /nix/store/q3q1zrw5dk5lhd8p87x209dipvchmxq9-nixos-sd-image-21.11pre-git-x86_64-linux.img/sd-image/nixos-sd-image-21.11pre-git-x86_64-linux.img.zst -o before.img

unzstd /nix/store/5qnn1rp75b2qcvyyn504q4lbs1wjkfwk-nixos-sd-image-21.11pre-git-x86_64-linux.img/sd-image/nixos-sd-image-21.11pre-git-x86_64-linux.img.zst -o after.img

ls -l before.img after.img

# -r--r--r-- 1 dash users<PHONE_NUMBER>  1. Jan 1970  after.img
# -r--r--r-- 1 dash users<PHONE_NUMBER>  1. Jan 1970  before.img

As for the ext4 FS held in the second partition: I will check tomorrow with the armv7l image which exhibited the issue, as it turns out that on my current (x86_64) playground, resize2fs -M just says:
resize2fs 1.45.5 (07-Jan-2020)
The filesystem is already 616838 (4k) blocks long.  Nothing to do!

… which is not very representative.

The uncompressed .img files always have exactly the same size, as the recipe does not truncate them to match the resized filesystem:

Right, so my main concern here ends up being a no-op. (Though as I write this I realize it wasn't much of a real concern that really mattered...)

There is literally no reason not to merge this AFAICT. Given that the image is already as big as it gets, so it's not like it would stop fitting on any storage media.
I guess this might not actually solve some underlying issue where there is not enough slack space in the filesystem. In that instance I guess adding more slack space outright would be fine as long as the compressed image stays in the same size ballpark.

@samueldr, @Mic92: Great; thanks!
Samuel, given your conclusions, and the fact that I agree with them, I ended up focusing on other things than that ext4 filesystem today.  I am still planning to experiment a bit with the SD image creation scripts, and will keep you posted as soon as I do.
Cheers, -D

Hi @samueldr,
I had a closer look into this, based on the image on which we observed the issue. For some reason, resize2fs is quite happy to fully trim that specific filesystem.
One thing I had missed is that resize2fs does, in fact, truncate the container it operates on when the latter is an ordinary file—so there can be a significant difference in uncompressed image sizes after all:

Before (resize)
After (no resize)
Delta

Uncompressed
592465920
778747904
186281984

Compressed
165375164
165577174
202010

There isn't much of a difference in the size of the compressed output, so this shouldn't impact Hydra. It might occasionally cause an issue if somebody tries to dump the image on a small-ish SD card, however.
For the filesystem itself, we have:

Before (resize)
After (no resize)
Delta

1K-blocks
552272
732132
179860

Used
540444
540752
308

Available
0
138148
138148

Use%
100%
80%
-0.2

As with the x86_64 experiment in my earlier comment, the differences (even in the uncompressed form) are far less dramatic with sd-image-aarch64:

Before (resize)
After (no resize)
Delta

Uncompressed
2685890560
2685894656
4096

Compressed
661521482
662132709
611227

Before (resize)
After (no resize)
Delta

1K-blocks
2507000
2507000
0

Used
1949980
1949980
0

Available
409568
409568
0

Use%
83%
83%
0.

(I don't have a clear explanation for the difference in compressed image size despite the fact that resize2fs does not… resize; I'm guessing that it zeroes some areas.)
You wrote this:

In practice we really need to take the time to do the unification work of all the various bespoke image building code into a common interface.

I agree, and minimizing the size of the filesystem (while explicitly reserving some slack, to avoid the issue fixed by this PR) should ideally be part of the checklist for such an effort. Do we have a document and/or ticket I should watch/contribute to?

Do we have a document and/or ticket I should watch/contribute to?

Not yet


feat(sink): support new syntax FORMAT ... ENCODE ... similar to source

I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
#11451
Old syntax:
create sink snk from mv with (
  connector = 'kafka',
  properties.bootstrap.server = 'localhost:9092',
  topic = 'test_topic',
  type = 'append-only');

New syntax (similar to source):
create sink snk from mv with (
  connector = 'kafka',
  properties.bootstrap.server = 'localhost:9092',
  topic = 'test_topic')
format plain encode json;

create sink snk from mv with (
  connector = 'kafka',
  properties.bootstrap.server = 'localhost:9092',
  topic = 'test_topic')
format upsert encode protobuf (
  schema.location = 'location',
  message = 'main_message');

Updated sqlparser to parse the new syntax.
Introduce SinkFormatDesc in rust and proto to pass around this info.
Extend SinkDesc/SinkCatalog/SinkParam in rust and SinkDesc/Sink/SinkParam in proto with an extra optional field format_desc.

Next step
In build_sink, convert param.format_desc to ProtobufProperties/AvroProperties and reuse ProtobufParserConfig::new/AvroParserConfig::new to get prost_reflect::MessageDescriptor/apache_avro::Schema needed by encoders #12425
Compatibility

The sqlparser and handler still accepts both syntax. It will derive SinkFormatDesc for the old syntax.
When decoding proto SinkDesc/Sink/SinkParam, SinkFormatDesc will also be derived from old syntax.

Limitations
Some refactor / reuse is possible but not done here to limit the scope:

In sqlparser, SourceSchemaV2 is same as SinkSchema (easy to rename).
Common fields in SinkDesc/SinkCatalog/SinkParam may be extracted to a struct.
SourceStruct may be absorbed into SpecificParserConfig, then consolidated with SinkFormatDesc.
SinkType is similar to SinkFormat but cannot be replaced yet:

SinkType
properties.get(SINK_TYPE_OPTION)
SinkFormat

AppendOnly
SINK_TYPE_APPEND_ONLY
AppendOnly

ForceAppendOnly
SINK_TYPE_APPEND_ONLY
AppendOnly

Upsert
SINK_TYPE_UPSERT
Upsert

Upsert
SINK_TYPE_DEBEZIUM
Debezium

Checklist

[x] I have written necessary rustdoc comments
[x] I have added necessary unit tests and integration tests
[ ] I have added fuzzing tests or opened an issue to track them. (Optional, recommended for new SQL features #7934).
[ ] My PR contains breaking changes. (If it deprecates some features, please create a tracking issue to remove them in the future).
[x] All checks passed in ./risedev check (or alias, ./risedev c)
[ ] My PR changes performance-critical code. (Please run macro/micro-benchmarks and show the results.)

[ ] My PR contains critical fixes that are necessary to be merged into the latest release. (Please check out the details)

Documentation

[ ] My PR needs documentation updates. (Please use the Release note section below to summarize the impact on users)

Release note
This is not usable by users yet. We will update the doc when the feature is fully ready.

And should we notice user when they are using legacy syntax? #12373

Good point. But the new syntax is not actually effective yet. So maybe we can add them when it actually works.

but we still need a connector x format x encode table for compatibility check https://github.com/singularity-data/risingwave/blob/fff6d47d897b859e1128029a3fe19b5d41a029f8/src/frontend/src/handler/create_source.rs#L853

As of today the old syntax compatibility check happens in compute node (build_sink linked above) rather than in frontend. This is different from source for 2 reasons (as far as I can tell):

No SourceExecutor is created immediately on create source (not create table).
Protobuf/avro need to fetch column names and data types immediately in frontend

That being said, we could move/add the check to frontend as a refactor later if appropriate.

Major changes since the reviewed 3c0cfc9:

The new syntax is now limited to only kafka/kinesis/pulsar, which is using SinkFormatterImpl. Other connecters will be tested and migrated later one by one. For example, clickhouse sink does not take an encode today, and elasticsearch sink does not even require type = .
Kafka/kinesis/pulsar is now fully functioning with the new syntax, and does not rely on legacy SinkType or SINK_TYPE_OPTION. This made the PR more complete, and user-facing, but also doubled the lines.


Is Flynn abandoned?

Seems like there's less and less activity here these days. :(

See #4244 and #4242

Nope, definitely not abandoned!

Great news, @titanous. Though the other referenced issues were a tiny bit vague – is the work that's happening for paid customers planned to port over to this repo? Or is that to remain closed-source?
Happy either way, just curious. :)

Most of the work we do for paying customers is support, not development. There are no closed source modifications to Flynn at all.

🙌


ListItem layout broken having badge on right

Layout of list item is broken having a badge on right side and list items of type avatar or thumnail. It works for type icon:
<ListItem avatar>
  <Left>
    <Button style={{ backgroundColor: '#8F8E93' }}>
      <Icon active name="cog" />
    </Button>
  </Left>
  <Body>
    <Text>Software Update</Text>
  </Body>
  <Right>
    <Badge style={{ backgroundColor: '#FD3C2D' }}><Text>2</Text></Badge>
  </Right>
</ListItem>

@zash80  we will  fix this. For time being you can do   <Right style={{ top: -3}}>.

@zash80  just put the ListItem inside a Content and it should work
<Content> <ListItem avatar> ... </ListItem> </Content>

Sorry to revive this issue but is still happening

would have to reopen the issue because there's always the same problem. I have an offset of 10 that causes my new Date() to be completely offset


Update to include video

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


Mud - items update

Bug type
Component
Component name
MudDropContainer
What happened?
The problem is that when updating data or information with an item, such as deleting it, I want it to update in the view, but it does not update until I perform an event on the screen
Expected behavior
The idea is that if I update any event by code it will also update on the screen, but with @StateHasChanged it doesn't work either
Reproduction link
https://try.mudblazor.com/snippet/mYGIahaRyNtLDyrR
Reproduction steps

It is given in the add button
automatically creates an item
We will click add again to add another item
the second item is not seen
We have to make a move on the initial created client so that the second one can be seen

Relevant log output
No response
Version (bug)
7.0.0
Version (working)
7.0.0
What browsers are you seeing the problem on?
Chrome
On which operating systems are you experiencing the issue?
Windows
Pull Request

[x] I would like to do a Pull Request

Code of Conduct

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

You can add a reference (@ref) to the MudDropContainer and call the Refresh() method on the reference


RevEng: Prefer [StringLength] over [MaxLength] on string properties

I've found that [StringLength] is generally more supported than [MaxLength]. It would be nice if Scaffold-DbContext -DataAnnotations used this instead on string properties.

Putting in 2.0 because this should be very quick fix.

Note: we also currently generate MaxLength for varbinary columns. StringLength might seem odd on those.

Also found this comment:
        // nvarchar is the default column type for string properties,
        // so we don't need to define it using HasColumnType() and removing
        // the column type allows the HasMaxLength() API to have effect.
        // Similarly for varbinary and byte[] properties.

Not sure if HasColumnType() and StringLength have the same interaction?

Correct, just on string properties, not byte[].
Re interaction with HasColumnType(): The interaction will be the same as it was with MaxLength. They're handled by nearly identical conventions that run back-to-back.

@bricelam So, just to be clear: for fluent API scaffolding you want the HasMaxLength() fluent API regardless of property type (as there is no PropertyBuilder.HasStringLength() API); for scaffolding with -DataAnnotations  you want byte[] properties to still have the [MaxLength] attribute but scaffolded string properties to use the [StringLength] attribute instead. Is that correct?
(Note to self: this is handled in ModelConfiguration.AddMaxLengthConfiguration())

Yep. Sounds right

@lajones Can you elaborate on why this is flagged as a breaking change?

@ajcvickers Only breaking in a minor way - it will produce different code than people were used to before. If they (or any software into which the scaffolded classes get fed) were expecting/doing anything with that attribute themselves then we will break them.

@lajones I can see your point, but this isn't something that we usually consider a breaking change.

Taking this one over as it is just small change in my present work in refactoring how code files are written.

Fixed in #8583
commit<PHONE_NUMBER>1ce11ab8df15a66354f82bb300e341


feat: Tooltip for Buttons

Fixes: https://github.com/tremorlabs/tremor/issues/471
What: Add the possibility to use tooltips on button component
Why: To be able to use tooltips in this component
How: The changes was implemented following the components src/components/icon-elements/Icon/Icon.tsx and src/components/icon-elements/Badge/Badge.tsx, they already have a tooltip component
Testing
run:
npm run storybook

Go to InputElement/Button/Sizes
Hover over the first column buttons

Demo
Loom Video: https://www.loom.com/share/5181bda86a65435b8f6298ba92dfb493

This code was written and reviewed by GitStart Community. Growing great engineers, one PR at a time.

:wave: Hello @mitrotasios!  Can you review this PR, please?

:wave: Hello @mitrotasios! Can you review this PR, please?

Great job! Would it be possible to add a small delay to the tooltip (e.g. 150-300ms)? I think this is better for tooltips on buttons. :)

we will work on it and get back to you soon.

Hello @mitrotasios
Changes have been made, you can see a tooltip speed difference on an icon and a button, in the video in the description

Seems like there's no straightforward way to style the tooltip


undefined is not a function

In Value.js
static create(abstractNode, value, onUpdate, root) {
var {node, value} = abstractNode.instantiate(value, undefined);
it says instantiate is not a function. Seems like the documentation suggests somethign that results in abstractNode being a reactelement (the schema), but the only things in this library that have an instantiate are in schema.js as
module.exports = {
Node,
ScalarNode, NumberNode, ArrayNode, BoolNode, DateNode,
CompositeNode,
MappingNode, ListNode,
Scalar, Mapping, List
};
But since it's using jsx, how could I possibly get one of those as a value if the tranform will always produce a reactelement?

+1

Not relevant anymore as we are rolling out new version with a new API.


New time scale ticks.bounds option

Edit: renamed scale.ticks.bounds to scale.bounds in #4595
--
bounds ('data' (default)|'ticks'): data preserves the data range while ticks ensures that all labels are visible. This option is bypassed by the min/max time options.
Remove the useless time scale _model object containing private members: instead, make these members private (prefixed by _) part of the scale.

Fixes #2249
Fixes #2513
Fixes #2599
Fixes #2684
Fixes #2774
Fixes #3297
Fixes #3654
Fixes #3671
Fixes #4263
Fixes #4264
Fixes #4529
Fixes #4550

Interesting ...

The master implementation is equivalent to ticks.bounds: 'labels' but based on the many reported issues regarding the trailing and leading gaps, I think it's better to change it for ticks.bounds: 'data'.

Wow, amazing to close so many tickets!

looks good to me

And I'm sure I missed some tickets

Hi Simon and everyone!
First of all congrats to you all for such great community! :1st_place_medal: :1st_place_medal: :1st_place_medal:
Tried with your last update for this issue (is it included on ChartJS 2.6 right? Or do I have to upgrade the code manually on src/scales/scale.time.js ?)
Maybe I'm implementing the solution wrong... Below you can see how (tried with just one tick.bounds on xAxis and both, but nothing...) As you can see there are still some dates not included on the chart.

Hope one day I could contribute in any code here, Cheers!

This isn't included in 2.6.0. You have to checkout the latest code from github, build it (npm install & gulp build), and then use the version you compiled

It's not released yet, you will have to wait the next release (2.7). However you can try the latest build from master (for testing only) and see if it works as you expect. ticks.bounds is only applicable to the time scale right now (so will have no effect on your y-axis).

Also, I don't think beginAtZero is used by the time scale.

Ok cool, thanks a lot for such quick answer guys! :)

@dabrave did an update fixed your problem? because I'm facing similar problem with version 2.9.4


Set up initial branches and branch rules

main and development, have been created. Branch rules implemented:
main

[x] Require a pull request before merging
[x] Require approvals
[ ] Require status checks to pass before merging (Requires #15 and #8)
[x] Require branches to be up to date before merging
[ ] Require deployments to succeed before merging (Requires #3 and #9)
development
[x] Allow force pushes


Api operations on abstract superclass not affected by @API tags

I've a bunch of @RestController annotated via @API( tags="whatever") that extends an abstract class DeleteController, that implements a common DELETE operation.
The delete operation doesn't appears grouped under the whatever tags, but is left stand-alone as if it was without tags, so the @API tags doesn't propagate.

Thanks for reporting! That is indeed a bug. The workaround is to add an @ApiOperation(tags=[<all the service tags>], not pretty I know but it should get you by.

The fix is to replace handlerMethod.getMethod().getDeclaringClass(); with handlerMethod.getBeanClass() here.


AST: Remove OpenedArchetypeType::getOpenedExistentialType()

Clients can explicitly ask for the opened existential type on the archetype's generic environment, or use getExistentialType to obtain a specific archetype's existential bounds .

@swift-ci please smoke test macOS

@swift-ci Please smoke test

@swift-ci Please test source compatibility

@slavapestov That was quick, thank you!

@swift-ci please clean smoke test macOS


[PPP-4496] Use of Vulnerable Component: Components/kafka

[PPP-4496] Upgrading to version <IP_ADDRESS>
[PPP-4496] Removing version reference, maven-parent-pom will control version info.
[PPP-4496] Fixing unit test since nano default was set back to milli default in PDI-18369

This is from a series of Pull Requests:

https://github.com/pentaho/maven-parent-poms/pull/218
https://github.com/pentaho/big-data-plugin/pull/2032
https://github.com/pentaho/pdi-plugins-ee/pull/168
https://github.com/pentaho/pentaho-platform/pull/4649
https://github.com/pentaho/pentaho-reporting/pull/1327
https://github.com/pentaho/pentaho-reportdesigner-ee/pull/152
https://github.com/pentaho/pentaho-metadata-editor/pull/190
https://github.com/pentaho/pentaho-metadata-editor-ee/pull/85
https://github.com/pentaho/pentaho-kettle/pull/7309
https://github.com/pentaho/pentaho-big-data-ee/pull/441

:x: Build failed in 1m 10s
Build command:
mvn clean verify -B -e -Daudit -amd -pl \
assemblies/core/lib,assemblies/lib,core

:exclamation: No tests found!
Errors:
Filtered log (click to expand)

script returned exit code 1

:information_source:  This is an automatic message

:white_check_mark: Build finished in 20m 19s
Build command:
mvn clean verify -B -e -Daudit -amd -pl \
assemblies/core/lib,assemblies/lib,core

:ok_hand: All tests passed!
Tests run: 4762, Failures: 0, Skipped: 7    Test Results

:information_source:  This is an automatic message


Arel node for an array element (suffix operator)

Hi!
Is there any node for suffix operators to access array elements (postgresql's integer[] type) like this:
column = Table.arel_table[:column]
low = here_magic_happens(column, '[1]')
Table.where(low.eq nil).or(Table.where(low.gt 5))
# should result in this where clause:
# "table"."column"[1] IS NULL OR "table"."column"[1] > 5

Thank you!

Nope, there isn't.  But if you send a pull request that implements it, we could talk about merging it in! 😀

@tenderlove can you please give some advises on this feature. Maybe there is already something very similar in the gem, or some class to inherit, module to include, etc.
Thank you!


Make the Initializable interface generic and make SpansService to implement it directly

Goal

Testing

Release Notes

WHAT:
WHY:
WHO:

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

Current dependencies on/for this PR:

master

PR #312

PR #313

PR #314   👈

This stack of pull requests is managed by Graphite.

Merge activity

Jan 31, 12:18 PM: @bidetofevil started a stack merge that includes this pull request via Graphite.


Add author

https://github.com/stbrumme :pray:

@wep21 Thank you! I completely forgot this PR. :pleading_face:


better explain the seed word input process @ import 24 words

Description
Add text after "Enter your seed or recovery phrase" (maybe smaller font or grey)
"Every word of your 24 words recovery phrase must be seperated from the next word with an empty space"
Second way would be:
have the spaces for the words numbered out as
1.)
2.)
.
.
.
24.)
so users know exactly where and how to put the words in
third option - have 24 fixed blank fields to fill in the words
Motivation
i first didnt know if i should use an empty space or an comma or write them all in line.
Requirements
Write a list of what you want this feature to do.

Open questions (optional)
Use this section to ask any questions that are related to the feature.
Are you planning to do it yourself in a pull request?
no

Fixed in 0.3.0.


Fix problem callbacks

I noticed that specifying callbacks in the DAEProblem results in error, while specifying them in the solve function does not. E.g., the following fails
using Sundials
f = function (r, yp, y, p, tres)
    r[1]  = -0.04*y[1] + 1.0e4*y[2]*y[3]
    r[2]  = -r[1] - 3.0e7*y[2]*y[2] - yp[2]
    r[1] -=  yp[1]
    r[3]  =  y[1] + y[2] + y[3] - 1.0
end;
u0 = [1.0, 0, 0];
du0 = [-0.04, 0.04, 0.0];
callback = ContinuousCallback((s, t, ig) -> s[1] - 0.5, ig -> println("Callback at t = $(ig.t)"));
prob = DAEProblem(f, du0, u0, (0.0,100000.0), callback=callback);
sol = solve(prob, IDA());

The problem is due to integrator.uprev being initialized to nothing in DiffEqBase.__init when no callback is given to solve, even if callbacks are specified in the DAEProblem.

Thanks!


Fix: FilePicker widget was not setting loading state to true on calling action

Description
Filepicker widget was not setting isLoading to true on calling action whenever files were selected.
Fixes #949
Type of change

Bugfix

How Has This Been Tested?

Manually tested
Added cypress tests

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented on my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

@hetunandu added the isLoading in state.


Merge/react add download

This PR merges the changes of the react branch into the add/download branch.
In commit https://github.com/dat-land/dat-desktop/pull/554/commits/77d55f2893716e9e10746db0d48dd3ac7d196a85 , this PR also fixes an issue where the screen would becomes black on DATS_DIALOG_CLOSE.

Looks good to me, a rebase would have been better but I realize that that would have been a lot of work.


chore(Dockerfile): update deis/base to v0.3.6

@bacongobbler I've restarted the build, as it was an intermittent k8s-claimer error


CheckboxGroup and RadioGroup don't pair well with FormControl due to missing size variants

When using a CheckboxGroup or RadioGroup, it inherits a large heading. This doesn't align well with our other FormControl components, which typically use a medium font size and bold heading. Additionally, I couldn't find a group component/variant for Checkbox or Radio components in Figma.
The larger heading for CheckboxGroup and RadioGroup was likely intended to improve separation from the options. However, upon reviewing other design systems, a more consistent approach is to use regular styling for the options instead.

I also believe we are missing size variants for those components to ensure they pair well with TextInput which has 3 different sizes.

Emily and I discussed this during the Primer patterns working session and we're on board with the proposed change.

Figma is update:


Action buttons ?

Problem Description
Hello!
Is there any way to handle action buttons ? I tried but receive this error.
Thanks!
Code Example
webNotification.showNotification(notification.title, {
                body: notification.body,
                icon: notification.icon,
                actions: [
                    {action: 'dismiss', title: 'dismiss'},
                    {action: 'later', title: 'see later'}],
                autoClose: 0
            }, function onShow(error, hide) {
                if (error) {
                    window.alert('Unable to show notification: ' + error.message);
                }
            });

Error Stack/Info (if any)
Uncaught TypeError: Failed to construct 'Notification': Actions are only supported for persistent notifications shown using ServiceWorkerRegistration.showNotification().

Currently showing notifications via service workers is not supported.
I'll keep this one open and investigate, but this API is not fully supported yet by most browsers.

Sorry for taking so long but the API now supports service worker webnotifications.
The support actually comes from the internal library simple-web-notification, so here I just documented it

Closing due to lack of feedback

Hey! Thanks for the update; it seems to work great with service worker now.
I tried on Chrome & Firefox - Firefox doesn't support actions buttons for what i could see - I didn't have any problem for now, i'll keep you informed if there is any.
Thanks again!


Add atLastDayOfMonth([hh:mm]) option for scheduler (feature suggestion)

Good afternoon,
I would like to propose an additional option for scheduling the execution of commands via the scheduler: an atLastDayOfMonth([hh:mm]) method with the optional argument of being able to provide an exact time when the command should be executed.
This is especially useful for example if one wants to bill something at the end of the month, send a summary or something like that.
Of course the alternative would be to do it like this (Source: mul14 at [laracasts] (https://laracasts.com/discuss/channels/laravel/how-to-run-scheduler-on-last-day-of-month/replies/283642)):
    return \Carbon\Carbon::now()->endOfMonth()->isToday();
});```

but then everyone who needs this functionality needs to check if the command has already run etc. (no good to send a summary twice!)

So IHMO it would be cleaner if this would come out of the box.

Thank you
Andreas

Feel free to send a PR. :)


Thunder spirit is missing a lang entry

Describe the bug
Minor issue :D Ritual for the thunder weather spirit is missing a translation entry
Screenshots

System (please complete the following information):

Occultism Version: occultism-1.16.5-1.9.0
OS: [e.g. Windows] Windows
Minecraft Version: 1.16.5
Modpack Link and Version, or list of mods: Enigmatica 6

Additional context
Add any other context about the problem here.

Seems I used two different IDs in the recipe vs for the actual job - thanks!


Fix read the docs link

Coverage remained the same at 92.405% when pulling 24e34d656e6b508747dc0d1b2c13587ac9f0d91f on jwegis:patch-1 into e4da8a7ece8f9ab1b21bb6365d0f785c6a1b9bb6 on inonit:master.

Thanks!


I'm not hiding time frame in normal Anki settings though.
Everything latest version.
Platform : Linux (Manjaro KDE)
Addons :

Ah yeah thanks for the info. Do you remember anything changing that might have caused this? (An add-on update or something?)
Do you mind also disabling all other add-ons and see if the issue persists? Would help me figure out if this is an add-on onflict or an issue with the add-on itself

The issue still persists after disabling all the other addons. I did delete the add on folder and reinstalled it again, but no luck.

{
box-sizing: content-box;
}


Translated 8 Moneropedia entries into German

The following entries were translated:

Account
Address
Airgap
Atomic Units
Block
Blockchain
Bootstrap Node
Bulletproofs

Note: The links to other Moneropedia entries (marked with an @) may not work in the preview since the terminology has to be updated with the German terms.

@Wobole This needs to be rebased.

@stmax82 Thanks for your thorough review. It's very appreciated. Please make your future comments in English, so that also non-German speaker could be able to help with the review (for example for helping with context or technicalities) :)


feat(api): chart v0.25: recaptcha refactoring

Changes Recaptcha values needed for https://github.com/wbstack/api/pull/626

plus cleanup

Love being more specific about which deployments actually need these details rather than spamming them everywhere

Love being more specific about which deployments actually need these details rather than spamming them everywhere

Yeah! Sorry I didn't really mention the reasoning anywhere, but yeah basically only the api-app-web deployments need it the secret key (and also only that one - in our case only the UI needs the site key)


Some plots out of range

once we get a smaller set of plots, lets focus on improving their look by fixing the range, etc.

I made some changes to the scalings in this PR: https://github.com/kylemath/mne-python/pull/11