Logout example

Can you please add a native logout example that starts and ends in the app.
This needs to support ios 11 as well as older versions.
Here is a working example in swift 4:
`
func logout(viewController: UIViewController) {

    let logoutEndpoint = URL(string: "https://login.microsoftonline.com/te/my_tenant_name.onmicrosoft.com/b2c_1_signup/oauth2/v2.0/logout")!

    let tokenEndpoint = URL(string: "https://login.microsoftonline.com/te/my_tenant_name.onmicrosoft.com/b2c_1_signup/oauth2/v2.0/token")!

    let configuration = OIDServiceConfiguration(authorizationEndpoint: logoutEndpoint, tokenEndpoint: tokenEndpoint)

    let request = OIDAuthorizationRequest(configuration: configuration,
                                                  clientId: self.clientID,
                                                  scopes: scopes,
                                                  redirectURL: URL(string: redirectUri)!,
                                                  responseType: OIDResponseTypeCode,
                                                  additionalParameters: nil)

    let appDelegate = UIApplication.shared.delegate as! AppDelegate

    appDelegate.currentAuthorizationFlow =
        OIDAuthorizationService.present(request, presenting: viewController) {
            (response, error) in
            print("Logged out!")
    }
}

`

Hi David,
When I tried with the sample provided, even after successful sign-in, when I kill and relaunch the app, the login screen is launched again. How you made the user being directly launched on to your home/some other screen and not in Login screen, after your successful login? Can you please help me out in this?

Thanks for the example @davidvirdeforshh . But when I do logout, am seeing the browser controller pushed-in and popped-out. Is there any way to logout without this browser controller popping-in?


Obtain config details for VPC reuse - Decommissioning PTTP logging infrastructure

After running the removal in CI additional tasks as specified below.
Configuration:

[ ] Obtain the configuration values from the AWS SSM Parameter Store for each environment and make available to Touhid and team.
[ ] Remove SSM Parameterstore entries.

This tickets follows on from
https://app.zenhub.com/workspaces/nvvs-devops-622a0b371800e400133bb924/issues/gh/ministryofjustice/nvvs-devops/643
and precedes
https://app.zenhub.com/workspaces/nvvs-devops-622a0b371800e400133bb924/issues/gh/ministryofjustice/nvvs-devops/644

staff logging infrastructure config has been saved into a 1Password Vault: MoJ-OFFICIAL-PROD as a note named
"PTTP logging infrastructure - staff-device-logging-infrastructure - config - extracted from AWS SSM Parameterstore"
with the following tags
"Decommissioning PTTP logging infrastructure"
"PTTP"


Reset analysis button and launch onboarding for cached analyses.

This PR fixes https://github.com/CartoDB/bigmetadata/issues/225.
When the user saves an analysis we change the status to pending to force triggering changes even when the analysis is cached. In this scenario, the analysis save request returns a ready state without passing for enqueued or running state, so the UI is not aware of the change.
In order to accept it, follow the STR described here and check:

[ ] the button resets the label property
[ ] the onboarding launches for cached analyses

Frontend thing passing :dancer:, merging.


"TimeoutError: [Errno 110] Connection timed out" from Google Colab Notebook

Bug Description
I am trying to connect to a trial AlloyDB instance from a Google Colab Notebook. Both the my Notebook / GDrive are managed under the same GCP organization as the DB instance. Unfortunately I observe a timeout (already have my ADC with correct database user credentials, password hidden). The code I'm evaluating is available here: https://colab.research.google.com/drive/1_Xd4rfncFBfxbgQwYu_ZL4Tu76VApcn2#scrollTo=MA7sOm6qF2b0
from google.cloud.alloydb.connector import Connector

connector = Connector()

# https://github.com/GoogleCloudPlatform/alloydb-python-connector/tree/main
conn = connector.connect(
    "projects/dynamic-branch-380821/locations/us-central1/clusters/tmp-trial-alloydb-cluster/instances/primary-instance",
    "pg8000",
    user="analyst",
    password=db_password,
    db="verse-db"
)

The timeout occurs in the connecter.connect() method.
Example code (or command)
No response
Stacktrace
TimeoutError                              Traceback (most recent call last)
<ipython-input-12-ecf23c99c5ae> in <cell line: 6>()
      4
      5 # https://github.com/GoogleCloudPlatform/alloydb-python-connector/tree/main
----> 6 conn = connector.connect(
      7     "projects/dynamic-branch-380821/locations/us-central1/clusters/tmp-trial-alloydb-cluster/instances/primary-instance",
      8     "pg8000",

7 frames
/usr/lib/python3.10/socket.py in create_connection(address, timeout, source_address)
    831             if source_address:
    832                 sock.bind(source_address)
--> 833             sock.connect(sa)
    834             # Break explicitly a reference cycle
    835             err = None

TimeoutError: [Errno 110] Connection timed out

Steps to reproduce?
To reproduce, just copy the notebook and execute within your GCP+Gdrive/Colab environment
Environment
This is already documented in the notebook
Additional Details
No response

By default the Python Connector tries to connect with private IP. Unless the VM that runs your notebook code is within the same VPC as your PSA attachment, you'll need to update your instance to have a public IP and update your connector code to be:
# https://github.com/GoogleCloudPlatform/alloydb-python-connector/tree/main
conn = connector.connect(
    "projects/dynamic-branch-380821/locations/us-central1/clusters/tmp-trial-alloydb-cluster/instances/primary-instance",
    "pg8000",
    user="analyst",
    password=db_password,
    db="verse-db",
    ip_type="PUBLIC",
)

You can assign a public IP with:
!gcloud beta alloydb instances update {instance_name} --region={region} --cluster={cluster_name} --assign-inbound-public-ip=ASSIGN_IPV4

Cool, that worked! Maybe that this detail above can be added to the top-level README? I noticed for the cloud-sql-python-connector["pg8000"] library the Connector.connect() by default used the public IP. So that might be a small thing that should be consistent between the two class methods.

Glad to hear it and good idea. I've sent a PR to update the README to make this clear.


climc: k8s api update

这个 PR 实现什么功能/修复什么问题:
是否需要 backport 到之前的 release 分支:

2.11
/area climc

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@76e3fb2). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff            @@
##             master   #3539   +/-   ##
========================================
  Coverage          ?   7.31%
========================================
  Files             ?     490
  Lines             ?   79089
  Branches          ?       0
========================================
  Hits              ?    5784
  Misses            ?   72819
  Partials          ?     486

Flag
Coverage Δ

#aFlag
7.31% <ø> (?)

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 76e3fb2...f83a46f. Read the comment docs.


Update sbt-sonatype to 3.11.3

About this PR
📦 Updates org.xerial.sbt:sbt-sonatype from 3.10.0 to 3.11.3
📜 GitHub Release Notes - Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.xerial.sbt", artifactId = "sbt-sonatype" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.xerial.sbt", artifactId = "sbt-sonatype" }
}]

labels: sbt-plugin-update, early-semver-minor, semver-spec-minor, commit-count:1

Superseded by #143.

Superseded by #144.


Subscription API

Hello, is it possible to make calls to Subscription API? I’m looking for a way to call something like
GET https://api.paypal.com/v1/billing/subscriptions/SubId

Ok. I added it. I used existing structures where possible, but I had to create some new ones


Feature Request: Include cleanup script for starter module loal deployments

Is there an existing issue for this?

[x] I have searched the existing issues

Infrastructure as Code Type? (Required)
terraform
Starter Module? (Required)
bicep - complete
Use Case (Required)
When users have errors in their configuration and want to clean-up the starter and local-output locations, it would be helpful to have a cleanup script.
Proposed Solution (Required)
Include a powershell script in the local-outputs/scripts directory.
Important Factoids (Optional)
No response
References (Optional)
No response

We can add a destroy script, happy for you to raise a PR for it @sdeguchi. Otherwise, will add to the long term list since a user can just run Terraform destroy as a workaround.


33 split repository by creating a new one for shared stuff

Fixes #33

Coverage increased (+0.05%) to 99.211% when pulling<PHONE_NUMBER>cc707746aad6d224a81cf3d07419a2 on 33-Split-repository-by-creating-a-new-one-for-basicshared-stuff into da63a21a9dc6986888ae2f73439c0c52c4dd3984 on release-candidate.


Inconsistent mSet: Connection Reset

Steps to reproduce
Hi,
I am trying to dump some data on dicedb instance hosted on GCP via NodeJS + Redis
Node Version: 20
DiceDB Version: Latest (checked out from main branch 2 days ago)
Node Redis Package: https://www.npmjs.com/package/redis - 4.7.0
Steps:

Get data from DB (Attached the data)
table1.csv
table2.csv
Iterate over it and dump to redis in batches via mSet

Code:
		// Initialize objects to store tickets and sales orders
		const tickets = {};
		const salesOrders = {};

		// Iterate over each row in the result set
		for (const row of ticketrows) {
			// Create a ticket key using the uniqueReferenceID
			const ticketKey = `${row.uniqueReferenceID}`;

			// Trim the ticket data to only include the necessary fields
			const currentTicket = {
				tkt: ticketKey,
				bvID: row.batchVariantID,
				bvName: row.batchVariantName,
				value: row.productValue,
			};
			const ticketData = {
				so: row.salesOrderID,
				qty: 1,
				tkts: [currentTicket],
			};

			// Store the ticket data as a JSON string in the tickets object
			tickets[ticketKey] = JSON.stringify(ticketData);
		}

		// Iterate over each row in the result set
		for (const row of sorows) {
			// Create a ticket key using the uniqueReferenceID
			const ticketKey = `${row.uniqueReferenceID}`;

			// Trim the ticket data to only include the necessary fields
			const currentTicket = {
				tkt: ticketKey,
				bvID: row.batchVariantID,
				bvName: row.batchVariantName,
				value: row.productValue,
			};
			const ticketData = {
				so: row.salesOrderID,
				qty: 1,
				tkts: [currentTicket],
			};

			// Create a sales order key using the salesOrderID and batchVariantID
			const salesOrderKey = `${row.salesOrderID}`;

			// Check if the sales order already exists in the salesOrders object
			if (salesOrders[salesOrderKey] !== undefined) {
				// Increment the quantity and add the ticket to the sales order
				let tempSalesOrder = JSON.parse(salesOrders[salesOrderKey]);
				tempSalesOrder.qty++;
				tempSalesOrder.tkts.push(currentTicket);
				salesOrders[salesOrderKey] = JSON.stringify(tempSalesOrder);
			} else {
				salesOrders[salesOrderKey] = JSON.stringify(ticketData);
			}
		}

		// Get the count of tickets and sales orders
		let ticketCount = Object.keys(tickets).length;
		let salesOrderCount = Object.keys(salesOrders).length;

		console.log('Active tickets:', ticketCount);
		console.log('Active sales orders:', salesOrderCount);

		// Dump tickets to Redis in batches
		if (ticketCount > 0) {
			const batchSize = 10;
			for (let i = 0; i < ticketCount; i += batchSize) {
				const batch = Object.entries(tickets).slice(i, i + batchSize);
				await redis.mSet(batch);
			}
			console.log('Dumped active tickets to Redis');
			console.log('Dumped all active tickets to Redis in bulk');
		} else {
			console.log('No active tickets to dump');
		}

		// Dump sales orders to Redis in batches
		if (salesOrderCount > 0) {
			const batchSize = 5;
			for (let i = 0; i < salesOrderCount; i += batchSize) {
				const batch = Object.entries(salesOrders).slice(i, i + batchSize);
				await redis.mSet(batch);
			}
			console.log('Dumped active sales orders to Redis');
		} else {
			console.log('No active sales orders to dump');
		}

		// Return true to indicate successful completion
		return true;

3 out of 5 times it works.
Other times I get a connection error

DiceDB logs from server:
1:38PM INF FLUSHDB called args={}
1:38PM INF FLUSHDB called args={}
1:39PM INF FLUSHDB called args={}
1:39PM WRN connection timeout

Expected output
The expected output when the above set of commands (maybe when run on Redis)
Works all the time.

Observed output
The observed output when the above set of commands when run on DiceDB
WRN connection timeout

Expectations for resolution
This issue will be considered resolved when the following things are done

changes in the dice code to meet the expected behavior
addition of relevant test case to ensure we catch the regression

You can find the tests under the integration_tests directory of the dice repository and the steps to run are in the README file. Refer to the following links to set up DiceDB and Redis 7.2.5 locally

setup DiceDB locally
setup Redis 7.2.5 locally
setup DiceDB CLI

Thanks for reporting this, we're looking into it. Will keep this thread posted.

@JyotinderSingh can u plz assign this issue to me

@JyotinderSingh can u plz assign this issue to me

Feel free to look into this, but fyi, a few other team members are also investigating this.
Please report your findings here.

@maplenk , quick question, could you provide any info regarding the infra for this setup? do you have both the server and dicedb running on the same machine or different ones?

Hey,
Installed dicedb on Ubuntu 22 on GCP
Connecting to it locally via mac

Hey,
Any update here?

@maplenk I noticed that dice-db instance where you are facing this issue is using the older server. We have recently moved our server to new multi-threaded RESP server. Can you please re-run and let us know?

Please share the exact command and the command format.
Running MSET works fine through CLI.
FYI, we support RESP2 format.

Logs from server where dicedb is running:
root@redis:~/dice# go run main.go
2024-11-26T16:44:28+05:30 INF Field Logging.LogDir failed validation: dirpath
2024-11-26T16:44:28+05:30 INF Setting default value for Logging.LogDir to: /tmp/dicedb

	██████╗ ██╗ ██████╗███████╗██████╗ ██████╗
	██╔══██╗██║██╔════╝██╔════╝██╔══██╗██╔══██╗
	██║  ██║██║██║     █████╗  ██║  ██║██████╔╝
	██║  ██║██║██║     ██╔══╝  ██║  ██║██╔══██╗
	██████╔╝██║╚██████╗███████╗██████╔╝██████╔╝
	╚═════╝ ╚═╝ ╚═════╝╚══════╝╚═════╝ ╚═════╝

2024-11-26T16:44:28+05:30 INF starting DiceDB version=0.1.0
2024-11-26T16:44:28+05:30 INF running with port=7379
2024-11-26T16:44:28+05:30 INF running with cores=1
2024-11-26T16:44:28+05:30 INF running with shards=1
2024-11-26T16:44:28+05:30 INF running with watch=false
2024-11-26T16:44:28+05:30 INF running with profiling=false
2024-11-26T16:44:28+05:30 INF running with persistence=true
2024-11-26T16:44:44+05:30 INF Stopping io-thread id=W-15532-1
2024-11-26T16:44:44+05:30 INF Stopping io-thread id=W-16105-2
2024-11-26T16:44:45+05:30 INF Stopping io-thread id=W-16721-3
2024-11-26T16:44:46+05:30 INF Stopping io-thread id=W-17536-4
2024-11-26T16:44:46+05:30 INF Stopping io-thread id=W-18408-5
2024-11-26T16:44:47+05:30 INF Stopping io-thread id=W-19213-6
2024-11-26T16:44:48+05:30 INF Stopping io-thread id=W-20015-7
2024-11-26T16:44:49+05:30 INF Stopping io-thread id=W-20879-8
2024-11-26T16:45:45+05:30 INF Stopping io-thread id=W-77035-9
2024-11-26T16:45:46+05:30 INF Stopping io-thread id=W-77664-10
2024-11-26T16:45:46+05:30 INF Stopping io-thread id=W-78284-11
2024-11-26T16:45:47+05:30 INF Stopping io-thread id=W-78999-12

Is this code reverted:
https://github.com/DiceDB/dice/pull/709

@soumya-codes any update?

:/ still waiting


Look into why icon isn't showing up

Network requests are still happening, but not showing up in title bar. Seems to have broke when chrome required all extensions to show themselves with their new security update. Maybe an API has changed

Apparently this is part of the new UI update mentioned here
However it doesn't seem to work as described. Even when explicitly calling chrome.pageAction.hide(tabId). I have posted on their dev forums here
For now the workaround is to either show the icon in your toolbar constantly (it won't grey out) or explicitly check your hamburger menu. Sorry about that

Also update the README


Impossible to use floats for text size

Steps to reproduce
<Text size={2}>Main Title</Text> <Box>      <Text size={1.5}>{item.title}</Text>       <Text>{item.description}</Text>       <Text size={0.8}>{item.date}</Text> </Box>
Expected Behavior
I should be able to use smaller text then the default font size or use floats for in between text size like when using em.
Actual Behavior
I can not use smaller text then the default one and I can not use floats or the app will crash.

It's not a bug, it's feature. Use theme.


Transparent Encryption: Support running with bpf_lb

bpf_lb was removed in v1.7 dev cycle, closing.


PIM removes dynamic task description of Human Tasks

After migrating a process instance, the "Description" property of human tasks is without content. Before the process is migrated, the task has a value in that field.
During tests, if the "Description" property contains a fixed value, after migrating its value is preserved. Conversely, if the property has variable data (for example #{my_data}), after migration the "Description" field is shown blank.

Note: this is caused by changes from https://issues.redhat.com/browse/JBPM-9507 - https://github.com/kiegroup/jbpm/commit/b0cd4dd80a9ca0a18199267c740ca44327210622

Test case: https://github.com/kiegroup/jbpm/compare/main...martinweiler:jbpm:kie-issues-386

https://github.com/kiegroup/jbpm/pull/2301

Fixed in BAMOE 8.0.4, closing this issue.


Fixed the issue that infinite loop-nested call ControlLibrary->getControlInfo()

When I try to extend the ControlLibrary by listen pages.builder.registerControls, I found I cannot call function ControlLibrary->getControlInfo() because it will result loop-nesrted call ControlLibrary->getControlInfo() again and again.
After I researched the code of builder-plugin, I found the Event::fire('pages.builder.registerControls', [$this]); before $this->groupedControls has been initalized. Therefore I changed their order, and bug has been fixed.

Thanks!


update_attributes doesn't clear embedded documents for another embedded document

Mongoid: 2.2.3
Ruby: ree-1.8.7
Rails: 3.0.10
Simular with issue #1225.
This case works fine:
class Post
    include Mongoid::Document
    embeds_many :comments
end

class Comment
    include Mongoid::Document
    field :text, :type => String
    embedded_in :post
end

Post.delete_all
Post.create!(:comments => [{ :text => 'message 1' }])
p = Post.first
p.update_attributes :comments => [{ :text => 'message 2' }]

Post.first.comments.count
=> 1

But this works incorrectly:
class Blog
    include Mongoid::Document
    embeds_many :posts
end
class Post
    include Mongoid::Document
    embedded_in :blog
    embeds_many :comments
end

class Comment
    include Mongoid::Document
    field :text, :type => String
    embedded_in :post
end

Blog.delete_all
Blog.create!({ :posts => [{ :comments => [{ :text => 'message 1' }] }] })
p = Blog.first.posts.first
p.update_attributes :comments => [{ :text => 'message 2' }]
reload!
 Thanks for reporting this.

with mongoid version 2.1.9 works fine.

BTW, I confirmed this in 2.3.2 , but your original post says 2.2.3 . Did you mean 2.2.3 or 2.3.2 ?

i mean 2.2.3 because it is used  for rails 3.0.10 (2.3 only for rails 3.1)

We've got a rouge $pushAll hanging around here. From the test suite:
{"$set"=>{"locations"=>[{"name"=>"home", "_id"=>BSON::ObjectId('4ece37288ad5481a3d0001be')}]}, "$pushAll"=>{"addresses.0.locations"=>[{"name"=>"home", "_id"=>BSON::ObjectId('4ece37288ad5481a3d0001be')}]}}


Fixing the row_size in matmul_lib.py

Fixing the row_size in matmul_lib.py

Hi @cheshire Can you please review this PR? Thank you!

@cheshire,
Thank you for the update. I will try to raise the PR for the changes in openxla repo with the test case.


Error on integration setup

Hi
I tried to setup this integration, but after tunnel creation, I can't continue. I'm stuck on this error:

What am I doing wrong?

Ok, enabling the switch made it work, but is it normal behavior that the timeout can't be changed?

Seems you need to pass a float instead of an int. It worked when I put in 0.7.
Another gotcha, the switch doesn't show up under the integration. Just search globally for it.


sign up working

Need an additional test, though. Currently at 92%.

Any specific reason as to why you have removed comments from the code? I had specifically put them there to make it more readable.

LGTM. Can merge once the tests are written.

Merging so that I have the template to work on for pubnub.

@juanshishido : You have become a pro :)

@binnie869: Just got a chance to look at this. Sorry for the delay.
I think readability is absolutely important (see here and here). As has been attributed to Guido, "code is read much more often than it is written."
The following example from Preeyanon, Pyrkosz, and Brown (2014, link) describes (and greatly influenced) my thoughts of this.
x += 1# add 1 to x

It's clear to see that we're adding 1 to x, but "the comment does not provide any information about the purpose of the statement or describe x."
We could, instead, choose to use the following comment.
x += 1 # increase the count of DNA sequences read in

We can do better, though.
sequence_count += 1 # increase the number of DNA sequences read by one

Now, because of the descriptive variable name, we don't even need the comment.

This is a simple example of how code readability can be improved by choosing appropriate variable names and commenting code sparingly.

Where I removed comments—and I did not look at all cases—I thought the code was quite self-explanatory and that the comments were actually redundant.


Starter example missing log file

Describe the bug

Just a minor bug, seems that the starter example references a log file which isn't included in the repo. Probably an easy fix.
Code:

I tried both manim-render example_scenes.py OpeningManimExample
and manimgl example_scenes.py OpeningManimExample, the first two commands the README says to test out
Wrong display or Error traceback:

Here's the full error:
[17:23:40] ERROR    LaTeX Error!  Not a worry, it happens to the best of us.                                                                                tex_file_writing.py:114
Traceback (most recent call last):
  File "/Users/elliottower/anaconda3/envs/umshini/bin/manim-render", line 8, in <module>
    sys.exit(main())
  File "/Users/elliottower/Documents/GitHub/manim/manimlib/__main__.py", line 25, in main
    scene.run()
  File "/Users/elliottower/Documents/GitHub/manim/manimlib/scene/scene.py", line 160, in run
    self.construct()
  File "example_scenes.py", line 29, in construct
    IntegerMatrix(matrix, include_background_rectangle=True),
  File "/Users/elliottower/Documents/GitHub/manim/manimlib/mobject/matrix.py", line 204, in __init__
    super().__init__(matrix, element_alignment_corner=element_alignment_corner, **kwargs)
  File "/Users/elliottower/Documents/GitHub/manim/manimlib/mobject/matrix.py", line 99, in __init__
    self.add_brackets(bracket_v_buff, bracket_h_buff)
  File "/Users/elliottower/Documents/GitHub/manim/manimlib/mobject/matrix.py", line 144, in add_brackets
    brackets = Tex("".join((
  File "/Users/elliottower/Documents/GitHub/manim/manimlib/mobject/svg/tex_mobject.py", line 57, in __init__
    super().__init__(
  File "/Users/elliottower/Documents/GitHub/manim/manimlib/mobject/svg/string_mobject.py", line 68, in __init__
    super().__init__(
  File "/Users/elliottower/Documents/GitHub/manim/manimlib/mobject/svg/svg_mobject.py", line 76, in __init__
    self.init_svg_mobject()
  File "/Users/elliottower/Documents/GitHub/manim/manimlib/mobject/svg/svg_mobject.py", line 105, in init_svg_mobject
    submobs = self.mobjects_from_file(self.get_file_path())
  File "/Users/elliottower/Documents/GitHub/manim/manimlib/mobject/svg/string_mobject.py", line 78, in get_file_path
    return self.get_file_path_by_content(self.get_content(is_labelled))
  File "/Users/elliottower/Documents/GitHub/manim/manimlib/mobject/svg/tex_mobject.py", line 85, in get_file_path_by_content
    return tex_content_to_svg_file(
  File "/Users/elliottower/Documents/GitHub/manim/manimlib/utils/tex_file_writing.py", line 83, in tex_content_to_svg_file
    create_tex_svg(full_tex, svg_file, compiler)
  File "/Users/elliottower/Documents/GitHub/manim/manimlib/utils/tex_file_writing.py", line 118, in create_tex_svg
    with open(root + ".log", "r", encoding="utf-8") as log_file:
FileNotFoundError: [Errno 2] No such file or directory: '/var/folders/5y/hjb1rykx58xcbwg6r04m76tr0000gn/T/Tex/c3372cf5b2620435.log'

Additional context

Getting the same error on a fresh install on MacOS!

it solved with
sudo apt install texlive-latex-base
in my WSL ubuntu

Getting the same error on Windows 11 after following step by step the installation instructions:
-Installed FFmpeg
-Installed MiKTeX according to provided instructions in the link
-Installed manimgl with pip install -e .
Verified that latex is correctly installed by checking latex -version on the command line.

Getting the same error on Windows 11 after following step by step the installation instructions:
-Installed FFmpeg -Installed MiKTeX according to provided instructions in the link -Installed manimgl with pip install -e .
Verified that latex is correctly installed by checking latex -version on the command line.

I have installed miktex but have not found any latex command yet. why?

What I found worked for me (mac):
https://github.com/3b1b/manim/issues/2133#issuecomment-2414547866
Run sudo tlmgr install standalone
Also these others may help:
sudo tlmgr update --self
sudo tlmgr install amsmath amssymb dvisvgm cm-super
sudo tlmgr install collection-latexrecommended
sudo tlmgr install collection-fontsrecommended
sudo tlmgr install standalone
sudo tlmgr install preview
sudo tlmgr install doublestroke
sudo tlmgr install relsize
sudo tlmgr install fundus-calligra
sudo tlmgr install physics
If tlmgr is not found, run:
echo 'export PATH="/Library/TeX/texbin:$PATH"' >> ~/.zshrc\n
(to add to path)


Refinement of SQLAlchemy v1/2 handling

Run unit tests for SQLAlchemy<2 for matrix.os='Ubuntu'
In order to keep track of backwards compatability and maintain it until it makes sense to drop SQLAlchemy v1.
Remove generic typeargs for SQLAlchemy types
These were just set to Any. Adding ignore[type-arg] has more or less the same effect, without requiring a major version bump.
Require SQLAlchemy >=1.4 rather than 2.0
No 2.0 features were used (except generic typehints, see above). Added SQLAlchemy>2 as a dev dependency.

Codecov Report

Merging #34 (41279ca) into master (fc9650c) will not change coverage.
The diff coverage is 100.00%.

:exclamation: Current head 41279ca differs from pull request most recent head 2cdcb17. Consider uploading reports for the commit 2cdcb17 to get more accurate results

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff            @@
##            master       #34   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           33        33
  Lines         1381      1381
  Branches       151       151
=========================================
  Hits          1381      1381

Impacted Files
Coverage Δ

src/id_translation/fetching/_sql_fetcher.py
100.00% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


increase allowed CI time for the UBSAN build;

looks like 90 minutes isn't enough

doing a self-merge on this since it's very minor and is not a code change


google-cloud-logging LogEntry is missing a "spanId" field.

I'm writing a LoggingEnhancer for OpenCensus (https://github.com/census-instrumentation/opencensus-java/pull/1212).  I noticed that the Stackdriver LogEntry has a "spanId" field in https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry, but the google-cloud-logging LogEntry class does not (LogEntry.java).  Should both LogEntry data structures have a "spanId"?  If so, I can make a pull request to add the field.
/cc @g-easy

That sounds quite reasonable to me. Please feel free to send over pull requests.
(I don't know a lot about logging so @garrettjonesgoogle @pongad please share your inputs if you see a problem here)

Thanks!  I made a PR: #3332


cypress/included:10.3.1 only electron is available for m1 mac but not windows 10 machine

Working in Windows 10

Not working on macbook air device.
I'm not having this is issue on mac when cypress is installed natively only when using the docker image. electron tests pass but chrome cannot be found by default.
I am able to reproduce it using this repo

I believe this PR explains better what you are experiencing.

Currently, the browsers and included image series do not ship with any browsers except --browser electron. The blocker is the lack of official support from browser vendors.

This is a duplicate of #695 - blocked by the lack of available linux/arm64 browsers.


Can i tweak the api to show legal moves for one piece only ?

I want to create a small application to teach kids how each piece moves, for that
I want to use your api to show legal moves for 1 piece on the board. Like for example. I want to place only one rook or two rooks on the board and then when they click on the rook it will show them the possible squares where they can move. I know this sounds a little odd but it will be of great help if you can tell if I can do it with the current api.

You can always use moves({square: 'e2'}) if you are using legal positions (e.g. both sides have a king).  You might be able to generate moves for invalid positions by trying something like:
// this is all untested
> chess.put({type: chess.ROOK, color: chess.WHITE }, 'a1');
> chess.moves({legal: false, square 'a1'})

Turning off legality checking disables check checking, so if you have a position with say a knight pinned to a king, you will get invalid moves.


Add job name and worker id to traceId of AppendRowsRequest.

Add new functions to retrieve job name and work id from GCE metadata
Concatenate job name, job id and worker id with ":".

Please add a meaningful description for your change here

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.

Run Java PreCommit

GHA tests are not running on this PR and its breaking spotless PreCommit


Add lint and apply rules to the project

Add eslint to the project
Apply general lint rules to some files
Remove unnecessary comments from some files
Remove unnecessary log instructions
Remove unused methods
Remove unused variables
Remove unused modules
Rename some variables to use camelCase pattern

Mais uma coisa: o fluxo é
feature/fix -> develop -> master


Add Bio-accoustics support

Please kindly add support for using pytorch wildlife platform for bio-acoustics to analyses audio recordings of insects, birds and animals including sounds that are inaudible to human ears.
Having a single code base to analysis both optical camera trap images and also spectrograms would help us gain more traction and drive adoption from contributors working multiple disciples.
Use case
Citibats cambodia project volunteers are gathering large database of bat recordings on iNaturatlist platform. The Pytorch wildlife platform codebase is used to analysis of large amount of bat calls and try to aid researchers in identifying bat diversity is largely understudied and fast disappearing ecosystems.

Hello @arky, thank you very much for bringing this up! We do want to add bioacoustics support to Pytorch-Wildlife but currently do not have a clear timeline on this addition. If you or other people would like to contribute to this new feature, it would also be greatly appreciated! Thank you again!

Adding additional information from https://github.com/microsoft/CameraTraps/issues/442 for future references.

Thank you @zhmiao I have filed this issue to highlight the need for such support in this project and with the hope that one of the community member would take up the task.


Champ rod level req fix

Fixed typo where it says the required fishing level to use Rod Of Champions is 3 when it is 15

Uhm you changed the nbt but not the lore

fixed it thought i changed

Looks good


Why only Docker ?

I think there should be an alternative way to setup the server other than docker.
I see no articles that I could find that would allow me to get started with the server where I had the data on my own local server.
I think that would be a good addition we can host it locally lets say on a raspberry pi or something

Thank you for your idea!
Yes, we can install CouchDB on any server directly.
However, it can be quite diverse. Actually, the official documentation of CouchDB Installation is so long.
Although, might be helpful to know that we have several ways.
What do you think about adding some notes introducing the official documentation?

You are correct infact the docker is the only way to make couchdb work on ARM64 devices. I tried to compile their source-code but gave up. Its old piece of tool and few libraries have gone missing.
So basically its couchdb issue and not obsidian-livesync. My apologies !

However I have two questions

When I run the server I don't know why but the database gets deleted on the server. Only when I connect my device it gets created. Is this normal ?

I don't know what would go into the database address ?


negate the return value of straight--checkhash

according to the docs this functions should return non-NIL if the key is found
in the hash. the actual code is returning non-NIL if the key is absent from the
hash table.
this also fixes rebuilding modified packages since straight--checkhash was used
straight--package-might-be-modified-p

just noticed that the tests failed. i'll fix them and push once i get a chance

Thanks!

Oops, I didn't notice this was based against master. Development actually takes place on develop. Since this has happened quite a few times, I am obviously not communicating that fact very clearly. I've made a note at the top of the README about it.

You can change the default branch of the repo to be develop' instead of master. That could help with catching those kinds of mistakes since new PRs will be created with develop' as the base branch.

That's true, but it would rather defeat the purpose of having master as a more stable default that people see first (and I'd rather not have people notice a cool feature in the README, then install straight.el and find that the feature doesn't exist since installation uses master by default).


Improve Networks

Various small fixes on the processing graph visualization:

The interaction with the graph is by default disabled. A button has been added to enable/disable the interaction. (clicking on the nodes still works - it only applies to zoom and panning)
The button to show/hide the network now has text rather than a '+' or '-' sign
The issue reported by @antongza in which the timer gets crazy has been fixed by making sure that we destroy the objects before creating a new one.
The issue reported by @antgonza  in which it didn't allow to add the first artifact in some situations has been fixed.

Codecov Report

Merging #2415 into dev will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##              dev    #2415   +/-   ##
=======================================
  Coverage   93.79%   93.79%
=======================================
  Files         161      161
  Lines       18983    18983
=======================================
  Hits        17805    17805
  Misses       1178     1178

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 25bd82b...a6e9507. Read the comment docs.

Haven't reviewed the code, first wanted to check how the GUI moved. So far 2 issues that don't allow me to move on:

If I select a prep and try to add a new a file from the "Processing" tab I get:

    Traceback (most recent call last):
      File "/Users/antoniog/.virtualenvs/qiita/lib/python2.7/site-packages/tornado/web.py", line 1141, in _when_complete
        callback()
      File "/Users/antoniog/.virtualenvs/qiita/lib/python2.7/site-packages/tornado/web.py", line 1162, in _execute_method
        self._when_complete(method(*self.path_args, **self.path_kwargs),
      File "/Users/antoniog/.virtualenvs/qiita/lib/python2.7/site-packages/tornado/web.py", line 2297, in wrapper
        return method(self, *args, **kwargs)
      File "/Users/antoniog/svn_programs/qiita/qiita_pet/handlers/study_handlers/base.py", line 100, in get
        res = study_files_get_req(self.current_user.id, study_id, pt_id, atype)
      File "/Users/antoniog/svn_programs/qiita/qiita_pet/handlers/api_proxy/studies.py", line 319, in study_files_get_req
        remaining = [f for _, f in uploaded]
    UnboundLocalError: local variable 'uploaded' referenced before assignment
[E 171206 06:45:49 web:1635] 500 GET /study/files/?study_id=2&artifact_type=BIOM&prep_template_id=3 (::1) 77.50ms

In the analysis network visualization if I reload the page the network gets lost:
 The error:

     Traceback (most recent call last):
      File "/Users/antoniog/.virtualenvs/qiita/lib/python2.7/site-packages/tornado/web.py", line 1141, in _when_complete
        callback()
      File "/Users/antoniog/.virtualenvs/qiita/lib/python2.7/site-packages/tornado/web.py", line 1162, in _execute_method
        self._when_complete(method(*self.path_args, **self.path_kwargs),
      File "/Users/antoniog/.virtualenvs/qiita/lib/python2.7/site-packages/tornado/web.py", line 2297, in wrapper
        return method(self, *args, **kwargs)
      File "/Users/antoniog/svn_programs/qiita/qiita_core/util.py", line 121, in wrapper
        return func(*args, **kwargs)
      File "/Users/antoniog/svn_programs/qiita/qiita_pet/handlers/analysis_handlers/base_handlers.py", line 148, in get
        analysis_id, self.current_user)
      File "/Users/antoniog/svn_programs/qiita/qiita_pet/handlers/analysis_handlers/base_handlers.py", line 137, in analyisis_graph_handler_get_request
        g, full_access, nodes=nodes, edges=edges)
      File "/Users/antoniog/svn_programs/qiita/qiita_pet/util.py", line 195, in get_network_nodes_edges
        workflow_id = n[1].processing_job_workflow.id
      File "/Users/antoniog/svn_programs/qiita/qiita_db/processing_job.py", line 1038, in processing_job_workflow
        res = qdb.sql_connection.TRN.execute_fetchindex()
      File "/Users/antoniog/svn_programs/qiita/qiita_db/sql_connection.py", line 510, in wrapper
        return func(self, *args, **kwargs)
      File "/Users/antoniog/svn_programs/qiita/qiita_db/sql_connection.py", line 811, in execute_fetchindex
        return self.execute()[idx]
      File "/Users/antoniog/svn_programs/qiita/qiita_db/sql_connection.py", line 510, in wrapper
        return func(self, *args, **kwargs)
      File "/Users/antoniog/svn_programs/qiita/qiita_db/sql_connection.py", line 762, in execute
        return self._execute()
      File "/Users/antoniog/svn_programs/qiita/qiita_db/sql_connection.py", line 709, in _execute
        self._raise_execution_error(sql, sql_args, e)
      File "/Users/antoniog/svn_programs/qiita/qiita_db/sql_connection.py", line 652, in _raise_execution_error
        "Error running SQL: %s. MSG: %s\n" % (ec_lu, error.message))
    ValueError: Error running SQL: UNDEFINED_FUNCTION. MSG: function qiita.get_processing_workflow_roots(unknown) does not exist
    LINE 2:                      FROM qiita.get_processing_workflow_root...
                                      ^
    HINT:  No function matches the given name and argument types. You might need to add explicit type casts.

Not sure about the first error - but for the second: it looks like you don't have the latest version of the DB on your system. That function was defined in the previous PR.

Thanks the second one is fixed by patching the db but the first one still exists. Now, we have this error: see how with the auto-reload everything seems fine but if you reload the page the artifacts get lots:

Thanks @antgonza - the 2 issues are now solved - mind taking a look at the code?


Fix np.clip broadcasting across a_min and a_max

Currently, np.clip errors when passing a_min/a_max shapes that don't exactly match the input.
import numpy as onp
import jax.numpy as np
onp.clip(onp.ones((10, 1)), onp.ones(1), onp.ones(1))  # Correctly broadcasts
np.clip(np.ones((10, 1)), np.ones(1), np.ones(1)) # Throws type error

This PR modifies clip to use minimum/maximum, which do broadcast correctly, instead of lax.min and lax.max.

This looks great: my only suggestion would be: could you extend the test in lax_numpy_test.py?

Done!


Remove RecentLogsHandler

Description
All users are now using a version of the cf CLI that supports retrieving logs from Log Cache directly, so the recentLogsHandler in trafficcontroller is no longer needed.
Type of change

[X] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Testing performed?

[X] Unit tests
[X] Integration tests
[ ] Acceptance tests

Checklist:

[X] This PR is being made against the main branch, or relevant version branch
[ ] I have made corresponding changes to the documentation
[ ] I have added testing for my changes

If you have any questions, or want to get attention for a PR or issue please reach out on the #logging-and-metrics channel in the cloudfoundry slack

If we want to do this, it's still missing removing a few things. Notably, we wouldn't need a log-cache link if we're not using log-cache https://github.com/cloudfoundry/loggregator-release/blob/369cd2f57f068b4d27fa5edb764bfde9c800fd35/jobs/loggregator_trafficcontroller/spec#L35-L37


I got an error

[Enter feedback here]
I  got an error when tried to run some commands in powershel:
this command gives me an error:
$userIdentifier = New-SPClaimTypeMapping -IncomingClaimType "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name" -IncomingClaimTypeDisplayName "name" -LocalClaimType "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/upn"
The message says:
New-SPClaimTypeMapping : The term 'New-SPClaimTypeMapping' is not recognized as the name of a
cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path
was included, verify that the path is correct and try again.
At line:1 char:19

$userIdentifier = New-SPClaimTypeMapping -IncomingClaimType "http://s ...

              ~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : ObjectNotFound: (New-SPClaimTypeMapping:String) [], CommandNotFound
Exception
FullyQualifiedErrorId : CommandNotFoundException

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

ID: abc120a6-1b98-874a-1cfb-b43456f4a718
Version Independent ID: 1008851f-9a43-953c-e6c1-269397268c72
Content: Tutorial: Azure Active Directory integration with SharePoint on-premises
Content Source: articles/active-directory/saas-apps/sharepoint-on-premises-tutorial.md
Service: active-directory
Sub-service: saas-app-tutorial
GitHub Login: @jeevansd
Microsoft Alias: jeedes

@ilyas2020n
Thanks for your feedback! I've assigned this issue to the author who will investigate and update as appropriate.

Additional info:
I was able to run all commands from that instruction when I downloaded Sharepoint Management Shell, but getting an error when running it from Windows Powersehll

we are working on the issue, will reflects the suggested changes into the main article soon.
#please-close


drivers: pwm: Add power management to pwm_nrfx

Change adds power management to pwm_nrfx driver.

Codecov Report

Merging #10523 into master will increase coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master   #10523      +/-   ##
==========================================
+ Coverage   53.33%   53.34%   +<.01%
==========================================
  Files         210      210
  Lines       25816    25821       +5
  Branches     5682     5684       +2
==========================================
+ Hits        13770    13774       +4
- Misses       9733     9734       +1
  Partials     2313     2313

Impacted Files
Coverage Δ

subsys/logging/log_core.c
76.05% <0%> (-0.87%)
:arrow_down:

boards/posix/native_posix/irq_handler.c
86.9% <0%> (+2.38%)
: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 011b930...92ae4e2. Read the comment docs.

@anangl, could you review ?

I made requested changes

@anangl, I uploaded changes to code.

I made requested changes

@carlescufi, could you merge?

recheck

Triggered a rebuild because of a strange (apparently unrelated) error encountered last time.


NIFI-11874: apply new layout of Process Group configuration into two columns

Summary
NIFI-11874
UI modification for the layout of Process Group configuration. It separates the increasing number of configuration options into two columns. This presents better in the UI and keeps the Apply button easily accessible without the need to scroll (for most display resolutions.)
Includes additional details for several of the Process Group properties to explicitly clarify that the default connections settings apply only to new connections - not existing connections.
Tracking
Please complete the following tracking steps prior to pull request creation.
Issue Tracking

[X] Apache NiFi Jira issue created

Pull Request Tracking

[X] Pull Request title starts with Apache NiFi Jira issue number, such as NIFI-00000
[X] Pull Request commit message starts with Apache NiFi Jira issue number, as such NIFI-00000

Pull Request Formatting

[X] Pull Request based on current revision of the main branch
[X] Pull Request refers to a feature branch with one commit containing changes

Verification
Please indicate the verification steps performed prior to pull request creation.
Build

[X] Build completed using mvn clean install -P contrib-check

[X] JDK 17

Licensing

[ ] New dependencies are compatible with the Apache License 2.0 according to the License Policy
[ ] New dependencies are documented in applicable LICENSE and NOTICE files

Documentation

[ ] Documentation formatting appears as expected in rendered files

Thanks for the PR @markobean! As @exceptionfactory mentioned there are some further additions to this page currently under development. There is absolutely a need to update the layout here to avoid the concerns around scrolling as you've mentioned. It may even make sense to introduce a third column and ensure that appropriate fields are co-located.

Do you know when the additions to this dialog are expected to be added? Is there a Pull Request yet?

@markobean With the changes merged for the Stateless execution pull request, this pull request could be rebased and re-evaluated. However, given the number of changes, it is probably better to consider the overall approach.

Closing this PR. I will refactor given the changes in NIFI-11556 and resubmit a new PR.


Add Autofocus funcionality to SearchText

Added "searchAutoFocus" prop to autofocus search field

Thank you jonacds for your contribution


We are lacking a .pc file for libappimageupdate

We are lacking a .pc file for libappimageupdate, needed for #91

First of all, I highly doubt that a pkg-config file is needed for building an RPM file. But if you want to have one, feel free to provide me a suitable one, and I'll integrate it for you in the CMake configs.

Currently we have to do
gcc -shared -o libgs_plugin_appimage.so gs-plugin-appimage.c -fPIC \
`pkg-config --libs --cflags gnome-software` -I/usr/include/appimage \
-lappimage -DI_KNOW_THE_GNOME_SOFTWARE_API_IS_SUBJECT_TO_CHANGE

A .pc file will allow us to do
gcc -shared -o libgs_plugin_appimage.so gs-plugin-appimage.c -fPIC \
`pkg-config --libs --cflags gnome-software appimage`  -DI_KNOW_THE_GNOME_SOFTWARE_API_IS_SUBJECT_TO_CHANGE

I need to read up on how to make one.

Thanks for the hint. Will use <appimage/appimage.h>.


Changed saveServerIcon() to not use request() on defaultIconUrl

What's this PR do?
Fixes https://github.com/zulip/zulip-electron/issues/533
Any background context you want to provide?
Screenshots?
You have tested this PR on:

[ ] Windows
[x] Linux/Ubuntu
[ ] macOS

Please discard this. I will open up a new PR.


gltf model lost some 'scene' information when compressed by gltfpack

There are two meshes and two scenes the origin gltf model:
meshes:
"meshes": [
    {
      "primitives": [
        {
          "attributes": {
            "POSITION": 1,
            "NORMAL": 2
          },
          "indices": 0,
          "material": 0
        },
        {
          "attributes": {
            "POSITION": 4,
            "NORMAL": 5
          },
          "indices": 3,
          "material": 1
        }
      ]
    },
    {
      "primitives": [
        {
          "attributes": {
            "POSITION": 1,
            "NORMAL": 2
          },
          "indices": 0,
          "material": 2
        },
        {
          "attributes": {
            "POSITION": 4,
            "NORMAL": 5
          },
          "indices": 3,
          "material": 3
        }
      ]
    }
  ]

scenes:
"scenes": [
    {
      "name": "estate_day",
      "nodes": [
        0
      ]
    },
    {
      "name": "estate_night",
      "nodes": [
        1
      ]
    }
  ]

Use gltfpack v0.21 and the following command to compress model
./gltfpack -i origin.gltf -o originMeshopt.gltf -cc
or
./gltfpack -i origin.gltf -o originMeshopt.glb -cc
After then, origin two meshes are merged into one, and the 'estate_night' nodes information is lost
meshes:
"meshes": [{
	"primitives": [{
		"attributes": {
			"POSITION": 0,
			"NORMAL": 1
		},
		"indices": 2,
		"material": 0
	}, {
		"attributes": {
			"POSITION": 3,
			"NORMAL": 4
		},
		"indices": 5,
		"material": 1
	}, {
		"attributes": {
			"POSITION": 6,
			"NORMAL": 7
		},
		"indices": 8,
		"material": 2
	}, {
		"attributes": {
			"POSITION": 9,
			"NORMAL": 10
		},
		"indices": 11,
		"material": 3
	}]
}]

scenes:
"scenes": [{
	"name": "estate_day",
	"nodes": [0]
}, {
	"name": "estate_night"
}]

In the origin model,  the two meshes is reused, only the material is different，thanks.
origin.zip
originMeshopt.zip

with -v option
input: 2 nodes, 2 meshes (4 primitives), 4 materials, 0 skins, 0 animations, 0 images
input: 4 mesh primitives (1344 triangles, 1794 vertices); 4 draw calls (4 instances, 1344 triangles)
output: 4 mesh primitives (1344 triangles, 1726 vertices); 4 draw calls (4 instances, 1344 triangles)
output: 1 nodes, 1 meshes (4 primitives), 4 materials
output: JSON 3014 bytes, buffers 10848 bytes
output: buffers: vertex 9363 bytes, index 1477 bytes, skin 0 bytes, time 0 bytes, keyframe 0 bytes, instance 0 bytes, image 0 bytes

Thanks! This was a bug in mesh processing when multiple scenes are involved. You can work around this for now using -kn flag, as the bug should only manifest when gltfpack flattens the node hierarchy (which is the default), but this should be fixed in the next version as well.

Nice project, very efficiently👍🏻👍🏻


dolt: 1.42.18 -> 1.42.20

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/dolthub/dolt/releases.
meta.description for dolt is: Relational database with version control and CLI a-la Git
meta.homepage for dolt is: https://github.com/dolthub/dolt
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.42.20 with grep in /nix/store/7qp957am4hbyhl2789gj4w91b1n1960h-dolt-1.42.20
found 1.42.20 in filename of file in /nix/store/7qp957am4hbyhl2789gj4w91b1n1960h-dolt-1.42.20

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

dolt

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/7qp957am4hbyhl2789gj4w91b1n1960h-dolt-1.42.20 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A dolt https://github.com/r-ryantm/nixpkgs/archive/ef28df465b0ebe63583af330d662da5485bf49a7.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/ef28df465b0ebe63583af330d662da5485bf49a7#dolt

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/7qp957am4hbyhl2789gj4w91b1n1960h-dolt-1.42.20
ls -la /nix/store/7qp957am4hbyhl2789gj4w91b1n1960h-dolt-1.42.20/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

dolt

Maintainer pings
cc @danbst for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 342519 run on aarch64-darwin 1

1 package built:

dolt


The pride colours do not belong in the logo for this product

No lies here.

Which logo are you referring to?


dont work with webpack

i need to develop with this plugin
im install fastclick from https://npmjs.org/package/fastclick
and connect to webpack
var fastclick = require('fastclick');
module.exports = { entry: { app: 'app.js', vendor: ['fastclick'] } }
and i get err:
> webpack --watch
/.../node_modules/fastclick/lib/fastclick.js:181
    var deviceIsWindowsPhone = navigator.userAgent.indexOf("Windows Phone") >= 0;
                               ^

ReferenceError: navigator is not defined
    at /.../node_modules/fastclick/lib/fastclick.js:181:29
    at Object.<anonymous> (/.../node_modules/fastclick/lib/fastclick.js:841:2)
    at Module._compile (module.js:541:32)
    at Object.Module._extensions..js (module.js:550:10)
    at Module.load (module.js:458:32)
    at tryModuleLoad (module.js:417:12)
    at Function.Module._load (module.js:409:3)
    at Module.require (module.js:468:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/.../webpack.config.js:5:17)

how to resolve it?

Have you find any solution for this?
I have the same issue.

I have the same issue.

I guess navigator should be checked like this typeof navigator !== 'undefined' before using it in fastclick.js.

There's a monkeypatch way to accomplish this that I read over here.
npm install imports-loader

Then in your webpack config:
module.exports = {
  module: {
    loaders: [
      {
        test: /fastclick/,
        loader: 'imports-loader?define=>false&this=>window'
      }
    ]
  }
};

I don't know if it's still relevant, it works for me without a problem with provide plugin:
new webpack.ProvidePlugin({     FastClick : 'fastclick' })

@thomsa can you actually use fastclick in server side rendering using that method? can you point me to a resource that explains a bit more in depth what is it that you are doing?
fast click is breaking my server side rendering :(

I got FastClick working with Angular (2/4) and Webpack3 using the following:
In webpack config - Thanks thomsa!
new webpack.ProvidePlugin({ FastClick : 'fastclick' })
In app.component.ts:
ngAfterViewInit() {
      FastClick.attach(document.body);
}


Support Oh My Zsh

Not familiar with supporting installing as a Oh My Zsh plugin. This plugin supported it before the recent rewrite.
When I get time, I'll look into this more, but in the mean time a pull request would be very welcome!
See #47 #90

v0.2.x branch adds Oh My Zsh support.


get the whole image rendered

Am having problem to get the whole image to render,  when i pick an image it only show the half of it .
eg.
https://flbulgarelli.github.io/headbreaker/#validated
it only show the half, is there way to fully render the image into pieces?

Hi!
Currently there is no way to adjust at the same time the image width and height to the x and y axis - either you have to adjust one of them and ensure the other dimension of the image has the proper size. So basically you need to have images which proper aspect ratios.
However,  you can adjust one of the axis using adjustImagesToPuzzleHeight or adjustImagesToPuzzleWidth methods - or the generic adjustImagesToPuzzle which takes an axis.  Docs are here  and here is an example.
Also, here you may find more sophisticated adjustment scenarios on top of headbreaker. However although adjustment axis are calculated dynamically, they ultimately rely on the aforementioned methods.
PS: there are also adjustImagesToPiece.* counterparts for those methods, but I assume you want images adjusted to the whole puzzle, not to a single piece.
I hope this helps!

Hi!
Currently there is no way to adjust at the same time the image width and height to the x and y axis - either you have to adjust one of them and ensure the other dimension of the image has the proper size. So basically you need to have images which proper aspect ratios.
However,  you can adjust one of the axis using adjustImagesToPuzzleHeight or adjustImagesToPuzzleWidth methods - or the generic adjustImagesToPuzzle which takes an axis.  Docs are here  and here is an example.
Also, here you may find more sophisticated adjustment scenarios on top of headbreaker. However although adjustment axis are calculated dynamically, they ultimately rely on the aforementioned methods.
PS: there are also adjustImagesToPiece.* counterparts for those methods, but I assume you want images adjusted to the whole puzzle, not to a single piece.
I hope this helps!


Have Rally support multiple Elasticsearch versions

From time to time, Elasticsearch adds breaking changes. As Rally depends on Elasticsearch, it breaks too.
There are four broad areas which can change:

The JVM version required to run Elasticsearch
Elasticsearch startup parameters
The config file format and parameters
The Mapping file(s): #69

The two former areas have to be addressed in Rally internally, the two latter ones have to be addressed per benchmark (although we need support for that in Rally).

Closing as all this is implemented (except the ability to specify multiple Java versions).


Is Firebase analytics  now available for Windows?

hello all:
Is Firebase analytics  now available for Windows?

Not according to the readme:
https://github.com/firebase/firebase-cpp-sdk/blob/main/release_build_files/readme.md#desktop-workflow-implementations


Rewrite DSL

Created a DSL for rewrite:
aged_sir_rewritten = @rewrite aged_sir begin

    :redefs
    v_meanInfectiousContactsPerSv_cINC := cc_C * v_prevalencev_INC_post
    v_meanInfectiousContactsPerSv_cINA := cc_A * v_prevalencev_INA_post

    :parameters
    + fcc
    + fca
    + fac
    + faa

    :dynamic_variables

    + v_CCContacts = fcc * v_prevalencev_INC
    + v_CAContacts = fca * v_prevalencev_INA

    + v_ACContacts = fac * v_prevalencev_INC
    + v_AAContacts = faa * v_prevalencev_INA

    + v_prevalencev_INC_post = v_CCContacts + v_CAContacts
    + v_prevalencev_INA_post = v_ACContacts + v_AAContacts

end

Requires further tests to fix edge case bugs, but currently works with all our examples.  Creates L, I and R, defines the two homs and applies the rule.

Updated rewrite syntax

Use = instead of := in redefs
When deleting, use the :removes header, and don't prepend a -
When adding, use the header for the type you're adding (eg :stocks, :flows) and don't prepend a +
:swaps is now called :dyvar_swaps

The above example in the new syntax would be
aged_sir_rewritten = @rewrite aged_sir begin

    :redefs
    v_meanInfectiousContactsPerSv_cINC = cc_C * v_prevalencev_INC_post
    v_meanInfectiousContactsPerSv_cINA = cc_A * v_prevalencev_INA_post

    :parameters
    fcc
    fca
    fac
    faa

    :dynamic_variables

    v_CCContacts = fcc * v_prevalencev_INC
    v_CAContacts = fca * v_prevalencev_INA

    v_ACContacts = fac * v_prevalencev_INC
    v_AAContacts = faa * v_prevalencev_INA

    v_prevalencev_INC_post = v_CCContacts + v_CAContacts
    v_prevalencev_INA_post = v_ACContacts + v_AAContacts

end


instructions and commands for wordpress https

Hi bro i need perfect commands for install ssl to wordpress multisite instance
Stay alert

vhost.sh SSL choice 'y'

But in WordPress is not working
El 4 abr. 2017 5:13, "lj2007331"<EMAIL_ADDRESS>escribió:

vhost.sh SSL choice 'y'
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/lj2007331/oneinstack/issues/71#issuecomment-291456420,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAaLFGS_vZKkc7Qa2pQWpRgoXSA6WZsBks5rshfcgaJpZM4Mxsss
.

bro is not working in wordpress using Wildcard SSL provided by godaddy

eplacing the self-signed certificate.
service nginx reload


[Vendor] upgrade google/go-github to v32.1.0

as title
important since GH deprecated lot of stuff and added/moved things

I think this is worth backporting to let the migration tool work on v1.12 properly in the future :)

🚀

make lg-tm work

Backport: #12390


[Feature] Upload isos via terraform

I would like to be able to upload iso via terraform.
I was thinking something like this:
data "xenorchestra_sr" "local_storage" {
  name_label = "Your storage repository label"
}

resource "xenorchestra_iso" "from-file" {
	name_label = "Name-of-the-iso-in-xcp"
	file = "./file.iso"
	sr_id = data.xenorchestra_sr.local_storage.id
}

resource "xenorchestra_iso" "from-url" {
	name_label = "Name-of-the-iso-in-xcp"
	url = "https://host/file.iso"
	checksum = "sha256:abcd..."
	sr_id = data.xenorchestra_sr.local_storage.id
}

I dont currently have time to build this myself, but may look into it in a few months time.

@4censord thanks for the feature request. Creating isos already seems to be supported by the XOA api used by the terraform provider, so this shouldn't be too difficult to implement. I'll look into this in the coming weeks.

It seems to now be properly supported by xoa, https://github.com/vatesfr/xen-orchestra/issues/6182#issuecomment-1235257176.
I would also like to extend that to importing vm images from remote locations, like upstream cloudinit images, and creating VMS with those

My earlier comment was about the sr.createIso rpc call. That appears to be around creating a iso storage repository, so the REST api method you linked to seems like what we need.

I'm not planning to support fetching files from remote locations in the initial support. Terraform doesn't support having scratch filesystem space for providers (https://github.com/hashicorp/terraform/issues/21308) and while the go-getter client would provide the downloading functionality, I want to avoid solving problems that can be addressed another way.
The terraform http provider has a PR for downloading binary files (https://github.com/hashicorp/terraform-provider-http/pull/158). I'd prefer to wait until that is merged and then provide examples on how to leverage the official providers to accomplish the remote location.
If that doesn't get merged, then I'm open to reconsidering implementing this in the XO provider, but for now I think combining official providers to support remote files is the best option (once available).

Once this is released it's possible some users may run into https://github.com/vatesfr/xen-orchestra/issues/6590. The XO team will be providing updates on that issue.

Does the terraform HTTP provider keep its result in memory?
This might be fine for small ISO's like alpine, but bigger ones like current windows isos (>5GiB) might be a problem.

This was automatically closed by merging that PR, but supporting remote file locations is still outstanding.

Does the terraform HTTP provider keep its result in memory?
This might be fine for small ISO's like alpine, but bigger ones like current windows isos (>5GiB) might be a problem.

It seems like that is the case (source). I still would like to see where that PR goes. If it is merged, doing the streaming inside the provider would be essentially the same work as doing it in the http provider (using the go-getter client, which is maintained by hashicorp as is the http provider). The latter would be a better investment since it would help a larger number of users while helping out the XO use case.

I followed up with my PR regarding the http provider today (https://github.com/hashicorp/terraform-provider-http/pull/214#issuecomment-1396327246).

The Terraform team got back to me and while they were evaluating this functionality prior, they are not looking to make this change now. They are concerned about the stability of the provider given it has a large user base.
I'm evaluating maintaining whether to maintain a fork of the http provider and publish it to the terraform registry or to build this functionality into the xenorchestra provider. I have a slight preference for the former, since the Terraform team will eventually revisit this and in the meantime those that need this functionality can use the fork.


feat: implement substrate price estimation

Summary by OpenAI
New Feature

Added support for estimating gas fees and maximum rewards in a Substrate-based blockchain.
Introduced new functions and types related to Substrate estimation.
Refactored existing functions to accommodate the changes.

🎉 With Substrate now in sight,
Our SDK takes flight.
Estimating gas, rewards at max,
On blockchain tracks, there's no turning back! 🚀

This should be integrated with CLI, which now for estimate returns error ✖ TypeError: Cannot destructure property 'tx' of 'undefined' as it is undefined.
Also functional test should be in README as it requires node-standalone to run.

I'll raise a new PR for the issue once I have this PR merged.


Update Set-ThrottlingPolicy.md

Added a line on the OWAMaxConcurrency bit

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

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/Set-ThrottlingPolicy.md
:white_check_mark:Succeeded
View (exchange-ps)

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

Docs Build status updates of commit 029a1d8:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/Set-ThrottlingPolicy.md
:white_check_mark:Succeeded
View (exchange-ps)

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


Various fixes, cleanup and refactoring

Fixes: https://github.com/KonduitAI/konduit-serving/issues/220
Fixes: https://github.com/KonduitAI/konduit-serving/issues/240
Fixes 1-4 of: https://github.com/KonduitAI/konduit-serving/issues/235
Partial fix for: https://github.com/KonduitAI/konduit-serving/issues/229
Note that from now on, anything that should be convertable to JSON/YAML in Java should implement the TextConfig interface. This is for a couple of reasons:
(a) It allows coverage tracking - i.e., if we add a new config class, and it doesn't have tests (for JSON/YAML conversion), we'll automatically know
(b) Adds default toYaml and toJson methods
Also introduces DL4JConfig and KerasConfig instead of having these use the (now abstract) ModelConfig class.
I haven't (yet) modified anything on the Python side, so there may be some more changes required.

@AlexDBlack so hopefully you won't have to modify anything on the python side (for configurations) as it's generated by the CodeGen for python. https://github.com/KonduitAI/konduit-serving/blob/master/konduit-serving-codegen/src/main/java/ai/konduit/serving/codegen/pythoncodegen/CodeGen.java

Maybe a custom annotation is better to add those fromJson and fromYaml methods. But I'm not sure if it's going to be picked up by the IDE.
Also, maybe the test can be parametrized cuz it's easier to see individual results. Haven't gone through it in detail but something to consider

Maybe a custom annotation is better to add those fromJson and fromYaml methods. But I'm not sure if it's going to be picked up by the IDE.

That's a good idea and I looked into that, but it seems like we can't generate static methods with annotations.
Well, we can, but it looks like we'd need a Maven (and hence IDE) plugin to do so (that's how things like Lombok @Builder annotation generating a static builder() method get around this.
As for parameterized tests, no, I think I'll keep it the way it is.
IMO it wouldn't add anything here, other than making the tests a little more complex.


nfs3: add test for nfs3 readdirplus records

Required for nfs3_records unittests at Suricata #6774 (500d658)

Followed by #674


use next-themes for handling theme

Description
Background #707, This works nicely and also fixes the flickering issue.
next-themes seems like an popular library and used by ShadCn and NextUI
This also fixes #709
Test App : https://usehooks-ts-test.vercel.app/
the only downside is currently it does not hot react to theme changes of system preference (at the OS level). Although can be easily handled if we give the user an extra  choice "System" instead of only 2 :

PS: It defaults to user's OS theme when user very first time visit the website, after that if he switches the theme manually then it doesn't react to OS changes

I had a super small issue in your deployed example, where the day/night radio button was moving a few pixels above the initial render when doing F5.

Ohh yeah, actually saw it was not happening on localhost more importantly on chains.hardhat because we have Faucet button and BlockExplorer buttons present always there, when I deployed to vercel I switched to sepolia because of which the ETH price button was popping up a bit late which was causing SwitchTheme  to change its height
https://github.com/scaffold-eth/scaffold-eth-2/assets/80153681/4fb5f366-6132-4fd2-b4d1-1ec9c88549ac
But fixed at https://github.com/scaffold-eth/scaffold-eth-2/pull/712/commits/677cd37e04e22f06d98dd7fc7904e360f7df0a69 by giving it some definite height so that it doesn't change
Thanks Pablo 🙌

Ohh yeah, actually saw it was not happening on localhost more importantly on chains.hardhat because we have Faucet button and BlockExplorer buttons present always there, when I deployed to vercel I switched to sepolia because of which the ETH price button was popping up a bit late which was causing SwitchTheme to change its height

Nice catch and fix!

completely agree with you here https://github.com/scaffold-eth/scaffold-eth-2/pull/707#issuecomment-1936046060

At the beginning, I thought it's not worth using the whole library just to handle the theme but digging a bit deep in the NextJS context I think its worth using due to all the caveats present, and handling them ourselves properly might be a pain.

tested it and works great for me
great job as always!


Test coverage also for flutter drive

Use case

the test piramid include the UI test
some feature are tested oly with UI test
but the code coverage can only tested with "flutter test --coverage" and thi option are not present with "flutter drive"

Proposal

add the param "--coverage" and the possibility to go into append to the test coverage in order to get the correct coverage.

hI @nicolalandro
Please check this comment
Closing as duplicate of https://github.com/flutter/flutter/issues/7474


[Bug] Error syncing new dbt quickbooks transformation

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the issue
When syncing a new transformation from scratch i got error with date transformation when date is None:

Relevant error log or model output
No response
Expected behavior
Even if the date is null it should properly default to some date and cast to a valid type
dbt Project configurations
Name your project! Project names should contain only lowercase characters
and underscores. A good package name should reflect your organization's
name or the intended use of these models
name: "noxu_dbt"
version: "1.0.0"
config-version: 2
This setting configures which "profile" dbt uses for this project.
profile: "noxu_dbt"
These configurations specify where dbt should look for different types of files.
The model-paths config, for example, states that models in this project can be
found in the "models/" directory. You probably won't need to change these!
model-paths: ["models"]
analysis-paths: ["analyses"]
test-paths: ["tests"]
seed-paths: ["seeds"]
macro-paths: ["macros"]
snapshot-paths: ["snapshots"]
clean-targets: # directories to be removed by dbt clean

"target"
"dbt_packages"

Configuring models
Full documentation: https://docs.getdbt.com/docs/configuring-models
Package versions
packages:

package: fivetran/quickbooks
version: [">=0.12.0", "<0.13.0"]

What database are you using dbt with?
postgres
dbt Version
1.6.6
jobs:
Give each job a unique name. The name will be displayed in the Fivetran dashboard once your jobs are imported.
Job names must be unique.

name: daily
targetName: dev # The name of the target that will be used when running the job. If it's not specified, the target will be named 'prod'.
schedule: 0 12 * * * # Define when this job should run, using cron format. This example will run every day at 12:00pm (according to your warehouse timezone). For help with cron formatting, visit https://crontab.guru/.
Optional timeout that limits the maximum run time of the job. You can specify only hours, only minutes or both, for example "6h", "2h30m", "30m"
The value can be in range from 30 minutes to 24 hours.
If timeout is not specified, the job will be terminated after 24 hours.
timeout: 2h30m
steps:

name: run models # Give each step in your job a name. This will enable you to track the steps in the logs.
command: dbt run # Enter the dbt command that should run in this step. This example will run all your models. For a list of available commands visit https://docs.getdbt.com/reference/model-selection-syntax/.
name: test models
command: dbt test # This example will run all your tests.

Additional Context
No response
Are you willing to open a PR to help address this issue?

[X] Yes.
[ ] Yes, but I will need assistance and will schedule time during our office hours for guidance
[ ] No.

Hi @yrobla thank you for opening this issue and proactively working on a PR to address the issue you are seeing.
One quick question I have is do you know why the date field in the materialized General Ledger model would be None? My understanding is there should be at least one transaction and a corresponding date to pull from when the models are building. In this scenario, does your General Ledger model not have any records in it?

Hi @yrobla I just wanted to bump the above. Are you still having this issue when leveraging the QuickBooks transformations? I want to make sure if this update is only necessary if there are no underlying transactions. If that is the case I would be less comfortable moving forward with your proposed changes, if that is not the case then I would like to discuss the changes further.
Let me know, thanks!

Hi @yrobla I am going to mark this as stale and wont fix for the time being. If this issue continues to persist, please let us know and we may collaborate to understand the issue and address the problem. Thanks!


Stream parser: distinguish errors

The error types don't really expose any internal details about the error that occurred. For the serde parser this is quite reasonable since it either deserializes or it doesn't. There isn't much inbetween and there isn't much programatic recovery to be done.
The stream parser however, the user can decide how to react to certain errors. For example, a non-unicode string might be found. The user could decide to continue parsing after this point. This means being able to distinguish these errors would be useful.
Adding a 'kind' method or some sort similar to std::io::Error might help.

Added in 1.2.0

@DuckDuckWhale, as you suggested. :)


Input: Accept an URL to an image

Would be convenient but thinking about it further it feels out of scope.
The functionality would introduce another dependency that might not be needed by the user and introduce additional complexity that other applications already do well. To download an image from the command line one could use wget or curl. To download in a scrip there are multiple libraries to will handle just that.
I would rather keep the project focused on extracting colors from images.


Output could contain convenient way to run/view slow test using a profiler

After a developer discovers a slow test using SpeedTrap, they want to discover why the test is slow, and eventually change the code to run faster. SpeedTrap cannot profile code deeper than the start and stop time of each test. But SpeedTrap might make it easier for a developer to use another tool to discover why their test is slow.
What if the PHPUnit SpeedTrap report contained output that conveniently let the reader run or view a PHP profiler's analysis of the slow test?
For example, as a developer, I run my test suite locally on my development machine with SpeedTrap enabled. The test output shows the test UserLoginTest::testLoginWorkflow() takes 6 seconds to execute. I am curious why this test is so slow! A profiler would allow me to see clock time, wall time, CPU usage, memory usage, etc. of this code's execution path. How could SpeedTrap help me more quickly profile this slow test?
Blackfire.io is likely the most feature-rich PHP profiler available. It can run on a developer's local machine. This is important so the profiling occurs under the same conditions as the slow test run found with SpeedTrap.

Could SpeedTrap detect that Blackfire is available to use?
If yes to above, could the test output display a CLI command to re-execute the slow test wrapped in a Blackfire profiler session?
Could SpeedTrap web link to a previous Blackfire run that executed the slow test? (Is that even useful?)

Please use the comments for any additional ideas, questions or answers to how this feature might work.

Discussion with Blackfire devs began here: https://twitter.com/romainneutron/status/1019198786785173504
Blackfire PHP-SDK: https://blackfire.io/docs/reference-guide/php-sdk#installation
Also has some PHPUnit integration: https://blackfire.io/docs/integrations/phpunit


Document kubelet image credential provider extension concept

Document the kubelet image credential provider extension concept. Fixes #32048

FYI @sftim

Please always squash your PR into a single commit. There are currently 3 commits in it.
/approve

Please always squash your PR into a single commit. There are currently 3 commits in it.

Now there are 4. If you're willing to squash, please do.
If you'd like, as a maintainer I can do that squash for you and push to your fork @mrgiles.

/reopen
Misclicked, sorry.

Sorry @sftim, I'm still struggling with the squashing technique. Is it okay now?
FYI @reylejano


Python test clean-up

Post-Beta I may actually pursue why setUpModule and tearDownModule don't work with the load_tests protocol. If we're lucky maybe it's only a Python 2.x thing?

Python is green.


[video_player] why don't you use XFile for controller creation?

Hi
Package: VideoPlayer
The problem:
I see that VideoPlayerController.file(...) uses File from dart:io package, it's impossible to use controller for Flutter Web.
Any explanation why don't you use cross_file for controller?

Hello @AlexanderShniperson. Since the web does not support accessing the file system, it doesn't support VideoPlayerController.file. It will throw an UnimplementedError. See https://pub.dev/packages/video_player#web
This is intended, and therefore, we don't use cross_file as it has no uses for the Web. I am closing this issue because of this, but if you disagree, please comment your reasoning and I can reopen the issue. Thank you


[CT-2412] [Bug] The current Dockerfile.test is not built

Is this a new bug in dbt-core?

[X] I believe this is a new bug in dbt-core
[X] I have searched the existing issues, and I could not find an existing issue for this bug

Current Behavior
This change #6865 does not work and the modified Dockerfile.test is no longer built.
Expected Behavior
docker-compose run --rm test bash -l build and run successfully
Steps To Reproduce

run docker-compose run --rm test bash -l
docker build exit with error

Relevant log output
add-apt-repository (realy it is gpg) does not work without gpg-agent in first run:
gpg: error running '/usr/bin/gpg-agent': probably not installed
gpg: failed to start agent '/usr/bin/gpg-agent': Configuration error
gpg: can't connect to the agent: Configuration error
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/softwareproperties/shortcuthandler.py", line 423, in add_key

Adding key to /etc/apt/trusted.gpg.d/git-core-ubuntu-ppa.gpg with fingerprint E1DD270288B4E6030699E45FA1715D88E1DF1F24
    subprocess.run(cmd.split(), check=True, input=keys)
  File "/usr/lib/python3.11/subprocess.py", line 571, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['gpg', '-q', '--no-options', '--no-default-keyring', '--batch', '--keyring', '/etc/apt/trusted.gpg.d/git-core-ubuntu-ppa.gpg', '--homedir', '/tmp/tmpip_5ksi6', '--import']' returned non-zero exit status 2.

apt install netcat does not install netcat because Ubuntu 23.04 changes defaults:
Package netcat is a virtual package provided by:
  netcat-traditional 1.10-47
  netcat-openbsd 1.219-1ubuntu1
You should explicitly select one to install.

E: Package 'netcat' has no installation candidate

Installing python from ppa:deadsnakes/ppa does not work because deadsnakes does not support Ubuntu 23.04:
+ add-apt-repository ppa:deadsnakes/ppa
Err:7 https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu lunar Release
  404  Not Found [IP: <IP_ADDRESS> 443]
Reading package lists...
E: The repository 'https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu lunar Release' does not have a Release file.

From https://launchpad.net/~deadsnakes/+archive/ubuntu/ppa:
Supported Ubuntu and Python Versions
====================================

- Ubuntu 18.04 (bionic) Python2.3 - Python 2.6, Python 3.1 - Python 3.5, Python3.7 - Python3.11
- Ubuntu 20.04 (focal) Python3.5 - Python3.7, Python3.9 - Python3.11
- Ubuntu 22.04 (jammy) Python3.7 - Python3.9, Python3.11
- Note: Python2.7 (all), Python 3.6 (bionic), Python 3.8 (focal), Python 3.10 (jammy) are not provided by deadsnakes as upstream ubuntu provides those packages.

I can fix gpg and netcat install, but I dont know what I must do with deadsnakes.
Environment
- OS: Slackware 14.2
- Python: 3.7
- dbt: main 2ddf296a8e010ddbfc23339e554b66f141a7f304

Which database adapter are you using with dbt?
No response
Additional Context
No response

Thanks for reporting this @eshkinkot !
I can confirm that neither of these worked for me either with ubuntu:23.04 in Dockerfile.test:
docker-compose run --rm test tox -e py

# this is equivalent to above
make unit USE_DOCKER=true

Since Ubuntu 23.04 (Lunar Lobster) is still in beta for another week and Ubuntu 22.04.2 LTS (Jammy Jellyfish) is a long-term supported release, I wonder if it makes most sense to solve this by reverting https://github.com/dbt-labs/dbt-core/pull/6865 and keeping 22.04?
I didn't try out 22.04 to see if that works. Interested to hear if using ubuntu:22.04 works for you or not.

Interested to hear if using ubuntu:22.04 works for you or not.

No :-) But it can be fixed:
diff --git a/Dockerfile.test b/Dockerfile.test
index 46effbf3c..fde36d9f4 100644
--- a/Dockerfile.test
+++ b/Dockerfile.test
@@ -3,13 +3,13 @@
 #  See `/docker` for a generic and production-ready docker file
 ##

-FROM ubuntu:23.04
+FROM ubuntu:22.04

 ENV DEBIAN_FRONTEND noninteractive

 RUN apt-get update \
     && apt-get install -y --no-install-recommends \
-    software-properties-common \
+    software-properties-common gpg-agent \
     && add-apt-repository ppa:git-core/ppa -y \
     && apt-get dist-upgrade -y \
     && apt-get install -y --no-install-recommends \
@@ -30,13 +30,9 @@ RUN apt-get update \
     unixodbc-dev \
     && add-apt-repository ppa:deadsnakes/ppa \
     && apt-get install -y \
-    python \
-    python-dev \
-    python3-pip \
-    python3.6 \
-    python3.6-dev \
+    python-is-python3 \
+    python-dev-is-python3 \
     python3-pip \
-    python3.6-venv \
     python3.7 \
     python3.7-dev \
     python3.7-venv \

with this patch it builds correctly and
dbt-core$ docker-compose up -d database
dbt-core$ docker-compose run test bash -l
/usr/app$ tox -e py

works as expected.

Excellent @eshkinkot ! Thanks for opening up that PR 🏅


feat: toggle failed queues only

Added a toggle to filter out non-failing queues.
Why?
When using Bull Board for production monitoring purposes, it's very useful when you want to know about failing jobs (not as a substitute for alerts).
In my case, I'm displaying it on a TV in my company's office and we have 20 different queues currently, which makes it hard to follow if any of them have failures, especially if one of the queues has a lot of successful jobs, so it's easy to miss that there's one failed job out of a thousand successful ones.
Filtering successful ones out should help us focus on the board only when we notice that there are any failing queues.

@tsirilson thank you for this PR,
It looks like a overview page feature, so it probably should be implemented inside it.
In addition, this feature can't be tailor only for your needs, but should be more general, so maybe creating a modal that let's you to choose which statuses should be filtered by, and then the overview page will show queues with those statuses.
Will you be able to update your PR?

@felixmosh Great point. What if instead of a modal, I convert the status names into clickable "buttons" that toggle the status on and off? It will also be less intrusive and won't require creating a modal for this feature only. There can also be a tooltip when hovering a status name that hints what will happen if you click it.
What do you think?

Instead of creating a setting for that. I would create a route to receive a status as a parameter and then only show the queues with that status on that page.
on App.tsx would create:
<Route path="/queue/by-status/:status" render={() => <QueueByStatusPageLazy />} />

It would be a copy of OverviewPage but filtering the queues by the corresponding status.
Also the statuses on Overview page could be turned into links, redirecting to this page.

@felixmosh Great point. What if instead of a modal, I convert the status names into clickable "buttons" that toggle the status on and off? It will also be less intrusive and won't require creating a modal for this feature only. There can also be a tooltip when hovering a status name that hints what will happen if you click it.
What do you think?

Sounds good to me 🙏🏼

@manfe Interesting approach. Direct links is something I would also prefer, the option to link to a specific job is something I find very useful since it was added.
@felixmosh which do you think would benefit users the most? Same page filters or dedicated routes?

It can be both, it is a matter of implementation.
Overview page can a query param with a list of statuses to show, by default shows all.


Home Mini - Unable to use Gas Current Consumption in Energy Dashboard

Recieved the Home Mini today and have the data coming through to Home Assistant :).  When I set the Gas Consumption to sensor.octopus_energy_gas_XXXX_current_consumption I get the attached message that tells me it has an unexpected unit of measurement
Is there something I am doing wrong?

Hello. What version of the integration are you using? There was an older version of the integration which had the wrong settings configured. I currently have my energy dashboard configured using the gas kwh sensor using the latest version

Tell a lie. I've got it displayed on my energy dashboard, but get that warning as well.

Got exactly the same issue and think there’s a mismatch on m3 and kWh as the calculated cost is way out. I suspect it’s read it as kWh then converted it to m3 and then times that by the cost per unit on the assumption it’s m3/p

Current consumption for gas is only delivered in kwh and prices are also delivered in kwh (to my knowledge). I believe the Energy Dashboard just takes the consumption value and multiplies by the current price value.
I'm not sure why the cost would be way out @johncuthbertuk, but that would be a separate issue to the one raised so please raise a new issue with as much information as possible. This helps me keep track of what's been fixed and what hasn't.


Adding buddybuild status badge

Hi Matthew!
We really liked Swift-Radio-Pro and wanted to offer you a free continuous integration system (buddybuild) to make sure that your app always works!
If this sounds like something that may be helpful, setup is really simple and we've already taken most of the steps for you…here are the builds we've completed for Swift-Radio-Pro so far.

To configure your builds and to to make sure we kick off a new build with every commit you make, simply login [here] (https://dashboard.buddybuild.com).
Finally, if you’d like to know the latest build status of your app directly from your repo page, we offer small status badges - like the one seen on the flappyswift repo.
To help add these, we created this pull request by adding a couple of lines to the readme.
If you have any questions or would like to learn more about buddybuild, feel free to email<EMAIL_ADDRESS>directly or use the Intercom button on the website.

Going to pause on this for now... However, we may consider adding BB in the future. Thanks!


Add exercise: Implement Data Structures Stack, Queue

by composing from Linked List
update linked list implementation to support Stack & Queue specs

Codecov Report

Merging #7 into master will decrease coverage by 0.97%.
The diff coverage is 94%.

@@            Coverage Diff             @@
##           master       #7      +/-   ##
==========================================
- Coverage     100%   99.02%   -0.98%
==========================================
  Files          17       18       +1
  Lines         277      307      +30
  Branches       50       53       +3
==========================================
+ Hits          277      304      +27
- Misses          0        3       +3

Impacted Files
Coverage Δ

src/stack-queue.js
100% <100%> (ø)

src/linked-list.js
94.73% <92.85%> (-5.27%)
:arrow_down:

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 d925bd4...588cb90. Read the comment docs.


Add webhook exporter to the Pelorus config files

For the e2e tests that uses webhook we require additional changes to the config files for the todolist-mongo-go app.

what is the related PR to these changes?

tested with ./scripts/run-pelorus-e2e-tests -o mpryc -e webhook,webhook_with_secret from other PR branch, it works