Android security killing nix process

Sometimes Android kills the nix process for the security reasons. Seems a bit random. For example, when running nix profile list five times, only one execution fails with:
bash-5.2$ nix profile list
Killed

And the following error pops out:

That's definitely a false positive from some security heuristics system. Any ideas where this comes from?
I haven't observed anything similar on Termux, so I don't if it's related to nix or Termux.
Android 14
OxygenOS 14.0

I don't know what is this mechanism.

Looks like BitWarden does some stuff, not sure what exactly..

@Gerschtli that's just bitwarden autocompletion service saying that the vault is locked. I doubt it is making a difference here.

This one was odd. Turns out it's not a nix-on-droid bug, but it's an accessibility setting that's interfering somehow.

Go to Android Settings > Additional Settings > Accessibility > Accessibility Menu, set "Shortcut" to Off.
Go to Android Settings > Additional Settings > Accessibility > Downloaded apps, disable all, disable all, disable shortcuts for all of them.

After that, nix profile isn't killed by OS anymore.

Getting the same problem right after installing the app when it tries to bootstrap Nix. Using Oxygen 14.0 (on Android 14) as well. Tried turning off all the accessibility shortcuts, but to no avail (they weren't turned on in the first place)

On July 20, 2024 1:06:12 AM GMT+03:00, Elk Cloner @.***> wrote:

Getting the same problem right after installing the app when it tries to bootstrap Nix. Using Oxygen 14.0 (on Android 14) as well. Tried turning off all the accessibility shortcuts, but to no avail (they weren't turned on in the first place)

Try "acquire wakelock" in the notification. https://dontkillmyapp.com is a good resource with per-vendor instructions, try that.

I tried all that, even disabled killing of phantom processes as described here, but it's still the same problem. It's not like it's getting killed because of battery-hogging, android thinks that the app is malicious for some reason.

I'm afraid you'd have to find and disable the heuristics. I don't think there's something to be done from my side, sorry...
The bootstrap is resource-intensive, maybe that's suspicious to it.

@elkcl My money is still on accessibility settings. Are you sure you have everything disabled in accessibility settings?  I don't remember If I did that too.

@carbolymer Yes, I've tried doing all that, and it still doesn't work. I've found out that other Oneplus 12 users on Oxygen OS 14 also have a similar problem, the security alert is triggered if you try to launch more than 40 processes under proot for some reason (it isn't triggered if not under proot, and turning off phantom process restrictions in the developer options also doesn't help)
https://xdaforums.com/t/termux-processes-getting-flagged-as-malicious-software-and-killed.4660971/
https://community.oneplus.com/thread/1625392448551256065

nix-on-droid is dead on Oxygen OS 15: https://old.reddit.com/r/termux/comments/1gks9mf/announcement_termux_broken_on_android_15_for/

Damn, that sucks. Thanks for the heads up, looks like I'm skipping this update for now


[ROCM] Fix xla_call_module_test

This PR has added ROCm for xla_call_module_test.
/cc  @cheshire

Hi @cheshire Can you please review this PR ? Thank you!

@i-chaochen can you address merge conflicts?

@i-chaochen can you address merge conflicts?

Thanks for the notice, it's done!

Hi @reedwm Can you please review this PR ? Thank you!


Using LSTM instead of MLPVanilla

In order to use LSTM instead of MLPVanilla with the CoxTime and CoxPH models, I have the following model class. It works mechanically, but I want to make sure that the implementation is theoretically correct. I'm trying to make each patient the input sequence for the LSTM model and the hidden and cell states can be transferred within that sequence, not on the whole batch of patients as a sequence. Would you be able to share some insights?
from torch import nn

class LSTMCox(nn.Module):
    def __init__(self, embedding_dim, hidden_dim, n_layers, output_size):
      super(LSTMCox, self).__init__()
      self.n_layers = n_layers
      self.hidden_dim = hidden_dim
      self.embedding_dim = embedding_dim

      self.lstm = nn.LSTM(embedding_dim, hidden_dim, n_layers)
      self.fc = nn.Linear(hidden_dim, output_size)
      self.activation = nn.ReLU()

    def forward(self, input):
      input = input.view(len(input), 1, self.embedding_dim)

      lstm_out, _ = self.lstm(input)
      lstm_out = lstm_out.contiguous().view(len(input), -1)

      out = self.fc(lstm_out)
      out = self.activation(out)

      return out

net = LSTMCox(in_features, 512, 1, 1)
model = CoxPH(net, tt.optim.Adam)
model.optimizer.set_lr(0.01)
log = model.fit(x_train, y_train, batch_size, epochs, callbacks, val_data=val, val_batch_size=batch_size)

Moved to https://github.com/havakv/pycox/issues/53


Project cannot be started

   <parent>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-parent</artifactId>
        <version>3.0.6</version>
        <relativePath/> <!-- lookup parent from repository -->
    </parent>
<dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-stream</artifactId>
        </dependency>
        <dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-stream-binder-kafka-streams</artifactId>
        </dependency>

definition will report errors if multiple definitions are used because this version cannot setdifinition
spring:
  cloud:
    stream:
      definition: process,process1
      function:
        definition: process;process1
        bindings:
          process-in-0:
            consumer:
              concurrency: 1
              maxAttempts: 1
            destination: words
          process-out-0:
            destination: counts
          process1-in-0:
            group: anotherGroup
            consumer:
              concurrency: 1
              maxAttempts: 1
            destination: counts

private void addResolvableTypeInfo(String key, ResolvableType resolvableType) {
		if (kafkaStreamsOnlyResolvableTypes.size() == 1) {
			resolvableTypeMap.put(key, resolvableType);
		}
		else {
			final String definition = streamFunctionProperties.getDefinition();
			if (definition == null) {
				throw new IllegalStateException("Multiple functions found, but function definition property is not set.");
			}
			else if (definition.contains(key)) {
				resolvableTypeMap.put(key, resolvableType);
			}
		}
	}

But properties cannot be injected because there is no setdifinition method
@ConfigurationProperties("spring.cloud.stream.function")
public class StreamFunctionConfigurationProperties {
	private Map<String, String> bindings = new HashMap<>();

	public Map<String, String> getBindings() {
		return this.bindings;
	}

	public void setBindings(Map<String, String> bindings) {
		this.bindings = bindings;
	}
}

Why did you open this here rather than against spring-cloud-stream?
Also, add the stack trace.

Setting a value for a non-existent property is not fatal, it is simply ignored.
If you are still having problems, open an issue for the right project and provide more information.


Client picks 0.11.0a2 over 0.11.0 when using the  --task-name option without a version specified

The current 1.3.4 client defaults to using the 0.11.0a2 pre-release tasks over the 0.11.0 released tasks when the task is specified as e.g. fractal --batch workflow add-task $PRJ_ID $WF_ID --task-name "Convert Yokogawa to OME-Zarr"
I have removed the .cache folder, the behavior remains the same. It would be great to improve the heuristics of task version picking for the CLI client, so that it always picks the most recent available task without having to use the --task-version option

This is the relevant line:
https://github.com/fractal-analytics-platform/fractal/blob/main/fractal/cmd/_aux_task_caching.py#L156C1-L156C80
together with
Python 3.10.12 (main, Jun 11 2023, 05:26:28) [GCC 11.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> "0.11.0" > "0.11.0a2"
False

>>> from packaging import version
>>> version.parse("0.11.0a2") < version.parse("0.11.0")

Or use https://python-semver.readthedocs.io/en/latest/usage/compare-versions.html which should even work with max().

For the record, we should pick one reference for the definition of a version. The same exact discussion already took place in https://github.com/fractal-analytics-platform/fractal-web/issues/149#issuecomment-1614329655, since the SemVer specs (implemented e.g. in https://python-semver.readthedocs.io/en/latest/index.html or https://www.npmjs.com/package/semver) differ from the Python version specs (defined in PEP 440).
Luckily the difference does not apply to X.Y.Z releases, so that our only issue here is that we should not fail in parsing the version strings - and then we don't have a very strong opinion about sorting 1.0.0c2 with respect to 1.0.0alpha3.
The choice in fractal-web was to use the loose parameter of JavaScript semver package. The python semver package doesn't include a similar parameter (only optional_minor_and_patch, which is not enough) and then easily results in parsing errors (e.g. for 0.10.0c2). The packaging.version one seems to accept more inputs, and then I will proceed with this one for the moment.

This is in principle fixed with 1.3.5a0.
I'll bump to 1.3.5 (and close this issue) as soon as one of us can confirm it works as expected.

I confirm that the new behavior matches with the expected one.
# fractal-client 1.3.4

fractal workflow add-task 1 1 --task-name "Create OME-Zarr structure"
--> add task with source "pip_remote:fractal_tasks_core:0.11.0a2:fractal-tasks::create_ome-zarr_structure"

# fractal-client 1.3.5a0

fractal workflow add-task 1 1 --task-name "Create OME-Zarr structure"
--> add task with source "pip_remote:fractal_tasks_core:0.11.0:fractal-tasks::create_ome-zarr_structure"

(now available in 1.3.5)


Transparency issues

Description
Models are loaded with material.side = THREE.DoubleSided, which causes rendering issues with non-opaque materials.

I don't recall seeing any API to access the THREE.js layer, so i'm kinda out of alternatives, but setting THREE.FrontSide or THREE.BackSide to the side property of the material should suffice.
Live Demo
https://glitch.com/edit/#!/granite-lemur
Browser Affected

[x] Chrome
[ ] Edge
[ ] Firefox
[ ] Helios
[ ] IE
[x] Safari

OS

[x] Android
[x] iOS
[ ] Linux
[x] MacOS
[ ] Windows

Versions

model-viewer: v0.6.0
three.js: rXX

Hey, thanks for checking in with us before giving up 👍 I did some reading and took a stab at tweaking your model for better results. Let me know if this addresses your problem!
Scanning the glTF spec, it looks like materials support being configured as double sided.
Scanning the GLTFLoader source code, it also looks like Three.js respects this property.
Popping your model into Blender 2.8, I was able to turn on backface culling:

...leading to this improved result:

Here is my tweaked version of your demo model: export-fixed.glb.zip

Yep, it just occurred to me that we're using an automated pipeline to export the models. One of the stages of the pipeline is actually obj2gltf, which automatically sets DoubleSided on the material properties if the material is transparent.
Thanks for your help!
Should problems like these rise again, have you considered exposing some parts of the rendering layer to the model-viewer api?

Yes! We have speculated about exposing the scene graph via a "render worklet" of some kind (previous public discussion here and here). This wouldn't give you direct access to the Three.js API, but it would give you a lot of flexibility to tweak the models at runtime.
Since this has come up a few times, I have now filed https://github.com/GoogleWebComponents/model-viewer/issues/738 to cover our current ideas on the matter. Your feedback would be welcome there 👍


I'm not sure where I can start from

I'm hoony who is interested in this project, ipfs.
even though I read specs, structures, and codes, but I don't know where I can start to contribute from. I think It would be great starting point to me like something you leave because it's too easy(?) or troublesome.
Or is there something left not yet covered on this repo?
thanks.

Hi @hoony and welcome :)
Have you had the chance to check https://github.com/ipfs/js-ipfs/issues ? For example for this specific piece, we have an issue that lists where we need help on: https://github.com/ipfs/js-ipfs/issues/21
Feel free to post questions as you go and thank you for contributing :)

@hoony, best thing now is to follow the js-ipfs Captain.log https://github.com/ipfs/js-ipfs/issues/30#issuecomment-239642234 , also join us on the Monday hangouts!


[Schema Registry] Update Dependencies in package.json

Packages impacted by this PR
@azure/schema-registry
@azure/schema-registry-avro
Issues associated with this PR
#29866
Describe the problem that is addressed by this PR
Update the dependency version for @azure/core-client in @azure/schema-registry. Skip failing test in @azure/scheme-registry-avro
What are the possible designs available to address the problem? If there are more than one possible design, why was the one in this PR chosen?
Are there test cases added in this PR? (If not, why?)
Provide a list of related PRs (if any)
Command used to generate this PR:**(Applicable only to SDK release request PRs)
Checklists

[ ] Added impacted package name to the issue description
[ ] Does this PR needs any fixes in the SDK Generator?** (If so, create an Issue in the Autorest/typescript repository and link it here)
[ ] Added a changelog (if necessary)

API change check
API changes are not detected in this pull request.

Live test passes here


Create a "profile README"

Ideally, we would have:

Link to resume (embed link?)
List out Python projects (also links to generated, source documentation?)
Github score thing?

Update profile BIO as well.

Maybe the order we should do this is:

Update profile bio
Figure out hosting pydocs HTML on vkottler.github.io (we need to generate all of it)
Update README templates for Python packages to somehow link to that documentation

Then either:

Continue working on svgen so we can get logo generation stable again?
Start building the profile repo, add Python packages
Should vkottler.github.io top-level just link to my github profile?

https://docs.github.com/en/account-and-profile/setting-up-and-managing-your-github-profile/customizing-your-profile/managing-your-profile-readme

Got the initial commit done. Need to somehow link to "dotfiles" and "resume", removed those as pinned repositories.

What we might want to do is clean up "workspace" and figure out how to let the profile README know about the various Python projects

We've successfully migrated CI for Python packages to all current packages, we should maybe do https://github.com/vkottler/vmklib/issues/10 and then move into per-package documentation generation.
Once that's done we could stably link to that generated documentation from README's and the profile README

Next step is finding a way to generate and commit all of the Python module documentation to the github pages repository. once that's complete, we can add links to it in the README's.

the above comment captures the intent of this ticket: https://github.com/vkottler/workspace/issues/8
right now we're adding some capability to vcorelib to finish porting over most of the generic + good datazen code (then we can use it in workspace scripts, too)

Time to write the script(s) to generate the per-package documentation (and, write some basic configs in the workspace to power this?)

Each README now links to its generated documentation, so now we can work on some of the fun stuff: profile README linking to each of those projects, an index page in vkottler.github.io. etc.

We definitely should fix this again though: https://github.com/vkottler/vtelem/issues/33
it should at least time out, minimum

This is initially up to date with Python projects. We should add more but do so one different issues. The next step is to continue working on the logo(s).


[Suggestion] Use PlexPy server down/up tricker for Plex Status

I would suggest looking into using the PlexPy tricker for tracker server up or down as you can now make your own custom scripts. This will add a nice automation of the status in case the Plex Media Server service dies.

I think PRs #2 and #5 address this without the need for PlexPy.

Ah okay. Did not see the closed pullrequests


PostgreSQL module: Sensitive value errors creating new instance

I'm trying to create a new private PostgreSQL Cloud SQL instance using terragrunt v0.31.0 and terraform v1.0.0.
Using the latest version of the PostgreSQL module (v5.1.1), when I run terragrunt plan or terragrunt apply, It throws these errors:
╷
│ Error: Output refers to sensitive values
│
│   on outputs.tf line 101:
│  101: output "primary" {
│
│ To reduce the risk of accidentally exporting sensitive data that was
│ intended to be only internal, Terraform requires that any root module
│ output containing sensitive data be explicitly marked as sensitive, to
│ confirm your intent.
│
│ If you do intend to export this data, annotate the output value as
│ sensitive by adding the following argument:
│     sensitive = true
╵
╷
│ Error: Output refers to sensitive values
│
│   on outputs.tf line 111:
│  111: output "instances" {
│
│ To reduce the risk of accidentally exporting sensitive data that was
│ intended to be only internal, Terraform requires that any root module
│ output containing sensitive data be explicitly marked as sensitive, to
│ confirm your intent.
│
│ If you do intend to export this data, annotate the output value as
│ sensitive by adding the following argument:
│     sensitive = true

Here is the terragrunt-debug.tfvars.json, which contains the variable's values for the module:
{
  "availability_type": "ZONAL",
  "database_version": "POSTGRES_11_10",
  "enable_default_db": false,
  "ip_configuration": {
    "authorized_networks": [],
    "ipv4_enabled": false,
    "private_network": "https://www.googleapis.com/compute/v1/projects/mocked/global/networks/mocked",
    "require_ssl": null
  },
  "name": "mocked",
  "project_id": "mocked",
  "region": "europe-west1",
  "tier": "db-f1-micro",
  "zone": "europe-west1b"
}

Should be resolved setting primary and instances outputs as sensitive?

This is a bit of a complicated nuance and frankly I think terragrunt needs to do a better job here.
In Terraform core, only outputs from the root module need to be marked as sensitive. Terraform fixed this in v0.15.1.
This module should never be used directly as a root module. The way Terraform works is that you should have your own root module which calls other modules. Terragrunt encouraging you to directly use this module as a root module is an anti-pattern.
Note: we will accept a PR to mark these values as sensitive, but they really shouldn't be. Terragrunt needs to do better here.

Thanks for the feedback. I will create an internal module to call this one, and prevent the sensitive output to be viewed.


add base64 encode for self-signed certificate and key pem data

Establish a test environment for stunnerd locally. Follow the steps below.
Prerequisite

golang1.20.3

Installation

Download the mediatx from the repository https://github.com/aler9/mediamtx.git as the streaming server.

cd

git clone https://github.com/aler9/mediamtx.git

cd mediamtx

make binaries

modify the config option in the mediamtx.yml
webrtcICEServers: [turn:user1:passwd1::3478?transport=dtls]

./mediatx

Note
Replace the host-ip field with your own host's ip.

Download a binary tool called as ffmpeg which is used to publish a video stream to mediatx.
For example, on macOS, run the command like below

brew install ffmpeg

Download a video material http://vjs.zencdn.net/v/oceans.mp4.

wget http://vjs.zencdn.net/v/oceans.mp4 -O test.mp4

Publish the above video to the mediatx.

ffmpeg -re -stream_loop -1 -i test.mp4 -c:v libx264 -an -b:v 500k -bufsize 500k -preset ultrafast  -rtsp_transport tcp -f rtsp rtsp://<IP_ADDRESS>:8554/mystream

Download the stunnerd source from the repository.

cd stunner
go build -o stunnerd cmd/stunnerd/main.go
./stunnerd --log=all:TRACE turn://user1:passwd1@:3478?transport=dtls

Note
Replace the host-ip with your own host's ip.
Before modifying the code, the stunnerd's log looks like:
15:35:24.141869 listener.go:57: stunner-listener-default-listener TRACE: NewListener: "default-listener":{DTLS://<IP_ADDRESS>:3478<32768-65535>,public=-:-,cert/key=<SECRET>/<SECRET>,routes=[allow-any]}
15:35:24.141876 listener.go:121: stunner-listener-default-listener TRACE: Reconcile: "default-listener":{DTLS://<IP_ADDRESS>:3478<32768-65535>,public=-:-,cert/key=<SECRET>/<SECRET>,routes=[allow-any]}
15:35:24.141898 reconcile.go:100: listener-manager ERROR: could not create new object: invalid TLS certificate: base64-decode error: illegal base64 data at input byte 0
15:35:24.141904 reconcile.go:131: stunner ERROR: could not reconcile listener config: invalid TLS certificate: base64-decode error: illegal base64 data at input byte 0
15:35:24.141911 reconcile.go:196: stunner INFO: rolling back to previous configuration: {version="v1alpha1",admin:{},auth:{},listeners=[],clusters=[]}
15:35:24.141918 main.go:163: stunnerd TRACE: reconciliation ready
15:35:24.141945 main.go:168: stunnerd ERROR: could not reconcile new configuration: plaintext: empty username or password, rolling back to last running config

After adding the base64 encode feature to the self-signed certificate and key pem data, the stunner's log looks like:
15:40:03.130721 handlers.go:66: stunner TRACE: NewPermissionHandler
15:40:03.130729 server.go:109: stunner DEBUG: setting up DTLS/UDP listener at <IP_ADDRESS>:3478
15:40:03.131509 handlers.go:17: stunner TRACE: NewAuthHandler
15:40:03.131585 server.go:161: stunner INFO: listener default-listener: TURN server running
15:40:03.131595 reconcile.go:177: stunner INFO: reconciliation ready: new objects: 4, changed objects: 0, deleted objects: 0, started objects: 1, restarted objects: 0
15:40:03.131603 reconcile.go:181: stunner INFO: status: READY, realm: stunner.l7mp.io, authentication: plaintext, listeners: default-listener: [dtls://<IP_ADDRESS>:3478<32768:65535>], active allocations: 0
15:40:03.131609 main.go:163: stunnerd TRACE: reconciliation ready

Browse the video with the following index.html.

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<style>
html, body {
	margin: 0;
	padding: 0;
	height: 100%;
	overflow: hidden;
}
#video {
	width: 100%;
	height: 100%;
	background: black;
}
</style>
</head>
<body>
<h1> WebRTC Host </h1>

<video id="video" muted controls autoplay playsinline></video>

<script>

const restartPause = 2000;

class Receiver {
	constructor() {
		this.terminated = false;
		this.ws = null;
		this.pc = null;
		this.restartTimeout = null;
		this.start();
	}

	start() {
		console.log("connecting");

        //this.ws = new WebSocket(window.location.href.replace(/^http/, "ws") + 'ws');

        this.ws = new WebSocket("ws://<IP_ADDRESS>:8889/mystream/ws");

        this.ws.onerror = () => {
            console.log("ws error");
            if (this.ws === null) {
                return;
            }
            this.ws.close();
            this.ws = null;
        };

        this.ws.onclose = () => {
            console.log("ws closed");
            this.ws = null;
            this.scheduleRestart();
        };

        this.ws.onmessage = (msg) => this.onIceServers(msg);
	}

    onIceServers(msg) {
        if (this.ws === null) {
            return;
        }

        const iceConfig = JSON.parse(msg.data);
        console.log(iceConfig)

        this.pc = new RTCPeerConnection({
            iceServers: iceConfig,
            iceTransportPolicy: 'relay'
        });

        this.ws.onmessage = (msg) => this.onRemoteDescription(msg);
        this.pc.onicecandidate = (evt) => this.onIceCandidate(evt);

        this.pc.oniceconnectionstatechange = () => {
            if (this.pc === null) {
                return;
            }

            console.log("peer connection state:", this.pc.iceConnectionState);

            switch (this.pc.iceConnectionState) {
            case "disconnected":
                this.scheduleRestart();
            }
        };

        this.pc.ontrack = (evt) => {
            console.log("new track " + evt.track.kind);
            document.getElementById("video").srcObject = evt.streams[0];
        };

        const direction = "sendrecv";
        this.pc.addTransceiver("video", { direction });
        this.pc.addTransceiver("audio", { direction });

        this.pc.createOffer()
            .then((desc) => {
                if (this.pc === null || this.ws === null) {
                    return;
                }

                this.pc.setLocalDescription(desc);

                console.log("sending offer");
                this.ws.send(JSON.stringify(desc));
            });
    }

	onRemoteDescription(msg) {
		if (this.pc === null || this.ws === null) {
			return;
		}

		this.pc.setRemoteDescription(new RTCSessionDescription(JSON.parse(msg.data)));
		this.ws.onmessage = (msg) => this.onRemoteCandidate(msg);
	}

    onIceCandidate(evt) {
        if (this.ws === null) {
            return;
        }

        if (evt.candidate !== null) {
            if (evt.candidate.candidate !== "") {
                this.ws.send(JSON.stringify(evt.candidate));
            }
        }
    }

	onRemoteCandidate(msg) {
		if (this.pc === null) {
			return;
		}

		this.pc.addIceCandidate(JSON.parse(msg.data));
	}

    scheduleRestart() {
        if (this.terminated) {
            return;
        }

        if (this.ws !== null) {
            this.ws.close();
            this.ws = null;
        }

        if (this.pc !== null) {
            this.pc.close();
            this.pc = null;
        }

        this.restartTimeout = window.setTimeout(() => {
            this.restartTimeout = null;
            this.start();
        }, restartPause);
    }
}

window.addEventListener('DOMContentLoaded', () => new Receiver());

</script>

</body>
</html>

Thanks, applied! Welcome onboard.
By the way, I really like the detailed analysis, this is almost like a tutorial for setting up STUNner with MediaMTX. With a tiny extra work we could easily make this into a new STUNner tutorial, I would be happy to support you in this. You can find examples here.  It can be a standalone deployment or something in Kubernetes, it does not matter: what matters is the way you configure the clients to talk to STUNner by setting webrtcICEServers in  mediamtx.yml. Wdyt?


Add support for uppercase SELECT CURRENT_SCHEMA()

golang-migrate currently uses the query SELECT CURRENT_SCHEMA() (all uppercase) but this is not supported by pgadapter since it looks for very specific combinations (none of them with uppercase CURRENT_SCHEMA.
Could we add support for that? Not creating a PR as you are not accepting external contributions at the moment otherwise I'd be happy to do so.

@alethenorio I've added a sample for how to use Golang Migrate with PGAdapter here: https://github.com/GoogleCloudPlatform/pgadapter/tree/postgresql-dialect/samples/golang/migrate
Note that you need to manually include the name of the application golang-migrate in the connection string. Otherwise, PGAdapter does not know what to do with the select pg_advisory_lock($1) statements that Golang Migrate also executes.


Traefik package also on ghcr.io

Welcome!

[X] Yes, I've searched similar issues on GitHub and didn't find any.
[X] Yes, I've searched similar issues on the Traefik community forum and didn't find any.

What did you expect to see?
Hi,
would it be possible to make traefik available via ghcr.io? Like you did for the traefik hub agent.
Thank you.

Sorry, just found out #8149.


package.json: set d3-selection dependency to range; remove resolutions field

See discussion in #22.

Netlify errors are due to my code changes so feel free to ignore them.  I'll try window.performance instead of just performance.

Wow, that's fastest merge ever, thanks @chrisrzhou.


Problem with decimals

When you introduce decimal numbers in Chartbuilder, it takes and visualize them as whole numbers. So, it is not possible right now to visualize decimal numbers. Hope it helps. Thanks!

Hi @a-br can you post your data?

Hi @yanofsky
Sorry for the late reply. Sure, here you are a snapshot of the problem and the random data I have used to show it.
The issue occurs when you mixed decimals with whole numbers. Chartbuilder takes and visualizes decimals as whole numbers.
Also, another small issue is using a language with accent marks. You can see that the font changes when there is a mark above a letter.
Data:
City	Price
Barcelona	2.95
Málaga	1.55
Madrid	2.69
León	10

Snapshot:

Hope it can helps to your improvement!

Sorry for my late reply! What's the issue here?
That the y-axis doesn't have decimals? That the points aren't labeled?
As for the accents, that appears to be a font issue. If you change your styles to use a different font does the problem persist?

The problem is that 2.95 is not recognized as a number between 2 and 3. Instead it is ignoring the dot as a seperator and displays it as 295.
The only number correctly displayed is the 10. I have the same problem. In Germany the tasks of a comma and a dot are different from the US system.
Are these seperators saved somewhere?

Oh, now i see. Chartbuilder is supposed to be able to determine what type of number format your browser uses (but not your data) but it relies on toLocaleString() which isn't implemented correctly on some browsers.
The determination of separators is done here https://github.com/Quartz/Chartbuilder/blob/879112e5b48dcdbfc0620b9ff1508516f1b211cf/src/js/stores/SessionStore.js#L85-L102
(which is then passed through to here https://github.com/Quartz/Chartbuilder/blob/3b34357ce767eced71d3eedb2425f32a1c406a00/src/js/util/parse-delimited-input.js#L13)
Any ideas on better ways to auto-determine the number formatting convention being used?

I guess a switch would be the easiest solution (12.345,67 or 12,345.67).
For this specific case one could also look for two and three digit numbers in the data as they easily indicate which character is used for indicating values below 1.
Example: 2.63 is obviously not 263. "." becomes the seperator for values below 1.
Or maybe look at a certain value in the data containing both seperators. The seperator that appears first is for the thousands, the one that appears last is for the values below 1.
(I am just starting to code, but I think that could work)

2.36 is obviously 2 + 36/100
2,36 is obviously 2 + 36/100
but
236,159 could either be 236 + 159/1000 or 236159
236.159 could either be 236 + 159/1000 or 236159
The logic you suggest would work in some cases, but it would still be ambiguous if numbers only had one separator, i.e it's entirely integers less than 1 million but greater than -1 million or entirely numbers greater than -1000 and less than 1000 with fewer than three-digit decimal precision.
I think the best we we could do is put in a warning message that the data is of an ambiguous magnitude.


created dashboard oc config (deployment, service, path, imagestream)

Ok, you most likely don't have the pre-commit installed.
See instructions and install it in all cloned repos which contain .pre-commit-config.yaml (e.g. ogr, packit, packit-service).

Don't panic when one of the checks/formaters fail, just check (git diff) what it's formated and repeat the amend command and everything will be fine, I promise :-)

Ok, you most likely don't have the pre-commit installed.
See instructions and install it in all cloned repos which contain .pre-commit-config.yaml (e.g. ogr, packit, packit-service).

Don't panic when one of the checks/formaters fail, just check (git diff) what it's formated and repeat the amend command and everything will be fine, I promise :-)

fixed now, please check


Feature/upgrade metricsserver

This PR upgrades metrics-server to v0.5.0 and uses the multi-arch image.
Need help to test on S390 Arch.

Should be fixing https://github.com/ubuntu/microk8s/issues/2355


Suggest feature crashes for some WRIAS

The Suggest feature crashes for some WRIAS including but not limited to: Puyallup - White, Deschutes, and Duwamish - Green.
The warning message is:
Warning: Error in leafgl::addGlPolylines: inherits(sf::st_geometry(data), c("sfc_LINESTRING", "sfc_MULTILINESTRING")) is not TRUE
[No stack trace available]
The script "test_Suggest_Map.R" is bug-free suggesting the issue is how inputs are being fed into solve_opt() and map_leaflet_opt().

Fixed with commit 519baf1 on 2/7/24.


AbilityInfo

No longer able to find abilities. I'd like to fix it but I don't know where to start.

Can you see if this is fixed with the latest push? Sorry for the delay, I did not check this issue tracker again in some time.

Is good!


Clarify that maintainers can be reporters

From mailing list feedback, it was not clear that maintainers can also be reporters, and that the vulnerability should go through the same workflow.


How to get IIS Web App Deploy to stop reverting the app pool identity to the default

Hi,
I have an IIS Web App that we run under a domain account so it can communicate with other resources in our network.  Every time we deploy, I've noticed that it switches the app pool identity to the default.  Is there a way to get it to continue using the app pool identity that it was using before the deployment began?
Thanks in advance,
Mark

I figured this out.  The IIS App Pool was being reverted to the App Pool Identity by the IIS Web App Manage task in release management.  That setting is contained in the IIS App Pool portion of that task.  Switching it to custom account and inputting the credentials (with password stored as a secure variable in TFS) fixed the issue.  Hopefully this is helpful to someone with the same problem down the road.


Not displaying the editor in simple_fields_for block

Works great in a simple_form_for block.
Does not appear to work inside simple_fields_for

Solution:
Because the id of each input in simple_fields_for is generated dynamically, the ID does not match the one generated by this gem.
So I added a class to all the input fields, and then initialize the editor manually with javascript like:
$('.class-of-input-field').editable({"inlineMode":false});


feat: integration with feathers v3 and feathers-cli

On selection of "feathers" option during server selection a feather 3 project is created which is compatible with feathers-cli, further feathers-cli can be used to generated components like services, authentication etc.
Feathers config and test directories are contained within server directory

@subhadeepdas91 Could you please update the snap, I think it's ready to merge now.

As a result of team decision, server frameworks have been removed https://github.com/nuxt/create-nuxt-app/pull/501


Qemu fails to start when told to use bridged networking.

Describe the bug
Qemu fails to start when using quickemu to set up and run a virtual machine configured to use bridged networking. Other than the console output from quickemu itself, qemu does not provide any failure or error messages on the console.
Steps To Reproduce

Set up an ethernet bridge on your system. This can be done with NetworkManager. A guide can be found at https://www.cyberciti.biz/faq/how-to-add-network-bridge-with-nmcli-networkmanager-on-linux/
Use nix-shell to download quickemu: nix-shell -p quickemu
Download and set up a VM configuration: quickget nixos 23.11 minimal
Edit nixos-23.11-minimal.conf and add: network="br0" where br0 is the name of the bridge interface you previously set up.
Attempt to run the VM with: quickemu --vm nixos-23.11-minimal.conf

Expected behavior
Qemu should load and display a window that shows the booting of the virtual machine.
Additional context
When running the virtual machine for the first time, quickemu creates a shell script in the same directory where the downloaded ISO and virtual machine disk image is located. This script can also be used to run qemu, and when doing so, there is no output from qemu to show any failure. I tried editing this script to manually specify the location of the qemu-bridge-helper binary as specified in the qemu manpage, with no change to the result.
Notify maintainers
@fedx-sudo @flexiondotorg

Metadata
[themuso@barton:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.8.9, NixOS, 24.05 (Uakari), 24.05.20240512.2057814`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.2`
 - nixpkgs: `/nix/store/vsbi6gfwf2bdamw0d0d9xndb1rrxfnbk-source`

Hi, thanks for reaching out! I was able to re-create this issue and may have found a partial fix to it (I am getting a new error, but I don't know if it's because I am bad at networking or it's NixOS being wierd). Try adding this to your NixOS config:
  virtualisation.libvirtd = {
    enable = true;
    allowedBridges = [
      "virbr0"
      "br0"
    ];
  };

I was able to isolate at least one of the issues to the way NixOS handles QEMU config, and the fact that QEMU is looking for the /etc/qemu/bridge.conf when in bridge mode, which NixOS defines in the libvird module. It would be very helpful if you could provide more info, a full Qickemu output and more info on how you have configured the bridge would be great!

This is the output I get when attempting to run a VM. It is the same with and without your suggested Nix configuration change.
[themuso@barton:~/VMs]$ quickemu --vm ./nixos-23.11-minimal.conf
~/VMs ~/VMs
Quickemu 4.9.4 using /nix/store/rp0r6rfw5imlgz8x9w54n2w3jq8bg37b-qemu-8.2.3/bin/qemu-system-x86_64 v8.2.3

Host:     NixOS 24.05 (Uakari) running Linux 6.8 (barton)
CPU:      AMD Ryzen 5 2600X Six-Core Processor
CPU VM:   1 Socket(s), 2 Core(s), 2 Thread(s), 8G RAM
BOOT:     EFI (Linux), OVMF (/nix/store/46gqm6dd7g25jrgcsf9044s0cbg9jnl7-OVMF-202402-fd/FV/OVMF_CODE.fd), SecureBoot (off).
Disk:     nixos-23.11-minimal/disk.qcow2 (32G)
Just created, booting from nixos-23.11-minimal/latest-nixos-minimal-x86_64-linux.iso
Boot ISO: nixos-23.11-minimal/latest-nixos-minimal-x86_64-linux.iso
Display:  SDL, virtio-vga-gl, GL (on), VirGL (on)
Sound:    intel-hda
ssh:      On host:  ssh user@localhost -p 22220
WebDAV:   On guest: dav://localhost:9843/
9P:       On guest: sudo mount -t 9p -o trans=virtio,version=9p2000.L,msize=104857600 Public-themuso ~/Public
Network:  Bridged (br0)
Monitor:  On host:  nc -U "nixos-23.11-minimal/nixos-23.11-minimal-monitor.socket"
or     :  socat -,echo=0,icanon=0 unix-connect:nixos-23.11-minimal/nixos-23.11-minimal-monitor.socket
Serial:   On host:  nc -U "nixos-23.11-minimal/nixos-23.11-minimal-serial.socket"
or     :  socat -,echo=0,icanon=0 unix-connect:nixos-23.11-minimal/nixos-23.11-minimal-serial.socket
cat: nixos-23.11-minimal/nixos-23.11-minimal.pid: No such file or directory
Process:  Starting ./nixos-23.11-minimal.conf as nixos-23.11-minimal ()

That's odd... That's not the output I have with or without the changes whatsoever. I assume you have been able to get VMs to work just fine without bridge networking?

Yes, I have.

Have you tried connecting to the VM in ways other then the graphical console like connecting bia TTY? You can run ps -A | grep nixos to see if the VM is running. Sorry, I don't terribly know what's going on with this issue.

Sorry, I should have mentioned that in my initial report. I check for any qemu processes but there are none. It is as ift qemu is a dumb binary that takes any arguments and does nothing.

I decided to set up the bridge using systemd-network instead. No difference.

Hey, sorry for the late response. I am kind of stuck here. @flexiondotorg may know more, but I am not sure how to fix your issue....

I have found the problem to this bug. The qemu-bridge-helper binary needs to be setuid.
I worked it out from looking at the libvirt nix os module, and the libvirt package derivation. When using the libvirtnix os module to set up libvirt and qemu, the libvirt nix os module creates a qemu-bridge-helper security wrapper with setuid set to true. In addition, the custom bridge helper path is set when building libvirt.
I configured the security wrapped bridge helper binary as per the libvirt nix os module in my flake, and created an overlay to patch quickemu to use the wrapper binary path and it now works for me. This was tested on nix os 24.11.
Quickemu needs to be patched to use a custom bridge-helper path. To properly set this up for the user, a nix os module may also be required.

I have this problem too with attaching to bridges in every scenario when root isn't involved.

shell:

qemu-kvm -netdev bridge,id=gw,br=qemubr -device virtio-net,netdev=gw
failed to create tun device: Operation not permitted
qemu-kvm: -netdev bridge,id=gw,br=qemubr: bridge helper failed

qemu-bridge-helper has setuid though:
getfacl /run/wrappers/bin/qemu-bridge-helper
getfacl: Removing leading '/' from absolute path names
# file: run/wrappers/bin/qemu-bridge-helper
# owner: root
# group: root
# flags: s--
user::r-x
group::--x
other::--x

But qemu uses different path apparently.
As workaround it helps to pass a correct one explicitly. It's a custom $QEMU_OPTS anyway.
qemu-kvm -netdev bridge,id=gw,br=qemubr,helper=/run/wrappers/bin/qemu-bridge-helper -device virtio-net,netdev=gw

With virt-manager and a connection to qemu:///session (qemu:///system works fine)

This could be solved by adding a bridge to virtualisation.libvirtd.allowedBridges as it was mentioned above.


ORT Routes need to point to the 1.3 TO APIs

/api/1.3/*

[ ] POST - /user/login
[ ] GET - /servers/:id/configfiles/ats
[ ] GET - /profiles/:id/configfiles/ats/:filename
[ ] GET - /servers/:id/configfiles/ats/:filename
[ ] GET - /cdns/name/:name/sslkeys
[ ] GET - /deliveryservices/:xmlID/urisignkeys
[x] POST - /servers/:hostname_short/update_status
[ ] GET - /statuses
[x] GET - /system/info

I noticed ORT still uses the /login endpoint to login (rather than a proper API route):
	my $url = $to_host . "/login";
	my $response = $lwp_conn->post( $url, [ 'u' => $u, 'p' => $p ], %headers );

https://github.com/apache/trafficcontrol/pull/2636


Vlan policy and resource changes

This change adds support for policy enforcement in Vlan mode and moves Vlan/Vxlan resource management to global level. There are also misc cleanups bundled with this change:
Summary of changes:

Stop generating contivmodel after importing it
Stop assuming eth2 is Vlan uplink interface
Create of net agent for both Vlan mode and Vxlan mode(Actual policy changes are in ofnet repo. See PR on ofnet repo)
Delete Bunch of unused code
Move gstate and resource under netmaster hierarchy since they are used by net master only
Add netctl commands to set global object
Manage vlan and vxlan Ids as global resources. Decouple local Vlan-id used by vxlan OVS from user configured Vlan-ids since they are on different switches.
Eliminate Auto subnet pool management. User has to specify subnets with each network.
Make --pkt-tag an optional parameter to network. Auto allocate from global pool when not specified, use specific value when specified.
Disable installing Vlan policies on hosts in ACI mode
Perform all netplugin initialization after parsing the command line flags.
Perform policy system tests in both Vxlan mode and Vlan mode

Diff is too big to see on github. Here is the diff excluding Godep changes: https://gist.github.com/shaleman/91c9302681c9a54b243d

Diffs can't be viewed because of the godeps :(

I posted a link to gist which contains non-godep changes to the PR.
-Sukhesh
On Jan 21, 2016, at 10:24 PM, jojimt <notifications<EMAIL_ADDRESS>wrote:
Diffs can't be viewed because of the godeps :(

Reply to this email directly or view it on GitHubhttps://github.com/contiv/netplugin/pull/247#issuecomment-173823287.

// Wait for a while for OVS switch to disconnect/connect to ofnet agent
time.Sleep(time.Second)
sw.ofnetAgent.WaitForSwitchConnection()

Nit. I think this does not belong in AddUplinkPort, rather some where up in the calling path.
+func (d *OvsDriver) getIntfName() (string, error) {

// get the next available port number
for {

I think we need a reasonable upper bound for this loop. Especially as we are relying on the netlink lib here. I also think we need a better way to allocate the port name/number. However, I can't think of one now.

  // Pick next port number

  d.oper.CurrPortNum++

  intfName := fmt.Sprintf("vport%d", d.oper.CurrPortNum)

  // check if the port name is already in use

  _, err := netlink.LinkByName(intfName)

  if err != nil {

Need to check for "not-found" here.

  	// save the new state

  	err = d.oper.Write()

  	if err != nil {

  		return "", err

  	}

  	return intfName, nil

  }

}
}

// Add master to vlan and vxlan datapaths

err = d.switchDb["vlan"].AddMaster(node)

if err != nil {

  return err

}

Why is this needed in switchDb?

Thanks Madhav.
Please see inline
From: Madhav Puri <notifications<EMAIL_ADDRESS>Reply-To: contiv/netplugin <reply<EMAIL_ADDRESS>Date: Friday, January 22, 2016 at 8:36 AM
To: contiv/netplugin <netplugin<EMAIL_ADDRESS>Cc: Sukhesh Halemane <shaleman<EMAIL_ADDRESS>Subject: Re: [netplugin] Vlan policy and resource changes (#247)

// Wait for a while for OVS switch to disconnect/connect to ofnet agent
time.Sleep(time.Second)
sw.ofnetAgent.WaitForSwitchConnection()

Nit. I think this does not belong in AddUplinkPort, rather some where up in the calling path.
sukhesh>> This is a hack to workaround an OVS issue. I added this after sending the PR

  // HACK: When an uplink is added to OVS, it disconnects the controller connection.

  //       This is a hack to workaround this issue. We wait for the OVS to reconnect

  //       to the controller.

  // Wait for a while for OVS switch to disconnect/connect to ofnet agent

  time.Sleep(time.Second)

  sw.ofnetAgent.WaitForSwitchConnection()

+func (d *OvsDriver) getIntfName() (string, error) {

// get the next available port number
for {

I think we need a reasonable upper bound for this loop. Especially as we are relying on the netlink lib here. I also think we need a better way to allocate the port name/number. However, I can't think of one now.
sukhesh>> Good point. I'll add the upper bound

// Pick next port number
d.oper.CurrPortNum++
intfName := fmt.Sprintf("vport%d", d.oper.CurrPortNum) +
// check if the port name is already in use
_, err := netlink.LinkByName(intfName)
if err != nil {

Need to check for "not-found" here.
sukhesh>> Sounds good. I'll add the check.

// save the new state

err = d.oper.Write()

if err != nil {

return "", err

}

return intfName, nil

}

}
}

// Add master to vlan and vxlan datapaths

err = d.switchDb["vlan"].AddMaster(node)

if err != nil {

return err

}

Why is this needed in switchDb?
sukhesh>> Switchdb has two OVS switch instances one for Vlan and one for Vxlan. We are just sending AddMaster() call to both OVS instances. There is a bit of long story here which is probably best discussed in person. We are basically creating two instances of ofnet agent and informing both of them about the master.

Reply to this email directly or view it on GitHubhttps://github.com/contiv/netplugin/pull/247#issuecomment-173970907.

When Joji comments, why does Sukhesh thank Madhav? ;)
sukhesh>> Switchdb has two OVS switch instances one for Vlan and one for Vxlan. We are just sending AddMaster() call to both OVS instances. There is a bit of long story here which is probably best discussed in person. We are basically creating two instances of ofnet agent and informing both of them about the master.
I also see the master being added to ofnet agent while we explicitly add to "vlan" in the DB. Anyway, we can discuss in person.

I have earned a bad reputation I guess, the mail client defaults all comments to be from me instead of checking up github :smile:

Folks, if there are no further comments, i'd like to merge this today.

Sounds good.

@shaleman - finally found some time to go over the changes; some comments (may be unrelated to the core of your changes, but putting them here as I see the diffs).

useVethPair      = true: could we set this to false for K8s? If this improves efficiency? @jojimt
some commented out code in ovsdriver.go
REST hierarchy is not in a common place:

+	baseGlobal          = "/contiv.io/"
+	cfgGlobalPrefix     = baseGlobal + "config/global/"

gstate has a version field, perhaps we can take it out and think about introducing it when we do API versioning
question: is vlan or vxlan id allocation automatic when user doesn't specify it?
are we still using old style desired cfg json in the testing?
once checked in I will test out the code to see if errors are clean/crisp

Good work!

useVethPair = true: could we set this to false for K8s? If this improves efficiency?

I don't think there is anything k8s specific here. Regardless, I doubt there is any difference efficiency-wise between veth pair and the internal interface. Something to check out I guess.

@jojimt - we can't use this in docker because docker renames the interface to eth0, if k8s does that too then we can't reuse it, however my take was that it wouldn't, therefore we can gain back some performance improvement for those, not as much though from what @shaleman had measured earlier.
Again a separate PR but discussing it here.

Yes, k8s also renames to eth0.

some commented out code in ovsdriver.go

I removed those commented out code in ovsdriver.go. I'll post the updated diff once i rebase.

REST hierarchy is not in a common place:

baseGlobal          = "/contiv.io/"
cfgGlobalPrefix     = baseGlobal + "config/global/"

Hmm. i'll make it same as other config state.

gstate has a version field, perhaps we can take it out and think about introducing it when we do API versioning

Sure, i'll remove the version.

question: is vlan or vxlan id allocation automatic when user doesn't specify it?

Yes, we allocate one from the global pool if its not specified.

are we still using old style desired cfg json in the testing?

Yes, net master tests are still using old style config. These will be moved to REST based testing in next PR.

I've incorporated all the review comments. Updated diffs are at: https://gist.github.com/shaleman/91c9302681c9a54b243d
I'm going to merge this PR once sanity passes


docs: update ordering

Motivation

Updated the ordering of the docs to put the installation + running process of the node on top, didn't make sense to explain why before how to use.

@all-contributors please add @phklive as doc 😀


push-apps does not bind the ASG to your space if the ASG already exists

Ran into a customer issue where they deleted our tile and reinstalled.  The ASG was not cleaned up in between the delete and reinstall.
When the space was deleted, the ASG becomes unbound.
Because the ASG already existed the ASG was not re-bound to our space by push-apps.
An argument could be made that for safety we should not bind to existing groups.  But I wanted to point out this is happening.

I would argue that the security group would be provisioned with clear naming and be specifically scoped to the needs of the applications deployed to this space.  In the case, all of the apps in the errand.  As such I would expect it to idempotently provision the security group to a least priv specific need and then bind it to the space.


The package breaks SDK build

Failed running<EMAIL_ADDRESS>--debug=true @C:\Users\Michael\AppData\Local\Temp\tmp920b244.tmp
stdout:
The environment variable ANDROID_NDK_ROOT is undefined or empty, is the Android NDK correctly installed?
stderr:
UnityEngine.Debug:LogError(Object)
UnityEditorInternal.Runner:RunProgram(Program, String, String, String, CompilerOutputParserBase) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildUtils.cs:128)
UnityEditorInternal.Runner:RunManagedProgram(String, String, String, CompilerOutputParserBase, Action`1) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildUtils.cs:73)
Unity.Burst.Editor.BurstAotCompiler:OnPostBuildPlayerScriptDLLs(BuildReport) (at Library/PackageCache/com.unity.burst@1.0.0-preview.6/Editor/BurstAotCompiler.cs:358)
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()
so i tried to build my app to sdk.
and got those error.
after some time i just tried to build a new project, and surprise it worked.
i tried to replicate my project settings, and installed the pdf importer.
and it breaks with thise exact error, removing the psd importer also get rid of the errors.

i can actually post a video with the issue recorded if someone, want to see it,
the only fix i found so far was just to remove the package every time i need to create an sdk.
with isn't really a nice solution.


Scenarios (Proposed System)

SM flow:
Front-page (Login with Atlassian) -> Integrade with Jira -> Choose project -> Backlog -> Estimate <-> Discuss -> Log -> Leave
User flow:
Front-page(Enter room number) -> Estimate <-> Discuss -> Leave room


Updated color of mcfunction.

Changed the color of the mcfunction language.
Description
The current color has nothing to do with minecraft or the command functionality.
I suggest changing it so something more fitting like #1DB53C (the color of the creeper face logo often used by mojang, it also looks very similar to the grass texture color).
Since I don't think the mcfunction files or commands have a logo or even a color, it is appropriate to change them to a color that is even remotely related to the purpose and use cases of the language.

[x] I am changing the color associated with a language
I searched for information on the internet but i couldnt find anything related to a color or logo for this language.

As far as I can tell, the previous color was chosen completely randomly and I think it is appropriate now to choose a color that represents the language better. Since the language is only relevant for minecraft, it is appropriate to choose a color with which the minecraft community and thus also the datapack community that uses this language can identify.

Please see https://github.com/github/linguist/blob/master/CONTRIBUTING.md#changing-the-color-associated-with-a-language
We won't accept a colour change, even if it was randomly selected in the past, without public consensus in a public forum used by the users of the language (ie a Linguist issue or PR is not the place to discuss or gain consensus).

Closing for the reasons cited by @lildude above.


RotateTouch Tool migration to cornerstoneTools v3

Todo

Create this PR to start testing Touch using netlify (DONE)

I'm not sure if I prefer rotateTouch or rotateMultiTouch

@dannyrb I believe the naming multiTouch and not only touch is because we already have a touch one (with one finger dragging)


List tf.function methods in tf.Module

Hi all!
I use the dir(cls) build-in method to list member of a tf.Module but tf.function methods do not appear there. Is there a method that allow listing of tf.function in tf.Module?
Thanks

Can you provide some reproducible code here that demonstrates the issue?


How to use toast globally

Hi community, thanks for the lib, much appreciated.
I'm using Next.js so I will use RSC, I found that the Toaster component has use client directive, that's ok, but useToast is using useState hook so I cannot use it in my RSC. If I wanna use toast in every page, do I need to set all pages to use client? Seems I will be losing the point of using Next.js for SSR.
Is there any trick or magic I don't know? Thanks in advance!

To use the useToast hook in your RSC components, you can create a custom hook that wraps the useToast hook and provides a way to access the toast instance from within your RSC components. This custom hook can be used on a global level, making it available to all of your RSC components without needing to set all pages to use client.
Here's an example of how to create a custom hook for useToast:
import { useRouter } from 'next/router';
import { useToast } from 'react-toastify';

const useCustomToast = () => {
  const { isReady } = useRouter();
  const toast = useToast();

  if (!isReady) {
    return null;
  }

  return toast;
};

export default useCustomToast;

This custom hook checks if the router is ready before returning the toast instance. This prevents the toast from being initialized before the initial page load is complete, which would cause an error.

This issue has been automatically closed because it received no activity for a while. If you think it was closed by accident, please leave a comment. Thank you.


vgg16.json can't be found

In file enclave_bridge.cpp we first load vgg16 to model as below:
std::ifstream t("App/vgg16.json");
std::stringstream buffer;
buffer << t.rdbuf();
std::cout << buffer.str() << std::endl;

but I couldn't find App/vgg16.json file in the repo, Am I supposed to download it myself? If so, where could I download it. As the model is load nothing, I can not run ./slalom_app without errors.
Looking forward to hear from you, really need ur help. Thank you.

The main function in enclave_bridge.cpp is just used for internal testing purposes. Sorry for the confusion. We call Slalom through a python interface, as explained in the README. This generates a json representation of the input model, which is then passed to the SGX enclave (but never written out to disk).

Thank you very much.  Got it.


Creating epochs is dropping regardless of rejection/flat setting to None

A bit of an odd case here, I don't know if it's a bug or intended and badly explained, but when working on a dataset and creating 4 equal epochs manually (should have used make_fix_length_epochs), 3 epochs out of 4 were dropped.
When replicating with the sample dataset, all 4 are dropped, and I don't get why.
import math
from pathlib import Path

import mne
import numpy as np

mne.set_log_level('DEBUG')

directory = Path(mne.datasets.sample.data_path()) / 'MEG' / 'sample'
fname = directory / 'sample_audvis_filt-0-40_raw.fif'

# load and crop Raw
raw = mne.io.read_raw_fif(fname, preload=True)
raw.pick_types(eeg=True)
raw.del_proj('all')
raw.crop(10, 25.98)  # shape (59, 2400)

# create Epochs
events = np.zeros((4, 3))
for k in range(4):
    events[k, 0] = math.floor(raw.info['sfreq'] * 4 * k)
events[:, -1] = 1
events = events.astype(np.int16)

epochs = mne.Epochs(raw, events, event_id=1, tmin=0, tmax=3.99, baseline=None,
                    picks='eeg', reject=None, flat=None, preload=True)

I'm getting this logging output:
Loading data for 4 events and 600 original time points ...
    Getting epoch for -7952--7352
    Getting epoch for -7352--6752
    Getting epoch for -6751--6151
    Getting epoch for -6151--5551
4 bad epochs dropped

Any idea on what I overlooked before I start digging?

Look at epochs.drop_log, it should say why. NO_DATA means it couldn't get data for the entire range (tmin or tmax extends outside the raw range)

Ok, so indeed I get (('NO_DATA',), ('NO_DATA',), ('NO_DATA',), ('NO_DATA',)), but epochs with tmin=0, tmax=3.99 on a raw of 16 seconds should work no?

raw.crop(10, 25.98)  # shape (59, 2400)

Your data now start at whatever raw.first_time was before the crop, plus another 10 seconds. If you change your event creation to this it should work:
events[k, 0] = math.floor(raw.info['sfreq'] * 4 * k) + raw.first_samp

Or even better, use mne.make_fixed_length_events

Ok, thanks a lot @larsoner I'm getting easily confused with this system of first_time.. I get now that I am not supposed to create this event array manually..
I proposed a quick PR to improve a bit the docstring for events across the MNE functions.


[docs] ipmi: update password length requirements

Updates the docs to reflect the changes in https://github.com/tumblr/collins/pull/327
RFR @tumblr/systems

so is it > 4 and  < 28 or >= 4 and <= 28?

@roymarantz it's >= 4 and <= 28, however throughout our documentation we use "between" to signify that (for example: api.yml). As we seem to have established that convention, I believe we can follow it without further specification.

as long as we are consistently ambiguous :-)  :+1:

LGTM

LGTM


minor banner changes

About the PR
 Changes the sec banner and the science banner to be less self-loathing? self-deprecating?
fixes #28467
Why / Balance
for pctide + improvements
Technical details
nada
Media

[ ] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes

Changelog

fake cl:

Makes the sec and sci banners less self-deprecating

"it's not vandalised", not "its not vandalised"


Refactoring nginx configuration configmap

This change is

Coverage increased (+0.005%) to 43.49% when pulling e57b90636b9f4c0e9bef97640aadd05f386cd84f on aledbf:fix-config into 7434c50cdbf43e6f329ef28e5c37bcbd2d883267 on kubernetes:master.


How to use the code vis_volume.py?

I think this code is used to visualize mesh, but how should this code be used? How to generate mesh data?

Exactly. Please refer to DVGO official code for support on this. We are not using this kind of analysis because the 3D point cloud looks messy and unclear. Also it is not for general NeRFs.

Not exactly. It's normal to see cloudy volumes, even though the renderings are perfect. You can find this out by seing the visualizations of DVGO.

Will this situation be particularly obvious in large scenes?

Sure. More particular.


Import Exchange specific functions

Port functions to open remote Exchange connection

Is this simply a matter of importing the module and connecting exopssession?

@mmcmd Yes and no :-) Issue is mroe a reminder to myself than a real issue per se, if you know a better tool for such situations I'd be glad to hear about it.
What I have in mind, but is already developed, is a cmdlet used to connect to on-prem Exchange servers.
I do also have a 2 for Exchange online, 2 as when MFA is not being used, for example for a service account, it is much easier. When MFA is enforced on the account Exchange Online module needs to be used which presents some challenges/"limitations" of sort related to the added security.

I'd be glad to help if you've got some issues you'd like resolved - I thought it was simply a matter of checking if the exchangeonline module was installed and simply connecting it. If that's the case, I'd be glad to do the work for you.

Thanks I gladly accept help, as I said code is in place already I just need to review/Test it I can easily create a new branch and releae the components for testing and revisin.
That would be much appreciated @mmcmd!
Of course if you have any idea or suggestion for further module development feel free to open a new issue!

@mmcmd Exchange connection function has been pushed to branch Version-2.2.0-Dev feel free to grab a copy and test this out, I should have some time to do so tomorrow but more testing is always good.
Work on this branch is not yet done as I'm adding more functions before releasing version 2.2.0.

Thanks, I'll check it out!


Put connection on Player struct.

Thinking:
pub struct Player {
    pub name: PlayerName,
    pub connection: Option<PlayerConnection>
}

Then:
pub struct GameEngine<R: Rng> {
    pub rng: Box<R>,
    pub state: GameState,
    pub players: Players,
    pub snake_plans: HashMap<PlayerName, Result<Direction, MoveError>>,
    pub dead_snakes: HashMap<PlayerName, CauseOfDeath>,
    pub eaten_food: HashSet<Vector>,
}

pub struct Players {
    pub entries: HashMap<PlayerName, Player or PlayerBox>
}

I'm not sure we need to use PlayerBox anymore.
connections could be defined upon Players, keeping Player clonable/etc

This has not been implemented. Given that Player may well gain extra metadata wanting recording in time it makes sense to keep Clone. Instead connections are stored as:
#[derive(Debug)]
pub struct State {
    […]
    pub player_conns: HashMap<PlayerName, PlayerConnection>,
    […]
}


Windows 11 install docs incorrect

First issue is running wsl.exe not in administrator mode you do not get sudo
Second is this line
sudo apt-get -y install cuda
returns an error
E: Unable to locate package cuda
Instead run
sudo apt-get -y install cuda-toolkit-11-7

Thanks so much for your feedback, @boxabirds. I just opened https://github.com/replicate/cog/pull/1113, which makes these changes. Please let me know if you run into any other issues getting this work on Windows 😃


Make so Dominant creature will never go over 500

Heya! i love your Evulotion simulator, so i just have a small request.
Just make so the dominant Creature never go over 500.
This way we will still have new creatures, with new innervation, and hopefully will spread to the genepole.
So in short, still have 1000 creatures, just that the dominant cant go over 500.
Lots of love, Thanks! :D

Even better make sure to keep a small pool of different creatures to reduce
local minimal issue
On Thu, Feb 15, 2018, 21:50 pontusedberg<EMAIL_ADDRESS>wrote:

Heya! i love your Evulotion simulator, so i just have a small request.
Just make so the dominant Creature never go over 500.
This way we will still have new creatures, with new innervation, and
hopefully will spread to the genepole.
So in short, still have 1000 creatures, just that the dominant cant go
over 500.
Lots of love, Thanks! :D
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/carykh/evolutionSteer/issues/23, or mute the thread
https://github.com/notifications/unsubscribe-auth/AGE80SXYor9yRKNofKNqbkTFxuI3tEFNks5tVJiQgaJpZM4SHe_s
.


ability to import CNN labeled ROIs

Work going on here https://github.com/WHOIGit/photic/tree/importlabeledrois

Script fragment for parsing the CNN JSON format.
def process_json(path):
    try:
        with open(path) as fin:
            j = json.load(fin)

        class_labels = j['class_labels']
        output_classes = j['output_classes']
        output_scores = j['output_scores']
        input_images = j['input_images']

        for i, image_id in enumerate(input_images):
            output_class = output_classes[i]
            output_class_label = class_labels[output_class]
            image_path = lookup_table.loc[image_id]
            score = output_scores[i][output_class]
            print(f'{image_id},{image_path},{output_class_label},{score:.3f}')
    except IOError:
       print('IO error!')


Implement OnyxForm component

Depends on

Why?

Design

Acceptance criteria

Definition of Done

The following component requirements are implemented:

[ ] skeleton
[ ] density
[ ] example usage added to apps/alpha-test-app/src/views/HomeView.vue

[ ] covered by component tests
[ ] screenshot tests are updated
[ ] follow-up tickets were created if necessary
[ ] updated version + documentation is deployed
[ ] Storybook can show the feature
[ ] Storybook code snippet of new/changed examples are checked that they are generated correctly
[ ] Set task to In Approval

Approval

Storybook
Deployed Docs
[ ] approved by designer @jannick-ux
[ ] approved by dev

Implementation details

Reference implementations

Applicable ARIA Pattern

From Retro:

brainstorming: modes for showing validation errors / validation on user side

initial
onInput/onChange
onBlur
onSubmit


[Enhancement Request] Tiebreaker

Config option to have tiebreaker for weekly winner.

Any update on this?  I'd like to see this as well.

I added this to my fork but it doesn't update the weekly winner but it does allow you to entry and keep track of the tiebreakers. I am late starting this year so my fork isn't current on updates. Mainly because my changes never got merged upstream.

Thanks Randy.  I think I tried installing your fork and had some sort of problems.  I’d love to make the changes to the already installed instance if you have a pretty easy task list to follow.  I think the DB already has the “ties” portion in it so I’m assuming it would be just a couple of PHP pages that would need to be replaced.
Let me know and I’d love to give it a shot.
Thanks,
Sean E
From: Randy Rasmussen<EMAIL_ADDRESS>Sent: Saturday, September 2, 2017 3:58 PM
To: rothkj1022/phppickem<EMAIL_ADDRESS>Cc: searnhardt<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Subject: Re: [rothkj1022/phppickem] [Enhancement Request] Tiebreaker (#35)
I added this to my fork but it doesn't update the weekly winner but it does allow you to entry and keep track of the tiebreakers. I am late starting this year so my fork isn't current on updates. Mainly because my changes never got merged upstream.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/rothkj1022/phppickem/issues/35#issuecomment-326766272, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ADoqMYIlJ6HNKA5CEotb7zE3VEgsJeinks5sebNHgaJpZM4LsqTS.

I merged my forked after I posted so you may want to try again. Hopefully it is fixed. If not, let me know and I'll diff the pages to see what all is different. If I recall it wasn't a lot.
Yes, the ties portion is in the db so I didn't have to do anything there I don't think.

Thanks Randy.  I've changed / merged the pages and everything seems to be showing up correctly, I guess I'll have to wait on a tie to see how it actually works!

You can test it with TB vs MIA since that game has been moved to Week 11 now due to Hurricane Irma. You can just set that game to a tie if you like.  guess it is up to you.

On September 8, 2017 at 12:42 PM searnhardt<EMAIL_ADDRESS>wrote:
Thanks Randy. I've changed / merged the pages and everything seems to be showing up correctly, I guess I'll have to wait on a tie to see how it actually works!

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/rothkj1022/phppickem/issues/35#issuecomment-328154690 , or mute the thread https://github.com/notifications/unsubscribe-auth/AT4d0rpAavEMJYygUThy5iwIDo0wxRIYks5sgW5vgaJpZM4LsqTS .

Sean,
Did you make any changes to allow it to update the winners in the DB? If so, can you create a pull request? I'd like to see the differences. Just to reiterate, mine just allows you to input points and keep track of them.
Savagegeek, he isn't referring to a tie game, he is referring to users having the same number of wins at the end of the week.

I didn't make any changes to the code, just implemented the pages you had so that I could see the tiebreaker points.  I was guessing / assuming that you might be taking that into consideration on the results page to be able to choose the person with the closest tie-breaker points to show as the winner?  And, I guess there could still be a weekly tie if two people choose the same tie-breaker points...


Button for About dialog in wrong location in OSCM 17

The hidden button to open the About dialog with the version number in the blue portal of OSCM 17 seems to be in the wrong location. This is reproducible with Chrome, Firefox and Internet Explorer.
How to reproduce:

Log in to administration portal
Click on the top left banner "Open Service Catalog Manager"

Expected result:

About dialog with the OSCM version number appears

Actual result:

About dialog does not appear
Instead, the hidden button is on the top right, right of the Logout link
When clicking the area to the right of the Logout link, the about dialog appears

This was found on OSCMaaS, it is unclear if it also happens in a traditional OSCM installation.

This screenshot shows the actual location of the hidden button.


New Launch Preprocessor

Description
Change from "preprocessor.launch.py" to "preprocessor.launch.xml" and add more parameters.
Related links
Parent Issue:

Link

How was this PR tested?
Notes for reviewers
None.
Interface changes
None.

Effects on system behavior
None.

Change from "preprocessor.launch.py" to "preprocessor.launch.xml" and add more parameters.

Stick to a single feature per PR. First do a refactor to xml. Then, in a follow-up PR add the additional parameters.
That makes it much more easy to review. You can already work on both as you can target the second PR to the first (called a PR-train).

So is it better to make a new fork and new pull requests. Right ?

Drop the extra paramters from this PR and add those in a new branch.


Extension/webdriver request capabilitites

Description
This separates the implementation of a WebDriverRequest from its interface.

Looks good for me, but isn't the DesktopWebDriverRequest.toString()-method missing right now? Or is it not necessary anymore / not used anyways?

Nobody uses this method anywhere.


Move all game rendering and input to Engine to reduce couplng

Use dependency injection in Scoreboard

Removed printer from Player, Game and Scoreboard. Need to remove it from Validator as well

Removed Printer from Validator ...


how to finetune

thanks,good job.but i want know how to finetune?

i want to know when to issue finetune code

This is the fine-tuning example.


jemalloc: 5.0.1 -> 5.1.0

Motivation for this change
new jemalloc upstream release
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[ ] NixOS
[ ] macOS
[x] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"

Built several manually: rustc, cargo, clickhouse, mariadb, okular. The automated CI is probably better at this than my laptop.

[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build jemalloc

Success on aarch64-linux (full log)
Attempted: jemalloc
Partial log (click to expand)
shrinking RPATHs of ELF executables and libraries in /nix/store/x4jsks46f7ndgj9xhkjjxp7995mnk1jy-jemalloc-5.1.0
shrinking /nix/store/x4jsks46f7ndgj9xhkjjxp7995mnk1jy-jemalloc-5.1.0/lib/libjemalloc.so.2
gzipping man pages under /nix/store/x4jsks46f7ndgj9xhkjjxp7995mnk1jy-jemalloc-5.1.0/share/man/
strip is /nix/store/p9akxn2sfy4wkhqdqa3li97pc6jaz3r1-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/x4jsks46f7ndgj9xhkjjxp7995mnk1jy-jemalloc-5.1.0/lib  /nix/store/x4jsks46f7ndgj9xhkjjxp7995mnk1jy-jemalloc-5.1.0/bin
patching script interpreter paths in /nix/store/x4jsks46f7ndgj9xhkjjxp7995mnk1jy-jemalloc-5.1.0
/nix/store/x4jsks46f7ndgj9xhkjjxp7995mnk1jy-jemalloc-5.1.0/bin/jemalloc.sh: interpreter directive changed from "/bin/sh" to "/nix/store/dsyc1z7ck08ga7l0b1jcxx35wj69qcii-bash-4.4-p23/bin/sh"
/nix/store/x4jsks46f7ndgj9xhkjjxp7995mnk1jy-jemalloc-5.1.0/bin/jemalloc-config: interpreter directive changed from "/bin/sh" to "/nix/store/dsyc1z7ck08ga7l0b1jcxx35wj69qcii-bash-4.4-p23/bin/sh"
checking for references to /build in /nix/store/x4jsks46f7ndgj9xhkjjxp7995mnk1jy-jemalloc-5.1.0...
/nix/store/x4jsks46f7ndgj9xhkjjxp7995mnk1jy-jemalloc-5.1.0

Success on x86_64-linux (full log)
Attempted: jemalloc
Partial log (click to expand)
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/5jgf5gwrd9jhr5ni3dgxxni1bb1ndbrb-jemalloc-5.1.0
shrinking /nix/store/5jgf5gwrd9jhr5ni3dgxxni1bb1ndbrb-jemalloc-5.1.0/lib/libjemalloc.so.2
gzipping man pages under /nix/store/5jgf5gwrd9jhr5ni3dgxxni1bb1ndbrb-jemalloc-5.1.0/share/man/
strip is /nix/store/vcc4svb8gy29g4pam2zja6llkbcwsyiq-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/5jgf5gwrd9jhr5ni3dgxxni1bb1ndbrb-jemalloc-5.1.0/lib  /nix/store/5jgf5gwrd9jhr5ni3dgxxni1bb1ndbrb-jemalloc-5.1.0/bin
patching script interpreter paths in /nix/store/5jgf5gwrd9jhr5ni3dgxxni1bb1ndbrb-jemalloc-5.1.0
/nix/store/5jgf5gwrd9jhr5ni3dgxxni1bb1ndbrb-jemalloc-5.1.0/bin/jemalloc.sh: interpreter directive changed from "/bin/sh" to "/nix/store/r47p5pzx52m3n34vdgqpk5rvqgm0m24m-bash-4.4-p23/bin/sh"
/nix/store/5jgf5gwrd9jhr5ni3dgxxni1bb1ndbrb-jemalloc-5.1.0/bin/jemalloc-config: interpreter directive changed from "/bin/sh" to "/nix/store/r47p5pzx52m3n34vdgqpk5rvqgm0m24m-bash-4.4-p23/bin/sh"
checking for references to /build in /nix/store/5jgf5gwrd9jhr5ni3dgxxni1bb1ndbrb-jemalloc-5.1.0...

Success on x86_64-darwin (full log)
Attempted: jemalloc
Partial log (click to expand)
/nix/store/acnfbicd84bnya2l2dq868b5l482qihw-coreutils-8.30/bin/install -c -d /nix/store/42lsjkifndxxzn4i8c3iyl0rijrsan0v-jemalloc-5.1.0/share/man/man3
/nix/store/acnfbicd84bnya2l2dq868b5l482qihw-coreutils-8.30/bin/install -c -m 644 doc/jemalloc.3 /nix/store/42lsjkifndxxzn4i8c3iyl0rijrsan0v-jemalloc-5.1.0/share/man/man3
post-installation fixup
gzipping man pages under /nix/store/42lsjkifndxxzn4i8c3iyl0rijrsan0v-jemalloc-5.1.0/share/man/
strip is /nix/store/g5r4apl0za012ffs6ladinwa5w0m1l3k-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/42lsjkifndxxzn4i8c3iyl0rijrsan0v-jemalloc-5.1.0/lib  /nix/store/42lsjkifndxxzn4i8c3iyl0rijrsan0v-jemalloc-5.1.0/bin
patching script interpreter paths in /nix/store/42lsjkifndxxzn4i8c3iyl0rijrsan0v-jemalloc-5.1.0
/nix/store/42lsjkifndxxzn4i8c3iyl0rijrsan0v-jemalloc-5.1.0/bin/jemalloc-config: interpreter directive changed from "/bin/sh" to "/nix/store/n9hba031gjky8hpjgx9fnlaxhidyzxbz-bash-4.4-p23/bin/sh"
/nix/store/42lsjkifndxxzn4i8c3iyl0rijrsan0v-jemalloc-5.1.0/bin/jemalloc.sh: interpreter directive changed from "/bin/sh" to "/nix/store/n9hba031gjky8hpjgx9fnlaxhidyzxbz-bash-4.4-p23/bin/sh"
/nix/store/42lsjkifndxxzn4i8c3iyl0rijrsan0v-jemalloc-5.1.0

Changelog: https://github.com/jemalloc/jemalloc/releases
Let's build a few packages directly depending on this (no, I won't try firefox :smile: )
@GrahamcOfBorg build neovim rsyslog mariadb

Failure on aarch64-linux (full log)
Attempted: neovim, rsyslog, mariadb
Partial log (click to expand)
/nix/store/m3yj591nkg70bq1d0i9czrd9300rhww4-mariadb-10.2.17/bin/mysql_secure_installation: interpreter directive changed from "/bin/sh" to "/nix/store/dsyc1z7ck08ga7l0b1jcxx35wj69qcii-bash-4.4-p23/bin/sh"
/nix/store/m3yj591nkg70bq1d0i9czrd9300rhww4-mariadb-10.2.17/bin/mysql_config: interpreter directive changed from "/bin/sh" to "/nix/store/dsyc1z7ck08ga7l0b1jcxx35wj69qcii-bash-4.4-p23/bin/sh"
/nix/store/m3yj591nkg70bq1d0i9czrd9300rhww4-mariadb-10.2.17/bin/msql2mysql: interpreter directive changed from "/bin/sh" to "/nix/store/dsyc1z7ck08ga7l0b1jcxx35wj69qcii-bash-4.4-p23/bin/sh"
/nix/store/m3yj591nkg70bq1d0i9czrd9300rhww4-mariadb-10.2.17/bin/mysql_install_db: interpreter directive changed from "/bin/sh" to "/nix/store/dsyc1z7ck08ga7l0b1jcxx35wj69qcii-bash-4.4-p23/bin/sh"
/nix/store/m3yj591nkg70bq1d0i9czrd9300rhww4-mariadb-10.2.17/share/mysql/mysql.server: interpreter directive changed from "/bin/sh" to "/nix/store/dsyc1z7ck08ga7l0b1jcxx35wj69qcii-bash-4.4-p23/bin/sh"
/nix/store/m3yj591nkg70bq1d0i9czrd9300rhww4-mariadb-10.2.17/share/mysql/wsrep_notify: interpreter directive changed from "/bin/sh -eu" to "/nix/store/dsyc1z7ck08ga7l0b1jcxx35wj69qcii-bash-4.4-p23/bin/sh -eu"
/nix/store/m3yj591nkg70bq1d0i9czrd9300rhww4-mariadb-10.2.17/share/mysql/binary-configure: interpreter directive changed from "/bin/sh" to "/nix/store/dsyc1z7ck08ga7l0b1jcxx35wj69qcii-bash-4.4-p23/bin/sh"
/nix/store/m3yj591nkg70bq1d0i9czrd9300rhww4-mariadb-10.2.17/share/mysql/mysqld_multi.server: interpreter directive changed from "/bin/sh" to "/nix/store/dsyc1z7ck08ga7l0b1jcxx35wj69qcii-bash-4.4-p23/bin/sh"
checking for references to /build in /nix/store/m3yj591nkg70bq1d0i9czrd9300rhww4-mariadb-10.2.17...
error: build of '/nix/store/gay28pp87yn60shq7hnyjcijaj8m0c2d-neovim-0.3.1.drv' failed

Oops, it looks like it should be now broken for AArch32 as --disable-thp was removed.

neovim is broken on aarch64 without this PR, unrelated issue.

Oops, it looks like it should be now broken for AArch32 as --disable-thp was removed.

True. But we don't officially support aarch32 anyway.

Success on x86_64-darwin (full log)
Attempted: neovim, mariadb
The following builds were skipped because they don't evaluate on x86_64-darwin: rsyslog
Partial log (click to expand)
/nix/store/av5d31dbx0prfa5jl5izx6vnv3z4y79r-mariadb-10.2.17/lib/libmariadb.3.dylib: fixing dylib
/nix/store/av5d31dbx0prfa5jl5izx6vnv3z4y79r-mariadb-10.2.17/lib/libmysqld.19.dylib: fixing dylib
/nix/store/av5d31dbx0prfa5jl5izx6vnv3z4y79r-mariadb-10.2.17/lib/libmariadb.3.dylib: fixing dylib
/nix/store/av5d31dbx0prfa5jl5izx6vnv3z4y79r-mariadb-10.2.17/lib/libmysqld.19.dylib: fixing dylib
/nix/store/av5d31dbx0prfa5jl5izx6vnv3z4y79r-mariadb-10.2.17/lib/libmariadb.3.dylib: fixing dylib
/nix/store/av5d31dbx0prfa5jl5izx6vnv3z4y79r-mariadb-10.2.17/lib/libmysqld.19.dylib: fixing dylib
/nix/store/av5d31dbx0prfa5jl5izx6vnv3z4y79r-mariadb-10.2.17/lib/libmariadb.3.dylib: fixing dylib
/nix/store/av5d31dbx0prfa5jl5izx6vnv3z4y79r-mariadb-10.2.17/lib/libmysqld.19.dylib: fixing dylib
/nix/store/c4x0bya7ralwyvvb0f23gndrfdnigc3f-neovim-0.3.1
/nix/store/av5d31dbx0prfa5jl5izx6vnv3z4y79r-mariadb-10.2.17

As stated in changelog, jemalloc 5.1 avoids MADV_HUGEPAGE on ARM, so removing this option should be fine

just to make sure:
@GrahamcOfBorg build jemalloc

Success on aarch64-linux (full log)
Attempted: jemalloc
Partial log (click to expand)
/nix/store/x4jsks46f7ndgj9xhkjjxp7995mnk1jy-jemalloc-5.1.0

Success on x86_64-darwin (full log)
Attempted: jemalloc
Partial log (click to expand)
/nix/store/42lsjkifndxxzn4i8c3iyl0rijrsan0v-jemalloc-5.1.0

Success on x86_64-linux (full log)
Attempted: jemalloc
Partial log (click to expand)
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/5jgf5gwrd9jhr5ni3dgxxni1bb1ndbrb-jemalloc-5.1.0
shrinking /nix/store/5jgf5gwrd9jhr5ni3dgxxni1bb1ndbrb-jemalloc-5.1.0/lib/libjemalloc.so.2
gzipping man pages under /nix/store/5jgf5gwrd9jhr5ni3dgxxni1bb1ndbrb-jemalloc-5.1.0/share/man/
strip is /nix/store/vcc4svb8gy29g4pam2zja6llkbcwsyiq-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/5jgf5gwrd9jhr5ni3dgxxni1bb1ndbrb-jemalloc-5.1.0/lib  /nix/store/5jgf5gwrd9jhr5ni3dgxxni1bb1ndbrb-jemalloc-5.1.0/bin
patching script interpreter paths in /nix/store/5jgf5gwrd9jhr5ni3dgxxni1bb1ndbrb-jemalloc-5.1.0
/nix/store/5jgf5gwrd9jhr5ni3dgxxni1bb1ndbrb-jemalloc-5.1.0/bin/jemalloc-config: interpreter directive changed from "/bin/sh" to "/nix/store/r47p5pzx52m3n34vdgqpk5rvqgm0m24m-bash-4.4-p23/bin/sh"
/nix/store/5jgf5gwrd9jhr5ni3dgxxni1bb1ndbrb-jemalloc-5.1.0/bin/jemalloc.sh: interpreter directive changed from "/bin/sh" to "/nix/store/r47p5pzx52m3n34vdgqpk5rvqgm0m24m-bash-4.4-p23/bin/sh"
checking for references to /build in /nix/store/5jgf5gwrd9jhr5ni3dgxxni1bb1ndbrb-jemalloc-5.1.0...

Timed out, unknown build status on x86_64-linux (full log)
Attempted: neovim, rsyslog, mariadb
Partial log (click to expand)
[ 41%] Building CXX object storage/innobase/CMakeFiles/innobase_embedded.dir/trx/trx0rseg.cc.o
[ 42%] Building CXX object storage/innobase/CMakeFiles/innobase_embedded.dir/trx/trx0sys.cc.o
[ 42%] Building CXX object storage/innobase/CMakeFiles/innobase_embedded.dir/trx/trx0trx.cc.o
[ 42%] Building CXX object storage/innobase/CMakeFiles/innobase_embedded.dir/trx/trx0undo.cc.o
[ 42%] Building CXX object storage/innobase/CMakeFiles/innobase_embedded.dir/ut/ut0crc32.cc.o
[ 42%] Building CXX object storage/innobase/CMakeFiles/innobase_embedded.dir/ut/ut0dbg.cc.o
[ 42%] Building CXX object storage/innobase/CMakeFiles/innobase_embedded.dir/ut/ut0list.cc.o
[ 42%] Building CXX object storage/innobase/CMakeFiles/innobase_embedded.dir/ut/ut0mem.cc.o
building of '/nix/store/vay1f4815yzql6x0bi90zbm4fijixmdm-mariadb-10.2.17.drv' timed out after 3600 seconds
error: build of '/nix/store/vay1f4815yzql6x0bi90zbm4fijixmdm-mariadb-10.2.17.drv' failed

Thank you, LGTM.


Rules with fully contradictory constraints should fail with an error.

Bug Report
Where rules for a field have contradictory constraints that cannot be fulfilled this should fast fail and cause an error. In the below example, data can never fulfil all constraints (cannot contain an 'a' whils being 'bbb' so should cause an error:

Scenario: Running a 'containingRegex' request alongside a contradicting equalTo constraint should fail with an error message
Given there is a field foo
And foo is containing regex /[a]{3}/
And foo is equal to "bbb"
Then I am presented with an error message
And no data is created

Expected Result:
Fast feedback to the user in these scenarios, the data generator should throw an appropriate error with no data being created.
Actual Result:
These tests fail as no error is created.

java.lang.AssertionError:
Expected: is
but: was
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
at org.junit.Assert.assertThat(Assert.java:956)
at org.junit.Assert.assertThat(Assert.java:923)
at com.scottlogic.deg.generator.cucumber.steps.GeneralTestStep.dataGeneratorShouldError(GeneralTestStep.java:76)
at ✽.I am presented with an error message(C:/DataGenerator/data-engineering-generator/generator/src/test/java/com/scottlogic/deg/generator/cucumber/containingRegex.feature:254)

Environment:
Master Branch running on IntelliJ. Run on full data generation strategy.

Resolved as part of #329


version 3.0.0 console.log in utils.js file

When using<EMAIL_ADDRESS>a console.log has been left in, and it needlessly pollutes the console (utils.js#L101).

Duplicate of https://github.com/Sitebase/react-avatar/issues/102

This issue is resolved in version 3.0.1


Addons 1.x Roadmap

Opening this to start discussion on what core issues we need to address before considering bumping the major version of Addons to 1.x. There is no requirement to do this within any timeline, and if we feel that the repository is not ready then it is my strong belief that it's better to stay as a 0.x given the implied semantics of a semver increase.
Requirements:

[ ] Remove all private TF APIs as seen in the allow lists of source_contron_tests https://github.com/tensorflow/addons/issues/1735
[ ] Make optimizer wrappers consistant https://github.com/tensorflow/addons/issues/2187
[ ] Ensure serialization compatibility for all Addons. https://github.com/tensorflow/addons/issues/1747 addresses the optimizers.
[ ] Unify any duplication functions across the ecosystem. As https://github.com/tensorflow/addons/issues/2384 mentions if there is duplication we should try our best to unify them
[ ] Monitor the health of our maintainers. PR prototype https://github.com/tensorflow/addons/pull/2024

Nice to Haves:

[ ] Unified sub-package testing https://github.com/tensorflow/addons/issues/992
[ ] Align typing with exported TF types https://github.com/tensorflow/addons/issues/1997

We should update this list accordingly with any other requirements / nice to haves.

TensorFlow Addons is transitioning to a minimal maintenance and release mode. New features will not be added to this repository. For more information, please see our public messaging on this decision:
TensorFlow Addons Wind Down
Please consider sending feature requests / contributions to other repositories in the TF community with a similar charters to TFA:
Keras
Keras-CV
Keras-NLP


contributors page added

contributors page added issue #44

@priyankarpal  okay I will add github api. Any other suggestion ?

@priyankarpal okay I will add github api. Any other suggestion ?

sounds good

@priyankarpal you add that later

@priyankarpal can you add that later

ok cool
I will add that later.


Add "Action" to TX list on Wallet screen

This is an optional task. If you think we don't need this column on the Wallet screen - please do not do it.
Add column "Action" after "Source" where display source action (as on design) https://zpl.io/293w8BA

If amount is zero, the "amount" column should have no value

We had not enough space to show this column on Wallet screen

Checked


use path api for map generator service

@Geosearchef will you rework or shall i?

@Geosearchef pls stick to branch naming convention and open up an issue ALWAYS


Composite design pattern > Incorrect require_relative call to task

There were few require_relative calls which required file with incorrect name (mainly because of the file name casing). Those are fixed. Please review.

Thanks for the great fixes!
good attention to detail


Double-quotation marks aren't accepted for parametrised sessions

Given the following:
@nox.parametrize("foo", ["bar", "baz"])
def test(...

I'd expect to be able to run the test with a given value by calling either nox -s "test(foo='bar')" or nox -s 'test(foo="bar")', since single and double-quotation marks are equivalent in Python generally.
However, the latter form (or similar variations) fails.
Being able to use either is useful in terms of managing shell variable expansion etc.

This should be pretty straightforward if we normalize the quotes for the --session arg.

@theacodes, I will take this one, but I will need some help. I have a fork and a branch. I started digging into the code for the first time. I think what I need to do is modify code in the tasks module, but I could use some guidance to get on the right track.
Thank you!

Yeah, I'm thinking that you'll need to normalize the user-provided session names either here or here. I feel like the latter is probably the more logical location.

Ok, I think I will squeeze it into the line above where the session is appended to the queue. For "normalization"... I could write a function that checks if the string begins with a single quote then just swap every single to double or vice versa. I worry I would miss an edge case or change something unintentionally (a contraction perhaps (though unlikely)).
Is there a more elegant way to do this normalization that you can think of?
If I have to write a helper function, where do I put it in the codebase?

How would we handle the case where the string itself contains quotes?
TBH I think we're better off documenting that --session must be used with the session name as displayed by nox --list. nox.parametrize can take any Python value, so fundamentally Nox would have to do what Black does to normalize these.

I'll leave that discussion up to the maintainers. But since you mentioned Black, I wonder if there is a solution where Black's functionality could be leveraged to normalize the string.

I will hang in a holding pattern on this until I get some direction from the maintainers. Still willing to do the work.

I'll provide some additional info, hoping that it helps us decide what to do here.
Here are some examples of valid session names:
* test(arg='jane')
* test(arg="jane's")
* test(arg='"hello world"')
* test(arg=[42])
* test(arg=datetime.datetime(1980, 1, 1, 0, 0))
* test(arg=<user_nox_module.Foo object at 0x7f85968b4640>)

To reproduce, run `nox -l` with the noxfile.py below:
import datetime
import nox

class Foo:
    pass

@nox.session
@nox.parametrize(
    "arg",
    [
        "jane",
        "jane's",
        '"hello world"',
        datetime.datetime(1980, 1, 1),
        [42],
        Foo(),
    ],
)
def test(session, arg):
    pass

Replacing double quotes by single quotes will work for the first example, but break the second and third examples where the strings contain quotes.
The remaining examples demonstrate how hard it is to normalize session names in the general case:

The list could have a trailing comma.
The date construction might have different whitespace between arguments.
An instance of a user-defined class could even contain a memory address and the internal name under which the Noxfile was imported.

We can normalize the first four examples using ast.parse and ast.literal_eval:
>>> import ast
>>> repr(ast.literal_eval(ast.parse("\"jane's\"",mode="eval")))
'"jane\'s"'

The datetime example can be parsed, but will raise ValueError when evaluated because it is not a Python literal.
The user object cannot even be parsed, and will raise SyntaxError.

If we do want to provide this kind of normalization, here's one thing we could try:

Parse the session name using ast.parse.
On SyntaxError, give up and use the original session name.
If the AST does not have the expected form, give up and use the original session name. The expected form would be a function call (the session) using only keyword arguments (the parameters).
For each keyword argument, attempt to load the value using ast.literal_eval.
On ValueError, use the original source for this value (ast.get_source_segment).
Otherwise, use repr to normalize the value.
Reassemble the session name using the normalized values, where available.

There is still a possibility that a session name is parsed into something that looks right and raises no exceptions, but is actually bogus. That's because repr could return pretty much anything, it's not required that you can eval it back into the original value.

Fixed in #417


feat(transform_conformance): handle parse error

#3135  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @Boshen and the rest of your teammates on  Graphite


Better describe Zulip in README.md

Can you add a description and a link to the website? I used google to find out. But I would have profited from the descripion and the link.

Just merged a brief description which fixes the main issue; I'm sure it could benefit from more editing but I think it makes sense to close this issue at this point.


Use non-ZDA sentence

What
SSIA
Why
NCV2.0 supports GPS receiver to sync internal time. The supported GPS devices are e.g.,

Compatible receivers are: “NAVILOCK NL-208P”, “HAICOM HI-204III”
and many others.
https://tubehobby.com/datasheets/NCV2.0_manual.pdf

HAICOM HI-204III supports the sentences the below

Sentence
Description

GGA
Global Positioning System Fix Data

GLL
Geographic Position Latitude / Longitude

GSA
GNSS DOP and Active Satellites

GSV
GNSS Satellites in View

RMC
Recommended Minimum Specific GNSS Data

VTG
Course Over Ground and Ground Speed

http://www.haicom.com.tw/driver/HI-204III_USB.pdf

So, GPZDA seems to be not supported.

It worked with RMC (or checksum)
https://github.com/rakiyoshi/raspi-virtual-gps-receiver/tree/v0.0.7


Provide example

Add one or more examples to illustrate how to use this plugin.

[x] example
[x] documentation

@wmertens: here's an example ;)


patch(monochart) - whitespace fix in deployment tpl

title?

Good, I was going to look at this today. Thanks!
Slack thread for reference: https://spoton.slack.com/archives/C05BV6YJJBD/p1703034329462169