Add linear interval wait for retry

This adds a one second interval between retries to give the unavailable or unauthenticated target sidecar a chance to recover.

can we use this grpc middleware ? - https://pkg.go.dev/github.com/grpc-ecosystem/go-grpc-middleware/retry?tab=doc

can we use this grpc middleware ? - https://pkg.go.dev/github.com/grpc-ecosystem/go-grpc-middleware/retry?tab=doc

Not yet, last time I checked it it had issues.
I'll check it again in the future.

@yaron2 will we update actor remote invocation as well?

/ok-to-test

@yaron2 will we update actor remote invocation as well?

Yeah, I updated the actor remote invocation as well.
The two invocation methods are very similar and can probably be made into one function. I'll investigate that in a future PR.
The latest commit lays the groundwork for it by externalizing the retry values into the retry package.

/ok-to-test

@youngbupark can you review again.
Also, how come the e2e passed in 14 minutes??

/ok-to-test


Bugfix write to left languages

in write to left languages like Farsi and Arabic the dialog view direction fixed.

To clarify the issue. In rtl languages like arabic. The phone numbers is ltr not rtl. So in rtl views they need to be under directionality widget with ltr text direction. I guess it will be better to be configurable . rtl, ltr or auto based on context


The code?

Hi,
Do you plan on open sourcing the code ?
Thanks

Hi, unfortunately I have paused the development of the Julia code. If you want to give it a try in python you can use the code here: https://github.com/TobiaMarcucci/gcspy Also this python code is very experimental, so please forgive me you find any bug!

Ill look at the python code! would it be possible to have acces to the old julia code as a starting point ?


Support for additional task types and outputs

[ ] Multi-class classification or multi-label tasks
[ ] Sequential decoding prediction tasks
[ ] Time-to-event prediction tasks

We hope to directly support tasks whose labels cannot be reliably summarized as a single numerical value (ie., a sequential decoding task where we want to predict a sequence of outputs, such as future treatment sequences). For tasks that rely on time-to-event as a paradigm, labels can currently be manually extracted via the window start/end times (ie., subtracting start from end of your window containing your event of interest, and then bucketing appropriately post-hoc).

To-do: merge this and #45


[FLINK-2275] Migrate test from package 'org.apache.flink.test.javaApiOperators'

migrated test from execute() to collect()
subtask of https://issues.apache.org/jira/browse/FLINK-2032

I adapted all tests except for DataSinkITCase and ExecutionEnvironmentITCase.

DataSinkITCase -> seems to test writing to file explicit; would not make sense to change it (tell me, if I am wrong)
ExecutionEnvironmentITCase ->uses LocalCollectionOutputFormat, and is not writing to disc already

All in all this looks good.
The only think that strikes me is the of the test pattern(that way used also before by the tests. I am not a big fan of validating results in an @After method. I find the tests more readable if they simply call the comparison themselves at the end:
List<Tuple2<String, Integer>> result = data.collect()

String expected = "Hello,2\n" +
                  "Dude,5\n"

compareResultAsTuples(expexted, result)

This also solves the issue with the raw type lists, which is usually an indicator that something is not modeled in the right way (unless you dynamically load or instantiate types).

This comment is not a blocker for merging this. Let's just not write future tests like this, and whenever we touch something, we could on-the-fly migrate the tests to not follow this pattern any more...

I agree. I just did not want to change the current pattern... However, we should do it the right way in this PR, too. I will update the code accordingly.

Done. Failing tests revile a Kafka problem (in my Travis, too  https://travis-ci.org/mjsax/flink/builds/68598571). Is it known? Module flink-tests passed in all runs.
Should be ready to get merged.

@gyfora re-enabled a disabled Kafka test in this pull request: https://github.com/apache/flink/pull/747/files
The test is known to be unstable, thats why I disabled it for the time being. Can you disable it again in your PR?

Sorry about re-enabling the failing test, I completely missed it...
Matthias please @ignore it :P
Btw @rmetzger do we have a JIRA for this?

Done. If Travis is green, please merge. :)

Looks good, let me merge this...


[Dashboard] Add pipeline for running test cases

Before applying, Read our Contributor Guidelines and README.
Create github pipeline for running test cases in dashboard_app
Please create one simple test file to test it using pytest
Feel free to check how it was done for another app, data_handler

Can I take this from here? I love orange


Security, SMS sending

When I'm using the branch SDK on the client side, what prevents a malicious attacker from stealing my Branch key, and use it to send texts, even with arbitrary messages?
Is there a way to restrict API calls, maybe restricting based on Origin header?

Hey @finnhvman, great question!
Because of the way that Text-Me-The-App is designed to function (an arbitrary, unauthenticated user must be able to make the request to send an SMS message) there isn't anything directly stopping an attacker from using your Branch key to send a message, since restricting in this way has the potential to block legitimate users from using the feature.
Your suggestion of an Origin header check would work well for assuring that a message was actually sent from your domain (preventing CSRF), but there are still ways for an attacker to get around this (eg, they could visit your site and manually send messages). Because of this, we focus primarily on preventing the ability for a TMTA link to be used maliciously, even if it is delivered to a user's device, as well as methods of detecting and blocking illegitimate traffic (for obvious reasons, I can't go into much detail on this part).
Above said, if you have any specific concerns, please don't hesitate to reach out to<EMAIL_ADDRESS>Happy Deep Linking!


Support sorting by vector for API Tables

Given this table CQL:
CREATE TABLE IF NOT EXISTS vector_5 (
  key text,
  comment text,
  comment_vector VECTOR <FLOAT, 5>,
  PRIMARY KEY (key)
);

CREATE CUSTOM INDEX vector_5_comment_vector_idx ON vector_5(comment_vector)
  USING 'StorageAttachedIndex';

This insert worked:
{
    "insertOne": {
        "document":
            {
                "key" : "doc 1",
                "comment": "comment about cheese and monkeys",
                "comment_vector": [0.45, 0.09, 0.01, 0.2, 0.11]
            }
    }
}
{
    "status": {
        "primaryKeySchema": {
            "key": {
                "type": "text"
            }
        },
        "insertedIds": [
            [
                "doc 1"
            ]
        ]
    }
}

Can see this in the table:
cassandra@cqlsh:demo>
cassandra@cqlsh:demo> select * from vector_5;

 key   | comment                          | comment_vector
-------+----------------------------------+-------------------------------
 doc 1 | comment about cheese and monkeys | [0.45, 0.09, 0.01, 0.2, 0.11]

(1 rows)

But when doing ANN sort:
{
    "find": {
        "sort":
            {
                "comment_vector": [0.45, 0.09, 0.01, 0.2, 0.11]
            }
    }
}

{
    "errors": [
        {
            "message": "Invalid sort clause value: Sort ordering value can only be `1` for ascending or `-1` for descending (not `[0.45,0.09,0.01,0.2,0.11]`)",
            "errorCode": "INVALID_SORT_CLAUSE_VALUE",
            "id": "af946cb8-61a6-4bfa-81ba-be37586b00f7",
            "family": "REQUEST",
            "title": "Invalid sort clause value",
            "scope": "SORT"
        }
    ]
}

insert working as expected, this ticket is to make sort work as expected.
We will then work on $vecotrize separately.

Looking at this


CI: add android + ios builds

some points that might require special attention during review:

zeromq-src from https://github.com/LNP-BP/zeromq-src-rs is now applied globally instead of just for android
lightning-invoice is now fetched from https://github.com/LNP-BP/rust-lightning-invoice to avoid the same error as in https://github.com/LNP-BP/rgb-node/issues/4
openssl is now vendored for ios
these new jobs use cargo check instead of cargo build, as in 467ba2a80e945c3e4915a43b3ee82bde08b6607b

zeromq-src from https://github.com/LNP-BP/zeromq-src-rs is now applied globally instead of just for android

This does not work that way. The patch-io section only works for the current crate and do not propagate to the crates using it. Meaning that when you add it here the downstream dependency will still compile lnpbp crate against unpatched version! the only way of patching which zmq version lnpbp crate use is to patch it at the level of rgb-sdk directly (and the patch will apply to all dependencies there)

lightning-invoice is now fetched from https://github.com/LNP-BP/rust-lightning-invoice to avoid the same error as in LNP-BP/rgb-node#4

Again, we can't do it since this will prevent this crate from being published/release (we can only publish/release crates with dependencies on published crates). The only way is to apply the patch at the topmost level (i.e. rgb-sdk)

openssl is now vendored for ios

agree

these new jobs use cargo check instead of cargo build

I think I already fixed it in https://github.com/LNP-BP/rust-lnpbp/commit/467ba2a80e945c3e4915a43b3ee82bde08b6607b

dropped zeromq-src
restored published lightning-invoice version
rebased on master
removed some unnecessary steps and components (faster now)
updated cmdline-tools and added sha256sum check on the downloaded zip file

also, dropped 32-bit android architectures and ios for the moment, as they fail to build now and can be added later
I think this is now ready for you to review again

these new jobs use cargo check instead of cargo build, as in 467ba2a80e945c3e4915a43b3ee82bde08b6607b

I think I already fixed it in 467ba2a

yep, meant to say that I noticed the change you introduced and updated accordingly

going back to lightning-invoice and the fact that it would prevent this crate from being published, I can confirm (used cargo publish --dry-run as reference) that it fails when replacing the current dependency but succeeds when patching it
I'm thus going to update this PR patching lightning-invoice and re-introducing android 32-bit targets

ios and windows have been added, this should now be complete


[Feature Request] - Candlesticks for financial time series annotation

Is your feature request related to a problem? Please describe.
This is my first Issue/Feature Request, because I really like Label Studio 😊, I'm sorry if something is not quite right
Candlesticks are the most widely used format for visualising and annotating financial price data (in TradingView for example). But TradingView won't let you export the annotations. This is how I found Label Studio.
Checking the open issues, I see this could be related to plotting more than one series per channel, as candlesticks are formed by open, high, low and close data. Right now I have this data in four separate channels (as below) which is not ideal.

Describe the solution you'd like
Be able to plot open, high, low and close variables for financial price data in the same channel in candlesticks format (as below).
Also drawing basic lines on the chart/channel would be amazing 😊

Describe alternatives you've considered
I tried annotating on only the close time series (single channel), but the window is very small and doesn't fill the whole screen (see below), which makes it hard to see the details. Would be nice if it would use the whole screen automatically, I tried a lot of parameters and with Cursor helping me, the maximum I could do was send the channel to the bottom of the screen, but the top part stays empty.

Additional context
I searched all the Issues twice and found some similar issues but not the same issue. Wasn't sure if to comment on similar issues or open a new one. Also, not sure if the "alternatives I've tried" part should a be a separate issue, since it's related to my use case but may be a separate issue.

I know it's been a while but thanks for the feature request @dracpet, we really appreciate it. Our team is a bit backed up right now but we'll think through the use case here and see if it's possible to work on implementing.


⚠ AsianCinema has degraded performance

In c0bc47f, AsianCinema ($ACM) experienced degraded performance:

HTTP code: 200
Response time: 3277 ms

Resolved: AsianCinema performance has improved in 34d3d91.


fix bug: can not save service with different app value

Pull Request Test Coverage Report for Build 1455

50 of 62 (80.65%)  changed or added relevant lines in 4 files are covered.
9 unchanged lines in 4 files lost coverage.
Overall coverage increased (+0.2%) to 63.981%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

core/registry/struct.go
16
20
80.0%

core/registry/servicecenter/cache.go
28
36
77.78%

Files with Coverage Reduction
New Missed Lines
%

core/registry/servicecenter/cache.go
2
46.13%

core/rpc_invoker.go
2
93.1%

session/session_manager.go
2
64.93%

metrics/metric.go
3
59.26%

Totals

Change from base Build 1452:
0.2%

Covered Lines:
4972

Relevant Lines:
7771

💛  - Coveralls


MM-7881 add e2e cypress test for verifying default notifcation statuses

Summary
Per QA's request, adding a test to match the change made in server in MM-7881
Ticket Link
Fixes https://github.com/mattermost/mattermost-server/issues/13818
Related Pull Requests
Server PR 13851
Screenshots
NA, just e2e cypress tests

This PR isn't ready yet, I'll report back when it is!

@lindy65, @srkgupta & @ali-farooq0 this PR is ready for review!

For sure - that was really cool to learn how the automated e2e tests work! Now I just need to get it to pass lint tests ;)

@srkgupta - Thanks so much for the review!  I'll dive into your feedback today and work to implement it.  I'm not surprised there's issues with my PR - I had to guess at how to do a lot of the things.  Happy to make it better!
For future reference, are the docs on e2e tests where I can find things like loginAsNewUser()?
Thanks thanks!

Thanks @Ths2-9Y-LqJt6. Currently we don't have any separate documentation for the existing methods like loginAsNewUser. We generally have the existing tests as a reference.

@srkgupta - gotcha, thanks for the info.  I'll fix the tests per your feedback and report back!

@srkgupta - I've made a first pass at refactoring the test per your request.  In chat I mentioned I was hitting an error with "This team has reached the maximum number of allowed accounts. in Cypress when using the loginAsNewUser() call.  You suggested increase the allowed users in the config via MaxUsersPerTeam. However, this needs to be baked into the automated e2e tests, so how do I make this change programmatically from within the test?
Also - as a heads up I'm taking a 1  week break ending Mar 25th. At the time  @jwilander has encouraged me to focus on MM-10702.  I hope to circle back to this after that ticket, but it might be a spell!

Thanks @Ths2-9Y-LqJt6. The Max users per team setting is already handled on the daily CI instance where the tests are running. Hence you can ignore it and just manually update it on the instance when you see such failures.
I am traveling currently and I will review the updated test tomorrow and will post an update.

@srkgupta - Oh!! I see.  OK, thanks for the info and sorry if I missed that info that I should have already known.  I haven't tested this using the manual change just yet, so please hold of on your own testing.  I'll report back later and safe travels!

Hey all - I've stopped all work on MM so I'm closing the PR.  Feel free to re-open or re-assign or what ever is most helpful to move forward with out me.


添加创建文件夹的测试用例

Coverage increased (+2.0%) to 58.616% when pulling 0fa002df02bff61d186b7120a71d7ac42277925a on focalism:master into 1bea626b6dd095a55f9e7c82b5614d2ca2e177b4 on Prodesire:master.

Coverage increased (+2.0%) to 58.616% when pulling 0fa002df02bff61d186b7120a71d7ac42277925a on focalism:master into 1bea626b6dd095a55f9e7c82b5614d2ca2e177b4 on Prodesire:master.

Coverage increased (+2.0%) to 58.616% when pulling f3678730f37b063a868fd6c2adccd9155678ec3f on focalism:master into 1bea626b6dd095a55f9e7c82b5614d2ca2e177b4 on Prodesire:master.

Coverage increased (+2.0%) to 58.616% when pulling 23845c8cbb570a59d0bd7e95dd5533cfe5644212 on focalism:master into 1bea626b6dd095a55f9e7c82b5614d2ca2e177b4 on Prodesire:master.


how to control mediacontrol show and hide

when mousemove and moseleave container the mediacontrol auto show and hide ,i can't control it show or hide;how to control it with javascript

@569934390 you can call the methods show and hide on the media control object. Assuming you have a player object, you could do something like this:
// shows media control
player.core.mediaControl.show()
// hides media control
player.core.mediaControl.show()

What about option chromeless: true,
http://cdn.clappr.io/
var playerElement = document.getElementById("player-wrapper");

var player = new Clappr.Player({
  source: 'http://clappr.io/highline.mp4',
  poster: 'http://clappr.io/poster.png',
  mute: true,
  height: 360,
  width: 640,
  chromeless: true,
  autoPlay: true
});

player.attachTo(playerElement);

maybe I didn't describe clearly, i mean how to control it hide or show, then when mouseover or mouseleave it don't hide or show again.if i use your method ,it will still show and hide when mousemove or mouseleave.

Hey @569934390,
Do you want that neither mousemove or mouseleave shows the media control? when would it show? you do have chromeless options too
Just out of curiosity, why do you need that?

In my case, I need to turn off controls by default, but turn them back ON in fullscreen mode.
Other case, is when I change the seek position with API - the controls are displayed (that is wrong)

Hey @leandromoreira
yes, i want it hide anytime ,the requirement is that, except the real video, i also need to play advertisement (before adv and after adv),so when the before or after adv is playing  i don't want
the mediacontrol show ,but when the real video is playing i want the mediacontrol show.

@569934390 you can disable/enable it !!!
core.mediaControl.disable()
and
core.mediaControl.enable()

i already tried ,but it seems don't work, when the mouse move or leave, the mediacontrol is still show or hide, the disable properties is still true,it seems like there is something changed it

@569934390 you need to do that on play or in an event, maybe enable it again on pause.
Go to http://cdn.clappr.io, before you hit play type the following:
p.on(Clappr.Events.PLAYER_PLAY, function(){p.core.mediaControl.disable()})
Please notice that p will be not available and you should use your clappr instance.

@leandromoreira
thanks a lot ,it worked !
i try my code on http://cdn.clappr.io too ,it seems work fine,so maybe i used a old version which has this bug. the new version already fix it

hey @569934390 you can always use events, the p is not a bug, the only thing is that we're not exposing it through document.window but you can always use your instance :)

var player = new Clappr.Player({
  source: "http://your.video/here.mp4",
  parameter1: "value1",
  parameter2: "value2",
});

player.on(Clappr.Events.PLAYER_PLAY, function(){p.core.mediaControl.disable()})
//and
player.on(Clappr.Events. PLAYER_ENDED, function(){p.core.mediaControl.enable()})

@leandromoreira
i use it the same way ，but not the player_play event，maybe i use the wrong event!
and the document(http://clappr.github.io/) is too simple,maybe some demo is good

@leandromoreira
now as i said before,i need to play advertisement,but in mobile it need a tap to play, the load method(player.load(xxxxxx)) will create new video tag ,so i need to tap three times to play before adv,after adv and video,if change  the src ,it only need one tap,so i want to made load method to change src if it's exists. i'm going to change the load method source code,but i think it's a bad way.
do you have any good idea to do it?

@leandromoreira Thanks for the example. One issue here - if player has option autoPlay:true is set then
player.on(Clappr.Events.PLAYER_PLAY, function(){player.core.mediaControl.disable()})

this not works.

@569934390 Yes I have the same problem. No way to change the stream url without reloading player - so in mobile the video will be stopped.

@FDiskas
i means if i play many videos ,but i only want tap one time, if change the exist video src not create new video ,by that  you only need one tap

@569934390 and @FDiskas you can always use load method:
var player = new Clappr.Player({
  source: "http://your.video/ad.mp4",
  parameter1: "value1",
  parameter2: "value2",
});
//on mobile, it requires touch
//then on touch you can load another source :P
player.load("http://your.video/normal.m3u8")

@leandromoreira yes sure, but there is a issue on this with mobile devises #666

I think if you chain the calls (load another source and play it when ready) within the user action, you're good to go.

Yes I tried that already - this not helps.

Why method player.seek(50) shows the controls bar?

Hey @FDiskas if you would navigate through the code, you would see that seeking (no matter if by UI our the API) triggers SETTINGSUPDATE which renders media control:

player.seek
container.setCurrentTime
in case mp4/hls for mobile:

playback.seek

in case hls.js:

playback.seek
mediaControl.render

You can always disable the media control and enable it after the seek.

How can I show the media controller for hls stream?

@Allan-Nava I'm not sure of what you want exactly. The MediaControl component is always shown for any kind of source automatically unless you are using the chromeless option.

I have the m3u8 but the media control doesn't appear

@Allan-Nava can you share a URL where I can see the problem you're having? Can you reproduce the issue on the test page? In what platform are you experiencing this issue?
For example, I tested using a Bitmovin sample HLS stream and it's showing the media control normally. You can check it here.

Maybe because i use another configuration with parentId


Decimal.js-light is not compatible with Prisma.Decimal

Description and expected behavior
I saw that @zenstackhq/runtime replaced decimal.js with its light version. This breaks the compatibility with Prisma. I use nextjs app router with prisma on server-side and zenstack with swr on client-side for things like modals, etc. For some scenarios I use a conversion like new Prisma.Decimal(someDecimalComingFromZenstack ?? aNumber). With 2.5.0 such conversions does not work because decimal.js checks if input to constructor is instanceof Decimal.
Environment (please complete the following information):

ZenStack version: [e.g., 2.5.0]
Prisma version: [e.g., 5.19.1]
Database type: [e.g. MySQL]

Additional context
Add any other context about the problem here.

Hi @sarioglu , I understand it's not ideal, but feel that over all it's worth the reduced bundle size. A workaround could be use the string constructor?
new Prisma.Decimal(someDecimalComingFromZenstack?.toString() ?? aNumber)

Hi 👋 Thank you for your response. I did that as an interim solution. But it won't prevent us from having the same issue in the future. I wonder if there's another way to make sure Decimal-light works with Decimal.


[SPARK-19876][BUILD] Move Trigger.java to java source hierarchy

What changes were proposed in this pull request?
Simply moves Trigger.java to src/main/java from src/main/scala
See https://github.com/apache/spark/pull/17219
How was this patch tested?
Existing tests.

CC @tcondie @tdas

Test build #76668 has started for PR 17921 at commit 6e4e9ac.

Test build #76668 has finished for PR 17921 at commit 6e4e9ac.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/76668/
Test PASSed.

LGTM - merging to master/2.2


Mount volumes to global volume in Docker Swarm and bundle

Hi,
I am using Docker 1.12 and Compose 1.8. I am trying to understand how to mount the volumes for an image to global volumes.
The purpose is to use Docker services and Docker bundle for deploying clusters.
Best regards

" I am trying to understand how to mount the volumes for an image to global volumes."
Your question isn't clear to me, do you mind explaining further?. Are you talking about the VOLUME's defined within the Dockerfile for an image?

yes


Discuss project generation system

Decide between Premake and CMake.

IMHO, considering that it is an open-source project, it will be better if we use CMake.

Then we should have some sync how to setup project via cmake, mark it as .lib(dll), other projects connections like (glfw, glm, glad)


Application doesn't started! It is showed splash screen and disapeared.

Last messages in console
Got disconnect! Reason: ping timeout
ASP.NET Core Application connected... global.electronsocket fTtjwYi4jGk8JGxJAAAA 2022-04-12T07:46:11.206Z
stdout: BridgeConnector connected!

.net core 3.1
nodejs version 17.9.0

Last messages in console
Got disconnect! Reason: ping timeout
ASP.NET Core Application connected... global.electronsocket fTtjwYi4jGk8JGxJAAAA 2022-04-12T07:46:11.206Z
stdout: BridgeConnector connected!

.net core 3.1 nodejs version 17.9.0

Clone https://github.com/mehran-mousavi/electron.net-api-demos & Enjoy
Cheers!

Same problem here. Never got it to work.

🎉🚀 New Electron.NET version 23.6.1 released 🚀🎉
With native Electron 23 and .NET 6 support. Your problem should be fixed here. If you continue to have the problem, please let us know. Please note the correct updating of your API & CLI. Info in the README. Have fun!

🎉🚀 New Electron.NET version 23.6.1 released 🚀🎉
With native Electron 23 and .NET 6 support. Your problem should be fixed here. If you continue to have the problem, please let us know. Please note the correct updating of your API & CLI. Info in the README. Have fun!

dont work

dont pass the initial splash screen


Documentation does not say what this package does

I inherited this package as part of an existing project that was started in Laravel 5.3.   We're reviewing packages, and I discovered that no documentation I can find explains what this package does.  I checked Packagist.org, and this git repo. It'd be nice to understand a bit about why this package is useful.
Thank you.

Yes. I also have the same issue here.
There is no official doc to know how to use this package.

I am not good documentation guy, so at least I added image and link to example.php file. But pull request are welcome!

Hi @JakubOnderka, thank you for your reply. Do you mind I add some docs for improving example.php?
I plan to create the official doc like that. Thanks.

Well, I saw the state of this project two days ago, and, well, I think the interface for this library could use some MAJOR refactoring. A total rewrite, actually. So that's what I did!
https://github.com/phpexpertsinc/ConsolePainter
Its fluent interface lets you effortlessly create complex console formatting:
// This is *REALLY* emphasized!
echo $p->italics('This is ') .
    $p->bold('*') . $p->bold()->underlined()->yellow('*REALLY*') .
    $p->bold()->onLightBlue(' emphasized*') . '!' . "\n";

echo $p->yellow('Press ')->bolder()->red('ENTER')->yellow(' to continue...') . "\n";

// Draw the Red, White and Blue:
echo $p->bolder()->red('Red')->dim(', ')->italics()->white('White ')->dim('and ')->blue('Blue') . "\n";

https://user-images.githubusercontent.com/1125541/59557118-15cb7600-8f97-11e9-9a0f-dc0b50898f79.png
You can even create ASCII art, like this derivation of the EU logo:
https://user-images.githubusercontent.com/1125541/59557060-7659b380-8f95-11e9-98df-2a82bbdaae72.png


Update all dependencies, move to Node 20

Closes https://github.com/jupyterhub/action-major-minor-tag-calculator/pull/322 which bump the version of @actions/github to 6.0.0, requiring node 20.
It looks like @actions/github uses fetch to make http calls which can't be mocked by Nock https://github.com/nock/nock/issues/2183 so I've switch to using undici.MockAgent which seems to be the default implementation for fetch in Node.
This will hopefully get rid of the
Warning: The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
warning that appears on invocations of the last release of this action.

Ignore the pre-commit status, we don't use pre-commit in this repo since it's all handled by npm


Data Management API: Created TransferProcess transformers

What this PR changes/adds
Add a transformer from TransferProcess to its DTO, for controllers in the Data Management API to expose transfer process information.
#809 implementation was split into this PR and PR #1005.
Why it does that
Data Management API surface
Further notes
Linked Issue(s)
Relates to #809
Checklist

[x] added appropriate tests?
[x] performed checkstyle check locally?
[x] added/updated copyright headers?
[x] documented public classes/methods?
[x] added/updated relevant documentation?
[x] added relevant details to the changelog? (skip with label no-changelog)
[x] formatted title correctly? (take a look at the CONTRIBUTING and styleguide for details)

Codecov Report

Merging #1006 (a00a799) into main (705a447) will increase coverage by 0.07%.
The diff coverage is 87.50%.

@@             Coverage Diff              @@
##               main    #1006      +/-   ##
============================================
+ Coverage     63.09%   63.17%   +0.07%
- Complexity     2551     2563      +12
============================================
  Files           633      635       +2
  Lines         13679    13710      +31
  Branches        953      956       +3
============================================
+ Hits           8631     8661      +30
+ Misses         4606     4605       -1
- Partials        442      444       +2

Impacted Files
Coverage Δ

...nsform/DataRequestToDataRequestDtoTransformer.java
81.81% <81.81%> (ø)

...ransferProcessToTransferProcessDtoTransformer.java
88.88% <88.88%> (ø)

...or/api/transformer/DtoTransformerRegistryImpl.java
88.00% <100.00%> (ø)

...t/transferprocess/TransferProcessApiExtension.java
100.00% <100.00%> (+100.00%)
: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 705a447...a00a799. Read the comment docs.


fix/improve OpenApi documentation

fixed some issues in the openApi:

added missing response-description
refactored ListLoggerInfo to List of Objects with correct descriptions
used ref to LogLevel-Enum instead of string

Generated OpenApi.yaml should now look like this:
Paths-section:
/masterdata-svc/q/logging-manager:
    summary: "Return info on all loggers, or a specific logger"
    description: Logging Manager Loggers
    get:
      tags:
      - system info (private)
      summary: Information on Logger(s)
      description: Get information on all loggers or a specific logger.
      operationId: logging_manager_get_all
      parameters:
      - name: loggerName
        in: query
        schema:
          type: string
      responses:
        "200":
          description: Ok
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/LoggerInfo'
        "404":
          description: Not Found
    post:
      tags:
      - system info (private)
      summary: Update log level
      description: Update a log level for a certain logger
      operationId: logging_manager_update
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                loggerLevel:
                  $ref: '#/components/schemas/LoggerLevel'
                loggerName: {}
      responses:
        "201":
          description: Created
  /masterdata-svc/q/logging-manager/levels:
    summary: Return all levels that is available
    description: All available levels
    get:
      tags:
      - system info (private)
      summary: Get all available levels
      description: This returns all possible log levels
      operationId: logging_manager_levels
      responses:
        "200":
          description: Ok
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/LoggerLevel'`

Schema-section:
LoggerLevel:
      enum:
      - "OFF"
      - SEVERE
      - ERROR
      - FATAL
      - WARNING
      - WARN
      - INFO
      - DEBUG
      - TRACE
      - CONFIG
      - FINE
      - FINER
      - FINEST
      - ALL
      type: string

LoggerInfo:
      type: object
      properties:
        configuredLevel:
          $ref: '#/components/schemas/LoggerLevel'
        effectiveLevel:
          $ref: '#/components/schemas/LoggerLevel'
        name:
          type: string

Great ! Thanks !

Thanks!...that was fast

No thanks for your contribution. Release is on the way...

Release is done (see https://github.com/quarkiverse/quarkus-logging-manager/releases/tag/2.1.4) - it takes some time to propagate to maven central....

@all-contributors please add @ChMThiel  for code


How to configure dapr gRpc max_receive_message_length?

I'm using dapr binding to fetch azure blob,
await _daprClient.InvokeBindingAsync(
                new BindingRequest("blob-storage", "get")
                {
                    Metadata = {{"blobName", blogName}}
                });

However, if the blob is larger than 4mb, it will result in error:
RpcException: Status(StatusCode="ResourceExhausted", Detail="Received message exceeds the maximum configured message size.")
Dapr.Client.DaprClientGrpc.MakeInvokeBindingRequestAsync(string name, string operation, ByteString data, IReadOnlyDictionary<string, string> metadata, CancellationToken cancellationToken)

DaprException: Binding operation failed: the Dapr endpoint indicated a failure. See InnerException for details.
Dapr.Client.DaprClientGrpc.MakeInvokeBindingRequestAsync(string name, string operation, ByteString data, IReadOnlyDictionary<string, string> metadata, CancellationToken cancellationToken)

Even if the --dapr-http-max-request-size is set, it seems that the gRPC option max_receive_message_length need to be set to a higher value. So how can we customize it？

I solved this by adding the GrpcChannelOptions in Startup.cs:
public void ConfigureServices(IServiceCollection services)
        {
            services.AddControllers()
                .AddNewtonsoftJson()
                .AddDapr(builder => builder.UseGrpcChannelOptions(new GrpcChannelOptions()
                {

                    MaxReceiveMessageSize = 30 * 1024 * 1024,
                    MaxSendMessageSize = 30 * 1024 * 1024
                }));
        }

I guess the max_receive_message_length option only changes the MaxSendMessageSize but not the MaxReceiveMessageSize, but currently I don't have much time to dig into it.
It would be nice if Dapr team can add more into the document :p

You're right, since the Dapr SDKs (mostly) use gRPC clients, the body size setting needs to be set on both Dapr and the gRPC client used by the SDK.
/cc @rynowak

I'm closing this for now, will make sure this is added to either SDK docs or elsewhere.

It did not work for me.
dapr-http-max-request-size is set to 16 MB and also set to the same for UseGrpcChannelOptions.
Please advise further.

I solved this by adding the GrpcChannelOptions in Startup.cs:
public void ConfigureServices(IServiceCollection services)
        {
            services.AddControllers()
                .AddNewtonsoftJson()
                .AddDapr(builder => builder.UseGrpcChannelOptions(new GrpcChannelOptions()
                {

                    MaxReceiveMessageSize = 30 * 1024 * 1024,
                    MaxSendMessageSize = 30 * 1024 * 1024
                }));
        }

I guess the max_receive_message_length option only changes the MaxSendMessageSize but not the MaxReceiveMessageSize, but currently I don't have much time to dig into it.
It would be nice if Dapr team can add more into the document :p

@yaron2 Is there a java equivalent?

I solved this by adding the GrpcChannelOptions in Startup.cs:我通过在Startup.cs中添加GrpcChannelOptions解决了这个问题。
public void ConfigureServices(IServiceCollection services)
        {
            services.AddControllers()
                .AddNewtonsoftJson()
                .AddDapr(builder => builder.UseGrpcChannelOptions(new GrpcChannelOptions()
                {

                    MaxReceiveMessageSize = 30 * 1024 * 1024,
                    MaxSendMessageSize = 30 * 1024 * 1024
                }));
        }

I guess the max_receive_message_length option only changes the MaxSendMessageSize but not the MaxReceiveMessageSize, but currently I don't have much time to dig into it.我猜max_receive_message_length选项只改变了MaxSendMessageSize，而没有改变MaxReceiveMessageSize，但目前我没有太多的时间去研究。
It would be nice if Dapr team can add more into the document :p如果Dapr团队能在文件中加入更多的内容就更好了:p

请问Java要如何解决，目前找不到如何配置这一UseGrpcChannelOptions的位置

I also ran into this recently @drriguz answer worked for me but we should add this into the dotnet sdk docs


https://github.com/lydiahallie/javascript-questions#11-whats-the-output

Hi,
Awesome work on the repo.
But there is one issue that the solution to the question-11 says, 'You can't add properties to a constructor like you can with regular objects'.
This is a wrong statement, because we can add property to the constructor functions also, its just that it will not be accessible to any child who inherits from the constructor function(as explained in the remaining answer).

Seems solved now.

Seems solved now.


Database migrations output to a file

Is your feature request related to a problem? Please describe.
Imagine you have 2 environments, a development and a production environment. When you are developing and changing the datamodel, the database gets updated in your development environment when you do "prisma deploy". But then you need to update your production database. The production database structure should be updated in a controlled manner.
Describe the solution you'd like
Prisma should provide a SQL file containing the queries it executed when it updated the database structure in the development environment. In the prisma YAML file the developer should be able to define if they want such a file by adding an additional property containing the destination path of the SQL file. When this path is defined, Prisma will export the SQL to that path, if it is undefined, it won't do this.
Describe alternatives you've considered
A more complex feature would be that it would incorporate the Umzug library, and generate the migration files to javascript files in the Umzug format.

This is covered with the migrations RFC. Please share your feedback.


[stable/oauth2-proxy] Add htpasswd file checksum to annotations

What this PR does / why we need it:
Right now if there is a change in the htpasswd entries  then the Deployment is not rolled and thus the added user entries to the htpasswd file do not work until the pods are manually deleted. This PR fixes that by adding the htpasswd file checksum to Deployment annotations so that whenever the user entries are updated in the htpasswd file the Deployment will also be rolled out at the time of helm apply automatically.
Special notes for your reviewer:
@desaintmartin @Miouge1
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/mychartname])

I think you need to sign-off the commits.

Signed-Off the commit after rebasing and squashing :+1:

Thanks!
/lgtm


Updated generated documentation

Description
Updated generated documentation
Type of change

Documentation update

Testing steps
N/A

Codecov Report

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

@@           Coverage Diff           @@
##           master      #89   +/-   ##
=======================================
  Coverage   40.42%   40.42%
=======================================
  Files           7        7
  Lines         141      141
=======================================
  Hits           57       57
  Misses         83       83
  Partials        1        1

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 0a92bba...8f9425f. Read the comment docs.


Interfacing our "Attys" to Science Journal

I'm developing a small data acquisition device specifically for education/science which is called "Attys" (see www.attys.tech) which will be released later in the year. I've started writing my own standalone app for it (https://github.com/berndporr/AttysPlot) but I'm really thrilled that the Science Journal is now open source and that ties in perfectly with my aim to have a mobile DAQ box for science experiments.
I've written a class which talks to the Attys (AttysComm), establishes the connection, reads data into a ring buffer and then it expects another thread to read from it. My background is comedi.org (see the usbdux* devices) so I've pretty much written it in a similar way. That might not be exactly the way it should be written for science-journal though.
I've read the thread started by @whatsthebeef and I've got also a couple of custom options which mainly relate to biomedical data acquisition (special signal routing, DC filter, 50/60Hz mains filter) but also the option to measure resistance instead of voltage and the ADC has different sensitivities.
I guess I'd implement a service which has the class AttysComm inside as you've suggested to @whatsthebeef.
I agree that it makes sense to contact you early so I've just done that!

Thanks for getting in touch!  You can get started now with some of the ideas I put forward in #1, but you may find that the code is more stable and documentation is better in about a week, if that helps you planning your schedule.  Looks like an interesting platform!

Thanks and I'm really glad that the timing is pretty perfect in terms of development.

@berndporr, does it make sense to close out this bug and track any additional issues you may have with interfacing with follow-up bugs?  Thanks.


Minimum value for repeat_interval

So I was playing around with alertmanager and tried to set repeat_interval : 1m for an webhook endpoint. With this configuration alerts repeated in 5m duration. When I changed the repeat_interval to 7m, alerts repeated in 10m duration.
So is it by design that minimum repeat interval is 5m and anything above would be factor of 5m? Or am I missing something?
Can I override this behavior?

Hi @soumyadipDe, thanks for reporting. I am not aware of this being by design. I will dig further into it. Can you provide your full Alertmanager config so I can reproduce the issue better?
Question on the side: What is your use case for setting the repeat interval so low?

I can't find it in the code now, but we did add some safety to deal with users trying to set the repeat_interval to 0. There's also a restriction that the repeat_interval must be at least the group_interval.

The use case being creation of auto-scaling of docker containers based on load on each container and repeating the alert after ~ 3m for re-scaling if scaling didn't reduce load as per expectation. For now, I explicitly mentioned group_interval: 1m and put repeat_interval: 3m following comment from @brian-brazil which causes repeating of alert every 4m which is acceptable for our case.

Hello! Sorry for reopening old issue, but it still unclear. I am trying to have 5m repeat_interval.
My route has:
    group_interval: 5m
    repeat_interval: 5m

However still I can see 10m for some reason (I have 27 alerts):

Any ideas what this repeat_interval depends on as well?

group_interval defines how frequently AlertManager will evaluate the alert groups.
The logic defining whether AlertManager should notify or not is (mostly) here:
https://github.com/prometheus/alertmanager/blob/ab11da7c3a05b0251919ff6317092fc06f77c05f/notify/notify.go#L511-L539
repeat_interval kicks in only if the last notification has been sent more than 5m ago but given that the delta is the current time minus the time when AlertManager logged the notification as being successfully sent, it is likely that less than 5 minutes have elapsed. Hence you have to wait 2 group_interval periods.
After a quick test, nothing prevents repeat_interval to be less than group_interval and it might solve your request. The other way is to have a shorter group_interval (eg 1m) in which case the repeated notification will be sent every 6 minutes at most.

After a quick test, nothing prevents repeat_interval to be less than group_interval and it might solve your request.

That doesn't sound right. This sounds like a race.

Having a repeat_interval less than group_interval should result in a notification being sent each group_interval. Setting the two to be equal to force this behavior seems to make sense in my mind, but that probably results in a race condition as this is never explicitly configured in the code.
Perhaps we want to add this?
return (repeatInterval <= groupInterval) || entry.Timestamp.Before(n.now().Add(-repeat))

Thanks for explaining this guys. I think indeed it would be nice to have repeat interval to be clear. IMO either:
A)  repeatInterval should be totally asyncronous to group interval (which probably would increase complexity)
B) repeatInterval should be somehow defined as the multipler of group interval, so something like repeatSampling that will tell how many of groupIntervals should actually notify if no change happend and the alert is firing. So is it 1 (1:1) or 0.2 (1:5) or 0.1 (1:10) etc.. so if it's repeatSampling is 0.25 and group interval 5m, repeat will be every 20m (: That would be the most explicit given the current sync implementation.

Or just being explicit that repeat_interval has to be multipler of group_interval` but we need to solve the race in this case.

The most confusing part of this story for me is that I need to set group_interval: 1s even if I "effectively disables aggregation entirely, passing through all alerts as-is" by setting group_by to special value '[...]'

I was reading through old issues and found this discussion. I also observed the same behaviour and have been wondering for a while if it is intentional that repeat_interval works like this. It almost sounds to me like it might be an implementation artefact rather than a design choice? I updated the docs a months ago to better explain how it works https://github.com/prometheus/alertmanager/pull/3552.

I was reading through old issues and found this discussion. I also observed the same behaviour and have been wondering for a while if it is intentional that repeat_interval works like this. It almost sounds to me like it might be an implementation artifact rather than a design choice? I updated the docs a months ago to better explain how it works https://github.com/prometheus/alertmanager/pull/3552.

I was reading through old issues and found this discussion. I also observed the same behaviour and have been wondering for a while if it is intentional that repeat_interval works like this. It almost sounds to me like it might be an implementation artifact rather than a design choice? I updated the docs a month ago to better explain how it works https://github.com/prometheus/alertmanager/pull/3552.

I was reading through old issues and found this discussion. I also observed the same behavior and have been wondering for a while if this is how repeat_interval is supposed to work? It sounds to me like the current behavior might be an implementation artifact rather than a design choice? Nonetheless, I updated the docs a month ago to better explain how it works https://github.com/prometheus/alertmanager/pull/3552.

Yes, this does not sound right @fabxc @stuartnelson3 @simonpasquier @juliusv
In case group_interval: 3h and repeat_interval: 6 hours, then effectively my repeat_interval is 9 hours.
If i lower down the group_interval to 5 minutes in order to get close to repeat_interval (6 hours 5 minutes) then i get spammed.
The grafana aler manager has a fix for this ? i am planning to evaluate grafana alert manager.


A bit confused as to how to get responsive images working?

Describe your problem/question
I've linked up lazysizes to my site no issues. Adding the lazyload class seems to work. However, I cannot figure out how to swap out images at different break points.
Make it reproduce-able
I have the line:

But no matter what screen size I have it will always display the medium image.
How do I get it to display the smaller image?
Many thanks!
Add tags/keywords
responsive images
⚠ Search for existing open/closed issues/discussions before you ask your question.
⚠ I work on my spare time on helping users out. This means make it easy for me to simply see your live problem and help to fix it.
🤘 No panic: Don't be afraid to ask a question.

Hi Adam,
Here is a example of a normal image with webp and jpg fallback.
David
<picture>
<source media="(max-width: 3500px)"
type="image/webp"
data-sizes="auto"
srcset="data:image/gif;base64,[R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==](https://www.360zuid.nl/R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==)"
data-srcset="
assets/img/responsive-img/small-images/anton-kantoor/webp/sociale-innovatie-3-2-500-px.webp 500w,
assets/img/responsive-img/small-images/sociale-innovatie/webp/sociale-innovatie-3-2-800-px.webp 800w,
assets/img/responsive-img/small-images/sociale-innovatie/webp/sociale-innovatie-3-2-1200-px.webp 1200w" class="lazyload img-responsive">
<img
data-sizes="auto"
data-src="assets/img/responsive-img/small-images/sociale-innovatie/jpg/sociale-innovatie-3-2-800-px.jpg"
srcset="data:image/gif;base64,[R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==](https://www.360zuid.nl/R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==)"
data-srcset="
assets/img/responsive-img/small-images/sociale-innovatie/jpg/sociale-innovatie-3-2-500-px.jpg 500w,
assets/img/responsive-img/small-images/sociale-innovatie/jpg/sociale-innovatie-3-2-800-px.jpg 800w,
assets/img/responsive-img/small-images/sociale-innovatie/jpg/sociale-innovatie-3-2-1200-px.jpg 1200w"
src="[assets/img/responsive-img/small-images/sociale-innovatie/jpg/sociale-innovatie-3-2-800-px.jpg](https://www.360zuid.nl/assets/img/responsive-img/small-images/sociale-innovatie/jpg/sociale-innovatie-3-2-800-px.jpg)" class="lazyload img-responsive"
alt="Some alt text">
</picture>

Hi Adam,
Here is a example of a normal image with webp and jpg fallback.
David
<picture>
<source media="(max-width: 3500px)"
type="image/webp"
data-sizes="auto"
srcset="data:image/gif;base64,[R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==](https://www.360zuid.nl/R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==)"
data-srcset="
assets/img/responsive-img/small-images/anton-kantoor/webp/sociale-innovatie-3-2-500-px.webp 500w,
assets/img/responsive-img/small-images/sociale-innovatie/webp/sociale-innovatie-3-2-800-px.webp 800w,
assets/img/responsive-img/small-images/sociale-innovatie/webp/sociale-innovatie-3-2-1200-px.webp 1200w" class="lazyload img-responsive">
<img
data-sizes="auto"
data-src="assets/img/responsive-img/small-images/sociale-innovatie/jpg/sociale-innovatie-3-2-800-px.jpg"
srcset="data:image/gif;base64,[R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==](https://www.360zuid.nl/R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==)"
data-srcset="
assets/img/responsive-img/small-images/sociale-innovatie/jpg/sociale-innovatie-3-2-500-px.jpg 500w,
assets/img/responsive-img/small-images/sociale-innovatie/jpg/sociale-innovatie-3-2-800-px.jpg 800w,
assets/img/responsive-img/small-images/sociale-innovatie/jpg/sociale-innovatie-3-2-1200-px.jpg 1200w"
src="[assets/img/responsive-img/small-images/sociale-innovatie/jpg/sociale-innovatie-3-2-800-px.jpg](https://www.360zuid.nl/assets/img/responsive-img/small-images/sociale-innovatie/jpg/sociale-innovatie-3-2-800-px.jpg)" class="lazyload img-responsive"
alt="Some alt text">
</picture>


alignmentsTrack: SNP histogram does not match pileup

When I view a particular contig from 1-1000 bp, the alignmentsTrack shows a lot of SNPs in the histogram at the start of the contig. The high number of SNPs in the histogram do not match the SNPs in the pileup part of the track (much fewer). When I zoom into that region of the contig (1-300 bp), most of the SNPs in the histogram disappear, and now the SNPs match the pileup. See the attached pics.

sessionInfo
R version 4.1.2 (2021-11-01)
Platform: x86_64-conda-linux-gnu (64-bit)
Running under: Ubuntu 18.04.6 LTS

Matrix products: default
BLAS/LAPACK: /tmp/global2/nyoungblut/code/DeepMAsED/conda_envs/dm-genome/lib/libopenblasp-r0.3.18.so

locale:
 [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C
 [3] LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8
 [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8
 [7] LC_PAPER=en_US.UTF-8       LC_NAME=C
 [9] LC_ADDRESS=C               LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C

attached base packages:
[1] grid      stats4    stats     graphics  grDevices utils     datasets
[8] methods   base

other attached packages:
[1] Gviz_1.38.0          GenomicRanges_1.46.0 GenomeInfoDb_1.30.0
[4] IRanges_2.28.0       S4Vectors_0.32.0     BiocGenerics_0.40.0

loaded via a namespace (and not attached):
  [1] ProtGenerics_1.26.0         bitops_1.0-7
  [3] matrixStats_0.61.0          bit64_4.0.5
  [5] filelock_1.0.2              RColorBrewer_1.1-2
  [7] progress_1.2.2              httr_1.4.2
  [9] repr_1.1.4                  backports_1.4.1
 [11] tools_4.1.2                 utf8_1.2.2
 [13] R6_2.5.1                    rpart_4.1.16
 [15] lazyeval_0.2.2              Hmisc_4.6-0
 [17] DBI_1.1.2                   colorspace_2.0-2
 [19] nnet_7.3-17                 gridExtra_2.3
 [21] tidyselect_1.1.1            prettyunits_1.1.1
 [23] bit_4.0.4                   curl_4.3.2
 [25] compiler_4.1.2              Biobase_2.54.0
 [27] htmlTable_2.4.0             xml2_1.3.3
 [29] DelayedArray_0.20.0         rtracklayer_1.54.0
 [31] checkmate_2.0.0             scales_1.1.1
 [33] rappdirs_0.3.3              pbdZMQ_0.3-7
 [35] stringr_1.4.0               digest_0.6.29
 [37] Rsamtools_2.10.0            foreign_0.8-82
 [39] XVector_0.34.0              dichromat_2.0-0
 [41] base64enc_0.1-3             jpeg_0.1-9
 [43] pkgconfig_2.0.3             htmltools_0.5.2
 [45] MatrixGenerics_1.6.0        ensembldb_2.18.1
 [47] dbplyr_2.1.1                fastmap_1.1.0
 [49] BSgenome_1.62.0             htmlwidgets_1.5.4
 [51] rlang_0.4.12                rstudioapi_0.13
 [53] RSQLite_2.2.8               BiocIO_1.4.0
 [55] generics_0.1.2              jsonlite_1.7.3
 [57] BiocParallel_1.28.0         dplyr_1.0.7
 [59] VariantAnnotation_1.40.0    RCurl_1.98-1.5
 [61] magrittr_2.0.2              GenomeInfoDbData_1.2.7
 [63] Formula_1.2-4               Matrix_1.4-0
 [65] Rcpp_1.0.8                  IRkernel_1.3
 [67] munsell_0.5.0               fansi_1.0.2
 [69] lifecycle_1.0.1             stringi_1.7.6
 [71] yaml_2.2.2                  SummarizedExperiment_1.24.0
 [73] zlibbioc_1.40.0             BiocFileCache_2.2.0
 [75] blob_1.2.2                  parallel_4.1.2
 [77] crayon_1.4.2                lattice_0.20-45
 [79] IRdisplay_1.1               Biostrings_2.62.0
 [81] splines_4.1.2               GenomicFeatures_1.46.1
 [83] hms_1.1.1                   KEGGREST_1.34.0
 [85] knitr_1.37                  pillar_1.7.0
 [87] uuid_1.0-3                  rjson_0.2.21
 [89] biomaRt_2.50.0              XML_3.99-0.8
 [91] glue_1.6.1                  evaluate_0.14
 [93] biovizBase_1.42.0           latticeExtra_0.6-29
 [95] data.table_1.14.2           png_0.1-7
 [97] vctrs_0.3.8                 gtable_0.3.0
 [99] purrr_0.3.4                 assertthat_0.2.1
[101] cachem_1.0.6                ggplot2_3.3.5
[103] xfun_0.29                   AnnotationFilter_1.18.0
[105] restfulr_0.0.13             survival_3.2-13
[107] tibble_3.1.6                GenomicAlignments_1.30.0
[109] AnnotationDbi_1.56.1        memoise_2.0.1
[111] cluster_2.1.2               ellipsis_0.3.2

An example from another contig, in which the SNPs in the histogram don't match the pileup, even when zoomed into to a small region of the contig:

I'm just using bowtie2 to map reads to the contigs assembled with those reads. The alignemntTracks is an indexed BAM, and the sequenceTrack is an indexed fasta.

Hi @nick-youngblut,
Would you mind to share part of your data (filtered reads for this region as a BAM file)?
Best
Robert

The files are available at http://ftp.tue.mpg.de/ebio/nyoungblut/. They include all contigs, in case you want to assess other contigs than the ones shown above


Adding a switch for the memlimit in item_cachedump

It is not really a bug but a feature request:
Could you consider to add a switch [for example -ml] for the variable memlimit in items.c which is used in item_cachedump()?
For the moment it is 2MB and because of this only a limited amount of keys is returned when running stats cachedump.
I don't really think it would negatively affect the program when you display a warning - like you already do when setting a higher value for the -I switch.

Since that's a debug command I don't think we'll be adding anything like that. Keep an eye on future development for new logging features which should help a lot. Also read over the wiki for ideas on how to do work without relying on cachedump.
sorry!


Question: PID and log rotation?

I could probably answer the question myself by looking at the code ;-), but:
How does the log rotation handle PIDs in filen ames, or how would it handle dates in file names (#66)?
If I start an application over and over again with a unique identifier in the log file name (PID, Date (kind of unique) :-), Date+Time, ...), would I get an infinite number of log files?
My expectation is that the log rotation should limit the number of created files by tag. So if I set the log rotation to ten and use a "unique" ID in the file name, the last ten starts of the application would be logged into separate files with a unique ID each.

PID in log file names has 2 utilization scenarios:

mantain log "by execution" avoiding log rotation in case of subsequent executions.
allow to use loggerpro when more than one instance is running (mostly in the case of desktop applications)

In all the other cases is not useful.

Let's rephrase this:

Should there be a (configurable) limit on the number of log files created when the PID is used?
Could the log rotation parameter serve as the limit? E.g. log rotation is set to 10. A maximum of ten logs per execution is kept.

Log Rotation requires that the filename can be regenerated based only on "index". So the filename cannot depend on time.
About the PID the reason a a bit different. Log Rotation can rotate logs generated by the same "run" but cannot rotate logs generated by a previuos run. However, in the case of PID, this is what you need (don't overwrite log from a previous run), so it's OK.


[WFLY-17404] Upgrade RESTEasy to 6.2.2.Final

https://issues.redhat.com/browse/WFLY-17404
Tag: https://github.com/resteasy/resteasy/releases/tag/6.2.2.Final
Diff: https://github.com/resteasy/resteasy/compare/6.2.1.Final...6.2.2.Final

https://issues.redhat.com/browse/RESTEASY-3247 needs to be thought over again. When the org.jboss.resteasy.microprofile.configis present, it will load the org.jboss.resteasy.microprofile.config.ConfigConfiguration. However, if the microprofile-smallrye-config subsystem is not present, the implementation cannot be found.

I've pushed a second commit, but I'm not 100% sure this is how we want to handle it. It some ways it does make sense to handle this way. It works and makes sense to allow different configurations per-deployment though.

/retest

Thanks @jamezp and @asoldano


[type: test]: fixes #3292 Increase the test coverage of package: plugin-rewrite to more than 80%

// Describe your PR here; eg. Fixes #issueNo

Make sure that:

[ ] You have read the contribution guidelines.
[ ] You submit test cases (unit or integration tests) that back your changes.
[ ] Your local test passed mvn clean install -Dmaven.javadoc.skip=true.

Codecov Report

Merging #3301 (76e333f) into master (2f48743) will increase coverage by 0.05%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #3301      +/-   ##
============================================
+ Coverage     60.46%   60.52%   +0.05%
- Complexity     4805     4813       +8
============================================
  Files           742      742
  Lines         20955    20955
  Branches       1920     1920
============================================
+ Hits          12671    12682      +11
+ Misses         7161     7149      -12
- Partials       1123     1124       +1

Impacted Files
Coverage Δ

...henyu/plugin/grpc/resolver/ShenyuNameResolver.java
62.76% <0.00%> (-1.07%)
:arrow_down:

...rg/apache/shenyu/plugin/rewrite/RewritePlugin.java
72.22% <0.00%> (+16.66%)
:arrow_up:

...ugin/rewrite/handler/RewritePluginDataHandler.java
100.00% <0.00%> (+90.00%)
: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 2f48743...76e333f. Read the comment docs.

这是来自QQ邮箱的假期自动回复邮件。你好，我最近正在休假中，无法亲自回复你的邮件。我将在假期结束后，尽快给你回复。


feature: S3C-4244 Implement generate account access key

Hello saitharunthodupunuru,
My role is to assist you with the merge of this
pull request. Please type @bert-e help to get information
on this process, or consult the user documentation.
Status report is not available.

Waiting for approval
The following approvals are needed before I can proceed with the merge:

the author

2 peers

Codecov Report

Merging #18 (b50e9b4) into development/1.0 (f225c5b) will increase coverage by 0.34%.
The diff coverage is 100.00%.

@@                  Coverage Diff                  @@
##             development/1.0      #18      +/-   ##
=====================================================
+ Coverage              83.69%   84.04%   +0.34%
- Complexity                28       29       +1
=====================================================
  Files                      5        5
  Lines                     92       94       +2
=====================================================
+ Hits                      77       79       +2
  Misses                    15       15

Impacted Files
Coverage Δ
Complexity Δ

...ty/vaultclient/services/AccountServicesClient.java
57.14% <100.00%> (+7.14%)
5.00 <1.00> (+1.00)

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 f225c5b...b50e9b4. Read the comment docs.

/approve

In the queue
The changeset has received all authorizations and has been added to the
relevant queue(s). The queue(s) will be merged in the target development
branch(es) as soon as builds have passed.
The changeset will be merged in:

:heavy_check_mark: development/1.0

There is no action required on your side. You will be notified here once
the changeset has been merged. In the unlikely event that the changeset
fails permanently on the queue, a member of the admin team will
contact you to help resolve the matter.
IMPORTANT
Please do not attempt to modify this pull request.

Any commit you add on the source branch will trigger a new cycle after the
current queue is merged.
Any commit you add on one of the integration branches will be lost.

If you need this pull request to be removed from the queue, please contact a
member of the admin team now.
The following options are set: approve

I have successfully merged the changeset of this pull request
into targetted development branches:

:heavy_check_mark: development/1.0

Please check the status of the associated issue S3C-4244.
Goodbye saitharunthodupunuru.


improvement: add celery task_id into tags

Reference to issue: https://github.com/getsentry/sentry-python/issues/552
The task id is very useful for debugging celery tasks. I add it by using set_tag.

@untitaker I just update and push again. The check failed at the documentation process. I found it failed from the previous commit. My change is affect because I rebase onto the master branch.

Thanks!


Setup: recommend enabling CLI autocompletion

CLI autocompletion is a super power. We should recommend that people enable it when setting up their environment. Perhaps with a callout box at the end of Install the Soroban CLI section.

Closed with #527


Understanding the state of an stream provider depending on a future provider

Describe what scenario you think is uncovered by the existing examples/articles
If i have a StreamProvider “A” that watches and depends on a FutureProvider “B” , is the resulting type of watching “A” entirely dependent on the state of “B”, so that i only need to return valid data, if “B” returns a type of AsyncData and ignore the other cases? That is, it does not matter what value i return in the case of AsyncLoading or AsyncError, as these are handled when "A" is watched? If so, it feels a bit weird to return a value that is never used.
I think this was a bit confusing to understand, and maybe i need to understand better how watch works. If someone could enlighten me a bit on these topics or point me to some documentation that would be great. Thanks.
Example:
final B = FutureProvider((ref) async {
  return await getSomeData();
})

final A = StreamProvider<List<Item>>((ref) {
  final asyncVal = ref.watch(B);
  if (asyncVal is AsyncData) {
    return subscribeToSomeStreamGivenId(asyncVal.data.value.id);
  }
  return Stream.value([]); // THIS IS IGNORED !

/**
  // which would be similar to this
  return asyncVal.when(
    data: (data) => subscribeToSomeStreamGivenId(data.value.id);
    loading: () => Stream.value([]),  // THIS IS IGNORED !
    error: (error, stack) => Stream.value([]),  // THIS IS IGNORED !
  );
*/
}
final val = watch(A)

Describe why existing examples/articles do not cover this case
I read the "Getting started guide" and the docs including ProviderReference etc.
Additional context

Maybe you don't want to read the AsyncValue and instead want the future?
final B = FutureProvider((ref) async {
  return await getSomeData();
})

final A = StreamProvider<List<Item>>((ref) async* {
  final asyncVal = await ref.watch(B.future);

  yield* subscribeToSomeStreamGivenId(asyncVal.id);
});

Maybe you don't want to read the AsyncValue and instead want the future?
final B = FutureProvider((ref) async {
  return await getSomeData();
})

final A = StreamProvider<List<Item>>((ref) async* {
  final asyncVal = await ref.watch(B.future);

  yield* subscribeToSomeStreamGivenId(asyncVal.id);
});

Ah thanks. I did not know about B.future. If B was a stream, would you use B.last?

Ah thanks. I did not know about B.future. If B was a stream, would you use B.last?

When i tried to subscribe to a a stream using:
final A = StreamProvider<List<Plan>>((ref) async* {
  final asyncVal = await ref.watch(B.future);

  yield* subscribeToSomeStreamGivenId(asyncVal.id);
});

And then trying to listen to A.last like:
final B = FutureProvider.autoDispose<Plan>((ref) async {
  final plans = await ref.watch(A.last);
// TODO return plan
});

And A.last return an empty list or null i get Bad state: no element

When i tried to subscribe to a a stream using:
final A = StreamProvider<List<Plan>>((ref) async* {
  final asyncVal = await ref.watch(B.future);

  yield* subscribeToSomeStreamGivenId(asyncVal.id);
});

And then trying to listen to A.last like:
final B = FutureProvider.autoDispose<Plan>((ref) async {
  final plans = await ref.watch(A.last);
// TODO return plan
});

And A.last return an empty list or null i get Bad state: no element

I noticed when the i watched stream.last and the stream was empty, i got an exception bad state: no elements.

I noticed when the i watched stream.last and the stream was empty, i got an exception bad state: no elements.

How can i return an empty stream for the the proivder A if asyncVal is null?

How can i return an empty stream for the the proivder A if asyncVal is null?

I figured out i can do: yield* Stream.empty() but i noticed when i return empty and use autoDispose the provider was rebuilt every time.
Anyways, i will close this now, as this issue is not very focused.

I've fixed the bad state error you previously mentioned, so you should be able to use .last

That's great!

I still experienced an exception in the latest release. Although now with another exception message. I created a new issue for this #301


GitHub pages

Maybe there could be a simple Jekyll theme GitHub pages site for this repository with  the reaadme embedded. hello-world.github.it isn’t taken.

In my opinion, the GitHub readme is already good enough and we don't need a mirror that just lists them.


Modified sorting

This PR reorganizes support for sorting outputs,
A couple key changes / hopefully improvements:

The primary sorting behavior is relegated to a Data method sortByKey() that calls the underlying Spark RDD functions. This will make it easier to maintain / modify the sorting behavior and use it elsewhere.
By using this function, sorting during Series.pack() is now done with RDD functions, which avoids an error by which collecting the keys and values separately (for driver-side sort) can yield different orderings.
The collect, collectAsArray, collectValuesAsArray, and collectKeysAsArray methods all now take sorting as an input argument. This has previously been an option on pack, but it is useful as an option on these functions for non-contiguous data (as reported by @jwittenbach ).

I have not yet done performance testing on driver-side sorting versus sortByKey() but especially with improvements to shuffling in Spark 1.2 I expect it to be comparable if not better (it previously was the case that performance sorting smaller results especially was much better on the driver). If we do want to revert, with the new refactoring, we'll only need to make the switch in one place.
For sorting behavior consistent with other functionality / conventions in Thunder (fastest key changes first), I do reverse the ordering of the keys before (and after) sorting. The one consequence is that the sorting methods will break for integer keys. Keys are supposed to always be tuples, but we also don't / can't enforce that. Perhaps the sorting method should check to make sure the keys are iterable before sorting and if not, don't try to reverse?
cc @industrial-sloth

From an API standpoint, I think this looks fantastic.
The implementation all seems to hang on the fact that, as long as you don't do any operation that causes a shuffle, the order of the returned values from RDD.collect will always be the same. Are we safe in assuming this?

Cleared this one point up offline with @jwittenbach , and tests are fixed and working, so will now merge in.


fix(router): Fix log permissions for non-root user

#120 turned out to not work nicely with Docker < 1.9.
This PR corrects that.
cc @arschles

@krancour LGTM. is there any possible way to test the perms in CI? not blocking for this PR

For reference, this is the bug in Docker < 1.9 that this works around:
https://github.com/deis/workflow/pull/398


Add links "How javascript works"

Every javascript programmer must know and care about it, no matter low level or high level.

@eamanu Fixed!


Warning when ScrollView with keyboardDissmode

I have a ScrollView below the Search bar as below
<ScrollView style={style.container}
          keyboardShouldPersistTaps={true}
          keyboardDismissMode='on-drag'
        />
</ScrollView>

When the search box is focussed and i drag the ScrollView, i am getting the following warning on Xcode. Cant seem to figure out how to fix it. I think it has something to do with searchBarTextDidEndEditing
2016-07-20 22:30:05.427 App[92773:15460947] -[UIWindow endDisablingInterfaceAutorotationAnimated:] called on <UITextEffectsWindow: 0x7fc42d007220; frame = (0 0; 375 667); opaque = NO; autoresize = W+H; layer = <UIWindowLayer: 0x7fc42adeeb60>> without matching -beginDisablingInterfaceAutorotation. Ignoring.

Hey new maintainer here. Closing out all* issues from before 2017. If this is still a concern, please create a new issue. Thanks


We need minimal contact info or it could be in the footer

Add contact info for getting API keys
Here is a simple thing to add to the About pop-up and here is a proposed About update:

A free and open vulnerabilities database and the packages they impact. And the tools to aggregate and correlate these vulnerabilities.

Sponsored by NLnet https://nlnet.nl/project/vulnerabilitydatabase/ for https://www.aboutcode.org/
Chat at https://gitter.im/aboutcode-org/vulnerablecode
Docs at https://vulnerablecode.readthedocs.org/
Source code and issues at https://github.com/nexB/vulnerablecode

If you want to try the JSON REST API, please send a note to<EMAIL_ADDRESS>to request an API key for testing.

Addressed in PR #933


GEOMESA-2855 Modify HBase Scan closing

Signed-off-by: Jim Hughes<EMAIL_ADDRESS>

merged as 8ab9b91c7d43c4bb591d36dd8b998c06c14e9c5d


Update to 1.0.32 to 1.0.34 failes

I'm on V1.0.32 and can update to 1.0.34. js-controller and admin are on the latest beta version
Update is not successfull:
`$ iobroker upgrade<EMAIL_ADDRESS>--debug
Update go-e from @1.0.32 to @1.0.34
NPM version: 10.7.0
Installing<EMAIL_ADDRESS>(System call)
npm warn ERESOLVE overriding peer dependency
npm warn While resolving<EMAIL_ADDRESS>warn Found<EMAIL_ADDRESS>warn node_modules/@iobroker/adapter-react-v5/node_modules/@mui/materialnpm warn<EMAIL_ADDRESS>from<EMAIL_ADDRESS>warn node_modules/@iobroker/adapter-react-v5npm warn<EMAIL_ADDRESS>from<EMAIL_ADDRESS>warn node_modules/iobroker.radar-trapnpm warnnpm warn Could not resolve dependency:npm warn peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>warn node_modules/@iobroker/adapter-react-v5/node_modules/@mui/x-date-pickersnpm warn<EMAIL_ADDRESS>from<EMAIL_ADDRESS>warn node_modules/@iobroker/adapter-react-v5npm warnnpm warn Conflicting peer dependency<EMAIL_ADDRESS>warn node_modules/@mui/materialnpm warn peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>warn node_modules/@iobroker/adapter-react-v5/node_modules/@mui/x-date-pickersnpm warn<EMAIL_ADDRESS>from<EMAIL_ADDRESS>warn node_modules/@iobroker/adapter-react-v5
npm warn ERESOLVE overriding peer dependencynpm warn While resolving<EMAIL_ADDRESS>warn Found<EMAIL_ADDRESS>warn node_modules/@iobroker/json-config/node_modules/@mui/materialnpm warn<EMAIL_ADDRESS>from<EMAIL_ADDRESS>warn node_modules/@iobroker/json-config/node_modules/@iobroker/adapter-react-v5npm warn<EMAIL_ADDRESS>from<EMAIL_ADDRESS>warn node_modules/@iobroker/json-confignpm warnnpm warn Could not resolve dependency:npm warn peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>warn node_modules/@iobroker/json-config/node_modules/@mui/x-date-pickersnpm warn<EMAIL_ADDRESS>from<EMAIL_ADDRESS>warn node_modules/@iobroker/json-config/node_modules/@iobroker/adapter-react-v5
npm error code ETARGET
npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-06-17T11_27_31_995Z-debug-0.log
upload [9] go-e.admin /opt/iobroker/node_modules/iobroker.go-e/admin/admin.d.ts admin.d.ts video/mp2t
upload [0] go-e.admin /opt/iobroker/node_modules/iobroker.go-e/admin/words.js words.js application/javascript
Process exited with code 0`

1.0.35 Same Problem here

Update from 1.0.32 to 1.0.35 works, version number seems to be OK.


When a attribute aria-expanded is false, rendering is failed (dioxus-web 0.3.0)

Problem
When a attribute aria-expanded is false, rendering is failed.
This issue is different from the #760.
Steps To Reproduce

Run the code snippet

#![allow(non_snake_case)]
// import the prelude to get access to the `rsx!` macro and the `Scope` and `Element` types
use dioxus::prelude::*;

fn main() {
    // launch the web app
    dioxus_web::launch(App);
}

// create a component that renders a div with the text "Hello, world!"
fn App(cx: Scope) -> Element {
    let aria_expanded = false;
    cx.render(rsx! {
        div {
            button {
                aria_expanded: aria_expanded,
                "Hello, world!"
            }
        }
    })
}

DevTool console outputs logs:

Uncaught (in promise) ReferenceError: bool_attrs is not defined
    at SetAttributeInner (inline0.js:82:46)
    at run (inline0.js:126:2957)
    at dioxus_interpreter_js::sledgehammer_bindings::run::hbc946e59c0d2e7a2 (dioxus_bg.wasm:0x1fbfc8)
    at dioxus_interpreter_js::sledgehammer_bindings::Channel::flush::ha7876ac270261519 (dioxus_bg.wasm:0xbc7bf)

Expected behavior
A button is rendered.
Environment:

Dioxus version: [v0.3.1]
Rust version: [1.66.1]
OS info: [Ubuntu 20.04]
App platform: [web]

Questionnaire

[x] I'm interested in fixing this myself but don't know where to start
[ ] I would like to fix and I have a solution
[ ] I don't have time to fix this right now, but maybe later

This works on the master branch. My guess is this was fixed by https://github.com/DioxusLabs/dioxus/pull/761


[MINOR] Remove meaningless string concatenation

What changes were proposed in this pull request?

Remove meaningless string concatenation.
Use slf4j instead of apache commons logging.

Why are the changes needed?
Better readablity and performance, and reduce maintenance complexity.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Existing UTs.

Is this exhaustive? Are this all instances of pointless string concatenations?

Could you help merge this? @EnricoMi , I think you have permission to operate this.

We hope the description could be attached in the commit log when you operate squal and commit button. @EnricoMi

You mean the description of the pull request?

Sorry for that! This should be configured as the default squash behaviour then, no copy-paste required:


Add yesNo react component

Short Description
To reactify the StepSteuernummer we need to add some components in React. One is the YesNo component. I based the design on this document in Figma and talked to Nadine. It adapts also a little how the YesNo component behaves because we had some small legacy
Changes

Add YesNo component
Add YesNo story
Adapt the switch-yes/switch-no classes a little bit

Feedback

Does this make sense to you?
Is there anything that I missed while reactifying?

Looks great, but I think this component lacks unit tests for:

checking that toggling works as intended
checking that the change handler is called as expected

I agree. I have added these tests and I have also added tests for the interaction via the keyboard as recommended in #336 because I think it makes sense here, too. I had to update the testing library for that.

Oh, and I agree on your assessment re: duplication. Any idea I would have for deduplicating those tests would make them less readable and maintainable, not more.

I reconfigured SonarCube to exclude JS tests from duplication checks, so your next commit should resolve the quality gate failure - let me know if it doesn't!


Cabinet rack diagram is not resizeable

Describe the bug
Rack cabinet diagram is not resizeable
To Reproduce
Steps to reproduce the behavior:

Check rack cabinet
Resize it
Resize is not working

Expected behavior
Resize is working
Screenshots

draw.io version (In the Help->About menu of the draw.io editor):

draw.io version 20.30.0

Desktop (please complete the following information):

OS: macos
Browser chrome, safari, firefox

Same here

The rack containers should be fixed in the next release

Internal commit https://github.com/jgraph/drawio-dev/commit/5a2bcccd51d219c47ba35e3bd0abafa5f3ec0697

Rack cabinet diagram is not resizeable in 20.5.2 release

Hello, this is not actually fixed yet.
See issue from Nov 2022:
https://github.com/jgraph/drawio/issues/3164
Latest test:
draw.io version (In the Help->About menu of the draw.io editor):
draw.io version 20.8.23
Desktop (please complete the following information):
OS: macOS Ventura
Replicated on both browsers:
Chrome Version 110.0.5481.177 (Official Build) (arm64))
Safari Version 16.3


Queries interface

It would be cool if an interface for the Queries where generated, to facilitate mocking.  e.g. I use https://github.com/golang/mock which gens mocks from interfaces.
thx
M

Maybe you could give me a heads up where to add this in the code base and I'll raise a PR if I can find some time?


BoP Biome ID conflict 1.7.10

Version of Advanced Rocketry
1.4.0-15
Have you verified this is an issue in the latest unstable build
Y
Version of LibVulpes
0.2.8-33
Version of Minecraft
1.7.10
Description of the problem
BoP uses biome IDs up to 122 and this includes AR biomes by default.

Is this still a issue? Please comment if it is and i will reopen if if you are unable? We are closing old issues to see what is still relevant and needs to be fixed.


modpack doesnt launching

screenshot:

That crash isn't being caused by MixinTrace. Carpet Fixes seems to have a mixin that fails to apply, ask the developer of that mod for support.


facing issue with 'message_received' event

Hi,
I have made a slack bot using your library. I added my bot to a channel and I want it to listen to all the messages that are sent in that channel irrespective of, if it's sent to my bot or not. I found out that I can use 'message_received' event for the same. I tried using that, but although in logs I can see that it is receiving my msg, the control doesn't come to the controller.hears and hence no response is sent back.
I tried using ambient too, but it doesn't work either. Any suggestion will be appreciated.
Thank you.
Here's my code:
controller.hears(['(.*)'], 'message_received', function (bot, message) {
    var msg = message.match[1];
    controller.storage.users.get(message.user, function (err, user) {
        if (!user) {
            user = {
                id: message.user,
            };
        }
        controller.storage.users.save(user, function (err, id) {
            bot.reply(message, "Hi there, how are you!");
        });
    });
});

This is what the log say when I send a message:
debug: CUSTOM FIND CONVO U5MAXD49Y D5MCF15NG
debug: DEFAULT SLACK MSG RECEIVED RESPONDER
debug: RECEIVED MESSAGE
debug: CUSTOM FIND CONVO U5MAXD49Y D5MCF15NG
debug: DEFAULT SLACK MSG RECEIVED RESPONDER
debug: RECEIVED MESSAGE
debug: CUSTOM FIND CONVO undefined D5MCF15NG
debug: DEFAULT SLACK MSG RECEIVED RESPONDER
debug: RECEIVED MESSAGE
debug: CUSTOM FIND CONVO undefined undefined
debug: DEFAULT SLACK MSG RECEIVED RESPONDER

All messages in Slack are either direct_message direct_mention mention or ambient.

Ahh! that makes sense. Thank you so much.


Random Password Generator

Feature Description
A random password generator that generates up to 4 random passwords of length at one time. This issue is under GSSOC'22 contributions.
Additional context

Steps Followed✅
Check the box with [x] If you followed all the steps.

[ ] Is your feature request related to a problem? Please describe.
[x] Describe the solution you'd like
[ ] Describe alternatives you've considered
[x] Additional context

Code of Conduct✅

[x] I agree to follow this project's Code of Conduct.
[x] I checked the current issues for duplicate problems.
[x] I have gone through project README.

/assign

Already exists.


Support for Multiple Versions of Analytics.js

Proposed changes
Updated documentation to reflect the possibility of running multiple versions of Analytics.js (e.g., a snippet version and an npm version) with different write keys in the same environment.
Merge timing
ASAP once approved
Related issues (optional)
https://github.com/segmentio/analytics-next/pull/1127
https://twilio.slack.com/archives/C9Z93GW76/p1725380202861859

hi @prigiattiperrut and @silesky - any movement on this PR? Should we close this PR?


api-custom-events-metrics: Add node.js developer mode

Add node.js developer mode enablement docs. Also added blurb about what this snippet does. Other languages don't have this so, it can't be removed if it is inconsistent.

@markwolff : Thanks for your contribution! The author, @mrbullwinkle, has been notified to review your proposed change.

#sign-off


##[error]An image does not exist locally with the tag: ***/image/repo

Seems to be impossible to push a docker image with Docker@2 without using the build option.
Am trying to push a custom docker image (builded with the use of "ansible-builder") but Docker@2 doesn't recognize the local image repository name, It seems Docker@2 adds "***" in front of the repository, but the image repository is without the *** ...
When i build the image through Docker@2 it automatically adds the three stars (***) to the repository name... and it pushes the image also to ACR
(Error) Task:
- task: Docker@2
  displayName: Push image
  inputs:
    containerRegistry: myacr
    repository: awx/custom-ee
    command: push
    tags: latest

Error message:
The push refers to repository [***/awx/custom-ee]
An image does not exist locally with the tag: ***/awx/custom-ee
##[error]An image does not exist locally with the tag: ***/awx/custom-ee
##[error]The process '/usr/bin/docker' failed with exit code 1

with a CmdLine task before pushing it, i can see the docker image exists with the appropriate repo name..
REPOSITORY                        TAG                  IMAGE ID       CREATED         SIZE
awx/custom-ee                     latest               5223b12351fa   1 second ago    1.97GB

The starts (***) is an hidden value (the URL of your container registry), this should be made clear in the documentation, jesus...


LENGTH() is incorrect

The inbuilt function length() doesn't compute lengths correctly:
binaryBoy=# select  name, length(name) from foo;
 name | length(name)
------+--------------
 Sam  |            4
 Andy |            5
(2 rows)

I would like to take up this issue. Any heads up about where/how to start looking for fixes?

@amanmehta-maniac This is a bit advanced. It requires a major rewrite of how we represent VARCHAR everywhere.


VCC fails to upgrade to 1.10.2-beta.1

VCC cannot upgrade to 1.10.2-beta.1 due to:
2024-03-28 08:47:16.172 +01:00 [INF] Dependency list upgrading nadena.dev.ndmf from >=1.4.0 <1.5.0 to >=1.4.0 <1.5.0
2024-03-28 08:47:16.241 +01:00 [ERR] Failed to handle HTTP request: Invalid version string: >=1.4.0 <1.5.0
2024-03-28 08:47:16.267 +01:00 [INF] Failed to check for package changes: 500

This might be caused by a bug in VCC: https://github.com/vrchat-community/creator-companion/issues/29
Prefabulous may need to be updated to that it doesn't require a 3-deep dependency chain

Attempted to address this:
https://github.com/hai-vr/prefabulous-avatar/releases/tag/1.10.2-beta.2


npm install create-react-app -g doesn't work

Is this a bug report?
(write your answer here)

Can you also reproduce the problem with npm 4.x?

(Write your answer here.)
Which terms did you search for in User Guide?

(Write your answer here if relevant.)
Environment

node -v: v6.11.5
npm -v:4.6.1
yarn --version (if you use Yarn):
npm ls react-scripts (if you haven’t ejected):

Then, specify:

Operating system: OS 10.12.6
Browser and version (if relevant):

Steps to Reproduce

(Write your steps here:)
When I type npm install create-react-app -g it gives me the error provided below -
npm ERR! path ../lib/node_modules/create-react-app/index.js
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall symlink
npm ERR! Error: EACCES: permission denied, symlink '../lib/node_modules/create-react-app/index.js' -> '/usr/local/bin/create-react-app'
npm ERR!     at Error (native)
npm ERR!  { Error: EACCES: permission denied, symlink '../lib/node_modules/create-react-app/index.js' -> '/usr/local/bin/create-react-app'
npm ERR!     at Error (native)
npm ERR!   errno: -13,
npm ERR!   code: 'EACCES',
npm ERR!   syscall: 'symlink',
npm ERR!   path: '../lib/node_modules/create-react-app/index.js',
npm ERR!   dest: '/usr/local/bin/create-react-app' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR!      /Users/JAYKIM/.npm/_logs/2017-10-31T07_59_04_836Z-debug.log
Any kind of help will be appreciated.
Expected Behavior

(Write what you thought would happen.)
Actual Behavior

(Write what happened. Please add screenshots!)
Reproducible Demo

(Paste the link to an example project and exact instructions to reproduce the issue.)

There is an issue with how npm is set up on your system. If you read the message it says your account lacks the rights to write /usr/local/bin/create-react-app.
I suggest looking up how to repair npm permissions on your system. Ideally you should give yourself permissions to write to /usr/local/.

Now, no idea what it means... Look, I am a just beginner ..this is day one React :(

This is not a question about React. It is a question about installing global packages with npm, a package manager. You'll experience exactly the same problem if you attempt to install any other program via npm. In fact, you will encounter this problem with pretty much any package manager (e.g. Homebrew).
Filesystems have a concept of "permissions". Different users can touch different files. Permissions are determined by who created a given folder, and later can be changed (if you have permission to change it).
On your system, npm installs global packages into /usr/local/. However your local user doesn't have permissions to write to this folder. This is why the installation fails.
Usually, this is solved by using administrative account to give yourself write permissions to such folders. Something like this might work:
chmod -vR ug+rw /usr/local

(I don't know this cryptic syntax any better than you, just copy pasted it from https://gist.github.com/stefanschmidt/047001373d1defc90b6bdd7820e92cf7)
If that doesn't help, try running
sudo chmod -vR ug+rw /usr/local

I hope this helps. But if it doesn't, we aren't the best people to help with this. Please refer to forums like https://superuser.com/ for troubleshooting file permission issues.


Python3 wont show plot of demo

Hello,
I ran the example demo code but I do not see any plot. The file compiles fine. Could you please tell me why am I not able to see any graphs?

Hey - I'm going to assume you have matplotlib installed in your environment - are there any errors? How are you running the file?

I have matplotlib installed and running. When I run the file saying $python3 demo1.py .I do not get any errors and it compiles fine but at the same time I do not see any plots displayed.

I see - you'll have to import matplotlib and issue a "show" command after the plot command.
I separate the "show" command from the plot command, because you might want to modify your graphs before showing them. I might look into doing it a different way in the future.
You could modify the demo code as follows - the show.plot() is the most important change.
However, I'm also returning the matplotlib figure elements that hysteresis creates to be more clear. You can interact with these like you would any matplotlib figure.
Let me know if this solves your issue.
import numpy as np
import hysteresis as hys
import matplotlib.pyplot as plt

t = np.linspace(0,4,1000)*np.pi
x = np.sin(t)
y = np.cos(t)*t

xy = np.column_stack([x,y])

myHys = hys.Hysteresis(xy)
fig, ax = myHys.initFig()
line = myHys.plot(plotCycles = True)
plt.show()

Thank you for the update.When I initially ran this code there was an error showing that fig is not defined. So I removed fig and now I can see the plot. Thanks for the correction.


Very slow

the project is slowing down on my computer, and indexing is very long

Try using the 0B coding pattern - write exactly 0 bytes of code or less per file


Brew install mkcert fails

Running brew install mkcert results in the following message:
==> Downloading https://ghcr.io/v2/linuxbrew/core/mkcert/manifests/1.4.3-1
Already downloaded: /home/chan/.cache/Homebrew/downloads/2d015f67524046b9ed5be8554ca39626eee9a28a69d7cf80c790318e9055cd66--mkcert-1.4.3-1.bottle_manifest.json
==> Downloading https://ghcr.io/v2/linuxbrew/core/mkcert/blobs/sha256:e8d0c2399c57a86fdcd2c46b043cf29ed9e7636dc0320dcbedcee1b8a30a125f
curl: (22) The requested URL returned error: 404

Error: Failed to download resource "mkcert"
Download failed: https://ghcr.io/v2/linuxbrew/core/mkcert/blobs/sha256:e8d0c2399c57a86fdcd2c46b043cf29ed9e7636dc0320dcbedcee1b8a30a125f

brew update will likely solve this for you.

thx  it worked @rfay


Expose function to mark expired token as refreshed

In my code, I check if the token is expired and then call my refresh endpoint if so. It'd be useful if there was a way to update the state inside useJwt to reevaluate the token after refresh so that isExpired would re-render as true and my code could proceed normally.
I could take a crack at it in a PR if that'd be welcome

Hi, I just added a new method that you can use to refresh the useJwt's state, it is named "refreshToken()"

Thanks! that worked well for me.
I think refreshToken is a misleading name, as it does not actually refresh the token, but re-evaluates its validity. In my own code I've named it reEvaluatedToken
const { isExpired, refreshToken: reEvaluateToken } = useJwt(token);

Thanks! that worked well for me.
I think refreshToken is a misleading name, as it does not actually refresh the token, but re-evaluates its validity. In my own code I've named it reEvaluatedToken
const { isExpired, refreshToken: reEvaluateToken } = useJwt(token);


cannot open https  have a error

Problem encountered on https://dotnet.microsoft.com/zh-cn/learn/aspnet/blazor-tutorial/run
Operating System: windows
Provide details about the problem you're experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.

Can you share what kind of error are you facing? Did you check the text at the bottom of the page?


fix(material/input): don't remove the placeholder attribute

It was only removed to support the legacy form-field, and removing it
creates problems for other directives that may need to read it (e.g.
textarea autosize).

It isn't really there to support the legacy appearance though, it's so that screen readers don't read out the same placeholder twice. I'm not sure that we can remove it without removing the legacy appearance. We could try to limit it further, but the _hideControlPlaceholder which it's based upon is already very narrow.

Does this ever happen on form-fields that don't have the legacy appearance?
My understanding is that its purely for the sake of not reading the placeholder twice on the legacy form-field. If that's the case and we're ok with autosize possibly making the textarea smaller than the placeholder in the legacy form-field I can just close this. I've already updated #22314 to just test a different appearance

It's only relevant in legacy, but I think that we'll have to keep it because it is still the default appearance for mat-form-field. Maybe in #22314 we could detect if the textarea is a MatInput and have it look at data-placeholder as well?

I don't want to add any more cruft to support the legacy style. I'd rather just only support the placeholder in autosize for the newer appearances. I'll close this and just go ahead with the other PR without legacy support