text:
bug in hidden state?

Hi,
Thanks for the good work! I am wondering should https://github.com/deepsound-project/samplernn-pytorch/blob/master/model.py#L49 be:

h0 = torch.zeros(n_rnn, batch_size, dim)?

I noticed the expand function is used later, but it seems using the expand function the values are shared. Is this a bug?

Many thanks!
Qiuqiang

I found the .contiguous() function fixed this problem.

repo: deepsound-project/samplernn-pytorch


text:
Unsubscribe Error After Record is Deleted

Scenario:
Client A (JS) is subscribed to the a record. Client B (Server, PHP) sends and event to client A which initiates a process that will in part discard the record. After the event is sent, Client B deletes the record.
Client A calls discard, before receiving deleted event from server. By the time discard method gets processed the record does not exist and the server returns an error to the client.
Its possible to work around this, by letting the delete event process instead of calling discard, but the code in my case is used in scenarios were the record is deleted and when its not. So the event would have to differentiate the outcome of the record.
To keep things simpler, it would be better to have the server not send the error at all. Is there a purpose for sending an error on an unsubscribe if the client is already unsubscribed?. It seems to me that due to the asynchronous nature of the system, that we should simply just acknowledge the unsubscribe and just not do anything rather than return an error.
If the message has a purpose with other uses of the subscription registry, I would propose using the silent parameter to squelch the error.

@datasage thanks for raising this. This fix is in version 2.3.0

source: gharchive/issue

authors: AlexBHarley datasage

license: mit

license_type: permissive

license_source: bigquery


text:
Generation is broken for OSCAL component-defintion 1.1.1

Unable to generate golang structs for Component Definition 1.1.1

Resolved by #28

repo: defenseunicorns/go-oscal

license_source: github-api


text:
feat: package generation (#821)

Description
Introduce Zarf package generation from a source
...
Related Issue
Fixes #821
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Other (security config, docs update, etc)

Checklist before merging

[ ] Test, docs, adr added or updated as needed
[ ] Contributor Guide Steps followed

I was able to smoke test function pre and post rebase via:
mkdir tmp-gen && cd tmp-gen
helm pull oci://ghcr.io/stefanprodan/charts/podinfo && tar -xf podinfo-6.5.4.tgz
../build/zarf-mac-apple package generate my-podinfo --from ./podinfo

Both produced zarf.yaml
kind: ZarfPackageConfig
metadata:
  name: my-podinfo
components:
- name: component-local-chart-podinfo-87f03f37-b831-4968-8b5b-acf0a54530b6
  charts:
  - name: podinfo
    version: 6.5.4
    localPath: ./podinfo
    namespace: zarf-generated-local-chart-podinfo

a few things to chase down/confirm:

ZarfCreateOptions.{CachePath,Insecure} moved to ZarfCommonOptions.{CachePath,Insecure}
ZarfCreateOptions.OutputDirectory >> move to? maybe ZarfPullOptions.OutputDirectory
a few merge conflicts were due to functionality partially ported to pkg, need to confirm no more internal functionality  exists that has been moved

a few things I know can be improved:

switch blocks in package Generate command
check implementation for new package structure in zarf

LGTM, we will need approval from someone else on the zarf team

source: gharchive/pull-request

repo: defenseunicorns/zarf


text:
Need the ability to turn off disk metrics in telegraf

For some reason you cant collect disk metrics on a coreos box.

What issue are you seeing I collect disk stats perfectly fine with telegraf on CoreOS.

This might be an issue with my cluster but I cant seem to run df on my cluster and telegraf bombs out too

What version of CoreOS are you running?  I tend to run stable and I'm currently on 1122.2.0  df works perfectly fine.

@sstarcher @jchauncey is probably talking about these errors:
2016/10/25 00:27:10 E! ERROR in input [inputs.disk]: error getting disk usage info: too many levels of symbolic links
2016/10/25 00:27:20 E! ERROR in input [inputs.disk]: error getting disk usage info: too many levels of symbolic links
2016/10/25 00:27:30 E! ERROR in input [inputs.disk]: error getting disk usage info: too many levels of symbolic links

My fix on CoreOS stable for that was to make sure that binfmt_misc was mounted before docker via a docker.service systemd drop-in:
coreos:
  units:
    - name: docker.service
      drop-ins:
        - name: 60-mount-binfmt-misc.conf
          content: |
            [Unit]
            Wants=proc-sys-fs-binfmt_misc.mount
            After=proc-sys-fs-binfmt_misc.mount

My git commit message for that change said:

Add workaround for binfmt_misc automount issues
Without this fix storage monitoring in telegraf is not working because
the try to trigger the automount of /rootfs/proc/sys/fs/binfmt_misc
fails and causes a "Too many levels of symbolic links" error.

Unfortunately that doesn't seem to be working on CoreOS beta (1185.2.0) anymore, which my k8s 1.4.x clusters are based on, as the logs above show.
I haven't yet found the time to attach systrace or sysdig to telegraf to see if it is indeed the same issue.

@felixbuenemann we also run the same thing, but we are on stable which is still working.

Is there anything we can do on our end to fix this or shall we close this as a known issue with certain CoreOS releases?

The problem @felixbuenemann talked about was different than the issue I was seeing. I fixed my problem by just asking for metrics on /.

authors: bacongobbler felixbuenemann jchauncey sstarcher

repo: deis/monitor

license: MIT


text:
Vague error message when there is no SSH key for push/pull operations.

Following Quick Start documentation and everything passing checks. Got to the step:
deis pull deis/example-go -a zydeco-airfield
results were:
Creating build... Error:
500 Internal Server Error
detail: Server Error
the underlying issue was that I hadn't added an SSH key for git operations.

deis pull does not require an SSH key to deploy the image. Do you have server logs to share?

Where would I find those?

Please see my comment in your last issue.

Here is the log from the controller. Which other components should I get the logs for?
Also, quick question. How do I shutdown Workflow and Kuberenetes? I want to do that after getting the logs. And you are right of course... without SSH key in agent it still works.
controller.txt
Also,

From the gist, I see
sock.connect(self.unix_socket)
PermissionError: [Errno 13] Permission denied

Which is a symptom of https://github.com/deis/controller/issues/801. I'm going to close this as a duplicate so please post there and see if the workaround in that issue works for you.
The only way to "shut down" workflow is to uninstall it. :)

authors: bacongobbler jwalters-gpsw

repo: deis/workflow


text:
Docker host access flag causing panic

Describe the bug
The new --allow-docker-host-access flag causes a panic
To Reproduce
Steps to reproduce the behavior:

Run porter install using the --allow-docker-host-access flag

Expected behavior
No panic :)
Porter Command and Output
$ porter install  --debug --allow-docker-host-access
...
Resolved storage plugin to storage.porter.filesystem
<my_homedir>/.porter/porter plugin run storage.porter.filesystem
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x229f483]

goroutine 1 [running]:
get.porter.sh/porter/pkg/cnab/provider.(*Runtime).dockerDriverWithHostAccess.func1(0xc0002fe8c0, 0xc00056ed80, 0x10, 0x10)
	/home/vsts/work/1/s/gopath/src/get.porter.sh/porter/pkg/cnab/provider/driver.go:78 +0x33
github.com/cnabio/cnab-go/driver/docker.(*Driver).exec(0xc000402540, 0xc00042cd00, 0x0, 0x0, 0x0)
	/home/vsts/work/1/s/gopath/pkg/mod/github.com/cnabio/cnab-go@v0.10.1-beta1/driver/docker/docker.go:168 +0x4ed
github.com/cnabio/cnab-go/driver/docker.(*Driver).Run(0xc000402540, 0xc00042cd00, 0x3, 0xc00042cd00, 0x0)
	/home/vsts/work/1/s/gopath/pkg/mod/github.com/cnabio/cnab-go@v0.10.1-beta1/driver/docker/docker.go:38 +0x35
github.com/cnabio/cnab-go/action.(*Install).Run(0xc0006395b8, 0xc000301c70, 0xc000551620, 0xc0003c64e0, 0x3, 0x3, 0xc0003d18c0, 0xc0004549a0)
	/home/vsts/work/1/s/gopath/pkg/mod/github.com/cnabio/cnab-go@v0.10.1-beta1/action/install.go:31 +0x176
get.porter.sh/porter/pkg/cnab/provider.(*Runtime).Install(0xc00049b890, 0xc0002265f0, 0x9, 0xc0002a0c40, 0x11, 0xc0003d18f0, 0xc0003d18c0, 0xc0004549a0, 0x1, 0x1, ...)
	/home/vsts/work/1/s/gopath/src/get.porter.sh/porter/pkg/cnab/provider/install.go:73 +0x8e6
get.porter.sh/porter/pkg/porter.(*Porter).InstallBundle(0xc0001ad400, 0x27f97ab, 0xb, 0xc0002a0c40, 0x11, 0x0, 0x0, 0xc0002265f0, 0x9, 0xc00019e800, ...)
	/home/vsts/work/1/s/gopath/src/get.porter.sh/porter/pkg/porter/install.go:47 +0x3cf
main.buildBundleInstallCommand.func2(0xc00020b180, 0xc000207a00, 0x0, 0x10, 0x0, 0x0)
	/home/vsts/work/1/s/gopath/src/get.porter.sh/porter/cmd/porter/bundle.go:114 +0x7e
github.com/spf13/cobra.(*Command).execute(0xc00020b180, 0xc000207700, 0x10, 0x10, 0xc00020b180, 0xc000207700)
	/home/vsts/work/1/s/gopath/pkg/mod/github.com/spf13/cobra@v0.0.5/command.go:826 +0x460
github.com/spf13/cobra.(*Command).ExecuteC(0xc0002b2a00, 0x0, 0x24edbc0, 0xc00009c058)
	/home/vsts/work/1/s/gopath/pkg/mod/github.com/spf13/cobra@v0.0.5/command.go:914 +0x2fb
github.com/spf13/cobra.(*Command).Execute(...)
	/home/vsts/work/1/s/gopath/pkg/mod/github.com/spf13/cobra@v0.0.5/command.go:864
main.main()
	/home/vsts/work/1/s/gopath/src/get.porter.sh/porter/cmd/porter/main.go:18 +0x27

Version
porter v0.26.0-beta.1 (b15c4109)
Tried using canary build, v0.26.0-beta.1-3-g1aa1a72f (1aa1a72f), and same error

To reproduce this use a bundle that doesn't have the following in the porter.yaml
required:
- docker

Looks like when we added in the ability for bundles to say they need docker, in #977, that was when this was introduced.

authors: carolynvs jdolitsky

repo: deislabs/porter


text:
Wired up e2e tests to use local KIND cluster

This will resolve the issue #62.
The steps have to be executed one by one, as shown below:
make create-kindcluster
make install-istio
make install-smi-crds
make test-e2e

Which makes it very simple to integrate with CI platforms.

Thanks @rinormaloku ! This looks great. I'm running into an error when running make create-kindcluster:
smi-adapter-istio [rinormaloku-kind-cluster*]$ make create-kindcluster
installing kind
GO111MODULE="on" go get sigs.k8s.io/kind@v0.5.1
go: github.com/peterbourgon/diskv@v0.0.0-20190425080511-0be1b92a6df0: go.mod has post-v0 module path "github.com/peterbourgon/diskv/v3" at revision 0be1b92a6df0
go: finding k8s.io/kubernetes v1.11.7-beta.0.0.20181219023948-b875d52ea96d
go: finding k8s.io/api v0.0.0-20180904230853-4e7be11eab3f
go: finding k8s.io/client-go v0.0.0-20180718001006-59698c7d9724
go: finding k8s.io/apiextensions-apiserver v0.0.0-20180905004947-16750353bf97
go: finding k8s.io/apimachinery v0.0.0-20180904193909-def12e63c512
go: error loading module requirements
make: *** [create-kindcluster] Error 1

Lmk if u have any ideas about why I might be getting this error.

Instead of compiling kind in CI (it takes about 2m) I've been using the binary https://github.com/weaveworks/flagger/blob/master/test/e2e-kind.sh#L19

@michelleN will check the issue in the coming days.
And thanks @stefanprodan for the great suggestion!

Thanks @rinormaloku ! This looks great. I'm running into an error when running make create-kindcluster:
smi-adapter-istio [rinormaloku-kind-cluster*]$ make create-kindcluster
installing kind
GO111MODULE="on" go get sigs.k8s.io/kind@v0.5.1
go: github.com/peterbourgon/diskv@v0.0.0-20190425080511-0be1b92a6df0: go.mod has post-v0 module path "github.com/peterbourgon/diskv/v3" at revision 0be1b92a6df0
go: finding k8s.io/kubernetes v1.11.7-beta.0.0.20181219023948-b875d52ea96d
go: finding k8s.io/api v0.0.0-20180904230853-4e7be11eab3f
go: finding k8s.io/client-go v0.0.0-20180718001006-59698c7d9724
go: finding k8s.io/apiextensions-apiserver v0.0.0-20180905004947-16750353bf97
go: finding k8s.io/apimachinery v0.0.0-20180904193909-def12e63c512
go: error loading module requirements
make: *** [create-kindcluster] Error 1

Lmk if u have any ideas about why I might be getting this error. I'll go ahead and just install the binary from the official releases for now to get past this.

I fixed it using the workaround suggested by @stefanprodan, where instead of building the binary we download the prebuilt one.

authors: michelleN rinormaloku stefanprodan

repo: deislabs/smi-adapter-istio


text:
Configuration of jetty?

I want to configure Jetty to use their own built in gzip compression instead of Rack Deflater.
How do I do that?

This issue tracker isn't exactly a support forum for Fishwife or Jetty, so I'm going to close this as not-a-bug.
I think Jetty offers some sort of Servlet Filter for this? You'll need to figure how to set that up embedded, which in Jetty world means setup using java code. Then translate that to jruby's syntax and plug it in by overriding Fishwife::HttpServer (and its RJack::Jetty::ServerFactory parent class) which does the embedded setup.

authors: dekellum lephyrius

repo: dekellum/fishwife


text:
data-on-click.outside problem

click on 0 should be RowID: 0, then 1 - 1 click on document should be outside. somehow outside works for 2 clicks and stops.

templ Test() {
	<!DOCTYPE html>

			<meta charset="UTF-8"/>
			<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
			<title>Document</title>

				RowID:

			for i := range 10 {
				<button data-on-click={ fmt.Sprintf("$row_id = '%d';", i) } data-on-click.outside="$row_id = 'outside';">Click me { strconv.Itoa(i) }</button>
			}

}

i think problem could be that https://github.com/delaneyj/datastar/blob/main/packages/library/src/lib/plugins/attributes.ts#L325 nothing resets called. with 2 different fields it still works for 1st 2 times and then never shows me .outside

https://alpinejs.dev/directives/on#stop https://alpinejs.dev/directives/on#outside

Hmm, got a PR in mind?  I'll have to play with it a bit to figure out the right approach.  Thanks for bringing to my attention

authors: blinkinglight delaneyj

repo: delaneyj/datastar


text:
New Feature - Not fail Jenkins build when test cases fail

Can we have a option to not fail the a Jenkins build or set the build to unstable status when a test case fails?
Have an option to have the return code always be 0?

You can override status code returned by Lightning as explained here:
http://stackoverflow.com/questions/14392349/dont-fail-jenkins-build-if-execute-shell-fails
This way you can make it always be 0.
If you want to set the build to unstable rather than failed, this is something you need to configure in your Jenkins job, rather than in Lightning:
http://stackoverflow.com/questions/25442343/failure-unstable-via-script-return-code
Does it solve your problem?

Yes, it does.
Thank you.

authors: automatictester kycan

repo: deliverymind/lightning


text:
Issue #543: Test automation script for inventory

Fixes #543
Description of the Solution
Ansible script for test inventory
Suggested Reviewers
@j0hnL @lwilson

@all-contributors add @vedaprakashanp for test, code

authors: lwilson vedaprakashanp

repo: dellhpc/omnia


text:
Background job to update delta table metadata cache

As we know, when user run query on delta table, it check for its last cached meta has passed configured value of spark.databricks.delta.stalenessLimit. If it is within the limit, it uses same cache and serves user query and in background update the cache asynchronusly. But if it has passed the configured value, it updates the cache synchronusly and then servs the user which adds of meta data update to query latency.
Since above event to upate the cache asynchronusly is user triggered, Can we have something which is not dependent of user trigger of meta update. It should update metacache on every scheduled interval.
This really saves few seconds of time taken to read metadata and improves query latency.

Hi @ashokblend - great suggestion. Would you be interested in proposing an API + implementing the initial PR? If not, no worries! And we can gage community interest (thumbs up and comments) on this feature on this ticket.

authors: ashokblend scottsand-db

repo: delta-io/delta


text:
Hide package private types and methods in javadoc

Add -P:genjavadoc:strictVisibility=true to scalac options in order to hide package private types and methods in javadoc.
Manually ran build/sbt clean unidoc and verified the generated javadoc doesn't show package private methods of DeltaTable.

@tdas I just found that Scala's private constructor is also public in byte codes. See:
$ javap -cp delta-core_2.12-0.3.0.jar io.delta.tables.DeltaTable
Compiled from "DeltaTable.scala"
public class io.delta.tables.DeltaTable implements io.delta.tables.execution.DeltaTableOperations {
  public static io.delta.tables.DeltaTable forPath(org.apache.spark.sql.SparkSession, java.lang.String);
  public static io.delta.tables.DeltaTable forPath(java.lang.String);
  public static io.delta.tables.DeltaTable apply(org.apache.spark.sql.Dataset<org.apache.spark.sql.Row>);
  public void executeDelete(scala.Option<org.apache.spark.sql.catalyst.expressions.Expression>);
  public scala.collection.Map<java.lang.String, org.apache.spark.sql.Column> toStrColumnMap(scala.collection.Map<java.lang.String, java.lang.String>);
  public org.apache.spark.sql.catalyst.plans.logical.UpdateTable makeUpdateTable(io.delta.tables.DeltaTable, scala.Option<org.apache.spark.sql.Column>, scala.collection.Seq<scala.Tuple2<java.lang.String, org.apache.spark.sql.Column>>);
  public org.apache.spark.sql.Dataset<org.apache.spark.sql.Row> executeHistory(scala.Option<java.lang.Object>);
  public void executeUpdate(scala.collection.Map<java.lang.String, org.apache.spark.sql.Column>, scala.Option<org.apache.spark.sql.Column>);
  public org.apache.spark.sql.Dataset<org.apache.spark.sql.Row> executeVacuum(org.apache.spark.sql.delta.DeltaLog, scala.Option<java.lang.Object>);
  public org.apache.spark.sql.catalyst.expressions.Expression tryResolveReferences(org.apache.spark.sql.SparkSession, org.apache.spark.sql.catalyst.expressions.Expression, org.apache.spark.sql.catalyst.plans.logical.LogicalPlan);
  public org.apache.spark.sql.delta.DeltaLog deltaLog();
  public org.apache.spark.sql.SparkSession sparkSession();
  public io.delta.tables.DeltaTable as(java.lang.String);
  public org.apache.spark.sql.Dataset<org.apache.spark.sql.Row> toDF();
  public org.apache.spark.sql.Dataset<org.apache.spark.sql.Row> vacuum(double);
  public org.apache.spark.sql.Dataset<org.apache.spark.sql.Row> vacuum();
  public org.apache.spark.sql.Dataset<org.apache.spark.sql.Row> history(int);
  public org.apache.spark.sql.Dataset<org.apache.spark.sql.Row> history();
  public void delete(java.lang.String);
  public void delete(org.apache.spark.sql.Column);
  public void delete();
  public void update(scala.collection.immutable.Map<java.lang.String, org.apache.spark.sql.Column>);
  public void update(java.util.Map<java.lang.String, org.apache.spark.sql.Column>);
  public void update(org.apache.spark.sql.Column, scala.collection.immutable.Map<java.lang.String, org.apache.spark.sql.Column>);
  public void update(org.apache.spark.sql.Column, java.util.Map<java.lang.String, org.apache.spark.sql.Column>);
  public void updateExpr(scala.collection.immutable.Map<java.lang.String, java.lang.String>);
  public void updateExpr(java.util.Map<java.lang.String, java.lang.String>);
  public void updateExpr(java.lang.String, scala.collection.immutable.Map<java.lang.String, java.lang.String>);
  public void updateExpr(java.lang.String, java.util.Map<java.lang.String, java.lang.String>);
  public io.delta.tables.DeltaMergeBuilder merge(org.apache.spark.sql.Dataset<org.apache.spark.sql.Row>, java.lang.String);
  public io.delta.tables.DeltaMergeBuilder merge(org.apache.spark.sql.Dataset<org.apache.spark.sql.Row>, org.apache.spark.sql.Column);
  public io.delta.tables.DeltaTable(org.apache.spark.sql.Dataset<org.apache.spark.sql.Row>);
}

I guess this is because the companion object needs to access the private constructor. E.g., io.delta.tables.DeltaTable$ needs to access io.delta.tables.DeltaTable's constructor.
Hence, we don't need to change private[tables] back to private for the io.delta.tables.DeltaTable's constructor as it still doesn't prevent users from accessing it.

Lgtm

authors: tdas zsxwing


text:
🛑 SearxNG is down

In 718038b, SearxNG (https://sx.eka.monster) was down:

HTTP code: 502
Response time: 289 ms

Resolved: SearxNG is back up in 4a35310.

repo: demonsteru/up


text:
fix(view): views don't update for new notes with self contained vaults

The issue was caused by the API stringifying properties passed to it. This meant selfContained: true would become selfContained: "true", and the engine would think that these are different vaults.
This issue was first discovered for the calendar view, but likely affected other views.
This fix solves the problem by parsing the stringified property. Also included are a few small refactors to use VaultUtils.isEqualV2.
Depends on #2747.

can you set the origin commit to calendar view? doesn't look like this is based off of master

Let's try to merge the calendar-view-migration shortly after we fix the Ubuntu run (expand mem for node in CI): https://github.com/dendronhq/dendron/pull/2747
Afterward, let's rebase this change off master.

It was a little hard to rebase this PR, so I decided to create a new PR instead. See here: #2790

authors: SeriousBug jonathanyeung

repo: dendronhq/dendron


text:
Clarification on the project

Hello,
I am trying to set up an EC2 instance as a central machine that manages and controls access to all my other EC2 instances.
Do I need to first install LDAP server on this and then use your plugin?
Regards,
Jyothi

@denismo I encountered the same issue
ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)
I do not want to use the pre-built AMI and want to configure in my ubuntu ec2 instance. I am using your latest binary package. Please advise. Thanks!!

This looks more like an infrastructure configuration issue. Is server running? Is it listening on the LDAP port? Is the port open in firewall? Is the port open in security group?

I followed the exact steps listed above by Jyothi. Its an ubuntu ec2 instance, server is running, no firewall, port 10389 open in security group. any other ports needs to be opened? The issue you had mentioned with the partition, is that fixed?

Is this how I start the server? How do I verify if its running? And what is an instance name?
~/apacheds/bin$ bash apacheds.sh
Usage: apacheds.sh []
If  is ommited, 'default' will be used.
 is one of start, stop.
:~/apacheds/bin$ bash apacheds.sh start
Starting ApacheDS instance 'default'...

@denismo I think I found the problem. Its because apacheds expects java to be under /bin/java while mine was user /usr/bin/java. Once I symlinked, I see the server is running.
However I see the below error with a custom rootDN in /etc/iam_ldap.conf. Please let me know if I should start a new thread. Thanks for your help.
org.apache.direc  tory.api.ldap.model.message.SearchRequestImpl@8623823: ERR_268 Cannot find a   partition for dc=test,dc=ldap,dc=com
With the default rootDN, I see this after running the ldapsearch command
 ldapsearch -H ldap://localhost:10389 -D "uid=admin,ou=system" -x -w secret -b "dc=iam,dc=aws,dc=org" "(objectclass=posixaccount)"
# extended LDIF
#
# LDAPv3
# base <dc=iam,dc=aws,dc=org> with scope subtree
# filter: (objectclass=posixaccount)
# requesting: ALL
#

# search result
search: 2
result: 0 Success

# numResponses: 1``

it's hard to tell. The root DN is created on start, whether it is default or custom. Do you see any exceptions in the log?

authors: ambikads denismo jgudavalli

repo: denismo/aws-iam-ldap-bridge


text:
Doc should infer simple TS types

no-inferrable-types lint rule tells to not use following types:

string
symbol
RegExp
number
boolean
bigint

But when using deno doc type is not specified.

Doc generator should be able to infer those types.
CC @SyrupThinker

I'll try to work on this.


text:
Notification Status Enhancement - Onsite Notifications

User Story - Business Need
Required. Please note you can have more than one story if applicable. If this is technical work achieving a larger initiative, the user story should represent that piece of the initiative, so it’s clear what problem we are solving.
User Story(ies)
As a Veteran
I want to see relevant notifications on My VA
So that I can follow through on actionable tasks or refer back to pertinent notices
As a QA Engineer
I want to quickly validate the success or failure of onsite notifications
So that I can ensure functionality is working as expected and quickly assist partners who need help testing
Problem to Solve: The process to trigger and validate onsite notifications is all manual and requires us to check cloudwatch logs to be 100% certain the onsite notification was a success.
Idea: As a person executing onsite notification tests, it's already part of the process to check the notification status (get notification in postman) for signs of success. You can be relatively certain onsite notifications were successful based on the IDs returned and overall status of the notification, but technically there's no certainty unless you go into cloudwatch and look for the logs for onsite notifications with a status_code of 200.

[ ] Discuss with QA before implementing code

Additional Info and Resources

The current testing and validation process is here

Engineering Checklist
Required

[ ] Swagger is update
[ ] A property is added to the notifications table indicating the onsite notification field
[ ] Values are determined for said property

Acceptance Criteria
Required

e.g. when I send an email using an identifier, we retrieve the user’s email address in VA Profile and successfully deliver the email to that recipient

GIVEN I am sending an email or sms notification through VA Notify with onsite notifications enabled
AND the onsite notification was sent successfully
WHEN I check the status of the sent notification
THEN I can see the onsite notification call was a success
GIVEN I am sending an email or sms notification through VA Notify with onsite notifications enabled
AND the onsite notification failed
WHEN I check the status of a notification
THEN I can see the onsite notification call failed
QA Considerations

[ ] Test onsite with a template using onsite, validate the GET notifications returns a property indicating that the onsite returned success
[ ] Test onsite with a template using onsite, validate the GET notifications returns a property indicating that the onsite returned failed
[ ] Spin up a ticket to automate this
Note that how this is tested depends on what property is added and what values are returned

Potential Dependencies
Leave blank if n/a
Out of Scope
Leave blank if n/a

Please add your planning poker estimate with Zenhub @cris-oddball

https://github.com/department-of-veterans-affairs/va.gov-team/tree/master/products/va-notify/onsite-notifications
^ for those who want to learn what this is

This is likely going to be canceled because onsite notifications are no longer enabled with va.gov. There's currently no plans to re-engage on this feature.

@kbelikova-oddball can review, but, we don't need this at this time.

authors: ldraney mjones-oddball npmartin-oddball


text:
Ruby: tag-based upgrade regressed at v0.104.1

We use dependabot a lot in my company's private repositories, and it's very helpful in updating dependencies on public libraries. However, we're experiencing difficulties in upgrading in-company dependencies.
Version
I've bisected using dependabot-core and I suspect the version v0.104.1 is the point of regression.
Reproduction
I've made a pair of small repositories for reproduction.
$ bin/dry-run.rb bundler qnighy/test_gem_2

In v0.104.0, test_gem_1 is bumped.
=== test_gem_1 (a8c11a3c8b3dfc1ede2e6885395c3409d60975a6)
 => checking for updates
 => requirements to unlock own
 => updating to 9e643df696ba42e553d547fd596421410c22239f

    ± Gemfile
    ~~~
    5c5
    < gem 'test_gem_1', git: 'https://github.com/qnighy/test_gem_1.git', tag: 'v0.1.0'
    ---
    > gem 'test_gem_1', git: 'https://github.com/qnighy/test_gem_1.git', tag: 'v0.2.0'
    ~~~

    ± Gemfile.lock
    ~~~
    3,4c3,4
    <   revision: a8c11a3c8b3dfc1ede2e6885395c3409d60975a6
    <   tag: v0.1.0
    ---
    >   revision: 9e643df696ba42e553d547fd596421410c22239f
    >   tag: v0.2.0
    6c6
    <     test_gem_1 (0.1.0)
    ---
    >     test_gem_1 (0.2.0)
    ~~~

In 0.104.1, test_gem_1 isn't bumped.
=== test_gem_1 (a8c11a3c8b3dfc1ede2e6885395c3409d60975a6)
 => checking for updates
 => requirements to unlock update_not_possible
    (no update available)

I've figured out why specs didn't work -- whether the gem is in the compact index matters. The specs mock responses for /versions/business.json, but don't mock responses for /versions.

And $HOME/.bundle/cache being reused.

Thanks for the detailed bug report here, and for the PR attempting to fix it.
Is the repo this is happening on using the hosted Dependabot app (i.e., https://dependabot.com)? If so, could you email support@dependabot.com with details of the repo and package name this is happening on? I'd like to take a quick look at an alternative fix and make sure it works.

Is the repo this is happening on using the hosted Dependabot app (i.e., https://dependabot.com)?

Yes.
I sent an email from ackie.h.gmai@gmail.com with relevant information.

Any update on this?

Just replied to your email with a clarifying question.

Fixed in https://github.com/dependabot/dependabot-core/commit/f1f1ace673c214e20760153473582743ef343a9f. Thanks so much for reporting this, and for bearing with us!

Thanks for fixing! It started to work again.

authors: greysteil qnighy

repo: dependabot/dependabot-core


text:
Support Kotlin when updating Gradle files

Trying to add a project like this one: https://github.com/JLLeitschuh/ktlint-gradle
Gives the following error:

Repo must contain a build.gradle.

The bot should support build.gradle.kts files, or even better, supporting *.gradle.kts files and *.gradle files.

More in depth information about this issue can be found here:

https://github.com/dependabot/dependabot-core/issues/1164
https://github.com/dependabot/feedback/issues/172#issuecomment-637591057

Until Kotlin DSL is supported I have a bit of a hack:
Add this to your parent build.gradle.kts (subprojects section for multi-module)
    tasks.register("createDependabotFile") {
        doLast {
            mkdir("$projectDir/dependabot")
            val file = File("$projectDir/dependabot/build.gradle")
            file.writeText( "// Do not edit manually! This file was created by the 'createDependabotFile' task defined in the root build.gradle.kts file.\n")
            file.appendText("dependencies {\n")
            project.configurations.getByName("runtimeClasspath").allDependencies
                    .filter { it.group != rootProject.name && it.version != null }
                    .forEach { file.appendText("    compile '${it.group}:${it.name}:${it.version}'\n") }
            project.configurations.getByName("testRuntimeClasspath").allDependencies
                    .filter { it.group != rootProject.name && it.version != null }
                    .forEach { file.appendText("    testCompile '${it.group}:${it.name}:${it.version}'\n") }
            file.appendText("}\n")
        }
    }

It will create a dummy build.gradle file in a dependabot directory.  Have dependabot analyse that build.gradle & make suggestions.  When you update your relevant kts file, then pull requests get closed automatically.
You might want to switch runtimeClasspath & testRuntimeClasspath to be runtimeClasspath & testRuntimeClasspath respectively.
I have this task run after Gradle sync in IntelliJ.
Feel free to improve!

Thank you @Jerbell and @teolemon for sharing your hacks, I used it with a multi module project and it worked. Just sharing here the github action for others who are seeking for a temp solution till the actual feature is available.
dependabot.yml
version: 2
updates:
  - package-ecosystem: "gradle"
    directory: "module-a/dependabot"
    schedule:
      interval: "daily"
  - package-ecosystem: "gradle"
    directory: "module-b/dependabot"
    schedule:
      interval: "daily"
  - package-ecosystem: "gradle"
    directory: "module-c/dependabot"
    schedule:
      interval: "daily"

Any update on this issue? Gradle supports kotlin for quite a while now and this issue is also open for over 2 years now. Is there any progress on this?

I, at Gradle, have been engaging in conversations with the GitHub team about this issue. But there is no timeline nor any commitment here yet. The component we are most likely to fix first is the 'Figuring out what dependencies your project has' as I detailed in my earlier post.
https://github.com/dependabot/dependabot-core/issues/2238#issuecomment-637591057
This will most likely be driven by a GitHub action since determining your resolved dependencies requires that Gradle's internal dependency resolver logic actually be executed to get accurate results.
At this time though, I can't commit to any sort of timeline on anything here. But this is something that I am passionate about solving in the near future.

In the meanwhile, renovate painlessly supports kotlin dsl and does grouped updates.

In the meanwhile, renovate painlessly supports kotlin dsl and does grouped updates.

I don't know what renovate is doing explicitly, but I'm guessing they are solving the problem "good enough" instead of "correctly". IE. There's probably a non-zero chance that a change that renovate makes doesn't actually upgrade the resolved dependency, only the declare dependency, thus leaving you still vulnerable. This is because Gradle dependencies declared in Gradle build files are not WYSIWYG. Plugins, other dependencies, and forced configuration rules can all change what dependency gets resolved.

Renovate determines Gradle dependencies by dynamically creating a task and then calling the repository's gradle wrapper to execute it: https://github.com/renovatebot/renovate/blob/master/lib/manager/gradle/gradle-updates-report.ts#L41-L62

If "good enough" instead of "correct" is fine for your organization or use case, don't let me stop you. My goal is go work with the dependabot team to get us as close to "correct" as possible.

An admirable goal and certainly one to aim for.
Unfortunately, I'm not sure I understand what alternative you are advocating for.
As far as I can tell (sorry if I missed something) -- until the "correct" solution you mention is available -- the choice for kotlin dsl support is between "good enough" (renovate, or any other of the available tools) and "not available" (dependabot).

Renovate determines Gradle dependencies by dynamically creating a task and then calling the repository's gradle wrapper to execute it: https://github.com/renovatebot/renovate/blob/master/lib/manager/gradle/gradle-updates-report.ts#L41-L62

Looking at that, that looks at declared dependencies, not the dependencies that Gradle resolves (IE. after dependency resolution happens, and all of the other version constraints are considered, what version is actually used by your build).

Support for .gradle.kts files has been added recently https://github.blog/changelog/2020-12-18-dependabot-gradle-kotlin-and-composer-v2-support/. Can this issue be closed?

Support for .gradle.kts files has been added recently https://github.blog/changelog/2020-12-18-dependabot-gradle-kotlin-and-composer-v2-support/. Can this issue be closed?

New year present came pretty quick!

New year present came pretty quick!

This is supported, we just forgot to close this! Closing 🎉

Thanks for adding this support, But sadly dependabot does not resolve dependencies if the versions numbers are defined in a separate file :(, Is there any workaround for this issue

even with adding it as a variable in the same gradle file we now get 2 PRs for the same dependency 🤔

@savvisingh @huehnerlady could you open new issues for the issues you've run into? Definitely shouldn't be creating two PRs to update the same dependency.
We've have plans to start cloning the full repository when updating dependencies which will make it easier to resolve any file references across the repo.

authors: Hakky54 JLLeitschuh Jerbell MysterAitch feelepxyz huehnerlady rarkins savvisingh vitusortner


text:
[Updater] GroupUpdateAllVersions now performs refreshes for existing PRs instead of deferring them to a separate job

For our initial iteration of grouped update scheduled jobs we choose the following strategy:

The scheduled GroupUpdateAllVersions job only runs for groups which do not have a pre-existing, open pull request
Separately, the service elects to enqueue a RefreshGroupUpdatePullRequest for these existing open pull requests

This approach optimised for avoiding a single Operation doing too much and prefer to run smaller jobs when we can, but a major drawback is it means that the primarily scheduled update job logs do not show these refreshes.
This is a pretty significant drawback as we currently do not do a great job of surfacing refresh/rebase logs in the UI.
Changes
This branch adds a small interface to allow the RefreshGroupUpdatePullRequest to have data about an existing pull request to be injected as an 'overlay' on the Dependabot::Job in order to allow GroupUpdateAllVersions to delegate to it to perform refresh operations in-line without having to incorporate the refresh logic directly.

We are parking this change for now as it requires some API changes that we need to hammer out the right direction on to move to this model.


text:
Add Symfony 5 support #SymfonyHackday

Add Symfony 5 support #SymfonyHackday
Don't hesitate to give me feedback.
We sould maybe update travis.yml as well ?

This could fix https://github.com/deployphp/deployer/issues/1965

repo: deployphp/phar-update


text:
🛑 Derailed API is down

In 5b15ccb, Derailed API (https://derailed.one/api) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Derailed API is back up in 8fd6dc2.

repo: derailed-org/derailed-oss-status


text:
🛑 Derailed Home is down

In f6019ba, Derailed Home (https://derailed.one) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Derailed Home is back up in fa3ec98.


text:
Multiple accounts

Thanks for this repo! It has made it very easy to connect to my email account.
Although, I have been successful in executing all the functions, what I can't figure out is can I have multiple accounts? For example, can I authenticate user1@gmail.com as well as user2@gmail.com and have them run the same python script? This is a simple script to delete emails from specific email addresses. I would like to use this on multiple gmail accounts.

import google_workspace
import sys
import mail_support

service = google_workspace.service.GoogleService(
    api="gmail",
    session="my-gmail",
    client_secrets="/home/ubuntu/credentials/credentials.json"
    )
service.local_oauth()

gmail_client = google_workspace.gmail.GmailClient(service=service)
print(gmail_client.email_address)

spam_list = mail_support.get_spam()
for message in gmail_client.get_messages("inbox"):
if message.from_ in spam_list:
        print("------------->")
        print((message.message_data['id']))
        print((message))
        print("------------->")
        x= message.message_data['id']
        gmail_client.delete_message(x)

Thanks for opening an issue @chadhumphrey,
If you want to connect to two acounts you would need to create two GoogleService objects with two diffrent session names, and then have two diffrent gmail_client objects.
Here's an example:
user1_service = google_workspace.service.GoogleService(
    api="gmail",
    session="user1-gmail",
    client_secrets="/home/ubuntu/credentials/credentials.json"
    )
user1_service.local_oauth()

user1_gmail_client = google_workspace.gmail.GmailClient(service=user1_service)

user2_service = google_workspace.service.GoogleService(
    api="gmail",
    session="user2-gmail",
    client_secrets="/home/ubuntu/credentials/credentials.json"
    )
user2_service.local_oauth()

user2_gmail_client = google_workspace.gmail.GmailClient(service=user2_service)

# Rest of logic for each user (you can loop over the gmail clients and perform the same task for both of them.)

Hope this works.

authors: chadhumphrey dermasmid

repo: dermasmid/google-workspace


text:
Not able to change the number of repetitions per code sent

Hi, as user I want to change the number or times every code is sent. How can I change the 3x times it is repeated?
Would be possible to add the command list to the MD of this repo?

Hi, push button ➡ when before select protocol. Button ⬅ will decrease value

THank you very much, I would like to use only one repetition and also would like to know if is there any other "hidden" feature I'm losing. I also think that this info could help more users and would be worth it to add to the MD file of this repository.
Thank you very much for this work, this app works flawlessly and I'm willing to see much more protocols added!

To save the settings, you need to create a file on your micosd card.  The default number of attempts is taken from the protocol,.
But ok, why not, I'll do it.
I would be grateful if you could contribute to this project.  Of course instructions are needed, but I am limited in time and my English isn't good.  And if there are screenshots, then it will be great.  Pictures can be placed in the /images directory.
You can fork this project, make changes and create a pull request.
Thank you

As for the secret features, they are not secret, it's just that the screen of the device is too small.  I don't remember anything else, but when I add a settings option, I will definitely check it and let you know.

Thank you very much and actually TBH i've arrived here because I have implemented a protocol encode/decode for the help buttons inside some supermarkets but I have no idea about the manufacturer and this app cannot decode. I'm also not able to add to the flipper because this protocol has some logics. You can check the code here. https://github.com/jimilinuxguy/customer-assistance-buttons-sdr captured by @jimilinuxguy and the protocol POC code to encode decode here: https://gist.github.com/alvarotorijano/0298e515e3ec02d457c8f3d07be03d04
How can I add this to the flipper? you can find me at discord as Alvaro Torijano#3306

authors: alvarotorijano derskythe

repo: derskythe/flipperzero-subbrute


text:
Bug fix and Floating Point 8 Value and Logic

[x] Bug fix in FloatingPointValue.fromDouble
[x] Introduce FloatingPoint8Value value class
[x] Introduce FloatingPoint8 logic class

@desmonddak , could you please review this PR? I want to start fixed-point in a new branch/PR.

repo: desmonddak/rohd-hcl


text:
Setting images causes error

First of all, thank you for maintaining this useful library.
The README says that in order to load some images:
pass.images.icon = iconFilename;
pass.icon(iconFilename);
await pass.images.loadFromDirectory('./images');

I understand that each of these lines can be used alone (and you don't have to call the first or second line followed by the third one), but when I use template.images.loadFromDirectory(directoryname) followed by pass.images.icon = filename, I get the following error:
error: Unhandled Rejection at: Promise {
   <rejected> { Error: EISDIR: illegal operation on a directory, read errno: -21, code: 'EISDIR', syscall: 'read' } } reason: Error: EISDIR: illegal operation on a directory, read

What am I doing wrong?

Also it is confusing that the pass file is created anyway. In my opinion, if an error occurs, the pass file should not be created and the error event should be triggered. Maybe this is not happening because you're not handling that promise's rejection.

There is a similar issue when the provided .pem file is not valid: an unhandled rejection exception is thrown. Could this be fixed as well?

@nickasd All these issues were fixed in 6.0 released today. Thank you!

authors: nickasd tinovyatkin

repo: destinationstransfers/passkit


text:
Correct ExplicitCollectionElementAccessMethod rule

Expected Behavior of the rule
The rule picks up all usage of get and set indexed access operators, as well as calls to put on any class that implements MutableMap or AbstractMap.
Context
Right now the rule only picks up usage of get on Map, MutableMap, List, MutableList, AbstractList and AbstractMap, and put on MutableMap and AbstractMap.
set is not detected at all.
The rule is unfortunately named in a way that it only applies to collection elements, though you can technically (though shouldn't) override the get and set operators on any class. But this is probably OK to leave as is.

I agree that the naming is not so great but I think that this rule should check for all the usages of operator get, operator set and operator put. But probably this change should imply a change in the rule name.

Perhaps a new, configurable rule for enforcing use of operators generally? It can cover all operator types, not just get and set, with flags to enable or disable checks for each operator type (e.g. you might want to enable for indexed access operators but disable for comparison operators). I'd enable all checks by default.
put is a funny one because it works the same as set on mutable maps but isn't actually an operator, so it would be an awkward fit for that potential new rule covering operator usage, but it also sort of logically belongs. Maybe it could have its own flag.

I like the idea! I'd disable some of them in my code bases (invoke, plus...) but that's just a taste preference.
This rule will deprecate ExplicitCollectionElementAccessMethod, right?

Yes, if it was a new rule to check operators then I'd say the old rule should be deprecated and eventually removed.

Possibly obsolete since the following PR was merged: https://github.com/detekt/detekt/pull/4201/
However, there are still things mentioned here (such as renaming the rule), which seem to be reiterated in other open issues for this rule.

authors: 3flex BraisGabin Whathecode

repo: detekt/detekt


text:
How to use placeholders in where clauses?

Looking at some examples, I can see how to build a query with placeholders, but I don't see how to actually fill in those place holders. It looks like I need to make a new SqlContext that wraps an SqlAdapter, and I can construct new, empty ones, but can I use the values I already supplied in the where clause?
Unrelated question, does this only work for postgres or should this work for any SQL implementation?

ping @s-panferov

@gsingh93 hello. sorry for the delay with answer. you can't actually fill placeholders in a SQL Query itself. Instead, you need to pass your query to your database adapter and receive a prepared statement. See https://github.com/sfackler/rust-postgres for examples.

Ok, that's what I thought. I don't have experience with databases other than MySQL, will the SQL generated by deuterium be compatible with MySQL? What about other databases like SQLite?
If not, do you have plans to create a backend independent query builder?

@gsingh93 mysql has another placeholder format, so it needs its own adapter. I have no time right now to make it, but it's quite simple. See example in https://github.com/deuterium-orm/deuterium/blob/master/src/sql/adapter/mod.rs. All outer stuff in deuterium is standard for all the databases.

@s-panferov I added a mysql adapter in #11, take a look. Also, why do the predicates take values if the values aren't used when building the SQL statement?

@gsingh93
The idea was to hold them until they can be used at the final stage. Look at the file:
https://github.com/deuterium-orm/deuterium-orm/blob/master/src/adapter/postgres.rs
https://github.com/deuterium-orm/deuterium-orm/blob/master/src/adapter/postgres.rs#L92
You can extract them and pass to the placeholders:
https://github.com/deuterium-orm/deuterium-orm/blob/master/src/adapter/postgres.rs#L38-L58

Ok, I think I finally understand what's going on. I think a simple example like this should be added to the README:
extern crate deuterium;

use deuterium::*;

fn main() {
    let table = TableDef::new("Person");
    let mut query = table.select_all();
    let name_column = NamedField::<String>::field_of("name", &table);
    let age_column = NamedField::<i32>::field_of("age", &table);
    query = query.where_(name_column.is("Joe".to_owned()));
    query = query.where_(age_column.is(22));

    // sql::MysqlAdapter is also available
    let mut postgres_context = SqlContext::new(Box::new(sql::PostgreSqlAdapter));
    println!("{}", query.to_final_sql(&mut postgres_context));
    println!("arguments: {:?}", postgres_context.data());
}

But now even though I can print out the arguments, I can't actually convert them into types other libraries can use to actually execute the statements (assuming I'm not using the postgres adapter). Is there a way to convert the context data into primitive types, like strings and integers (for the case when the postgres features is enabled and disabled)? If so, I can add that to this example.

repo: deuterium-orm/deuterium


text:
🛑 Grafana is down

In befb5f9, Grafana (https://monitor.bluectrl.app/) was down:

HTTP code: 503
Response time: 326 ms

Resolved: Grafana is back up in 129ea0e after 1 hour, 44 minutes.

repo: deutsch-thomas/upptime-monitor


text:
Has Pass and View Pass not working in TestFlight

I am able to add the pass however hasPass always show false in TestFlight, viewPass and removePass(always show false) are not working but is working fine in development mode. Shall I need to perform any extra setup to make it run in live or in TestFlight?

Does it work on simulator for you? When I add a pass to the wallet on iOS simulator it adds the card correctly but when I check for it with hasPass it always returns false. Even the code from example folder it adds a card but then shows hasPass = false when I run the method.

Yes it works for me only in simulator and apple device in development mode. But not when in live.

Hi, I was also facing the same issue as @dzolt. I fixed it after adding the wallet capability on Xcode.
The following discussion helped me in fixing the issue:
https://github.com/dev-family/react-native-wallet-manager/issues/3
Other useful links:
https://developer.apple.com/documentation/xcode/adding-capabilities-to-your-app
https://developer.apple.com/documentation/xcode/configuring-wallet-support

Did it work in TestFlight too @AbhinavJoosery ?

@sudippaudel793 yes, it worked on TestFlight

I am not able to run it in Production mode. Can you please guide me @AbhinavJoosery ?

Working fine now, I missed one setup

authors: AbhinavJoosery dzolt sudippaudel793

repo: dev-family/react-native-wallet-manager


text:
Add docs for functions

Add more docs for what is required to define custom functions.

🙏 Thanks @bitner,
I think I'll merge this and then I'm move some of it in the new Function page which will be added in #75

authors: bitner vincentsarago

repo: developmentseed/tipg


text:
Spike: Review contributing guides and identify overlapping information

/kind user-story
Which area this user story is related to?

User Story
As a contributor, I want to be able to easily find devfile project contributing guide information, so that I can confidently contribute to the needs of the project.
Under devfile project, we include separate contributing guides for each source repository we maintain. However, all issues for the devfile project tools and services are created under devfile/api to centralize our issue tracking. For contributing guides we should provide a similar organization format. Any information which is general to the project should be contained under devfile/api's contributing guide with service and tool specific information kept in their own repository's contributing guide.
Part of #1281
Acceptance Criteria

[x] Review contributing guides and identify overlapping information

Plan to resolve in upcoming 2024Q2 sprints.

Continuing with the decision in my previous comment: https://github.com/devfile/api/issues/1353#issuecomment-2145963357
Create #1591 to track the creation of the template document, closing this investigation issue.

repo: devfile/api


text:
Swift Package not working

Unable to install DeviceKit as Swift Package from Xcode.

Same here. I get the error:
The package dependency graph can not be resolved; unable find any available tag for the following requirements:
https://github.com/devicekit/DeviceKit — 2.0.0..<3.0.0

Can you post your SPM config, or part of it?
We are personally not that familiar with SPM...

Hi @ValentinFromSpace  and @vegidio! Today I've released a new CocoaPods version and also a new release 2.1.0 which should include some fixes for SPM made by other contributors - @Zandor300  and I are not familiar with SPM. Does this fix the problem?

Yes! Working seamlessly now. Beautiful theme by the way!

Okay, I will be closing this now then! 👍🏻

Yes! Working seamlessly now. Beautiful theme by the way!

@ValentinFromSpace Oh thank you 😊- I've used and adapted the Fairyfloss Theme 💜.

authors: ValentinFromSpace Zandor300 denisenepraunig vegidio

repo: devicekit/DeviceKit


text:
Featured Image

Hello everyone,
I'm having an issue with my website, and I'm hoping someone here can help me out. I can't find the "featured image" option on the admin page of my website. I'm trying to add a featured image to a post, but I can't find the option anywhere.
Does create-react-wptheme support the "featured image" option? I don't know how to enable it on the admin page for posts. Has anyone had this issue before or knows how to solve it?
I would appreciate any help or advice that you can provide. Thank you very much!

Hey, hope you've found the answer by now, but just in case anyone else needs it, in order to enable the post thumbnails, you just need to add
add_theme_support ('post-thumbnails');
anywhere in the public functions.php file

I'll be trying this! Thx (i will reply if it worked)

repo: devloco/create-react-wptheme


text:
[bug] enhance match case

assert!(glob_match("**/y.txt", "y.txt"));  				// panic
assert!(glob_match("**/package.json", "package.json"));   	 // panic
assert!(glob_match("**/{package}.json", "package.json"));	 // true

Maybe this should work.

All of those seem to pass with the latest version. Do you still see an issue?

All of those seem to pass with the latest version. Do you still see an issue?

Looks good, and take my star 😆

authors: SoonIter devongovett

repo: devongovett/glob-match


text:
the trait bound ic_cdk::export::candid::Nat: Serialize is not satisfied

This is related to https://github.com/dfinity/candid/issues/324. I think that all Candid types in Rust should implement serde::Serialize and serde::Deserialize. This will probably also be a problem with ic_cdk::export::candid::Principal (turns out it isn't for some reason).
I'm running into this error when using Rust structs with candid::Nat fields:
error[E0277]: the trait bound `ic_cdk::export::candid::Nat: Serialize` is not satisfied
    --> canisters/canister1/src/lib.rs:31:335
     |
31   | ...ct CanisterStatusResult { cycles : candid :: Nat } struct SERVICE (candid :: Principal) ;
     |                              ^^^^^^ the trait `Serialize` is not implemented for `ic_cdk::export::candid::Nat`
     |
note: required by a bound in `_::_serde::ser::SerializeStruct::serialize_field`
    --> /home/lastmjs/.cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.136/src/ser/mod.rs:1899:12
     |
1899 |         T: Serialize;
     |            ^^^^^^^^^ required by this bound in `_::_serde::ser::SerializeStruct::serialize_field`

For more information about this error, try `rustc --explain E0277`.
error: could not compile `canister1` due to previous error

Can we get this implemented?

The standard solution is to define a new type in your application and implement the traits needed there. It's hard to keep up with traits that people needed for all use cases.
Adding Serialize to number types is trivial, but for reference types, it's not that easy.

Why does ic_cdk::export::candid::Principal have Serialize implemented? I don't think we want to support all traits, but serde Serialize and Deserialize are so fundamental.

I'm neutral on what traits should be implemented, but it's also hard for me to decide which traits goes in the library and which don't. This is a common problem with Rust libraries, not specific to this crate.
My concern for adding the Serialize trait is that the trait is not needed to support Candid, and if we add it everywhere, it may create the wrong impression that Serialize is needed for Candid. Not sure how important is that concern. If adding the trait can unblock you on the short term, I'm happy to do it.
In the long term, I still think adding a config for the didc Rust binding to control the generated struct for nat type is the right solution.

Maybe hold off for a bit, I'm in the middle of a major rearchitecture of some type conversions that may solve this problem for me more elegantly and might be along the lines of more idiomatic Rust usage like you're suggesting.
But it does seem inconsistent to me to implement Deserialize and Serialize for every candid type excluding Nat, so not sure if you could explain that.

I think principal is the only exception here. It's defined in ic-types, not in the candid crate. It has Serialize trait because it's used in JSON and protobuf, besides Candid.

In the long term, I still think adding a config for the didc Rust binding to control the generated struct for nat type is the right solution.

I agree, and I have used your suggestions to overcome my issues. If we can have control over the generated structs, adding the attributes that we need, I think would work great!

@chenyan-dfinity I encountered the same problem, but I think Nat should support Serialize. Nat is the base data type provided by Dfinity, and as a base type, it is too easy to be used to not support serialization, and encounters limitations in many scenarios where serialized data is needed for use.
For example: when I was designing the token standard, I tried to keep the transaction history by serialization, and the numbers of the transactions were using the Nat type and encountered this problem.

authors: chenyan-dfinity lastmjs witterlee

repo: dfinity/candid


text:
Pull candid spec from Motoko

Migrate candid spec from Motoko with history
git filter-repo --path design/IDL.md --path design/IDL-Soundness.md --path design/IDL-Motoko.md
git remote add spec <Motoko repo>
git pull spec master --allow-unrelated-histories
git remote rm spec

Oops, I should have used rebase/merge instead of squash. What's the best way to correct this?

Revert and redo a PR, I suppose.

Done here https://github.com/dfinity/candid/pull/64. Revert only removes the file, not commits. An empty PR with history does the job.

authors: chenyan-dfinity rossberg


text:
dfx-generated private key PEM files don't parse with standard private key processing tools.

Steps to reproduce:
openssl pkey -in ~/.config/dfx/identity/default/identity.pem

unable to load key
140171254691136:error:0D0680A8:asn1 encoding routines:asn1_check_tlen:wrong tag:../crypto/asn1/tasn_dec.c:1149:
140171254691136:error:0D08303A:asn1 encoding routines:asn1_template_noexp_d2i:nested asn1 error:../crypto/asn1/tasn_dec.c:572:Field=attributes, Type=PKCS8_PRIV_KEY_INFO
140171254691136:error:0907B00D:PEM routines:PEM_read_bio_PrivateKey:ASN1 lib:../crypto/pem/pem_pkey.c:88:

Internal ticket: SDK-754

The quill generated identities do parse BTW.

Fixed in #2741.

authors: adamspofford-dfinity enzoh jplevyak sesi200

repo: dfinity/sdk


text:
The negative average delay

Hi,
i try to connect to the real MIR 100 robot thourgh the driver. However, it shows the message in tf_monitor.
Frame: back_laser_link published by unknown_publisher Average Delay: -3597.61 Max Delay: 0
Frame: base_footprint published by unknown_publisher Average Delay: -3597.49 Max Delay: 0
Frame: base_link published by unknown_publisher Average Delay: -3597.61 Max Delay: 0
Frame: front_laser_link published by unknown_publisher Average Delay: -3597.61 Max Delay: 0
Frame: imu_link published by unknown_publisher Average Delay: -3597.61 Max Delay: 0
Frame: odom published by unknown_publisher Average Delay: -3597.67 Max Delay: 0

All Broadcasters:
Node: unknown_publisher 106.839 Hz, Average Delay: -3597.58 Max Delay: 0

i try to go to the settings on the web interface to set the current time of the robot but it does not work. As a result, there is no trasnformation from some frame in RVIZ

Thank you for your response. I following your instruction to change the time. it know just only have -0.2s. However, when i run the mir_driver launch file. CHecking with the tf monitor, there are a big delay for some frame. Is it normal?
Frames:
Frame: /back_laser_link published by unknown_publisher Average Delay: 54.5959 Max Delay: 55.2053
Frame: /base_footprint published by unknown_publisher Average Delay: 68.0524 Max Delay: 71.866
Frame: /base_link published by unknown_publisher Average Delay: 55.2006 Max Delay: 55.504
Frame: /bl_caster_rotation_link published by unknown_publisher Average Delay: 67.7905 Max Delay: 71.9867
Frame: /bl_caster_wheel_link published by unknown_publisher Average Delay: 67.7905 Max Delay: 71.9867
Frame: /br_caster_rotation_link published by unknown_publisher Average Delay: 67.7905 Max Delay: 71.9867
Frame: /br_caster_wheel_link published by unknown_publisher Average Delay: 67.7905 Max Delay: 71.9867
Frame: /fl_caster_rotation_link published by unknown_publisher Average Delay: 67.7905 Max Delay: 71.9867
Frame: /fl_caster_wheel_link published by unknown_publisher Average Delay: 67.7905 Max Delay: 71.9867
Frame: /fr_caster_rotation_link published by unknown_publisher Average Delay: 67.7905 Max Delay: 71.9867
Frame: /fr_caster_wheel_link published by unknown_publisher Average Delay: 67.7905 Max Delay: 71.9867
Frame: /front_laser_link published by unknown_publisher Average Delay: 57.408 Max Delay: 71.1888
Frame: /imu_link published by unknown_publisher Average Delay: 54.9379 Max Delay: 55.4139
Frame: /left_wheel_link published by unknown_publisher Average Delay: 67.7905 Max Delay: 71.9867
Frame: /odom published by unknown_publisher Average Delay: 71.0557 Max Delay: 73.0519
Frame: /right_wheel_link published by unknown_publisher Average Delay: 67.7905 Max Delay: 71.9867
Frame: back_laser_link published by unknown_publisher Average Delay: -0.278159 Max Delay: 0
Frame: base_footprint published by unknown_publisher Average Delay: -0.157837 Max Delay: 0
Frame: base_link published by unknown_publisher Average Delay: -0.278183 Max Delay: 0
Frame: bl_caster_rotation_link published by unknown_publisher Average Delay: 0.017524 Max Delay: 0.0491508
Frame: bl_caster_wheel_link published by unknown_publisher Average Delay: 0.0175249 Max Delay: 0.0491514
Frame: br_caster_rotation_link published by unknown_publisher Average Delay: 0.0175256 Max Delay: 0.0491518
Frame: br_caster_wheel_link published by unknown_publisher Average Delay: 0.0175262 Max Delay: 0.0491521
Frame: fl_caster_rotation_link published by unknown_publisher Average Delay: 0.0175267 Max Delay: 0.0491524
Frame: fl_caster_wheel_link published by unknown_publisher Average Delay: 0.017527 Max Delay: 0.0491526
Frame: fr_caster_rotation_link published by unknown_publisher Average Delay: 0.0175273 Max Delay: 0.0491529
Frame: fr_caster_wheel_link published by unknown_publisher Average Delay: 0.0175279 Max Delay: 0.0491532
Frame: front_laser_link published by unknown_publisher Average Delay: -0.278073 Max Delay: 0
Frame: imu_frame published by unknown_publisher(static) Average Delay: 0 Max Delay: 0
Frame: imu_link published by unknown_publisher Average Delay: -0.277968 Max Delay: 0
Frame: left_wheel_link published by unknown_publisher Average Delay: 0.0175283 Max Delay: 0.0491536
Frame: odom published by unknown_publisher Average Delay: 24.6529 Max Delay: 58.7
Frame: right_wheel_link published by unknown_publisher Average Delay: 0.0175292 Max Delay: 0.049154
Frame: surface published by unknown_publisher(static) Average Delay: 0 Max Delay: 0
All Broadcasters:
Node: unknown_publisher 181.349 Hz, Average Delay: 14.0561 Max Delay: 73.0519
Node: unknown_publisher(static) 1e+08 Hz, Average Delay: 0 Max Delay: 0

And in the terminal where the mir_driver launch file run it shows this WARN:
[WARN] [1541590273.429593]: Could not process inbound connection: topic types do not match: [] vs. [mir_actions/RelativeMoveActionFeedback]{'topic': '/relative_move_action/feedback', 'tcp_nodelay': '0', 'md5sum': '429713dfca2cc916179fc3088546a87b', 'type': '', 'callerid': '/mir_auto_bagger'}

Regarding your second error - you can comment out the following lines for now, if necessary:
https://github.com/dfki-ric/mir_robot/blob/54be543600058477268c93f4be25f51050749de4/mir_driver/nodes/mir_bridge.py#L185-L187
Let's first try to solve your other problem, then come back to this.

Thank you for your response again. Would you have any idea to solve the tf and delay ?

Regarding your other problem (big delays in tf_monitor): No, this is not normal. Any delay bigger than 0.5 seconds or so will cause big problems; preferably the delay should be even lower.
Something very funny is going on: You have TF frames without a leading '/', which mostly don't have a big TF delay, and ones with a leading '/' that have a huge delay. I'll try this on our MiR and report back later.

Hi again,
I would give you answer tomorrow when i come back to my university ‘s lab.

A quick update: after setting the time again on the mir and change to the right public for odom ( in my case it is /odom not /odom_comb), the tf delay drops to 0.2-0.3s for all frame. Thank you for your help :)

Glad to be of help! :)

authors: mintar thanhthtran


text:
'player'-mode

Hi, I was wondering if SHADERed could be launched in zero/minimal UI 'player'-mode.
Is this possible thru theming the .ini file?
If not, I would like to suggest a simple 'player_mode' flag in the .ini file, or as a commandline flag.
That way you could start up a patch in 'player' mode.
Not sure how you would toggle back to edit-mode (maybe a button or keyboard shortcut?)

There is the so-called "performance mode" (you can find it on the menu bar under the Windows -> Performance mode). The shortcut is by default bound to the "F" key.
It currently hides everything except the menu bar and the state is not saved in the settings so you have to enter the "performance mode" every time on startup.
But thanks for the feedback, I will include some improvements to this feature in the v1.2.2!

The performance mode state is now saved on the exit and loaded on the startup. I've also added the "Hide menu in the performance mode" option which, obviously, hides the menu bar. This way you can achieve something like this:

thanks man!
very useful!
On Tue, Sep 24, 2019 at 3:44 PM Dario Franjic notifications@github.com
wrote:

The performance mode state is now saved on the exit and loaded on the
startup. I've also added the "Hide menu in the performance mode" option
which, obviously, hides the menu bar. This way you can achieve something
like this:
[image: image]
https://user-images.githubusercontent.com/30801537/65516744-ddb2c800-dee1-11e9-85ff-7580c5908051.png
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/dfranx/SHADERed/issues/24?email_source=notifications&email_token=AABL6ZC42BMSE7B2F25BP3LQLIKTVA5CNFSM4IY5PL5KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7OM4IQ#issuecomment-534564386,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AABL6ZA3BMR5HYIG6RMBU3TQLIKTVANCNFSM4IY5PL5A
.

--
Léon
/COMPANY
/WEBSITE
/MOBILE
/LOCATION
/COMPANYNR.
/TAGS
van Kammen
2WA Labs & Consultancy
2wa.isvery.ninja/hello
+31 6 13499604
Holland, EU, Galaxy 12B
08124656
Web & New Media
consultancy
driven by open source
ninja's.
https://www.linkedin.com/in/leonvankammen
https://github.com/coderofsalvation

authors: coderofsalvation dfranx

repo: dfranx/SHADERed


text:
How to create multi-pass shader?

How to create a multi-pass shader such as https://www.shadertoy.com/view/MsGSRd.  "Import shadertoy plugin" dosen't work on this kind of shader.

I figured it out

I figured it out

How did you manage to solve this? Please comment here to document this :slightly_smiling_face:

Try to port this shader. You need two passes in the pipeline, in the first one set RT (render texture ? ) to window
,then your pass name; in the second pass in properties set RT to window and your first pass name.
In the Objects tab you should have a render texture and uncheck clear, right click and bind this texture to both passes.
I've ported that shader and it behaves similarly to the original, but I'm having trouble with others that use 3 or more passes.
It would be helpful if there was documentation on this subject.

I was also wondering about shadertoy buffers, i read it just a render target, your rendering to a buffer and then using it as a texture for sampler in another shader. Each BufferA, B, etc... will need its own shader pass and a render texture,Buffer. These render textures bind to a channel 0, 1,2,etc... then you uniform sampler2d them in. I attached a working jupiter from this link  https://www.shadertoy.com/view/XXjSRc .

Test.zip
I dont think order matters, i dont have my shader pass or buffer lined up like shader toy, or at least i dont think i do
Now i can enjoy the complex shaders from shader toy

authors: Calinou harrism76 hful upgradeQ


text:
How to use dfuseeos binary directly after running, eosq browser supports custom network?

How to use dfuseeos binary(dfuse-eosio_0.1.0-beta8_linux_x86_64.tar.gz) directly after running, eosq browser supports custom network?
I checked the documentation and source code
https://github.com/dfuse-io/dfuse-eosio/blob/3ead0373de25616ee2aba768192b3ef76d297939/eosq/README.md#development-on-existing-network

https://github.com/dfuse-io/dfuse-eosio/blob/4721c53b2f0e13efadfad718f2dff67a325b91f6/eosq/src/models/config.ts#L92

Try to run the following command before dfuseeos is running
export REACT_APP_DFUSE_API_NETWORK="[{id:\"local\",is_test:true,name:\"Local Network\",url:\"http://172.16.18.2:8080\",}]"
./dfuseeos start

But other computers are running, the actual access in eosq is still the local address

The endpoint eosq uses to connect to the API is defined by the flag eosq-api-endpoint-url. The step to expose dfuse for EOSIO to the internet is roughly the following:

Expose a load balancer that is able to provide access to Nodeos RPC API (proxing to nodeos mainly), EOSWS API and GraphQL API (I provide an URL mapping at the end), we provide an apiproxy app that does this, it's not a production grade solution but can be used as a starting component, it does not support gRPC connection also
The exposed balancer must be available to the internet, let take as an example https://testing.mychain.com

Now if you configure eosq-api-endpoint-url: https://testing.mychain.com, the eosq instance will reach https://testing.mychain.com for WebSocket and HTTP API call.
Here the "proxy" URL maps (it also contains gRPC method that could be proxied but were not added since the proxy code needs extra support for it): https://github.com/dfuse-io/dfuse-eosio/blob/develop/apiproxy/proxy.go#L57
So to quickly test, if you exposed the apiproxy-http-listen-addr value to the internet (:8080). It listens to all interface by default, just like much of the other services, so a good practice is to restrict access to all other ports expect this one. Once exposed, changing eosq-api-endpoint-url and pointing it to the externally ip/port that is served by apiproxy should allow eosq to start showing traffic.

The endpoint eosq uses to connect to the API is defined by the flag eosq-api-endpoint-url. The step to expose dfuse for EOSIO to the internet is roughly the following:

Expose a load balancer that is able to provide access to Nodeos RPC API (proxing to nodeos mainly), EOSWS API and GraphQL API (I provide an URL mapping at the end), we provide an apiproxy app that does this, it's not a production grade solution but can be used as a starting component, it does not support gRPC connection also
The exposed balancer must be available to the internet, let take as an example https://testing.mychain.com

Now if you configure eosq-api-endpoint-url: https://testing.mychain.com, the eosq instance will reach https://testing.mychain.com for WebSocket and HTTP API call.
Here the "proxy" URL maps (it also contains gRPC method that could be proxied but were not added since the proxy code needs extra support for it): https://github.com/dfuse-io/dfuse-eosio/blob/develop/apiproxy/proxy.go#L57
So to quickly test, if you exposed the apiproxy-http-listen-addr value to the internet (:8080). It listens to all interface by default, just like much of the other services, so a good practice is to restrict access to all other ports expect this one. Once exposed, changing eosq-api-endpoint-url and pointing it to the externally ip/port that is served by apiproxy should allow eosq to start showing traffic.

A quick note that Nginx has been used to act as load balancer in front of the various dfuse for EOSIO services. Cloud providers load balancer is also another one if you are using them for hosting the various services.

A quick note that Nginx has been used to act as load balancer in front of the various dfuse for EOSIO services. Cloud providers load balancer is also another one if you are using them for hosting the various services.

export REACT_APP_DFUSE_API_NETWORK="[{id:"local",is_test:true,name:"Local Network",url:"http://172.16.18.2:8080",}]"
./dfuseeos start

REACT_APP_DFUSE_API_NETWORK and other REACT_APP_... are used only when developing locally eosq, so it has no effect on dfuseeos binary.

export REACT_APP_DFUSE_API_NETWORK="[{id:"local",is_test:true,name:"Local Network",url:"http://172.16.18.2:8080",}]"
./dfuseeos start

REACT_APP_DFUSE_API_NETWORK and other REACT_APP_... are used only when developing locally eosq, so it has no effect on dfuseeos binary.

Thanks for your answer~

Thanks for your answer~

I need to customize the system token symbol, how to set it?
I see this option in the code
https://github.com/dfuse-io/dfuse-eosio/blob/448bbbb85fcad467e0561f5d926ee9d7acdc5fde/cmd/dfuseeos/cli/common-flag.go#L22
And try to add in dfuse.yaml
common-chain-core-symbol: "8,RES"
But after launching, it did not find
Error: invalid flag common-chain-core-symbol in config file under command start

I need to customize the system token symbol, how to set it?
I see this option in the code
https://github.com/dfuse-io/dfuse-eosio/blob/448bbbb85fcad467e0561f5d926ee9d7acdc5fde/cmd/dfuseeos/cli/common-flag.go#L22
And try to add in dfuse.yaml
common-chain-core-symbol: "8,RES"
But after launching, it did not find
Error: invalid flag common-chain-core-symbol in config file under command start

I need to customize the system token symbol, how to set it?
I see this option in the code
https://github.com/dfuse-io/dfuse-eosio/blob/448bbbb85fcad467e0561f5d926ee9d7acdc5fde/cmd/dfuseeos/cli/common-flag.go#L22
And try to add in dfuse.yaml
common-chain-core-symbol: "8,RES"
But after launching, it did not find
Error: invalid flag common-chain-core-symbol in config file under command start

I saw it because the latest release version (v0.1.0-beta8) does not support it. I would like to ask, when will the latest version of dfuse-eosio be released? I tried to compile, but there was a problem with eosq-related module compilation. When I try to compile, I will append related errors to this post.

I need to customize the system token symbol, how to set it?
I see this option in the code
https://github.com/dfuse-io/dfuse-eosio/blob/448bbbb85fcad467e0561f5d926ee9d7acdc5fde/cmd/dfuseeos/cli/common-flag.go#L22
And try to add in dfuse.yaml
common-chain-core-symbol: "8,RES"
But after launching, it did not find
Error: invalid flag common-chain-core-symbol in config file under command start

I saw it because the latest release version (v0.1.0-beta8) does not support it. I would like to ask, when will the latest version of dfuse-eosio be released? I tried to compile, but there was a problem with eosq-related module compilation. When I try to compile, I will append related errors to this post.

We do not release that often to be honest. And we are currently shipping new feature and we will wait a bit before releasing a new version, probably in weeks.
Being able to compile from source is a must for now. I can try to help here if required. We have support for building ad-hoc Docker image if that can help.
You must update common-chain-id to fit with your chain, some feature of TrxDB requires the Chain ID to be set to work correctly (signature extraction)

We do not release that often to be honest. And we are currently shipping new feature and we will wait a bit before releasing a new version, probably in weeks.
Being able to compile from source is a must for now. I can try to help here if required. We have support for building ad-hoc Docker image if that can help.
You must update common-chain-id to fit with your chain, some feature of TrxDB requires the Chain ID to be set to work correctly (signature extraction)

After compiling with the new version, everything is normal and the problem is over

After compiling with the new version, everything is normal and the problem is over

How to make the dashboard accessible from the Internet? I tried the parameters, but no success. Can this dashboard be accessed from the Internet?
https://github.com/dfuse-io/dfuse-eosio/blob/515bb82773ff05e5f13c74914b0ef71197b795bd/cmd/dfuseeos/cli/dashboard.go#L19

How to make the dashboard accessible from the Internet? I tried the parameters, but no success. Can this dashboard be accessed from the Internet?
https://github.com/dfuse-io/dfuse-eosio/blob/515bb82773ff05e5f13c74914b0ef71197b795bd/cmd/dfuseeos/cli/dashboard.go#L19

It is recommended to put this css locally in the project. In China, due to network reasons, this file cannot be loaded
When opening the website, the access is stuck, and eosq will not display until the file request timeout fails.
https://use.fontawesome.com/releases/v5.1.1/css/all.css

It is recommended to put this css locally in the project. In China, due to network reasons, this file cannot be loaded
When opening the website, the access is stuck, and eosq will not display until the file request timeout fails.
https://use.fontawesome.com/releases/v5.1.1/css/all.css

Open 2 new issues, one for the dashboard and the other for fontawesome inlining.

Open 2 new issues, one for the dashboard and the other for fontawesome inlining.

Open 2 new issues, one for the dashboard and the other for fontawesome inlining.
Well, a new issue has been opened for the CSS issue
https://github.com/dfuse-io/dfuse-eosio/issues/205

This issuse we only discuss dashboard

Open 2 new issues, one for the dashboard and the other for fontawesome inlining.
Well, a new issue has been opened for the CSS issue
https://github.com/dfuse-io/dfuse-eosio/issues/205

This issuse we only discuss dashboard

This post currently needs to be resolved at the end
When you have time, please answer me. Thank you for replying to my questions during this time. I will organize the problems I encountered into articles later to help other friends in need
How to make the dashboard accessible from the Internet? I tried the parameters, but no success. Can this dashboard be accessed from the Internet?

This post currently needs to be resolved at the end
When you have time, please answer me. Thank you for replying to my questions during this time. I will organize the problems I encountered into articles later to help other friends in need
How to make the dashboard accessible from the Internet? I tried the parameters, but no success. Can this dashboard be accessed from the Internet?

Independent question, separate question

Independent question, separate question

authors: cppfuns maoueh

repo: dfuse-io/dfuse-eosio


text:
in-repo-engine blueprint doesn't work on ember-cli 2.6.1

On ember-engines 0.2.5, running the command ember g in-repo-engine test-engine will produce the following error:
Cannot find module 'ember-cli/blueprints/route/index'
Error: Cannot find module 'ember-cli/blueprints/route/index'
    at Function.Module._resolveFilename (module.js:337:15)
    at Function.Module._load (module.js:287:25)
    at Module.require (module.js:366:17)
    at require (module.js:385:17)
    at Object.<anonymous> (/Users/jason/Repositories/ember-defaults/node_modules/ember-engines/blueprints/in-repo-engine/index.js:5:13)
    at Module._compile (module.js:435:26)
    at Object.Module._extensions..js (module.js:442:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:311:12)
    at Module.require (module.js:366:17)

I'm not entirely sure why ember-cli decided to remove a bunch of blueprints after v2.5.0...

They got moved to the ember.js repo, since ember-cli is used by other projects like angular.

Workaround: Use ember-cli 2.5
rm -rf node_modules/ember-cli && \
  npm install --save-dev ember-cli@2.5

Fixed via #147 and then #151

authors: dgeb knownasilya mike-north nucleartide

repo: dgeb/ember-engines


text:
Add message display button to toggle markdown rendering

Found a way to implement #4

Thanks for your contribution. It matches what I'd tried locally. My problem with it is that some folks (including me) don't always like an extra button shown for every message in the message toolbar. I want the ability for the user to choose whether to show the button in the add-on's options and I couldn't find a way to do that.

authors: bollejansson dgileadi

repo: dgileadi/thunderbird-render-markdown


text:
Update format

The current format is an odd legacy format.
A proposed better one:
{
  version: 0,
  //In the future other embedding models might be supported
  embedding_model: 'text-embedding-ada-002'
  content: {
    //A chunk_id is any string unique within this index to address your content. It could be a post's slug, a URL, or a monotonically-increasing integer formatted as a string.
    <chunk_id>: {
      text: <text>,
      embedding: <embedding>,
      token_count: <tokens_count>,
      info: {
        url: <url>,
        //All of the following properties are optional
        image_url: <image_url>,
        title: <title>,
        description: <description>
      }
    }
  }
}

[ ] Create conversion tool to take a file in the previous format and save in the new one.

My posts can run quite long, so I usually chunk them into multiple chunks, so url/image_url/title/description will get repetitive in the file. Maybe if we just gzip it, it will be okay? I am worried about the bloat.

Actually, I think it might be good-er to have URLs attached to chunks. Let's do it

Ah hmmm good point. And dictionaries vs tuples also lead to bloat.
Maybe we just take what we have and add a version and embedding model name:
  version: 0,
  embedding_model: 'text-embedding-ada-002',
  embeddings: [
    (
      <text>,
      <embedding>,
      <tokens_length>,
      <issue_id>
    )
  ],
  issue_info: {
    <issue_id>: (
      <url>
      <image_url>,
      <title>,
      <description>
    )
  }
}

All of the actions tracked in this issue are now done or covered in other issues.

authors: dglazkov jkomoros

repo: dglazkov/polymath


text:
roll statefulsets on configmap updates

This adds annotations for pod spec in statefulset for automatic rollout on config map updates per helm tip.

This change is

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@t3mi I tested this PR and found that the solution does not work, likely because the mount paths and file names are incorrect, i.e. /alpha/configs.yaml and /zero/configs.yaml.
If you would like to update this, the following items are needed:

the mount path is /dgraph/config
the file name can be json or yaml, depending what the user has for the key of alpha.configFile[0] and zero.configFile[0].
there needs to be a boolean, e.g. alpha.configChecksum: true that enables or disables this feature.

repo: dgraph-io/charts


text:
[feature] Wachete import / export as Wachete alternative

It's possible to export your waches from Wachete, so it should be possible to import their XLS file directly into changedetection.io
The format looks fairly clean, I think it should be no problems. We can even try to keep their UUIDs
wachete-export-example.xlsx
And then changedetection.io becomes another fantastic alternative :)
actually the UI should offer to import any kind of XSLX file with configurable columns

closer...

in :)


text:
Ignore Text not being ignored

Describe the bug
Ignore Text not being ignored
Version
0.39.8
To Reproduce
Add watch
Add Ignore Text
Check output
Expected behavior
Ignore Text is ignored from the result
Screenshots
n/a
Desktop (please complete the following information):

OS: MacOS 12.2.1
Browser Chrome
Version 98

Additional context
Docker Container
[Conf]
"c1107e1f-2930-485e-88de-af25501ce726": {
            "url": "https://chromereleases.googleblog.com/search/label/Desktop%20Update",
            "tag": "app, windows",
            "last_checked": 1644850430,
            "last_changed": 1644598763,
            "paused": false,
            "last_viewed": 1644598764,
            "newest_history_key": "1644598764",
            "title": "Google Chrome for Desktop",
            "minutes_between_check": null,
            "previous_md5": "db0d9bffe04ca8b17a92efad6915afa1",
            "uuid": "c1107e1f-2930-485e-88de-af25501ce726",
            "headers": {
                "User-Agent": "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.80 Safari/537.36"
            },
            "body": "",
            "method": "GET",
            "history": {
                "1644593876": "/datastore/c1107e1f-2930-485e-88de-af25501ce726/8f74c041-dc0f-4488-9113-63ad7ab3f264.stripped.txt",
                "1644596455": "/datastore/c1107e1f-2930-485e-88de-af25501ce726/70b90508-bfa0-4218-b9fe-d6aeb2de54c7.stripped.txt",
                "1644596879": "/datastore/c1107e1f-2930-485e-88de-af25501ce726/54078ec5-e05e-4406-8a16-a6c16a5fbfa4.stripped.txt",
                "1644597060": "/datastore/c1107e1f-2930-485e-88de-af25501ce726/5601371d-9f88-462d-b790-60aa43acd569.stripped.txt",
                "1644597823": "/datastore/c1107e1f-2930-485e-88de-af25501ce726/14d535f0-5cf7-4206-9090-275f279fed50.stripped.txt",
                "1644598552": "/datastore/c1107e1f-2930-485e-88de-af25501ce726/9e3f07ad-db6a-42f4-af19-78727c04ff12.stripped.txt",
                "1644598764": "/datastore/c1107e1f-2930-485e-88de-af25501ce726/b4c492ad-69b1-40b2-9fe0-2ba0d3d350dc.stripped.txt"
            },
            "ignore_text": [
                "Dev",
                "Beta"
            ],
            "notification_urls": [
                "syslog://"
            ],
            "notification_title": "Software Updates - {watch_title}",
            "notification_body": "{watch_url} had a change.\r\n---\r\n{current_snapshot}\r\n---\r\n",
            "notification_format": "Text",
            "css_filter": ".title",
            "trigger_text": [],
            "fetch_backend": "html_requests",
            "extract_title_as_title": false,
            "viewed": true,
            "last_notification_error": false,
            "last_error": false,
            "last_check_status": 200,
            "fetch_time": 0.28
        }
    }

[Output]
 Dev Channel Update for Desktop

  Beta Channel Update for Desktop

  Dev Channel Update for Desktop

  Beta Channel Update for Desktop

  Stable Channel Update for Desktop

  Dev Channel Update for Desktop

  Dev Channel Update for Desktop

  Beta Channel Update for Desktop

  Dev Channel Update for Desktop

  Beta Channel Update for Desktop

  Extended Stable Channel Update for Desktop

  Stable Channel Update for Desktop

please attach the backup zip file, otherwise i cant really see whats going on

Hmm I can confirm this one, looking into it, thanks for the report!

Seems to be related to this change https://github.com/dgtlmoon/changedetection.io/issues/340

so it's being ignored in that it doesnt trigger notifications or show as a 'change detected' in the front end list
but you will see the text in the 'diff' page.. thats the issue here for you, but actually I think it's better this, what do you think?

I don't think it is better at all. You cannot know if your configuration works as intented now. No way to test it.

I agree with @michael-kerbel.  Even though it works, it makes it a bit confusing without that ability to test.  I also see why it was changed.  Maybe keep the diff, but also have a preview that shows the actual output.  The example I used was simple, but once you get into regex a live output is a life saver.

preview/show current snapshot page will look something like this, you can check it out in the PR branch now, some more styling todo

authors: dgtlmoon michael-kerbel theRealc2c2


text:
Verify that free limits of google script is enough for our purpose

Reference: https://developers.google.com/apps-script/guides/services/quotas

Limit for google web app is 10000 per day which sounds enough for our purpose. Also email limit is 100 addressee per day which sounds ok as well. Email confirmation can be delayed if more then 100 people fills the form.

repo: dharmeshrchauhan/jnv-kheda-alumni


text:
[Feature]: pull request rename

Description
It would be beneficial to implement an action that automatically renames pull requests based on commit messages and changes made within the pull request. This would be particularly useful for repositories where pull requests are squash merged, while still giving the maintainer the opportunity to manually rename the pull request before finalizing the merge.
Suggested Solution
Add an option to also process pull request titles when a pull request is created
Alternatives
No response
Additional Context
This is an example of a repository where I'm doing what I've just explained:
https://github.com/Dreaming-Codes/discord-source/blob/master/.github/CONTRIBUTING.md

we can add it to the GitHub action functionality, also providing PR descriptions generated with GPT.
who wants to make the world a better place by creating a highly beneficial to humanity PR?

authors: Dreaming-Codes di-sukharev

repo: di-sukharev/opencommit


text:
feat(flow): add nlu for yes-no questions (#327)

Description

All the questions mentioned in Prompts-NLU-fallback document were form slots, except two:

created new mild_symptoms_worsened slot in tested_positive_form for one (should have already been there)
ignored "If that doesn’t work, would you like to assess your symptoms?", that does not happen in a form since strategy would be different

Error message logic was implemented in request_next_slot. If we ask the same slot we were just asking, it searches for the error message. If there is none, it asks the regular message
To prevent ML from predicting things, slot mappings catch everything for these slots (we could ignore specific intents if necessary for digressions) and validation functions set the slot to None (I created a small helper for that)
Related issues

closes #327
Checklist

[X] PR title follows Conventional Commits guidelines
[X] All relevant PR sections are populated, irrelevant ones are removed

@mathieubergeron. I changed the user utterances in tests for simple yes and no. instead of "affirm" and "deny". It does not do much but it ensures we have the necessary intents.

repo: dialoguemd/covidflow


text:
1.21

Update mod to 1.21. This includes updating necessary APIs to use newer features (Item Components <- NBT)

donezoo :) this was done a while ago, i just forgot to close the issue.
components are a little buggy

@Jipok i will! unfortunately, i think its a little buggy and unstable right now and the mod isn't high on my list of priorities.

repo: diamonddevv/luafy


text:
1.3.6版本上有些操作报错

配置-》项目配置信息-》项目基本信息，提交报错，还有其他地方报错
日志：
[06-27 15:06:06.602] [ERROR] [HttpServlet] Error occured when handling uri: /cat/s/config
java.lang.RuntimeException: Error occured during handling outbound action(config)
at org.unidal.web.mvc.lifecycle.DefaultRequestLifecycle.handleException(DefaultRequestLifecycle.java:86)
at org.unidal.web.mvc.lifecycle.DefaultRequestLifecycle.handleRequest(DefaultRequestLifecycle.java:185)
at org.unidal.web.mvc.lifecycle.DefaultRequestLifecycle.handle(DefaultRequestLifecycle.java:62)
at org.unidal.web.MVC.service(MVC.java:90)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

Caused by: java.lang.NullPointerException
at java.util.concurrent.ConcurrentHashMap.hash(ConcurrentHashMap.java:333)
at java.util.concurrent.ConcurrentHashMap.put(ConcurrentHashMap.java:1125)
at com.dianping.cat.service.ProjectService.update(ProjectService.java:194)
at com.dianping.cat.system.page.config.processor.GlobalConfigProcessor.updateProject(GlobalConfigProcessor.java:208)
at com.dianping.cat.system.page.config.processor.GlobalConfigProcessor.process(GlobalConfigProcessor.java:82)
at com.dianping.cat.system.page.config.Handler.handleOutbound(Handler.java:125)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.unidal.lookup.util.ReflectUtils.invokeMethod(ReflectUtils.java:49)
... 35 more

这个要等一段时间操作就行了，之前有些基本数据是后台写入数据库的。这边只是更新操作。

repo: dianping/cat


text:
reallocate_default callback condition fixed

Fixes #155
The reallocate_default callback was called improperly often. I fixed that with Proc condition. While I'm not able to prove this will fix the issue (it's an issue that is quite difficult to recreate), I believe this was the cause.

:+1:

:+1:

authors: Nuanda mkasztelnik tbartynski

repo: dice-cyfronet/atmosphere


text:
卡顿检测的阈值是多少耗时算卡顿？

卡顿检测的阈值是多少耗时算卡顿？
能否开发接口自己设置卡顿的阈值，我打开了卡顿检测开关，在滑动页面的时候能看到有偶尔的页面卡顿，但是看卡顿记录里没任何信息

看看源码有

卡顿检测的阈值是多少耗时算卡顿？
能否开发接口自己设置卡顿的阈值，我打开了卡顿检测开关，在滑动页面的时候能看到有偶尔的页面卡顿，但是看卡顿记录里没任何信息

安卓 ios统一改成了200ms

authors: jtsky lixiangkai1987 zanyfly

repo: didi/DoraemonKit


text:
添加全局的box-sizing:border-box导致样式错乱

Version
1.9.3
Reproduction link
https://didi.github.io/cube-ui/#/zh-CN/docs/introduction
Steps to reproduce
全局配置重置样式 * {box-sizing: border-box;}， 导致样式错乱
What is expected?
组件中使用padding和width、height的元素添加content-box
What is actually happening?
样式错乱

Dependencies Version
vue: 2.5.17-beta.0
better-scroll: 1.11.1

下个版本修复

authors: TragueZw dolymood

repo: didi/cube-ui


text:
Reporte de pruebas ver 1.3.1

Gracias Diego por este addon, lo valoro y uso mucho.
** Estoy fuera de colombia
Acabo de actualizar a 1.3.1. Corre bien en kodi jarvis y kodis kripton alpha que compile hoy.
Issues con canales que no funcionan.
Caracol -- segundo item
RCN HD Oficial
RCN HD
RCN (mips)
RCN Radio TV requiere livestream, se instala y no funciona
winsports f4mtester required,,  no funciona. Como se instala f4mtester??
senal colombia primer item
citytv
canal 13
canal capital primer item
Telepacifico
ntn24
ntn dice video no disponibleen youtube
une armenia
une eventos
Telesur
senal institucional sd
senal institucional
zoom
gracias por tu gentil ayuda y en lo que te pueda ayudar a testear con gusto,

Buenos días gracias por las pruebas.
Algunos comentarios:
RCN Oficial: Al parecer este link solo funciona desde Colombia :S
RCN Radio TV: Este streaming se activa cuando ellos hacen streaming generalmente de Lunes a Viernes de 6 a 7am.
WinSports f4mtester ya no funciona, lo mantengo por si revive.
Señal Colombia lo mantengo porque es el stream que prestaba la empresa anterior, de pronto algún día regresa.
CityTV: No hay links publicos.
De nuevo, gracias por el feedback, si encuentras links o página de esas que tienen mucha publicidad pásalas, de pronto funciona.

Hola,
Gracias a tu revisión he eliminado y actualizado algunos canales que aunque son de poca demanda no funcionaban. Gracias de nuevo por el feedback.

authors: diegofn fantore

repo: diegofn/wiiego-xbmc-addons


text:
Stucked In Windows as shown in Figure

Is there any fix to this?

repo: diegohaz/generact


text:
Update SCM rockspec in the luarocks site.

On luarocks site SCM rockspec does not containg compat.c file.

Done.  See also #280.  New rockspec is version scm-2 and available via LuaRocks.
Please let me know if you are successful.  Appreciate your help!

It works. But I do not see any reason to create new rockspec here.
SCM rockspec is  a moving target and should match to the current master.
Also may be move it to rockspec directory in the repo

Good call.  The PR above does move it to the rockspec directory.
What luarocks command did you use to install?  This did not seem to work for me:
# luarocks install luasocket scm-2
Error: No results matching query were found.

I was only able to get it installed with:
luarocks install https://raw.github.com/diegonehab/luasocket/master/luasocket-scm-0.rockspec

(Which will be a deprecated URL shortly.)

luarocks install luasocket --from https://luarocks.org/dev
Install dev version

Nice!  (I had to use --server instead of --from, maybe because my version of luarocks isn't the latest.)
Now everyone who wants to install the latest master via luarocks can do so easily.  Thanks again for helping with this.

authors: ewestbrook moteus

repo: diegonehab/luasocket


text:
[book] Added book.toml for better GitHub integration #239_131

Motivation
Added book.toml for better integration with our GitHub repository.
Also added structured metadata such as name, description, language and author information.
Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan

/canary

:sunny: Canary successful

/land

authors: bors-diem sahithiacn

repo: diem/move


text:
Fix Option field check in diesel_derives

Fixes #3987.

Thanks for opening this PR. Would it be possible to add your reproduction case as test case to the diesel_derive tests?

authors: stormshield-kg weiznich

repo: diesel-rs/diesel


text:
Try adding code files

Added code files which consist only of fourigui.py.
Merging into cookie since I figure we can use this as a staging branch?

@8bitsam do we want to get tests passing before merging, or shall I merge and you work on getting tests to pass?

@sbillinge Circling back to this now, there was an issue with tkinter not being listed as tk in the requirements, which is why the CI was failing. There's no test files in this PR so I can get tests to pass in another PR.

close as fixed by cookiecut