text:
VC-36510: Key Pair and Venafi Connection modes now use gzip compression

Before: request body weights 49 MB:
POST https://api.venafi.cloud/v1/tlspk/upload/clusterdata/no?description=S2luZCBjbHVzdGVyIG9uIE1hZWwmIzM5O3MgQW9ydXMgaG9tZSBtYWNoaW5l&name=kind-mael HTTP/2.0
accept: application/json
content-type: application/json
authorization: Bearer REDACTED
content-length: 49000269
accept-encoding: gzip
user-agent: Go-http-client/2.0

{"agent_metadata":{...

HTTP/2.0 200
date: Tue, 15 Oct 2024 08:42:45 GMT
content-type: application/json
www-authenticate: Bearer realm="Echo"
vary: Accept-Encoding
server: envoy
content-length: 70

{"status":"ok","organization":"756db001-280e-11ee-84fb-991f3177e2d0"}

After: request body weights 5 MB:
POST https://api.venafi.cloud/v1/tlspk/upload/clusterdata/no?description=S2luZCBjbHVzdGVyIG9uIE1hZWwmIzM5O3MgQW9ydXMgaG9tZSBtYWNoaW5l&name=kind-mael HTTP/2.0
authorization: Bearer REDACTED
accept: application/json
content-type: application/json
content-length: 5125690
accept-encoding: gzip
user-agent: Go-http-client/2.0

\x8b������\xff̽ͮh\xb9\x8d...

HTTP/2.0 200
date: Tue, 15 Oct 2024 08:42:45 GMT
content-type: application/json
www-authenticate: Bearer realm="Echo"
vary: Accept-Encoding
server: envoy
content-length: 70

{"status":"ok","organization":"756db001-280e-11ee-84fb-991f3177e2d0"}

Reproducing the experiment
First, copy the following script to a file called bigjsonbody.go (written in Go because bash is super slow):
///usr/bin/true; exec /usr/bin/env go run "$0" "$@"

package main

import (
	"encoding/json"
	"flag"
	"fmt"
	"time"

	"github.com/google/uuid"
)

var (
	count = flag.Int("count", 5000, "Number of items to generate")
)

type Metadata struct {
	Name              string            `json:"name"`
	Namespace         string            `json:"namespace"`
	UID               string            `json:"uid"`
	CreationTimestamp string            `json:"creationTimestamp"`
	Labels            map[string]string `json:"labels"`
}

type Resource struct {
	Kind       string   `json:"kind"`
	APIVersion string   `json:"apiVersion"`
	Metadata   Metadata `json:"metadata"`
}

type Item struct {
	Resource Resource `json:"resource"`
}

type Data struct {
	Items []Item `json:"items"`
}

type Output struct {
	ClusterID    string    `json:"cluster_id"`
	DataGatherer string    `json:"data-gatherer"`
	Timestamp    time.Time `json:"timestamp"`
	Data         Data      `json:"data"`
}

func generateItem() Item {
	randomUID := uuid.New().String()
	return Item{
		Resource: Resource{
			Kind:       "Pod",
			APIVersion: "v1",
			Metadata: Metadata{
				Name:              "test-" + randomUID,
				Namespace:         "test",
				UID:               randomUID,
				CreationTimestamp: "2024-09-20T18:03:51Z",
				Labels: map[string]string{
					"k8s-app": "test",
				},
			},
		},
	}
}

func main() {
	flag.Parse()
	items := make([]Item, *count)

	for i := 0; i < *count; i++ {
		items[i] = generateItem()
	}

	output := Output{
		ClusterID:    "mael temp",
		DataGatherer: "k8s/pods",
		Timestamp:    time.Date(2024, time.September, 30, 16, 47, 32, 0, time.FixedZone("CET", 2*3600)),
		Data:         Data{Items: items},
	}

	outputJSON, err := json.MarshalIndent(output, "", "  ")
	if err != nil {
		fmt.Println("Error:", err)
		return
	}

	fmt.Println(string(outputJSON))
}

Then:
chmod +x bigjsonbody.go

Finally:
$ ./bigjsonbody.go --count=200000 >input-data.json
du -h input-data.json
87M    input-data.json

For these tests, I've used the tenant https://ven-tlspk.venafi.cloud/. To access the API key, use the user system.admin@tlspk.qa.venafi.io and the password is visible in the page Production Accounts (private to Venafi). Then go to the settings and find the API key, and set it as an env var:
export APIKEY=...

Create the service account and key pair:
venctl iam service-account agent create --name "$USER temp" \
  --vcp-region US \
  --output json \
  --owning-team $(curl -sS https://api.venafi.cloud/v1/teams -H "tppl-api-key: $APIKEY" | jq '.teams[0].id') \
  --output-file /tmp/agent-credentials.json \
  --api-key $APIKEY

Now, make sure to have 127.0.0.1 me in your /etc/hosts.
Then, run mitmproxy with:
curl -L https://raw.githubusercontent.com/maelvls/kubectl-incluster/main/watch-stream.py >/tmp/watch-stream.py
mitmproxy --mode regular@9090 --ssl-insecure -s /tmp/watch-stream.py --set client_certs=$(kubectl incluster --print-client-cert >/tmp/me.pem && echo /tmp/me.pem)

Run this:
cat <<EOF >minimal-config.yaml
cluster_id: "kind-mael"
cluster_description: "Kind cluster on Mael's machine"
server: "https://api.venafi.cloud/"
venafi-cloud:
  uploader_id: "no"
  upload_path: "/v1/tlspk/upload/clusterdata"
data-gatherers: []
period: 3m
EOF

Finally, run the Agent with:
go install github.com/maelvls/kubectl-incluster@latest
export HTTPS_PROXY=http://localhost:9090 KUBECONFIG=/tmp/kube && KUBECONFIG= HTTPS_PROXY= kubectl incluster --replace-ca-cert ~/.mitmproxy/mitmproxy-ca-cert.pem --sa=venafi/venafi-kubernetes-agent | sed 's|127.0.0.1|me|' >/tmp/kube

go run . agent -c minimal-config.yaml \
  --client-id $(jq -r .client_id /tmp/agent-credentials.json) \
  --private-key-path <(jq -r .private_key /tmp/agent-credentials.json) \
  --install-namespace=venafi \
  --input-path=input-data.json \
  --one-shot

By the way, I don't understand why we have set a client timeout of 1 minute in Key Pair service account mode... Timeouts are a good practice in most cases, but I don't think this is such a case:
https://github.com/jetstack/jetstack-secure/blob/64a925584cc91e6b4ab977f70788bac0a9db67be/pkg/client/client_venafi_cloud.go#L114

Add some comments in the code, explaining why the collected data is compressed
using GZIP....to reduce the likelihood of exceeding the maximum request body
size limit imposed by the server or by loadbalancers and proxies in between.

Good point, I forgot to explain why Content-Encoding was added to the Key Pair
mode and the VenafiConnection mode, but not the Jetstack Secure OAuth mode nor
the Jetstack Secure API Token mode.
I've added a few comments in 22def46 to explain that.

Show evidence that this still works with the old Jetstack TLSPK API server
(does it handle requests with Content-Encoding: gzip?), or explain why that is
not important.

I haven't added Content-Encoding: gzip to the Jetstack Secure OAuth mode nor
the Jetstack Secure API Token mode. I haven't added them in these two modes
because I have heard that the 413 Entity Too Large error was only happening with
the VCP API. I don't think it's worth changing how the way data is pushed to the
Jetstack Secure API ("Standalone") when we found no issue with it.

Did you consider adding a flag to allow users to turn off the gzip content
encoding, in case it doesn't work with a corporate proxy?

Good question... I haven't thought about that. I've looked around and found one
instance of a person struggling with using IIS as a reverse proxy in front of
SABnzbd; the problem seemed to be that SABnzbd's responses are GZIP-encoded; IIS
would respond "406 Not Acceptable":
https://github.com/sabnzbd/sabnzbd/issues/915.
I haven't found other evidence of people struggling with GZIP-encoded requests
being a problem in proxies. I conclude that the large majority of transparent
proxies, HTTP proxies, or SOCKS proxies, and the like found in companies handle
GZIP-encoded requests well.
I don't think there is a need to add a flag to disable GZIP encoding.

Did you consider checking for HTTP server error 415 Unsupported Media Type
and resending the request uncompressed?

I haven't considered this. It seems like some work to add this logic, and I'm
not sure how useful it will be.
Note: Looks like 415 Unsupported Media Type isn't the only possible error
that may show up: 406 Not Acceptable may also be one (as seen in the SABnzbd
issue I linked above).

Does the API documentation explain that the API supports gzip encoded
requests?

I had not thought of doing that. I just tried the google search site:developer.venafi.com gzip and didn't find anything; I also tried site:docs.venafi.cloud gzip, and I didn't find anything either.
There is also the internal documentation API Documentation for /v1/tlspk/upload/clusterdata but nothing there either.
I conclude that the VCP API doesn't officially support gzip-encoded requests... should I let the Production Engineering team know about this? I'm not sure what to do about it.

I realize that this PR is trickier than anticipated. @j-fuentes told "if it is low hanging fruit, just enable compression; if it is not low hanging fruit, discuss further actions". I'll have a chat with Jose to know what to do next.

@tfadeyi I'm done with the PR! I have added the necessary unit tests and have run a smoke test in Venafi Connection mode as well as in Key Pair mode. I am confident that this will work and will not break customers. You can proceed with the review and with merging and releasing v1.2.0 once you feel confident.
Before releasing, can you proceed with the "Test 7"? I've sent data to the tenant https://ven-tlspk.venafi.cloud/ at around 2024/10/18 19:21:37 UTC, can you check that the bucket contains the data?

Before releasing, can you proceed with the "Test 7"? I've sent data to the tenant https://ven-tlspk.venafi.cloud/ at around 2024/10/18 19:21:37 UTC, can you check that the bucket contains the data?

I've tested e2e (pushing data from this branch of the agent to checking the blob storage) and the data is successfully uploaded to the backend side, with both --disable-compression and without.
Note: the backend already compresses data before storing it to the storage.

I'm going to look into the failing unit tests.
One thing I noticed is the behaviour of POD_NAME and --install-namespace, without either one of them the agent will be in a error state. This flag should be added to the helm chart as a value so users can change it. The flag/envvar should be set by default to be venafi as that is the default namespace,
When setting --install-namespace venafi I still see the following line at the start of the agent logs:
2024/10/23 13:57:21 error messages will not show in the pod's events because the POD_NAME environment variable is empty

authors: maelvls tfadeyi

repo: jetstack/jetstack-secure


text:
Add bonded_type information in the comment of each atom in the charges section

Hi!
Thank you @jewettaij for the updates and for all the work done!
I'm making this small pull request as I think it could be beneficial for the user to have also the bonded_type string visible in the comment line of the charges section (where one has to select the proper type), as it can help to understand which bonded interactions will be selected down the line!
The only drawback I forsee is if some type will have different bonded_type for bond/angle/dihedral, but that's never the case for now, I think.

I'm also wondering if we should replace "bCA_aCA_dCA_iCA" with just "CA"?

I just made this change.
Now atom names are "@atom:145_CA" instead of "@atom:145_bCA_aCA_dCA_iCA"

I'm also wondering if we should replace "bCA_aCA_dCA_iCA" with just "CA"?

I just made this change. Now atom names are "@atom:145_CA" instead of "@atom:145_bCA_aCA_dCA_iCA"

Sadly I decided I need to revert this change.  The short names are much easier to read.  But the LOPLS force-field (built on top of OPLSAA) requires the more complex atom type names.

source: gharchive/pull-request

authors: DrDomenicoMarson jewettaij

repo: jewettaij/moltemplate

license: mit

license_type: permissive

license_source: bigquery


text:
Little Prince

Hi,
In the README it says there should be a parser model trained on the Little Prince data, with corresponding config file. Is it correct that it isn't there and if so could you please share it? Would be very helpful!
Many thanks.

@Fije I also found that scripts/config_Little_Prince.sh, mentioned in the Parser_Performance document, did not exist. However the Step by Step Training document had a link to http://cs.cmu.edu/~jmflanig/models.tgz which contains the Little Prince model. Then you just need a config to point to these files. There is a scripts/old_configs/config_ACL2014_Little_Prince.sh config, but it may be too old to be usable, as I get the following error:
...
 ### Running JAMR ###
Stage1 features = List(bias, length, fromNERTagger, conceptGivenPhrase)
Exception in thread "main" java.util.NoSuchElementException: key not found: 'stage1PhraseCounts
	at scala.collection.MapLike$class.default(MapLike.scala:228)
	at scala.collection.AbstractMap.default(Map.scala:58)
	at scala.collection.mutable.HashMap.apply(HashMap.scala:64)
	at edu.cmu.lti.nlp.amr.ConceptInvoke.package$.Decoder(package.scala:25)
	at edu.cmu.lti.nlp.amr.AMRParser$.main(AMRParser.scala:113)
	at edu.cmu.lti.nlp.amr.AMRParser.main(AMRParser.scala)

There is no wordCounts.train in the models directory, and also no --stage1-phrase-counts option given in PARSER_OPTIONS in the old config. If you can find the tokenized input file (e.g., /tmp/jamr-1234.snt.tok) then you can create these by adapting the command in scripts/training/cmd.conceptTable.train:
$ cat /tmp/jamr-1234.snt.tok | scripts/training/wf | awk '{print $2,$1}' > models/Little_Prince/wordCounts.train

Then add the following to the config:
export PARSER_OPTIONS="
    --stage1-phrase-counts ${MODEL_DIR}/wordCounts.train  # <-- add this
    ...

This, at least, got me to decoding, but I'm not sure what other parameters that old config is missing, so the results may not be the same. When I parsed the little prince data using the standard config, smatch gave me an F-score of 0.57. When I parsed using the old config and the Little_Prince model, it gave 0.64, so it's an improvement.
Also see: #22 and #25, which are related to the error I had above.

Hi @goodmami,
Many thanks for your extensive explanation.
In cmd.conceptTable.train, it also asks for an aligned input file. ("$INPUT".aligned)
I'm not exactly sure what this should be: was this the original input file with alignments for training the little prince model?
From my side, I solely have a text file with 1 sentence, to create an example.
Thanks again!

@Fije I'm not sure about that one, but it wasn't required to create wordCounts.train as long as $INPUT.snt.tok already existed.
I just did grep -R '\.aligned' in the scripts/ directory and it looks like scripts/preprocessing/cmd.aligned is what writes that file. Maybe try running that or scripts/preprocessing/PREPROCESS.sh (which calls cmd.aligned) and see what happens? I'd be happy to hear what you discover; I'll probably try again in a few days.

source: gharchive/issue

authors: Fije goodmami

repo: jflanigan/jamr


text:
D programming languagage added

Closes : https://github.com/jfmartinz/ResourceHub/issues/1355
Description
Hey @jfmartinz I have added the resources of D Programming Language
./Programming Languages
/D
/readme.md
Please take a look, Thank you.
Closes : https://github.com/jfmartinz/ResourceHub/issues/1355
Type of change

[x] Adding a new Resource
[x] Adding a new Category
[ ] Documentation enhancement or fixes
[ ] Website enhancement or fixes

Checklist:

[x] I read carefully CONTRIBUTING.md
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation

Screenshots (if appropriate):
Please add screenshots to help explain your changes.
Additional

hey @jfmartinz , i have added new programming language "D".

hey @jfmartinz , it should be level 3 because i have added complete resource of "D" . level 1 for particular section of resource.
for ex.  https://github.com/jfmartinz/ResourceHub/pull/478 https://github.com/jfmartinz/ResourceHub/pull/1239 https://github.com/jfmartinz/ResourceHub/pull/1157

repo: jfmartinz/ResourceHub

license: MIT

license_source: github-api


text:
Icons aren't appearing in output.

No icon found for partly-cloudy-day.
weather/utilities.go points to https://jess.s3.amazonaws.com/weather/icons/partly-cloudy-day.txt
48:func getIcon(icon string) (iconTxt string, err error) {
51:	switch icon {
69:	uri := "https://jesss.s3.amazonaws.com/weather/icons/" + icon + ".txt"

Any chance the bucket name changed or you removed these from s3?

I'll look into it
On Thursday, February 26, 2015, queuebit notifications@github.com wrote:

No icon found for partly-cloudy-day.
weather/utilities.go points to
https://jess.s3.amazonaws.com/weather/icons/partly-cloudy-day.txt
48:func getIcon(icon string) (iconTxt string, err error) {51: switch icon {69: uri := "https://jesss.s3.amazonaws.com/weather/icons/" + icon + ".txt"
Any chance the bucket name changed or you removed these from s3?
—
Reply to this email directly or view it on GitHub
https://github.com/jfrazelle/weather/issues/11.

--
Jessie Frazelle
4096R / D4C4 DD60 0D66 F65A 8EFC  511E 18F3 685C 0022 BFF3
pgp.mit.edu http://pgp.mit.edu/pks/lookup?op=get&search=0x18F3685C0022BFF3

fixed

👍 Thanks!

authors: jfrazelle queuebit

repo: jfrazelle/weather


text:
Support for priority resolution in local repositories

Is your feature request related to a problem? Please describe.
It is currently not possible to set priority resolution for local repos, e.g. local python repo.
Describe the solution you'd like
Add priority resolution field to local repo base.
Describe alternatives you've considered
Add priority resolution field to specific local repo types.
Additional context
Related issue: https://github.com/jfrog/terraform-provider-artifactory/issues/62

@tenstad Does #268 fulfill this feature request?

It does. Thanks @jonattta! 😄

authors: alexhung tenstad

repo: jfrog/terraform-provider-artifactory


text:
Separable Convolution in ASPP module is not supported according to original paper

I am not an expert in pytorch but... I suppose you have forgotten to add depthwise separable convolution to ASPP module. In original paper and code at the official repo (tf/models) it exists... If I am not mistaken at aspp.py following changes should be made:
Instead of:
self.atrous_conv = nn.Conv2d(inplanes, planes, kernel_size=kernel_size,
stride=1, padding=padding, dilation=dilation,, bias=False)
Add this:
self.atrous_conv = nn.Conv2d(inplanes, planes, kernel_size=kernel_size,
stride=1, padding=padding, dilation=dilation,
groups=inplanes, bias=False)
According to the official pytorch docs: https://pytorch.org/docs/master/nn.html#conv2d
Best regards

I think you are right.
Both ASPP module and Decoder don't have depthwise separable convolution in this code.
In addition to your code [Add this: ~~], pointwise convolution is needed.
For example:
self.atrous_conv = nn.Sequential(
nn.Conv2d(inplanes, inplanes, kernel_size=kernel_size, stride=1, padding=padding, dilation=dilation, groups=inplanes, bias=False),
nn.Conv2d(inplanes, planes, kernel_size=1, stride=1, padding=0, bias=False)
)

@JeonJeongMin yeah, but there is an easier way, there is already separable convolution in Xception already implemented. So it can be used from there (but it needs a few changes). I actually moved from the deeplab.
P.S. separable convolution didn’t make any sufficient improvement in my case

authors: JeonJeongMin ponjoru


text:
Add a built in plugin for flexible transformation of output format

There should be a built in plugin that is configurable in order to produce different formats and structure of extracted output. This can for example be to extract numbers as strings that include the number unit, instead of parsing it to a javascript number type.
If you have any specific cases where you are currently required to modify the output format please include that use case here so that we can bake it in as a feature for a built in transformation plugin.

+1

authors: jgranstrom vampics

repo: jgranstrom/sass-extract


text:
Cannot add text to shape on iPhone/iPad

Preflight Checklist

[X] I agree to follow the Code of Conduct that this project adheres to.
[X] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Describe the bug
When using app.diagrams.net from either my iPad or iPhone I cannot enter text in the shapes. You should be able to double-tap on the shape and enter text, but all that happens is that the shape is selected or deselected.
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to app.diagrams.net from Safari on iPhone/iPad
Add shape
Double-tape on shape to enter text
Nothing happens - keyboard doesn't pop up, etc.

Expected behavior
As above, should be able to double-tap on a shape to enter text.
Screenshots
n/a
draw.io version (In the Help->About menu of the draw.io editor):

draw.io version v24.4.4

Smartphone (please complete the following information):

Device: iPhone 13 Pro / iPad Pro
OS: IOS 17.5
Browser Safari, Chrome and Edge
Version [e.g. 22]

I tested the problem in incognito/private mode with all browser extensions switched off, write "yes" below:

yes

Fix in 24.4.6.

authors: davidjgraph derekoharrow

repo: jgraph/drawio


text:
Multi-select

Hi! I'd like to try out fzy as a replacement with fzf for my workflows because of the better ranking. (Thanks for the great software and simple Makefile). However, I have one use case that's important to me but fzy doesn't provide AFAIK: opening multiple files I've selected in Vim (in splits or buffers):
Simplified:
# Open files listed on stdin in $EDITOR.
vimin () {
	runargs ${EDITOR:-vim} -O
}

# Can select multiple files and have them open in splits.
ag | fzf -0 -1 -m | vimin

# No multi-select.
ag | fzy | vimin

(The lack of streaming matching is also a bit problematic, which is why I +1'd the issue discussing this. I often use a FUSE network filesystem which cannot reasonably be queried, but I like to get the first levels of matches with something like https://github.com/tavianator/bfs.)

@aktau You may want to look 0.15.0 release of fzf where ranking algorithm has been revised: https://github.com/junegunn/fzf/commit/2fc7c18747250ebf8adf68d2057ec22af6976f29. Maybe it fits you better now.

Thanks! That'll do for now I think :).

repo: jhawthorn/fzy


text:
No description in the registry

Using multiline label (#19) seem broken.

This is likely a bug of GHCR, since v2.2 manifests work, but OCI don't.
Reported to support.

Closing here; it's a registry issue, OCI isn't supported correctly. The issue has been reported and confirmed by the support.

repo: jhnc-oss/yocto-image


text:
Faulty Xml Causes IndexOutOfBoundsException

@Test
public void parseFaultyXml() {
    String xml = "<?xml version='1.0'><val>One</val>";
    Document doc = Jsoup.parse(xml, "", Parser.xmlParser());
}

Results in:
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0

	at java.util.ArrayList.rangeCheck(ArrayList.java:657)
	at java.util.ArrayList.get(ArrayList.java:433)
	at org.jsoup.nodes.Element.child(Element.java:254)
	at org.jsoup.parser.XmlTreeBuilder.insert(XmlTreeBuilder.java:91)
	at org.jsoup.parser.XmlTreeBuilder.process(XmlTreeBuilder.java:49)
	at org.jsoup.parser.TreeBuilder.runParser(TreeBuilder.java:52)
	at org.jsoup.parser.TreeBuilder.parse(TreeBuilder.java:45)
	at org.jsoup.parser.Parser.parseInput(Parser.java:34)
	at org.jsoup.Jsoup.parse(Jsoup.java:45)

Thanks for the report and the easy repro! Fixed.

authors: funbees jhy

repo: jhy/jsoup


text:
Fix issue #1490

Fix issue #1490

Why are there so many duplicate PRs - are you all in the same class or something? Please be mindful if so to not create duplicate PRs, particularly for design changes like this. Closing, same reason as #1525
Also - happy to take PRs but please make them clean (not multiple commits), and give a meaningful title.


text:
feat:修改跳转逻辑，减少用户等待跳转的时间。

1.目前用户从repository页面跳转到Login页面等待的时间较长，应修改验证逻辑。

reduce user waits #95

repo: jiaozifs/jiaozifs-ui


text:
Add mal_id and pagination for Anime/Manga News

https://myanimelist.net/anime/21/Cowboy_Bebop/news?p=2
Unsupported in AnimeNews
https://github.com/jikan-me/jikan/blob/3.0.0/src/Request/Anime/AnimeNewsRequest.php

➕mal_id
author -> author.username, author.url
intro -> excerpt

repo: jikan-me/jikan


text:
Authentication with Authjs or other libraries

Hello,
I've spent all week trying to get authjs to work with this adapter and I'm at the point where I believe there is simply something incompatible between the two and I have no idea what it is. I have it working locally but I get errors I can't figure out when deployed to AWS.
Over the weekend I plan to test the template project to make sure it has nothing to do with my project but i was curious if anyone has used authjs or any other sort of stateless authentication with this adapter?

Tried this with  sveltekit-auth-example and had the same issue.

Yes it does use hooks.server.ts.
Which diagram are you referring to? This one?

Ok, cool. Yep that one, have you gotten it to work? :)

I just set it up and it works fine for me. Could it be something with your Authjs set up?

I never got it working with a lambda, I did get it working with AWS ECS.
Did you use the cognito provider?

I used the credentials provder but I'm gonna try out Cognito within a couple of weeks.

authors: hiddengearz mblinusreimertz


text:
tried to add it in the pom but failed to get the library from maven

Hi ,
i tried to add it to my pom as mentioned , but it fail:
repositories

jitpack.io
https://jitpack.io

<dependency>
    <groupId>net.jimblackler</groupId>
    <artifactId>jsongenerator</artifactId>
    <version>0.4.5</version>
</dependency>

net.jimblackler:jsongenerator:pom:0.45 was not found in https://repo1.maven.org/maven2 during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of central has elapsed or updates are forced
any idea why ?

or this error
The packaging for this project did not assign a file to the build artifact

Have you tried the instructions on Jitpack here https://jitpack.io/#net.jimblackler/jsongenerator ?

you can close it...my bad ...use wring version 0.45 instead of 0.4.5

authors: jimblackler ohadabraham

repo: jimblackler/jsongenerator


text:
🛑 KaaS - Obsidian Publish is down

In 3862231, KaaS - Obsidian Publish (https://publish.obsidian.md/kaas-published/) was down:

HTTP code: 403
Response time: 155 ms

Resolved: KaaS - Obsidian Publish is back up in 4876c2f.

repo: jimbrig/upptime


text:
Fix paths with spaces

fix msvc,gcc,ccache paths with spaces
issus: https://github.com/jimmy-park/openssl-cmake/issues/23

This modification does not work on iOS builds.
https://github.com/jimmy-park/openssl-cmake/actions/runs/11653075413/job/32445059216

ccache seems to recognize "xcrun -sdk iphoneos cc" as a compiler.
In this case, it seems impossible to determine whether it is the compiler path or it carries parameters itself.
Do you have any good ideas?

I'm considering not supporting the absolute CC path. (ccache should not be used in your case)
I would revert this commit unless we find some workarounds until the next OpenSSL release.

Ok, I'll give it another try later today and will give up on the combination of ccache and absolute paths if I can't find a solution.

Ok, maybe this is a problem with openssl itself.
But when you add ccache, you should use double quotes to enclose ${CCACHE}, because the path of ${CCACHE} may contain spaces. like this https://github.com/iGwkang/openssl-cmake/commit/ca328271f141a68cfad3e34d65e065ddc5f8315e#diff-3728bd212d2683ca61828bd3dd2ae461a380fbbe63cfa662fa43d94f784a0547L80

That's why I changed the ccache path in https://github.com/jimmy-park/openssl-cmake/pull/24.

authors: iGwkang jimmy-park

repo: jimmy-park/openssl-cmake


text:
update API calls with July 2020 changes

AWS changed the ce api, update based on this article: https://aws.amazon.com/blogs/aws-cost-management/update-cost-explorer-forecasting-api-improvement/

updated with new AWS API to match cost explorer screens

repo: jimzucker/aws-forecast


text:
Release of the training code

Hello,
Thank you very much for this very interesting paper and open sourcing the results.
I was wondering if you were planning on releasing the training  code as well ?
Thanks,
claeyzre

Hi @claeyzre
Yes, the training code will be open sourced. I'm currently working on it and do some quality check. I hope it can be available by this weekend.
Best,
Jingtao

Awesome, thank you

Hello @jingtaozhan, any news on this ?
Thank you

Hi @jingtaozhan. Had the same query as @claeyzre above. Any updates on when (and if) you will be uploading the training scripts?
Thanks.

I'm recently busy with other stuff, and will have time to prepare the training code in one week. It will definitely be ready before WSDM conference (2.14).

@claeyzre
I update the code and add examples to compress the index for SBERT, coCondenser, and TAS-B, which I remember we discussed via email. Maybe you are interested in these examples.

authors: Shreeshail-Hingane claeyzre jingtaozhan

repo: jingtaozhan/RepCONC


text:
Experiment with supermicro

Debug 15 puzzle david with 16 threads

Debug 15 puzzle burns with 16 threads

Debug 15 puzzle david with 24 threads
not sure this work.

Debug 15 puzzle david with 16 threads
Done. Now experimenting it.

Debug 15 puzzle burns with 16 threads
Done. Ready to experiment.

Debug 15 puzzle david with 24 threads
If the hash string is long enough, then it may work.

Debug 24 puzzle burns with 24 threads
Same as above.

Experiment:

Efficiency of HDA* in 15 puzzle
1, 2, 4, 8, 16, 24 threads

Comparison of HDA* vs. PBNF on 16 threads
15 puzzle maybe?

Comparison of HDA* vs. PBNF on 24 threads
15 puzzle maybe?

Check the machine spec

24 threads has extra search overhead because of Zobrist Hash not being 2^n.
We need to show that the search overhead is not because the number of the threads increased, but the imbalance in the distribution.
Therefore, we need to experiment in 12 threads, and possibly 6 threads.


text:
some questions about model

hi, thank you for your great work, I have some questions:

As you mentioned in the paper: adding the attention module before the ConvNext module appears to be the optimal solution.，but I found that in decoder/models.py, the AttnBlock is contained in pos_net which is after convnext. They seem to be in the opposite order as in the paper.
I want to do streaming inference with wavtokenizer, I have replaced all the convolution layers in SEANetEncoder, SEANetDecoder, ConvNeXtBlock and pos_net(ResnetBlock+AttnBlock) with causal convolution layers(class SConv1d with causal=T). Unfortunately, the genetrator loss keeps increasing(see in the pic). Is there any wrong in the modified model?

thank you for your reply!

hi, thank you for your great work, I have some questions:

As you mentioned in the paper: adding the attention module before the ConvNext module appears to be the optimal solution.，but I found that in decoder/models.py, the AttnBlock is contained in pos_net which is after convnext. They seem to be in the opposite order as in the paper.
I want to do streaming inference with wavtokenizer, I have replaced all the convolution layers in SEANetEncoder, SEANetDecoder, ConvNeXtBlock and pos_net(ResnetBlock+AttnBlock) with causal convolution layers(class SConv1d with causal=T). Unfortunately, the genetrator loss keeps increasing(see in the pic). Is there any wrong in the modified model?

thank you for your reply!

The code is consistent with the paper, with the attention module placed before the ConvNeXt blocks. https://github.com/jishengpeng/WavTokenizer/blob/02c66cbb4b05b3ee225419f00f3914eb1854b7d5/decoder/models.py#L225
We have also experimented with WavTokenizer-Streaming and found the performance to be satisfactory. The issue you are encountering appears to be a bug or some other underlying cause. During modification, only the parameters of the encoder need to be adjusted, while for the decoder, detailed changes to the attention and convolution modules are required.

The code is consistent with the paper, with the attention module placed before the ConvNeXt blocks. Link
We have also experimented with WavTokenizer-Streaming and found the performance to be satisfactory. The issue you are encountering appears to be a bug or some other underlying cause. During modification, only the parameters of the encoder need to be adjusted, while for the decoder, detailed changes to the attention and convolution modules are required.

thank you for your reply. I will try it. BTW, should I add mask in AttnBlock?

The code is consistent with the paper, with the attention module placed before the ConvNeXt blocks. Link
We have also experimented with WavTokenizer-Streaming and found the performance to be satisfactory. The issue you are encountering appears to be a bug or some other underlying cause. During modification, only the parameters of the encoder need to be adjusted, while for the decoder, detailed changes to the attention and convolution modules are required.

In fact, the loss curve was the same when I didn't change the code (on both libritts and ljspeech), and I didn't understand why this was the case, I just changed the following configuration:
data:
  class_path: decoder.dataset.VocosDataModule
  init_args:
    train_params:
      filelist_path:./data/LJSPEECH/train.txt
      sampling_rate: 24000
      num_samples: 24000
      batch_size: 16  # 20
      num_workers: 8

    val_params:
      filelist_path: ./data/LJSPEECH/val.txt
      sampling_rate: 24000
      num_samples: 24000
      batch_size: 5   # 10
      num_workers: 8

repo: jishengpeng/WavTokenizer


text:
Fix #245

Fixes #245
-- Use policy.d to prevent auto-start of rabbitmq service on package install
-- Simplify to one service resource declaration
-- Move template for *.config before environment file

Jeebus man, good catch.

I knew i forgot something. I'll merge this in and release a new version today/tomorrow.

authors: cheeseplus jjasghar

repo: jjasghar/rabbitmq


text:
Could we consider unsealing the ExchangeAPI classes?

Since the ExchangeAPIs have been sealed, it has become hard to validate behaviors. For example, I can no longer substitute ExchangePoloniexAPI to validate polo's special withdrawal field functionality
        public Poloniex(ExchangeAPI api)
            : base(null)
        {
            this.Client = api ?? new ExchangePoloniexAPI();
            this.SupportsGetTickersWebSockets = true;
        }

        public override bool SupportsWithdrawWithAddressTag(string symbol)
        {
            return ExchangePoloniexAPI.WithdrawalFieldCount.TryGetValue(symbol, out int count) && count == 2;
        }

This line fails: var fromExch = new Poloniex(Substitute.For<ExchangePoloniexAPI>());
        [TestMethod]
        public void ConfirmSufficientWithdrawalFields_PoloniexSometimesSaysNo_ReturnNonEmpty()
        {
            IRecorder recorder = new RecorderBuilder().Build();
            var fromExch = new Poloniex(Substitute.For<ExchangePoloniexAPI>());

            ExchangePoloniexAPI.WithdrawalFieldCount = new Dictionary<string, int> { ["TO"] = 1 };

            var toExch = new TestExchange();
            var pairOne = new CryptoPair("to", "from", new ExchangeTicker { Ask = 1.5m }, "to/from") { Exchange = fromExch };
            var pairTwo = new CryptoPair("from", "to", new ExchangeTicker { Ask = 1.5m }, "to/from") { Exchange = toExch };
            var pairSet = new PairSet(new List<ICryptoPair> { pairOne, pairTwo }, recorder, Substitute.For<ILogic>());

            var deposit = new ExchangeDepositDetails { Address = "ABCD", AddressTag = "XYZ", Symbol = "TO" };
            toExch.Client.GetDepositAddressAsync("TO").Returns(deposit);

            pairSet.Validator.ConfirmWithdrawalTagSupport(null).Should().NotBeNullOrWhiteSpace();
        }

I’m sure I’m missing something. Can this not be accomplished by changing
the request maker to a test one that returns canned responses?

Jeff

On Sat, Apr 28, 2018 at 11:55 AM bichuga notifications@github.com wrote:

Since the ExchangeAPIs have been sealed, it has become hard to validate
behaviors. For example, I can no longer substitute ExchangePoloniexAPI to
validate polo's special withdrawal field functionality
    public override bool SupportsWithdrawWithAddressTag(string symbol)
    {
        return ExchangePoloniexAPI.WithdrawalFieldCount.TryGetValue(symbol, out int count) && count == 2;
    }

This line fails: var fromExch = new
Poloniex(Substitute.For());
    [TestMethod]
    public void ConfirmSufficientWithdrawalFields_PoloniexSometimesSaysNo_ReturnNonEmpty()
    {
        IRecorder recorder = new RecorderBuilder().Build();
        var fromExch = new Poloniex(Substitute.For<ExchangePoloniexAPI>());

        ExchangePoloniexAPI.WithdrawalFieldCount = new Dictionary<string, int> { ["TO"] = 1 };

        var toExch = new TestExchange();
        var pairOne = new CryptoPair("to", "from", new ExchangeTicker { Ask = 1.5m }, "to/from") { Exchange = fromExch };
        var pairTwo = new CryptoPair("from", "to", new ExchangeTicker { Ask = 1.5m }, "to/from") { Exchange = toExch };
        var pairSet = new PairSet(new List<ICryptoPair> { pairOne, pairTwo }, recorder, Substitute.For<ILogic>());

        var deposit = new ExchangeDepositDetails { Address = "ABCD", AddressTag = "XYZ", Symbol = "TO" };
        toExch.Client.GetDepositAddressAsync("TO").Returns(deposit);

        pairSet.Validator.ConfirmWithdrawalTagSupport(null).Should().NotBeNullOrWhiteSpace();
    }

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jjxtra/ExchangeSharp/issues/111, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABNoGGpMZwWnjoQGem2FxRJ0jIEmB4yuks5ttKz7gaJpZM4TrgYO
.

--
Jeff Johnson
CEO / CTO, Digital Ruby, LLC

Turns out this was a holdover from when WithdrawalFieldCount was not a static member of ExchangePoloniexAPI and it was only part of that type. Substitute.For<ExchangeAPI>() is fine in this case. Please disregard this request.

authors: bichuga jjxtra

repo: jjxtra/ExchangeSharp


text:
expanduser path, PEP8

In general we use os.path.expanduser() wherever a user passes in a path to allow ~ to be used. This allows avoiding scenarios where users on laptop vs. HPC have to do the following:

Windows laptop: c:\users\joe\data
Linux HPC: /home/joe/data

where this PR allows them to  simply use  ~/data.
Also added Python 2 compatible type hint
Imports should almost always be at top of file, and we try to avoid "from x import y" to avoid namespace clashes. There is no advantage to hiding stdlib imports within functions in particular.
Type of change

Bug fix (non-breaking change which fixes an issue)

I employ type hinting at every function declaration, universally in all programs.
Also within the function if necessary or for clarity.
When I do PRs I throw in type hints around the area I'm modifying, to help ensure I'm not breaking something.
I would say more than 10% of the bugs I find are from type hinting, it catches corner cases you wouldn't think of.

This page has notes about using type hinting in Python 2. Mypy is one of the most popular type hint checkers
https://mypy.readthedocs.io/en/latest/python2.html

I enforce PEP8 and type hints such that I cannot git commit until those pass (I can manually override, for example when working on someone else's project).
https://www.scivision.dev/git-commit-precheck-pep8/
A git pre-commit hook, itself written in Python https://github.com/scivision/gitMC/blob/master/pre-commit.py


text:
After openGallery doesn't show image

Gallery after open doesn't show image in screen. Thumbnails are showing, but  in main screen is still showing loading ring.
I think that is problem with "showImage" function, but I was check image paths and looks right.

What does javascript console log says?

I put debugger to showImage function. after execute of showImage(), scope.img is "undefined" .. .. so response from loadImage func. is maybee bad.

Hm, interesting, nobody so far complained about that... are you 100% sure that img path is right... it might be that path to thumb is right but path to img is not. If the issue still persist please let me know and we will solve this.

OK Problem solved.
Problem is in showImage function. There is loadImage function, but method "then" doesn't run. It makes problem that scope.img is undefined.
So I make workaround/hack  in loadImage function and I assign directly in this function
scope.img = image.src
and maked substring of location protocol and host,  because I need relative path of image (cause deferred.resolve(image) is here)
after substring I assign back image.src = scope.img
Now is image showing, but sometimes Thumbs width doesn't work good. (I didn't debug this)

Ok, cool.

repo: jkuri/ngGallery


text:
Guild logo bug

link gesior error: 177.67.205.9

fixed by 10f78310e0894

authors: jeckestripador jlcvp

repo: jlcvp/GesiorMonteiro


text:
🛑 Itylogistics is down

In 9ee0898, Itylogistics (https://itylogistics.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Itylogistics is back up in 69e2f85 after 9 minutes.


text:
FR: DM relevant message history to a user if they 👍 a bot reply

If a user reacts to a bot reply with a 👍 or maybe other positive reaction, (or maybe a customizable reaction!) send the conversation history that led to that bot message to the user as a DM.
This would be helpful when asking a string of help questions, or saving favorites, etc.

Depends on #9

I've revisited this and don't think it would be very beneficial.

license: Unlicense


text:
Differences between hd and historical_decomposition functions

Hi again, Junior
Exploring the toolbox, I found out that there are two functions to get the historical decompositions: "hd" and "historical_decompositions". Even though I didn't look very deep into both functions, I get different results depending on when I use one or other.
For "hd", I get the historical decomposition in terms of: Y0, switch and the shocks of the model.
For "historical_decomposition", I get the historical decomposition in terms of: Y0, ss, SIG and the shocks of the model, but there is no switch component included.
Is it appropriate to use just one of them, or it depends on the model that I use?
Thanks.
Carlos

Hi Carlos,
The problem of decomposition in a nonlinear model is not defined. A regime
switching model is de facto a nonlinear model and all one can do is
approximations if one insists in doing decompositions. The two functions
you are referring to would yield the same results in a constant parameter
linear model. In a regime switching context they make two different
assumptions about how to take the decomposition. "hd" is the most recent
one.
cheers,
Junior
On Tue, Dec 19, 2017 at 6:14 AM, cjrodriguez453 notifications@github.com
wrote:

Hi again, Junior
Exploring the toolbox, I found out that there are two functions to get the
historical decompositions: "hd" and "historical_decompositions". Even
though I didn't look very deep into both functions, I get different results
depending on when I use one or other.
For "hd", I get the historical decomposition in terms of: Y0, switch and
the shocks of the model.
For "historical_decomposition", I get the historical decomposition in
terms of: Y0, ss, SIG and the shocks of the model, but there is no switch
component included.
Is it appropriate to use just one of them, or it depends on the model that
I use?
Thanks.
Carlos
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jmaih/RISE_toolbox/issues/69, or mute the thread
https://github.com/notifications/unsubscribe-auth/ACagz51STi6NxIj-VSnhvorsgn6WHKcmks5tB0YhgaJpZM4RGc3V
.

Many thanks for your response Junior.
Do you recommend any source (or literature) to get in the details of these assumptions to construct the decomposition (additional to the functions)? I would like to understand a little bit more about this topic.
Regards,
Carlos

The problem, as I said earlier, is not defined and not surprisingly there
is, to the best of my knowledge, no literature on the subject.
On Tue, Dec 19, 2017 at 9:41 AM, cjrodriguez453 notifications@github.com
wrote:

Many thanks for your response Junior.
Do you recommend any source (or literature) to get in the details of these
assumptions to construct the decomposition (additional to the functions)? I
would like to understand a little bit more about this topic.
Regards,
Carlos
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/jmaih/RISE_toolbox/issues/69#issuecomment-352676054,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACagz6BU7QUgIggupbgFz1LFV61ZAtWZks5tB3angaJpZM4RGc3V
.

Many thanks for your response.
Regards,
Carlos


text:
Twitter's Retweet API

Hi @jmathai
As per this document on twitter, https://support.twitter.com/articles/77606-what-is-retweet-rt,
there is an official API for Retweets. Is there any update to epiTwitter to handle this new API?
twitterObj->post_statusesUpdate(array("status/retweet" => $Txt))
???

Any API is supported. You can use the method name version or post('/path/to/endpoint.json', array('param'=>'value'));
See http://www.jaisenmathai.com/articles/twitter-async-documentation.html#usage_and_examples

authors: emuki jmathai

repo: jmathai/twitter-async


text:
Thermostat continues heating while temperature exceed the target

Version of the custom_component
4.0.4
Configuration

My VTherm attributes are the following:
hvac_modes: heat, off
min_temp: 7
max_temp: 21
target_temp_step: 0.1
preset_modes: none, eco, comfort, boost
current_temperature: 22.2
temperature: 19
hvac_action: idle
preset_mode: comfort
is_on: true
hvac_mode: heat
type: null
eco_temp: 17
boost_temp: 21
comfort_temp: 19
eco_away_temp: 15
boost_away_temp: 17
comfort_away_temp: 17
power_temp: null
target_temperature_step: 0.1
ext_current_temperature: 16.44
ac_mode: false
current_power: null
current_power_max: null
saved_preset_mode: comfort
saved_target_temp: 19
saved_hvac_mode: null
window_state: off
motion_state: null
overpowering_state: null
presence_state: on
window_auto_state: off
window_bypass_state: false
security_delay_min: 60
security_min_on_percent: 0.5
security_default_on_percent: 0.1
last_temperature_datetime: 2023-11-13T18:40:58.890757+01:00
last_ext_temperature_datetime: 2023-11-13T18:36:55.268198+01:00
security_state: false
minimal_activation_delay_sec: 10
device_power: 3000
mean_cycle_power: 0
total_energy: 73644.17
last_update_datetime: 2023-11-13T18:40:58.996032+01:00
timezone: Europe/Paris
window_sensor_entity_id: null
window_delay_sec: 30
window_auto_open_threshold: 1
window_auto_close_threshold: 0.05
window_auto_max_duration: 60
motion_sensor_entity_id: null
presence_sensor_entity_id: input_boolean.homekit_rabatteurs_presence_switch
power_sensor_entity_id: null
max_power_sensor_entity_id: null
temperature_unit: °C
is_device_active: false
is_over_switch: true
is_inversed: false
underlying_switch_0: switch.rabatteurs_chauffage
underlying_switch_1: null
underlying_switch_2: null
underlying_switch_3: null
on_percent: 0
power_percent: 0
on_time_sec: 0
off_time_sec: 300
cycle_min: 5
function: tpi
tpi_coef_int: 0.6
tpi_coef_ext: 0.05
friendly_name: Rabatteurs
supported_features: 17

Describe the bug
In a small house, if the thermostat controls the electric heating and the wood stove is lit, and if logically the temperature exceeds the set temperature, the thermostat continues to activate the electric radiators
I'm trying to:

And I expect:

But I observe this ....

this also happens in another house, the switch ins't turn off while temperature exceed the target, I had to create a automation to avoid this.
Debug log
2023-11-12 21:39:18.441 WARNING (MainThread) [custom_components.versatile_thermostat.underlyings] VersatileThermostat-Rabatteurs-switch.rabatteurs_chauffage - The hvac mode is ON, but the underlying device is not ON. Turning on device switch.rabatteurs_chauffage

Add your logs here.

Hello @FermedePommerieux,
What I see is:
on_percent: 0
power_percent: 0

Which means the electrical heater is not heating (0%).
What makes you believe that it was heating ?


text:
Helper methods

Did a request fail? Are some resources loading? These are common questions, and RSR lets you answer pretty much any question you would want to about XHRs. But it is quite verbose to do so! We should add helper methods.
I had three ideas:

Boolean helper methods. i.e.;

isReadPending(state, ['books.23', 'requests']);
// true if Book with ID 23 is loaded, and if a bulk read of requests loaded

xhrStatus helper methods, i.e.;

getXhrStatus(state, 'books.20.relationships.author.23', 'updating')
// returns the xhrStatus for the update action of this book

changed statuses. Did a value change from one thing to another?

didReadFail(currentResources, nextResources, 'books.20', 'delete');
// => true if the delete failed, false otherwise

The idea of a "resource path" is pretty nice, but there are issues with the idea of a label (see #99 for more on what a label is). I don't want a DSL that's any weirder than object/keys, so something like resourceName{label} isn't an API that I'm interested in.
One idea would be:
any(
  status: 'PENDING',
  state: { movies, books },
  statuses: [
    getReadStatus('movies', {view: 'pasta'}),
    getReadStatus('books.24')
  ]
])

but, yikes that just seems rather complex ☹

Alright, some updates...
Paths are great, but since they map naturally to objects, I'll support both. In other words.
'books.23'

{
  resourceName: 'books',
  id: 23
}

both point at the same location. This supports labels/views/anything else I want naturally:
{
  resourceName: 'books',
  whatever: 'sandwiches'
}

there just won't be an equivalent string syntax, which I'm alright with.

I'm thinking of just having two helpers. One is for getting a meta for an action, like:
getStatus(state, 'read', 'books.23')
// => {pending: false, failed: true, succeeded: false}

The other combines statuses of the same action across multiple resources:
getStatus(state, 'read', ['books.23', 'friends'])

The reason for this is that you usually care to aggregate the same action (and honestly, it is just reads). If you wanted to aggregate different statuses across different actions, you can just do:
[
  getStatus(state, 'delete', 'books.23').pending,
  getStatus(state, 'update', 'books.24').failed
].every(v => v);

Resolved in #113 ; will be released in v2.0

repo: jmeas/redux-simple-resource


text:
[Source Request] Türk Anime Tv

Source website

Name: Türk Anime Tv
Link: https://www.turkanime.co/
Language(s): Turkish

Other details

fe53f7a8c1068739728d15a5c9d0b51b2b7c3353


text:
fix: decrease modal z-index

⭐ Title
Decrease modal z-index
📝 Description
Fixes #20
📷 Attachments
I don't know if 1000 it's fine, I took a look in the MUI library and it looks like 1300 it's fine, but what do you think?

It looks fine with 1000 tho

LGTM! 🚀

authors: halivert jnadroj

repo: jnadroj/thxmx-ui


text:
Peer and Team Grading Tests

When grading my Team Test using the github.io page, submit your scores here.

Testing utterances

repo: jntpham/jphamblog


text:
Remove multi on the Redis adapter for removing a feature

multi fails on a cluster set.
Fix #451
See https://github.com/jnunemaker/flipper/issues/450#issuecomment-561702603

Hi @jnunemaker - thanks for merging this!
Do you have an ETA for the next release including this change?

repo: jnunemaker/flipper


text:
🛑 UTN Aula Virtual is down

In d225e24, UTN Aula Virtual (https://aulavirtual.frbb.utn.edu.ar/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: UTN Aula Virtual is back up in 0b945cf after 28 minutes.

repo: joacoserra/statusPage


text:
Table Edit Bug 001

How can I display a field only in my popup dialog, without display always in table column?

Hello,
Not sure I understand, this is about Table Edit and edit mode "popup"?
Could you please be a bit more specific what you are missing.
Thank you

I have to insert a fields only in edit form without show it like table column, how can I perform this?

With fields only do you mean no header?

Want to have olny the fields in popup for edit without have column in table

Thanks, I get it.
Not supported today but I can take a look at it.

I think you can add a property like EditOnly at the column to hide column in table.

repo: joadan/TabBlazor


text:
🛑 Laravel Enso is down

In 8f50707, Laravel Enso (https://laravel-enso.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Laravel Enso is back up in 9b3ef28 after 11 minutes.


text:
🛑 MegaConstruct is down

In 49e561c, MegaConstruct (https://www.megaconstruct.ro) was down:

HTTP code: 0
Response time: 0 ms

Resolved: MegaConstruct is back up in 03c88fc.


text:
🛑 Security & Telecom Systems is down

In f41b3a9, Security & Telecom Systems (https://security-telecom.ro) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Security & Telecom Systems is back up in 69fc403 after 5 minutes.


text:
🛑 RolCris.ro is down

In b74d0ba, RolCris.ro (https://rolcris.ro) was down:

HTTP code: 0
Response time: 0 ms

Resolved: RolCris.ro is back up in 36dbe08.


text:
Port customization and URI encoding

To Geocode constructor was added port:
var geo = new OpenGeocoder('custom.nominatim.com', 8080);
Was added URI encoding for cases like:
Rīga, Aleksandra Čaka iela 53

hi @viktor-gusev first of all thank you for your PR and btw I am currently  finishing a new version and I'll add your change to that version
thanks and take care

hi @viktor-gusev first of all thank you for your PR and btw I am currently  finishing a new version and I'll add your change to that version
thanks and take care

closing this PR with this one https://github.com/joaquimserafim/node-open-geocoder/pull/2

authors: joaquimserafim viktor-gusev

repo: joaquimserafim/node-open-geocoder

license: isc


text:
Consistency fixes for tables and table content

Add some consistency to sub-pages, tables and descriptions texts
Add communities from readme page to sub-page (table).

@CodingSpecies are there any plans to review and merge my open pull request(s) or can I close them?

repo: jobream/List-of-Learning-Resources


text:
magento fix

There are new files added and should be ignored:
app/bootstrap.php
shell/.htaccess
I think also contents of dev/tests/functional should be ignored.

I'm going to create a .patch file, but you should really suggest these changes to GitHub's main repository since GitHub maintains the Magneto.template.

authors: joeblau mkutyba


text:
gi.cmd command change for x64 Git version

if you use 64 version of Git, change "mingw" with "mingw64" in gi.cmd code to make it work.

I'm not sure I understand what's going on.  What is mingw?

for cmd script gi.cmd , the code on website is:
#################
@rem Do not use "echo off" to not affect any child calls.
@setlocal
@rem Get the abolute path to the parent directory, which is assumed to be the
@rem Git installation root.
@for /F "delims=" %%I in ("%~dp0..") do @set git_install_root=%%~fI
@set PATH=%git_install_root%\bin;%git_install_root%\mingw\bin;%PATH%
@if not exist "%HOME%" @set HOME=%HOMEDRIVE%%HOMEPATH%
@if not exist "%HOME%" @set HOME=%USERPROFILE%
@curl.exe -L -s https://www.gitignore.io/api/%*
###########################
however, if your git is x64 version instead of x32, %git_install_root%\mingw\bin does not exist, but %git_install_root%\mingw64\bin exist and this is where curl.exe is. so, for git at x64 pc, the code should be:
#################
@rem Do not use "echo off" to not affect any child calls.
@setlocal
@rem Get the abolute path to the parent directory, which is assumed to be the
@rem Git installation root.
@for /F "delims=" %%I in ("%~dp0..") do @set git_install_root=%%~fI
@set PATH=%git_install_root%\bin;%git_install_root%\mingw64\bin;%PATH%
@if not exist "%HOME%" @set HOME=%HOMEDRIVE%%HOMEPATH%
@if not exist "%HOME%" @set HOME=%USERPROFILE%
@curl.exe -L -s https://www.gitignore.io/api/%*
###########################
that's the only point i want to clearify to help others.

Ah thanks! Sorry I forgot that section was even in the instructions.  Do you think it would be better to have two separate sections: one for 32 and one for 64 bit?

or, you can change your code to check if mingw path exist. You can use this:
############################
@rem Do not use "echo off" to not affect any child calls.
@setlocal
@rem Get the abolute path to the parent directory, which is assumed to be the
@rem Git installation root.
@for /F "delims=" %%I in ("%~dp0..") do @set git_install_root=%%~fI
@for /F "delims=" %%I in ("%~dp0..") do @set git_mingw_root=%%~fI\mingw
@if not exist "%git_mingw_root%" @set git_mingw_root=%git_install_root%\mingw64
@set PATH=%git_install_root%\bin;%git_mingw_root%\bin;%PATH%
@if not exist "%HOME%" @set HOME=%HOMEDRIVE%%HOMEPATH%
@if not exist "%HOME%" @set HOME=%USERPROFILE%
@curl.exe -L -s https://www.gitignore.io/api/%*
######################

Do you want to submit a pull request so you get the credit or do you want me to just make the change?

you can do the change.

wait, i change my choice, i prefere to do a pull request

but i dont know how to do it :(

okay. i learned it. i will try

okay. i did a pull request. thanks.

Thanks! You got it!


text:
usingComparatorForFields doesn't work in combination with isEqualToComparingFieldByFieldRecursively

Summary
Maybe my expectations of how this should work are incorrect, but if I am declaring to compare properties recursively, then I would have expected that specifying a comparator should work for all properties at any level. If this functionality is not supported, is there any way workaround.
Example
class Foo {
    Bar bar;

    Foo(Bar bar) {
        this.bar = bar;
    }
}

class Bar {
    String id;
     int value;

    Bar(String id, int value) {
        this.id = id;
        this.value = value;
    }
}

@Test
public void testEquality() {
    Foo foo1 = new Foo(new Bar("1", 1));
    Foo foo2 = new Foo(new Bar("2", 1));
    Comparator<String> comparator = (String o1, String o2) -> 0;
    assertThat(foo1)
        .usingComparatorForFields(comparator, "id")
        .isEqualToComparingFieldByFieldRecursively(foo2);

    // expecting assert to succeed, but currently fails
}

It fails because fields need to be declared from the root object, i.e. "bar.id", something that is missing in the javadoc.

That makes sense. I tried it in my actual more complicated example and it solved my problem. Thanks for the quick response

happy to help :) I'm closing this issue and will update the javadoc to clarify that point.

authors: DavidRigglemanININ joel-costigliola

repo: joel-costigliola/assertj-core


text:
Update Java version to 8.

Is there any reason not to update Java in the parent pom? Saw that assertj-core includes the version now in its pom..

I only have assertj-core 3.x  on java 8, all the other ones are using java 7. That's why I overrode it directly in assertj-core 3.x pom.
I don't mind having a java 8 parent pom (useful when multiple projects are on java 8), we can either create a java-8  branch of this project and make the necessary update or just have sub parent pom overriding the java version. The former option is cleaner IMO but requires to keep the pom in sync for plugins version updates, the latter does not have this problem but does not feel super clean to me.
Anyway we can do choose either options, keeping the pom in sync is not too difficult.

How about doing the first approach (own branch) but on the master?
So master will get an increased minor or major version and we create a Java 7 compatible branch. And in the modules that don't use Java 8 we can use the 1.3.x branch until they jump on Java 8.
I would prefer Java 8 on the master as it is clear that this is the future and Java 7 is passing..

I will release a 2.0 parent pom using java 8 soonish.

Done.

Thank you very much!!!

authors: croesch joel-costigliola


text:
update homebrew formula version...

... now that v1.0.0 is out/final?
https://github.com/Homebrew/homebrew-core/blob/master/Formula/jsonschema2pojo.rb
Maybe there are other (post-)release 'steps' that also need to be performed/updated now that v1 is out of pre-release?
I would update the brew script myself (via a PR), but I'm not sure of the protocol/workflow!

Me neither, I didn't create the brew formula :)
I don't think there is any special workflow though. Just update the version number and submit a PR.

authors: joelittlejohn rpus


text:
std::stoi Not Working

Hello,
I just started using Websocketd today and I ran into an issue. It appears that, for some reason, if I use std::stoi, that value will always be zero. I have run the code without Websocketd and it works properly so I'm assuming that its something to do with Websocketd. If you have a solution to this problem, please let me know.
Thanks,

This seems very unlikely: can you post a code fragment? What are you passing to std::stoi ?

This seems very unlikely: can you post a code fragment? What are you passing to std::stoi ?

Sorry I just left work for the day. I’ll send the actual code when I get in tomorrow. Off the top of my head though, I’m reading a CSV file and using std::stoi to store the data as an integer. So something like this is what I
input:
1234,10,0.0625
And my output is:
Linenumber=1234
Status=10
Duration=0.0625
That’s what the original code does before Websocketd. Like I said, I will post the code fragment when I get back to work tomorrow morning.

Sorry I just left work for the day. I’ll send the actual code when I get in tomorrow. Off the top of my head though, I’m reading a CSV file and using std::stoi to store the data as an integer. So something like this is what I
input:
1234,10,0.0625
And my output is:
Linenumber=1234
Status=10
Duration=0.0625
That’s what the original code does before Websocketd. Like I said, I will post the code fragment when I get back to work tomorrow morning.

My best guess is there's some undefined behaviour in your code that just happens to show up when invoked by Websocketd: I'll try to help if I can if you can post a little more code tomorrow :)

My best guess is there's some undefined behaviour in your code that just happens to show up when invoked by Websocketd: I'll try to help if I can if you can post a little more code tomorrow :)

Ok, thank you! Any help would be greatly appreciated! Here is the part of the code where I think the issue is coming from:
`ifstream myfile;
myfile.open ("Data/qc1tempdata.csv");
    if(getline(myfile, tempnum, ','))
    {
        getline(myfile, tempnum, ',');
        linenum = std::stoi(tempnum);
        std::cout<<linenum<<"\n";
    }

    myfile.close();`

This code has no issues when I run it normally (command: /var/www/html/./LiveData) but when I run it with Websocketd (command: ./websocketd --port=10011 --devconsole /var/www/html/./LiveData) I don't get an output. When I looked at the dev console it had no messages.

P.S. sorry if the image doesn't upload. I haven't really used github much so I have no idea if it will send. Its just a screenshot of the dev console.

Ok, thank you! Any help would be greatly appreciated! Here is the part of the code where I think the issue is coming from:
`ifstream myfile;
myfile.open ("Data/qc1tempdata.csv");
    if(getline(myfile, tempnum, ','))
    {
        getline(myfile, tempnum, ',');
        linenum = std::stoi(tempnum);
        std::cout<<linenum<<"\n";
    }

    myfile.close();`

This code has no issues when I run it normally (command: /var/www/html/./LiveData) but when I run it with Websocketd (command: ./websocketd --port=10011 --devconsole /var/www/html/./LiveData) I don't get an output. When I looked at the dev console it had no messages.

P.S. sorry if the image doesn't upload. I haven't really used github much so I have no idea if it will send. Its just a screenshot of the dev console.

I solved the Issue,
The problem was when I run the program normally it can just go to a subfolder inside the programs directory "Data/qc1tempdata.csv" but with Websocketd it needs to be expanded fully like this "/var/www/html/Data/qc1tempdata.csv"

I solved the Issue,
The problem was when I run the program normally it can just go to a subfolder inside the programs directory "Data/qc1tempdata.csv" but with Websocketd it needs to be expanded fully like this "/var/www/html/Data/qc1tempdata.csv"

Great stuff! Sounds like you need to check you opened myfile and report an error if not. C++ file handling is notoriously quiet on errors, unless you check on each call, or set the ios::failbit flag. Good luck; and congrats on working out the puzzle! :)

Great stuff! Sounds like you need to check you opened myfile and report an error if not. C++ file handling is notoriously quiet on errors, unless you check on each call, or set the ios::failbit flag. Good luck; and congrats on working out the puzzle! :)

repo: joewalnes/websocketd


text:
Horse Whips/Bomb Time

Hi first of all THANK YOU for sharing your amazing work I love your trainer! It has always worked perfectly I have the US version I think since I live in Canada. The only think that does not work is the Horse Whips and the Bomb Time options.
When I activate Horse Whips and whip the horse the spools get used randomly, and I get dropped by my horse even if on the screen spool 1 and 4 (if the horse has 4 spools and since they are used randomly) are ready to be used. I also noticed I can only whip it 3 times with the code activated rather than the available 4.
When Bomb Time is activated the bomb's timer stops/gets stuck at 50% of the way whether I throw a bomb or not which means I cannot throw any more bombs and the timer circle is on the screen permanently.
Thank you again for your time and hopefully you can take a look at those two codes. I'm hoping US version is not the issue since everything else works but those two might be slightly different addresses :(
Cheers 👍

Thanks  for the kind words! The codes are those found by users on GBA temp. I will try the horse one but the bomb code is fine here. I will try and investigate

Damn you are quick! On v3.6.2 Bomb Time is working perfectly, and with all the options available like speed and moon jump who needs horse whips; however, I do use the horse whip trick anyway holding ZL+ZR+A+Tap X or Tap X,A,X quickly while galloping to get off and on the horse while moving to reset the spools.
Thanks boss! keep up the good work.

repo: joffnerd/botw-trainer


text:
Deprecated property(Class) method is used

Using Gradle 4.6 and gradle-vaadin-plugin 1.3.1, I get the following warning:
The property(Class) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use the ObjectFactory.property(Class) method instead.
        at build_6a12c5dmnq08kvd0jo9wwtrdi.run(/home/slovdahl/project/build.gradle:28)
        (Run with --stacktrace to get the full stack trace of this deprecation warning.)

FWIW, line 28 in build.gradle is apply plugin: 'com.devsoap.plugin.vaadin'.

Yes, we should fix this :+1:

If it saves you a few seconds, problem seems to be in at com.devsoap.plugin.GradleVaadinPlugin.apply(GradleVaadinPlugin.groovy:237)

To fix this it will require that we bump the minimum Gradle version required for building the project from 4.0 -> 4.3 where the replacement form PropertyState (Property<T>) was introduced.

authors: ar johndevs slovdahl

repo: johndevs/gradle-vaadin-plugin


text:
some files were not removed, rm_rf removes deb dir for sure

it troubled me a bit when running it a couple of times. this cleans up for sure.

Coverage remained the same at 74.847% when pulling cc578cc70d41237838df4bb58ebea268aa908277 on tverlaan:recurcive-remove-deb-directory into 38e9f9df1b7791ba8c4bbee624e2d1bd265d3089 on johnhamelink:master.

Thanks! :rocket:

authors: coveralls johnhamelink tverlaan


text:
Text Inputs in Android have an extra underline

Need to remove this in style

PR merged to master and verified the underline no longer shows up. Closing

authors: johnneed smaraf

repo: johnneed/GreenUpVermont


text:
Add link to talk in claim confirmation email

I just received a talk claim confirmation email, and I noticed that no link to the talk was in it... Maybe we should add it?

Sounds like could be a good idea, wanna submit a PR for it?

I don't have the spare time to do it now, sorry...

repo: joindin/joindin-api


text:
OrderBook added in footer

Fixes #752.

@theborakompanioni pull request added to add orderbook into footer

@theborakompanioni pull request added to add orderbook into footer

Nice, @SnehalSrivastava27! I'll take a look asap! Thank you :pray:

@theborakompanioni can you please tell why the build error is occurring I am unable to get it

@theborakompanioni can you please tell why the build error is occurring I am unable to get it

The linter is failing. Could you rebase your changes on the latest devel branch and run npm run format? I think there was an update of prettier.
Also, could you:

Make the new orderbook button the same styling as the "Cheatsheet"
Label it "Orderbook" instead of "Show orderbook"

:camera_flash:
something similar to this

What do you think?

There has been a issue in pushing the code I sincerely apologize for that along with that I am creating new PR please look into it

Made some small adaptions to align the styling of the nav links in the footer.
Thanks for your contribution @SnehalSrivastava27 ! Awesome : -)

Thankyou so much for giving the chance to contribute

Thankyou so much for giving the chance to contribute

Open source projects always appreciate any and all contributions!
Using the software, asking questions and reporting bugs is extremely important.
Code contributions are one of the best things that can happen to a small team. Thank you! :orange_heart:

repo: joinmarket-webui/jam


text:
Add the character counter next to the Post button

resolves #14
I couldn't find a good place to put the counter near the  so put it next to the Post button.
Here's how this counter works:
https://user-images.githubusercontent.com/1425259/206854741-b02599f3-1d1a-453c-b452-c25fbefa6a1c.mov

I couldn't fix the tests. I would appreciate it if someone could help me.

You can see the fix I did here, moving it into __init__: https://github.com/jointakahe/takahe/commit/f504e9c3516db48647b75477f4672e288413daf7
I also took the opportunity to make both places use the same form, since you reminded me they were needlessly copied!

I see, now I understood how I should have amended the field attribute. Yes, I noticed the duplications, nice refactoring!

repo: jointakahe/takahe


text:
Undefined variable in WSMessage(), only in firefox

https://github.com/jonasmr/microprofile/blob/b2dba79bed20f46e283e820f223392bf4bc7a3cc/src/microprofilelive.html#L5803-L5806
event is undefined here, which is somehow only causing problems for firefox

This is fixed now

authors: farnoy jonasmr

repo: jonasmr/microprofile


text:
How to return multiple pages

RT
We have a requirement to close the current page and the previous page or pages. Does "get" support

Get.offAll(close all previous pages)
Get.close(close number of pages, ex: 3)
Get.until(close all previous pages until the page required).
All methods for named navigation along with these are in the documentation.

Get.close is satisfied, but it doesn't seem to want to take arguments to the returned page like get.back @jonataslaw

Get.close está satisfeito, mas parece não querer levar argumentos para a página retornada, como get.back @jonataslaw

That's not possible. The Flutter API does not allow data to be sent to another route.
You can do some alternative work with this, it is very ugly, but it is your only solution if you do not want to adopt named routes:
On the page where you want to receive the data:
var data = await Get.to(PageTwo());
print("$data");
on PageTwo:
var data = await Get.to(PageThree());
Get.back(result: data);
on PageThree:
String test = "Test callback";
Get.back(result: test);

Closing this because it is not a description of BUG. If you encounter problems with Get, open an issue by filling out the bug-opening form.

repo: jonataslaw/get


text:
Persist ThemeMode with Get Storage

I recall being able to persist a theme with HiveDb that this package is inspired on.
I am able to change the theme for my app but I seem to be finding issues in saving the theme to Get Storage.
Below is the current implementation for a RadioListTile I have set up to change the theme:
RadioListTile(
                    title: Text('Dark'),
                     value: ThemeMode.dark,
                    groupValue: _themeMode,
                    onChanged: (value) {
                           Get.changeThemeMode(ThemeMode.dark);
                           GetStorage().write('appTheme', ThemeMode.dark.index);
                          print(value.toString()); // ThemeMode.dark
                          print(ThemeMode.dark.index); // 2
                                },
                              ),

However it seems to return an error as I can neither write the index value which as an int or the value as a string to then persist which can be read in the GetMaterialApp under the theme to load on startup
Any advice,thanks

Try writing something like isDark in the storage.


text:
Instance "GetLifeCycleBase?" is not registered.

[GETX] Instance "GetLifeCycleBase?" is not registered.
There is my debug console warning. What am ı doing wrong? Whenever i tried to call widget to another class my onPress functions doesn't work.

cc @jonataslaw
i have same warning!

Put "GetWidget" in the place of statelesswidget or statefulwidget. Controller name should be your controller class name.

authors: mbfakourii mustafaozen03 utsabhaldar

repo: jonataslaw/getx


text:
get.dialog() animation

transitionBuilder Not open to the public，How to make dialog realistic when showing animation

use generalDialog

authors: eddyuan uncleheng


text:
ListView with ScrollController throw Exception (You need to put controller before)

Describe the bug
SecondScreen has ListView inside StreamBuilder with ScrollController. When going back via Get.back to HomeScreen, exception threw.
════════ Exception caught by widgets library ═══════════════════════════════════════════════════════
The following message was thrown building StreamBuilder<List<int>>(dirty, state: _StreamBuilderBaseState<List<int>, AsyncSnapshot<List<int>>>#70eaf):
 SecondController not found. You need call put<SecondController>(SecondController()) before

The relevant error-causing widget was:
  StreamBuilder<List<int>> file:///home/bolt/dev/mobile/getx_debug/lib/main.dart:108:13
When the exception was thrown, this was the stack:
#0      GetInstance.find (package:get/src/instance/get_instance.dart:162:9)
#1      GetView.controller (package:get/src/state/get_view.dart:14:37)
#2      SecondScreen.build.<anonymous closure> (package:getx_debug/main.dart:116:31)
#3      StreamBuilder.build (package:flutter/src/widgets/async.dart:509:81)
#4      _StreamBuilderBaseState.build (package:flutter/src/widgets/async.dart:127:48)

To Reproduce
Steps to reproduce the behavior:

Go to HomeScreen
Click on Go to second
Wait for seconds
Tap back icon/hardware
Show red box contains exception before going back to HomeScreen

Expected behavior
I've already close ScrollController via onClose,  but no luck. My expectation, the exception is gone.
Screenshots
https://dump.video/i/n1EZQk.mp4
Flutter Version:
Flutter 1.17.5 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 8af6b2f038 (2 weeks ago) • 2020-06-30 12:53:55 -0700
Engine • revision ee76268252
Tools • Dart 2.8.4
Get Version:
3.3.0
Describe on which device you found the bug:
Android Emulator with API 23 Android 6.0
Minimal reproduce code
import 'dart:async';
import 'dart:math';

import 'package:flutter/material.dart';
import 'package:get/get.dart';

void main() => runApp(App());

class App extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return GetMaterialApp(
//      initialBinding: HomeBinding(),
      initialRoute: '/',
      getPages: [
        GetPage(name: '/', page: () => HomeScreen(), binding: HomeBinding()),
        GetPage(
            name: '/second',
            page: () => SecondScreen(),
            binding: SecondBinding()),
      ],
    );
  }
}

class HomeBinding implements Bindings {
  @override
  void dependencies() {
    Get.lazyPut<HomeController>(() => HomeController());
  }
}

class HomeController extends GetxController {}

class HomeScreen extends GetView<HomeController> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: FlatButton(
          onPressed: () {
            Get.toNamed('/second');
          },
          child: Text('Go to second'),
        ),
      ),
    );
  }
}

class SecondBinding implements Bindings {
  @override
  void dependencies() {
    Get.lazyPut<SecondController>(() => SecondController());
  }
}

class SecondController extends GetxController {
  Timer timer;

  ScrollController scrollController = ScrollController(
    initialScrollOffset: 0.0,
    keepScrollOffset: true,
  );

  StreamController<List<int>> controller = StreamController<List<int>>.broadcast();

  Stream<List<int>> get stream => controller.stream;

  @override
  void onInit() {
    super.onInit();

    scrollController.addListener(() {
      double offset = 0.9 * scrollController.position.maxScrollExtent;

      if (scrollController.position.pixels > offset) {
        print('scrollController offset > load more');
      }
    });

    timer = Timer.periodic(Duration(seconds: 1), (_) {
      print('Timer.periodic ${Random().nextInt(99)}');

      controller.add([
        Random().nextInt(99),
        Random().nextInt(9999),
        Random().nextInt(99999),
      ]);
    });
  }

  @override
  void onClose() {
    timer.cancel();
    scrollController.dispose();
    controller.close();

    super.onClose();
  }
}

class SecondScreen extends GetView<SecondController> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(),
      body: StreamBuilder(
          stream: controller.stream,
          builder: (context, snapshot) {
            if (snapshot.hasData) {
              final List<int> items = snapshot.data;

              if (items.isNotEmpty) {
                return ListView.separated(
                  controller: controller.scrollController,
                  separatorBuilder: (context, index) => Divider(height: 0.5),
                  itemCount: items.length,
                  itemBuilder: (context, index) {
                    int item = items[index];

                    return InkWell(
                      child: ListTile(
                        title: Text(item.toString()),
                      ),
                    );
                  },
                );
              } else {
                return Center(child: Text('Nothing here'));
              }
            } else if (snapshot.hasError) {
              return Center(child: Text('Something went wrong'));
            }

            return Center(child: CircularProgressIndicator());
          }),
    );
  }
}

Thank you for opening this issue with a reproduction code.
I will take a look at this today after my shift.

Fix on lastest update

Thanks @jonataslaw

Confirmed it's fixed with the latest version 3.4.0.

authors: ghprod jonataslaw


text:
fix: on backbutton press always close the app

This PR fixes issue #2542 #2536
Every PR must update the corresponding documentation in the code, and also the readme in english with the following changes.
Pre-launch Checklist

[ ] I updated/added relevant documentation (doc comments with ///).
[ ] I added new tests to check the change I am making or feature I am adding, or @jonataslaw said the PR is test-exempt.
[ ] All existing and new tests are passing.

Thanks for your contribution!
After reviewing it I will merge and push to pub.dev


text:
trigger CI run on master

This is literally just to see if #264 broke something unexpected (MPI example stalls for 10 min, then dies)

okay all checks passed on this PR :)

authors: cjayb jasmainak

repo: jonescompneurolab/hnn-core


text:
[MRG] add method to plot cell morphologies

Plots the cell morphology

Codecov Report

Merging #319 (1bb8390) into master (eb17311) will increase coverage by 0.02%.
The diff coverage is 94.11%.

@@            Coverage Diff             @@
##           master     #319      +/-   ##
==========================================
+ Coverage   90.43%   90.45%   +0.02%
==========================================
  Files          14       14
  Lines        2425     2463      +38
==========================================
+ Hits         2193     2228      +35
- Misses        232      235       +3

Impacted Files
Coverage Δ

hnn_core/network.py
92.85% <66.66%> (-0.20%)
:arrow_down:

hnn_core/viz.py
87.21% <93.54%> (+0.83%)
:arrow_up:

hnn_core/params_default.py
100.00% <100.00%> (ø)

hnn_core/pyramidal.py
98.13% <100.00%> (-0.11%)
:arrow_down:

Continue to review full report at Codecov.

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

I like the barebones first pass at (any!) visualisation. This could clearly be improved on in future PRs.
Could we make this 2D? The 3rd dimension is super confusing: rotating the axes isn't stable with effectively two degrees of freedom. As long as our basal oblique dendrites are in the same plane, I think we should plot them in a XZ-system, where Z is the cortical depth direction. The NEURON sections are defined as (x, z, y), which no doubt has a historical reason.
I'd also advocate fixing the Z-range to always start from 0 (white matter begins). That way the size difference between L2/3 and L5 pyramidals becomes obvious, as does their relative depth in cortex.

okay starting in reverse order with comments. @cjayb better?

it's still a matplotlib 3D plot but since axes are turned off, I don't anticipate users to interact with. It also keeps the door open for future additions where there is a non-zero projection of a dendrite along the third axis

I guess I prefer the new axes-less plot, yes. Emphasises relative size and location, which are important.

As mentioned in #202, could we please agree on our axes? I think this PR should be relatable to the output of net.plot_cells(). Ultimately they will perhaps merge, but for now, what are the axes labels on each?

The above is clearly rotated to align the apical dendrites with the Z-direction (which intuitively makes more sense to me...)

@rythorpe see https://github.com/jonescompneurolab/hnn-core/pull/319/commits/caed5ff9bd8b4e91aa853a79f242d29fc8798821 which gives

now I do concede that the sections are not cylindrical but you don't realize that until you interact with this figure. Personally, for me, this is good enough for the use case I outlined above (educational). Cylindrical is possible although not worth it currently

I like this, +1 for merge and iterate later

Go @jasmainak !

authors: cjayb codecov-commenter jasmainak


text:
🛑 PL - Poland is down

In 1fe88d0, PL - Poland (https://www.skyshowtime.com/pl/help/) was down:

HTTP code: 404
Response time: 1278 ms

Resolved: PL - Poland is back up in a600a0d after 19 minutes.

repo: jonesyriffic/gsp-sst


text:
🛑 ME - Montenegro is down

In d42c555, ME - Montenegro (https://www.skyshowtime.com/me/help/) was down:

HTTP code: 404
Response time: 921 ms

Resolved: ME - Montenegro is back up in 8857016 after 9 minutes.


text:
Front Page Design: empty space at the bottom

I think we can reduce the number of tweets that we're showing so that we could get rid of this empty space below "Recent Talks"

This refers to the old landing page, which has now been redesigned.

authors: jonfroehlich myjeeed

repo: jonfroehlich/makeabilitylabwebsite


text:
Tabs switch bug #471

The bug resulted from the animateToPage function. This function activated the tabListener, which again called the animateToPage function, but now with a different index. So I replaced animateToPage, with jumpToPage - without animation.

has been fixed

repo: jonjomckay/fritter


text:
Field/model keeps invalid state after setting an external validation message

After setting an external validation message using setExternalValidation without a key (server supplies error message only), the validation message disappears after changing the field as expected. However, if you make another change to that same field, a validation error re-occurs.
I believe this behaviour comes from not properly unsetting the error from the model error collection.

Thanks for this - good work!

authors: JSti jonsamwell

repo: jonsamwell/angular-auto-validate


text:
Remove \s from [:space:] and [:blank:]

This patch fixes definitions and updates the tests.
Close #1.

sorry for the delay!

tagged and published as 0.1.2, thanks!

repo: jonschlinkert/expand-brackets


text:
SERVFAIL looking up TXT for _acme-challenge.auth.mydomain.de

I don't know what I'm doing wrong but I can't for life of me get this working with docker.  The best I can get is:
Creating network "acmedns_default" with the default driver
Creating acme-dns ... done
Attaching to acme-dns
acme-dns   | time="2019-10-30T14:06:45Z" level=info msg="Using config file" file=/etc/acme-dns/config.cfg
acme-dns   | time="2019-10-30T14:06:45Z" level=info msg="Connected to database"
acme-dns   | time="2019-10-30T14:06:45Z" level=debug msg="Adding new record to domain" domain=auth.hauscloud.de. recordtype=A
acme-dns   | time="2019-10-30T14:06:45Z" level=debug msg="Adding new record to domain" domain=auth.hauscloud.de. recordtype=NS
acme-dns   | time="2019-10-30T14:06:45Z" level=debug msg="Adding new record to domain" domain=auth.hauscloud.de. recordtype=SOA
acme-dns   | time="2019-10-30T14:06:45Z" level=info msg="Listening DNS" addr="127.0.0.1:53" proto=tcp4
acme-dns   | time="2019-10-30T14:06:45Z" level=info msg="2019/10/30 14:06:45 [INFO][cache:0xc00008c640] Started certificate maintenance routine"
acme-dns   | time="2019-10-30T14:06:46Z" level=info msg="2019/10/30 14:06:46 [INFO][auth.hauscloud.de] Obtain certificate"
acme-dns   | time="2019-10-30T14:06:46Z" level=info msg="[INFO] [auth.hauscloud.de] acme: Obtaining bundled SAN certificate"
acme-dns   | time="2019-10-30T14:06:46Z" level=info msg="[INFO] [auth.hauscloud.de] AuthURL: https://acme-staging-v02.api.letsencrypt.org/acme/authz-v3/17802585"
acme-dns   | time="2019-10-30T14:06:46Z" level=info msg="[INFO] [auth.hauscloud.de] acme: Could not find solver for: tls-alpn-01"
acme-dns   | time="2019-10-30T14:06:46Z" level=info msg="[INFO] [auth.hauscloud.de] acme: Could not find solver for: http-01"
acme-dns   | time="2019-10-30T14:06:46Z" level=info msg="[INFO] [auth.hauscloud.de] acme: use dns-01 solver"
acme-dns   | time="2019-10-30T14:06:46Z" level=info msg="[INFO] [auth.hauscloud.de] acme: Preparing to solve DNS-01"
acme-dns   | time="2019-10-30T14:06:46Z" level=info msg="[INFO] [auth.hauscloud.de] acme: Trying to solve DNS-01"
acme-dns   | time="2019-10-30T14:06:46Z" level=info msg="[INFO] [auth.hauscloud.de] acme: Checking DNS record propagation using [127.0.0.11:53]"
acme-dns   | time="2019-10-30T14:06:46Z" level=info msg="[INFO] Wait for propagation [timeout: 1m0s, interval: 2s]"
acme-dns   | time="2019-10-30T14:06:46Z" level=info msg="[INFO] [auth.hauscloud.de] acme: Cleaning DNS-01 challenge"
acme-dns   | time="2019-10-30T14:06:47Z" level=info msg="[INFO] Unable to deactivate the authorization: https://acme-staging-v02.api.letsencrypt.org/acme/authz-v3/17802585"
acme-dns   | time="2019-10-30T14:06:47Z" level=info msg="2019/10/30 14:06:47 [ERROR][auth.hauscloud.de] failed to obtain certificate: acme: Error -> One or more domains had a problem:"
acme-dns   | time="2019-10-30T14:06:47Z" level=info msg="[auth.hauscloud.de] acme: error: 400 :: urn:ietf:params:acme:error:dns :: DNS problem: SERVFAIL looking up TXT for _acme-challenge.auth.hauscloud.de, url: (attempt 1/3; challenge=dns-01)"
acme-dns   | time="2019-10-30T14:06:48Z" level=info msg="[INFO] [auth.hauscloud.de] acme: Obtaining bundled SAN certificate"
acme-dns   | time="2019-10-30T14:06:48Z" level=info msg="[INFO] [auth.hauscloud.de] AuthURL: https://acme-staging-v02.api.letsencrypt.org/acme/authz-v3/17802593"
acme-dns   | time="2019-10-30T14:06:48Z" level=info msg="[INFO] [auth.hauscloud.de] acme: Could not find solver for: tls-alpn-01"
acme-dns   | time="2019-10-30T14:06:48Z" level=info msg="[INFO] [auth.hauscloud.de] acme: Could not find solver for: http-01"
acme-dns   | time="2019-10-30T14:06:48Z" level=info msg="[INFO] [auth.hauscloud.de] acme: use dns-01 solver"
acme-dns   | time="2019-10-30T14:06:48Z" level=info msg="[INFO] [auth.hauscloud.de] acme: Preparing to solve DNS-01"
acme-dns   | time="2019-10-30T14:06:48Z" level=info msg="[INFO] [auth.hauscloud.de] acme: Trying to solve DNS-01"
acme-dns   | time="2019-10-30T14:06:48Z" level=info msg="[INFO] [auth.hauscloud.de] acme: Checking DNS record propagation using [127.0.0.11:53]"
acme-dns   | time="2019-10-30T14:06:48Z" level=info msg="[INFO] Wait for propagation [timeout: 1m0s, interval: 2s]"
acme-dns   | time="2019-10-30T14:06:48Z" level=info msg="[INFO] [auth.hauscloud.de] acme: Cleaning DNS-01 challenge"
acme-dns   | time="2019-10-30T14:06:48Z" level=info msg="[INFO] Unable to deactivate the authorization: https://acme-staging-v02.api.letsencrypt.org/acme/authz-v3/17802593"
acme-dns   | time="2019-10-30T14:06:48Z" level=info msg="2019/10/30 14:06:48 [ERROR][auth.hauscloud.de] failed to obtain certificate: acme: Error -> One or more domains had a problem:"
acme-dns   | time="2019-10-30T14:06:48Z" level=info msg="[auth.hauscloud.de] acme: error: 400 :: urn:ietf:params:acme:error:dns :: DNS problem: SERVFAIL looking up TXT for _acme-challenge.auth.hauscloud.de, url: (attempt 2/3; challenge=dns-01)"
acme-dns   | time="2019-10-30T14:06:49Z" level=info msg="[INFO] [auth.hauscloud.de] acme: Obtaining bundled SAN certificate"
acme-dns   | time="2019-10-30T14:06:50Z" level=info msg="[INFO] [auth.hauscloud.de] AuthURL: https://acme-staging-v02.api.letsencrypt.org/acme/authz-v3/17802598"
acme-dns   | time="2019-10-30T14:06:50Z" level=info msg="[INFO] [auth.hauscloud.de] acme: Could not find solver for: tls-alpn-01"
acme-dns   | time="2019-10-30T14:06:50Z" level=info msg="[INFO] [auth.hauscloud.de] acme: Could not find solver for: http-01"
acme-dns   | time="2019-10-30T14:06:50Z" level=info msg="[INFO] [auth.hauscloud.de] acme: use dns-01 solver"
acme-dns   | time="2019-10-30T14:06:50Z" level=info msg="[INFO] [auth.hauscloud.de] acme: Preparing to solve DNS-01"
acme-dns   | time="2019-10-30T14:06:50Z" level=info msg="[INFO] [auth.hauscloud.de] acme: Trying to solve DNS-01"
acme-dns   | time="2019-10-30T14:06:50Z" level=info msg="[INFO] [auth.hauscloud.de] acme: Checking DNS record propagation using [127.0.0.11:53]"
acme-dns   | time="2019-10-30T14:06:50Z" level=info msg="[INFO] Wait for propagation [timeout: 1m0s, interval: 2s]"
acme-dns   | time="2019-10-30T14:06:50Z" level=info msg="[INFO] [auth.hauscloud.de] acme: Cleaning DNS-01 challenge"
acme-dns   | time="2019-10-30T14:06:50Z" level=info msg="[INFO] Unable to deactivate the authorization: https://acme-staging-v02.api.letsencrypt.org/acme/authz-v3/17802598"
acme-dns   | time="2019-10-30T14:06:50Z" level=info msg="2019/10/30 14:06:50 [ERROR][auth.hauscloud.de] failed to obtain certificate: acme: Error -> One or more domains had a problem:"
acme-dns   | time="2019-10-30T14:06:50Z" level=info msg="[auth.hauscloud.de] acme: error: 400 :: urn:ietf:params:acme:error:dns :: DNS problem: SERVFAIL looking up TXT for _acme-challenge.auth.hauscloud.de, url: (attempt 3/3; challenge=dns-01)"
acme-dns   | time="2019-10-30T14:06:51Z" level=fatal msg="auth.hauscloud.de: obtaining certificate: failed to obtain certificate: acme: Error -> One or more domains had a problem:\n[auth.hauscloud.de] acme: error: 400 :: urn:ietf:params:acme:error:dns :: DNS problem: SERVFAIL looking up TXT for _acme-challenge.auth.hauscloud.de, url: \n"
acme-dns exited with code 1

At namecheap I have the following records:
A record: auth.hauscloud.de > 78.46.189.59
NS record: auth > auth.hauscloud.de (namecheap adds the domain)
my latest conf attempt looks like this:
[general]
# DNS interface. Note that systemd-resolved may reserve port 53 on 127.0.0.53
# In this case acme-dns will error out and you will need to define the listening interface
# for example: listen = "127.0.0.1:53"
listen = "127.0.0.1:53"
# protocol, "both", "both4", "both6", "udp", "udp4", "udp6" or "tcp", "tcp4", "tcp6"
protocol = "tcp4"
# domain name to serve the requests off of
domain = "auth.hauscloud.de"
# zone name server
nsname = "auth.hauscloud.de"
# admin email address, where @ is substituted with .
nsadmin = "admin.hauscloud.de"
# predefined records served in addition to the TXT
records = [
    # domain pointing to the public IP of your acme-dns server
    "auth.hauscloud.de. A 78.46.189.59",
    # specify that acmedns.hauscloud.de will resolve any *.auth.hauscloud.de records
    "auth.hauscloud.de. NS auth.hauscloud.de.",
]
# debug messages from CORS etc
debug = true

[database]
# Database engine to use, sqlite3 or postgres
engine = "sqlite3"
# Connection string, filename for sqlite3 and postgres://$username:$password@$host/$db_name for postgres
# Please note that the default Docker image uses path /var/lib/acme-dns/acme-dns.db for sqlite3
connection = "/var/lib/acme-dns/acme-dns.db"
# connection = "postgres://user:password@localhost/acmedns_db"

[api]
# listen ip eg. 127.0.0.1
ip = "127.0.0.1"
# disable registration endpoint
disable_registration = false
# listen port, eg. 443 for default HTTPS
port = "80"
# possible values: "letsencrypt", "letsencryptstaging", "cert", "none"
tls = "letsencryptstaging"
# only used if tls = "cert"
tls_cert_privkey = "/etc/tls/example.org/privkey.pem"
tls_cert_fullchain = "/etc/tls/example.org/fullchain.pem"
# only used if tls = "letsencrypt"
acme_cache_dir = "api-certs"
# CORS AllowOrigins, wildcards can be used
corsorigins = [
    "*"
]
# use HTTP header to get the client ip
use_header = false
# header name to pull the ip address / list of ip addresses from
header_name = "X-Forwarded-For"

[logconfig]
# logging level: "error", "warning", "info" or "debug"
loglevel = "debug"
# possible values: stdout, TODO file & integrations
logtype = "stdout"
# file path for logfile TODO
# logfile = "./acme-dns.log"
# format, either "json" or "text"
logformat = "text"

It is unclear to me what IP addresses I should use for 'api' and 'general' section so i have tried all permutations i can think of.
Why does it never work?

This happens most likely because Let's Encrypt cannot request records from your acme-dns instance. The listen configuration directive should be an address that a client can connect from the public internet.
If your server has the IP address that you pointed to with the NS record, you should use that for the listen address, but in some environments the interfaces might be behind port forwarding firewall.

OK. Thankyou for the quick response.
I changed listen to my external IP address.  Now I get this:
Creating network "acmedns_default" with the default driver
Creating acme-dns ... done
Attaching to acme-dns
acme-dns   | time="2019-10-30T15:45:59Z" level=info msg="Using config file" file=/etc/acme-dns/config.cfg
acme-dns   | time="2019-10-30T15:45:59Z" level=info msg="Connected to database"
acme-dns   | time="2019-10-30T15:45:59Z" level=debug msg="Adding new record to domain" domain=auth.hauscloud.de. recordtype=A
acme-dns   | time="2019-10-30T15:45:59Z" level=debug msg="Adding new record to domain" domain=auth.hauscloud.de. recordtype=NS
acme-dns   | time="2019-10-30T15:45:59Z" level=debug msg="Adding new record to domain" domain=auth.hauscloud.de. recordtype=SOA
acme-dns   | time="2019-10-30T15:45:59Z" level=info msg="Listening DNS" addr="78.46.189.59:53" proto=tcp4
acme-dns   | time="2019-10-30T15:45:59Z" level=fatal msg="listen tcp4 78.46.189.59:53: bind: cannot assign requested address"
acme-dns exited with code 1

my docker-compose looks like this:
version: '3'

services:
  acmedns:
    image: joohoi/acme-dns:latest
    container_name: "acme-dns"
    ports:
      - "78.46.189.59:53:53"
      - "80:80"
    volumes:
      - "/root/acmedns/config:/etc/acme-dns:ro"
      - "/root/acmedns/data:/var/lib/acme-dns"

I finally got it running:
The working combination is:
docker-compose.yml
    ports:
      - "$EXTERNAL_HOST_IP:53:53/tcp"
      - "$EXTERNAL_HOST_IP:53:53/udp"
      - "80:80"

config.cng
[general]
listen = "0.0.0.0:53"
[api]
ip = "0.0.0.0"

Hi everyone,
I also struggled with this situation, only for me I wasn't using just docker-compose but also had a couple layers in between - like this:
Router <-> keepalived <-> nginx <-> acme-dns
The answer that is in this thread still applies, but instead of $EXTERNAL_HOST_IP you can put in the docker host ip address - for example, if the host running docker has an ip address of 192.168.0.55 assigned to it by your network dhcp server and you are routing via port 5353 then you can use this in the ports section:
  ports:       - "192.168.0.55:5353:53
Just a heads up!

authors: joohoi mskwon p-baum

repo: joohoi/acme-dns


text:
Add business logic

Add business logic to presentation components. #7

Done.

repo: jordanos/todo-server-and-client


text:
[Feature Request] Improve Plex configuration flow

Implement the changes discussed in #561

Released in 2.0.0


text:
prevent unneeded offset check

Calling ListArray::new does O(n) work where n = offset_length.
However, this work can be prevented in a few cases because we convert from a struct that has the same invariants.
The same logic applies to a Utf8 conversion, where we just determined the offsets and converted &str to bytes, so a utf8 check is redundant.

Hmm.. it fails on forbid_unsafe in avro. I can remove it there.

We could actually abstract these unsafe calls by having two newtype structs
#[repr(transparent)]
struct OffsetBuffer<O: Offset>(Vec<O>)

impl OffsetBuffer {

  fn add_lenght(&mut self, len: usize);

  unsafe fn from_vec();
}

// this could also be just `String`
// but maybe this is easier with delaying Utf8 validation
#[repr(transparent)]
struct StringBuffer(Vec<u8>)

impl StringBuffer {

   fn push_str(&mut self, val: &str);

   unsafe fn push_bytes(&mut self, bytes: &[u8]);

   unsafe fn from_vec();
}

A MutableList can then call new and pass on its internal state with the given invariants. That way you can keep the io module unsafe free without doing redundant checks.

Great idea - we can offer a safe API around those!


text:
Feature Request: Pass Fields

Persona is also able to accept Fields. See Android & IOS documentation.
Add ability to pass along Fields to Persona.

I'll update the plugin to the most recent SDK version and add the ability to pass the Fields structure.

Released version 1.1.0 with support for Fields. Thanks

authors: jorgefspereira tuanvugoodmoney


text:
[FR] 希望可以支持 LM Studio 本地大模型启动器的接口

LM Studio 是一款使用便捷的本地大模型启动器，并且提供简单的接口。希望可以增加对它的支持

是支持的, 我本地测试没发现有问题

确实可以，我之前填的链接是http://localhost:1234/v1/

authors: josStorer wwjCMP

repo: josStorer/chatGPTBox