Karabiner not remapping keypress from Applescript keyCode() event

I'm having trouble triggering a keycode (in my case, ⌃+F19) from applescript, and having Karabiner remap it.  I cannot manage to trigger that from applescript in any way.
Applescript (using JavaScript):
Application('System Events').keyCode(0x50, {using: 'command down'});

private.xml:
<?xml version="1.0"?>
<root>
	<item>
		<name>⌃+F19 > ▶❚❚</name>
		<identifier>custom_to_play</identifier>
		<autogen>__KeyToKey__
			KeyCode::F19,
			ModifierFlag::CONTROL_L,
			ConsumerKeyCode::MUSIC_PLAY
		</autogen>
		<autogen>__KeyToKey__
			KeyCode::F19,
			ModifierFlag::CONTROL_R,
			ConsumerKeyCode::MUSIC_PLAY
		</autogen>
	</item>
</root>

Things I've tried:

Replacing KeyCode::F19 with KeyCode::RawValue::0x50. Same result.
Removing the ModifierFlag from the xml, and the {using: 'command down'} from the applescript. This also gives the same result, without the control key.
Verified that I'm using the keyCode() method correctly by sending an F11, which is set to Show Desktop in my system preferences, and works fine.

Any ideas?

Karabiner modifies key events only from physical devices.
Please upgrade Karabiner to the latest beta version and use post-hid-event utility.
You can post MUSIC_PLAY key event by this shell command:
/Applications/Karabiner.app/Contents/Library/utilities/bin/post-hid-event NX_KEYTYPE_PLAY

How to upgrade to the latest beta version:
https://pqrs.org/osx/karabiner/document.html#check-for-updates

:tada: This is exactly what I was looking for, but even simpler! Thank you! :tada:


ceph-osd: Ensure lvm2 is installed

When using osd_scenario lvm, we never check if the lvm2 package is
present on the host.
When using containerized deployment and docker on CentOS/RedHat this
package will be automatically installed as a dependency but not for
Ubuntu distribution.
OSD deployed via ceph-volume require the lvmetad.socket to be active
and running.
Resolves: #3728
Signed-off-by: Dimitri Savineau<EMAIL_ADDRESS>

looks like the dependency is present for Suse in the specfile but not for rhel:
https://github.com/ceph/ceph/blob/master/ceph.spec.in#L634
Even if it shouldn't hurt to ensure the package is installed at ceph-ansible level, I guess @leseb is right.

@leseb Ceph already requires LVM2 when installing the ceph-osd package. Where do you think the dependency should be set?

This isn't a ceph packaging issue. As @alfredodeza mentionned, ceph-osd package already has a dependency on lvm2.
The problem about this PR was on containerized deployment because we don't install any ceph packages on the system.
On CentOS/RHEL, lvm2 was installed by dependency from docker which is not true for Ubuntu.


Decimal Precision loss in relational records

Bug description
Data with Decimal type in a record is rounded unexpectedly when it is loaded as a relational record via "include" in a query.
How to reproduce

Doing a query for data model A including a relational record from model B which has a Decimal field;
Doing a query to the record of model B directly
Expected: the decimal field on model B's record should be the same in both queries
Actual: the decimal field from the indirect query (using "include") is rounded off unexpectedly.
This happens whether "relationJoins" is used or not.

Expected behavior
Expected Output:
indirect<PHONE_NUMBER>7970642226975
direct<PHONE_NUMBER>7970642226975

Actual Output:
Output:
indirect<PHONE_NUMBER>7970650000000
direct<PHONE_NUMBER>7970642226975

Prisma information

model Foo {
 id   String   @id @default(dbgenerated("gen_random_uuid()")) @db.Uuid
 bars Bar[]
}

model Bar {
  id     String    @id @default(dbgenerated("gen_random_uuid()")) @db.Uuid
  fooId  String    @map("foo_id") @db.Uuid
  amount Decimal   @db.Decimal(36, 0)

  foo Foo @relation(fields: [fooId], references: [id], onDelete: Cascade)
}

import { Prisma, PrismaClient } from "@prisma/client";
import Decimal from "decimal.js";

Prisma.Decimal.set({ toExpPos: 36, precision: 36 });
Decimal.set({ toExpPos: 36, precision: 36 });

const client = new PrismaClient();

await client.foo.create({
  data: {
    id: "e510a38a-e278-4d90-bad7-c101f2292483",
    bars: {
      create: {
        id: "6003d5b1-812c-442f-898f-a5ef2209c861",
        amount: new Decimal("42670021827970642226975"),
      },
    },
  },
});

const foo = await client.foo.findUnique({
  // relationLoadStrategy: "join",
  where: { id: "e510a38a-e278-4d90-bad7-c101f2292483" },
  include: {
    bars: true,
  },
});

const bar = await client.bar.findUnique({
  where: { id: "6003d5b1-812c-442f-898f-a5ef2209c861" },
});

console.log("indirect", foo?.bars[0]?.amount);
console.log("direct", bar?.amount);

Environment & setup

OS: macOS
Database: PostgreSQL
Node.js version: 20.17.0

Prisma Version
Environment variables loaded from .env
prisma                  : 5.20.0
@prisma/client          : 5.20.0
Computed binaryTarget   : darwin-arm64
Operating System        : darwin
Architecture            : arm64
Node.js                 : v20.17.0
Query Engine (Node-API) : libquery-engine 06fc58a368dc7be9fbbbe894adf8d445d208c284 (at node_modules/.pnpm/@prisma+engines<EMAIL_ADDRESS>Schema Engine           : schema-engine-cli 06fc58a368dc7be9fbbbe894adf8d445d208c284 (at node_modules/.pnpm/@prisma+engines@5.20.0/node_modules/@prisma/engines/schema-engine-darwin-arm64)
Schema Wasm             : @prisma/prisma-schema-wasm 5.20.0-12.06fc58a368dc7be9fbbbe894adf8d445d208c284
Default Engines Hash    : 06fc58a368dc7be9fbbbe894adf8d445d208c284
Studio                  : 0.502.0
Preview Features        : relationJoins

I just gave this a spin on my local (wildly different environment to yours!) and cannot replicate the problem:
$ npx tsx script.ts
indirect<PHONE_NUMBER>7970642226975
direct<PHONE_NUMBER>7970642226975

Linux amd64
node v22.11.0
prisma 5.22.0
postgres 17 (using postgres:17-alpine from dockerhub)

I re-ran the previous code with a fresh installation and found out that the problem actually was with the preview features "relationJoins".
Even if I don't use it is the query, just enable this feature will lead to the inaccurate decimal results.
generator client {
    provider        = "prisma-client-js"
    previewFeatures = ["relationJoins"]
}

This is possibly related to https://github.com/prisma/prisma/issues/11096, despite the fact that relationJoins isn't used in that issue.


class library project

In my class library project using rc1-final when i added  "EntityFramework.Commands": "7.0.0-rc1-final", dependency in my project i getting an error saying this dependency does not support framework .NETPlatform,Version=v5.4.
Image

@divega @bricelam

I encountered this error also and the only way to get around it that I found was to change the target from dotnet5.4 to dnxcore50 in my class library projects. Maybe there is a better solution.

Interesting. We target dnxcore50 and netcore50. @davidfowl @anurse Does DNX support the NuGet 3 ref stuff? We probably need to author a package that looks something like this to make it work:

lib/

dnxcore50/
netcore50/

ref/

dotnet5.4/

@joeaudette i tried that way but when i running dnx ef command also getting an error in their.

@himadrinath as a workaround, you should be able to add dnxcore50 to your class library's list of frameworks.

@joeaudette i did as u say i changed dotnet5.4 to dnxcore50 in my project.json.

but after that when i run dnx ef command i got a another error.
please guide me through this problem. still not able to fix it and not able to run migration in my project.

You'll either need to add dnx541 to the frameworks, or run this before invoking dnx ef:
dnvm use default -r coreclr

Is EntityFramework.Commands a library or exe?

@bricelam i changed the run time into coreclr  and then run the dnx ef command and another problem arrive

@davidfowl ...a dll with a static Main entry point at the moment.  The architecture will change a bit for RC 2.

Any news about this problem?
I am following this doc:
http://docs.efproject.net/en/latest/getting-started/aspnet5/existing-db.html
and when try to install the EF into a separate class library (package) - I am getting the error described above.

@tmarinov The workaround should still work. Add dnx451 or dnxcore50 to your target frameworks.

@davidfowl @glennc Any updates on how to author a package with a ref assembly using project.json?

That's not going to be first class anytime soon. First class support for bait and switch is not being worked on.

Nuts. More nupkg patching it is...


Added additional screenshots to /docs and readme

Per issue #4, added additional screenshots of server and client execution in readme

thanks for PR @updownleft

No problem :)


Check mark displayed after submitting a form is too big

Description

Affects Version
1.1.0

Resolved in version 1.1.2 https://github.com/uPortal-contrib/form-builder/blob/master/CHANGELOG.md#112---2018-10-10


Enable Advanced Visibility

https://github.com/prabhatsharma/zinc
100% golang built on top of the excellent Bluge golang code.
This will work well with SQLite for a single binary solution.
the http api matches Elastic too so easy to plug into . Not everything is supported yet
has a web gui. Not sure if temporalite has one yet .
no cli yet , but relatively easy to do with cobra and making http calls to server . Might already be an issue for it.
it’s fast too .
I am using it and it’s been great .
It’s a new project and still got some rough edges compared to Elastic.
there is also the possibility to integrate via litestream but I doubt you need it. Litestream  ( https://github.com/benbjohnson/litestream) gives you a type of changefeed off SQLite as well as real time backup to s3.
if you have any questions feel free to holler !

I just noticed that the sqlite driver is upstream.
So maybe the elasticlite (zinc) can be done the exact same way - upstream it.

Very cool! I was not aware of the zinc project. Upstreaming support in temporalio/temporal would be my preference, as the storage interfaces tend to change a bit and this would make it much easier to stay up to date with the latest Temporal server releases.
We're also looking at litestream, but not sure yet if it needs to be a direct integration (ie. pulling it in as a library vs. running alongside Temporalite). Mentioned this here: https://youtu.be/Hz7ZZzafBoE?t=655 😄

I believe there are plans to add full visibility features (eg. filtering by custom attributes) to all sql storage drivers in temporalio/temporal. This should avoid the need for an elastic replacement in Temporalite, since the full visibility API will be supported natively by the SQLite storage driver.

+1 for this

Advanced visibility is already done in temporal 1.22 for sqlite...

I don't think this repo is maintained.
But if it is, you can merge #234 and that could enable advanced visibility


Make game run on WASM

Fixes #11

Abandoning for now. A thread is spawned out of nowhere and reading files doesn't work.


Verbose Syslog logging + GUID directory created for PowerShell Script Execution on Ubuntu1604

It appears that PowerShell Core creates some pretty verbose logging into syslog on Ubuntu1604, as well as created a GUID directory in /tmp during script execution.
Syslog messages:
Mar  5 11:35:16 MYHOST powershell[4930]: (v6.0.1:1:10) [Perftrack_ConsoleStartupStart:PowershellConsoleStartup.WinStart.Informational] PowerShell console is starting up
Mar  5 11:35:16 MYHOST powershell[4930]: (v6.0.1:6:11) [Provider_Lifecycle:ProviderStart.Method.Informational] Provider Alias changed state to Started.#012%n%nContext:%n        Severity = Informational#012        Host Name = ConsoleHost#012        Host Version = 6.0.1#012        Host ID = f85e018a-3700-4255-b508-c71bdb3b809d#012        Host Application = /opt/microsoft/powershell/6.0.1/pwsh.dll#012        Engine Version = #012        Runspace ID = #012        Pipeline ID = #012        Command Name = #012        Command Type = #012        Script Name = #012        Command Path = #012        Sequence Number = 1#012        User = MYHOST\nagios#012        Connected User = #012        Shell ID = Microsoft.PowerShell#012%n%nUser Data:%n%n
Mar  5 11:35:16 MYHOST powershell[4930]: (v6.0.1:6:11) [Provider_Lifecycle:ProviderStart.Method.Informational] Provider Environment changed state to Started.#012%n%nContext:%n        Severity = Informational#012        Host Name = ConsoleHost#012        Host Version = 6.0.1#012        Host ID = f85e018a-3700-4255-b508-c71bdb3b809d#012        Host Application = /opt/microsoft/powershell/6.0.1/pwsh.dll#012        Engine Version = #012        Runspace ID = #012        Pipeline ID = #012        Command Name = #012        Command Type = #012        Script Name = #012        Command Path = #012        Sequence Number = 2#012        User = MYHOST\nagios#012        Connected User = #012        Shell ID = Microsoft.PowerShell#012%n%nUser Data:%n%n
Mar  5 11:35:16 MYHOST powershell[4930]: (v6.0.1:6:11) [Provider_Lifecycle:ProviderStart.Method.Informational] Provider FileSystem changed state to Started.#012%n%nContext:%n        Severity = Informational#012        Host Name = ConsoleHost#012        Host Version = 6.0.1#012        Host ID = f85e018a-3700-4255-b508-c71bdb3b809d#012        Host Application = /opt/microsoft/powershell/6.0.1/pwsh.dll#012        Engine Version = #012        Runspace ID = #012        Pipeline ID = #012        Command Name = #012        Command Type = #012        Script Name = #012        Command Path = #012        Sequence Number = 3#012        User = MYHOST\nagios#012        Connected User = #012        Shell ID = Microsoft.PowerShell#012%n%nUser Data:%n%n
Mar  5 11:35:16 MYHOST powershell[4930]: (v6.0.1:6:11) [Provider_Lifecycle:ProviderStart.Method.Informational] Provider Function changed state to Started.#012%n%nContext:%n        Severity = Informational#012        Host Name = ConsoleHost#012        Host Version = 6.0.1#012        Host ID = f85e018a-3700-4255-b508-c71bdb3b809d#012        Host Application = /opt/microsoft/powershell/6.0.1/pwsh.dll#012        Engine Version = #012        Runspace ID = #012        Pipeline ID = #012        Command Name = #012        Command Type = #012        Script Name = #012        Command Path = #012        Sequence Number = 4#012        User = MYHOST\nagios#012        Connected User = #012        Shell ID = Microsoft.PowerShell#012%n%nUser Data:%n%n
Mar  5 11:35:16 MYHOST powershell[4930]: (v6.0.1:6:11) [Provider_Lifecycle:ProviderStart.Method.Informational] Provider Variable changed state to Started.#012%n%nContext:%n        Severity = Informational#012        Host Name = ConsoleHost#012        Host Version = 6.0.1#012        Host ID = f85e018a-3700-4255-b508-c71bdb3b809d#012        Host Application = /opt/microsoft/powershell/6.0.1/pwsh.dll#012        Engine Version = #012        Runspace ID = #012        Pipeline ID = #012        Command Name = #012        Command Type = #012        Script Name = #012        Command Path = #012        Sequence Number = 5#012        User = MYHOST\nagios#012        Connected User = #012        Shell ID = Microsoft.PowerShell#012%n%nUser Data:%n%n
Mar  5 11:35:16 MYHOST powershell[4930]: (v6.0.1:1:11) [Engine_Lifecycle:EngineStart.Method.Informational] Engine state changed from None to Available.#012%n%nContext:%n        Severity = Informational#012        Host Name = ConsoleHost#012        Host Version = 6.0.1#012        Host ID = f85e018a-3700-4255-b508-c71bdb3b809d#012        Host Application = /opt/microsoft/powershell/6.0.1/pwsh.dll#012        Engine Version = 6.0.1#012        Runspace ID = 3ce268c9-c288-47d9-8b00-aff8c6154184#012        Pipeline ID = #012        Command Name = #012        Command Type = #012        Script Name = #012        Command Path = #012        Sequence Number = 6#012        User = MYHOST\nagios#012        Connected User = #012        Shell ID = Microsoft.PowerShell#012%n%nUser Data:%n%n
Mar  5 11:35:16 MYHOST powershell[4930]: (v6.0.1:9:11) [Command_Lifecycle:CommandStart.Method.Informational] Command Import-Module is Started.#012%n%nContext:%n        Severity = Informational#012        Host Name = ConsoleHost#012        Host Version = 6.0.1#012        Host ID = f85e018a-3700-4255-b508-c71bdb3b809d#012        Host Application = /opt/microsoft/powershell/6.0.1/pwsh.dll#012        Engine Version = 6.0.1#012        Runspace ID = 3ce268c9-c288-47d9-8b00-aff8c6154184#012        Pipeline ID = 1#012        Command Name = Import-Module#012        Command Type = Cmdlet#012        Script Name = #012        Command Path = #012        Sequence Number = 7#012        User = MYHOST\nagios#012        Connected User = #012        Shell ID = Microsoft.PowerShell#012%n%nUser Data:%n%n
Mar  5 11:35:16 MYHOST powershell[4930]: (v6.0.1:9:11) [Command_Lifecycle:CommandStart.Method.Informational] Command Out-Default is Started.#012%n%nContext:%n        Severity = Informational#012        Host Name = ConsoleHost#012        Host Version = 6.0.1#012        Host ID = f85e018a-3700-4255-b508-c71bdb3b809d#012        Host Application = /opt/microsoft/powershell/6.0.1/pwsh.dll#012        Engine Version = 6.0.1#012        Runspace ID = 3ce268c9-c288-47d9-8b00-aff8c6154184#012        Pipeline ID = 1#012        Command Name = Out-Default#012        Command Type = Cmdlet#012        Script Name = #012        Command Path = #012        Sequence Number = 8#012        User = MYHOST\nagios#012        Connected User = #012        Shell ID = Microsoft.PowerShell#012%n%nUser Data:%n%n
Mar  5 11:35:16 MYHOST powershell[4930]: (v6.0.1:9:11) [Command_Lifecycle:CommandStop.Method.Informational] Command Import-Module is Stopped.#012%n%nContext:%n        Severity = Informational#012        Host Name = ConsoleHost#012        Host Version = 6.0.1#012        Host ID = f85e018a-3700-4255-b508-c71bdb3b809d#012        Host Application = /opt/microsoft/powershell/6.0.1/pwsh.dll#012        Engine Version = 6.0.1#012        Runspace ID = 3ce268c9-c288-47d9-8b00-aff8c6154184#012        Pipeline ID = 1#012        Command Name = Import-Module#012        Command Type = Cmdlet#012        Script Name = #012        Command Path = #012        Sequence Number = 9#012        User = MYHOST\nagios#012        Connected User = #012        Shell ID = Microsoft.PowerShell#012%n%nUser Data:%n%n
Mar  5 11:35:16 MYHOST powershell[4930]: (v6.0.1:9:11) [Command_Lifecycle:CommandStop.Method.Informational] Command Out-Default is Stopped.#012%n%nContext:%n        Severity = Informational#012        Host Name = ConsoleHost#012        Host Version = 6.0.1#012        Host ID = f85e018a-3700-4255-b508-c71bdb3b809d#012        Host Application = /opt/microsoft/powershell/6.0.1/pwsh.dll#012        Engine Version = 6.0.1#012        Runspace ID = 3ce268c9-c288-47d9-8b00-aff8c6154184#012        Pipeline ID = 1#012        Command Name = Out-Default#012        Command Type = Cmdlet#012        Script Name = #012        Command Path = #012        Sequence Number = 10#012        User = MYHOST\nagios#012        Connected User = #012        Shell ID = Microsoft.PowerShell#012%n%nUser Data:%n%n
Mar  5 11:35:16 MYHOST powershell[4930]: (v6.0.1:1:10) [Perftrack_ConsoleStartupStop:PowershellConsoleStartup.WinStop.Informational] PowerShell console is ready for user input
Mar  5 11:35:16 MYHOST powershell[4930]: (v6.0.1:9:11) [Command_Lifecycle:CommandStart.Method.Informational] Script execution is Started.#012%n%nContext:%n        Severity = Informational#012        Host Name = ConsoleHost#012        Host Version = 6.0.1#012        Host ID = f85e018a-3700-4255-b508-c71bdb3b809d#012        Host Application = /opt/microsoft/powershell/6.0.1/pwsh.dll#012        Engine Version = 6.0.1#012        Runspace ID = 3ce268c9-c288-47d9-8b00-aff8c6154184#012        Pipeline ID = 2#012        Command Name = #012        Command Type = Script#012        Script Name = #012        Command Path = #012        Sequence Number = 11#012        User = MYHOST\nagios#012        Connected User = #012        Shell ID = Microsoft.PowerShell#012%n%nUser Data:%n%n
Mar  5 11:35:17 MYHOST powershell[4930]: (v6.0.1:9:11) [Command_Lifecycle:CommandStart.Method.Informational] Command prompt is Started.#012%n%nContext:%n        Severity = Informational#012        Host Name = ConsoleHost#012        Host Version = 6.0.1#012        Host ID = f85e018a-3700-4255-b508-c71bdb3b809d#012        Host Application = /opt/microsoft/powershell/6.0.1/pwsh.dll#012        Engine Version = 6.0.1#012        Runspace ID = 3ce268c9-c288-47d9-8b00-aff8c6154184#012        Pipeline ID = 2#012        Command Name = prompt#012        Command Type = Function#012        Script Name = #012        Command Path = #012        Sequence Number = 12#012        User = MYHOST\nagios#012        Connected User = #012        Shell ID = Microsoft.PowerShell#012%n%nUser Data:%n%n
Mar  5 11:35:17 MYHOST powershell[4930]: (v6.0.1:9:11) [Command_Lifecycle:CommandStop.Method.Informational] Command prompt is Stopped.#012%n%nContext:%n        Severity = Informational#012        Host Name = ConsoleHost#012        Host Version = 6.0.1#012        Host ID = f85e018a-3700-4255-b508-c71bdb3b809d#012        Host Application = /opt/microsoft/powershell/6.0.1/pwsh.dll#012        Engine Version = 6.0.1#012        Runspace ID = 3ce268c9-c288-47d9-8b00-aff8c6154184#012        Pipeline ID = 2#012        Command Name = prompt#012        Command Type = Function#012        Script Name = #012        Command Path = #012        Sequence Number = 13#012        User = MYHOST\nagios#012        Connected User = #012        Shell ID = Microsoft.PowerShell#012%n%nUser Data:%n%n
Mar  5 11:35:17 MYHOST powershell[4930]: (v6.0.1:9:11) [Command_Lifecycle:CommandStop.Method.Informational] Script execution is Stopped.#012%n%nContext:%n        Severity = Informational#012        Host Name = ConsoleHost#012        Host Version = 6.0.1#012        Host ID = f85e018a-3700-4255-b508-c71bdb3b809d#012        Host Application = /opt/microsoft/powershell/6.0.1/pwsh.dll#012        Engine Version = 6.0.1#012        Runspace ID = 3ce268c9-c288-47d9-8b00-aff8c6154184#012        Pipeline ID = 2#012        Command Name = #012        Command Type = Script#012        Script Name = #012        Command Path = #012        Sequence Number = 14#012        User = MYHOST\nagios#012        Connected User = #012        Shell ID = Microsoft.PowerShell#012%n%nUser Data:%n%n
Mar  5 11:35:17 MYHOST powershell[4930]: (v6.0.1:9:11) [Command_Lifecycle:CommandStart.Method.Informational] Command PSConsoleHostReadline is Started.#012%n%nContext:%n        Severity = Informational#012        Host Name = ConsoleHost#012        Host Version = 6.0.1#012        Host ID = f85e018a-3700-4255-b508-c71bdb3b809d#012        Host Application = /opt/microsoft/powershell/6.0.1/pwsh.dll#012        Engine Version = 6.0.1#012        Runspace ID = 3ce268c9-c288-47d9-8b00-aff8c6154184#012        Pipeline ID = 3#012        Command Name = PSConsoleHostReadline#012        Command Type = Function#012        Script Name = #012        Command Path = #012        Sequence Number = 15#012        User = MYHOST\nagios#012        Connected User = #012        Shell ID = Microsoft.PowerShell#012%n%nUser Data:%n%n
Mar  5 11:35:17 MYHOST powershell[4930]: (v6.0.1:9:11) [Command_Lifecycle:CommandStart.Method.Informational] Command Set-StrictMode is Started.#012%n%nContext:%n        Severity = Informational#012        Host Name = ConsoleHost#012        Host Version = 6.0.1#012        Host ID = f85e018a-3700-4255-b508-c71bdb3b809d#012        Host Application = /opt/microsoft/powershell/6.0.1/pwsh.dll#012        Engine Version = 6.0.1#012        Runspace ID = 3ce268c9-c288-47d9-8b00-aff8c6154184#012        Pipeline ID = 3#012        Command Name = Set-StrictMode#012        Command Type = Cmdlet#012        Script Name = /opt/microsoft/powershell/6.0.1/Modules/PSReadLine/PSReadLine.psm1#012        Command Path = #012        Sequence Number = 16#012        User = MYHOST\nagios#012        Connected User = #012        Shell ID = Microsoft.PowerShell#012%n%nUser Data:%n%n
Mar  5 11:35:17 MYHOST powershell[4930]: (v6.0.1:9:11) [Command_Lifecycle:CommandStop.Method.Informational] Command Set-StrictMode is Stopped.#012%n%nContext:%n        Severity = Informational#012        Host Name = ConsoleHost#012        Host Version = 6.0.1#012        Host ID = f85e018a-3700-4255-b508-c71bdb3b809d#012        Host Application = /opt/microsoft/powershell/6.0.1/pwsh.dll#012        Engine Version = 6.0.1#012        Runspace ID = 3ce268c9-c288-47d9-8b00-aff8c6154184#012        Pipeline ID = 3#012        Command Name = Set-StrictMode#012        Command Type = Cmdlet#012        Script Name = /opt/microsoft/powershell/6.0.1/Modules/PSReadLine/PSReadLine.psm1#012        Command Path = #012        Sequence Number = 17#012        User = MYHOST\nagios#012        Connected User = #012        Shell ID = Microsoft.PowerShell#012%n%nUser Data:%n%n
Mar  5 11:35:17 MYHOST powershell[4930]: (v6.0.1:9:11) [Command_Lifecycle:CommandStart.Method.Informational] Command Import-Module is Started.#012%n%nContext:%n        Severity = Informational#012        Host Name = ConsoleHost#012        Host Version = 6.0.1#012        Host ID = f85e018a-3700-4255-b508-c71bdb3b809d#012        Host Application = /opt/microsoft/powershell/6.0.1/pwsh.dll#012        Engine Version = 6.0.1#012        Runspace ID = 3ce268c9-c288-47d9-8b00-aff8c6154184#012        Pipeline ID = 5#012        Command Name = Import-Module#012        Command Type = Cmdlet#012        Script Name = #012        Command Path = #012        Sequence Number = 18#012        User = MYHOST\nagios#012        Connected User = #012        Shell ID = Microsoft.PowerShell#012%n%nUser Data:%n%n
Mar  5 11:35:17 MYHOST powershell[4930]: (v6.0.1:9:11) [Command_Lifecycle:CommandStop.Method.Informational] Command Import-Module is Stopped.#012%n%nContext:%n        Severity = Informational#012        Host Name = ConsoleHost#012        Host Version = 6.0.1#012        Host ID = f85e018a-3700-4255-b508-c71bdb3b809d#012        Host Application = /opt/microsoft/powershell/6.0.1/pwsh.dll#012        Engine Version = 6.0.1#012        Runspace ID = 3ce268c9-c288-47d9-8b00-aff8c6154184#012        Pipeline ID = 5#012        Command Name = Import-Module#012        Command Type = Cmdlet#012        Script Name = #012        Command Path = #012        Sequence Number = 19#012        User = MYHOST\nagios#012        Connected User = #012        Shell ID = Microsoft.PowerShell#012%n%nUser Data:%n%n
Mar  5 11:35:17 MYHOST powershell[4930]: (v6.0.1:9:11) [Command_Lifecycle:CommandStart.Method.Informational] Command Get-Variable is Started.#012%n%nContext:%n        Severity = Informational#012        Host Name = ConsoleHost#012        Host Version = 6.0.1#012        Host ID = f85e018a-3700-4255-b508-c71bdb3b809d#012        Host Application = /opt/microsoft/powershell/6.0.1/pwsh.dll#012        Engine Version = 6.0.1#012        Runspace ID = 3ce268c9-c288-47d9-8b00-aff8c6154184#012        Pipeline ID = 4#012        Command Name = Get-Variable#012        Command Type = Cmdlet#012        Script Name = #012        Command Path = #012        Sequence Number = 20#012        User = MYHOST\nagios#012        Connected User = #012        Shell ID = Microsoft.PowerShell#012%n%nUser Data:%n%n
Mar  5 11:35:17 MYHOST powershell[4930]: (v6.0.1:9:11) [Command_Lifecycle:CommandStop.Method.Informational] Command Get-Variable is Stopped.#012%n%nContext:%n        Severity = Informational#012        Host Name = ConsoleHost#012        Host Version = 6.0.1#012        Host ID = f85e018a-3700-4255-b508-c71bdb3b809d#012        Host Application = /opt/microsoft/powershell/6.0.1/pwsh.dll#012        Engine Version = 6.0.1#012        Runspace ID = 3ce268c9-c288-47d9-8b00-aff8c6154184#012        Pipeline ID = 4#012        Command Name = Get-Variable#012        Command Type = Cmdlet#012        Script Name = #012        Command Path = #012        Sequence Number = 21#012        User = MYHOST\nagios#012        Connected User = #012        Shell ID = Microsoft.PowerShell#012%n%nUser Data:%n%n
Mar  5 11:35:17 MYHOST powershell[4930]: (v6.0.1:9:11) [Command_Lifecycle:CommandStart.Method.Informational] Command prompt is Started.#012%n%nContext:%n        Severity = Informational#012        Host Name = ConsoleHost#012        Host Version = 6.0.1#012        Host ID = f85e018a-3700-4255-b508-c71bdb3b809d#012        Host Application = /opt/microsoft/powershell/6.0.1/pwsh.dll#012        Engine Version = 6.0.1#012        Runspace ID = 3ce268c9-c288-47d9-8b00-aff8c6154184#012        Pipeline ID = 6#012        Command Name = prompt#012        Command Type = Function#012        Script Name = #012        Command Path = #012        Sequence Number = 22#012        User = MYHOST\nagios#012        Connected User = #012        Shell ID = Microsoft.PowerShell#012%n%nUser Data:%n%n
Mar  5 11:35:17 MYHOST powershell[4930]: (v6.0.1:9:11) [Command_Lifecycle:CommandStop.Method.Informational] Command prompt is Stopped.#012%n%nContext:%n        Severity = Informational#012        Host Name = ConsoleHost#012        Host Version = 6.0.1#012        Host ID = f85e018a-3700-4255-b508-c71bdb3b809d#012        Host Application = /opt/microsoft/powershell/6.0.1/pwsh.dll#012        Engine Version = 6.0.1#012        Runspace ID = 3ce268c9-c288-47d9-8b00-aff8c6154184#012        Pipeline ID = 6#012        Command Name = prompt#012        Command Type = Function#012        Script Name = #012        Command Path = #012        Sequence Number = 23#012        User = MYHOST\nagios#012        Connected User = #012        Shell ID = Microsoft.PowerShell#012%n%nUser Data:%n%n

Example of pipes from dotnet clr and GUI directory being created (visible using "inotifywait -e create -m /tmp" to monitor /tmp):
/tmp/ CREATE clr-debug-pipe-9951-96248424-in
/tmp/ CREATE clr-debug-pipe-9951-96248424-out
/tmp/ CREATE,ISDIR 63b11b94-e868-42ea-96a2-5f3ae578fdcf
Is there a way to disable these messages/the GUID directory from being created?

syslog problem was a known bug that got fixed.
You can get the fix by rebuilding from current sources or wait couple of days for the next release.
For more info see #6032 and #6218

@anmenaga what about the GUID directory? that's what's currently killing me right now. It leaves behind a ton of GUID directories until /tmp has so many files it falls over.

@dantraMSFT @daxian-dbw for info about GUID directories in /tmp

It sounds like this might be coming from dotnet clr. They have me post a ticket over here about the syslog and they're now checking but they believe it might be coming from dotnet.

dotnet says the GUID directory is coming from PowerShell https://github.com/dotnet/coreclr/issues/8844

Hi all,
This still appears to be a problem for me as well - as per dotnet/coreclr#8844 they reference the GUID/Verbose logging as a PowerShell issue. Anyone have any ideas how to fix?
OS: RHEL 7.6
PowerShell version: PowerShell 6.2.0
Seeing mass amounts of verbose logging like;
Apr 04 18:38:11 <SERVER> powershell[5783]: [24.5K blob data]
Apr 04 18:38:11 <SERVER> powershell[5783]: [20.6K blob data]
Apr 04 18:38:11 <SERVER> powershell[5783]: (6.2.0:9:80) [Command_Health:ExecutePipeline.Exception.Warning] Error Message = System error.

                                                           Context:
                                                                   Severity = Warning
                                                                   Host Name = ConsoleHost
                                                                   Host Version = 6.2.0
                                                                   Host ID = 5ffe6342-0494-4afb-815c-ea93c75c6662
                                                                   Host Application = /opt/microsoft/powershell/6/pwsh.dll <SOME SCRIPT>
                                                                   Engine Version = 6.2.0
                                                                   Runspace ID = 3bbece8e-69f7-447a-ac4f-813adb83a86a
                                                                   Pipeline ID = 1
                                                                   Command Name =
                                                                   Command Type =
                                                                   Script Name =
                                                                   Command Path =
                                                                   Sequence Number = 37
                                                                   User = <USER>
                                                                   Connected User =
                                                                   Shell ID = Microsoft.PowerShell

With files created like (note: this doesn't correlate to logging above);
/tmp/d839926e-40dc-4256-9def-efa0e3e59de5
/tmp/CoreFxPipe_PSHost.D4F03146.15029.None.pwsh
/tmp/d839926e-40dc-4256-9def-efa0e3e59de5/.cache/powershell/StartupProfileData-NonInteractive
/tmp/d839926e-40dc-4256-9def-efa0e3e59de5/.local/share/powershell/Modules/  # <-- Empty

Suspected Cause
In my case, PowerShell is a subprocess (of Zabbix monitoring scripts) which has a timeout value of 30 seconds. After this time I believe it kills the sub-process, so I'm suspecting it isn't cleaning up properly but not 100% sure yet.
Workaround:
Added a cron job to find/delete those files and added the following file (/etc/rsyslog.d/40-powershell.conf) to stop logging which seems to work okay.
:syslogtag, contains, "powershell[" stop

This is obviously still an issue and it seems to be ignored?
CentOS Linux release 7.5.1804 (Core)
6.2.1-1.rhel.7 from packages-microsoft-com-prod
My Nagios is creating so many files and folders in /tmp that it has literally become unusable. Can't read, can't delete, can't do anything.
I could just workaround by creating a cron that empties /tmp every 5 minutes, but that really shouldn't be necessary.

I have the same problem as @mattykay.
Lowering the log level from Powershell by doing the following fixes the verbose logging:

Find out where $PSHOME is. My $PSHOME pointed to /opt/microsoft/powershell/6/. Take note that $PSHOME is a variable in PWSH, not in any other shell.
Create a file in $PSHOME named powershell.config.json.
Add the following JSON to the file:
{ "LogLevel": "error" }
Other log levels are found here: https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_logging_non-windows?view=powershell-6#configuring-logging-on-non-windows-system

I haven't found a solution for the creation of "CoreFxPipe" files in /tmp yet. A cron script will do for now.
Here's another issue about the file creation: https://github.com/Microsoft/dotnet/issues/880

@Didr This works like a charm.
Thanks

The problem with the massive amount of UUID directories and CoreFX files in /tmp still exists.
OS: CentOS Linux release 7.7.1908 (Core)
Powershell: 7.0.0

Same problem on debian 9.12, pwsh 7.0.0
itb filled up root /tmp with so many files that i had no inode left :-(

I have the same problem with RHEL 7.8 and powershell 7.0.0 :(

Hi all,
Is there any forecast to solve this issue?
Thanks.

Same with Ubuntu 22.04 and PowerShell 7.2.5

I have the same issue
ubuntu 20.04 + powershell 7.3.3 (and 7.2.10 LTS)
`$PSVersionTable
Name                           Value

PSVersion                      7.3.3
PSEdition                      Core
GitCommitId                    7.3.3
OS                             Linux 5.4.0-144-generic #161-Ubuntu SMP Fri Feb 3 14:49:04 UTC 2023
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0`
sudo usermod -d /var/lib/zabbix zabbix usermod: no changes

Thank you @jorgeyanesdiez but this is not working for me. I've already had the folder created. It stills creating tmp files. Now I have Ubuntu 22.04 LTS.
To manage this I set up a /usr/lib/tmpfiles.d/temp-pwsh.conf with:
D /tmp 1777 root root 30m
and
systemctl restart systemd-tmpfiles-clean.timer systemctl daemon-reload
Cleaning 30m minutes old files. Rough.

This issue is marked as...
Please repair this -.-

It's still werking us up.


[Microsoft.ConfidentialLedger] [DataPlane] Add new API version preview/2024-12-09-preview

Data Plane API Specification Update Pull Request

[!TIP]
Overwhelmed by all this guidance? See the Getting help section at the bottom of this PR description.

PR review workflow diagram
Please understand this diagram before proceeding. It explains how to get your PR approved & merged.

API Info: The Basics
Most of the information about your service should be captured in the issue that serves as your API Spec engagement record.

Link to API Spec engagement record issue: https://github.com/Azure/azure-rest-api-specs/issues/31827

Is this review for (select one):

[ ] a private preview
[ ] a public preview
[X] GA release

Change Scope
This section will help us focus on the specific parts of your API that are new or have been modified. Please share a link to the design document for the new APIs, a link to the previous API Spec document (if applicable), and the root paths that have been updated.

Design Document: Link
Previous API Spec Doc: Link
Updated paths:

/app/userDefinedFunctions (NEW)
/app/transactions (POST only)

Viewing API changes
For convenient view of the API changes made by this PR, refer to the URLs provided in the table
in the Generated ApiView comment added to this PR. You can use ApiView to show API versions diff.
Suppressing failures
If one or multiple validation error/warning suppression(s) is detected in your PR, please follow the
Swagger-Suppression-Process
to get approval.
❔Got questions? Need additional info?? We are here to help!

 Contact us!
The Azure API Review Board is dedicated to helping you create amazing APIs. You can read about our mission and learn more about our process on our wiki.

💬 Teams Channel
💌 email

Click here for links to tools, specs, guidelines & other good stuff
Tooling

Open API validation tools were run on this PR. Go here to see how to fix errors
Spectral Linting

Guidelines & Specifications

Azure REST API Guidelines
OpenAPI Style Guidelines
Azure Breaking Change Policy

Helpful Links

Schedule a data plane REST API spec review

Getting help

First, please carefully read through this PR description, from top to bottom.
If you don't have permissions to remove or add labels to the PR, request write access per aka.ms/azsdk/access#request-access-to-rest-api-or-sdk-repositories
To understand what you must do next to merge this PR, see the Next Steps to Merge comment. It will appear within few minutes of submitting this PR and will continue to be up-to-date with current PR state.
For guidance on fixing this PR CI check failures, see the hyperlinks provided in given failure
and https://aka.ms/ci-fix.
If the PR CI checks appear to be stuck in queued state, please add a comment with contents /azp run.
This should result in a new comment denoting a PR validation pipeline has started and the checks should be updated after few minutes.
If the help provided by the previous points is not enough, post to https://aka.ms/azsdk/support/specreview-channel and link to this PR.

API change check
APIView has identified API level changes in this PR and created following API reviews.
Microsoft.CodeTransparency

API review was scheduled: https://github.com/Azure/azure-rest-api-specs/issues/31827


Improve _default.page.* documentation markup

Hello 👋, I'm not necessarily proposing this exact change but I wanted to make a PR instead of an issue to show I'm happy to do the work.
TLDR: make it clearer how HTML rendering APIs work on the _default.page.* doc page.

The markup on the _default.page.* documentation feels a bit misleading to me.
I'm using React. When I tried to use ReactDOM's renderToString function and copy the implementation in the docs I kept getting an empty string instead of markup.
The reason for this is that I was passing pageContext.Page instead of pageContext.Page() or destructing and instantiating the component like <Page />
Ex:
// renders empty string
renderToString(pageContext.Page)

// renders markup
renderToString(pageContext.Page())

// renders markup
const {Page} = pageContext
renderToString(<Page />)

The example is good, but I did not realize that destructing the Page component and instantiating it was necessary for the renderToString function.
I don't know what the Vue API for rendering HTML looks like (One reason why this exact change may be unsuitable), but it could be useful to either change the markup in the docs or add a note to the docs explicitly stating that you must instantiate the component to render it to markup.
I realize this is not strictly related to the plugin, but this caused me quite a bit of trouble because I wasn't familiar with the ReactDOM API and I think a change like this would be very simple and would help people like me who are not familiar with the HTML rendering APIs in Vue and React.

While I share the sentiment here, the problem I see with your proposal is that the docs should be UI framework agnostic. E.g. Vue users don't want to see JSX, it's misleading for them.
(I very appreciate your intention though :pray:.)

Completely understand. Having thought about it for a couple of days, I would like to try and help prevent other people from running into this but it seems like the kind of speed bump you always run into when using a new tool.
I've been setting up Cloudflare Page Functions today and have run into similar integration issues.


frontend: create coin control sub-component

After: #2870 and #2866
Create a sub-component for the coin control (toggle and utxo selection dialog) to make the send.tsx component smaller and easier to understand.

(rebased)

rebased / also amended the commit message to explain the change from https://github.com/BitBoxSwiss/bitbox-wallet-app/pull/2870

@thisconnect thanks! (first push is rebase, second addressed the change requests). PTAL.


hypershift v0.1.16

Updating to pull in hypershift v0.1.16 which is rolling out in our environment.
Main changes:

The path of the hypershift API packages have changed slightly
controller-runtime updated to 0.16, which slightly changed how we initialize the controller manager in main.go and the interface for watching + filtering events
client-go was updated, which added some new required helpers to add Status subresources to the fake kube client

OSD-19644

Codecov Report

Merging #223 (f7943df) into main (3f7f997) will increase coverage by 0.06%.
Report is 2 commits behind head on main.
The diff coverage is 7.69%.

Additional details and impacted files

@@            Coverage Diff             @@
##             main     #223      +/-   ##
==========================================
+ Coverage   40.35%   40.41%   +0.06%
==========================================
  Files          25       25
  Lines        1866     1863       -3
==========================================
  Hits          753      753
+ Misses       1021     1018       -3
  Partials       92       92

Files
Coverage Δ

controllers/vpcendpoint/helpers.go
37.45% <ø> (ø)

pkg/hostedcontrolplanes/hostedcontrolplanes.go
76.66% <ø> (ø)

pkg/testutil/mock.go
50.00% <100.00%> (ø)

...endpointtemplate/vpcendpointtemplate_controller.go
8.20% <0.00%> (+0.12%)
:arrow_up:

... and 1 file with indirect coverage changes


Unable to access training models

As the title says, I cannot view/download the training models for any of the 2x, 4x, or 8x models. Unable to test those pretrained models. The colab notebook provided asks us to check if gdown works, else, download into your drive and then mount. However, none of the ways work as the links are inaccessible.

Hi, due to an ongoing policy change between UCSD and Google, we are facing severe reductions in our google drive storage allowances - which also unfortunately effected availability of all the pre-trained models. I will try to upload them onto an alternative website and let you know. Sorry for the inconvenience.

Hi, I'm running into the same issue. Thanks for your fast response.
Could we get the weights in the meantime by any other way?

Hello, I've just started learning, I want to ask: I use a Windows computer to download your code, and then configure python, pytorch, etc., but I don't use ubuntu, all use your pre-processed data, can I use it to see the effect?

@tarun005 @done-n-dusted @coattosintetico Hi, I met the same issue. Is there any other way to get the pre-trained weights now?

I am stuck with some logistical hassle, will upload the pre-trained weights before the end of this week, incredibly sorry for the delay.

Any update? The link still seems to be invalid.

^ Also seems to be unworking for me. I would love to use this model in an upcoming research project - would it be possible to send me a copy of the weights?

Not the repo owner, but downloaded some time ago. This is 2x, 4x and 8x - originally downloaded 2022/12/28

@frostedbrain Thank you so much! It appears the file associated with the link has been recently deleted - would you mind sending another link?

Sure, no worries, here you go!

Updated the repo with new links. Should reproduce the original results.


Update Feature/dropdown add to body PR branch

64 of the commits in this PR are just from merging the current master (there was a conflict in the dropdown README because another feature was added).
The last one is what I did: fixed the tests so that they properly clean up the element in the test launcher and prove that "garbage collection" is in fact occurring.

The only issue I could not fix is removing the commit created from me merging master: 9a5bd0e. Other than that it should be good to go.

So logistically, I guess if I were to update my branch before merging this then I would have to deal with the same merge conflict, but it makes it harder to see your actual changes.  I suppose I'll just merge this and then the pull request with angular-ui should be more clear.

It looks like @wesleycho wants these commits to be squashed into a single commit...

I should be able to do it later.
On Wed, Apr 1, 2015 at 12:41 PM, Andy Perlitch<EMAIL_ADDRESS>wrote:

It looks like @wesleycho https://github.com/wesleycho wants these
commits to be squashed into a single commit...
—
Reply to this email directly or view it on GitHub
https://github.com/rysilva/bootstrap/pull/1#issuecomment-88537770.


Shortcuts won't open

This is pretty much the same issue as #9... the old (current) version of TaskbarGroups works perfectly but I can't get any shortcuts on this version to open. Also, when opening anything to do with the program (the .exe itself, shortcuts, etc) it always opens a Security Warning window. Using Windows 10.
Edit: Looking at Task Manager when opening a shortcut; it opens for a split second running only at 40 KB and immediately turns off (no output on screen whatsoever).

Copy your existing shortcuts into the folder in the top picture.  Then see if they work from the taskbar again.

Sorry I've been a bit busy. Still isn't working.
Also found another bug while testing a few things: shortcuts will crash and display an error when using multiple monitors and taskbar is NOT enabled on all monitors. Only works with multiple taskbars.

Interesting.  I can verify if the multi-monitor big happens on my end, will do that shortly.
As for your original issue - I did get my original shortcuts from tjackenpacken's build to work in Pike's build, but when Pike then mentioned the addition of the mini 2x2 icon for the group icon, I realized that I had to completely recreate the groups I had for those to show, so I ended up deleting all the old groups.
I do have the original build still on my computer, though, and I can investigate if there is something now blocking that may not have been before.  It'll take me some time, though, but I'll look into it.

I disabled the taskbar on my second monitor, and all my shortcuts opened perfectly fine.
Have you made any other modifications to the OS, such as using other utilities for the taskbar, start menu replacement, etc. that might be interfering?
I'll still test the other issue later on, I'll have to create new groups in the original and then copy them to Pike's folder and see if it works.

Possibly fixed by #22, so I will assume this as completed for now.


Consider using hterm for better terminal experience

Is your feature request related to a problem? Please describe.
The current web terminal that portainer provides is quite buggy, it often breaks when doing multi-line commands, and running terminal application like top and nano are certainly going to break.
Describe the solution you'd like
Is it possible to use a more featured web terminal emulator implementation like hterm https://chromium.googlesource.com/apps/libapps/+/master/hterm ? It is more mature, and has been used by wetty https://github.com/krishnasrinivas/wetty , a web terminal that provides flawless experience.
Describe alternatives you've considered
Ajaxterm/anyterm, but hterm(wetty) is definitely more featured
Additional context
I have read the source code here https://github.com/portainer/portainer/blob/develop/app/docker/views/containers/console/containerConsoleController.js , but can anyone explain what does the Terminal() refer to? Which library is being used?

Hi @michaellee8
Thanks for opening this feature request and for considering to contribute.
We're currently using xterm.js (https://github.com/xtermjs/xterm.js/) as our "terminal" library.

@michaellee8 what is status of this? I have also got lot of feedback from our users that console is too buggy.

@michaellee8 I find out that multi-line commands are at least fixed on recent version of Xterm.js so I created PR for update to it #2452

Keeping this issue open for considering another console library.


fix: update to node 20, deps

[x] Update to node 20
[x] Restrict chai in renovate

:tada: This PR is included in version 1.2.2 :tada:
The release is available on:

v1.2.2
GitHub release

Your semantic-release bot :package::rocket:


Wording updates

Landing page

[x] Add this line below Before you begin, "Full information about the Connecting Communities British Columbia (CCBC) program can be found at the program webpage."
[x] Change "Please review the non-fillable application questions" to "Please review the pdf of application questions"
[x] Add this line to the Please note, "All questions are mandatory unless indicated otherwise."
[x] Add this line to Before you begin: Please review the project zones, underserved pseudo households, and connectivity infrastructure projects
[x] Login button change to "Login with BCeID"

Project area

[x] Referring to the project zones (application guide Annex 6), which zone(s) will this project be conducted in?

Project Funding

[x] Make Amount requested under CCBC per fiscal year required
[x] Make Amount the applicant will contribute per fiscal year (April 1 - March 31) required
[x] Make totalInfrastructureBankFunding optional.
[x] Add "(if applicable)" to the line "Funding from Canadian Infrastructure Bank per fiscal year (April 1 - March 31) (if applicable)"

Other funding sources

[x] For the years under "Amount requested from funding partner per fiscal year (April 1 - March 31)" make them required

Templates

[x] add 'If applicable' to templates 5, 7, 8.
https://www.figma.com/file/nhOquOVmWD1P3BxEY0KIh5/CCBC-Intake?node-id=2329%3A8222

Mapping

[x] Change page title from Mapping to Coverage (we're making this change because not everything uploaded on this page is map)

[x] Change page description to: "Please submit the following coverage data."

[ ] Change statistics question description to: Please upload the XML file that was attached to the email you received upon completion of the project coverage

[x] Change "Geographic coverage map from ISED's Eligibility Mapping Tool." to "Geographic coverage map from ISED's Eligibility Mapping Tool. KMZ is required."

[x] Current network infrastructure in a geo-coded format

[x] Proposed or Upgraded Network Infrastructure (project-specific) in a geo-coded format

Benefits

[x] Change to: Final number of Eligible Households targeted by this proposal. This value should match cell G50 in Template 1 - Eligibility Summary.
[x] Change to: Number of households on Indigenous lands impacted by this proposal. This value should match cell G55 in Template 1 - Eligibility Summary.

Organization profile
For the first bullet on "Is this applicant organization an Indigenous identity? An Indigenous identity may include:"

[x] Change to: A for-profit or non-profit organization run by and for First Nations, Métis, or Inuit peoples;

Supporting documents
Currently: Please refer to Annex 3 of the application guide for the community letters of support requirements.

[x] change to: Please refer to Annex 3 of the application guide for the community letters of support requirements. If you do not currently have these, you will have a 30-day grace period after the intake closes to submit them.

Submission
Currently: You certify that you have the authority to submit this information on behalf of the Applicant.

[x] change to: Certify that you have the authority to submit this information on behalf of the Applicant. After submission, you can continue to edit this application until the intake closes on November 6, 2022 at 9:00AM Pacific Time (PT).
[x] Change "Completed for (Applicant Name)" to "Completed for (Legal organization name)"

Confirmation page

[x] Change "We have received your application for [project title]" to "We have received your application, [project title],". Note that the project title is italicized and it has commas on either side.

All pages
Currently the button at the bottom says 'Continue'.

[x] change to: 'Save and continue'

@zoeyli-46  I notice in the screenshot that some words on the landing page are hyperlinked. Are we waiting on #313 to add those in or are those part of this card?

Just added in the statement to the ticket under Landing page @AntBush

To update this, the unchecked "Change statistics question description to: Please upload the XML file that was attached to the email you received upon completion of the project coverage" is to be reverted until we figure out what we want to do with ISED's eligibility mapping not being present with the initial release.

@elliottSlee are we taking this out "you will have a 30-day grace period after the intake closes to submit them."

@MarsRomer ^^


fix resource level max_table_nesting and normalizer performance tuning

Description
The resource level max_table_nesting settings where not passed down to child tables, this PR fixes this. I also completely rewrote the tests to be much more readable (imho), also they were not testing various cases although they were claiming to.

For the following code the time goes from 4.5s on devel to about 3.1 seconds on this branch with the normalization caching:

import json
import os
import time
from tests.common.utils import json_case_path
from dlt.common.schema import Schema

def rasa_event_bot_metadata():
    with open(json_case_path("rasa_event_bot_metadata"), "rb") as f:
        return json.load(f)

def norm():
    return Schema("default").data_item_normalizer  # type: ignore[return-value]

if __name__ == "__main__":

    payload = rasa_event_bot_metadata()

    for i in range(1):
        n = norm()
        start = time.time()
        for i in range(1000):
            payload["_id"] = i
            list(n.normalize_data_item(payload, "load_id", "table"))
        print(f"Time taken: {time.time() - start}")

@rudolfix it's using snake_case naming. There are a few of operations that get called over and over again because they are not cached. For example if you call normalize_identifier, then this is not cached, only _normalize_identifier is. The snake_case class calls the super class where strip is called and some checks are made. The strip alone accounts for 0.2s of those 1.7s or so gains. Then for example in shorten_fragments make_paths is calculated over and over again which also accounts for a bit of the savings etc. I can try to move all the caching to the schema if you like.


Take a look at Rendering layers for both Terrain and Foliage

Terrain3D version
v0.9.0
System information
Godot4.2+
Is the issue reproducable in the demo?
Yes
Issue description
In terms of Render layers for Terrain, Render layers have no effect as to what light source the terrain is being affected by, as long as the terrain has a render layer, it will be affected by any light source, regardless of layer. I believe this is a universal issue for any version of Godot, as I've experienced it with both 4.2 and 4.3.
As for Foliage, Cory [Tokisan] told me to add this to the issue when attempting to assist me.
Logs
No response

Glad to see this reported, I've just run into the same issue and was wondering what am I doing wrong. Kind of breaks my lighting setup right now. I'll try to manage just with one main light but it would be awesome to get this fixed!

The problem is that the light cull mask doesn't expose all the render layer bits.
You need to turn off bit 31 on the light because Terrain3D uses it for mouse position detection
https://terrain3d.readthedocs.io/en/latest/api/class_terrain3d.html#class-terrain3d-property-render-layers
Unfortunately that will require an extra tool script.
Pulled this out thing air just now so might be bugged:
@tool
extends OmniLight3D

func _ready() -> void:
	light_cull_mask = light_cull_mask & ~(1 << 31)

Indeed, @TheOrioli has it correct.
Render layers work fine for lights on terrain.
By default, the terrain renders on both the settable layers Terrain3D.render_layers and Terrain3D.mouse_layer.
Lights have a default light_cull_mask of all 32 layers on (0xFFFFFFFF). The editor inspector only shows layers 1-20 and has layers 21-32 reserved for editor plugins per the documentation. There's no way to turn off 21-32 in the editor, which should be changed by the engine devs. So the light is rendering on the mouse layer.
Building on the script above, you could attach this to your lights. Being a tool script it's usable in editor. Just click zero_mask to clear the cull mask including the reserved bits, then set the layers you want. You could even give this a specific extends (eg DirectionalLight3D) and a class_name and it will show up in Create New Node so you can instantly add it with the script attached.
@tool
extends Light3D

@export var zero_mask: bool = false :
	set(value):
		light_cull_mask = 0


lambda_expression missing from scopes

I don't understand tree-sitter that well but scope based tools give wrong results when used in Neovim (see here)
I've managed to get it to work by adding lambda_expression to locals.scm queries and removing statements from there as statements do not define a scope in Swift.
Given I have a very superficial understanding of how this all works, there are probably some reasons for why things are this way, so I wanted to ask whether it is a deliberate decision to not include lambda_expressions but include statements in scope definitions and the reasons behind it.
Thanks for all the great work!

I also have a very superficial understanding of how all this works, so you're in good company!
I don't see a good reason why lambda_expression is absent or statements is present -- I think I probably just missed the former and didn't understand the implications of the latter. Happy to switch that up.


Why is GO2 (Google maps) commented out?

I would really love if you enabled google maps back! Why was it removed in the first place? Used to be a map type before...

Google will rate limit you very very quickly.
On Sun, May 28, 2023 at 9:35 AM Damir Alkhaov @.***>
wrote:

I would really love if you enabled google maps back! Why was it removed in
the first place? Used to be a map type before...
—
Reply to this email directly, view it on GitHub
https://github.com/kubilus1/autoortho/issues/174, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABVEDLDCD2Q6M2BBJA3YHQTXINICTANCNFSM6AAAAAAYR3LLBQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


whatsapp messaging

when the #59 termination process is over, module maintained an array in which it has all the unprocessed messages number are stored, after termination completed module should send the messages number along with their message via WhatsApp, it's an alternative solution to #47 and when the day started module should send its variables values via WhatsApp but this feature might create an issue like whenever module powerup it sends the WhatsApp message.


Update references to oracle docs

The oracle has changed the directory of your documents.

thank you @pwener

@fmstefanini can u release our site when you get a free time?


adds validation for context.app.name

This will return an error when context.app.name isn't passed through a server-side .screen() call. GA requires that an : Application Name be passed through .screen() calls.
@sperand-io :eyes:

@f2prateek updated tests


[BUG][WEBJS] - WEBJS will appear in a state of suspended animation

In the WORKING state, the session cannot display the WhatsApp name and cannot send and receive messages normally. It needs to be stopped and started to return to normal.
It seems to only appear in some sessions with a lot of dialogue.
I haven’t gotten the relevant logs yet, so I’ll add them after they appear next time.

Hi! Yes, it happens time to time, we're checking a way to see how to add some "health check" to restart a session automatically..
Yes, logs would help here a lot :pray:
What about screenshot btw, what does it show in this state?

Hi! Yes, it happens time to time, we're checking a way to see how to add some "health check" to restart a session automatically.. Yes, logs would help here a lot 🙏
What about screenshot btw, what does it show in this state?

The frequency of occurrence is about once a day
In this state, the screenshot is usually blank. I think if I can check whether it is normal through this interface, this problem can be solved.
/api/sessions/{session}/me
I'm thinking about how to implement automatic restart through existing interfaces

is about once a day

Do you restart the container like every day at midnight? May be it'll help to solve all issues. Chrome + puppeter is pretty hard to maintain in long run thing...
You can automate it by calling
https://waha.devlike.pro/docs/how-to/observability/#restart-stop-server
POST /api/server/stop

the docker will restart it automaticly (if you provide --restart=always flag in docker run)

is about once a day

Do you restart the container like every day at midnight? May be it'll help to solve all issues. Chrome + puppeter is pretty hard to maintain in long run thing... You can automate it by calling https://waha.devlike.pro/docs/how-to/observability/#restart-stop-server
POST /api/server/stop

the docker will restart it automaticly (if you provide --restart=always flag in docker run)

There is currently no restart every day. I will use this interface to try restarting every day to see if it can solve the problem.

is about once a day

Do you restart the container like every day at midnight? May be it'll help to solve all issues. Chrome + puppeter is pretty hard to maintain in long run thing... You can automate it by calling https://waha.devlike.pro/docs/how-to/observability/#restart-stop-server
POST /api/server/stop

the docker will restart it automaticly (if you provide --restart=always flag in docker run)

I understand that the server restarts every morning, but the problem still cannot be solved. I will open the stop and start functions to customers and let them operate on their own to solve the problem.

is about once a day

Do you restart the container like every day at midnight? May be it'll help to solve all issues. Chrome + puppeter is pretty hard to maintain in long run thing... You can automate it by calling https://waha.devlike.pro/docs/how-to/observability/#restart-stop-server
POST /api/server/stop

the docker will restart it automaticly (if you provide --restart=always flag in docker run)

I understand that the server restarts every morning, but the problem still cannot be solved. I will open the stop and start functions to customers and let them operate on their own to solve the problem.

But it is still easy for the status to change to STARTING/FAILED after restarting, so I can only solve it by deleting and re-creating it.
This should also be a problem

I see, that's problem.
Do you have any logs in the container after you started it and see FAILED sessions? That would help!
Could you also tell a bit more about your setup - do you use file storage or mongodb one, do you use chrome or regular docker image?

I can only solve it by deleting and re-creating it.
In 2024.9 we've added the way to logout from the session, so you can logout without removing it (you'll need to rescan QR code tho, yes)

I see, that's problem. Do you have any logs in the container after you started it and see FAILED sessions? That would help! Could you also tell a bit more about your setup - do you use file storage or mongodb one, do you use chrome or regular docker image?

I can only solve it by deleting and re-creating it.

In 2024.9 we've added the way to logout from the session, so you can logout without removing it (you'll need to rescan QR code tho, yes)

I always forget to collect logs
I use mongodb storage
I don't quite understand. Does chrome need to install another docker image?
I'm running WAHA on my own liunx server
docker run -it -p 3000:3000/tcp --restart=always -e "WHATSAPP_DEFAULT_ENGINE=WEBJS" -e WHATSAPP_SESSIONS_MONGO_URL=mongodb://<IP_ADDRESS>:27017/ -e WHATSAPP_FILES_LIFETIME=0  -e WHATSAPP_RESTART_ALL_SESSIONS=True devlikeapro/waha-plus
Would providing these be helpful?

Does chrome need to install another docker image?

Yes, https://waha.devlike.pro/docs/how-to/engines/#docker-images
devlikeapro/waha-plus:chrome

I use mongodb storage

Could it be because of the fact you're using more then one worker? https://github.com/devlikeapro/waha/issues/525
Or in this case mongodb is used for a single worker?

Does chrome need to install another docker image?

Yes, https://waha.devlike.pro/docs/how-to/engines/#docker-images
devlikeapro/waha-plus:chrome

I use mongodb storage

Could it be because of the fact you're using more then one worker? #525 Or in this case mongodb is used for a single worker?

devlikeapro/waha-plus:chrome
I'll try this image
Currently, a MongoDB corresponds to a WEBJS docker container and a NOWEB docker container. The sessions in them are different. I wonder if this will affect it?

Currently, a MongoDB corresponds to a WEBJS docker container and a NOWEB docker container. The sessions in them are different. I wonder if this will affect it?

In this setup that's fine :thinking:
It could affect if you'd use 2 WEBJS with the same mongodb

Currently, a MongoDB corresponds to a WEBJS docker container and a NOWEB docker container. The sessions in them are different. I wonder if this will affect it?

In this setup that's fine 🤔 It could affect if you'd use 2 WEBJS with the same mongodb

Yes, I tried it, the webhook will push repeatedly


Tagging specs

So I know specs are supposed to be about business rules and all that... but this feature will need some relatively major architectural considerations... where do we want to talk about that? :)

(leaving some notes in #150...)

@jimrollenhagen Let's talk about it in the issue. I agree on the architectural considerations, in fact I was expected this spec to be less use case design and more architecture...


Dynamic populating of select not working for materialize css

wel.zip
I have attached my php file which represents the issue that I'm facing when using materialize css and  dynamically populating select dropdown using javascript.
The select dropdown doesn't get populated by data appended through javascript.
please help.

2 issues... in your code.

s1.value == 'Arsenal' --> s1.value == 1
Put "$('select').material_select();" after your for loop. You need to refresh the list after you're done.

In your example, I don't understand why you do basic javascript instead of using jQuery.

Yep, @matrix818181 is right, you have to call the material_select() function if it is added dynamically. This is also mentioned in the documentation.

But I'm experiencing a different & very odd problem.  I've 5 select's on a bottom sheet modal, The first one let me pick first 5, 2nd one let me pick 3 & rest of them allow only 1 item.
What is going on? no errors on console... Please help

But what to do with the behavior of select closing window every time it updates .

This really helped me @Dogfalo. Thank you so much


Change default variant of tap-salesforce

The default variant of tap-salesforce (https://hub.meltano.com/taps/salesforce) is currently https://gitlab.com/meltano/tap-salesforce, which we are not actually confident maintaining as we don't have a Salesforce test account.
Unless and until we decide to officially take on the maintenance burden (or share it with the community via MeltanoLabs), I think we should change the default to singer-io: https://github.com/singer-io/tap-salesforce

@tayloramurphy FYI

Cross posting from a slack thread about this, I said:

For context I worked on finding new non-meltano variants as part of https://gitlab.com/meltano/hub/-/issues/99 and https://gitlab.com/meltano/meltano/-/issues/2969. I cant find the issue comments (maybe its in slack) but we decided to keep the meltano variant over singer-io because it supports user/pass auth instead of key based

https://meltano.slack.com/archives/C02MBDUHCCD/p1655324722211519 is another thread where @aaronsteers and I went back and forth. I'm going to bring this to the leadership meeting to sync on as well.

We've decided we're not going to change the default, but we are moving it from GitLab to MeltanoLabs - tracking in https://github.com/meltano/internal-general/issues/437


Simplified Chinese Translation for v2o.2.6

It needs double-checking and I will make that done in a few days, so there would probably be some more pull requests, but I hope you can merge this one first.
I didn't translate the cfg guides, and I hope that won't cause problems. I may tranlsate them only if I've got enough time for understanding what they mean exactly to make sure there wouldn't have ambiguities. Sorry for that :)
Also, I didn't translate some of the advancements and TiC modifiers which are too difficult to not only translate them into Chinese but also keep their original meanings. For those ones and the ones which might have better translations, I've added comments as "pun or meme" for recognizing and re-translating.
And I want to know what do "MZA", "MF4", "MIX", "M"TRISO and "MOX" mean to make the translations as exact as possible. I've taken a guess on what do they mean, like "Zirconium-Alloy" or something else but I couldn't make sure.

And don't mind the number of deletions and additions, they are not true. They just inherited the translation of pre-overhaul version.

I'm not sure about the translation of Line 3167 in the English file because it seems like that there shouldn't even be space between blades and stators, but I've translated it into what it might be.

The space between the sets of rotor blades and stators must be empty for the turbine to form.

干的不错我的老伙计。

Thanks very much :)


Problem after installing

After I install laravel 5 and this via composer and add the two lines at config -> app I'm getting errors like: BadMethodCallException in ServiceProvider.php line 111: Call to undefined method [package]
at ServiceProvider->__call('package', array('graham-campbell/htmlmin', 'graham-campbell/htmlmin', 'C:\xampp\htdocs\vdhjonas\laravel\vendor\graham-campbell\htmlmin\src')) in HTMLMinServiceProvider.php line 46
So whatever view or url request I do I get this and when I use the command line 'php artisan publish:config graham-campbell/htmlmin'  -> same error.
I used this line: composer create-project laravel/laravel test-laravel-5-project dev-develop --prefer-dist
for installing laravel 5. So can someone help me or get this fixed? thanks in advance.

Yeh, this is a know issue. Laravel 5 doesn't currently support packages.

You can use an old version of laravel 5 for now by adding this to your composer.json file:
    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/GrahamCampbell/framework"
        }
    ],

L5 is stable now ;)

I fixed this a long time ago anyway. :)


About smoothness term

Hi Hengyi,
thanks for your excellent job! About smooth term, I have following serveral questions.

The explanation in the paper is not very clear.Can you explain more wht it works? Why we hope feature metric difference beween adjacent sampled vertices on the hash-grid trend to zero？Let's assume, one sample point is actual on the surface, its adjacent points in and out surface could be empty air. If we propose feature metric difference beween them is zero, this will destroy the reconstruction on this surface point. (I have replaced feature plane by hash grid in Eslam, and adding this smooth term on it with different weight. I find we will loss some reconstructed surface compared without using this term, especially on Scannet.)

How do you estimate the bound of scene? I notice for Replica room0, the bound size is different in different papers. In nice-slam [[-2.9,8.9],[-3.2,5.5],[-3.5,3.3]], in eslam [[-1.9,7.9],[-2.2,4.5],[-2.5,2.3]], in coslam [[-1.0,7.0],[-1.3,3.7],[-1.7,1.4]].

The effect of smooth term will be influnced by the bound. The following show the result if I use bound size  [[-1.9,7.9],[-2.2,4.5],[-2.5,2.3]]. These are some artifect out of room.

In GoSurf  you propose SDF gradient based smoothness term. Compared to that, what advantage does this feature metric smoothness term bring? By the way, why this term is only used in mapping process?

Thank you very much in advance!

Hi @shaoxiang777, thank you for your interest in our work.

The smoothness regularisation is mostly used to remove the floaters in unobserved regions and make the feature more compact. We usually set its weight to be quite small. Generally speaking, data terms v.s. regularisation terms are always like what you said. Also, please note that we use a joint encoding, the decoder would decode the coordinate encoding + parametric encoding, and regularisation is performed in feature space not directly on SDF. Thus, we did not observe that it affects the surface reconstruction in our experiments.
The scene bound usually would not affect the reconstruction. There are two bounds, one for marching cubes, and one for representation. Can you check if you set them correctly? Also, You can set the margin to 0 in smoothness regularisation to remove the artifacts around the scene bound.
Go-Surf regularises the surface normal, which requires second-order derivatives that are expensive for an online SLAM system, And it is for the smoothness of the surface. The regularisation is performed on the gradient of SDF instead of features. We did not use the regularisation term in tracking because the feature grid is not updated in tracking, and it may not make sense to involve a randomly sampled sub-grid in the tracking process.

Feel free to reach out if you have any further questions:)

Hi @HengyiWang ，thank you for your quick response！

Yes! I totally agree with you. The smoothness regularisation is performed in feature space not directly on SDF.
But It will influence SDF indirectly. As you said in paper, coordinate encoding can bring hole-filling ability, which is a very important additional feature to SDF estimation I think.

The following two images show the result when I replace feature plane with hash grid in Eslam (without coordinate encoding).
The left is result without using smoothness term. Right use smoothness term. I fiound right miss some resconstructed surfaces.

Thus, it explains why you did not observe that it affects the surface reconstruction in our experiments. The smooothness term will influence SDF surface reconstruction while coordinate encoding playing a important role to recovery it. Maybe it's a reseanable explainnation.
2.
 bound: [[-0.1,8.6],[-0.1,8.9],[-0.3,3.3]]
 marching_cubes_bound: [[-0.1,8.6],[-0.1,8.9],[-0.3,3.3]]     # bound size in coslam

 bound: [[-2.0,11.0],[-2.0,11.5],[-2.0,5.5]]
 marching_cubes_bound: [[-2.0,11.0],[-2.0,11.5],[-2.0,5.5]]  # bound size in nice-slam

The left images show the result when I use smaller bound for Scannet Scene0000.When I enlarge the bound size in coslam while keeping all other setting are same, it shows some unknown artifects around the scene bound.

Can you point why it happens? or how did you choose the smaller bound size in coslam compared to nice-slam.
Thanka a lot in advance!

Hi @shaoxiang777,

Do you use global BA in Co-SLAM or local BA in ESLAM/NICE-SLAM? If you use local BA, then performing regularisation may result in this issue. I would suggest doing some experiments to see if this issue is caused by forgetting.
I see what you mean. This is because when you set up a larger bound while keeping the voxel size of the hash grid, there would be floaters in unobserved regions caused by hash collision or the continuity of the representations. For instance, you can see the blue noisy points, which are probably because of the hash collision with the bed area. As we are doing the indoor scene reconstruction, we usually do not care about the floaters that are outside the inner surface of the room. However, if you really want to remove those floaters outside the actual inner surface, I would suggest you try tuning the size/weight of the smoothness term to see if it helps. Note that the tracking/surface reconstruction performance would not make much difference with respect to different (but reasonable) scene bounds.

Hi @HengyiWang
thank you for your suggestions and explanation! If I have some new found, I will give you feedback!


Speeding up Metadatacache and creating non-existing links

Hello,
I found some possible enhancement to the new metadata-feature.

It seems somehow laggy when creating Links and looking if they are created in the graph view (and sometimes dont even are created)
non-existing links wont be created

It seems somehow laggy when creating Links and looking if they are created in the graph view (and sometimes dont even are created)

I realize that the graph view updates "live" in edit mode, but I do not believe it will be possible for me to do that.
As far as not being created - this functionality is not something that is supported by Obsidian, and anything that causes Obsidian to re-resolve the file could remove the links from the graph view. I'll work on making it more stable, but there's a real possibility that this is the best we'll be able to do for this feature.

non-existing links wont be created

Fixed in 4.3.1

Ok I understand. Obsidian should fully support backlinks inside codeblocks, maybe they take a look at it after the mobile release is done.
I see that after restarting obsidian the outgoing links of that note aren't created. Is there a way to create a shortcut for writing the metadata-cache manually? So that after opening obsidian or editing the file, running the update metadatacache command would update the graph view?

Ah i understand, but wouldnt it be possible to avoid artifacts if there would be a way to manually (via hotkeys for e.g) write the plugin-data?

The plugin would still need to store that data to write it, which means it would need to update it when files are changed/removed/added.

@TobiasKlosek, I'm going to leave this open because it is referring to the "Sync Links" functionality, but I just released version 6.0.0 that allows you to create non-code block Admonitions. See here for more information.

@valentine195 thanks! That is nice! I just found one more thing to correct. I will create a FR.

This "Sync Links" functionality would be exceptionally useful to me. If you can get it working with the basic code blocks that would be ideal. But if the non-code block Admonitions gets to the point where they're 100% as functional as the code block method then that would be great too.
ATM lack of styling options and nesting makes the current iteration of non-code-block Admonitions not useable for my current use case.
Also, non-code-block Admonitions don't seem to support HTML for the title like the code block version does.

That gold line is due to me using
Navigation
 as the title text. doing this with the non-code-block version causes errors.

Also if by chance you figure out a way to Sync Links for the code block style Admonitions. The ability to have that synced links be togglable could be useful. For example, if you look at the image in my last post. I would want links in parents to be synced but the list of links under children I would want to keep unsynced, regardless of if I've visited the page or not.

Grouped into master issue.


Limits fraction of request

Pull the policy from a Kyverno PR to use as a sample. Use the divide function to validate a pod's limits are no more than 2.5x its requests for CPU and memory.

Will be enabled by https://github.com/kyverno/kyverno/pull/2753

This should work but currently isn't
apiVersion : kyverno.io/v1
kind: ClusterPolicy
metadata:
  name: requests-limits
spec:
  # schemaValidation: false
  rules:
  - name: check-requests-limits
    match:
      resources:
        kinds:
        - Pod
    validate:
      message: Limits may not exceed 2.5x the requests.
      foreach:
      - list: "request.object.spec.containers"
        deny:
          conditions:
            any:
            - key: "divide({{ element.resources.limits.cpu }}, {{ element.resources.requests.cpu }})"
              operator: GreaterThan
              value: 2.5

Relevant PRs here  and here.

Have to go with this for now:
apiVersion : kyverno.io/v1
kind: ClusterPolicy
metadata:
  name: enforce-limits-fraction
spec:
  validationFailureAction: enforce
  rules:
  - name: check-memory-requests-limits
    match:
      any:
      - resources:
          kinds:
          - Pod
    preconditions:
      any:
      - key: "{{ request.operation }}"
        operator: In
        value:
        - CREATE
        - UPDATE
    validate:
      message: Limits may not exceed 2.5x the requests.
      foreach:
      - list: "request.object.spec.containers"
        deny:
          conditions:
            any:
              # Set resources.limits.memory equal to zero if not present and resources.requests.memory equal to 1m rather than zero
              # to avoid undefined division error. No memory request in this case is basically the same as 1m. Kubernetes API server
              # will automatically set requests=limits if only limits is defined.
            - key: "{{ divide('{{ element.resources.limits.memory || '0' }}', '{{ element.resources.requests.memory || '1m' }}') }}"
              operator: GreaterThan
              value: 2.5

Hey. Did we get some builtin feature to verify if requests (memory) is not more than 2x of limits (memory)?


Error with Gitlab CE provider

When using Gitlab CE integration
The redirected URL throws this error
Call to undefined method SocialiteProviders\GitLab\Provider::getAccessTokenResponse()
http://gitscrum.app/auth/provider/gitlab/callback?code=758deb556788af726588222166ec20555eb288f4b00fcf1ae573412a23bb4e4a&state=rG5Prt22S0XeU9wIxvcPV1PORMYCWQURuTnQTebD
branch master

Changing line 35 in file socialiteproviders/manager/src/Oauth2/AbstractProvider from getAccessTokenResponse to getAccessToken I manage to get Gitlab Provider to work.
The Socialite base provider, which providers extend, has no method getAccessTokenResponse($code), but getAccessToken($code).
But I don't know whether it's an error.

@edbizarro checkout #166 ! I've got it working after following the steps presented in that issue.

@harrysbaraini yeah, that fix the error, but now i'm getting another one
FatalThrowableError in Gitlab.php line 168:
Call to a member function users() on null

Hi @edbizarro,
I did fix for that, please do a pull and test again.

Hi @renatomarinho the error is still there.
I manage to correct by filter the $repositories collection removing NULL values
// step1()

$repositories = (object) app(Auth::user()->provider)->readRepositories();
$repositories = $repositories->filter();


Remove dupes.

Get-CsTeamsCallingPolicy
Set-CsTeamsCallingPolicy
Grant-CsTeamsCallingPolicy
Set-CsTeamsMeetingBroadcastConfiguration
Get-CsTeamsMeetingBroadcastConfiguration
Get-CsTeamsMeetingPolicy
Set-CsTeamsMeetingPolicy
New-CsTeamsMeetingPolicy
Grant-CsTeamsMeetingPolicy
Remove-CsTeamsMeetingPolicy

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

skype/skype-ps/skype/skype.md
:white_check_mark:Succeeded
View (skype-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


[RFC] veth: change iface name and ask NetworkManager to ignore them

Change the interface name to cni-xxx instead of vethxxx so it is clearer who created them. This is just a RFC: this patch would need to be done in cni first.
Add a udev rule to ignore network interfaces named "cni-" or "rkt-". Newer versions of NetworkManager might not need that because it already ignore interfaces with the driver veth. However, that rule is still useful for me who uses NetworkManager 1.0.2. Not tested yet.
See also #1312 for a similar change with the kvm flavor.
/cc @steveeJ

The udev rule actually does not work for me: I have NetworkManager-1.0.2 on Fedora and NM_UNMANAGED is only checked from NetworkManager-1.0.4. It is probably not that useful then.

I'm pretty sure that networkmanager doesn't care about externally created interfaces anymore, so that's not a motivation anymore. @dcbw probably can confirm this. The interface names, is still valid for cosmetic reasons, but should not be a rkt implementation concern, so I think this can be closed, @alban?

NetworkManager 1.0+ should be very careful about ignoring externally created interfaces; NM log messages you see about activating these interfaces are not actually NM touching the interface, but simply reporting changes made outside of it to its own clients.
veth was special because QE testing often used that to simulate a real ethernet interface, but of course in container-land we want those to be externally managed.  But I believe that's all been sorted out in 1.0+.
If you find issues with NM somehow messing around with veth interfaces that it didn't itself create, definitely let me, @lkundrak, or @thom311 know.

FWIW I run NetworkManager 1.0+ on all the machines I do openshift/cni/kubernetes development on, and I know many others that also do, and we don't encounter any problems with veth interfaces.


Store cache file on Google Cloud Storage

Context
Overview
Out of Scope:
Related issues/Dependencies:
Acceptance Criteria

[x] When the application is configured to store the cache file in GCS, it reads and writes from that bucket instead of the local file system
[x] The same logic with with regards to missing data in the cache (e.g. last few days) should remain in place and work with the new GCS cache logic.
[x] Only the default service account and the Green Cloud team can read/write to that bucket
[x] Green Cloud team has permission to delete from the bucket
[x] By default, the cache file should live in the local file system
[x] There should be an ADR
[x] Add explanation of this option and the default in ReadMe (for now)

Tech Tasks

[x] New GCS bucket is created in the cloud-carbon-footprint project called "ccf-estimates"
[x] Add option CACHE_MODE in core/application/Config.ts. If not set, it will default to "filesystem"
[x] Add option GCS_CACHE_BUCKET_NAME is added to core/application/Config.ts, and set via the api/.env file.
[x] Add a new class EstimatorCacheGoogleCloudStorage than implements the EstimatorCache interface
[x] Install any @google npm packages needed to read and write to GCS buckets
[x] Implement the getEstimates function, that will pull the estimates from estimates.cache.json file in the GCS bucket
[x] Implement the setEstimates function that will write the estimates to the estimates.cache.json file in the GCS bucket
[x] Update Cache.ts to use the new EstimatorCacheGoogleCloudStorage object instead, if the CCF_CACHE_MODE is "GCS", otherwise use the current filesystem cache object.
[x] Run Changesets bump any packages that have been updated/changes

Tech Notes
Post Review tasks

[x] Add explanation of this option to Performance config page (needs restructure)
[x] Add this option to config glossary

@roberto-thoughtworks One small tweak - could we get that title Caching Configurations before the two caching sections, and have those Ensure real-time estimates and Storing the cache file as subheaders?


Add description of requirement to set user_class

if model User is not used

I'm archiving this repo


FixMe link doesn't send you to the right page in Transifex

The Fix Me link at the bottom of website pages no longer leads to the file to translate in Transifex. Simply shows the website dashboard.

Actually, it works. I think I have done the test while I was on the english version of the site. :(


Search box is unusable

Nyaa's current search box is a usability mess. Here's what it looks like:

Primary function of the search box should be to SEARCH for something, not to refine your search so why is the "Refine" button beside a search box? Refine comes AFTER the search has been done. That "Refine" is called "Advanced Search" on pretty much ever site I've ever used.
Why is the magnifying glass, the thing you actually have to click to search, less than a 1/3 in size of the Refine button? Smaller target = harder to click. And why doesn't it look like a button?

After you've focused on the Search box and started to type (or pasted something in), why does the box expand? Why does it hide the Sign In link? And after you've clicked on something and the box shrinks again, if you're not careful, you can EASILY click the sign in link by accident. It has happened to me several times.
And here's the competition:

With their search box, you can actually search for something without thinking and precisely having to click on tiny icons. Notice how it looks and behaves like pretty much every search box on the web and the primary function, the search, is obvious and highlighted by a single large icon and there's nothing to confuse you.

the search box is expandong on focus, naturally clicking the search icon loses the focus so it un-enxpandong

Why is the magnifying glass, the thing you actually have to click to search, less than a 1/3

yeah i already expanded that the most i could, making it bigger would create visual artifact so it's probably gonna be redone to occupy more space

Primary function of the search box should be to SEARCH for something, not to refine your search so why is the "Refine" button beside a search box? Refine comes AFTER the search has been done. That "Refine" is called "Advanced Search" on pretty much ever site I've ever used.

Yeah this is something that i was thinking about though, the Refine button looks more like a search button by the position so people might click on it and notice that the form isn't submitted, just that the refine <div> is now being shown when they do. I'd like to get it separate from the search box and give it some proper styling as to avoid people clicking on it by mistake, however that would require more space and the header in japanese (the country we get the most traffic and user-uploads from) and some other country seriously lack space, so doing these changes right now would be pretty shit from them. It could be done if the shitty Boards link would be deleted, but that link was added by ewhal4 (owner) and Miao (hosting guy) by straight-up editing the file in the server, it's not even in the code.  Both me and akuma (two main contributors) agree on removing it from there, but we can't make PRs for it as it's not even in the code. If users would be complaining about it then we'd probably see it gone in matter of seconds as no one really cares about it being in the header (it can be moved elsewhere).

@Kiloutre You can use a standard-looking search bar. Here's how ebay looks, for example:

Search button is clearly labeled (magnifying glass like .si does it is also OK but Search is so much clearer) and nothing jumps around and nothing confuses the user about what they should click. Advanced link is like Refine (Refine should probably be an option after a user does the initial search and shouldn't even be in the navbar).

The search button looking like a background graphic has not been fixed


Add async mode and mesh tensor support to reduce scatter op

Ticket
Link to Github Issue
Problem description
These features were missing for the op
What's changed
Added support for async mode and mesh tensor for reduce scatter
Checklist

[ ] Post commit CI passes

https://github.com/tenstorrent/tt-metal/actions/runs/10113770397

[x] T3000 Frequent passes

https://github.com/tenstorrent/tt-metal/actions/runs/10104717859

[x] T3000 demos passes

https://github.com/tenstorrent/tt-metal/actions/runs/10104725899

[x] T3000 unit tests passes

https://github.com/tenstorrent/tt-metal/actions/runs/10104733482

[ ] T3000 model perf

https://github.com/tenstorrent/tt-metal/actions/runs/10113816549

[x] New/Existing tests provide coverage for changes

Enabled async mode in tests. Updated reduce scatter tests to use mesh tensor

FYI @djordje-tt

FYI @cfjchu - I had to update one other place that had an incorrect assert on the variant alternative it was expecting. I added a corresponding gtest for that change as well, like how you did with your prior change (it's the latest commit on the stack). All these'll get squashed before merge.

FYI @johanna-rock-tt and @djordje-tt, I know you are updating falcon 40b to support async and (I believe) mesh tensor. The new reduce scatter changes now only support the mesh tensor way of calling the op.
Because of that, I've made localized changes to the falcon mlp file where I essentially wrap the reduce scatter call such that I pack the input tensor list into a mesh tensor as an argument, and then unpack the returned mesh tensor back to a tensor list. I'm running the model perf suite to make sure this doesn't detrimentally affect performance.
I'd like your blessing on this temporary change so I can get the reduce scatter updates in and you can remove these conversions when you go to full mesh tensor migration.

FYI @cfjchu - I had to update one other place that had an incorrect assert on the variant alternative it was expecting. I added a corresponding gtest for that change as well, like how you did with your prior change (it's the latest commit on the stack). All these'll get squashed before merge.

sounds good, thanks!


clonatype define

Hi! I have a question about clonatype identification, I found the defination of clonatype from paper :A TCR clonotype is a unique nucleotide sequence that arises during the gene rearrangement process for that receptor.
So I can directly use the TRUST4 called CDR3 dna sequence to denfine clonotypes, right?
And I found TCR clone sequences have been presented in publications in many different forms, what the forms do you usually use? Thank you in advance for your reply.

For us, we mostly use CDR3 dna as clonotypes, which is as you did. This is purely from computational perspective. For biology, it may make more sense use the amino acid sequence as clonotype. Furthermore, if the data has good coverage on T cells, you may use V gene id, J gene id and CDR3 as the clonotype.

By default, TRUST4 also reports partial CDR3s, you may want to filter those out from the report file (just grep -v partial) to compute clonaltypes.

By default, TRUST4 also reports partial CDR3s, you may want to filter those out from the report file (just grep -v partial) to compute clonaltypes.

The out_of _frame CDR3 should also be removed, right?

That's a bit different, for out_of_frame and the CDR3s with stop codon (symbol "_"), they are still the nucleotide sequence during gene rearrangement process for the receptor. I usual still include them as clonotypes, but this depend on the application. If you are interested more at the protein level, you should definitely remove those, since these CDR3s won't be able to translate into the real receptors.

That's a bit different, for out_of_frame and the CDR3s with stop codon (symbol "_"), they are still the nucleotide sequence during gene rearrangement process for the receptor. I usual still include them as clonotypes, but this depend on the application. If you are interested more at the protein level, you should definitely remove those, since these CDR3s won't be able to translate into the real receptors.

I am a little puzzled about partial CDR3. They are also naturally occurring, or just incomplete sequencing?

Partial CDR3 means incomplete sequencing. But from TRUST4's results, many of the partial CDR3s are also from those V or J genes before recombination, so these should be used with caution. I'm considering remove partial CDR3 results from the report by default in the formal release in future.
I'm not on TRUST3's paper. From my experience, many partial CDR3s from TRUST3 become complete in TRUST4, so there is no need to just look for substrings (octamer).

Partial CDR3 means incomplete sequencing. But from TRUST4's results, many of the partial CDR3s are also from those V or J genes before recombination, so these should be used with caution. I'm considering remove partial CDR3 results from the report by default in the formal release in future.
I'm not on TRUST3's paper. From my experience, many partial CDR3s from TRUST3 become complete in TRUST4, so there is no need to just look for substrings (octamer).

Got it! Thanks for your patience!