Versioning should be scoped in README

Since the template is encouraging API versioning, a guideline for API versioning should be outlined. One good example of this can be found in Atlassian docs:
Version Control for APIs
https://developer.atlassian.com/server/framework/atlassian-sdk/atlassian-rest-api-design-guidelines-version-1/#version-control-for-apis

APIs must be subject to version control. The version number of an API appears in its URI. For example, use this URI structure to request version 1 of the 'upm' API:

http://host:port/context/rest/upm/1/...

When an API has multiple versions, we recommend:

Two versions should be supported at the same time.
If two or more versions are available, applications may provide a shortcut to the latest version using the latest key-word.
For example, if versions 1 and 2 of the 'upm' API are available, the following two URIs would point to the same resources:

host:port/context/rest/upm/latest/
http:host:port/context/rest/upm/2/

When to Change the Version
A version number indicates a certain level of backwards-compatibility the client can expect, and as such, extra care should be taken to maintain this trust. The following lists which types of changes necessitate a new version and which don't:

Changes That Don't Require a New Version

New resources
New HTTP methods on existing resources
New data formats
New attributes or elements on existing data types

Change That Require a New Version

Removed or renamed URIs
Different data returned for same URI
Removal of support for HTTP methods on existing URIs

Yeah I can include that in the README for sure, but what do you think of the strategy? Should the versions be nested in folders this way or should provider/controller files be named provide-something.v1.js instead?

The question of versioning might be bigger as well, like do we want to provide long term support to multiple API versions? This server will actually default a versionless URI to whatever version specified, so we might want to consider as we solidify our resource standards to at least internally defaulting to versionless, while only using versions for when we want to prevent a breaking change on our own front end. That way we can also deprecate versions as we need.

This server will actually default a versionless URI to whatever version specified, so we might want to consider as we solidify our resource standards to at least internally defaulting to versionless

Do you mean that the LTS API version would be running at versionless? so v1, v2, v3 are some new features, but if the latest feature is v4, it would also be available without a version basically working rather similarly to the atlassians /latest/?
As for deprecating APIs, I think it would be good to have a clear deadline for the front-end for deprecation so they know by what time they should by latest react. We could for instance seek to support (like atlassian) two versions at a given time, and if we for instance have now added a v3, we would set a deprecation message to all v1 APIs that by one month from now this API will be deprecated. We could have for instance a standard format in the response body:
{
deprecatesBy:new Date()
}

Yeah sure, we can include that in the JSend spec to deprecate APIs. The important thing here is to make sure we agree that API versions shouldn't be supported long-term since we don't have the manpower to maintain them. I think versioning makes more sense when you serve thousands of different clients who rely on stable APIs on their business end. Without that, it should be slightly discouraged.


Data science

fixed the formatting as requested by @zsyed1

@elialbert Nice work! As Zamir suggested, please make his recommendations and resubmit.

will do


Add Github Actions

Chore
Add a Github actions runner similar to supabase-py

Fixed in PR https://github.com/supabase-community/functions-py/pull/9


Moes ufo-r2-rf with WR3E

Hello! Yesterday I received this IR/RF blaster from Aliexpress, I though it had an ESP chip like ufo-r1 version, but after teardown I saw that it has a WR3E chip, which seems not compatible with Tasmota, as it has a RTL chip inside, like Tuya Developer site says.
This is a really great product has it has IR and 315/433 mhz for RF and it's really cheap.
If anyone needs pics here they are, including wiring prototype from a doc on Tuya site linked before:

A year after I tried again, bought a Esp8266 12S, soldered without pulling any pin, flashed Tasmota and it work, now I have to figure it out how to set GPIO and template in Tasmota and it should work, hopefully.

Hi,
very interesting - LED wise the interior looks very much like my YTF IR bridge (https://tasmota.github.io/docs/devices/YTF-IR-Bridge/) which still came with ESP8266 and that I´m using as IR blaster.
Due to the several LED it has a great reach - even gets "around corners", obviously reflecting at walls ...
Looking at the HW this one seems to have 3 antennas for sending - so I would guess it should have a good reach for RF too ...
I found yours on AliExpress for about 20€, which is not too bad in pricing.
I´d be interested if you find the GPIO layout (guess it should not be too hard finding it by guess and try ...
Please share your experience - thanks - MacSass

Hello,
Could you elaborate a bit how you open the case of this device?
Been pulling it from the side but it feels like it would damage the plastic...
Thanks !
Yves

@yvesdm3000 I've just opened one and confirm there are no external screws.
You just need to use one of the tipical smartphone repair tools to pen it thorugh the middle. You have two tabs on each side close to the corner.

has anyone figured out the pins used by the board? I'd like to use it by replacing the WR3E by an ESP.
Thanks,

How did you open it ?

I pried it open with a plastic tool used to open a smartphone / tablet.
Yves
-----Original message-----
From: Agnes56fr
Sent: Friday, 30th September 2022, 16:00
To: ct-Open-Source/tuya-convert
Cc: Yves De Muyter; Mention
Subject: Re: [ct-Open-Source/tuya-convert] Moes ufo-r2-rf with WR3E (#901)

How did you open it ?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

LibreTuya-ESPHome is working fine on this RTL8710-based module, fwiw. But I would love to find a way to do the initial installation OTA if possible, rather than attaching wires to the module pins.

LibreTuya-ESPHome is working fine on this RTL8710-based module, fwiw. But I would love to find a way to do the initial installation OTA if possible, rather than attaching wires to the module pins.

@RoganDawes I'd love a bit more info on how you did it. I ended up with some RTL circuit breakers on advise from my electrician and decided I'd figure out how to integrate them later. Dumb idea.

I'm guessing you have the CBI Astute smart controllers. The only way that I know of to flash them is to open them up, and connect wires to the appropriate pins as per the libretiny project. If you have access to a 3D printer, there are some models that can put pogo pins in the right places to save soldering, although I have not had the best results that way!
Details can be found here: http://docs.libretiny.eu/docs/platform/realtek-ambz/
Use ltchiptool once you have created a suitable config file (basically, the bare minimum, including the ota: and wifi: details.) Even with nothing wired up, ltchiptool will try to connect to it, and when it times out, will print out the wiring required. You'll also want to find the WR3E pinout to get the corresponding pins on the board/module.

You guessed correctly. I'm no stranger to the soldering iron, so it's not a problem. I'm considering picking up a spare one and playing with that first to get the process down pat. Awesome info, thank you! I'm looking forward to getting them out of the walled garden.

Good luck. Shout if you need help with the yaml configuration.

Good luck. Shout if you need help with the yaml configuration.

Hi Rogan, could you share your yaml configuration for this device?

Good luck. Shout if you need help with the yaml configuration.

This is what I had prior to the change where libretiny needs to be updated to the cpu platform (rtl87xx:). I no longer have any of these devices, so have not bothered to update it. It is strongly recommended to include the web_server: and captive_portal: components in all firmware uploaded to these devices, in case you enter the wifi credentials incorrectly!). If you are having trouble getting current and power readings from the device, try adding the inverted: option to the CF and CF1 pins.
substitutions:
  devicename: asc
  upper_devicename: Smart Controller

esphome:
  name: ${devicename}

rtl87xx:
  board: wr3e
  framework:
    version: latest

# Enable logging
logger:
  baud_rate: 0

# Enable Home Assistant API
api:

ota:

wifi:
#  ssid: !secret wifi_ssid
#  password: !secret wifi_password
  ap:
    ssid: $upper_devicename

web_server:
  port: 80

captive_portal:

sensor:
  - platform: hlw8012
    model: BL0937
    sel_pin:
      number: PA19
      inverted: true
    cf_pin: PA15
    cf1_pin: PA14
    voltage_divider: 1742
    current:
      name: "${upper_devicename} Current"
    voltage:
      name: "${upper_devicename} Voltage"
    power:
      name: "${upper_devicename} Power"
    energy:
      name: "${upper_devicename} Energy"
    update_interval: 5s

binary_sensor:
  - platform: gpio
    id: button
    pin:
      number: PA22
      inverted: true
      mode:
        input: true
    name: "${upper_devicename} Button"
    filters:
      - delayed_on: 10ms
      - delayed_off: 10ms
    on_press:
      - switch.toggle: relay_template

switch:
  - platform: output
    id: relay
    output: relay_output

  - platform: template
    name: "${upper_devicename} Relay"
    id: relay_template
    lambda: |-
      if (id(relay).state) {
        return true;
      } else {
        return false;
      }
    turn_on_action:
      - light.turn_on: red_led
      - switch.turn_on: relay
    turn_off_action:
      - light.turn_off: red_led
      - switch.turn_off: relay
    # optimistic: true # this will change the toggle switch to individual on/off buttons

light:
  - platform: binary
    id: red_led
    output: red_led_output

output:
  - id: red_led_output
    platform: gpio
    pin: PA23
    inverted: true

  - id: relay_output
    platform: gpio
    pin: PA12
    inverted: false

# Blue LED
status_led:
    pin:
      number: PA05
      inverted: true

Thanks for your contribution Rogan, but i think you uploaded code for wrong device. The Moes ufo-r2-rf isn't power metering switch, it is an IR/RF remote.

Thanks for your contribution Rogan, but i think you uploaded code for wrong device. The Moes ufo-r2-rf isn't power metering switch, it is an IR/RF remote.

Sorry, I thought you were responding to my post in e.g. https://github.com/ct-Open-Source/tuya-convert/issues/901#issuecomment-1719122345, where I was talking about the CBI Astute Smart devices, which are also based on the WR3E module.
Unfortunately, I do not have the Moes ufo-r2-rf, so have no idea what sort of configuration would be required.

I just got one and it's completely different, now the wifi module is a cbu (i.e. a BK7231N, which matches the definition at libretiny) and for the rf it uses a module that I cannot identify.
I guess I could flash esphome using libretiny but then I'd lose the rf functionality (the profile is almost empty).
There's also the OpenBK7231T_App but, again, not much information about this device.
Any hint on how to identify the rf module and the GPIOs to control it?


[IntelliJ Plugin] Update file templates

Purpose
This PR updates ballerina service file template in IDEA plugin.

Codecov Report

:exclamation: No coverage uploaded for pull request base (release-0.990.0@dfb28e0). Click here to learn what that means.
The diff coverage is n/a.

@@                Coverage Diff                 @@
##             release-0.990.0   #12841   +/-   ##
==================================================
  Coverage                   ?   60.01%
  Complexity                 ?      659
==================================================
  Files                      ?     2068
  Lines                      ?   101741
  Branches                   ?    12952
==================================================
  Hits                       ?    61057
  Misses                     ?    35490
  Partials                   ?     5194

Continue to review full report at Codecov.

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


Switch to network manager

Connects to resin-os/meta-resin#264

@telphan @floion @agherzan @lorenzo-stoakes
I still need to look into resolvconf.

Please rebase on top of current master. There are some commits including a merge that you pushed from master.

LGTM

connect https://github.com/resin-os/meta-resin/pull/241

@michal-mazurek connect to tag needs to be in the description for waffle to pick it up correctly.

The NetworkManager version included in meta-oe is pretty old (1.0.x). It'd be nice if we installed the latest version (1.4.x)

To be read "the latest stable".


Investigate duplication between the test framework and the write-side resource actions

Is it possible to add a new write-side resource action and have it automagically become available in the test framework?
All commits in this investigation exist on the branch https://github.com/sciety/sciety/tree/gold/3359.

At this point it is clear that the test framework can create a set of resource action helpers that are derived directly from those in src.
Possible minor issue: My vim IDE doesn't seem to be able to autocomplete the names of resource action functions.
Next challenge: can the same resource actions be used in src to remove duplication?

I would like to call something like writeResources.instantiate(dependenciesForExecuteResourceAction) in createInfrastructure, and then pass the resulting "configured" write-side into the form handlers and API handlers. The same instantiate function could then be used in createTestFramework.
This way, very few (possibly only one) places in the code would need to know about executeResourceAction and its dependencies. The only things passed around would be an object that looks like a set of resource actions, and which has been already wired up to a particular event-store implementation. Adding new resource actions should then be easy, and code such as a form handler would depend only on things it directly needs (as resource action and its corresponding codec).
I suspect the only thing standing in the way of this goal is the dodgy generics in createActions on this branch. It "ought to be possible" to move createActions out of the test framework, and so that it becomes the basis of the above posited writeResources.instantiate().

Closing this Gold card for now. There's a clear direction of travel indicated in the above comment.


Explore implementing prototypical inheritance

Wheel objects can be set up to use this as a self-reference for simulating object methods:
{
  function getPlusOne (this)
  {
    function inner()
    {
      return this.x + 1;
    }

    return inner;
  }

  let obj =
  {
    x: 1,
    getPlusOne: null
  };

  obj.getPlusOne = getPlusOne(obj);

  return obj.getPlusOne();
}

It should be possible to implement JS-style prototypical inheritance with this, though I may need a native function equivalent of Object.keys() to add a prototype's methods to a created object. (Created with a wheel function new() that takes a prototype)

May also need a way to implement dynamic property reference if I want to implement call() in Wheel.

I could even implement ES6-style classes as syntactic sugar. Would want a desugaring pass rather than incorporating it into the parser.

For prototypical inheritance, I could modify field access on objects to, if a field isn't defined on the object itself, walk the prototype chain up to search for the field. This would require modifying the evaluator. Alternatively, I could, when an object is created, copy the fields from the prototype to the new object...though that might mess up the closure around this.

First draft of syntax:
class Person
{
  constructor (name, age)
  {
    this.name = name;
    this.age = age;
  }

  isLegalDrinker()
  {
    return this.age >= 21;
  }
}

Unsure how to desugar; need to figure out what I would want for new syntax. Can't make just one new function, because it'd have to be modified every time a new class is defined. I could make the new Person() syntax desugar to an internal function, i.e. #new#Person() that gets created. Draft of desugaring:
function #Person#isLegalDrinker(this)
{
  function inner(/* method parameters would go here */)
  {
    // user method code begins
    return this.age >= 21;
    // user method code ends
  }
  return inner;
}

function #new#Person(name, age)
{
  let this = {};

  // user ctor code begins
  this.name = name;
  this.age = age;
  // user ctor code ends

  // field name comes from user method name
  this.isLegalDrinker = #Person#isLegalDrinker(this);
  return this;
}

Alternatively, if new looks up the relevant code in an object, it could work as a regular function: let p = new("Person")("Dylan", 28);
New() would have to be able to reference some sort of generated internal table, though.

Potential desugaring, although this is just turning ctors into a factory function, not actually prototype-based. That might still work.
class Dog
{
  bark()
  {
    printStr(this.name + " barked!");
  }
}

let dog = new Dog();
dog.name = "Fido";
dog.bark();

becomes
// object definition. #Object is an empty object created at intepreter startup
function #Dog#bark(this)
{
  function inner()
  {
     printStr(this.name + " barked!");
  }
}

function #new#Dog()
{
  let dog = {};
  dog.bark = #Dog#Bark(dog);
  return dog;
}
#Object.#new#Dog = #new#Dog;

// object instantiation and use
let dog = #Object.#new#Dog();
dog.name = "Fido";
dog.bark();

Potential desugaring, although this is just turning ctors into a factory function, not actually prototype-based. That might still work.
class Dog
{
  bark()
  {
    printStr(this.name + " barked!");
  }
}

let dog = new Dog();
dog.name = "Fido";
dog.bark();

becomes
// object definition. #Object is an empty object created at intepreter startup
function #Dog#bark(this)
{
  function inner()
  {
     printStr(this.name + " barked!");
  }
}

function #new#Dog()
{
  let dog = {};
  dog.bark = #Dog#Bark(dog);
  return dog;
}
#Object.#new#Dog = #new#Dog;

// object instantiation and use
let dog = #Object.#new#Dog();
dog.name = "Fido";
dog.bark();

Grammar:
Add to statements: class declaration
ClassDecl =
"class" Identifier
"{"
  ConstructorDecl:?
  MethodDecl:*
"}"

ConstructorDecl =
"constructor" "(" ParameterList ")"
Block

MethodDecl =
Identifier "(" ParameterList ")"
Block

New tokens: "class", "constructor", "this"

Grammar:
Add to statements: class declaration
ClassDecl =
"class" Identifier
"{"
  ConstructorDecl:?
  MethodDecl:*
"}"

ConstructorDecl =
"constructor" "(" ParameterList ")"
Block

MethodDecl =
Identifier "(" ParameterList ")"
Block

New tokens: "class", "constructor", "this"

Desugaring constructors:
User code:
module Pets
{
  class Dog
  {
    constructor(name)
    {
      this.name = name;
    }

    bark()
    {
      printStr(this.name + " barked!");
    }
  }
}
export Dog;

module Main
{
  //import Object from StdObject;
  import Dog from Pets;

  //let dog = Object.new.Dog("Fido");
  let dog = Dog("Fido");
  dog.bark();

Desugared:
module Pets
{
  function #Dog#bark(this)
  {
    function inner()
    {
      printStr(this.name + " barked!");
    }
    return inner;
  }

  function Dog(name) // args from constructor
  {
    let this = {};

    // begin constructor body
    this.name = name;
    // end constructor body

    // method setup
    this.bark = #Dog#bark(this);

    return this;
  }
}
export Dog;

Desugaring constructors:
User code:
module Pets
{
  class Dog
  {
    constructor(name)
    {
      this.name = name;
    }

    bark()
    {
      printStr(this.name + " barked!");
    }
  }
}
export Dog;

module Main
{
  //import Object from StdObject;
  import Dog from Pets;

  //let dog = Object.new.Dog("Fido");
  let dog = Dog("Fido");
  dog.bark();

Desugared:
module Pets
{
  function #Dog#bark(this)
  {
    function inner()
    {
      printStr(this.name + " barked!");
    }
    return inner;
  }

  function Dog(name) // args from constructor
  {
    let this = {};

    // begin constructor body
    this.name = name;
    // end constructor body

    // method setup
    this.bark = #Dog#bark(this);

    return this;
  }
}
export Dog;

Actual grammar:
ClassDecl =
"class" Identifier
"{"
MethodDecl:*
ConstructorDecl:?
MethodDecl:*
"}"
ConstructorDecl =
"constructor" "(" ParameterList ")"
Block
MethodDecl =
Identifier "(" ParameterList ")"
Block

Actual grammar:
ClassDecl =
"class" Identifier
"{"
MethodDecl:*
ConstructorDecl:?
MethodDecl:*
"}"
ConstructorDecl =
"constructor" "(" ParameterList ")"
Block
MethodDecl =
Identifier "(" ParameterList ")"
Block

Implemented with the factory function approach (no prototypes, no inheritances, no private anything) in #78.

Implemented with the factory function approach (no prototypes, no inheritances, no private anything) in #78.


prohibit mutation of schema::Migration

schema::Migration should be read-only. Currently it allows DELETE (and INSERT seems to be allowed to as long as you can compute the hash, I think). We should prohibit any modifications inside the schema:: namespace with DML.
cc @ambv

Deletion of schema::Migration is used in single-db tests to nuke the database (added here), we probably want to use the future version of wipe-db for those tests instead.

Hey, would you mind providing some more information on this issue (at a new contributor level of understanding).
Also, could you provide a test case that triggers this behavior?

delete schema::Migration ought to produce a nice error message. Currently, it succeeds. Fortunately, it never actually deletes anything, because there is an access policy on it that causes objects to not be visible to the delete.
Additionally and closely relatedly, delete schema::Object (and update, insert) will produce an internal server error, as it compiles into broken SQL for various reasons.
We ought to do a proper error check for all of these "mutating objects in the standard library" cases and produce a proper error message.
edb/edgeql/compiler/stmt.py is the place where statements get compiled from the AST to our IR, and is where the checks should happen


Update file headers in regards of Qiskit text

Summary
Changes all headers from This code is part of Qiskit to This code is part of a Qiskit project (via search replace in all project files)
Copyright dates were amended accordingly. (make copyright fixes the dates as needed - but I guess it does not check github action/workflow files and seeing a couple of older dates as I was about to do this PR I manually updated them first).
Details and comments

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
646

Relevant Lines:
852

💛  - Coveralls


WIP - Reverting to the state at b31dc7 on release1.15 branch

v1.15.0 tag was added on 14-06-2019, b31dc7 was merged on 12-06-2019.

ref https://github.com/kubernetes/perf-tests/issues/797

Have we tested it?

I didn't have time to test those branches yet. I'll let you know once I sort this out.

This branch has been tested against k/h release-1.15. It worked fine.

/assign @wojtek-t

/lgtm
/approve


Update Hash syntax to the newer syntax

Ref: https://github.com/elastic/logstash/issues/3432

LGTM


Allow to get the English Text From NLS Calls

Commands need to keep the original English text of a localizable call.
Currently, this forces developers to provide the same text twice:
export class ToggleActiveConflictInput2 extends Action2 {
	constructor() {
		super({
			id: 'merge.toggleActiveConflictInput2',
			category: mergeEditorCategory,
			title: {
				value: localize(
					'merge.toggleCurrentConflictFromRight',
					'Toggle Current Conflict from Right'
				),
				original: 'Toggle Current Conflict from Right',
			},
			f1: true,
			precondition: ctxIsMergeEditor,
		});
	}
...

I suggest to introduce a call localizeKeepEnglish that would directly return a ILocalizedString:
export class ToggleActiveConflictInput2 extends Action2 {
	constructor() {
		super({
			id: 'merge.toggleActiveConflictInput2',
			category: mergeEditorCategory,
			title: localizeKeepEnglish(
					'merge.toggleCurrentConflictFromRight',
					'Toggle Current Conflict from Right'
			),
			f1: true,
			precondition: ctxIsMergeEditor,
		});
	}
...

Build tooling would treat localizeKeepEnglish(id, text) as { value: localize(id, text), original: text }, effectively inlining the English text.

we have a localize2 now that you can use that returns an ILocalizedString.

verification:

find a place in Core where we do:

			{
				value: localize(
					'merge.toggleCurrentConflictFromRight',
					'Toggle Current Conflict from Right'
				),
				original: 'Toggle Current Conflict from Right',
			},

instead do:

				localize2(
					'merge.toggleCurrentConflictFromRight',
					'Toggle Current Conflict from Right'
				)


date formate change

I want to change format of date in week part of react-big-calender. Right now the format is like MON 10. But I want format is like MON 10-3-2019. And I want to change it locally. How could I do That??

@naik4198 check this out
http://intljusticemission.github.io/react-big-calendar/examples/index.html#prop-formats


Implement missing navigation polygon debugging in tilemap

Hi,
I recently had to debug navigation polygons in my tilemaps, and noticed that the debug option "Visible Navigation" wasn't working in tilemaps - only outside of them.
As far as I can see, that was never actually implemented (and indeed that doesn't work in both 2.1 or 3.0), so I've taken a stab at implementing this.
I was banging my head out with getting the transform for the polygon right - but in all my test cases it seems to be working now.
I'd love to get more feedback and testing now to see if anyone spots any issues. :)
I've also attached my test project.
Fixes #10898
tilemap-navpolys.zip

Thanks, looks good!

Cherry picked into 3.0.3


aur graph return nothing

$ cat aurutils-git/.SRCINFO
pkgbase = aurutils-git
        pkgdesc = helper tools for the arch user repository
        pkgver = 1.5.3.r692.gaa395f7
        pkgrel = 1
        url = https://github.com/AladW/aurutils
        arch = any
        license = custom:ISC
        makedepends = git
        depends = pacman>=5.0
        depends = git
        depends = jq
        depends = pacutils
        depends = wget
        optdepends = aria2: thread downloads
        optdepends = devtools: aur-build-nspawn
        optdepends = diffstat: aur-fetch-snapshot
        optdepends = expac: aur-rfilter
        optdepends = vifm: build file interaction
        optdepends = xdelta3: generate delta files
        provides = aurutils
        conflicts = aurutils
        source = git+https://github.com/AladW/aurutils
        sha256sums = SKIP

pkgname = aurutils-git

$ cat aurutils-git/.SRCINFO | aur graph
$ # nothing
$ pacman -Qs aurutils
local/aurutils-git 1.5.3.r692.gaa395f7-1
    helper tools for the arch user repository

Is it normal that it returns nothing?

Right, aurutils doesn't have any AUR dependencies (more generally, no dependencies specified on the command line) so nothing is printed: https://github.com/AladW/aurutils/blob/master/lib/aur-graph#L110-L112
I guess you could have it output "pkgbase pkgbase" (adding a loop for a node without dependencies)


Consildated cost with large CUR report

I have a large consolidated CUR report with 1.5Gb zipped and 22.5Gb unzipped.  the lambda function seems not able to handle.  i've tried to increase memory from 3008 -> 4096 and increase runtime to max 15 mins still didn't help

Describe the bug
lambda log
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
To Reproduce
Steps to reproduce the behavior:

dropped a CUR .zip file into the S3 bucket

Expected behavior
Cost data showing in Perspective

Hi there, the cost feature has been rewritten from scratch for v1.1.0 so this issue will no longer be a problem. We are hoping to have the new version out in the next 4-5 weeks although this is not a firm date.

I'm going to close this issue but I will reply when our release is out to let you know it's ready.


requested attributes name used instead of credential name in credential card on proof request screen

Steps to Reproduce
Given I have credentials
And I have a proof request that I can satisfy with a credential in the wallet
Then the credential card shows the requested_attributes` name instead of the credential name.

This is the proof request.
{
   "requested_attributes": {
      "photo_attrs": {
         "names": [
            "name"
         ],
      "restrictions": [
            {
               "schema_name": "photo_id_revokable",
               "schema_version": "1.0.0"
            },
            {
               "schema_name": "photo_id",
               "schema_version": "1.0.0"
            }
         ]
      }
   },
   "requested_predicates": {
   },
   "version": "0.1.0"
}

This also includes a proof of non-revocation that is not shown above.
Notice photo_attrs is used instead of the credential name of photo_id_revokable or photo_id.
Expected Result
The Credential Card would show the name of the credential
Environment
BC Wallet build 743
Tested Android 11
Workaround
None known
Severity
Medium
Priority
Medium
Test Impact
T007-Proof

resolved by: https://github.com/hyperledger/aries-mobile-agent-react-native/pull/659


poudriere bulk fails to proceed a long list of dependencies on aarch64

Got a reproducible bug, only with poudriere-devel but not release package
try to build something big
poudriere bulk -j 150aarch64 -tr x11/kde5
[skip]
[00:00:39] Recording filesystem state for prepkg... done
[00:00:39] Processing PRIORITY_BOOST
Error: (78387) mkdir:pkgqueue_move_ready_to_pool:269: 115Z114Z113Z112Z111Z110Z109Z108Z107Z106Z105Z104Z103Z102Z101Z100Z99Z98Z97Z96Z95Z94Z93Z92Z91Z90Z89Z88Z87Z86Z85Z84Z83Z82Z81Z80Z79Z78Z77Z76Z75Z74Z73Z72Z71Z70Z69Z68Z67Z66Z65Z64Z63Z62Z61Z60Z59Z58Z57Z56Z55Z54Z53Z52Z51Z50Z49Z48Z47Z46Z45Z44Z43Z42Z41Z40Z39Z38Z37Z36Z35Z34Z33Z32Z31Z30Z29Z28Z27Z26Z25Z24Z23Z22Z21Z20Z19Z18Z17Z16Z15Z14Z13Z12Z11Z10Z9Z8Z7Z6Z5Z4Z3Z2Z1Z0: File name too long
Error: (32676) /usr/local/share/poudriere/bulk.sh:pkgqueue_move_ready_to_pool:269: set -e error: status = 1
[00:00:40] Cleaning up

Environment

Host OS [15.0 aarch64]:
Jail OS [15.0 aarch64]:
Poudriere Version [poudriere-git-<IP_ADDRESS>40811]:
Ports branch and revision [head]:

Looks like it fails at https://github.com/freebsd/poudriere/blob/fca4bc36dc0c4f36d7ea54ad793940008a6be524/test/pkgqueue_mutually_exclusive.sh#L14
@bdrewery @bapt please take a look

The 'ZZZ' thing was showing up for OPTIONS for @bapt too. If paste is giving Z then it has a bug that needs to be fixed, or we need to pass a proper LANG value. Switching to another tool isn't the right fix.
Can you try passing LC_ALL=C to paste too?

The 'ZZZ' thing was showing up for OPTIONS for @bapt too. If paste is giving Z then it has a bug that needs to be fixed, or we need to pass a proper LANG value. Switching to another tool isn't the right fix.
Can you try passing LC_ALL=C to paste too?

Tried this now but no luck, bug is reproducible :(
LC_ALL=C paste -d gives me the same ZZZZ error. C.UTF-8 is also fails.

Someone pointed out that Z is 0x5a which is jemalloc's uninitialized memory canary. So there's a real problem here with paste(1). I'll keep this issue open for discussion as that is looked into.

If it only happens in poudriere-devel then it may be a problem with the way we have paste(1) imported into sh.

Looks like this is only in poudriere-devel.
commit 4a3460c62616ee643e14cdabdc96620d4ad4ec9f
Author: Bryan Drewery<EMAIL_ADDRESS>Date:   Tue Jan 24 14:13:52 2023 -0800

    sh: Import paste(1) builtin from FreeBSD main 9bdb5158d

I think I see the problem. Trying to find a way to test it.

I definitely recreate some problems and will prioritize a fix for this ASAP.

Port has been updated with the fix


question/feature: read/provide/autoset editing options according to formatter setting in project

Projects may 1. only use language defaults, 2. provide their own defaults.
It would be very nice to have the option to auto-set this (or at least autoprint this for manual setting per project), so one does get less jumping text during editing.
Setting options depending on file input can be used for exploits, so directly auto-set things from a project folder might be not a good idea.
Any idea how a reasonable strategy towards this would look like?
Related https://github.com/nvim-lua/wishlist/issues/19

Not sure if I understand what you mean. Could you elaborate?

The idea was to provide indents per language, ie something along this.
But I think its not worth it.
Sorry for noise.


Vertical misalignment of registered(+rectified) depth image compared to rectified RGB image

System Configuration

Version
Your Configuration

Operating System
Yocto

Kernel
4.4.3-yocto-standard

ROS
indigo

ROS RealSense
1.7.2

librealsense
1.12.1   (system lib)

Camera Type-Firmware
R200-<IP_ADDRESS>

Expected Behavior
I would expect /camera/rgb/image_rect_color and /camera/depth_registered/sw_registered/image_rect_raw to be aligned.
Actual Behavior
Please download the pictures below and try to match them (with transparancy).

Doing a transparent matching of the above test images results in the following horizontally mismatched picture.

Notice how the registered depth image has a 9 pixel tall black area in the top and a 20 pixel black bar in the right side. If the registered depth image is just moved 9 pixels upwards the color and depth image seem to match much better.

Steps to Reproduce
Launch the rgbd nodelet.
roslaunch realsense_camera r200_nodelet_rgbd.launch
Capture images with rqt or similar
Further Questions
Can someone elaborate on the difference between all the topics being published by the RGBD nodelet?
/camera/depth/camera_info
/camera/depth/disparity
/camera/depth/image
/camera/depth/image_raw
/camera/depth/image_rect
/camera/depth/image_rect_raw
/camera/depth/points
/camera/depth_registered/disparity
/camera/depth_registered/points
/camera/depth_registered/sw_registered/camera_info
/camera/depth_registered/sw_registered/image_rect
/camera/depth_registered/sw_registered/image_rect_raw
/camera/ir/camera_info
/camera/ir/image_raw
/camera/ir/image_rect_ir
/camera/ir2/camera_info
/camera/ir2/image_raw
/camera/rgb/camera_info
/camera/rgb/image_color
/camera/rgb/image_mono
/camera/rgb/image_raw
/camera/rgb/image_rect_color
/camera/rgb/image_rect_mono

What is the difference between raw and rectified in the depth image (there doesn't seem to be any difference, which could be explained from the fact that the depth image does not need distortion correction)?
What is the difference between raw and rectified RGB image? The only difference there seem to be is that the rectified RGB image is non-distorted. Is this correct? No conversion using intrinsics or extrinsics, eg. moving into a different frame?
What is the registered depth image? Is that simply each pixel of the depth image transformed into the optical RGB frame (image plane) and hence matching with the rectified RGB image?

@mindThomas have you took the information on https://github.com/IntelRealSense/librealsense/blob/v1.12.1/doc/projection.md#r200 into consideration?
Specially the parts about extrinsic parameters and
R200. Maybe if you apply the info there you can fix the alignment.

@mbelluzzo I have indeed considered this.
I even decided to implement the registration myself using the available intrinsic (/.../camera_info topic) and extrinsics (/tf_static) with great success. Doing the registration manually (looping through all pixels, which is processing intensive) seem to work and gives me a depth image aligned to the RGB image.
But why does the software registered depth image, that comes out of the RGBD nodelet (/camera/depth_registered/sw_registered/image_rect_raw), not seem to be properly aligned?
I thought the point in registration was to align one image into another - including both intrinsics and extrinsics - such that I could avoid doing any other post-processing.
What I need is simply two aligned images from where I can take one pixel in the RGB image to get the color and from the same pixel location take a pixel in the depth image to get the depth.
This does not seem to be possible with the current RGBD nodelet implementation?

This is appears to be the same bug as for instance reported in #201 (and further related issues linked there). Somewhere in the ROS pipeline intrinsic calibration data is not used correctly, leading to the observed offsets. We've been using this fork with a hack that fixed things for us: https://github.com/zhang-xin/realsense/commits/hack (originally linked in #30 I believe)
Given that people report these issues since more than a year I certainly hope that the maintainers have a look. Who knows how many people abandoned the R200 already because the registration looked crappy for them ;)

@mindThomas I am using sr300. I have tried to use the intrinsics and extrinsics from the camera to reproject depth image to rgb image frame. However I still see misalignment in the images.

Could you kindly share your script for doing the projection so that I can recheck my code and get the desired result?
I initially thought that the factory settings are not good enough. However I haven't had any success after re-calibration as well.

It would be great if the authors could mark this issue as a bug. This way people won't waste time to calibrate the sensor again.

@arpit15 We did not have to recalibrate the camera. Our algorithm simply use the factory calibrated parameters but does the rectification and alignment manually.
This process happens in the following lines of our ROS node: https://github.com/davidromanos/intel_aero_rtf_gr871/blob/master/src/depthgrab.cpp#L251-L270

@mindThomas Thanks for posting the link to the code. From sr300 projection information it seems that sr300 doesn't require any distortion correction. Did you check if the problem was in rectification or intrinsics not used properly in projecting from depth to rgb frame? I think you can use /camera/rgb/image_rect_color and /camera/depth/image_rect to get the rectified images and then do your transform to get the images in the same frame.
I tried to do the above with no avail. I get alignment as posted above for sr300. Can you post the results which you getting with your code for r200?
Thanks
Arpit

We did not check nor investigate why the RealSense node did not supply us the correct images in /camera/rgb/image_rect_color and rectified depth. Based on tests we quickly concluded that these two images were not aligned so we had to do something ourselves. As the frames only have a translation difference along the horizontal axis the rectified images should at least align vertically, which we experienced they didn't.
I agree with your observations that the SR200 is not working and modelled the same way as the R200 so you can not use our code right away. Please notice that the R200 camera uses the Modified Brown-Conrady distortion model on the color images whereof the SR200 uses the Inverse Brown-Conrady distortion model on the depth images.

@mindThomas Thanks for pointing out the distortion model used in SR300. I tried to create a file just like R200 using rs.h and pyrealsense. The code could be found here. However I don't get a good output.

Was this something which you obtained in your initial trials? I am trying to debug the cause. Any help is appreciated.
Thanks


Mods stats rounding error [Cluster Jewels]

🐞 bug report
Number of passive skills in cluster jewels should not be rounded
When I use any range for mods (ex. -5% to 5%) results are useless for cluster jewel mods:
Adds # Passive Skills AND # Added Passive Skills are Jewel Sockets
If I have Large Cluster with 8 Passive Skills I don't care about 7-9 range. It shouldn't be rounded like that.
(with -5% to 5%): 5% of 8 is 0,4 so range should be 7,6-8,4 and rounding this values we should get: 8-8
If I use 0%-0% range for mods then it is working for cluster jewels but overlay is useless for every other item...
To Reproduce

Go to Stash
Hover over any Cluster Jewel
Ctrl + D
See useless info

Expected behavior
Stats should be rounded to the closest INT value.
Don't use "rounding down" for "min" value and "rounding up" for "max value" - just respect % range and round to the closest INT.
Screenshots

🌍  Your Environment

OS: Win10 x64
Version checked: 0.7.14 and 0.8.0-beta2
PoE: GGG Client

This issue has been on the back of my mind for a while, and I (finally) found some time to work on a proper solution: A special processor for cluster jewels so both "added passives" and "item level" are assigned appropriate ranges based on notable threshold levels and min-passives needed to grab the socket(s).
This change will be available and enabled by default in the next release.

A toggle to enable/disable processing of cluster jewels to highlight specific stat ranges by default was added in v0.8.10


Added autocorrelation Function

But I have no idea what I am doing in C so maybe look over it

Please open with developing branch. Master will be saved for finished boards. Thanks!


Dependabot Investigation

Dependabot Investigation

Added dependabot configuration in PR: https://github.com/opendcs/rest_api/pull/57

@adamkorynta FYI if you add text liked Fixes #40 to the PR description, or preferably the comments the tied in projects will automatically have their status set; as well as closing the issues automatically when merged in.

Yeah, I don't want the issues automatically merged in, especially for these devops pieces that I can't really test until they've been merged. I tried looking for a keyword or setting that doesn't auto-merge, but couldn't find anything.

Would you recommend just reopening the ticket if it doesn't work in that case?


Splatfest calendars

This adds generated Splatfest calendars for each region, based on splatoon2.ink's calendars (https://github.com/misenhower/splatoon2.ink/issues/14).

Each event has a link to SplatNet 3, redirected through https://splatoon3.ink/nso/f/.... I updated the nginx configuration but I don't know if anything else needs to be updated to support this.
Images for each Splatfest are embedded in the generated calendar. This is done manually after generating the calendar because the library I used only supports adding attachment links. The macOS Calendar app just shows this as an attachment, possibly some calendar apps could show these in the event descriptions but this could be removed to reduce the calendar size.

I also added support for running the data updaters without tokens for all regions to test this. (https://github.com/misenhower/splatoon3.ink/commit/0e4812079f4c1c507cc274fb1f08a9d9f3ae5174)
Example generated calendar: https://gist.github.com/samuelthomas2774/a7fd73ca923ef5c1fb070bdc610bf50e.

Oh, looks good


V1.4 refactor

Closes #271
All AddressBook renamed to SourceControl, all Person renamed to Student.
Checked: All java, xml, md files.
Also verified that all commands work as expected.
For easy reference: the student package now looks like this:

Codecov Report

Merging #285 (7a814bd) into master (0ed9b7e) will increase coverage by 0.00%.
The diff coverage is 74.52%.

@@            Coverage Diff            @@
##             master     #285   +/-   ##
=========================================
  Coverage     75.87%   75.88%
  Complexity      936      936
=========================================
  Files           105      105
  Lines          2931     2932    +1
  Branches        394      394
=========================================
+ Hits           2224     2225    +1
  Misses          599      599
  Partials        108      108

Impacted Files
Coverage Δ

...c/main/java/seedu/sourcecontrol/AppParameters.java
100.00% <ø> (ø)

src/main/java/seedu/sourcecontrol/Main.java
0.00% <ø> (ø)

src/main/java/seedu/sourcecontrol/MainApp.java
0.00% <0.00%> (ø)

.../java/seedu/sourcecontrol/commons/core/Config.java
68.18% <ø> (ø)

.../seedu/sourcecontrol/commons/core/GuiSettings.java
73.33% <ø> (ø)

...a/seedu/sourcecontrol/commons/core/LogsCenter.java
78.37% <ø> (ø)

...ava/seedu/sourcecontrol/commons/core/Messages.java
0.00% <ø> (ø)

...java/seedu/sourcecontrol/commons/core/Version.java
82.50% <ø> (ø)

.../seedu/sourcecontrol/commons/core/index/Index.java
100.00% <ø> (ø)

...ol/commons/exceptions/DataConversionException.java
100.00% <ø> (ø)

... and 95 more

Continue to review full report at Codecov.

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

Sr if this is already discussed in yesterday meeting.. I notice that class the addstudent command is AddCommand, so we're gonna leave it like that?

I believe the aliasCommandParser is also named differently?

I think to be safe you can rollback the changes and re-do the "Refactor", but this time excluding the usages in strings and comments

Sr if this is already discussed in yesterday meeting.. I notice that class the addstudent command is AddCommand, so we're gonna leave it like that?

@jonas-chow I think this will be good too

I believe the aliasCommandParser is also named differently?

@zhing22 so do you mean we change AliasCommand to AddAliasCommand and AliasCommandParser to AddAliasCommandParser?

@zhing22 so do you mean we change AliasCommand to AddAliasCommand and AliasCommandParser to AddAliasCommandParser?

Hm I think AliasCommand is okay since the command keyword is alias anw

Thanks for the feedback guys, made the relevant changes. @ganhongyao hopefully just one last review will do


Add lolexFromGlobal export

The first commit wraps the entire source inside of a factory function, and replaces global references with checks on the passed in _global. It then invokes that factory with global || window and exports the result from that call, to make the API stay the same for consumers. Highly recommended to view that diff without whitespace changes (https://github.com/sinonjs/lolex/pull/164/files?w=1).
The second commit just exports that factory function, and adds docs.
The name is horrible, suggestions more than welcome.
Fixes #146

I've tested with this PR in Jest now (https://github.com/facebook/jest/pull/5171) and it works pretty good!

@fatso83 while I realise I can merge stuff - I think this change is big enough to ask for your opinion :)

Renamed to withGlobal and squashed

Merged as da5505b (had to fix the commit msgs that didn't reflect the naming changes).

Oh, forgot to change the commit message when squashing. sorry about that!


add logging for invalid TASK_INTERVAL

Signed-off-by: Vasiliy Tolstov<EMAIL_ADDRESS>

Small NITPICK, but otherwise :+1:

@tboerger as i see many opensource projects does not use uppercase for logging.

I think that is a weak argument just because others are doing it that way...


UI Planetary network IP toggle should be removed

Description
Planetary network IP toggle should be removed since it wasn't already selected because the user could be misled into that it could be enabled after the deploying is done

verified toggle is not visible if there is no network ip


:bomb: Bug: Harbor Can't be Logged In with Default Account

What Happened?

How to Reproduce?
1. Fill the harbor.yaml with:
---
# core config
varFile: "" # If not empty, use the specified external variables config file
toolFile: "" # If not empty, use the specified external tools config file
state: # state config, backend can be local or s3
  backend: local
  options:
    stateFile: devstream.state

---
tools:
# name of the tool
- name: harbor
  # id of the tool instance
  instanceID: default
  # format: name.instanceID; If specified, dtm will make sure the dependency is applied first before handling this tool.
  dependsOn: [ ]
  # options for the plugin
  options:
    create_namespace: true
    repo:
      name: harbor
      # url of the Helm repo, use self host helm config beacuse official helm does'nt support namespace config
      url: https://helm.goharbor.io
    # Helm chart information
    chart:
      # name of the chart
      chart_name: harbor/harbor
      # k8s namespace where Harbor will be installed
      namespace: harbor
      # release name of the chart
      release_name: harbor
      # whether to wait for the release to be deployed or not
      wait: true
      # the time to wait for any individual Kubernetes operation (like Jobs for hooks). This defaults to 5m0s
      timeout: 10m
      # whether to perform a CRD upgrade during installation
      upgradeCRDs: true
      values_yaml: |
        expose:
          type: nodePort
          tls:
            enabled: false
        chartmuseum:
          enabled: false
        clair:
          enabled: false
        notary:
          enabled: false
        trivy:
          enabled: false

2. Execute: dtm apply -f harbor.yaml
3. Execute: kubectl port-forward service/harbor 8080:80
4. Open the Safari and Access http://localhost:8080
Anything else
N/A
DevStream Version
latest

@steinliber PTAL


POC for Luigi I18N

Draw a basic plan for I18N.
Keep in mind backward compatibility : see is we need to rework the schema.

Basic plan: https://wiki.hybris.com/pages/viewpage.action?spaceKey=ysf&title=Lugi+i18n+POC.


Reconnect on SslTransport should retry if ssl authentication fails

This may require refactoring the ReconnectingSocket code so the SslTransport can participate in the retry cycle directly.
To close this, we should have tests to prove this is working when ssl auth fails -> succeeds.

I had a race condition problem during connecting to kafka endpoints, when trying the latest version from Your master branch.
Here is a tested and working fix (I've just fixed the SslTransport):
https://github.com/ligu/KafkaClient/tree/connection_fix
Since I have no more time, and have to deliver a solution this week, most probably this version (together with #26 ) will go to production on our side, so will be heavily tested soon :)


Parse number as scientific and interpret meaning separately.

The current parser will fail parsing floats because it parses an int,
and then stumbles on the dot.
To fix I interpret the value with the scientific library which already
is a dependency through attoparsec, so we're not introducing any extra
downloads or compiling.
I think this is still subtly wrong because "10.0" will be parsed as
ValueInt, but because input argument ints are allowed to be coerced
into doubles (according to the spec) this is probably acceptable.

Note that the tests are failing before my patch. I can have a look if you want?

Nicely done, sorry for taking so long to review it.

More PRs are welcome. Specially if you implement what's missing in order to pass the tests!


Notify item spawns

 Issue by Trimatix
Sunday Aug 02, 2020 at 11:46 GMT
Originally opened as https://github.com/Trimatix/GOF2BountyBot/issues/17

Add $notify option for when a given item spawns in the shop.
No idea how to implement this; could dynamically create roles for each item, but there will still be too many....
Probably better to make notify roles for shop tech levels

Implementation: When shops refresh, fire a shop_refresh event (could fire shop_stock_item for each item, but that would be A LOT of events)
Have $notify shop item x create event subscriptions for shop_refresh and shop_stock_item that will send the user a DM.
Have a cooldown on this firing, like an hour or so, so that people can't spam DMs by continuously selling and rebuying
Adding dependency


[5.9] Eliminate Observable circular reference errors via lazier TypeRefinementContext building

Explanation: Eager expansion of type refinement contexts (TRCs) for variables within pattern binding declarations is causing cyclic references in some places involving macros. Make this expansion lazy, triggered by walking into these pattern binding declarations as part of availability queries. Also be careful to avoid "has property wrapper" queries as part of building the type refinement context, because they tend to cause circularities.
Scope: Moderate. All Swift code uses type refinement contexts for availability checking.
Risk: Moderate. This makes an eagerly-computed data structure more lazy, and that data structure is used for all availability checking.
Reviewed by: @tshortli
Original pull request: https://github.com/apple/swift/pull/67642
Issue: rdar://112079160

@swift-ci please test

@swift-ci please test source compatibility

@swift-ci please test Windows

@swift-ci please test Windows

@swift-ci please test macOS

@swift-ci please test Windows

@swift-ci please test Linux

@swift-ci please test Linux

@swift-ci please test Windows

@swift-ci please test windows

@swift-ci please test macOS

@swift-ci please test source compatibility release

@swift-ci please test Windows

@swidt-ci please test Windows

@swift-ci please test Windows


Streaming v0.2: Add streaming support for non-reask validations for JSON and string outputs

Add streaming support: v0.2
Description:
LLM providers like OpenAI support streaming the output in chunks by setting the stream parameter to True. In streaming v0.1, we added streaming support for OpenAI's completion and chat completion models alongwith any arbitrary LLM provider - but all the validations still happened after receiving and concatenating all chunks. What if you could perform validations on each fragment and stream the outputs to the user as soon as they're ready?
Enter streaming v0.2!
With this PR, a user can set the stream parameter for OpenAI's completion and chat completion models - and see the fragments as they're validated! Both raw and validated fragments are shown to the user and updated as new fragments get validated!
Under the hood:

Usually, Guardrails performs schema validation (for JSON outputs) and field-level validation on the entire outputs. This requires waiting for the entire response to be generated by the LLM provider.
When streaming is enabled, the received chunks are concatenated to form few valid fragments that are validated one by one. As soon as each fragment is validated, it's streamed to the user.
In order to form fragments, for JSON outputs, we check each chunk whether it's a valid JSON and if it's not, we either wait for more chunks or parse it accordingly. Once, we have a somewhat valid fragment, we perform sub-schema validation between the fragment and the expected output schema.
Once validation is complete, and if some fields fail, we perform the on_fail behavior specified in the validator (except reask), and stream the output to the user.
For text outputs, there's no schema to validate, hence we just perform validation for each chunk and stream outputs to the user.

Advantages:

Low latency: For longer outputs, no need to wait for the entire response to be generated! Directly see the raw and validated outputs as soon as they're ready.
Broad support: Supports both JSON and string(text) outputs. For JSON, it performs sub-schema validation, instead of validating the entire schema, as is done when streaming is not enabled.
Supports multiple on_fail behaviors: Streaming v0.2 supports fix, refrain, filter and noop on_fail behaviors.
Works with OpenAI's completion and chat completion methods for both v0.x and v1.x.
Supports any arbitrary LLM provider: As long as the instruction following capability of the LLM is good and it supports streaming the output, Guardrails will work with it.

Limitations:

No reask support: Currently, when streaming is set, you cannot use reask behavior.
No async support: For async calls to LLM providers, you can still use streaming v0.1 - in which we concatenate each chunk and validate once all chunks are received.
For JSON outputs, it's heavily dependent on the instruction-following capability of the LLM. Streaming will fail if the LLM outputs other text alongwith JSON.

Future roadmap:

Add support for reask behavior.
Add support for async calls.

Failing notebook check only due to CohereAPIError  - running out of calls for this month.


Last version of Rune 0.5

Can you inform me how to install this for rune audio 0.5
cd /home/rune
git clone https://github.com/dhrone/pydPiper.git
cd pydPiper
./install_docker.sh
***** this give an error *****
wget https://raw.githubusercontent.com/audiophonics/Pydpiper-Raspdac/master/pydPiper.cfg
wget https://raw.githubusercontent.com/audiophonics/Pydpiper-
Raspdac/master/pages_raspdac_16x2.py
You can test display with this command :
Take care to replace directory with the one where PydPiper is located
sudo docker run --network=host --privileged -v /var/log:/var/log:rw -v /home/volumio/pydPiper:/app:rw dhrone/pydpiper:v0.31-alpha python /app/pydPiper.py
Service Installation :
wget https://raw.githubusercontent.com/audiophonics/Pydpiper-Raspdac/master/pydpiper.service
Then activate service :
sudo cp pydpiper.service /etc/systemd/system
sudo systemctl enable pydpiper
sudo systemctl start pydpiper

cd /home/rune
git clone https://github.com/dhrone/pydPiper.git
cd pydPiper
./install_docker.sh
wget https://raw.githubusercontent.com/audiophonics/Pydpiper-Raspdac/master/pydPiper.cfg
wget https://raw.githubusercontent.com/audiophonics/Pydpiper-
Raspdac/master/pages_raspdac_16x2.py
You can test display with this command :
Take care to replace directory with the one where PydPiper is located
sudo docker run --network=host --privileged -v /var/log:/var/log:rw -v /home/volumio/pydPiper:/app:rw dhrone/pydpiper:v0.31-alpha python /app/pydPiper.py
Service Installation :
wget https://raw.githubusercontent.com/audiophonics/Pydpiper-Raspdac/master/pydpiper.service
Then activate service :
sudo cp pydpiper.service /etc/systemd/system
sudo systemctl enable pydpiper
sudo systemctl start pydpiper

Try the following using a fresh install of Rune v0.5
Login in to rune as root
username: root
password: rune
Enter the following commands...
git clone https://github.com/dhrone/pydPiper
cd pydPiper
chmod 755 rune_version5.0_install.sh
./rune_version5.0_install.sh

Hi drone,
thanks will try that
git clone https://github.com/dhrone/pydPiper
cd pydPiper
chmod 755 rune_version5.0_install.sh
./rune_version5.0_install.sh
only this or must i add other script?
now i want to use the winstar oled WEH001602BWPP5N00000
thanks

Yes, those commands should be sufficient.  The winstar weh is supported.  Just choose winstar as your display type.  I'd recommend pages_weh_80x16.py as your page file.

hi Drone,
do you mean
sudo python configure.py
And set all as followed:
Code:
Startup mode duration (in seconds)? [5]: 5
DISPLAY CONFIGURATION
Display type ?: winstar_weg  ******** winstar_weh?
Register select pin? [7]: 7
Enable pine? [8]: 8
Data 4 pin? [25]: 25
Data 5 pin? [24]: 24
Data 6 pin? [23]: 23
Data 7 pin? [27]: 27
Width of display (in pixels)? [80]: 80
Height of display (in pixels)? [16]: 16
Enable pulse duration (in microseconds)? [0.1]: 0.1
Location of the pagefile? [pages_lcd_16x2.py]: pages_raspdac_16x2.py
Animation Smoothing (in seconds)? [0.15]: 0.15
SYSTEM CONFIGURATION
Location of log file? [/var/log/pydPiper.log]: /var/log/pydPiper.log
Logging Level? [info]: info
Time Zone? [Europe/London]: Europe/London
24-hour clock? [True]: true
Temperature Scale? [fahrenheit]: celsius
Enable weather? [n]: n
MUSIC DISTRIBUTION
Name of distribution? [moode]: moode
Server address? [localhost]: localhost
Port? [3000]: 6600
Password:
change this !!

i cannot change winstar_weg into winstar_weh

I have connected the WH1602L the same as WEH1602A but the L does not startup
i use the raspberry setup from audiophonics with moode audio

Hi Drone,
Did you already had the time to see why the L display does not work.
Many thanks.....

Drone,
This is the datasheet
https://www.winstar.com.tw/products/oled-module/oled-character-display/oled-16x2-character.html

I cannot see any difference between the both oled displays. I won't start up i have check the wires several times.....

Sorry i make an mistake.
The oled large is an oled
WEH001602BL, im using it with moode audio at this moment, but the display stays blank off
Could you please help me with this..

Hello RP250258! Did you eventually solve the issues?
I'm struggling to set up the Display on Rune 0.5 but I am constantly blocked by the missing Docker thing...
If you managed to have it work on your Rune, or if you find another working solution, please let me know.
Thank you,
Mihnea

Mihnea, yes for 0.5

That is really good news! Can you please give me some details? I got stuck on the Docker installation/enabling part. Thank you.

Hello RP250258! Sorry for bothering you again. I made it work eventually, on a fresh Rune install. I guess the issue was that I first installed the power management pack and I guess that one messed something up.
One more question. Do you know if there is a way to restart the service without restarting Rune? It would be useful when iterating on the page file.
Thank you,
Mihnea


Fixes #7 : Introduction Jolan Thomassin.

Adding Jolan Thomasin introduction.

Using only visual studio code I had not seen how the text would appear, I will change that right now.

Reda told me to use this extension to see how it would look in Git, and it works perfectly

there's no need to install an extension to view Markdown preview, VSC has preview builtin:
https://code.visualstudio.com/docs/languages/markdown#_markdown-preview

also, you're referencing issue #7 , but issue #7 is redat97 issue intro. the instructions for the exercise should be updated to specify that you need to create your own issue.

instead of fixing it by using preformatted text marker, please use a list

a list
such as this
will separate by bullet points, each on their own lines.


Add release notes for 1.11.0 and 1.11.1

The 1.11.0 release went out without updated release notes, so this
retroactively adds them. The 1.11.1 release is being prepared for today.

Thanks! Suggestions merged.


update gojay

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@58feeda). Click here to learn what that means.
The diff coverage is 100%.

@@           Coverage Diff           @@
##             master     #9   +/-   ##
=======================================
  Coverage          ?   100%
=======================================
  Files             ?      3
  Lines             ?    329
  Branches          ?      0
=======================================
  Hits              ?    329
  Misses            ?      0
  Partials          ?      0

Impacted Files
Coverage Δ

entry.go
100% <100%> (ø)

Continue to review full report at Codecov.

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


Move "trainees" link in navigation bar

from drop-down menu to the navigation bar.

Does it fit on narrower pages?

@chrismedrela does it fir on narrow pages?

Unfortunately not. So I'm closing it.


Error while data decompression

My q query can be executed correctly in a q session. But in qPython, sometimes I receive "Error while data decompression", while other times I can query correctly.
What is the meaning of this error?

Hi there, facing the same issue here.
From observation, this seems to be an issue when you max out 2gb, or 2^21 bytes.
I think this is to do with this line of code here:
https://github.com/exxeleron/qPython/blob/master/qpython/qreader.py#L494
I wonder if there is a limit to the IPC throughput, hence the hardcoded limit? Just want to know what's the speed limit here 😄


Mask indexing

Needs #12 to be completed.
xtensor supports masks, though it is unclear to me which of the filter, filtration and mask should be used.

#12 is implemented now, so we should be able to do this. Just needs some conversion work and a check on .get() if any axis gets a mask, because in that case we have to return a copy.


A Screen type

Hi, first of all thank you for all the good work you're doing here. I'm loving how light, portable, versatile, customizable, stable, and simple to use FLTK seems to be, and I'm very happy that it really looks totally usable from Rust, idiomatically and without sugar/dark-magic. Your examples and videos are also helping a lot to figure out things quicker so thank you very much for that.
When looking on how to get screen information I was surprised to found only a thinly wrapped subset of the fltk-1.4 screen functions.
I don't know if you have considered it before, but it maybe nice to have a Screen abstraction (like Window and App), and have the screen_ funtions under its namespace.
Exposing the missing overloaded functions of screen_num, screen_work_area and screen_xywh as differently suffixed methods would be nice too, like for example:
// Gets the screen number for the screen which intersects the most with the rectangle defined by x, y, w, h.
fn screen_num_intersecting(x: i32, y: i32, w: i32, h: i32) // or screen_num_most_inside?...

Another step would be to allow instantation of a Screen, wrapping a screen number, and then making the relevant methods can &self so that they can be used both as instance's methods and also as uninstanced associated functions.
Does this make sense to you in the context of the vision of the API you have?

The old implementation used to divide the returned values by 0.96.
The problem was my dev pc, and that wasn’t really required since it was a scaling issue.

Thanks, understood.
I have another question, regarding returning bounding boxes for the work area, instead of returning a tuple of 4 unnamed values (x,y,w,h) ideally I think it would be more user friendly and versatile to return something like a struct BoundingBox { x:i32, y:i32, w:i32, h:i32 }.
The only problem I see is global coherence with the rest of the API, since there are 21 other functions places returning a tuple of four i32s (although I'm not sure if in every case its x,y,w,h or in some cases may be x1,y1,x2,y2. Most of those are public traits functions so it would be a breaking change.
What is your opinion on this? Do you like the idea of return a bounding box, or a rect, for the upcoming version 2.0?

I would prefer Rect over BoundingBox.
Generally returns of a tuple of four i32 vals is x, y, w, h.
Theres a Coords struct which can also be used especially to refactor the drawing methods, prior to a 2.0 version.

Theres a Coords struct which can also be used especially to refactor the drawing methods, prior to a 2.0 version.

Ok, I can make a new generic Rect struct under the draw module, too, in the style of Coord.

I see there are several cases like draw_point(i32, i32) alongside draw_point2(Coord<i32>). Are those created in preparation for 2.0? Will they be unified/deprecated?

In that case do you see the creation of a measure2(...) -> Coord function, wrap_measure2(...), text_extents2(...) -> Rect<i32>, etc.?

I see some naming inconsistencies like draw_arc() which takes i32 and draw_arc2() which takes f64. Maybe cases like that should be renamed for 2.0 adding a more semantic suffix?

Another thing, regarding the ergonomics of using the generic Coord and future Rect, in order to avoid entering Coord<i32> everywhere, maybe some type aliases could be created to make Coord more convenient to use in the most common case? Some like this:
pub struct Coordinates<T: Copy>(pub T, pub T); //rename the generic
pub type Coord = Coordinates<i32>; // the most common case the briefest to write
pub type Coord_f64 = Coordinantes<f64>;

// the more fields there are, the most important is they're named
pub struct Rectangle<T: Copy>{
  pub x: T,
  pub y: T,
  pub w: T,
  pub h: T,
}
pub type Rect = Rectangle<i32>;
pub type Rect_f64 = Rectangle<f64>;

Finally, do you have a strong preference regarding using unnamed tuple fields for Coord instead of named x, y struct fields?

Yeah it can be generic along with aliasing for convenience. Coords can also be tuple struct with unnamed fields.


Page constructor being executed multiple times

Ionic version:
[ ] 1.x
[x ] 2.x
I'm submitting a ...
[ x] bug report
[ ] feature request
[ ] support request
Current behavior:
Upon navigating to a page with setRoot(), the constructor function, as well as ionViewDidLoad() is being called 10 times.
Expected behavior:
These functions should only be called once.
Steps to reproduce:
Create two pages, one with a button to the other using this.nav.setRoot(Page2). Clicking this will cause the constructor to be called 10 times.
Related code:
Button page:
Template
<ion-content padding scroll="false">

          <button ion-button color="white" outline (click)="changePage()">Change the page</button>

</ion-content>

TypeScript
import { Component } from '@angular/core';
import { NavController } from 'ionic-angular';
import { Main } from '../main/main';

@Component({
  selector: 'page-button',
  templateUrl: 'button.html'
})
export class ButtonPage {

  constructor(public navCtrl: NavController) {}

  changePage(){
    this.navCtrl.setRoot(Main);
  }

}

Main Page:
import { Component } from '@angular/core';
import { NavController } from 'ionic-angular';

@Component({
  selector: 'page-main',
  templateUrl: 'main.html'
})
export class Main {

  constructor(public navCtrl: NavController) {
     console.log("Constructor Test")
    // this will be run multiple times
  }

}

Ionic info:
Cordova CLI: 6.4.0
Ionic Framework Version: 2.0.0-rc.3-201611261840
Ionic CLI Version: 2.1.13
Ionic App Lib Version: 2.1.7
Ionic App Scripts Version: 0.0.46
ios-deploy version: 1.9.0
ios-sim version: 5.0.6
OS: macOS Sierra
Node Version: v6.3.1
Xcode version: Xcode 8.1 Build version 8B62

I can't reproduce this

@manucorporat This only occurs on device, not in serve.

It also appears that not only is the constructor being executed multiple times, but the entire page is being rendered 10 times.

Okay, I got a build for android going, and this issue seems to be iOS only.

I have the same problem on browser when running ionic serve

@pantonis I managed to fix this. Somehow I wasn't thinking and called IonicModule.forRoot() in imports in app.module.ts for every page in my app not just the main app class itself, just a dumb mistake on my part. Could this be your issue?

@Tyler-Darby could you explain your fix more verbosely? It would seem the standard starter menu template comes with IonicModule.forRoot() in imports in app.module.ts and I'm getting the same behaviour in all devices/web, each page entry results in ionviewdidload being called.
I'm not sure what you did to stop this behaviour??? Removing the IonicModule.forRoot() from imports just makes the app not work?

Nevermind, in my case it appears to be the use of setRoot resetting the page every time you enter it....
https://github.com/driftyco/ionic/issues/5960


DynamoDB Batch Source Implementation

For design and requirements:
https://wiki.cask.co/display/CE/AWS+DynamoDb+batch+source

Currently, commit includes the unit test for DynamoDB config class.
Working on DynamoDB client mocking, for unit testing the  complete functionality.

did an initial pass, but @abhinavbansal246  should also take a look

@abhinavbansal246  can you review?

LGTM


docker/ubuntu../prod/vswitch/Dockerfile: refactor

This change shrinks the vswitch prod image. The old image was 560 MB and the new one is only 324 MB.

Coverage decreased (-0.1%) to 75.121% when pulling 6e907850bbb62b518057712bc3b81057aedc930b on unclejack:refactor_vswitch_prod into 72c4533f1d7197b49e87e5236445498d456b6f40 on contiv:master.


Performance on MSMT17 is lower than the paper claims

Hi @Syliz517 ,
Thanks for sharing your great work.
I have downloaded some of pretrained model weights and evaluated them. On Market1501 and Duke, the results are the same as your paper claims, but it is not correct on MSMT17.
Regarding MSMT17, I downloaded the weights from ViT-CLIP-ReID-SIE-OLP and here is the config I used: msmt17.log. Please a look if I misconfig.
The result is here
=> MSMT17 loaded
Dataset statistics:
  ----------------------------------------
  subset   | # ids | # images | # cameras
  ----------------------------------------
  train    |  1041 |    32621 |        15
  query    |  3060 |    11659 |        15
  gallery  |  3060 |    82161 |        15
  ----------------------------------------
Resized position embedding: %s to %s torch.Size([197, 768]) torch.Size([211, 768])
Position embedding resize to height:21 width: 10
camera number is : 15
Loading pretrained model from checkpoints/MSMT17_clipreid_12x12sie_ViT-B-16_60.pth
2024-05-13 10:24:50,597 transreid.test INFO: Enter inferencing
The test feature is normalized
=> Computing DistMat with euclidean_distance
2024-05-13 10:30:45,340 transreid.test INFO: Validation Results
2024-05-13 10:30:45,355 transreid.test INFO: mAP: 70.7%
2024-05-13 10:30:45,355 transreid.test INFO: CMC curve, Rank-1  :87.0%
2024-05-13 10:30:45,355 transreid.test INFO: CMC curve, Rank-5  :93.4%
2024-05-13 10:30:45,355 transreid.test INFO: CMC curve, Rank-10 :94.9%

Thanks for your time.

Did you use re-ranking on test?

Hi @chnbld ,
I think they use H=384xW=128 resolution to test, but I use H=256xW=128.


Integrating positive ODE systems

A common component of many ODE systems is that the states are positive, which can cause numerical problems if the states are small.  One potential solution to small state values is to automatically convert the ODE system into one for the log states and then solve that.  In particular, if
dC/dt = f(t, C, theta)
then
d logC / dt = exp( logC ) f(t, logC, theta).
It's not clear if the exp( logC ) term would make the unconstrained ODE system any more stiff, but it would be easy to implement this with an integrate_positive_ode function just to experiment.
Formally this can be generalized to other constrained states but I don't think any others would be particularly useful and be worth the generalization.

This issue was moved to stan-dev/math#94


WIP: increase MaxIterationsPod for JRF domain

This PR is to improve stability of JRF domain on external Jenkins  by increasing MaxIterationsPod  from 40 to 80.
External Jenkins: https://build.weblogick8s.org:8443/job/weblogic-kubernetes-operator-quicktest/1204/testReport/

I agree with @anpanigr

Specifically on this issue we have already had printed out log infor like:
"oracle.kubernetes.operator.utils.TestUtils checkCmdInLoop Pod itjrfpvwlst-domain-58-infraserver1  output does not contain 'Running'  Iteration [38/40], sleeping 10 seconds more
03-23-2020 06:22:03 INFO  "
This log itself gave me the hint the default MaxIterationsPod before this PR was changed to 40 (It had been 100 for a while), which is not enough for JRF domain.


Question about the contrast. rgb < 0.03928 or rgb <= 0.03928 ...

Hello and thank you for sharing his project.
I have a little question.
In your script color.js
rgb = rgb < .03928 ? rgb / 12.92 : Math.pow((rgb + .055) / 1.055, 2.4);

Meaning:
if RsRGB < 0.03928 then R = RsRGB/12.92 else R = ((RsRGB+0.055)/1.055) ^ 2.4
On the w3c page:
if RsRGB <= 0.03928 then R = RsRGB/12.92 else R = ((RsRGB+0.055)/1.055) ^ 2.4
It should be:
rgb = rgb <= .03928 ? rgb / 12.92 : Math.pow((rgb + .055) / 1.055, 2.4);

Or do you change it for any good reason ?
https://www.w3.org/TR/WCAG/#contrast-minimum

At 0.03928, both formula give the same result (up to the 5th decimal). the W3C formula is meant to be a continuous function. So this should not change much in practice

The old W3C formula was incorrect (0.03928) as it was citing an obsolete reference. It was corrected in WCAG 2.1/2.2 around May 2021.
The correct value is 0.04045
Cheers,
Andrew Somers
W3C Invited Expert

@Myndex https://www.w3.org/TR/WCAG/#dfn-relative-luminance still gives the value of 0.03928 in WCAG 2.1. It seems to be corrected only in WCAG 2.2: https://www.w3.org/TR/WCAG22/#dfn-relative-luminance

Hi @stof

... https://www.w3.org/TR/WCAG/#dfn-relative-luminance still gives the value of 0.03928 in WCAG 2.1. It seems to be corrected only in WCAG 2.2:

My bad for not providing links.
It is listed in the errata for 2.0 and 2.1:
https://www.w3.org/WAI/WCAG20/errata/#substantive
https://www.w3.org/WAI/WCAG21/errata/#substantive
And the latest corrected 2.1 understanding:
https://www.w3.org/WAI/WCAG21/Understanding/contrast-minimum#dfn-relative-luminance
And in MathML
https://www.w3.org/WAI/WCAG21/Understanding/relative-luminance.html
Please let me know if you have any questions.

Well, given the section defining the relative luminance has nothing mentioning the existence of this errata, it is quite hard to discover it (the only way to discover it would be to read the entire spec AFAICT)

Hi @stof
Yes, there is no doubt the W3's own site is confusing and hard to navigate¹. Your comments are useful, and this issue is something I'll bring up to leadership.
One of the reasons it was finally corrected is because while it doesn't seem to make any difference in 8 bit color, future color spaces are 10 bit or 12 bit, and it does make a difference for them.
Note ¹ my opinion only in this case, LOL


feat: view build info

Adding a way to check build info in the preferences

I like the idea, but need an icon to go with it...
Are they an original creation for the project, or did you download them somewhere?

I agree, if this info could be moved into an info page, along with a link to the source page, that would be nice 🤔

Give me an icon and I should be able to finish this up in the next few days :)

I'm not sure where @jpochyla got the icons from, so I'd say just use a placeholder for now and we'll figure out the icon before merging.

Hey guys, I'm new to this project. Let me start off by saying thank you so much! I use psst every day :-)
In regards to the icons used, it appears that it's SF Symbols by Apple.
You can download them here: https://developer.apple.com/sf-symbols/
The symbols used in the Psst menu are called gearshape, key and internaldrive
They are commented here as "SF Pro Regular", but I think that's supposed to be "SF Symbols" because the Pro Regular package doesn't have these symbols.
See here: https://github.com/jpochyla/psst/blob/master/psst-gui/src/widget/icons.rs

Hey guys, I'm new to this project. Let me start off by saying thank you so much! I use psst every day :-)
In regards to the icons used, it appears that it's SF Symbols by Apple.
You can download them here: https://developer.apple.com/sf-symbols/
The symbols used in the Psst menu are called gearshape, key and internaldrive
They are commented here as "SF Pro Regular", but I think that's supposed to be "SF Symbols" because the Pro Regular package doesn't have these symbols.
See here: https://github.com/jpochyla/psst/blob/master/psst-gui/src/widget/icons.rs

Good detective work!

Oops, thanks a lot, yup the icons are indeed from SF Symbols!

Sorry for the long delay, I've had some private stuff going on.
It seems that using Apples SF Symbols is against their license agreement, and thus not legal/at least against their ToS.
This StackOverflow post states that:

Your use of Symbols obtained from Apple’s SF Font is limited to creating mock-ups of user interfaces for software products running on Apple’s iOS, iPadOS, macOS and tvOS operating systems.

Although I wasn't able to verify/locate that sentence on an official Apple website.
I don't know whether they'll pursue us for packaging them, but personally tend to not risk it.
Apart from that, I don't have any way to access them anyways. I don't own a Mac, and they're only distributed as .dmg.
Any thoughts on how to move forward with this? @jpochyla @Insprill

This is what it looks like rn:

The repo url is dynamically generated at compile time with the repos origin url.
We obviously need another icon and probably change the tab's title.
As you can see the URL gets moved(/linewrapped?), but I can't figure out how to keep its position fixed.
Another idea I've had is copying the other two labels into the system's clipboard on click. Maybe a nice QoL feature for troubleshooting?


Binding SolidColorBrush.Color in a control template yields binding error

Describe the bug
A binding error occurs when my custom templated control is first loaded when binding a SolidColorBrush.Color to a styled property.  The binding works fine after that.
To Reproduce
I have a basic control that inherits TemplatedControl and has a Color property on it:
public static readonly StyledProperty<Color> ColorProperty =
	AvaloniaProperty.Register<ArcadeControlBase, Color>(nameof(Color), Colors.Transparent);

public Color Color {
	get => GetValue(ColorProperty);
	set => SetValue(ColorProperty, value);
}

In the control's template:
<Rectangle Width="10" Height="10">
	<Rectangle.Fill>
		<SolidColorBrush Color="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=Color}" />
	</Rectangle.Fill>
</Rectangle>

This yields an error in the VS Output tool window:
[Binding]Error in binding to '#00000000'.'Color': 'Null value in expression '{empty}' at '$self.TemplatedParent'.'(SolidColorBrush #59182880)

Expected behavior
There should be no binding error.
Desktop (please complete the following information):

OS: Windows
Version 11.0.0-preview2

@grokys should we change severity of this log line to Warning? As it only indicates that at some point of initialization templated parent was still null, which is normal before control is completely loaded.

@billhenn specifically in your case there is no problems with bindings. When control is created and binding initialized, TemplatedParent is still null. It will be set later in the object lifetime, when control is attached to the visual tree.

Same issue
https://github.com/AvaloniaUI/Avalonia/issues/9219
https://github.com/AvaloniaUI/Avalonia/issues/8100
https://github.com/AvaloniaUI/Avalonia/issues/5762
https://github.com/AvaloniaUI/Avalonia/issues/5163

@maxkatz6 thank you for the additional information.  I come from WPF and am new to Avalonia.  This really threw me off for a half hour trying to figure out if I was doing something wrong before posting.
I would highly suggest that messages like this only be written to the Output if there is a legit issue.  I (and most devs) try to keep my Output completely clean so that I can clearly identify when there are problems I need to address.  It's really distracting to see the Output get clogged up with a ton of these messages, and makes it harder to identify real problems.
Considering how many others have reported similar things, hopefully that's an indication that some kind of suppression of this message is needed.  Appreciate it!

More context: https://github.com/AvaloniaUI/Avalonia/issues/9219#issuecomment-1282464261

@lukaszossowski you can filter these messages by overriding value of Log.Sink property.
Closing as a duplicate


Fix a couple pad tests

For all onnx test fixing PRs, can you include a list of the tests it fixes?

Fixes:

test_ConstantPad2d_cpu
test_ZeroPad2d_cpu


KeyError: 'llava_llama'

When I ran vila's demo, I ran into the bug below：

it seems you haven't follow the full installation instructions of VILA
https://github.com/Efficient-Large-Model/VILA/blob/main/environment_setup.sh
pip install<EMAIL_ADDRESS>cp -r ./llava/train/transformers_replace/* ~/anaconda3/envs/vila/lib/python3.10/site-packages/transformers/models/


LH ProcessFromRoot should work [Staging]

Summary
Ensure LH processFromRoot task works for all supported chains.
Acceptance Criteria

[ ] LH processFromRoot task works

PFR fails here:
{
	"id": "AgAAAYsCJvQ-rHgcEgAAAAAAAAAYAAAAAEFZc0NKdldDQUFDWFFOOWttQm52NlFBSQAAACQAAAAAMDE4YjAyMjYtZmJmZC00ZTk2LTgwMTktMjVjNTM5NDgxODQx",
	"content": {
		"timestamp": "2023-10-05T23:23:09.246Z",
		"tags": [
			"account_id:679752396206",
			"functionname:lighthouse-process-from-root-testnet-staging",
			"function_arn:arn:aws:lambda:us-east-1:679752396206:function:lighthouse-process-from-root-testnet-staging",
			"env:testnet-staging",
			"source:lambda",
			"dd_extension_version:49",
			"region:us-east-1",
			"runtime:nodejs18.x",
			"aws_account:679752396206",
			"architecture:x86_64",
			"memorysize:512",
			"resource:lighthouse-process-from-root-testnet-staging",
			"service:lighthouse-process-from-root",
			"datadog.submission_auth:private_api_key"
		],
		"host": "<IP_ADDRESS>",
		"service": "lighthouse-process-from-root",
		"message": "Tx will be reverted with execution reverted: !length on chain, Skip other relayers",
		"attributes": {
			"stack": "Error: Transaction would fail on chain.\n    at parseError (/var/task/packages/adapters/txservice/dist/shared/errors.js:411:16)\n    at /var/task/packages/adapters/txservice/dist/shared/provider.js:105:67\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)",
			"level": "INFO",
			"methodContext": {
				"name": "sendWithRelayerWithBackup",
				"id": "sbKZ/36oToeAWfj3fNch3A/34"
			},
			"pid": 15,
			"type": "TransactionReverted",
			"hostname": "<IP_ADDRESS>",
			"lambda": {
				"arn": "arn:aws:lambda:us-east-1:679752396206:function:lighthouse-process-from-root-testnet-staging",
				"request_id": "671dd42e-8d5c-4129-9710-d333ff24124a"
			},
			"requestContext": {
				"origin": "processFromRoot",
				"id": "sbKZ/36oToeAWfj3fNch3A/31",
				"transferId": "0xd2163518a68f8a31f8c658b97cd97c1532084abcc2490b22ab14bd16231e607e"
			},
			"service": "lighthouse-process-from-root",
			"name": "lighthouse",
			"context": {
				"reason": "processing response error",
				"code": "SERVER_ERROR",
				"data": "0x08c379a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000007216c656e67746800000000000000000000000000000000000000000000000000",
				"name": "n/a",
				"message": "execution reverted: !length"
			},
			"time":<PHONE_NUMBER>209,
			"status": "info",
			"timestamp":<PHONE_NUMBER>246
		}
	}
}

https://github.com/connext/monorepo/pull/4981
Optimism connector fixed and processFromRoot works


Enable email sending in demo.adminlte.acacha.org

Now gives an error:
Swift_TransportException in AbstractSmtpTransport.php line 383:
Expected response code 250 but got code "530", with message "530 5.7.1 Authentication required
"

Excuse me, did you find a solution for this problem ?


Search from predefined searches

First of all this is a very handy plugin, so thank you to the author.
I'm currently using the git status predefined search and occasionally the file search. The only deficiency I have with these two predefined searches is that when you need to jump over a long list of git status files it takes a lot of clicks. It would be very handy if you could search the set of changed files according to git using a few letters instead of jumping over all files until you find your match. Is this possible?

Agreed, I would also find this feature useful. However, this is an enhancement and I don't have the time to tackle it right now :/
PR for this would be welcome.
The solution will probably need to filter (remove) lines from the output of this function. That function returns all git status files, but for this feature we want it to return only files containing letters we entered. Essentially this: git_status_files | grep 'my_file_name'


feat: support native SSL certs as well

This enables looking for certs in the local setup in addition to the already used Mozilla certs.  In particular this will now also respect SSL_CERT_FILE for custom cert files.  In effect, it will allow to deal with deployment scenarios that require custom SSL certs.

Note that this currently pulls in two versions of the native-certs crate, this is fixed in reqwest head (https://github.com/seanmonstar/reqwest/pull/2427), but not released yet.
Happy for this to wait little bit, maybe there'll be a new reqwest version soon.

Happy to merge this now. I'll create an issue to wait for the next release of reqwest.

Happy to merge this now. I'll create an issue to wait for the next release of reqwest.

Awesome, thanks!


Vertical scrollbar created

🛠 Fixes Issue : #20

👨💻 Changes proposed:

Styling the vertical scroll bar of the website.
Glassmorphism effect
Attractive look
Follow the same colour code of the website

✔ Check List (Check all the applicable boxes)

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

📄 Note to reviewers

📷 Screenshots

@KiranAminPanjwani please review this pull request and requested to merge it under hacktoberfest 2023

Thank you for the contribution✨🙌


Add Doubly linked list in c++

I would like to work in this issue.

Please assign this issue to me .I will also add the implementation to reverse Doubly linked list

I would like to work on this issue . I have read the guidelines for making a contribution and will abide by them . I am actively contributing to GeeksforGeeks & Codeforces community and so I can explain the intuition & idea of Data Structures efficiently.
Please assign thus issue to me . I will add doubly linked list in c++ .
I have been selected for GSSOC'21, and I am really interested in Algorithms , so I would like to contribute in this amazing repository.
Regards
Amartya Yadav

I would like to work on this issue . Please assign this to me, under GSSoC '21.

Can I work on this issue, under gssoc'21?

I would like to work on this issue using c++, I am a GSSOC'21 participant. Please assign me this issue.

I am working on this issue @harshbhalala-04 . You can go for some other one :)

I'm the Participant in GSSOC'21. Kindly assign me this issue. I would like to work on any language c++,java ,Python.

I'm the Participant in GSSOC'21. Kindly assign me this issue.

Hey , I'm a GSSOC'21 participant . I would like to work on this issue please assign me .


Reduce bundle size

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Update README to make Docker Recommended way

Docker is well-tested for a long time. I think it is better to make it the recommended method for all OS types.
This way, it is a lot easier to install docker (than to install jekyll and ruby and what not) and also we wouldn't have to deal with issues like these:

https://github.com/alshedivat/al-folio/issues/1520
https://github.com/alshedivat/al-folio/issues/1491

Is there a reason this PR is still marked as draft @pourmand1376? If not, let's accept it already.

I am waiting until someone confirms that the docker image is successfully working on Mac Silicon.

#1469


Fix location of istanbul assets for builtin server

The live coverage report was missing the istanbul CSS and .js files, as istanbul is telling it the wrong location to find them.  Even if istanbul fixes the location, we still need to look in a subdirectory as well.
This patch takes the reported assetsDir, and locates the assets relative to it.

seems same than :
https://github.com/gotwarlost/istanbul-middleware/pull/23
+
https://github.com/gotwarlost/istanbul/pull/467

Yes, with the change to istanbul itself, then the other PR is a nicer fix.  My version works around the istanbul part of the bug.

Closing since the other PR fixes the issue.


Devhub Issue: Prototype with the Design System [XD file not linked]

path: (do not delete) https://github.com/bcgov/design-system/blob/master/components/about/prototyping_tools.md
(do not delete) devhub page: https://developer.gov.bc.ca/Design-System/Prototype-with-the-Design-System

Devhub Content Issue
Text says, "Download XD File", but there is no link.
Also, "member" is misspelled.
Thanks!

Fixed in #252 and now in production after a DevHub re-build. Thanks again Mark!


Removing a group from another group is not working.

When we remove a group from another group, the removed group is still part of the bigger group.
Steps to reproduce the behaviour:

Create a group.
Add this group to another group.
Now, remove the group from the bigger group.

Current behaviour:
We can see that the group is still part of the bigger group.
Expected behaviour:
We should be able to remove groups from other groups.
Video recording to demonstrate the problem:
https://user-images.githubusercontent.com/86827455/231991140-899f3e41-6253-4273-bfb8-c0093e5c09c0.mp4
We can see here that the removed group moves along with the bigger group, but when we remove an individual shape, it works as expected.
draw.io version 21.1.6
Desktop (please complete the following information):
OS: macOS
Browser: Chrome
Version: macOS Ventura 13.2.1

Thanks for the report. This will be fixed in the next release. As a workaround, select the group to be removed and click "Remove from group" in the Arrange panel:

Released in 21.1.8

Thank you!


NVM installation script checksums

Hi, nvm team!
I have a problem with finding any checksum for nvm installation script. For example for this https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh. My question is, do you distribute them at all along with this script? I'm asking as I'm using this installation script inside Dockerfile, and I want to add checksum comparison step to prevent supply chain attack, if it make sense.
Thanks in advance!

What checksum would you need, and where would you get the value? If you trust GitHub, then you’re safe; if you don’t, then that’s where the checksum value would come from anyways.
In other words, any kind of checksum here would be security theater, and would add precisely zero value. The way to prevent a supply chain attack is to use HSTS and pin the GitHub SSL certificates.


Pie Chart legend bugs in Microsoft Edge

Hello,
I have some graphs all works and looks great in Chrome, Firefox, IE, but not in Edge
Picture of problem(covered names) -

Edge version:

Anything i can do?

@hurricaneffs what version of chart.js are you using?

@etimberg
In the pom.xml i see that we use. 1.3

com.googlecode.charts4j
charts4j
1.3


onPress not working in Footer Tabs

I have been trying to implement onPress in Footer Tabs but not working. How can i add a click event in Footer Tabs?

@legaciespanda Please provide a sample code or a snack link with the sample code for which you are facing the issue

@legaciespanda Please provide a sample code or a snack link with the sample code for which you are facing the issue

I have solved  it. Thanks @shivrajkumar

I have solved  it. Thanks @shivrajkumar


feat(record-user-acknowledgements): added initial claims and test case

Work in progress.
PR to add a new Terms of service extension for managing terms and auth claims.

Can we change the filenames and folder name as well to remove any consent/agreement terminology?

agreement

I think all references should now be updated. Full checklist below:

[x] Functions
[x] Comments
[x] File Names