Get Max Server Memory in dbo.all_server_stable_info

Get Max Server Memory in dbo.all_server_stable_info

This has been implemented


error create admin user

I use the postman app to generate the POST request, it generates the token but it says error when I enter the data in the backoffice panel

Do you have a .env file with proper configurations?

yes i have the correct settings in .env i think it would give error when i run node server.js

Can you make a screenshot of the console tab from chrome dev tools? What errors are you getting?

Looks like you don't have a running server. Basically you need to have 3 things running, in order to have the full app functioning normally - the app itself, the server and the mongodb. You start the game via gulp and the server with Node.js (node server.js).

If exactly I have mongodb running, then I run node server.js, and lastly I run gulp
in fact I think that if this mongodb is not running, the node server.js would give an error, and it does not give me an error, DB connected tells me, that is, everything is fine, then I run gulp, I can register a normal user and I can enter, but I need is to add admin user.
I do all the steps indicated to create the admin, but it gives me an error when entering the credentials. it would be nice if you added a global admin user
Thanks for your help.

Give me a sec, I am setting up the project on a new PC, so I will do a fresh install and try.

Ok, I did it and it seems to be working fine. Could you show me how do you start MongoDB server? Also, can you use some database management software, such as MongoDB Compass, and inspect whether your have the correct records there.
What I just did is:

Checked out the project
Set my .env file
Installed gulp globally and locally
Installed MongoDB server
Created an empty dir in C:\data\db to store the DB records.
Ran the server via 'mongod' command in the /bin folder of the installation (C:\Program Files\MongoDB\Server\4.2\bin in my case).
Ran 'node server.js' in  the root dir of the poject
Ran 'gulp' in the root dir of the project
Created a new admin user via Insomnia (as described in the readme)
Opened http://localhost:8000/back-office.html and logged with the credentials from the previous step.

ready, i managed to solve it with mongodb compass, apparently the mongodb server had a problem in the configuration file, it had the option #auth=true activated, comment it and restart the daemon, and ready it worked, thanks for your time
Thanks to the graphic application I was able to realize that the users were not registering through the POST command to the api, and I could deduce that the problem was the mongo server and not your software

I solved the problem by adding the following line


Concerns about primary key behaviour

While I was writing tests for transplant, I was testing the following:

create an index with primary key primary
add a document, and set primary key to primaru (testing that this is ignored):

{"primaru": 1, "text": "tata"}

I was expecting that there would be an error, since I have set the primary key to some value, and handed a document that doesn't contain this field. Yet this seems perfectly acceptable. Furthermore, when querying for the document back, I get:
[
  {
    "primaru": 1,
    "text": "tata"
  }
]

So there are no notion of the primary key. The document was given an id, but I have no way of knowing which. This is concerning, since as a user I specifically requested that a primary key is used, and yet, it is ignored.
Here is what I think should be the behaviour:

If the primary key is not set, and the engine can infer it, then it is set to the inferred value.
If it can't be infered, the engine creates a id field for each document, and uses it as a primary key. This fields should be added to all documents, and retrieved when doing a GET documents.
If the primary key is set, either manually or by any of the previous manners, then a document that lack this primary key causes the addition to fail with an error.

Hello! Is this issue blocking to make transplant iso with MeilISearh? Should this be fixed?

closed by #180


[CI/CD] Missing row selection functionality in TestPage object

1. Describe the bug
In the UI of a list page, it is possible to select multiple records, e.g. via Ctrl + Click. In automated testing, this is not possible due to  missing functionality to select a record.
2. To Reproduce

Create a list-type testpage object (e.g. ItemListTestPage: TestPage "Customer LIst") ;
Attempt to write code that selects multiple records;
Find that that is impossible;
Run around office flailing in despair.

    [ModalPageHandler]
    procedure ReqWorksheetCheckModalHandler(var ReqWorksheet: TestPage "Req. Worksheet");
    begin
        ReqWorksheet.First();
        ReqWorksheet.Select();  // AL0132: TestPage Req. Worksheet' does not contain a definition for 'Select'
    end;

Note: Because the developers need to copy and paste the code snippet, including a code snippet as a media file (i.e. .gif) is not sufficient.
3. Expected behavior
I would that the Select method gets added to the TestPage functionality for list-type pages (list, listpart, worksheet, etc.) in order to be able to select multiple records.
4. Actual behavior
There is no Select method present so the current behavior prevents testing this behavior in the system.
5. Versions:

AL Language: 10.1.707468
Visual Studio Code: 1.73.1
Business Central: 21.1
List of Visual Studio Code extensions that you have installed:
-- AL Language
-- AL CodeActions
-- AL Object Designer
-- AL Variable Helper
-- AZ AL Dev Tools/AL Code Outliner
-- BusinessCentral.LinterCop
-- ErrorLens
-- Git Blame
-- Git History
-- GitLens - Git Supercharged
-- PowerShell
-- Waldo's CRS Language Extension

Final Checklist
Please remember to do the following:

[x] Search the issue repository to ensure you are reporting a new issue

[x] Reproduce the issue after disabling all extensions except the AL Language extension

[x] Simplify your code around the issue to better isolate the problem

Hi! This issue is beyond the scope of the AL language and development tools. Please go ahead and post this to our Ideas forum at https://aka.ms/BusinessCentralideas, or vote up the idea if its already there. We're constantly monitoring top Ideas and will consider them for a future release.


A better handler for ./coreutils date -f aze

./target/release/coreutils date -f aze doesn't result in panic anymore, instead gives Error: File not found at path . Fixes https://github.com/uutils/coreutils/issues/4480

./target/release/coreutils date -f aze doesn't result in panic anymore, instead gives Error: File not found at path <PATH>. Fixes https://github.com/uutils/coreutils/issues/4480

and please fix the clippy warning

Fixed fmt warnings. Anything else I missed?

thanks :)


Fix SMB users lookup and return last password set date

allow requesting only specific users when calling --users (fixes #203)
return LastPwSet in human-readable format for --users
remove unnecessary print statement before printing users
add in header line for user table
add more debug statements in samruser.py
functionize code for future use, allowing other areas of code to call into these user lookup functions

Example of getting all users:

Example of getting specific users:

It was brought up in #219 that the bad pw count is missing from this feature, so I've re-added it:


how about the performance of this implement

hi SparkJiao, thank you for your work, could you report the performance of your implement of SLQA. Thanks!

Well the current F1 score is less than 40 :(  and there must be some problems. But unfortunately I'm working on another model and temporarily I will not fix it.
Btw, the formulation in the paper is a little confusing in my opinion and if you have any thoughts just mail me. Thanks a lot.

The performance is now 62 on CoQA without using any previous questions and answers. I think it's still good enough. I have some problem on formulations of prediction layer.  If you would like to help me, I'd very appreciate it!


KAFKA-12352: Make sure all rejoin group and reset state has a reason

Create a reason string to be used for INFO log entry whenever we request re-join or reset generation state.
Some minor cleanups.

Committer Checklist (excluded from commit message)

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

We may reset generationa and request rejoin in two different places: 1) in join/sync-group handler, and 2) in joinGroupIfNeeded, when the future is received. The principle is that these two should not overlap, and 2) is used as a fallback for those common errors from join/sync that we do not handle specifically.

Failed with unrelated connect.integration.RebalanceSourceConnectorsIntegrationTest.testMultipleWorkersRejoining() and kafka.server.ScramServerStartupTest.testAuthentications()


Shellcheck ?

I am wondering if it would be nice to have a reference to shellcheck  :smile:

@vtrbtf yeah, it's WIP :D


Integrity fails to build with commit messages longer than 255 characters

Commit messages of this length are somewhat unusual but not unheard of.  I, for one like to write very thorough commit messages that, for a complex commit can definitely be longer than 255 characters.  Suggest a limit of, perhaps 1024 or 2048 characters?

#130 may be morphed a little to do what is desired here. Specifically, add code to integrity to truncate the first line to 255 chars so that it fits in the database column and put the entire first line and the remaining lines into a new field.
As I mentioned in #130 datamapper migrations are nothing pleasant.

I altered #130 as described above to fix this issue.


Allow running Tide on non-Tokio executors

Awesome, thank you!

Oh sorry--  expected this to fail on CI and wait for a bit-- you probably want to revert. This needs a matching change to futures-rs (deriving Clone for the Compat type), so if you don't have that, you won't be able to build.

Done! sorry for the confusion

(needs https://github.com/rust-lang-nursery/futures-rs/pull/1321, specifically)


Angular 9 compatibility issues

I tried updating my project to Angular 9 and I've discovered that fate isn't 100% compatible with the new version. Basically the input can't be focused with the mouse as well as any interaction with the text inside doesn't work.
Interacting with the popup (material ui) works just fine as well as any keyboard input/selection.
Other then that the component seems to work fine.

I haven‘t tested the editor with Ivy yet... I’ll fix that ASAP!

:tada: This issue has been resolved in version 2.1.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Keyboard (iOS) example exhibits strange behavior

Description
The code example (and corresponding Expo emulation) at https://reactnative.dev/docs/keyboard  for both Function Component and Class Components results in an infinite callback loop for iOS devices.
For iOS, it seems that the alert box temporarily dismisses the Keyboard (automatically), causing the hide handler to fire. Upon dismissing the alert box, the keyboard is re-shown (automatically), which causes the show handler to fire, rinse and repeat...
Android does not exhibit the same behavior. The keyboard remains in a shown state while the alert box is being displayed, thus the handlers are not re-triggered.
I realize the example isn't really a "real-world" situation, but the behavior is unexpected and a bit jarring for an official example. The example code isn't necessarily wrong, but perhaps a note of warning about the automatic hide/show keyboard behavior on iOS could be helpful.
Documentation version
The errant behavior is present for doc versions 0.62, 0.63, 0.64, and next

Hi @superguineapig, thank you for reporting this issue and providing the detailed description of the problems! 👍


doc: add "(localized)" to relevant settings

Resolves: #1270

Coverage remained the same at 57.836% when pulling b41fd53826cc9d905cba4128ef4dcb4959c1704c on amritbrar:bug-1270 into 2914d48791625cadaf8acc266388afa13572ad20 on newsboat:master.


[Feature request] Sync explorer with terminal

Add an optional setting so that navigating in the terminal in the currently opened folder would sync with the explorer view.
Example: doing cd app

would expand the folder app

Hello! University student intending on taking a stab at implementing this in the next week as an open source contribution for a class with my partner @tejdnagaraja — we will post updates here

Hi @rthaneda! Since it is in my best interest, I will happily be your model user to provide feedback and testing if you require one. It would be nice to have someone from the vscode team comment that this is worth pursuing first though.

We don't have plans to add something like this to the core and I don't think it's possible to accomplish using the extension API currently (I don't think you can manipulate the explorer like this?).


net/http: HTTP/2 request context sometimes returns no error when the client disconnects

What version of Go are you using (go version)?

$ go version
go version go1.17.8 linux/amd64

$ go version
go version go1.18 linux/amd64

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/user/.cache/go-build"
GOENV="/home/user/.config/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS="-ldflags=-w"
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/home/user/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/user/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/lib/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/lib/go/pkg/tool/linux_amd64"
GOVCS=""
GOVERSION="go1.17.8"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/dev/null"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build557012456=/tmp/go-build -gno-record-gcc-switches"

What did you do?

Users sometimes abort file uploads before they finish, which propagates an error up the call stack. I try to see if the HTTP request was aborted by checking request.Context().Err() != nil, in which case I ignore the error. Otherwise, I report it, so it can be investigated. (I am aware there might be rare cases when there is an unrelated error, after which the client disconnects, which will cause the error to be ignored, incorrectly.)
I created an example.
server.go
package main

import (
	"io"
	"log"
	"net/http"
)

func handler(prefix string) http.HandlerFunc {
	return func(w http.ResponseWriter, r *http.Request) {
		_, err := io.Copy(io.Discard, r.Body)
		if err == nil {
			log.Printf("%s | upload: OK", prefix)
		} else {
			log.Printf("%s | err: %v | context err: %v", prefix, err, r.Context().Err())
		}

		// time.Sleep(time.Millisecond * 100)
		// log.Println(r.Context().Err())
	}
}

func main() {
	go func() {
		mux := http.NewServeMux()
		mux.HandleFunc("/", handler("HTTP"))
		http.ListenAndServe(":8001", mux)
	}()

	mux := http.NewServeMux()
	mux.HandleFunc("/", handler("HTTPS"))
	http.ListenAndServeTLS(":8002", "cert.pem", "key.pem", mux)
}

Here is also a self-signed certificate, for convenience.
key.pem
-----BEGIN PRIVATE KEY-----
MIICdgIBADANBgkqhkiG9w0BAQEFAASCAmAwggJcAgEAAoGBAPeY8x5BXyLcCwgn
J+SDL83Ur5fyyxvNL2w0cytYh38ggCMh1Eo2BgY9maVKAqqew3r2pmxQWWMh1+QM
1wxZpwc5vN9fwISxO1flm/J8yEG/RXM8CAlf/z/Jka8jUj9Iql2ZFVaQjfRvyQqo
NckRxPcHbvjms0J9yj7r8Sabj1lfAgMBAAECgYEAmHH8ppE7YTw4MqHhJwo6wbGF
F7ouogR4gVfd3T9Z1cUOABORIMwYc3k0A5gJAkJUO35nw2LJVob85PWe5oTAmDVF
387ZnYxZWr54sQbujGVyenOwXSQz1KEm6+ZoxlDjL1WL7MwwdWKuxZwO3kwdfz87
OiW9q2PA767wTUVuc1kCQQD9FDtuaXDFQcuNBdn4s8wCV/o24xoyard2ionHbpaw
yTnI5sMdze4Ib74vYW0Y6clmNW/olkIizvJ7VvhOIWojAkEA+nSFb0J7SkcLKfcl
7IRAUZuWTfC1d2jKGJl4oEvAb/oPG2YOEHmODqdz4LCC9UXeVxAZEPHFMrzMP0TU
TBLRlQJALYw9ogKCFE5iJxBdiYA6gFV7J/O5nEdOm5wVbfo+TrT4nGrDxRJx+7y4
uuhK7UfuQmHtsSuR3ZfnVkFx0QX8hwJANaqgKP4K4xikCML/qlWQXqxDIcJRcBvR
KkJAecChpJzlfc55dwhE61jwWJYaCaqGAQvfAyV7RurzrR73irGBnQJAcnPv9f0b
y0YYssMdiVyrLsXiCFQcAGRiPeXhyJ3/nf+mkDVKoXlbF1jHOV3c50Fd6lAYaeV+
xrVUqXwKPIlMcg==
-----END PRIVATE KEY-----

cert.pem
-----BEGIN CERTIFICATE-----
MIICZjCCAc+gAwIBAgIUFFhvn/KLCQcb4i6YxvJuxeiA4cswDQYJKoZIhvcNAQEL
BQAwRTELMAkGA1UEBhMCQVUxEzARBgNVBAgMClNvbWUtU3RhdGUxITAfBgNVBAoM
GEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDAeFw0yMjA0MDUxMDU1NTVaFw0yMzA0
MDUxMDU1NTVaMEUxCzAJBgNVBAYTAkFVMRMwEQYDVQQIDApTb21lLVN0YXRlMSEw
HwYDVQQKDBhJbnRlcm5ldCBXaWRnaXRzIFB0eSBMdGQwgZ8wDQYJKoZIhvcNAQEB
BQADgY0AMIGJAoGBAPeY8x5BXyLcCwgnJ+SDL83Ur5fyyxvNL2w0cytYh38ggCMh
1Eo2BgY9maVKAqqew3r2pmxQWWMh1+QM1wxZpwc5vN9fwISxO1flm/J8yEG/RXM8
CAlf/z/Jka8jUj9Iql2ZFVaQjfRvyQqoNckRxPcHbvjms0J9yj7r8Sabj1lfAgMB
AAGjUzBRMB0GA1UdDgQWBBTCS9lhp2OMBymBDZSWW7p7JoS2bzAfBgNVHSMEGDAW
gBTCS9lhp2OMBymBDZSWW7p7JoS2bzAPBgNVHRMBAf8EBTADAQH/MA0GCSqGSIb3
DQEBCwUAA4GBAHNjy1A+K1oSi2GlnMJiQEqUAy2F9Wil6kZWzOVjkdDRT7LuE/FA
DB0RdJmv/I5Tg7c+jIv9xcukg6kRmM+IJZ5xMBqmN6N6Z50YRG35kjXyO7a2/ls+
7w2jIlST4hj4XidfM890HcbbYHei6Q8D++h4ZHWpo3UDO2LavbxGoUwp
-----END CERTIFICATE-----

I then try to start a rate-limited upload, and press Ctrl-C at random times before it completes.
HTTP/1.1:
$ curl -v -F<EMAIL_ADDRESS>--limit-rate 10k http://localhost:8001/

HTTP/2:
$ curl -v -k -F<EMAIL_ADDRESS>--limit-rate 10k https://localhost:8002/

What did you expect to see?
I expect request.Context().Err() to always say context canceled. Is this assumption correct?
What did you see instead?
In case of HTTP/1.1, it seems I always get the error unexpected EOF, and request.Context().Err() always returns context canceled.
2022/04/05 13:22:22 HTTP | err: unexpected EOF | context err: context canceled
2022/04/05 13:22:25 HTTP | err: unexpected EOF | context err: context canceled
2022/04/05 13:22:25 HTTP | err: unexpected EOF | context err: context canceled
2022/04/05 13:22:26 HTTP | err: unexpected EOF | context err: context canceled
2022/04/05 13:22:26 HTTP | err: unexpected EOF | context err: context canceled
2022/04/05 13:22:27 HTTP | err: unexpected EOF | context err: context canceled
2022/04/05 13:22:27 HTTP | err: unexpected EOF | context err: context canceled
2022/04/05 13:22:30 HTTP | err: unexpected EOF | context err: context canceled
2022/04/05 13:22:36 HTTP | err: unexpected EOF | context err: context canceled
2022/04/05 13:22:39 HTTP | err: unexpected EOF | context err: context canceled
2022/04/05 13:22:41 HTTP | err: unexpected EOF | context err: context canceled

In case of HTTP/2, it seems the error is always client disconnected, but most of the time request.Context().Err() is nil.
2022/04/05 13:22:46 HTTPS | err: client disconnected | context err: <nil>
2022/04/05 13:22:49 HTTPS | err: client disconnected | context err: <nil>
2022/04/05 13:22:50 HTTPS | err: client disconnected | context err: <nil>
2022/04/05 13:22:53 HTTPS | err: client disconnected | context err: context canceled
2022/04/05 13:22:57 HTTPS | err: client disconnected | context err: <nil>
2022/04/05 13:23:00 HTTPS | err: client disconnected | context err: <nil>
2022/04/05 13:23:00 HTTPS | err: client disconnected | context err: context canceled
2022/04/05 13:23:02 HTTPS | err: client disconnected | context err: <nil>
2022/04/05 13:23:05 HTTPS | err: client disconnected | context err: <nil>

It seems there is some kind of race here. If I add a short sleep at the end of the handler, I get the expected context error.
2022/04/06 18:07:11 HTTPS | err: client disconnected | context err: <nil>
2022/04/06 18:07:11 context canceled
2022/04/06 18:08:05 HTTPS | err: client disconnected | context err: context canceled
2022/04/06 18:08:05 context canceled
2022/04/06 18:08:09 HTTPS | err: client disconnected | context err: <nil>
2022/04/06 18:08:09 context canceled

I found what looks like the error that is returned, but it is unexported, so I cannot check it more directly.

cc @neild

I've created a test that reproduces this. The client is now in Go, so there is no need to run curl and press Ctrl-C.
I just make a POST request and abort it before sending any data. On the server side, the request context is cancelled when using HTTP/1.1, but not when using HTTP/2.
I couldn't think of a better way to abort the client request, but this does reproduce the issue.
There are two main differences in the HTTPS version relative to the HTTP one:

Immediately after the connection is closed, the request context is not cancelled most of the time. After a short sleep, it is. This matches my original report.
For some reason, server.Shutdown() doesn't wait for the handler to finish, so I have to explicitly wait manually.

A minor difference is that, in the HTTPS version, the error reported by client.Do varies, whereas it seems to be always the same in the HTTP version.
I tried it with Go versions 1.17.12 and 1.19.3.
It would be useful to know if the request context not being cancelled immediately is normal and maybe I just have incorrect expectations.
server_http_test.go
package main

import (
	"context"
	"errors"
	"io"
	"net"
	"net/http"
	"testing"

	"github.com/stretchr/testify/require"
)

func TestContextErrHTTP(t *testing.T) {
	requestReceived := make(chan struct{})
	connClosed := make(chan struct{})
	serverClosed := make(chan struct{})

	var requestCopyError error
	var requestContextErr error
	var connCloseErr error
	var serverErr error

	mux := http.NewServeMux()
	mux.Handle("/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
		close(requestReceived)

		_, requestCopyError = io.Copy(io.Discard, r.Body)

		<-connClosed

		requestContextErr = r.Context().Err()
	}))

	var server http.Server
	server.Addr = ":8001"
	server.Handler = mux

	go func() {
		serverErr = server.ListenAndServe()
		close(serverClosed)
	}()

	var clientConn net.Conn
	pr, pw := io.Pipe()

	go func() {
		<-requestReceived
		pw.CloseWithError(errors.New("fake abort"))
		connCloseErr = clientConn.Close()
		close(connClosed)
	}()

	assert := require.New(t)
	req, err := http.NewRequest("POST", "http://localhost:8001/", pr)
	assert.NoError(err, "create request")

	customTransport := http.DefaultTransport.(*http.Transport).Clone()
	originalDialContext := customTransport.DialContext
	customTransport.DialContext = func(ctx context.Context, network, addr string) (net.Conn, error) {
		c, err := originalDialContext(ctx, network, addr)
		clientConn = c
		return c, err
	}
	client := &http.Client{Transport: customTransport}

	_, err = client.Do(req)
	assert.ErrorContains(err, "fake abort", "sending the HTTP request should fail")
	pr.Close()

	assert.NoError(connCloseErr, "conn.Close error")

	err = server.Shutdown(context.Background())
	assert.NoError(err, "server shutdown")

	<-serverClosed
	assert.ErrorIs(serverErr, http.ErrServerClosed, "server should be closed")

	assert.Error(requestCopyError, "reading request body should return an error")

	assert.ErrorIs(requestContextErr, context.Canceled, "request context should be cancelled")
}

server_https_test.go
package main

import (
	"context"
	"errors"
	"io"
	"net"
	"net/http"
	"strings"
	"testing"
	"time"

	"github.com/stretchr/testify/require"
)

func TestContextErrHTTPS(t *testing.T) {
	requestReceived := make(chan struct{})
	connClosed := make(chan struct{})
	handlerClosed := make(chan struct{})
	serverClosed := make(chan struct{})

	var requestCopyError error
	var requestContextErr error
	var requestContextAfterSleepErr error
	var connCloseErr error
	var serverErr error

	mux := http.NewServeMux()
	mux.Handle("/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
		close(requestReceived)

		_, requestCopyError = io.Copy(io.Discard, r.Body)

		<-connClosed

		requestContextErr = r.Context().Err()

		time.Sleep(time.Second)

		requestContextAfterSleepErr = r.Context().Err()

		close(handlerClosed)
	}))

	var server http.Server
	server.Addr = ":8002"
	server.Handler = mux

	go func() {
		serverErr = server.ListenAndServeTLS("cert.pem", "key.pem")
		close(serverClosed)
	}()

	var clientConn net.Conn
	pr, pw := io.Pipe()

	go func() {
		<-requestReceived
		pw.CloseWithError(errors.New("fake abort"))
		connCloseErr = clientConn.Close()
		close(connClosed)
	}()

	assert := require.New(t)
	req, err := http.NewRequest("POST", "https://localhost:8002/", pr)
	assert.NoError(err, "create request")

	customTransport := http.DefaultTransport.(*http.Transport).Clone()
	customTransport.TLSClientConfig.InsecureSkipVerify = true
	originalDialContext := customTransport.DialContext
	customTransport.DialContext = func(ctx context.Context, network, addr string) (net.Conn, error) {
		c, err := originalDialContext(ctx, network, addr)
		clientConn = c
		return c, err
	}
	client := &http.Client{Transport: customTransport}

	_, err = client.Do(req)
	match1 := strings.Contains(err.Error(), "fake abort")
	match2 := strings.Contains(err.Error(), "use of closed network connection")
	assert.True(match1 || match2, "sending the HTTP request should fail")
	pr.Close()

	assert.NoError(connCloseErr, "conn.Close error")

	<-handlerClosed

	err = server.Shutdown(context.Background())
	assert.NoError(err, "server shutdown")

	<-serverClosed
	assert.ErrorIs(serverErr, http.ErrServerClosed, "server should be closed")

	assert.Error(requestCopyError, "reading request body should return an error")

	assert.ErrorIs(requestContextAfterSleepErr, context.Canceled, "request context should be cancelled (after sleep)")
	assert.ErrorIs(requestContextErr, context.Canceled, "request context should be cancelled")
}


Improve support for configuration CRDs

The configuration CRDs are not currently documented as of cyberark/secretless-docs#186. We'd like to make some improvements to their usability and implementation so that they can be made generally available, and this includes:

adding better tests
adding support for config reloading:

refactor existing PoC config reloading functionality / replace with viper as appropriate
add logic around restarting proxy services

updating to use v2 config instead of v1 config

v2 config issue is logged in #715


Object with __toString method and cast to string

Example:
try
{}
catch(\Exception $e)
{
error_log($e);
}
Error:
PhanTypeMismatchArgumentInternal Argument 1 (message) is \Exception|\Throwable but \error_log() takes string
\Exception offers a __toString method.

Yeah, Phan doesn't pick up __toString methods on internal objects. We'll probably need to special-case that.

Also note that the below code will cause a fatal error (Solutions to this should check the value of strict_types in the file containing the catch statement). It works without the declare.
<?php declare(strict_types=1);
try {
    throw new Exception("message");
} catch(\Exception $e) {
        error_log($e);
}

Fixed with commit 4c76092


Can't install on Windows - path too long

Hi.
I can't use this library on Windows, because file names are too long.
Windows has a 255 character limit on paths.
Probably the very long file names in tests/resources/responses are the cause for this.
Files like "tests/resources/responsesTracking_cookieId=mycid_event=click_id=1_masterId=4_origPageSize=10_origPos=7_page=8_pageSize=9_pos=3_query=query_sid=mysid_simi=100_title=product_userId=11" (184 characters itself) don't need a too complex directory structure to run in to this issue. Add the path to this where the library will actually sit ("/vendor/fact-finder/fact-finder-php-library/"), and you are already at 226 chars.
Thanks, Estigy

+1
See also #30 and #31

Thanks for the references, Björn!
(I admin I didn't search through the already resolved issues, since this one is obviously not resolved.)

It is a Git problem. Please check the option which is mentioned on this page: https://github.com/msysgit/msysgit/wiki/Git-cannot-create-a-file-or-directory-with-a-long-path

Hi, tuegeb.
Thanks for your hint. I tried this, but it didn't work out:
`C:\htdocs\myproject\htdocs>php composer.phar update
Loading composer repositories with package information
Updating dependencies (including require-dev)

Installing fact-finder/fact-finder-php-library (1.2.0)
Downloading: 100%

[ErrorException]
ZipArchive::extractTo(): Full extraction path exceed MAXPATHLEN (260)`
I'm not sure if this is really a Git problem, as the error stems from unzipping the content of the directory.
I then tried to download the zip archive from github manually and unzip it into the desired place. I got the same error from Windows: "Fehler 0x80010135: Pfad zu lang" (path too long)
Greets, Estigy

Thanks for the feedback.
This Windows related problem should be solved with 53ef25c.

Yes, it's solved now. Thanks!

Have you tried 'long path tool'?
it's very helpful for me.


AttributeError

Traceback (most recent call last):
File "C:\Users\kiril\Desktop\MLP\main.py", line 17, in
minecraft = client.game(432) # 432 is the ID of Minecraft
^^^^^^^^^^^^^^^^
File "C:\Users\kiril\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\curseforge\base.py", line 65, in game
return CurseGame.from_dict(self.fetch(f"game/{game_id}"))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\kiril\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\curseforge\classes\cursegame.py", line 23, in from_dict
id=data.get("id"),
^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'get'
NativeCommandExitException: Program "python.exe" ended with non-zero exit code: 1.

Yikes, this is still is beta tho. Will try to get it fixed...
Also make sure to update curseforge with:
pip install --upgrade curseforge

Closing due to inactivity and feedback from the issue author


Non-Embed Message Support?

Is there any plan to add a non-embed message support? I would like to only use image without the embed border.

No, no such plans. If you want the pagination package as such, fork the repo and write the code yourself. Then install the forked repo as your package


Round level variables to an integer percentage for display

This can be solved in Companion UI by, for example:
round($(zone:zone_1_level_music))
The button text needs to be put in expression mode by pressing the 'A' at the end.


Discussion for WebHostBuilder extension renames

Discussion for https://github.com/aspnet/Announcements/issues/163.
Changes were made in #660

UseDefaultConfiguration() will also no longer configure the WebHost to capture startup errors by default.

However, UseIIS will call CaptureStartupErrors(true) if it detects you're running behind IIS/Express.

We are closing this issue because no further action is planned for this issue. If you still have any issues or questions, please log a new issue with any additional details that you have.


TERM=xterm should work the same as TERM=linux

Opening an GNOME Terminal, the variable TERM is set to xterm.
Running a sample app (the list), results in the borders appearing as characters instead of line. If I manually set TERM=linux, the program displays correctly.
Note that alsamixer (as an example) on the other hand behavers correctly whether TERM is set to xterm or linux.

With TERM=xterm-256color, node ./examples/dashboard.js is showing characters q, x, etc. instead of the borders. TERM=linux breaks everything, makes a mess of the terminal. :smiley:
Sparklines also show some missing characters, although I'm not certain if that's due to my font or not (Consolas).
My terminal is PuTTY on WIndows 8.1.

@straub : I was about to post an issue about that (I already did - and closed, now - on /yaronn/blessed-contrib). I'm on OSX 10.10, $TERM=xterm-color. I'm pretty sure this is not related to blessed - I ran across all the border displaying code, in "widget.js". There, there is no "q", "x", "l", "j", "q"...
It must be related to node

Okay, so I made some test, and there a logic :
│ = x
┌ = l
┐ = k
─ = q
└ = m
┘ = j

v0.0.39 should have fixed this. If not, the TERM is incorrect. TERM=linux sets brokenACS to true in all cases - it ends up using unicode instead of ACS.

Hello, I'm also experiencing this issue,

│ = x
┌ = l
┐ = k
─ = q
└ = m
┘ = j

Using Windows 10 :

on PuTTY, wether Configuration > Connection > Data > Terminal-type string is set to xterm, xterm-256color, xterm-linux, linux or cygwin.
I also changed the font from Courier New to Consolas, which did not fixed the issue.

on CMD and PowerShell.

However, everything works fine on cmder, while both CMD/PowerShell and cmder have the TERM environment variable set at nutc and use the Consolas font.
Thanks


Upmerge of v1.3 into v1.4 20210805

Thank you for helping make the Dapr documentation better!
Please follow this checklist before submitting:

[x] Read the contribution guide
[x] Commands include options for Linux, MacOS, and Windows within codetabs
[x] New file and folder names are globally unique
[x] Page references use shortcodes instead of markdown or URL links
[x] Images use HTML style and have alternative text
[x] Places where multiple code/command options are given have codetabs

In addition, please fill out the following to help reviewers understand this pull request:
Description
Upmerge of v1.3 into v1.4 20210805

Will merge after link validation passes (some new relic docs seem to have moved)


Queen's Attack C++ solution with updated readme #164

I have implemented the C++ solution for the problem named- "Queen's Attack II" and given the information for the same in readme in the desired format.

Please mention Issue number

Please mention Issue number

#164

Add proper comments

Add proper comments

done

I dont see them

I have implemented the C++ solution for the problem named- "Queen's Attack II" and given the information for the same in readme in the desired format.

these are the comments , right ?

I dont see them

You mean , comments in the solution code?

I have implemented the C++ solution for the problem named- "Queen's Attack II" and given the information for the same in readme in the desired format.

these are the comments , right ?

Yes

@Devansh252 Comments as in https://www.w3schools.com/cpp/cpp_comments.asp#:~:text=Comments can be used to,two forward slashes ( %2F%2F ).

@Devansh252 Comments as in https://www.w3schools.com/cpp/cpp_comments.asp#:~:text=Comments can be used to,two forward slashes ( %2F%2F ).

Just added the comments in the code


fix: enable updated hub peer id in allowedPeers.mainnet.ts

Motivation
Updated my hub to 1.4.3, reenabling peer id
Change Summary
Removed comment that disabled peer id in allowedPeers.mainnet.ts
Merge Checklist
Choose all relevant options below by adding an x now or at any time before submitting for review

[x] PR title adheres to the conventional commits standard
[ ] PR has a changeset
[ ] PR has been tagged with a change label(s) (i.e. documentation, feature, bugfix, or chore)
[x] PR includes documentation if necessary.
[x] All commits have been signed

PR-Codex overview
This PR focuses on updating the allowed peers in the mainnet configuration file.
Detailed summary

Updated the allowed peer address for @stout
Other allowed peer addresses remain unchanged

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

This peer ID was added with the new allow list in the network config here: https://github.com/farcasterxyz/allowlist-mainnet


Default value of Install-DNS

Changing the value to $true instead of NULL

#sign-off

@brianlic-msft  can you review and sign-off?  Thanks!


DD never emits Guild Delete Event

DD never emits the guild delete event. This is due following issue: The guild is deleted from cache and then there is an if check which only lets the guild delete event to be dispatched if the guild is cached.

on it


fix(TDI-45487): support basic jdbc bulkexec components for singlestore in tcompv0 for studio with basic parameters

What is the current behavior? (You can also link to an open issue here)
https://jira.talendforge.org/browse/TDI-45487
What is the new behavior?
https://jira.talendforge.org/browse/TDI-45487
Please check if the PR fulfills these requirements

[x] The commit message follows Talend standard
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features) ?
[ ] The code coverage on new code >75%
[ ] The new code does not introduce new technical issues (sonar / eslint)

What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build / CI related changes
[ ] Other... Please describe:

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Pull request test result: failure :x:

Pull request test result: failure :x:

Pull request test result: failure :x:

Pull request test result: failure :x:

Pull request test result: failure :x:

Pull request test result: failure :x:

Pull request test result: success :star:

Pull request test result: success :star:

Pull request test result: success :star:

close it as it duplicated with https://github.com/Talend/components/pull/1871

Pull request test result: success :star:


How to hide arrow icon when there is one image

In below gallery, I want that the right and left arrow not showing me until the image becomes more than one how to hide these icons.

Hi @dawlat-netlinks  you can override disabled arrow style
ngx-gallery /deep/ .ngx-gallery-arrow.ngx-gallery-disabled {
    display: none;
}

example here https://plnkr.co/edit/n4XgbsAdrDdppMLZlnpX?p=preview

I will also try to hide them in code in that situation - today or tomorrow


WIP - Simpler gql names

With a quick spin around the starter, things seem to be working well for me!
We should to update the collection names to make their names singular though right?
https://github.com/tinacms/tina-cloud-starter/blob/simpler-gql-names/.tina/schema.ts#L12

We should to update the collection names to make their names singular though right?

Yes definitely, but I wanted to actually land the whole PR before doing that if possible because it really bloats the amount of diffs we'll have and makes merge conflicts more difficult


Feat: Cursor style must be pointer while hovering buttons

Describe the feature
On the home page there are two button All Notes and Bookmarked Notes on hovering them the cursor style must be pointer 👆 but its showing the normal
I Can fix this issue
Add ScreenShots
https://github.com/hereisSwapnil/ExamTime/assets/101385720/b39f58f8-0ef2-48ab-9c36-b07fd6403888
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSoC'24 contributor
[X] I want to work on this issue

As a GSsoc'24 contributor. I want to address this issue. I request you to assign this to me @hereisSwapnil


migrate test to ts

Second step toward test re-written in ts.

Pull Request Test Coverage Report for Build 614612158

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 59.655%

Totals

Change from base Build 614414104:
0.0%

Covered Lines:
285

Relevant Lines:
433

💛  - Coveralls

@matthewlilley

Pull Request Test Coverage Report for Build 614612158
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 59.655%

Totals

Change from base Build 614414104:
0.0%

Covered Lines:
285

Relevant Lines:
433

💛  - Coveralls

Pull Request Test Coverage Report for Build 614612158
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 59.655%

Totals

Change from base Build 614414104:
0.0%

Covered Lines:
285

Relevant Lines:
433

💛  - Coveralls


Refactor padding

This is a duplicate of #395. I tried to make a PR to that PR, but ended up with a huge diff, so I just opted to start a new PR. Hope that is ok @rabernat

[ ] Closes #xxxx
[x] Tests added
[x] Passes pre-commit run --all-files
[ ] User visible changes (including notable bug fixes) are documented in whats-new.rst
[ ] New functions/methods are listed in api.rst

As a first step I have added tests for pad with all the methods that we currently support.

Ok I have rewritten quite a bit, but the foundation stands. I got test_diff_interp_connected_grid_x_to_x and test_diff_interp_cubed_sphere to pass.
test_vector_diff_interp_connected_grid_x_to_y still is giving me trouble (I assume this is a numpy/xarray transpose issue).
I skipped test_get_periodic_grid_edge for now. I will try to refactor this into the test_padding.py module, since this is really a padding issue.
Still very rough around the edges, but feedback on the general structure would be cool.

Huh, seems like I broke something. Ill check on that tomorrow.

Ok I have tried to really get into the face connection logic and would like to lay out my current thinking, so that maybe somebody can point out flaws or at least I have a reference for after the break.
Figuring out which face is connected to what other face on which axis is relatively easy. The hard part is that for certain connections, the 'added' array slice needs to be flipped. There are two different flippings that might be required (see graphic below):

Orthogonal flip: The array slice has to be flipped orthogonal to the axis that is is going to be padded on.
Parallel flip: This is a new flip, only stricly required when extracting more than one row. This assures that for reverse connections, the order of rows is as if they would have been moved one after another.

After many sketches I think I have identified 4 relevant cases of face connections that reveal a general pattern:

here shown for a padding_width=(0,2). I think that the decision tree covers all the cases of face connections we need to make.

Note that the current code only covers the is axis swapped case? I think that if the connection is reversed and the axes are swapped, we actually do not need to execute an orthogonal flip.

Any thoughts?

Obvious question - is it possible to have a connection which is both "reverse" and "same axis"? i.e. a 4th case?

I was thinking about the same, in the simple case of two faces it would end up being some Möbius strip sort of thing? I honestly think this is not used in practice. But maybe @rabernat has some more insight here? Do we need to support that case?

I think that is the 3rd case in the graphic, no?

Yes, but I was just wondering because it's not in your flow chart.

Quick update. I think I have made some significant progress here. I have added tests for each of the scenarios above and they currently pass. The failures in test_exchange.py can be traced back to a problem with setting the default method of padding, not the padding method itself (at least I confirmed it for test_diff_interp_connected_grid_x_to_x). I will look into that in a bit.
As of now the tests are quite long, but I hope they are somewhat understandable.
Happy to explain my logic of padding in more detail.
I would love to get some feedback on the general structure of the padding module (in particular the passing of kwargs, which @rabernat was not to fond of in the beginning?).

The failures in test_exchange.py can be traced back to a problem with setting the default method of padding, not the padding method itself (at least I confirmed it for test_diff_interp_connected_grid_x_to_x).

I just noticed that test_boundary_kwarg_same_as_grid_constructor_kwarg is failing which supports this idea.

Thanks for all the comments @TomNicholas. I will try to work them in tomorrow. In the meantime I think I have all of the exchange tests working (with some caveats below). I had to do some quite substantial refactoring and would like to discuss some aspects.

I converted axis._periodic to a public attribute axis.periodic, this is more in line with how axis.boundary and axis.fill_value are stored. This will be removed in the future, so that should not be that big of a deal? cc @rabernat
I added a rather hacky workaround in _1d_grid_ufunc_dispatch, that basically converts the periodic input to an argument for boundary @TomNicholas would you be ok with this until we have phased out periodic?
I refactored the way we set up axes in Grid.__init__. I think this is much more readable.
I added the private method _check_axis_kwarg_mapping which checks input arguments for defaults set on the axes, and parses them in if the argument was not explicitly set. We can use this logic in many different places, to make sure that our defaults are properly set (which is right now an absolute nightmare to track down!).
I added a new test case for the situation @TomNicholas mentioned above and have parametrized the tests a bit more compactly.

I have not yet tackled a situation where vector partners are involved. I think given the volume of this PR, we should tackle this in a separate PR?
I was getting some really weird flaky test failures in the main test/test_grid.py module. Ill see if they persist in the CI.

Closing in favor of #408/


Default GSL error

I recently try to replicate one of your results from the article. I make a ip.dat with the initial conditions, the file got this form:
#test_mass_from_file
#initial_conditions
mbh=1.0e+9
Incl=4.0
dkpc=6701.0e+6
z=1.0
jetrat=0.4
r_O=10.0
z_diss=10e+3
z_acc=1.0e+3
z_max=1.0e+8
t_e=1500.0
f_nth=0.5
f_pl=0.0
#pspec=1.0
f_heat=20.0
f_b=0.1
f_sc=5.0e+3
p_beta=2.0
sig_acc=0.01
l_disk=0.8
r_in=1.0
r_out=1.0e+5
compar1=2.0
compar2=2.0
compar3=2.0
compsw=2.0
velsw=1.0
infosw=2.0
i'm using the ./MakeBHJet handler but at as soon as i use ./bhwrap.x . I receive this message:
 gsl: interp.c:83: ERROR: x values must be strictly increasing Default GSL error handler invoked. Aborted (core dumped)
I'll appreciate any guidance of how to proceed or what its better to follow through!
Thanks

Dear Joshua,
Nice that you are trying out the code!    If I had to guess without looking into it in detail, I would suspect that something is going wrong with your conversion in the energy array for your spectrum, perhaps you are going from wavelength to energy and then the order is not increasing?
Best,
Sera

On 11 Jul 2022, at 06:54, Joshua Barquero Alvarado @.***> wrote:
I recently try to replicate one of your results from the article. I make a ip.dat with the initial conditions, the file got this form:
#test_mass_from_file
#initial_conditions
mbh=1.0e+9
Incl=4.0
dkpc=6701.0e+6
z=1.0
jetrat=0.4
r_O=10.0
z_diss=10e+3
z_acc=1.0e+3
z_max=1.0e+8
t_e=1500.0
f_nth=0.5
f_pl=0.0
#pspec=1.0
f_heat=20.0
f_b=0.1
f_sc=5.0e+3
p_beta=2.0
sig_acc=0.01
l_disk=0.8
r_in=1.0
r_out=1.0e+5
compar1=2.0
compar2=2.0
compar3=2.0
compsw=2.0
velsw=1.0
infosw=2.0
i'm using the ./MakeBHJet handler but at as soon as i use ./bhwrap.x . I receive this message:
gsl: interp.c:83: ERROR: x values must be strictly increasing Default GSL error handler invoked. Aborted (core dumped)
I'll appreciate any guidance of how to proceed or what its better to follow through!
Thanks
—
Reply to this email directly, view it on GitHub https://github.com/matteolucchini1/BHJet/issues/54, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACT36PUXYLC7TFDX3DAALLDVTOSH5ANCNFSM53GGUZAQ.
You are receiving this because you are subscribed to this thread.


Microverse Portfolio Project

Microverse Portfolio Project (Linters setup)
1-Add index.html file for Webhint checking errors.
2-Add Style.css file for Stylelint checking errors.

Hi @rahimialijan
While you made a great effort in this project, unfortunately, I cannot proceed to review your code.

Invalid Code Review Request

Kindly use Microverse Readme template and make sure all the main sections present in yours and placeholders are replaced with your project and personal data. Please remove all the instructions targeting you. For example: "Describe how a new developer could make use of your project." The only optional section is the FAQ. Please remove the template logo on the top, if you have your own logo you can replace it with this one, otherwise please delete it. This is crucial to have a professional and instructive repository. 👌

Your Code Review Request will be marked as invalid in your Dashboard, so please submit a new one once you are ready 🙏
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

Invalid Code Review Request does not count into the code reviews limit.


Feature: Allow logs to be made private

I was scrolling through the reddit comments on the post for memory stack and a lot of people wanted to be able to keep their logs private so I wanted to suggest it.
command to set profile private could something be like mstak public false

I was scrolling through the reddit comments on the post for memory stack and a lot of people wanted to be able to keep their logs private so I wanted to suggest it.
command to set profile private could something be like mstak public false

It can be handled in one of two ways.

logs of private accounts don't show up on the homepage, hence no one will discover that user. Kind of pseudo-private.
add a login system on the website such that only the user with the proper credentials would be able to see their logs.

What would you prefer?

Since the website provides the only way to view personal logs of the past, I would prefer the second one.


Ariston Andris2 Top Wifi (Water Heater) unsupported whe type 5

Hi I have an Ariston Andris2 Top it used to work with chomupashchuk's integreation as a Lydos device, with the v3 it gets detected but i'm seeing an error "Unsupported whe type 5" can i make edits anywhere to get it recognized as a lydos device?

https://github.com/fustom/ariston-remotethermo-home-assistant-v3/wiki/Unsupported-whe|system-type


io timeouts from go2rtc

I have go2rtc connected to eight reolink POE cameras. I then use the feeds from go2rtc for various apps including Frigate.
I am getting IO timeouts from Frigate in the go2rtc logs. These two dockers are on the same server, so I don't understand the timeouts.
The go2rtc logs in my go2rtc instance are empty

The go2rtc logs in Frigate show the timeouts
2024-10-27 19:10:09.205597759  19:10:09.205 WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:171 > error="read tcp <IP_ADDRESS>:37722-><IP_ADDRESS>:8554: i/o timeout" url=rtsp://<IP_ADDRESS>:8554/sideyard_left_sub?mp4
2024-10-27 19:10:09.207133463  19:10:09.207 WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:171 > error="read tcp <IP_ADDRESS>:37792-><IP_ADDRESS>:8554: i/o timeout" url=rtsp://<IP_ADDRESS>:8554/sideyard_left?mp4
2024-10-27 19:12:20.845640769  19:12:20.845 WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:171 > error="read tcp <IP_ADDRESS>:37710-><IP_ADDRESS>:8554: i/o timeout" url=rtsp://<IP_ADDRESS>:8554/backyard_left?mp4
2024-10-27 19:12:20.848542572  19:12:20.848 WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:171 > error="read tcp <IP_ADDRESS>:37652-><IP_ADDRESS>:8554: i/o timeout" url=rtsp://<IP_ADDRESS>:8554/backyard_left_sub?mp4
2024-10-27 19:16:49.448674070  19:16:49.448 WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:171 > error="read tcp <IP_ADDRESS>:37796-><IP_ADDRESS>:8554: i/o timeout" url=rtsp://<IP_ADDRESS>:8554/sideyard_right?mp4
2024-10-27 19:16:49.486809134  19:16:49.486 WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:171 > error="read tcp <IP_ADDRESS>:37774-><IP_ADDRESS>:8554: i/o timeout" url=rtsp://<IP_ADDRESS>:8554/sideyard_right_sub?mp4
2024-10-27 19:16:54.487518600  19:16:54.487 WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:171 > error="read tcp <IP_ADDRESS>:45836-><IP_ADDRESS>:8554: i/o timeout" url=rtsp://<IP_ADDRESS>:8554/sideyard_right_sub?mp4
2024-10-27 19:17:31.411539800  19:17:31.411 WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:171 > error="read tcp <IP_ADDRESS>:37684-><IP_ADDRESS>:8554: i/o timeout" url=rtsp://<IP_ADDRESS>:8554/pool_sub?mp4
2024-10-27 19:17:31.433036365  19:17:31.432 WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:171 > error="read tcp <IP_ADDRESS>:37752-><IP_ADDRESS>:8554: i/o timeout" url=rtsp://<IP_ADDRESS>:8554/pool?mp4
2024-10-27 19:19:03.697563946  19:19:03.697 WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:171 > error="read tcp <IP_ADDRESS>:37738-><IP_ADDRESS>:8554: i/o timeout" url=rtsp://<IP_ADDRESS>:8554/backyard_right_sub?mp4
2024-10-27 19:19:03.698502217  19:19:03.698 WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:171 > error="read tcp <IP_ADDRESS>:37782-><IP_ADDRESS>:8554: i/o timeout" url=rtsp://<IP_ADDRESS>:8554/backyard_right?mp4
2024-10-27 19:21:57.988649019  19:21:57.988 WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:171 > error="read tcp <IP_ADDRESS>:37648-><IP_ADDRESS>:8554: i/o timeout" url=rtsp://<IP_ADDRESS>:8554/driveway_sub?mp4
2024-10-27 19:21:58.031395849  19:21:58.031 WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:171 > error="read tcp <IP_ADDRESS>:37674-><IP_ADDRESS>:8554: i/o timeout" url=rtsp://<IP_ADDRESS>:8554/driveway?mp4

In go2rtc, my cameras are configured as:

In Frigate, I pull in the streams via:

Awful RTSP realisation is a common problem for Reolink brand
https://github.com/AlexxIT/go2rtc?tab=readme-ov-file#source-rtsp

Thanks @AlexxIT  - I have also tried configuring go2rtc as follows:
backyard_left:
      - ffmpeg:http://<IP_ADDRESS>/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=XXXX&password=XXXX#video=copy#audio=copy#audio=opus#hardware

I still get io timeouts. I did add debug rtsp logging and see the following:

FFmpeg also can't connect to your camera. You has some network issues.


SVG sprites with  and

Here's a live example, plus the browser support:
https://fvsch.com/code/svg-icons/symbol-sprite/

@ThomasLandauer The URL you listed gives me an error. ☹

Sorry, 5 years later I can't remember. Maybe this here? https://fvsch.com/svg-css-vars

@ThomasLandauer Thanks!  Love the article! 👍

there is also cascading reference working in FF but not in Ch/Sf
expl. https://xerc.de/test.htm // ref. https://github.com/lochmueller/sourceopt/issues/117

Sorry, 5 years later I can't remember. Maybe this here? https://fvsch.com/svg-css-vars

@ThomasLandauer ; seems to work now


fix: add env variables to bypass/configure spill pool size

I'm not sure if we will want these long term so I don't want to expose them programmatically.  I'm hoping we can fix datafusion's out of core sort and so these won't need to be configurable.

Codecov Report
Attention: Patch coverage is 64.28571% with 10 lines in your changes are missing coverage. Please review.

Project coverage is 81.02%. Comparing base (5ae5c73) to head (3904dfd).
Report is 3 commits behind head on main.

Files
Patch %
Lines

rust/lance-datafusion/src/exec.rs
64.28%
6 Missing and 4 partials :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2189      +/-   ##
==========================================
+ Coverage   80.97%   81.02%   +0.05%
==========================================
  Files         181      181
  Lines       51384    51550     +166
  Branches    51384    51550     +166
==========================================
+ Hits        41608    41769     +161
- Misses       7354     7358       +4
- Partials     2422     2423       +1

Flag
Coverage Δ

unittests
81.02% <64.28%> (+0.05%)
:arrow_up:

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Window Name

What was the purpose of the windowName variable passed to your create-window helper? It doesn't appear to be used. You're passing the window name to the function when calling it from the main process.

hey @jdfwarrior the name of the window is used for referencing between windows or threads in Electron as far as I can recall. So I pass that through to the api method in Electron.
Does that help?

hey @jdfwarrior the name of the window is used for referencing between windows or threads in Electron as far as I can recall. So I pass that through to the api method in Electron.
Does that help?


Arbitrary env vars to kube-burner

Description
Mechanism to inject arbitrary env vars to the kube-burner benchmark.
Signed-off-by: Raul Sevilla<EMAIL_ADDRESS>

Results for ec2_jjb

Test
Result
Retries
Duration (HH:MM:SS)

test_kubeburner
Fail
3
02:01:32

@rsevilla87 not sure what happened here but how can we make this fail faster and not eat 2 hours of CI time?

Results for ec2_jjb

Test
Result
Retries
Duration (HH:MM:SS)

test_kubeburner
Pass
0
00:18:10


Timeout

START RequestId: dbb585bb-3a54-4d1a-a690-54e5085c55f8 Version: $LATEST
[INFO]	2020-02-14T18:19:39.441Z	dbb585bb-3a54-4d1a-a690-54e5085c55f8	Received SNS event: 95df01b4-ee98-5cb9-9903-4c221d41eb5e
[INFO]	2020-02-14T18:19:39.441Z	dbb585bb-3a54-4d1a-a690-54e5085c55f8	Updating from https://ip-ranges.amazonaws.com/ip-ranges.json
END RequestId: dbb585bb-3a54-4d1a-a690-54e5085c55f8
REPORT RequestId: dbb585bb-3a54-4d1a-a690-54e5085c55f8	Duration: 300099.78 ms	Billed Duration: 300000 ms	Memory Size: 128 MB	Max Memory Used: 28 MB	Init Duration: 170.57 ms
2020-02-14T18:24:39.539Z dbb585bb-3a54-4d1a-a690-54e5085c55f8 Task timed out after 300.10 seconds

I increased the timeout to 15 minutes and memory to 512MB, same result.


v0.34.0 with EKS 1.28 fails to initialize due to EC2 API Connectivity

Description
Observed Behavior:
karpenter-58f587745d-hwmmc controller {"level":"FATAL","time":"2024-02-16T05:22:06.931Z","logger":"controller","message":"Checking EC2 API connectivity, WebIdentityErr: failed to retrieve credentials\ncaused by: RequestError: send request failed\ncaused by: Post \"https://sts.ap-northeast-2.amazonaws.com/\": dial tcp: lookup sts.ap-northeast-2.amazonaws.com: i/o timeout","commit":"17d6c05"

Expected Behavior:
It initializes well.
Reproduction Steps (Please include YAML):
Downgrading to v0.33.2 solves the issue. Karpenter itself is running on the Fargate via label selector.
new k8s.helm.v3.Chart('karpenter', {
  chart: 'oci://public.ecr.aws/karpenter/karpenter',
  namespace: 'kube-system',
  fetchOpts: {
    version: 'v0.34.0',
  },

  values: {
    serviceAccount: {
      create: false,
      name: serviceAccount.metadata.name,
    },

    podLabels: {
      app: 'karpenter',
    },

    settings: {
      clusterName: cluster.name,
    },
  },
});

Versions:

Chart Version: v0.34.0
Kubernetes Version (kubectl version):

Client Version: v1.29.2
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.28.5-eks-5e0fdde

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

Do you have core-dns running when Karpenter is running or is Karpenter managing your DNS capacity?

There was a change in this version that was called out in the Upgrade Guide around our dnsPolicy to be less-surprising for users that were expecting us to use ClusterFirst: https://karpenter.sh/docs/upgrading/upgrade-guide/#upgrading-to-v0340:~:text=The dnsPolicy for the Karpenter controller pod has been changed back to the Kubernetes cluster default of ClusterFirst


Support TypeScript bounded generic types notation

fix for https://github.com/google/closure-compiler/issues/3410

Created internal issue http://b/134787937

I think that the idea of creating a new type syntax that is ignored when type-checking is somewhat dangerous, in that folks using type-checking might get the impression that it's checking something that it isn't. Secondarily, changes like these can make it more difficult to land the full feature (real bounded generics) if people who were using the syntax have created code patterns that don't actually typecheck.
@shicks, do you have any other opinion on adding support for the syntax of TS-style bounded generics (See https://www.typescriptlang.org/docs/handbook/type-checking-javascript-files.html#template) in advance of actually supporting bounded generics in the type system?

Assigned to @shicks to get an answer to the question asked by @blickly above

I agree that we don't want to support the syntax until the semantics are also supported, for the same reason we don't want folks using type annotations that aren't actually checked - once they become checked, they're probably going to be wrong.  This is the reason Closure Templates had to invent a whole new syntax for their types when the time came, since too many folks were writing unchecked comments in the "first choice" format.

OK, I think we're in agreement that we shouldn't add syntax only for this without type-system support.  @ikabirov, thanks for starting the discussion and sorry we didn't decide to merge the syntax-only support.


[MAINT] Docker release deployment

https://circleci.com/gh/nipreps/sdcflows/964?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link
If we plan on migrating the image host from r/poldracklab/sdcflows to  r/nipreps/sdcflows, we'll have to extend / change circle's permissions.

Done


[Renderer] Bug: Weird SVC_LIGHTSTYLE effect.

I'm using this build https://github.com/hzqst/MetaHookSv/releases/tag/v20240201b
and it gave me weird effect when send SVC_LIGHTSTYLE message via AmxModX.
You can see the bug in this video https://youtu.be/BEIm6om6634?t=122.
The code i use to send SVC_LIGHTSTYLE:
SetLightStyle(id, const style[])
{
	message_begin(MSG_ONE, SVC_LIGHTSTYLE, _, id);
	write_byte(0); //other than 0 = no effect LOL
	write_string(style); //"#"=no light style
	message_end();
}

I use "#" to make super bright light on the entire map.

Sending SVC_LIGHTSTYLE with "#" is technically an undefined behavior
Letme expain the reason for you:
The actual light style value that being transfered to lightmap generation procedure will be pre-processed by doing such calculation in the first place: Valve uses the ASCII code of  '#' which is 23 as decimal, minus the ASCII code of a which is 97 as dec. and then the output value will get multiplied by 22 which will definitely gives you a negative number, which is (23-97)*22=-1628 as expected.

And the way Valve process the actual light style value (aka d_lightstylevalue) is pretty buggy:
(This is the reversed-engineerd code of lightmap strength calculation code)

As you can see the negative value of d_lightstylevalue (-1628) got multipled by lightscale and gave you a super larger negative number (-68,530,176 in this scenario)

And then the super larger negative number got casted to an non-sense super-super-super large number of unsigned int which is 4,226,437,120 in case of overflowing/memory access violation in the later lightgamma-conversion table access pharse.

The 4,226,437,120 got right shifted by 14 turned out to be 257,961, and got clamp to 1023 which is pretty much what you saw
"fullbright" in the vanilla GoldSrc engine.
It's technically an non-sense value that happened to be "fullbright" which happened to "relies on Valve's buggy code to run" . It's definitely not what John Carmack want in the first place.

Yeah you are right, i cannot use "#", i can only use "a" to "z".
which mean:
"a" = darkest
"z" = brightest

@hzqst weirdly enough, this was a good thing, as we could use it as a "nightvision" hack to apply fullbright to the map and eliminate almost all the shadows and dark areas without the performance-costly dlight, which is the only other option and could be used with limited radius.

@hzqst weirdly enough, this was a good thing, as we could use it as a "nightvision" hack to apply fullbright to the map and eliminate almost all the shadows and dark areas without the performance-costly dlight, which is the only other option and could be used with limited radius.

I don't think it's anything but a good thing:

like generating unwanted non-sense random color blocks everywhere:

Those random colors are from dlight which is no longer necessary if we used lightstyle #.


Support the contradictive "more than one page for the SPA"

I need an application that behaves like this:
When the site is installed I want the first user that accesses it to be redirected to /setup. Then when the user is done with the setup, the site is open for the public, on the root folder /.
Now, I can do this today, either all in on application or as two separate applications. But, in the first example it would mean that the /setup components would be delivered to the end-users as a part of the normal app too, even though they would never ever be needed. Which is obviously a bit unfortunate performance wise (memory and initial load).
The other way around is also possible, but then having the first application modify the second be a bit more cumbersome. Not to mention that two sites would both need to be installed by the "owner".
So, to avoid this it would be better if the setup and main app were indeed two totally independent client applications. At the same time it would be very preferable that they shared the same backend code, as the very nature of /setup would be to setup the configs and to initialize the DB.
I could make them as one and then when setup is done have it "delete" itself. However, this seems excessive. Also, that means that webpack would need to rebundle the app, and for production that doesn't sound like a good idea.
Maybe instead something like this would be better:

Keep everything in one app
Build two (+) different webpack bundles for the client. In my example "setup" and "main"
Setup two (+) routes. One for  /setup and one for /. The first loads the setup.js bundle and the latter the main.js bundle. (The global css and scripts could probably stay the same.)
The different client apps would set window.location manually when they need to navigate to different SPA apps, so that the server will send the application (at least I think that is the way to do it).

The above means that we could have multiple pages handled by the same backend.
I can for example envision three different SPAs in my app: /setup, /admin and / (the normal user site).

Does anyone have any experience with something similar?
Have anyone had similar needs?
Does anyone know about any other way to solve this?

I have slightly the same issue. For a client I have a number of administrative sites, a public site and a private member site. All of them are accessable via the same URL.
I use the full .NET framework there and I create virtual directories in IIS. All sites uses the same web API, which is a separate Web application.
When using .NET core you could create 3 different ASP.NET Core applications for setup, admin and the normal site and a single back-end web API and let in run on Kestrel. Then you could setup a web server in front (reverse proxy) that routes the public URL to the different web applications. You could IIS or Node for that purpose. So /api routes to the Web API, /setup routes to the setup web application.

I was thinking about that as a solution. It just feels excessive to have three totally separate applications for this, especially since they are all very related.
My hopes were that it would be possible/trivial to set this up in one and the same application instead. I mean, setting up webpack to do three different sites seems possible. And, setting up routes in the backend to handle the other two separately should also be doable. I was just hoping that I weren't the first one to try something like that :).

You can absolutely have as many separate SPA-type apps served by the same ASP.NET Core site as you want. Just put them in separate directories, give them separate Webpack configs, and build separate bundles from them. They can be completely independent.
As far as the server-side routing is concerned, it will be easiest if you route separate directories to them (e.g., /subapp1 and /subapp2) rather than having one appear to be in a subdirectory of the other.


give a little nudge for completion in untyped files

Motivation

Followup to #5663: we can give a nudge on untyped files in addition to giving nudges on untyped receivers.  (And given the way the completion code works, we need to put the check for the former in a different place.)
Test plan

See included automated tests.

Is there any way to turn off this nudge? It's very annoying when using sorbet as an LSP alongside other tools: it prevents auto-completions I want to see from being displayed on files that I have no intention of adding types to

@deiden26 We don't have a way to turn this off at the moment.  Our primary use case has been a) the exclusive use of Sorbet as an LSP provider and b) encouraging people to at least get to # typed: true or better while helping them understand why they might not be seeing completion results on particular # typed: false or similar files.
Can you elaborate on why you're using Sorbet alongside other tools like solargraph, rather than using Sorbet exclusively?

Can you elaborate on why you're using Sorbet alongside other tools like solargraph, rather than using Sorbet exclusively?

Thanks for getting back to me so quickly. I work at a company with a very large codebase that is gradually getting typed. It is going to be a long time until every file is typed, and often adding types to a file isn't in the scope of the work I'm trying to do. In untyped files, solargraph provides much better information than sorbet (as you can see in the gif). It also integrates with Rubocop so I can get realtime feedback on if I'm breaking my organization's style rules. It's a different tool that works well alongside sorbet (usually).
It would be nice if I could provide a flag to sorbet tc --lsp like --no-nudges to disable all suggestions like these that are nice-to-haves for some and actively frustrating for others.

Hi, following up here, engineers at my org find this nudge frustrating. It interferes with copilot and other extensions. Would you be open to a PR that adds a flag to disable this?


Difference between -crlf and -text in .gitattributes

I've seen both -crlf and -text in .gitattributes come from different machines running the git lfs track command, do they have any significant impact on file treatment?

Hi, I'm going through old issues that I've missed.
Those options are actually aliases according to https://git-scm.com/docs/gitattributes, so it shouldn't matter too much.


ACIA Prop->Z80 becomes borked (buffer issue) when keys are pressed while Z80 has not been reset

Seems to buffer each character (such that it comes out when the second next character is put in). I've isolated it to the ACIA Tx stuff, IDK what's up with that.

This effect isn't present in my "factory firmware", but does show up there, too, if I press ctrl+alt+del
strange...
If you remember, could you please tell me which comment my "factory firmware" was built from?

No wait, I'm just stupid!
It happens to the same extent in both versions and is actually triggered by pressing any keys before resetting the Z80 (on my setup, the Z80 apparently has to be reset every time the UX module boots, even if it was already running, for anything to happen. Similiar story with the ACIA card though, so I guess that's normal)

I think I figured the issue out: The receive interrupt is triggered when a byte is entered into the tx_buffer and the Z80 code only reads one byte per interrupt. So any bytes entered while the interrupt isn't being serviced just clog up the buffer.

Altough with the way the ACIA emulation has to wait on the bus, I don't really know where else to trigger the interrupt

The ACIA emulation has to trigger a new interrupt, if there are still bytes remaining in the Tx buffer.
But, it isn't working totally correctly now, because if two bytes come into the buffer together, then only one interrupt is triggered (or perhaps serviced), and I guess that's because the state machine is very crappy. Need to work on this too.

I think this issue is partially fixed in my implementations, but I think it can't be fully fixed using the default ROM.
The issue is that the real ACIA device is double buffered, and the Z80 side needs to check that no new byte has been received during the interrupt processing, and if a new byte has been received it needs to go back to get it. The default MS Basic ROM doesn't do this, nor does it read the overrun flag (which would be another way to fix this).
On the Propeller side it may be possible to fudge an answer by delaying transmission of bytes for a fixed time, but that would slow things down substantially, and still not be a definitive fix.
I've revised my MS Basic and CP/M-IDE implementations to fix the overrun and it was already properly implemented in RomWBW.

I think this issue is partially fixed in my implementations, but I think it can't be fully fixed using the default ROM.
The issue is that the real ACIA device is double buffered, and the Z80 side needs to check that no new byte has been received during the interrupt processing, and if a new byte has been received it needs to go back to get it. The default MS Basic ROM doesn't do this, nor does it read the overrun flag (which would be another way to fix this).
On the Propeller side it may be possible to fudge an answer by delaying transmission of bytes for a fixed time, but that would slow things down substantially, and still not be a definitive fix.
I've revised my MS Basic and CP/M-IDE implementations to fix the overrun and it was already properly implemented in RomWBW.

I guess a workaround would be to generate another interrupt if the last one hasn't been acknowledged for a while (250ms or so)

I guess a workaround would be to generate another interrupt if the last one hasn't been acknowledged for a while (250ms or so)

I've added a txFlush that should resolve this issue.
The separate issue of the Prop being too fast for the Z80 with characters has also been handled, but imperfectly for standard firmware.


Proxy static files (images, scripts etc)

I am trying to use this to replicate the functionality of a Chrome Extension I use called Allow CORS: Access-Control-Allow-origin. I am doing this so I can access a site on mobile using ngrok but where I need certain CORS values to be added.
However, as it's a single page application I need the script, and also the images to come through correctly. For example if I proxy google.com, via accessing http://localhost:8080/google.com
I receive 404 errors on most of the static files, such as http://localhost:8080/images/branding/googlelogo/2x/googlelogo_color_272x92dp.png
Is there a way to also proxy correctly these static files so I can see a correct page displayed, with the images, scripts etc? Thanks

It sounds like you're looking for a generic web proxy that proxies subresources too. That's beyond the scope of this project; CORS Anywhere is only meant to add CORS headers to single responses.


JS3 Part2 (page2) typo

Student2's 3rd key (age)'s value should be explained as '24'. Instead of '25' (type error)...

Pull Request Link:
https://github.com/garageScript/c0d3-app/pull/2186


Discussion: exportExcel

@opensource21 : just gave it a try - a really great feature! I like the evaluation for formulars...
However, I would like to discuss three design decisions:

Naming: should we call it exportExcel or more generic name since I guess the POI code will also handle open office for example
output folder: shall we use the src or the build folder? I used for some tasks the src folder because the involved tools are not available on a build server (Windows/Linux problem). Afaik, POI will also run on a Linux machine and it is running really fast (doesn't have to start Excel), so it could make sense to use the build folder.
output format: csv works great, an asciidoc table could give us more freedom for extensions. For example, POI could read the alignment of the cell content and create corresponding markup

What do you think?

About Naming: As far as I know POI only supports Excel and my implementation need a recently new version of excel (XML-Format xlsx). This is part of the search pattern. However at home I only use Libre Office calc, but if I'm talking about it, I still say "My excel sheet etc.". So I think it's more a synonym then a Trademark, something like Tempo in Germany.

About the folder: The big advantage of storing the csv at src is, that you see the changes in the history. You can easily diff it. But it's indeed a matter of taste. Furthermore it's easier to use AsciidocFX and have a preview. Last but not least: If we put it into the normal build-process we must cleanly define in and output files.

I don't think that it's a good idea to have cell specific alignements. How ever it would be nice to translate bold and italic etc for a single word. But I have no idea how to realize it. I would guess that this will become more complicated. We could store it as a feature request, but at the moment I wouldn't do it. I f some one need it, he will ask for it. At the moment it's hard enough to navigate in the gradle file.

OK agreed
history - that's a good reason. Together with being independent from excel (at any point you can throw away the xls and only use the text as source)
I've played around with your code :-) alignment and column width is now implemented g will push later...

Be careful to make the code in the gradle file not too complex. Perhaps Composite builds are a good option.

I think we can close this discussion, can't we?
we now even have the script plugins...

I will close this now.
We now ahve a working excelExport and I will commit some tests in just a minute. This should be enough.
please open another issue if you need to.


Wrong documentation about Emissary executor and image index/cache

Pre-requisites

[X] I have double-checked my configuration
[X] I can confirm the issues exists when I tested with :latest
[X] I'd like to contribute the fix myself (see contributing guide)

What happened/what you expected to happen?
As stated in 11204 there is a problem on the documentation related to Emissary executor and image management.
Version
latest
Paste a small workflow that reproduces the issue. We must be able to run the workflow; don't enter a workflows that uses private images.
n.a.

Logs from the workflow controller
n.a.

Logs from in your workflow's wait container
n.a.

Issue confirmed. We indeed need to clarify the emissary cache strategy.

Fixed in https://github.com/argoproj/argo-workflows/pull/11038


EM-821-fix: Updated reference to document manager URL in project details.

This change will be part of another review


Disallow setting mediaElement/audioContext.session when in an active state

Fixes https://github.com/whatwg/mediasession/issues/106

I did the Web Audio change here as well. It still requires the suspend-assign-resume dance, but it works. Changing the constructor would be for author convenience only.

Not yet ready to merge, the examples need to be updated to actually work with the new restrictions.


Visualize historical freight in a Stage

Proposed Feature
For a given Stage, it would be useful to know what freight it was running previously in a historical/chronological view.
I'm proposing we add some timeline view after clicking on a Stage:

That will show some timeline like:

We could possibly re-using the existing freight timeline component (in a read only manner)
Motivation
It is useful to see what a stage previously ran.
Suggested Implementation
We already have the information there in the stage, so no new backend feature would be needed. This is only about visualizing it:
  freightHistory:
    - items:
        Warehouse/guestbook:
          name: 28c0c29c967a950c20734fdb898b1e76744fb820
          images:
            - repoURL: guestbook
              tag: 1.0.1
              digest: sha256:39c5476e80433a0f119c8bfcaac5dbf12f028f160bb3c5177d6bd5838b0af147
          origin:
            kind: Warehouse
            name: guestbook
      id: 7844e215533c29b606ab0f72d7b9b092fcee5c66
    - items:
        Warehouse/guestbook:
          name: 9048ca52d6110c942236000cbc9fd1d007c91c88
          images:
            - repoURL: guestbook
              tag: 1.0.0
              digest: sha256:7db3dff75d6c34c1413a51531919e720a36b55afd270c3a65b737fee1dad9dad
          origin:
            kind: Warehouse
            name: guestbook
      id: 770771a789e5eb4fe00b884a3dfd08a5b5008e50

fixed by https://github.com/akuity/kargo/pull/2730


feat: new pipe to return a constant for each input

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 82.68%. Comparing base (65d0bc4) to head (cf400c2).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #104      +/-   ##
==========================================
+ Coverage   82.45%   82.68%   +0.22%
==========================================
  Files          74       76       +2
  Lines        1083     1097      +14
  Branches      181      181
==========================================
+ Hits          893      907      +14
  Misses        129      129
  Partials       61       61

Flag
Coverage Δ

82.68% <100.00%> (+0.22%)
:arrow_up:

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Is there a plan to support Loongson?

It's a great project!!!
Can we support loongarch64?
Or can I rebuild from the source code?
thanks

A big part of Koffi s architecture-specific code (both C++ and assembly). I haven't done anything for MIPS or even PowerPC yet.
How popular is Loongson / MIPS64 at the moment?

A big part of Koffi is architecture-specific code (both C++ and assembly). I haven't done anything to MIPS (or even PowerPC) C ABIs yet.
How popular is Loongson / MIPS64 at the moment?

The MIPS64 architecture is not what I want. What I want is the Loong64 architecture
Of course, I think the Loong64 architecture will become more and more popular, and it is already officially recognized and supported by linux
Can you help me? I'd really appreciate it

Well, I guess that points to how much I know (or in this case, don't know) about Loong64 :)
I don't know when I can work on that. If it's close enough to RISCV-64 (for the ISA part and the C ABI), porting the RV64-specific code would be the easiest option:

https://github.com/Koromix/rygel/blob/master/src/koffi/src/abi_riscv64.cc
https://github.com/Koromix/rygel/blob/master/src/koffi/src/abi_riscv64_asm.S

I may try to work on this relatively soon but keep in mind, Koffi is a side project for me. I love working on it. But I have many other things on my plate, including an actual job that has nothing to do with Koffi (or even Node.js) unfortunately.
However I'm available for hire, for 1200€ I can do it within 4 weeks, if you want ;)

Thank you, I will also actively promote this work. I will try to contact the developers of Loong64 architecture to see if I can get corresponding support. If I have any progress, I am willing to mention pr


PDForm: Add email address validation to the Email field

PDForm: Add email address validation to the Email field

Added simple RegEx to validate email addresses entered on Form2 page


[Shell] Improve Ballerina Shell parser phase

Purpose
Fixes #31883
Check List

[x] Read the Contributing Guide
[ ] 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

Blocked by https://github.com/ballerina-platform/ballerina-lang/issues/32306


MacOS unable to check YakYak for malware

Since version 1.5.3, I haven't been able to install newer versions of YakYak because I'm getting the error that MacOS can't check the app for malware. My computer has an administrator that has disabled the ability to bypass this check in system settings. Is there something that can be done to sign the app or otherwise verify its creator so MacOS will let me install?

Additionally version 1.5.3 is no longer loading for me so I'm stuck not being able to upgrade. =(

How do you install it? via the zip file in releases, or homebrew, or other?

Hello! I tried installing via the zip file. I haven't tried installing anything via homebrew before, but could look into that if you think that will bypass the issue.

I would try it that way, seems like other users are using it.

Ok, I installed via Homebrew but unfortunately am still getting the error. Here are the details:
"YakYak.app" cannot be opened because the developer cannot be verified.
macOS cannot verify that this app is free from malware.
Homebrew Cask downloaded this file today at 3:42 PM from github.com

Aha! Good news. I double checked my system prefs and have the option to open the app even though it was blocked. Thanks for the help!

Awesome


Allow deep lookup

Deep lookup allows retrieving object with childs. For example, a user can get an Account object with Contact objects inside it.
List of objects which are going to be retrieved should be configurable by user.
A depth of child objects to retrieve should be limited to 1 (nearest childs) in order to avoid excessive complexity and message size.

@zubairov Deep lookup allows retrieving object with childs. For example, a user can get an Account object with Contact objects inside it.
List of objects which are going to be retrieved should be configurable by user.
A depth of child objects to retrieve should be limited to 1 (nearest childs) in order to avoid excessive complexity and message size.

@A3a3e1 thanks, updated description. Following follow-up questions:

Do you want to create a new action or add a field/checkbox to existing polling triggers?
You mentioned List of objects which are going to be retrieved should be configurable by (a) user. could you please explain this part, not sure I understand it correctly

Triggers - 👍 - but please think in advance a case when number of child objects will exceed a particular threadhold, e.g. fetching an Account with 20.000 Oppotunities on it.
Actions - may be same way as with triggers, simple 'checkbox' with hyrdate on/off?

Since we don't have any field type like Multi select on the UI, the only solution for rendering child entity types for the user to choose from, would be a workaround.
E.g. to have a single text field, where the user should enumerate these object types with a delimiter between them.
So does it make sense to implement this feature with a workaround like this or should we push the platform team to introduce this field at first?

My preference is to push for having the platform team introduce a multi-select input but as always, the pragmatism of introducing an object with booleans for all possible expansions may be required if there is a short term need.

Do we have a Platform issue for that already?

@zubairov Nope (at least I haven't found it, as well as QAs haven't found any task like that).
Should I create it?


Can't use colon in site name

Original bug report on LemmyNet: https://github.com/LemmyNet/lemmy/issues/4518
Our Lemmy instance site name uses a colon, which apparently prevents 2FA from being enabled:
CouldntGenerateTotp: Issuer can't contain a colon. "Star Trek: Website" contains a colon
They told me it was really an issue with totp-rs, so I am letting you know!

Hi! Because of the way the de-facto standard works, the issuer parameter can't contain nor a : nor its url-encoded %3A form.
Right now, you might want to consider omitting the colon entitely. I feel like silently accepting invalid user input is probably not a great solution


Instructions for contributions and setup of the project in local

What do you think?
#30

Cool and I didn't realised is not necessary to run a local server, so the changes are:

Remove the section regarding the locally setup

Anything else?
And nope, the CSS is not supposed to be edited.

@nicolaihoilund Are we ready for this to be merged?

The changes haven't been made yet.

The CSS file just needs to be deleted now


Enterprise Search Demo Story

Requirements:

AI function
API endpoints
UI work
SQL queries to FB

Casual Use:
A user comes to the AI pages and creates a pipeline. They then, through whatever means, insert a bunch of data that is now in a table on FeatureBase. We assume the data may contain embeddings and things like keyterms, but the reality is that we don't know what the user is querying or how they will go about querying.
An input box is given to the user that appears to be a search box. At the top or bottom, this serves as user input. Next to it is a database selector pulldown.
The user may type whatever they want in the text box. When they hit enter or click submit, the text is sent to the system for processing. While typing the user will be shown "hints" from a AI method that is watching what they type. Hints, or suggestions, use a simple prompt and be submitted every 8 seconds or so. This uses a simple template with no history information to begin with.
Once the user hits enter, the text will be processed by another AI method, which classifies the query/input as well as extracting keyterms from it. If it is SQL, then the system executes the SQL on FeatureBase and puts the results in a Bootstrap table, probably striped. Another AI method that writes JavaScript might be of use here as well, by exploring the use of eval() on the page to eval the AI's code on the fly.
If the query they are asking about is related to the database and data, then a query is done to FB and any prompt data is populated with that information. A SQL query is then suggested for them that is displayed above or below the input box in a "history". The user may run this SQL by clicking on it. It might be that all queries result in some SQL being output, along with what it does.
If the query is indeterminant, and there is a currently selected database that exists, then a generalized AI method is run that accesses the current table and yanks in related texts by embedding vector similarity as well as any keterms that were extracted from the user's processed text. The user's input/query is placed at the bottom of a template that indicates that the bot is in discussion with the user and needs to respond accordingly.
Enterprise Search Use:
The user indexes data with SKUs, cost, price, product descriptions, urls, etc. They then come to the query page and type in "search for makita drills with the lowest perceived price while keeping the cost margin high". As this is a developer interface for demos, the idea that something that appears to be a good deal with a high margin is appealing to enterprise search providers, such as Home Depot.
The template is then populated with embedding weights and keyterms to pull back relevant info from the DB, and then formulates an answer that is provided via markdown to the browser for display. If the user asks a question like, which are the 3 cheapest drills, then we hope that the top entries from the cosine_distance function will contain that information (and may require the user indexes the data differently to improve results).
Both of these uses require embeddings and properly ingested data, but the general use AI template itself is quite simple (but will likely need to be tweaked):
0. you are an enterprise search engine that converses with a shopper at RVSupply, Inc.
1. the following database information is available regarding the user's input:
"""
$TEXT
"""
2. You will produce python dictionary keys named "answer" and "optional_sql" in step 3.
3. Using only a properly formatted python dictionary to answer, process the text in step 1, while keeping mind step 0, and step 2.
python_dict =

python_dict = {
    "answer": "Here are the shirts we have in stock:\nRed T-Shirt (SKU: A001, Price: $19.99)",
    "optional_sql": "SELECT product_description, SKU, price FROM rvsupply_inventory WHERE SKU='A001';"
}

Likely Tasks:

changes to ai.py for new model methods
use complete_dict AI method
remainder of templates for methods
html and javascript changes
explore use of eval()
new endpoint for querying by API (this will be to the tables.py API handlers)
polling or socket connections for hints

"SKU": "A001",
        "product_description": "Red T-Shirt",
        "price": 19.99,
        "cost": 5.00,
        "# in stock": 150,
        "department_keyterms": ["clothing", "apparel", "shirt"]

the user is entering information in a search box, so provide three or four additional suggtions for search:

user> hi i'm looking fo

ChatGPT
Given the product information you provided, here are three or four additional suggestions for the user's search based on the product's attributes:

hi i'm looking for a Red T-Shirt.
hi i'm looking for clothing in red.
hi i'm looking for apparel under $20.
hi i'm looking for a shirt with SKU A001.
These suggestions are based on the product's description, department key terms, and other related attributes.


UI allignment in filter selections div

In our tours page, filter selection div does not have correct allignment. Its more right alligned and not center.

Please assign the issue to me.

@shubhamjain1922 thank you for your interest
But this issue is already present and someone is in the way to reslove it.
Please look for other issue or create new issue.
Star the repo 🌟 to show your love.


could you create an AngularJS version?

I've started an AngularJS directive, but it's not quite as smooth and springy as your version. Wondering if you would consider converting yours to work for AngularJS?
Here is my version for AngularJS
https://jsfiddle.net/kmturley/ruwajt2e/6/

sorry but your angular code is so bad
never use something like this:
el.css('transform', 'scale(1) translateX(0px) translateY(0px)');
do you know vendor prefixes? your code is not 'the angular way'

You don't need vendor prefixes to support transforms on current (and many previous) browsers:
http://caniuse.com/#feat=transforms2d
The only improvement I would probably make is to put the css within the template itself e.g.
<img ng-style="{'transform': num, '-webkit-transform': num, '-ms-transform': num }" />


Fixes for outdated points

Just a heads-up on a couple of places where these docs seem to be outdated:
"Allowed External Redirects URLs" is now in the root of the "Authentication / Authorization" page in the Azure portal, and there's no need to activate Azure Active Directory to edit them.
Also, the function signature for AppDelegate in point 3 for the Swift section has been changed; the correct signature is now "func application(_ application: UIApplication, open url: URL, options: [UIApplicationOpenURLOptionsKey : Any] = [:]) -> Bool".
Fixed those issues and got everything working.

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

ID: 47c6961f-7f60-31a2-a55e-9e778c2f6577
Version Independent ID: b9cfb6bf-5ffe-c01b-36b6-1bbd8fc0e2f3
Content: Add Authentication on iOS with Azure Mobile Apps | Microsoft Docs
Content Source: articles/app-service-mobile/app-service-mobile-ios-get-started-users.md
Service: app-service-mobile
GitHub Login: @conceptdev
Microsoft Alias: crdun

Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.


Feature request: Ping option for health checks

Some of my containers, ones like async task containers, don't respond on any tcp port; they simply connect to a broker and pull down tasks.
Would it be possible to add a 'ping' option to the health check in addition to TCP open and HTTP?

Closing because support for HEALTHCHECK will supersede.