SQL CU updates

Anyone finds a way to install the CU updates once SQL is installed?

I haven't had any issues installing them other than they report that they fail to upgrade the SQL Server engine when the installation wizard is done running but everything comes back up after a restart. I just got done installing SQL Server 2022 CU # 13 released on May 16th, 2024. I can't speak to SQL Server 2019 or any edition of SQL Server 2022 other than the Developer edition in Parallels Desktop which I have installed on my M3 MacBook Pro.
Basically I download the CU's setup file and save it to my Desktop. Then I run it as the administrator. When the pre-install checks run if the restart check fails then restart the VM from within Windows 11. Once that's done follow the wizard to install the CU. At the final screen it'll say that everything updated except for the SQL Server engine. When you look at the Services app you'll see that the SQL Server (MSSQLSERVER) service is in a stopped state but is still set to Automatic (Delayed Start) and if you try to start it you'll receive an error message but if you go ahead and restart the VM from within Windows 11 and allow it to restart then wait a for that service to start .... which doesn't happen right away because it's set to Automatic (Delayed Start) but in my case if I wait about 15 seconds then refresh the Services app or close it and re-open it will then show it's started .... I can then open SQL Server Management Studio, connect to the SQL instance as usual and sure enough the build number has updated to the CU I just installed.
I've done it with two different CU's now in that exact order right down to trying to manually start the service after the install only to get an error and by doing it in exactly in that order the CU gets installed and works despite what it reports at the end of the install wizard. I believe it fails in my case because the SQL Server Agent component doesn't install using the script on this website and I think the CU then the engine update fails because it can't update that component because it's not there in the first place. That's my best guess anyway, but even if I'm dead wrong and it shows it failed initially for some other reason, following the steps outlined above works for me.
On a side note I was running SQL Server Management Studio v19.3 prior to installing CU # 13, upgraded to the latest version of SQL Server Management Studio v20 and made sure that worked prior to installing CU #13 which I doubt made any kind of a difference because they are separate pieces of software that can exist without one another being installed, but in the interest of full disclose v20 was installed and working prior to upgrading to CU #13. I left v19.3 on the system as well. Again, I don't think it matters as I've never had an issue with installing updates to the v19 line or installing v20 of that software but that is how the machine was configured when I got CU #13 installed and working just a few minutes ago.

Confirming that I was able to update my sql server 2022 to CU13. Just need to restart the SQL Server (MSSQLSERVER) service after the installation.


Str::mask get wrong result when first letter equal to second letter

Laravel Version: 8.83.16
PHP Version: 7.4.3
Database Driver & Version: null

Description:
Str::mask('abcde', '', 1, -1); =>"ae"
Str::mask('aaaba', '', 1,  3);  => "aa"
Str::mask('abcde', '', -4, 3);  =>"ae"
Str::mask('aaaba', '', -4, 3);  =>"a**a"
But I below case will get wrong result string
Str::mask('aaaaa', '*', 1, -1);  => "**aa"
Str::mask('aaaab', '', 1,3);     => "**ab"
Str::mask('aaaaa', '', -4, 3);  => "**aa"
Str::mask('aaaab', '', -4, 3);  => "***ab"
Steps To Reproduce:

This does like the occurrence of this issue: https://github.com/laravel/framework/pull/42295 (which was fixed in 9.x) in 8.x

You can make a PR to backport #42295 to 8.x as bug fixes are still accepted there.

OK，thanks all


Scip920: disable parallel scip as it breaks under java on linux

Hello @bazelbuild/bcr-maintainers, modules without existing maintainers (scip) have been updated in this PR. Please review the changes.


Add Container.portsAsString()

This method shows port information similar to the output of docker ps.

:+1:


⚠ ClamAV has degraded performance

In a9efc49, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 617 ms

Resolved: ClamAV performance has improved in 62f44b4 after 13 minutes.


Does this plugin support DNS validation?

It is not clear from the description if this plugin supports a DNS validation.

This is just a plugin to support OpenShift Routes directly instead of creating a Certificate Resource.
The ACME Solver depends on the (Cluster)Issuer configuration. https://cert-manager.io/docs/configuration/acme/dns01/


add app deployment guides

Summary

Add app deployment guides. (This guide has been removed from the developer docs in this PR

Ticket Link https://github.com/mattermost/docs/issues/5817

Hello @codeEmpress1,
Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.

This is a great docs PR, @codeEmpress1! Thank you!
Please note that the content being moved to the docs site is currently published on the dev docs site: https://developers.mattermost.com/integrate/apps/deploy/. This content on the dev docs site would need to be removed to avoid content duplication. Are you open to creating a dev docs PR for that step?

This is a great docs PR, @codeEmpress1! Thank you!
Please note that the content being moved to the docs site is currently published on the dev docs site: https://developers.mattermost.com/integrate/apps/deploy/. This content on the dev docs site would need to be removed to avoid content duplication. Are you open to creating a dev docs PR for that step?

Thank you @cwarnermm

This is a great docs PR, @codeEmpress1! Thank you!
Please note that the content being moved to the docs site is currently published on the dev docs site: https://developers.mattermost.com/integrate/apps/deploy/. This content on the dev docs site would need to be removed to avoid content duplication. Are you open to creating a dev docs PR for that step?

Thank you @cwarnermm

Hi @cwarnermm, I forgot to comment that I already open a PR that removed the content from the dev docs, I raised the PR almost the same time as this. Here is the link https://github.com/mattermost/mattermost-developer-documentation/pull/1307


More reasonable error output

Hi community
I knew we are familiar with the following errors. But they bother us and our users to find what's going on in oap internal.
Can we have a more proper method to improve it? Want to hear your voice, thanks.
ap-deployment-dcd587fb8-bqrlp oap java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
oap-deployment-dcd587fb8-bqrlp oap      at java.util.LinkedList.checkElementIndex(LinkedList.java:555) ~[?:1.8.0_181]
oap-deployment-dcd587fb8-bqrlp oap      at java.util.LinkedList.get(LinkedList.java:476) ~[?:1.8.0_181]
oap-deployment-dcd587fb8-bqrlp oap      at org.apache.skywalking.oap.server.core.remote.selector.ForeverFirstSelector.select(ForeverFirstSelector.java:37) ~[server-core-<IP_ADDRESS>.jar:<IP_ADDRESS>]
oap-deployment-dcd587fb8-bqrlp oap      at org.apache.skywalking.oap.server.core.remote.RemoteSenderService.send(RemoteSenderService.java:58) ~[server-core-<IP_ADDRESS>.jar:<IP_ADDRESS>]
oap-deployment-dcd587fb8-bqrlp oap      at org.apache.skywalking.oap.server.core.register.worker.RegisterRemoteWorker.in(RegisterRemoteWorker.java:47) ~[server-core-<IP_ADDRESS>.jar:<IP_ADDRESS>]
oap-deployment-dcd587fb8-bqrlp oap      at org.apache.skywalking.oap.server.core.register.worker.RegisterRemoteWorker.in(RegisterRemoteWorker.java:32) ~[server-core-<IP_ADDRESS>.jar:<IP_ADDRESS>]
oap-deployment-dcd587fb8-bqrlp oap      at java.util.HashMap$Values.forEach(HashMap.java:981) [?:1.8.0_181]
oap-deployment-dcd587fb8-bqrlp oap      at org.apache.skywalking.oap.server.core.register.worker.RegisterDistinctWorker.onWork(RegisterDistinctWorker.java:77) [server-core-<IP_ADDRESS>.jar:<IP_ADDRESS>]
oap-deployment-dcd587fb8-bqrlp oap      at org.apache.skywalking.oap.server.core.register.worker.RegisterDistinctWorker.access$100(RegisterDistinctWorker.java:34) [server-core-<IP_ADDRESS>.jar:<IP_ADDRESS>]
oap-deployment-dcd587fb8-bqrlp oap      at org.apache.skywalking.oap.server.core.register.worker.RegisterDistinctWorker$AggregatorConsumer.consume(RegisterDistinctWorker.java:104) [server-core-<IP_ADDRESS>.jar:<IP_ADDRESS>]
oap-deployment-dcd587fb8-bqrlp oap      at org.apache.skywalking.apm.commons.datacarrier.consumer.MultipleChannelsConsumer.consume(MultipleChannelsConsumer.java:80) [apm-datacarrier-<IP_ADDRESS>.jar:<IP_ADDRESS>]
oap-deployment-dcd587fb8-bqrlp oap      at org.apache.skywalking.apm.commons.datacarrier.consumer.MultipleChannelsConsumer.run(MultipleChannelsConsumer.java:49) [apm-datacarrier-<IP_ADDRESS>.jar:<IP_ADDRESS>]

I am not sure why this happens, coordinator bug?

found a potential reason.
https://github.com/apache/skywalking/blob/06c357da6cf4b919afa7534fa6d9f5404d1d3dbe/oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/remote/RemoteSenderService.java#L56
clientList may be cleared by
https://github.com/apache/skywalking/blob/06c357da6cf4b919afa7534fa6d9f5404d1d3dbe/oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/remote/client/RemoteClientManager.java#L223
When RemoteSenderService gets clientList which may refer to clientA. Before clientList is accessed, clientA may be replaced by clientB and cleared by RemoteClientManager.
Dose this make any sense? @wu-sheng @peng-yongsheng

In theory, it is possible. The error local could happen occasionally. This seems a tricky issue. Set up an optimize lock? Or?

@hanahmily This has been fixed.


Make alphabetical ordering of columns optional

Alphabetical ordering of the columns on the details page should be optional, and should be disabled by default. We can add a config parameter to the chaise config to enable the alphabetical column ordering.

@karlcz : or do you think this should be an annotation on the table, to specify the ordering?

I think the ordering should have a series of control points:

Global config setting for alphabetic vs. table orderered
Per-table annotation to override the global setting
Per-table annotation to override with a specific column order

I don't know that we need to implement the third option immediately,
but it would be a workaround for systems where it isn't practical to
restructure the table to have the preferred column order in SQL.
I'm also not sure if that third option should just be a table
annotation with a list of column names or some rank annotation on each
column.  Either case raises the complication of how to cope with
annotations which may be out of date or incomplete, i.e. some columns
not given a specific order.  A table-level list could also contain
names which are not actually columns, if annotation gets out of sync
with a table definition over time!  A column-level rank annotation
would avoid this inconsistency but of course some columns might lack
the annotation so the method still needs to handle sparse
instructions.
We should probably consider it something like a primary, secondary
sort order like:

Explicit rank if present, otherwise a minimum rank below all explicit ones
Alphabetic or table order depending on setting which comes from global and table-level as above

Okay, thanks. I agree with that.
For the purpose of this github issue, let's just do:

Global config setting for alphabetic vs. table ordered

Which is essentially what I specified in the first comment.

heh. okay, apparently we dont' sort the columns anyway. they are just presented in natural order returned from the catalog. we should revisit this sometime if we want to support sorting.


Godot 4.1 .Net freeze on "Building .Net project..."

Godot version
4.1 stable mono linux
System information
Ubuntu 22.04.2 LTS , Stoney [Radeon R2/R3/R4/R5 Graphics]  diver=amdgpu, Compatibility renderer ,
Issue description
Godot 4.1 .net freeze in Ubuntu after clicking the Build button
i have tested Godot4.0 and 4.0.3 and they both work well.

Steps to reproduce
1- Make a new project
2- Make one main scene with Node2D
3-Add c# script
4-Click Build or run the project
Minimal reproduction project
temp.zip

If you have access to another PC or a Windows installation, can you test it there?
Also, do you get any errors when running Godot from a terminal and building the project?


Clarifications of "improved debugging" and component names.

Hi, I implemented this plugin on the client side of our application. (This may have been my first mistake). Because I was hoping to get the Devtools names functionality i.e ComponentName instead of styled.div in my DomTree, as well as classNames like sc-ComponentName.
Unfortunately none of these things seem to be happening. I still have styled.div lying around and classes are in the vein of sc-jfkdl poijl. Not what I was expecting. Could you clarify that if I'm doing something like:
const MyComponent = styled.div`
  color: red;
`;

I should be seeing either <MyComponent ...> in my React Devtool and <div className="sc-MyComponent"> in my element inspector? Or is this functionality for server side generation early? If I should be expecting to see that any ideas what I might be doing wrong? I know the Readme states the plug in is for serverside usage only but it's not 100% clear if that's solely for server side rendering or all the additional functionality underneath that section.
Thanks!

We had it working as @elstob expected during the Styled-components 2.0 RC phase, but somehow displayName doesn't produce the same visible result anymore
Currently running on

"styled-components": "2.0.0",
"babel-plugin-styled-components": "1.1.4"

Not sure if something changed during v2.0.0 release that stopped this to work or else.
Can someone else confirm/replicate this too?

The CSS class names are likely relate to #47?

Same problem here

Enable the ssr option for the componentId to be generated from the displayName. This is also used for the visible className.
The displayName option is on by default and generates a new displayName for each styled component
Make sure you're on v2.0.0 so that this works well when both options are turned on at the same time

Sorry to be a pain but that doesn't seem to be work when generating the JS I'm working with.
I'm using v2.0.0 of SC and v1.1.4 of the plugin, displayName (and now ssr) are both set to true in my .babelrc but I'm still not seeing componentIDs or classNames that reflect the displayName. I'm happy to move on with this issue closed if you are all confident that this is working as intended but I wanted to flag it again as it seems not to be working here even with the settings you suggested.
Thanks for your time.

^^ that's what we are doing as well I guess
[
  'styled-components',
    {
       ssr: true,
       displayName: true // this should be ON by default...
     }
]

but we don't see any humanized class-name anymore since v2.0.0 (it used to work with prior RC)
As mentioned earlier, currently running on SC 2.0.0 and plugin 1..1.4

Glad to hear it's not just us @nickbalestra, fingers crossed @philpl sees this and saves us. 🍺 for all if so.

I'll take another look this evening. Do note that the componentId on its own will never be human readable, but the displayName should be. This is why we now concatenate both if the plugin generates them: https://github.com/styled-components/styled-components/pull/821
The only way that you're not seeing any readable displayName is probably the way you're creating your styles components? https://github.com/styled-components/babel-plugin-styled-components/blob/e0b1b4c248f4864c65a1fd368bfc71b36d7407c9/src/visitors/displayNameAndId.js#L35
Is anyone able to post a gist with a before.js, after.js and a .babelrc that demonstrates the issue?

Thanks for reopening. Attempting to create a test case gist for this for you has, obviously, shown the correct behaviour. Comparing the output code for this test case against our bundled codebase seems
to illustrate the difference being between:
Test
var StyledDiv = _styledComponents2.default.div.withConfig({
  displayName: 'be__StyledDiv'
})(['color: red;padding: 10px;']);

Actual
var StyledCheckbox = _styledComponents2.default.div(_templateObject);

Which suggests to me that something is happening during our compilation stage that is preventing our actual styled components being built "withConfig". I'll try and play around with our build to see if I can track down what this might be.

OK so embarrassingly it seems our build system was using hard coded babel preset and plugin values instead of reading them from our babelrc so even though the config was set up it wouldn't have made a jot of difference. Updating this has given the expected behaviour. I can't speak for @nickbalestra but hopefully his is a similar situation and I'm not the only one with a red face today 🙈


Cancellations seem to have bugs

Hi, I'm one of the PgBouncer maintainers and this looks like a really cool project!
Since I recently solved some really confusing and hard to find bug in PgBouncer I wanted to check if this same bug  was solved here too. But after taking a quick look at the code, it seems like it has the same bug that PgBouncer had. The pgbouncer change (with description of the issue) I'm talking about is this one: https://github.com/pgbouncer/pgbouncer/pull/717
The regression test that PgBouncer has can be found here (I recently converted the tests to Python): https://github.com/pgbouncer/pgbouncer/blob/master/test/test_cancel.py#L85
PS. I have another cancellation related PR open on PgBouncer: https://github.com/pgbouncer/pgbouncer/pull/666 with an accompanying conference talk: https://www.youtube.com/watch?v=M585FfbboNA
Load balancing across multiple pgcat instances would have this same issue that PgBouncer currently still has.

Hey, thanks for reporting.
That's a great find!
I looked at the code and I think Pgcat handles it correctly. In this section https://github.com/levkk/pgcat/blob/main/src/client.rs#L578-L603 , Pgcat sends the cancel request directly to a specific database (bypassing the pools and the load balancing logic).
Each time a client is matched with a server, we update the mapping between the secret_key and the client here (https://github.com/levkk/pgcat/blob/main/src/client.rs#L799).
Putting these two pieces together means a client should always be able to send the correct secret key to the correct server connection.
This is just based on looking at the code so I could be wrong, It should be easy to reproduce this bug using a couple of replicas and Pgcat. I will try to reproduce the bug on Pgcat.

Distributed Pgcat setups with multiple instances behind a load balancer are definitely affected by this bug because the secret keys are not shared between Pgcat instances.

I apologize, I was responding to the issue you described in the video.
Yep. that race condition definitely exists in Pgcat.


Not using system language by default when used with KubeJS

KubeJS breaks "automatic language detection" feature. (https://github.com/KubeJS-Mods/KubeJS/issues/764)
However, I can't find any reason for that(and they didn't response for 3 weeks), so I open an issue here.

Solved in https://github.com/KubeJS-Mods/KubeJS/issues/764#issuecomment-1902574782 I think


en: Add GamepadSettings

When the gamepad was connected, I noticed that the key Settings.GamepadSettings is missing from the locale.

Good catch, thank you!


Fix pdfium version

A number of assets seem to have been deleted from the release view of the pdfium-binaries repository. This sets the version to one that still exists.

please merge this as https://github.com/rbcprolabs/packages.flutter/issues/242 blocks building windows apps

I've also added a change to support pdfium version 4690 and later.

@Jon-Salmon thanks for you contribution!
I copied you PR manually at commit: https://github.com/rbcprolabs/packages.flutter/commit/f8f33322ba0f5c9c584baccd8820e61bf0e9d146#diff-bfa4b151b102772e8b97118d94c40198a658dc147a2e272c207640107260e51f


use https://tailblocks.cc elements for landingpage

From https://tailblocks.cc we like:

[ ] C in Blog without CATEGORY
[ ] C in Feature (but without big picture on the left)
[ ] A in Testimonials
[ ] B Pricing with one column less
[ ] B of CTA
[ ] A in Team
[ ] C in Contact

Can you add it for us to the landing page please?

on it 👍

Yes, you can leave dummy data for now! :rocket:

Great job, all done here.


How to connect with a chrome browser already open?

Hi, I used to use the tebeka package before and I was able to manipulate multiple open browsers via session_id. But in chromedp I'm a bit lost and I don't see how I can do it.
I use windows 10 and golang 1.20.2
Thx.

See https://github.com/chromedp/examples/blob/master/remote/main.go.

See https://github.com/chromedp/examples/blob/master/remote/main.go.

Thanks, but I want to capture "devtools-ws-url" and then use it in "NewRemoteAllocator". Basically, I want to do the following:
func open_chrome() string{
.....
return devtools_ws_url
}
func send_command(url string){
....
}
Any better ideas?

Then you can use chromedp.NewExecAllocator. It will start a browser for you. There are many examples in https://github.com/chromedp/examples. Please take a look and read the doc first. Thank you!

Then you can use chromedp.NewExecAllocator. It will start a browser for you. There are many examples in https://github.com/chromedp/examples. Please take a look and read the doc first. Thank you!

I have not explained myself well, I hope now I do. :)
func open_chrome{
o := append(chromedp.DefaultExecAllocatorOptions[:],
chromedp.ExecPath("./chrome.exe"),
chromedp.Flag("enable-automation", false),
chromedp.Flag("headless", false),
)
cx, _ := chromedp.NewExecAllocator(context.Background(), o...)

ctx, _ := chromedp.NewContext(cx)
err := chromedp.Run(ctx,
	chromedp.Navigate("https://www.website.com"),
)

devtoolsWsURL := ???? /// How to capture it?

}

why do you want to get devtoolsWsURL?

I want to open multiple browsers and then communicate with them via resp api, send commands, close etc...

resp api

What is this?

send commands, close etc...

You can use chromedp to do this. We call them actions in chromedp. And actions are executed with chromedp.Run.

resp api

What is this?

send commands, close etc...

You can use chromedp to do this. We call them actions in chromedp. And actions are executed with chromedp.Run.

I give you an example.
devtools_ws_url_1 := create_browser()
devtools_ws_url_2 := create_browser()
devtools_ws_url_3 := create_browser()
//
open_url(devtools_ws_url_1, "https://www.website1.com")
close_browser(devtools_ws_url_1)
open_url(devtools_ws_url_2, "https://www.website2.com")
close_browser(devtools_ws_url_2)
open_url(devtools_ws_url_3, "https://www.website3.com")
close_browser(devtools_ws_url_3)
In rust I can do it perfectly:
https://docs.rs/chromiumoxide/latest/chromiumoxide/browser/struct.Browser.html#method.websocket_address
https://docs.rs/chromiumoxide/latest/chromiumoxide/browser/struct.Browser.html#method.connect

hey @OsKaR82 i do this in biloba here:
https://github.com/onsi/biloba/blob/master/biloba.go
check out spinupchrome and connecttochrome - you tell chrome to spin up pointed at a directory and then read wsurl from that directory

Thanks, I'll take a look and try to find the best option. ;)

sure thing.  chromedp.NewContext(parentCtx) is how you "open a new tab" btw.  You should be able to simply:
cx, _ := chromedp.NewExecAllocator(context.Background(), o...)

ctx1, _ := chromedp.NewContext(cx)
err := chromedp.Run(ctx1,
	chromedp.Navigate("https://www.website1.com"),
)

ctx2, _ := chromedp.NewContext(cx)
err := chromedp.Run(ctx2,
	chromedp.Navigate("https://www.website2.com"),
)

ctx3, _ := chromedp.NewContext(cx)
err := chromedp.Run(ctx3,
	chromedp.Navigate("https://www.website3.com"),
)

if you're doing all this to write some tests i'll humbly/not-so-humbly 😛  suggest taking a look at Ginkgo/Gomega/Biloba as Biloba will manage all this stuff for you.

sure thing. chromedp.NewContext(parentCtx) is how you "open a new tab" btw. You should be able to simply:
cx, _ := chromedp.NewExecAllocator(context.Background(), o...)

ctx1, _ := chromedp.NewContext(cx)
err := chromedp.Run(ctx1,
	chromedp.Navigate("https://www.website1.com"),
)

ctx2, _ := chromedp.NewContext(cx)
err := chromedp.Run(ctx2,
	chromedp.Navigate("https://www.website2.com"),
)

ctx3, _ := chromedp.NewContext(cx)
err := chromedp.Run(ctx3,
	chromedp.Navigate("https://www.website3.com"),
)

if you're doing all this to write some tests i'll humbly/not-so-humbly 😛 suggest taking a look at Ginkgo/Gomega/Biloba as Biloba will manage all this stuff for you.

Yes, but... if each window has its own proxy (for example), then they all share the same one.
So how do you send commands from a function to those open instances? ;)

right if it's chrome level configuration you'll need to spin up separate browsers

That's the problem.. ;) Thx.

I have the same demand. I want to open many website .
package main

import (
	"context"
	"github.com/chromedp/chromedp"
	"log"
	"os"
	"path"
)

func main() {

	var options []chromedp.ExecAllocatorOption
	options = append(options,
		chromedp.Flag("headless", false),
		chromedp.NoFirstRun,
		chromedp.NoDefaultBrowserCheck,
	)

	dir, err11 := os.Getwd()
	if err11 != nil {
		log.Printf("%v", err11)
	}
	join := path.Join(dir, "user-data")
	options = append(options, chromedp.UserDataDir(join))

	parentCtx, _ := chromedp.NewExecAllocator(context.Background(), options...)

	newContext, _ := chromedp.NewContext(parentCtx)
	chromedp.Run(newContext, chromedp.Navigate("https://www.baidu.com/"))

	newContext1, _ := chromedp.NewContext(parentCtx)
	chromedp.Run(newContext1, chromedp.Navigate("https://www.bing.com/"))

	for {
		select {}
	}
}

when I set options = append(options, chromedp.UserDataDir(join)), the second tab cannot be opened

@aohanhongzhi Replace
newContext1, _ := chromedp.NewContext(parentCtx)

with
newContext1, _ := chromedp.NewContext(newContext)

See the doc for chromedp.NewContext.

```go
newContext1, _ := chromedp.NewContext(newContext)

thanks for your reply.


Content for Quickstart guid, include examples and prerequisites

Quickstart

Installation
Submitting a job
Include examples at various sites (drop down or tabs to swap)
Make and include JS component to display site status
Monitoring your job
Canceling your job

Content: https://docs.google.com/document/d/18nRWxK95dwMlATPFoiJm0e1wvBSModNMSNRdl95mIgo/edit#heading=h.4i5quqtvuhwj

@andre-merzky can you please review the content? Check for usability and add check for prerequisites, e.g. we assume a shared home directory across nodes.

@hategan could you:

Create web page from content including examples how to modify code to run at various sites (drop down or tabs to swap)

Make and include JS component to display site status


Remember toggle soft wrap option

I would be great if the value of this option is saved somehow. How one has to turn it on every time. Maybe it should be saved separately for different file formats, maybe globally.

There's already a setting for it:

You can also scope this setting to different grammars in your config.cson:


can not get the exe file from tiny.cc, failed:connection refused

when downloading the exe binary, connection refused

Well, it works for me, alternatively, you can try the direct location
https://github.com/BinaryAnalysisPlatform/bap-testsuite/raw/master/bin/x86_64-linux-gnu-echo
~$ wget tiny.cc/bap-echo -O exe
--2019-02-28 07:54:27--  http://tiny.cc/bap-echo
Resolving tiny.cc (tiny.cc)... <IP_ADDRESS>
Connecting to tiny.cc (tiny.cc)|<IP_ADDRESS>|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://tiny.cc/bap-echo [following]
--2019-02-28 07:54:27--  https://tiny.cc/bap-echo
Connecting to tiny.cc (tiny.cc)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 303 See Other
Location: https://github.com/BinaryAnalysisPlatform/bap-testsuite/raw/master/bin/x86_64-linux-gnu-echo [following]
--2019-02-28 07:54:27--  https://github.com/BinaryAnalysisPlatform/bap-testsuite/raw/master/bin/x86_64-linux-gnu-echo
Resolving github.com (github.com)... <IP_ADDRESS>, <IP_ADDRESS>
Connecting to github.com (github.com)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.com/BinaryAnalysisPlatform/bap-testsuite/master/bin/x86_64-linux-gnu-echo [following]
--2019-02-28 07:54:27--  https://raw.githubusercontent.com/BinaryAnalysisPlatform/bap-testsuite/master/bin/x86_64-linux-gnu-echo
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... <IP_ADDRESS>
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 9017 (8.8K) [application/octet-stream]

thank you!


Adding SQuAD train dataset in Bahasa

Adding SQuAD 2.0 train dataset that has been translated to Bahasa Indonesia into ML folder

GG


Add filter_with_time to Fluent::Plugin::Filter

This is for plugins that updates times when filtering.
ref: https://github.com/fluent/fluentd/issues/1139

@ganmacs Could you fix just one more point?

Great addition. Thank you!


FirstPerson Mod Requires (ModMenu)

https://prnt.sc/wj4nam somebody can help me pls

How about installing ModMenu like CurseForge states? If you use something like the Curse Launcher it will do that for you. https://www.curseforge.com/minecraft/mc-mods/modmenu

How about installing ModMenu like CurseForge states? If you use something like the Curse Launcher it will do that for you. https://www.curseforge.com/minecraft/mc-mods/modmenu

thx

thx


Update app-service-logic-create-a-logic-app.md

Hi @jeffhollan, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no contribution license agreement is required at this point. Real humans will now evaluate your PR.

TTYL, AZPRBOT;

Alias: jehollan

Thanks for the contribution, @jeffhollan!


PERF: Release GIL on some datetime ops

This is a WIP, but far enough along I thought I'd share and see if the approach was reasonable.
This releases the GIL on most vectorized field accessors (e.g. dt.year) and conversion to and from Period.  May be places it could be done - obviously would be nice for parsing, but I'm not sure that's possible.

ohh nice!
can u share some timings?

Here are some timings - getting a pretty nice speedup.  In single-threaded case things are looking about flat.
In [1]: from pandas.util.testing import test_parallel
In [2]: dti = pd.date_range('1900-1-1', periods=100000)

In [3]: def f():
   ...:     for i in range(4):
   ...:         dti.year
In [4]: @test_parallel(4)
   ...: def g():
   ...:     dti.year

In [8]: %timeit f()
10 loops, best of 3: 25.8 ms per loop

In [9]: %timeit g()
100 loops, best of 3: 7.71 ms per loop

@chris-b1 loooks good. can you add a whatsnew note (perf) and squash.

@jreback - updated

thanks!

@chris-b1 can you add these (clean then make again to see them)
warning: pandas/src/period.pyx:144:24: Use boundscheck(False) for faster access
warning: pandas/src/period.pyx:145:23: Use boundscheck(False) for faster access
warning: pandas/src/period.pyx:147:55: Use boundscheck(False) for faster access
warning: pandas/src/period.pyx:148:19: Use boundscheck(False) for faster access
warning: pandas/src/period.pyx:169:24: Use boundscheck(False) for faster access
warning: pandas/src/period.pyx:170:19: Use boundscheck(False) for faster access
warning: pandas/src/period.pyx:172:15: Use boundscheck(False) for faster access
warning: pandas/src/period.pyx:172:53: Use boundscheck(False) for faster access
building 'pandas._period' extension


phase2: exclude the 'config upload' step for upgrades

@fabriziopandini as promised, but i haven't experimented if this fixes it.
do we have to still include this for 1.11?

@neolit123 Thanks.
IMO this change is a good idea, but k/a is  not working for  me locally in this days and being not able to test I prefer to hold k/a near release
/hold


React Native and Redux Saga issue with ListView component

I am having bit of wrinkle in my React Native project. I have successfully deployed Redux Saga into the project and got my required data into the reducers. I then used mapStateToProps to bring the data back into my React component. The data has successfully arrived into the component. However, the problem appears when I pass the data(array) into dataSource.cloneWithRows(launchAppReducer.data) it doesn't process the data as it should be in order to render it on the UI.
Following is the code I am using and I also have attached my console.log() screenshot if it helps to get down to the problem here.

Following is the code;
class Mobile extends Component {

      constructor(props) {
        super(props);
        let { readPostsAction } = this.props;
        readPostsAction();
      }

      render() {
        let { data } = this.props;
        return (
          <Container>
            <ListView
              dataSource={data}
              renderRow={
                (rowData) =>
                  <View>

                  </View>
              }
            />
          </Container>
        );
      }
    }

    const dataSource = new ListView.DataSource({
      rowHasChanged: (r1, r2) => r1 !== r2
    });

    function mapStateToProps({ launchAppReducer }) {
      return {
        isLoading: launchAppReducer.isLoading,
        data: dataSource.cloneWithRows(launchAppReducer.data)
      }
    }

    export default connect(mapStateToProps, { readPostsAction: actions.readPostsAction })(Mobile);

I have used the same logic with redux and redux thunk - the code was working fine.

Sorry but this place is about redux-saga issues & your problem looks like a developer mistake, it's usually better to ask such questions on sites like stackoverflow.
Also your screenshot & component sample is not enough to help you here, I'd inspect what's going with cloneWithRows more closely on your place.


Remove unneeded load() method.

@SahAssar Tested on both 3.2 and 3.3 :-)

@bobdenotter I'll just take your word on that :)

@nestordedios Thanks!


withContent returns a 500 when no body is sent

Describe the Issue
When no body is sent with a request that uses the withContent middleware, a 500 Internal Server Error is returned. The expectation is possibly for a 400 Bad Request instead, since you were expecting a body, but didn't receive one - hence bad input.
Example Router Code
Please provide the itty-router code related to the issue. If possible, create a minimal, reproducible example.
import { Router, error, json, withContent } from 'itty-router';

const router = Router();

router
	.post('/', withContent, ({ content }) => console.log(content))

	.all('*', () => error(404));

export default {
	fetch: async (request, env, ctx) =>
		router.handle(request, env, ctx).then(json).catch(error)
};

Request Details

Method: POST, PUT
URL: any / non-specific
Request Body: none
Request Headers: Content-Type: application/json

Steps to Reproduce
Steps to reproduce the behaviour:

Install and run dev server (uses npm below, but use whatever package manager you like):

git clone git@github.com:smcstewart/itty-router-without-content.git
cd itty-router-without-content
npm install
npm run dev

Open a new terminal and run cURL (or whatever else you like: e.g. httpie) and perhaps something like jq for a pretty-printed response:

curl -v --request POST \
  --url http://localhost:8787/ \
  --header 'Content-Type: application/json'

You will see a HTTP 500 Internal Server Error and the following JSON response:

{
  "status": 500,
  "error": "Unexpected end of JSON input"
}

Expected Behaviour
I would expect to see a 400 Bad Request since the input is bad.
Actual Behaviour
It currently returns a 500 Internal Server Error.
Environment (please complete the following information):

Environment: Cloudflare Workers
itty-router Version: 4.0.27
Other Relevant Libraries and their versions: node 20.11.0, wrangler 3.23.0

Additional Context
None.

Closed thanks to your PR :)


Getting logged out when opening multiple tabs of product edit pages

PHP Version
8.0.9
Shopware Version
6.4.10
Expected behaviour
Multiple tabs to open correctly and being able to change the product information without needing to login again.
Actual behaviour
Getting logged out and being returned to the login screen with this error on the screen:
Cannot read properties of undefined (reading 'response')
And this error in the network tab on the message?limit=5 request:
{"errors":[{"code":"9","status":"401","title":"The resource owner or authorization server denied the request.","detail":"The JWT string must have two dots"}]}
How to reproduce

Login to an administration panel of any Shopware site
Go to Catalogues -> Products
Use middle mouse button or ctrl + click to open at least +- 10 products in new tabs

It doesn't matter whether they are different products or the same. It's just easier to open multiple different products because of the name edit functionality.

I've been able to reproduce this with as little as opening 3 products in quick succession.

There's a correlation with having slow internet speeds, because using slow 3g speed in the throttling settings makes reproducing this issue with 2 products work almost all of the time.

It also doesn't seem to happen with any other entities when trying the same thing. These are some of the ones I've tried:

Dynamic product groups
Properties
Customer
Orders

We're also being affected regularly by this issue after recent updates (assuming version 6.4.18) when the browser tab remains open for a while (approximately one hour).

Thanks for reporting the issue, it should be fixed now by this commit: https://github.com/shopware/platform/commit/2e46cd7f9166bc8666838c7d18256cc0f54e311c
The fix will be included in the upcoming minor and the new major release, if you still experience any problems in that regard feel free to reopen this ticket.


bugfix(TDI-38220): Removed unnecessary constant, replaced default query

Please check if the PR fulfills these requirements

[x] The commit message follows Talend standard
[x] Tests for the changes have been added (for bug fixes / features)

What is the current behavior? (You can also link to an open issue here)
What is the new behavior?
Fixed comments from previous review
Does this PR introduce a breaking change?

[ ] Yes
[x] No

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...
Other information:
https://jira.talendforge.org/browse/TDI-38220

LGTM


Cannot pull pbp data for Washington Football Team post 2018

Since there is no mascot for the Washington Football Team post 2018, its produces the following key error:
KeyError                                  Traceback (most recent call last)
~\AppData\Local\Temp/ipykernel_17088/3575107685.py in
----> 1 nfl = sportsdataverse.nfl.NFLPlayProcess("401326425").espn_nfl_pbp()
~\Anaconda3\lib\site-packages\sportsdataverse\nfl\nfl_pbp.py in espn_nfl_pbp(self)
112         )
113         awayTeamMascot = str(
--> 114             pbp_txt["header"]["competitions"][0]["competitors"][1]["team"]["name"]
115         )
116         homeTeamName = str(
KeyError: 'name'

Can you provide the code that caused this error?


Chef Infra 15: No "cookbooks" attribute passed back to Chef Infra Server

Description
I did a search online and asked on the Slack channel about this issue. I also skimmed briefly through the diff files with a member from the Slack channel and compared between the 2 versions I am having issues with.
I am trying to find out if something has changed in Chef Infra 15 with some of the attributes being passed back to the Chef Infra server. We have a cookbook that relies on searching attributes on the Chef Server for the node['cookbooks'] attribute to see if a node is running a specific cookbook. Was this removed in Chef Infra 15 as I can not see the "cookbooks" attribute on any of my Chef 15 nodes, but can on my Chef 14 nodes.
For further context when running chef-shell --client and switching to attributes_mode and doing node.cookbooks I am able to see the cookbooks applied to the node, but again they are not passed back to the Chef server on Chef client run completion.
Is this an intended consequence of Chef Infra 15? I was not able to find anything in the release notes about it?
Chef Version
Chef Client 14.13.11 (works)
Chef Client 15.1.36 (doesn't work)
Chef Client 15.2.20 (doesn't work)
Platform Version
All of the clients we have running Chef 15 right now are RHEL 7.6 and RHEL 7.7.
Replication Case
Run Chef Client 14, see expected "cookbooks" attribute. Run Chef Client 15 don't see the "cookbooks" attribute.
Client Output
chef-shell --client and switching to attributes_mode and doing node.cookbooks I am able to see the cookbooks applied to the node, but again they are not passed back to the Chef server on Chef client run completion.

That certainly isn't an intended effect, but at the same time we didn't touch any code that would have directly affected that.  The fact that you can see them applied to the node in chef-shell suggests more of a config problem on your side.
Note that if you have whitelist/blacklists configured that we fixed bugs in that so that they work properly now:
https://github.com/chef/chef/pull/8396/commits/0656a02111ad32ccccdc92e29d53a32b2c8dd66e

Unfortunately, we are not using any sort of whitelist or blacklist for our attributes. We are setting up some of the lines in our config.rb with the chef-client cookbook. Here is a sample below of the config.rb.
chef_license "accept"
chef_server_url "https://chef-server.fdqn/organizations/org_name"
client_fork true
log_location "/var/log/chef/client.log"
ssl_verify_mode :verify_none
validation_client_name "name-validator"
verify_api_cert false
node_name "node-name"

ohai.plugin_path << "/etc/chef/ohai/plugins"

Also of note, we are still getting all of the other attributes properly along with other attributes from the chef-server such as role, run_list and recipes.

@lamont-granquist I have reproduced the same here at Chef in Chef Infra Client 15.0.293 and 15.2.20 while 14.x works.
It's confusing, because the first thing I checked was the code here and it's still there https://github.com/chef/chef/blob/v15.2.20/lib/chef/node.rb#L87-L95
Here is output from the same node, same runlist, same /etc/chef/client.rb
The only thing changing is the rpm installation of the chef-client program
14.x knife node show NODENAME -Fj -l output
....other typical node data....

    "expanded_run_list": [
      "audit::default",
      "location_plugin::default",
      "test::default"
    ],
    "roles": [

    ],
    "cookbooks": {
      "audit": {
        "version": "7.8.0"
      },
      "location_plugin": {
        "version": "0.1.5"
      },
      "ohai": {
        "version": "5.1.0"
      },
      "test": {
        "version": "0.1.0"
      },
      "chef-ingredient": {
        "version": "2.3.0"
      }
    }

15.x knife node show NODENAME -Fj -l has no cookbooks data output

It is good that you were able to see the same issue on your end. This rules out that it is limited to just my setup and configuration. Any thoughts on what may be causing it?

There's code rearrangement in the policy_builder code here:
https://github.com/chef/chef/blob/v15.2.20/lib/chef/policy_builder/expand_node_object.rb#L77-L96
run_context.node = node

cannot be called before:
run_context.cookbook_collection = cookbook_collection

because set_cookbook_attribute is called as a side-effect of setting the node on the run_context (which is probably poor).


[$250] Workflow - Second approver disappears after editing and saving approval workflow

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 9.0.45-2
Reproducible in staging?: Y
Reproducible in production?: Y
Email or phone of affected tester (no customers<EMAIL_ADDRESS>Issue reported by: Applause Internal Team
Action Performed:

Go to https://staging.new.expensify.com/
Create a new workspace.
Add multiple members, including Approver A, Approver B, and an employee.
Go to "More Features" and enable workflow.
Go to workflow and create an approval workflow:

The employee submits to Approver A.
Approver B is set as the second approver.

Click on the approval workflow created in step 5.
Click on "Expense From" and choose several members along with the employee, then save the changes.
Reopen the same approval workflow.
In "Expense From," deselect all members except for the employee, then save the configuration.

Expected Result:
The second approver (Approver B) should remain in the approval workflow after saving the changes.
Actual Result:
After saving the edited approval workflow, the second approver (Approver B) is removed from the workflow.
Workaround:
Unknown
Platforms:

[ ] Android: Native
[x] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
https://github.com/user-attachments/assets/4ad435a4-5e23-4765-a7e6-80a4a61e7338

View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~021843144039278346707
Upwork Job ID:<PHONE_NUMBER>278346707
Last Price Increase: 2024-10-07

Issue OwnerCurrent Issue Owner: @abdulrahuman5196

@Christinadobrzyn  FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

Oh interesting - I can reproduce with the steps in the OP. I think this can be external

waiting on proposals

Hi, I'm Viktoryia from Callstack - expert contributor group - and I would like to work on this issue.

It looks like it's an API issue.
Params the app sends to the UpdateWorkspaceApproval API call during expenses members deselect (deselected<EMAIL_ADDRESS>user):

Here is the response I got from the API:

As you can see API besides updating<EMAIL_ADDRESS>user updated the<EMAIL_ADDRESS>(Approver 1) as well. It cleaned up his forwardsTo field => due to this Approver 2 got removed.
So the fix would be updating  UpdateWorkspaceApproval API call not to clear out forwardsTo field of the approver during employee deselect. Maybe Approver 1<EMAIL_ADDRESS>in this example) shouldn't be updated at all. But it's better to confirm with the BE team.

@abdulrahuman5196 What do you think about my suggestion above?

Hi @VickyStash thanks for joining us! I've added you to this GH. @abdulrahuman5196 if you can review the above proposal that would be great! TY!

@abdulrahuman5196 kind bump 🙂

just checking on this review @abdulrahuman5196 - thanks!

@abdulrahuman5196 any news?

Checking now

@Christinadobrzyn I agree, seems to be an API issue as suggested by @VickyStash . Can we involve an internal engineer here?

yep! Added the internal label - I'll try to find someone to grab this.

Based on the Slack convo - https://expensify.slack.com/archives/C06ML6X0W9L/p1729217268737929
@Beamanator might be able to grab this this week!

Ok tested and reproduced, but there's also potentially other similar issues when we're removing multiple Expenses from people & leaving 1 - I think I was able to "try" to remove multiple Expenses from people when the Approver is the workspace owner, and nothing happened (the people I removed came back) - I believe because we default to the owner. If so, we should prevent removing people in the FE if the end result is the same

Anyway, while testing THIS issue, I saw that the API endpoint name is UpdateWorkspaceApproval, which I believe was built by @tgolen and his goons :D @tgolen do you want to investigate the weirdness happening in this issue? I should have time a bit later this week to do a deeper investigation ifff you'd prefer 👍

I just retested and it's still happening.
@tgolen would you have the bandwidth to investigate this? Let me know or I can reach out to the team to try and find a volunteer. Thanks!

I just retested and it's still happening based on the video and steps in the OP.
@tgolen would you have the bandwidth to investigate this? Let me know or I can reach out to the team to try and find a volunteer. Thanks!

Daily Update

I wrote an Auth PR to fix the bug

Next Steps

@bondydaa and @Beamanator review and merge the PR
Wait for it to get deployed
@Christinadobrzyn verify that the bug is fixed

ETA

Deployed tomorrow, Oct. 29

I think since this is internal, I will unassign @abdulrahuman5196 and @VickyStash. Thanks for pointing out the issue and investigating it!

Awesome! thanks @tgolen!

monitoring PR

monitoring https://github.com/Expensify/Auth/pull/12958

Tested again and the issue is still happening. I think we're still working on the PR - monitoring

Yes PR was merged end of last week, should get deployed today 👍

Awesome! I tested again, and this is fixed. Thanks @tgolen and @Beamanator! Closing


About pre-training time

Hello.
I want to know the approximate time for pre-training using 16 A100.
Thank you!

Hello,
If I remember correctly, it should be approximately 2 hours.
Renaud

Thanks a lot for your response. It means a lot to me.
I have a follow-up question regarding running the evaluation using the provided checkpoints. When I execute the following command:
CUDA_VISIBLE_DEVICES=1 python3 -m downstreams.propagation.start --davis --checkpoint=./ckpt/cropmae_k400.pth \
--output_dir=./downstreams/propagation/log --davis_file=./downstreams/propagation/davis_vallist_480_880.txt \
--davis_path=./datasets/DAVIS_480_880

I get the following results:
DAVIS RESULTS: {'J&F-Mean': 0.579, 'J-Mean': 0.564, 'F-Mean': 0.594}
However, the reported results are:
DAVIS RESULTS: {'J&F-Mean': 0.586, 'J-Mean': 0.558, 'F-Mean': 0.614}
(These results were obtained using Kinetics for pre-training.) How can I improve my results? Is it related to setting a different seed or other factors?
Could you please help me with this?

I try to reproduce the results based on the model available in the README, and I obtained the following results:
DAVIS: {'J&F-Mean': 0.586, 'J-Mean': 0.558, 'J-Recall': 0.666, 'J-Decay': 0.186, 'F-Mean': 0.614, 'F-Recall': 0.72, 'F-Decay': 0.24}
Which ckpt did you use ?

I use the ckpt in https://drive.google.com/file/d/1oMXiX_uyGzyQB7S-MYkdJvKFmIuPXkYb/view?usp=sharing .

Then you should obtain the same results I have.. It's strange

Thank you for your response. I will carefully review this to reproduce the reported results.


update nodejs version 14 -> 16

Problem
old nodejs
Changes

updated Dockerfiles
updated package.json

Main branch dependencies

Neodora Analysis ⚠
 ⚠ Missing exclusions in .dockerignore

Message: .dockerignore should contain .git and .deploy exclusions
File: .dockerignore

Missing exclusion

.deploy

🔍 How to fix it

 ⚠ Missing cache in Github Workflow

Message: Github workflow should be using caching when step uses actions/setup-node

Workflow file
Job name
Step index
Actual cache value
Expected cache value

perf-test.yml
docker
1
Not found
npm

🔍 How to fix it

 ⚠ Missing cache in Github Workflow

Message: Github workflow should be using caching when step uses actions/setup-node

Workflow file
Job name
Step index
Actual cache value
Expected cache value

on-commit.yml
test
2
Not found
npm

🔍 How to fix it

 ⚠ Missing cache in Github Workflow

Message: Github workflow should be using caching when step uses actions/setup-node

Workflow file
Job name
Step index
Actual cache value
Expected cache value

functional-test.yml
docker
1
Not found
npm

🔍 How to fix it

Commit b4bbb31  Job 32236

Neodora Analysis ⚠
 ⚠ Missing cache in Github Workflow

Message: Github workflow should be using caching when step uses actions/setup-node

Workflow file
Job name
Step index
Actual cache value
Expected cache value

perf-test.yml
docker
1
Not found
npm

🔍 How to fix it

 ⚠ Missing cache in Github Workflow

Message: Github workflow should be using caching when step uses actions/setup-node

Workflow file
Job name
Step index
Actual cache value
Expected cache value

on-commit.yml
test
2
Not found
npm

🔍 How to fix it

 ⚠ Missing exclusions in .dockerignore

Message: .dockerignore should contain .git and .deploy exclusions
File: .dockerignore

Missing exclusion

.deploy

🔍 How to fix it

 ⚠ Missing cache in Github Workflow

Message: Github workflow should be using caching when step uses actions/setup-node

Workflow file
Job name
Step index
Actual cache value
Expected cache value

functional-test.yml
docker
1
Not found
npm

🔍 How to fix it

Commit 0fa7242  Job 32251


addOnUserLeaveHintListener

In this snippet and the documentation mentioned to use the addOnUserLeaveHintListener to register a listener for user leave action of the activity but I have not found such a method. I am using the latest version of androidx.activity:activity which is 1.8.2.

It looks like these are in 1.9.0-alpha01 and newer. I'm not sure what the release schedule for that artifact is, but it looks like there's currently a beta, so hopefully a stable release is coming soon.
For reference, this is defined in the OnUserLeaveHintProvider here and implemented in ComponentActivity here.


[FLINK-30622][Connector/Pulsar] Support consuming messages with schema auto-detection from Pulsar.

What is the purpose of the change
This PR adds the Schema.AUTO_CONSUME() support by introducing a new GenericRecordDeserializer.
Brief change log

Remove the deprecated methods in PulsarSerializationSchema and PulsarDeserializationSchema
Add a new GenericRecordDeserializer for deserializing the GenericRecord.
Add document on how to use the GenericRecordDeserializer

Verifying this change
This change added tests and can be verified as follows:

GenericRecordDeserializationSchemaTest

Does this pull request potentially affect one of the following parts:

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

Documentation

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

I have written a release note for the upcoming flink-connector-pulsar 4.0.0 release. It contains the detailed check list for the break changes we will meet.
https://docs.google.com/document/d/13XxYmG6EGFb4tDIa7YjQ1qjLzXGOpalzNgTEXZrDKvw/edit?usp=sharing


Added documentation in cirq_superstaq

I put a docstring for the class initialization function for CompilerOutput. This may not be a standard, feel free to remove.

The exceptions in the counts function for job.py may be incorrect. Is the RuntimeError supposed to be a SuperstaqUnsuccessfulJobException?

The checks pass, but return:

************* Module cirq_superstaq.compiler_output
cirq-superstaq/cirq_superstaq/compiler_output.py:61:4: C0199: First line empty in method docstring (docstring-first-line-empty)

not sure if this is a problem (see 1).

@PalashGoiporia, here are the files on the spreadsheet that this creates docstrings for:
./cirq-superstaq/cirq_superstaq: |
compiler_output.py | Kabir
job.py | Kabir
sampler.py | Kabir
serialization.py | Kabir
service.py | Kabir
These last three files on the spreadsheet required no docstrings.


search files recursive in directories

When we set a directory then make sense search recursive in subdirectories too.
Reference to Nette\Utils API - https://api.nette.org/2.4/Nette.Utils.Finder.html#_from

Nice catch, thanks!


Stylix error "The option `dconf' does not exist"

Hi all, I tried to look for a solution in the existing issues but I could not find any similar ones. I installed stylix as a home manager module but when I try to rebuild my configuration it complains that the option 'dconf' does not exist:
error:
       … while calling the 'seq' builtin
         at /nix/store/w66xaybnxjf5zhxapxs3pd3zp7gxk9dw-source/lib/modules.nix:334:18:
          333|         options = checked options;
          334|         config = checked (removeAttrs config [ "_module" ]);
             |                  ^
          335|         _module = checked (config._module);

       … while calling the 'throw' builtin
         at /nix/store/w66xaybnxjf5zhxapxs3pd3zp7gxk9dw-source/lib/modules.nix:310:18:
          309|                     ''
          310|             else throw baseMsg
             |                  ^
          311|         else null;

       error: The option `dconf' does not exist. Definition values:
       - In `/nix/store/ch28c280mcx5qrbyynnraadv74c08y58-source/modules/gnome/hm.nix'

I included dconf.enable=true  in my configuration but that did not work. Looking at the error message it has something to do with gnome. I do not use gnome so I disabled the target with stylix.targets.gnome.enable=false but still no luck.
How can I further debug this? Any help is much appreciated.

Closing this issue, I got the installation of stylix as a home manager module mixed up with the nixos module.


Project system (Backend)

A system that manages projects all across the service. This system should provide the frontend with the necessary data, so that it can display it.
A user should only be able to see their own projects.

TODOs for now

[ ] Add new project
[ ] Access project data
[ ] Delete project
[ ] Add members
[ ] Add services


Using /mt hand on dedicated server still throws X11 error

Using CraftTweaker-Customized-1.7.10-3.0.1.jar.
This issue still occurs: https://github.com/stanhebben/MineTweaker3/issues/146

Could you try with the latest crafttweaker on curse please, if it is still there, I'll look into it more

Sadly the error still occurs on a completely clean MC1.8.9 server with Forge 1763 using CTv3.0.2.

same problem with MineTweaker 1.7.10-3.0.10B. Can you fix this?

not fixed


Add info about CacheVersion yaml directives for ansible and shell

beforeInstallCacheVersion, installCacheVersion, beforeSetupCacheVersion, setupCacheVersion
for ansible and shell builders
ansible:
  beforeInstallCacheVersion: 1
  beforeInstall:
    - name: hello
      apt:
        name: nginx-extras

https://flant.github.io/dapp/reference/build/assembly_instructions.html


Did u try the e2c model on the simulated inverted pendulum test set ?

Hi,
My name is Yi Zheng, currently I'm also implementing the e2c model my implementation. But when I tried my implementation on the simulated inverted pendumlum dataset, I got the following result:

pretty much it failed completely, just to double check if there is anything wrong in my implementation, I git clone your implementation and tweak the datasets.py and train_e2c.py files to test it on the simulated inverted pendulum dataset, you can see the tweak from the commit history, it still completely failed:

So just want to know did you every tested it on the simulated inverted pendulum dataset ? And I saw you using it on your lidar data, how does it work on the real data ?
Thanks very much for your time and patience !

Looks like I scale the images at the wrong place, before when I load the dataset in datasets.py, I divide the image array by 255. to convert it to 0~1.0. Now instead of doing this, I scale the decoder output by 255. and it gives me the following, though I don't quite understand why this would happen.


Sidecar request for Roomba

This is for 2 plugins:
https://plugins.hoobs.org/plugin/homebridge-irobot-roomba
https://plugins.hoobs.org/plugin/homebridge-roomba-stv
They require gathering the Roomba robot blid and password by running a script using the ip of the robot. Then the fields need to be populated with the returned values.

This is now a priority. There are many support requests regarding the configuration of this plugin because the instructions are hard to follow in HOOBS 4 with a custom named bridge that changes the command.
This is the most up to date plugin to use with the sidecar: https://plugins.hoobs.org/plugin/homebridge-roomba2


Create github-actions-demo.yml

Summary

Changes

Closes:
Task list

[ ] For workflow changes, I have verified the Actions workflows function as expected.
[ ] For content changes, I have reviewed the style guide.

Shannon


Verification Steps

It would be nice if there were verification steps, so you can see that the configuration worked within azure portal.  If there is no place where this setting/information is exposed, then I would recommend exposing that as an enhancement request.

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

ID: 660320d4-fad5-3307-e29f-5f4cfad4b7f7
Version Independent ID: 85ac2e8b-633f-6e1a-e642-0645ca92e129
Content: API server authorized IP ranges in Azure Kubernetes Service (AKS)
Content Source: articles/aks/api-server-authorized-ip-ranges.md
Service: container-service
GitHub Login: @mlearned
Microsoft Alias: mlearned

Bumping this one because I haven't heard anything in a week.

I checked today and it seems the security center item is no longer providing a false positive.


Resolves #2001

Typo in KCC definition.
https://github.com/MicrosoftDocs/windows-powershell-docs/issues/2001

Docs Build status updates of commit 4074a14:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/windows/addsadministration/New-ADReplicationSite.md
:white_check_mark:Succeeded

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

Docs Build status updates of commit 73ea042:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/windows/addsadministration/New-ADReplicationSite.md
:white_check_mark:Succeeded

docset/winserver2012-ps/activedirectory/New-ADReplicationSite.md
:white_check_mark:Succeeded

docset/winserver2012r2-ps/addsadministration/New-ADReplicationSite.md
:white_check_mark:Succeeded

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

@dariomws @get-itips @tseward
Peer review needed for this PR. Thanks.

@JohanFreelancer9 Copy editing is needed for this PR. Thanks.

Docs Build status updates of commit 98257cc:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/windows/addsadministration/New-ADReplicationSite.md
:white_check_mark:Succeeded

docset/winserver2012-ps/activedirectory/New-ADReplicationSite.md
:white_check_mark:Succeeded

docset/winserver2012r2-ps/addsadministration/New-ADReplicationSite.md
:white_check_mark:Succeeded

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

Generally there are not examples in the parameter description. I think only AD 2012 articles have it and I do it to have the same parameter description across version. They probably add some value but it is better to be in the examples section.

@velkovb I agree with you, if we only see this in 2012 articles I think it´s a better idea to be consistent and remove them as they are in 2012 R2 and 2016 articles.

"[!NOTE]" text should not be part of PowerShell examples as PowerShell (the console) cannot format them. If they are included, "[!NOTE]" and the associated text must be prefixed with ">".

Docs Build status updates of commit ba2f324:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/windows/addsadministration/New-ADReplicationSite.md
:white_check_mark:Succeeded

docset/winserver2012-ps/activedirectory/New-ADReplicationSite.md
:white_check_mark:Succeeded

docset/winserver2012r2-ps/addsadministration/New-ADReplicationSite.md
:white_check_mark:Succeeded

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

Docs Build status updates of commit ba2f324:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/windows/addsadministration/New-ADReplicationSite.md
:white_check_mark:Succeeded

docset/winserver2012-ps/activedirectory/New-ADReplicationSite.md
:white_check_mark:Succeeded

docset/winserver2012r2-ps/addsadministration/New-ADReplicationSite.md
:white_check_mark:Succeeded

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

"[!NOTE]" text should not be part of PowerShell examples as PowerShell (the console) cannot format them. If they are included, "[!NOTE]" and the associated text must be prefixed with ">".

Good to go after Trevor's suggestion. cc @velkovb

Docs Build status updates of commit 54a46b3:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/windows/addsadministration/New-ADReplicationSite.md
:white_check_mark:Succeeded

docset/winserver2012-ps/activedirectory/New-ADReplicationSite.md
:white_check_mark:Succeeded

docset/winserver2012r2-ps/addsadministration/New-ADReplicationSite.md
:white_check_mark:Succeeded

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

In review.

@velkovb
I can't see why the "Note:" items in these articles shouldn't be "> [!NOTE]", and it looks like the instances here only needed to have an angle bracket precede both "[!NOTE]" and the subsequent lines of the note text.
However, since this repo doesn't have preview on its builds, I'm not going to make changes. I'll merge this PR now.


Minh tuần 3

học

[ ]  - Basics of machine learning algorithms and their applications.
[ ]  - Supervised and unsupervised learning concepts.

làm

[ ] Explore simple machine learning models like Naive Bayes and Decision Trees using Python libraries such as scikit-learn.

done


Provide ability to tag GCE instances

GCE provides ability to tag instances and subsequently these tags
can be used in the network/firewall rules. Hence firewall rules
can be specified based on specific instance tags, which can be
assigned at launch time to control the network communication(s)
required by the specific GCE instance.

Couple of items of note:

The validate_image_name is now overloaded since the same validation applies for tags as well as instance names
No specific tests have been added

If there are any feedback/suggestions on the above items, let me know.

Please take a look again.

Please take a look again, pending agreement of the naming of tags vs claims or anything else.

@bburtin can you take one final look?

Removed all AWS changes, except for minor doc updates. Will submit the AWS changes in a separate commit. Please review just for the GCE specific changes.


Not able to get the nodes list related to the particular AKS cluster

@mccoyp
I tried to get the clusters list available in the subscription. But, I am not able to fetch the connected NODES with respect to the cluster.
I used the following library to fetch the clusters list - "azure-mgmt-containerservice==29.0.0"
I need the library to fetch the list of NODES connected to the cluster in a single api call.

Thanks for the feedback, we’ll investigate asap.

@ChenxiJiang333 please help on this issue

Hi @lokesh190496, you can try these codes below.
response = client.managed_clusters.list()
print(next(response).agent_pool_profiles[0].as_dict())


checkout process does not create new customer record or assign order to existing customer

I can't see where or how I would assign an order to a customer record or create one if it does not exist.

To create a customer and link it to an order you can do this:
customer = Shoppe::Customer.create first_name: "test"
current_order.customer_id = customer.id

I have tried the following in my orders controller in the checkout action:
  customer = Shoppe::Customer.create email: @order.email_address
  current_order.customer_id = customer.id

but no customer was created. Also I would need to add some checking to see if the email address is in the customer table and if so, user that id rather than create a new one.

When I look at the parameters, customer_id is not there:
Request
Parameters:
{"utf8"=>"✓",
"_method"=>"patch",
"authenticity_token"=>"CgKRkThtF53PjZbYA04Zm+2iODkPb4JbSdkbHN/Gq1WXVE9qg71mWMZIJs4IngG+TjnlkiEauXIHdMXBejfRUA==",
"order"=>{"first_name"=>"sgsdfgsdfg",
"last_name"=>"sdfgsdfgsdf",
"company"=>"",
<EMAIL_ADDRESS>"phone_number"=>"334634563456",
"billing_address1"=>"sertdfg",
"billing_address3"=>"sdfgsfdgs",
"billing_address4"=>"dfgsdfgsg",
"billing_postcode"=>"sdfgdsfg",
"billing_country_id"=>"77",
"separate_delivery_address"=>"0",
"delivery_name"=>" ",
"delivery_address1"=>"",
"delivery_address3"=>"",
"delivery_address4"=>"",
"delivery_postcode"=>"",
"delivery_country_id"=>"3"}}

This is my full code snippet
def checkout
@order = Shoppe::Order.find(current_order.id)
if request.patch?
@order.attributes = params[:order].permit(:first_name, :last_name, :company, :billing_address1, :billing_address2, :billing_address3, :billing_address4, :billing_country_id, :billing_postcode, :email_address, :phone_number, :delivery_name, :delivery_address1, :delivery_address2, :delivery_address3, :delivery_address4, :delivery_postcode, :delivery_country_id, :separate_delivery_address, :customer_id)
@order.ip_address = request.ip
if Shoppe::Customer.where(email: @order.email_address).present?
customer = Shoppe::Customer.find_by_email @order.email_address
else
customer = Shoppe::Customer.create email: @order.email_address
end
current_order.customer_id = customer.id.break
if @order.proceed_to_confirm
redirect_to checkout_payment_path
end
end
end

Yep it won't be in the form output as it's being submitted in the controller for security. If you look in the Shoppe admin, that order should be linked to that customer

No, the order is not linked in the admin interface, nor is a customer created in the admin interface.

Phone is also required so you'd need that in order for it to create the customer - https://github.com/tryshoppe/shoppe/blob/master/app/models/shoppe/customer.rb#L13

Ah, quite right, I hadn't spotted that.
It now creates customer records corrrectly but how do I link the customer_id to the order?

This is now resolved. Thanks


fix(modelCache): fixed model cache clearing

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

Project coverage is 90.98%. Comparing base (3cfe343) to head (a295a7c).

Files
Patch %
Lines

src/mongooseModelEvents.ts
0.00%
2 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master      #83      +/-   ##
==========================================
+ Coverage   90.84%   90.98%   +0.13%
==========================================
  Files          27       27
  Lines         601      599       -2
  Branches      131      131
==========================================
- Hits          546      545       -1
+ Misses         50       49       -1
  Partials        5        5

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


Debug plotly issues

Either switch to cdn or work out how to deal with https://github.com/plotly/plotly.js/issues/5925
Might be fixed by fixing  #2926

Can you simply add the missing ndarray dependency? And make a todo to remove it once plotly's distribution is fixed?


Upgrade various packages and apply some modernizations

Upgrade unit test packages and move their definition to Directory.Build.targets
Include GitHubActionsTestLogger
Upgrade CSharp, NuGet, OpenAPI, MS.Ext.Http, etc

/merge


Some textures flickering in "The Saboteur" game (d3d9)

There are some textures flickering in definite locations (in general game are playable).
Software information
Saboteur.exe (from GOG)
System information

GPU: ACO POLARIS11 (LLVM 10.0.0)

Driver: AMD RADV (mesa build from git)

Wine version:  wine-5.5 (Staging)

DXVK version: v1.6-28-g3f4ffdf

Apitrace file(s)

Put a link here
https://drive.google.com/file/d/1EUDneqhTe60--Sojf_RmH5UR-DQS4bkj/view?usp=sharing

Log files

d3d9.log:
Saboteur_d3d9.log

d3d11.log:

dxgi.log:

It looks good to me on DXVK v1.7, so you may want to recheck.

It could also be an issue with RADV.

Looks so, just retested with dxvk v1.7-40-g5558460 - no changes here.

WinterSnowfall - trace replaying fine for you? (it may be different with game, i suppose).

WinterSnowfall - trace replaying fine for you? (it may be different with game, i suppose).

Yes, your trace also looks good on my GTX 1080. I see no flickering.

It's a precision error that only happens on AMD, both radv and amdvlk, d3d9.invariantPosition = True doesn't help.

Just a quick update that this is still present on mesa git. Looking into making a mesa issue.

Comment from the mesa issue
"This isn't a RADV issue as far as I can tell. It's caused by DXVK's D24 emulation using D32. AMD doesn't support D24, nvidia does. If I force DXVK to always use D32 I can reproduce the issue on nvidia."

This is probably caused by the depth bias.
First it draws this with a depth bias:

This this mesh without one:

Fixed by #3501


Feature description table not compatible with tsflattener v2

We can no longer simply supply the specs, as each spec can be multiple features. Instead, we should probably parse the column names and extract the relevant information from them.

Adressed in #962


Comment View Controller Refactoring and Documentation. Networking Issue Fix.

This Pull Request, contains CommentVC being mildly refactored and most importantly documentation added to make it readable to other developers. Along with a few other minor fixes. This PR also fixes the issue of Comments not being reloaded after a network issue. Lastly, native network framework added for better usability of monitoring network changes.

Thank you. I didn't notice so many different things that shouldn't be committed. I will get those fixed as quick as I can.


Cannot find gateway

Hello,
I installed mowl using pip according to the instructions on the website, but when I try to run the first example I get:
File ~/.pyenv/versions/3.9.13/lib/python3.9/site-packages/mowl/datasets/__init__.py:7, in <module>
      5 dirname = os.path.dirname(__file__)
      6 jars_dir = os.path.join(dirname, "../../gateway/build/distributions/gateway/lib/")
----> 7 jars = f'{str.join(":", [jars_dir + name for name in os.listdir(jars_dir)])}'
      9 if not jpype.isJVMStarted():
     10     jpype.startJVM(
     11         jpype.getDefaultJVMPath(), "-ea",
     12         "-Xmx10g",
     13         "-Djava.class.path=" + jars,
     14         convertStrings=False)

FileNotFoundError: [Errno 2] No such file or directory: '/home/leechuck/.pyenv/versions/3.9.13/lib/python3.9/site-packages/mowl/datasets/../../gateway/build/distributions/gateway/lib/'

Do I need to install another package?

After building from source, this works, but I then get:
java.lang.ClassNotFoundException: java.lang.ClassNotFoundException: org.mowl.Parsers

There does not seem to be a jar file built from the scala files.

Minor nit... the failure point for this error shows this package is using an outdated pattern of directly calling startJVM with -Djava.class.path rather than using the classpath keyword argument.  As formulated it is not portable as Windows uses ; and unix uses :.  Please place an issue upstream to revise the start command.  Sending a list of paths will automatically join with the proper separator.


Add VMC toggle to mirror tracking

This adds toggle to mirror the tracking before sending it via VMC. It does not mirror the tracking inside the skeleton itself.
needs https://github.com/SlimeVR/SolarXR-Protocol/pull/140
closes https://github.com/SlimeVR/SlimeVR-Server/issues/952

Added a fix on solarxr after the merge 54a1b94


Magic encoder does not use previously used code pages when possible

I have:

[x] searched open and closed issues for duplicates

Bug description
MagicEncode is supposed to search previously used code pages first, but it does not.
Steps to reproduce
from escpos import printer

prn = printer.File('/dev/null', profile=None)
enc = prn.magic.encoder

for ch in ('Á', 'É', 'Í', 'Ó', 'Ú'):
    print(f'Encoding for {ch} is {enc.find_suitable_encoding(ch)}')

Output is
Encoding for Á is CP857
Encoding for É is CP437
Encoding for Í is CP1252
Encoding for Ó is CP852
Encoding for Ú is CP858

But in fact, all 5 characters can be found in the CP857 code page.
Device info
Printer: None
python-escpos version: 3.0a10.dev32+gadcde8a
python version: 3.11.4
operating system: MacOS 13.5.2

The fix is simple. In magicencode.py replace line 313 with the following:
        used = key in self.used_encodings
        return (not used, index)

The sort order for boolean values is (False, True), so the boolean condition needs to be negated to make previously used pages appear first in the sorted list.


Allow semigroupoids-5

Builds with semigroupoids-<IP_ADDRESS>.

Now on hackage as <IP_ADDRESS> -- with wider bounds still.


Fix clickable area for month navigation chevron buttons in datepicker

Hi,
At the moment, when navigating forwards or backwards for the month in a re-com datepicker, the clickable area is limited to the chevron icon. However, the entire button (th element) has a pointer cursor which means it can be quite confusing when trying to click forwards or backwards but nothing happens due to the cursor not being on the icon. This pull request fixes that problem.

Looks great.  Thanks!
We hope to push out another release in the next few days.  We've got a backlog of PRs.


PP-11548: Add default labels from env and ecs resourcedetection

Update to the latest otel collector, superseding https://github.com/alphagov/pay-adot/pull/8
Use the env resourcedetection processor to allow us to inject resource attributes via the env
Use the ecs resourcedetection processor to gather ECS information
Delete everything the ecs detection found apart from the task arn
Rename the task arn to match our other labels (to ecsTaskARN)
Enable resource to telemetry conversion which will apply the resource attributes as labels to all metrics
Fix deprecation warning that we were using logLevel: info, change to verbosity: normal as suggested in the docs

Edit: This PR (https://github.com/alphagov/pay-infra/pull/4519) adds an OTEL_RESOURCE_ATTRIBUTES env var to populate ecsClusterName, ecsServiceName, containerImageTag, and awsAccountName

I'm going to merge this but I've pinned 6-release in test, so this will deploy alongside toolbox and I can make sure it all works well before allowing it to go out to release (thanks to your integration test work @rfisher-gds :) )


ImportError when running tests using ptw

I have a folder structure like this:
root
|- title_api.py
|- tests
    |- test_title_api.py

Content of test_title_api.py is:
from title_api import *

def test_dummy():
    assert False

Running pytest in the root directory successfully runs test_dummy. But when ptw is run in the root directory, it complains of an ImportError as Python can't find title_api module.
pytest-watch should work similarly to pytest here (add the parent directory to sys.path before running tests).
Notes:

I install latest commit of pytest-watch from its Github url.
I am running version 7.2.0 of pytest in Python 3.11.
My OS is Windows 11.

I have experienced this issue myself.
It seems to be resolved by adding an __init__.py file to your tests folder.
I haven't dug in to explore why it occurs. Adding an (empty) __init__.py to your tests folder can have other impacts, mostly around static analysis, but is generally pretty safe / minor.

It seems to be resolved by adding an init.py file to your tests folder.

Thanks, this worked.


Fix issues with hex_to_rgb

The new 3-digit colours in the theme definitions revealed an error in the hex_to_rgb function, which I fixed here. I've also removed the rounding, as that decreased the colour space during conversion (form 255 to 100 values per colour).
This was very noticeable with widgets in the disabled state, which look better now. The new inputbg colours in dark themes do make disabled widgets very hard to see, I'll submit a PR fixing that in a few minutes.

Good catch. I'll have to check if this affects version 1.0 when I get a chance.

Looks like the function is unchanged in version 1.0, so the same fix should apply.


Naive closing parenthesis matching when evaluating expressions

Trying to evaluate (format nil ")") with \ss yields end of file error.

Oops, guess I need a smarter method, or have to consult the syntax highlighting info.
In the meantime, you can type va(\s as a simple workaround :p


Multiple sensors example

Hi, I am trying to manage two sensors, if I do an i2c scan I see a sensor at 0x29 (the other sensor I keep off by putting xshut to HIGH) but the moment I run vl53lx.InitSensor(0x30); I get 0x18 with an i2c scan instead of 0x30 and I don't understand why, I don't know if I am doing something wrong but if you have ideas you would do me a favor, thanks!
I'm using an esp32 and an adapted code

Hello @Dario-Ciceri ,
it's normal. The address that you assign in the "InitSensor" is in 8-bits format. The value that you read in the I2C scanner is in 7-bits format. 0x18 is 0x30 shifted by 1. So everything should be fine. Consider when you assign the I2C address in the "InitSensor" that you have actually 2 addresses allocated (one for the write operation and one increased by one for the read operation ); for example, when you call vl53lx.InitSensor(0x30); you are allocating the 0x30 address for the write operations and the 0x31 address for the read operations. So, if you want to assign a new I2C address to another ToF sensor you must pass as parameter at least 0x32.
I hope that it can help you.
Best Regards,
Carlo

Hello @Dario-Ciceri , it's normal. The address that you assign in the "InitSensor" is in 8-bits format. The value that you read in the I2C scanner is in 7-bits format. 0x18 is 0x30 shifted by 1. So everything should be fine. Consider when you assign the I2C address in the "InitSensor" that you have actually 2 addresses allocated (one for the write operation and one increased by one for the read operation ); for example, when you call vl53lx.InitSensor(0x30); you are allocating the 0x30 address for the write operations and the 0x31 address for the read operations. So, if you want to assign a new I2C address to another ToF sensor you must pass as parameter at least 0x32. I hope that it can help you. Best Regards, Carlo

Thanks Carlo, I hadn't thought about the 1bit shift actually and I was also assigning 0x30 and 0x31 as addresses... I can try 0x30 and 0x3F to be sure, I'll try now, in the meantime thanks.

If I wanted to test only one sensor at a time, without being able to disconnect them from the board, I would just turn off one sensor via xshut right?

Hello @Dario-Ciceri ,
yes you can have all sensors connected. You just need to put low all the xshut pins and then initializing the sensors one by one.
Best Regards,
Carlo

Hello @Dario-Ciceri , yes you can have all sensors connected. You just need to put low all the xshut pins and then initializing the sensors one by one. Best Regards, Carlo

Thank you

I set to low on both XSHUT sensors and then called sxTof = new Vl53lxWrapper(sxTofXshutPin,
sxTofInterruptPin,
sxTofAddress,
SDA_PIN,
SCL_PIN);
dxTof = new Vl53lxWrapper(dxTofXshutPin,
dxTofInterruptPin,
dxTofAddress,
SDA_PIN,
SCL_PIN);
however it doesn't seem to be working, if it's not too much to ask it would be helpful to have an example with two sensors, in the meantime I'll try to see if I can figure it out

Hello @Dario-Ciceri , You can give a look at the example here. It is based on a shield that mounts 3 VL53L3CX sensors with an IO expander. Anyway, I think that you can check how the several sensors are initialized to get them working. Best Regards, Carlo

I checked and I see that VL53LX_Off() is used which from what I see sets gpio0 to low, I thought it was enough to set XSHUT to low and that gpio0 was the interrupt pin (input pin)

Hello @Dario-Ciceri ,
gpio0 pin in the VL53L3CX library should be the xshut pin. The interrupt pin is not managed inside this library but only at application level.
Best Regards,
Carlo

Hello @Dario-Ciceri , gpio0 pin in the VL53L3CX library should be the xshut pin. The interrupt pin is not managed inside this library but only at application level. Best Regards, Carlo

yes my fault!

you want to laugh? after 5 hours of programming in the cold, moreover I have the flu, I realized a delay that obviously with interrupts doesn't go very well and was the cause of all evil... thanks again... I'd say it's better if I take a break for today after certain mistakes...


R.color compatible with trait collection not working

My assumption for the API might be wrong, but I kinda assumed that R.color.white(compatibleWith: UIKit.UITraitCollection?) can be used to force returning color for specific interface mode, however this doesn't seem to work.
This doesn't work - always returns color based on currently active color scheme:
R.color.white(compatibleWith: UITraitCollection(userInterfaceStyle: .light))
This however works as expected and returns color set for light mode:
R.color.white()?.resolvedColor(with: UITraitCollection(userInterfaceStyle: .light))
Podfile.lock:
  - R.swift (6.1.0):
    - R.swift.Library (~> 5.3.0)
  - R.swift.Library (5.3.0)

Does this work when you try to access the API the without using R.swift? Calling UIColor(named: “white”, compatibleWith: .light)?
Reading the documentation I get the impression it is only meant to work with the gamut.


textarea shows content underneath

https://jsfiddle.net/w9fnjehw/1/
Don't really understand what's going on, i.e. if I add: z-index:1000, background:white on the form or it's div child (holding controls) still see through the form/div. Doesn't make sense. If someone sets the textarea's rows/columns big enough, it will escape the confines of the original element it's editing. Fine, but the thing is: it's see through and other stuff is on top of it somehow.

You need to set the z-index of the "one" class to -1 and then it will be behind the div that contains the expanded text area.

@eugef please close


Feature: add onAnimationStart renderer callback

I am building a project to make animated shiki diffs sharable on social media as gifs.
To simulate the CSS animations and embed them into Canvas elements (which will then be combined into a GIF), I needed the start and end values for each animated element. (x, y, opacity, and color)
I am happy to rename the hook as needed or make any other changes.

Totally makes sense. Since this is very specific to my use case, I don't mind maintaining an internal patch/fork.


Unknown rendering issue.

Minecraft Version
1.18.2
Shimmer version
0.1.10
Modpack info or mod list
https://www.curseforge.com/minecraft/modpacks/create-flavored
The latest.log file
latest.log
optifine , Rubidium , flywheel or any rendering related mods. mod versrion is required.
Only mod i know of is Flywheel, but it still occuring with it off
Issue description
Only colored light i am getting is the torch when i hold it.
Steps to reproduce
No response
Other information
I did add mod and update mods inside the back, but either they only dealt with sound, or i have them disable.
Currently enabled mods are in the these screenshots

caused by AlexsMobs
they set lava's render type: solid -> translucent, which is currently not supported by shimmer
link and code snap:
//required for lava vision
RenderType lavaType = RenderType.translucent();
ItemBlockRenderTypes.setRenderLayer(Fluids.LAVA, lavaType);
ItemBlockRenderTypes.setRenderLayer(Fluids.FLOWING_LAVA, lavaType);

the lava should be the only influenced one, maybe you can see if bloom works fine on redstone dust


Walkback after abort while holding aborted class or package

If you create a class or package, select it, then abort you'll see a walkback because Jadeite doesn't realize the class is gone.

Fixed in 3.0.43 with test.


⭕🚪💲🍴👎🔪

I left some feedback about 80dae33d2d59ef89da77390997fce6cb5601624c and 811cd7c8dc94beb6111050557113b1cd3e8dbe84 but I’m quite happy with 77094c0ac1bc1208051d9963f075cf83d1ded38c. I can cherry-pick that in directly while we discuss the other changes.


image import fails with service instance not found when name is passed

What happened:
Image import to a PowerVS service instance fails when name is passed with instance not found error and succeeds when ID is passed.

What you expected to happen:
Image import to succeed
How to reproduce it (as minimally and precisely as possible):
export IBMCLOUD_API_KEY=<>
pvsadm image import -n ibm-pvs-3-serviceInstance -b power-oss-bucket -o capibm-powervs-centos-streams8-1-28-4.ova.gz -r us-south  --pvs-image-name capibm-powervs-centos-streams8-1-28-4 --public-bucket
Error: instance: ibm-pvs-3-serviceInstance not found

Anything else we need to know?:
On enabling debug logs, I could see that search with name passed via -n(indicating name of the PowerVS service instance) is being searched against COS instances. Sample output:
I0229 01:22:24.762968  145132 pvmclient.go:69] Service ID: c2e6f56f-f292-4cf3-b5a4-6ff8ef5892dd, region_id: global, Name: dhar-hyp-iks-cos
I0229 01:22:24.762997  145132 pvmclient.go:70] crn: crn:v1:bluemix:public:cloud-object-storage:global:a/c265c8cefda241ca9c107adcbbacaa84:c2e6f56f-f292-4cf3-b5a4-6ff8ef5892dd::
I0229 01:22:24.763020  145132 pvmclient.go:69] Service ID: f05943b1-fc01-45ae-9ad6-9fe4d4a44b92, region_id: global, Name: power-images-cos
I0229 01:22:24.763031  145132 pvmclient.go:70] crn: crn:v1:bluemix:public:cloud-object-storage:global:a/c265c8cefda241ca9c107adcbbacaa84:f05943b1-fc01-45ae-9ad6-9fe4d4a44b92::
I0229 01:22:24.763044  145132 pvmclient.go:69] Service ID: 23286650-4fab-4433-bd88-e4626c280867, region_id: jp-tok, Name: logs-tokyo-Zo
...

Ideally shouldn't it list and search against the PowerVS service instances?
Environment:

pvsadm version (use pvsadm version): latest build from main
Environment - On-Prem or IBM PowerVS: IBM PowerVS
OS (e.g: cat /etc/os-release): CentOS Stream 9
Kernel (e.g. uname -a): 5.14.0
Others:

/cc @KeerthanaAP @kishen-v

@Amulyam24
I tried importing image using the service instance name option with latest code and didn't face this issue.
 % ./pvsadm image import -n rdr-openshift-dev -b power-oss-bucket -o capibm-powervs-centos-streams8-1-28-4.ova.gz -r us-south  --pvs-image-name capibm-powervs-centos-streams8-1-28-4 --public-bucket -k <key>
I0306 15:17:17.885490   21102 import.go:203] Image Import Job in-progress, current state: queued
I0306 15:19:20.997993   21102 import.go:203] Image Import Job in-progress, current state: running
I0306 15:21:19.587298   21102 import.go:203] Image Import Job in-progress, current state: running
I0306 15:23:20.259771   21102 import.go:203] Image Import Job in-progress, current state: running
I0306 15:25:20.378923   21102 import.go:203] Image Import Job in-progress, current state: running
I0306 15:27:19.853301   21102 import.go:203] Image Import Job in-progress, current state: running
I0306 15:29:19.326709   21102 import.go:203] Image Import Job in-progress, current state: running
I0306 15:31:24.298760   21102 import.go:220] Retriving image details
I0306 15:31:24.298821   21102 import.go:224] Importing Image capibm-powervs-centos-streams8-1-28-4 is currently in active state, Please check the Progress in the IBM Cloud UI

Thank you for verifying it @KeerthanaAP, I will retry and let you know.

@Amulyam24 how machine service instances you have in your account, hope we aren't dealing with the paging issue here?!
@KeerthanaAP lets check if we are handling the paging properly or not.

@Amulyam24 how machine service instances you have in your account, hope we aren't dealing with the paging issue here?!

@mkumatag, currently, the number of service instances in the account are less than 10 accommodated within a page as of now.
@KeerthanaAP, I was able to import it to the same instance you mentioned rdr-openshift-dev by passing name
However, I haven't been successful with the other instances.
Created a new PowerVS service instance called test-instance as shown below

 pvsadm image import -n test-instance -b power-oss-bucket -o capibm-powervs-centos-streams8-1-28-4.ova.gz -r us-south --pvs-image-name capibm-image --public-bucket
Error: instance: test-instance not found

# Image import passed when ID is passed
pvsadm image import -i 4184a31d-803c-400f-8afb-c8d144e0e411 -b power-oss-bucket -o capibm-powervs-centos-streams8-1-28-4.ova.gz -r us-south --pvs-image-name capibm-image --public-bucket
I0307 04:46:47.718238  207256 import.go:203] Image Import Job in-progress, current state: queued

Same issue occurs when I try with capi-pvs-21-serviceInstance

Interesting, lets debug further..

/assign

I had observed that the bluemix-go API returns only 100 entries when queried. I'm unsure if, with resourcecontrollerv2 and the recent changes that this issue has been addressed.
Also, as there has been an new type composite_instance that has been introduced, we may fail to list them while we may search instances of type service_instance. This has been fixed by querying instances by ID, rather than type.
Ref: https://github.com/openshift/installer/pull/8479

Please feel free to re-open if the issue persists.
/close


what's the best way to addJobCreator?

I have two services in the different process,  should I  need create to two  JobCreator for them? or just one then check the tag ?

The library can be used only in process. You find a solution here.

Thanks


deadlocks and core dumps while testing with n concurrent requests

Hello,
Well, everything is in the subject ! ;-) When I use your extension with only one concurrent request, everything works fine. When I try to send 2 concurrent requests ((I use siege --concurrent=2 --reps=5 on every link of my site), the test ends quickly : hhvm comes to a deadlock or crashes. I use a debug version of hhvm, but the call stack shown in the various core dumps won't help me : seg faults happen  in various memory management calls (new(), free, in jmalloc or stdlib).
I have seen fatal error in hhvm's memory control asserts too (debug mode asserts).
Have you had any problems of this kind ?
Could the newrelic extension make thread-unsafe accesses to  hhvm memory management ?
When I comment newrelic conf in the hdf file, everything is ok again.
Thanks for your great work !

JFYI, I worked on the extension a little to make it work on HHVM 3.4 and 3.5, see the branches, if you're interested
I close this ticket for now

Ok, thanks. I'll have a look !
I could also test the newrelic correction for the memory leak : it works fine.
Thanks again !


[DLPACK] Support the new python array api with DLPack

Adopt the new Python array API standard with DLPack:

Add __dlpack__(self, stream=None) and __dlpack_device__(self) methods on tvm.nd.NDArray. Note that tvm operates on the legacy default stream by default, so no explicit synchronization is needed.
tvm.nd.from_dlpack can take a tensor-like object with __dlpack__ method, or a DLPack capsule.

More contexts:

API design discussion: https://github.com/dmlc/dlpack/issues/57
PyTorch support: https://github.com/pytorch/pytorch/issues/55090, https://github.com/pytorch/pytorch/pull/57110

cc @tqchen @junrushao1994

Thanks Yuchen for the contribution! Overall it looks good to me. Please fix the lint issues

Thanks @YuchenJin! It is now merged!