Standard Statement Of Work

Let's try to make a standard statement of work that formalises the relationship between RChain Coop and a worker.
NEW SoW
OLD SoW under construction
It would be great to integrate with the RChain Holdings - Consulting Agreement trimmed that the Holding has set up.

Ken is working on this form for SoW
https://docs.google.com/forms/d/e/1FAIpQLSfJDY1fc1rkKX7iOyUxFjLMSUmNlsTH_81WY5gWBWrRog_fwQ/viewform
I made a form for getting more insight in the skills of people
https://drive.google.com/open?id=1FJMSkmscappmuN5HbZz1TlqgOWRcgQsdike4Q6-X8p0

Just tested the form Ken is working on.
About the intro:
Shouldn't the Onboarding Packet be delivered before a new user/Activist fills out this form? IOW, the Onboarding Packet gets delivered shortly after someone expresses interest, and hopefully inspires them to fill out this Talent Pool Sign Up form (among other calls to action).
About RChain Mission
IMHO, only the first sentence of this paragraph is mission statement. The second and third sentences describe the project and the applicant should already know these points.
Skillsets
The skillsets question probably should be multiple choice checkboxes.

I made once this form for checking skills
https://docs.google.com/forms/d/1FJMSkmscappmuN5HbZz1TlqgOWRcgQsdike4Q6-X8p0/edit
Cheers
HJ

On 13 Jul 2017, at 04:55, kitblake<EMAIL_ADDRESS>wrote:
Just tested the form Ken is working on.
About the intro:
Shouldn't the Onboarding Packet be delivered before a new user/Activist fills out this form? IOW, the Onboarding Packet gets delivered shortly after someone expresses interest, and hopefully inspires them to fill out this Talent Pool Sign Up form (among other calls to action).
About RChain Mission
IMHO, only the first sentence of this paragraph is mission statement. The second and third sentences describe the project and the applicant should already know these points.
Skillsets
The skillsets question probably should be multiple choice checkboxes.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub, or mute the thread.

HJ and Kit - Here is the onbording doc I am working on:
https://docs.google.com/document/d/1dVtkRihdLjOq9x38h_YPqRU9jShNbvmMQvO__cW8V8Q/edit#heading=h.y134ywkgh2ro
If you scroll down and click on Contract Services Agreement you can see the approach I am taking for Divvy. Note that the Scope of Work is filled out from a list of industry standard roles and job descriptions. The over all idea is to make it easy for people to make themselves available in the "Pool" without being too intrusive. This follows the incremental process I laid out in the Statement of Work document.
While RChain and Divvy needs are somewhat different, we can easily re-purpose for RChain. Let me know if you would like me to work in that direction.
Regards, Ken

@Ken-dahl There are definitely a lot of parallels so re-purposing would be good. However that Terms & Disclosures section is frighteningly complex. I'm trying to imagine being a developer just coming in the RChain door. There are so many new concepts: the way of working, how teams work, how payment works, the different kinds of tokens, a possible ICO, taxes..
Here is not the place to go into detail because some of it is Divvy specific, but it's something we'll need to address.
We should figure out how to make it progressive. I realize that, given the legal environment in Colorado or Washington State, we won't be able to remove the complexity, but maybe we can 'pyramid' its presentation.

I can purpose it for RChain but I need more direction than I am getting. I think we need to do a Zoom on this as I have no clue where we are.
You will see that I have been working in the On-boarding doc. Welcome package, step by step process, etc.

Hey @Ken-dahl, didn't mean to leave you in the lurch on this. Other issues, like the FAQ, and now a Welcome Bot, have been distracting. But this is not on the back burner so we'll get it cooking..

Kit - I have developed a methodology for SOW as per the original document.
I am headed out of town. Back Tuesday night. I am willing to go over it
with you when I get back.
Regards,
On Fri, Aug 18, 2017 at 1:56 PM, HJ Hilbolling<EMAIL_ADDRESS>wrote:

How far are we with the SoW??
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/rchain/Members/issues/58#issuecomment-323446898, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AaCFaa-9FjYpzMhNoDvAougMvlAURBuOks5sZexZgaJpZM4N9bsm
.

--
Kendall Williams
Divvy DAO Ltd.
Proven Secure Solutions, Inc.
office:<PHONE_NUMBER>
Cell:<PHONE_NUMBER>
<EMAIL_ADDRESS>Confidentiality Statement:
This email/fax, including attachments, may include confidential and/or
proprietary information and may be used only by the person or entity to
which it is addressed. If the reader of this email/fax is not the intended
recipient or his or her agent, the reader is hereby notified that any
dissemination, distribution or copying of this email/fax is prohibited. If
you have received this email/fax in error, please notify the sender by
replying to this message and deleting this email or destroying this
facsimile immediately.

Good to hear! Maybe we can hook up on weds or thereafter..

Let's try to do a Zoom sometime soon. FYI the on-boarding Divvy Tasking & Talent Pool Sign Up is up and running on the welcome page at divvydao.org. Why don't you fill it out and submit it, take it for a test drive. Also Terms of Service are available there as well. Greatly slimmed down! If this approach can still provide benefits to RChain we can re purpose docs and forms etc.

W.r.t. a Zoom - for those who can't attend - can someone please take minute notes or record?

Filled out the form.
I will be in the regular Tuesday meeting tomorrow
Best,
HJ

On 28 Aug 2017, at 19:14, kemihu2011<EMAIL_ADDRESS>wrote:
W.r.t. a Zoom - for those who can't attend - can someone please take minute notes or record?
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub, or mute the thread.

Hey thanks, I got the notice. Did you look at the Divvy Terms of Service on
the website? Will look forward to your observations. See you tomorrow. Just
sent you the Invoice.
Thanks
On Mon, Aug 28, 2017 at 1:18 PM, HJ Hilbolling<EMAIL_ADDRESS>wrote:

Filled out the form.
I will be in the regular Tuesday meeting tomorrow
Best,
HJ

On 28 Aug 2017, at 19:14, kemihu2011<EMAIL_ADDRESS>wrote:
W.r.t. a Zoom - for those who can't attend - can someone please take
minute notes or record?
—
You are receiving this because you were assigned.

Reply to this email directly, view it on GitHub, or mute the thread.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/rchain/Members/issues/58#issuecomment-325451783, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AaCFaaGooR1E34LqDE2XL8cSYhFRlDN3ks5scxKSgaJpZM4N9bsm
.

--
Kendall Williams
Divvy DAO Ltd.
Proven Secure Solutions, Inc.
office:<PHONE_NUMBER>
Cell:<PHONE_NUMBER>
<EMAIL_ADDRESS>Confidentiality Statement:
This email/fax, including attachments, may include confidential and/or
proprietary information and may be used only by the person or entity to
which it is addressed. If the reader of this email/fax is not the intended
recipient or his or her agent, the reader is hereby notified that any
dissemination, distribution or copying of this email/fax is prohibited. If
you have received this email/fax in error, please notify the sender by
replying to this message and deleting this email or destroying this
facsimile immediately.

@kitblake Do you have a moment today (Friday, Sep 1) to talk about your SoW?

@lapin7, yes, just got some bookkeeping done to send in a new declaration. I haven't yet filled in a new SoW, shall I do that? in any case we can talk later this afternoon.

We've now a standard template for SoW's
NEW SoW

@lapin7 I will close this issue now and we can publish into /reference the process for SOW/Invoices
Re-open for any reason you see fit please.

Hi HJ - I contributed about 5 hours to Issue # 139 in the Taxonomy document
in November. I went to the Pub Member Budget Allocation-Spending
spreadsheet and thought I would try to make an entry, but it would not
allow me to edit in the spreadsheet. How do I get credit for time spent in
an issue?
Thank you,
http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
Virus-free.
www.avg.com
http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
On Mon, Dec 11, 2017 at 2:50 PM, patrick727<EMAIL_ADDRESS>wrote:

@lapin7 https://github.com/lapin7 I will close this issue now and we
can publish into /reference the process for SOW/Invoices
Re-open for any reason you see fit please.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/rchain/Members/issues/58#issuecomment-350869902, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AaCFaSXZxLbRWfZtuSU_2y4egTD4rvs3ks5s_aOvgaJpZM4N9bsm
.

--
Kendall Williams
Divvy DAO Ltd.
Proven Secure Solutions, Inc.
office:<PHONE_NUMBER>
Cell:<PHONE_NUMBER>
<EMAIL_ADDRESS>Confidentiality Statement:
This email/fax, including attachments, may include confidential and/or
proprietary information and may be used only by the person or entity to
which it is addressed. If the reader of this email/fax is not the intended
recipient or his or her agent, the reader is hereby notified that any
dissemination, distribution or copying of this email/fax is prohibited. If
you have received this email/fax in error, please notify the sender by
replying to this message and deleting this email or destroying this
facsimile immediately.

Dear @Ken-dahl, I have some questions to you:
If you talk about #139, why do you add a comment in #58?
In #139 you're not a participant. Meaning that no comment of your pen has been added.
How should I know that you've been working 5 hours on an issue?
If you can not edit "Pub ....." why don't you ask somebody for helping you out?
Please watch the explanation video
The rewards for November are fixed and cannot be changed anymore. However you can catch up in January by claiming 5 hours of work done on #139 in December. It's just a matter of administrating the reality in a certain way. ;-)


Got '*pkgtree.NonCanonicalImportRoot' error when porting to dep

What version of dep are you using (dep version)?
$ dep version
dep:
 version     : v0.4.1
 build date  : 2018-01-27
 git hash    : 37d9ea0
 go version  : go1.9.3
 go compiler : gc
 platform    : darwin/amd64

What dep command did you run?
$ dep init -v
...
(30)  ? attempt github.com/megamsys/go-radosgw with 1 pkgs; at least 1 versions to try
(30)      try github.com/megamsys/go-radosgw@master
(31)  ✗   github.com/megamsys/go-radosgw at master has problem subpkg(s):
(31)            github.com/megamsys/go-radosgw/api has err (*pkgtree.NonCanonicalImportRoot); required by (root).
(30)    ← no more versions of github.com/megamsys/go-radosgw to try; begin backtrack

...

  ✗ solving failed

Solver wall times by segment:
     b-source-exists:  45.62367537s
         b-list-pkgs: 10.186192761s
              b-gmal:  7.940766056s
  b-deduce-proj-root:  579.123944ms
             satisfy:   18.612194ms
            unselect:   15.306904ms
         select-atom:   14.825777ms
         select-root:    2.995456ms
            new-atom:    1.737909ms
           backtrack:     428.235µs
               other:     202.533µs
     b-list-versions:      19.078µs

  TOTAL: 1m4.383886217s

init failed: unable to solve the dependency graph: Solving failure: No versions of github.com/megamsys/go-radosgw met constraints:
        master: Could not introduce github.com/megamsys/go-radosgw@master, as its subpackage github.com/megamsys/go-radosgw/api does not contain usable Go code (*pkgtree.NonCanonicalImportRoot).. (Package is required by (root).)

After I examine the package github.com/megamsys/go-radosgw/api, I found one potential reason caused this error, https://github.com/megamsys/go-radosgw/blob/master/api/helpers_test.go#L3:
package radosAPI
/*
import (
	"os"
	"testing"
	"time"
	. "github.com/smartystreets/goconvey/convey"
)

...

And then I checked the gps/pkgtree/pkgtree.go's findImportComment() function, I think it might be a bug:
https://github.com/golang/dep/blob/master/gps/pkgtree/pkgtree.go#L344-L362
	case bytes.HasPrefix(text, slashStar):
		text = text[2:]
		end := bytes.Index(text, starSlash)
		if end < 0 {
			// malformed comment
			return ""
		}
		text = text[:end]
		if bytes.IndexByte(text, '\n') > 0 {
			// multiline comment, can't be an import comment
			return ""
		}
	}
	text = bytes.TrimSpace(text)
	if !bytes.HasPrefix(text, importKwd) {
		return ""
	}
	quotedPath := bytes.TrimSpace(text[len(importKwd):])
	return string(bytes.Trim(quotedPath, `"`))

I think:
		if bytes.IndexByte(text, '\n') > 0 {

should be
		if bytes.IndexByte(text, '\n') >= 0 {

I compiled the dep using master branch, and added prinln() to print the Error details, and here is what I found:
import root "github.com/megamsys/go-radosgw" is not a prefix for the package's declared canonical path "(\n\t\"os\"\n\t\"testing\"\n\t\"time\"\n\n\t. \"github.com/smartystreets/goconvey/convey\"\n)\n\nfunc TestNewAPI(t *testing.T) {\n\tConvey(\"Testing New API\", t, func() {\n\t\tapi := New(os.Getenv(\"RADOSGW_API\"), os.Getenv(\"RADOSGW_ACCESS\"), os.Getenv(\"RADOSGW_SECRET\"))\n\n\t\tSo(api, ShouldNotBeNil)\n\t})\n}\n\nfunc TestNewAPIWithPrefix(t *testing.T)   ...
I think it clearly shows the comments have become the canonical path.

Created a PR #1743  to fix this issue.

Found a workaround for this issue.
Replace:
/*
import (
    "fmt"
)
...
*/

with
/**
import (
    "fmt"
)
...
*/

Use the double star, /**, then dep will not treat the following comments as the import path.

@twang2218
I ran into this issues too
(108)     try k8s.io/apiserver@7001bc4df8883d4a0ec84cd4b2117655a0009b6c
(109) ✗   k8s.io/apiserver at 7001bc4df8883d4a0ec84cd4b2117655a0009b6c has problem subpkg(s):
(109)   	k8s.io/apiserver/pkg/admission/plugin/webhook/webhook has err (*pkgtree.NonCanonicalImportRoot); required by k8s.io/kubernetes@4aee60804874a7cd2533425ac81bc9ecbda5a38b.

$ dep version
dep:
 version     : v0.4.1
 build date  : 2018-01-24
 git hash    : 37d9ea0a
 go version  : go1.9.1
 go compiler : gc
 platform    : darwin/amd64


Make IndexTags quiet by default

The output of this hook is never important. Making it quiet by default
will help people focus on more important overcommit output.

Merged in bcbada7e0b632cfb53d9f37bd78f1a68e31fbe3e. Thanks!


fix superfluous italics

Fix italic guidelines in SVG screenshots

Codecov Report
Patch and project coverage have no change.

Comparison is base (bd4cffb) 98.31% compared to head (51f70fa) 98.31%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2940   +/-   ##
=======================================
  Coverage   98.31%   98.31%
=======================================
  Files          74       74
  Lines        7949     7949
=======================================
  Hits         7815     7815
  Misses        134      134

Flag
Coverage Δ

unittests
98.31% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

rich/syntax.py
98.48% <ø> (ø)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


You can't copy-paste from inside a program in a subterminal

It's not broken for Terminal.app on macOS

It is broken for gnome-terminal on ubuntu :(


Symmetric NAT remediation

https://github.com/pion/turn Looks like it might be a good basis for this blocker..

Don't know what you want to say. But TURN in the docs with setup example:
https://github.com/AlexxIT/go2rtc#module-webrtc

https://github.com/pion/turn/issues/12#issuecomment-388717017
Talks about NAT aspects and so may melody with Symetric NAT.


Batch update column editable updates

The App is unresponsive when toggle editing a large number of columns. We have to merge updates to make the UI more responsive.

Hi @kamakshibhat-appsmith...can you verify this tracker when you get the chance.... it just requires a general regression around the table cell editability ..because it should function the same except the toggle all cell editability for a large number of table columns should respond faster..let me know if you have any questions around this......https://app.zenhub.com/workspaces/app-viewers-pod-616922264a5ea000108d319d/issues/gh/appsmithorg/appsmith/21294


Uncaught ReferenceError: $ is not defined

Hi there. im trying using your dashboard template but when im try to call ajax  from my js file it give error Uncaught ReferenceError: $ is not defined at ajax.js:1. How can i fix this issue?

You need to load jQuery first as $ is defined in the jQuery library

Release 1.0.1 has been made with these changes


Peer dependency for React 16

There is a dependency in react-swipeable-views-utils on react-event-listener. react-event-listener has been archived and has a peer dependency on<EMAIL_ADDRESS>This leads to warnings when installing. I have not encountered runtime errors as a result.
At some stage, react-event-listener should be replaced, unless it can be unarchived to update its peer dependency.

Duplicate of #663


[#1530]  feat(spark-connector): support specifying scala version to build and test Gravitino

What changes were proposed in this pull request?
support specify scala versions, by two methods:

gradle build -PscalaVersion=xx
set defaultScalaVersion in gradle.properties

method2 will be overwrite  by method1 if both existing,  and supports scala 2.12 for now.
Why are the changes needed?
spark hive connector just supports scala 2.12
Does this PR introduce any user-facing change? no
How was this patch tested?
existing UTs

@jerryshao , I plan to merge it if you don't oppose


Standalone stopped working (single VM)

Standalone mode stopped working when using a single VM.
The first time you use a VM (or after running lithops clean), Lithops tries to extract the metadata information, but the VM is never started, getting stuck forever at that point.
2021-01-08 16:29:07,860 [INFO] lithops.config -- Lithops v2.2.15.dev0
2021-01-08 16:29:07,860 [DEBUG] lithops.config -- Loading configuration
2021-01-08 16:29:07,881 [DEBUG] lithops.config -- Loading Standalone backend module: ibm_vpc
2021-01-08 16:29:07,981 [DEBUG] lithops.config -- Loading Storage backend module: ibm_cos
2021-01-08 16:29:07,982 [DEBUG] lithops.storage.backends.ibm_cos.ibm_cos -- Creating IBM COS client
2021-01-08 16:29:07,982 [DEBUG] lithops.storage.backends.ibm_cos.ibm_cos -- Set IBM COS Endpoint to https://s3.us-east.cloud-object-storage.appdomain.cloud
2021-01-08 16:29:07,982 [DEBUG] lithops.storage.backends.ibm_cos.ibm_cos -- Using access_key and secret_key
2021-01-08 16:29:08,005 [INFO] lithops.storage.backends.ibm_cos.ibm_cos -- IBM COS Storage client created - Region: us-east
2021-01-08 16:29:08,005 [DEBUG] lithops.standalone.backends.ibm_vpc.ibm_vpc -- Creating IBM VPC client
2021-01-08 16:29:08,052 [INFO] lithops.standalone.backends.ibm_vpc.ibm_vpc -- IBM VPC client created - Region: us-east - Host: <IP_ADDRESS>
2021-01-08 16:29:08,052 [DEBUG] lithops.standalone.standalone -- Standalone handler created successfully
2021-01-08 16:29:08,052 [DEBUG] lithops.invokers -- ExecutorID 330909-0 - Total available workers: None
2021-01-08 16:29:08,052 [INFO] lithops.executors -- Standalone Executor created with ID: 330909-0
2021-01-08 16:29:08,052 [INFO] lithops.invokers -- ExecutorID 330909-0 | JobID M000 - Selected Runtime: python3.8
2021-01-08 16:29:08,052 [DEBUG] lithops.storage.storage -- Runtime metadata not found in local cache. Retrieving it from storage
2021-01-08 16:29:08,052 [DEBUG] lithops.storage.storage -- Trying to download runtime metadata from: ibm_cos://lithops-data-us-east/lithops.runtimes/2.2.15.dev0/python3.8.meta.json
2021-01-08 16:29:08,829 [DEBUG] lithops.storage.storage -- Runtime metadata not found in storage
2021-01-08 16:29:08,829 [INFO] lithops.invokers -- Runtime python3.8 is not yet installed
2021-01-08 16:29:08,830 [DEBUG] lithops.standalone.standalone -- Extracting runtime metadata information

@JosepSampe hm...checking

@JosepSampe hm...checking

@JosepSampe it works for me...was it exec_mode: create and Lithops created VM or you tried it with existing VM you had before?

@JosepSampe it works for me...was it exec_mode: create and Lithops created VM or you tried it with existing VM you had before?

I have an already created VM with a public IP address. I pretended to use it as I used it 1 mont ago, automatically starting/stopping the VM when needed. Seems now standalone for IBM VPC has 2 different modes. In my case, I followed these instructions: https://github.com/lithops-cloud/lithops/blob/master/config/compute/ibm_vpc.md#lithops-in-a-standalone-mode , and the VM is not started

I have an already created VM with a public IP address. I pretended to use it as I used it 1 mont ago, automatically starting/stopping the VM when needed. Seems now standalone for IBM VPC has 2 different modes. In my case, I followed these instructions: https://github.com/lithops-cloud/lithops/blob/master/config/compute/ibm_vpc.md#lithops-in-a-standalone-mode , and the VM is not started

@JosepSampe let me check this

@JosepSampe let me check this

@JosepSampe done

@JosepSampe done

@gilv Seems now it starts te VM but the proxy is not installed. I think it misses a call to the setup_proxy method after starting the VM

@gilv Seems now it starts te VM but the proxy is not installed. I think it misses a call to the setup_proxy method after starting the VM

@JosepSampe right! sorry...i wonder how it then worked for me... fixing it

@JosepSampe right! sorry...i wonder how it then worked for me... fixing it

@JosepSampe i just pushed commit with the fix

@JosepSampe i just pushed commit with the fix

@gilv thanks, testing it

@gilv thanks, testing it

I'm now getting this exception:
  File "/home/josep/data/dev-workspace/lithops/lithops/lithops/standalone/standalone.py", line 263, in create_runtime
    self._setup_proxy(backend)
  File "/home/josep/data/dev-workspace/lithops/lithops/lithops/standalone/standalone.py", line 356, in _setup_proxy
    ssh_client.upload_data_to_file(ip_address, PROXY_SERVICE_FILE, service_file)
  File "/home/josep/data/dev-workspace/lithops/lithops/lithops/util/ssh_client.py", line 57, in upload_data_to_file
    ftp_client = self.ssh_client.open_sftp()
  File "/usr/lib/python3/dist-packages/paramiko/client.py", line 556, in open_sftp
    return self._transport.open_sftp_client()
AttributeError: 'NoneType' object has no attribute 'open_sftp_client'

I'm now getting this exception:
  File "/home/josep/data/dev-workspace/lithops/lithops/lithops/standalone/standalone.py", line 263, in create_runtime
    self._setup_proxy(backend)
  File "/home/josep/data/dev-workspace/lithops/lithops/lithops/standalone/standalone.py", line 356, in _setup_proxy
    ssh_client.upload_data_to_file(ip_address, PROXY_SERVICE_FILE, service_file)
  File "/home/josep/data/dev-workspace/lithops/lithops/lithops/util/ssh_client.py", line 57, in upload_data_to_file
    ftp_client = self.ssh_client.open_sftp()
  File "/usr/lib/python3/dist-packages/paramiko/client.py", line 556, in open_sftp
    return self._transport.open_sftp_client()
AttributeError: 'NoneType' object has no attribute 'open_sftp_client'

@JosepSampe checking..

@JosepSampe checking..

@JosepSampe I actually not sure what happend..
   def upload_data_to_file(self, ip_address, data, remote_dst, timeout=None):
        if self.ssh_client == None:
            self.ssh_client = self.create_client(ip_address, timeout)

        ftp_client = self.ssh_client.open_sftp()

        with ftp_client.open(remote_dst, 'w') as f:
            f.write(data)

        ftp_client.close()

and self.ssh_client initiated SSHClient: <paramiko.client.SSHClient object at 0x10b6879a0>
then this exception
  ssh_client.upload_data_to_file(ip_address, PROXY_SERVICE_FILE, service_file)
  File "/Users/gilv/.pyenv/versions/3.8.5/lib/python3.8/site-packages/lithops/util/ssh_client.py", line 57, in upload_data_to_file
    ftp_client = self.ssh_client.open_sftp()
  File "/Users/gilv/.pyenv/versions/3.8.5/lib/python3.8/site-packages/paramiko/client.py", line 556, in open_sftp
    return self._transport.open_sftp_client()
AttributeError: 'NoneType' object has no attribute 'open_sftp_client'

@JosepSampe I actually not sure what happend..
   def upload_data_to_file(self, ip_address, data, remote_dst, timeout=None):
        if self.ssh_client == None:
            self.ssh_client = self.create_client(ip_address, timeout)

        ftp_client = self.ssh_client.open_sftp()

        with ftp_client.open(remote_dst, 'w') as f:
            f.write(data)

        ftp_client.close()

and self.ssh_client initiated SSHClient: <paramiko.client.SSHClient object at 0x10b6879a0>
then this exception
  ssh_client.upload_data_to_file(ip_address, PROXY_SERVICE_FILE, service_file)
  File "/Users/gilv/.pyenv/versions/3.8.5/lib/python3.8/site-packages/lithops/util/ssh_client.py", line 57, in upload_data_to_file
    ftp_client = self.ssh_client.open_sftp()
  File "/Users/gilv/.pyenv/versions/3.8.5/lib/python3.8/site-packages/paramiko/client.py", line 556, in open_sftp
    return self._transport.open_sftp_client()
AttributeError: 'NoneType' object has no attribute 'open_sftp_client'

I think wait_backend_ready https://github.com/lithops-cloud/lithops/blob/master/lithops/standalone/standalone.py#L109 is not working properly, since this method should wait until the VM is started, and instead the current code immediately tries to install the proxy after starting the VM without waiting the VM to become started, causing ssh to fail

I think wait_backend_ready https://github.com/lithops-cloud/lithops/blob/master/lithops/standalone/standalone.py#L109 is not working properly, since this method should wait until the VM is started, and instead the current code immediately tries to install the proxy after starting the VM without waiting the VM to become started, causing ssh to fail

I now see that here you call backend.start https://github.com/lithops-cloud/lithops/blob/master/lithops/standalone/standalone.py#L262 and I think it should be self._start_backend(backend)

I now see that here you call backend.start https://github.com/lithops-cloud/lithops/blob/master/lithops/standalone/standalone.py#L262 and I think it should be self._start_backend(backend)

@JosepSampe ohhh....it because of that strange delay, VM started but it's not possible to ssh it right away, so we need to check it started, etc. Fixing it..  thanks :)

@JosepSampe ohhh....it because of that strange delay, VM started but it's not possible to ssh it right away, so we need to check it started, etc. Fixing it..  thanks :)

@JosepSampe check it now :) I just pushed the fix

@JosepSampe check it now :) I just pushed the fix

@gilv Thanks. I will test it

@gilv Thanks. I will test it

Seems I still have the same issue.
I finally dig into the code and found that the current _wait_backend_ready() method is not correct enough. In this method, you are relying on the backend.is_ready() method to detect if the VM instance is running. However, in this case IBM VPC lib returns that the VM is running 20, 30 or even 40 seconds before you can start running commands. This is because from the ibm-vpc lib you get a message that the VM is running, but this does not means that the operating system is loaded and ready to receive commands. I can see that you put a hardcoded sleep of 20 seconds here to overcome this issue, but this sleep most of times is not enough, causing all ssh commands to fail during the proxy installation process.
I updated the method to detect the exact time the VM instance is ready to receive commands, this way we don't need hardcoded sleeps.
With this PR everything is working now for me. Check if it works for you too. #523

Seems I still have the same issue.
I finally dig into the code and found that the current _wait_backend_ready() method is not correct enough. In this method, you are relying on the backend.is_ready() method to detect if the VM instance is running. However, in this case IBM VPC lib returns that the VM is running 20, 30 or even 40 seconds before you can start running commands. This is because from the ibm-vpc lib you get a message that the VM is running, but this does not means that the operating system is loaded and ready to receive commands. I can see that you put a hardcoded sleep of 20 seconds here to overcome this issue, but this sleep most of times is not enough, causing all ssh commands to fail during the proxy installation process.
I updated the method to detect the exact time the VM instance is ready to receive commands, this way we don't need hardcoded sleeps.
With this PR everything is working now for me. Check if it works for you too. #523


KAFKA-18274: Failed to restart controller in testing due to closed socket channel [1/2]

We should rebuild the metrics of SharedServer when restart the controller in test to prevent NPE.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

Unrelated tests failed🥲:
Java23:

SaslSslAdminIntegrationTest
"testCreateTopicsResponseMetadataAndConfig(String).quorum=kraft"
org.opentest4j.AssertionFailedError: Expected java.util.concurrent.ExecutionException to be thrown, but nothing was thrown.
7.02s

PlaintextAdminIntegrationTest
testConsumerGroupsDeprecatedConsumerGroupState(String, String).quorum=kraft.groupProtocol=consumer
org.opentest4j.AssertionFailedError: Expected the offset for partition 0 to eventually become 1.
21.58s

PlaintextAdminIntegrationTest
testConsumerGroups(String, String).quorum=kraft.groupProtocol=consumer
org.opentest4j.AssertionFailedError: Expected the offset for partition 0 to eventually become 1.
22.18s

Java17:

AbstractCoordinatorTest
testWakeupAfterSyncGroupReceivedExternalCompletion()
org.opentest4j.AssertionFailedError: Should have woken up from ensureActiveGroup() ==> Expected org.apache.kafka.common.errors.WakeupException to be thrown, but nothing was thrown.
0.48s


Question: how to install vmoperator/vmagent on kubernetes cluster?

Hi,
I have Victoria metrics cluster on virtual machines and i want to collects metric from kubernetes cluster (installed on another vm).
If I am good at it, I need an vmagent installed on kubernetes cluster, (but I don't need a whole victoriacluster on kubernetes).
what is minimal configuration form motioning kubernetes clustetr (and some ex. node_exporters)?
is there any documentation for a case like mine?

Hi @myhellone !
See https://docs.victoriametrics.com/guides/k8s-monitoring-via-vm-cluster.html#3-install-vmagent-from-the-helm-chart it might help.

ok ;) so my monitoring stack  is based on argoCD, I have some issue but finaly I have installed vmoperator (argocd by helm) and them vmagent and connect it to external victoriametric,
`apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: victoria-metric
namespace: argocd
spec:
destination:
server: https://kubernetes.default.svc
namespace: monitoring
project: default
source:
chart: victoria-metrics-operator
helm:
values: |
pushgateway:
enabled: false
repoURL: https://victoriametrics.github.io/helm-charts/
targetRevision: 0.6.0
syncPolicy:
automated:
prune: true
selfHeal: true
`


VSCode LSP request failed

Describe the bug
When opening minimal templ project in VSCode I get the following error: Request textDocument/prepareCallHierarchy failed
To Reproduce
// main.go
package main

import (
	"context"
	"os"
)

func main() {
	component := hello("john")
	component.Render(context.Background(), os.Stdout)
}

package main

templ hello(name string) {
	<div>{ name }</div>
}

Expected behavior
No error
Screenshots

Logs
[Error - 15:12:51] Request textDocument/prepareCallHierarchy failed.
  Message: no package metadata for file file:///~/templ-tests/hello.templ
  Code: 0

I replace path to file from absolute to relative.
templ info output
(✓) os [ goos=darwin goarch=arm64 ]
(✓) go [ location=/opt/homebrew/bin/go version=go version go1.23.2 darwin/arm64 ]
(✓) gopls [ location=/Users/morigs/go/bin/gopls version=golang.org/x/tools/gopls v0.16.2 ]
(✓) templ [ location=/Users/morigs/go/bin/templ version=v0.2.778 ]

Desktop (please complete the following information):

OS: MacOS
templ CLI version: v0.2.778
Go version go version go1.23.2 darwin/arm64
gopls version (golang.org/x/tools/gopls v0.16.2)

Additional context
I've tried to restart vscode, close other apps, killing all gopls and templ instances, but no luck

Did you create a go.mod file by running go mod init github.com/morigs/templ-tests? Without a go.mod file, the Go language server won't be able to run.
If you can create an example and share it, I'd be able to look at it.


Added check latest dependencies GH action

Fixes #1

Codecov Report

Merging #23 (dc84203) into main (c6f95d6) will decrease coverage by 69.6%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             main     #23      +/-   ##
=========================================
- Coverage   100.0%   30.5%   -69.5%
=========================================
  Files          62      62
  Lines        1545    1545
=========================================
- Hits         1544     470    -1074
- Misses          1    1075    +1074

Impacted Files
Coverage Δ

facilyst/models/utils.py
0.0% <0.0%> (-100.0%)
:arrow_down:

facilyst/models/optimizers/hyperopt.py
0.0% <0.0%> (-100.0%)
:arrow_down:

facilyst/tests/mock_tests/test_wave.py
0.0% <0.0%> (-100.0%)
:arrow_down:

facilyst/tests/mock_tests/test_dates.py
0.0% <0.0%> (-100.0%)
:arrow_down:

facilyst/tests/graphs_tests/test_line.py
0.0% <0.0%> (-100.0%)
:arrow_down:

facilyst/tests/graphs_tests/test_graphs.py
0.0% <0.0%> (-100.0%)
:arrow_down:

facilyst/tests/mock_tests/test_features.py
0.0% <0.0%> (-100.0%)
:arrow_down:

facilyst/tests/graphs_tests/test_scatter.py
0.0% <0.0%> (-100.0%)
:arrow_down:

facilyst/tests/models_tests/test_bert_qa.py
0.0% <0.0%> (-100.0%)
:arrow_down:

facilyst/tests/mock_tests/test_mock_utils.py
0.0% <0.0%> (-100.0%)
:arrow_down:

... and 36 more

Continue to review full report at Codecov.

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


Suggestion: Using typeof with an expression

It would be helpful if the typeof keyword were changed to support more complex expressions, such as function calls.
Example
Given the following AngularJS service definition:
module myApp {
  function myApiFactory($http: HttpSvc) {
    return {
      getSetting: (key: string) => $http.get(etc),
    };
  }
  angular.service("myApi", myApiFactory);
}

It would be good if the following statement were possible:
export type MyApi = typeof myApiFactory();

Explanation
Since the function is a factory rather than the actual service, this type alias would other components to have a strongly-typed reference to the service. Though this example relates to AngularJS' service factory and dependency injection, this particular change would not be solely for AngularJS support.
Existing solutions
One option to resolve this issue is to explicitly define an interface for the service. However, this solution would require repeating the signature for all of the service's methods.
A workaround exists that relies on JavaScript's scoping rules to satisfy TypeScript's typeof keyword. However, it significantly reduces readability and clarity. An example:
if (false)
  var obj = myApiFactory(null);
export type MyApi = typeof obj;

:+1:  Seems related to https://github.com/Microsoft/TypeScript/issues/3749#issuecomment-123844366  as means to get collection element type through expression.

I find Using an expression with potential sides effects in a type position really confusing.

Also can you elaborate on how the API and the type would be used outside the module?

I have found myself wishing this were possible sometimes - usually when using type definitions from DefinitelyTyped. For example, knex.d.ts internally defines a QueryBuilder interface but does not export it, even though most knex methods return instances of this type. That makes it a pain to, say, write a function that takes a QueryBuilder as an argument.
A workaround is to create a 'dummy' variable with the desired type using an expression that is not necessarily evaluated, and then using typeof on that. In the knex case, the following works:
import Knex = require('knex');
var dummyQueryBuilder = false ? Knex(<any>{})() : null;
type QueryBuilder = typeof dummyQueryBuilder;

The proposal outlined by @ander-nz is far cleaner than this, although I agree with @mhegazy that putting expressions in type positions may be confusing.
The best approach in this example is to fix knex.d.ts and sumbit a PR to DefinitelyTyped, but that's a 'big fix' approach that may not always be possible, and for which typeof expr could provide a nice short-term fix in the meantime.

This would be equivalent of C++'s decltype(expr), which is used in a type position but does not evaluate expr. It's a very useful facility for writing reuseable code that propagates types without foreknowledge of their names.

@mhegazy I agree that the syntax could be confusing, as per below:
var a = typeof myApiFunc(); // actually invokes myApiFunc, and then sets a to "object".
type A = typeof myApiFunc(); // does not invoke it, only looks at its return type.

A possible alternate syntax is using <``> brackets, since these are already used by TypeScript. For example:
type MyApi = typeof<myApiFunc()>;

This could simplify the syntax, and would look out of place enough to remind the reader that the expression is a TypeScript feature. Does this look clearer?

@mhegazy And to answer your question about how the type would be used outside the module. That example is designed for AngularJS, which uses dependency injection, such as:
function MyCtrl($scope, myApi: myApp.MyApi) {
    // ...
}

i would rather have a compiler operator e.g. __returnTypeof than to overload typeof.

If this facility existed as a purely compile-time thing, say __returnTypeof expr or decltype(expr) or whatever, could it be used in an ambient context? E.g:
declare module "mymodule" {
    import knex = require('knex');
    type QueryBuilder = __returnTypeof (knex(<any>{})()); // obtain the QueryBuilder type from knex;
    export function someExportedFunction(query: QueryBuilder): void;
}

This covers a likely use case for the construct, but would involve allowing expressions to appear in ambient declarations. Is that feasible with the design of the compiler?

I think that the scope of typeof expression is very wide. It is very powerful but that also means that expressing some specific patterns in it would require sacrificing tidiness and clarity which would lead to lower general usability in those scenarios.
Perhaps it would be beneficial to try to isolate the most prominent cases where typeof expression would be commonly used (such as, say, typeon or returnTypeOf [and perhaps also returnTypeOn?] ) and try to individually consider a more "optimized", special-purpose syntax and semantics for each one of them.
It would still be useful to have a more powerful operator for special cases, however, it might be possible to emulate many of them by embedding the evaluated expression in a function and "extracting" the inferred return type, like this:
function expressionFunc() {
  return [...] // expression
}
// can also be written as 'expressionFunc = () => [..]'

var x: returnTypeOf expressionFunc;

This would naturally extend to generic expressions as well:
function genericExpressionFunc<T>() {
  return [...] // generic expression
}

var x: returnTypeOf expressionFunc<string>;

Can I add my vote to this item. This seems very useful and has wide application.

Why not to introduce the notion of subtypes?
function f(x: number, y: string) {
  return x || y;
}

type T = (typeof f).ReturnType; // string | number

Every function type could have a .ReturnType member that would be equal to the type of what the function returns. Typescript knows this type, but doesn't seem to make it accessible in a straightforward way.

@d180cf
I think using a "virtual" sub-type is an interesting approach, and I'm also investigating alternatives to returnTypeOf and returnTypeOn myself (including even syntax that would handle overloaded return signatures etc.). The problem with this particular syntax is that Typescript (and Javascript) allows declaring hybrid function/object types (functions with normal properties defined on them):
interface HybridFunc {
  // This is a function signature specifier:
  (x: number, y: string): string;

  // This is an example of a normal property with type 'Array<boolean>'
  // that just happens to have the name 'ReturnType':
  ReturnType: Array<boolean>;
}

let hybridFunc: HybridFunc;

So in this case type type T = typeof hybridFunc.ReturnType would be ambiguous.
Using it with my proposed typeon operator, (an operator that would allow referencing a property type directly through its containing type):  would also have the same problem: type T = typeon HybridFunc.ReturnType.

Going though the issue. I suggest that a simpler workaround be used:
function myApiFactory() {
  return {
    getSetting: () => null
  };
}

const myApiFactoryReturn = false && myApiFactory();
export type MyApi = typeof myApiFactoryReturn;

Basically instead of
export type MyApi = typeof myApiFactory();

You have two lines:
const myApiFactoryReturn = false && myApiFactory();
type MyApi = typeof myApiFactoryReturn;

@basarat
I found an even simpler workaround yesterday:
// The expression would never execute but its type would be inferred:
let e = true ? undefined : ...expression...;
type ExpressionType = typeof e;

To get return types:
let r = true ? undefined : someFunction();
type RerturnType = typeof r;

This workaround would only work on runtime code positions though, so it is mostly relevant totypeof func(). It can still be used to emulate typeon this.func(), but that would be more complex:
interface A {
  func(x: number): string;
  prop: ReturnType; // emulates 'typeon this.func()'
}

let a: A;
let r = true ? undefined : a.func(0);
type RerturnType = typeof r;

But similarly to other workarounds for typeon: in the case of a generic interface or class it would not be possible to propagate the generic parameter into the dummy instance:
interface A<T> {
  func(x: number): T;
  prop: typeon this.func(); // No workaround for this
}

See also Generic Meta Types #3779

@basarat @rotemdan At present typeof is useable in ambient contexts (e.g. in .d.ts files), and perhaps the extended typeof proposed here could preserve this quality. That's one thing the workarounds, consisting of imperative statements of various forms, cannot do.

Dear Santa, please bring me decltype in Typescript.

I submitted a proposal + implementation for this: #6606

Let's take the discussion over to the nice clean slate at #6066.

With recent null checks, the above recommendation:
let r = true ? undefined : someFunction();
type RerturnType = typeof r;

can be changed to
let r = true ? undefined as never : someFunction();
type RerturnType = typeof r;

to avoid the (undefined | ...) type.


add: eunit99

Description
Add @eunit99 profile

@Eunit99 Thank you so much for your contribution! Your efforts are greatly appreciated and will go a long way in improving our project. Please feel free to share it with others and help us grow even further!


Remove margin-top

Allows field to align with label as with the rest of the fields in Nova

Thanks for the PR - don't really know how that margin ended up there.

No problem - thanks for the plugin, its really great.

This now implemented in v2.1.4


pami build crash in autobuild

Original author: Nikhil Jain
Original issue: https://charm.cs.illinois.edu/redmine/issues/839

No body.

Original author: Nikhil Jain
Original date: 2015-09-18 13:16:09

All crashes are in io test. Reassigning to Ronak, who should reassign if necessary.

Original author: Nikhil Jain
Original date: 2015-09-21 17:58:06

More info on the crash:
{snd:0,rcv:0} Reason: FATAL ERROR on PE 0 working on file 'test0': fdatasync failed; system reported Function not implemented

Original author: Nikhil Jain
Original date: 2015-09-22 20:48:54

conv-mach should have a flag that tell Charm that fdatasync should not be used; instead use fsync.

Original date: 2015-09-24 22:21:44

I've added hardcoded fdatasync as not being available on PAMI builds in ronak/839-pami-io-crash.  I currently don't have an ALCF token (it's being shipped), so I can't test it right now.  I'm waiting on others to report back to see if it has succeeded.

Original date: 2015-09-29 19:09:55

~~https://charm.cs.illinois.edu/gerrit/843~~ https://github.com/UIUC-PPL/charm/commit/84638402ce98128856990d16af52a224ebdec9a9
Tested and merged by Nikhil

Original date: 2015-11-11 03:05:27

Set status back to Merged so that we can distinguish whether the code was changed in some way, or the fix was elsewhere. Both are non-open states from Redmine's perspective.


Search container focus

I have added the input focus to happen on clicking anywhere on the search box, earlier there were dead spaces on the left and right as the input box is in the middle. It makes the UX smoother.
Fixes #2689
Mark the task you have completed ✅

[x] I follow CONTRIBUTING GUIDELINE & CODE OF CONDUCT of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I have followed proper naming convention showed in CONTRIBUTING GUIDELINE
[x] I have added screenshot for website preview in assets/images
[x] I have added working video of the game in README.md (optional)
[x] I have specified the respective issue number for which I have requested the new game.

Add your screenshots(Optional) 📸
https://github.com/kunjgit/GameZone/assets/102957043/12694dd5-3b44-4b20-b989-7e56d17a4bbe

Thank you soo much for contributing to our repository 💗

Thank you @r-sain ,for creating the PR and contributing to our GameZone 💗
Review team will review the PR and will reach out to you soon! 😇
Make sure that you have marked all the tasks that you are done with ✅.
Thank you for your patience! 😀

Thank you  @r-sain , for your valuable time and contribution in our GameZone 💗.
It’s our GameZone, so Let’s build this GameZone altogether !!🤝
Hoping to see you soon with another PR again 😇
Wishing you all the best for your journey into Open Source🚀


sort

sort is a transformation. it should take a binary function that returns an integer
sort should work on any ordered collection.
sort((a, b) => a > b ? 1 : -1)([3, 1, 4, 2, 5]) // > [1, 2, 3, 4, 5]

it doesn't make sense for sort to work with transducers.

on second thought, I don't think this belongs in rubico


feat:websocket example

What type of PR is this?
Add websocket example(echo server) use netpoll.
新增一个websocket 示例(echo server)

 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.


[API] Add affected files of commits to commit struct

finish #12413 ...
TODO:

[x] Extend Tests

Fix #12412

:rocket:


Add n probe

Adds the N Probe parameter to faiss mask, and updates the dockerfile to build a more recent version of FAISS. NOTE: the docker file test does not pass, but it did not pass in master either.

This fixes the docker issues I was having. I did not update the build-faiss-macos.sh script, but you could probably just copy the relevant commands from the docker file.


[Refactor][Config UI] Update the wording of the Transformation page

Please follow all the comments on this page to update the wording of Transformations: https://www.figma.com/file/Eux4Dhorxp7M0TwzOnL6Yh/Config-UI-for-V1.0?node-id=2029%3A10488

Note: GitHub is an example, and we need to update the wording in the same places of all data sources.

To be tracked in #3634


[BUG] - OpenSSL 3.0.2. included - with security vulnerability - in Service Fabric deployment

Describe the bug
Microsoft defender shows that OpenSSL is being used within Service Fabric
Having installed runtime 9.1.1390.9590 with SDK 6.1.1390
C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code\libcrypto-3-x64.dll
C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code\libssl-3-x64.dll

It is OpenSSL 3.0.2 being used, not 3.0.7 which contains the fix
Assignees: /cc @microsoft/service-fabric-triage

Can I work on this?


Created Radix Sort

I have created the code for Radix Sort. I hope that you like it. Please give me suggestions if I could have done anything better as this is my first pull request and would love to learn more.

I have done all the changes you suggested. Please review it.

@faheel I think now the code is fine. Please review it.

@faheel Is the code fine?

@faheel I will do the suggested changes by tomorrow.

@faheel I have done the changes.

@faheel I have done all the changes:+1: I guess. My compiler was throwing a lot of errors when I had declared the variable equated to the lambda expression as int. But, when I changed it to auto type, it worked! What would have caused the problem?

About the lambda's type, I don't know why you were getting errors on int as there's nothing wrong with it. Did you try with -std=c++14 flag?

There have been lots of suggestions recently by interested contributors to add more algorithms and data structures to the project, which I have currently put on hold because I want to close issue #74 first, as it would require a complete reorganisation of files and some refactoring of code.
I previously thought that I would work on #74 once the currently active PRs are merged, but I feel that it would take much longer that way. So, if it's not too inconvenient for you, I would like to work on issue #74 as soon as possible. The remaining work on this PR (and others) can be carried on afterwards. Once the project is refactored, all you would need to do is git fetch upstream and move the code that you wrote to the new appropriate directory.
 Let me know when you finish it.

@faheel Is it fine now?

Oh no, it doesn't seem to work :disappointed:. With the input 3 6 2 0 -5 4 -8 -6 4 1 7 5 8 6 7 5 (size 16) it gives a seg fault when sorting in increasing order and gives the wrong values when sorting in decreasing order.

@faheel Oh... :confused: It worked with many inputs I tried... I'll check... :disappointed:

@faheel The code is unable to locate sorting/utils.cpp. Also, the reason you got error is that Radix Sort's general algorithm, i.e., the one I have implemented doesn't sort negative numbers.

Ah, right, it will only sort positive values. Please mention this fact in the description comment.
Regarding "not being able to locate sorting/utils.hpp", please use the command make all from the C++ folder to compile the sources.

@faheel I have added it to the comments:v:

@Rajiv2605 Thanks a lot for your time and contribution! :smiley:

Thanks!


Cannot remove favicon

Hi,
Thanks for providing this wonderful template. I can't seem to follow the advice on the documentation to replace the favicon, uploading a new icon image doesn't work for me, and can't see any instructions on how to remove it at all. Is it possible to remove or direct me to where this image is set? (the little red W). Thank you very much.
-D

Did you follow this? Try to clear your browser cache after changing it


Constant disconnects, both USB and TCP/IP modes

[x] I have read the FAQ.
[x] I have searched in existing issues.

Environment

OS: [EndeavourOS]
scrcpy version: [1.23]
installation method: [pacman]
device model: Samsung A13
Android version: [11]

Describe the bug
Since upgrading to v1.23, I'm getting constant disconnects with no indication as to why.
On errors, please provide the output of the console (and adb logcat if relevant).
scrcpy 1.23 <https://github.com/Genymobile/scrcpy>
DEBUG: ADB device found:
DEBUG:     --> (tcpip)  samsung-a13:5555                device  SM_A136U1
DEBUG: Device serial: samsung-a13:5555
DEBUG: Using server: /usr/share/scrcpy/scrcpy-server
/usr/share/scrcpy/scrcpy-server: 1 file pushed, 0 skipped. 285.3 MB/s (41123 bytes in 0.000s)
[server] INFO: Device: samsung SM-A136U1 (Android 11)
DEBUG: Server connected
DEBUG: Starting controller thread
DEBUG: Starting receiver thread
[server] DEBUG: Using encoder: 'OMX.MTK.VIDEO.ENCODER.AVC'
INFO: Renderer: opengl
INFO: OpenGL version: 4.6.0 NVIDIA 470.103.01
INFO: Trilinear filtering enabled
DEBUG: Using icon: /usr/share/icons/hicolor/256x256/apps/scrcpy.png
INFO: Initial texture: 720x1600
DEBUG: Starting demuxer thread
DEBUG: End of frames
DEBUG: Receiver stopped
WARN: Device disconnected
DEBUG: quit...
DEBUG: Server disconnected
DEBUG: Server terminated

When these disconnects happen, I'm not actively using the app.

WARN: Device disconnected

This happens when the adb connection is closed.
For example, if you run adb shell or adb logcat in a separate terminal, they probably terminate at the same time.
There might be several causes:

a physical disconnection (USB unplug or poor cable for example, but unlikely in your case it also happens over wifi)
an adb server crash on the device (ROM bug)
an adb daemon disconnection (like adb kill-server or another process running another adb version)
…

Does it happen with another device?

This never happened with my previous phone (Samsung A11). I did find a bad USB cable in the mix, but this does not explain the disconnects with wireless. Overall, though, the disconnects have been less frequent since my last phone reboot.
The only other app that used adb was Android Studio, but I uninstalled it a while back.

So it's probably a device issue.

It could very well be.
How's this for not making sense? Since I changed the USB cable, my wireless connection has not dropped in well over an hour (no, the USB cable is not attached at the moment, either).

I tried enabling Wireless Debugging (which my Samsung A11 phone did not have) and the connections seem to be more stable now. I think I can close this issue for now.

I tried enabling Wireless Debugging

A priori, it only changes the authentication part, it should have no impact on the stability of the connection itself.

Thanks for that. I'm getting 12+ hours uninterrupted now, so I'll leave it.


Fix issue with enabling observability in ballerina.conf

Purpose
Purpose of this PR is to $title.
Fixes #19373
Samples
having following config in ballerina.conf will enable both metrics and tracing.
[b7a.observability]
enabled=true

Check List

[x] Read the Contributing Guide
[ ] Required Balo version update
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Codecov Report

Merging #19398 into ballerina-1.0.x will not change coverage.
The diff coverage is n/a.

@@               Coverage Diff                @@
##           ballerina-1.0.x   #19398   +/-   ##
================================================
  Coverage            15.73%   15.73%
================================================
  Files                   47       47
  Lines                 1265     1265
  Branches               197      197
================================================
  Hits                   199      199
  Misses                1053     1053
  Partials                13       13

Continue to review full report at Codecov.

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


Close box on pop-up bubbles is hard to hit

The close box seems to be quite small on mobile devices and it's hard to hit it. The user can of course click outside to clear, but might not always realize this. We should make the tappable area larger at least on smartphones.
Experienced on Android 2.3.4, T-Mobile G2

I found and modified a larger, 20x20 public domain icon that should be suitable.
http://www.iconfinder.com/icondetails/60943/20/black_cross_delete_remove_x_icon


Partial support for macOS 13's new SMAppService

Adds support for daemons and this has been tested
Updates documentation for login items, which may just work, but it's actually unclear because Apple's documentation right now is obviously incorrect. See https://developer.apple.com/forums/thread/709171#709171021
No support yet for launch agents

However, this is making the API surface increasing unwieldy so I have thoughts on how to refactor this to in most cases auto-detect which type of server  (and for that matter client as well) and let users explicitly specify a "type" if so desired. But first, wanted to land this change in the current style (although likely not make a release containing it).

FYI @amomchilov going to work on a number of changes in this area to both support macOS 13's new SMAppService and simplifying SecureXPC's API surface for creating servers and clients. This doesn't do the latter, I'm planning to put up another PR soonish (haven't started it yet) to do that.

Abandoning this in favor of a new pull request

For future readers, this was implemented in https://github.com/trilemma-dev/SecureXPC/pull/99


nothing vs missing

I believe that the ACEfit datastructures use nothing for missing data, but Julia has a different type for that called Missing with the singleton instance missing.

I considered missing at one point and there was a reason I didn't choose it. If I can remember over the next day or so, I'll say so here; otherwise I'll change it.


Add Matchit support for the C family of languages

Following up on https://github.com/JetBrains/ideavim/pull/343, this PR adds Matchit support for the C family of languages. The plugin now supports jumps on C-style preprocessor directives (found in C, C++, C#, ObjC), Makefiles, and CMake files.
I also refactored the code to be simpler and to make language configuration easier. Sorry for the large diff though! The changes are split into distinct commits with more detailed notes in the commit messages.
To sum up, I:

Simplified the search code in findClosingPair() and findOpeningPair()
Refactored parsePatternAtOffset() to return both the pattern start and end offsets

This is was necessary to support the else if conditional in Makefiles

Created the LanguagePatterns class to make language configuration easy

The new languages in this PR were configured just by calling that class's constructor

Thank you in advance for your time.

Hi, this is a great work. Thank you for the new languages support!
The test coverage is just awesome.

Thanks, Alex!


Regarding pathology image code and results

Hi,
I have been trying to find the code for fine-tuning MedSAM for histopathology images. I am unable to find it. Please guide me as to how to fine-tune for pathology images. I suppose I could adapt the script for 2D images.

Hi @MaxQureshi ,
Your can fine-tune medsam on pathology images by following the 2d tutorial.


Scrolling still enabled while modal popup showed

Subj! I think it shouldn't be that way... What you think?

@dtgeorge you're right, it shouldn't be. I haven't had enough time to fix a couple of things lately. This is part of them. Thanks for pointing that out.


Meeting: 2024-05-06

General information

See our Steno Epi group website for more details, like how-to docs and description of roles
SDCA Common Docs website for general practices, onboarding, help, etc.
Newcomer? Read this section.

Meeting details

Location/Zoom: Hjørnerummet (Plan 3). Physical attendance is encouraged but not required. Recurring Zoom link: https://aarhusuniversity.zoom.us/j/65703475926 (passcode: 935178).
Time: 13:00-15:00

Agenda

Updates on any actions items from previous meeting
Management updates from Daniel
Highlights from EDEG
Presentation from the MLCP Lab (AI/ML space)

Adam (45 mins): Clinical prediction (fundamental concepts, stats vs ML, association vs prediction)
Benjamin & Anders (15 mins): quick intro to a paper on ML & registers from IJE
Discussion

Articles we will discuss/use as inspiration:

Collins G S, Dhiman P, Ma J, Schlussel M M, Archer L, Van Calster B et al. Evaluation of clinical prediction models (part 1): from development to external validation BMJ 2024; 384 :e074819
Collins G S, Moons K G M, Dhiman P, Riley R D, Beam A L, Van Calster B et al. TRIPOD+AI statement: updated guidance for reporting clinical prediction models that use regression or machine learning methods BMJ 2024; 385 :e078378
(Barbieri S, Mehta S, Wu B, Bharat C, Poppe K, Jorm L, Jackson R, Predicting cardiovascular risk from national administrative databases using a combined survival analysis and deep learning approach, International Journal of Epidemiology 2022; 51(3):931–944)

Preparation for the meeting (~15 mins): we ask you to read the following parts of the articles
Articles 1 & 2 - 'Summary Points' sections (on first page in both articles).
Article 1 - Box 1 (Glossary) and Table 1 ('Description' column is sufficient)
Article 2 - Table 2 (TRIPOD+AI checklist), Box 2 (changes/additions to TRIPOD 2015)
Minutes

NOTES

Introduction round
Updates on any actions items from previous meeting

No big updates
Still waiting for a response from the Steno National grant
We need to share information after closing Trello

Make the transition to GitHub projects at steno

The calendar is still available

Daniel I. announcements

Three international speakers are coming to a causal mediation course in late May
Associate Prof. Nima Hejazi, T.H. Chan Harvard School of Public Health
Associate Prof. Ivan Diaz, NYU Grossman School of Medicine
Associate Professor Clemens Wittenbecher, Chalmers University of Technology

If the Epi group is interested, Daniel I. will organise a formal meeting for us 31st of May. Contact Daniel I.if you are interested

Reimbursements have to be done manually in RM through the website find the description on Git Hub.

Annelli

Remember to bring your poster to research retreat!

Highlights from EDEG

Great party!
The selection of keynote speakers can be improved

Adam H: Next year it will be better (Simon Griffin, Dianna Magliano, Tibor Vagar)

We need more engagement and dialogues after presentations
Initiatives to active young researchers
Maybe assign people (in the audience) beyond chair persons to presentations.
We need the abstract book!
The committee would like to bring a training course before the meeting (if there is funding enough)

Presentation from the MLCP Lab (AI/ML space)
Adam (45 mins): Clinical prediction (fundamental concepts, stats vs ML, association vs prediction)
Benjamin & Anders (15 mins): quick intro to a paper on ML & registers from IJE
Discussion
Questions:
Is data big enough? The data used to develop the complex model are enormous compared to what we have in health data science.
Biological development (prediction of disease) is difficult to capture compared to the diagnostic model.
Have we seen any models where they update the model as we go? Is there any updateable model that updates population/ individual risk?

We still need a model in implementation
Trail in Horsens is updating data on sepsis patients (no publication)

Next month
Luke space will be in charge
Thanks for today
References from the meeting
Leakage and the Reproducibility Crisis in ML-based Science (Article)
https://www.cell.com/patterns/pdfExtended/S2666-3899(23)00159-9
Leakage and the Reproducibility Crisis in ML-based Science (Website)
https://reproducible.cs.princeton.edu/


Fix flushing race in new multi-recording SDK

Fixes #2124

PR Build Summary: https://build.rerun.io/pr/2125

As one would expect!

Added do-not-merge, want to talk about it first!


Create an easy editor for section content

Staff members aren't very keen on writing markdown for sections.  Help them out with some compromised interface that allows for some WYSIWYG elements without causing additions of poor code and without incurring a buggy and unpredictable interface.

Do we want to create a fully custom UI for this?
Something you'd like me to design?
When does this item need to be completed?
Consider using a prefab GUI like TinyMCE or something?

I really like Github's interface.

Superseded by issue #103


The client type is not clear in the sample code

Please augment the following code by clarifying the instantiation of the client's object's type. Do not assume that a reader who just landed on that page to know the type:
// Create a container with a partition key and provision 1000 RU/s throughput.
DocumentCollection myCollection = new DocumentCollection();
myCollection.Id = "myContainerName";
myCollection.PartitionKey.Paths.Add("/myPartitionKey");

await client.CreateDocumentCollectionAsync(
    UriFactory.CreateDatabaseUri("myDatabaseName"),
    myCollection,
    new RequestOptions { OfferThroughput = 1000 });

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

ID: 091ef979-ef2f-c472-547d-44ab61ddcc01
Version Independent ID: 98e13ff6-d693-2bc5-789e-e3638e36ebd0
Content: Create a container in Azure Cosmos DB SQL API
Content Source: articles/cosmos-db/sql/how-to-create-container.md
Service: cosmos-db
Sub-service: cosmosdb-sql
GitHub Login: @markjbrown
Microsoft Alias: mjbrown

@Arash-Sabet Thank you for the feedback. We are actively investigating and will get back to you soon.

This example is meant to be narrowly specific to the container create because the options to create a new container can get rather extensive. New users are guided to our tutorials and/or quickstarts which provide more substantial examples of usage.
That said, this example is rather old and should be updated. I have updated it to reflect latest .NET SDK version and submitted PR #184010. Should publish later today.
Thanks for reporting.
#please-close


Online Demo please?

Sounds cool... looks like no server needed, could be on GH pages?

Right now I have no plans of hosting or providing any demo of this.


Remove RasterValue::NoData and just return an Option

If there is not value preset I would expect a None variant and not a no data data variant
geotiff.rs:410: can just be removed since the None Option is specifically mapped to the NoData variant
geotiff.rs193: pub fn read_pixel(&mut self, x: u32, y: u32) -> RasterValue { becomes pub fn read_pixel(&mut self, x: u32, y: u32) -> Option<RasterValue> {

You're right, None is more idiomatic Rust than NoData. But I'm hesitating to change that, because of the long history of NoData in raster processing.


InputGroup / Icon slots

we can use start and end slots for 'Icon input` example and have another component/solution to support 'input group' and 'input group buttons' section.

related: #471 and Maybe #416

Method 1:

<FormInput label="Icon input" iconEnd="search" placeholder="Search..."/>
<FormInput label="Icon input 2" icon="user" placeholder="Username"/>

<FormInput label="Input group" placeholder="Search For...">

        <Icon name="search" />

    <Button slot="end">
        Go!
    </Button>
</FormInput>

Method 2:

<FormInput label="Icon input" placeholder="Search...">

        <Icon name="search"/>

</FormInput>

<FormInputGroup label="Input group">

        <Icon name="check"/>

    <FormInput placeholder="Search..."/>
    <Button>Action</Button>
    <Button>
        <Icon name="search"/>
    </Button>
</FormInputGroup>

@pournasserian Which method do you prefer?

in Method 2 (input group example) most of FormInput features are not used, and user can use Input component directly.


FIX: patch doctest

Iterating with @Aniket-Pradhan until things work for Fedora. Then I'll merge this and cut a 0.20.2, and port changes up to master.

Another issue that I had been facing is here: mne/utils/tests/test_logging.py:test_get_call_line
The error log I get is:
>           assert my_line == 'my_line = foo(verbose=v)  # testing'
E           AssertionError: assert 'unknown' == 'my_line = foo(verbose=v)  # testing'
E             - unknown
E             + my_line = foo(verbose=v)  # testing

I was running the test case inside a mock (basically in a VM). Now, I am not sure whether the test fails because of the environment or not, but when I run the test using a python virtual environment, it works fine.
I tried debugging this issue, for which I checked the second-last frame (instead of the third-last and I got return _get_call_line() which is correct. The third last frame gives a None value, for which the test fails.
If you think that this is happening because of running the test in mock, I can skip this test, since it's working perfectly fine for me in a virtual environment.

Yes mock is almost certainly the problem because that test relies on inspect giving correct information

Ach... no worries then.
One last doctest failure for you: mne/filter.py:621
I am sort of confused, as to why these doctest failures don't come up on Travis builds?
Thanks a lot for working on this, and helping me out here!

I am sort of confused, as to why these doctest failures don't come up on Travis builds?

Tests might not be run at all / default logging levels, or it's possible that some test modifies the logging level without setting it back. Basically we have some cruft somewhere...

Pushed a commit to fix that bug and modify a CI run to use MNE_LOGGING_LEVEL=info (the default for new users) rather than warning

Okay, just one last failure.
I am not getting a UserWarning as expected in mne/viz/tests/test_ica.py:180.
        with pytest.warns(UserWarning, match='Infinite value .* for epoch 0'):
>           ica.plot_properties(epochs)
E           Failed: DID NOT WARN. No warnings of type (<class 'UserWarning'>,) was emitted. The list of emitted warnings is: [].

I just want to ask if I should really expect any warnings in this section? I was unable to find any mention of UserWarning with ICA

It should warn but it's not critical that we verify it. Pushed a commit to be less stringent

Well, that fixes all the tests.
Thanks a lot, @larsoner for everything :heart:
I will be waiting for the next release to update python-mne for Fedora

Should be able to push it to PyPi tonight or tomorrow morning. Want to wait for CIs to actually come back happy, and also see it work on master

@Aniket-Pradhan you should be good to go
https://pypi.org/project/mne/

(merged by push with version and 0.20.inc updates)

@larsoner looks like you accidentally didn't include #7690 in v0.20.2. Or did I get you wrong and the commit will be available in the next release?

The changes should be there, are they not?

Argh, they are not. Will cut another one shortly

Okay should be fixed now
https://pypi.org/project/mne/#files

Thanks for your help! :smile:


Reduction of support

This issue is mostly for maintainers: @NightRa, @aoiroaoino, @xuwei-k and @kenbot but feel free to comment if you are a Monocle user.
I am proposing to drastically reduce the support Monocle provides for various configurations to simplify the build, simplify the release process and make it easier for new contributors. Specifically, I would like to drop:

scalaz
scala 2.11 (only support two major versions going forward)
scala native

Monocle would still support Scala 2.12, 2.13 and scala.js.
I don't want to drop any of these configurations, but I reached a point where I can't make myself release a new version of Moncle because the release process annoys me so much and I don't have as much free time as I used to.
In my opinion, if some people/organisations want Monocle to support any additional platform/Scala version/library, they should either commit to supporting these features or offer some financial compensation such as we can either hire people to do it or take days off to do it ourselves.
Please let me know what you think about it.

Would your position on scala-native change if they bumped to 2.12 or 2.13?

@milessabin not really, I don't want to complexify the build and the release process for something that I don't use and I don't know anyone who use/need it.

My team heavily uses Scala 2.11, scalaz and Monocle. We're already stuck on old versions of lots of things so this would make Monocle be no different.

@puffnfresh Thanks for letting me know. I am sorry this would cause you and your team some pain.

@milessabin not really, I don't want to complexify the build and the release process for something that I don't use and I don't know anyone who use/need it.

Afaik, if scala native mirrored the releases of the official Scala compiler (just like Scala.js does) the extra build would be trivial (i.e. just a couple of extra lines). Its a shame that scala-native support is dropped, but I suppose at worst we can always fork.

Here is the PR I am working if we decide to move forward: https://github.com/julien-truffaut/Monocle/pull/646
Thanks @pepegar for the example build/travis.
If you are knowledgable about travis / sbt, I would appreciate a code review. I am just copy / pasting stuff hoping things will work out...

I am going forward and merge #646
We can always discuss other options to support scalaz, scala native e.g. fork repo and advertise forks in Monocle web site


Fully changed to 1.3.0

It has been recommended to use def instead of defvar:
http://clojuredocs.org/clojure_contrib/clojure.contrib.def/defvar
Removed unneeded imports.

Also bumped version number as there have been a few changes.

Clojure-Control has a leiningen plugin bundled. However, leiningen has no plan to upgrade to clojure 1.3.0 until 2.0. So I'm afraid that moving to clojure 1.3 may break the plugin. Some tests are needed for this concern.

OK, i will downgrade it to 1.2.1

I will merge this pull request when lein 2.0 released.Thanks.It's not nessary to upgrade to clojure 1.3 right now.

@killme2008 Maybe you can create a new branch for clojure 1.3

Ah. I'm sorry. I am not familiar with the "politics" of Clojure versioning yet. But at least we have the change for later.

@ljos Never mind. Thank you very much for contributing to the project.


Google Maps Cafe

Google Maps appears right on the edge, maybe add some padding on right side

solved


fonts for String/Net different in/out of math mode

inside math mode, mathJax only allows use of tex fonts. the only fixed width tex font is \tt
outside math mode, \tt is unusable due to
https://github.com/mathjax/MathJax/issues/1953
(the fix doesn't help with the fact that \tt is fundamentally broken in mathJax)

same problem with KaTeX, see
https://github.com/Khan/KaTeX/issues/1255

fixed in KaTeX


config: ensure minchansize and use it in rpcserver also

This is a proposal to make minchansize configuration more consistent.
minChanFundingSize is moved to config.go, and minchansize param is validated against it.
It is then also used in RPC server.

This isn't a global value and can be set by other users.


Instructions create incorrect /etc/apt/sources.list.d/microsoft-prod.list on ARM64

I am installing IoT Edge under Ubuntu 20.04 on a Raspberry Pi 4 (ARM64), which according to https://docs.microsoft.com/en-us/azure/iot-edge/support?view=iotedge-2020-11#operating-systems is a Tier 1 supported platform.
The installation instruction on page I'm presently reporting, under the heading #install-iot-edge includes the following commands:
wget https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb
rm packages-microsoft-prod.deb

Installing the package packages-microsoft-prod.deb per this instruction creates the file/etc/apt/sources.list.d/microsoft-prod.list on the target system. This file in turn has the following content:
deb [arch=amd64] https://packages.microsoft.com/ubuntu/20.04/prod focal main
Note the incorrect arch designation. As expected, the remainder of the installation instructions fail, e.g.: E: Unable to locate package moby-engine

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

ID: a3b8296d-c923-e990-dcad-35ef2b908a2a
Version Independent ID: 5f85fd7b-f2b6-b3b1-6be2-b6054bb33507
Content: Create and provision an IoT Edge device on Linux using symmetric keys - Azure IoT Edge
Content Source: articles/iot-edge/how-to-provision-single-device-linux-symmetric.md
Service: iot-edge
GitHub Login: @PatAltimore
Microsoft Alias: patricka

Resolution: manually editing the file microsoft-prod.list to read as follows seems to allow installation:
deb [arch=amd64,arm64,armhf] https://packages.microsoft.com/ubuntu/20.04/prod focal main
This is not a documentation issue, but rather an issue with the package https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb

@hammar  Thanks for the feedback and sharing the resolution. I have assigned the issue to the content author @PatAltimore to evaluate and update as appropriate.

@hammar, @AshokPeddakotla-MSFT, @PatAltimore the packages-microsoft-prod.deb should have been fixed as of the end of March such that the instructions on ARM64 work as documented.  I believe we can close this issue.

Thanks, @micahl.
I'll close the issue. #please-close


Cant get CORS to work

Hi, i'm struggling to get CORS to work properly on my app.
App is deployed on: https://www.photomy.si/auth/login
If you try to login with random credentials and  open the developer console and check the network tab you will see the CORS error.
Im using the following settings in production:
CORS_ORIGIN_ALLOW_ALL = False
ALLOWED_HOSTS = ['photomy.si', 'services.photomy.si']
CORS_ORIGIN_WHITELIST = (
    'photomy.si',
    'services.photomy.si'
)

Link to production settings

You need to put www.photomy.si in your origin whitelist, because that's the domain you'd be allowing to request from services.photomy.si
You see the origin being sent on the request in the developer console, e.g. on Chrome:


Sync: SiegeEvent Collections

Description

Sync the values in the Synced list below.
Create an end to end (E2E) tests for all collections (1 for server changing the value and 1 for client changing the value if applicable)
Create a command to test updating the collection in game see similar command

Also see additional information at the bottom for more information and templates

Key
Server side only (only allow the running of the function on the server side)
Client side only (only allow the running of the function on the client side)
Client side sync (request the server to change the value, server then changes the value and replies to the client allowing the change)
Server side sync (only server allows running of the function and send to all clients the value changed and clients update the value/call original function)
Synced

Collection Name
Sync Type
Additional Information

TODO
TODO
TODO

Deferred

None
Externally Deferred

None
Non-Synced

None
Intended Design

For the patch itself please refer to https://github.com/Bannerlord-Coop-Team/BannerlordCoop/wiki/Patching-Basics#collection-patching
Collection Sync Dataflow

Integration Testing

Location

Create a branch based from development
Related Issues

Blocked by:

#915

Requirements

N/A
Additional information

Using the GameInterface Service Tempale create commands to test the synced values.
Definition of Done

[ ] Class level comments exist for all new classes.
[ ] XUnit E2E tests exist for every synced collection on the server (and client if applicable)
[ ] Each collection has a command for each type of synced update

No Collections


fix: update junit XML file finder pattern

lgtm, not sure why CI is failing though

I'll have to fix it at some point to make it less noisy but it's to test the local comment functionality


Allow unit testing of rules with controlled terminology

AC:

Controlled Terminology Version can be specified in the test data
Ticket created in Rule Engine to accept Controlled Terminology version as a parameter of the test data

Duplicate of https://github.com/cdisc-org/conformance-rules-editor/issues/64


Added method romFormData to BinaryDownloadPreset to easily use with form data/requests

This small change can be used in cases where you want to post data/files and you will retrieve a binary download response. E.g. by using the the Gotenberg APIs

Q
A

Type
improvement

BC Break
no

@veewee, could you check my changes regarding factory method names? Tx.


Deprecation Warning for Distance Utility

Describe the bug
HA is reporting that the distance utility is deprecated since 2022.10 and will stop working in 2023.4. It should be updated to use unit_conversion.DistanceConverter instead.
To Reproduce
Steps to reproduce the behavior:
Use component with HA version > 2022.10 and view the home-assistant.log file.
Expected behavior
No deprecation warning
Additional context
Log output:
2022-12-27 09:16:04.806 WARNING (MainThread) [homeassistant.helpers.frame] Detected integration that uses distance utility. This is deprecated since 2022.10 and will stop working in Home Assistant 2023.4, it should be updated to use unit_conversion.DistanceConverter instead. Please report issue to the custom integration author for worldtidesinfocustom using this method at custom_components/worldtidesinfocustom/live_position_management.py, line 18: KM_PER_MI = dist_convert(1, LENGTH_MILES, LENGTH_KILOMETERS)
2022-12-27 09:16:04.807 WARNING (MainThread) [homeassistant.helpers.frame] Detected integration that uses distance utility. This is deprecated since 2022.10 and will stop working in Home Assistant 2023.4, it should be updated to use unit_conversion.DistanceConverter instead. Please report issue to the custom integration author for worldtidesinfocustom using this method at custom_components/worldtidesinfocustom/live_position_management.py, line 19: MI_PER_KM = dist_convert(1, LENGTH_KILOMETERS, LENGTH_MILES)
2022-12-27 09:16:04.808 WARNING (MainThread) [homeassistant.helpers.frame] Detected integration that uses distance utility. This is deprecated since 2022.10 and will stop working in Home Assistant 2023.4, it should be updated to use unit_conversion.DistanceConverter instead. Please report issue to the custom integration author for worldtidesinfocustom using this method at custom_components/worldtidesinfocustom/live_position_management.py, line 20: FT_PER_M = dist_convert(1, LENGTH_METERS, LENGTH_FEET)
2022-12-27 09:16:04.811 WARNING (MainThread) [homeassistant.helpers.frame] Detected integration that uses distance utility. This is deprecated since 2022.10 and will stop working in Home Assistant 2023.4, it should be updated to use unit_conversion.DistanceConverter instead. Please report issue to the custom integration author for worldtidesinfocustom using this method at custom_components/worldtidesinfocustom/worldtides_data_coordinator.py, line 20: KM_PER_MI = dist_convert(1, LENGTH_MILES, LENGTH_KILOMETERS)
2022-12-27 09:16:04.812 WARNING (MainThread) [homeassistant.helpers.frame] Detected integration that uses distance utility. This is deprecated since 2022.10 and will stop working in Home Assistant 2023.4, it should be updated to use unit_conversion.DistanceConverter instead. Please report issue to the custom integration author for worldtidesinfocustom using this method at custom_components/worldtidesinfocustom/worldtides_data_coordinator.py, line 21: MI_PER_KM = dist_convert(1, LENGTH_KILOMETERS, LENGTH_MILES)
2022-12-27 09:16:04.814 WARNING (MainThread) [homeassistant.helpers.frame] Detected integration that uses distance utility. This is deprecated since 2022.10 and will stop working in Home Assistant 2023.4, it should be updated to use unit_conversion.DistanceConverter instead. Please report issue to the custom integration author for worldtidesinfocustom using this method at custom_components/worldtidesinfocustom/worldtides_data_coordinator.py, line 22: FT_PER_M = dist_convert(1, LENGTH_METERS, LENGTH_FEET)

Thanks !

I release v12.3.0.
Enjoy !

Fixed via 20fb8e658e1f19965a0bc7d8d0aacfcdfaf92832.


ROCm competition

https://geohot.github.io//blog/jekyll/update/2023/05/24/the-tiny-corp-raised-5M.html
The software is terrible! There’s kernel panics in the [driver](https://github.com/RadeonOpenCompute/ROCK-Kernel-Driver). You have to run a newer kernel than the Ubuntu default to make it remotely stable. I’m still not sure if the driver supports putting two cards in one machine, or if there’s some poorly written global state. When I put the second card in and run an OpenCL program, half the time it kernel panics and you have to reboot.

That’s the kernel space, the user space isn’t better. The [compiler](https://github.com/RadeonOpenCompute/llvm-project) is so bad that [clpeak](https://github.com/krrishnarraj/clpeak) only gets half the max possible FLOPS. And clpeak is a completely contrived workload attempting to maximize FLOPS, never mind how many FLOPS you get on a real program (usually like 25%).

The software is called ROCm, it’s open source, and supposedly it works with [PyTorch](https://pytorch.org/blog/pytorch-for-amd-rocm-platform-now-available-as-python-package/). Though I’ve tried 3 times in the last couple years to build it, and every time it didn’t build out of the box, I struggled to fix it, got it built, and it either segfaulted or returned the wrong answer. In comparison, I have probably built CUDA PyTorch 10 times and never had a single issue.

Where does the tiny corp come in?
Forget all that software. The RDNA3 [Instruction Set](https://www.amd.com/system/files/TechDocs/rdna3-shader-instruction-set-architecture-feb-2023_0.pdf) is well documented. The hardware is great. We are going to write our own software.

If you were to tape out your own chip, you’d be struggling with both hardware bugs and software bugs, and you wouldn’t be sure which one it is. Here, you have a good idea, and have the AMD provided driver as an open source reference.

This is life on easy mode, and I still doubt any of those AI startups could have done it. This is what the tiny corp is going to do to start. **Build a framework, runtime, and driver for AMD chips.**
```

Looks like a scam.

Never mind, it isn't. I have it installed.


feat: port Algebra.Algebra.Prod

[x] depends on: #2371
[x] depends on: #2384

This PR/issue depends on:

leanprover-community/mathlib4#2371
leanprover-community/mathlib4#2384
By Dependent Issues (🤖). Happy coding!

This PR/issue depends on:

leanprover-community/mathlib4#2371
leanprover-community/mathlib4#2384
By Dependent Issues (🤖). Happy coding!

Thanks :tada:
bors merge


test_subs: ensure gather_subscriptions_helper excludes deleted streams

https://paper.dropbox.com/doc/Zulip-sprints-backend-test-projects-3HjAzwNDXqAno1R9Zzjs9
[ ] gather_subscriptions_helper: Add an explicit test for deactivated streams not being included in test_subs.py
Testing Plan:
I ran the tests using tools/test-backend zerver.tests.test_subs.SubscriptionAPITest.test_gather_subscriptions_excludes_deactivated_streams ... After confirming the test was correct, I deliberately broke the test to ensure that it was, in fact, testing the results and failing assertions as expected. It seems to be correct. LMK if this is not what was expected.
GIFs or Screenshots:

… will fix linter and resubmit updated push.

Looks great, merged, thanks @thebaron!


not able to deploy nifi in kuberntes

can you provide me steps for the setup nifi in kubernetes

Yes, how far have you got so far?

install zookeeper following this guide

Then run    docker run -v $PWD:/tmp tibbar/vortex:v1 -template /tmp/templates -output /tmp/deployment -varpath /tmp/environments/default.yaml in the nifi kubernetes-nifi-cluster project

After this you can run ./deploy.sh to automate the install


getBody without Decode constraint?

Is there a reason why there isn't a getBody' or something without a Decode constraint? I'd like to have one since I use ReadForeign from simple-json and don't want to introduce the same code everywhere (or have to use getBody to Foreign or something)

I believe the only reason is that nobody wrote it yet :) Would you be interested to do it?


Prevent Spotlight from indexing terminal-notifier.app

This commit places terminal-notifier.app in a mac.noindex folder so that Spotlight does not index the app (Spotlight does not index folders ending with .noindex).
If you happen to have a few npm packages depending on node-notifier installed, you’ll encounter quite a few terminal-notifier.app results when searching for “Terminal” in Spotlight (or in any other app launcher that uses Spotlight’s index). Since there’s no point in opening terminal-notifier.app by itself and it just clutters Spotlight’s results, I’d suggest removing it from the index.

Side note: Why not .metadata_never_index?
The above-linked Stack Overflow answer also mentions .metadata_never_index as a way to prevent Spotlight from indexing a folder. However, as noted by Nate in the comments and mentioned in OS X Incident Response: Scripting and Analysis, it only seems to work at the root of a volume.

Any movement on this? Was really quite confused why doing cmd+space + ter + enter quickly was causing notifications and not opening terminal 😂


rewrite Sentence.delete?

The current deletion of sentences doesn't remove rows but it probably is better if it was. This might also be a breaking change but probably needs a decision. Possible problems involve models that use the sentence model as a foreign key.

How does it work on tatoeba2? Is a sentence ever deleted?


LLM integration

Goal
Make the robot react to a simple test command from the LLM.
Web

Create a WS server to communicate with a LLM and the robot.
Create an UI to communicate with the LLM

Embedded

Program the movement set used as a toolkit by the LLM.
Create an interface to receive and execute the remote commands.
Use a message pump.

Message
"fxxxx" - forward + time with 4 characters in milliseconds
"bxxxx" - backward time with 4 characters in milliseconds

Encoding the messages with binary should be considered instead of using native strings from JS.
Currently, each type of message requires its conversion method, sometimes it's reusable, but sending the wrong type on JS can break the workflow, and it is an error that doesn't show up on compilation time.

Since each module requires procedural execution (order matters), but blocking execution between tasks isn't desirable, I chose to approach the problem with an Active Object design pattern.
A message pump would be undesirable because certain messages require a previous one to be fully executed (like timed engine movements) before it pops out of the queue, blocking other messages that don't need to wait for others to be executed.

Objects

Movement Task
Telemetry Task
Observe Task (for conditional commands)

https://stackoverflow.com/questions/43529031/websockets-and-text-encoding
To assign a misunderstanding, despite JS working with UTF-16 strings, the WebSocket protocol defines that UTF-8 must be used in communication.
https://stackoverflow.com/questions/10229156/how-many-characters-can-utf-8-encode
With this knowledge in our hands, we can address another misunderstanding about how Unicode formatting works:
UTF-8 does not work with a fixed size of bytes for a character, it varies from 1 to 4 bytes.
https://datatracker.ietf.org/doc/html/rfc3629#section-3
A character written with multiple bytes is defined by the most significant bits of each byte.


Is this still being used/maintained?

Sorry for making this an issue, but we just found this and it's pretty nice. Almost exactly what we're looking for.
I tried the Gitter room, but it was empty and the last message was long ago and far away...
Anyway...are the maintainers still using this?

Hi. :) While this project has tests, I am not currently using it in production due to scheduling issues with a client of mine. However, I will be adding it to a production site within the next month so will be updating / fixing bugs as I find them.

Yay!
FYI, I've quickly prototyped a node service to subscribe and keep track of where it is on a stream. We start work in about 2 weeks, so if we find anything, we'll create issues.

Sound good. It will be great to start getting some feedback.


search results: slightly modify the style & content of listed results

Trello https://trello.com/c/Ng8G6f9K/294-suppliers-can-view-date-questions-close-on-dos-search-page
Bringing in a new frontend-toolkit version (https://github.com/alphagov/digitalmarketplace-frontend-toolkit/pull/403), use a mixture of .search-result-metadata-item and .search-result-metadata-item-inline to show information. Add clarificationQuestionsClosedAt field to listed briefs.
Brief search:

Service search:

Note this also depends upon an updates briefs search-api mapping to return clarificationQuestionsClosedAt at all. PRs: https://github.com/alphagov/digitalmarketplace-frameworks/pull/495. Also I may still be making some style tweaks based on jeremy's feedback.

Would be nice to have the metadata in the same place on both search pages. (ie on DOS it's above, on G-Cloud it's below)

I refer you to jeremy.

@risicle
The content needs to be updated.
Label should be: Deadline for questions not "Closing date for questions"
This is consistent with the labelling on the opportunity pages.

Ok will do


Enforce data sparsity

If we change this, we need to add documentation where the datasets originally came from.

I agree we should add the documentation, but the only changes I'm making here are switching one set of undocumented figshare links to another set of undocumented figshare links.

Hahaha, touché. We should have added a reference to the scib paper for these somewhere. I'm surprised that we didn't :/.

We definitely should have. Long term I still think we should; however, it's unrelated to this PR (:

@LuckyMD happy for me to merge this? We do need to document those datasets at some point of course.

And otherwise the old figshare at least links to the paper with the relevant processing information and reproducibility notebooks.

Does it? I tried no end to figure out how to find any relevant metadata from https://ndownloader.figshare.com/files/25717328 -- as far as I can tell this link gives us no way of getting to the paper. Perhaps you have the relevant figshare links from which these download links were taken?

okay, need to add that.

I tried for maybe an hour and couldn't figure it out, no :) We have quite a few undocumented ndownloader.figshare links (not just these ones), if you could document the relevant figshare.com/articles links that would be great

Hmm, we have the data_doi in the decorator, no? What else do we need? How we go the data to the format it's in?

So in theory all of these dataset functions should fetch the data from the "raw" source, whatever that is (GEO et al). Figshare is kind of a dirty workaround for that, so for those cases we should document a) where the raw data came from and b) what was done to it. The DOI gives us the reference for how the data was generated but not any information about what was done between publishing and figshare.


List of files to upload without thumbnail

Type of issue

[ ] Bug report
[X] Feature request
[ ] Support request

Uploader type

[X] Traditional
[ ] S3
[ ] Azure

Is it possible to have just a list of files to upload whitout any thumbnails?

yes, it is. Simple remove the thumbnail elements from the template, or do not use Fine Uploader UI at all - simple use the core APIs and build your own UI.


Bug in bitplane buffer size

https://github.com/pixelmatix/esp32_I2sParallelDmaLedMatrix/blob/3ed8343244cbba76841d2d99c310f04571735cc3/main/app_main.c#L162
s/matrixHeight/matrixWidth/

Actually it wasn't clear what values should be swapped, but the current version crashes with out-of-bounds accesses, when matrixWidth != 32 e.g. #define matrixWidth 64.

Yeah good work on the code, runs nicer than original in terms of ghosting.... still some funny green streaks when you move a single white dot around all by itself.... but once you get some other pixels lite it makes it less noticeable....
I also tweaked the code some more to get the building of the DMA buffer to execute faster, as my plans are to do some large panels and I need it as fast as possible.... it was building a 32x16 frame in 1100uS now its 700uS
Pretty amazing it runs at 500fps with a 8Mhz clock to the panel :-)

@themindfactory I'm porting the SmartMatrix Library, and it has support for stacking panels to make a larger display, which may help for your project.  It's coming along and I should have a preliminary version to share shortly.  I'll post to the ESP32 thread.


[Feedback]amplify configure don't ask me to sign in to AWS console

Page: /start/q/integration/js
Feedback:
I'm expecting the results according to the guide.

But my console shows me the following.

I can't take advance anymore.

Hey @prettydev 👋 apologies for the delay! Are you also experiencing this with the latest version of the CLI?

Closing due to inactivity. @prettydev if you are still experiencing this issue please reply back to this thread and we can re-open to investigate further. 🙂


Add fix for TAA passes rendering black meshes on XR

Meshes were rendered all black when TAA is enabled with XR.
Error in console:
ERROR: Invalid color pass flag combination 13
   at: _render_list (servers/rendering/renderer_rd/forward_clustered/render_forward_clustered.cpp:550)
ERROR: Invalid color pass flag combination 14
   at: _render_list (servers/rendering/renderer_rd/forward_clustered/render_forward_clustered.cpp:550)

Adding the missing flags resolved it for me.

Based on @clayjohn previous patch 🤗

Is this still an issue? I ran into this as well and I was under the impression @DarioSamo already fixed this issue?

(other than that, I guess this fix looks sensible)

Yeah I'm using it in a 4.2 build. I also thought it was fixed earlier or seems to have got lost somehow? Unsure.

Or it may have been something similar. Anyway I think the fix itself makes sense.

Thanks Ya'll!

Cherry-picked for 4.2.2.