Enhance SearchContext and Navigation functionality

Url in web version should reflect changes in search parameters on results related pages like results and result-detail. Basically url should just reflect SearchContext props.
The idea is that we should use just single “source of truth” for screens related to search params (index, results, result-detail).
Currently we are mixing data from SearchContext and params from url/navigation. Which is not always clear and causes problems when we for example need to use types like string | number for some parameters.
One solution can be to use SearchContext for storing and providing all props. And on web just update and parse parameters from url (to SearchContext) on redirect or refresh.
We should also consider moving SearchContext to _app.js for web version to make structure equal to mobile, instead of defining it separately inside each page.

Closed on #686


Autocomplete for path components separated by dash stopped working

Current master (3477ff25274fa75bd9e6110f391f6ad98ca2af72) lacks of previosly working function which allowed autocompletions of things like cd do-re<tab> to cd docker-repo (for existsing directory docker-repo, of course). I'm not sure if it worked with things like do_re -> docker_repo.
If path components are separated by / it works as expected: cd an/pr<tab> becomes cd ansible/project1 (for existing directory structrure ansible/project1).
Steps to reproduce:

mkdir -p docker-repo
cd do-re<tab>
nothing happens

Expected:

cd do-re<tab>
expands to cd docker-repo.

No news on this? I really miss this feature, but not sure if it was intentional or a bug.


This library support https?

i made https server.
So i created certification file. and i apply this cer file to https server.
But this webview coudn't load my https url.
this is my code
w := webview.New(webview.Settings{ 		Width:     280, 		Height:    400, 		Title:     "Test System", 		Resizable: false, 		URL:       "https://<IP_ADDRESS>/test.html", 		ExternalInvokeCallback: handleRPC, 	})
this is error code.
2018-09-13 13:03:37.195 ___go_build_bnswallet_go[36676:2030586] NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9813)
plz help me.

What OS are you using (uname -a, or Windows version)?

What programming language are you using (C/C++/Go/Rust)?

What did you expect to see and what you saw instead?

I don’t think we have enough details.  As the problem might be with the
https server you made or something else with the ssl.
Did you write the https server from scratch? Or is this a httpd,   nginx,
iis, or other web server you are running?   If the latter, can we have the
configuration files your using?
Are you using a valid SSL cert or a self-signed cert?   ( how did you
get/make this cert, what commands did you use? )
Does your https sever’s configured host name match to the domain listed in
the SSL cert?
Does your https server work when connecting to the url in your example code
work with a full browser like chrome or Firefox?
Can you run
openssl s_client -connect  <your_https_server_domain>:443
Replacing <your_https_server_domain> with correct information for your
https server and then respond with the output?
Once we have enough information we can try to recreate the problem to
verify and if we can recreate, diagnosis, triage and fix.
On Thu, Sep 13, 2018 at 3:35 AM rain3k<EMAIL_ADDRESS>wrote:

i made https server.
So i created certification file. and i apply this cer file to https server.
But this webview coudn't load my https url.
this is my code
w := webview.New(webview.Settings{ Width: 280, Height: 400, Title: "Test
System", Resizable: false, URL: "https://<IP_ADDRESS>/test.html",
ExternalInvokeCallback: handleRPC, })
this is error code.
2018-09-13 13:03:37.195 ___go_build_bnswallet_go[36676:2030586]
NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL,
-9813)
plz help me.
What OS are you using (uname -a, or Windows version)? What programming
language are you using (C/C++/Go/Rust)? What did you expect to see and
what you saw instead?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/zserge/webview/issues/187, or mute the thread
https://github.com/notifications/unsubscribe-auth/AFJVU_nkbSrBHq9nHxWTc-0zwl73IdX0ks5uagqlgaJpZM4WmuYt
.

--
Joseph M. Rice

Thanks for your reply.
yes, i make self-signed cert
i used this command to make cert file
keytool -genkeypair -alias tomcat -keyalg RSA -keysize 2048 -storetype PKCS12 -keystore keystore.p12 -validity 3650

i can provide our cert file but  can't provide our web application...
this is handshake information.
CONNECTED(00000003)
depth=0 C = 82, ST = seoul, L = seoul, O = kt, OU = bet, CN = two
verify error:num=18:self signed certificate
verify return:1
depth=0 C = 82, ST = seoul, L = seoul, O = kt, OU = bet, CN = two
verify return:1
Certificate chain
0 s:/C=82/ST=seoul/L=seoul/O=kt/OU=bet/CN=two
i:/C=82/ST=seoul/L=seoul/O=kt/OU=bet/CN=two
Server certificate
-----BEGIN CERTIFICATE-----
MIIDSzCCAjOgAwIBAgIEchxVUjANBgkqhkiG9w0BAQsFADBWMQswCQYDVQQGEwI4
MjEOMAwGA1UECBMFc2VvdWwxDjAMBgNVBAcTBXNlb3VsMQswCQYDVQQKEwJrdDEM
MAoGA1UECxMDYmV0MQwwCgYDVQQDEwN0d28wHhcNMTgwOTA2MDIxNTMzWhcNMjgw
OTAzMDIxNTMzWjBWMQswCQYDVQQGEwI4MjEOMAwGA1UECBMFc2VvdWwxDjAMBgNV
BAcTBXNlb3VsMQswCQYDVQQKEwJrdDEMMAoGA1UECxMDYmV0MQwwCgYDVQQDEwN0
d28wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC1ZPuxkaMWHVWcZiPt
6V8M6zAFhd7K3Mtqqm1jrPJjkRs7OUJmXC16O/bcLRnH727fO9GM4fd6yCS0Zhzo
LIFlgfKu+ymbsEtgMG1GYIGGNUsHNIEfC+b3OTOBdXub+/09dSuVjsco2Qk91/sT
UScVP+tx9OvgXGIcfU3xZ+b3Nc3Rdv/VBL+XCqFRvF0ZzwvARWPshCmmtnOVwErp
VxdjPF33b9AoHhQln0bn1bkGMReHYYA5i4u2KNBWXZEnn3qqZXL14XwI+VYE1DOc
DCJucM6XIBEi94rDJP61kCHAvwKum0ssH86ynEt9oj4i8ZBwXYl3Q7/b3MLbd0z3
AarZAgMBAAGjITAfMB0GA1UdDgQWBBS9vylq85pVAMn3Wj+ZbbyNsgckajANBgkq
hkiG9w0BAQsFAAOCAQEAF+2IHYq0bRzkl3qp4I0GitZTPdfmp746IuD8Nt71cN8M
SeJw6+UjNYtbiLFIiLB5/5l2nwdQ8boUEuYqo6hbROnc8IniEXYkh0ZYnDzCqpto
/CwxSpIiANFVjJ9DLTwAkva71KOcGow3byfjKiX5Un8ZXGyYIVD0b5Ci2VCFfB+H
BzT517+0LqCGHDJzvfn+EGIjNb8ifik6Mg0BaRSBdGdfqAqLj1gYjjPTwwpfYwMm
eeKXmevlYFZUJfTBMIVFsRiD2S53O0jBgeRTyiStq2KSv0M+qKPec6hYD8NiMnsb
XqV4Xeo4xRsivkr/tExO8dEZ7SP93EtcH5ZZn41pGA==
-----END CERTIFICATE-----
subject=/C=82/ST=seoul/L=seoul/O=kt/OU=bet/CN=two
issuer=/C=82/ST=seoul/L=seoul/O=kt/OU=bet/CN=two
No client certificate CA names sent
Peer signing digest: SHA512
Server Temp Key: ECDH, P-256, 256 bits
SSL handshake has read 1331 bytes and written 434 bytes
New, TLSv1/SSLv3, Cipher is ECDHE-RSA-AES256-GCM-SHA384
Server public key is 2048 bit
Secure Renegotiation IS supported
Compression: NONE
Expansion: NONE
No ALPN negotiated
SSL-Session:
Protocol  : TLSv1.2
Cipher    : ECDHE-RSA-AES256-GCM-SHA384
Session-ID: 801CF32783E3D2A4E9FCBC222999A94997204636A75301395072FE2F0F683663
Session-ID-ctx:
Master-Key: DAA9C280C330FB293139355457CB06381BF2AF76ADE9FFA0FE070072D55F000AAEDFE301697BEAC894062EDB5D73DBC8
Key-Arg   : None
PSK identity: None
PSK identity hint: None
SRP username: None
Start Time:<PHONE_NUMBER>
Timeout   : 300 (sec)
Verify return code: 18 (self signed certificate)

Bumping this in the hope that somebody better versed in this domain can assist. I've run into the same issue and can provide some additional information that may be helpful.
Our desktop client (e.g. electron/webview) packages an HTTPS server with it. This is because, in our admittedly niche use case, the web contents must be hosted at https://localhost, so we distribute a self-signed certificate with the executable. The web server itself works just fine: if you visit https://localhost the content loads, though you may have to trust the certificate on first run.
The problem comes when https://localhost is accessed through a web view. The certificate is untrusted and thus fails to load. There are workarounds for this in electron; for example https://www.electronjs.org/docs/api/app#appimportcertificateoptions-callback-linux on linux and other workarounds for other platforms (e.g. receive "certificate-error" event and accept/reject as needed). What I'm wondering is: is there a way to achieve something similar using this library?
Apologies if I'm glossing over some needed details, I'm admittedly quite novice when it comes to dealing with web views. However, I thought the added context may be helpful. Thanks in advance.

You'd probably need to install the certificate on the system you're running on.
From the ca-certificates README file on Debian:

If you want to install local certificate authorities to be implicitly trusted, please put the certificate files as single files ending with .crt into /usr/local/share/ca-certificates/ and re-run update-ca-certificates.


Saving as wrong encoding possibly lost contents implicitly

VSCode Version: 1.23.0
OS Version: Windows 10 (1803)

Steps to Reproduce:

Type multibyte characters.
Command Palette > Change File Encoding > Save with Encoding > Western (Windows 1252)
Close and reopen it.
All multibyte characters changed to '?'

Other commonly case:

Set autoGuessEncoding to true.
Open new file, type "テスト", save as UTF-8 and close it.
Open this file. It wrongly guessed as "Windows 1252".
Erase all content, type multibyte characters again, save and close it.
Reopen this file. It losts all multibyte characters. (changed to '?')

I can't notice losting contents until reopened it.
I want some alert for lost contents.
Does this issue occur when all extensions are disabled?: Yes

VS Code supports a wide range of file encodings. You can see the full list when you click on the lower right status bar where the encoding is shown and then choose to either reopen the file with a specific encoding or save the file with a specific encoding:

There are two options how to configure the encoding for files
Configure the encoding as a setting for all files or files of specific type
We provide a files.encoding setting that you can use to set an encoding for all files. You can also configure this encoding for specific file types, e.g. like this:
"[markdown]": {
    "files.encoding": "utf8"
}

Configure VS Code to automatically detect the encoding when opening files
We provide a files.autoGuessEncoding setting that you can enable to let VS Code detect the encoding of every file automatically. Note that this approach is known to not be accurate in all cases. This guessing of encoding is rather a heuristic that can produce wrong results (that is also why this setting is not enabled by default).
Please also check out issues that are already reported with the files-encoding label: https://github.com/Microsoft/vscode/issues?q=is%3Aopen+is%3Aissue+label%3Afile-encoding

I know it's my error in operation, but losting contents (without alert) is not kindness.

same as #44505


Apm start project setup

What

Added submodule for library
Tested CMake and created build scripts for the program

Haven't tested the shell one yet need to finish setting up Linux dev env

Code formatter via clang following Google style guide
Encoder class and namespace

Does not yet encode this is setup of objects

Driver main for the encoder

This is responsible for argument parsing

Empty Decoder in preparation for upcoming PR

Why

CMake should be good for using libraries more easily
Build scripts greatly help speed dev process up
Encoder class and driver will be used as the template for the decoder

Encoding logic can come in next PR which will start leveraging the library

Starting to look like a project next PR will call the encoding algorithm after importing the Crypto++ into the dev environment
Additionally considerations for how to pass the cipher text between the two programs. The simple way is via file I/O, but if time permits I'd like to try and bring in boost library to leverage shared memory as I think that's a cool option


[lint] Remove unused variables from CircleGraph and PartEditor

This commit removes unused variables and parameters from CircleGraph and PartEditor.
ONE-vscode-DCO-1.0-Signed-off-by: Dayoung Lee<EMAIL_ADDRESS>
From #1261
For #1253

@seanshpark @llFreetimell PTAL :-D


Getting 404 error from dev.azure.com request

I'm calling the second snippet of code (via https://dev.azure.com/msdata/CosmosDB/_apis/repos/git/repositories/Playtime/pullrequests/158584/statuses?api-version=4.1-preview.1) and getting a 404 error.
2018-10-15T22:17:22.687 [Information] System.Net.Http.HttpRequestException: Response status code does not indicate success: 404 (Not Found).
at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
at Submission#0.PostStatusOnPullRequest(Int32 pullRequestId, String status, TraceWriter log) in D:\home\site\wwwroot\HttpTrigger2\run.csx:line 81
at Submission#0.<Run>d__5.MoveNext() in D:\home\site\wwwroot\HttpTrigger2\run.csx:line 46
Any ideas what I'm doing wrong here?

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

ID: 915c7aa9-0969-912b-bbc4-a2b0bf9b1533
Version Independent ID: 6a97a5e8-8397-be98-5528-70d20e8fbed8
Content: Use Azure Functions to create custom branch policies - Azure Repos
Content Source: docs/repos/git/create-pr-status-server-with-azure-functions.md
Product: devops
GitHub Login: @steved0x
Microsoft Alias: yohasna

@fastrnu80 Thanks for letting us know. The correct URL is:
https://dev.azure.com/{0}/{1}/_apis/git/repositories/{2}/pullrequests/{3}/statuses?api-version=4.1-preview.1
I have just fixed this and it should be live later today.


FEAT : REVAMP FOOTER SECTION

@Harshdev098 Please assign me this issue under gssoc-ext label.

I am willing to work on this issue.
Please assign this to me and labels as gssoc extd and a level label.

Hi !
I am currently working on this issue please assign it to me under gssoc extnd and hacktober fest

No file or directory named dbServer.js can you provide specific instructions on how can I run the project.

You can find dbServer.js file in login-system folder. I have updated the Readme.md file, you can refer now

Hey @Harshdev098 if this issue is still open I can work on this.


Add plugins for ESLint to enforce code standars

Here are all the plugins: https://www.npmjs.com/search?q=eslint-plugin
Here's how to work with plugins: http://eslint.org/docs/developer-guide/working-with-plugins.html

The discussion is which plugins?

Related: #907


Updated to 5.3

Change log
Version 5.3

Fix incomplete block table for QR version 15. Thanks Rodrigo Queiro for the
report and Jacob Welsh for the investigation and fix.

Avoid unnecessary dependency for non MS platforms, thanks to Noah Vesely.

Make BaseImage.get_image() actually work.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


Data providers may come from extended classes

Imagine a Test class, let's call it A, extending some other (potentially) abstract Test class, B, that has defined example dataProvider methods and class A is using data providers from class B.
This makes DataProviderClassMethodFinder throw exception as the docblock referenced method is not contained in the same class.
The simplest solution would be to change exception throwing into a continue step, disadvantage is that the extended class method won't be recognized as a data provider - but this is already happening for the base class that provides the data provider methods only 🙈.

Very basic code sample

abstract class SomeAbstractTest extends TestCase
{
    public function provideData()
    {
        yield [1];
    }
}

final class SomeTest extends SomeAbstractTest
{
    /**
     * @dataProvider provideData()
     */
    public function test()
    {
    }
}

Resolved in https://github.com/rectorphp/rector-phpunit/pull/143
Thank you :+1:


Transforming value before and after edit

I would like to use editable-datetime-local field but the problem is Firefox shows plain text input instead proper control for datetime-local field (https://caniuse.com/#feat=input-datetime).
Because of this I need a way to format value stored in a model and present formatted value in edit field. Also I need a way to make Date object myself when editing is finished (sadly Firefox is able to make Date object only from ISO 8601 string which must include 'T' infix and don't handle space instead of this infix for datetime-local field).
How should I go about transforming value before and after edit?
Similar question on SO – Making html5 input field of type “datetime-local” compatible with Firefox

What about the combodate
That uses moment.js which should be able to handle any date/time functions you need.

Thanks for suggestion. I've seen all date and time controls listed in the docs but datetime-local on Chrome and Edge is much nicer and one day it will be available on Firefox too. That's why I wanted to try and make it work. Any idea how to perform my pre and post edit transformations?

I guess I'm not 100% sure what you are asking for.
If your value your using is user.date why can't you just format it like $scope.user.date = format your date
For display after saving you have something like {{ (user.date | date: "yyyy-MM-dd") || 'empty' }}
Look into moment.js for handling dates.


Live server estop working when Adobe Illustrator start

I'm submitting a...

[ ] Regression (a behavior that used to work and stopped working in a new release)
[x] Bug report
[ ] Feature request
[ ] Documentation issue or request
[ ] Other:

Current behavior

I work with SVG files all time, and when i open Illustrator, Live server stop working, this only happened with illustrator, not with photoshop or other Adobe product
Expected behavior

Will work toghether without problems
Environment
Browser:

- [x] Chrome (desktop) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] IE version XX
- [ ] Edge version XX

For Tooling issues:

- Live Server: 5.3.1
- Platform:  Windows
- Visual Studio Code: 1.30.2

maybe a port related problem


When a consequence sets a property with a value that is numeric, use setInteger

Convention Hall Lobby is DiffLevel mid
consequences.txt sets properties based on text in quest logs, item descriptions, effect descriptions, skill descriptions, and so on. Many of them are numeric, and the Pattern will include something like (\d+). A handful of them have ([d,]+).

In particular:
QUEST_LOG	elfGratitude	You earned ([\d,]+) Elf Gratitude during Crimbo 2022.	elfGratitude=$1
QUEST_LOG	pingpongSkill	You have achieved a skill level of ([\d,]+) at playing ping-pong	pingpongSkill=$1
QUEST_LOG	royalty	You have accumulated ([\d,]+) Royalty	royalty=[$1]
DESC_ITEM	bone abacus	defeated ([\d,]+) opponent	boneAbacusVictories=$1
DESC_ITEM	familiar scrapbook	Scraps Collected: <b>([\d,]+)</b>	scrapbookCharges=[stripcommas($1)]

I notice that the last two are in [], which means they are evaluated as a ModifierExpression.
One of them uses "stripcommas" and the other does not.
The first three are simply stored as parsed.
That confused several programmers, one of whom declared that "it is in the contract of Preferences that a numeric property's value has no commas". Bold statement, and not true, to my knowledge, but, whatever. We can do it that way to make JS coders happier.
This PR will look at the (evaluated) value and if it isNumeric (defined as "an integer, possibly with commas"), parse it as an integer (which strips commas), and store as an integer. If you later retrieve it as a String, there will be no commas.

Note that I am willing to consider forcing individual consequences to specifically require stripping out commas.

Not that I don't trust frono, but I was hoping for another review to confirm this is a reasonable solution?
Whatever. And now to bed, and I will merge this when I get up unless there is discord among my reviewers.

Note that I am willing to consider forcing individual consequences to specifically require stripping out commas.

I think that's a good idea. They are numbers, and straight numbers is nicer than numbers with commas.


[Doc Improvement][Add see also link to manage custom and sideload apps][3112391]

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/concepts/deploy-and-publish/apps-upload.md
97
3
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.


Update synthesis-for-open-source.md

I edited the cluster image to fit the theme and made the background transparent

did the wrong thing so I made another PR!


chore: bump lean version to v4.6.0-rc1, and bump Std accordingly

Bump the lean version, so that leaff is compatible with the latest version of Std.
The Diff file broke with an invalid field 'isInternalDetail' error. The docs showed that a function with this name exists in Std.Lean.Name, so I've added that import. Presumably this used to be in core and was moved to Std?

awaiting-review

Yeah I'm also not sure what happened with isInternalDetail but lets just go with this then.
Thanks!


feat(aws-cloudfront-s3): accommodate other regions

Issue #, if available:
Closes #1049
Description of changes:
Removed hardcoded "aws" partition
Other partitions may not support OAC yet, but the construct is prepared for when they do.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

AWS CodeBuild CI Report

CodeBuild project: githubautobuild-for-cdk-v2
Commit ID: 790057ee3f64f630f23050deb469ec10626d032c
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository


Signing multiple inputs

I know I can enter multiple inputs but when I get to the signature page I cannot for the life of me figure out how to add all the private keys and if they need to be in same order as the addresses.  There is only one field "private key"  and  no clue how to enter in all the private keys.  I can sign the multi input with any of the keys and get a valid transaction in green but what does that mean with say only one input key but four input addresses.  Looks like a multi signature and I am signing one key only.  I can sign the transaction.  Then copy the signed one back to the top and sign another and continue until all signed.  But there must be a way to put multiple signatures in the private key.

Having the same problem here


Track owned Core Sets / Chapter Packs / Deluxe Sets against card use in My Decks

To help track what cards are set off into our various real world decks, it would be great if we could list the number of Core Sets / Chapter Packs / Deluxe Sets we own, and where those cards are allocated across the deck in My Decks (you'd be able to toggle 'exclude' on decks you don't have built real world).
This would be immensely helpful for last minute card swaps and collection management.

I won't include a collection management feature, sorry.


feat: default policy values

Codecov Report
Attention: Patch coverage is 52.13675% with 56 lines in your changes missing coverage. Please review.

Project coverage is 45.90%. Comparing base (b4db945) to head (36814c6).
Report is 17 commits behind head on main.

Files
Patch %
Lines

alzlib.go
39.68%
30 Missing and 8 partials :warning:

defaultPolicyAssignmentValues.go
68.75%
5 Missing :warning:

deployment/hierarchy.go
66.66%
3 Missing and 2 partials :warning:

deployment/managementgroup.go
50.00%
3 Missing and 1 partial :warning:

assets/policySetDefinition.go
71.42%
1 Missing and 1 partial :warning:

processor/processor.go
75.00%
1 Missing and 1 partial :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #135      +/-   ##
==========================================
+ Coverage   43.20%   45.90%   +2.70%
==========================================
  Files          16       29      +13
  Lines        1178     1479     +301
==========================================
+ Hits          509      679     +170
- Misses        570      668      +98
- Partials       99      132      +33

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Fixing #48 (Python313)

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Closes: #48

@conda-forge-admin, please rerender

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe/meta.yaml) and found it was in an excellent condition.

Hi! This is the friendly automated conda-forge-webservice.
I tried to rerender for you, but it looks like there was nothing to do.
This message was generated by GitHub Actions workflow run https://github.com/conda-forge/conda-forge-webservices/actions/runs/12450466755. Examine the logs at this URL for more detail.


gridwidth does not render in preview for jupyterlab_rise

Hey! thanks a lot for this great project! I was waiting for somthing like this. I mainly used the splitcell-extension in presentations that I created with rise, there is just worked out-of-the-box. rise however now moved to jupyterlab_rise and the developers explicitly stated in https://github.com/jupyterlab-contrib/rise/issues/1 that the split-cell classic extension is out-of-scope for jupyterlab_rise (which makes sense). I was hoping thatjupyterlab-gridwidth fills this gap here, but it did not render the columns in the presentation (see right tab in the screenshot)

To reproduce the setup here, you can use the example notebook from the jupyter-contrib/rise repo via
git clone https://github.com/jupyterlab-contrib/rise.git
cd rise
python -m venv venv
source venv/bin/activate
pip install jupyterlab jupyterlab_rise jupyterlab-gridwidth
jupyter server extension enable jupyterlab_rise
jupyter server extension enable jupyterlab-gridwith

start the server via jupyter lab and open the notebook at examples/README.ipynb
I am not an expert with developing externsions for jupyterlab.  Or is this out-of-scope for your package?
thanks again for your efforts in this!

hey there !
nice to see that this tool can be useful
as far as rise: I made a very rough first diagnosis and it seems that the cell tag 'gridwidth-1-2' does not get applied as a css class on the html element
mind you: the lib actually responsible for applying css classes based on cell tags is actually
parmentelat/jupyterlab-celltagsclasses
so this is probably where the conversation should take place
will follow-up there

on a side note, I don't think you need to explicitly do these
jupyter server extension enable jupyterlab_rise
jupyter server extension enable jupyterlab-gridwith

as in my case at least the pip install ..s do the trick just fine


New library for handling complex numbers in netCDF

Is your feature request related to a problem?
Complex numbers are not natively handled by netCDF, and currently only the h5netcdf engine in xarray can handle them. However, it produces files unreadable by current versions of netCDF. There are also many different conventions, and h5netcdf can only read a few of them.
Describe the solution you'd like
I've written a drop-in extension to netCDF that seamlessly handles complex numbers, and can read many different conventions.
The Python API is built on top of netCDF4-python, so only a very simple change to xarray is needed to use it:
modified   xarray/backends/api.py
@@ -115,7 +115,10 @@ def _get_default_engine_gz() -> Literal["scipy"]:
 def _get_default_engine_netcdf() -> Literal["netcdf4", "scipy"]:
     engine: Literal["netcdf4", "scipy"]
     try:
-        import netCDF4  # noqa: F401
+        try:
+            import nc_complex  # noqa: F401
+        except ImportError:
+            import netCDF4  # noqa: F401

         engine = "netcdf4"
     except ImportError:  # pragma: no cover
modified   xarray/backends/netCDF4_.py
@@ -327,7 +327,10 @@ class NetCDF4DataStore(WritableCFDataStore):
     def __init__(
         self, manager, group=None, mode=None, lock=NETCDF4_PYTHON_LOCK, autoclose=False
     ):
-        import netCDF4
+        try:
+            import nc_complex as netCDF4
+        except ImportError:
+            import netCDF4

         if isinstance(manager, netCDF4.Dataset):
             if group is None:
@@ -364,7 +367,10 @@ class NetCDF4DataStore(WritableCFDataStore):
         lock_maker=None,
         autoclose=False,
     ):
-        import netCDF4
+        try:
+            import nc_complex as netCDF4
+        except ImportError:
+            import netCDF4

         if isinstance(filename, os.PathLike):
             filename = os.fspath(filename)

and then it works out of the box:
import numpy as np
import xarray as xr

complex_array = np.array([0 + 0j, 1 + 0j, 0 + 1j, 1 + 1j, 0.25 + 0.75j], dtype="c16")

ds = xr.Dataset({"complex_data": ("x", complex_array)})
ds.to_netcdf("test.nc")

with xr.open_dataset("test.nc") as df:
    print(df.complex_data)
    assert ds == df

# <xarray.DataArray 'complex_data' (x: 5)>
# [5 values with dtype=complex128]
# Dimensions without coordinates: x

If the library is built against the latest main of netCDF-C, then it also supports files written by h5netcdf. And while the package isn't on PyPI yet, built wheels with this feature are available from CI jobs.
nc_complex is not quite ready yet, but I wanted to gauge interest for adding it as an optional replacement for netCDF4 in xarray.
Describe alternatives you've considered
No response
Additional context
No response

Hi @ZedThree this looks like a great improvement.
We've built out infrastructure that would allow you to pass engine="nc_complex" to open_*dataset. See https://docs.xarray.dev/en/latest/internals/how-to-add-new-backend.html and https://tutorial.xarray.dev/advanced/backends/backends.html
Can you give that a try and let us know how it goes?

Thanks @dcherian, I've had a look and implemented my own backend. It does work fine, but unfortunately it takes about 170 lines as I need to duplicate a lot of the existing netcdf4 backend in order to change two lines. I'm worried I'd need to keep this up-to-date with xarray.
I think the only thing from netCDF4 used directly is netCDF4.Dataset. Maybe if there was a way to switch out this class in the backend, that would be better for everyone? For example, adding a DatasetClass property that I could then override:
class NetCDF4DataStore(WritableCFDataStore):
    ...

    @property
    def DatasetClass(self) -> type:
        import netCDF4
        return netCDF4.Dataset

class NcComplexDataStore(NetCDF4DataStore):
    @property
    def DatasetClass(self) -> type:
        from ._wrapper import Dataset

        return Dataset

@ZedThree First of all I want to thank you for your perseverance going through the instances.
These two issues

https://github.com/Unidata/netcdf4-python/issues/1280
https://github.com/cf-convention/cf-conventions/issues/204

and the CF hackaton meeting notes availabe from https://github.com/cf-convention/discuss/issues/243 are interesting reads.
It seems that finally complex data is about to be standardized within cf-conventions.
From my perspective and from all what I've read so far in the above discussions and documents handling complex numbers should be a first class citizen upstream and seems to be best placed directly into netcdf4-python instead trying to retrofit that into xarray via backends.
I do not advocate against any backend usage until this is sorted out. A package which provides a backend to be used as suggested by @dcherian above and which would be available via PyPI (and conda-forge) would be really helpful in that sense.

@ZedThree Yes, sometimes it takes a lot of effort, I'm totally with you ;-)
Looking forward to your PR.

This was implemented in netcdf4-python: https://github.com/Unidata/netcdf4-python/pull/1295


Override

Hi
How can I override geoposition.js or fields.py cause I'd like for example add field for radius and with it, drawing circle on map with the same center as the marker.

You should probably fork this project on Github, install your fork using something like pip install -e git+git@github.com:maximereinhart/django-geoposition.git#egg=geoposition, change the code as desired, and if you think it might be useful to others consider creating a pull request.


MNT: Cross-build aarch64/ppc64le

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe/meta.yaml) and found it was in an excellent condition.

@conda-forge-admin, please rerender

Rerendered, so that travis files are actually removed.


Do I need Kernel patches on openSUSE?

Hi, I am using librealsense on openSUSE Tumbleweed with Kernel 5.14. Librealsense is included in the openSUSE repositories. It runs well. But in your installation instructions there is written that librealsense requires kernel patches. Now I have two questions:

What is the purpose of these patches?
Are they included in the mainline 5.14 kernel? Or do I need to apply them manually?

Hi @snopytas  A primary purpose of patching the kernel is to add support for hardware metadata timestamps in the librealsense SDK.   Librealsense-specific functionality is not included in Linux kernels by default and has to be patched in.  Also, the SDK currently supports up to kernel 5.8 officially at the time of writing this.  Newer kernels can work with the SDK but there may be unpredictable effects.
If librealsense is built from source code with the RSUSB backend method then it is not dependent on Linux versions or kernel versions and does not require patching.  This can be a useful approach if using recent kernels that are not officially supported yet, or if there is a conflict between librealsense and the Linux / kernel version being used on that computer.
A RealSense team member provides advice in https://github.com/IntelRealSense/librealsense/issues/6837#issuecomment-660600748 regarding checking whether a patch has been correctly applied.

Very interesting, thanks. Does this mean that I get more unprecise timestamps when not using a patched kernel?

The SDK should use hardware timestamps when support for them is enabled, otherwise it will provide software timestamps based on system time.
The SDK documentation link below states that metadata support is required to access FRAME_TIMESTAMP
https://intelrealsense.github.io/librealsense/doxygen/classrs2_1_1frame.html#a25f71d45193f2f4d77960320276b83f1

Thanks. Now I was in lab with my openSUSE tumbleweed workstation. The timestamp domain shows global time and I can also set it to hardware time. So I think these patches are applied by default in the mainline kernel or at least in the openSUSE Kernel.

Thanks very much @snopytas for the update   :)


MNT Add MariaDB support

Description

Add new constant DB_MARIADB;
Updated tests
Add DB_MYSQL_57  only for --prefer-lowest

Note:
I'm not sure should we replace all MySQL versions with MariaDB.
Parent issue

https://github.com/silverstripe/gha-generate-matrix/issues/69

Do you have an example of this working in a fork somewhere, so I can validate what jobs will be created? Ideally one for CMS 4 and one for CMS 5 since those have different builds.

Updated. New CI builds were run for CMS 4 and CMS 5

@sabina-talipova Those CI runs have a lot of PHPUnit tests, which are irrelevant for the purposes of testing this, and don't include any behat tests, which is the thing we explicitly want to test. Please remove the phpunit runs, and run behat tests instead.

Close. Open https://github.com/silverstripe/gha-generate-matrix/pull/73


 Thanks for reporting. The bump to 3.9.0 is here.
In the meantime, you can add the okio 3.9.0 dependency to your project and Gradle will use that one.

Fix is in v3.8.5.


chore(package.xml): bump version to 0.38.0

Description
This PR is based on https://github.com/orgs/autowarefoundation/discussions/5292 and aims to manage the versioning of autowarefoundation/autoware.universe using ROS package release tools.
All package versions have been unified to 0.38.0 following https://github.com/tier4/autoware.universe/tree/v0.38.0.
Note that this PR is a merge request not for the main branch, but for the newly created humble branch. Once this PR is merged, I plan to tag 0.38.0 on the humble branch and create a PR to merge the differences into the main branch as well.
Currently, I was manually running the ROS package release tools to create PR, but in the future, we would like to modify https://github.com/tier4/autoware-release-scripts to automate this process.
Related links
https://github.com/orgs/autowarefoundation/discussions/5292

How was this PR tested?
Notes for reviewers
None.
Interface changes
None.

Effects on system behavior
None.

@mitsudome-r @xmfcx A branch protection rule is needed for the humble branch. Please set it up with conditions similar to those of the main branch, but it should allow merge commits rather than squash merges.

@youtalk -san, I can add the branch protection rules.

but it should allow merge commits rather than squash merges.

Why? We could have the releases and version control without needing merge commits.
I've checked the practices utilized by many official ROS 2 packages and none of them allowed merge commits.
They were versioning and backporting by keeping a linear history just fine.
I'd much prefer not to complicate the commit history by allowing merge commits. And keep a linear history for main and ros-distro branches.
Examples
https://github.com/ros2/rosbag2

https://github.com/ros2/ros2cli

https://github.com/ros2/rclcpp

@xmfcx If we merge all patch PRs that exist only in the humble branch into the main branch with individual PRs, squash merging will still be fine going forward.
Please review this! cc @mitsudome-r


[Enhancement] New create app flow

Clicking create new app should take the user to the editor
The new app should be named Untitled and allow the user to rename it.

Figma files here: https://www.figma.com/file/51WpTmpdZAz3WI6UNwCOC2/?node-id=5%3A422


Device::new() should return result

Now it returns Option
This contradicts with other methods API idea

Fixed with v2


Generate unapply for newtype case class

I'm starting to use more and more of this library. In particular, newtypes are quite useful for defining custom typeclass instances:
@newtype case class FirstOf[A](value: A)
object FirstOf {
   implicit def semigroup[A]: Semigroup[A] = Semigroup.instance((a, _) => a)
}

It would be really nice if for these cases unapply would also be generated. This comes in handy in chains involving foldMap, e.g.
list
  .foldMap(person => Map(person.name -> FirstOf(person.age))
  .map { case (name, FirstOf(age)) => ??? } // no need to use `.value` manually

@oleg-py I need to add a benchmarks module to this library, mind sharing your JMH code? May provide a way for us to experiment with implementations to prove out zero (or near-zero) cost to get something like what you're looking for.

Also note that unapply will match any instance of the underlying type (unlike value classes).

@joroKr21 Good point. However, as part of #10 I've been experimenting with different ClassTag encodings and have considered trying to just use the underlying type's ClassTag. If that happens, it may actually forbid matching invalid types (whereas now it will cause a runtime exception not caught by the compiler).
scala> :paste
@newtype case class Foo(x: Int)
object Foo {
  def unapply(foo: Foo): Option[Int] = Some(foo.x)
}

// Exiting paste mode, now interpreting.

defined type alias Foo
defined trait Foo$Types
defined object Foo

scala> ("foo": Any) match { case Foo(x) => x }
java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Integer
  at scala.runtime.BoxesRunTime.unboxToInt(BoxesRunTime.java:101)
  at Foo$Ops$newtype$.x$extension(<pastie>:14)
  at Foo$.unapply(<pastie>:16)
  ... 38 elided

@carymrobbins I put the project here
https://github.com/oleg-py/newtype-unapply
Note the changes:

Int replaced with String to exclude boxing overhead
Generated ops class seems to crash JMH with malformed class name, so I had to make a field private[this] and implement unapply in terms of asInstanceOf

Also these things did not seem to improve anything:

Using Some[String] in signature
Using a shared global / thread-local mutable variable with var get and val isEmpty = true to save on allocations

BTW, get and isEmpty are required to be instance methods, extensions would simply not work.
@joroKr21 it's a compile error to try to match a Int against a pattern expecting Foo when Foo is a newtype. It's only an issue if you try to match on e.g. Any, which is the opposite of what I do :)

@oleg-py Brings up a good point that it is indeed only an issue if you try to match on Any, which is Scalac may just handle as a special case, not enforcing exhaustiveness. Consider what happens if we match on a String type instead -
scala> "foo" match { case Foo(x) => x }
<console>:16: error: scrutinee is incompatible with pattern type;
 found   : Foo
    (which expands to)  Foo.Type
 required: String
       "foo" match { case Foo(x) => x }
                             ^

@oleg-py Experimental idea which improves the performance of unapply -
https://github.com/oleg-py/newtype-unapply/compare/master...carymrobbins:unapply-class
The newtype unapply bytecode posted earlier shows ClassTag being used, which I suspected was slowing things down. So I tried returning Some as you did as well as returning my own Unapply value class. Both performed very close to the case class version.
Here are the benchmarks via sbt clean 'jmh:run TestBenchmark' -
testCaseClass                thrpt<PHONE_NUMBER>03.871 ±  861246.654  ops/s
testManualSimpleUnapply      thrpt<PHONE_NUMBER>21.470 ± 4173139.812  ops/s
testManualUnapplyValueClass  thrpt<PHONE_NUMBER>63.022 ±  870967.771  ops/s
testNewTypeSimpleUnapply     thrpt<PHONE_NUMBER>64.917 ±  283007.861  ops/s

the testManual benchmarks are for handwritten newtypes, whereas the testNewType one is the macro generated one which contains ClassTag instances.
This may convince me to try to get rid of the ClassTag instances. For one, I dislike that they enable type-based pattern matching on newtypes. And now this. The only use case that I know of for them is to support Array construction, but I think there's probably a better way to pull that off. For instance, we could have a NewTypeArray type class to support casting to and from newtypes as well as constructing arrays for newtypes. I'm thinking this is probably a better solution that the hacks we're using with ClassTag to work around the flaky Scala Array machinery.
@joroKr21 Feel free to chime in on this as I know you originally introduced the ClassTag instances.

Yes, I introduced ClassTag only to support Arrays. I would be perfectly happy with removing it if we find a replacement for that feature. Maybe even an Array constructor generated by the macro would be enough.
As for unapply I missed the point of pattern matching if the scrutinee is not a supertype. But I guess it's fine if people find it convenient.


Source sets

(Based on #19, #21)
PR replacing our current persistent sets with source sets as outlined in the Source Sets: A Foundation for Optimal Dynamic Partial Order Reuction. Source sets achieve a better reduction in general and optimal reduction on some tests.
Part of the improvement can be definitely attributed to the fact that spawns are not treated as independent operations and are not reordered with atomic operations (unless forced by required reorder of atomic operations).
Results
Test 1
(write A, write B), (write B, write A)
  Atomic.spawn (fun () ->
      Atomic.set a 1;
      Atomic.set b 2);
  Atomic.spawn (fun () ->
      Atomic.set b 3;
      Atomic.set a 4);
  Atomic.final (fun () ->
      Printf.printf "a=%d, b=%d\n%!" (Atomic.get a) (Atomic.get b))

main
a=4, b=3
a=4, b=3
a=4, b=2
a=4, b=3
a=4, b=2
a=4, b=2
a=1, b=2
num_traces: 7

Source-set
a=4, b=3
a=4, b=2
a=1, b=2
num_traces: 3

Test 2
(write A, write B), (write A, write B)
main:
a=3, b=4
a=3, b=4
a=3, b=4
a=3, b=2
a=3, b=4
a=3, b=4
a=3, b=2
a=1, b=4
a=1, b=2
num_traces: 9

Source-set
➜  dscheck git:(source-set) ✗ dune build && ./_build/default/tests/test_simple.exe -v
a=3, b=4
a=3, b=2
a=1, b=4
a=1, b=2

num_traces: 4

Existing tests

Safe list goes down from 130k traces to 23k traces. In this test all accesses target single location, so "by def" there's little DPOR algorithm can do with dependency relation specified as currently. I suspect the gain stems from being more careful with independent operations (i.e. spawns).
The most significant result is for MSQueue. For n=4 we drop from 12k states to 16. There's a lot of accesses on disjoint locations, which is precisely the scenario DPOR was developed for.

Logic
Just like with the previous algorithm, we execute the program on a single core and take control at calls to Atomic in order to force certain interleavings to be explored. We do that by stopping after every operation, looking at the most recent races and scheduling a trace that reverses the two racing accesses. Races here are pretty much accesses to shared variables made by two different threads.
We depart from the previous algorithm in the way sequences are scheduled. Suppose we have the following interleaving E.t.w.t', where t and t' are a race and w is an independent operation (say spawn of another thread).

Previously, we'd try to schedule the process of t' directly after E, to explore E.t'. .., and if proc(t') is not enabled, schedule all processes at E. Now, we're far more precise in that we're looking at all possible sequences that lead to the reversal (e.g. E.t'. .., E.w.t'. .., etc.). In fact, if E.w has already been explored, we know we don't have to schedule anything.
The sleep set is far more powerful, letting us ignore reversals of independent operations before they are scheduled.

Above may sound quite abstract. There is a lot of comments in the code that explain step-by-step how we achieve both of these things. Having said that, I would recommend at least skimming the sections 2-5 in the paper, even if just to double check me.
Other implementations
The paper focuses on the Concuerror project, which I didn't find particularly helpful as it focuses on Erlang's CSP. However, the same research group produced https://github.com/nidhugg/nidhugg, which is really close to what we want.
Testing
All existing tests pass and explore the same traces as DPOR. I've also used program_gen a lot, both to compare with existing dpor for smaller programs and with random exploration for larger ones (that source dpor can terminate on, while existing dpor not quite).
Future work
There's a few possible next steps:

Improve the dependency relation. At the moment we assume that all accesses on the same variable are races, but this is really not the case: two reads commute, two failing CASes commute, two writes with the same value commute, etc.
The paper with source sets also introduces wake-up trees. They are supposed to bring us to the optimal number of sequences (i.e. one sequence per trace). Apparently, they are not quite optimal but it's still an improvement. I'm a bit skeptical though as they use exponential memory and that could have impact on lockfree's testsuite.
TruST, which claims to solve all our problems: be linear in time, space and easily parallelizable. It's a fairly recent paper but with a public implementation.

Very cool!! This is really subtle to review, I like the strategy but I don't fully understand the code, there's some weird bug lurking somewhere:
module Atomic = Dscheck.TracedAtomic

let test () =
  let a = Atomic.make 0 in
  let b = Atomic.make 0 in
  let c = Atomic.make 0 in
  let ok = Atomic.make false in
  Atomic.spawn (fun () ->
    Atomic.set a 1 ;
    Atomic.set b 1 ;
  );
  Atomic.spawn (fun () ->
    Atomic.set c 1 ;
    Atomic.set c 2 ;
    Atomic.set c 3 ;
    Atomic.set b 2 ;
  );
  Atomic.spawn (fun () ->
    if Atomic.get c = 2 && Atomic.get b = 0
    then Atomic.set ok true
  );
  Atomic.final (fun () ->
    Format.printf "a=%i b=%i c=%i<EMAIL_ADDRESS>      (Atomic.get a)
      (Atomic.get b)
      (Atomic.get c)
      (Atomic.get ok)
  )

let () = Atomic.trace test

(*
a=1 b=2 c=3 ok=false
a=1 b=2 c=3 ok=false
a=1 b=2 c=3 ok=false
a=1 b=2 c=3 ok=false
a=1 b=2 c=3 ok=false
a=1 b=1 c=3 ok=false

num_traces: 6
*)

There should be a window for ok=true?.. (dscheck main says yes, so I think this is new)
Do you think you could test it with https://github.com/ocaml-multicore/dscheck/pull/15? There are some existing bugs in dscheck so it's hard to tell if an optimization is correct or if it introduces new issues :/

Yeah, this is not looking correct. I managed to simplify the failing case to the following:
let test () =
  let c = Atomic.make 0 in
  let b = Atomic.make 0 in
  let ok = Atomic.make false in

  Atomic.spawn (fun () -> Atomic.set b 1);
  Atomic.spawn (fun () ->
      Atomic.set c 1;
      Atomic.set b 2);
  Atomic.spawn (fun () ->
      if Atomic.get c = 0 then if Atomic.get b = 0 then Atomic.set ok true);

  Atomic.final (fun () ->
      Format.printf "b=%i c=%i<EMAIL_ADDRESS>(Atomic.get b) (Atomic.get c)
        (Atomic.get ok))

In the 3/4 trace we observe P2's accessing b but it does not bubble down to precede P0's.

Ok, I have some idea about what's happening.
The general principle behind DPOR algos is discovery of reversible races. Whenever we discover one, we need to ensure that a new trace containing the reversal gets explored at some point. Source-DPOR generates "initials" of execution histories leading to reversal and if none of the initials is in the relevant backtrack, one (arbitrarily chosen) initial gets added. That should lead to the new trace. However, it is not what I'm seeing in the case above. There, the fourth (last) trace generates two initials: 0, 2. But 0 is in the sleep set already and inserting it into backtrack does not have any impact. On the other hand, choosing 2 lets us explore all the traces (while still visiting only 7% of the execution histories that vanilla DPOR sees). Afaict we generate the initials and sleep sets correctly, thus I've added a bias to prefer to backtrack unblocked/unexplored transitions and that seems to help.
I'll do more automated testing.

This looks very promising. Does this algorithm explore all the "interesting" schedules that the original algorithm explores?

As far the tests we have, yes.
I'm a little uneasy with the fact that we had to specialize on the algo from the paper to handle the case above correctly. Either way, I'm working on tooling to automatically search for programs (borrowing ideas from #14), where source-dpor explores less traces than the current implementation.

Backed out the previous attempt and fixed the root cause. We're now fully in line with the paper and should be good for proper review.

@bartoszmodelski what needs to happen to merge this?

As a test, it might be worth re-checking this on cells.ml from Eio.Condition (https://github.com/ocaml-multicore/eio/pull/397) as the previous versions OOMed on it.

@bartoszmodelski what needs to happen to merge this?

This is based on two PRs that await review. One adds a dpor-validator, another test generator. Afaik @lyrm has it as a priority.

As a test, it might be worth re-checking this on cells.ml from Eio.Condition (ocaml-multicore/eio#397) as the previous versions OOMed on it.

I ran tests with the eio suite. To terminate these tests in reasonable time we need https://github.com/ocaml-multicore/dscheck/pull/22 as well (it's a draft but a fully tested one, I planned to prep it for review once this is merged but will do so soon).

This is based on two PRs that await review. One adds a dpor-validator, another test generator. Afaik @lyrm has it as a priority.

Thanks. What are these two PRs?

Oops, it's #19, #21. Amended the readme.

Afaik @lyrm has it as a priority.

Hi @lyrm, wonder if you've had a chance to review this?

I reviewed the PR #19 and #21. I am meeting with @bartoszmodelski to talk about this PR and the future of dscheck today and tomorrow.
For this  PR, I already had an informal look at it. I tried it with lockfree tests (including some that are not merged). It is working as expected : same results than before if bugs are introduced, way shorter than before if the tested code is working. The hash table tests from example were not finished after running for 36 hours and are now finishing in a few minutes.
I will do a short review of the code this afternoon but I won't have the time to do a deep review of the algorithm. However what PR #19 and #21 bring is here to give us some certainty about that. I will be mainly looking for missing documentation.

Thanks @lyrm for the update.
May I please encourage updates in the Github thread even if the conversations are happening f2f or through other channels. Such updates help the community to engage with the project better. Thanks for the work on this so far.

you should mention somewhere that your variables are named according to the paper (with a link to it ?)

Good idea, added a note at the top.

why is it useful to keep the previous algorithm ? (explore function and 'Dpor option for the trace function)

I left it in for reference and to make the review easier (removing it here increases size of the patch and opens the doors for changing other parts of the code). Still at this point in development I found it useful to sometimes switch over to the old DPOR and confirm that we are indeed doing the correct thing. I would not oppose removing it in a bit though.

Ping. The conversation seems to have gotten stuck on this PR. Can we get this to a merge soon?

I think the conversion is over. I can merge this today.


All additional kafka configuration for charts

A user of our charts may wish to

Use an external kafka deployment
Specify custom kafka parameters - ie ssl config/user/password/group id for internal or external kafka

It would be useful to update the charts, especially egeria-base, to allow for this

This issue can be closed, because those wishes are now possible with security settings:
https://github.com/odpi/egeria-charts/blob/cb77cc88e1c614193ba15ca940e4427b2339e0f6/charts/egeria-base/values.yaml#L35
I have this working in our org.

They're in base, but also need adding to the other charts - most specifically the coco lab (it's been asked for).
So will leave open for that aspect
Any doc updates should be made in the 'egeria-docs' repository


DocDown does not reopen automaticly after update

After a suggested update DocDown does not open again by itself. But when you open it manually the update is installed correctly.
Additionally after reopening DocDown the project I have worked in before is not opened anymore. This might be related to issue #6 .

Is fixed with version <IP_ADDRESS>. Reopening takes a little bit to long but it works. Because of this I close the issue.


Enable providing several components of the same type in nlu pipeline

Proposed changes:

finish #1546
create, load and persist components based on their index in nlu pipeline
fixes: RasaHQ/roadmap#325

Status (please check what you already did):

[x] made PR ready for code review
[ ] added some tests for the functionality
[ ] updated the documentation
[ ] updated the changelog

core persistence doesn't have metadata persisted

yes I know, every policy does that on its own (which I think might also make sense, because the policies are independent so you can actually train them outside of core and persist them, wheras that doesn't make sense for the components in the nlu pipeline)

True, so are we going for folders, because folders also kind of imply independence, while here only crf and intent classifier are independent

@Ghostvv please also make sure to increase the version in the version py and change the min compatible version in the constants.py

@tmbo what do you mean with the version? Do we want to release current master 0.15 before this one? and this one should be 0.16?

No I mean increasing the version to 0.15.0a2 and setting the minimum compatible version to that as well, because models with earlier versions can not be loaded anymore, right?

@tmbo added changes according to your comments, could you please take a look? Particularly whether migration guide is understandable

looks good


retry_cluster_exceptions return real last exception - 1728

[Auto generated]
Number: [#1728]

openshift-python-wrapper(itmqw)[PR 1728]: Closing issue for PR: retry_cluster_exceptions return real last exception.
PR was closed.


Tweedie loglikelihood with Wrights Bessel function

The normalization constant of the Tweedie loglikelihood is a very complicated function, see _tweedie_normalization https://github.com/Quantco/glum/blob/5a2f7c7aac9dbba7de0a1c8d76aa8f046d73ae46/src/glum/_functions.pyx#L340
Since scipy 1.7, there is the new function https://docs.scipy.org/doc/scipy-1.7.0/reference/generated/scipy.special.wright_bessel.html#scipy.special.wright_bessel which should make this computation much easier.
Is currently implemented for the range corresponding to 1<power<2.
This could potentially be a more stable approach for values of the Tweedie power close to 2 or 1.

Thanks for the suggestion!
I ran a quick test to see if this would improve the stability and I found the opposite. Currently, the code in glum is computing the log of wright-bessel function. Each component is already expressed in logs and therefore it has no issue computing the result for values of the Tweedie power close to 1 or 2.
On the other hand, the wright-bessel function implementation in scipy is not expressed in logs. For values of the tweedie power close to 1 or 2, this leads to massive numbers and overflows (e.g. with a power of 1.99 and a y value of 6, the wright-bessel function evaluates to 1.7024896558377077e+44).
Here's the code that creates the same output as the _tweedie_normalization function but uses scipy.special.wright_bessel:
def tweed_norm(y, power, dev):
    alpha = (2 - power) / (1 - power)
    wb = wright_bessel(-alpha, 0, (power - 1)**alpha / (2 - power) / y**alpha) / dev**(1 - alpha)
    return np.log(wb) - np.log(y)

(I've shamelessly used your comment here to quickly check that the two implementations gave the same answers and they do.)
Is there a better way to use the scipy function in our code and not run into overflow errors for Tweedie powers close to 1 or 2? The wright-bessel scipy function is slower than our cython implementation to compute a scalar value, but it is natively vectorized so it might be faster if we vectorize some part of the likelihood.
@lbittarello, since you implemented our cython code, do you have any other arguments I didn't cover for or against this suggestion?

When I originally implemented the series approximation, scipy.special.wright_bessel wasn't available. 🤷♀

This poor function needed a dedicated implementer first. Poor guy :wink: Now, I'm not sure, if that was the best idea. The advantage was that it is mentioned in https://dlmf.nist.gov/10.46#E1 and therefore was easier to include in scipy. But it is more general than what's needed for the Tweedie log-likelihood.
However, I get (_tweedie_normalization replaced by pure python version, see details)
y = 6
power = 1.99
dispersion = 1

_tweedie_normalization(y, power, dispersion), tweed_norm(y, power, dispersion)

(100.05407630566685,<PHONE_NUMBER>0566678)

Relative precision is 6e-16. Starting from power >=1.999, I indeed get nan. Maybe this could be improved in scipy?
In the end, if the current code works fine, there is no need to change it. Some more unit tests could help to get more trust.

from math import ceil, exp, floor, log
import numpy as np
from scipy.special import loggamma, wright_bessel

def tweed_norm(y, power, dev):
    alpha = (2 - power) / (1 - power)
    wb = wright_bessel(-alpha, 0, (power - 1)**alpha / (2 - power) / y**alpha) / dev**(1 - alpha)
    return np.log(wb) - np.log(y)

def _tweedie_normalization(y, power, dispersion):

    j_max = exp((2 - power) * log(y) - log(dispersion) - log(2 - power))
    w_max = _log_w_j(y, power, dispersion, j_max)
    w_summand = 0.0

    j_lower, j_upper = _sum_limits(y, power, dispersion, j_max)

    for j in range(j_lower, j_upper + 1):
        w_summand += exp(_log_w_j(y, power, dispersion, j) - w_max)

    return w_max + log(w_summand) - log(y)

def _sum_limits(y, power, dispersion, j_max):

    w_lower = 0
    j_lower = 1.0
    j_upper = ceil(j_max)
    w_upper = _log_w_j(y, power, dispersion, j_upper)

    w_crt = _log_w_j(y, power, dispersion, j_max) - 37
    w_one = _log_w_j(y, power, dispersion, 1)

    if w_one <= w_crt:
        j_lower = floor(j_max)
        w_lower = _log_w_j(y, power, dispersion, j_lower)
        while w_lower >= w_crt:
            j_lower -= 1
            w_lower = _log_w_j(y, power, dispersion, j_lower)
    while w_upper >= w_crt:
        j_upper += 1
        w_upper = _log_w_j(y, power, dispersion, j_upper)

    return int(j_lower), int(j_upper)

def _log_w_j(y, power, dispersion, j):
    alpha = (2 - power) / (1 - power)
    return j * _log_z(y, power, dispersion) - loggamma(1 + j) - loggamma(-alpha * j)

def _log_z(y, power, dispersion):
    alpha = (2 - power) / (1 - power)
    return (
        alpha * log(power - 1)
        - alpha * log(y)
        - (1 - alpha) * log(dispersion)
        - log(2 - power)
    )


UIImage cache method, placeholder and where is the path (Please add on documentation)

Hi im new to your framework, i want to know more how to cache UIImage.. and load them once cached..
Is it separated with thumbnail and the big size...?
Thanks.

You might want to cache images using something like this.
do {
    let cache = try Cache<UIImage>(name: "imageCache")

    cache["myImage"] = UIImage(named: "foo")
    let image = cache["myImage"]
    cache["myImage"] = nil
} catch _ {
    print("Something went wrong :(")
}


fix(img): fix the root path handling

fix the path handling, when path starts with / passed to the img shortcode

The root path was meant to give you a way to load resources from the base url, regardless of what subfolder your content may be in.
so for instance you have some content in a folder.
content/overview-images/  (https://abridge.netlify.app/overview-images/)
but you want to link to some random folder off the root domain eg images (https://abridge.netlify.app/images/)
you would be able to by using / at the start of the path withe the img shortcode.
as you can see all images load properly in the demo https://abridge.netlify.app/overview-images/
I am going to test these changes and see if they still do what I intended, or what problem you ran into.
eating dinner at the moment but will check it out shortly.

when I want to use an image that n the static directory, is supposed to be under the root so we have to use / in the src attribute.
{{img(src="/reactions/hold-cup-of-tea.gif" alt="Hold cup of tea")}}

this suppose to be translated into http://<IP_ADDRESS>:1111/reactions/hold-cup-of-tea.gif 'cuse we use /, but the current implementation translates it to  /page-path/http://<IP_ADDRESS>:1111/reactions/hold-cup-of-tea.gif` instead

ah that is helpful, so I can test this locally by trying to load an image from static.
I just need to make sure it does not break anything else, thanks for the info, one sec.

I test it on the overview-images page and nothing breaks

on what page does it break?

 content/why-i-love-coding/index.md

the error massage:

zola serve --open
Building site...
Error: Failed to serve the site
Error: Failed to render content of /mnt/work/me/weebsite/content/why-i-love-coding/index.md
Error: Reason: Failed to render img shortcode
Error: Reason: Failed to render 'shortcodes/img.html'
Error: Reason: Function call 'get_image_metadata' failed
Error: Reason: `get_image_metadata`: Cannot find path: /why-i-love-coding/http://<IP_ADDRESS>:1111/reactions/hold-cup-of-tea.gif

I am having trouble getting this to fail with the original code. on the overview-images I added two more root path entries and did a zola serve:
{{ img(src="/banner.png" alt="Ferris the Rustacean" w=600 h=400) }}
{{ img(src="/reactions/banner.png" alt="Ferris the Rustacean" w=600 h=400) }}

the site zola serve just fine.
Do you happen to have a simple test repo that I could do a git clone on and try zola serve it on my end, so that I can reproduce the problem?

oh I think im starting to see what you did.

Aha, this's because you set the w and h attributes, the problem was from this block
https://github.com/Jieiku/abridge/blob/master/templates/shortcodes/img.html#L19-L24

yes, that's what allows you to omit the width and height, I can use zola/tera to check that meta data if omitted, and set it automatically..

yep, but am too lazy to do this manually + I don't use avif files anyway

well I definitely reproduced the problem, simply by removing the explicitly set w and h on the overview-images page from all the examples, testing your fix now.

other images on the page now fail with this pull request:

I will see if I can work out the problem.

found one of the problems just now, metafile needed to be piped to safe:

I have this 100% fixed now, in all use cases for img, I am going to double check the imgswap shortcode too, new commit shortly. I really appreciate you pointing this out and helping me track down the cause, Thank You!

Should be fixed now: https://github.com/Jieiku/abridge/commit/f7c5bdd82cbad12b71dc9f5cd2b52536e5622ce8
Please let me know how it looks for you, Thanks Again!

it works now, thx!


Environment variables to control MLIR execution

Introducing a few environment variables to control MLIR stack in run-time. All environment variables have the prefix OV_MLIR_ and are enabled/disabled by setting values 1, true, ON and 0, false, OFF correspondingly. Values are case insensitive.

OV_MLIR: Enables MLIR stack. When disabled the execution is the same as in vanilla OpenVINO. Default: ON.
OV_MLIR_TPP: Enables TPP-MLIR. OpenVINO should be built with TPP-MLIR support to be enabled by this variable. Default: ON if built with TPP-MLIR, OFF if built without TPP-MLIR. If OpenVINO is built without TPP-MLIR and the variable is set to enable it, a run-time exception will be thrown.
OV_MLIR_DEBUG: Enables debug output in MLIR stack. Default: OFF. Earlier it was always enabled, now it should be enabled explicitly.

@adam-smnk, you will find it useful to run benchmarks without rebuilds and compare everything: OV vs. MLIR upstream vs. TPP-MLIR.


Smoke test driver.exitApplication sometimes does not work

There have been flaky runs of smoke tests on macOS that stop an instance of Code and start it again to check on previous state. In those runs, exitApplication did not shutdown the application and our attempt then to use treekill prevents data / state from getting written, so the smoke test essentially fails.
We have to understand why exitApplication sometimes hangs.
Refs:

https://github.com/microsoft/vscode/issues/157576
https://github.com/microsoft/vscode/issues/152345
https://github.com/microsoft/vscode/issues/155838

I have not seen this ever since I increased the graceful timeout period.


Add tests which expect osbuild-composer(-cloud) running on the host

Let's wait with this until we have the cloudapi in osbuild-composer released to start testing this on fedora.

This is now a thing, with #43 merged it runs tests against osbuild-composer. Next step is reenable the tests for rhel.


KYLIN-3905 Enable shrunken dictionary default

In dev mail list's discussion, I suggest to enable shrunken dictionary by default, and received some dev's aggrement.
When using bitmap measure on a large cardinality column(require global dictionaty), build base cuboid step need frequent cache swap so it cannot finished within a reasonable period.
When shrunken dictionary enabled, a new step will be added to build separated dictionary for each InputSplit, Mapper of BuildBaseCuboid step only has to fetch a smaller dictionary for itself, instead of a larger global dictionary. It will reduce cache swap and make BuildBaseCuboid step run as quicker as possible.

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Pull Request Test Coverage Report for Build 4291

0 of 1 (0.0%)  changed or added relevant line in 1 file are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.001%) to 26.887%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

core-common/src/main/java/org/apache/kylin/common/KylinConfigBase.java
0
1
0.0%

Files with Coverage Reduction
New Missed Lines
%

core-dictionary/src/main/java/org/apache/kylin/dict/lookup/cache/RocksDBLookupTable.java
1
81.08%

Totals

Change from base Build 4284:
-0.001%

Covered Lines:
18945

Relevant Lines:
70461

💛  - Coveralls

Codecov Report

Merging #549 into master will decrease coverage by <.01%.
The diff coverage is 0%.

@@             Coverage Diff              @@
##             master     #549      +/-   ##
============================================
- Coverage     24.42%   24.41%   -0.01%
+ Complexity     5027     5025       -2
============================================
  Files          1161     1161
  Lines         70461    70461
  Branches      10020    10020
============================================
- Hits          17213    17206       -7
- Misses        51516    51520       +4
- Partials       1732     1735       +3

Impacted Files
Coverage Δ
Complexity Δ

.../java/org/apache/kylin/common/KylinConfigBase.java
14.04% <0%> (ø)
41 <0> (ø)
:arrow_down:

...he/kylin/dict/lookup/cache/RocksDBLookupTable.java
72.97% <0%> (-5.41%)
6% <0%> (-1%)

...org/apache/kylin/rest/util/QueryRequestLimits.java
35.71% <0%> (-4.77%)
5% <0%> (-1%)

.../apache/kylin/cube/cuboid/TreeCuboidScheduler.java
63.84% <0%> (-2.31%)
0% <0%> (ø)

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 6ee0212...bfddf19. Read the comment docs.


Filter exclude is not working

When use the "es.sample.filter" with the value !!exclude_this or any other word. Even so is sent to the elastic

How's it going, friends? How do I get the index and dashboard JSON files? I was able to create an index in the ELK and connect it to Grafana, but the data is not arriving in the dashboards. I think there is some small detail missing to resolve. @ramondepieri @anthonygauthier

Hi @ramondepieri
How do you do?
I'm trying to configure it, but I'm having some problems.
How do I get the index JSON files and the Grafana panel?
I was able to create an index in ELK and connect it to Grafana, but the data is not arriving in the dashboards when I run it in Jmeter.
I believe there is a small detail missing to resolve this.
I've already done this process with the InfluxDB plugin, but I'm new to Elasticsearch.
Thanks in advance.


Implement Combat transformer

From @mnarayan:

I did a tutorial on dealing with site effects a few years ago at OHBM, I can send my slides around. A few papers have shown that effectively standardizing DTI features to make sure they look similar across all sites (using a combat) was quite useful. https://github.com/neuroquant/neurocombat. It might be useful to use this as part of the model training (i.e. learning the combat standardization model on the training set and applying it on the test set before calling predict).

We should implement combat as an sklearn feature transformer and allow users the option of inserting it into the pipeline.

Closing since neurocombat_sklearn does exactly this.


[Function enhancement] array_generate to support date/datetime as input and interval as step.

Feature request
The time series generation function Sequence(start, stop, step) available in Trino/Presto does not exist in StarRocks, and there is a desire to have it added.
for example :
trino url:https://trino.io/docs/current/functions/array.html
trino github url:https://github.com/trinodb/trino/blob/master/core/trino-main/src/main/java/io/trino/operator/scalar/timestamp/SequenceIntervalDayToSecond.java
sequence(start, stop)
Generate a sequence of dates from start date to stop date, incrementing by 1 day if start date is less than or equal to stop date, otherwise -1 day.
sequence(start, stop, step)
Generate a sequence of dates from start to stop, incrementing by step. The type of step can be either INTERVAL DAY TO SECOND or INTERVAL YEAR TO MONTH.
sequence(start, stop, step)
Generate a sequence of timestamps from start to stop, incrementing by step. The type of step can be either INTERVAL DAY TO SECOND or INTERVAL YEAR TO MONTH.
If there are any inadequacies in the description, please reply. Thanks

wow thanks for your issue, your description is very helpful!
starrocks do have a function named array_generate https://docs.starrocks.io/docs/sql-reference/sql-functions/array-functions/array_generate/ , it generate arrays in step like sequence. however it doesn't support date/datetime input parameter and do not support interval as a step either.
and it is necessary to improve it.

Can I pick this issue? @wangsimo0

Hi@SoraNimi, I noticed your interest in this issue and would like to ask if you would be open to transfer the responsibility of this issue to me? I'm working on it recently and I would greatly appreciate it.

Hi@SoraNimi, I noticed your interest in this issue and would like to ask if you would be open to transfer the responsibility of this issue to me? I would be greatly appreciate it.

Can I pick this issue? @wangsimo0 @kateshaowanjou

Hi @SoraNimi! I noticed your interest in this issue and would like to ask if you would be open to transferring the responsibility to me. I’ve been working on this recently. I would greatly appreciate your help in making this transfer.

Can I pick this issue? @wangsimo0 @kateshaowanjou

Hi @SoraNimi! I noticed your interest in this issue and would like to ask if you would be open to transferring the responsibility to me. I’ve been working on this recently. I would greatly appreciate your help in making this transfer.

I am working on another issue, and there has been no progress on this issue. You can seek the corresponding person to assign it to you.

Can I pick this issue? @wangsimo0 @kateshaowanjou

Hi @SoraNimi! I noticed your interest in this issue and would like to ask if you would be open to transferring the responsibility to me. I’ve been working on this recently. I would greatly appreciate your help in making this transfer.

I am working on another issue, and there has been no progress on this issue. You can seek the corresponding person to assign it to you.

Thanks! @wangsimo0 @kateshaowanjou Could you please assign this issue to me?

@Lrabbit125 This issue has been assigned to you. Feel free to let me know if you need any help.


Appstudio update test-custom-default-branch-ecqu

Pipelines as Code configuration proposal
To start the PipelineRun, add a new comment with content /ok-to-test
For more detailed information about running a PipelineRun, please refer to Pipelines as Code documentation Running the PipelineRun
To customize the proposed PipelineRuns after merge, please refer to Build Pipeline customization

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-simple-build-wadk-on-pull-request-
creating pipelinerun test-simple-build-wadk-on-pull-request- in namespace build-e2e-tkmk-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-simple-build-ufgi-on-pull-request-
creating pipelinerun test-simple-build-ufgi-on-pull-request- in namespace build-e2e-tkmk-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-annotations-gcoj-on-pull-request-
creating pipelinerun test-annotations-gcoj-on-pull-request- in namespace build-e2e-tkmk-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-simple-build-imul-on-pull-request-
creating pipelinerun test-simple-build-imul-on-pull-request- in namespace build-e2e-tkmk-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-annotations-vchz-on-pull-request-
creating pipelinerun test-annotations-vchz-on-pull-request- in namespace build-e2e-tkmk-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-annotations-dtnt-on-pull-request-
creating pipelinerun test-annotations-dtnt-on-pull-request- in namespace build-e2e-tkmk-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-annotations-yrqk-on-pull-request-
creating pipelinerun test-annotations-yrqk-on-pull-request- in namespace build-e2e-tkmk-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-simple-build-nwtb-on-pull-request-
creating pipelinerun test-simple-build-nwtb-on-pull-request- in namespace build-e2e-tkmk-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-simple-build-lqle-on-pull-request-
creating pipelinerun test-simple-build-lqle-on-pull-request- in namespace build-e2e-tkmk-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-annotations-mijr-on-pull-request-
creating pipelinerun test-annotations-mijr-on-pull-request- in namespace build-e2e-tkmk-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-simple-build-mcmm-on-pull-request-
creating pipelinerun test-simple-build-mcmm-on-pull-request- in namespace build-e2e-tkmk-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-simple-build-uqzm-on-pull-request-
creating pipelinerun test-simple-build-uqzm-on-pull-request- in namespace build-e2e-tkmk-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-annotations-ntht-on-pull-request-
creating pipelinerun test-annotations-ntht-on-pull-request- in namespace build-e2e-tkmk-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-simple-build-nyrh-on-pull-request-
creating pipelinerun test-simple-build-nyrh-on-pull-request- in namespace build-e2e-tkmk-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI/test-custom-default-branch-ecqu-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
12 seconds
init

✅ Succeeded
26 seconds
clone-repository

✅ Succeeded
1 minute
build-container

✅ Succeeded
1 minute
sast-snyk-check

✅ Succeeded
30 seconds
deprecated-base-image-check

✅ Succeeded
3 minutes
clair-scan

✅ Succeeded
28 seconds
inspect-image

✅ Succeeded
16 seconds
sbom-json-check

✅ Succeeded
49 seconds
clamav-scan

✅ Succeeded
7 seconds
show-sbom

✅ Succeeded
8 seconds
show-summary

Pipelines as Code CI/test-custom-default-branch-ecqu-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
12 seconds
init

✅ Succeeded
26 seconds
clone-repository

✅ Succeeded
1 minute
sast-snyk-check

✅ Succeeded
1 minute
build-container

✅ Succeeded
30 seconds
deprecated-base-image-check

✅ Succeeded
3 minutes
clair-scan

✅ Succeeded
28 seconds
inspect-image

✅ Succeeded
49 seconds
clamav-scan

✅ Succeeded
16 seconds
sbom-json-check

✅ Succeeded
7 seconds
show-sbom

✅ Succeeded
8 seconds
show-summary


Project Added : Predictive maintainence of industrial equipment

Description
I have build the models for classification and regression.
The dataset was in text file, I had converted it into csv file by performing some data preprocessing steps.
Then classified the machines on 3 categories and for regression I have predicted the remaining useful life.
Fixes #1093
Checklist

[x] I've read the contribution guidelines.
[x] I've checked the issue list before deciding what to submit.
[x] I've edited the README.md and link to my code.

@jeet-Abhi123 I found you added the same project in a different repo which is against the rule. for this, I'm closing this up.
here

Please give me a chance, this is my first open source program. That is why I asked in the discord server regarding this but some mentor replied that you can add same project in different repositories.

@jeet-Abhi123 You add the same project in another repo . No worries since you add the same one in another repo you can go with that repo .


Improvement in the navigation bar of Audio therapy tab (UI & responsiveness)

Reducing the margin, padding, placing logo without background, increasing font size, matching UI with the main page and making the navbar responsive.

Please assign it to me


Update to Minecraft 1.19.4

Updates Gradle and Loom as well as needed.
I'm not sure if this should be in a separate branch or not, I think merging into fabric-1.16 is best,, unless older versions will get an update in future (seems unlikely tbh). However, the choice is up to you to merge it into fabric-1.16 or make a new fabric-1.19.4 branch. The latter could be more consistent, I guess.
Download JAR (ZIP since GitHub doesn't let me upload JARs): Mc122477Fix-fabric-1.1.0+mc1.19.4.zip
This will also need corresponding tag fabric-1.1.0mc1.19.4 (consistent with previous tag formats) and publishing to CurseForge/Modrinth.

I'd prefer the fabric-1.19.4 branch name.

Tested the PR for 2 hours today, worked perfectly.


slow code on mouseover

For a dataset of ~500 frames, I'm triggering a mousover every on every window.requestAnimationFrame, or 60 times a second.  I've found that commenting out the following code causes FPS to climb to 50+ from 30. Without any obvious difference. Perhaps some of this could be put behind a feature flipper, or the sort put in to a getter/setter rather than a mouseover?
https://github.com/masayuki0812/c3/blob/master/c3.js#L2303-L2322
                selectedData = $$.data.targets.map(function (t) {
                    return $$.addName($$.getValueOnIndex(t.values, index));
                });

                // Sort selectedData as names order
                newData = [];
                Object.keys(config.data_names).forEach(function (id) {
                    for (var j = 0; j < selectedData.length; j++) {
                        if (selectedData[j] && selectedData[j].id === id) {
                            newData.push(selectedData[j]);
                            selectedData.shift(j);
                            break;
                        }
                    }
                });
                selectedData = newData.concat(selectedData); // Add remained

                // Expand shapes for selection
                if (config.point_focus_expand_enabled) { $$.expandCircles(index, null, true); }
                $$.expandBars(index, null, true);

Hi, Thank you for pointing this out. As you said, this part is not used now. I think I forgot to remove when I   refactored or fixed something, so I just removed. Thanks!

:+1:

0.4.10 has been released, so let me close. Thanks!


[QPG] Move naming qpg6100 to qpg

Problem
Qorvo Matter integration is initially done on the QPG6100 platform.
To prepare for wider integration across other chip-sets a renaming is to be done into the more generic 'qpg' prefix
Change overview

Update all qpg6100 references into qpg.
Introduce selection mechanism for other chip-sets
Current example applications remain building for QPG6100.

Testing

All QPG6100 based applications re-built manually and through GH CI
GH CI ran to check possible impact on other build types

@saurabhst @msandstedt ?

@tima-q Can you resolve the conflicts here?

@tima-q Can you resolve the conflicts here?
Done ✅

Fixes #6202


Refactor validate-offline -> --schema-only

Refactored with suggestion from code review
This fork PR is for testing dependent CI/CD projects.

:tada: CI Checks passed for downstream workflow PRs:

Using with action-doctl proposed no_auth param + unit/integration test workflow
Using with action-doctl in a project

Ready for code review in digitalocean/doctl#1450


Gut repo and replace with node-npm-boilerplate

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[x] Other... Please describe: Everything change

Does this PR introduce a breaking change?

[x] Yes
[ ] No

If this PR contains a breaking change, please describe the following...

Impact: Yarn can be used, everything is wiped
Github Issue(s) this is regarding: #179

Other information:
it was decided that an easier path would be to start fresh and build in things instead of going back to try and maintain.

After a bit of discussion with @MikaAK we are going with the built in solution for changelog generation. I'll land it whenever the conflicts are resolved.


feat: add the subgraph into Livenet for the deployed contract and fetch the events for the front-end

https://github.com/w3b3d3v/web3task-contracts/tree/feature/subgraph
The following branch is almost 100% available for implementing the full version of this issue.
https://github.com/w3b3d3v/web3task-contracts/tree/main/contracts
The events can be seen in the contract architecture.
Proposal:

Set up the subgraph for the livenet
Display on the front-end how the fetching from the API works for any of the usable cases:
-- Get the most recent tasks
-- Task creator address displayed on the events
-- Display recent Roles set or Operators set by admins
-- Show us your creativity!!

Eventually it will all be using features-like subgraph, so go nuts!

This task is already completed and about to be implemented in: https://github.com/w3b3d3v/web3task-front/issues/153


P0: Calendar Skill not getting the right date and time

Description
When scheduling a meeting, and the date is set to "Friday" This being done on any day after Friday should be the next available Friday.  Currently, it selects the Friday of the week you are in.  I assume it does this for all days.
To Reproduce
Steps to reproduce the behavior:

Schedule a meeting
Say participants
Test Subject
Test Meeting
"Friday"
"1:00 PM"
"One Hour"
"Redmond"
"Yes"
Now go look in calendar and the meeting invite will be on the wrong day.

I noticed if you say Next Friday on Sunday it skips the Friday to come and puts it 2 Fridays out too.  Lastly, you need to look at the time.  We should honor the time zone of the user's settings in their email account.  Currently, 1:00 PM in my test tenant is coming in at 9:00 AM due to time zone discrepancy.
Expected behavior
Expect that Next Friday is the next Friday available.  If on Friday I say Next Friday... it is a week out.  All other days it should be the next one available.  Also, If I say Friday it should default to the next Friday scenario.  We should not book in the past, but always in the future.  If I say Friday and set time to 1:00 PM.  If my current time, based on my valid timezone is later than 1:00 PM and it is Friday... I mean next Friday.  If it is before 1:00 PM I mean today.

Can you confirm you are setting the Timezone property ahead of this scenario - docs on this are here: https://github.com/Microsoft/AI/blob/master/solutions/Virtual-Assistant/docs/virtualassistant-events.md

Can you confirm you are setting the Timezone property ahead of this scenario - docs on this are here: https://github.com/Microsoft/AI/blob/master/solutions/Virtual-Assistant/docs/virtualassistant-events.md

This is how to get the bot to a timezone.  What is missing is that when a user links an account, this should be done as part of the skill.  You should honor the timezone with the bot from the source of the linked account.

This issue is fixed now. But for this request:

If my current time, based on my valid timezone is later than 1:00 PM and it is Friday... I mean next Friday. If it is before 1:00 PM I mean today.

When current date is Friday, the result of DateTimeRecoginizer is only have last Friday and today these two dates. So we can't create the meeting to next Friday. I think this logic is fine, most of users will choose to say "next Friday" instead of "Friday" in this case.


Update README.md

some README updates. not comprehensive though

@maojanlin please go ahead and edit/merge the PR if you approve it or would like to make changes.


Can't load the website :)

https://docs.pingcap.com/tidb-data-migration/v2.0

Got. We'll fix it ASAP, thanks.

It seems fine now :)


Inconsistencies in displaying multilingual URLs when fallback languages are enabled

I'm using djangocms-blog for a bilingual site (English and Finnish). In the site's settings, I have defined that either language can be used as the other's fallback (http://docs.django-cms.org/en/latest/topics/multiple_languages.html). This causes some inconsistent behavior when displaying URLs of posts that only exist in one language in different contexts.

A post only exists in English and I'm in a Finnish page containing apphook post list / latest posts plugin. The URL in the link is for the "Finnish version" of the post. When the link is followed, the site is showing the English content of the post as a fallback, but the URL, menus, etc. are in Finnish.

I'm visiting the post in any language. The URL in the language chooser for the "Finnish language" version of the post is always the English language URL. This is my personal preference, as I consider the English URL as canonical in case I haven't translated the post to Finnish.

My expectation is: if a post only exists in one language, show the canonical URL (the URL of the English version in the above example) in every context. I solved this for my site by modifying the get_absolute_url() method of the BlogPost and BlogCategory models to also query the fallback language in case the current language doesn't yield a result. This way any link to the post is always in the same language as the content, regardless of the language of the page the link it appears in.
The (botched, largely untested) patch I wrote can be found here: https://github.com/jasujm/djangocms-blog/commit/cfa4c678dbf8b8baa35d307dd203e21acbbfe703
I'd like to have an opinion on how fallback languages should be handled in post listings and other contexts. To recap: The main options are

Page in language A is displaying a link to a post that only exists in language B. The URL points to a page "in language A". The page URL, menus, etc. are in language A, but the post content is in language B.

Page in language A is displaying a link to a post that only exists in language B. The URL is always to a page in language B. When followed, the page URL, menus in addition to the content of the post are in language B.

The patch I linked above essentially implements the second option. I'd be happy to clean up, properly test and contribute the patch if that's the preferred way.

@jasujm thanks for sharing your findings.
I am writing fro the top of my head (I will do further checks shortly), thus take this with a grain of salt.
The fallback mechanism used here is the parler's one, which should behave basically the same as the django CMS' one, but it's not 100% guaranteed. IIRC parler does not have the "redirect on fallback" options django CMS has (http://docs.django-cms.org/en/latest/reference/configuration.html#cms-languages)
Usually keeping the user context (so same URL language, menu etc) is preferred, which is the current blog behavior and option 1 in your list.
In django CMS the option 2 is managed via the redirect_on_fallback CMS_LANGUAGES option, which is not available on parler
The option to change the get_absolute_url is definitely handy and easier than implementing redirect at parler level. I would definitely accept to integrate option 2, as long as it's a configurable option

Fixed by #572


Feature suggestion: Change download interval of already added manga

It would be handy to be able to edit the download interval after a manga has been added.
If one could also have more intervals or custom intervals added that would be neat too, maybe something like 1 hour, 6 hour, 12 hour, daily, weekly.

Same for finished one, should have a 'never'


Optimice and reduce the resources

Resources like .js and .css files have been bundled to reduce the number of requests
The bundles are minified to reduce the size of the files
Prevent loading of phone images on load, there are loaded when is selected the set that is going to be used

Cool! On the way to prod! :·)

Here's the comparison between the old version and the version after this PR.
By the way, the graph that loads the webpage is strange, because it's like it didn't do the animation in the old version. And the old version loads in four blank squares and the new one in five. It's strange, because the numbers of the new version are actually better.
Well, just sharing! The big score is better in the new version, cool! 👍


[openssl] fix mingw arm64 build

Fixes https://github.com/microsoft/vcpkg/issues/35731. Patch file copied from MSYS2 project: https://github.com/msys2/MINGW-packages/blob/master/mingw-w64-openssl/001-support-aarch64.patch

@microsoft-github-policy-service agree

##[error]Found the following errors:
##[error]versions/o-/openssl.json(2,): error : while parsing versions for openssl from version/o-/openssl.json
3.1.4#1 is declared with 5ee74387a1dd212dc9754c614809ff86bd0638fa, but the local port has a different SHA 6f02f56eef2f066c7c1066b27f3092b477517544.
Please update the port's version fields and then run:
vcpkg x-add-version openssl

Please run command ./vcpkg x-add-version openssl unix to generate version json data and push it.

Please run command ./vcpkg x-add-version openssl unix to generate version json data and push it.

Please extend and correct.

Please run command ./vcpkg x-add-version openssl unix to generate version json data and push it.

Please extend and correct.

Done

Please run ./vcpkg x-add-version portName  before each push:

I have changed port-version to 2 and run ./vcpkg x-add-version  openssl.

/azp run

I will close this and resubmit a pull request to resolve conflicts.