Rotating w clamped mode also clamps position

If I rotate an entity with a clamped rotation, it also changes the position, so that it matches a valid clamped value.
If I'm changing the rotation, I don't expect to also change the position.
In this video you can see that after rotating, the position also changes slightly, adjusted to the clamped behavior.
https://github.com/decentraland/sdk/assets/3507907/42186cd8-d649-42bb-b3d5-9ff1feadd68e

Confirmed this still happens


Authorization with zabbix is not initiated

At least for Zabbix 2.2 authorization is not initiated getting on all requests auth error.
Zabbix 2.2 in json return "Not authorized" error, not the "Not authorised." as it is checked
in zabbix/datasource.js
// Handle auth errors
          if (response.data.error.data == "Session terminated, re-login, please." ||
              response.data.error.data == 'Not authorised.') {
            return self.performZabbixAPILogin().then(function (response) {
              self.auth = response;
              return self.performZabbixAPIRequest(method, params);
            });

@aingvarf Thanks! I just now trying to solve this problem.

@aingvarf Please, try to test this fix.

Thanks! This problem is fixed.


fix errors in pymc sampler implementaton

What does this implement/fix? Explain your changes
Two errors in PyMCSampler fixed here:

check for whether gradient tracking needed in line 141 of sbi.samplers.mcmc.pymc_wrapper looked for matching step class instead of the string value actually used and expected
pymc.Model() incorrectly set up using a prior distribution and additional likelihood term which does not result in the desired distribution. Now using pymc.DensityDist which directly defines the distribution using given potential function
With these changes test_c2st_pymc_sampler_on_Gaussian passes locally for all sampling methods.

Does this close any currently open issues?
Fixes #1127
Checklist
Put an x in the boxes that apply. You can also fill these out after creating
the PR. If you're unsure about any of them, don't hesitate to ask. We're here to
help! This is simply a reminder of what we are going to look for before merging
your code.

[x] I have read and understood the contribution
guidelines
[x] I agree with re-licensing my contribution from AGPLv3 to Apache-2.0.
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have added tests that prove my fix is effective or that my feature works
[x] I have reported how long the new tests run and potentially marked them
with pytest.mark.slow.
[x] New and existing unit tests pass locally with my changes
[x] I performed linting and formatting as described in the contribution
guidelines
[x] I rebased on main (or there are no conflicts with main)

yup will try to do by eod

After rebasing on main:
With your fixes the slice and nuts samplers are working fine on the more difficult test. However, hmc is still failing and fluctuates with c2sts around 0.6.

darn okay I'm somewhat sure model log-probs are correct now but it's possible also that the gradient is not correct. Don't think I'll have time to carefully go through the pymc internals for that until later this week

darn okay I'm somewhat sure model log-probs are correct now but it's possible also that the gradient is not correct. Don't think I'll have time to carefully go through the pymc internals for that until later this week

OK, but given that nuts is working fine it's likely that the gradients are correct, no?
No worries, maybe I will find time to have a look, or we just wait. 👍

actually, I ran the CD workflow with slow tests and they are passing now (we got lucky?).
I will run it again to see how far we can push it.

Tests are still passing, and I checked the posterior visually as well - all seems fine!
Thanks for solving this @felixp8 ! 👏


Portals - fix showing debug collision shapes

Set the portal_mode to GLOBAL on creation.
Fixes #51264
Notes

Another one of the debug gizmos that need to be set to GLOBAL to show when portals are active. See the discussion in #50999 for more info.

Thanks!


feat: Implement @internal as synonym of @hidden

Fixes #364 The @internal doc flag recognised by tsc should be an alias for @hidden
Fixes #198 Support for @ignore?

Thanks for the PR! I do think we need to think through if @internal should always be hidden. I know that @internal has it's own meaning outside of TypeDoc. Is there anything in the semantics of that tag that would conflict with documentation?

Having thought about it some myself, this could get as complicated as you want to make it, especially since TypeScript's support for @internal is still experimental.   I don't think there's any shame in treating its support in typedoc as experimental.
For my project the documentation spew from typedoc is already enormous (primarily because it was ported from an existing Java class library with extensive doc comments.   and I'm looking for any way I can to narrow what's generated to a limited "public" API in the semver sense.

Closing as this was implemented in #1114, which has now been merged + published. Somehow I missed this PR when making that..


Show newly available packages when loading dependencies, addresses #245

Addresses #245. Manually tested, raising PR to see which tests it breaks.
Limitation: Only works for dependencies loaded via interp.load.ivy. Imports via import $ivy.... don't display the output. Not sure why, I haven't looked into the mechanics of how $ivy differs from interp.load.
Example output:
@ interp.load.ivy("org.scalaj" %% "scalaj-http" % "2.2.0")
Loaded scalaj-http_2.11 2.2.0, with packages: scalaj.http

@ interp.load.ivy("org.typelevel" %% "cats-core" % "0.8.0")
Loaded cats-core_2.11 0.8.0, with packages: cats.syntax, cats.data, cats, cats.arrow, cats.instances, cats.functor

Updated to handle 'import $ivy...` in the same way; print newly loaded packages if verbose is true.
@ interp.load.ivy("com.lihaoyi" %% "fansi" % "0.2.3")
Loaded fansi_2.11 0.2.3, with packages: fansi

@ import $ivy.`com.lihaoyi::scalatags:0.6.1`
Loaded scalatags_2.11 0.6.1, with packages: scalatags.generic, scalatags.stylesheet, scalatags, scalatags.text

Now it's printing this on import $ivy it's putting output in my scripts, which I don't like. And I can't turn it off unless I switch to interp.load.ivy.
Ideally I'd like a flag which tell me if ammonite is running in interactive mode, so this can be printed in the repl, but not scripts.
@lihaoyi, please let me know your thoughts on this change and/or the original feature request. I'll focus on other things if there's no interest in this feature. If it is something that may get merged, I'm happy to look into how to implement a flag to see if we're in interactive mode.

I think this is a good idea. I agree with you that we should show it in the REPL and not in scripts.
At first glance it looks to me like the best way to implement a flag would be to pass a isScript: Boolean down from preprocessScript or processLine down into ImportHook#handle and from there into Interpreter#loadIvy.
At first glance verbose isn't quite what we want for this - we're using that to toggle verbosity of things in scripts, whereas this is scripts vs REPL.
As for explicit load.ivy method calls, I don't actually know what the ideal thing to do there would be. Maybe hardcode add an extra showPkgs: Boolean = false flag and let people pass in true if they really care? I don't think load.ivy will get used that much overall now that import $ivy is available

Getting the following trying to run this
[error] /Users/lihaoyi/Dropbox/Workspace/Ammonite/amm/src/test/scala/ammonite/CachingTests.scala:123: not enough arguments for method ivy: (coordinates: (String, String, String), interactive: Boolean, verbose: Boolean)Unit.
[error] Unspecified value parameter interactive.
[error]       interp.interpApi.load.ivy("com.lihaoyi" %% "scalatags" % "0.6.2")
[error]                                ^
[warn] one warning found
[error] one error found
[error] (amm/test:compileIncremental) Compilation failed
[error] Total time: 34 s, completed 15 Dec, 2016 4:29:22 PM

Make sure you rebase/merge onto master and get things building and let me know when I should take a look at this again

Yeah, it's not ready yet, I'll comment when it's ready for another look. I was pushing WIP commits so I could check CI.

Closing due to inactivity


[Monitoring v2] alertmanager fails on fresh cluster with rancher-monitoring installation

Rancher Server Setup

Rancher version: v2.5.9
Installation option (Docker install/Helm Chart): Helm Chart

If Helm Chart, Kubernetes Cluster and version (RKE1, RKE2, k3s, EKS, etc): RKE2 v1.21.2+rke2r1

Proxy/Cert Details:

Describe the bug
When I firs deploy the rancher-monitoring chart from the us it fails with rancher/rancher#32827 issue. I found workaround. First, I'm installing monitoring with default values which and its fails. The I uninstall the rancher-monitoring-crd, hen re deploy the chart and it is starting, but the alertmanager-rancher-monitoring-alertmanager-0 pod is in a CrashLoopBackOff satate.
# log forom pod:
level=info ts=2021-07-22T14:24:15.044Z caller=main.go:216 msg="Starting Alertmanager" version="(version=0.21.0, branch=HEAD, revision=4c6c03ebfe21009c546e4d1e9b92c371d67c021d)"
level=info ts=2021-07-22T14:24:15.045Z caller=main.go:217 build_context="(go=go1.14.4, user=root@dee35927357f, date=20200617-08:54:02)"
level=error ts=2021-07-22T14:24:15.072Z caller=main.go:352 msg="failed to determine external URL" err="\"/k8s/clusters/local/api/v1/namespaces/cattle-monitoring-system/services/http:rancher-monitoring-alertmanager:9093/proxy\": invalid \"\" scheme, only 'http' and 'https' are supported"

On the rancher UI the monitoring links dose not work with Resource Unavailable.
My workaround
The Link to Alertmanager uses the Alertmanager's External URL field, which somehow not generated correctly. So based on this template I can set the external URLs by clicking on Edit as YAML on the Chart Options when deploying the Monitoring chart, and set it manually.
alertmanager.alertmanagerSpec.externalUrl=<rancher-url>/k8s/clusters/<cluster-id>/api/v1/namespaces/cattle-monitoring-system/services/http:rancher-monitoring-alertmanager:9093/proxy

@ronhorton based on the age of this issue, can you check if this is still happening in 2.7.x?

Hello, happening again to me with latest fresh rancher installation . RKE2 v1.25.12+rke2r1
Chart 102.0.1+up40.1.2 (Current)
Fri, May 26 2023
102.0.0+up40.1.2
Wed, Mar 22 2023
The workaround of setting global.cattle.url=RANCHER_URL didnt work.
Everything seems to be deployed and working ok ,grafana ok, prometheus ok, but alertmanager states resource inaccesible, also, it seems like the alertmanager pod is not being created .
Would be nice to have the option for debug from the rancher GUI but Im not able to find where it is

Pass verified fixed
on v2.7.7-rc5
rancher-monitoring:102.0.2+up40.1.2
rancher-alerting-drivers:102.1.0
Charts installed with no errors.
on 2.8-head commit ID 331d18b
rancher-monitoring:102.0.1+up40.1.2
rancher-alerting-drivers:103.0.0
Charts installed with no errors.


A timing channel in PasswordCredentials.java

Current password comparison violates the "constant-time" discipline which could lead to a timing attack:
https://github.com/acciente/oacc-core/blob/master/src/main/java/com/acciente/oacc/PasswordCredentials.java#L66
For more information about timing attack, please refer to:
https://codahale.com/a-lesson-in-timing-attacks/

Hi fredfeng,
Thanks for checking out OACC and being concerned about its security!
The kind of side-channel vulnerability you're implying here occurs when an attacker tries to compromise a secret by analyzing the response time of comparing values (provided by the attacker) against that secret.
In our case, the PasswordCredentials class represents a "dumb" container object to transfer char[] passwords from the client to the built-in authentication provider implementation. The equals() method of the PasswordCredentials is overridden to fulfill the standard Java contract of objects to provide sensible implementations of hashCode() and equals().
OACC does not use the equals() method to compare passwords during authentication — and neither should anyone else!
OACC's built-in password-based authentication provider uses one-way cryptographic hashing functions (your choice of bcrypt or Jasypt) on salted passwords to store and to later check against during authentication. Since OACC never stores passwords, and only compares salted hashes in the provided implementations, there is no risk of a timing attack from the PasswordCredentials class.
Let me know if you have any other questions or observations!
Regards,
-Fabian

Hi Fabian,
I see. I didn't realize that the equals() method in PasswordCredentials.java is never called in practice.
Thanks for the reply!


pom.xml: adding suuport for AARCH64 architecture in Netty/Transport/N…

…ative/Epoll
AARCH 64 architecture support was missing in the exiting Netty-epoll code.
Now the Netty/Transport/Native/Epoll project can be used in aarch64 platform as well.
Motivation:
To provide the support for AARCH64 architecture
Explain here the context, and why you're making that change.
What is the problem you're trying to solve.
Existing source code was not providing the support for AARCH64 arch. Not we have modified the pom.xml file and it is working fine.
Modification:
Modified the pom.xml file as attached in pull request.
Describe the modifications you've done.
Result:
It is working fine on AARCH64 architecture.
Fixes #.
If there is no issue then describe the changes introduced by this PR.

@ossdev07 hmm can you update the commit message as I think its not about using the epoll transport but about building it or I am missing anything ?

commit message has been modified now.

@ossdev07 merged ... thanks

@normanmaurer can you please confirm if this package is released for aarch64 platform also

@normanmaurer can we add a profile in pom.xml to use cross-compiler for building  native code for aarch64, im asking it because nar-maven plugin is not working properly and to run it there should be that compiler in travis-CI

@ossdev07 if you provide a pr for this I am happy to review.


camera issue

Now that I've used the library, where's the button to take a picture on the camera screen?

I received the icon, but it does not seem to apply.

@Zedd0202,
Looks like there's an issue with resources and the cocoa pods integration.
I need to look into it. In the meantime, Carthage integration works fine :)
PS: Please excuse the late reply I was on holiday :)

@Zedd0202 2.0.1 should fix your issue :)


Moneo refresh

Update fix nvidia-exporter sample rates
Updated node-exporter to have eth device naming argument
refreshed dashboard and ifra deployment
Add quick deploy script for linux services
refreshed linux service deployment
Bug fixes and doc updates

Could you also update the ETH device argument and sample rate in the container configuration here?https://github.com/Azure/Moneo/blob/70c0a2d75355d82909784c886ed0fc169a49a033/dockerfile/moneo-exporter-nvidia_entrypoint.sh#L17C1-L17C37?
In the current configure_service.sh, if we use the managed Prometheus method, which means the argument should be empty, it still installs some unnecessary packages related to Azure Monitor. You can check here https://github.com/Azure/Moneo/blob/70c0a2d75355d82909784c886ed0fc169a49a033/linux_service/configure_service.sh#L35C1-L36C60.

Could you also update the ETH device argument and sample rate in the container configuration here?https://github.com/Azure/Moneo/blob/70c0a2d75355d82909784c886ed0fc169a49a033/dockerfile/moneo-exporter-nvidia_entrypoint.sh#L17C1-L17C37?
In the current configure_service.sh, if we use the managed Prometheus method, which means the argument should be empty, it still installs some unnecessary packages related to Azure Monitor. You can check here https://github.com/Azure/Moneo/blob/70c0a2d75355d82909784c886ed0fc169a49a033/linux_service/configure_service.sh#L35C1-L36C60.

Addressed

Hello
I am new on using Moneo for monitoring our Azure HPC cluster.
We are using Headless Managed Grafana to visualize metrics from GPUs.
How do we enable GPU profiling metrics collection?
Thanks


Support Implicit Grant Authorization Flow (Fix #499)

The code heavily borrows from the existing user authentication class, and the tests are slightly-modified copies of the SpotifyOAuth tests. All tests passed on 3.7.7

The failing check is a link in help(SpotifyImplicitGrant). Is there a good way to ignore it, or should I shorten the link?

@IdmFoundInHim about the line too long, just add   # noqa: E501
https://stackoverflow.com/a/47876831/1515819

amazing contribution! can't wait to test it, hopefully soon

I was about to merge this but since we also merged https://github.com/plamere/spotipy/pull/509 there are now conflicts, any chance you take a look at it?

It's going to take some more work to resolve the conflicts without breaking the new feature. It may change the behavior of Spotify Oauth.parse_oauth_response_url...what are the plans for releasing v2.13 (deadlines, pending features, requirements)?

Don't worry about 2.13.0, I might release it soon but I will create 2.14.0 just for your PR, so please take your time!

I fixed the conflicts and added state verification for the new auth flow. Along the way, I tweaked the behavior of some of the new functions, the biggest changes being:

Removed state verification from prompt_for_user_token since it is deprecated, and
Adding a dedicated subclass for state mismatches (SpotifyStateError) because it is a potential security warning

Nice work, merged!

and released in 2.13.0


Add pgx Cloud SQL Proxy in-process example

The authors of the lib/pq library are encouraging new projects to use pgx instead:

This package is effectively in maintenance mode and is not actively developed. Small patches and features are only rarely reviewed and merged. We recommend using pgx which is actively maintained.

I am connecting to cloudsql from GKE, but I would prefer not to run a sidecar. However, I am using pgx, rather than pg. I have modified the hook_test.go file to use pgx as follows:
package main

import (
	"context"
	"fmt"
	"log"
	"net"
	"os"
	"regexp"
	"time"

	"github.com/GoogleCloudPlatform/cloudsql-proxy/proxy/proxy"
	"github.com/jackc/pgx/v4"
)

var (
	host = os.Getenv("DBHOST") // DBHOST for GCP cloudsql is in format project:region:instance
	name = os.Getenv("DBNAME")
	user = os.Getenv("DBUSER")
	pass = os.Getenv("DBPASS")
)

// parses an addr like "[project:region:instance]:port"
var instanceRegexp = regexp.MustCompile(`^\[(.+)\]:[0-9]+$`)

// Example shows how to use cloudsqlpostgres dialer
func main() {

	// In-process Proxy
	// Note that sslmode=disable is required it does not mean that the connection
	// is unencrypted. All connections via the proxy are completely encrypted.
	dsn := fmt.Sprintf("host=%s user=%s password=%s dbname=%s sslmode=disable", host, user, pass, name)

	config, configErr := pgx.ParseConfig(dsn)
	if configErr != nil {
		log.Fatal(configErr)
	}

	config.DialFunc = func(ctx context.Context, network string, addr string) (net.Conn, error) {
		matches := instanceRegexp.FindStringSubmatch(addr)
		if len(matches) != 2 {
			return nil, fmt.Errorf("failed to parse addr: %q. It should conform to the regular expression %q", addr, instanceRegexp)
		}
		instance := matches[1]
		return proxy.Dial(instance)
	}

	config.LookupFunc = func(ctx context.Context, host string) ([]string, error) {
		return []string{host}, nil
	}

	conn, connErr := pgx.ConnectConfig(context.Background(), config)
	if connErr != nil {
		log.Fatal(connErr)
	}

	defer conn.Close(context.Background())

	var now time.Time
	err := conn.QueryRow(context.Background(), "SELECT NOW()").Scan(&now)
	if err != nil {
		fmt.Fprintf(os.Stderr, "QueryRow failed: %v\n", err)
		os.Exit(1)
	}
	fmt.Println(now)
}

I think an example like this might be helpful to include in this project. If there is a better mechanism (perhaps using the pgx/stdlib ?), I would be very interested to know that.

Hi @StevenACoffman. I agree that the cloudsqlpostgres dialer example should demonstrate connecting with pgx, since lib/pq is no longer being actively developed. Our Go connectivity sample demonstrates connecting using pgx/stdlib and database/sql, but assumes that you're running the proxy in the background which won't work if you prefer not to run a sidecar.
It looks like the example you posted are actually rewriting the code in hook.go to use pgx instead of using the existing postgres dialer to connect. I think the best way to approach this would be to either to write a new postgres dialer that uses pgx, or to update the existing one and replace lib/pq with pgx.
@kurtisvg thoughts?

Replacing lib/pg with pgx is probably a breaking change - I'm not sure what level of compatibility there is between dsn. So probably would need to be a new hook.
I think using DialFunc looks like a reasonable method, although it would be nice if we provided a more convenient dial func than the one currently offered.

Yeah, it is probably better to add a new hook. I'm not sure how you would replicate the driver's Open using pgx:
func (d *Driver) Open(name string) (driver.Conn, error) {
	return pq.DialOpen(dialer{}, name)
}

Ok, if I was making a new pgxhook.go in a new package pgxhook? i think it would work like something this:
// Package pgxproxy adds a 'cloudsqlpostgres' driver to use when you want
// to access a Cloud SQL Database via the go database/sql library.
// It is a wrapper over the driver found at github.com/lib/pqx.
// To use this driver, you can look at an example in
// postgres_test package in the hook_test.go file
package pgxproxy

import (
	"context"
	"database/sql"
	"database/sql/driver"
	"fmt"
	"github.com/jackc/pgx/v4"
	"github.com/jackc/pgx/v4/stdlib"
	"net"
	"regexp"
	"time"

	"github.com/GoogleCloudPlatform/cloudsql-proxy/proxy/proxy"
)
func init() {
	sql.Register("cloudsqlpostgres", &Driver{})
}

type Driver struct{
	ctx context.Context
}

// instanceRegexp is used to parse the addr returned by lib/pq.
// lib/pq returns the format '[project:region:instance]:port'
var instanceRegexp = regexp.MustCompile(`^\[(.+)\]:[0-9]+$`)

func DialFunc(ctx context.Context, network string, addr string) (net.Conn, error) {
	matches := instanceRegexp.FindStringSubmatch(addr)
	if len(matches) != 2 {
		return nil, fmt.Errorf("failed to parse addr: %q. It should conform to the regular expression %q", addr, instanceRegexp)
	}
	instance := matches[1]
	return proxy.Dial(instance)
}

func LookupFunc(ctx context.Context, host string) ([]string, error) {
		return []string{host}, nil
	}

func DialTimeout(ntw, addr string, timeout time.Duration) (net.Conn, error) {
	return nil, fmt.Errorf("timeout is not currently supported for cloudsqlpostgres dialer")
}

func (d *Driver) WithContext(ctx context.Context) {
	d.ctx = ctx
}

func (d *Driver) Open(dsn string) (driver.Conn, error) {
	config, configErr := pgx.ParseConfig(dsn)
	if configErr != nil {
		return nil, configErr
	}

	config.DialFunc = DialFunc

	config.LookupFunc = LookupFunc
	if d.ctx == nil {
		d.ctx = context.Background()
	}
		connStr := stdlib.RegisterConnConfig(config)

		// pgx? cloudsqlpostgres?
		db, dbErr :=  sql.Open("pgx", connStr)
		if dbErr != nil {
			return nil, dbErr
		}
		driver := db.Driver()
		// pgx? cloudsqlpostgres?
		return driver.Open("pgx")
}

Not sure about the name string argument for the two Open calls, since this isn't my normal use case.
 However, I would appreciate exposing a more convenient dial func (with context cancellation and timeout support perhaps?).

The above Open(dsn string) does not work.
I also tried:
func (d *Driver) Open(dsn string) (driver.Conn, error) {
	config, configErr := pgx.ParseConfig(dsn)
	if configErr != nil {
		return nil, fmt.Errorf("couldn't parse DB DSN: %w", configErr)
	}

	config.DialFunc = DialFunc

	config.LookupFunc = LookupFunc
	if d.ctx == nil {
		d.ctx = context.Background()
	}

	_ = stdlib.RegisterConnConfig(config)
	return stdlib.GetDefaultDriver().Open(dsn)

So I'm not sure I can put a PR that will get accepted, despite the fact that my use case is a little simpler to solve. Can I get a hand?

 However, I would appreciate exposing a more convenient dial func (with context cancellation and timeout support perhaps?).

I think right now my preference is exposing a better Dial - I don't know how wide spread support for passing a "DialFunc" is, but it seems common enough in other languages. Creating a wrapper driver feels a bit like a last resort, and doesn't make it easier for the user to switch drivers if they choose. I agree that this new Dial should support context's as well - if you are interested in attempting to do so, please feel free and I'm happy to review the PR. However, given that context's aren't currently used as consistently as they could be - please be aware it might involve a bit of work. I'm planning on making some larger changes related that should also accomplish this, but I can't give a concrete timeline on when something like this might happen except to mention it's nearing the top of my priority queue.
If you would like to directly address this issue and just document the current behavior with the current Dial, I would be open to a PR in the README in cloudsql-proxy/proxy and/or maybe something in examples/pgx.
If you'd prefer to work on a better API surface for Dial immediately, you are welcome to look into adding a DialContext func or similar as well.
Otherwise we can leave this issue open as is since it contains the current instructions for using pgx, and mark it closed when we have a better Dialer available with instructions for a generic driver.

Yes, please go for that by all means. I'm having trouble making more time to do this properly, as we're able to limp by with my hacky solution until contexts are used more consistently.

With the DialContext added in #483 connecting to cloudsql instance using in-process cloudsql-proxy can be accomplished in a better way:
	var (
		host = os.Getenv("DBHOST") // DBHOST for GCP cloudsql is in format project:region:instance
		name = os.Getenv("DBNAME")
		user = os.Getenv("DBUSER")
		pass = os.Getenv("DBPASS")
	)
	// In-process Proxy
	// Note that sslmode=disable is required it does not mean that the connection
	// is unencrypted. All connections via the proxy are completely encrypted.
	dsn := fmt.Sprintf("host=%s user=%s password=%s dbname=%s sslmode=disable", host, user, pass, name)

	config, configErr := pgx.ParseConfig(dsn)
	if configErr != nil {
		log.Fatal(configErr)
	}

	config.DialFunc = func(ctx context.Context, network string, addr string) (net.Conn, error) {
		matches := instanceRegexp.FindStringSubmatch(addr)
		if len(matches) != 2 {
			return nil, fmt.Errorf("failed to parse addr: %q. It should conform to the regular expression %q", addr, instanceRegexp)
		}
		instance := matches[1]
		return proxy.DialContext(ctx, instance)
	}
	ctx := context.Background()
	// e.g. net.Resolver.LookupHost
	config.LookupFunc = func(ctx context.Context, host string) ([]string, error) {
		return []string{host}, nil
	}

	conn, connErr := pgx.ConnectConfig(ctx, config)

We're currently working on some major structural improvements to the proxy. Once those are done we'll circle back to address support for pgx.

@enocom Just checking in after 6 months. Our specific use case for cloudsql-proxy is in conjunction with sqlc, which just added support for pgx/v4 connection pool with their respective API usage, which differs from the standard. The details of that are in database/sqlhttps://github.com/kyleconroy/sqlc/pull/1037)

Good timing. We've just shared a new dialer which is built with pgx support.
Here's the issue announcing requesting feedback on the new design: https://github.com/GoogleCloudPlatform/cloudsql-proxy/issues/870.
Also, we're planning on incorporating that new dialer into the proxy. Details here: https://github.com/GoogleCloudPlatform/cloudsql-proxy/issues/872.

And if you're looking to just get something working, here's an example of how to use pgx with the new dialer: https://github.com/kurtisvg/cloud-sql-go-connector#pgx-for-postgres.

In addition to the example linked above with the Go connector, we also have an example that hooks up pgx with the database/sql interface: https://github.com/GoogleCloudPlatform/golang-samples/blob/main/cloudsql/postgres/database-sql/connect_connector.go.
Also, v2 is finally available in public preview: https://github.com/GoogleCloudPlatform/cloud-sql-proxy/releases/tag/v2.0.0.preview.0.


There was an unknown error code from the service: 'Forbidden'.  Please make sure you have the most up-to-date version.

Microsoft (R) .NET Portability Analyzer <IP_ADDRESS> (alpha)
Copyright (C) Microsoft Corporation. All rights reserved.
More information is available at http://go.microsoft.com/fwlink/?LinkId=506955

Detecting assembly references                      [Done]
Analyzing compatibility                            [Failed]

There was an unknown error code from the service: 'Forbidden'.  Please make sure you have the most up-to-date version.

Sorry for the late response.. Forbidden is an interesting issue. If you try it again today, do you get the same response still?
We were doing some server side updates a few days ago. @twsouthwick . Do you know if there may have been any changes that would have resulted in that 403?

Still fails.
Also is it displaying the wrong version in the console. Look at nuget package i have installed.

Can you help with this?
What address does it go to etc?

All messages are sent to: https://portability.dot.net.
If you install Fiddler, you will be able to see where the messages are being directed to and where the 403 response is coming from.
IIRC, we had enabled a feature where the VSIX would use your default system proxy for the HTTP requests...

@screig Just saw this. Are you behind a proxy?

@screig @conniey @twsouthwick
I am trying to convert a vb .net project (4.5) to .net core 2.2 and while analyzing got the same forbidden error. Have you got any updates / response regarding the above issue ?
Thanks :)


Give events to subwidgets first if needed; Use onResize on UI

Initial fixup, main issue was on DPF side.
Some comments:

uiReshape is used to setup OpenGL things, but you were using it as a resize callback without the UI::uiReshape handler, I changed this to just use the regular onResize
if a class has child widgets, we need to give events to them first so they have a chance to catch/handle them first

The reshape/resize change makes the main toolbar not appear on the correct position at the start, dont know why yet..
Also, something is still wrong on DPF side regarding position of sub-sub widgets. This makes the slider not work here.
But note that you dont need to compare coordinates yourself, each widget has a contains helper method for this, ie:
bool MyWidget::onMouse(const MouseEvent& ev)
{
    if (ev.press && contains(ev.pos))
    {
    }
...

I will have to see what is wrong with the sub-sub widget positioning, I thought I handled that already...

It looks even more broken on my end, the tool bar isn't even appearing.

It appears after a resize.
I am pretty sure there is a plugin problem of sorts because even the jack standalone crashes on exit.
Doing the sub-sub widget positioning fixes now.

Fixed the toolbar too just now, not sure if made in the most correct way or not, the toolbar just lacked height/size on init.


Update application/vnd.iota.serializer-v1 to v2

Description
Update application/vnd.iota.serializer-v1 to v2 https://github.com/iotaledger/iota-sdk/blob/3dc6d56360ec96591ad8565b8dcdb77a53ac3ede/sdk/src/client/node_manager/http_client.rs#L99-L117 (note: should be done only for the 2.0 branch)
Are you planning to do it yourself in a pull request?
No.

Closed by https://github.com/iotaledger/iota-sdk/pull/1527


build(deps-dev): npm updates

What's included

build(deps-dev): npm updates

Notes

bulk npm updates

How to test

Coverage and basic unit test check

update the NPM packages with $ yarn
$ yarn test
confirm tests come back clean

Example

...
Updates issue/story

ongoing

Codecov Report

Merging #113 (497fe9d) into main (9648b1b) will not change coverage.
The diff coverage is n/a.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files

@@           Coverage Diff           @@
##             main     #113   +/-   ##
=======================================
  Coverage   93.47%   93.47%
=======================================
  Files           5        5
  Lines         276      276
  Branches      109      109
=======================================
  Hits          258      258
  Misses         17       17
  Partials        1        1

Continue to review full report in Codecov by Sentry.

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


Problems in PAGA Analysis

Hello, when I run PAGA, sc.tl.paga(used_adata, groups='Ground Truth') got the error ValueError: iterable must yield non-negative integers. I don't know how can I solve this problem.

I have made some additions and changes on the basis of source code, making it run successfully.

On above image, what in red block are additional contents, and changed contents are in green.
Hope it may help you

pasted codes:
embarked_mapping = {'Layer_1':0, 'Layer_2':1, 'Layer_3':2, 'Layer4':3, 'Layer_5':4, 'Layer_6':5, 'WM':6}
used_adata.obs['Ground Truth'] = used_adata.obs['Ground Truth'].map(embarked_mapping)
used_adata.obs['Ground Truth'] = used_adata.obs['Ground Truth'].fillna(0).astype(int).astype('category')
sc.tl.paga(used_adata, groups='mclust')

Ok thanks, I've solved the problem, it might have been the presence of Nan values at the beginning.


Stop treating version like numbers

Hello!
Just got a bug that prevents installation of a library I'm willing to try. Here is snippet causing a problem:
public class FooBuild extends BaseProject {
    final static Repository REPORTMILL = new Repository("https://reportmill.com/maven");

    public FooBuild() {
        pkg = "foo";
        name = "bar";
        mainClass = "bar.foo.Main";
        version = version(0, 0, 1);

        repositories = List.of(MAVEN_CENTRAL, REPORTMILL);

        scope(compile).include(
            dependency("com.reportmill", "snapkit", version("2024.02"))  // <-- HERE
        );
    }
}

Whenever I'm trying to ./bld download, I got the error:
Couldn't find artifact for dependency 'com.reportmill:snapkit:2024.2' at https://reportmill.com/maven/com/reportmill/snapkit/2024.2/snapkit-2024.2.pom, https://repo1.maven.org/maven2/com/reportmill/snapkit/2024.2/snapkit-2024.2.pom

Here is some valid URL for that repo: https://reportmill.com/maven/com/reportmill/snapkit/2024.02/
Notice the difference:
-2024.02
+2024.2

That's not how it is supposed to be...
This is because of that:
// rife.bld.dependencies.VersionNumber
    public static VersionNumber parse(String version) {
        <...>
        var major_integer = (major != null ? Integer.parseInt(major) : null);
        var minor_integer = (minor != null ? Integer.parseInt(minor) : null);
        var revision_integer = (revision != null ? Integer.parseInt(revision) : null);
        <...>
    }

This is wrong. You shouldn't do that. Sometimes people are getting very creative about versioning. But even when there is some kind of "standard" in place, like "semantic versioning" - versions are still not numbers.

I'm looking now at how to improve the string parser to automatically use the qualifier for this.

Will try proposed solution and report on success later.

I took a look at this, semantic versioning does specify that X.Y.X are non-negative integers, thus numbers.

Standards are good, but you can't force everyone to follow them, and sometimes people will not - but you still need to deal with it somehow.
If there is some way to achieve this - I'm happy!

Pushed a fix for this, the parser will now detect this. I'll try to release the next bld version soon.

We apparently need "fire" reaction on github!
^_^


Translation of remaining Math section examples to Spanish, inc. comments

Fixes #725
Changes:
Spanish translations for the following examples in the Math section:

parametricEquations
Map
RandomChords
Noise3D
Noise2D
Interpolate

translation of Springs in simulation
@montoyamoraga
Translation notes:

Translated "Map" name to Mapear, interpreted as the action of the map() function ie the action of mapping
Chord in RandomChords interpreted as the geometrical term ie. the chord of a circle, and therefore translated as "cuerda".
noiseDetail in the Noise2D example was not translated as it is the name of a function

this is great, thank you so much @SamuelAl !


Communication lost after couple of hours

Hi,
I am using your sketch to remote debug an ESP-32 project.
After a couple of hours it seems that telnet is losing the connection.
Thanks,
Gino

Worked for days for me and many other users!
Sonds more like a power/battery problem to me.

Ok, thanks for the reply.I'll see by adding some more capacitors if it will be more stable. GinoOp 9 mei 2018 21:12 schreef Ulli Heynen notifications@github.com:Worked for days for me and many other users!
Sonds more like a power/battery problem to me.
—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or mute the thread.

???
The ESP32 acts as a access point, it cannot initiate a reconnect, must be done by the client.
Have you tried with another ESP32?

Hi,It's pretty firmly solderd to the pcb. Cannot replace it. I use the esp as a wifi station connected to wifi access point. Have you checked this way of working over several hours?Thanks, GinoOp 17 mei 2018 20:30 schreef Ulli Heynen notifications@github.com:???
The ESP32 acts as a access point, it cannot initiate a reconnect, must be done by the client.
Have you tried with another ESP32?
—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or mute the thread.

@ginodecock
are you using bluetooth? If bluetooth is not defined, the index of buf2 will not be resetted. That could explain why it stops after some time, simply because the buffer is full, and not resetted!

Problem solved after bugfix,


Bookworm Web Interface 403

If v2 is installed on Bookworm, on calling the Webinterface it results in a "403 Forbidden".
Setting the executable right for others on the home folder fixes this. Seems that opening a subfolder (htdocs) needs this permissions since Bookworm.
This was also introduced for nginx in V3
https://github.com/MiczFlor/RPi-Jukebox-RFID/blob/c0d5a20f5bb521d09a0b0d910fc2b83dcca79e61/installation/routines/setup_jukebox_webapp.sh#L78-L79
Additionally fixed deprecation warnings for "mod_compress"

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
633

Relevant Lines:
824

💛  - Coveralls

On Bookworm there is another Problem with the "Folders and Files" Tab.
The UI Elements for creating a folder and Upload are not present.

I narrowed it down to this code lines, but not firm enough with php to see a quick fix (and whats the intention)
https://github.com/MiczFlor/RPi-Jukebox-RFID/blob/0457616d982b3b7cfed4938ab0de0ce0772d4de4/htdocs/manageFilesFolders.php#L283-L285
If there a removed, the page is loaded correctly and seems also to behave correct.
@s-martin @pabera any idea?

Do we have some git blame info?

Nope. Was this way from the very beginning

strange it runs prior bookworm without a fault.

Ok i found why it behaves different on Bookworm.

Bullseye runs PHP 7.x.
Bookworm runs PHP 8.x,

There are a few incompatible changes (https://www.php.net/manual/en/migration80.incompatible.php) and this one strikes here

The behavior of array_key_exists() regarding the type of the key parameter has been made consistent with isset() and normal array access. All key types now use the usual coercions and array/object keys throw a TypeError.

I now checked the error logs for both versions:
bullseye:
2023-12-02 00:07:12: mod_fastcgi.c.487) FastCGI-stderr:PHP Notice:  Undefined variable: fpost in /home/pi/RPi-Jukebox-RFID/htdocs/manageFilesFolders.php on line 283
2023-12-02 00:07:12: mod_fastcgi.c.487) FastCGI-stderr:PHP Notice:  Trying to access array offset on value of type null in /home/pi/RPi-Jukebox-RFID/htdocs/manageFilesFolders.php on line 283
2023-12-02 00:07:12: mod_fastcgi.c.487) FastCGI-stderr:PHP Notice:  Undefined variable: shortcuts in /home/pi/RPi-Jukebox-RFID/htdocs/manageFilesFolders.php on line 283
2023-12-02 00:07:12: mod_fastcgi.c.487) FastCGI-stderr:PHP Warning:  array_key_exists() expects parameter 2 to be array, unknown given in /home/pi/RPi-Jukebox-RFID/htdocs/manageFilesFolders.php on line 283

bookworm:
2023-12-02 00:29:39: (mod_fastcgi.c.449) FastCGI-stderr:PHP Warning:  Undefined variable $post in /home/pi/RPi-Jukebox-RFID/htdocs/manageFilesFolders.php on line 283
2023-12-02 00:29:39: (mod_fastcgi.c.449) FastCGI-stderr:PHP Warning:  Trying to access array offset on value of type null in /home/pi/RPi-Jukebox-RFID/htdocs/manageFilesFolders.php on line 283
2023-12-02 00:29:39: (mod_fastcgi.c.449) FastCGI-stderr:PHP Warning:  Undefined variable $shortcuts in /home/pi/RPi-Jukebox-RFID/htdocs/manageFilesFolders.php on line 283
2023-12-02 00:29:39: (mod_fastcgi.c.449) FastCGI-stderr:PHP Fatal error:  Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, null given in /home/pi/RPi-Jukebox-RFID/htdocs/manageFilesFolders.php:283
2023-12-02 00:29:39: (mod_fastcgi.c.449) FastCGI-stderr:Stack trace:
2023-12-02 00:29:39: (mod_fastcgi.c.449) FastCGI-stderr:#0 {main}
2023-12-02 00:29:39: (mod_fastcgi.c.449) FastCGI-stderr:  thrown in /home/pi/RPi-Jukebox-RFID/htdocs/manageFilesFolders.php on line 283

So it seems it was also not working on bullseye ( ever working? ), but it was just a silent warning.
Just from reading the code i assume it is intended to preselect a folder based on the selected cardid, but the variables are not set and dont even make sense in this context.
My suggestion is to remove the code snippet.


angular-material

Anybody used this with angular-material foms yet ?
In our tests using the setup (as defined below) the test works nicely but the on-screen forms dont reflect the values as stored on the input container value properties would suggest.
We added an explicit rootscope digest every second just for testing already, but even from within chrome inspector after running a horde we cannot get the fields to reflect the actual underlying values unless we actually click the element with the mouse.
No amount of angular.element($0).$scope.$digest() or $($0).trigger('click') made any difference.
           var horde = gremlins.createHorde();

           horde.gremlin( gremlins.species.clicker().clickTypes(['click']) );

           const formFillerGremlin = gremlins.species.formFiller({
             elementMapTypes

           });
           horde.gremlin(formFillerGremlin);

           horde.allGremlins();

           const alertMogwai = gremlins.mogwais.alert();
           alertMogwai.confirmResponse( ()=>false );
           horde.mogwai( alertMogwai );
           horde.mogwai( gremlins.mogwais.gizmo() );

           // refresh angular ui once a second
           const stopRefreshes = setInterval( ()=>{
             // Cause a digest
             $rootScope.$digest();
           }, 1000);

           horde.after( ()=>{
             clearInterval(stopRefreshes);
           });

           horde.unleash(options);

calling angular.element($0).triggerHandler('input') seems to do the trick. It is more complicated due to the ng-model in between


[progress]: component rounded shape doesn't work

Description

progress should support rounded shape and apply to bar as well
as in vivid < 3 storybook

Component(s) impacted
progress
Browser
No response
Vivid Web Components version
whatever
Severity
Severity 2 = Aspects of design is broken, and impedes users in a significant way, but there is a way to complete their tasks. Affects major functionality, has a workaround.
Application/website
null
CodeSandbox example
no need
Steps to reproduce the issue (if applicable)
No response
Release date (if applicable)
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I checked the current issues for duplicate issues

@YonatanKra noticed this?

@YonatanKra I'll take it if its OK by you - its CSS :)

@rachelbt feel free. Ill review cause I have a suspicion why this happened and I'd like to check it to make the ui tests better than ever 😀


Add Shrine storage engine

Integrating Shrine to make storage provider-agnostic, and enable a few other features. Partly resolves #1670.
Things to still change:

[ ] Moving models
[ ] Removing models
[ ] Removing files
[x] Uploading files

upload doesn't actually deal with data structures at all at the moment, it just dumps the files on disk and runs a scan. So that's fine.

This all seems to be working, which is pretty surprising! Going to bake it in testing for a while, but I think it can merge in and go onto my personal environment.


App crashes  when i google auth (  after accepting the authorizations )

hi , am using an authentication with google , and when i accept the authorizations , the app crashes .
any help ?
my oAuthManager :
import OAuthManager from "react-native-oauth";
let manager = new OAuthManager("firestackexample");
// AUTH MANAGER CONFIG
const config = {
  google: {
    client_id:
      "XXXXXXXXXXXXXXXXXXXX",
    client_secret: "XXXXXXXXXXXXXXXX"
  }
};
manager.configure(config);
export default manager;

My Action :
export const redirectToAuth = payload => {
  return async dispatch => {
    dispatch(auth(null, LOADING_AUTH));
    OAuthManager.authorize("google", {
      scopes: "email"
    }).then(resp => dispatch(Routes.AUTH_TO_CATEGORIES_ROUTE));

My dependencies :
"dependencies": {
    "@mapbox/polyline": "^1.0.0",
    "axios": "^0.18.0",
    "react": "16.3.1",
    "react-native": "0.55.3",
    "react-native-elements": "^0.19.1",
    "react-native-maps": "^0.21.0",
    "react-native-modalbox": "^1.4.2",
    "react-native-oauth": "^2.2.0",
    "react-native-vector-icons": "^4.6.0",
    "react-navigation": "^1.5.11",
    "react-navigation-redux-helpers": "^1.0.5",
    "react-redux": "^5.0.7",
    "redux": "^4.0.0",
    "redux-thunk": "^2.2.0"
  }

SCREENSHOTS :

Same Problem. Got any solution?

nothing, I deleted the package since it's not maintained and used invertase package, https://github.com/invertase/react-native-firebase/

nothing, I deleted the package since it's not maintained and used invertase package, https://github.com/invertase/react-native-firebase/

The best solution


Remove unreachable code2

SharedOps.renameDisks returns at the beginning so it's not needed. …
rubocop --only Lint/UnreachableCode
This may conflict with #1289, but it appears to not be included in that PR.  cc @gmcculloug

@gmcculloug Any pointers how much of Verbs is still needed?

@kbrock Most of Verbs can be removed with the exception of a few items in MiqVerbs.rb and SharedOps.rb required for fleecing.  Methods like SyncMetadata, ScanMetadata, UpdateAgentState and AgentJobState are still used.

@jrafanie What is the history on why this was NOOPed?

I believe this was the first comment/NO-OP commit:
commit d35cd8c2212b81f423a78da67dd423dcd7be0b89
Date:   Tue May 22 15:53:26 2007 +0000

    Changed to create blackbox on vm register and store vmId in it.
    Removed the rename of vm disk files when making a vm "smart".
    BugzID: 346

wow 2007 and BugzID 364 :dizzy_face:

@Fryguy @gmcculloug @kbrock Is anything else needed for this PR?

Nope, I think we are good here.

Yay!  :tada: Thanks!


Add more dtypes

Added the Float64Dtype and the DatetimeTZDtype  to the type_conversion

@melvinfolkers Maybe add #105 as well?
And do we want to do an update of the packages (in a separate PR)?

Added categorical and upped the version number. If you agree we can merge this one.


[4187] Fix payment schedule ordering

Context
The funding payment schedule view has an ordering bug. Months should start at August  and run to July .
Changes proposed in this pull request
Order rows by year, month
November 2021
December 2021
January 2022
February 2022
This should happen in actual and predicted payments and the summaries.
With fix:

Guidance to review
We don't have funding example data as yet so needs to be QAd locally for now.
Important business

[ ] Does this PR introduce any PII fields that need to be overwritten or deleted in db/scripts/sanitise.sql?
[ ] Does this PR change the database schema? If so, have you updated the config/analytics.yml file and considered whether you need to send 'import_entity' events?

NB: Please notify the #twd_data_insights team and ask for a review if new fields are being added to analytics.yml

 Payment schedule ordering


Blocks also don't get dropped again when being broken by Psi Guns/Lumbe

I am currently running FTB Direwolf20 B  FTBPresentsDirewolf20112-1.12.2-1.8.0-Server.zip

SpongeForge version:  1.12.2-2611-7.1.0-BETA-2925
SpongeVanilla version:
Java version: Java(TM) SE Runtime Environment (build 1.8.0_161-b12)
Operating System: linux

Plugins/Mods: Psi-r1.1-59.jar, Tinkers’ Construct Mod 1.12.2

Issue Description
Blocks  don't get dropped again when being broken by Psi Guns/Lumber Axes on the latest upd on direwolf. 1.12.2-2611-7.1.0-BETA-2911 is the last working version

~move to sf

Hey @mihionmc! I've moved your issue to SpongePowered/SpongeForge#2015.


Better error handling

Hey there,
first of all thanks for the library!
I would welcome to have better error handling as currently the Error reply is put as JSON into the Exception and not really parsed in anyway.
This makes hard to handle errors which might not really be errors in the application contexts (for example duplicated emails in a list).
I would suggest to extend the current MailChimpError class with status, title and details attribute. Maybe even subclass this class with frequently handled errors, for example like the duplicated emails usecase. Do you know about any other error which would be good to create a subclass for?
I could make PR for this if you would like me to. Please let me know if you would except it.

Hello everyone! Is there a way I can convert "Mailchimperror" to json format? so I can use it on my web microservice.

MailChimpError is a custom python exception that we pass json data into, if you wrap your code in a try/except block catching the MailChimpError, you can pull that data out depending on your python version and serve the message information directly.

Is this the correct way to access the exception data?
try:
    response = client.lists.webhooks.create(...)
except MailChimpError as ex:
    if 'errors' in ex.args[0]:
        raise UserError(ex.args[0]['errors'][0]['message']) #
    else:
        raise ex


Set up TCP Routes in staging

In order to validate our TCP route functionality, we want to deploy it to our CF staging environment and test it.
Acceptance Criteria

[ ] GIVEN that TCP routing is configured and enabled in our CF staging environment
WHEN an app is deployed that uses TCP routing
THEN manual testing shows that the app is accessible via its TCP route

Security considerations
None. This work is to promote TCP routing, which is already enabled in our dev environment, to our staging environment
Implementation sketch

[x] Enable TCP routing for staging: https://github.com/cloud-gov/cg-provision/blob/main/ci/pipeline.yml#L559
[x] Run plan-bootstrap-staging CI job to plan TF changes: https://ci.fr.cloud.gov/teams/main/pipelines/terraform-provision/jobs/plan-bootstrap-staging/
[x] Apply TF changes to staging: https://ci.fr.cloud.gov/teams/main/pipelines/terraform-provision/jobs/bootstrap-staging/
[ ] Add cf-manifests/bosh/opsfiles/tcp-cells-and-routers.yml to opsfiles for CF staging deployment: https://github.com/cloud-gov/cg-deploy-cf/blob/main/ci/pipeline.yml#L521
[ ] Ensure jobs to deploy changes to CF staging are deployed: https://ci.fr.cloud.gov/teams/main/pipelines/deploy-cf

PR to add cf-manifests/bosh/opsfiles/tcp-cells-and-routers.yml to opsfiles for CF staging deployment:: https://github.com/cloud-gov/cg-deploy-cf/pull/683

Updates:

NLB is deployed for staging with listeners on ports 10000 - 10009
Diego cells for TCP routers/applications don't seem to have been created despite a successful CF staging deploy with the relevant Bosh opsfile for TCP cells included. Still investigating

Create TCP route in staging
$ cf create-route tcp-0.fr-stage.cloud.gov --port 10000
Creating route tcp-0.fr-stage.cloud.gov:10000 for org cloud-gov / space tcp-test as markdboyd...
Route tcp-0.fr-stage.cloud.gov:10000 has been created.
OK

Mapped TCP route to app:
$ cf map-route test-python-flask tcp-0.fr-stage.cloud.gov --port 10000
Mapping route tcp-0.fr-stage.cloud.gov:10000 to app test-python-flask in org cloud-gov / space tcp-test as markdboyd...
OK


Fatal Error when capped_amount is reached

Hi @osiset ,
when capped_amount is reached you will not have usage_charge property in the response what will end in a fatal-error.
https://github.com/osiset/laravel-shopify/blob/10540ce76d552d731304f0f0d3498f31b7b0b63f/src/ShopifyApp/Services/ApiHelper.php#L304
We solved it at the moment in the way:
        $this->response = $this->api->rest(
            'POST',
            "/admin/recurring_application_charges/{$currentCharge->charge_id}/usage_charges.json",
            [
                'usage_charge' => [
                    'price'       => $this->data['price'],
                    'description' => $this->data['description'],
                ],
            ]
        )->body;

        if (empty($this->response->usage_charge)) {
            return false; // capped_amount reached
        }

return $this->response->usage_charge;

Thanks for this report. I've implemented a fix for next release with a testcase and seems to pass fine in GH Actions.


Question: Is it safe to share a client instance with other concurrent tasks?

My Node server handles multiple concurrent requests.  I'm planning on creating a single process-wide client instance at startup and using it everywhere.
For that to be safe, I created a more limited interface that doesn't allow .on(...), .quit(), .auth(), any blocking commands (e.g. blpop()), or watch().
I'm not sure about multi(), though.  The Redis MULTI command affects the connection state, which makes it unsafe to use on a shared connection.  However, it looks like node-redis queues up everything in a transaction and only sends them all together when Multi#exec() is called.  That makes me believe that it is safe to use multi() on a shared client instance.
Does that sound right?  Is there anything else I should watch out for when sharing a client instance?  Thanks!

You are correct. client.multi() in this module creates a queue in node, any subsequent commands are then pushed on to this queue. Once you run client.exec() all the commands are pipelined to Redis. So, it is safe when you're dealing with a shared connection to Redis. (This is actually how almost all clients work across other languages too).
What you are describing is a pretty common best practice - most people don't bother limiting the interface and just reply upon convention in the code (although I get your desire to do this).
The only other things to watch out for if you want to be safe would be to prevent subscriptions (client.subscribe) and commands that block via arguments (xread...block). It's possible to execute many of these things with client.send_command, so that's another one to possibly prevent.
Finally, to be honest, you may want to think about this laterally and create an interface that allows these (very useful) commands if the connection is duplicated (client.duplicate).
I'm going to close this as it's not really an issue to fix, but feel free to continue to ask questions.


Thanks bro

Hello bro,
Thanks for this binance node n8n version.
I tried to modify and make it generic by modifying the code to be like this so it can be able to do Market trade, Take Profit and Stop Loss for futures trade.

Thank you, @chugo-admin
For common scenarios, consider creating a new operation. Your code will be executed based on the operator type, and it's not too difficult to implement. Could you guide me through creating a pull request for it? Thanks for your contribution!

I just updated a new version that support custom function. (PR: #2)
You can try here n8n-nodes-binance v0.0.4
Demo:

List of function name + params will be defined in package binance-api-node


[BUG] Double buffer on streaming source

[x] Issue does not already exist
[x] Issue observed on https://plyr.io

Expected behaviour
Single buffer/download stream
Actual behaviour
Double buffer/download stream
Environment

Browser: Chrome
Version:  60.0.3112.113 (Official Build) (32-bit)
Operating System: Windows
Version: Windows 7 32bit

Players affected:

[ ] HTML5 Video
[x] HTML5 Audio
[ ] YouTube
[ ] Vimeo

Steps to reproduce
Just enabled or disabled the plyr option to see the problem
<link rel="stylesheet" href="https://cdn.plyr.io/2.0.13/plyr.css">
<audio id="radio-player" controls preload="metadata">
  <source src="http://<IP_ADDRESS>:8000/litefm" type="audio/mpeg">
</audio>

<script src="https://code.jquery.com/jquery-3.1.0.js"></script>
<script src="https://cdn.plyr.io/2.0.13/plyr.js"></script>
<script>
$(function(){
	plyr.setup('#radio-player', {enabled: true});

	/*
	local single file : test.mp3 => single stream
	online single file : https://geekanddummy.com/wp-content/uploads/2014/02/ambient-noise-server-room.mp3 => single stream
	streaming : http://<IP_ADDRESS>:8000/litefm => double stream
	*/
});

</script>

its fine if we use single stop file , because this issue is only meets on non-stop file (streaming).
Just change enable: true to enabled: false to see the problem
see the NETWORK tab under web console. you will see double buffering in there.
more simple preview to this bug:
we will use preload="metatag" to download meta only.
if we use default HTML5 audio player = 34-36 bytes downloaded
if we use plyr audio player = 68-72 bytes downloaded

Status on this?

Ready for PRs as always 👍

On 30 Nov 2018, at 4:52 pm, Thomas487<EMAIL_ADDRESS>wrote:
Status on this?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Digital Innovation Fund: update content for application launch

The Digital Innovation Fund will begin accepting applications on May 13. This issue is to update the Digital Innovation Fund page based on other communications about applications.

Google doc with proposed edits

New page published.


Route patterns matching

Codecov Report

Merging #23 (9c35391) into main (91ace3d) will decrease coverage by 3.33%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #23      +/-   ##
==========================================
- Coverage   80.34%   77.00%   -3.34%
==========================================
  Files          18       18
  Lines        2269     2270       +1
  Branches       88       92       +4
==========================================
- Hits         1823     1748      -75
- Misses        445      521      +76
  Partials        1        1

Impacted Files
Coverage Δ

src/Router/Pattern.ts
95.12% <100.00%> (+6.59%)
:arrow_up:

src/Router/Router.ts
78.58% <100.00%> (-8.68%)
:arrow_down:

src/Router/ErrorHandler.tsx
45.45% <0.00%> (-18.19%)
:arrow_down:

src/Helpers/Animations.ts
85.18% <0.00%> (-7.41%)
:arrow_down:

src/index.ts
95.65% <0.00%> (-4.35%)
:arrow_down:

src/Router/Route.ts
93.06% <0.00%> (-2.98%)
:arrow_down:

src/Router/Response.ts
83.79% <0.00%> (-1.68%)
:arrow_down:

src/Router/Request.ts
81.70% <0.00%> (-1.22%)
:arrow_down:

src/App.tsx
78.73% <0.00%> (-0.32%)
:arrow_down:

... and 1 more

Continue to review full report at Codecov.

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


svg File content disappears on formatting

I love coding svg directly with vscode. I like the code formatting abilities 'on save'.
Unfortunaltely I found that on some circumstances the file content disappears on format/save. Editor and File are empty. This can be reverted [ctrl] [z] but it is annoying.
Some reasons for disappearing:

The content is erroneous, e.g. missing close tag,
Some xmlns declarations are missing
A bitmap image inside.

For now I turned of 'format on save' but I suggest the behavoiur of other formatters:

keep the editor text if something on formatting goes wrong, just display a little notice even if the reason is not available.

Thanks in advance.
ervin
P.S. This might also be related to some other svg plugins, therefore I mention them:

svgo
svg Editor

Thank you for your feedback!
Fixed at 0.1.1 Version, Update it & Enjoy


I don't know how to use your open source wizard

But I want to. Help me open source some design assets. How do I say "Come and get it!" to the interwebs? Halp.

We are deploying tomorrow. I'm happy to show you around the system.


.NET - Msi Signature Valid after patching Property->ProductName

Hello, I stumbled upon this behavior, I don't think it's expected. Can you please take a look? Thank you.
Repro steps:

Copy data\msi\2dac4b.msi to data\msi\2dac4b_broken_productname.msi
Open data\msi\2dac4b_broken_productname.msi in Orca
Change Property->ProductName from Microsoft Visual Studio 2013 VsGraphics Helper Dependencies to XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Save data\msi\2dac4b_broken_productname.msi
Confirm in Windows Explorer that Digital Certificate is now invalid
Add following test case to net/JetBrains.SignatureVerifier/tests/MsiSignatureVerifierTests.cs

[TestCase(VerifySignatureStatus.InvalidSignature, "2dac4b_broken_productname.msi")]

Run test and confirm it fails with following error:

Expected: InvalidSignature
But was:  Valid

Expected behavior:

Test case succeeds ( == verification returns VerifySignatureStatus.InvalidSignature when checking 2dac4b_broken_productname.msi)

Screenshots:

Hi @tosmolka
Sorry for not informing you in time.
I have added a checksum verification for MSI, PE and Mach-O files in pull requests #38 and #39 which are already merged into master.
Unfortunately, the checksum verification required an API change because the original file stream is needed once again.
I have created AuthenticodeSignatureVerifier and MachOSignatureVerifier classes that include signature and hash verification.
At the moment I have made a 2.1.0-preview.1 release, but I am still working on it.
Please see the updated tests for a usage example.

Hi @tosmolka
We have finally released version 2.1.0 that has proper hashsum verification.

Thank you @Konstantin-Kretov , much appreciated. I did quickly test the change, it looks comprehensive and it fixes the issue on my side. Thanks you again.


Add @alexanderivrii, @ShellyGarion, @eliarbel to CODEOWNERS

Summary
In support of their on-going work under https://github.com/Qiskit/qiskit-terra/labels/synthesis , adding @alexanderivrii , @ShellyGarion and @eliarbel to CODEOWNERS for circuit/library, synthesis/ and transpiler/.
Details and comments

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.005%) to 83.714%

Totals

Change from base Build<PHONE_NUMBER>:
0.005%

Covered Lines:
52971

Relevant Lines:
63276

💛  - Coveralls


Website reverting to hosting placeholder page

https://openbenches.org/ shows a "Another website securely hosted by Krystal" holding page. I got a SSL security certificate warning beforehand

We're upgrading the hosting package thanks to some generous sponsors. Will be a little bit of downtime.

Upgrade complete. Shout if you notice any weirdness.


🐛 [cloud_firestore_odm_generator] Update analyzer dependency

Bug report
Can we upgrade analyzer dependency from 2.0 to 3.0 here? Asking because this prevents me to upgrade some other packages. Thanks!
Steps to reproduce
N/A
Expected behavior
N/A
Sample project
N/A
Additional context
N/A

Flutter doctor
N/A
Flutter dependencies
N/A

/cc @rrousselGit

Ha, I'm trying to update freezed, which uses 3.0.


Add HostNetworking container option to API.

This allows a container to run within the same networking namespace as
the host. This will be locked down by default using a flag on the master
and nodes (similar to how privileged is handled today).

/cc @bgrant0607 @dchen1107 @thockin @ArtfulCoder

LGTM

Waiting for @bgrant0607's lg :-)

LGTM, nits

Please post a comment once this PR is updated to address feedback.

All changes made, PTAL @bgrant0607

Do you have pre-submit hooks installed? They should have prevented you from committing this change.

@bgrant0607 I did not, but I just added them. Thanks for the pointer!

Do we have a test that covers this in the CI (to catch people like me who may have forgotten the hooks?)

LGTM

Thanks for the quick turn-around @bgrant0607!

hack/verify-description.sh is run by .travis.yml, but has been broken before. Shippable passed, so clearly it's not working, at least on Shippable.


(odsp-client): Duplicate TokenResponse

AB#8287

Couple nits but looks good I think - @anthony-murphy @jason-ha I think y'all are more familiar with AB#8287, does this look like a satisfactory resolution?

Looks good to me.
Should there be any notes about keeping these in sync? Do they need to be kept in sync right now? If so, we could add some tests that they are the same.

Couple nits but looks good I think - @anthony-murphy @jason-ha I think y'all are more familiar with AB#8287, does this look like a satisfactory resolution?

Looks good to me. Should there be any notes about keeping these in sync? Do they need to be kept in sync right now? If so, we could add some tests that they are the same.

I don't see a need for them to be in sync. Probably, the new interface should be renamed to IOdspTokenResponse or something else.  @ChumpChief, @anthony-murphy let me know if you feel different.

Couple nits but looks good I think - @anthony-murphy @jason-ha I think y'all are more familiar with AB#8287, does this look like a satisfactory resolution?

Looks good to me. Should there be any notes about keeping these in sync? Do they need to be kept in sync right now? If so, we could add some tests that they are the same.

I don't see a need for them to be in sync. Probably, the new interface should be renamed to IOdspTokenResponse or something else. @ChumpChief, @anthony-murphy let me know if you feel different.

Generally agree they don't need to be kept in sync (I think this is the purpose of having two versions with different tagging, is that they're permitted to change at different rates) - but I'd also probably not rename right now unless/until we have a strong motivation to deviate.  I think being exported from the odsp-client package is sufficient signal that this is an odsp-specific type.


Feature/action knot refactor

I hereby agree to the terms of the Knot.x Contributor License Agreement.

Fixing also https://github.com/Cognifide/knotx/issues/286

Fixing https://github.com/Cognifide/knotx/issues/140

Sure, I have the idea how to make it more behaviour specific.
2017-03-17 15:15 GMT+01:00 Maciej Laskowski<EMAIL_ADDRESS>
@Skejven requested changes on this pull request.
In knotx-knot/knotx-knot-action/src/main/java/io/knotx/knot/
action/ActionKnotProxyImpl.java
https://github.com/Cognifide/knotx/pull/288#discussion_r106657823:

@@ -0,0 +1,259 @@
+/*

I agree with @marcinczeczko https://github.com/marcinczeczko
Like the refactor very much but ActionKnotProxyImpl is too big and
complicated. Please try to divide it into smaller logic units.
In knotx-knot/knotx-knot-action/src/main/java/io/knotx/knot/
action/FormEntity.java
https://github.com/Cognifide/knotx/pull/288#discussion_r106658064:

private FormEntity identifier(String formIdentifier) {

this.identifier = formIdentifier;
return this;
}

private FormEntity adapter(AdapterMetadata adapterMetadata) {
this.adapter = adapterMetadata;
return this;
}

private FormEntity signalToUrlMapping(Map<String, String> signalToUrlMapping) {
this.signalToUrl = signalToUrlMapping;
return this;
}

private static String getFormIdentifier(Fragment fragment) {

How about providing some simple unit test for this and methods below?
It would require making them package scope or protected though.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Cognifide/knotx/pull/288#pullrequestreview-27592897,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHrL-eZbbHKWFnnrbZhal9sWKGwN7mfkks5rmpWTgaJpZM4Mffhw
.

--
M.Eng Tomasz Michalak
Senior Software Engineer


Update style.css

🛠 Fixes Issue : "#55"

👨💻 Changes proposed:

Made changes in the progress bar hover color form black to white
✔ Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.
[x] I am a participant of Hacktoberfest 2023.

📄 Note to reviewers

📷 Screenshots

Thank you for the contribution✨


Switch to new commercial license setup for Yocto.

Signed-off-by: Kristian Amlie<EMAIL_ADDRESS>

Heads up: I'm deliberately not fixing the dunfell/kirkstone syntax inconsistencies, since we have a separate task for that.


Update git to include trace2 V7

If there are any other changes in Git with this upgrade, could you add them to the PR description?

For some reason, the MacOS version of the Git package wasn't published to the MyGet feed. We'll need to get that figured out.


Generate chain specs and genesis for dev and stage

Genesis (Subzero runtime):

Balances
Tokens
Control

chain_spec (Subzero runtime):

DEV
STAGE

Test scenario:

Check if all endowed accounts have expected balances
Check if all orgs were created with proper treasury addresses
Check if all collators have proper keys
Build ok
Test ok

!Rebase and merge!
Commit was used to tag a docker image.

just focus on getting one done


Use case: copy data from Azure back to on-premise?

Is it possible to use Data Box Disk to copy data back to on-premise storage for a one-time use case?

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

ID: 037a0a65-382e-b2c4-4bf9-b393dd1ece69
Version Independent ID: 28c0046d-44af-c91e-1c84-b6fcfcd51be4
Content: Microsoft Azure Data Box Disk overview
Content Source: articles/databox/data-box-disk-overview.md
Service: databox
Sub-service: disk
GitHub Login: @alkohli
Microsoft Alias: alkohli

@markarnolditpro Data Box Disk will allow you to import your on-premises data into Azure. Export function is not implemented. You can use the Azure Import/Export service to export your Azure data back to on-premises storage. Is that what you are looking for? Thanks!

#please-close Given that this questions is answered, this can be closed. Thanks!


[Bug]: Cannot create GS-128 barcode

Describe the issue
Hi, according to the infromation: https://github.com/microsoft/BCApps/tree/main/src/System Application/App/Barcode#code128-value-110
Code-128 supports generating GS-128 barcode.
Also, we have info from the IDAutiomation that MS bought the appropriate font to generate GS-128 barcodes:
"Unfortunately, IDAutomation experience with Azure cloud and Business Central is limited to the information provided here: Barcode Integration Guide for Microsoft Dynamics 365 | Navision | Business Central (idautomation.com). To our knowledge, Microsoft has licensed our fonts/encoders for GS1-128 barcodes, but how to use the encoding tools provided by Microsoft will be up to them to provide you with instructions. I would recommend that you reach out to Microsoft to inquire as to how to use the IDAutomation tools that come with the cloud products for GS-128."
We tried to generate it, but without any success.
Expected behavior
Possibility to genere GS-128 barcode like this one:

How we can do this?
Steps to reproduce
Here is the example code we tried:

Result:

Additional context
No response
I will provide a fix for a bug

[ ] I will provide a fix for a bug

@ABYSTREK, are you suggesting to provide a fix for your issue, or are you merely logging a bug?

We managed to achieve the expected result, it turns out it was not a bug, but rather our lack of knowledge. Sorry for disturbance.


[CourrierInternationalBridge] Switch to FeedExpander (fix #778)

The aim of this PR is to switch CourrierInternationalBridge to a FeedExpander implementation.
This changes the order of articles returned (the order between the website and the RSS feed is not the same).
The main advantage is that by expanding the official feed we can get the attached article picture.

gj!


Separated an Interface Project with some Default Implementations from…

… the major Implementations to improve architectural boundaries and prepare easier .
Unfortunately had to separate out ModularKeyInfoFactory Constructor into a Delegate that is registered in the static Constructor of Database.cs. Otherwise most of the Implementations would have ended up in the interface project. You can probably find a better way to inject this functionality, for now it is sufficient to have the project working with all tests green.
You prepared this separation quite well by using interfaces for most implementations, but by putting all into a single project, the arcitectural boundaries are unclear and diluted. I hope I found a proper line to separate both. You might have had a different Separation in mind. This seemed to create the least coupling. I usually split my projects into three parts:

Interfaces, Data containers & Extension Methods
Default Interface Implementations
one project for each major Implementation Variant

Regards...
Matthias

I had to change quite a few classes and methods from 'internal' to 'public'. I could have made the impl. project a friend, but that would require that each alternative impl. is also entered as a friend project. I think the public methods and classes hurt less than the need to have access to the interface project.

Hi @SpocWeb - Sorry for the late response. You seem to put a great deal of effort into this change, however I don't really see the benefit of separating the contract from the main library. The primary goal of NMemory is to serve as the underlying engine of the Effort library. Because of that we never really meant to make its interface stable.


Lock minor version for plugins

What problem does this feature solve?
Consider our current version strategy:

A patch version may include the following changes:

Fixes for regressions introduced in previous versions
Fixes for buggy behaviors (of the binary, config or generator)

A minor version may include the following changes:

New command-line options
Generator template changes

Most of the time, even if the new template is completely different from the old one, it's still considered a semver-non-breaking change because it does not affect existing users' projects
This gives us the flexibility to upgrade a major version of an underlying dependency without bumping Vue CLI's version too aggressively (e.g., we can ship ESLint 5/6 support in a minor release)

But this strategy has its drawbacks.
First, in patch versions, the two types of fixes are not of equal importance:

For regressions, they should be fixed as soon as possible because they're unexpected behaviors for all users
For a buggy behavior, if exists for too long a time, it may be treated as a feature by some users. So fixing such a bug may be a breaking change for them

Secondly, for generator template changes, though they don't affect existing projects, we, on the other hand, don't have a convenient way to inform users to upgrade their projects' settings. This could become a huge maintenance burden in the long run.
One way to mitigate this issue is to utilize the vue upgrade command and write Migrators. But with current version strategy, people don't often realize its existence unless they're upgrading to a new major version, as npm automatically installs the latest minor versions even if they don't manually update the version ranges in package.json.
So here I'm proposing a new versioning strategy for Vue CLI plugins.
What does the proposed API look like?

In the generated project, the version range of the CLI plugins should start with a tilde (~) instead of the current caret (^)

It's recommended to periodically vue upgrade in the projects to check for new versions and try automatic migrations;
Other third-party peer dependencies are not bound to this versioning strategy because they might have their own concerns on release plans. It's better to be evaluated case by case. For example, we need to use ~ for the TypeScript version, while the ESLint version can start with ^.

Patch versions should only include fixes for regressions and security vulnerabilities. All other non-significant bug fixes should be postponed to the next minor release.

Secondly, for generator template changes, though they don't affect existing projects, we, on the other hand, don't have a convenient way to inform users to upgrade their projects' settings. This could become a huge maintenance burden in the long run.

Shouldn't this be divided into 2 different scenarios? One where we don't need to upgrade users' projects' settings and the other where we need to.
For example, I have a PR where I am adding an option to our router plugin which completely changes how it's run but the users' projects' settings won't be effected. It's not they are going to run the initial setup again.
I think, for even vue-cli plugins, we might need to do a case by case regarding ~ and ^.

One where we don't need to upgrade users' projects' settings and the other where we need to.

But in the long run, we want users to always use the latest setup. It makes a plugin author's life easier.
And they might never notice such changes during minor version updates if we don't try harder to inform them.
So what I proposed here is that we'd keep a ~ version range and encourage users to check for updates periodically. Because it's only minor version updates, the process should be quite smooth and without much burden.
It also makes auto migrations easier:

Currently vue upgrade is only used for major version upgrades but in a major release, there're always some changes that can't be automated away, so it doesn't do enough help as we expected. But if it's used in a minor version update then the migrator can be of greater help IMO.
One problem in the current implementation is that we can't easily determine which version the user's from.
For example, a user specifies<EMAIL_ADDRESS>in their project but the actual installation is of v3.12.1 because of semver, and they might have manually changed their folder structure according to the release notes of v3.7.0 or some other version.
When we want to programmatically update the project files, we can't even make a reasonable assumption about the project setup based on their specified or installed plugin version. This makes a migration script very hard to write.
Such issues can be mitigated with a ~ version range.


Map for events

It would be a great help for users to be able to see all our upcoming events on a map (ideally where the markers for events would act as links to the booking page, or where they provided other data about the event when one moused over or clicked on the marker).

So this is both straightforward but also very hard. It's easy to add a map to the events page, and populate it with icons that tell you all about the event when clicked. What's hard is getting the position of the event from the postcode - given that we have postcode, it seems silly to ask for lat and long when we already have functionality to go from one to the other.
It's just that accessing that functionality and caching it correctly is hard. I'd need to talk to Ian or Steve about the balance between expanding the location service to augment events with lat/long values based on their postcodes, and just adding lat/long to the events themselves and requiring them to be specified in the content editor . . .

This was relatively simple to add, but it only shows events if we already know the lat/long of the postcode (i.e. we have looked up its location before because there's an Isaac school there). This is true for maybe half the events; I'd need to change the code quite dramatically to avoid taking forever to load if we didn't already have the location and had to send off a request to look it up . . .

Add this to events_page.html:
  <ui-gmap-google-map center='map.center' zoom='map.zoom' ng-if="locations.length != 0">
      <ui-gmap-markers models="locations" coords="'self'" icon="'icon'" events="map.markersEvents">
      </ui-gmap-markers>
      <ui-gmap-window show="map.window.show" coords="map.window.model" options="map.window.options" closeclick="map.window.closeClick()">

{{eventPopup.title}}

          {{eventPopup.subtitle}}

          When:  <time datetime="{{eventPopup.date | date:'yyyy-MM-dd H:mm'}}">{{eventPopup.date | date : 'EEE d MMM yyyy'}}</time>

          Location:  {{eventPopup.location.addressLine1}}{{eventPopup.location.town ? ", "+eventPopup.location.town : ""}}

Places: {{eventPopup.numberOfPlaces - eventPopup.numberOfConfirmedBookings}}

          View Full Details

      </ui-gmap-window>
  </ui-gmap-google-map>

and add this to EventsController.js:
$scope.eventPopup = {};

$scope.map = {
    center: {latitude: 54.5, longitude: -2},
    zoom: 5,
    markersEvents: {
        click: function(marker, eventName, model, args) {
            $scope.map.window.model = model;
            $scope.eventPopup = model;
            $scope.map.window.show = true;
        }
    },
    window: {
        marker:{},
        show: false,
        closeClick: function() {this.show = false;},
        options: {}
    }
};
$scope.locations = [];

$scope.loadMap = function() {
    api.eventOverview.get({"limit":-1, "startIndex": 0, "showActiveOnly": showActiveOnly}).$promise.then(function(result) {
        $scope.locations = result.results;
    });
}

and call loadMap() from a sensible place (like in loadMore()), and voila! But it only shows maybe half the events, which is a tad problematic :P

So this has been added, and we're just accepting that lat/long's will be manually entered in the content editor.
See https://github.com/ucam-cl-dtg/isaac-app/commit/7bad319d3600486c6d253b44bb23623be462ee37
and https://github.com/ucam-cl-dtg/isaac-api/commit/a21234ca33d68f62ae00db2b8f3e377724ff7bdb


VScode does not ask for credentials when pulling from https git repo

Issue Type: Bug
VS code suddenly stopped showing the usual authentication pop-up when pulling/pushing from a git repository, cloned via https.
Any action ends inevitably with an "authentication failed" error.
I've tried to uninstall VS code, but nothing changed. I've already cleared every credentials in the .gitconfig file , and unset the credential.helper . I've also never chanded the defaut config in VS code.
VS Code version: Code 1.62.2 (3a6960b964327f0e3882ce18fcebd07ed191b316, 2021-11-11T20:51:30.084Z)
OS version: Linux x64 5.11.0-40-generic
Restricted Mode: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz (8 x 2100)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offopengl: enabled_onrasterization: disabled_softwareskia_renderer: enabled_onvideo_decode: disabled_softwarevulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
1, 1, 1

Memory (System)
15.30GB (4.54GB free)

Process Argv
--unity-launch /home/fulvia/Scrivania/miur-concorsi/cpd2021-istituti-web --crash-reporter-id 93a93ebb-544e-40b4-abbe-4daa8b91db64

Screen Reader
no

VM
0%

DESKTOP_SESSION
ubuntu

XDG_CURRENT_DESKTOP
Unity

XDG_SESSION_DESKTOP
ubuntu

XDG_SESSION_TYPE
x11

Extensions (14)

Extension
Author (truncated)
Version

Angular2
joh
12.0.0

vscode-docker
ms-
1.18.0

vscode-language-pack-it
MS-
1.62.3

remote-containers
ms-
0.205.2

vetur
oct
0.35.0

material-icon-theme
PKi
4.10.0

java
red
1.0.0

LiveServer
rit
5.6.1

vscodeintellicode
Vis
1.2.14

vscode-java-debug
vsc
0.36.0

vscode-java-dependency
vsc
0.18.8

vscode-java-pack
vsc
0.18.6

vscode-java-test
vsc
0.32.0

vscode-maven
vsc
0.34.1

Same happens to me. Plus, I'm unable to push any commit into github, I always receive the error fatal: Authentication failed for 'https://github.com/...';.

/duplicate of #137183 which is scheduled to be fixed in upcoming recovery release (1.62.3)


Clarify wording of SPEC4

Clarifying wording of SPEC4.
Many thanks to @stefanv, @lagru, and @QuLogic for the feedback on the initial PR!

pre-commit.ci autofix


Convert code to be used as a module.

If there is time, we can work on converting the code as a package that can be run.

I've looked into this and should be reasonable easy, but it should probably be the last thing we do. It shouldnt need any modifications to the existing code, just needs to be packaged and uploaded (possibly some instructions writing too).
With the extension till Tuesday I'll do it Monday afternoon/evening perhaps?   So everything will need to be finalized before then.

About the extension, i believe his email says that we should work on finalising what already there, than new features and that if we want to do anything new, we need to email him or something?

Alright, ill send him an email.

Could I package the software? as I feel like I haven't been able to contribute as much as I wanted.

Of course, ill make a branch for this issue, and you can use that space to work on it.

Cool. so when should I do it for? the Friday old deadline or for the Tuesday new deadline. As It wont take long

Whenever you can, between now and Tuesday is fine.

K

in case anyone's wondering, to confirm I am completing this now

https://packaging.python.org/en/latest/tutorials/packaging-projects/#creating-the-package-files
Hi guys, was wondering if anyone sees this tonight. For this issue would you like me to do what the link above suggests and:
Generate distribution archives and upload the distribution archives to the python package index for the python project we have made? like what sort of output are you expecting from this step.

its literally a couple of lines just need clarification on what the output we as a group are expecting

trying to install the package and running into errors. The code py -m build is supposed to output a .whl and .gz file

nvm i fixed the error in pyproject.toml file

https://test.pypi.org/project/Solving-tdse-group-c/0.0.1/
^^ is the link for the package on test pypi which is a separate instance of the package index intended for testing and experimentation.

to test if it works we run the line:
py -m pip install --index-url https://test.pypi.org/simple/ --no-deps Solving_tdse_group_c
apparently


argo UI shows blank page

Is this a BUG REPORT or FEATURE REQUEST?:
Bug
What happened:
I deployed argo as part of kuebflow new version 0.4.1 the UI show blank page. however, I can submit jobs wout any problem.
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
I dont see any log in ui container.
Anything else we need to know?:
I inspect in chrome and all 200 in network section.
however in Console part I see  Uncaught SyntaxError: Unexpected token <
Environment:

Argo version:

$ argo version
argo: v2.2.1
  BuildDate: 2018-10-11T16:25:59Z
  GitCommit: 3b52b26190163d1f72f3aef1a39f9f291378dafb
  GitTreeState: clean
  GitTag: v2.2.1
  GoVersion: go1.10.3
  Compiler: gc
  Platform: darwin/amd64

Kubernetes version :

$ kubectl version -o yaml
➜  ks_app git:(master) ✗ kubectl version -o yaml
clientVersion:
  buildDate: 2018-07-10T10:13:58Z
  compiler: gc
  gitCommit: 91e7b4fd31fcd3d5f436da26c980becec37ceefe
  gitTreeState: clean
  gitVersion: v1.11.0
  goVersion: go1.10.3
  major: "1"
  minor: "11"
  platform: darwin/amd64
serverVersion:
  buildDate: 2018-12-06T23:13:14Z
  compiler: gc
  gitCommit: 6bad6d9c768dc0864dab48a11653aa53b5a47043
  gitTreeState: clean
  gitVersion: v1.11.5-eks-6bad6d
  goVersion: go1.10.3
  major: "1"
  minor: 11+
  platform: linux/amd64

Other debugging information (if applicable):

workflow result:

$ argo get <workflowname>

executor logs:

$ kubectl logs <failedpodname> -c init
$ kubectl logs <failedpodname> -c wait

workflow-controller logs:

$ kubectl logs -n kube-system $(kubectl get pods -l app=workflow-controller -n kube-system -o name)

@hamedhsn
If you deploy Argo as a part of Kubeflow, you can access to ArgoUI only using Ambassador reverse proxy right now.
You can have a look at this: https://github.com/argoproj/argo/issues/716#issuecomment-433213190.
If you want to access ArgoUI without Ambassador, you need to delete this environment variable (https://github.com/kubeflow/kubeflow/blob/master/kubeflow/argo/argo.libsonnet#L161) from ArgoUI deployment in Argo Package from Kubeflow repository.

@andreyvelich thanks for the help..all sorted.
/close


Remote Work Item update override system.state value set in almighty

Not sure the correct solution here is to 'not' update the values from the Remote since the remote should be considered the Source, but perhaps we need some way of describing and upholding which values can not be set by the user in almighty on these work items.
Note: issue for tracking

@aslakknutsen what question do you have for UI/UX here? Is this still relevant?

The general questions are:

What information is imported from remote tracker
What information is 'locked' from changing in Planner

How is it related to the UI? Both of the questions look like they should be decided outside the UI.

It's UX really, not UI

@crobson this is another thing to go on your list.


fix(publish): don't try to figure out the repository to publish to until after the version is set

From #logistics:

oddly project.version is not working in publish.gradle for the engine (returns "unspecified")

This PR moves that code in to an afterEvaluate block to give it a chance to load the version first. This is the solution offered by the gradle manual.
How to test
gradlew :engine:publish is the task,
the condition is when a publishRepo gradle property is not set.
Brief description of how to test / confirm this PR before merging
[fixme: add more details about how to test and what to look for]

The cumulative diff is messy in GitHub due to a refactor. The functional change is in commit 0d635e23bd63f747831418859605dd630d5aa742.

Wondering how to test this, I imagined there would be some sort of gradle report to run that would show its repositories. But I don't see it showing up in components or outgoingVariants or any of the other reports.
I did gradlew :engine:publish --info --dry-run
and there are log lines in there that say

The final deduced publish repo is terasology-snapshot-local

but it doesn't show the URL, and it's only there because we have added that log line ourselves, and it happens during configuration phase so the one for :engine is mixed in with alllll the other sub-projects (which is a lot if you have modules checked out).

I just tested it by running the publish normally knowing it would fail from no credentials, heh. Brute force, simple, works (by failing successfully!)
Would indeed be nice to see all the target URLs nicely lined up. At one point it did at least get logged in a nice block when a publish succeeded, but I haven't seen that for a little while (?) and that doesn't really help troubleshoot failures either.


Change the structure of the app.py

Separate the app.py into several files as shown in lecture 5.

seems done


Resolve starter issues when trying to deploy to GraphQL

This pull request refactors schema issues reported as errors whenever, in the terminal, someone tried to run the command:
yarn deploy-graphql

additional items were added like the ability to store environment variables for the projectID and dataset and adds an ignore for the .vscode directory.

Thank you @codingChewie - this looks great and we will review.


JsonWebTokenError

🐛 Summary
Hi, when running this on a local container as I just want to try it out I keep getting this error:
crossfeed-master-22-backend-1   | JsonWebTokenError: jwt must be provided
crossfeed-master-22-backend-1   |     at Object.module.exports [as verify] (/app/node_modules/jsonwebtoken/verify.js:53:17)
crossfeed-master-22-backend-1   |     at /app/src/api/auth.ts:207:20
crossfeed-master-22-backend-1   |     at step (/app/src/api/auth.ts:33:23)
crossfeed-master-22-backend-1   |     at Object.next (/app/src/api/auth.ts:14:53)
crossfeed-master-22-backend-1   |     at fulfilled (/app/src/api/auth.ts:5:58)
crossfeed-master-22-backend-1   |     at processTicksAndRejections (node:internal/process/task_queues:95:5)
crossfeed-master-22-backend-1   | TypeError: Cannot read properties of undefined (reading 'getPublicKey')
crossfeed-master-22-backend-1   |     at Immediate. (/app/src/api/auth.ts:52:28)
crossfeed-master-22-backend-1   |     at processImmediate (node:internal/timers:478:21)
crossfeed-master-22-backend-1   | [ERROR] 19:36:18 TypeError: Cannot read properties of undefined (reading 'getPublicKey')
I have set a JWT_SECRET in my .env file but it is the exact same error.
To reproduce
Steps to reproduce the behavior:

Once I have logged in (with cognito) I get this error in my terminal window
The web page just says Welcome to Crossfeed but nothing else

Any guidance would be appreciated.
Thanks

@epicfaace Yes, I followed all of the instructions and my .env file has all necessary settings.

A temporary fix, keeping this open because it is a bug
Reviving Crossfeed if it Reaches an Inoperable State
If your local version of Crossfeed has reached a state where you are able to login but you only see a blank screen with “Welcome to Crossfeed” like below do the following steps.

Check to make sure all the containers are running

Using your preferred method, restart the crossfeed_backend container, docker restart crossfeed_backend_1

Sync the database from /backend , npm run syncdb

Delete the cookies from the browser for Crossfeed

Refresh the page (F5)

You may have to register again but all of the data should still be there

Thanks @mbachtell-nais. I tried all those, but still getting the same error and experience. I am not sure if it matters, but I am running this on an arm based mac. I am trying to track down an x86 machine to run it on instead or at least try running it under emulation.

Did you try a docker system prune to remove the stopped Crossfeed containers to remove the old ones and then trying this?
Be aware that running that will remove ALL stopped containers.  Meaning those outside Crossfeed as well.

@mbachtell-nais thanks, I tried all of these but still no luck. I also noticed that the docs container keeps crashing too, with this error:
2023-05-16 11:53:21  ERROR  UNKNOWN 2023-05-16 11:53:21  2023-05-16 11:53:21 Module not found: Error: Can't resolve '../generated/swagger.json' in 2023-05-16 11:53:21 '/app/docs/src/templates

OK, so I switched back to using login.gov and I am not able to get into the site instead of using our own cognito auth.


Add SVD2LLDB LLDB plugin

Introduce the SVD2LLDB plugin to improve debugging of MMIO registers using LLDB. It leverages the SVD library to parse CMSIS SVD files, enabling you to interact with device registers by name rather than raw memory addresses and values.
Example uses of SVD2LLDB:

Load the SVD file corresponding to the target device:

(lldb) svd load ~/Downloads/STM32F7x6.svd
Loaded SVD file: “STM32F7x6.svd”

Read the value of a hardware register using its name:

(lldb) svd read GPIOA.MODER
GPIOA.MODER: 0x2800_0000

Modify the value of a hardware register using its name:

(lldb) svd write GPIOA.MODER 0x12345678
GPIOA.MODER: 0x12345678

Decode the value 0x0123_4567 for register TIMER0.CR with a visual diagram:

(lldb) svd decode TIMER0.CR 0x0123_4567 --visual
TIMER0.CR: 0x0123_4567

                      ╭╴CNTSRC  ╭╴RST
  ╭╴S   ╭╴RELOAD╭╴CAPEDGE  ╭╴MODE
  ┴     ┴─      ┴─    ┴─── ┴──  ┴
0b00000001001000110100010101100111
      ┬─    ┬─    ┬───    ┬   ┬─ ┬
      ╰╴IDR ╰╴TRGEXT      ╰╴PSC  ╰╴EN
                  ╰╴CAPSRC    ╰╴CNT

[31:31] S       0x0 (STOP)
[27:26] IDR     0x0 (KEEP)
[25:24] RELOAD  0x1 (RELOAD1)
[21:20] TRGEXT  0x2 (DMA2)
[17:16] CAPEDGE 0x3
[15:12] CAPSRC  0x4 (GPIOA_3)
[11:8]  CNTSRC  0x5 (CAP_SRC_div32)
[7:7]   PSC     0x0 (Disabled)
[6:4]   MODE    0x6
[3:2]   CNT     0x1 (Count_DOWN)
[1:1]   RST     0x1 (Reset_Timer)
[0:0]   EN      0x1 (Enable)

SVD2LLDB is hidden behind a feature flag as it requires LLDB.framework headers to build which are not always available, see documentation for details on how to build the plugin.
Additionally this commit includes some improvements internal integer parsing and printing logic.

Replace this paragraph with a description of your changes and rationale. Provide links to an existing issue or external references/discussions, if appropriate.
Checklist

[x] I've added at least one test that validates that my change is working, if appropriate
[x] I've followed the code style of the rest of the project
[x] I've read the Contribution Guidelines
[x] I've updated the documentation if necessary

@swift-ci test

@swift-ci test

@swift-ci test

@swift-ci test

@swift-ci test

Oh that took so much pain time to get working through CI...

macOS tests are failing due to file check and not this PR, all "SVD2LLDBTests" are passing