Should we turn controllers off (disconnect) on Service exit?

If the adapter remains plugged into the PC, the controllers continue to drain battery.

Bluetooth devices connect to the host PC, not to apps. Usually it isn't up to an app to disconnect a device.
It usually isn't up to an app to pair a device either. The only reason we do it with the PSMove is because it is incredibly difficult (but not impossible!) to pair in Windows using the Windows bluetooth control panel.
I don't think there should be an auto-disconnect when PSMoveService exits because there is no symmetrical auto-connect when PSMoveService starts, and who are we to say that someone is done with their PSMove controller? I would prefer to leave it up to the user to disconnect it with their OS.
However, while disconnecting the controller with the OS is easily done in MacOS and Linux, it is not so easy in Windows. At least, it wasn't last I checked. When I manually disconnected the controller in the bluetooth control panel it also 'unpaired' the controller. And holding the PS button for 8 seconds seems to do something but it also has undesirable side effects, if I remember correctly. Can someone confirm there is no way to use buttons or the Windows interface to disconnect the controller?
If it's true then there is probably good reason to add a button the the config tool to disconnect the controller. Unfortunately, I don't know what command to use to disconnect (/turn off) the psmove. You can try scanning the psmove reverse engineering docs here to see if there are any starting points.

The device can be disconnected by power-cycling the bluetooth adapter. (Or enabling+disabling the bluetooth radio).
I took a look at PSMoveAPI's implementation of psmove_disconnect, and I found that they use hid_close() to disconnect a controller. (Which might mean that there's no on-board disconnection mechanism). Furthermore, I'm unsure if this turns off the controller itself (it also gets called in PsMoveController::close().
As for the need for auto-disconnection, It beats having to hold down the move button for 10 seconds.

We also use hid_close(), which closes the app's hold on the controller but does nothing to the PC<->Move connection. The Move is still connected. I don't know of a way to auto-disconnect, and we're not going to code in something to cycle the bluetooth radio.
I think when I used to use Windows and I would turn the Move off by holding the button for 10 seconds, I couldn't reconnect again without restarting the PC and/or re-pairing through the app. Is this still the case? Sorry I'm mostly a Mac user these days.

The 10 second disconnect now allows re-pairing by pressing the PS button. I do recall what you're mentioning, but in an older version PSMove-Unity5.
 And I agree with the notion that an app shouldn't be in charge of connect/disconnect.
Given that it's a design choice, I'll close the issue.


Change the default event for checkbox and radio inputs from "input" back to "change"

https://github.com/stimulusjs/stimulus/commit/14ba2abf75c7ce97e015199996239645d93cd1a9 changed the default event for all input elements (except for submit) from change to input. While this is great for most inputs, radio and checkbox inputs stopped functioning properly, since they do not fire input events at all. This PR aims to resolve this issue.
Resolves: https://github.com/stimulusjs/stimulus/issues/248#issuecomment-748596133

That is not the case though. MDN shows that it is working for every current version of browsers. The only browsers where it does not are IE and non-Chromium Edge versions.

Ah, and apparently the version of JSDOM that I'm using, since I picked this up from my tests failing 🤦♀
I'll look into this more on my side, feel free to close 👍

✌


mcr.microsoft.com/devcontainers/base:ubuntu is still focal?

The README says it is the latest LTS version, but it doesn't seem to be the case.
https://github.com/devcontainers/images/blob/35c84eded76ba0fb5ac6635c066022ab381e755e/src/base-ubuntu/README.md?plain=1#L24
Note that docker.io/library/ubuntu:latest has already switched to jammy right after jammy was released half a year ago.

Thanks @eitsupi!
@samruddhikhandale I see this too - should we switch to Jammy, or update the readme?

Created PR - https://github.com/devcontainers/images/pull/179 which switches to jammy.
Thanks @eitsupi for catching this! ✨

Released dev tags which switches base:dev-ubuntu to jammy, looks good. I will release prod tags now.

// cc @Chuxel

https://github.com/devcontainers/images/pull/179 is live now which uses jammy 🚀


fix(UI): adjust header offset

To offset header when going to this link: https://forum.freecodecamp.org/t/running-the-relational-database-curriculum-in-your-browser/500231#your-container-loaded-but-the-terminal-is-not-visible-8
Checklist:

[x ] I have read freeCodeCamp's contribution guidelines.
[x ] My pull request has a descriptive title (not a vague title like Update index.md)

ref https://github.com/freeCodeCamp/freeCodeCamp/issues/47257

Thanks for your patience with the review. This flew under the radar for some reason.
My original proposed solution does not seem to work even after adjusting for the sass interpolation
top: calc(#{--global-nav-height} - 0.25em);

I am looking into the issue, but feel free to try different solutions using the theme creator.
https://meta.discourse.org/t/theme-creator-create-and-show-themes-without-installing-discourse/84942


How to improve gateway performance?

I hava read the performance comparison from spring-cloud-gateway-bench.

Proxy
Avg Latency
Avg Req/Sec/Thread

gateway
6.61ms
3.24k

linkered
7.62ms
2.82k

zuul
12.56ms
2.09k

none
2.09ms
11.77k

According to the comparison result, although gateway is best compared with linkered and zuul, but it's performance only reach about 1/4 of none proxy.
I made some tests with different situation, such as different response time and response body size.  I used wrk for tests. I found it seems that gateway's performance only influenced by response body size, with bigger than about 10kb size, it will drop rapidly.
So how to optimalize gateway to do better?

@re6exp Thank you. But In my business case, I can't use cache.

@maoyunfei Do you use https in your use case?
For TLS/https connections, using netty-tcnative improves performance (lower latency & higher throughput). See https://github.com/reactor/reactor-netty/issues/344 for details.

@lhotari
I just used http.

Documentation request.
Is it even possible to use netty-tcnative with the Gateway starter in some way? It is not documented anywhere in the docs and returns zero usable results on Google. I think this needs to be added to the documentation.
"Just use http" - is not a way forward for us and right now the performance of non-native TLS is holding us back from a production deploy.
But maybe it already works as described in https://github.com/reactor/reactor-netty/issues/344 but I see no logs neither confirming or denying the fact.

@maoyunfei any test run on a single machine will have contention problems. Can you provide a complete, minimal, verifiable sample that reproduces the slowdowns with increased response size?  It should be available as a GitHub (or similar) project or attached to this issue as a zip file.

@spencergibb I created a demo in github, look at gateway-performance-test please!

Is this still valid? We are evaluating zuul and gateway. Our case is also similar, the response size will be around 1-2MBs.

@thirunar  It's still valid. By the way, we turned to zuul2 finally.

i would take this benchmark exercise with a huge grain of salt.  the origin, test harness and proxy are all on the same box?  that's no way close to how you're going to deploy it prod why would you load test in such manner?  the test harness should be on one box, the proxy(ies) in another and the origin should be in yet another box.
i'm using spring boot 2.x with zuul with dynamic content and without any caching.  the responses are 32k on average.  the only difference is that  i am using undertow container with okhttp and we have a custom pre filter that validates JWT from Redis so there is overhead but even with that i can get close to 70% TPS compared to just going directly to origin using wrk -t 10 -c 200 -d 30s similar to what is being done in the bench mark github project.
i dunno guys.  Netflix is using Zuul 1 for their services at one point and they're dealing with video.  they even admit that Zuul 2 has 25% net effect in througput

I'm going to close this.
I agree with the benchmark on one machine problem first of all.
Second running the benchmark with the latest releases (Finchley and Greenwich) does not yield the large drops in performance as on mentioned in the sample (which was running a RC).
I also threw in zuul1 on port 8083
# direct to app, 30000 char responses
$ wrk -t16 -c200 -d30s "http://localhost:8081/demo?delay=50&length=large"
Running 30s test @ http://localhost:8081/demo?delay=50&length=large
  16 threads and 200 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency    61.43ms   11.91ms 135.87ms   82.32%
    Req/Sec   195.54     36.09   274.00     61.71%
  93722 requests in 30.08s, 2.63GB read
Requests/sec:   3115.74
Transfer/sec:     89.49MB

# gateway, 30000 char responses
$ wrk -t16 -c200 -d30s "http://localhost:8082/proxy/demo?delay=50&length=large"
Running 30s test @ http://localhost:8082/proxy/demo?delay=50&length=large
  16 threads and 200 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency    72.03ms   21.23ms 189.44ms   82.60%
    Req/Sec   167.31     42.80   242.00     60.98%
  80076 requests in 30.07s, 2.25GB read
Requests/sec:   2663.33
Transfer/sec:     76.50MB

# zuul, 30000 char responses
$ wrk -t16 -c200 -d30s "http://localhost:8083/proxy/demo?delay=50&length=large"
Running 30s test @ http://localhost:8083/proxy/demo?delay=50&length=large
  16 threads and 200 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency   505.51ms  415.11ms   2.00s    70.26%
    Req/Sec    24.78     13.43    90.00     52.88%
  11310 requests in 30.09s, 325.30MB read
  Socket errors: connect 0, read 0, write 0, timeout 205
Requests/sec:    375.88
Transfer/sec:     10.81MB

# direct to app, 50000 char responses
$ wrk -t16 -c200 -d30s "http://localhost:8081/demo?delay=50&length=xlarge"
Running 30s test @ http://localhost:8081/demo?delay=50&length=xlarge
  16 threads and 200 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency    64.59ms   16.27ms 172.98ms   82.39%
    Req/Sec   185.65     42.94   265.00     53.17%
  89115 requests in 30.10s, 4.16GB read
Requests/sec:   2960.95
Transfer/sec:    141.52MB

# gateway, 50000 char responses
~% wrk -t16 -c200 -d30s "http://localhost:8082/proxy/demo?delay=50&length=xlarge"
Running 30s test @ http://localhost:8082/proxy/demo?delay=50&length=xlarge
  16 threads and 200 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency    72.50ms   21.83ms 236.20ms   84.15%
    Req/Sec   166.38     43.79   242.00     62.42%
  79536 requests in 30.09s, 3.71GB read
Requests/sec:   2643.68
Transfer/sec:    126.36MB

# zuul, 50000 char responses
$ wrk -t16 -c200 -d30s "http://localhost:8083/proxy/demo?delay=50&length=xlarge"
Running 30s test @ http://localhost:8083/proxy/demo?delay=50&length=xlarge
  16 threads and 200 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency   504.15ms  408.22ms   2.00s    70.64%
    Req/Sec    24.71     13.14    90.00     54.27%
  11434 requests in 30.10s, 547.20MB read
  Socket errors: connect 0, read 0, write 0, timeout 191
Requests/sec:    379.89
Transfer/sec:     18.18MB

testing localhost aside...
i can't comment on the cloud gateway but there is something seriously wrong with your the zuul1 setup.  80% drop? ok...

There was no setup, a default zuul app from start.spring.io using tomcat with a single route.

look, i'm not here to knock spring-cloud-gateway.  i have no sound opinion of it because i've never used it.  i'm sure it's great.
i find it suspicious, however, when someone tries to knock zuul 1 and i came to this thread to point out that this is not my experience at all.  i'm compelled to write my findings here so people considering spring cloud 2.x + zuul wouldn't just rule it out completely upon reading this thread.
again, zuul 1 is from Netflix and have used it in production; i highly doubt they would have even promoted it let alone open source it if there's 80% drop in throughput when using.  there are a number of online blog posts and articles pitting zuul 1 against nginx and it holds its own, if not perform better in some scenarios.  that's all i'm saying.

I don't disagree. We went with zuul 1 for that reason. The vanilla experience is NOT optimized.

@spencergibb @dalegaspi @maoyunfei We had similar performance issues with Spring Cloud Gateway(Finchley.SR1), please find comparison metrics below.
				   Spring Boot 1.5.4 + Zuul Gateway	Spring Boot 2.0.4 + Spring Cloud Gateway(Finchley.SR1)

Throughput(Req/Sec)				    460				152
Average Response Time(ms)			    107				323

Test Server Configuration: M4.xLarge AWS Instance  — 4 Core CPU, 16GB of Memory
It's very confused state if spring cloud gateway can be used in prod, please provide your comments.

@VinodKandula can you share more than just metrics? What do the individual apps look like, how were they configured, how did you test them?

@spencergibb
The overall system looks like the following

Config Server
Discovery Server (Eureka)
Zuul/Spring Gateway Server
Spring Data (JPA) Rest Repositories(CRUD) Service

All rest endpoints are fired via Zuul/Gateway which uses the discovery server to get the list of available instances.
JMeter is used for Performance tests. It is very straight forward to see the performance results between Zuul vs Sping Cloud Gateway.

@spencergibb hi, spencer, can you retry your wrk test command with option --latency ? I find 99percent latency is 2-3 times than the case of direct access with -c200.

@atverma91 actually the recent tests shows there is no perceptible drop in throughput; if we turn on compression in Zuul we even perform better.  This is the results in our latest test with compression enabled in Zuul.

type
ave latency
throughput
ave bytes
error

direct
610.11 ms
608.6/sec
28637.5
0.01%

zuul 1.x + spring boot 2.x
461.09 ms
746.2/sec
4225.5
0.03%

this is with JMeter, 50 threads and 15 minutes continuous run.
it's key that when you perform load tests that the JVM is warmed up and that the client is not on the same box as service; clients are not going to be running on the same box as your service it baffles me why some load tests insist on having the service and the benchmarking app on one box.

This isn't the place to discuss zuul performance without gateway. Please take the conversation offline.

While I appreciate the fervor and passion everyone is having regarding these products, I can easily replicate a 50% loss in throughout and responsiveness by putting a Zuul Gateway between the test client and a sprint boot service. So it’s not something only one other person has experienced.
What would be helpful are github committed projects that we all can clone and run which contains everything we need to run the benchmarks.
While Netflix is able to successfully use these products, a 50% tp loss for them is not a big deal if it’s extremely distributed. Their deployment is magnitudes larger than what most people here are using or need.
Based on other metrics, even ones from Spring Cloud themselves, losing half the through put seems common and to be expected. But the conversations occurring here make it seem like that shouldn’t be happening. If that’s not the expected behavior, perhaps we can see some full integration examples that show it only losing 20% ttp.


SEGV When EC2 Metadata Service Throttles Requests

I have not been able to identify the precise source of the error (in looking through the code), stack trace and some analysis below.
In the past I have noticed when I have many processes concurrently querying the Ec2 metadata service for AWS credentials it will start throwing error responses.  In my particular use case the request rate can periodically spike, and when it does..  internally the AWS SDK segfaults.
I believe all of my libraries are compiled with symbols except libcurl.  And I am not 100% certain, but that address /might/ be a call to curl_slist_free_all.

Sent from my iPhone

On Mar 12, 2016, at 12:09 PM, Christopher J. Hanks<EMAIL_ADDRESS>wrote:
I have not been able to identify the precise source of the error (in looking through the code), stack trace and some analysis below.
In the past I have noticed when I have many processes concurrently querying the Ec2 metadata service for AWS credentials it will start throwing error responses. In my particular use case the request rate can periodically spike, and when it does.. internally the AWS SDK segfaults.
I believe all of my libraries are compiled with symbols except libcurl. And I am not 100% certain, but that address /might/ be a call to curl_slist_free_all.
*** Aborted at<PHONE_NUMBER> (unix time) try "date -d @1457808" if you are using GNU date ***
PC: @ 0x7fe1bb4bc03a Aws::Http::CurlHttpClient::MakeRequest()
*** SIGSEGV (@0x0) received by PID 9 (TID 0x7fe1b2513700) from PID 0; stack trace: ***
@ 0x7fe1ba11c340 (unknown)
@ 0x7fe1bb4bc03a Aws::Http::CurlHttpClient::MakeRequest()
@ 0x7fe1bb4a4565 Aws::Internal::EC2MetadataClient::GetResource()
@ 0x7fe1bb4a2c7c Aws::Internal::EC2MetadataClient::GetDefaultCredentials()
@ 0x7fe1bb491c9e Aws::Auth::InstanceProfileCredentialsProvider::RefreshIfExpired()
@ 0x7fe1bb4927bc Aws::Auth::InstanceProfileCredentialsProvider::GetAWSCredentials()
@ 0x7fe1bb496a90 Aws::Auth::AWSCredentialsProviderChain::GetAWSCredentials()
@ 0x7fe1bb48f154 Aws::Client::AWSAuthV4Signer::PresignRequest()
@ 0x7fe1bb49a79b Aws::Client::AWSClient::GeneratePresignedUrl()
@ 0x7fe1bb882d9c Aws::S3::S3Client::GeneratePresignedUrl()
—
Reply to this email directly or view it on GitHub.

aws-sdk-cpp: 0.9-504-g39e3893
libcurl: 7.35.0-1ubuntu2.6

We fixed some multi-threading related bugs in our libcurl interface recently, can you try pulling latest and seeing what happens?
Sent from my iPhone

On Mar 12, 2016, at 1:20 PM, Christopher J. Hanks<EMAIL_ADDRESS>wrote:
aws-sdk-cpp: 0.9-504-g39e3893
libcurl: 7.35.0-1ubuntu2.6
—
Reply to this email directly or view it on GitHub.

I will be testing against 0.9.6-71-gf3cc307 is that an acceptable version?

Yes
Sent from my iPhone

On Mar 12, 2016, at 4:35 PM, Christopher J. Hanks<EMAIL_ADDRESS>wrote:
I will be testing against 0.9.6-71-gf3cc307 is that an acceptable version?
—
Reply to this email directly or view it on GitHub.

It appears the newer version of software handles the issue more acceptably.  Rather than having a SEGV, it proceeds as if it was unable to acquire any credentials at all.  Consequently the request returns a "403 - Access Denied" error which is certainly preferable to crashing, but may confuse some.

The creds should be caching for 15 minutes or so. Are you using our credentials provider or the ec2 metadata client directly? Why is it hitting the service frequently enough to get throttled?
Sent from my iPhone

On Mar 13, 2016, at 1:19 PM, Christopher J. Hanks<EMAIL_ADDRESS>wrote:
It appears the newer version of software handles the issue more acceptably. Rather than having a SEGV, it proceeds as if it was unable to acquire any credentials at all. Consequently the request returns a "403 - Access Denied" error which is certainly preferable to crashing, but may confuse some.
—
Reply to this email directly or view it on GitHub.

It's really an architectural problem with the way I am running my application.  I have a distributed processing environment using primarily 32 core machines.  When the machine initially turns on it is possible for 32 independent processes to flood the machine in a single negotiation cycle asking for instance credentials.  I can easily stagger these for my use case and so I am not deeply affected.  But I thought reporting the response code 403 as an FYI would be helpful.

Also, please close as you see fit.


Add hour grain to SQLite

This PR adds an hourly grain to SQLite by truncating the datetime. I used this code while developing the time scrubber, since I was testing with the long_lat data.

Is the init.py hunk supposed to be here?

@xrmx, I thought it made sense to update the sample data to have higher than daily resolution, but I can remove that.

No objection from me, just that I haven't seen a mention in the commit :)
Il 02 feb 2018 11:09 PM, "Beto Dealmeida"<EMAIL_ADDRESS>ha
scritto:

@xrmx https://github.com/xrmx, I thought it made sense to update the
sample data to have higher than daily resolution, but I can remove that.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/apache/incubator-superset/pull/4333#issuecomment-362722184,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAyhE9w48fVkCH7msznejpdqkii984kks5tQ4eFgaJpZM4R3qvv
.


Does urfave cli meet the following requirements

I tried to use urfave's api to do it, but I didn't find it, maybe I don't know?
saki run setup --filter libs/* # single filter parameter
saki run setup --filter libs/* apps/* # Multiple filter parameters
saki run --filter libs/* setup # swap the location of arguments and commands
saki exec --filter libs/* -- saki build lib # Execute arbitrary commands, split by --

3 is a duplicate of #1113 and will be discussed there.


Emails don't work on registration

Bug report
Title
When registering, no email is received with the password.
Issue Description
Preconditions
Using the current master version of the repo.
Steps to reproduce
Register, check email.
Expected result
An email with the password, as per the RegistrationController code.
In the past, Laravel had a jobs table, which I don't see my table list. Not sure if this changed in Laravel 6.0
My .env looks like this:
APP_NAME=Bagisto
APP_ENV=local
APP_KEY=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
APP_DEBUG=true
APP_LOG_LEVEL=debug
APP_URL=http://localhost:8000

LOG_CHANNEL=single
APP_LOG_LEVEL=info

DB_CONNECTION=mysql
DB_HOST=<IP_ADDRESS>
DB_PORT=3306
DB_DATABASE=bagisto
DB_USERNAME=XXXXX
DB_PASSWORD=XXXXXXX

BROADCAST_DRIVER=log
CACHE_DRIVER=file
SESSION_DRIVER=file
QUEUE_DRIVER=sync

REDIS_HOST=<IP_ADDRESS>
REDIS_PASSWORD=null
REDIS_PORT=6379

MAIL_DRIVER=smtp
MAIL_HOST=smtp.mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=4968a68dd4e3a8
MAIL_PASSWORD=XXXXXXXXXXX
MAIL_ENCRYPTION=ssl
MAIL_FROM_ADDRESS=support@XXXXX
MAIL_FROM_NAME="${APP_NAME}"
SHOP_MAIL_FROM=support@XXXX

AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_DEFAULT_REGION=us-east-1
AWS_BUCKET=

PUSHER_APP_ID=
PUSHER_APP_KEY=
PUSHER_APP_SECRET=
PUSHER_APP_CLUSTER=mt1

MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}"
MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"

MAIL_MAILER=smtp
MAIL_HOST=smtp.mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=xxxxxxxxxxxx
MAIL_PASSWORD=xxxxxxxxxxxx
MAIL_ENCRYPTION=tls
this is my .env setup and iam not recieving mails on any event.

Hi @sohaib12296,

Check your laravel logs, storage/logs/laravel.log.
One more thing change your shop email from the admin panel. Don't use the example.com domain as this does not comply.


Application.Close() - add flexibility to timeout and kill

Hi!
Current implementation of Application.Close() calls CloseMainWindow() on _process and waits 5 seconds. After this, if process has not exited, it kills it and waits next 5 seconds. Could you add some flexibility to this timeout of waiting, and give an option to decide if process should be killed after Close? Current implementation makes it not useful when closing of application takes more than 5 seconds. Also, I wanted to take screenshot if close of application fails for any reason, but it's not possible when using Close() method because it is killed after trying no close. To keep backward compatibility, the easiest solution seems to be adding bool parameter killIfCloseFails with default value true, and wrap _process.Kill() with it. Other possibility is to use UIAutomation events instead of waiting, but it's longer story.
Regards,
Kamil

I like that idea.
Check if https://github.com/FlaUI/FlaUI/commit/4f1b33173e8bbde3c7ac47af3621038053929104 would fix that for you. Then you can increase the timeout to wait, skip killing and with the return value of false you can take a screenshot and kill it yourself.

Try with the new version 3.1.0. If you need more, reopen this issue or create a new one :)


Unexpected key(s) in state_dict: "image_encoder.blocks.0.mlp.lin1.weight", "image_encoder.blocks.0.mlp.lin1.bias", "image_encoder.blocks.0.mlp.lin2.weight", "image_encoder.blocks.0.mlp.lin2.bias",

I change the nn.linear, and it had error
i do not how to solve it

and this is the error

To run SAM, you don't need to change the layer. Here is a video tutorial.
https://github.com/bowang-lab/MedSAM#model-training-video-tutorial


[FEATURE]: Improve document on operator installation and upgrade

Describe the solution you'd like
Current documentation on operator upgrade and installation has some steps missing and some are not clear.
Describe alternatives you've considered
Resolved the installation issue by following the errors seen on console while installation.
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

This has been committed via the PR mentioned.


camera calibration export/import for scenes with multiple cameras script?

Is there a script for saving camera calibration and loading it for multiple cameras?

The example shows one camera, is it possible to do this with a script for scenes with say 50 -200 different cameras (sensors)?
https://agisoft.freshdesk.com/support/solutions/articles/31000160059-lens-calibration-using-chessboard-pattern-in-metashape

Hi, how do you match each image with corresponding sensor? Photos taken from the same camera have the same name?
In such case you can use Export Cameras + Import Cameras, so intrinsics (focal length, cx, cy, etc.) and extrinsics (position and orientation) will be loaded. And after that you can reset alignment if you need to get rid of extrinsics - i.e. if you want to find position and orientation of cameras from scratch (but using imported interior parameters).
Also, you can do something similar to this script - i.e. use Metashape.Calibration.save() and Metashape.Calibration.load() - see Python API for details.

Thanks for the info. I did try Export / Export Cameras but the option was greyed out because I already reset the alignment. Good to know I can Import the Cameras with alignment then reset and then re-align.


feat: transformers for windows dotnet apps

@ashokponkumar I have signed off all commits and DCO shows not errors as shown below...but the build is still failing on DCO as seen above. What could be the issue?

The build is not failing on DCO

Closing this PR to open a new one.


Build targets requirements floc 1669

Fixes https://clusterhq.atlassian.net/browse/FLOC-1669

This seems sensible and tests OK, please merge when Buildbot is happy (ignoring the couple of unrelated failures).

Given that there seems to be a problem with the pending builder, and I think that this change is covered by the passing builders I am going to merge.

This broke some of our automated Dockerhub builds, but we weren't using them anyway.
I deleted:

https://hub.docker.com/r/clusterhq/build-ubuntu-14.04
https://hub.docker.com/r/clusterhq/build-centos-7


fixfix java udf dependency

Proposed changes
fix java udf dependency
mv arvo doris shade to udf

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 45.03 seconds
stream load tsv:          511 seconds loaded<PHONE_NUMBER>9 Bytes, about 139 MB/s
stream load json:         21 seconds loaded<PHONE_NUMBER> Bytes, about 107 MB/s
stream load orc:          65 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
insert into select:          28.9 seconds inserted 10000000 Rows, about 346K ops/s
storage size:<PHONE_NUMBER>6 Bytes

All class loader dependencies will be resolved by https://github.com/apache/doris/pull/23015


[KafkaStreams Binder] Customizing StreamsBuilder with KafkaStreamsInfrastructureCustomizer does not work

I have an application where I want to register a global state store for every kafka-streams binding before starting the application and therefore I need to configure the StreamsBuilder. The KafkaStreamsInfrastructureCustomizers signature looks perfect for that and with the StreamsBuilderFactoryBeanConfigurer I can also register it, however the AbstractKafkaStreamsBinderProcessor is indirectly calling  the infrastructure customizer by registing the StreamsBuilder in the bean registry before StreamsBuilderFactoryBeanConfigurer#configure is called.
This is the way I tried to register my customizer:
    @Bean
    fun streamsBuilderFactoryBeanConfigurer(): StreamsBuilderFactoryBeanConfigurer {
        return StreamsBuilderFactoryBeanConfigurer {
            it.setInfrastructureCustomizer(object: KafkaStreamsInfrastructureCustomizer{
                override fun configureBuilder(builder: StreamsBuilder) {
                    print("configuring streams builder")
                }

                override fun configureTopology(topology: Topology) {
                    print("configuring topology")
                }
            })
        }
    }

@m-kay Thanks for reporting this issue. Fixed via the commit above. Which version of Spring Cloud Stream are you using? We can back-port the changes to the 4.0.x branch.

I'm using the spring-cloud version 2022.0.4 which uses spring-cloud-stream 4.0.4. So yes it would be nice to have that backported and available in the next spring-cloud release.


could not broadcast input array from shape

I am using the library in my code to read the birdview array:
        self.birdview_producer = BirdViewProducer(             self.client,  # carla.Client             target_size=PixelDimensions(150, 336),             pixels_per_meter=4,             crop_type=BirdViewCropType.FRONT_AND_REAR_AREA         )
and then I call it in a class:
self.birdview = self.birdview_producer.produce(agent_vehicle=self.vehicle)
The code runs but outputs this error:
ValueError: could not broadcast input array from shape (3730,3993) into shape (368,368)
`
File "blabla", line 154, in process_depth
self.birdview = self.birdview_producer.produce(agent_vehicle=self.vehicle)
File "/usr/local/lib/python3.7/site-packages/carla_birdeye_view/init.py", line 234, in produce
masks = self._render_actors_masks(agent_vehicle, segregated_actors, masks)
File "/usr/local/lib/python3.7/site-packages/carla_birdeye_view/init.py", line 274, in _render_actors_masks
segregated_actors.vehicles
ValueError: could not broadcast input array from shape (3730,3993) into shape (368,368)
self.birdview = self.birdview_producer.produce(agent_vehicle=self.vehicle)
File "/usr/local/lib/python3.7/site-packages/carla_birdeye_view/init.py", line 234, in produce
masks = self._render_actors_masks(agent_vehicle, segregated_actors, masks)
File "/usr/local/lib/python3.7/site-packages/carla_birdeye_view/init.py", line 277, in _render_actors_masks
segregated_actors.pedestrians
ValueError: could not broadcast input array from shape (3730,3993) into shape (368,368)
File "/usr/local/lib/python3.7/site-packages/carla_birdeye_view/init.py", line 234, in produce
masks = self._render_actors_masks(agent_vehicle, segregated_actors, masks)
File "/usr/local/lib/python3.7/site-packages/carla_birdeye_view/init.py", line 274, in _render_actors_masks
segregated_actors.vehicles
ValueError: could not broadcast input array from shape (3730,3993) into shape (368,368)
`
Seams somewhere in the code it cannot reduce the render size.
Operating system: Ubuntu 16.04, Carla 0.9.9

It was solved by calling the birdview_producer one time in the init to setup the pixel dimentations. If not, seems like it picks up different dimentions and this causes error.


[BUG] shell_exec not being waited for

On line 72 of src/Plugins.php there is an issue with the code not waiting for shell_exec to finish installing the plugin. Therefore, it does not show the success message upon installing.

Possible answers:

Try using 2>&1 in the executed command
Try providing an output parameter for the shell_exec() function


Can't connect to server (meteor <IP_ADDRESS>)

Now that rocket.chat has updated meteor to <IP_ADDRESS> (from <IP_ADDRESS>) I can't seem to connect to the server. Could be rocket.chat's problem?

will it connect to a pure meteor 1.2 install ?

I m sorry! I had to put /websocket at the end of the url. It works fine.


IOG Funded Cohort Communication Issues

IOG Funded Cohort Communication Issues
The Fund 5 Project "Quality Assurance DAO" is tasked with the documentation/tracking of :
• The pathway of a funded cohort and
• An assessment of funded cohort reporting requirements.
The pitfalls of synchronous communication on Telegram

[ ] A major issue with the use of Telegram for inquiries is that its synchronous nature leads to rapid loss of information and an incessant repetition of questions.

Lack of a website for a Funded Cohort FAQ

[x] Who are the IOG Team who support the Funded Cohort ?

Listed during onboarding call, included in the slide deck which was there on the first day and circulated to all members. Purpl1, Marklar_IO,and myself originally. Now, we are onboarding new team members, Khalid and Roberta  to help with Coordinator specifically and something I am very excited about personally. One of the first tasks that we've been working on is new reporting mechanism and improved communication cadence including repo of information available.

[ ] What are their roles and responsibilities ?
[ ] How do I contact them ?
[ ] What is the timetable of cohort reporting ?
[ ] Where and when are cohort meeting recordings uploaded ?

Issue management

[ ] Does the IOG Team who support the Funded Cohort maintain an issue log ?

Interestingly, just having a github repo for reporting and ops might be easier :thinking: We are seeing github usage for non code intents all around the Cardano Community, stuff like essential-cardano, CMDP Donations and even this repo!

Interestingly, just having a github repo for reporting and ops might be easier 🤔 We are seeing github usage for non code intents all around the Cardano Community, stuff like essential-cardano, CMDP Donations and even this repo!

A GitHub repo might be a solution to issue management for funded cohort. Although for some this may present accessibility issues (these could be overcome with integration with Telegram or Discord). Unfortunately this repo is quite narrowly scoped and under funded (as per my F5 proposal) - so is likely to raise more questions regarding QA of funded cohort than answer them in its lifetime. The best solution to an Funded Cohort Issue Management repo would a collaborative project.
I do hope to provide some resourced answers in my Fund 6 Proposals, particularly Distributed Auditability (https://cardano.ideascale.com/a/dtd/Distributed-Auditability/366707-48088) and Open Source Training (https://cardano.ideascale.com/a/dtd/Open-Source-Training/368678-48088).

Added responses from Daniel Ribar posted on Telegram (https://t.me/c/1556514618/695)

My response for reference - https://t.me/c/1556514618/696

Thanks Daniel, much appreciated. I will transfer you answers to the GitHub issue and update my own F5 QA-DAO proposal Gitbook.
You refer to the onboarding call and its associated slide deck - where can I find a recording of that and where is a static location for the onboarding slides?
The onboarding email (August 17th 2021) only lists links to the Telegram Announcements and Chat. If a cohort missed the synchronous information, they would be led to ask these questions again.
I know I can contact you or Marek etc. - but for what issues (again roles and responsibilities), in public or private, and on what platform (e.g., my email remains answered)? Again, an asynchronous option would relieve the burden of FAQ inquiries.
I will contact Roberta as you suggested to work together on resolving these issues. I hope the IOG team understands that it is the brief of my F5 project to ask these questions and document the cohort process as I find it – these are my deliverables. All the best. S

Hi Roberta, Daniel suggested I contact you in respect of issues I was raising in respect of the "pitfalls of synchronous communication on Telegram" which I have documented in this GitHub issue ( https://github.com/Quality-Assurance-DAO/F5-Developer-ecosystem-Proposal/issues/141) as part of my F5 Quality Assurance proposal. Daniel answered a lot of my questions - but left the major issue of having a static, asynchronous source of information for funded cohort unanswered. A single place where a cohort FAQ, report timetables, cohort meeting recordings etc can be referenced. I would like to work with IOG and funded cohort to address these issues and would be very interested in your perspective. All the best. S (QA-DAO)


keybase,keybase-gui,kbfs: 5.5.1 -> 5.5.2

Motivation for this change
5.5.2 released today
https://github.com/keybase/client/releases/tag/v5.5.2
Things done

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

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 100796 1

3 packages built:

kbfs
keybase
keybase-gui


bgfx_attrib enum purpose

I was wondering why does bgfx care about the vertex attribute type? (BGFX_ATTRIB_POSITION, BGFX_ATTRIB_NORMAL, ....)
Thanks!

So that vertex shader knows what element to load. Those correspond to vertex shader attribute, see:
https://github.com/bkaradzic/bgfx/blob/master/include/bgfx.h#L73
Btw, C99 header doesn't contain documentation, but you can check bgfx.h and it's documented there.

Sorry, another question :) Does bgfx care if I'm going to use a big interleaved vertex buffer and slap all models in it?

Let's say my custom vertex attribute doesn't fit well with provided types; should/may I use the spare texcoord attributes?

Yes, it's just info where in vertex shader you expect data to be. So if you use bgfx::Attrib::TexCoord4 in vertex shader when you read a_texcoord4 you'll get the data.

Thank you very much!


accel/decel button long press

currently speed always changes 5 mph at a time when openpilot handles the accel/decel button press events
update to do 1 mph for short press and 5 mph for long press

I would vote for 5mph for short and 1mph for long press, since imo 1mph fine tuning is less frequently needed than switching between different speed limits, which would be faster by using short button presses with 5mph step

I would vote for 5mph for short and 1mph for long press, since imo 1mph fine tuning is less frequently needed than switching between different speed limits, which would be faster by using short button presses with 5mph step

I can't speak for every manufacturer, but for VW family, short 5/long would be an even bigger POLA violation than the current openpilot longitudinal behavior: it's the exact opposite of how stock ACC works.

There are both L1/S5 and S5/L1 (and probably more diverse) implementations for stock ACC controls and some users will have to adapt a bit when picking one or the other. Either way, this is useful additional capability for openpilot longitudinal control.


update_deleted_packages: filter out bazelignored directories

These directories aren't considered by bazel in the first place, so can't be used as test workspaces, and are potentially lots of extra noise in a --deleted_packages value.

FYI. I just restarted the failed tests. In at least one case, it was failure to connect to Bazel. This often happens on the MacOS runners.


Does not compile due to duplicate player.pas unit

Hey there,
Long time no c man, how's stuff going in these icky times?
On point now: You have 1 player.pas and 1 player\player.pas untis.
I suppose the compiler searches for the current dir first and then for any other.
Cheers,
Gus

Hey Chris,
Per 987e4ce it compiles again. But I still think you should clean up the player.pas file outside the /player folder.
Cheers,
Gus

Hi Gus,
Good to hear from you again. Good catch too, thanks for that. I've removed the duplicate player unit now.

Hey Chris,
Cool, cool, thanks man!!
Cheers,
Gus


Optimized references

removed unneeded references. Mostly:

system.web
system.web.services
System.Windows.Forms
system.xml.linq

Looks good, is this ready to be merged?

Yes. :)


Update manifest for code-freeze 2.9

Update manifest for code-freeze 2.9
Related-to: #221

Merging to get the code-freeze 2.9 ready.


Assets projects are blury (In the library minature and inside the editor.

Godot version: 3.4.3
Issue description: I'm new to Godot and trying it for the very first time. Wanted to check some
demo assets from the library, but when I get into them they are totally blury, also
the miniature are blury. Did search for the fix but only found the "uncheck the Fliter box
and reimport for 2d pixel" solution but it didn't work. What can I do to solve that?
Will the new projects look like that if I don't fix it? I'm droping screeshots from the
Assets Library and the Multiplayer Pong Asset.

Duplicate of https://github.com/godotengine/godot/issues/55343.

I tried it on another machine with better grapichs (Geforce8400 GS 1gb; Intel dual core 2.7; 3b RAM)
and it throws another Error. This time it says:

What could be the problem now?
That pc has Openlg 3.3, if it has something to do with it.

I tried it on another machine with better grapichs (Geforce8400 GS 1gb; Intel dual core 2.7ghz; 3gb RAM)

GeForce 8/9 series GPUs don't support the GLES3 renderer, so you need to switch to GLES2. You can do so in the project creation dialog, or for existing projects, open them in a command prompt with the --video-driver GLES2 option.

You can do so in the project creation dialog
How do i do that? o.o

I mean. Can actually use Godot with my GeForce 8 series GPU or get a better one?

In the Project Manager, when creating a project, you have a choice of GLES 3 or GLES 2.


delete stack is not working when try to delete root stack

Describe the bug
Delete stack throws following error 👍
Role arn:aws:iam::XXXXXXXXX:role/cdk-hnb659fds-cfn-exec-role-XXXXXXXXXX-us-east-1 is invalid or cannot be assumed
How to Reproduce
*P.S. Please do not attach files as it's considered a security risk. Add code snippets directly in the message body as much as possible.*

Expected behavior
Stack should delete
Your project
data all
Screenshots
No response
OS
AWS
Python version
3.8
AWS data.all version
https://github.com/awslabs/aws-dataall
Additional context
No response

Hi @vaquarkhan, it seems like you have deleted the CDKToolkit because it is not finding the cdk-hnb659fds-cfn-exec-role-, the CDK Execution role. Can you check if you still have the CDKToolkit CloudFormation stack?

Closing due to inactivity.


Re-opening (non-embedded) app from Shopify admin portal stuck loading

Issue summary
After successfully installing a non-embedded app, I can't reopen the app from the shopify admin portal. After clicking on the app icon, the loading screen seems stuck.

@shopify/shopify-api version: 7.0.0
@shopify/shopify-app-express version: 2.1.0
Node version: 16
Operating system: macOS/Linux

info: [shopify-api/INFO] version 7.0.0, environment Node v16.16.0
info: > Ready on localhost:3303 - env undefined
info: [shopify-app/INFO] Running validateAuthenticatedSession
debug: [shopify-api/DEBUG] App is not embedded, looking for session id in cookies | {isOnline: false}
info: [shopify-app/INFO] Session was not valid. Redirecting to /auth?shop=XXXX.myshopify.com | {shop: XXXX.myshopify.com}
debug: [shopify-app/DEBUG] Redirecting: request is at top level, going to /auth?shop=XXXX.myshopify.com  | {shop: XXXX.myshopify.com}
debug: [shopify-app/DEBUG] Redirecting to auth at /auth, with callback /auth/callback | {shop: XXXX.myshopify.com, isOnline: false}
info: [shopify-api/INFO] Beginning OAuth | {shop: XXXX.myshopify.com, isOnline: false, callbackPath: /auth/callback}
debug: [shopify-api/DEBUG] OAuth started, redirecting to https://XXXX.myshopify.com/admin/oauth/authorize?client_id=6742acff0f7b3548cfc31c19135c96d4&scope=read_products%2Cread_orders%2Cwrite_script_tags%2Cwrite_discounts%2Cread_themes&redirect_uri=https%3A%2F%2F[auth]%2Fauth%2Fcallback&state=231310473055886&grant_options%5B%5D= | {shop: XXXX.myshopify.com, isOnline: false}
info: [shopify-app/INFO] Handling request to complete OAuth process
info: [shopify-api/INFO] Completing OAuth | {shop: XXXX.myshopify.com}
debug: [shopify-api/DEBUG] OAuth request is valid, requesting access token | {shop: XXXX.myshopify.com}
info: [shopify-api/INFO] Creating new session | {shop: XXXX.myshopify.com, isOnline: false}
debug: [shopify-app/DEBUG] Callback is valid, storing session | {shop: XXXX.myshopify.com, isOnline: false}
debug: [shopify-app/DEBUG] Registering webhooks | {shop: XXXX.myshopify.com}
info: [shopify-api/INFO] Registering webhooks | {shop: XXXX.myshopify.com}
debug: [shopify-api/DEBUG] Existing topics: [APP_UNINSTALLED] | {shop: XXXX.myshopify.com}
debug: [shopify-api/DEBUG] Running webhook mutation | {topic: APP_UNINSTALLED, operation: create}
debug: [shopify-api/DEBUG] Running webhook mutation | {topic: APP_UNINSTALLED, operation: delete}
debug: [shopify-app/DEBUG] Completed OAuth callback | {shop: XXXX.myshopify.com, isOnline: false}
debug: [shopify-api/DEBUG] REST client has a redundant API version override to the default 2023-04

The last HTTP request from the library succeeds
debug: [shopify-api/DEBUG] Making HTTP request  -  GET https://XXXXX.myshopify.com/admin/api/2023-04/shop.json  -  Headers: {"X-Shopify-Access-Token":["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"],"User-Agent":["Shopify Express Library v2.0.0 | Shopify API Library v7.0.0 | Node v16.16.0"]}
debug: [shopify-api/DEBUG] Completed HTTP request, received 200 OK
debug: [shopify-api/DEBUG] Making HTTP request  -  POST https://XXXXX.myshopify.com/admin/api/2023-04/graphql.json  -  Headers: {"X-Shopify-Access-Token":["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"],"User-Agent":["Shopify Express Library v2.0.0 | Shopify API Library v7.0.0 | Node v16.16.0"],"Content-Type":["application/json"],"Content-Length":["479"]}  -  Body: "{\"query\":\"\\n  query appSubscription($endCursor: String) {\\n    currentAppInstallation {\\n      activeSubscriptions {\\n        name\\n        test\\n      }\\n\\n      oneTimePurchases(first: 250, sortKey: CREATED_AT, after: $endCursor) {\\n        edges {\\n          node {\\n            name\\n            test\\n            status\\n          }\\n        }\\n        pageInfo {\\n          hasNextPage\\n          endCursor\\n        }\\n      }\\n    }\\n  }\\n\",\"variables\":{\"endCursor\":null}}"
debug: [shopify-api/DEBUG] Completed HTTP request, received 200 OK

Expected behavior
Auth should complete and redirect to app
Actual behavior
App is stuck waiting for the redirect to happen
Steps to reproduce the problem

Install app (non-embedded)
Go to shop where app is installed
Open app

Additional info
We're using @shopify/shopify-app-express as a wrapper. Here's the related code in the express server
const port = parseInt(process.env.PORT || '3003', 10);

let _shopifyAPI: ShopifyApp<ShopifyRestResources> | undefined;
const getShopifyAPI = async () => {
  if (!_shopifyAPI) {
    const { API_KEY: apiKey, API_SECRET_KEY: apiSecretKey } = await getShopifyAppSecret();

    const { restResources } = await import(`@shopify/shopify-api/rest/admin/${LATEST_API_VERSION}`);

    const hostName = <#hostname#>;

    _shopifyAPI = shopifyApp({
      api: {
        apiKey,
        apiSecretKey,
        scopes: ['read_products', 'read_orders', 'read_script_tags', 'write_script_tags', 'read_discounts', 'write_discounts', 'read_themes'],
        apiVersion: LATEST_API_VERSION,
        hostName,
        isEmbeddedApp: false,
        restResources,
        billing: billingConfig,
        logger: { level: LogSeverity.Debug, httpRequests: true },
      },
      auth: {
        path: '/auth',
        callbackPath: '/auth/callback',
      },
      webhooks: {
        path: '/api/webhooks',
      },
      sessionStorage: new MemorySessionStorage(),
    });
  }

  return _shopifyAPI;
};

(async () => {
  try {
    const shopify = await getShopifyAPI();

    const server = express();

    server.get(shopify.config.auth.path, shopify.auth.begin());
    server.get(
      shopify.config.auth.callbackPath,
      shopify.auth.callback(),
      requestBilling,
      shopify.redirectToShopifyOrAppRoot()
    );
    server.post(shopify.config.webhooks.path, shopify.processWebhooks({ webhookHandlers: GDPRWebhookHandlers }));

    server.use('/api/*', shopify.validateAuthenticatedSession());
    server.use('/auth/*', shopify.validateAuthenticatedSession());

    server.get('/error', (req, res) =>
      res
        .status(ResponseCode.instanceError)
        .set('Content-Type', 'text/html')
        .sendFile(join(`${process.cwd()}/dist/public`, 'error.html'))
    );

    server.use('/*', shopify.validateAuthenticatedSession(), (req, res) => {
      return res
        .status(200)
        .set('Content-Type', 'text/html')
        .sendFile(join(`${process.cwd()}/dist/public`, 'index.html'));
    });

    server.listen(port, (err?: Error) => {
      if (err) {
        throw err;
      }
      console.info(`> Ready on localhost:${port} - env ${process.env.NODE_ENV}`);
    });
  } catch (e) {
    console.error(e);
    process.exit(1);
  }
})().catch((e) => console.error(e));

The shopify middleware went through correctly. The issue was in our billingRequest check. Closing.


Unable to run dev with new node 18 on Mac

What happened?
node: --openssl-legacy-provider is not allowed in NODE_OPTIONS
Please reproduce in steps
To be able to build
Expected Behavior
~
What browsers are you seeing the problem on?
No response
At which address did you encounter bug?
No response
Are you logged in?
None
Which wallet you are using?
No response
At which chain did you encounter bug?
No response
Screenshots

Relevant log output
No response
Payment link for reward
https://kodadot.xyz/transfer/?target=<My_Kusama_Address_check_https://github.com/kodadot/nft-gallery/blob/main/CONTRIBUTING.md#creating-your-ksm-address>
Code of Conduct

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

It builds without that.

cc @preschian ?

It builds without that.

hhmm, let me open the PR to remove that. afaik in the pipelines will fail, so we need to add that env on github actions, netlify, and cf

Build ok for me on OSX
> nuxi prepare && cross-env NODE_OPTIONS=--openssl-legacy-provider PORT=9090 nuxi dev

Nuxi 3.0.0                                                                                08:58:43
✔ Sentry reporting is enabled (client side: enabled, server side: enabled)                                                                                nuxt:sentry 08:58:44
ℹ Production build                                                                                08:58:44
ℹ Bundling only for client side                                                                                08:58:44
ℹ Target: static                                                                                08:58:44
ℹ Using components loader to optimize imports                                                                                08:58:44
ℹ Discovered Components: .nuxt/components/readme.md                                                                                08:58:44
✔ Builder initialized                                                                                08:58:44
✔ Nuxt files generated                                                                                08:58:44
✔ Types generated in .nuxt                                                                                08:58:44

                                                                                08:59:27
✔ Client
  Compiled successfully in 40.76s
✔ Nitro built in 186 ms                                                                                nitro 08:59:34
ℹ Waiting for file changes

Build ok for me on OSX

interesting, does it fails in your local if remove openssl-legacy-provider env?

To update to node 18 I've just:
pnpm env use --global 18
pnpm add -g pnpm

What's in boom-vuex-settings? 👀

Research for #5979

Build ok for me too on OSX 👀
My node version is v18.16.0

@vikiival i have the same issue on node 18.13
Upgrading to node 18.17 fixes it

@vikiival i have the same issue on node 18.13
Upgrading to node 18.17 fixes it
https://github.com/kodadot/nft-gallery/pull/6651

I use dev-experimental so we can close this


[pilot] Localized versions of beta_app_description and changelog

New Issue Checklist

[X] Updated fastlane to the latest version
[X] I have read the Contribution Guidelines

Issue Description
Using pilot, I'm currently not able to pass localized strings for all supported languages of my app by using the parameters "changelog" and "beta_app_description".
While concatenating all localized versions into one text is a possible workaround, I'd appreciate to have pilot (optionally) supporting the corresponding feature of TestFlight (these two text fields, but per language).

This feature request is still up-to-date with the latest version.


Issue with new parameter rpc-url in transmission plugin

Expected behaviour:
flexget can notify the transmission daemon to start to download the file.
Actual behaviour:
always said username/password for transmission is invalid. Transmission daemon can't get the notification
I'd like to keep it in brief for after my long time trying, I found the root cause.
In transmission daemon configuration file, to save typing when i want to access the web ui, i modified the rpc-url parameter from /transmission/ to /pt/.  But in flexget configuration file, it seems there is no corresponding parameter. There are only host and port, under this situation, i always can't get these two animals to talk. After I switch back from /pt/ to /transmission/, everything are back on track.
The above is what i found. Not sure if it's the correct place to raise this issue.
Thank you.

I haven't modified the path myself but, basically Flexget doesn't have a parameter for that change.
TransmissionRPC handles it using the host, you can try changing that in Flexget and see if it works.
TransmissionRPC expects the full path... something like host: localhost:9091/pt/ should work.

From what I can see TransmissionRPC supports a complete URI eg. localhost:9091/pt/, so having that as your host should work. You'll still have to specify port, but it's not used.
Let me know if this doesn't work. Closing.

Thank you for replying, i tried your way of setting host with port, but i got the crash report as following:
2016-11-14 14:00 DEBUG    manager                       Config file /etc/flexget/config.yml selected
2016-11-14 14:00 INFO     manager                       Test mode, creating a copy from database ...
2016-11-14 14:00 INFO     manager                       Test database created
2016-11-14 14:00 VERBOSE  task_queue                    There are 1 tasks to execute. Shutdown will commence when they have completed.
2016-11-14 14:00 INFO     transmission  pt-task         Trying to connect to transmission...
2016-11-14 14:00 CRITICAL task          pt-task         BUG: Unhandled error in plugin transmission: coercing to Unicode: need string or buffer, NoneTy
pe found
Traceback (most recent call last):
File "/home/someuser/flexget/local/lib/python2.7/site-packages/flexget/task.py", line 477, in __run_plugin
return method(*args, **kwargs)
File "/home/someuser/flexget/local/lib/python2.7/site-packages/flexget/event.py", line 23, in call
return self.func(*args, **kwargs)
File "/home/someuser/flexget/local/lib/python2.7/site-packages/flexget/plugins/clients/transmission.py", line 141, in on_task_start
self.client = self.create_rpc_client(config)
File "/home/someuser/flexget/local/lib/python2.7/site-packages/flexget/plugins/clients/transmission.py", line 75, in create_rpc_client
cli = transmissionrpc.Client(config['host'], config['port'], user, password)
File "/home/someuser/flexget/local/lib/python2.7/site-packages/transmissionrpc/client.py", line 146, in init
self.url = urlo.scheme + '://' + urlo.hostname + urlo.path
TypeError: coercing to Unicode: need string or buffer, NoneType found
After i modified it back to original, it works again.

Need to see the config.

The following is the config
tasks:
  pt-task:
    rss: https://sompt/site
    accept_all: yes
    exists: /download/folder
    transmission:
      host: localhost:9091/pt
      username: usr
      password: passwd
    clean_transmission:
      host: localhost:9091/pt/
      username: usr
      password: passwd
      finished_for: 2 days
    disable: details

schedules:
  - tasks: pt-task
    interval:
      minutes: 15

As I said previously, you still need to specify port.

ok, i missed that sentence. I will try again. But leaving port there looks a little weird.

Flexget: 3.11.58 (docker from ghcr.io/flexget/flexget)
working
// transmission
"rpc-url": "/transmission/"

// flexget
    transmission:
      host: <IP_ADDRESS>
      port: 9091

not working
// transmission
"rpc-url": "/bt/"

// flexget
    transmission:
      host: <IP_ADDRESS>:9091/bt/
      port: 9091


ISOGR control body: support invalidation/supersession independently

Use cases:

Invalidate an entry without any supersession or retirement
Invalidate and supersession
Supersession without invalidation

Ping @maccraymer to see if this is accurate.

Mike & others have confirmed this on the previous meeting. The scenario appears to not be very common, but it’s possible. I believe there is some concern about the semantics of invalid items: if they are indeed added in error then they might not be fit for any further changes.
Another aspect that I recall has been discussed at the same time is graudal supersession over time.
Filed https://github.com/paneron/registry-kit/issues/30. @ronaldtse there’re some question in that ticket that you perhaps would know off the top of your head, e.g. would it contradict 19135 (in current or next version) if an already invalid item can be superseded, or an already superseded item can be superseded with more items later.


#osp:PT: out of memory for shadingContext allocation!

I've changed pc, the same scene same parameter with old pc it's all ok, in the new pc after 50 frames ospray show three line:
#osp:PT: out of memory for shadingContext allocation!
#osp:PT: out of memory for shadingContext allocation!
#osp:PT: out of memory for shadingContext allocation!
and after 55 frames another time show those three line error and then contiunue.
ospRay version <IP_ADDRESS>
embree 2.17.0
New pc:
mac pro with bootcamp and win 10
Processor intel xeon W-2140B 8-core 3.2 GHz with turbo boost 4.2 GHz
32gb Ram ECC 2666MHz
1TB SSD Disk
Radeon Pro Vega 56 8Gb Ram HBM2

Hmm, that's odd. Maybe your new PC now supports 8-wide SIMD (AVX), and thus the pathtracer materials need more memory. Still, the allocated memory scales with SIMD width and consequently we haven't seen this error a long time.
Anyway, could you try to increase the allocated memory by 2x in ospray/render/pathtracer/bsdfs/ShadingContext.ih (define SHADINGCONTEXT_SIZE) and see if the error is still there?

Problem solved, thank you very much.


Support o1-mini/o1-preview openAI models on Azure

Getting the following error
2024-10-17 01:53:56.311 | WARNING  | pr_agent.algo.ai_handlers.litellm_ai_handler:chat_completion:234 - Error during LLM inference: litellm.BadRequestError: AzureException BadRequestError - Unsupported value: 'messages[0].role' does not support 'system' with this model.

I think Azure model prefix is azure/o1- in this code
https://github.com/Codium-ai/pr-agent/blob/e82afdd2cb871cc6c6fdaf644662f8fe04d56ca2/pr_agent/algo/ai_handlers/litellm_ai_handler.py#L190

you are welcome to open a PR to address this

should be fixed in https://github.com/Codium-ai/pr-agent/pull/1295


Update chipwhisperer version

The previously used version didn't fully support Husky which under some circumstances caused issues when capturing power traces using the ot-sca repository.

Something looks like it's gone properly wrong with installing Python dependencies in CI here. @vogelpi: Any idea what came unstuck?

I am not sure what happened but I can imagine that the problem is that this newer chipwhisperer simply isn't cached yet so takes a very long time to download (it's 500MiB+) and then there isn't sufficient time for everything else. I've now retriggered CI for this. Let's see.

As it turns out the previously selected new version of chipwhisperer already requires Python 3.7 which we is not available in CI. (OpenTitan requires minimum 3.6). I've now changed the PR to update chipwhisperer to the latest version still compatible with Python 3.6. I don't know if that still solves the capture issues but upgrading to this version shouldn't hurt either.

Hi @vogelpi! What's the status of this PR?

Ah, sorry. I forgot about this. Updating ChipWhisperer doesn't seem to be possible due to updated/new dependencies that are not compatible with Python 3.6 (our minimum requirement and used in CI). And we also don't need to update it except for SCA experiments. We now managed to solve the underlying issue on the ot-sca side (don't require Python 3.6 there). Let's just close this.


Plausible-Analytics: feat: add new needed values for the new plausible release.

Description of the change
This PR makes adjustments to use the new version and follows the instructions.
Benefits
The new version can be executed without any problems using the Helm Chart.
Possible drawbacks

not known

Additional information
Look at the changelog  here: https://github.com/plausible/analytics/releases/tag/v2.1.0
Checklist

[X] Title of the PR conforms to the Conventional Commits standard.
[X] Scope of the of the PR title contains the chart name.
[X] Chart version in Chart.yaml has been bumped according to Semantic Versioning.
[X] Chart artifacthub.io/changes changelog annotation has been updated in Chart.yaml. See Artifact Hub documentation for more info.
[X] Variables have been documented in the values.yaml file.

Thank you for the PR!

FYI: Changes from this PR were included in the following release - https://github.com/zekker6/helm-charts/releases/tag/plausible-analytics-0.2.2


Problem with batch computation

Hello, I've followed the code in the Colab, and the results are different if more than one example is given.
Are there any ways to have consistent output with batch computing?

I was a problem with the Softmax axis. Had to set axis=-1


[polish] chapter 8 peer review

preview check：

[ ] tensorflow tab in rnn-concise.md
[x] tensorflow code, exercise in rnn-scratch.md

Job d2l-zh/PR-1010/1 is complete.
Check the results at http://preview.d2l.ai/d2l-zh/PR-1010/

Job d2l-zh/PR-1010/2 is complete.
Check the results at http://preview.d2l.ai/d2l-zh/PR-1010/

Job d2l-zh/PR-1010/3 is complete.
Check the results at http://preview.d2l.ai/d2l-zh/PR-1010/

Job d2l-zh/PR-1010/4 is complete.
Check the results at http://preview.d2l.ai/d2l-zh/PR-1010/

Job d2l-zh/PR-1010/5 is complete.
Check the results at http://preview.d2l.ai/d2l-zh/PR-1010/


Breast cancer example

In Breast cancer example you are using the following code lines
We create a custom 1-D lens with Isolation Forest
model = ensemble.IsolationForest(random_state=1729)
model.fit(X)
lens1 = model.decision_function(X).reshape((X.shape[0], 1))
My question is .. What does this lense1 is doing i mean what kind of projection do we have ? are we projecting our data on predictions of isolation forest...I am not sure please help????

Maybe looking at the documentation for isolation forest would help your understanding?
Isolation forests don't make predictions, they compute anomaly scores for each observation in X.

The anomaly score of an input sample is computed as the mean anomaly score of the trees in the forest.


Upgrade k2-tools to alpine linux 3.6

Currently k2-tools image is running on alpine 3.4.  There have been two significant releases since then.  Please upgrade to alpine linux 3.6 as to ensure we're not in a situation where we're using an OS distribution that is out of support for bug and security fixes.

https://github.com/gliderlabs/docker-alpine/issues/296


mksrcinfo fails to work on PKGBUILD using makepkg's error, msg, and msg2 functions

I have a PKGBUILD which uses msg, msg2 and error to make error and info messages look nicer. Of course, mksrcinfo doesn't define these functions, so running mksrcinfo on this PKGBUILD causes the following error:
~/somedir/PKGBUILD: line 28: error: command not found

Commenting the line out causes the script to complete successfully.
Of course, note that makepkg --source builds .SRCINFO just fine.

Does this mean you're writing messages from somewhere outside of a packaging function? Why would you do that?

This is the same PKGBUILD in question in #25 and as such, this issue isn't relevant anymore. Thanks for your time.


Improved frequency normalization algorithm

The old frequency normalization algorithm did not produce good results.
This seems to have been because it was likely to round frequencies in an
unfavorable way.  Change it to an improved algorithm which produces
better results; that is, a symbol will be, on average, assigned a number
of states which better reflects its mathematical entropy.
As an added bonus, the new algorithm is faster because it requires
neither sorting the symbols nor performing floating point arithmetic.
Note that changing the way frequencies are normalized does not change the
on-disk format.
Results for compressing the Silesia corpus (211,941,764 bytes):
Old algorithm: Compressed to 67,809,153 bytes in 4.820 seconds
New algorithm: Compressed to 67,628,688 bytes in 4.800 seconds

Tested it on 5000+ files, and verified it's compatible both ways with the current implementation. All good. As you say, it gets around 0.2% better compression, and slightly better speed. Thanks.


Just docs v0.10.0  / Missing file.

Notice:

Sorted_pages.html was removed in the latest update, which means some files have bee rearranged somewhere and its still including that specific file from code in the global repository somehow no idea but it is.

It is now updated to v0.10.0

SideBar works, will add other changes.
To do
Look into the version ancestory and fix the requirement of Sorted_pages  which is no longer required and limits to use of Unlimited Pages.
Currently it works by

References itself
Parent the previous 1.
Grandparent 1. and Parent 2.

Which is final, with the next change can use just parent and then the first file as ancestor.

Requires a change from Grand_parent and children, which is now just parent or ancestor.
Ancestor as I understand is not required to be references as it does it automatically as long as its in the same folder?

There can not be any two files with the same " Tile " q


feat(base64): :sparkles:  Added base64 string and byte functions

📚 Description

Added string functions genBase64FromString and genStringFromBase64
Added byte functions genBytesFromBase64 and genBase64FromBytes
Added option for url encoding to use with base64url charset
Added tests

Hi @itpropro and sorry it got delayed. Are you interested to move it forward via https://github.com/unjs/undio/issues/6?


Update tox.ini to use Python 3.10 in coverage workflow

Even though the coverage workflow passes CI, it's been failing for Caleb and me locally.  Specifically, it's erroneously showing that the following continue statement is not covered:
https://github.com/Qiskit-Extensions/circuit-knitting-toolbox/blob/b919f99d2ab6b54e63397769697ba19b2363ab62/circuit_knitting_toolbox/circuit_cutting/cutting_decomposition.py#L65-L70
After discovering the comment at https://github.com/nedbat/coveragepy/issues/1530#issuecomment-1520879380, I decided to try setting the Python version to 3.10, as that's what CI uses.  With this change, the coverage workflow now passes for me locally.
I am not sure if this has the same root problem at https://github.com/nedbat/coveragepy/issues/1530, but I suspect that it may.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 88.243%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
2079

Relevant Lines:
2356

💛  - Coveralls

Alternatively, of course, we can just mark this line with # pragma: no cover.  However, Python 3.10 is already required by the lint workflow, so I don't see much harm in also requiring it here.


When PO moves something to Done column it closes github issue

As part of the Osprey dev team, I want to easily mark issues as closed when they are complete so that it is clear what is an open or closed issue.
In our project board (https://github.com/orgs/bcgov/projects/49/views/1) the last step is for PO to move a github issue into the done status/column. When this happens the issue remains open even though it is complete. This ticket is to create an action that automatically moves an issue in done to closed so that we dont have a bunch of done open issues.
Acceptance Criteria
Given I am the PO
When I move something to done in our sprint board
Then the issue is marked as closed.
Notes

@JLWade I believe I found a solution to this using gh project workflows. A slight change to your flow would be: Upon approving a ticket, use the 'Close' button. You can also add a comment to provide any feedback to the team then the button says "Close with comment". Using the workflow I've setup, this will automatically send the ticket to the "Done" column/status.

nice! so sounds like I can move this one to done!


kubectl logs -f 该命令能够查到seata启动日志，这样才能快速定位问题

Why you need it?
Is your feature request related to a problem? Please describe in details
kubectl logs -f 该命令能够查到seata启动日志，这样快速定位问题
目前方案：

daemon参数控制台后台还是前台
控制台只输出启动日志，业务日志不输出

How it could be?
A clear and concise description of what you want to happen. You can explain more about input of the feature, and output of it.
Other related information
Add any other context or screenshots about the feature request here.

optimize

closed as completed https://github.com/apache/incubator-seata/pull/6154


[W09-B2][Week 8] Update Sort Functionality

Added a shorthand for sort and made sorting undoable. Updated the User Guide to reflect changes.

Coverage decreased (-0.05%) to 87.71% when pulling a9ff3373b1a8c0f5997b76a73fa5107f159febcd on jeffreygohkw:sort into ce2640e52000602402928f0763fb2bbf5144d500 on CS2103AUG2017-W09-B2:master.

Coverage increased (+0.4%) to 88.144% when pulling 4d9ca2fbee7fbafaa575e7034dba5ced8ca63013 on jeffreygohkw:sort into ce2640e52000602402928f0763fb2bbf5144d500 on CS2103AUG2017-W09-B2:master.


Advice needed "$HOME/.composer/vendor/bin:$PATH" already exists in Shell configuration file

This is my "Shell configuration file":
# Setting PATH for Python 3.4
# The orginal version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/3.4/bin:${PATH}"
export PATH
export PATH="$HOME/.composer/vendor/bin:$PATH"
export PATH="$PATH:$HOME/.composer/vendor/bin"
export PATH=$PATH:/Users/mori/drush

. "$HOME/.composer/vendor/platformsh/cli/platform.rc" 2>/dev/null

Do I also need "export PATH="$HOME/.composer/vendor/bin:$PATH"?

Hi
No, you don't need it twice. The order of precedence (from left to right) may have some effect, although it's rare that you would have an executable in more than one path.
Here's your .bash_profile file as I think it should look:
# Set the PATH for Python 3.4
export PATH="/Library/Frameworks/Python.framework/Versions/3.4/bin:${PATH}"

# Set the PATH for globally installed Composer packages.
export PATH="$HOME/.composer/vendor/bin:$PATH"

# Set the PATH for Drush.
export PATH="$PATH:/Users/mori/drush"

# Include Platform.sh CLI aliases and autocompletion.
. "$HOME/.composer/vendor/platformsh/cli/platform.rc" 2>/dev/null

Thanks a lot for your advice.


Better handle native gated users

Until Discord.py emits the pending property in member_update events we must use a workaround to watch for users who pass the native gate.
This PR creates an internal set of members who are pending and then eventually removes them once the pending property gets set to false. It is only a temporary solution before the pending event is handled by Discord.py.

Coverage decreased (-0.03%) to 56.537% when pulling 0be0d86271c84ca1b2980b552aaf31c78e84fcda on native-gating into 14e71609e8e40be0832b66df7a0c309ba262659a on master.


Two parameter methods

Most of the matrix composition functions take three parameters. out output matrix, a matrix to to be modified and general a third parameter which could be for instance: how much to translate, rotate, scale by.
To make it nicer to work with the gl-matrices would it make sense to just simply check if two parameters are passed. If so then out and a matrices would be the same.
For example the gl-mat4/translate function could look like this:
/**
 * Translate a mat4 by the given vector
 *
 * @param {mat4} out the receiving matrix
 * @param {mat4} a the matrix to translate
 * @param {vec3} v vector to translate by
 * @returns {mat4} out
 */
function translate(out, a, v) {

    // if two parameters were passed simply use the `out` and `a` as the same
    // expect a to be translation vector
    if( arguments.length == 2 ) {
        v = a;
        a = out;
    }

    var x = v[0], y = v[1], z = v[2],
        a00, a01, a02, a03,
        a10, a11, a12, a13,
        a20, a21, a22, a23;

    if (a === out) {
        out[12] = a[0] * x + a[4] * y + a[8] * z + a[12];
        out[13] = a[1] * x + a[5] * y + a[9] * z + a[13];
        out[14] = a[2] * x + a[6] * y + a[10] * z + a[14];
        out[15] = a[3] * x + a[7] * y + a[11] * z + a[15];
    } else {
        a00 = a[0]; a01 = a[1]; a02 = a[2]; a03 = a[3];
        a10 = a[4]; a11 = a[5]; a12 = a[6]; a13 = a[7];
        a20 = a[8]; a21 = a[9]; a22 = a[10]; a23 = a[11];

        out[0] = a00; out[1] = a01; out[2] = a02; out[3] = a03;
        out[4] = a10; out[5] = a11; out[6] = a12; out[7] = a13;
        out[8] = a20; out[9] = a21; out[10] = a22; out[11] = a23;

        out[12] = a00 * x + a10 * y + a20 * z + a[12];
        out[13] = a01 * x + a11 * y + a21 * z + a[13];
        out[14] = a02 * x + a12 * y + a22 * z + a[14];
        out[15] = a03 * x + a13 * y + a23 * z + a[15];
    }

    return out;
};

The main issue is that this would diverge a bit from gl-matrix. So far these have just been straight ports, and there's even been some chat about pulling in updates upstream automatically.
at one point @hughsk was suggesting a "user friendly" module on top of these (maybe repurposing vecmath) which has some features like method chaining etc.

Two other possible issues with
    if( arguments.length == 2 ) {
        v = a;
        a = out;
    }

assigning to argument variables (here v and a) can deoptimize (see http://jsperf.com/don-t-assign-arguments - also some browsers warn to warn about this deoptimization in their profilers)
using arguments is falling out of favor, for example, it is not allowed in the proposed strong mode because it also can be difficult to optimize

for these reasons, agreed it'd be preferred to have a separate module for this feature if desired, wouldn't want current usage of gl-mat4 to have this potential performance impact..


[Story] Identify how to display a replacement image if the first one is missing

The OC data model includes references to images such as the logo of organizations and users, and the banner of challenges.
What if:

An organization object is missing its avatar URL?
The link to an avatar is broken?

The goal of this ticket is to identify and implement a solution that addresses the above cases while displaying a replacement image so that the web app still look nice.

@vpchung This task will be mainly useful for the challenge banner to provide a default image in case we don't have a banner on S3. This task wouldn't be useful for the avatar component in case we default to displaying the acronym.
This task is currently in the Backlog as we likely won't rely on actual challenge banner in this sprint. If that were to change, we can resurface this ticket.


Only track changed values when it matters

As requested in #347
The idea is to skip tracking the change state until the ReturnOnlyChangedValues property is true.

@microsoft-github-policy-service agree company="Workleap"


Error occurs with the latest update

The 1st undefined is:

Without AngularJS Batarang, site works fine.
AngularJS Batarang 0.5.0 Dec.9th
angular.version
Object {full: "1.2.25", major: 1, minor: 2, dot: 25, codeName: "hypnotic-gesticulation"}
plnkr: http://plnkr.co/edit/c988Nw?p=preview

I had the same issue a few weeks ago, and while it'd be good if it was fixed, I think some people need a little perspective here. This is a free tool they are using by choice. I'm sure @btford is more upset than anyone here that there are problems, but it has to be said that Batarang is worth every penny we're paying for it. @btford Thank you for your hard work to provide what is basically essential functionality for Angular development, and ignore these childish calls of "rollback immediately" etc. Although if you're unable to provide a proper fixed version (has that happened already) perhaps a new version with old code (i.e. rollback or branch from an earlier tag/revision) might buy the time to look into the issues and save the zipfile workaround?

@nbarnwell no one is asking for a rollback or anything like that anymore as a fully functional workaround has been provided (http://stackoverflow.com/a/27404493/633107).
I'm sure that Brain recognizes how many people are enjoying his extension and relied upon it for their daily development and debugging work. The more success that something gets, the more people will rely on it and be upset if it goes away.
Plenty of people would be willing to leave some tips via Gratipay (https://gratipay.com/) or PayPal if Brain was interested in that / allowed to.

As one of the first to throw the stone. I'd happily buy @btford a bear for his work. Make it happen.

@iamlothian wait a minute. What kind of bear are we talking here? What kind of bear is best?
http://youtu.be/zsGnFExpup8

Haha caught out. (Autocomplete) If you want a bear I'll have to oblige.


added spanish translation

Thank you for your contribution! Since I can't speak Spanish, I ran it through ChatGPT, and it gave me this feedback:

Informal Phrases:

"Lo entendí" (in browser_check.dismiss) – This is informal and commonly used in casual conversations. A more formal alternative would be something like "Entendido" or "De acuerdo".

"¿Has guardado tu proyecto actual?" (in new_project.message) – This uses the informal "tú" form ("Has"). A more formal alternative could be "¿Ha guardado su proyecto actual?", using the "usted" form for consistency.

Feel free to check for yourself if this is relevant or not.
Also, about the files located in assets, I already have everything I need from PrimeVue locale files and Twemoji repository.


StackTrace shows wrong code snippet / lines

Expected behavior
StackTrace shows the code snippet containing the lines that produce the error exception.
/cc @sospedra
The error is being thrown at (This is intended and always throws an error, just testing the error stacktrace):

Observed behavior
StackTrace shows the last lines of the file / non relevant lines for the error.

Steps to reproduce
I'm using code-push to generate the application bundles with the next command. The --outputDir is set to the bundle folder.
$ code-push release-react appName android --outputDir bundle

Under the hood this command runs:
$ react-native bundle \
  --assets-dest bundle \
  --bundle-output bundle/index.android.bundle \
  --dev false \
  --entry-file index.android.js \
  --platform android \
  --sourcemap-output bundle/index.android.bundle.map

After that, I upload the sourcemaps with the bugsnag-sourcemaps cli like this:
$ bugsnag-sourcemaps upload \
  --api-key $API_KEY \
  --code-bundle-id $BUNDLE_ID \
  --source-map bundle/index.android.bundle.map \
  --minified-file bundle/index.android.bundle \
  --minified-url index.android.bundle \
  --upload-sources \
  --add-wildcard-prefix \
  --overwrite

The upload is completed successfully, when there's an error I'm able to see the specific file that throws the error. The issue comes when I try to see the lines that produced the error inside of the stacktrace.

The most common cause of misaligned source files is uploading a bundle for a release build (set with --minified-file) with a minified URL for a debug build (set with --minified-url). In this case, the source files correspond to the release bundle but the line numbers correspond to the debug bundle.

My  --minified-file corresponds to a release build and the --minified-url also points to the production one.
Thanks!
Version
react-native: 0.47.2
bugsnag-sourcemaps: 1.0.1
code-push-cli: 2.0.0-beta
react-native-code-push: 5.0.0-beta

Same issue using 2.5.1
Line that is causing the exception and line that is displayed in the bugsnag dashboard stacktrace are 28 lines apart.

Closing as caused by https://github.com/facebook/react-native/issues/6946


Sync develop to main branch

This PR is to sync develop branch to main branch to keep the master updated

Closing this PR as DCO is resolved in https://github.com/credebl/credo-controller/pull/105


Support for multi episode files

Ie a file with 2 eps in one.. It could grab subs for both and stack them next to each other.
General file name would be
Show name - S01E01-E02 - episode 1 title - episode 2 title

Subliminal doesn't support multi episode files as far as I know and there's no good mechanism via FFMPEG to stack/merge two subitlte files to achieve what you're looking for. Additionally subtitle timing would likely be off if you tried to merge two subtitle files together since subtitles need to be specifically timed for the release (not just the season/episode). If subliminal starts supporting them then this can be achieved by updating subliminal but until then this isn't something I'm gonna be able to add in a reliable fashion.
I personally avoid multiepisode files like the plague, they're the bane of a clean automated setup. Most release groups these days are avoiding them as well.


Dart snapshot generator failed with exit code -6  Command PhaseScriptExecution failed with a nonzero exit code

Steps to Reproduce

flutter channel dev
flutter upgrade
git clone https://github.com/maxisme/notifi
cd notifi
git checkout develop
flutter build macos --release

(my master branch works fine)
Expected results:
The app to build
Actual results:

Logs
===== CRASH =====
si_signo=Bus error: 10(10), si_code=2, si_addr=0x104d74240
Dart snapshot generator failed with exit code -6

Command PhaseScriptExecution failed with a nonzero exit code
note: Using new build system
note: Building targets in parallel
note: Planning build
note: Analyzing workspace
note: Constructing build description
note: Build preparation complete
/Users/max/work/notifi/macos/Pods/Pods.xcodeproj: warning: The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.6, but the range of supported deployment target versions is 10.9 to 11.3.99. (in target 'FMDB' from project 'Pods')
** BUILD FAILED **

Building macOS application...
Build process failed

$ flutter run -d macos works fine

Analyzing notifi...
No issues found! (ran in 3.1s)

[✓] Flutter (Channel dev, 2.6.0-0.0.pre, on macOS 11.1 20C69 darwin-x64, locale en-GB)
    • Flutter version 2.6.0-0.0.pre at /usr/local/Caskroom/flutter/2.0.5/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 83b9e99cfb (12 days ago), 2021-08-23 19:03:21 +0200
    • Engine revision d5adde01dd
    • Dart version 2.15.0 (build 2.15.0-42.0.dev)

[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/max/Library/Android/sdk
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.

[✓] Xcode - develop for iOS and macOS (Xcode 12.5.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)

[✓] Android Studio (version 4.2)
    • Android Studio at /Users/max/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/202.7351085/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)

[✓] VS Code (version 1.53.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (3 available)
    • Android SDK built for x86 (mobile) • emulator-5554 • android-x86    • Android 10 (API 29) (emulator)
    • macOS (desktop)                    • macos         • darwin-x64     • macOS 11.1 20C69 darwin-x64
    • Chrome (web)                       • chrome        • web-javascript • Google Chrome 93.0.4577.63

! Doctor found issues in 1 category.

the stable branch works fine just happening on develop and master.

Seems to blow up in closure inlining due to an attempt to inline closure at a mismatching callsite. Reduction:
void other({String something = "ok"}) {
  print(something);
}

void main(List<String> args) {
  Function x = other;
  if (x is void Function(List<String>)) {
    x(args);
  } else {
    x();
  }
}

@dcharkes Could you take a look at this?

Reproduces on master and at least way back to Dart 2.6 with dart2native:
Downloads dacoharkes$ ./dart-sdk/bin/dart --version
Dart VM version: 2.6.1 (Mon Nov 11 13:12:24 2019 +0100) on "macos_x64"

Downloads dacoharkes$ ./dart-sdk/bin/dart2native ~/repro.dart

===== CRASH =====
si_signo=Bus error: 10(10), si_code=2, si_addr=0x10ba4e5c0

Failed to generate native files:
Generating AOT snapshot failed!

Fix: https://dart-review.googlesource.com/c/sdk/+/212570

Note for subsequent cherry pick review: probably not worth delaying stable release for a cherry pick.
Original reporter hits the bug due to a combination of two factors:

main which has named parameter
flutter tool generating a redirecting main used by plugin registration system (desktop embedding specific).

Work-around for @maxisme would be to avoid named parameter in main, e.g.:
Future<void> main() => mainImpl();

Future<void> mainImpl({bool integration: false}) async {
  // ...
}

and have integration tests main call mainImpl(integration: true) instead of calling main.

Fix landed in Dart SDK.
@mraleph agreed. Especially, since no-one managed to hit it before in all the time it's been there. I'll not file a CP at all then.
@maxisme does the proposed workaround work for you in the meantime?

Ah nice! Thanks so much for looking into this so quickly! Really appreciate it! Will change my code!

Do I understand correctly that this issue is now resolved? Is there anything remaining to be done?

As per discussion on mail, I also filed a CP to Dart stable, because we already have another CP request.
Besides waiting for a roll (dart 2.15.0-89.0.dev), nothing left to be done.

Sounds like we should close the bug then? :-)

Fix has rolled into flutter engine and and into flutter framework.
https://github.com/flutter/engine/pull/28530
https://github.com/flutter/engine/commit/14521782d9624c3a99389e4ce3af92af2a3aff10
https://github.com/flutter/flutter/pull/89807
https://github.com/flutter/flutter/commit/481d5b6acd41642e27802cef0a283ad5ee688303


test_sequential_rnn_cells

http://jenkins.mxnet-ci.amazon-ml.com/blue/organizations/jenkins/restricted-mxnet-cd%2Fmxnet-cd-release-job/detail/mxnet-cd-release-job/1105/pipeline

http://jenkins.mxnet-ci.amazon-ml.com/blue/organizations/jenkins/mxnet-validation%2Funix-gpu/detail/PR-18354/1/pipeline


Code Encapsulation & Updates:

Description
Adding Data encapsulation for Videgear APIs.
Features

Implemented encapsulation for class functions and variables on all gears
Updated README readability
Minor fixes

Requirements / Checklist

[x] Read the Contributing Guidelines
[x] Read the FAQ
[x] Comprehended the Wiki Documentation
[x] Updated the source-code documentation accordingly(if required).

Related Issue

#83
Context

This PR will add encapsulation to vidgear's python code. This will provide hidden private functions and variable features to current API for more robust and error-free performance.
Encapsulation is the packing of data and functions operating on that data into a single component and restricting the access to some of the object’s components. Encapsulation means that the internal representation of an object is generally hidden from view outside of the object’s definition.
Python drops that pretense of security and encourages programmers to be responsible. In practice, this works very nicely. If we want to emulate private variables for some reason like in our case, we can use the __ prefix from PEP 8. Python mangles the names of variables like __foo so that they're not easily visible to code outside the class that contains them.
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to change)

Codecov Report

Merging #84 into testing will increase coverage by 0.03%.
The diff coverage is 73%.

@@             Coverage Diff             @@
##           testing      #84      +/-   ##
===========================================
+ Coverage    75.39%   75.43%   +0.03%
===========================================
  Files           11       11
  Lines         1325     1331       +6
===========================================
+ Hits           999     1004       +5
- Misses         326      327       +1

Impacted Files
Coverage Δ

vidgear/gears/helper.py
87.11% <100%> (-0.07%)
:arrow_down:

vidgear/gears/videogear.py
100% <100%> (ø)
:arrow_up:

vidgear/gears/pigear.py
14.49% <3.07%> (ø)
:arrow_up:

vidgear/gears/screengear.py
65.54% <58.06%> (-3.83%)
:arrow_down:

vidgear/gears/camgear.py
79.85% <81.63%> (ø)
:arrow_up:

vidgear/gears/writegear.py
79.9% <81.81%> (+0.38%)
:arrow_up:

vidgear/gears/netgear.py
81.5% <83.01%> (+1.44%)
:arrow_up:

vidgear/gears/stabilizer.py
92.74% <92.4%> (ø)
:arrow_up:

... and 4 more

Continue to review full report at Codecov.

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


[Bug] Proxy in cluster mode fail on startup when using namesrvDomain config

Before Creating the Bug Report

[X] I found a bug, not just asking a question, which should be created in GitHub Discussions.

[X] I have searched the GitHub Issues and GitHub Discussions  of this repository and believe that this is not a duplicate.

[X] I have confirmed that this bug belongs to the current repository, not other repositories of RocketMQ.

Runtime platform environment
OS: Debian 11
RocketMQ version
5.1.1
JDK Version
openjdk version "11.0.13" 2021-10-19
Describe the Bug
I start proxy in 'Cluster' mode with the following config file:
{
    "rocketMQClusterName": "rocketmq-cluster",
    "proxyClusterName": "rocketmq-cluster",
    "enablePrintJstack": false,
    "namesrvDomain": "rocketmq-ns-endpoint-server",
    "namesrvDomainSubgroup": "nameservers",
    "grpcServerPort": 8081
}

The proxy process will fail with the following Exception:
org.apache.rocketmq.proxy.common.ProxyException: create system broadcast topic DefaultHeartBeatSyncerTopic failed on cluster rocketmq-cluster
	at org.apache.rocketmq.proxy.service.sysmessage.AbstractSystemMessageSyncer.createSysTopic(AbstractSystemMessageSyncer.java:174)
	at org.apache.rocketmq.proxy.service.sysmessage.AbstractSystemMessageSyncer.start(AbstractSystemMessageSyncer.java:140)
	at org.apache.rocketmq.proxy.service.client.ClusterConsumerManager.start(ClusterConsumerManager.java:67)
	at org.apache.rocketmq.common.utils.AbstractStartAndShutdown.start(AbstractStartAndShutdown.java:33)
	at org.apache.rocketmq.common.utils.AbstractStartAndShutdown.start(AbstractStartAndShutdown.java:33)
	at org.apache.rocketmq.common.utils.AbstractStartAndShutdown.start(AbstractStartAndShutdown.java:33)
	at org.apache.rocketmq.proxy.ProxyStartup.main(ProxyStartup.java:91)

Steps to Reproduce
Just start rocketmq in proxy mode with namesrvDomain configured instead of namesrvAddr
What Did You Expect to See?
The proxy fail on startup.
What Did You See Instead?
The proxy startup successfully.
Additional Context
By analyzing the source code and debuging, I found the problem is:
In such case, the class org.apache.rocketmq.client.impl.mqclient.MQClientAPIFactory start an asynchronous task for fetching addresses:
        if (!mqClientAPIExt.updateNameServerAddressList()) {
            this.scheduledExecutorService.scheduleAtFixedRate(
                mqClientAPIExt::fetchNameServerAddr,
                Duration.ofSeconds(10).toMillis(),
                Duration.ofMinutes(2).toMillis(),
                TimeUnit.MILLISECONDS
            );
        }

However, the initialDelay of that task is 10 second.
And then, the org.apache.rocketmq.proxy.ProxyStartup will call the start method of org.apache.rocketmq.proxy.service.sysmessage.HeartbeatSyncer. At this time, the address of the nameserver is not ready in most case. The createSysTopic method will throw an Exception:
        boolean createSuccess = this.adminService.createTopicOnTopicBrokerIfNotExist(
            this.getBroadcastTopicName(),
            clusterName,
            this.getBroadcastTopicQueueNum(),
            this.getBroadcastTopicQueueNum(),
            true,
            3
        );
        if (!createSuccess) {
            throw new ProxyException(ProxyExceptionCode.INTERNAL_SERVER_ERROR, "create system broadcast topic " + this.getBroadcastTopicName() + " failed on cluster " + clusterName);
        }

Can we just retry creating the system topic instead of throwing the exception or fetch address of nameserver address directly at org.apache.rocketmq.client.impl.mqclient.MQClientAPIFactory?

I have fixed the bug by fetching nameserver addrress before MQClientAPIExt start。


Exercise 4.15 In johnDoe data, Find the subsample of

Exercise 4.15 In johnDoe data,

Find the subsample of those whose report unit (通報機關名稱) has the term “海巡隊” (i.e. detect “海巡隊”) in its name.

How many different different 海巡隊 are there? Each reported how many dead bodies.

https://github.com/raychiu135/110-1-r4ds-main/blob/7764b84117a53c6a8b456a78eb9477a99909df9b/exercise_4.15.rmd#L2

https://github.com/linttttt/110-1-r4ds-main/blob/6a5effdd83d10c04d234fb6189617c9db086eb87/studyCH4(EX).Rmd#L269


[Feature Request] Set email providers as mailto: handler and default email program

We should be able to set email providers (e.g. Gmail) as default mailto: handler and default email program in the operating system (e.g. Windows), so that the Gmail (or another provider) tab gets opened when I click on an e-mail address.
P.S.
Wavebox can do this.

@adlk Opinions?


⚠ MineVN Website has degraded performance

In 404f8ef, MineVN Website (http://minevn.net) experienced degraded performance:

HTTP code: 502
Response time: 7492 ms

Resolved: MineVN Website performance has improved in f3972ad.


Make sure event body is a string

@mthenw @alexdebrie Changed as requested.

@alexdebrie @mthenw Please take a look now

Codecov Report

Merging #393 into master will increase coverage by 0.22%.
The diff coverage is 66.66%.

@@            Coverage Diff             @@
##           master     #393      +/-   ##
==========================================
+ Coverage   56.55%   56.77%   +0.22%
==========================================
  Files          24       24
  Lines        1434     1439       +5
==========================================
+ Hits          811      817       +6
+ Misses        577      576       -1
  Partials       46       46

Impacted Files
Coverage Δ

router/event.go
82.35% <66.66%> (-3.37%)
:arrow_down:

router/router.go
51.32% <0%> (+1.32%)
:arrow_up:

Continue to review full report at Codecov.

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