Icons mismatch despite restart

I'm finding certain icons are still incorrect despite restarting.
Generally file tree is correct, but the tab icons are not. (Please excuse paranoid filename blurring, this is a work repo, don't want to get in trouble).
Changing themes doesn't seem to remedy the issue.

Atom    : 1.10.0
Electron: 0.37.8
Chrome  : 49.0.2623.75
Node    : 5.10.0
OS X 10.11.6
All packages and themes are up to date
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>(current ui theme)
├──<EMAIL_ADDRESS>└──<EMAIL_ADDRESS>Syntax theme: One Light

Have you disabled Seti UI's *Custom Icons setting...?

The UI theme has a setting to disable custom icons for users of other icon packages.

That sorted it, thanks.


Storing / updating differnet data in database.

This is first time when I am using Translatable on Laravel, so I have problems with storing / updating data in database.
For example, I have table information, which has fields to be translated into three languages. Also in this table there are fields which are not translatable like phone, email and so on.
On Information model I defined all properties:
protected $fillable = [
    	'name',
    	'brief',
    	'about_company',
    	'address',
    	'phone',
        'email',
        'image',
        'slug'
    ];

    public $translatedAttributes = ['name', 'brief', 'about_company', 'address', 'slug'];

Then I created InformationTranslation model and wrote this:
public $timestamps = false;
protected $fillable = ['name', 'brief', 'about_company', 'address', 'slug'];

On InformationController controller I tried to get the data and update the database.
public function update(Request $request, $id)
{
	$this->validate($request, [
	    'name'    => 'required',
            'address' => 'required',
            'phone'   => 'required'
	]);

	$info = Information::find($id);

	$info->translate('en')->name = $request->get('name_en');
        $info->translate('ru')->name = $request->get('name_ru');
        $info->translate('uz')->name = $request->get('name_uz');
        $info->translate('en')->brief = $request->get('brief_en');
        $info->translate('ru')->brief = $request->get('brief_ru');
        $info->translate('uz')->brief = $request->get('brief_uz');
        $info->translate('en')->about_company = $request->get('about_company_en');
        $info->translate('ru')->about_company = $request->get('about_company_ru');
        $info->translate('uz')->about_company = $request->get('about_company_uz');
        $info->translate('en')->address = $request->get('address_en');
        $info->translate('ru')->address = $request->get('address_ru');
        $info->translate('uz')->address = $request->get('address_uz');
	$info->phone = $request->get('phone');
	$info->email = $request->get('email');
	$info->image = $request->get('image');

	$info->save();
	return redirect()->route('information.index');
	}

But, when I try to submit all filled data in a web-page it is not working. It only refreshes page and that's it. Also I tried multiple filling method like:
$data = [
    'code' => 'it',
    'en' => [
      'title' => 'en title',
      'description' => 'en descrive'
      .....
    ]
];

But this method did not work either.
What can I do? Or I should divide all translatable and not translatable data into two tables?
This all I have done according to this tutorial

Yes, I have created two tables according to installation process. I have two tables: One of them is main namely informations, and second for translations informations_translations. But on main table I have fields for untranslatable data, like I said above (phone, email, image).
Now,I tried this:
$credintal->fill([
			'name:en' => $request->get('name_en'),
			'name:ru' => $request->get('name_ru'),
			'name:uz' => $request->get('name_uz'),
			'brief:en' => $request->get('brief_en'),
			'brief:ru' => $request->get('brief_ru'),
			'brief:uz' => $request->get('brief_uz'),
			'about_company:en' => $request->get('about_company_en'),
			'about_company:ru' => $request->get('about_company_ru'),
			'about_company:uz' => $request->get('about_company_uz'),
			'address:en' => $request->get('address_en'),
			'address:ru' => $request->get('address_ru'),
			'address:uz' => $request->get('address_uz'),
			'phone' => $request->get('phone'),
			'email' => $request->get('email'),
			'image' => $request->get('image'),
      ])->save();

The translations table should be information_translations if your model is named InformationTranslation.
And you even don't get an exception? That's strange ...
Can you put in some dumps in the save method of the translatable trait to debug what it's doing!? So to check which if case it enters and what it tries to save?
This would help to know where it starts failing.

Yes, there are no any exceptions.
And, I found my mistake. There is problem with routing. When I am pressing button Submit application cannot enter update() method. I tried everything, but for now I have this problem...


Discrepancy between DirectoryInfo(Base).Exists in real file system and MockFileSystem DirectoryInfoBase.Exists

Describe the bug
System.IO.DirectoryInfo.Exists seems to store the "exists" information at the time of creation. MockFileSystem seems to use up-to-date information.
To Reproduce
Steps to reproduce the behavior:
        public void MockFileSystemDirectoryInfoExists_AfterCreate_ShouldBeFileSystemDirectoryInfoExists()
        {
            var folder = Path.Combine(Path.GetTempPath(), Guid.NewGuid().ToString());
            var di = new DirectoryInfo(folder);
            Debug.Assert(!di.Exists, "!di.Exists");
            di.Create();

            var mfs = new MockFileSystem();
            var di_mfs = mfs.DirectoryInfo.FromDirectoryName(folder);
            Debug.Assert(!di_mfs.Exists, "!di_mfs.Exists");
            di_mfs.Create();

            di_mfs.Exists.Should().Be(di.Exists);
        }

Expected behavior
Mock File System should behave like the real file system.
Additional context
.NET 4.6.2; System.IO.Abstractions 3.0.2

See also: https://docs.microsoft.com/en-us/dotnet/api/system.io.filesysteminfo.refresh?view=netframework-4.6.2

Interesting, thanks for reporting!


Unexpected behaviour of unevaluatedProperties when used with dependentSchemas

Code sandbox: https://codesandbox.io/s/ajv-playground-forked-nz924l?file=/src/index.js
What version of Ajv are you using? Does the issue happen if you use the latest version?
Latest 8.17.1
Ajv options object
Empty (no options)
JSON Schema

{
  "type": "object",
  "properties": {
    "name": {
      "type": "string"
    },
    "link": {
      "type": "boolean"
    }
  },
  "required": ["name"],
  "unevaluatedProperties": false,
  "dependentSchemas": {
    "link": {
      "if": {
        "properties": {
          "link": {
            "const": true
          }
        }
      },
      "then": {
        "properties": {
          "originalId": {
            "type": "string"
          }
        },
        "required": ["originalId"]
      }
    }
  }
}

Sample data

{
  "name": "test"
}

Your code

const Ajv2020 = require("ajv/dist/2020");
const ajv = new Ajv2020();

const schema = require("./schema.json");
const validate = ajv.compile(schema);

const valid = validate({
  name: "test"
});

Validation result, data AFTER validation, error messages
{
  "instancePath": "",
  "schemaPath": "#/unevaluatedProperties",
  "keyword": "unevaluatedProperties",
  "params": {
    "unevaluatedProperty": "name"
  },
  "message": "must NOT have unevaluated properties"
}

What results did you expect?
If I understand the JSON Schema specification around unevaluatedProperties and sub-schemas applied conditionally, the validation should pass with no errors given that name is defined in properties adjacent to unevaluatedProperties and it is present in the data instance.
Interestingly, the same example passes validation in https://www.jsonschemavalidator.net
Are you going to resolve the issue?
Looking for clarification/analysis from maintainers or those who are well-versed in latest JSON Schema specifications.

After looking at this issue for a while now I have to agree it does look like a bug. I have created this runkit example for convenience.
It does seem that dependantSchema is interfering with name being considered an evaluated property because if I (a) remove dependentSchemas or (b) use another keyword like allOf to do any other processing this passes.
I will try and look into the dependentSchemas keyword to see if I can understand what's happening.


Unable to rip on instagram

Ripme version:
Java version:
Operating system:

Exact URL you were trying to rip when the problem occurred:
Please include any additional information about how to reproduce the problem:

Expected Behavior
Detail the expected behavior here.
Actual Behavior
Detail the actual (incorrect) behavior here. You can post log snippets or attach log files to your issue report.

You didn't post anything regarding the issue.


Chaining assigment with the same variable gets illegal JS

Steps To Reproduce
https://dev.deck.net/8fc6f5bb353fdf36ce092f2dc1b43c43
public class Program
{
    public static void Main()
    {
        TestType o = o = new TestType();

        Console.WriteLine(o);
    }
}

class TestType
{

}

Actual Result
Illegal JavaScript code generated causing:

SyntaxError: Unexpected identifier

 var o = ($t = new Demo.TestType(), [UnknownIdentifierResolveResult o] = $t, $t);

Looks good now! Implemented and will make it to the next Bridge release (see attached version milestone).


[Event Request] - New event OnBeforeWithholdApplicable inside codeunit 12101 "Withholding - Contribution"

Hello, please consider adding the following event to Codeunit 12101 "Withholding - Contribution"
    [IntegrationEvent(false, false)]
    local procedure OnBeforeWithholdApplicable(var TempWithholdingSocSec: Record "Tmp Withholding Contribution"; var CalledFromVendBillLine: Boolean; var Result: Boolean; var IsHandled: Boolean)
    begin
    end;

and call it inside the "WithholdApplicable" procedure:
    procedure WithholdApplicable(TempWithholdingSocSec: Record "Tmp Withholding Contribution"; CalledFromVendBillLine: Boolean): Boolean
    var

        **IsHandled: Boolean;
        Result: Boolean;**

    begin

        **IsHandled := false;
        OnBeforeWithholdApplicable(TempWithholdingSocSec, CalledFromVendBillLine, Result, IsHandled);
        if IsHandled then
            exit(Result);**

        if TempWithholdingSocSec."Withholding Tax Code" = '' then
            exit(false);
        if TempWithholdingSocSec."Non Taxable %" = 100 then
            exit(true);
        if not CalledFromVendBillLine then
            exit(TempWithholdingSocSec."Payment Line-Withholding" <> 0);
        exit(true);
    end;

Thanks!

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 52143.


Duplicate Role Assignment

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

Versions

terraform: 1.0.0
azure provider: 2.70.0
module: 0.0.8
Description
Describe the bug
During a complete recreation of management groups, policies and role mapping, an intermittent issue is encountered regarding duplicate role assignments.  Whilst inspecting the values created by the locals in generating the role mapping the following behavior has been observed, an example can be seen below:
{
  "/providers/Microsoft.Authorization/policySetDefinitions/1a5bb27d-173f-493e-9568-eb56638dde4d" = tolist([])
  "/providers/Microsoft.Authorization/policySetDefinitions/3937f550-eedd-4639-9c5e-294358be442e" = tolist([
    "/providers/microsoft.authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c",
  ])
  "/providers/Microsoft.Authorization/policySetDefinitions/55f3eceb-5573-4f18-9695-226972c6d74a" = tolist([
    "/providers/Microsoft.Authorization/roleDefinitions/92aaf0da-9dab-42b6-94a3-d43ce8d16293",   <<<<<<< duplicate (LA contrib.)
    "/providers/microsoft.authorization/roleDefinitions/92aaf0da-9dab-42b6-94a3-d43ce8d16293",
  ])
  "/providers/Microsoft.Authorization/policySetDefinitions/e77fc0b3-f7e9-4c58-bc13-cb753ed8e46e" = tolist([
    "/providers/microsoft.authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c",
  ])
}

The resource ID appears to have a difference in case - and only regarding one section of it - which is affecting the distinct functions ability to de-duplicate the list used in the for_each loop and a resulting error in the role assignment as it is being attempted more than once.  In the test environment, oddly there appears to be a degree of tolerance to this that does in some instances work, and continue to do so reliably, and errors only appear during change at high volume.  Role Assignment is the only problem observed.
Historical issues have been searched, and I could not find a similar problem.  The example above, is not consistent and the nature of this error can affect other roles.
Steps to Reproduce

Destroy environment
Reapply environment

module: 0.0.8

Thank you for logging this @niksheridan ... are you aware of whether this is an issue in newer releases of the module?
Unfortunately, 0.0.8 is quite old now and we are unable to resolve issues in previous releases due to our approach to release management.
We have also done a lot of code changes in this area since this early release so I would not expect this problem to still exist.

I'll organise an upgrade.  Very grateful for the quick reply. Many thanks.

Please review the release notes and upgrade guides in the wiki, as there will have been quite a few changes since v0.0.8 😄


Improve Fireball hierarchy

Currently, the Fireball interface has two subclasses: SmallFireball and LargeFireball. SmallFireball adds no new methods, while LargeFireball getExplosionPower and setExplosionPower. These methods affect the amount of block damage done.
WitherSkull is currently a subclass of Fireball. However, it can't really be considered a fireball, though it is an explosive projectile. Additionally, it has no methods its block damage, like LargeFireball does.
I propose that we create two new interfaces:

ExplosiveProjectile, which would inherit from the same interfaces as Fireball currently does.
BlockDamagingExplosive.

WitherSkull and LargeFireball would each inherit from ExplosiveProjectile and BlockDamagingExplosive, while SmallFireball would only inherit from ExplosiveProjectile.

@Aaron1011 would it be feasible to say that explosive projectiles do have explosion power but normally are not set?

@Aaron1011 would it be feasible to say that explosive projectiles do have explosion power but normally are nominal in terms of their explosion power?

I think it makes more sense to separate block-damaging explosions, and non-block-damaging explosions.
You could just make all non-block-damaging block-damaging explosions with a power 0. However, it think it makes more sense to have them logically separate. It also allows for increased granularity in event subscription.

The only issue I see with that, is what happens if the power is adjusted for an explosion in an event? Suddenly it's gone from not doing block damage to doing block damage and the explosion type would need to change.
The other option is you make it impossible to change from one to the other, and cause people to cancel it and issue their own explosion causing it's own events which has it's own complications.

Yes, please don't sesprate explosive projectile classes.  I don't want to have to change classes just to make it damage books or not.

@Aaron1011 could you put this in a PR?

@gratimax: Sure!

@Aaron1011 did you write a PR for this yet?

Continued in #468


extend tutorial MQ JMS application development with Spring Boot for @JmsListener

This tutorial worked perfectly https://developer.ibm.com/tutorials/mq-jms-application-development-with-spring-boot/
Although it's not helping when it comes to receiving messages Asynchronous.
It is so hard to find a working example for an implementation using @JmsListener.
Is it possible to extend this tutorial?

You can find many working examples how to implement listener around. for example https://spring.io/guides/gs/messaging-jms/

The sample program in this repo has a very basic JMSListener implementation.


requirements: Unpin libthumbor version in common.in

Versions should not be pinned in *.in unless specific circumstances merit an exception to this rule.  Every existing exception is commented.
(Cc @amanagr)

Oops, good catch.


Async Database Calls

Context
Our current model for making database calls limits the number of requests a given server can handle to the number of worker threads that a given server has started.
This PR changes this model to make essentially asynchronous calls using a Future wrapper around the database call, allowing subsequent requests to be started while waiting for database calls from a prior request.
cc/ @mapbox/search

Profile Results
// all in format total (avg per request) (averaged accross 3 runs)
// Test conducted with hecate --worker 1
//
// ## Parallel: 10
//          1k                  5k                  10k
// Master:  2350.463ms (23.33)  11697.575ms (23.2)  23994.890ms (23.815)
// Branch:  1601.352ms (17.80)  7876.042ms (15.72)  15353.547ms (15.119)
//
// ## Parallel 50
//          1k                  5k                  10k
// Master:  2378.898ms (114.8)  11917.516ms (118.3) 23301.263ms (115.95)
// Branch:  1469.009ms (70.5)   7191.591ms (71.012) 14166.025ms (70.329)
//
// ## Parallel 100
//          1k                  5k                  10k
// Master:  2419.242ms (228.4)  11723.263ms (231.6) 26049.621ms (258.9)
// Branch:  1440.315ms (135.0)  7036.794ms (138.5)  14048.155ms (139.26)


Refinement of "Generic" Parameters

Two examples (same results for Flow 0.37.0 and 0.38.0):
function justReturn<T>(x: T): T {
  if (typeof x == "number") {
    return x + 1; // <---
  }
  return x;
}

function justReturn<T>(x: T): T {
  if (typeof x == "number") {
    return 1; // <---
  }
  return x;
}

// 5:     return 1; // <---
//               ^ number. This type is incompatible with the expected return type of
// 3: function justReturn<T>(x: T): T {
//    ^ some incompatible instantiation of `T`

The first compiles. The second does not. Is either behaviour intentional?
(I had a whinge about the problems the first one introduces, but I figured it was a deliberate choice. The second one seems like a bug. But I don't know what was really intended in either case.)

First one is clearly a bug:
function justReturn<T>(x: T): T {
  if (typeof x == "number") {
    return x + 1;
  }
  return x;
}

let x: 42 = 42;
let y: 42 = justReturn(x);

Minimal test case:
function test<T>(x: T) {
  if (typeof x == "number") {
    ((x + 1): T)
  }

Probably has nothing to do with refinements:
function test<T:number>(x: T) {
    ((x + 1): T)
}


v2: Constant CPU usage

Hi @ostafen. As you would probably have seen (in Mailpit), a user reported a constant CPU usage, which I believe I have traced back to CloverDB v2 (both 1 & 2 alpha).
A simple test:
package main

import (
	"time"
	"github.com/ostafen/clover/v2"
)

func main() {
	db, _ := clover.Open("", clover.InMemoryMode(true))
	defer db.Close()
	time.Sleep(600 * time.Second)
}

Run the program and check CPU usage with top/htop - the running binary will be using a constant 2-3% CPU. This does not happen with CloverDB v1.
Any ideas?

Hi, @axllent. I don't see any clear reason for this to happen inside clover's code, since Open() simply creates a badger db instance and starts a background goroutine for clean-up (which runs every 5 minutes).

func (s *storageImpl) startGC() {
	s.chWg.Add(1)

	go func() {
		defer s.chWg.Done()

		ticker := time.NewTicker(s.conf.GCReclaimInterval)
		defer ticker.Stop()

		for {
			select {
			case <-s.chQuit:
				return

			case <-ticker.C:
				err := s.db.RunValueLogGC(s.conf.GCDiscardRatio)
				if err != nil {
					log.Printf("RunValueLogGC(): %s\n", err.Error())
				}
			}
		}
	}()
}

func (s *storageImpl) Open(path string, c *Config) error {
	if c.InMemory {
		path = ""
	}

	db, err := badger.Open(badger.DefaultOptions(path).WithLoggingLevel(badger.ERROR).WithInMemory(c.InMemory))

	s.db = db
	s.conf = c

	s.startGC()

	return err
}

But you can confirm the constant CPU usage on your end though, even using that simple test? Maybe it's the badger version then? 2-3% CPU isn't the end of the world, however it should be 0 for most of the time (when obviously not reading/writing/purging).

Yes, I confirm that. However, the badger version is the same as v1.2.0

@ostafen I can confirm that I get the same constant 2-3% CPU usage when running badger directly (default options + in memory). I had done a complete comparison, only to realize later that v1 of CloverDB doesn't use badger for the in-memory database at all whereas v2 does. I guess that explains why v1 (in memory) doesn't have that issue then :)
I'm suspecting there isn't much, if anything, you can do here as it appears to be directly related to badger?

Unless this is due to something that can be configured when opening the badger database, there's nothing I can do


Question: is there a way to generate interfaces instead of types?

I want to use type-inheritance and if I get this right, you can only do this with interfaces not with types.
Something like this for example:
interface BasicAddress {
  name?: string;
  street: string;
  city: string;
  country: string;
  postalCode: string;
}

interface AddressWithUnit extends BasicAddress {
  unit: string;
}

But because FromSchema<typeof foo> returns a type rather than an interface how would I go about and implement inheritance with this lib?

@pkyeck I'm cannot stick to interfaces as I use a lot of ternaries in during the type inference computations.
However, you can use the extension operator:
type AddressWithUnit = FromSchema<typeof addressSchema> & { unit: string }

Would that be alright for you ?


Subdomain routing not working per examples.

I've been trying to use this component to make browsersync pass subdomains while in proxy mode but I must be misunderstanding something.  I want to get to the point that browsersync launches to http://localtest.me:81 and proxies http://localtest.me:80, and http://subdomain.localtest.me:81 proxies http://subdomain.localtest.me:80.  I tried following these instructions from only 11 months ago but get a "lassie error" from browsersync: https://stackoverflow.com/questions/56295613/browsersync-proxy-subdomains.  I've posted my own question here (no response): https://stackoverflow.com/questions/61492225/how-do-i-proxy-subdomains-with-browsersync-http-proxy-middleware
I also tried this with the code below (same lassie error):  https://github.com/chimurai/http-proxy-middleware/blob/master/recipes/virtual-hosts.md
const { createProxyMiddleware } = require('http-proxy-middleware');

const options = {
  target: 'http://localtest.me:80',
  changeOrigin: true,
};

const apiProxy = createProxyMiddleware('/', options);

gulp.task('serve', () => {
    bs.init({
        proxy: {
            middleware: [apiProxy]
        },
        host: "localtest.me",
        port: 81,
        open: 'external',
        notify: false
    });

Can you help please?

Anwsered in https://stackoverflow.com/a/56295614/3841188


[Exercise Subsystem] Add user's daily activity into calorie calculations

Develop the ability to fine tune the amount of calories that should be consumed each day by entering the actual amount of physical activity carried out (e.g walking to school, climbing stairs)

Completed, closing issue


LNIC-Updates-2024-06-11

Update to 11304259
Having same issue with line break, not sure if changes will commit but I am trying something different.

I'll fix and merge


Angular 5 Error

When doing ng build on angular 5 I am getting the following error
ERROR in Error: Error encountered resolving symbol values statically. Function calls are not supported. Consider replacing the function or lambda with a reference to an exported function (position 194:50 in the original .ts file), resolving symbol NgModule in<EMAIL_ADDRESS>resolving symbol Ng2TelInputModule in /usr/src/app/node_modules/ng2-tel-input/src/ng2-tel-input.module.d.ts, resolving symbol Ng2TelInputModule in /usr/src/app/node_modules/ng2-tel-input/src/ng2-tel-input.module.d.ts
Have you successfully used this library in angular 5.x ?

Is there any solution for this bug?

Have the same error using Angular5 :(

Actually I got it working by the following steps....

delete "app/node_modules/ng2-tel-input/node_modules"
Edit the following sections of package.json to...
"devDependencies": {
"@angular/compiler": "^5.0.0",
"@angular/compiler-cli": "^5.0.0",
"@angular/platform-server": "5.0.0",
"@types/intl-tel-input": "0.0.8",
"@types/jquery": "<2.2",
"http-server": "^0.9.0",
"typescript": "^2.4.2"
},
"dependencies": {
"@angular/core": "^5.0.0",
"es6-shim": "^0.35.3",
"intl-tel-input": "^12.0.3",
"jquery": "^3.1.1",
"reflect-metadata": "^0.1.10",
"rxjs": "^5.4.1",
"zone.js": "^0.8.14"
},

Updated packages to angular5.


Adapt to new SwiftDriver.VirtualPath.temporaryWithKnownContents API

This is yet another kind of temporary file, so it can be treated like file lists and regular temporaries when resolving to a node.
swift-driver counterpart: https://github.com/apple/swift-driver/pull/250

https://github.com/apple/swift-driver/pull/250 @swift-ci smoke test

https://github.com/apple/swift-driver/pull/250
@swift-ci smoke test

Hmm, it looks like the self-hosted bots aren't checking out the swift-driver PR

@swift-ci please smoke test Linux platform

https://github.com/apple/swift-driver/pull/248
@swift-ci please smoke test Linux platform

apple/swift-driver#250
@swift-ci please smoke test Linux platform

apple/swift-driver#250
@swift-ci please smoke test Linux platform

Does anyone know if self-hosted tests are suppose to work with cross-repository testing? It looks like SWIFTCI_USE_LOCAL_DEPS maybe isn't being set.

I don't know, but probably @shahmishal would know.  Also, is it time to start using version dependencies for swift-driver (and certainly tools-support-core) to make it easier to stage changes that break APIs?  I'm well aware that things are still in flux, so I'd suggest using 0.x.y versions.  I know there would be a lot of tagging until APIs stabilize, but it seems to me that semver would help here, even though it would add some overhead.

I'm open to the idea of using version dependencies, but I think we'll need to think of a better way to handle them in update-checkout first. If we switched now, bumping the minimum version of swift-driver would require tagging a new release and then simultaneously updating:

The update-checkout configs in apple/swift and apple/swift-source-compat-suite
SPM's manifest and docker utils
Jenkins configuration

Maybe we can use SPM from update-checkout to resolve and fetch dependencies like swift-driver and TSC? I'm not sure how viable that is.

Closing in favor of https://github.com/apple/swift-package-manager/pull/2962 which won't break the build


fix tab placement and frontside errors

Codecov Report

Merging #220 (2ef1ca0) into main (0b51298) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #220   +/-   ##
=======================================
  Coverage   84.51%   84.51%
=======================================
  Files          19       19
  Lines         381      381
  Branches       47       47
=======================================
  Hits          322      322
  Misses         52       52
  Partials        7        7

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 0b51298...2ef1ca0. Read the comment docs.


Location types and metadata

Locations need more metadata. At a minimum:

A location type such as "storage", "deployed device", etc.
An image attachment

This is done.


Top-level return should stop task

summary
Keyword return in top-level should immediately stop the program and it doesn't need to handle arguments.
OP_RETURN in top-level
example code:
puts "Hello 1"
return
puts "Hello 2"

expected
Hello 1

actual
Hello 1
Hello 2

OP_RETURN_BLK in top-level
example code:
i = 0
while true do
  puts "Hello #{i}"
  return if i > 1
  i += 1
end

expected
Hello 0
Hello 1
Hello 2

actual
Hello 0
Hello 1
Hello 2
Not supported!
sample_myclass: class.h:135: find_class_by_object: Assertion `obj->tt > 0' failed.
Aborted

note
I'm afraid that I don't understand the code I removed.
Please tell me if I'm wrong and the purpose of vm->exc = vm->exc_pending; in op_return()

Thank you.


Update dataProvider.ts

typo fix
IMPORTANT: Please do not create a Pull Request without creating an issue first.
Any change needs to be discussed before proceeding. Failure to do so may result in the rejection of the pull request.
Please provide enough information so that others can review your pull request:

Explain the details for making this change. What existing problem does the pull request solve?

Test plan (required)
Demonstrate the code is solid. If not, please add WIP: in its title.

Closing issues
Put closes #XXXX in your comment to auto-close the issue that your PR fixes (if such).
Self Check before Merge
Please check all items below before review.

[x] Corresponding issues are created/updated or not needed
[ ] Docs are updated/provided or not needed
[ ] Examples are updated/provided or not needed
[ ] TypeScript definitions are updated/provided or not needed
[ ] Tests are updated/provided or not needed
[ ] Changesets are provided or not needed

@kuldipem Hi, Thanks for the PR 👍
Can you provide a changeset, please?


postcardview next transition two cards

I previously reduced the hiccup as much as possible, close for now because we don't have time


Auto import not working for symbols in__init__.py

Discussed in https://github.com/microsoft/pyright/discussions/4018

Originally posted by daya0576 October  7, 2022
I understand that auto import only works for symbols that have been imported.
But for the symbol foo already imported in file a.py, still can not be found in b.py:
├── a.py
├── b.py
└── module
    └── __init__.py

==> __init__.py <==
class Foo:
    ...
foo = Foo()
__all__ = ["foo"]

==> a.py <==
# import symbol foo manually
from module import foo
print(foo)

==> b.py <==
# auto import still not working
foo

@daya0576 HI. as Eric explained in the discussion, we only enable it through add import from code action, but not through auto import from completion. the reason is to reduce number of items shown in completion which can impact user's editor typing experience.
As you can see the below, you should be able to get it through add import

and you don't need mouse to execute the code action, you can use shortcut key for the quick fix

the reason is to reduce number of items shown in completion which can impact user's editor typing experience.

Discussed with @erictraut that allowVariableInAll is disabled by default.
https://github.com/microsoft/pyright/discussions/4018#discussioncomment-3826742
Is it possible to provide user an option? whether including variables from __all__ or not ❤


OpenStack command line tool has changed

This test https://github.com/CSCfi/pouta-ansible-cluster/blob/master/playbooks/openshift/heat_provision.yml#L13 no longer works on openstack  3.9.0
Instead I get an error about an invalid command
$ openstack stack show cluster_name
   openstack: 'stack show cluster_name' is not an openstack command. See 'openstack --help'.
   Did you mean one of these?
   backup create
   backup delete
   backup list
   backup restore
   backup show
$ openstack --version
openstack 3.9.0

Check that you have heat client installed in your virtuelenv. See the requirements.txt for dependencies

OK. So this particular command requires python-heatclient as well so it was a non-obvious dependency requirement and not changed behaviour between versions.


Flow to Kafka

Recent versions of zipkin accept json encoding in kafka messages. I wonder if we can add a feature to write directly to kafka while flow'ing.
https://github.com/adrianco/spigo/blob/master/tooling/flow/flow.go
One option could be to use go-zipkin as opposed to, or as an alternative to writing json. It would be neat as it could make this a tracing load generator!
https://github.com/elodina/go-zipkin/blob/master/kafka.go

@elodina are you interested enough to help with this?

+1 on both
On Mon, May 2, 2016 at 7:48 PM Adrian Cole<EMAIL_ADDRESS>wrote:

Recent versions of zipkin accept json encoding in kafka messages. I wonder
if we can add a feature to write directly to kafka while flow'ing.
https://github.com/adrianco/spigo/blob/master/tooling/flow/flow.go
One option could be to use go-zipkin as opposed to, or as an alternative
to writing json. It would be neat as it could make this a tracing load
generator!
https://github.com/elodina/go-zipkin/blob/master/kafka.go
@elondina are you interested enough to help with this?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/adrianco/spigo/issues/67

I looked at go-zipkin before and it makes too many assumptions about running on real systems I think. All we need is the basic interface wrappers for Kafka, as I already make the zipkin objects.

zipkin's kafka support accepts the same json as POST, so yeah this should be doable

@basvanbeek does this look like something you might be able to help with (plumb in the ability to write directly to kafka (or http) in addition to writing to a file?)

I might be. Not sure yet when I have time for this though.

How hard is it to get Kafka itself in place to test against?
On Wednesday, May 25, 2016, Bas van Beek<EMAIL_ADDRESS>wrote:

I might be. Not sure yet when I have time for this though.
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/adrianco/spigo/issues/67#issuecomment-221553339

Here's a paste of notes from here:
https://github.com/openzipkin/zipkin-java/tree/master/zipkin-server#kafka-collector
$ export KAFKA_ZOOKEEPER=$(docker-machine ip docker-machine active)#
Run Kafka in the background
$ docker run -d -p 2181:2181 -p 9092:9092
--env ADVERTISED_HOST=$KAFKA_ZOOKEEPER
--env AUTO_CREATE_TOPICS=true
spotify/kafka# Start the zipkin server, which reads $KAFKA_ZOOKEEPER
$ java -jar ./zipkin-server/target/zipkin-server-*exec.jar
On Wed, May 25, 2016 at 10:47 PM, Adrian Cockcroft<EMAIL_ADDRESS>
wrote:

How hard is it to get Kafka itself in place to test against?
On Wednesday, May 25, 2016, Bas van Beek<EMAIL_ADDRESS>wrote:

I might be. Not sure yet when I have time for this though.
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/adrianco/spigo/issues/67#issuecomment-221553339

—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/adrianco/spigo/issues/67#issuecomment-221776487

I created a docker-compose file with Zipkin + Zookeeper + Kafka + Cassandra which can be found here:
https://github.com/go-kit/kit/blob/master/tracing/zipkin/_docker/docker-compose-zipkin.yml
you can start it like this:
HOSTNAME=localhost docker-compose -f docker-compose-zipkin.yml up

Getting Kafka in place is not the hard part though..
On Wed, May 25, 2016 at 9:47 PM Adrian Cockcroft<EMAIL_ADDRESS>wrote:

How hard is it to get Kafka itself in place to test against?
On Wednesday, May 25, 2016, Bas van Beek<EMAIL_ADDRESS>wrote:

I might be. Not sure yet when I have time for this though.
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/adrianco/spigo/issues/67#issuecomment-221553339

—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/adrianco/spigo/issues/67#issuecomment-221776487

hard or not.. here's a kafka file that seems to work well enough https://github.com/openzipkin/docker-zipkin/pull/105

👍🏽
On Fri, Jul 22, 2016 at 1:48 AM Adrian Cole<EMAIL_ADDRESS>wrote:

hard or not.. here's a kafka file that seems to work well enough
openzipkin/docker-zipkin#105
https://github.com/openzipkin/docker-zipkin/pull/105
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/adrianco/spigo/issues/67#issuecomment-234489129, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ACWGWHFVPuiCLwbCQOOfwUU6FQa3S4ecks5qYIPqgaJpZM4IV453
.


Using hugo extended version when locally using Hugo in README.md

I follow the running-the-website-locally-using-hugo document, this document not specify which hugo binary file should installed.
I download and install hugo_0.53_Linux-64bit.tar.gz, it not work, below is error log:
hugo server --buildFuture
Building sites … ERROR 2019/06/21 15:53:11 error: failed to transform resource: TOCSS: failed to transform "sass/style.sass" (text/x-sass): this feature is not available in your current Hugo version

I donwload and install hugo extended version, make serve works well, so i think we should explain which hugo should installed.

Looks reasonable change to me since the "extended" version is about "Sass/SCSS support" according to the Hugo docs, but I'm not an expert on this to approve the change.

/lgtm

/approve


Changed types of parameters of lifecycle callbacks to be more strict.

We now leverage polymorphic this and mapped types.
Two files were reformatted by clang-format (latest version since it's not defined in devDependencies). You can use ?w=1 query to see GitHub diff with no whitespace changes.
Resolves #111

In the end I had to manually alter formatting to align with tslint rules. I've created an issue so we can discuss switching to Prettier: #110

@TimvdLippe will do.

@TimvdLippe It actually caught some typing errors in tests already: ec9628840ce877b741cfe16239eb1b106064c536
I can understand that you'd like to see a test that is failing with object in type definitions and is passing with this. object is more generic than this, tho, so I see no way to test it using the TypeScript compiler itself, I'd probably have to go with something like this. Is it worth it?

@merlinnot Ah no, that is actually a really good catch :+1: I wonder if we can use the same Partial solution for static get properties(), but let's put that in a separate PR

Hi @TimvdLippe @sorvell, any chance to get it merged? :)

Steve is still on vacation :wink:

How about this week? 😃

So I'm not so sure about these typings here. The this type isn't actually an accurate description of what can appear in the arguments to the callbacks.

By default the keys there are only the keys of the properties block, not the keys of the whole class. For instance, the this type will include _render, _shouldRender, etc.
Additional keys may appear if setProperty is called with names not in the properties block, as might happen with custom getter/setters.
We might be able to use mapped types to creating more accurate typings directly from the properties block, but that work work with the upcoming decorators. As far as I know, there's no way to have conditional types take into account decorators.

I think the current types, which admit that we don't actually know the type of the properties that well might be the most accurate.
cc @rictic who worked on some mapped typings for the Polymer properties block as well.

@justinfagnani I have been playing with this and I came up with the following mapped types and conditional types: TypeScript playground
Still, there is a need to declare the types of the properties separately and TypeScript does not allow these types to be mixed in into the class. Thus, you need to duplicate these field types in the class as well. This adds the following burden to the user:

Declare the properties interface
Implement the interface in the class
Use the PropertiesConstructor type to obtain the correct static get properties type

@TimvdLippe I'm pretty sure there's a way to use the inferred type of the properties getter without having to manually define the interface. Regardless, that's still not accurate as any call to setProperty() can introduce new keys in the the callbacks. And that technique won't work with class fields and decorators.
Basically, we can assert that the type usually has a particular shape, or has at least some fields, but maybe others, so object is actually about as good as we can do.

Really sorry for the delay on this and thanks for the PR. The API has changed a good bit (merged to master and to be released in version 0.6) so I think it makes sense to close this. We can re-evaluate based on the new codebase.


fix dupe bug with immersive engineering storage crates

...by enforcing that tileentities must serialize to the same nbt when broken as when placed.  also made PlayerBreakData immutable

https://github.com/elytra/Oops/commit/8bc1d5076da31afdb700511aeb121d9abf54ec49


Getting the Slack value for a Node

Hello,
After the Solver provides a solution I'm trying to get the value of SlackVar but get a "memory access violation" runtime exception. Am I doing this right?
IntVar local_slack = model.SlackVar(index, "time");
double task_slack = solution.Value(local_slack);
BTW: Getting the CumulVar Min and Max for the same index works fine.

Have you added the slack variable to the assignment using AddToAssignment, as done here for example?

No.
I will check whether this helps.
Thx  sghb


Use localStorage instead of cookies

One less library. And the data we store doesn't need to be in a cookie.

:+1:


[CLOSED] donejs cli

Issue by matthewp from Thursday Jun 04, 2015 at 21:31 GMT
Originally opened as https://github.com/donejs/donejs/issues/4

I wonder if we should have a cli tool like ember-cli.  It could include generators and a dev server.  This would make the "getting started" story much simpler and make donejs easier to sell.

Comment by daffl from Wednesday Jul 22, 2015 at 21:53 GMT

This should be closed via #10 and the 0.1.0 release. We will continue improving the CLI tool where necessary.

Comment by daffl from Thursday Jun 04, 2015 at 21:41 GMT

That's what I started working on today. I think the main donejs repository can be the CLI app.  Because donejs init will create your own package.json it can use the most up-to-date dependencies so we don't have to update the CLI every time we have a new version (similar to how grunt-cli does it).
All you have to do after that is run

npm start

And for proxying an API server

PROXY_API=http://localhost:port/path/to/api npm start


vs code with dev container and golang fails to run debugger on goroutine implementation

Does this issue occur when all extensions are disabled?: Yes/No

Starting: /workspaces/bin/dlv dap --listen=<IP_ADDRESS>:43207 --log-dest=3 from /workspace/src/testcode
DAP server listening at: <IP_ADDRESS>:43207
Type 'dlv help' for list of commands.
2024-07-18T09:13:54Z error layer=dap runtime error: input/output error
2 Unable to retrieve goroutines: input/output error

VS Code Version: 1.91.1 (universe)
OS Version:  MacOs 14.5 (23F79)

Steps to Reproduce:

Mac 3 ( silicon ), install VSCode latest (install dev container extension), Xcode, docker desktop
any go project with goroutine implementation
write the test case and then run the debug test

/extGo

It looks like this is caused by the Go extension. Please file the issue to the Go extension repository. Make sure to check their issue reporting template and provide them relevant information such as the extension version you're using. See also our issue reporting guidelines for more information.
Happy Coding!

@gjsjohnmurray  thank you for your response, if this works on intel based laptops, do we still see issues iwth go extension repo?

The extension repo is the best place to start. If they think it's a VS Code issue they should be able to give the VS Code devs enough info to work with.


Fix #2195: Keymap definition must not require ordered keys

Fix for #2195, tested in my windows machine with combinations like 'alt+shift+o', 'shift+ctrl+p', etc.
This branch is ready to be merged.
I'm using localeCompare() in order to properly sort all the characters because the sort() function sorts using unicode, causing some non english keyboards to be affected by a strange bug while normalizing.
Example:
keymap: alt+shift+p
normalized: alt+p+shift
normalized on non english keyboard: p+alt+shift

I think this is something we should write tests for! 👍

Sure!
I've created two tests in order to check the localized keymaps.
Let me know if you find anything else. :)

@wilsontayar I removed your localeCompare function and your tests still pass. I think that the strange bug that you pointed out occurs only when KeyboardEvent key (certainly using Unicode) is normalized. It seems hard to have a unit test about this.

Thanks for the reviews @chabou and @albinekb! 👍
Gonna take a look into this later today for sure. I'll keep you guys updated.

I've made some changes and now, as suggested by @chabou, the normalization occurs directly at the config.
Also updated the tests to include uppercase characters. The toLowerCase is important in the normalization process as well, so I thought it was a nice addition.
@chabou could you please see if your tests are still passing when you remove localeCompare?
I did it after the changes and it seems everything is working as expected now, gif as proof below. ;)

@chabou Thanks for nice reviews, I'm learning a lot here. 😄
I've updated everything as you suggested. If you find anything else just let me know.

We have to revert your PR, because there is error in devtools

@chabou The error might be since he didn't change the reference inside: https://github.com/zeit/hyper/blob/master/lib/utils/keymaps.js


Implement some TextField functions

This pull request extends the TextField class with new functionality:

textField.SetFontFamily("Courier New")
textField.SetFontSize(20)
textField.SetBackgroundColor("#0000FF33")
textField.SetColor("#FF0000FF")
textField.SetBorderColor("#00FF00FF")
textField.SetBorderWidth(3)
textField.SetEnabled(true)
textField.SetEditable(true)

@mojbro @phaus

Cool!
I don't really work with this project anymore, as you might have guessed, but I'm happy for new contributions. Have you tested it and feel good about it? If yes, then I'll happily merge this PR.

@mojbro Sorry to hear that as I planned to contribute more to this. Yes it works.

@StarHack It's open source, so feel free! I can add you as a contributor if you're interested in continuing development. If it grows to be more usable, you'll perhaps find more users and contributors.

thx for the contribution @StarHack - I have not much free time at the moment.
I did plan to use this project again.
Great to have another contributor here.

@mojbro Sure, why not.


mouse tooltip for scatter

hi.
I want to add the tooltip for scatter also as like linear's.
How can I activate the tooltip to scatter pointer.

I am enchantering the same problem nowadays, waiting for solution.
发自 网易邮箱大师
On 11/02/2016 13:57, bitjaru wrote:
hi.
I want to add the tooltip for scatter also as like linear's.
How can I activate the tooltip to scatter pointer.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Hi and sorry for the really late response! That feature is only implemented for linear functions, unfortunately I'm kinda busy with other stuff and I'm unable to work on this feature

How hard is it to implement this feature for someone new to d3?
What would have to be done?

The tooltip is disabled intentionally for other graph types as seen here: https://github.com/maurizzzio/function-plot/blob/master/lib/tip.js#L98-L100
What I'd do for scatter is find the closest sample to the mouse position and show the tooltip for that sample if the distance is close enough to some threshold, that's what I did for closed graphs https://github.com/maurizzzio/function-plot/blob/master/lib/tip.js#L117-L138


Indicate badge entry data is licensed as CC-BY-3.0+ from now on

Clearly indicate that all badge entries from now on are CC-BY-3.0+.
Copyright would probably be limited on badge entry data anyway,
but we want to encourage people to see and use this data, so having
a clear common license for the badge entry data is helpful.
We could have chosen CC0 (essentially public domain), which would be
easier for later users because no attribution would be needed.
However, attribution might encourage people to provide data
(and incentivize them to enter correct data).
All other non-code information in the badge project is also CC-BY-3.0+,
so this is consistent.
We only indicate this license if there's an updated_at after a date;
this is so the license is only shown if the user has accepted it
(as indicated selecting save or submit just under text declaring this).
We can't just relicense other people's data without their permission;
this seemed like the simplest way to deal with that.
We could go require more ceremony (by requiring a checked checkbox),
but we're trying to maximize ease-of-use here,
and this is essentially the same way that Wikipedia accepts changes,
Signed-off-by: David A. Wheeler<EMAIL_ADDRESS>

Codecov Report

Merging #648 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #648      +/-   ##
==========================================
+ Coverage   99.65%   99.65%   +<.01%
==========================================
  Files          42       42
  Lines        1147     1150       +3
==========================================
+ Hits         1143     1146       +3
  Misses          4        4

Impacted Files
Coverage Δ

app/models/project.rb
98.23% <100%> (+0.04%)
:white_check_mark:

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 9a54b08...84dbca2. Read the comment docs.


Better document the module project's platform host project purpose

Currently, the module project's platform host projects .android and .ios serve 2 purposes.
It allows the user to flutter build apk/ios in that folder (with a standard Runner.xcworkspace etc).
It also supplies podhelper.rb, include_flutter.groovy etc as well as the means to power them.
These 2 mechanisms are almost unrelated.
Explain this more clearly in documentations.

The .ios one is documented at https://flutter.dev/docs/development/add-to-app/ios/project-setup#module-organization


WIP: Metadata shortcuts

Keyboard shortcuts for adding new entities via metadata panel.

Codecov Report

Merging #710 into master will increase coverage by 0.43%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #710      +/-   ##
==========================================
+ Coverage   66.53%   66.97%   +0.43%
==========================================
  Files         280      281       +1
  Lines        7184     7552     +368
==========================================
+ Hits         4780     5058     +278
- Misses       2404     2494      +90

Impacted Files
Coverage Δ

src/article/metadata/MetadataPackage.js
100% <100%> (ø)
:arrow_up:

src/article/editor/InsertFigureCommand.js
54.54% <0%> (-45.46%)
:arrow_down:

src/dar/PersistedDocumentArchive.js
65.34% <0%> (-2.55%)
:arrow_down:

src/article/editor/TOCProvider.js
44.04% <0%> (-2.44%)
:arrow_down:

src/article/editor/DropFigure.js
0% <0%> (ø)
:arrow_up:

src/article/editor/EditorPackage.js
100% <0%> (ø)
:arrow_up:

src/article/models/BackMatterModel.js
100% <0%> (ø)
:arrow_up:

src/article/metadata/MetadataSectionTOCEntry.js
100% <0%> (ø)
:arrow_up:

src/article/reader/ReaderPackage.js
100% <0%> (ø)
:arrow_up:

... and 7 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 c8de21a...4b8681d. Read the comment docs.

@Integral Which state is this in? I agree with your opinion, that we should rather fix the event handling problem than avoiding certain combos.

@oliver---- here I reported the current state

Ok. I have read this. Your comment indicates that this PR would be obsolete if we solved the 'global' key handling problem. Is that true?

@oliver----, I think we should reassign shortcuts in case of solving global problem. Let's maybe continue here?

Yeah, I think it does not help us if we do this work 10 times. Let's first prepare the work by dealing with the global event problem.


Create new type IP address container type for grouping IP addresses without regards to subnet/prefix size

As ...
Ozzie - Operator
I want ...
to be able to group IP addresses within a "network" (an actual broadcast domain) without regards to the network. To give an example:
An IPv6 "LAN":
2001:db8:1::/64:

2001:db8:1:11:/80 Host Group 1

2001:db8:1:11:1/64 Host Group 1 Host 1
2001:db8:1:11:2/64 Host Group 1 Host 2
2001:db8:1:11:3/64 Host Group 1 Host 2

2001:db8:1:12::/80 Host Group 2

2001:db8:1:12:1/64 Host Group 2 Host 1
2001:db8:1:12:2/64 Host Group 2 Host 2
2001:db8:1:12:3/64 Host Group 2 Host 2

2001:db8:1:13::/80 Host Group 3

2001:db8:1:13:1/64 Host Group 3 Host 1
2001:db8:1:13:2/64 Host Group 3 Host 2
2001:db8:1:13:3/64 Host Group 3 Host 2

2001:db8:1:5:11/64 Host 1 (not part of host group)

The actual broadcast domain is 2001:db8:1::/64, and all hosts are configured with a /64 mask. The idea behind the host/address groups is to be able to logically group hosts/addresses (by customer, function, etc.) without regards to the parent (or child host) CIDR mask. With IPv6 in particular, this can help maintain a clean address plan by leveraging the amount of address space to create logical groups of hosts/addresses, and make it easier for both humans and machines to follow those groupings.
To further extend this model, the host/address group might not even be a CIDR prefix, but also a contiguous range of addresses.
So that ...
Logically group hosts/addresses (by customer, function, etc.) without regards to the parent (or child host) CIDR mask. With IPv6 in particular, this can help maintain a clean address plan by leveraging the amount of address space to create logical groups of hosts/addresses, and make it easier for both humans and machines to follow those groupings.
The "pool" prefix type comes very close to that functionality (although it's not quite the right descriptor) as it allows to have a "network" as a parent and hosts as children without having to have the same CIDR mask as either. Perhaps modifying the pool (or duplicating it to create a new type) might be one approach.
I know this is done when...
When I can add hosts/addresses to a "address group" container that properly retains the hierarchy below:
2001:db8:1::/64:

2001:db8:1:11:/80 Host Group 1

2001:db8:1:11:1/64 Host Group 1 Host 1
2001:db8:1:11:2/64 Host Group 1 Host 2
2001:db8:1:11:3/64 Host Group 1 Host 2

2001:db8:1:12::/80 Host Group 2

2001:db8:1:12:1/64 Host Group 2 Host 1
2001:db8:1:12:2/64 Host Group 2 Host 2
2001:db8:1:12:3/64 Host Group 2 Host 2

2001:db8:1:13::/80 Host Group 3

2001:db8:1:13:1/64 Host Group 3 Host 1
2001:db8:1:13:2/64 Host Group 3 Host 2
2001:db8:1:13:3/64 Host Group 3 Host 2

2001:db8:1:5:11/64 Host 1 (not part of address group)

Bonus points if the "address group" (I'm sure there's a better name) can represent a range (in addition to a CIDR mask) of addresses.
Optional - Feature groups this request pertains to.

[ ] Automation
[ ] Circuits
[ ] DCIM
[X] IPAM
[ ] Misc (including Data Sources)
[ ] Organization
[ ] Plugins (and other Extensibility)
[ ] Security (Secrets, etc)
[ ] Image Management
[ ] UI/UX
[ ] Documentation
[ ] Other (not directly a platform feature)

Database Changes
No response
External Dependencies
No response

To elaborate on the use case, I have an application that uses an IPv6 /64. Within that subnet, there are infrastructure hosts (that get assigned addresses out of 2001:db8:1::5/80), and multiple VMs for each customer. Each customer is assigned a /80 (and each customer has multiple VMs). I might also have some oddball hosts that are not assigned to any group.
So 2001:db8:1::/64 is laid out like this:
2001:db8:1::/64:
2001:db8:5:11:/80 Infrastructure VMs
2001:db8:1:11:1/64 Infrastructure Host 1
2001:db8:1:11:2/64 Infrastructure Host 2
2001:db8:1:11:3/64 Infrastructure Host 3
2001:db8:1:11:/80 Customer 1
2001:db8:1:11:1/64 Customer 1 Host 1
2001:db8:1:11:2/64 Customer 1 Host 2
2001:db8:1:11:3/64 Customer 1 Host 3
2001:db8:1:12::/80 Customer 2
2001:db8:1:12:1/64 Customer 2 Host 1
2001:db8:1:12:2/64 Customer 2 Host 2
2001:db8:1:12:3/64 Customer 2 Host 3
2001:db8:1:13::/80 Customer 3
2001:db8:1:13:1/64 Customer 3 Host 1
2001:db8:1:13:2/64 Customer 3 Host 2
2001:db8:1:13:3/64 Customer 3 Host 3
2001:db8:1:6:11/64 Host 1 (not part of address group)
The idea being I use the size of the IPv6 address space (though this benefit is not limited to IPv6) to nicely group and lay out hosts so I can tell at a glance by the address which customer it belongs to. I also know if I need to create a new host for Customer 2, its address will be 2001:db8:1:12:4/64 (the next available address in the 2001:db8:1:12::/80 address group). The key here is still all one /64 subnet, but having a way to nicely organize addresses into groups.
Another example might be to use ranges:
<IP_ADDRESS>/24:
<IP_ADDRESS>-<IP_ADDRESS> Infrastructure VMs
<IP_ADDRESS>/24 Infrastructure Host 1
<IP_ADDRESS>/24 Infrastructure Host 2
<IP_ADDRESS>/24 Infrastructure Host 3
<IP_ADDRESS>-<IP_ADDRESS> Customer 1
<IP_ADDRESS>/24 Customer 1 Host 1
<IP_ADDRESS>/24 Customer 1 Host 2
<IP_ADDRESS>/24 Customer 1 Host 3
<IP_ADDRESS>-<IP_ADDRESS> Customer 2
<IP_ADDRESS>/24 Customer 2 Host 1
<IP_ADDRESS>/24 Customer 2 Host 2
<IP_ADDRESS>/24 Customer 2 Host 3
<IP_ADDRESS>-<IP_ADDRESS> Customer 3
<IP_ADDRESS>/24 Customer 3 Host 1
<IP_ADDRESS>/24 Customer 3 Host 2
<IP_ADDRESS>/24 Customer 3 Host 3
<IP_ADDRESS>/24 Host 1 (not part of address group)


Expanding for multistates

This pull request is all about Multistate Free Energy Methods.
The goal is to enable methods like (RE-)EDS, LadyBugs or other multistate methods to get quick access to hybrid topology approach atom-mappings.
The algorithm concept:

generate all NxN mappings
merge down the mappings to a global mapping, that contains linked atom mappings for all states.

get the largest connected set of the global mapping.

Here example result, all ligands have a mapped core-region, such that all 14 ligands can be used in one hybrid topology simulation:
Code:
# Get input Data
from openfe_benchmarks import benzenes
components = benzenes.get_system().ligand_components

# Exclude cycle breakers! as not feasible for Hybrid topology approaches.
not_lig = ["lig_4", "lig_7",  "lig_10"] #"lig_3", "lig_2",
components = [c for c in components if(c.name not in not_lig)][:15]

#for visualization
#Chem.Draw.MolsToGridImage([c.to_rdkit() for c in components])

#mapp:
from kartograf import KartografAtomMapper

atomMapper = KartografAtomMapper()
multi_state_mapping = atomMapper.suggest_multistate_mapping(components, alternative=False, map_hydrogens=False)

multi_state_mapping

Result Visualization>

returned value:
[{'lig_1': 4,
'lig_10': 6,
'lig_11': 3,
'lig_12': 3,
'lig_13': 3,
'lig_14': 4,
'lig_15': 4,
'lig_16': 4,
'lig_2': 10,
'lig_3': 10,
'lig_5': 6,
'lig_6': 4,
'lig_8': 8,
'lig_9': 8},
{'lig_1': 6,
'lig_10': 3,
'lig_11': 6,
'lig_12': 6,
'lig_13': 5,
'lig_14': 6,
'lig_15': 6,
'lig_16': 6,
'lig_2': 4,
'lig_3': 4,
'lig_5': 3,
'lig_6': 6,
'lig_8': 10,
'lig_9': 5},
{'lig_1': 8,
'lig_10': 15,
'lig_11': 11,
...
}]

Hello @RiesBen! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file src/kartograf/atom_mapper.py:

Line 795:9: E128 continuation line under-indented for visual indent
Line 796:9: E128 continuation line under-indented for visual indent
Line 797:9: E128 continuation line under-indented for visual indent
Line 798:9: E128 continuation line under-indented for visual indent
Line 799:9: E128 continuation line under-indented for visual indent
Line 800:9: E128 continuation line under-indented for visual indent
Line 801:9: E125 continuation line with same indent as next logical line
Line 801:9: E128 continuation line under-indented for visual indent
Line 811:9: E303 too many blank lines (2)
Line 839:80: E501 line too long (98 > 79 characters)
Line 842:80: E501 line too long (85 > 79 characters)
Line 863:5: E303 too many blank lines (2)
Line 863:80: E501 line too long (85 > 79 characters)
Line 866:47: E251 unexpected spaces around keyword / parameter equals
Line 866:49: E251 unexpected spaces around keyword / parameter equals
Line 869:9: E265 block comment should start with '# '
Line 871:23: E225 missing whitespace around operator
Line 871:23: E712 comparison to True should be 'if cond is True:' or 'if cond:'
Line 878:80: E501 line too long (81 > 79 characters)
Line 883:80: E501 line too long (128 > 79 characters)
Line 891:80: E501 line too long (81 > 79 characters)
Line 892:80: E501 line too long (93 > 79 characters)
Line 893:80: E501 line too long (87 > 79 characters)
Line 894:80: E501 line too long (92 > 79 characters)
Line 896:13: E265 block comment should start with '# '
Line 897:80: E501 line too long (95 > 79 characters)
Line 898:80: E501 line too long (103 > 79 characters)
Line 901:9: E303 too many blank lines (2)
Line 905:80: E501 line too long (96 > 79 characters)
Line 925:80: E501 line too long (80 > 79 characters)
Line 938:5: E303 too many blank lines (2)
Line 940:9: E731 do not assign a lambda expression, use a def
Line 977:80: E501 line too long (83 > 79 characters)
Line 994:80: E501 line too long (88 > 79 characters)
Line 999:80: E501 line too long (113 > 79 characters)
Line 1000:9: E125 continuation line with same indent as next logical line
Line 1007:80: E501 line too long (85 > 79 characters)
Line 1015:80: E501 line too long (98 > 79 characters)
Line 1025:80: E501 line too long (108 > 79 characters)

Hey @RiesBen !
So I tried using this to generate mappings for the Schindler et al. FEP benchmark, and it generally works very well. There are just some cases were the behavior isn't exactly what I would expect (just from an alchemical pathway perspective, I didn't look at your code so I don't know if these are bugs or features).
Here's the code to generate these problematic mappings:
from rdkit import Chem
from kartograf import KartografAtomMapper
from gufe.components.smallmoleculecomponent import SmallMoleculeComponent
import requests

# get ligands
url = "https://raw.githubusercontent.com/MCompChem/fep-benchmark/master/cmet/ligands.sdf"

response = requests.get(url)
with open("ligands_cmet.sdf", 'wb') as file:
    file.write(response.content)

mols = [x for x in Chem.SDMolSupplier('ligands_cmet.sdf', removeHs=False)]
components = [SmallMoleculeComponent.from_rdkit(mol) for mol in mols]

atomMapper = KartografAtomMapper()

# Get the second subset of 10 ligands from the original set
subset_components = components[10:20]
# Mapping
multi_state_mapping = atomMapper.suggest_multistate_mapping(subset_components, alternative=False, map_hydrogens=False)

This code yields the following mapping:

The alchemical transformations suggested by this mapping involve a weird ring closure/opening, which I imagine should not be allowed? I may be wrong though.
If I use the same code on another ligand set from the benchmark, url = "https://raw.githubusercontent.com/MCompChem/fep-benchmark/master/hif2a/ligands.sdf", I get

This one is clearly suspicious, as the nitrile and the sulfoxide oxygen definitely don't have the same geometry.
Wonder what you think about theses cases.

Hej @eruijsena thanks for your cool feedback! :)
I will look into the strange cases you got, I assume it might due to how the states are finally merged... let me see :)

Hi @eruijsena,
I finally had some time to improve our filter strategy! (and I added new visualization possibilities)
the new mappings give me a better impression, what do you think?
2D - representation:

3D - representation:

and here a subset of hif2a

I see again the nitrile-Sulfoxide oxygen mapping. I think for this we will need a new filter to not map this, as the distances of our alignment make it possible to map those atoms (see the 3D):

Hey Ben.
Yes these do look better!
Would it be possible to have an explanation of what the greedy version does? I'm not sure I understand how it assigns a mapping.
For instance, if you turn the flag map_hydrogens to True in your code example with the benzenes set, I get this rather funky mapping:

Is this intended?


Editing old blog posts with images causes the images to disappear once updated

Describe the bug
For example I edited a word on an old post like this one (https://www.opentech.fund/news/fy18-budget-update/ / https://apply.opentech.fund/admin/pages/774/edit/) and the post originally had a few graphs. They were deleted once I re-published. I then realized the same thing happened on a few other blog posts.
To Reproduce
Steps to reproduce the behavior:

Go to an old blog post with images
Make any edit (not touching the images, can just be a copy edit)
hit publish
the images have disappeared

Expected behavior
For the images to remain
Priority

Low priority (annoying, would be nice to not see)

Affected roles

Staff
General public

I assume this was some hiccup or something so closing. Please reopen if the problem pop up again.


Investigate if pythagorean-triplets is implemented correctly

Ref: discussion in #203

This can be closed after #205, unless there is a desire to understand the problem in the previous solution and/or discuss it on 8th forum


Update feature-matrix.md

I updated some things based on latest git activity. Tried to be conservative. Might have to wait until you push another beta out to haxelib.

obsolete


AudioWaveforms with RecorderController does not show any waves

Describe the bug
I cloned audio_waveforms GitHub repo, opened up the example project and ran it on iPhone 14 Pro (iOS 16.4) emulator, however the waves are shown when recording the audio. (I have not modified any of your code)
To Reproduce
Steps to reproduce the behavior:

Clone audio_waveforms repo
Open up the example project
Run it on iOS emulator (16.4)
Start recording the sound
No visual waves are shown, just dots with [x*t, 0]

Expected behavior
The waves should react to recorded audio.
Smartphone (please complete the following information):

Device: iPhone 14 Pro (emulator)
OS: IOS 16.4

I have the same issue with my phone
Phone Model: Realme 5 pro
Android Version: 10
It works fine with the rest of emulators and devices ( Android & iOS )

I got the same issue, did you get any solutions?

@vongrad Can please use the new 1.0.5 version and #242 might have had fixed this.

I am also experiencing this on a physical device, iOS 17.4.1. Latest version 1.0.5.

I've got the same problem using the new version on android

I tested on an iPhone 14 simulator with IOS 17.2 recording waves are generating just fine for me. Did you get any exceptions or logs while recording? If you can share it then I would help us find the issue.

The bitrate value of 48k falls outside of the supported range of mpeg4 audio format on Android. Can you please try a higher bitrate value?

What should I set it to?

I tried this:```
void initialiseController() {
if (isInitialised) {
} else {
recorderController = RecorderController()
..androidEncoder = AndroidEncoder.aac
..androidOutputFormat = AndroidOutputFormat.mpeg4
..iosEncoder = IosEncoder.kAudioFormatMPEG4AAC
..sampleRate = 44100
..bitRate = 128000;
isInitialised = true;
}
}
But it sill doesn't show waves while recording.
![Screenshot_2024-05-07-13-43-41-466_com example chat](https://github.com/SimformSolutionsPvtLtd/audio_waveforms/assets/88487533/93f85aad-3039-4a11-9eaf-b7c1c8dc3719)

 void initialiseController() {
    if (isInitialised) {
    } else {
      recorderController = RecorderController()
        ..androidEncoder = AndroidEncoder.opus
        ..androidOutputFormat = AndroidOutputFormat.ogg
        ..iosEncoder = IosEncoder.kAudioFormatOpus
        ..sampleRate = 44100;
      isInitialised = true;
    }
  }

I've changed to these settings and now it works.

due to no recent updates we closing this for now.


Issue compiling less files

Having the same issue as #115 I think.
I created the pages directory, but same result.
sqs buster && sqs server --reload                                                                    ⏎
> sqs-log Clear local cache
> sqs-log Squarespace server running in livereload mode
> sqs-log Issue compiling less file `mixins.less` => 'sqs-ui-font.less' wasn't found
> sqs-log Issue compiling less file `base.less` => .transform is undefined
> sqs-log Issue compiling less file `blog.less` => .border-box is undefined
> sqs-log Issue compiling less file `index.less` => 'sqs-ui-font.less' wasn't found
> sqs-log Issue compiling less file `mobile.less` => 'sqs-grid-breaker.less' wasn't found
> sqs-log Squarespace server running localhost:5050

Well, it looks like you're not getting an actual error thrown, just the logs noting that the automagical LESS that Squarespace offers isn't available locally - which does suck. You'll notice there is a lot of information about trying to resolve the local LESS issue here: https://github.com/NodeSquarespace/node-squarespace-server/issues/123
I know you can hit the less files on universal which means there is a possibility that they could still be loaded locally, but the server would have to include them as core references. These are the ones I am aware of:
http://squarespace.com/universal/styles-v6/social-icon-font.less
http://squarespace.com/universal/styles-v6/sqs-grid-breaker.less
http://squarespace.com/universal/styles-v6/sqs-ui-font.less
I think a resolve could be on the horizons, but for now thanks for baring with me.


Homepage

Homepage
User Story
As a Customer,
when I type the Fakee-Commerce URL,
I want to address the homepage,
so I can see the navigation menu,
and access to the sections of the website.
Acceptance Criteria

It's done when the homepage has the header with logo, searchbox, currency toggler, and main navigation.
It's done when the main section has the hero banner with CTA button, shop bestsellers section, shop by category section.
It's done when the footer contains social media links, footer navigation links, payment logos, currency toggler, copyright and website footer links.

Design
Figma Homepage

Tasks done

IDE config and dev tools settings
Initial homepage layout

Add homepage header layout (PENDING flebox layout fixes).
Add homepage hero banner layout (PENDING matching the design).
Add homepage footer layout (PENDING refactoring to match the design).
Add Back to top button.
Include website logo images in /assets and /docs/logos/ folders.
Include country flag icons in the /assets/ folder.
Update design details like MVP concept, slogan and logos in the README.
Update documentation resources in README.

Pending tasks

Header fixes in responsive and flexbox layout.
Hero banner refactoring to match the Figma design Homepage & category page.
Footer refactoring to match the Figma design Homepage & category page.
Update Back to top button styles to match the Figma design Homepage & category page.
Create a back-end to feed the currency switch tool with the ExchangeRate-API data.
Create a back-end to feed the hero banner with the Faker API data.
Add the main content sections as per the Figma design Homepage & category page.

Screenshot

Homepage - Header layout improvements
Tasks done

Fix flexbox and responsive layout bugs.
Add new logo cropped image

Screenshot
Large screens

Small screens

Final homepage
Large screens

Small screens


Camera roll with 2000+ photos = Picture selector unusable

Hi,
My iPad has 2000+ photos, when I touch camera roll button it took almost 10 seconds to display content.

I ended up using ReactiveObjc and the new Photos framework to achieve a better performance.
The new Photos framework gives me the photos ordered by date latest first, and the ReactiveObjC gives me the ability to add the photos in batches, and not load all of them to only then show to the user.
I've also added video browsing through DBCamera.
I'll clean up the code, and I should submit it soon.

Duplicate from #206

@jpros Have you managed to fix this issue?
Thanks.

Ok guys, just fixed the issue. You have to make some changes on this files:
"DBLibraryManager.m":
On Line 86 ( before 'if ( group )') add:
ALAssetsFilter *onlyPhotosFilter = [ALAssetsFilter allPhotos];
[group setAssetsFilter:onlyPhotosFilter];
Replace Lines from 113 to 119 with:
if ( result ) {
[items addObject:result];
assetResult = result;
}
"DBCameraCollectionViewController.m":
Replace Lines from 74 to 78 with:
ALAsset *asset = _items[indexPath.item];
CGImageRef thumbnailImageRef = [asset thumbnail];
UIImage *thumbnail = [UIImage imageWithCGImage:thumbnailImageRef];
item.itemImage.image = thumbnail;
Replace Line 93 with:
[_collectionControllerDelegate collectionView:collectionView itemURL:(NSURL *)[[asset defaultRepresentation] url]];
Hope to help someone else because this library is amazing!

is it possible to do a pull request?


Review using Marshal.AllocHGlobal()

.Net 6.0 Preview6 or Preview7 gets new API https://github.com/dotnet/runtime/issues/33244#issuecomment-862443475 (https://github.com/dotnet/runtime/pull/54006 and https://github.com/dotnet/runtime/issues/54297)
Perhaps we could replace Marshal.AllocHGlobal() (~62 usings in our code) with new API System.Runtime.InteropServices.NativeMemory.Alloc() to be faster ~50x with p/invokes.

I don't think there are any differences in the memory alignment between Marshal.AllocHGlobal and NativeMemory.Alloc, see https://github.com/dotnet/runtime/issues/33228
So resolving this issue should be straightforward once next .Net preview is released.

We can start work on this once #15896 is merged.

@iSazonov I don't see where this is completed?

If we split each change into a separate PR, we can likely get changes merged, with time. I think we could keep this issue open.


Mat struct should not implement Send trait

Currently, the Mat struct implement Send trait, but I don't think it's correct.
Problems:
Consider a case below:
- Thread 1
Construct mat0
mat1 = mat0.copy() // Or mat1 = mat0.roi(...) or mat1 = mat0.rowscols(...)
// mat0 and mat1 now share the same data buffer
Move mat0 to Thread 2
Mutate mat1

- Thread 2
Mutate mat0

=> Now, the same underlying data is mutated by 2 concurrent threads => data race/undefined behavior.

Solutions:
1. Not implement Send trait for Mat struct
Pros: Easy to implement
Cons: Limit multi-threading capabilities
2. Introduce non-owning structs like MatView and MatViewMut whose lifetime is bounded by Mat
- Thread 1
Construct mat0
mat1: MatViewMut = mat0.copy()
Move mat0 to Thread 2 // COMPILER ERROR: Can not move mat0 since it's still being borrowed
Mutate mat1

==> Data race problem is solved

Pros: Ownership is clear. This solution also eliminate the possibility of passing the same data buffer as both Input and Output arguments. AFAIK, it's not clear whether it's safe to pass the same buffer as Input and Output arguments.
Cons: Requires more work as opposed to solution 1.

You're completely right and this is a problem even without considering multiple threads. So I'd say that point 2 is the way to go. There is already a task with that suggestion: https://github.com/twistedfall/opencv-rust/issues/294 but as you said it would require a considerable effort. I'm going to close this bug in favor of 294 if you don't mind.

this is a problem even without considering multiple threads.

I agree. The functions like Mat.copy, Mat.roi, etc create aliasing pointers which is a nasty business.

I'm going to close this bug in favor of 294 if you don't mind.

Sure. I'm looking forward to future releases.
Btw, thank you for this awesome library.


Folder uploads to azure

Type of issue

[x] Bug report
[ ] Feature request
[ ] Support request

Uploader type

[ ] Traditional
[ ] S3
[x] Azure

Uploading a folder to Azure
Fine Uploader version
Version 5.14.2 (Azure Core)
Browsers where the bug is reproducible
All
Detailed explanation of the problem
When I try to upload a folder using the core uploader to azure it returns an error. Uploading a file or a zipped folder with the same uploader has no issues. Zipping files for upload isn't an option for my current environment.
Is it possible to upload a folder to an azure blob?

Fine Uploader doesn't upload folders - it uploads files. So, if you drop a folder, all files in that folder and all other folders in that folder will be uploaded in dedicated requests.


WebsiteRepository delete method should not delete DB and DB user when doing a soft delete

How to reproduce

Set TENANCY_DATABASE_AUTO_DELETE and/or TENANCY_DATABASE_AUTO_DELETE_USER to true in .env settings
Delete a website with soft delete using app(WebsiteRepository::class)->delete($website, false);

Result
The website is soft deleted from the websites table, however the database and user are hard deleted from the DBMS too.
Expected behavior
Database and user should not be removed when soft deleting a website

@Bibendus83 can you try my branch if it works for you?


[mebdtls] issue with generated openthread-mbedtls-config.h

After updating MacOS to Sonoma 14.7 which also updated the clang toolchain. I noticed the following error message generated when building using ./test/toranj/build.sh all:
FAILED: examples/apps/cli/ot-cli-mtd
...
Undefined symbols for architecture arm64:
  "_mbedtls_ssl_conf_sig_algs", referenced from:
      ot::MeshCoP::SecureTransport::Setup(bool) in libopenthread-mtd.a[133](secure_transport.cpp.o)
ld: symbol(s) not found for architecture arm64
c++: error: linker command failed with exit code 1 (use -v to see invocation)

This points to a undefined function mbedtls_ssl_conf_sig_algs() which is used from MeshCoP::SecureTransport::Setup(bool).

The issue seems to be related with the generated openthread-mbedtls-config.h.
The mebdtls/CMakeLists.txt file contains the following:
https://github.com/openthread/openthread/blob/09698fae24521ab6f10f7df3fab5b1619f43bfca/third_party/mbedtls/CMakeLists.txt#L51-L65
This uses unifdef tool to remove #if checks from third_party/mbedtls/mbedtls-config.h and generate openthread-mbedtls-config.h which is then used as config header when building mbedtls library.
The issue is that in generated openthread-mbedtls-config.h we still see some of #if checks remaining:
#if OPENTHREAD_CONFIG_COAP_SECURE_API_ENABLE || OPENTHREAD_CONFIG_TLS_ENABLE
#define MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED
#endif

The issue seems to be related to limitation of unifdef:
     When evaluating an expression, unifdef does not expand macros first.  The
     value of a macro must be a simple number, not an expression.  A limited
     form of indirection is allowed, where one macro's value is the name of
     another.

In particular with the use of OPENTHREAD_CONFIG_TLS_ENABLE which is itself defined as:
/**
 * @def OPENTHREAD_CONFIG_TLS_ENABLE
 *
 * Define as 1 to enable support for TLS over TCP.
 */
#ifndef OPENTHREAD_CONFIG_TLS_ENABLE
#define OPENTHREAD_CONFIG_TLS_ENABLE (OPENTHREAD_CONFIG_TCP_ENABLE || OPENTHREAD_CONFIG_BLE_TCAT_ENABLE)
#endif

Submitted the PR below to fix the build failure:

https://github.com/openthread/openthread/pull/10773

However, it would be good to see if we can find a different (hopefully better) way to generate mbedtls-config that does not use unifdef.


feat: Limit 10 organizations per user

User story:

User should be able to create only 10 organizations.

Acceptance Criteria:

If the total number of organizations created by the user reaches 10, the "Create Organization" button should be disabled to prevent further organization creation.
When a user creates a new organization, the system should count the total number of organizations created by that user.

Pending Todos:
Frontend

[ ] When a user clicks the create  button, the previous error message should not be displayed in the create organization popup
[ ] The "Create" button should be disabled once the user has reached the limit of 10 organizations.