text:
CDP-8328: add normandie status and knox status to ping requests and hosts_and_agents sql table

Description
Add normandie status and knox status to ping requests and hosts_and_agents sql table
CDP-8328
Development status

Normandie status is defined by the presence of a valid normandie's certificate.
Knox status is defined by knox deamon running successfully
Both fields are emitted in ping requests and stored in hosts_and_agents SQL table

Associated PRs
https://github.com/pinternal/mysql_schemas/pull/1209

Test in devapp
deploy-agent alone, with valid Normandie certificate
Commands
sudo PINLOG_MIN_LOG_LEVEL=DEBUG PINLOG_LOG_TO_STDERR=1 PINLOG_STDERR_LEVEL=DEBUG PINLOG_LOG_DIR=/var/log/deployd IS_PINTEREST=true METRIC_PORT_HEALTH=18126 METRIC_CACHE_PATH=/mnt/deployd/metrics.cache PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin ~/code/teletraan/deploy-agent/bazel-bin/deployd/deploy-agent -e prod -f /etc/deployagent.conf --use-facter

Output, slightly reformated
D23:08:40 [deployd.client.client] PingRequest(hostId=i-0fa4dfea2b1b5f531, hostName=devrestricted-jpierre, hostIp=10.9.196.125, agentVersion=1.2.65-pinterest-1.0.2, autoscalingGroup=None, availabilityZone=us-east-1a, ec2Tags={"Name": "devrestricted-jpierre", "devapp_version": "None", "service_mapping": "dev", "usage_tag": "Dev Apps", "username": "jpierre", "availability_zone": "us-east-1a"}, stageType=None, groups=['singer-prod-sidecar', 'envoy-devapp', 'tcollector-prod-sidecar', 'mcrouter-devapp', 'mcrouter-prod-sidecar', 'metrics-agent-prod-sidecar', 'zk_update_monitor-prod-sidecar'], accountId=998131032990,

normandieStatus=OK, knoxStatus=NotImplementedYet,

reports=PingReport([...]) -> PingResponse(opCode=NOOP, deployGoal=None)

deploy-agent along with deploy-service
Test conditions:

deploy-service deployed to dev1
deploy-agent built on devapp, pointed at dev1 deploy-service with a custom .conf file

Ran deploy-agent with command
sudo PINLOG_MIN_LOG_LEVEL=DEBUG PINLOG_LOG_TO_STDERR=1 PINLOG_STDERR_LEVEL=DEBUG PINLOG_LOG_DIR=/var/log/deployd IS_PINTEREST=true METRIC_PORT_HEALTH=18126 METRIC_CACHE_PATH=/mnt/deployd/metrics.cache bazel run deployd:deploy-agent -- --use-facter -f ~/deployagent-dev1.conf

deploy-agent output
D00:06:17 [deployd.client.client] PingRequest(hostId=i-0fa4dfea2b1b5f531, hostName=devrestricted-jpierre, hostIp=10.9.196.125, agentVersion=1.2.65-pinterest-1.0.2, autoscalingGroup=None, availabilityZone=us-east-1a, ec2Tags={"Name": "devrestricted-jpierre", "devapp_version": "None", "service_mapping": "dev", "usage_tag": "Dev Apps", "username": "jpierre", "availability_zone": "us-east-1a"}, stageType=None, groups=['singer-prod-sidecar', 'envoy-devapp', 'tcollector-prod-sidecar', 'mcrouter-devapp', 'mcrouter-prod-sidecar', 'metrics-agent-prod-sidecar', 'zk_update_monitor-prod-sidecar'], accountId=998131032990, normandieStatus=OK, knoxStatus=NotImplementedYet, reports=PingReport(deployId=am7lNy86TnOO1zicdIfO4w, envId=31_uRMuGReysBYSKPVolHQ, deployStage=SERVING_BUILD, status=SUCCEEDED, errorCode=0, errorMessage=None, failCount=0, extraInfo=None, deployAlias=None, containerHealthStatus=beacon:healthy, agentState=None),PingReport(deployId=Bo_AhGVTTz6a-pYA381Zxw, envId=pVGHjk5bQYaIqnp_e6hGJg, deployStage=SERVING_BUILD, status=SUCCEEDED, errorCode=0, errorMessage=None, failCount=0, extraInfo=None, deployAlias=None, containerHealthStatus=None, agentState=None),PingReport(deployId=k7vlKPllSXq0npHGXuT5lQ, envId=inbDfs6KQICpRRfuKQw_bQ, deployStage=SERVING_BUILD, status=SUCCEEDED, errorCode=0, errorMessage=None, failCount=0, extraInfo=None, deployAlias=None, containerHealthStatus=envoy-B:healthy;envoy-A:healthy;envoy-endpoint-register:healthy, agentState=None),PingReport(deployId=VCjgdlCXSNiEJE-d8d9uTA, envId=2XwshUOHR36DGEAH4PzBwg, deployStage=SERVING_BUILD, status=SUCCEEDED, errorCode=0, errorMessage=None, failCount=0, extraInfo=None, deployAlias=None, containerHealthStatus=mcrouter:healthy, agentState=None),PingReport(deployId=tdN6tMGIRWSen9nGZbTmJQ, envId=XbaIYCyjSY2tZTbUC9p3PQ, deployStage=SERVING_BUILD, status=SUCCEEDED, errorCode=0, errorMessage=None, failCount=0, extraInfo=None, deployAlias=None, containerHealthStatus=metrics-agent:healthy, agentState=None),PingReport(deployId=a4mYT2xVTj6H2cg0FEEBDA, envId=typrFRIFR6-lDyaiNjAk9w, deployStage=SERVING_BUILD, status=SUCCEEDED, errorCode=0, errorMessage=None, failCount=0, extraInfo=None, deployAlias=None, containerHealthStatus=pastis_proxy:healthy, agentState=None),PingReport(deployId=rXain9xJS-eoMeIt9wd7gQ, envId=gu2DEmL4Tv2XOqDKFc7Axw, deployStage=SERVING_BUILD, status=SUCCEEDED, errorCode=0, errorMessage=None, failCount=0, extraInfo=None, deployAlias=None, containerHealthStatus=ratelimit-A:healthy, agentState=None),PingReport(deployId=GNphRufgRd2EBQC3r0cfVQ, envId=I9VjP9AITXON9LYbSa8dXQ, deployStage=SERVING_BUILD, status=SUCCEEDED, errorCode=0, errorMessage=None, failCount=0, extraInfo=None, deployAlias=None, containerHealthStatus=singer:healthy, agentState=None),PingReport(deployId=zSQhe2PWQuilfgqcZRBfoQ, envId=4cgyBYX0RCCbJD-eUfk1jg, deployStage=SERVING_BUILD, status=SUCCEEDED, errorCode=0, errorMessage=None, failCount=0, extraInfo=None, deployAlias=None, containerHealthStatus=tcollector:healthy, agentState=None),PingReport(deployId=FX39q5UXSraKecXgBDItJg, envId=VI1mNs9DQuGG4GdKACl_pA, deployStage=SERVING_BUILD, status=SUCCEEDED, errorCode=0, errorMessage=None, failCount=0, extraInfo=None, deployAlias=None, containerHealthStatus=None, agentState=None),PingReport(deployId=bEtbG7wmSimqqhzTNFYPZg, envId=MWJwccIbSj-rnDkxF3Q7EQ, deployStage=SERVING_BUILD, status=SUCCEEDED, errorCode=0, errorMessage=None, failCount=0, extraInfo=None, deployAlias=None, containerHealthStatus=zk_update_monitor:healthy, agentState=None))
->
PingResponse(opCode=DELETE, deployGoal=DeployGoal(deployId=zSQhe2PWQuilfgqcZRBfoQ, envId=4cgyBYX0RCCbJD-eUfk1jg, envName=None, stageName=None, stageType=None, deployStage=SERVING_BUILD, build=None, deployAlias=None, agentConfig=None,scriptVariables=None, firstDeploy=False, isDocker=None))

dev1 database
teletraan-dev1.proxysql.pinadmin.com deploy kxttdev12403(ttdev1)> select * from hosts_and_agents where host_name like '%jpierre%';
+---------------------+------------------------+-----------------------+--------------+---------------+---------------+--------------------+------------------+-------------------+
| host_id             | agent_version          | host_name             | ip           | create_date   | last_update   | auto_scaling_group | normandie_status | knox_status       |
+---------------------+------------------------+-----------------------+--------------+---------------+---------------+--------------------+------------------+-------------------+
| i-0fa4dfea2b1b5f531 | 1.2.65-pinterest-1.0.2 | devrestricted-jpierre | 10.9.196.125 | 1731110776952 | 1731110776952 | NULL               | OK               | NotImplementedYet |
+---------------------+------------------------+-----------------------+--------------+---------------+---------------+--------------------+------------------+-------------------+
1 row in set (0.00 sec)

Test in devapp
deploy-agent alone
Command
sudo PINLOG_MIN_LOG_LEVEL=DEBUG PINLOG_LOG_TO_STDERR=1 PINLOG_STDERR_LEVEL=DEBUG PINLOG_LOG_DIR=/var/log/deployd IS_PINTEREST=true METRIC_PORT_HEALTH=18126 METRIC_CACHE_PATH=/mnt/deployd/metrics.cache PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin ~/code/teletraan/deploy-agent/bazel-bin/deployd/deploy-agent -e prod -f /etc/deployagent.conf --use-facter

With valid Normandie certificate and knox daemon running
D23:28:16 [deployd.client.client] PingRequest(
hostId=i-0fa4dfea2b1b5f531,
hostName=devrestricted-jpierre,
[...]
normandieStatus=OK,
knoxStatus=OK,
reports=PingReport([...])

With valid Normandie certificate and knox daemon stopped
sudo service knox stop

D23:31:57 [deployd.client.client] PingRequest(hostId=i-0fa4dfea2b1b5f531, hostName=devrestricted-jpierre, hostIp=10.9.196.125,
[...]
normandieStatus=OK,
knoxStatus=ERROR,
reports=PingReport([...])

repo: pinterest/teletraan


text:
Added support for environment variables

This PR addresses issue https://github.com/pinterest/xchammer/issues/62. Adds the support for accepting environment variables.

@SterlingWaves - Can you add a sample project that shows this works?

Hey @SterlingWaves thanks so much for the PR - this feature is super useful for XCHammer 👍 .
I'm going to rebase this onto master with additional changes we talked about offline.

This morning we consolidated and squashed into 2 commits here: #114

source: gharchive/pull-request

authors: SterlingWaves jerrymarino rahul-malik

repo: pinterest/xchammer

license_type: permissive

license_source: github-api


text:
Dockerfile.web is broken

Dockerfile.web is broken. No way to build demo. I do not familiar with React and JavaScript, so I can't fix it

@schors master has been updated with the pending docker changes. Pull the latest and give it a try.

source: gharchive/issue

repo: pion/ion-app-web

license: MIT


text:
Add Clone to rtp.Packet

In my SFU, packets go through a number of data structures, and finally end up in a static buffer that is passed to Track.WriteRTP.  This works fine with ordinary tracks, but fails when trying to write data to disk: SampleBuilder.Push requires the packet to never be overwritten.  This does not appear to be documented.  (My personal opinion is that Push should clone the packet, but as a second choice I'd be okay if the requirement that the Packet and its underlying buffer never be reusied were clearly documented.)
What is more, there is no easy way to clone a packet.  I'm currently using the following code:
func clonePacket(packet *rtp.Packet) *rtp.Packet {
	buf, err := packet.Marshal()
	if err != nil {
		return nil
	}
	var p rtp.Packet
	err = p.Unmarshal(buf)
	if err != nil {
		return nil
	}
	return &p
}

My suggestions are therefore:

document that SampleBuilder.Push requires its parameter to never be modified;
provide a function Packet.Clone() that clones a packet efficiently;
in v3, avoid the complication by having SampleBuilder.Push copy the packet internally.

Hey @jech
I am all for Clone! I don't think it would be that hard to add either.
SampleBuilder.Push copying might be unpopular. Users who are implementing clients will have to do an extra copy. If we don't force a clone we support both uses cases.
We should for sure add a comment to SampleBuilder.Push I will do that now and tag this commit.

authors: Sean-Der jech

repo: pion/rtp


text:
Dependency conflict with tty-prompt necromancer

require 'tty-prompt'
# => true
require 'tty-table'

Gem::ConflictError: Unable to activate tty-table-0.7.0, because necromancer-0.4.0 conflicts with necromancer (~> 0.3.0)
	from /usr/share/rvm/rubies/ruby-2.4.0/lib/ruby/site_ruby/2.4.0/rubygems/specification.rb:2288:in `raise_if_conflicts'
	from /usr/share/rvm/rubies/ruby-2.4.0/lib/ruby/site_ruby/2.4.0/rubygems/specification.rb:1408:in `activate'
	from /usr/share/rvm/rubies/ruby-2.4.0/lib/ruby/site_ruby/2.4.0/rubygems.rb:220:in `rescue in try_activate'
	from /usr/share/rvm/rubies/ruby-2.4.0/lib/ruby/site_ruby/2.4.0/rubygems.rb:213:in `try_activate'
	from /usr/share/rvm/rubies/ruby-2.4.0/lib/ruby/site_ruby/2.4.0/rubygems/core_ext/kernel_require.rb:126:in `rescue in require'
	from /usr/share/rvm/rubies/ruby-2.4.0/lib/ruby/site_ruby/2.4.0/rubygems/core_ext/kernel_require.rb:40:in `require'
	from (irb):2
	from /usr/share/rvm/rubies/ruby-2.4.0/bin/irb:11:in `<main>'

Thanks, I've updated necromancer recently to make it work correctly on Ruby 2.4. I will release new version shortly.

Released v0.8.0 that fixes this issue.

authors: danielpclark piotrmurach

repo: piotrmurach/tty-table


text:
Add Code-Butler

What this PR does / why we need it:
As discussed below, implementing these changes will enhance the experience of code reviews.
https://github.com/pipe-cd/pipecd/discussions/4636
Which issue(s) this PR fixes:
Refs: https://github.com/pipe-cd/pipecd/discussions/4636
Does this PR introduce a user-facing change?:

How are users affected by this change:
Is this breaking change:
How to migrate (if breaking change):

@ouchi2501 Thank you for your PR! Let's try it!

@ouchi2501 plz update branch 🙏

@ffjlabo I've updated it.

/review

Looks like the error is due to Code-Butler being EnterpriseRepo.
I will investigate.
https://github.com/pipe-cd/pipecd/actions/runs/6715051004

/review

/review

/review

I resolved it by adding PipeCD to the list of available GitHub Actions workflows since it seemed to limit the reusable ones.

repo: pipe-cd/pipecd


text:
File permissions in rpm packages

After installing pipelinedb-0.8.0-centos6-x86_64.rpm you are not able to initialize the database because everything inside /usr/lib/pipelinedb/ has 700 permissions with root owner:
root@pgtest03h ~ # ls -ld /usr/lib/pipelinedb/*
drwx------ 2 root root 4096 Aug 24 10:37 /usr/lib/pipelinedb/bin
drwx------ 5 root root 4096 Aug 24 10:37 /usr/lib/pipelinedb/include
drwx------ 6 root root 4096 Aug 24 10:37 /usr/lib/pipelinedb/lib
drwx------ 4 root root 4096 Aug 24 10:37 /usr/lib/pipelinedb/share
root@pgtest03h ~ #

So you can't execute /usr/lib/pipelinedb/bin/pipeline-init from any user except root, but root is of course prohibited to do that.

Confirmed that it only happens on CentOS 6. All CentOS versions use the same packaging script, so rpmbuild on CentOS 6 must have different defaults or arguments. Should be fixed shortly.

repo: pipelinedb/pipelinedb


text:
Build packages with SSL support

And add tests with sslmode=require.

I don't think it should be enabled by default. Security is mostly moving towards being on the infrastructure layer with things like Security Groups etc. We can probably build the packages with SSL support though.

Oops, I meant enable it with configure by default. SSL support has to be enabled at compile-time so the default build currently can't even support SSL.

Gotcha. +1

Verify that clients and servers compiled with SSL support can still run with SSL disabled on systems that don't have openssl.

@derekjn hm, I've tried 0.9.5 from the PipelineDB download page, and seems that the packages aren't build with SSL support.
Are packages configured with SSL already, or do I need to build from source with the right flags?

Hi @julianvmodesto, the official PipelineDB packages are not built with SSL support. It must be enabled at build time by specifying the --with-openssl flag to ./configure. e.g.,
./configure --with-openssl <other flags>
make
make install

Ah got it, thanks @derekjn!
Could I open an issue to build packages with SSL support? Just at the build, without enabling ssl = on in conf.

@julianvmodesto there hasn't been much demand for packages pre-built with SSL support, so realistically speaking I don't see us adding them to our release publishing pipeline. That said, if you have docker you can use the same exact build command that our automated build pipeline uses:
(from the pipelinedb root)
docker run -v $PWD:/pipelinedb -v $PWD:/output -e RELEASE=1 -e PIPELINE_WITH_OPTIONS="--with-openssl" pipelinedb/buildslave:ubuntu14 rpm pipelinedb output

Does that help

Yes, very helpful, thanks! Was worried about building from source, so this simplifies that greatly -- I'll be able to work with this.
Count me as a +1 for requesting packaging with SSL support though :)

authors: derekjn julianvmodesto usmanm


text:
Access Seafile with Nginx Proxy Manager via SSL

I have successfully installed Seafile using the Seafile Official Guide and got it running on port 8080. Now I want to use https on port 443 (10443). I get the error 502 Bad Gateway.
How can I solve this problem?

Please show me your NPM config. Please be aware that NPM is a reverse proxy. So you application (seafile) is only communicating on port 8080.
So
Plain HTTP no SSL
[Seafile Container] <---Port 8080---> [NPM Container] <---Port 80---> Client/Browser

Secure HTTPS / SSL
[Seafile Container] <---Port 8080---> [NPM Container] <--Port 443--> Client/Browser


text:
Apache licence not applied according to its instructions

Hi, https://github.com/pires/docker-elasticsearch-kubernetes/blob/master/LICENSE#L178 explains how to apply the licence. That hasn't happened and so the licensing is a bit up in the air for those that want to be pedantic about such things before reusing it. This also goes for companies where employees would like to use it but have to ensure they're not dropping their employer in it.

Hey Ralph! This has been subject to debate here.
Thanks for reporting nonetheless.

Thanks for the pointer. I wonder how many walk away without bothering to raise the issue and find out about your "hereby confirm" statement. :-(

True! Want to open a PR that applies the licensing properly on all files?

authors: RalphCorderoy pires

repo: pires/docker-elasticsearch-kubernetes

license_source: bigquery


text:
Update vendored Go modules for pivotal-cf/cf-rabbitmq-release

This PR updates the vendored Go modules of pivotal-cf/cf-rabbitmq-release

@cf-london Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

All golang.org changes -  OK

authors: blgm cf-london pivotal-issuemaster

repo: pivotal-cf/cf-rabbitmq-release


text:
Remove online dependencies on spec files

[finish #152016255]
https://www.pivotaltracker.com/story/show/152016255
Signed-off-by: Andy Shen ashen@pivotal.io

@xtreme-andy-shen Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

@xtreme-andy-shen Thank you for signing the Contributor License Agreement!

authors: pivotal-issuemaster xtreme-andy-shen

repo: pivotal/LicenseFinder

license: mit


text:
Password for private key is empty

Console output of pivpn debug
::: Generating Debug Output
:::                                     :::
::              PiVPN Debug              ::
:::                                     :::
::      Latest Commit                    ::
:::                                     :::
commit 454b755116d8cad6b67b56ac15a7235ceac02b5a
Merge: b3ebdb8 f385a3e
Author: redfast00 <redfast00@users.noreply.github.com>
Date:   Sat Aug 12 14:15:34 2017 +0200

    Merge pull request #333 from jhealy86/patch-1

    fix markdown link syntax
:::                                     :::
::      Recursive list of files in       ::
::      /etc/openvpn/easy-rsa/pki        ::
:::                                     :::
/etc/openvpn/easy-rsa/pki/:
ca.crt
crl.pem
Default.txt
dh2048.pem
index.txt
index.txt.attr
index.txt.attr.old
index.txt.old
issued
private
serial
serial.old
ta.key

/etc/openvpn/easy-rsa/pki/issued:
server.crt

/etc/openvpn/easy-rsa/pki/private:
ca.key
server.key
:::                                     :::
::      Output of /etc/pivpn/*           ::
:::                                     :::
:: START /etc/pivpn/DET_PLATFORM ::
Raspbian
:: END /etc/pivpn/DET_PLATFORM ::
:: START /etc/pivpn/INSTALL_PORT ::
1194
:: END /etc/pivpn/INSTALL_PORT ::
:: START /etc/pivpn/INSTALL_PROTO ::
udp
:: END /etc/pivpn/INSTALL_PROTO ::
:: START /etc/pivpn/INSTALL_USER ::
pi
:: END /etc/pivpn/INSTALL_USER ::
:: START /etc/pivpn/NO_UFW ::
1
:: END /etc/pivpn/NO_UFW ::
:: START /etc/pivpn/pivpnINTERFACE ::
eth0
:: END /etc/pivpn/pivpnINTERFACE ::
:: START /etc/pivpn/REVOKE_STATUS ::
1
:: END /etc/pivpn/REVOKE_STATUS ::
:::                                     :::
:: /etc/openvpn/easy-rsa/pki/Default.txt ::
:::                                     :::
client
dev tun
proto udp
remote vpn.local 1194
resolv-retry infinite
nobind
persist-key
persist-tun
key-direction 1
remote-cert-tls server
tls-version-min 1.2
verify-x509-name server name
cipher AES-256-CBC
auth SHA256
comp-lzo
verb 1
:::                                     :::
::      Debug Output Complete            ::
:::                                     :::
:::
::: Debug output completed above.
::: Copy saved to /tmp/debug.txt
:::

Issue
Creating new user with both pivpn add or pivpn add nopass succeeds but if I create a profile with password the generated .ovpn file when imported to OpenVPN client doest not connect and returns error saying: Core exception: connection error: PEM_PASSWORD_FAILED: PolarSSL error parsing config private key : PK - Private key password can't be empty.
It however works and connects fine when profile is generated without password. Looks like the password entered for pivpn add is ignored and private key for profile is created with empty password.

That's Odd!! even yesterday installed PiVPN on a couple of times on a VPS and it worked perfectly! =S
don't even know what to think of this! =S can be the case of some special character you are entering the cause of the issue? try with a simple password like 12345 just for testing purposes ...

I tried even simple passwords like 12345678 or testtest and none have worked. I also tried to change private key encryption as described here or here and nothing works. I can only connect to the server if profile is created using pivpn add nopass which does not require any password (poor security).

that's gotta be a local issue on your side....
Just tested 5++ new pivpn installs today and none gave me that kind of issue!
Wondering how can we track such thing!

No issues here, too, I have installed PiVPN on a fresh Stretch install and the keys generated just fine.
Is it possible to attach one of the faulty .ovpn files? (just be sure to edit out any sensitive info, like the server name and half or more of the certificate/keys where present)

Closing issue, assuming issue resolved.
@LKay any further questions post here .. I will reopen if needed!

Hello
I am experiencing exact same issue. This is a brand new Raspberry Pi3 with new installation of PiVPN (this is my first time setting this up).
Anyone found any solutions or know how or why this happens?
Best regards

Here are the client error:
CLIENT_EXCEPTION : connect error: PEM_PASSWORD_FAIL: mbed TLS: error parsing config private key : PK - Private key password can't be empty [FATAL-ERR] FATAL:CLIENT_EXCEPTION: connect error: PEM_PASSWORD_FAIL: mbed TLS: error parsing config private key : PK - Private key password can't be empty

After wasting almost an entire day I found the solution/work around in case anyone is stuck with this. The issue is not with the PiVPN, but with the OpenVPN client. Since this is my first time ever using OpenVPN I downloaded "OpenVPN Connect" as client, and this client does not ask for password when connecting.
Downloaded and installed full OpenVPN client (including OpenVPN GUI) and it must be "Run as Administrator" and it asks for password and connects without any issues.

Thanks @gorbehnare ! I also downloaded open VPN connect instead of the openVPN client.

Thank you @gorbehnare same issue here!

had the same issue.  updated to openvpn connect ver 3 and it worked.

same issue

authors: J-Robinson042519 LKay SamRavenWall b-scherer cfcolaco dotshap gorbehnare killermosi

repo: pivpn/pivpn


text:
feat: add monospace font-family type in fallback option

Now Fontpie only works with two options of font-family — 'serif' and 'sans-serif'. But web have at least two more — 'monospace' and 'handwriting'. Could you please adding their support?

Thank you, @nikvoblikov. We'll satisfy this feature request at one of the next fontpie releases

Fixed as a part of #11

authors: lnikell nikvoblikov sashasushko

repo: pixel-point/fontpie


text:
Pixel perfect collision?

How do we achieve pixel perfect collision? This seems to be a problem with pixijs, but the common workarounds using WebGLExtract seem to not have externs. I'm considering creating a separate canvas element and using it to get pixel data like this, is this recommended?
EDIT: To clarify my situation, I need to get alpha tolerant pixel testing on animations, and building hitArea polygons isn't really feasible in my setup unless they could be done at runtime.
EDIT 2: I've found this work around for now.
var pixel:Array<Float> = untyped __js__('({0}).extract.pixels({1}).slice({2}, {3})', app.renderer, renderTexture, startInd, startInd+4);
EDIT 3: This actually still won't work because you can't clear RenderTextures on canvas without renderer.clearRenderTexture which is seemingly webgl only.
Can pixi js realistically support pixel colour testing? I've take the feature for granted, but it seems the tech might not be there yet or something??

WebGL + pixel perfect collision will be very slow thing. I dont think that any GL engine can support it.

@ivanpopelyshev If you queried the pixels directly from the shader, but you could also look at the png file after transforming your point with the matrix from the texture, or cache the bitmap data, or any number of things. I guess I'll be writing that. :/
Most applications need some at least some alpha testing, even for just buttons, and almost all games require it. I'd say this hardly usable without it.

if I recall correctly, you can generate a bitmap array this way :
`var lModel		: Container		=
var lCanvas		: CanvasRenderer	= new CanvasRenderer( lModel.width, lModel.height, { transparent: true});
lCanvas.render( lModel);
var lImageData	: ImageData		= lCanvas.context.getImageData( 0, 0, lModel.width, lModel.height);`
And so on, you can work on the ImageData instance. This worked for me at pixi 4.0.2, I hope it still works :) You may generate your bitmap datas before you use them, as I believe it's a bit expensive to generate them at the fly ...

Oh, we didnt close this? OK, here's answer for v5: https://github.com/pixijs/pixi.js/wiki/v5-Hacks#pixel-perfect-interaction

repo: pixijs/pixi-haxe


text:
Pixi can't run correctly on Huawei Android Phone

Huawei (the third largest phone producer in the world)  released some new android phones. But the pixi can't run on them.
the browser has updated to Chrome 63.xxxx (last version)
I test them with  webglreport.com , the result shows they support WebGL & some main glExtensions(that PIXI used)
Huawei doesn't use Qualcomm Chip ,  It uses the chip developed by itself .
The game created by unity/cocos/unreal can run very well on Huawei's phone.
So I think the OpenGL ES has been supported Huawei's phone very well.
But I don't know why PIXI can't.
I don't buy these phones , I test them in the store, So I can't do debug to find out the error.

I've personally not had any issues with Huawei phones with PIXI, tho only had them in test relatively recently on recent Chrome versions.
Will close for now due to inactivity, but feel free to re-open if it's still an issue!

authors: finscn themoonrat


text:
v5 unsafe-eval error when creating new Renderer

When creating a new renderer like new PIXI.Renderer(options); pixi throws the error:
Current environment does not allow unsafe-eval, please use @pixi/unsafe-eval module to enable support.
    at ShaderSystem.systemCheck (ShaderSystem.js:59)
    at new ShaderSystem (ShaderSystem.js:27)
    at Renderer.addSystem (Renderer.js:258)
    at new Renderer (Renderer.js:142)
    at new PixiView (pixiViewFactory.ts:57)

My content security policy is set to block eval because it's a huge security hole, and I'm uneasy about including the unsafe-eval module because it sounds like it's going to do bad things. This worked in v4, so I believe the issue is new in v5. Here's my CSP:
<meta http-equiv="Content-Security-Policy" content="
    default-src 'self' 'unsafe-inline' data: gap: blob: https://ssl.gstatic.com https://www.googletagmanager.com
        https://www.google-analytics.com ws://127.0.0.1:35729/livereload localhost:8090;
    style-src 'self' 'unsafe-inline';
    media-src *;
">

Environment

pixi.js version: v5.0.0-rc.2
Browser & Version: Chrome 72.0.3626.121
OS & Version: OSX

#5463
Its dangerous to go alone, take this:
https://pixijs.download/dev/pixi.js (or pixi.min.js)
https://pixijs.download/dev/unsafe-eval.min.js

We haven't published @pixi/unsafe-eval yet, but this is designed specifically for your situation, where the use of new Function or eval is restricted. By including this new package, it's so that PixiJS doesn't use new Function although at a slight performance cost.
Either way, this is a response to #5459.

Thanks, I read through the source of the unsafe-eval module, and it looks ok, so I can use it.
However, I'm a bit concerned that PIXI is using eval at all. It's a big security risk and opens a lot of doors for potential XSS attacks. Like, I'm considering adding a level editor for my game that would allow users to create their own levels. It would be very bad, for example, if a user was able to put some javascript in for some character's position, and have PIXI execute it. Is that the case, or is eval used only for stuff that never interacts with user-entered data?

I am still planning on sanitizing the user's input, but defense in depth is a good thing.

eval isn't being used anywhere, it's new Function that is being used, and it's literally impossible for user-land code to be injected into those given the way Pixi uses it with pre-defined strings. XSS isn't applicable here.

Great! Glad to hear it, needed to check to make be sure.

authors: bigtimebuddy distinctdan ivanpopelyshev photonstorm


text:
cleaned up documentation Globals issue #4539

issue #4539
cleaned up documentation Globals, corrected formatting

Congrats on your first PR @Pansaai! Thanks for stepping up.

Thank you @bigtimebuddy and @GoodBoyDigital for making this a pleasant experience ! Glad i could help.

authors: Pansaai bigtimebuddy


text:
types: Add generic types to Container-like views

Please Describe The Problem To Be Solved
It would be a nice addition if DisplayObjects were more type-friendly when it comes to handling children.
Pixi itself does that with Container.
const container = new Container<Sprite>();
// Now I can manipulate children without casting type

(Optional): Suggest A Solution
Example using a List
const list = new List<Graphics>({
    children: [
        new Graphics().beginFill(0x000000).drawRect(0, 0, 50, 50),
        new Graphics().beginFill(0xFFFFFF).drawRect(0, 0, 50, 50),
    ],
 });

console.log(list.children); // Type of Graphics[]

You are welcome to create this PR ;)

Closed via #191

authors: CatchABus CyberDex

repo: pixijs/ui


text:
Question Regarding Discord Rich Presence

Hey,
I have installed Bloxstrap yesterday and i love it! Although, i do have a question regarding the Discord Rich Presence feature as yesterday when i open Roblox it does display the Game Activity appropriately and such but when i open Roblox today and play it, the Game Activity doesn't display and i'd have to go to the Bloxstrap Menu and turn it off and on again then save for it to work.  When i play again it works again but when i close Roblox and open Roblox again it repeats the same thing and doesn't show the Game Activity.
My question is am i doing something wrong, is it something that has to do with the feature and how it works, or is this a bug?

That... definitely seems like a bug. I don't think toggling it in the settings has any direct correlation with it working again. The next time you notice it doesn't work, can you send the latest log from the Bloxstrap logs folder here?

Sure! I'll give you both logs just in case!
Previous Log (Discord Rich Presence shows after re-enabling the Game Activity and saving it)
Bloxstrap_20230301T173332Z.log
Recent Log (Discord Rich Presence doesn't show)
Bloxstrap_20230301T173435Z.log

I made a build with more verbose Discord logs to help someone else debug something, I think you should use it too.
https://pizzaboxer.xyz/files/bloxstrap-debug/89/Bloxstrap.exe
Just replace Bloxstrap.exe in your folder with this, and then send the log from that when it doesn't work.

Here's the latest Log when it doesn't work.
Bloxstrap_20230301T192724Z.log

Is it okay if you send me 0.565.0.5650363_20230301T192727Z_Player_BD624_last.log from your Roblox logs folder located at %localappdata%\Roblox\logs? Feel free to send it to me privately, it might contain sensitive info.

Sure i can do that! Where would i contact you? Through discord, guilded, twitter or?

pizzaboxer#7142 on Discord. My Twitter is on my GitHub profile.

authors: MafuSaku pizzaboxer

repo: pizzaboxer/bloxstrap


text:
error

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.
[X] My answer given in the checkbox above is a lie.

What problem did you encounter?
System.Net.Http.HttpRequestException: Response status code does not indicate success: 403 (Forbidden).

Duplicate of #2704

authors: IUploadExploits pizzaboxer


text:
Add a new pkgdev commit mangle to remove stable keywords

One of the most common maintenance tasks in the tree is a simple version bump. With this mangle, pkgdev commit can automatically remove the stable keyword from ebuilds copied from a prior version.
This should reduce contributor mistakes, and save developers time on both code review and manually editing keywords for their commits.

Following some discussion in #gentoo-dev-help
--mangle false allows this to be disabled on a per-commit basis, piggybacking the existing option. @thesamesam expressed some opinion that this should have a separate toggle, but I felt like general helpful mangling all kind of fit well under that existing flag.
One problem I realized  with this, is that it could destabilize a package unintentionally if the whole package is moved by git mv
For example git mv old-category/package new-category-package  or git mv category/oldname category/newname would be caught up in this, and the new name would lose it's stability flags.

I've added a second commit to cover the scenario where a package is renamed or moved to another category.
Because git treats all add & delete in the same commit as mv operations, we need to use a different approach to distinguish the two scenarios, we're now only removing stable keywords when the PV changes.
Happy to squash the commits, but I've left them separate until discussion is a bit further along.

repo: pkgcore/pkgdev


text:
Create 0000-01-02-pksharma97817.md

Add pksharma97817's file

Done!

Done!

Done

Done


text:
Boats placed on water sometimes sink

Timings link
No response
Expected behavior
Boat should float on water after placing them
Observed/Actual behavior
In some cases (as seen in the video posted below) boats just sink
Steps/models to reproduce
Place a boat on water above Y: 65 or place it on tall seagrass
https://streamable.com/w8t9zw
Purpur version
[18:07:42] [Server thread/INFO]: This server is running Purpur version git-Purpur-1330 (MC: 1.17.1) (Implementing API version 1.17.1-R0.1-SNAPSHOT) (Git: 158ae61 on ver/1.17.1)
Agreements

[X] I am running the latest version of Purpur available from https://purpur.pl3x.net/downloads.
[X] I have searched for and ensured there isn't already an open issue regarding this.
[X] My version of Minecraft is supported by Purpur.

Other
Not using any plugins, default config

Upstream bug.
https://github.com/PaperMC/Paper/issues/6312

Turns out Tuinity fixed this the other day. We've pulled in that fix with build 1331
https://github.com/pl3xgaming/Purpur/commit/635d108ae267993505a12e393f2fa8756899ddde

authors: BillyGalbreath PiotrBogacki


text:
pre-selecting bank for a user does not work

pre-selecting bank for a user does not work if using the routing number as suggested in the docs

@faithfulojebiyi Thank you for reporting this!
Plaid offers the ability to highlight (not pre-select) an institution in Link by providing the routing number to /link/token/create. This will only work for some institutions, where Plaid has the routing number on file for the institution and the routing number is unique to that institution. So there are a couple of possibilities for what could be causing this behavior:

Plaid doesn't have the routing number on file
Plaid does have it, but it isn't unique
The feature is working, but you are expecting it to work differently than it works (i.e. to pre-select the institution instead of highlighting it)
The routing number is for an institution that isn't compatible with your other settings in Link (for example, if you are initializing with investments and use the routing number for an institution that doesn't support investments)
There is a bug or limitation in the SDK causing this feature not to work

To help narrow down the possibilities, can you confirm that using the same /link/token/create call, you are seeing the highlight feature work in the regular web SDK but are not seeing it work in react-plaid-link?
Once you've done this, can you also provide the entire request details of /link/token/create you are using for testing?
Thanks!

repo: plaid/react-plaid-link


text:
Build a container image out of topomachine

#111

LGTM

authors: bdreisbach plajjan

repo: plajjan/vrnetlab


text:
Inconsistent call API/Specification/Studies/ObservationUnitDetails.md

This GET call is defined as  [/brapi/v1/studies/{studyId}/observationunits?observationLevel={observationLevel}] shouldn't it be Observation Unit Details [/brapi/v1/studies/{studyId}/observationUnits?observationLevel={observationLevel}]?
The JSON output is specified as:
{
"metadata" : {
"pagination": {
...
},
"status" : [],
"datafiles": []
},
"result" : {
"data" : [
{
"observationUnitDbId": "abc-123",
"observationUnitName": "Test-2016-location-34-575",
Here Unit is also capitalized.

I think the URLs are usually completely in lower case, only the parameters are in CamelCase. So in this case, "observationunits" is part of the URL, so it should be lowercase.

authors: lukasmueller mverouden

repo: plantbreeding/API


text:
authenticate method in routes.rb results in infinite redirects

Hi,
I have this in routes.rb:
devise_for :admins, only: :sessions, format: false

authenticate(:admin) do
  mount Resque::Server.new, at: "/resque"
end

When trying to access http://myapp/resqueI get infinite redirects:
00:08:26 web.1     | 127.0.0.1 - - [24/Jan/2012 00:08:26] "GET /unauthenticated HTTP/1.1" 302 - 0.0341
00:08:26 web.1     | 127.0.0.1 - - [24/Jan/2012 00:08:26] "GET /unauthenticated HTTP/1.1" 302 - 0.0301

Are you using a custom failure app? I feel like I am missing more information. Why is it considering /unauthenticated to be protected? Second, why is it redirecting to /unauthenticated?

If you can provide a way to reproduce the problem, that would be super :)

Same issue with me. After digging into this, I think that this is a Rails router behavior. While trying to redirect, the Rails router prepends the mounted path in all url_helpers.

authors: fabiokr josevalim masterkain

repo: plataformatec/devise


text:
Simple Form Country Select always optional?

I am using Foundation's abide validation for a form, which looks for the presence of the required attribute. However it appears that the country input doesn't allow you to set the attribute. Is there a particular reason for this? It's inconvenient as a number of validation plugins/frameworks utilise that attribute.
I'd prefer to use the country select than building my own with countries, so the priority option can be set.

As far as I remember, the required option for selects has a few rules, including having an empty option as its first option on the list. Check this post for some explanation. Simple Form tries to honor that, so you either need to pass include_blank or a prompt option for the required option to be enabled.
Let us know if that answers your question. Thanks!

I read through that and understand that. However, for the priority inputs it doesn't seem to adhere to those rules?
module SimpleForm
  module Inputs
    class PriorityInput < CollectionSelectInput

      ...

      def has_required?
        false
      end

      ...

    end
  end
end

authors: carlosantoniodasilva randomizor


text:
fix(type): plt-service tests

Yesterday I broke the ts tests for plt-service, sorry! 🙏🏼
This should fix them 🙏🏼

I confirm ts tests are now fixed ✅

repo: platformatic/platformatic


text:
platformio-ide-terminal not working

latest version. Mac high sierra 10.13.6
It´s like the package haven´t been installed, the + that should be on the bottom of Atom isn´t showing up .

I have this same issue on Sierra 10.12.6.  I used the terminal yesterday, shutdown, started it today and it looks like it isn't even loading.  Tried uninstall/reinstall of the package, nothing, loaded the debug console, no indication as to what fails.  Any ideas?

Please retest again with platformio-atom-ide-terminal 2.9.0 is using node-pty-prebuilt instead unmaintained and outdated pty.js

authors: JJjulle billyjbryant the-j0k3r

repo: platformio/platformio-atom-ide-terminal


text:
STM32F746 Discovery board support

Made an attempt at adding this myself but ended up making a lot of changes to default package directories which I'm unsure about. I can compile firmware successfully, but upload fails with scons error code 309 (guessing the tool-stlink binaries don't support the processor yet, but managed to get around this using ST's flashing tool and Em::block's STlinkGDB for debugging).
Changes:

To support the Cortex-M7 I updated the toolchain in .platformio/packages/toolchain-gccarmnoneeabi
Added new/changed files to .platformio/packages/framework-cmsis/cores/stm32 from stm32cubef7/Drivers/CMSIS/Include
Added directory .platformio/packages/framework-cmsis/variants/stm32f7 with contents from stm32cubef7/Drivers/CMSIS/Device/ST/STM32F7xx
Added linker script to .platformio/packages/ldscripts/stm32f746ng.ld from stm32cubef7/Projects/STM32746G-Discovery/Templates/SW4STM32/STM32746G_Discovery/STM32F746NGHx_FLASH.ld

And in the repository I added a board definition to platformio/boards/ststm32.json:
"disco_f746ng": {
    "build": {
        "core": "stm32",
        "extra_flags": "-DSTM32F746xx",
        "f_cpu": "216000000L",
        "ldscript": "stm32f746ng.ld",
        "cpu": "cortex-m7",
        "mcu": "stm32f746ngh6",
        "variant": "stm32f7"
    },
    "frameworks": ["cmsis"],
    "name": "ST STM32F7DISCOVERY",
    "platform": "ststm32",
    "upload": {
        "maximum_ram_size": 327680,
        "maximum_size": 1048576
    },
    "url": "http://www.st.com/web/catalog/mmc/FM141/SC1169/SS1858/LN1902/PF260869",
    "vendor": "ST"
},

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/28062393-stm32f746-discovery-board-support?utm_campaign=plugin&utm_content=tracker%2F2014790&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F2014790&utm_medium=issues&utm_source=github).

To support the Cortex-M7 I updated the toolchain in .platformio/packages/toolchain-gccarmnoneeabi

Which toolchain have you used?

Version 4.9 update 3 from launchpad.

It looks that issue is fixed in PlatformIO 3.0. If it doesn't work, pelase open new issue here https://github.com/platformio/platform-ststm32/issues/new

authors: ivankravets mojzu

repo: platformio/platformio


text:
Switch account

My excuses for this huge, unclean pull request
Added Features:

locally build symfony projects
allow switching between multiple login accounts (.platform becomes a symlink to a per account setting file in the home directory of the form .platform_https___marketplace.commerceguys.com_ori_pekelman.com)
Allow setting market place url through  exporting $PLATFORM_ACCOUNTS_SITE environnement variable (useful for running in dev mode)
Allow setting the ssh key for git through the exporting $PLATFORM_IDENTITY_FILE environnement variable (necessary for multiple accounts...) and $GIT_SSH={CLI_ROOT}/platform-git
Tag commands as either local or remote and color them nicely

Modifications:

make some commands unprivileged, currently in a vairable in Application.php ($unprivilegedCommands) probably needs to be handled by each command
rename and expose the login command, allow passing username in the commandline
make ssh keys workflow more userfriendly, detect more cases (no keys on server, no keys locally). When no keys are there list local keys.
rename sshkeys commands to make them coherenet (this should happen for all commands, no mix of plural and singular.)

CAVEAT
Extremly lightly tested by hand. Only tested locally on OS X. No automatic testing at all.

Closing this - I have added some better SSH key UX, and #241 allows account switching via a PLATFORM_CLI_SESSION_ID environment variable (default 'default')

authors: OriPekelman pjcdawkins

repo: platformsh/platformsh-cli


text:
Add draw call count to Mini Stats

One of the more common stat points for developers is draw calls. If we can add this to the mini stats, that would be great!

if possible it would be nice to have the following changes made to mini-stats:

have timers specify graph scaling (currently hard-coded to 48)
have timers specify units (currently hard-coded to 'ms')
give application control over graph sizing (currently only mouse clicks toggle graph sizes)
give application control over which graphs to construct (currently all graphs are constructed)
apart from draw calls, other stats that may be of use:

number of primitives (broken down by #triangles, #lines, #points)
batching stats (@mvaligursky has details)

authors: slimbuck yaustar

repo: playcanvas/engine


text:
[Fix] Fix to Picker class not releasing its render target

Fixes https://github.com/playcanvas/engine/issues/5049

You missed nothing. I renamed it to match the name we use in the rest of the file.


text:
Message identification prefix

Allow to change the Message Indentification prefix from SEPA-KING to any other string with alphanumeric characters (with dash and/or underscore).

Overkill, there's a setter I can use 🤦♂


text:
🛑 Lindas Kingdoms is down

In 737725e, Lindas Kingdoms (https://lindas.admin.ch/query?query=PREFIX rdf%3A <http%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23>
SELECT DISTINCT %3Fk (SAMPLE(%3Fs1) as %3Fs)%0AWHERE%20%7B%0A%20%20%3Fs1%20a%20%3Chttp%3A%2F%2Ffilteredpush.org%2Fontologies%2Foa%2FdwcFP%23TaxonName%3E%3B%0A%20%20%3Chttp%3A%2F%2Frs.tdwg.org%2Fdwc%2Fterms%2Fkingdom%3E%20%3Fk.%0A%7D%0AGROUP%20BY%20%3Fk) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Lindas Kingdoms is back up in 0c7a2fd after 9 minutes.

repo: plazi/monitoring


text:
🛑 Lindas Kingdoms is down

In 080d416, Lindas Kingdoms (https://lindas.admin.ch/query?query=PREFIX rdf%3A <http%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23>
SELECT DISTINCT %3Fk (SAMPLE(%3Fs1) as %3Fs)%0AWHERE%20%7B%0A%20%20%3Fs1%20a%20%3Chttp%3A%2F%2Ffilteredpush.org%2Fontologies%2Foa%2FdwcFP%23TaxonName%3E%3B%0A%20%20%3Chttp%3A%2F%2Frs.tdwg.org%2Fdwc%2Fterms%2Fkingdom%3E%20%3Fk.%0A%7D%0AGROUP%20BY%20%3Fk) was down:

HTTP code: 500
Response time: 1608 ms

Resolved: Lindas Kingdoms is back up in 2901ab9 after 10 minutes.


text:
Make gem5 unknown instruction error message more readable than ever

Before: Unknown instruction 0x8600a157 at pc (0x10600=>0x10604).(0=>1)
After: Unknown instruction 8600a157 vdiv.vv v2,v0,v1 at pc (0x10600=>0x10604).(0=>1)
USAGE: build/RISCV/gem5.opt configs/example/se.py --cmd=a.out |& dumprv

repo: plctlab/plct-toolbox


text:
Removed static keyword from propTypes

See #588

If the approval is complete. Should I merge now or someone else will do it?

Within the Plone organization, it is customary for the person who submits the PR to merge it after at least one other person as approved it. Besides, you've earned the pleasure of pressing that friendly green button. :grin:

repo: plone/training


text:
added objectBrowser to UrlWidget, and attached UrlWidget to remoteU…

…rl field of ContentType Link

If this is what I think it is, then it's perfect! It's like the missing link. @sneridagh
Though I wonder about the newly introduced dependencies. I don't see those any object proxy used in your PR, what are the changes to package.json and lock about?

If this is what I think it is, then it's perfect! It's like the missing link. @sneridagh
Though I wonder about the newly introduced dependencies. I don't see those any object proxy used in your PR, what are the changes to package.json and lock about?

i had to add identity-obj-proxy because when trying to re-create snapshot with jest it failed, because somewhere there's an import of a .css in a jsx in a file regarding Gallery.

For the backend part: https://github.com/plone/plone.restapi/pull/1005
I'm assuming that Volto send to the backend an "api url", so i can convert it into an internal reference like standard Plone Links.
IMHO the frontend user shouldn't see the api url when select an item (also in text editor), but the "frontend" one, or just only the relative path. It's ok to send the complete api url to the backend.

For the backend part: plone/plone.restapi#1005
I'm assuming that Volto send to the backend an "api url", so i can convert it into an internal reference like standard Plone Links.
IMHO the frontend user shouldn't see the api url when select an item (also in text editor), but the "frontend" one, or just only the relative path. It's ok to send the complete api url to the backend.

I've do adjustments to the UrlWidget component and to AddLinkForm to make sure that the url containing the API path is always sent to the backend, but the user sees only the part of the url after the api path

@giuliaghisini please, could you take a look at the merging conflicts? Let's merge this one too

@giuliaghisini please, could you take a look at the merging conflicts? Let's merge this one too

@giuliaghisini please, could you take a look at the merging conflicts? Let's merge this one too

ready!

@giuliaghisini please, could you take a look at the merging conflicts? Let's merge this one too

ready!

@giuliaghisini I am puzzled, but the PR is now empty! It only has the changelog. Could be that since I merged #1946 it was based on this one, then the changes are already in master?

@giuliaghisini I am puzzled, but the PR is now empty! It only has the changelog. Could be that since I merged #1946 it was based on this one, then the changes are already in master?

@giuliaghisini I am puzzled, but the PR is now empty! It only has the changelog. Could be that since I merged #1946 it was based on this one, then the changes are already in master?

as i can see in commits log i think your'right.

@giuliaghisini I am puzzled, but the PR is now empty! It only has the changelog. Could be that since I merged #1946 it was based on this one, then the changes are already in master?

as i can see in commits log i think your'right.

authors: cekk giuliaghisini sneridagh tiberiuichim

repo: plone/volto


text:
Issue#845

Describe your changes
Changed spelling error in /docs/integrations/postgres-connect.html (Juppy -> Jupy)
Issue number
Closes #845
Checklist before requesting a review

[x] Performed a self-review of my code
[x] Formatted my code with pkgmt format
[x] Added docstring documentation and update the changelog (when needed)

:books: Documentation preview :books:: https://jupysql--860.org.readthedocs.build/en/860/

congrats on your first contribution! 🎉

authors: edublancas nooodle-soup

repo: ploomber/jupysql


text:
move from pandas-datareader and morningstar to IEX

Existing code didnt work, this does, if you're interested.

🙇 Thanks @timkpaine

authors: bcdunbar timkpaine

repo: plotly/dash-stock-tickers-demo-app


text:
Fix live update demos

For some reason POST /_dash-update-component happens multiple times per update in these demos (e.g. https://github.com/plotly/dasher/blob/master/demo/live-updates.R). This could be an issue in dash-renderer, but perhaps I need to investigate how fiery/routr/httpuv resolves multiple scheduled requests.

We no longer have demos inside the dash package, and any issues with live demos should be raised in the gallery repo, so closing this one.

authors: cpsievert rpkyle

repo: plotly/dashR


text:
add autocolorscale false when user updates colorscale

closes: #817

I've just tried this locally, and Style/Traces works, it works for multiple traces as well (ex 2 histogram traces, styling both from the 'by type' panel, or 'individually'

💃

authors: VeraZab nicolaskruchten

repo: plotly/react-chart-editor


text:
LayoutPanel and AxesFold better as 1st class components

We have a number of other trivial implementations of connectedComponents that are exported through /fields or /containers. Why not these?

This is done :)

authors: bpostlethwaite nicolaskruchten


text:
Add inferno-ml-server-types package

Adds the inferno-ml-server-types package containing the API for a server that can evaluate Inferno scripts using ML primitives. There is no actual implementation of inferno-ml-server here
This and the whole Inferno ML infrastructure is still a WIP. However, a WIP implementation will need to be merged here in order to merge some WIPs in other repos. The following at least are not yet complete:

making a polymorphic prelude for inferno-ml that doesn't depend on hasktorch (helpful for typechecking in cases where we can't use hasktorch)
golden and other tests for the new types; however, since many of the types are polymorphic on something, it probably makes more sense to just add them in one of the places where inferno-ml-server or the bridge server are implemented
a metrics endpoint for inferno-ml-server

I've also made a few changes to inferno-ml, which are listed in the changelog

Thanks @siddharth-krishna, I will address some of the comments/ideas as I keep working on this

repo: plow-technologies/inferno


text:
🛑 Pierced Arrows is down

In 8ac264b, Pierced Arrows (https://www.piercedarrows.nl) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Pierced Arrows is back up in d7dc66a after 23 minutes.


text:
🛑 Dick Pluim.com is down

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

HTTP code: 0
Response time: 0 ms

Resolved: Dick Pluim.com is back up in 45e0f3a after 17 minutes.


text:
🛑 Dick Pluim.com is down

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

HTTP code: 0
Response time: 0 ms

Resolved: Dick Pluim.com is back up in f1297ec after 13 minutes.


text:
🛑 Dick Pluim.com is down

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

HTTP code: 0
Response time: 0 ms

Resolved: Dick Pluim.com is back up in e96156a after 10 minutes.


text:
🛑 My Grafana dashboard is down

In e347274, My Grafana dashboard (https://$UPPTIME_GRAFANA) was down:

HTTP code: 0
Response time: 0 ms

Resolved: My Grafana dashboard is back up in 38dbcdd after 11 minutes.


text:
Method not allowed

Just for a quick test, I've run ./flydav in Termux and tried to connect to the displayed URL with a browser. Immediately, I got "Method not allowed" message.
Any help?
The method is GET.
Also, I'm getting errors from JS, which tries to check if the server is alive by running Options request. I wonder if this fails due to CORS and will check that separately.

Could you provide the curl command that reproduce this problem?

Could you provide the curl command that reproduce this problem?

Most likely not that particular one because it happens in a browser an Android so I can't see the exact network traffic. I can only see the log output from flydav.
I can try to reproduce the same setup on Windows and see what happens.

Thanks for the feedback. I think I should try this on an Android device later.

I ran the server in Termux and used Firefox Dev to connect to the URL displayed when the server started.
A very simple initial  smoke test.

authors: alensiljak pluveto

repo: pluveto/flydav


text:
🛑 Techrad is down

In cf67fc4, Techrad (https://techrad.eu) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Techrad is back up in 0f39a49 after 5 minutes.


text:
JS and JSON basics

some refresher material

some basics


text:
'NoneType' object has no attribute 'rasterise'

Thank you for opensourcing the great work.
My environment is Ubuntu 18.04, RTX 2070. Now I can successfully make and install DIRT.
But when I run test, I got
WARNING: failed to load librasterise.so; rasterisation functions will be unavailable:
 /home/rayu/Projects/HOnnotate/dirt/dirt/librasterise.so: undefined symbol: _ZN10tensorflow7strings8internal9CatPiecesB5cxx11ESt16initializer_listIN4absl11string_viewEE
WARNING:tensorflow:From tests/square_test.py:43: The name tf.Session is deprecated. Please use tf.compat.v1.Session instead.

2021-01-23 12:28:30.777188: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1
2021-01-23 12:28:30.819102: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:983] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2021-01-23 12:28:30.819712: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1618] Found device 0 with properties:
name: GeForce RTX 2070 with Max-Q Design major: 7 minor: 5 memoryClockRate(GHz): 1.125
pciBusID: 0000:01:00.0
2021-01-23 12:28:30.827329: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.0
2021-01-23 12:28:30.840414: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10.0
2021-01-23 12:28:30.846988: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10.0
2021-01-23 12:28:30.849245: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10.0
2021-01-23 12:28:30.863268: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10.0
2021-01-23 12:28:30.873064: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10.0
2021-01-23 12:28:30.897700: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7
2021-01-23 12:28:30.897806: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:983] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2021-01-23 12:28:30.898216: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:983] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2021-01-23 12:28:30.898548: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1746] Adding visible gpu devices: 0
2021-01-23 12:28:30.921198: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
2021-01-23 12:28:30.925201: I tensorflow/core/platform/profile_utils/cpu_utils.cc:94] CPU Frequency: 2299965000 Hz
2021-01-23 12:28:30.925575: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x55e07c53c080 initialized for platform Host (this does not guarantee that XLA will be used). Devices:
2021-01-23 12:28:30.925588: I tensorflow/compiler/xla/service/service.cc:176]   StreamExecutor device (0): Host, Default Version
2021-01-23 12:28:30.973652: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:983] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2021-01-23 12:28:30.974148: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x55e07c53bb70 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices:
2021-01-23 12:28:30.974162: I tensorflow/compiler/xla/service/service.cc:176]   StreamExecutor device (0): GeForce RTX 2070 with Max-Q Design, Compute Capability 7.5
2021-01-23 12:28:30.974264: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:983] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2021-01-23 12:28:30.974581: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1618] Found device 0 with properties:
name: GeForce RTX 2070 with Max-Q Design major: 7 minor: 5 memoryClockRate(GHz): 1.125
pciBusID: 0000:01:00.0
2021-01-23 12:28:30.974602: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.0
2021-01-23 12:28:30.974609: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10.0
2021-01-23 12:28:30.974615: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10.0
2021-01-23 12:28:30.974621: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10.0
2021-01-23 12:28:30.974629: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10.0
2021-01-23 12:28:30.974636: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10.0
2021-01-23 12:28:30.974643: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7
2021-01-23 12:28:30.974669: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:983] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2021-01-23 12:28:30.974985: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:983] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2021-01-23 12:28:30.975285: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1746] Adding visible gpu devices: 0
2021-01-23 12:28:30.975304: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.0
2021-01-23 12:28:30.979038: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1159] Device interconnect StreamExecutor with strength 1 edge matrix:
2021-01-23 12:28:30.979050: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1165]      0
2021-01-23 12:28:30.979055: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1178] 0:   N
2021-01-23 12:28:30.979112: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:983] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2021-01-23 12:28:30.979442: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:983] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2021-01-23 12:28:30.979763: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1304] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 7264 MB memory) -> physical GPU (device: 0, name: GeForce RTX 2070 with Max-Q Design, pci bus id: 0000:01:00.0, compute capability: 7.5)
Traceback (most recent call last):
  File "tests/square_test.py", line 61, in <module>
    main()
  File "tests/square_test.py", line 47, in main
    dirt_pixels = get_dirt_pixels().eval()
  File "tests/square_test.py", line 35, in get_dirt_pixels
    height=canvas_height, width=canvas_width, channels=1
  File "/home/rayu/Projects/HOnnotate/dirt/dirt/rasterise_ops.py", line 48, in rasterise
    return rasterise_batch(background[None], vertices[None], vertex_colors[None], faces[None], height, width, channels, name)[0]
  File "/home/rayu/Projects/HOnnotate/dirt/dirt/rasterise_ops.py", line 81, in rasterise_batch
    return _rasterise_module.rasterise(
AttributeError: 'NoneType' object has no attribute 'rasterise'

I'm using conda to set the python environment.
# packages in environment at /home/rayu/miniconda3/envs/hon:
#
# Name                    Version                   Build  Channel
_libgcc_mutex             0.1                        main    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
_tflow_select             2.1.0                       gpu    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
absl-py                   0.11.0             pyhd3eb1b0_1    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
astor                     0.8.1                    py37_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
blas                      1.0                         mkl    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
c-ares                    1.17.1               h27cfd23_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
ca-certificates           2021.1.19            h06a4308_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
certifi                   2020.12.5        py37h06a4308_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
cudatoolkit               10.0.130                      0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
cudnn                     7.6.5                cuda10.0_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
cupti                     10.0.130                      0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
dirt                      0.3.0                     dev_0    <develop>
gast                      0.2.2                    py37_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
google-pasta              0.2.0                      py_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
grpcio                    1.31.0           py37hf8bcb03_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
h5py                      2.10.0           py37hd6299e0_1    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
hdf5                      1.10.6               hb1b8bf9_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
importlib-metadata        2.0.0                      py_1    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
intel-openmp              2020.2                      254    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
keras-applications        1.0.8                      py_1    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
keras-preprocessing       1.1.0                      py_1    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
ld_impl_linux-64          2.33.1               h53a641e_7    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
libedit                   3.1.20191231         h14c3975_1    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
libffi                    3.3                  he6710b0_2    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
libgcc-ng                 9.1.0                hdf63c60_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
libgfortran-ng            7.3.0                hdf63c60_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
libprotobuf               3.13.0.1             hd408876_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
libstdcxx-ng              9.1.0                hdf63c60_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
markdown                  3.3.3            py37h06a4308_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
mkl                       2020.2                      256    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
mkl-service               2.3.0            py37he8ac12f_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
mkl_fft                   1.2.0            py37h23d657b_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
mkl_random                1.1.1            py37h0573a6f_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
ncurses                   6.2                  he6710b0_1    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
numpy                     1.19.2           py37h54aff64_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
numpy-base                1.19.2           py37hfa32c7d_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
openssl                   1.1.1i               h27cfd23_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
opt_einsum                3.1.0                      py_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
pip                       20.3.3           py37h06a4308_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
protobuf                  3.13.0.1         py37he6710b0_1    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
python                    3.7.9                h7579374_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
readline                  8.0                  h7b6447c_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
scipy                     1.5.2            py37h0b6359f_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
setuptools                51.3.3           py37h06a4308_4    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
six                       1.15.0           py37h06a4308_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
sqlite                    3.33.0               h62c20be_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
tensorboard               1.15.0             pyhb230dea_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
tensorflow                1.15.0          gpu_py37h0f0df58_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
tensorflow-base           1.15.0          gpu_py37h9dcbed7_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
tensorflow-estimator      1.15.1             pyh2649769_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
tensorflow-gpu            1.15.0                   pypi_0    pypi
termcolor                 1.1.0                    py37_1    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
tk                        8.6.10               hbc83047_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
webencodings              0.5.1                    py37_1    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
werkzeug                  0.16.1                     py_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
wheel                     0.36.2             pyhd3eb1b0_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
wrapt                     1.12.1           py37h7b6447c_1    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
xz                        5.2.5                h7b6447c_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
zipp                      3.4.0              pyhd3eb1b0_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
zlib                      1.2.11               h7b6447c_3    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main

Hi,
did you resolve this issue?

Hi,
did you resolve this issue?

Thank you for opensourcing the great work.
My environment is Ubuntu 18.04, RTX 2070. Now I can successfully make and install DIRT.
But when I run test, I got
WARNING: failed to load librasterise.so; rasterisation functions will be unavailable:
 /home/rayu/Projects/HOnnotate/dirt/dirt/librasterise.so: undefined symbol: _ZN10tensorflow7strings8internal9CatPiecesB5cxx11ESt16initializer_listIN4absl11string_viewEE
WARNING:tensorflow:From tests/square_test.py:43: The name tf.Session is deprecated. Please use tf.compat.v1.Session instead.

2021-01-23 12:28:30.777188: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1
2021-01-23 12:28:30.819102: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:983] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2021-01-23 12:28:30.819712: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1618] Found device 0 with properties:
name: GeForce RTX 2070 with Max-Q Design major: 7 minor: 5 memoryClockRate(GHz): 1.125
pciBusID: 0000:01:00.0
2021-01-23 12:28:30.827329: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.0
2021-01-23 12:28:30.840414: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10.0
2021-01-23 12:28:30.846988: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10.0
2021-01-23 12:28:30.849245: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10.0
2021-01-23 12:28:30.863268: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10.0
2021-01-23 12:28:30.873064: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10.0
2021-01-23 12:28:30.897700: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7
2021-01-23 12:28:30.897806: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:983] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2021-01-23 12:28:30.898216: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:983] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2021-01-23 12:28:30.898548: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1746] Adding visible gpu devices: 0
2021-01-23 12:28:30.921198: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
2021-01-23 12:28:30.925201: I tensorflow/core/platform/profile_utils/cpu_utils.cc:94] CPU Frequency: 2299965000 Hz
2021-01-23 12:28:30.925575: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x55e07c53c080 initialized for platform Host (this does not guarantee that XLA will be used). Devices:
2021-01-23 12:28:30.925588: I tensorflow/compiler/xla/service/service.cc:176]   StreamExecutor device (0): Host, Default Version
2021-01-23 12:28:30.973652: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:983] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2021-01-23 12:28:30.974148: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x55e07c53bb70 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices:
2021-01-23 12:28:30.974162: I tensorflow/compiler/xla/service/service.cc:176]   StreamExecutor device (0): GeForce RTX 2070 with Max-Q Design, Compute Capability 7.5
2021-01-23 12:28:30.974264: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:983] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2021-01-23 12:28:30.974581: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1618] Found device 0 with properties:
name: GeForce RTX 2070 with Max-Q Design major: 7 minor: 5 memoryClockRate(GHz): 1.125
pciBusID: 0000:01:00.0
2021-01-23 12:28:30.974602: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.0
2021-01-23 12:28:30.974609: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10.0
2021-01-23 12:28:30.974615: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10.0
2021-01-23 12:28:30.974621: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10.0
2021-01-23 12:28:30.974629: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10.0
2021-01-23 12:28:30.974636: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10.0
2021-01-23 12:28:30.974643: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7
2021-01-23 12:28:30.974669: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:983] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2021-01-23 12:28:30.974985: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:983] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2021-01-23 12:28:30.975285: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1746] Adding visible gpu devices: 0
2021-01-23 12:28:30.975304: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.0
2021-01-23 12:28:30.979038: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1159] Device interconnect StreamExecutor with strength 1 edge matrix:
2021-01-23 12:28:30.979050: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1165]      0
2021-01-23 12:28:30.979055: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1178] 0:   N
2021-01-23 12:28:30.979112: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:983] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2021-01-23 12:28:30.979442: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:983] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2021-01-23 12:28:30.979763: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1304] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 7264 MB memory) -> physical GPU (device: 0, name: GeForce RTX 2070 with Max-Q Design, pci bus id: 0000:01:00.0, compute capability: 7.5)
Traceback (most recent call last):
  File "tests/square_test.py", line 61, in <module>
    main()
  File "tests/square_test.py", line 47, in main
    dirt_pixels = get_dirt_pixels().eval()
  File "tests/square_test.py", line 35, in get_dirt_pixels
    height=canvas_height, width=canvas_width, channels=1
  File "/home/rayu/Projects/HOnnotate/dirt/dirt/rasterise_ops.py", line 48, in rasterise
    return rasterise_batch(background[None], vertices[None], vertex_colors[None], faces[None], height, width, channels, name)[0]
  File "/home/rayu/Projects/HOnnotate/dirt/dirt/rasterise_ops.py", line 81, in rasterise_batch
    return _rasterise_module.rasterise(
AttributeError: 'NoneType' object has no attribute 'rasterise'

I'm using conda to set the python environment.
# packages in environment at /home/rayu/miniconda3/envs/hon:
#
# Name                    Version                   Build  Channel
_libgcc_mutex             0.1                        main    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
_tflow_select             2.1.0                       gpu    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
absl-py                   0.11.0             pyhd3eb1b0_1    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
astor                     0.8.1                    py37_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
blas                      1.0                         mkl    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
c-ares                    1.17.1               h27cfd23_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
ca-certificates           2021.1.19            h06a4308_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
certifi                   2020.12.5        py37h06a4308_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
cudatoolkit               10.0.130                      0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
cudnn                     7.6.5                cuda10.0_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
cupti                     10.0.130                      0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
dirt                      0.3.0                     dev_0    <develop>
gast                      0.2.2                    py37_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
google-pasta              0.2.0                      py_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
grpcio                    1.31.0           py37hf8bcb03_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
h5py                      2.10.0           py37hd6299e0_1    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
hdf5                      1.10.6               hb1b8bf9_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
importlib-metadata        2.0.0                      py_1    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
intel-openmp              2020.2                      254    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
keras-applications        1.0.8                      py_1    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
keras-preprocessing       1.1.0                      py_1    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
ld_impl_linux-64          2.33.1               h53a641e_7    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
libedit                   3.1.20191231         h14c3975_1    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
libffi                    3.3                  he6710b0_2    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
libgcc-ng                 9.1.0                hdf63c60_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
libgfortran-ng            7.3.0                hdf63c60_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
libprotobuf               3.13.0.1             hd408876_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
libstdcxx-ng              9.1.0                hdf63c60_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
markdown                  3.3.3            py37h06a4308_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
mkl                       2020.2                      256    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
mkl-service               2.3.0            py37he8ac12f_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
mkl_fft                   1.2.0            py37h23d657b_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
mkl_random                1.1.1            py37h0573a6f_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
ncurses                   6.2                  he6710b0_1    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
numpy                     1.19.2           py37h54aff64_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
numpy-base                1.19.2           py37hfa32c7d_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
openssl                   1.1.1i               h27cfd23_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
opt_einsum                3.1.0                      py_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
pip                       20.3.3           py37h06a4308_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
protobuf                  3.13.0.1         py37he6710b0_1    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
python                    3.7.9                h7579374_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
readline                  8.0                  h7b6447c_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
scipy                     1.5.2            py37h0b6359f_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
setuptools                51.3.3           py37h06a4308_4    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
six                       1.15.0           py37h06a4308_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
sqlite                    3.33.0               h62c20be_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
tensorboard               1.15.0             pyhb230dea_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
tensorflow                1.15.0          gpu_py37h0f0df58_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
tensorflow-base           1.15.0          gpu_py37h9dcbed7_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
tensorflow-estimator      1.15.1             pyh2649769_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
tensorflow-gpu            1.15.0                   pypi_0    pypi
termcolor                 1.1.0                    py37_1    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
tk                        8.6.10               hbc83047_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
webencodings              0.5.1                    py37_1    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
werkzeug                  0.16.1                     py_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
wheel                     0.36.2             pyhd3eb1b0_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
wrapt                     1.12.1           py37h7b6447c_1    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
xz                        5.2.5                h7b6447c_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
zipp                      3.4.0              pyhd3eb1b0_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
zlib                      1.2.11               h7b6447c_3    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main

I have encountered the same problem, how to resolve it, please？

Hey @callmeray, were you able to solve this issue?

authors: callmeray hosseinjavidnia huangfaan sahil-syze


text:
⚠ Slack has degraded performance

In ae939bd, Slack (https://status.slack.com/api/v2.0.0/current) experienced degraded performance:

HTTP code: 200
Response time: 38 ms

Resolved: Slack performance has improved in 71dd05f.

repo: pmmmwh/upptime


text:
yarn create with typescript cause error

I test with without command -ts or --typescript, it works well.
When I try to create with typescript it cause this error.
 > Success! Folder and files created for pathTraceTest

> Installing packages...

> Success! Installed dependencies for pathTraceTest

> Installing packages for TypeScript...

> Success! Installed dependencies for TypeScript

> Initializing for TypeScript...

> Success! Succeed to initialize for TypeScript

node:internal/process/promises:288
            triggerUncaughtException(err, true /* fromPromise */);
            ^

[Error: ENOENT: no such file or directory, scandir '/Users/planningo/planningo/pathTraceTest/app'] {
  errno: -2,
  code: 'ENOENT',
  syscall: 'scandir',
  path: '/Users/planningo/planningo/pathTraceTest/app'
}

Node.js v18.0.0
error Command failed.
Exit code: 1
Command: /usr/local/bin/create-r3f-app
Arguments: next pathTraceTest tailwind -ts
Directory: /Users/planningo/planningo
Output:

I tried install node-sass and npm rebuild node-sass but it wasn't helped
when I look generated project it has no /app directory also.(I think it is not needed right?)

Cursory glance hereand here reveals a possible source of the issue.

Thanks! Just published a patch with this fix on create-r3f-app.
https://github.com/utsuboco/create-r3f-app/commit/320feb79ac293aab49f4419b7370b2238c37dc82
Should also fix #125

authors: RenaudRohlinger Suprhimp blairjordan

repo: pmndrs/react-three-next


text:
Pointer touch set to true is no longer calling drag handler

Describe the bug
pointer.touch: true no longer working on mobile
Sandbox or Video
https://codesandbox.io/s/dawn-wood-ovi8f?file=/src/App.js
Test link:  https://ovi8f.csb.app/
In the test, if you touch the top box on mobile, it won't execute the drag handler.  The bottom box proceeds just fine.  I've ensured touch-action is set to none on the draggable element, as shown in the code sandbox.

Information:
Tested on various versions of iOS simulator and Android
Checklist:

[x ] I've read the documentation.
[ x] If this is an issue with drag, I've tried setting touch-action: none to the draggable element.

This was originally working in my codebase, and stopped working after rebuilding package-lock.json from scratch.  Updated to latest @user-gesture/react and still experiencing issue.

Seems like it is related to this line of code:
https://github.com/pmndrs/use-gesture/blob/ec3b80a398d9e240d8ed91faf99fd1790c1ef4e8/packages/core/src/engines/DragEngine.ts#L87
I encountered the same issue and after I manually set pointer.buttons to -1, it works.

Sorry about this, I'll release a fix today.

@dbismut I've submitted a pull request. I tested on my project and it looks ok. Please take a look at it. Thanks a lot! This bug is due to the operation priority.

Hi @awmleer thanks for the patch.
I revisited what I was working with and was able to get it to work with the pointer events correctly, but if I wind up in the dilemma I was in before, I'll keep this in mind.

authors: awmleer dbismut jzombie

repo: pmndrs/use-gesture


text:
2601 - Extend cli doctor

#2601 Extend cli doctor with cli configuration

Adds cli configuration to cli doctor command. Closes #2601

Awesome! Thank you so much for such a quick turnaround. We'll review it in the coming days

Merged manually. Thank you! 👏

authors: vipulkelkar waldekmastykarz


text:
Sharing is Caring Power App Sample - cnoukas

Category

[x] New Sample

What's in this Pull Request?
Power Apps Calendar Component

@cnoukas Excellent work! Thank you! 🤗 Great stuff!! 💜🧡

authors: PopWarner cnoukas

repo: pnp/powerapps-samples


text:
Fixed typo in Install-Module PnP.PowerShell command

Type

[x] Bug Fix

What is in this Pull Request ?
Fixed typo in Install-Module PnP.PowerShell command. Space was required between in Install-Module and PnP.PowerShell at line: Install-ModulePnP.PowerShell -Scope CurrentUser -AllowPrerelease

Thanks for noticing and correcting @ganesh-sanap !

authors: KoenZomers ganesh-sanap

repo: pnp/powershell


text:
feat: updated the script to use the latest "gpt-3.5-turbo" language model

Updated the script to use the latest "gpt-3.5-turbo" language model - https://platform.openai.com/docs/guides/chat

Hey @anoopt, awesome update! Really cool sample. This should be live shortly 😊

authors: anoopt pkbullock

repo: pnp/script-samples