text:
Supports request URL statistics

description
Supports request URL statistics
Using traditional data is difficult to generate statistics for the whole information, cause traditional data is forwarded only if sampled.
For this reason, will create new Handler for forwarding whole request information.
It is  difficult to store all of the url requested, cause some frameworks support functions such as variable path.
For this reason, SpringMVC that can know the MappingHandler of the request is going to be be first supported.

Any update for this feature, will there be any new page or sections(added to an existing page) to show the stat info ?

We are applying OLAP solution(apache pinot) to the pinpoint.
URL statistics are added after OLAP is applied.

@emeroad You may also checkout Apache Druid .

Due to considering to apply OLAP system, the work has been postponed.

authors: emeroad koo-taejin yjqg6666

repo: pinpoint-apm/pinpoint


text:
Consolidate logic for Pin image

Summary
Always show Pin image. That’s the reflection of DB status.

If there is golden - allow unpin (auto update) and pin
If there is no golden  - disabled pin image

if cluster is pinned, no problem
if cluster is unpinned, automatically pin image

Test plan
Test locally and dev1
No golden, disable Pin Image checkbox and auto checked.

There is a golden, reflect db status
Auto update

Pin Image

Save and it works.

I added the auto formating in the later commit so you can see the first commit for the change.

Updated the default for auto update and reverted the auto format commit for reviewing easier.

source: gharchive/pull-request

repo: pinterest/teletraan

license_type: permissive

license_source: bigquery


text:
Please add Windows test runner

Tests fails on my Win10 PC, looks that Windows network stack causes issues while Linux one is fine. Please add Windows test runners to detect them too. If possible add to all modules, or at a minimum to ones which directly interacts with network like this one.
BTW, I am checking why tests fail on Windows, may open another another bug or PR later.

@sirzooro if you wanna take a stab at adding support for them in the workflows, that would be great! We ought to be testing windows, mac, and linux at this point

source: gharchive/issue

authors: edaniels sirzooro

repo: pion/ice

license: mit


text:
pion / chunk-upload.php

return [
/*
* The storage config
/
'storage' => [
/
* Returns the folder name of the chunks. The location is in storage/app/{folder_name}
*/
'chunks' => 'chunks',
'disk' => 's3',
]
how to change disk from local to s3 to upload chunk file to my bucket s3 ?

You can use s3 chunk cloud upload using their SDK - currently not in this package or you can upload it after chunks were merged: https://github.com/pionl/laravel-chunk-upload/wiki/Saving-to-Cloud

repo: pionl/laravel-chunk-upload


text:
release version can not run in windows?

Can not run direct version AMD64. there have not params like USERS.
Maybe config file is better?

Hi @winds2016
Thanks for using Pion! I set my environment vars in powershell by doing
$env:USERS = "user=password"
$env:REALM = "localhost"
$env:UDP_PORT = 3478

We might do a config file eventually, but that would make some people happy (and other annoyed)
By doing environment variables we allow people to use anything (they can write a script that reads a file and then sets them.
I did hit a bug though when using it, are you able to launch on Windows? I am going to investigate this now, using Windows Server 2016 Datacenter on AWS.
PS C:\Users\Administrator\go\src\github.com\pions\turn> go run .\cmd\simple-turn.go
not supported by windows
fatal error: all goroutines are asleep - deadlock!

goroutine 1 [chan receive]:
github.com/pions/turn.Start(0x5600a0, 0x617e80, 0xc04200c4a0, 0xf, 0xd96)
        C:/Users/Administrator/go/src/github.com/pions/turn/turn.go:31 +0xe1
main.main()
        C:/Users/Administrator/go/src/github.com/pions/turn/cmd/simple-turn.go:48 +0x2fa
exit status 2

Hey @winds2016 so the issue is that Golang on Windows is missing, https://go-review.googlesource.com/c/net/+/76394
I will work on getting that merged in!

I have same error in win7 64bit
Waiting for your update,i can not visit the URL:(

@Sean-Der can you try go1.11 (specifically https://github.com/golang/go/commit/d2c7dec183f0da628abf16848e9e92987feebe32) with https://github.com/golang/net/compare/master...fancybits:fancybits to see how it works for your use-case?

@tmm1 Thanks for that!
This is awesome, got exactly what I needed. I did hit another bug (but was able to work around it) if I use :80 instead of udp4 + 0.0.0.0:80 when listening I would have the following error
err: write udp [::]:50147->172.31.22.172:50149: sendmsg: The system detected an invalid pointer address in attempting to use a pointer argument in a call.

@winds2016 Can you try the 1.0.1 release? It works for me on Windows 2016, I turned off the firewall and set the env variables in Powershell like I showed above, and it works!

@Sean-Der
It run success!
But:
1、When i build it myself,it show error: Failed to SetControlMessage ipv4.FlagDst: not suported by windows;
2、When i test with turnutils_uclient,it show error 400(Bad Request: The request was malformed);
simple-turn info:Failed to handle ALLOCATE-REQUEST from :MessageIntegrity mismatch be972cf1e52c24d839534e1999dd45f1a 4c79...
and so WEBRTC

Fantastic! So for those two issues
1.) You will need to build Golang from git. https://github.com/pions/turn/issues/16#issuecomment-388647865 Where the changes I needed
2.) That means bad auth username/password/realm must differ (or that method is broken) I will download that utility you mentioned. I have only tested Chromium so far.

I did hit another bug (but was able to work around it) if I use :80 instead of udp4 + 0.0.0.0:80

Strange, would be good to get to the bottom of this. Is it happening in the ipv6 code? Can you trigger if you use udp4 + :80, or udp6 + 0.0.0.0:80?

@tmm1
I will work on getting a simple reproduce tonight, it should be easy enough. All the inbound/outbound traffic  was ipv4, but I have no idea about the code paths. thanks!

Hey @winds2016
I checked it out, and coturnd client requires reservation-token and even-port, we currently don't support either. What client are you using? What are you testing/asserting with turnutils_uclient?
I am hesitant to add these things before TCP, those things are actively stopping people from using pion-turn but if they block you I can add them in the next day or two!

@Sean-Der
I want to use in WEBRTC.Turnutils_uclient just is used to test TURN server only,I can use other test client.
There is same error info from simple_turn when i use it in WEBRTC,my client is firefox, and firefox say TURN server maybe brocked.
But i'm not sure whether my WEBRTC config is right,so i want to test with simple enough client.
I will check in chrome.

Thank you for this project and immediate processing.There are some bugs always for any software:)
I'm sorry too.I build failed for golang latest version,and can not visit golang.org/wl.Do you know other download url for go install program windows latest version?thanks!

@winds2016
Hey! Mind trying the new release, it works with turnutils_uclient now (and Chrome should still work also)
Auth works, but the actual benchmarking doesn't return useful data. I am going to work with coturnd, don't fully understand what is at fault yet.

Created mailing list thread https://groups.google.com/forum/#!topic/turn-server-project-rfc5766-turn-server/ij-35rPUxRk

@Sean-Der
I test:
Chrome is OK
Firefox and turnutils_uclient fails, simple-turn show: unable to handle ChannelData from ip:port: failed writing to socket: write udp 0.0.0.0:58461->0.0.0.0:3480: sendmsg: The requested address is not valid in its context
Client can't recv data from server

Thanks again for testing!
Are you ok with me opening tickets for FireFox + uclient separately and closing this one, I believe everything works well with Windows now? That way when I close them they are all in one place.
I think they will both be fixed fairly quickly, but when people look around they will only see this ticket (and not see conversation/commits around those topics)
thanks!

Closing since we work with Windows now, created #19 and #20 to track.
If you arrived at this issue from search engine see https://github.com/pions/turn/issues/16#issuecomment-388647865 for what you need to work on Windows

Ok, i think so too

repo: pions/turn

license: MIT

license_source: github-api


text:
[WIP] STUN support

this PR adds support for modern STUN, as specified in RFC 5389. Once merged this will close #18.
I've opened the PR early to get some feedback.

Pull Request Test Coverage Report for Build 154

0 of 35 (0.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.2%) to 7.995%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

examples/stun/main.go
0
16
0.0%

rtcpeerconnection.go
0
19
0.0%

Totals

Change from base Build 139:
-0.2%

Covered Lines:
122

Relevant Lines:
1526

💛  - Coveralls

repo: pions/webrtc


text:
Failed to export links within the answers

In the newer version of ChatGPT web, the affiliated link within the answer looks like this:

Using the latest version of this script, HTML and Markdown will output these links as '【8†source】【10†source】.' without actual link URL, also, unclickable.

Further investigation appreciated!

I call this thing footnote, I'm not sure if it's still appropriate. I added support for it at https://github.com/pionxzh/chatgpt-exporter/issues/173#issuecomment-1764783294. I think the format of it has been changed.
Thanks for the report. I will arrange a time to fix it.

Notes on the new format for links to references

U+E200: EE 88 80
U+E201: EE 88 81
U+E202: EE 88 82
U+E203: EE 88 83
U+E204: EE 88 84

U+E203: Marks the start of a block of text.
U+E204: Marks the end of the block of text.

Citation format:
E200{cite}E202{turn0search3}E201

https://ab.chatgpt.com/v1/rgstr

authors: evianzhow moonmd pionxzh

repo: pionxzh/chatgpt-exporter


text:
Simplify control-plane by merging api and web into a single server component

What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #976
Does this PR introduce a user-facing change?:

Simplify control-plane by merging api and web into a single server component

Thanks for the great job. We just wanted to do it as soon as possible:-)

authors: nakabonne nghialv

repo: pipe-cd/pipe


text:
Rename default pipecd application config file from .pipe.yaml to .application.yaml

What would you like to be added:
Rename the PipeCD default file name for application deployment configuration from .pipe.yaml to .application.yaml
Why is this needed:
Currently, we have pipecd, piped, and pipe as keywords in the PipeCD project. Though we could understand it clearly once we understand the concept of PipeCD, it's still hard for the new users who are not yet familiar with PipeCD.
This issue is to reduce the complexity by removing the word pipe (as used in .pipe.yaml - the default file name for PipeCD application deployment configuration).

we're now at pipecd age 😂
/close

repo: pipe-cd/pipecd


text:
Make PipeCD control plane support plugin-arched piped

What would you like to be added:
This issue tracks the progress for deprecating Platform Provider and Kind toward piped plugin architecture in pipedv1.
The purpose is to manage application kind and platform providers on the PipeCD plugin side in the future.
Considering the impact on users, pay attention to the following points:

In Pipedv1, platform providers, kind remain on the data and do not create logic with them. Use the value you define instead.
minify the migration for users.

Details (under planning)
For Platform Provider
Instead of Platform Provider, we plan to introduce the config for the plugin and define deployTargets.
apiVersion: pipecd.dev/v1beta1
kind: Piped
spec:
...
  plugin:
    - name: k8s_plugin
      port: 8081
      deployTargets:
        - name: dev
          labels:
            env: dev
          config: # depends on plugins
            masterURL: http://cluster-dev
            kubeConfigPath: ./kubeconfig-dev

For Kind
Instead of Kind, we plan to introduce the label to represent the application kind.
apiVersion: pipecd.dev/v1beta1
kind: Application
metadata:
  labels:
    kind: KUBERNETES # <- like this
spec:
  name: myApp

For the builtin plugins, we define 5 labels as string.

KUBERNETES
ECS
LAMBDA
CLOUDRUN
TERRAFORM

For the backward compatibility
We need to support both before and after creating plugin architecture for now.
So, I propose the way to decide the application kind like this.

Define APPLICATION as ApplicationKind
Add new method to decide the actual kind for Application and Deployment.

enum ApplicationKind {
    KUBERNETES = 0;
    TERRAFORM = 1;
    LAMBDA = 3;
    CLOUDRUN = 4;
    ECS = 5;
    APPLICATION = 6; <- new!
}

func (a * Application) GetKind() string {
	// First, check the application is supported by the plugin architecture. It means that the kind is set to "Application".
	// If so, return the kind from the labels.
	if a.Kind == ApplicationKind_Application {
		return a.Labels["kind"]
	}

	// For backward compatibility, return the kind as string
	return a.Kind.String()
}

func (d *Deployment) GetKind() string {
	// First, check the application is supported by the plugin architecture. It means that the kind is set to "Application".
	// If so, return the kind from the labels.
	if d.Kind == ApplicationKind_Application {
		return d.Labels["kind"]
	}

	// For backward compatibility, return the kind as string
	return d.Kind.String()
}

TODO
Firstly, I listed the target features to require some modifications.
We need to further investigation to decide the way to fix.
investigation

[ ] Platform Provider

[x] livestatestore https://github.com/pipe-cd/pipecd/issues/5252#issuecomment-2428411125 <- @ffjlabo
[x] livestatereporter https://github.com/pipe-cd/pipecd/issues/5252#issuecomment-2430816970 <- @ffjlabo
[ ] executor <- maybe this is in another issue
[x] detector https://github.com/pipe-cd/pipecd/issues/5252#issuecomment-2430840642 <- @ffjlabo
[x] plan preview https://github.com/pipe-cd/pipecd/issues/5252#issuecomment-2443486833 <- @ffjlabo
[x] metrics https://github.com/pipe-cd/pipecd/issues/5252#issuecomment-2449246184 <- @ffjlabo
[ ] UI <- @khanhtc1202

[ ] Kind

[ ] executor <- maybe this is in another issue
[x] appconfigreporter https://github.com/pipe-cd/pipecd/issues/5252#issuecomment-2449304856 <- @ffjlabo
[x] event watcher https://github.com/pipe-cd/pipecd/issues/5252#issuecomment-2449393524 <- @ffjlabo
[x] livestatereporter https://github.com/pipe-cd/pipecd/issues/5252#issuecomment-2456527867 <- @ffjlabo
[x] detector https://github.com/pipe-cd/pipecd/issues/5252#issuecomment-2456640194  <- @ffjlabo
[x] notifier https://github.com/pipe-cd/pipecd/issues/5252#issuecomment-2456659711 <- @ffjlabo
[x] plan preview https://github.com/pipe-cd/pipecd/issues/5252#issuecomment-2457063788 <- @ffjlabo
[x] trigger https://github.com/pipe-cd/pipecd/issues/5252#issuecomment-2478088798 <- @ffjlabo
[x] server https://github.com/pipe-cd/pipecd/issues/5252#issuecomment-2485225162 <- @ffjlabo
[ ] insight <- @khanhtc1202
[x] metrics https://github.com/pipe-cd/pipecd/issues/5252#issuecomment-2487191963 <- @ffjlabo
[x] planner https://github.com/pipe-cd/pipecd/issues/5252#issuecomment-2487239454 <- @ffjlabo
[x] scheduler https://github.com/pipe-cd/pipecd/issues/5252#issuecomment-2487256861 <- @ffjlabo
[ ] UI <- @khanhtc1202

implementation
TBD
Why is this needed:

Platform Provider; Livestatereporter
The purpose of the component

Livestatereporter sends the application state to the Control Plane
Currently, There are livestatereporters for each platform provider

Modification idea

piped side

Every minute, piped does below

List apps by plugin name
Get the app livestate from the plugin via gRPC call e.g. GetLivestate(app)
Send them to the Control Plane

plugin side

Get the livestates grouped by deployTarget from livestatestore and return to the piped.

Control Plane side

Receive and store the livestates

Concern

There is a different way to update livestate on Control Plane between k8s and other platforms.

other platform (ecs, cloud run, lambda) ref for cloud run: https://github.com/pipe-cd/pipecd/blob/2f86f7dca297f7f2d402c2040a4a4e14837587ab/pkg/app/piped/livestatereporter/cloudrun/report.go#L85-L86

Just flush livestates to the Control Plane every minute.

k8s: https://github.com/pipe-cd/pipecd/blob/2f86f7dca297f7f2d402c2040a4a4e14837587ab/pkg/app/piped/livestatereporter/kubernetes/reporter.go#L99-L103

Flush livestates to the Control Plane every 10 minutes.
Send the new livestates to the Control Plane every 5 seconds during the 10 minutes

I think this is mainly for the speed to show it on the UI.
It would be nice to add an option like livestateFlushInterval to change them by users.

Platform Provider; Detector
The purpose of the component

Detector check and send application sync state to the Control Plane
Currently, There are detectors for each platform provider

Modification idea

piped side

Every minute, piped does below

List apps by plugin name
Get the application sync states from the plugin via gRPC call e.g. Detect(app)
Send them to the Control Plane

plugin side

Get the liveManifests grouped by deployTarget from livestatestore
Calculate the diff between live ones and git ones.
Make the app sync state referencing the diff and send it to the Control Plane

Concern

There is a different interval to execute the detectors between terraform and other platforms.

other platform: 1 minute
terraform: 10 minutes

This might be to solve performance problem https://github.com/pipe-cd/pipecd/pull/4181

It would be nice to add an option like detectInterval to change them by users.

Platform Provider; Plan Preview
The purpose of the component

Make Plan Preview results ( the diffs, the plan result) for the apps which have some changes

Modification idea

piped side

List commands for Plan Preview from the Control Plane by commandCheckInterval
Every command,  list apps managed by the piped using repoID related to the commands
Every app, extract the apps that have some diffs
Get the PlanPreviewResult from the plugin via gRPC call e.g. BuildPlanPreviewResult(app)
Send all results of the apps to the ControlPlane with a command

plugin side

Get the manifests on the latest commit
Get the manifests on the commit used by the latest Deployment
Make a PlanPreviewResult using the diffs between the above

Concern

It might be good to extract the apps that have some diffs on the plugin side

Platform Provider; Metrics
The metrics deployment_status is affected because it has the label platform_provider.
https://github.com/pipe-cd/pipecd/blob/548a804d344d7c5faa70bcb6bd0889aa2a9269af/pkg/app/piped/controller/controllermetrics/metrics.go#L23C1-L40C2
deployment_status{application_id="xxxxxxxx",application_kind="KUBERNETES",application_name="simple",deployment="xxxxxxx",instance="127.0.0.1:9085",job="pipecd-ops",launcher_version="v0.49.2",pipecd_component="piped",piped="xxxxx",piped_version="v0.49.2",platform_provider="kubernetes",project="test",status="DEPLOYMENT_CANCELLED"}

Modification idea
There are two ideas.

Create new metrics like plugin_deployment_status
Add a new label deployTarget to the deployment_status

Concern
For idea 1.

pros

Completely create it based on the new data model

cons

We should observe both of the metrics (e.g. create two views for both on grafana)
It is hard to check the deployment status from piped < v1 to pipedv1 because they are different metrics.

For idea 2.

pros

We can continue to use it.

cons

We have to modify the query to check both of them like deployment_status{platform_provider="kubernetes"} or deployment_status{deployTarget="kubernetes"}

Platform Provider; appconfigreporter
The purpose of the component

Detect and update the app config when it has some changes.
Send the changed app info to the Control Plane, then the Control Plane updates the app with it.

Modification idea
It has logic for checking the difference between the app info in the current app config and the already registered app.

https://github.com/pipe-cd/pipecd/blob/4a2334a3c96d31c9bcfcbfae02eb6873dd923cdc/pkg/app/piped/appconfigreporter/appconfigreporter.go#L279-L285
Before checking, we should decide on the actual kind using the steps below.

if the kind is Application, use the labels["kind"]
if the kind is old ones such as KubernetesApp, use it

Concern

Nothing for now

Kind; event watcher
The purpose of the component

Event Watcher handles events according to the rule set in the app config.
When it loads the app config, it calls config.LoadAplication(repoPath, configRelPath string, appKind model.ApplicationKind) https://github.com/pipe-cd/pipecd/blob/4a2334a3c96d31c9bcfcbfae02eb6873dd923cdc/pkg/app/piped/planpreview/builder.go#L307

Modification Idea

Modify config.LoadApplication(repoPath, configRelPath string, appKind model.ApplicationKind) to LoadApplication(repoPath, configRelPath string, appKind string)
Before loading the app config, we should decide on the actual kind as a string value because these types are enums.

Convert it to the string
if the kind is Application, use the labels["kind"]
if the kind is old ones such as KubernetesApp, use it

Kind; livestatereporter
The purpose of the component

Livestatereporter sends the application state to the Control Plane

https://github.com/pipe-cd/pipecd/blob/4a2334a3c96d31c9bcfcbfae02eb6873dd923cdc/pkg/app/piped/livestatereporter/cloudrun/report.go#L112

Currently, There are livestatereporters for each platform provider

Modification Idea

Add plugin_kind to the model.ApplicationLiveStateSnapshot
Determine it by the application with the rule below

if the kind is Application, use the labels["kind"]
if the kind is old ones such as KubernetesApp, convert them to type string

message ApplicationLiveStateSnapshot {
    reserved 2;
    ...
    ApplicationKind kind = 5 [(validate.rules).enum.defined_only = true];
    ...
    string plugin_kind = 16;

Kind; detector
The purpose of the component

Detector check and send application sync state to the Control Plane
Currently, There are detectors for each platform provider
It has logic for checking

whether the kind in the config is supported
whether the kind in the config and the one in the actual app are equal
https://github.com/pipe-cd/pipecd/blob/44cfc932b2061f4cfbdbd134c912543919b1119d/pkg/app/piped/driftdetector/cloudrun/detector.go#L300

Modification idea

Before checking it,  we should decide on the actual kind as a string value because these types are enums.

if the kind is Application, use the labels["kind"]
if the kind is old ones such as KubernetesApp, convert them to type string

Kind; notifier
The purpose of the component

Notifier notifies the deployment progress to the slack
piped uses kind to show deployment info on the slack message https://github.com/pipe-cd/pipecd/blob/44cfc932b2061f4cfbdbd134c912543919b1119d/pkg/app/piped/notifier/slack.go#L235

Modification idea

We should decide on the actual kind as a string value because these types are enums.
if the kind is Application, use the labels["kind"]
if the kind is old ones such as KubernetesApp, convert them to type string

Kind; Plan preview
The purpose of the component

Make Plan Preview results ( the diffs, the plan result) for the apps which have some changes
There are three purpose to use kind

Determine the logic to make diff result. This is a platform-specific thing. https://github.com/pipe-cd/pipecd/blob/44cfc932b2061f4cfbdbd134c912543919b1119d/pkg/app/piped/planpreview/builder.go#L245
Determine the planner to make plan result. This is also a platform-specific thing. https://github.com/pipe-cd/pipecd/blob/44cfc932b2061f4cfbdbd134c912543919b1119d/pkg/app/piped/planpreview/builder.go#L332

Kind; trigger

Trigger mainly creates a deployment based on commands.
There are two purposes for using kind

Add Kind to Deployment https://github.com/pipe-cd/pipecd/blob/44cfc932b2061f4cfbdbd134c912543919b1119d/pkg/app/piped/trigger/deployment.go#L80
Load Application config with Kind https://github.com/pipe-cd/pipecd/blob/44cfc932b2061f4cfbdbd134c912543919b1119d/pkg/app/piped/trigger/trigger.go#L225

Modification idea

For 1, No modification for now. But we need to use labels["kind"] in other logic using Deployment.Kind.
For 2, the same modification as event watcher. ref: https://github.com/pipe-cd/pipecd/issues/5252#issuecomment-2449393524

Platform Provider; Metrics
The purpose of the component
The metrics deployment_status is affected because it has the label application_kind.
https://github.com/pipe-cd/pipecd/blob/548a804d344d7c5faa70bcb6bd0889aa2a9269af/pkg/app/piped/controller/controllermetrics/metrics.go#L23C1-L40C2
deployment_status{application_id="xxxxxxxx",application_kind="KUBERNETES",application_name="simple",deployment="xxxxxxx",instance="127.0.0.1:9085",job="pipecd-ops",launcher_version="v0.49.2",pipecd_component="piped",piped="xxxxx",piped_version="v0.49.2",platform_provider="kubernetes",project="test",status="DEPLOYMENT_CANCELLED"}

Modification idea

We should decide on the actual kind as a string value because these types are enums.

if the kind is Application, use the labels["kind"]
if the kind is old ones such as KubernetesApp, convert them to type string

Kind; scheduler
The purpose of the component

Scheduler controls the plan and deployment flow.
Currently piped use the kind in it for four purpose

Show log with it https://github.com/pipe-cd/pipecd/blob/44cfc932b2061f4cfbdbd134c912543919b1119d/pkg/app/piped/controller/scheduler.go#L106
Add it to the trace data https://github.com/pipe-cd/pipecd/blob/44cfc932b2061f4cfbdbd134c912543919b1119d/pkg/app/piped/controller/scheduler.go#L278
Decide which rollback executer should be used https://github.com/pipe-cd/pipecd/blob/44cfc932b2061f4cfbdbd134c912543919b1119d/pkg/app/piped/controller/scheduler.go#L439
Modification idea
Find platform provider using HasPlatformProvider https://github.com/pipe-cd/pipecd/blob/44cfc932b2061f4cfbdbd134c912543919b1119d/pkg/app/piped/controller/scheduler.go#L524

Modification idea

For 1. Add method to get kind with the rule below

if the kind is Application, use the labels["kind"]
if the kind is old ones such as KubernetesApp, convert them to type string

For 2. same as for 1
For 3. We don't need to determine by Kind in plugin architecture. Instead of this, we should determine which plugin is used.
For 4. create HasDeployTargets instead of the HasPlatformprvoders

PlatformProvider; UI
Mostly related to 2 model applications and deployment


text:
Add an action to validate generated code

What this PR does / why we need it:
This ensures that the generated code is fresh.
Which issue(s) this PR fixes:
Fixes #
Does this PR introduce a user-facing change?:

NONE

Here you go 🚀
/approve


text:
Set GetInsightData RPC under a feature flag

What this PR does / why we need it:
To keep new feature can be run only inside the dev environment before exposing to public.
Which issue(s) this PR fixes:
Fixes #
Does this PR introduce a user-facing change?:

NONE

🍠


text:
GRAL-3615 upgrade packages

fixed SOC issues by upgrading package versions

Main branch dependencies

repo: pipedrive/example-apps


text:
Error: Your Gstreamer installation is missing a plug-in

I downloaded GStreamer by following the "Get Started" page of the Pipeless documentation. After installing Pipeless, I uploaded a custom model to create a Pipeless stage server. However, when I proceed with inference using an RTSP input, the loop terminates with the following error:
[2024-08-08T02:01:09Z INFO  warp::server] Server::run; addr=0.0.0.0:3030
[2024-08-08T02:01:09Z INFO  warp::server] listening on http://0.0.0.0:3030
[2024-08-08T02:01:11Z WARN  pipeless_ai::config::adapters::rest] Restart policy not specified for stream, defaulting to 'never'
[2024-08-08T02:01:11Z INFO  pipeless_ai::dispatcher] New stream entry detected, creating pipeline
0:00:05.417153896 4175359 0x756764021330 WARN                GST_RUST element_factory.rs:290:gstreamer::element_factory::ElementBuilder::build::{{closure}}: element factory 'nvvidconv' not found
0:00:05.537205366 4175359 0x7566dc0013a0 FIXME                default gstutils.c:4025:gst_pad_create_stream_id_internal:<fakesrc0:src> Creating random stream-id, consider implementing a deterministic way of creating a stream-id
0:00:05.537757260 4175359 0x7566dc0017c0 FIXME                default gstutils.c:4025:gst_pad_create_stream_id_internal:<fakesrc1:src> Creating random stream-id, consider implementing a deterministic way of creating a stream-id
0:00:05.598270018 4175359 0x7566dc002c60 WARN                 default descriptions.c:1233:gst_pb_utils_get_codec_description: No description available for media type: application/x-rtp
0:00:05.598375972 4175359 0x7566dc002c60 WARN                parsebin gstparsebin.c:3470:gst_parse_bin_expose:<parsebin0> error: no suitable plugins found:
Missing parser: application/x-rtp (application/x-rtp, media=(string)application, payload=(int)107, clock-rate=(int)90000, encoding-name=(string)VND.ONVIF.METADATA, a-recvonly=(string)"", clock-base=(uint)2946597005, seqnum-base=(uint)55083, npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1, onvif-mode=(boolean)false, ssrc=(uint)2591129181)

[2024-08-08T02:01:12Z ERROR pipeless_ai::input::pipeline] Error in input gst pipeline from element parsebin0.
                    Pipeline id: 834d201c-e83f-4832-8e59-d785fb6cccc7. Error: Your GStreamer installation is missing a plug-in.
[2024-08-08T02:01:12Z ERROR pipeless_ai::pipeline] Stopping stream for pipeline: 834d201c-e83f-4832-8e59-d785fb6cccc7 due to input stream error: Your GStreamer installation is missing a plug-in.
[2024-08-08T02:01:12Z INFO  pipeless_ai::dispatcher] Stream config entry removed. Stopping associated pipeline
[2024-08-08T02:01:12Z INFO  pipeless_ai::events] Stream loop stopped
0:00:05.599630871 4175359 0x7566dc000b70 WARN                 rtspsrc gstrtspsrc.c:6526:gst_rtsp_src_receive_response:<rtspsrc0> receive interrupted
0:00:05.599704296 4175359 0x7566dc000b70 WARN                 rtspsrc gstrtspsrc.c:6624:gst_rtspsrc_try_send:<rtspsrc0> receive interrupted
0:00:05.599718783 4175359 0x7566dc000b70 WARN                 rtspsrc gstrtspsrc.c:9037:gst_rtspsrc_pause:<rtspsrc0> PAUSE interrupted

my rtsp stream input example example) rtsp://user:password@domain:port/endpoints
I have tried various methods, but I have not been able to resolve the issue yet. Do you have any solutions for this problem?

Hi @kyuhoJeong11 ,
Gstreamer has a plugin system to support different protocols. Ensure you have the rtsp one installed. You can use the gst-inspect tool for it

repo: pipeless-ai/pipeless


text:
[Error parse mp4] Some video get error when i parse

Picture were cut

Hi,
Could you please give me such video for investigation?
Thank you.
Best regards,
Gennadiy Kozlenko
On Sat, Mar 10, 2018 at 4:15 AM, duyanhstar notifications@github.com
wrote:

Picture were cut
[image: image]
https://user-images.githubusercontent.com/14048444/37236508-07d01b82-243b-11e8-9b68-9ed6196805c6.png
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/pipll/node-video-lib/issues/6, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAyfN26in2NWt91qfQef6flSysG6C25Tks5tcyk5gaJpZM4SlEwh
.

Hi,
I've fixed a bug in the HLSPacketizer module. Could you please check if this error has disappeared or not?
Thank you.

authors: duyanhstar pipll

repo: pipll/node-video-lib


text:
Fix Jacob Moss Twitter link

Fix the incorrect link in Jacob Moss' quote.

Thanks for the fix!
Actually README.md is generated from templates/index.md.  Could you undo the change to README.md, and then make the same change in templates/index.md?

I just realised we are using a weird rendition of the name. Jacob’s last name is Kaplan-Moss. This would probably be as good a chance as any to fix it.

@itsayellow Whopps! I got it mixed up and thought it was the other way around. Will fix.
@uranusjr I'll correct his last name as well—good catch!

Is the CI failure related to #358?

Yeah seems so, I'll merge in those changes into my branch after #358 makes it into master.

OK #358 is merged, can you try to merge master into your branch and hopefully the docs test won't fail anymore.

Fix the incorrect link in Jacob Moss' quote.

I just realized we are using a weird rendition of the name. Jacob’s last name is Kaplan-Moss. This would probably be as good a chance as any to fix it.

I thoroughly screwed up adding that quote :sweat_smile:.

I just merged a change that lets you modify the README directly. It caused conflicts with this branch. If you want to fix, feel free, otherwise I don't mind. Sorry about the churn, I wanted to make this easier for future PRs.

@cs01 Not a problem! Switched the edit (back) to the README.

Cool, thank you

repo: pipxproject/pipx


text:
Crashes can occur in high concurrency scenarios

Hello, I add go-proxyproto as a dependency in the server side of a VPN project. When the number of connections is high, it tends to crash. Here is the error message:
May 11 13:57:35 xxxhostname xxxappname: goroutine 1520070 [runnable]:
May 11 13:57:35 xxxhostname xxxappname: internal/poll.runtime_pollWait(0x7fd92f37bf40, 0x72)
May 11 13:57:35 xxxhostname xxxappname: runtime/netpoll.go:305 +0x89
May 11 13:57:35 xxxhostname xxxappname: internal/poll.(*pollDesc).wait(0xc009a02100?, 0xc0034db000?, 0x0)
May 11 13:57:35 xxxhostname xxxappname: internal/poll/fd_poll_runtime.go:84 +0x32
May 11 13:57:35 xxxhostname xxxappname: internal/poll.(*pollDesc).waitRead(...)
May 11 13:57:35 xxxhostname xxxappname: internal/poll/fd_poll_runtime.go:89
May 11 13:57:35 xxxhostname xxxappname: internal/poll.(*FD).Read(0xc009a02100, {0xc0034db000, 0x1000, 0x1000})
May 11 13:57:35 xxxhostname xxxappname: internal/poll/fd_unix.go:167 +0x25a
May 11 13:57:35 xxxhostname xxxappname: net.(*netFD).Read(0xc009a02100, {0xc0034db000?, 0xc00a66f3a0?, 0x40d75d?})
May 11 13:57:35 xxxhostname xxxappname: net/fd_posix.go:55 +0x29
May 11 13:57:35 xxxhostname xxxappname: net.(*conn).Read(0xc002f11e48, {0xc0034db000?, 0x7fd956a815b8?, 0x1000?})
May 11 13:57:35 xxxhostname xxxappname: net/net.go:183 +0x45
May 11 13:57:35 xxxhostname xxxappname: bufio.(*Reader).Read(0xc004ed8cc0, {0xc0034db000, 0x1000, 0x1000?})
May 11 13:57:35 xxxhostname xxxappname: bufio/bufio.go:223 +0x106
May 11 13:57:35 xxxhostname xxxappname: github.com/pires/go-proxyproto.(*Conn).Read(0xc0001229a0?, {0xc0034db000?, 0xbe14bf?, 0x7ddf8402d9f34adb?})
May 11 13:57:35 xxxhostname xxxappname: github.com/pires/go-proxyproto@v0.6.2/protocol.go:132 +0xa5
...stack trace in xxxappname...

The version I used is github.com/pires/go-proxyproto@v0.6.2. Is this problem solved now? I have upgraded to the new version of dependency, but this problem is difficult to repeat, so it is difficult to test.

This is not enough information to understand why your app crashes but I don't think it's because of go-proxyproto. For instance, in this goroutine, *Conn.Read(...) called poll.runtime_pollWait(...) and seems to be waiting for data to be received. Maybe your app is crashing elsewhere? You need to debug your stacktrace.

Closing due to inactivity.

authors: athenakia pires

repo: pires/go-proxyproto


text:
Add an AWS EC2 Security Group Icon

cdk-dia currently has no icon for a security group.
the following cdk App:
import * as cdk from '@aws-cdk/core';
import * as ec2 from '@aws-cdk/aws-ec2';

export class SoTsStack extends cdk.Stack {
  constructor(scope: cdk.Construct, id: string, props?: cdk.StackProps) {
    super(scope, id, props);

    const vpc = new ec2.Vpc(this, 'vpc')

    const sg = new ec2.SecurityGroup(this,'sg',{
      vpc: vpc
    })

    new ec2.Instance(this,'instance',{
      instanceType: ec2.InstanceType.of(ec2.InstanceClass.T3, ec2.InstanceSize.MEDIUM),
      vpc: vpc,
      machineImage: ec2.MachineImage.latestAmazonLinux(),
      securityGroup: sg
    })
  }
}

yields the following diagram:

Which misses a security group icons.
The icons mapping is at src/diagram/aws/awsResouceIconMatches.json
All current CDK icons are taken from https://aws.amazon.com/architecture/icons/
One has to figure out whether AWS has such an icon or how to come up with an icon that is descriptive and also consistent with current AWS/CDK-Dia icons.

The image seem to be gone from the current set. There was one included when they used to be called "AWS Simple Icons". There is a low quality version preserved at Wikimedia: https://commons.wikimedia.org/wiki/File:AWS_Simple_Icons_Groups_Security_Group.svg
Though the image was not meant to be used as an icon. More like a container, like VPC, AZs and regions.

I wonder if it would be feasible to display these group resources in such a way.

authors: pistazie udondan

repo: pistazie/cdk-dia


text:
Adding content and diagrams for using persistent volumes with PKS on …

…vSphere
WIP to address vSphere PV support with PKS

Thanks @lparis!

authors: lparis mjgutermuth

repo: pivotal-cf/docs-pks


text:
Custom Service support

I've gone through many references on web but couldnt find any reference where I can use Service Brokers e.g.  kind of run cf add-service-broker on pcfdev. Is there a support? Anyplans when this would be on . It'd be of great help.
Update : CF version is cf version 6.22.1+6b7af9c-2016-09-24

Please hold on this issue as I am checking the CF CLI I installed on windows.

Hi @nissshh,
In general, all cf CLI functionality that works with a real PCF installation also works with PCF Dev. This means that you can use cf create-service-broker with broker apps that you push to PCF Dev, brokers that you're running in other VMs, and brokers that you're running directly on your workstation.
However, PCF Dev doesn't support BOSH, so you won't be able to deploy a BOSH release for a service broker to PCF Dev.
Does this make sense?

Closing due to lack of response.

authors: nissshh sclevine

repo: pivotal-cf/pcfdev


text:
No dependencies recognized for go 1.14

license_finder reports no dependencies recognized if go in go.mod is set to 1.14
Sample go.mod
module github.com/foo/foo-service

go 1.14

require github.com/stretchr/testify v1.5.1

Sample go.sum
github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/testify v1.5.1 h1:nOGnQDM7FYENwehXlg/kFVnos3rEvtKTjRvOWSzb6H4=
github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v2 v2.2.2 h1:ZCJp+EgiOT7lHqUV2J862kp8Qj64Jo6az82+3Td9dZw=
gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=

$ license_finder
LicenseFinder::GoModules: is active

No dependencies recognized!

If I used the docker image v6.4.0 in GitLab CI as image to run the job, then I would get the following unknown license type.
/bin/bash -lc license_finder action_items -p
 mesg: ttyname failed: Inappropriate ioctl for device
 LicenseFinder::GoModules: is active
 Dependencies that need approval:
 github.com/stretchr/testify, v1.5.1, unknown

If I update go.mod to go 1.13, then license_finder is able to find the dependencies for approval.
$ license_finder
LicenseFinder::GoModules: is active

Dependencies that need approval:
github.com/davecgh/go-spew, v1.1.0, unknown
github.com/pmezard/go-difflib, v1.0.0, "New BSD"
github.com/stretchr/objx, v0.1.0, MIT
github.com/stretchr/testify, v1.5.1, MIT
gopkg.in/check.v1, v0.0.0-20161208181325-20d25e280405, "Simplified BSD"
gopkg.in/yaml.v2, v2.2.2, "Apache 2.0, MIT"

Hey @faraonc! This is an interesting one. So it looks like the go modules package manager triggers on if a go.sum file exists. That is why when you just create a go.mod file, it says no package managers active.
I'm guessing why your CI reports something is that there is a go.sum file in there. Would you be able to share that as well? Then we will be able to experiment with different versions of go mod to see what is happening.
One note is that the installed version of go on the docker image is 1.13.3. I wonder if some kind of format changed in 1.14. If so, we will need to build in some kind of compatibility parsing.
Let me know if you can get my a more reproducible example with a go.sum :)

Hey @faraonc! This is an interesting one. So it looks like the go modules package manager triggers on if a go.sum file exists. That is why when you just create a go.mod file, it says no package managers active.
I'm guessing why your CI reports something is that there is a go.sum file in there. Would you be able to share that as well? Then we will be able to experiment with different versions of go mod to see what is happening.
One note is that the installed version of go on the docker image is 1.13.3. I wonder if some kind of format changed in 1.14. If so, we will need to build in some kind of compatibility parsing.
Let me know if you can get my a more reproducible example with a go.sum :)

I have updated the the issue above to include the go.sum.
There was a go.sum when it was ran in 1.14 locally (go 1.14.3)
I was thinking it might have something to do with an environment variable when it ran in the CI using Docker. I did not look in detail in the codebase, but I might when I get the chance.

The file to look at for functionality is https://github.com/pivotal/LicenseFinder/blob/master/lib/license_finder/package_managers/go_modules.rb
When running prepare commands, we do run go mod tidy which will clear out the sum file if things are unused. Locally with go version 1.13.3 I managed to reproduce your results with github.com/stretchr/testify, v1.5.1, unknown
I cannot seem to get the full results that you outlined after that but that could just be because of the actual project missing locally. I am not convinced that this is a version specific issue. To be honest, I am not a Go expert by any means so I wonder if Gomod is doing something weird with the go version in the .mod file when running one of the commands.

The file to look at for functionality is https://github.com/pivotal/LicenseFinder/blob/master/lib/license_finder/package_managers/go_modules.rb
When running prepare commands, we do run go mod tidy which will clear out the sum file if things are unused. Locally with go version 1.13.3 I managed to reproduce your results with github.com/stretchr/testify, v1.5.1, unknown

This is what we are seeing in the CI, as it is running the Docker image which is using the go version specified in the Dockerfile, so I think the repro is good.

I cannot seem to get the full results that you outlined after that but that could just be because of the actual project missing locally. I am not convinced that this is a version specific issue. To be honest, I am not a Go expert by any means so I wonder if Gomod is doing something weird with the go version in the .mod file when running one of the commands.

It seems like they did change a bunch of stuff related to go modules on the major update https://golang.org/doc/go1.14. We might be missing a flag somewhere

We actually just made a PR to bump the golang version. I'm not sure if this is gonna fix this issue. I also still cannot reproduce the output you put last when changing the go.mod file to have 1.13 in it. Maybe the golang docker bump will shed some light!

I will keep you posted once the image is in DockerHub

It looks like they change defaults in 1.14 from being --mod=mod to --mod=vendor. We had code that depended on this so we flipped the logic at the same time of this upgrade and will be fixed in the next release. https://github.com/pivotal/LicenseFinder/pull/743

I was able to verify this to work against GitLab Enterprise Edition 12.10.6-ee using 6.5.0 release.
Thank you so much!

authors: faraonc xtreme-shane-lattanzio

repo: pivotal/LicenseFinder


text:
Update README.md

For testing Scrutinizer

Sorry by mistake got commited to wrong branch

repo: pixelandtonic/Query


text:
Firefox 47.0 flags broken

I've noticed there's a few flags that currently don't work in firefox correctly and i'll look at getting some fixes done when i've got some free time but at the moment they are as follows:
Algeria: - green line curves inside the cresent
Bahamas: - black triangle not rendered (just left as large black rectangle)
Brazil: - visible border lines in green area
Burundi: - lefthand triangle not rendered, 6 stars displayed not 3 with border.
Comoros: - lefthand triangle again
Cuba: - lefthand triangle again
Djibouti: - ditto
Guyana: - multiple lefthand triangles rendered as rectangles
Jordan: - lefthand triangle again
New Zealand: Stars duplicating and no border on them
Palestine: - lefthand triangle again
Philippines: - ditto
Qatar: No zig-zag pattern visible between two colours of the flag
Samoa: - Stars duplicating into wrong areas
Sao Tome and Principe: - lefthand triangle again
Sudan: - ditto
South Sudan: - ditto
Western Sahara: - ditto
From what I can tell, the main issue with these is the lefthand triangles and the borders around stars.
There are a few flags that have either of those and work so will be looking into why those work and others don't (namely Timor-Leste for the lefthand triangles and Tuvalu for the stars).

Thanks for the thorough list!
I do not yet support Firefox, all my tests were made on Chrome. I tried to put in place a few unit tests using CasperCSS but the CSS properties I'm using are not handled by CasperCSS.
I would like to put a really test harness in place with Selenium, but did not found the time to do it yet. If you know how to do that, a PR would be very very welcome :)

Seems great.

i saw example but some css3 property still not support on firefox and ie like this one
clip path also doesn't support. we need to use svg instead of css somewhere

I've only made it work with Chrome so far. I'll support Firefox and other browsers once I manage to have a test suite that takes screenshots and compare them to the original.

cool. I will suggest you if i find something new geeks

Czech Republic too, same lefthand triangle problem

I won't be able to fix any Firefox display issue until I manage to put some visual non-regression testing in place. And to be honest, the prospect of installing/managing a Selenium did not really appeal to me for now :)

I'm going to close this issue as I don't work on this project anymore and this will cleanup my list TODO list.

authors: SgtOddball caseydev hoschiCZ pixelastic

repo: pixelastic/css-flags


text:
There is a bug about RenderTexture in document or  codes.

The doc says that  :
* A RenderTexture takes a snapshot of any Display Object given to its render method.
* The position and rotation of the given Display Objects is ignored.

But  I found when I render a sprite to an RenderTexture,  it couldn't ignore position & rotation.
My test code is very simple :
        var img = ResourcePool.get("rmbp");
        var texture = PIXI.Texture.from(img);
        var sprite = PIXI.Sprite.from(texture);
        sprite.tint = 0xFF0000;
        sprite.rotation = 0.8;
        sprite.position.set(50,50);
        sprite.scale.set(0.5, 0.5);
        sprite.anchor.set(0.5, 0.5);

        var renderTexture = PIXI.RenderTexture.create(800, 600);
        game.renderer.render(sprite, renderTexture);

        this.stage = new PIXI.Container();
        var tempSprite = PIXI.Sprite.from(renderTexture);
        this.stage.addChild(tempSprite);

        game.renderer.render(this.stage);

Only  position is ignored.
Wrong document or wrong codes ?
.

I found it doesn't ignore position & rotation both.

BTW , I love current behavior.  :)
If  ignore position & rotation , it will make some problems in some shaders, like this :
https://github.com/pixijs/pixi.js/issues/3590

Hi @finscn, this is correct behaviour. I have modify the docs to reflect this.

sorted 👍

authors: GoodBoyDigital finscn


text:
Lines with cacheAsBitmap=true rendered incorrectly

May be related to #4941 (the slime offset in image) although happens also for Canvas renderer.

Expected Behavior
Cached graphics, especially lines should render the same as non-cached versions.
Current Behavior
Cached lines don't display correctly. For example, lines deviating from diagonal get strange offset. The saved geometry (coordinates) is correct though. The more straight line is (both vertical and horizontal) the more is this apparent. There also seems to be issue with antialiasing (kinda_straight line in the example) or the lines are losing width.
Possible Solution
Definitely was not present in Pixi.js 3 but that's many version ago. Because issue is most pronounced with straight lines and lines are losing width, I'd suspect an error with bounding box.
Steps to Reproduce
Example: https://jsfiddle.net/vqrcsbf0/2/
Red square marks correct position where lines should end. Blue line is not using caching. Green lines do use caching. Perfectly diagonal line seems to be ok. Perfectly straight line shows largest error.
Environment

pixi.js version: 4.8.2
Browser: Chrome 70, Firefox 62
Device: Desktop

Still broken

Closing as fix merged in

authors: BetaRavener ivanpopelyshev themoonrat


text:
Can Pixi be used solely as a rendering engine for use in an Entity Component System architecture?

Hello, thank you for developing such an amazing library.
I was wondering if Pixi could be used as a more low-level rendering engine. For my game I have developed an ECS. That is, each of my entities is nothing more than a bag of components, and each component is simply a plain old data object of fields. For example, my components look like this:
class HealthComponent extends Component {
   current: number;
   max: number
}

class PositionComponent extends Component {
   x: number;
   y: number;
}

class TextureComponent extends Component {
   data: Texture;
}

and my entities look like this:
let player = new Entity();
player.components.push(new HealthComponent());
player.components.push(new PositionComponent());
player.components.push(new TextureComponent());

I then have systems like RenderSystem, CollisionSystem, MovementSystem which just contain functions that iterate over the relevant entities and draw them, update them, etc.
My issue is that PIXI seems perhaps a bit too high level for this, and I'm not sure if there exists anything in the PIXI library to accommodate this need. That is, it seems that PIXI asks you to create Sprites, insert them into Containers, update the sprite object's x and y properties each game update, etc., but even that is too high level for my purposes.
Ideally PIXI could just be used as a rendering engine, and I could avoid the whole high-level process of adding sprites to stages. That is, I could do something like this every frame (pseudocode):
app.renderer.render(myPlayerTexture, myPlayerLocation, etc..);
app.renderer.render(myGraphicsObject, etc..);

Initially I thought that was what https://pixijs.download/v4.6.1/docs/PIXI.WebGLRenderer.html#render did, but I've tried calling it with several different parameters, and each time the resulting canvas is just blank.
Sorry, this is getting a bit long-winded. Let me be more precise. I have the following questions:

Is it possible to integrate an Entity Component System with PIXI and instead use PIXI as a low-level renderer of graphics primitives and textures?
If so, is it a good idea?
If so, how should one do it? Are there any patterns or tutorials available? I'm not sure why when I tried to use renderer.render it was blank every time.

You can directly use @pixi/core and not touch any display objects. You can throw out Application as well; renderer.render would not be used at all either (since it expects a DisplayObject to render).
The rendering loop would do something like:

Emit the 'prerender' event (if desired)
renderer.renderTexture.bind(null); renderer.renderTexture.clear(): Bind & clear the canvas
renderer.batch.setObjectRenderer(renderer.plugins.batch): Activate the batch renderer
For each mesh/entity in your scene, you would generate the vertex-data, UVs, etc. and pass them to the batch renderer (see IBatchableElement)

renderer.batch.render({
  vertexData: <<Float32Array>>,
  uvs: <<Float32Array>>,
  indices: <<Uint16Array>>,
  _tintRGB: 0xffffff,
  _texture: <<Texture>>,
  worldAlpha: 1
});

renderer.batch.flush(): Finally flush the batched rendering data
Emit the 'postrender' event (or do renderer.gl.flush() if undesirable)

You can directly use @pixi/core and not touch any display objects. You can throw out Application as well; renderer.render would not be used at all either (since it expects a DisplayObject to render).
The rendering loop would do something like:

Emit the 'prerender' event (if desired)
renderer.renderTexture.bind(null); renderer.renderTexture.clear(): Bind & clear the canvas
renderer.batch.setObjectRenderer(renderer.plugins.batch): Activate the batch renderer
For each mesh/entity in your scene, you would generate the vertex-data, UVs, etc. and pass them to the batch renderer (see IBatchableElement)

renderer.batch.render({
  vertexData: <<Float32Array>>,
  uvs: <<Float32Array>>,
  indices: <<Uint16Array>>,
  _tintRGB: 0xffffff,
  _texture: <<Texture>>,
  worldAlpha: 1
});

renderer.batch.flush(): Finally flush the batched rendering data
Emit the 'postrender' event (or do renderer.gl.flush() if undesirable)

Hi @SukantPal thanks for the prompt reply!
Eek, this is a bit awkward now. I know I asked for something low-level, but I'm worried this might now be too low level! Sorry for being annoying.
That is, I'm a bit of a noob and am not sure exactly how to get the values in the parameters for renderer.batch.render. I generally have two types of things that I render in my game: images from PNGs, and drawn graphics.
One of them is just imported from an external asset, and the other is drawn, similar to how the canvas API, with PIXI's Graphics API.
Do you know if it's possible to easily convert these values to one's that are requested by renderer.batch.render? That is, how do I take a Texture loaded from the TextureLoader and then obtain those parameter values? Similarly, can I still use PIXI Graphics to draw lines and rectangles and such?
I was hoping there would be a method in PIXI that just let you avoid the whole "adding sprites and graphics to containers" thing, and just render them directly on the screen instead. Does that not exist? Thanks again for your help!

Hi @SukantPal thanks for the prompt reply!
Eek, this is a bit awkward now. I know I asked for something low-level, but I'm worried this might now be too low level! Sorry for being annoying.
That is, I'm a bit of a noob and am not sure exactly how to get the values in the parameters for renderer.batch.render. I generally have two types of things that I render in my game: images from PNGs, and drawn graphics.
One of them is just imported from an external asset, and the other is drawn, similar to how the canvas API, with PIXI's Graphics API.
Do you know if it's possible to easily convert these values to one's that are requested by renderer.batch.render? That is, how do I take a Texture loaded from the TextureLoader and then obtain those parameter values? Similarly, can I still use PIXI Graphics to draw lines and rectangles and such?
I was hoping there would be a method in PIXI that just let you avoid the whole "adding sprites and graphics to containers" thing, and just render them directly on the screen instead. Does that not exist? Thanks again for your help!

Heya @githubaccount256, no problem. This is the case for retained vs immediate mode for graphics libraries. PixiJS is designed to be a retained mode library - you give it your scene graph.
I wouldn't recommend using it as an immediate mode library; however, if you want to it would look something like:

Emit 'prerender' on renderer event (if desired)
renderer.renderTexture.bind(null); renderer.renderTexture.clear(): Same as last time
For each of your Graphics objects, graphics.updateTransform(); graphics.render(renderer): Update transform and render the graphics. DO NOT ADD GRAPHICS AS A CHILD OR PARENT OF SOMETHING ELSE :)
renderer.batch.flush(): Flush the batch renderer
Emit postrender or do renderer.gl.flush()

Heya @githubaccount256, no problem. This is the case for retained vs immediate mode for graphics libraries. PixiJS is designed to be a retained mode library - you give it your scene graph.
I wouldn't recommend using it as an immediate mode library; however, if you want to it would look something like:

Emit 'prerender' on renderer event (if desired)
renderer.renderTexture.bind(null); renderer.renderTexture.clear(): Same as last time
For each of your Graphics objects, graphics.updateTransform(); graphics.render(renderer): Update transform and render the graphics. DO NOT ADD GRAPHICS AS A CHILD OR PARENT OF SOMETHING ELSE :)
renderer.batch.flush(): Flush the batch renderer
Emit postrender or do renderer.gl.flush()


text:
Fixes to TextStyle

To get this previous PR working https://github.com/pixijs/pixi.js/pull/2488
As @AMorporkian himself worked out, there were a couple of style settings that weren't being set in TextStyle that were trying to be used in Text, thus causing the display issues.

So glad this is back, thanks @themoonrat! 3rd time's a charm. I'm going to QA this today.

np, it's so useful :)
As a note, it includes the extra jsdoccing of https://github.com/pixijs/pixi.js/pull/2523 - not intentional, I have my own build of pixi that has extra stuff that I then pruned back for this PR, and missed that change to keep the PR as slim as possible. Useful to have in there, but I can remove if you wish.

@themoonrat That's fine about the CanvasGradient note for fill, thanks for pointing it out.

Thanks for fixing it up @themoonrat, I really appreciate it. Damned real life getting in the way of important stuff like Pixi.

Looks pretty good to me. @GoodBoyDigital, you had some issues with the original PR. Can you test to see if you're still getting the same issues? Here's my test for TextStyle:
Text Example
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <title>text-style</title>
        <meta name='viewport' content='width=device-width, initial-scale=1.0'>
    </head>
    <body>
        <canvas id="stage" width="550" height="400"></canvas>
        <script src="text-style/bin/pixi.min.js"></script>
        <script>
            var renderer = new PIXI.autoDetectRenderer(550, 400, {
                view: document.getElementById("stage"),
                backgroundColor: 0xffffff
            });

            var stage = new PIXI.Container();

            // Swap out TextStyle objects on the fly
            function hotSwappable() {
                var style = new PIXI.TextStyle();
                var style2 = new PIXI.TextStyle({
                    font: 'bold 20pt Arial',
                    fill: "#ff0000"
                });
                var text = new PIXI.Text("Hot-swap styles", style);
                text.interactive = true;
                text.on('mouseover', function() {
                    text.style = style2;
                });
                text.on('mouseout', function() {
                    text.style = style;
                });
                return text;
            }

            // Swap out TextStyle objects on the fly
            function shareStyles() {
                var style = new PIXI.TextStyle({
                    font: '20pt monospace',
                    fill: "#009900",
                    dropShadow: true,
                    dropShadowDistance: 2,
                    dropShadowBlur: 2
                });
                var text = new PIXI.Text("Share styles", style);
                var text2 = new PIXI.Text("Share styles copy", text.style);

                text2.y += 30;
                return text2;
            }

            // Use the old legacy way of setting styles
            function objectBased() {
                var text = new PIXI.Text("Legacy styles", {
                    font: '12pt Times New Roman',
                    fill: "#000099",
                    letterSpacing: 5
                });
                text.y += 70;
                text.x += 20;
                text.rotation = Math.PI / 2;
                return text;
            }

            // Use the old legacy way of setting styles
            function wrapping() {
                var text = new PIXI.Text("Can I wrap some words please?", {
                    font: '12pt Verdana',
                    fill: "black",
                    wordWrap: true,
                    wordWrapWidth: 120,
                    lineHeight: 40
                });
                text.alpha = 0.5;
                text.y += 60;
                text.x += 30;
                return text;
            }

            // Use the old legacy way of setting styles
            function rightAlign() {
                var style = new PIXI.TextStyle({
                    font: 'italic 2em sans-serif',
                    fill: 0x009900,
                    wordWrap: true,
                    wordWrapWidth: 120,
                    align: 'right',
                });
                var text = new PIXI.Text("Wrap words on the right side.", style);
                text.y += 60;
                text.x += 200;
                return text;
            }

            stage.addChild(
                hotSwappable(),
                objectBased(),
                shareStyles(),
                wrapping(),
                rightAlign()
            );

            function update() {
                renderer.render(stage);
                requestAnimationFrame(update);
            }
            update();
        </script>
    </body>
</html>

Rendering

Nice work here guys. Congrats.
One thing I'd like to add on this discussion is that this feature could be completely framework-agnostic. I've extracted a tiny bit of what was implemented in PIXI v3 to create a three.js library to deal with 2d text: https://github.com/gamestdio/three-text2d
As you can see, the canvas part could be extracted into its own project and be used as a dependency on other frameworks, such as PIXI, threejs, and any other. My implementation doesn't cover word-wrapping and complex stuff, but it would be great if we could benefit from a single implementation.
Cheers!

@endel Interesting idea! I think your idea is outside the scope of the PR, but it would be cool if you start a new issue. There would need to be more discussion about how the decoupling might happen and if it seems appropriate moving forward for Pixi.

Looking for a merge here. @englercj or @GoodBoyDigital, thoughts?

Made one last comment, but aside from that it looks good to me!

Looks good to me too! HIT it 👍

authors: AMorporkian GoodBoyDigital bigtimebuddy endel englercj themoonrat


text:
[bug]steering_status not published

/vehicle/status/steering_status is not publishing

report parser cannot get can messages


text:
[BUG] Escape menu not loading

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.
[X] I have thoroughly looked through the available Wiki articles and could not find a solution to my problem.
[X] I am using the latest version of Bloxstrap.
[ ] I did not answer truthfully to all the above checkboxes.

What problem did you encounter?
Error with Menu Rendering, problem only occurs when starting bloxstrap, i am on the release 2.7..0

heres the error, as i said previously this only happens with bloxstrap
Bloxstrap Log
N/A

Read the pinned issue

repo: pizzaboxer/bloxstrap


text:
Some weights of LlamaMoEForCausalLM were not initialized

transformer version 4.38.0
import torch
from llama_moe.modeling_llama_moe_hf import LlamaMoEForCausalLM
from transformers import AutoTokenizer

model_dir = "Qwen1.5-0.5B-Chat_llamafy-16Select4-gate_proj-Scale1.0"

model = LlamaMoEForCausalLM.from_pretrained(model_dir, trust_remote_code=True, )

Some weights of LlamaMoEForCausalLM were not initialized from the model checkpoint at Qwen1.5-0.5B-Chat_llamafy-16Select4-gate_proj-Scale1.0 and are newly initialized: ['model.layers.0.self_attn.rotary_emb.inv_freq', 'model.layers.1.self_attn.rotary_emb.inv_freq', 'model.layers.10.self_attn.rotary_emb.inv_freq', 'model.layers.11.self_attn.rotary_emb.inv_freq', 'model.layers.12.self_attn.rotary_emb.inv_freq', 'model.layers.13.self_attn.rotary_emb.inv_freq', 'model.layers.14.self_attn.rotary_emb.inv_freq', 'model.layers.15.self_attn.rotary_emb.inv_freq', 'model.layers.16.self_attn.rotary_emb.inv_freq', 'model.layers.17.self_attn.rotary_emb.inv_freq', 'model.layers.18.self_attn.rotary_emb.inv_freq', 'model.layers.19.self_attn.rotary_emb.inv_freq', 'model.layers.2.self_attn.rotary_emb.inv_freq', 'model.layers.20.self_attn.rotary_emb.inv_freq', 'model.layers.21.self_attn.rotary_emb.inv_freq', 'model.layers.22.self_attn.rotary_emb.inv_freq', 'model.layers.23.self_attn.rotary_emb.inv_freq', 'model.layers.3.self_attn.rotary_emb.inv_freq', 'model.layers.4.self_attn.rotary_emb.inv_freq', 'model.layers.5.self_attn.rotary_emb.inv_freq', 'model.layers.6.self_attn.rotary_emb.inv_freq', 'model.layers.7.self_attn.rotary_emb.inv_freq', 'model.layers.8.self_attn.rotary_emb.inv_freq', 'model.layers.9.self_attn.rotary_emb.inv_freq']

Hi there, thanks for your interest in this project~
inv_freq will be re-initialized from scratch each time when we initialize a model. This is NOT expected if you have fine-tuned or changed the inv_freq. In that case, this parameter should be in part of the dumpped model weights.

Hi there, thanks for your interest in this project~
inv_freq will be re-initialized from scratch each time when we initialize a model. This is NOT expected if you have fine-tuned or changed the inv_freq. In that case, this parameter should be in part of the dumpped model weights.

So, this error "" Some weights of LlamaMoEForCausalLM were not initialized" "has no effect?

There are no effects if you don't change this part of weights and could accept its re-initialization. I checked the model weights in Qwen/Qwen1.5-4B but found no inv_freq. So the re-initialization is a expected behaviour.

There are no effects if you don't change this part of weights and could accept its re-initialization. I checked the model weights in Qwen/Qwen1.5-4B but found no inv_freq. So the re-initialization is a expected behaviour.

Thank you very much. I see.


text:
image width - third and quarter #893

@gbushell @mdinsmore Please review this change (if you have time).  When we get time... we should write some jquery code to hide the "Image position" if the "Article type" is "Text Only".

Conversation:
MD: I've had a look at your article changes.  Seems like a good idea.  I wondered if image_position should be called image size?  or have I misunderstood it?
PK: I think you are correct... I will update it now... Thank you

Conversation:
@mdinsmore also as there is a picture only article type - should there also be a 'full width'
PK: I don't know...  Would you want a half width picture on it's own?  I guess you might...  That could easily be added later if required...
@mdinsmore True

@timitee Will you add "text_top" and "text_bottom"?  The CSS supports it.
I think this is a good idea.  Do you agree @mdinsmore?

Updated the compose app: https://github.com/pkimber/compose

repo: pkimber/cms


text:
Move toolbar icon after select tool

Since this tool behaves similar to the Select tool, I propose moving its icon next to the Select tool icon:

Hello, Florian.
Thank you for PR. It feels reasonable to me.

authors: florianpircher pkolchanov

repo: pkolchanov/HarmonicMove


text:
Is there a way to programmatically open the modal?

Right now the modal opens on the click in the child component. Is there any way to open it programmatically? Some prop for that?

I am also finding a same workaround. Below is what I am trying. After redirecting back from banks page, the I am expecting the modal should open automatically. But nothing happens.
import React, { useCallback, useEffect } from 'react';
import { PlaidLink, usePlaidLink } from 'react-plaid-link';
import Settings from "../../../utils/settings.utils";

const PlaidConsent = props => {
    const onSuccess = useCallback(
        (token, metadata) => console.log('onSuccess', token, metadata),
    []);

    const onEvent = useCallback(
        (eventName, metadata) => console.log('onEvent', eventName, metadata),
    []);

    const onExit = useCallback(
        (err, metadata) => console.log('onExit', err, metadata),
    []);

    const plaidConfig = {
        clientName: Settings.clientName || 'EY Banks Connector',
        env: Settings.plaid.env || 'sandbox',
        product: Settings.plaid.product || ['auth', 'transactions'],
        publicKey: Settings.plaid.publicKey || '...',
        token: Settings.plaid.token,
        onSuccess,
        onEvent,
        onExit,
        oauthRedirectUri:window.location.origin+"/oauth-consent?req="+props.requestId,
        oauthNonce:"some-long-nonce-value",
        oauthStateId:props.oauthStateId
    };

    const { open, ready, error } = usePlaidLink(plaidConfig);

    useEffect(() => {
        if(ready){
            open();
        }
    },
    [ready])

    return (
        <>
            <button
                id="btnPlaidLink"
                type="button"
                className="button"
                onClick={() => open()}
                disabled={!ready || error}
            >
                Open Plaid Link
            </button>
        </>
    );
};
export default PlaidConsent;`

same here.. nothing happens.
I got no errors!
  React.useEffect(() => {
    if (ready) {
      try {
        open()
      } catch (e) {
        console.log(e)
      }
    }
  }, [ready])

I found onLoad event in plaid component. This is a callback that is called when the Link module has finished loading.
loadHandler = () => {
    this.setState({isPlaidReady: true});
    const elm = document.getElementsByClassName("btnOpenPlaid")[0];
    elm.click();
}

<PlaidLink
    className="btnOpenPlaid"
    style={{ marginTop: '10px'},this.state.isPlaidReady? {} : {display: 'none'}}
    clientName={Settings.clientName}
    env={Settings.plaid.env || 'sandbox'}
    product={Settings.plaid.product || ['transactions', 'auth']}
    publicKey={Settings.plaid.publicKey}
    token={Settings.plaid.token}
    countryCodes={['US','CA','GB','FR','ES']}
    onExit={this.exitHandler}
    onSuccess={this.successHandler}
    onEvent={this.eventHandler}
    oauthRedirectUri={window.location.origin+"/oauth-consent?req="+this.props.requestId}
    oauthNonce="some-long-nonce-value"
    oauthStateId={this.props.oauthStateId}
    onLoad={this.loadHandler}
>

thanks @kiranparab0
With hooks, for some reason, it works with 2 actions: elm.click() and open(). I still cannot figure out why..
But it works
  const onLoad = () => {
    const elm: any = document.getElementsByClassName('btnOpenPlaid')[0]
    elm.click()
    open()
  }

and
          <Button onClick={() => open()} disabled={!ready} className="btnOpenPlaid">
            Add Bank Account
          </Button>

even more weird. This work too..
  const onLoad = () => {
    const elm: any = document.getElementsByClassName('btnOpenPlaid')[0]
    elm.click()
    elm.click()
  }

repo: plaid/react-plaid-link


text:
fix a typo

fixed a name

Good catch, thanks!

authors: greenstatic grekiki

repo: planet-lia/infrastructure


text:
Redesign block-based interface to graph-based interface

This PR gets away from the block interface and implements a pure graph data structure in MathOptInterface. We adopt the name GraphOptInterface.OptiGraph as the primary data structure. It works in a similar way to Plasmo.jl, but it instead defines MOI models on nodes and edges.
Also note that we initially tried designing the data-structure such that nodes only contained variables (and bounds); whereas edges contained MOI models with constraints. I found this to make the interface somewhat inconsistent as constraints on nodes required the use of self-edges so users would handle them differently. The self-edges also made implementation quite messy for reasons related to extending MOI.

Welcome to Codecov :tada:
Once merged to your default branch, Codecov will compare your coverage reports and display the results in this comment.
Thanks for integrating Codecov - We've got you covered :open_umbrella:

authors: codecov-commenter jalving


text:
destroy_user_session syntax error unexpected '}', , expecting keyword_end ..."devise.skip_timeout"] = true } ... ^

ruby 2.5.0
rails 5.1.4
devise 4.3.0
I'm click link user sign out browser report errror
this link code  <%= link_to 'Sign out',  destroy_user_session_path, method: :delete, class: "dropdown-item" %>

This was found and fixed months ago when the Devise team checked the prelease version of Ruby 2.5.0.
While the fix has been in master for quite some time, the Devise team does not want to release the fix yet.
You will need to either not use Ruby 2.5.0, or you will need to use Devise from master, until the Devise team decides to release the fix. You could also fork Devise, fix it yourself, and use your own version. Actually, you could also just fix it in your locally installed gem, which is probably what I'm going to do.
But your best bet, if you don't know how to do any of the above fixes,  is probably to not use Ruby 2.5.0 until the Devise team decides to release the fix.

OK, thanks

authors: clay-f doolin

repo: plataformatec/devise


text:
Make user and password configurable

This makes user and password configurable to get ready for the xml integration.

Note: This is going to errors to be raised unless config.password and config.user are set when initializing.

👍

authors: ChrisVoxland scottbartell

repo: plated/vantiv-ruby


text:
Allow order_source to be passed into Vantiv.auth_capture and Vantiv.refund

allow order_source to be passed into RequestBody.for_return
allow order_source to be passed into Vantiv.refund
allow order_source to be passed into RequestBody.for_auth_or_sale
allow order_source to be passed into Vantiv.auth_capture

👍


text:
fix(sql): Already declared route

Fix for https://github.com/platformatic/platformatic/issues/527

There seem to be linting errors.

 [b9d1e2c](/platformatic/platformatic/pull/548/commits/b9d1e2cd6ad3b493067602c17218e3266d903b78)

my bad @mcollina, I still need to properly configure auto format for Standard JS on my machine 🙏🏼
fixed on b9d1e2c

Code coverage is not high enough on https://github.com/platformatic/platformatic/actions/runs/3772068536/jobs/6412811999#step:10:1

There are still issues related to the snapshots, but I don't know how to fix them. I've run TAP_SNAPSHOT=1 pnpm test && pnpm standard --fix on packages/sql-openapi folder, but the error persist...

My bad! I reviewed a wrong diff.

Is this error fixed? Have the same issue with several columns fk key to same field.

Is this error fixed? Have the same issue with several columns fk key to same field.

Hi @Hellrasier 👋🏼
If you mean the exact same FK (apart from the name) on the same table like in this case:
CREATE TABLE owners (
      id integer NOT NULL,
      PRIMARY KEY (id)
    );

CREATE TABLE editors (
      id integer NOT NULL,
      field integer NOT NULL,
      PRIMARY KEY (id),
      CONSTRAINT editors_fk FOREIGN KEY (field) REFERENCES owners (id),
      CONSTRAINT editors_fk_clone FOREIGN KEY (field) REFERENCES owners (id)
    );

is it going to be fixed soon on this PR.
If you mean different FKs pointing to the same PKs, it's already fixed here and will be released soon.

authors: Hellrasier mcollina rozzilla

repo: platformatic/platformatic


text:
multipath cannot work for path

❯ export XDG_DATA_DIRS=/usr/share:/usr/local/share
❯ ptpython
In [1]: from platformdirs import site_data_path
In [2]: site_data_path(multipath=True)
PosixPath('/usr/share')

Why not
In [2]: site_data_path(multipath=True)
[PosixPath('/usr/share'), PosixPath('/usr/local/share')]

Related issue: https://github.com/NixOS/nixpkgs/issues/282076

site_data_path is explicitly documented as returning only one path, even with multipath passed in as True. Have you considered using site_data_dir(multipath=True) for your use case?

Now I use [Path(dir) for dir in site_data_dir(multipath=True).split(":")]

site_data_path is explicitly documented as returning only one path

Why it cannot return multi paths?

As a bystander, I can't speak for the developers of this library, but if I had to guess? It might be an established convention in the library for *_path methods to return a single path, even on Unix systems, even with multipath given. If that's strange, consider an explicit feature request and maybe a PR.

If that's strange

So is it a bug need to be fixed or a correct feature which will not be changed?

I would personally consider this a known API feature, but I’m not you.

authors: Freed-Wu Sachaa-Thanasius

repo: platformdirs/platformdirs


text:
Added support for custom taxonomies

The current logic only supports category and tags which are default provided by WordPress. But, if someone want to support custom taxonomies then it is not possible without using filter at the moment.
Ref: https://wordpress.org/support/topic/track-taxonomies-of-other-post-types/

Hi @mehul0810, thanks for the contribution! Could you resolve the conflicts?

Since you no longer replied, I've fixed the conflicts and merged it myself. Thanks for your contribution!

repo: plausible/wordpress


text:
Migrate testing to use rules_bazel_integration_test

Right now the tests only run via a custom script. Migrate to use https://github.com/bazel-contrib/rules_bazel_integration_test so they execute via the normal bazel test mechanism

:rocket: Issue was released in v1.1.0 :rocket:

authors: adierkens intuit-svc


text:
2 questions related to config and models

I see this update but  there is no config file

[New] Configuration
transparent-background now supports external configuration rather than hard coded assets (e.g., checkpoint download url).
The config file will be added in your home directory ~/.transparent-background/config.yaml

How to use different model in UI. In which folder should the model be placed and how to select in UI. I did a complete search but no PTH file found in the installation directory. The UI is working fine,

Hi @nitinmukesh

For windows users, home directory will be your user directory (e.g., C:\Users[username].transparent-background)
You can choose base / base-nightly / fast model by choosing from dropdown menu mode. I didn't add custom mode since at that level of skill, I don't think the user need GUI.

authors: nitinmukesh plemeri

repo: plemeri/transparent-background


text:
biber 1.9 breaks \circa

My .bib files have lots of things like \circa{1960}, where \circa is my own macro to typeset something like c.1960.   The current definition is "\newcommand{\circa}[1]{\textit{c}.#1}".   These all went through biber 1.8 without problems, but with 1.9 I get output which causes a syntax error when latex is run.    Possibly this only happens when the \circa is in square brackets, but I'm not sure.
Less serious problems are these:
Biber warning: [6765] Utils.pm:169> WARN - month field 'October' in entry 'Hough:7880' is not an integer - this will probably not sort properly.
Biber warning: [9495] Utils.pm:169> WARN - year field '1991-92' in entry 'Nomina-15-Fellows-Jensen-Place-names' is not an integer - this will probably not sort properly.
I thought textual months would be understood correctly?   And how are we supposed to express date ranges if 1991-92 is not understood?   I suggest that this be interpreted as 1991.  Also, c2018 is a legitimate date syntax for bibliographers - it means copyright year (not circa), and it would be good if biber knew this.

For quite some time now, biblatex and biber support comprehensive ETDF (now the new ISO8601 standard) dates which includes era, circa, range support etc. I would recommend you upgrade your biblatex and biber to the latest versions and see the manual for how to format your dates to get much better support for what you need that hard-coding in the .bib.

That's fine for new files, but I've got legacy .bib files with 1000s of entries which need to keep working across a range of systems.  It would be a massive job to recode them all (and some are generated by scripts which would also need upgrading).  Is biber intended to pass macros like the following through unchanged?
title={Multilingualism in medieval Britain (\circa{1066}--1520): sources and analysis},
Keith

From: plk notifications@github.com
Sent: 03 October 2018 15:35
To: plk/biber
Cc: Briggs,KM,Keith,TUD2 R; Author
Subject: Re: [plk/biber] biber 1.9 breaks \circa (#237)
For quite some time now, biblatex and biber support comprehensive ETDF (now the new ISO8601 standard) dates which includes era, circa, range support etc. I would recommend you upgrade your biblatex and biber to the latest versions and see the manual for how to format your dates to get much better support for what you need that hard-coding in the .bib.

You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/plk/biber/issues/237#issuecomment-426661096, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AE6IEQoAIlg1a7YmDyoXo0HntYWrHAX_ks5uhMtKgaJpZM4XGI7S.

Sorry, I should have said 2.9 in the subject.

From: plk notifications@github.com
Sent: 03 October 2018 15:35
To: plk/biber
Cc: Briggs,KM,Keith,TUD2 R; Author
Subject: Re: [plk/biber] biber 1.9 breaks \circa (#237)
For quite some time now, biblatex and biber support comprehensive ETDF (now the new ISO8601 standard) dates which includes era, circa, range support etc. I would recommend you upgrade your biblatex and biber to the latest versions and see the manual for how to format your dates to get much better support for what you need that hard-coding in the .bib.

You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/plk/biber/issues/237#issuecomment-426661096, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AE6IEQoAIlg1a7YmDyoXo0HntYWrHAX_ks5uhMtKgaJpZM4XGI7S.

@keithbriggs I can not reproduce an issue with your \circa macro with a current installation (biblatex 3.11/Biber 2.11). It should most certainly work and if it does not work that would probably be considered a bug in Biber or biblatex.
\documentclass[british]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage{csquotes}

\usepackage[style=authoryear, backend=biber]{biblatex}

\newcommand{\circa}[1]{\textit{c}.#1}

\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@book{appleby,
  author  = {Humphrey Appleby},
  title   = {Multilingualism in medieval Britain (\circa{1066}--1520): sources and analysis},
  date    = {1980},
}
\end{filecontents}

\addbibresource{\jobname.bib}
\addbibresource{biblatex-examples.bib}

\begin{document}
\cite{sigfridsson,appleby}
\printbibliography
\end{document}

works just fine. If you are having problems with a particular entry, please show us a complete, yet minimal example document that reproduces the exact issue you are having in your big document. See https://tex.meta.stackexchange.com/q/228/35864 and https://tex.meta.stackexchange.com/q/4407/35864 on TeX.SX for help with that.
I know that it is painful if legacy documents do not work in new versions any more, unfortunately sometimes breaking changes are inevitable. Especially with the date changes many things did not actually work as intended before and the new behaviour actually fixes issues or is just warns you more vocally than before that things will probably not work as expected.
In particular

Biber warning: [6765] Utils.pm:169> WARN - month field 'October' in entry 'Hough:7880' is not an integer - this will probably not sort properly.

Comes from something like month={October}, which was never the preferred input for BibTeX, where you should have used the three-letter abbreviation strings provided by the style without braces/quotation marks (month = oct,), and actively discouraged in biblatex from the start, the documentation of version 0.8e dated July 2009 says

The month in which the work was published or the month in a date specification. This must be an integer, not an ordinal or a string. Don’t say month={January} but month={1}. The bibliography style converts this to a language-dependent string or ordinal where required.

I did not check all biblatex documentations since then, but a quick look suggests that that passage has been in the documentation ever since.
So even if this worked before, that was only accidentally against documented behaviour and you could not rely on that. As far as I can see month   = {October}, still works and sorts as intended with Biber, but does issue a warning that the format is not considered correct. This is more than I dared to hope for. But again you can not rely on that.
I could also not find evidence in the documentation of v0.8e that 1991-92 is intended input for the year field. This should never have sorted correctly and the output will always have been subpar, but maybe you only get a warning about that with newer versions of Biber. You can suppress the warning and force a proper sorting by using the sortyear field (in light of https://github.com/plk/biber/issues/228, please use sortyear only with integer input). Date ranges should be input in ISO/EDTF format into the date field, so you would say
date = {1991/1992}

and it is entirely up to your style (and ultimately) you how that would be printed in the output.

Thanks for this very useful reply!
I only get a problem if I put

year={\circa{1980}},

I realize this is not a valid date format and biber 2.9 correctly puts this line in the .bbl file:

\warn{\item Entry 'appleby' (try_circa.bib): Invalid format '\circa{1980}' of date field 'date' - ignoring}

However, this causes LaTeX to give up like this, so it doesn't seem quite true that the field has been ignored:

Runaway definition?
->Biber reported the following issues\MessageBreak with 'appleby':\MessageBreak
\ETC.
! File ended while scanning definition of \blx@tempa.

}
l.43 ...ca{1980}' of date field 'date' - ignoring}

Keith

From: moewew notifications@github.com
Sent: 04 October 2018 09:46
To: plk/biber
Cc: Briggs,KM,Keith,TUD2 R; Mention
Subject: Re: [plk/biber] biber 1.9 breaks \circa (#237)
@keithbriggshttps://github.com/keithbriggs I can not reproduce an issue with your \circa macro with a current installation (biblatex 3.11/Biber 2.11). It should most certainly work and if it does not work that would probably be considered a bug in Biber or biblatex.
\documentclass[british]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage{csquotes}
\usepackage[style=authoryear, backend=biber]{biblatex}
\newcommand{\circa}[1]{\textit{c}.#1}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@book{appleby,
author  = {Humphrey Appleby},
title   = {Multilingualism in medieval Britain (\circa{1066}--1520): sources and analysis},
date    = {1980},
}
\end{filecontents}
\addbibresource{\jobname.bib}
\addbibresource{biblatex-examples.bib}
\begin{document}
\cite{sigfridsson,appleby}
\printbibliography
\end{document}
works just fine. If you are having problems with a particular entry, please show us a complete, yet minimal example document that reproduces the exact issue you are having in your big document. See https://tex.meta.stackexchange.com/q/228/35864 and https://tex.meta.stackexchange.com/q/4407/35864 on TeX.SX for help with that.
I know that it is painful if legacy documents do not work in new versions any more, unfortunately sometimes breaking changes are inevitable. Especially with the date changes many things did not actually work as intended before and the new behaviour actually fixes issues or is just warns you more vocally than before that things will probably not work as expected.
In particular
Biber warning: [6765] Utils.pm:169> WARN - month field 'October' in entry 'Hough:7880' is not an integer - this will probably not sort properly.
Comes from something like month={October}, which was never the preferred input for BibTeX, where you should have used the three-letter abbreviation strings provided by the style without braces/quotation marks (month = oct,), and actively discouraged in biblatex from the start, the documentation of version 0.8e dated July 2009 says
The month in which the work was published or the month in a date specification. This must be an integer, not an ordinal or a string. Don’t say month={January} but month={1}. The bibliography style converts this to a language-dependent string or ordinal where required.
I did not check all biblatex documentations since then, but a quick look suggests that that passage has been in the documentation ever since.
So even if this worked before, that was only accidentally against documented behaviour and you could not rely on that. As far as I can see month = {October}, still works and sorts as intended with Biber, but does issue a warning that the format is not considered correct. This is more than I dared to hope for. But again you can not rely on that.
I could also not find evidence in the documentation of v0.8e that 1991-92 is intended input for the year field. This should never have sorted correctly and the output will always have been subpar, but maybe you only get a warning about that with newer versions of Biber. You can suppress the warning and force a proper sorting by using the sortyear field (in light of #228https://github.com/plk/biber/issues/228, please use sortyear only with integer input). Date ranges should be input in ISO/EDTF format into the date field, so you would say
date = {1991/1992}
and it is entirely up to your style (and ultimately) you how that would be printed in the output.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/plk/biber/issues/237#issuecomment-426935990, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AE6IEZL5d6dxkttCVBG4hQHfJzuj618iks5uhcrWgaJpZM4XGI7S.

BTW: Is https://tex.stackexchange.com/q/453625/35864 you?
I should also note that the ignored in the log probably just refers to sorting, not to outputting information into the .bbl. But PLK would have to confirm that. I think it makes sense to allow that field to land in the .bbl even though it is malformed according to the sorting specs and general data model assumptions.

Yes, that was me.
Thanks for the previous answer.  I can do a workaround using those ideas.
K

From: moewew notifications@github.com
Sent: 04 October 2018 11:37
To: plk/biber
Cc: Briggs,KM,Keith,TUD2 R; Mention
Subject: Re: [plk/biber] biber 1.9 breaks \circa (#237)
BTW: Is https://tex.stackexchange.com/q/453625/35864 you?
I should also note that the ignored in the log probably just refers to sorting, not to outputting information into the .bbl. But PLK would have to confirm that. I think it makes sense to allow that field to land in the .bbl even though it is malformed according to the sorting specs and general data model assumptions.

You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/plk/biber/issues/237#issuecomment-426969476, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AE6IEXgSR74qV1CmauEB6oYd-FCbhYieks5uheTTgaJpZM4XGI7S.

Since we have such a full-featured date system now, the type checking of dates in the default data model is more strict that it used to be and so those "ignored" messages really do mean ignored ...

authors: keithbriggs moewew plk

repo: plk/biber


text:
calling biber throws error: Couldn't load any math lib(s), not even fallback to Calc.pm

Calling biber on Windows (latest updates from texlive 2023) throws this error:
C:\Users\matth>biber Couldn't load any math lib(s), not even fallback to Calc.pm at C:\Users\matth\AppData\Local\Temp\par-6d61747468\cache-96d297aa7563e182b1dd640f406e913a11204801\19c9b262.pm line 25. BEGIN failed--compilation aborted at C:\Users\matth\AppData\Local\Temp\par-6d61747468\cache-96d297aa7563e182b1dd640f406e913a11204801\19c9b262.pm line 25. Compilation failed in require at C:\Users\matth\AppData\Local\Temp\par-6d61747468\cache-96d297aa7563e182b1dd640f406e913a11204801\11788edc.pm line 14. BEGIN failed--compilation aborted at C:\Users\matth\AppData\Local\Temp\par-6d61747468\cache-96d297aa7563e182b1dd640f406e913a11204801\11788edc.pm line 14. Compilation failed in require at C:\Users\matth\AppData\Local\Temp\par-6d61747468\cache-96d297aa7563e182b1dd640f406e913a11204801\a9813d86.pm line 20. BEGIN failed--compilation aborted at C:\Users\matth\AppData\Local\Temp\par-6d61747468\cache-96d297aa7563e182b1dd640f406e913a11204801\a9813d86.pm line 20. Compilation failed in require at C:\Users\matth\AppData\Local\Temp\par-6d61747468\cache-96d297aa7563e182b1dd640f406e913a11204801\85b0182c.pm line 8. BEGIN failed--compilation aborted at C:\Users\matth\AppData\Local\Temp\par-6d61747468\cache-96d297aa7563e182b1dd640f406e913a11204801\85b0182c.pm line 8. Compilation failed in require at /loader/HASH(0xf926e8)/parent.pm line 16. BEGIN failed--compilation aborted at C:\Users\matth\AppData\Local\Temp\par-6d61747468\cache-96d297aa7563e182b1dd640f406e913a11204801\1fa66f73.pm line 5. Compilation failed in require at script/biber-MSWIN64 line 17. BEGIN failed--compilation aborted at script/biber-MSWIN64 line 17.

Hmm, looks like something to do with your system as win64 is the largest user base and we'd be flooded with complaints if this was a general problem. Try deleting C:\Users\matth\AppData\Local\Temp\par-6d61747468 and running biber -v once to unpack it again. You can always find the cache directory it unpacks to on first run with biber --cache.

deleting the temp directory solved the problem

Just for information, on first run (of a new version), don't interrupt biber as it is unpacking itself into the temp directory and it might corrupt the cache, which leads to issues like this. After the first run it's faster as it uses this cache and doesn't need unpack itself again.

authors: plk pospiech


text:
more robust statement type checking

we're currently checking the statement type based on the first word: https://github.com/ploomber/jupysql/commit/564ac4c65d0cc0edc45777f24e52d7abc26a37e5#diff-ee061806ed7a4f5a79d8571f64241031f5c61240dbe59e548de0666a7996ab88R493-R497
this is because wen need to know if this is a select statement, a better approach would be to use sqlparse, because our current approach will fail when using CTEs + a non-select statement at the end:
In [2]: import sqlparse

In [3]: sqlparse.parse(query)[0].get_type()
Out[3]: 'SELECT'

In [4]: sqlparse.parse("with a as (select * from b) select * from b")[0].get_type()
Out[4]: 'SELECT'

In [5]: sqlparse.parse("with a as (select * from b) insert into product_log select * from b")[0].get_type()
Out[5]: 'INSERT'

In [6]: sqlparse.parse("from b")[0].get_type()
Out[6]: 'UNKNOWN'

In [7]:

hey @anupam-tiwari: I see you opened a PR but this issue wasn't assigned to you.
in this case, it's fine since no one else is working on this, but you must follow the process:

request the issue to be assigned to you
write the acceptance criteria
start working on it

hey @anupam-tiwari: I see you opened a PR but this issue wasn't assigned to you.
in this case, it's fine since no one else is working on this, but you must follow the process:

request the issue to be assigned to you
write the acceptance criteria
start working on it

sorry about that, will keep that in mind for future contributions!

authors: anupam-tiwari edublancas

repo: ploomber/jupysql


text:
Bar gaps on a trace (cartesian) or subplot (polar) level

Right now we only use the layout-level attribute.

already in https://github.com/plotly/react-chart-editor/pull/741, please take a look

repo: plotly/react-chart-editor


text:
🛑 Dick Pluim.com is down

In a3ac039, Dick Pluim.com (https://dickpluim.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Dick Pluim.com is back up in 313d5e7 after 17 minutes.


text:
🛑 KCG is down

In b9e4227, KCG (https://kunstrijclubgroningen.nl) was down:

HTTP code: 0
Response time: 0 ms

Resolved: KCG is back up in 6028b04 after 12 minutes.


text:
List add release note

合并代码

合并代码

合并代码

repo: pluosi/app-host


text:
fix: codecentric chart URL

Summary

Test Plan

Checklist

[ ]  No images hosted from dockerhub
[ ]  Are dashboards present to understand the health of the application.  There must be at least 1 of these

[ ]  all databases should have dashboards
[ ]  ideally also have at least cpu/mem utilization dashboards for webserver tier of the app
[ ]  you can use plural from-grafana to convert a grafana dashboard found via google to our CRD

[ ]  Are scaling runbooks present

[ ]  all databases must have scaling runbooks
[ ]  you can use the charts in pluralsh/module-library to accelerate this

[ ]  do you need to add config overlays?

[ ]  inputing secrets
[ ]  configuring autoscaling

[ ]  If there’s a web-facing component to the app, we need to support OIDC authentication and setting up private networks if no authentication option is viable
[ ]  All major clouds must be supported

[ ]  Azure
[ ]  AWS
[ ]  GCP

@michaeljguarino done thanks!

repo: pluralsh/plural-artifacts


text:
Position: inNode default props doesn't seem to work as expected

we set the inNode default props based on checking if we're in the browser but it doesn't seem to be worked. exploration needed
reference thread here -> https://pluralsight.slack.com/archives/C70HPSJPP/p1571933105073800

Can't reproduce will update canUseDOM function to be inline with React,
https://github.com/facebook/react/pull/14194/files
https://github.com/JedWatson/exenv/pull/11

authors: EdwardIrby danethurber

repo: pluralsight/design-system