Resident privacy group and validations

Introduce feature config enableMultiplePrivateStates to accommodate Quorum handling multiple private states
Introduce RESIDENT privacy group type
Allow resident groups and its member to be configured via config file
Resident groups configured will be validated and created upon application launch.
Introduce groups API to return a list of privacy groups of a specific type. Usage groups/resident
A member cannot belong to more than 1 resident group, nor switch between groups.
If user decides to switch on mps feature, all keys configured must belong to a resident group.

Codecov Report

Merging #1273 (7f3301f) into master (4a3d8e4) will increase coverage by 0.00%.
The diff coverage is 100.00%.

:exclamation: Current head 7f3301f differs from pull request most recent head ab225e6. Consider uploading reports for the commit ab225e6 to get more accurate results

@@            Coverage Diff             @@
##             master    #1273    +/-   ##
==========================================
  Coverage     99.52%   99.52%
- Complexity     3251     3291    +40
==========================================
  Files           499      502     +3
  Lines          9811     9939   +128
  Branches        491      494     +3
==========================================
+ Hits           9764     9892   +128
  Misses            5        5
  Partials         42       42

Flag
Coverage Δ
Complexity Δ

unittests
99.52% <100.00%> (+<0.01%)
3291.00 <47.00> (+40.00)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ
Complexity Δ

...ava/com/quorum/tessera/context/RuntimeContext.java
100.00% <ø> (ø)
2.00 <0.00> (ø)

...va/com/quorum/tessera/data/PrivacyGroupEntity.java
100.00% <ø> (ø)
14.00 <0.00> (ø)

...rc/main/java/com/quorum/tessera/config/Config.java
100.00% <100.00%> (ø)
40.00 <2.00> (+2.00)

...java/com/quorum/tessera/config/FeatureToggles.java
100.00% <100.00%> (ø)
13.00 <3.00> (+3.00)

.../java/com/quorum/tessera/config/ResidentGroup.java
100.00% <100.00%> (ø)
7.00 <7.00> (?)

.../java/com/quorum/tessera/enclave/PrivacyGroup.java
98.55% <100.00%> (+0.19%)
0.00 <0.00> (ø)

...a/com/quorum/tessera/enclave/PrivacyGroupUtil.java
100.00% <100.00%> (ø)
12.00 <3.00> (+2.00)

.../quorum/tessera/context/DefaultRuntimeContext.java
100.00% <100.00%> (ø)
15.00 <2.00> (+1.00)

.../tessera/context/DefaultRuntimeContextFactory.java
98.46% <100.00%> (+0.02%)
11.00 <4.00> (ø)

.../quorum/tessera/context/RuntimeContextBuilder.java
100.00% <100.00%> (ø)
17.00 <1.00> (+1.00)

... and 9 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 280cd19...ab225e6. Read the comment docs.


Copyright is not up-to-date

You should change "Copyright 2013" to "Copyright 2016"

Moved license information to its own file and updated year. Thanks!


When using virtual rendering and column drag-and-drop sorting simultaneously, they don't work well together

TanStack Table version
v8.19.3
Framework/Library version
React V18.3.1; @tanstack/react-virtual V3.8.3; @dnd-kit/core v6.1.0
Describe the bug and the steps to reproduce it

Slightly scroll the table body so that the scrollbar is not at the top.
Try dragging the icon in the table header cell to sort.
During the dragging process, slightly jiggle the mouse upwards. When you observe the scrollbar in the table body starting to scroll automatically, column sorting is no longer possible.
You can only continue to drag and sort after refreshing the page.

Your Minimal, Reproducible Example - (Sandbox Highly Recommended)
https://stackblitz.com/edit/tanstack-table-vpkdmn?file=src%2Fmain.tsx
Screenshots or Videos (Optional)
No response
Do you intend to try to help solve this bug with your own PR?
No, because I do not know how
Terms & Code of Conduct

[x] I agree to follow this project's Code of Conduct
[X] I understand that if my bug cannot be reliable reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.

We are experiencing this exact same issue. Is there anything we can do to eliminate this from happening? Perhaps this could be fixed lib-wise somehow?

I solved it in the same way and will optimize it later. I hope to achieve the effect of ag-grid.

I solved it in the same way and will optimize it later. I hope to achieve the effect of ag-grid.

Could you please share the fix?, experiencing the same problem


Bower dependencies issue

Hello,
When i install startbootstrap-sb-admin with bower, i get this error,
bower                       EMALFORMED Failed to read ~somepath/vendor/DataTables/.bower.json

The content of error file is,
{
  "name": "datatables",
  "version": "1.10.4",
  "main": [
    "media/js/jquery.dataTables.js",
    "media/css/jquery.dataTables.css"
  ],
  "dependencies": {
    "jquery": ">=1.7.0"
  },
  "license": "MIT",
  "keywords": [
    "jquery",
    "datatables",
    "table",
    "javascript",
    "library"
  ],
  "ignore": [
    "/.*",
    "examples",
    "media/unit_testing",
    "composer.json",
    "dataTables.jquery.json",
    "package.json"
  ],
  "homepage": "https://github.com/DataTables/DataTables",
  "_release": "1.10.4",
  "_resolution": {
    "type": "version",
    "tag": "1.10.4",
    "commit": "96866489a52266c4b356364d7756dde8b7a0c172"
  },
  "_source": "git://github.com/DataTables/DataTables.git",
  "_target": "~1.10.4",
  "_originalSource": "DataTables"
}}

With the two braces.
My bower,
{
  "name": "My Project",
  "version": "2.0.0",
  "authors": [
    "Maxence Winandy<EMAIL_ADDRESS>  ],
  "moduleType": [
    "globals"
  ],
  "private": true,
  "ignore": [
    "**/.*",
    "node_modules",
    "./vendor/**",
    "test",
    "tests"
  ],
  "dependencies": {
    "startbootstrap-sb-admin-2": "latest",
    "bootstrap-sass": "~3.3.1"
  }
}

Are you trying to install SB Admin 2 or SB Admin with Bower. SB Admin isn't supported, and the official SB Admin 2 download seems to be working fine.
Try bower install startbootstrap-sb-admin-2 and it should be working!

I was already on the startbootstrap-sb-admin-2
I cleaned bower components folder and change to "~1.0.4" instead of "latest" in dep, that works fine...
I don't really know where from my issue.
Thanks for help !


[Feature request] support setting of incoming port during runtime

Some VPN providers (eg PIA) let you request an incoming port from them - but they don't let you set the port. If I could set this into pulsar when it is running, I'd get much better speeds than I have at the moment.

More info (from #136):
Pulsar (like other torrent clients) relies on others being able to directly connect with it through an incoming port to send content. Most VPN provider NAT their connections meaning their is no full route to the IP address that the VPN provider gives you. Because of this, some VPN providers (eg PIA) allow you to request an incoming port. The problem is in the case of PIA, that the incoming port is random, and you can't request a specific port. So to have Pulsar get to good speeds, you have to be able to set that port that Pia give you into pulsar.


(feat) Create Classes Component

This will be a grid view of all of the courses the logged in teacher teaches.

The grid should default to a single row of 3 columns.
There will be a '+ Show More' link at the bottom right of the grid.

Clicking this button should expand the grid to as many rows as needed.

To think about:

How will we add new classes?


Header image

How to insert image into header options? I added 'base' options base: 'file:///D:/work/inventory/resources' and
"header": {
"height": "45mm",
"contents": '

'
}, but it doesn't help to render logo image.

Can you try to put a / at the end of the base option.
I think the path just gets concatenated

But also images in headers and footers are currently a bit buggy. the might not show.

Is there a fix, or workaround, planned for the buggy images in the header?
It's the same problem with linked css as well. Won't work in the header or footer.

I am using base64 encoded images, as linked ones did not show. It seems using base64 works fine at least for headers.

Even base64 encoded images are not working for me. But the strange thing is, if I put the same thing to the body of the pdf, both the images are shown!
To be clear... I add the image to the header... It did not work. While keeping the image tag as it is, I added it to the body. Now both the body and header images are shown. If I remove only the body's image tag, both will disappear!

One dirty way to fix it is (Until the issue is fixed), add the image on both the sections and make the body image display: none. Now you have the image only in header.

same problem of THPubs here

@THPubs

<%= data.insName %> Report

                15 May 2018

I added like this But logo is in second line

Header/footer images load correctly if you load the same image on the body, with display:none

@raulneis Your sugestion works heere! Thx!!!


DB environments

You should be able to specify any number of DBs to connect to. Three common ones would be:
dev, staging, prod
but you could also have one-offs for feature branches, or whatever.

@ericvaladas suggested that I add a DATABASE_VARIABLE to .plsrc, which could be used to toggle different environments. That makes sense to me.
It'd be cool to be able to do like...
pls start env=prod, though. I wonder what the best way to get that api is? Maybe DATABASE_VARIABLE?

The DATABASE_URL is much easier to configure now, so I think this is pretty much resolved.


Repos are now created with admin permissions for the team, and other various bug fixes

Gives team admin access on repo creation automatically
Bumped ruby version to 2.2 to fix docker-compose build (required by redis)
Makes team names case insenstive, as all slug names provided by the Github API are lowercase, which meant !gh repo create PagerDuty/X private:false team:SRE did not work as the team name was actually sre

@theckman I've changes it so you can configure the team permissions. The default value is now pull, which is the current behavior.

@dkua Forgot to do that. Fixed now, thanks for catching it!


CAMEL-11311: Spring Boot with external ActiveMQ broker.

Showing problems using SB autowiring of Amq ConnecionFactory

Also add in the readme a link to activemq, and some instructions how to start activemq,
For example a bit like
https://github.com/camelinaction/camelinaction2/tree/master/chapter17/cluster-jms-client
But that example uses two brokers, you only need the one, and no need to change its configuration.

I'll fix the others asap. I'm a little short of bandwidth right now.

Thanks for the PR it has been merged. Do you mind closing this?


Improvement/make unnecessary methods in primer delegate optional

CHE-
What this PR does
Describe ... (Features / UI / logic changes)
Notable decisions & other stuff
List & explain ...
Before merging
QA

[ ] I manually tested this with a demo application (simulator)
[ ] I manually tested this with a demo application (real device)
[ ] I wrote unit tests for each new util-like function
[ ] I wrote at least basic e2e tests for the new functionalities or new paths
[ ] If this PR introduces UI changes, I manually tested this PR on iPhone 8 (iOS 10, 12, 14), iPhone 12, and iPhone 12 Max
[ ] If this PR modifies the behavior of an API, I did my best to make my new API backward compatible
[ ] If this PR modifies the API, I attempted to implement the feature with an example

Documentation

[ ] If this PR modifies the API, I updated the API Reference.
[ ] If this PR adds new options to the API, I wrote some documentation or guide in the online documentation
[ ] If the PR modifies the API, I wrote some documentation to deprecate it

After merging

Make sure a new release has been pushed to Cocoapods trunk

The only problem I noticed is the one in the screenshot, that we'll not be able to mark functions as unavailable in the future. I do prefer this solution though (shorter & cleaner), rather than adding @objc flag on the protocol.
I'll have to discuss this with Aladin and take a decision.

I think we should be able to make them unavailable by using
#if {Condition for availability}
// declaration here
#endif


Use indicatif to provide a more intuitive representation of upload progress

This PR closes #906. It uses the indicatif crate to represent progress in KV uploads for workers sites. This provides more context to upload progress than Uploading... messages.
Now uploads look like
$ wrangler publish
 Using namespace for Workers Site "__blog-workers_sites_assets"
 Uploading site files
████████████████████████████████████████████████████████████████████████ 48/48
 Success
⬇ Installing wasm-pack...
 Built successfully, built project size is 11 KiB.
 Successfully published your script to https://blog.ziggy.workers.dev

It looks like you were using a pre-existing namespace with all the site files already uploaded (make sure to delete existing namespaces if you're testing this functionality!)
As for the full progress bar, this is because Wrangler already uploads up to 5000 files (or max 50MB files) in one go. You're uploading a tiny site, it seems, so the upload happens in one call. Indicatif will be more useful for our users uploading way more substantial sites.

Something I can do, though, is not use the indicatif bar if the number of pairs being uploaded == 0. I'll get on that.

I'm wondering if it's better to not display the bar for sites under 5k files. It seems strange to have a progress bar that's always entirely filled. Definitely think it's useful for larger sites though. Will it jump in increments of 5000 because even that might look a little weird.. interested in other opinions about this!

I like the idea of not displaying the bar for small uploads. This is more preferable than breaking up the API calls into unnecessarily small batches for the sake of a nice looking indicatif bar.
And yes, the bar will jump in batches of 5000 (or whatever files amount to the 50MB payload max for uploads). I don't think that would look weird.

I wonder if it would be worth doing just like a little tiny 1ms sleep for each step in the 5000 or something... /how hard that would be

That assumes that there's a certain duration for the API call, which is not the case. I'm strongly in favor of displaying accurate information to Wrangler users, even if it's not "pretty". I'd rather peg indicatif monitors to accurate information.


Webclient Redesign

What I would REALLY like is a webclient where I can show health bars, exp bars, ASCII map etc in various sections...

It has finally moved a little! I've managed to split the webclient into two columns, the most-right one will soon become the status panel with healthbars, stats, etc.

Webclient overhaul is well underway, managed to implement a side panel containing some basic player information. Check out the work in progress at dum.wowpin.eu


ci: add slither

as title, now that the action works nicely

we should read forge config output, grab the libs & test config options, and filter out from having slither run on them via --filter-paths $(commandToGenerateFilters)


sql: move Expression to sql/core.go.

Current coverage is 55.15% (diff: 100%)

Merging #78 into master will not change coverage

@@             master        #78   diff @@
==========================================
  Files            33         33
  Lines          1291       1291
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits            712        712
  Misses          534        534
  Partials         45         45

Powered by Codecov. Last update 92c1449...83de647


Upgrade joi to v10.1.0

Moment.js was removed from joi since v10.0.0 .... please remove "BIG" module from dependencies. 💃

Similar to https://github.com/auth0/node-jsonwebtoken/pull/301

After a some investigation, any upgrade of joi from the current version will break compatibility with ES5.
https://github.com/hapijs/joi/commits/master?after=Y3Vyc29yOtCeNCeSeSsaqQE27cSdaZ5UG57jKzI0NA%3D%3D

Let's keep it as is for now, I'll mark it as next major (although I'm not sure if it will be the next one or the following one)

Closing this in favor of: https://github.com/auth0/node-jsonwebtoken/pull/348


Add support for in='body' for @RequestParameter

Add support for in='body' for @RequestParameter
@RequestParameter now supports in="path|query|header|cookie"
example from OpenApi:

https://petstore.swagger.io

Parameters in body are implemented through @RequestMapper. But I am not sure if it's used in apitte/openapi

Mapper renamed to @RequestBody and implemented by Apitte v0.7-dev


chore(main): release never-bot 2.11.0

:robot: I have created a release beep boop
2.11.0 (2024-08-05)
Features

update package dependencies (63a76c6)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/neverased/NeverBot/releases/tag/never-bot-v2.11.0 :sunflower:


Error login logic of mobile phone login

[CASE]
Two accounts in the system .
USER A
Use the phone number 188xxx as the user name, but did not fill in the phone number, the registration is successful.
USER B
Use the random string as the user name, fill in the verified mobile phone number 188xxx (the same as the user name of A), and the registration is successful.
[Question]
1. Password login
Use the mobile phone number 188xxx as the user name and log in through the password. Will you log in to account A or B?

2. SMS code login
Use the mobile phone number 188xxx as the recipient of the SMS Captcha, and log in through the verification code. Will you log in to account A or B?

Answers
Q1
Account A will be logged in, as expected
Q2
Account A is still logged in, not as expected
Expected
Username login to A, SMS login to B.

It is looks like find user info error.  In the Login method, will find the user via GetUserByFields. If have two user like above, we can‘t find user B forever. So SAD 😢
func GetUserByFields(organization string, field string) *User {
	// check username
	user := GetUserByField(organization, "name", field)
	if user != nil {
		return user
	}

	// check email
	user = GetUserByField(organization, "email", field)
	if user != nil {
		return user
	}

	// check phone
	user = GetUserByField(organization, "phone", field)
	if user != nil {
		return user
	}

	// check ID card
	user = GetUserByField(organization, "id_card", field)
	if user != nil {
		return user
	}

	return nil
}

Email code login maybe have same question.  I think, there is two ways to resolve that's question:
Methods

Limit username cannot user pure digital or start with digital when register, it will be avoid cause username was same as phone number; Limit username cannot include @ or use a regex code check username to avoid email code login question.

Modify the function GetUserByFields, add parameter to control search sequences.

Some useful information
We were able to distinguish how the user logged in, and thus use different lookup orders.
login via password
{
  "application": "testapp",
  "organization": "dev",
  "username": "18812345678",
  "password": "18812345678",
  "autoSignin": true,
  "type": "code",
  "phonePrefix": "86",
  "samlRequest": ""
}

login via code
{
  "application": "testapp",
  "organization": "dev",
  "username": "18812345678",
  "autoSignin": true,
  "code": "66716",
  "type": "code",
  "phonePrefix": "86",
  "samlRequest": ""
}


Best Practices for IP-Adapter-FaceID

Hello,
I am trying out IP-Adapter-FaceID

What is recommendation for input image size?
What is recommendation for scale/guidance_scale?

Thanks

hi, it should work for any image size, you can try adjust any parameters to get best results.

ok, thanks

ok thanks

With the same model, the output of faceid version is relative darker than ori face version, what's the possible reason?

With the same model, the output of faceid version is relative darker than ori face version, what's the possible reason?

ori face version is ?

@xiaohu2015

@xiaohu2015
Let me make it more clear. Below is an example, left two columns were generated by using "ip-adapter-plus-face_sd15.bin", while right two columns were generated by using "ip-adapter-faceid-plus_sd15.bin".
The right two are a little darker than left two, both for the girl's shin and the environment light. They all used the same prompt.

The two models are different in design, so they may have different results.

I believe there's some bias coming from the previous models. All IPAdapter models "burn" the image quite a bit so you generally need to lower the weight, the CFG scale (and generally increase the steps).
The new FaceID models are far less aggressive and they actually act more "naturally" as they should. This also means that you can use a very strong weight (hence increase the face likeliness) and use very aggressive CFG scale value.
With faceID you can safely use weight 1.2 and CFG 9 and you will get more or less the same saturation you were getting from a Full Face with the added benefit that you can reach good results with fewer steps.
This is an example both at 20 steps (white plus face would probably require 30 at least)
The first picture is FaceID with CFG 6 and weight 0.8

This second one if FaceID with CFG 9 and weight 9.0

As you can see you can reach the same kind of saturation you had before with Plus Face.
TL;DR: it's FacePlus that is wrong not FaceID :smile:

I believe there's some bias coming from the previous models. All IPAdapter models "burn" the image quite a bit so you generally need to lower the weight, the CFG scale (and generally increase the steps).
The new FaceID models are far less aggressive and they actually act more "naturally" as they should. This also means that you can use a very strong weight (hence increase the face likeliness) and use very aggressive CFG scale value.
With faceID you can safely use weight 1.2 and CFG 9 and you will get more or less the same saturation you were getting from a Full Face with the added benefit that you can reach good results with fewer steps.
This is an example both at 20 steps (white plus face would probably require 30 at least)
The first picture is FaceID Plus with CFG 6 and weight 0.8
This second one if FaceID Plus with CFG 9 and weight 1.2
As you can see you can reach the same kind of saturation you had before with Plus Face.
TL;DR: it's FacePlus that is wrong not FaceID 😄

in fact, we use some different training tricks to train FaceID Plus, so it is more robust. FaceID Plus v2 will support adjust the weight of face structure.
by the way, the result you show is FaceID Plus, how about FaceID?

FaceID is different because it really needs to be used together with PlusFace or FullFace.
When used alone it doesn't "burn" the image as much as Plus/Full Face but more than FaceIDPlus
This is weight 0.8 CFG 6

This is weight 1.2 CFG 9


added the ability to refresh credentials in the auth token

add Ability to Refresh Auth Token Credentials
Currently when credentials expire, GraphDatabase.Driver will continue trying to connect with the outdated login/password. There is no ability to update or refresh login credentials (See https://github.com/neo4j/neo4j-dotnet-driver/issues/664).
This PR introduces the ability to pass an optional tokenRefresher function to an AuthToken object which will change credentials as they become obsolete.
There are no breaking changes introduced in this PR.
There is a test which validates these modifications by using a simple tokenRefresher which increments the credentials and verifies that the auth token is being updated as expected.
Also tested with connection idle timeout 20 seconds and interval between requests 30 seconds, new credentials were correctly used to create a new connection.

LGTM +1


[Text] allow wordWrapping on iOS and tvOS

The goal of this pull request is to add wordWrapping on iOS and tvOS
I have test it on iOS and tvOS like that:
<Text ellipsizeMode="wordWrapping">
    {this.props.text}
</Text>

Word wrapping is available in RCTConvert.m

Can you add screenshots? Just want to make sure this works on iOS.

Hello,
This is some screenshot with and without wordWrapping:

Yes, let met show you a little example:
If we have this text:
let test = "Hello I am a test\nHello I am a test REACTNATIVEPOWER";
With wordWrapping, you can see the last word was cut (this is the behavior of NSLineBreakByWordWrapping):

With tail this is the bahavior:

You can see the code of the component:
<View style={styles.container}>
	<Text
		ellipsizeMode={"wordWrapping"}
		numberOfLines={2}
		style={styles.instructions}
	>
		{test}
	</Text>
</View>

Yes, ellipsizeMode={'wordWrapping'} is supported, but the problem here is that wordWrapping is not ellipsizeMode conceptually; it is something like wrapMode.
Initially conversion from ellipsizeMode={'wordWrapping'} to NSLineBreakByWordWrapping was not implemented intensionally, but lately someone add this.
So, we have to implement a new prop for this functionality.

Hello,
Thanks for your answer, how many wrapMode there are ?

I can imagine another values, but we can start from this.


Print the name of the sink if failed

Kafka did not implemented core.DataSink Name function.
Factory now prints the name of the sink failed.

This change is

/ok-to-test

LGTM as long as it passes tests.

/test all

Merging since tests pass.


can't copy helper code nor svg contnet

🐞 Bug Report
Describe the bug
On fresh install of ember and ember-svg-jar, I cant seem to copy any helper code nor svg contnet from the viewer.
Reproduce the bug
clean fresh install then yarn start
Expected behavior
to copy svg content.
nothing happen when I click copy or copy svg contnet.
Additional context
Demo project is down!

Feel free to reopen if you still have the problem.

I can copy from the demo app.
I'm using the latest version of firebox.
the demo app was down for a couple of days.

I still have the weird problem, with totally fresh untouched installation where I can't copy icons.
$ ember -v
ember-cli: 3.17.0
node: 10.19.0
os: win32 x64

It's probably related to the OS you use. Windows support is still not good as I don't have windows and enough time to support it. Anyway, it would be helpful to have a repo reproducing the issue.


BUG - some classes are badly classified

Description of the issue
Apparently, the classes OEO_00020039, OEO_00020011 and OEO_00010116 are not (properly) classified. They seem to be part of oeo-shared.
I guess, this is related to the error that occurs when inferred?!
Ideas of solution
None...
Workflow checklist

[ ] I am aware of the workflow for this repository

I don't get an inferring error.
However I spotted the following: When opening oeo.omn but when opening oeo-shared.omn I see the following:

OEO_00020039 (energy carrier) is defined in oeo-physical, OEO_00020011 (study) is defined in oeo-model and OEO_00010116  (good) is defined in oeo-social. Would moving these three classes to oeo-shared solve this issue?

For OEO_00010116 (good):

the error might have occured, when making commodity (oeo-shared) a subclass of good. Moving good might solve the problem.
But we should also change the axiom of commodity to good and ('has role' some 'commodity role').

@jannahastings is there a kind of annotation to indicate, in which module a class has been implemented? That could be quite helpful.

For OEO_00020039 (energy carrier) and OEO_00020011 (study):

Both are conntected via covers energy carrier (oeo-shared), PR #852
Looking at covers sector (connecting study and sector), there's no such error. Thus, it might be sufficient to either move study or energy carrier.
Since energy carrier is defined as 'material entity' and ('has disposition' some 'energy carrier disposition'), we could move energy carrier disposition. material entity is already part of oeo-shared.
On the other hand: if we want to connect more stuff to study, it might be useful to move study instead.

@jannahastings is there a kind of annotation to indicate, in which module a class has been implemented? That could be quite helpful.

There is not, although we could certainly add one, it would potentially be quite a fair bit of work to maintain especially if we move things around?

if we want to connect more stuff to study, it might be useful to move study instead.

study seems to me to be quite central. Thus, I think I would be in favour of this option.

There is not, although we could certainly add one, it would potentially be quite a fair bit of work to maintain especially if we move things around?

That's true. Maybe it would be sufficient to indicate the classes from oeo-shared. I put that discussion on the agenda for the next dev-meeting.

Would such an annotation be needed at implementation time or just in the final release. If it is the latter, we might add such an annotation automatically during the release process

Would such an annotation be needed at implementation time or just in the final release. If it is the latter, we might add such an annotation automatically during the release process.

Great idea! From my point of view, the latter would be sufficient.

Thus, I'm going to move commodity and study to oeo-shared.


Inconsistency in index.html in Blazor template

Here is a partial listing from index.html file generated by VS template (Blazor 0.7.0)
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width">
    <title>temptest</title>
    <base href="/" />
    <link href="css/bootstrap/bootstrap.min.css" rel="stylesheet" />
    <link href="css/site.css" rel="stylesheet" />
</head>

For consistency second meta element should have /> at the end.
On the other hand in HTML meta, base and link tags don't have end tags. They have to be properly closed only in XHTML. Do we need XHTML compatibility in Blazor?

This has been fixed.

This is still an issue in the Blazor (ASP.NET Core hosted) template.


[BUG] org-mode TAB key mapped to different command when emacs running as daemon

When emacs is running as daemon, the TAB key in org mode buffer is mapped to bettter-jumper-jump-forward. When emacs is running standalone, either tty or GUI, the TAB key is mapped to org-cycle.
System information

((emacs
  (version . "26.3")
  (features . "XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS GLIB NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM THREADS LIBSYSTEMD LCMS2")
  (build . "Sep 13, 2019")
  (buildopts "--prefix= --prefix=/snap/emacs/current/usr 'CFLAGS= -I/build/emacs/parts/emacs/install/usr/include' 'CPPFLAGS= -I/build/emacs/parts/emacs/install/usr/include' 'LDFLAGS= -L/build/emacs/parts/emacs/install/lib -L/build/emacs/parts/emacs/install/usr/lib -L/build/emacs/parts/emacs/install/lib/x86_64-linux-gnu -L/build/emacs/parts/emacs/install/usr/lib/x86_64-linux-gnu'")
  (windowsys . batch)
  (daemonp))
 (doom
  (version . "2.0.9")
  (build . "HEAD -> develop, origin/develop, origin/HEAD b343f238f 2019-10-13 00:28:48 -0400"))
 (system
  (type . gnu/linux)
  (config . "x86_64-pc-linux-gnu")
  (shell . "/bin/bash")
  (uname . "Linux 4.15.0-65-generic #74-Ubuntu SMP Tue Sep 17 17:06:04 UTC 2019 x86_64")
  (path "~/bin" "~/.toolbox/bin"  "~/.cargo/bin" "~/.emacs.d/bin"  "~/bin" "/usr/local/sbin" "/usr/local/bin" "/usr/sbin" "/usr/bin" "/sbin" "/bin"  "/snap/bin" "/snap/emacs/current/usr/libexec/emacs/26.3/x86_64-pc-linux-gnu"))
 (config
  (envfile . envvar-file)
  (elc-files . 0)
  (modules :completion company ivy :ui doom doom-dashboard doom-quit hl-todo modeline nav-flash ophints (popup +all +defaults) vc-gutter vi-tilde-fringe window-select workspaces :editor (evil +everywhere) file-templates fold multiple-cursors rotate-text snippets :emacs dired electric vc :tools eval flycheck (lookup +docsets) magit :lang data emacs-lisp markdown (org +dragndrop +ipython +pandoc +present) sh :config (default +bindings +smartparens))
  (packages "n/a")
  (elpa "n/a")))

This is really an evil-org-mode issue. There appears to be an issue open for it: https://github.com/Somelauw/evil-org-mode/issues/54.
It only binds org-cycle to (kbd "<tab>") (i.e. [tab]), which is the input event that gui emacs triggers. Terminal Emacs triggers (kbd "TAB") (i.e. "\t"), but evil-org has no keybind for it.
Please chime into Somelauw/evil-org-mode#54. I've resolved this temporarily, in Doom, but will keep this open until I know for sure it has been (or won't be) addressed upstream.

Thanks for the prompt response. So In the mean time, before the bug is fixed in upstream, I just put these lines in my private config.el to make org usable in daemon:

;; Patch up the evil-org key map, so that org is usable with daemon
;; https://github.com/hlissner/doom-emacs/issues/1897
(after! evil-org
  (evil-define-key '(normal visual) evil-org-mode-map
    (kbd "TAB") 'org-cycle))

I've already fixed this in 25acbd2. If you are unable to update, then yes, your code will work.

I encountered the same issue today. With solution provided by @h7zhang, it is fine for now.
@hlissner, seems the latest commit triggers the issue back.

@randomizedthinking As of fb28586 we've switched to a fork of evil-org which resolves these issues. At the moment, Doom's package manager cannot see recipe changes, so you will need to manually delete ~/.emacs.d/.local/straight/{repos,build}/evil-org, as well as ~/.emacs.d/.local/straight/build-cache.el, then run doom refresh -f to get Doom to install it with the new recipe.

Thanks a bunch for your hard work!

@hlissner I followed the instruction, and it worked out nicely yet with one issue: the org-agenda still does not work properly. So in addition, we need to manually delete org folder as well:
rm -rf ~/.emacs.d/.local/straight/{repos,build}/org
rm -rf ~/.emacs.d/.local/straight/{repos,build}/evil-org
doom refresh -f


[#124720541] Bump aws-broker-release to 0.0.9

#124720541 Not all logs shipped to kibana/logsearch
What
We want all the logs from RDS broker in syslog, to forward then to loggregator using metron_agent.
Version of the aws-broker-release 0.0.9 will forward all the logs to syslog
How to review
Deploy this, and check that rds-broker logs the messages to syslog as in https://github.com/alphagov/paas-aws-broker-boshrelease/pull/12
Who?
Anyone but @keymon

works... I can see the logs from broker in user.log


Fix some issue of network testing

@juhlee-microsoft  Are you admin of this?

Please fill out the description and change-test result. I am not aware of it. Maybe ask @santoshx or @johnsongeorge-w ?

Please fill out the description and change-test result. I am not aware of it. Maybe ask @santoshx or @johnsongeorge-w ?

My understanding is that all testing is to be done by LISAv2 and this lis-test is deprecated and no longer used anywhere.  However I do seem to have merge permission, if you must need to merge.

Hold on second.


URL fetch failure when tried to fetch the pretrained neural nets (ResNet) stored in tensorflow

Click to expand!
Issue Type
Bug
Have you reproduced the bug with TF nightly?
No
Source
source
Tensorflow Version
tf 2.11
Custom Code
Yes
OS Platform and Distribution
Ubuntu 20.04, Linux 5.4.0
Mobile device
No response
Python version
3.8
Bazel version
No response
GCC/Compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current Behaviour?
Hi,

When I tried to import the pre-trained ResNet in tensorflow, it always gave me 403 forbidden error which I have no clue to solve. What might cause this error?

Standalone code to reproduce the issue
The code is:

base_model = tf.keras.applications.ResNet50(weights = 'imagenet', include_top = False, input_shape = (512,512,3))
for layer in base_model.layers:
    layer.trainable = False

Relevant log output
No response

Below is the specific screenshot when I ran the code

@Hongzhe12345,
There might be some network issues which downloading the file and also the shape mis-match which cannot be solved except changing the architecture according to weights because vectors shape mis-match cause problems.
I tried to execute the code and it was executed without any issue/error.
from keras.applications.resnet import ResNet50
base_model = tf.keras.applications.ResNet50(include_top = False, weights = 'imagenet', input_shape=(512,512,3),pooling='avg')

Kindly find the gist of it here and below screenshot for the reference and the link.

Thank you!

how to solve this code


add prettier setup from CAST

Description
Borrow the prettier setup from CAST so that we can easily format our files while developing and correct small issues automatically with eslint --fix + prettier --write.

What are the steps to enable these commands to work? I get the errors: command not found: eslint/prettier
Do we need to have it globally installed?
Is it possible to enable the pre-commit hook to perform the fix/formatting too?

@KsenijaZivkovic which command were you trying? the following should work after a yarn install (I only have yarn and create-react-app installed globally)
I was running the commands from packages/client and doing:
npx eslint src --fix
npx prettier src --write
of course doing commands on src will be a huge change - i imagine we will slowly get our files formatted overtime as we work on them.

@KsenijaZivkovic which command were you trying? the following should work after a yarn install (I only have yarn and create-react-app installed globally)
I was running the commands from packages/client and doing:
npx eslint src --fix npx prettier src --write
of course doing commands on src will be a huge change - i imagine we will slowly get our files formatted overtime as we work on them.

It's working for me, yesterday I forgot to navigate to the correct package, that's why it was failing.
I see that after the fix - all the quotes are changed to single quotes, if we want to keep the double quotes we need to disable the singleQuote

@KsenijaZivkovic I think we want single quotes, its the standard CAST uses, but we just have the rule set to "off" right now so it doesnt throw errors while developing: https://github.com/DapperCollectives/VESSEL/blob/main/packages/client/.eslintrc.json#L31

@KsenijaZivkovic I think we want single quotes, its the standard CAST uses, but we just have the rule set to "off" right now so it doesnt throw errors while developing: https://github.com/DapperCollectives/VESSEL/blob/main/packages/client/.eslintrc.json#L31

https://github.com/DapperCollectives/VESSEL/pull/126/files#diff-dbbe2fad4b33cee286a676401a44d78e2bfa368423a07d7142da3a313aa9417eR61 - i was referring to this line
I'm okay with single quotes, but I'm trying to recall that we had a team agreement on double quotes, was it after the JS guide meeting, can't remember correctly 🙈
@amyliu6 @linxiao-li what do you say?

I made the decision to disable the single quote rule because double quotes are more prevalent in our codebase, and there's no significant advantage switching to use single quote only. I'd say let's unify and enforce the double quotes standard instead

@linxiao-li since there's no significant advantage to one or other, shouldn't we use what CAST has already implemented? Kind of odd to have that be the only differing rule in our codebases. Even though we have more double quotes at the moment, they are easily converted to single quotes with --fix or formatOnSave

@KsenijaZivkovic re: pre-commit hook - I'm not sure if its been working since we didn't have a .prettierrc file before? the pretty-quick docs says it looks up the directory for a .prettierrc. In theory it should just work now - https://www.npmjs.com/package/pretty-quick

I'm not sure either if it was working before

@KsenijaZivkovic re: pre-commit hook - I'm not sure if its been working since we didn't have a .prettierrc file before? the pretty-quick docs says it looks up the directory for a .prettierrc. In theory it should just work now - https://www.npmjs.com/package/pretty-quick

I'm not sure either if it was working before

it was working before, we didn't define .prettierrc as the default setting matches with our format style, it's needed if we want to override the settings.

@mannynotfound I'm fine with that, just make sure we do the conversion in a single pr just for that purpose (possibly include in this pr?) just so the quote change doesn't get mixed with other feature/bug code changes


Revert "add builder/hyperv-vmcx "

"squash and merge" lost original authors credit work... will re-merge

Coverage decreased (-0.1%) to 82.249% when pulling b29fab32fcd3681be880f15d31b861996309e210 on revert-94-mayn-issue66 into e3e5d11b3d8c7545437a96e5ed192c7a8a1b9602 on master.


Verify that TravisCI will have the correct image available in docker engine

verify that we can use command line image flags to pull images from public dockerhub, or verify that travisCI docker engine will have the image we want. somehow we gotta make the image identifier work with the travisCI setup

Superseded by https://github.com/kurtosis-tech/kurtosis/issues/61


[Question] Is it (or will it be) available for running offline?

Ask a question
I noticed this awesome project today. However, I think it currently requires users to send the document to OpenAI via APIs, which may be a great concern to me. Is there a plan for providing an offline version (e.g., using another locally deployed offline model to replace the GPT model) in the future? Thank you!

It appears to already be. If you look at the Python example it mentions how to point it at other models, and links to LiteLLM for further info on how to link other models than the one in the examples. LiteLLM appears to support Ollama (and probably other local models), so you can already run it through whatever you want.

Thank you! I will take a look at this.


Improve the example apps to be more production-quality ready

We should improve our example apps by applying the best practices and making them more error proof so they would be more "production-ready" than "as simple as possible" :wink:
┆Issue is synchronized with this Jira Task by Unito

Duplicates #421


Smoke test fails on dotnet new console

Smoke tests on the source-built cli are encountering the following error:
Processing post-creation actions...
Running 'dotnet restore' on /src/sb-cli/testing-smoke/C#_console/C#_console.csproj...
Unhandled Exception: System.TypeInitializationException: The type initializer for 'Microsoft.Build.Shared.BuildEnvironmentHelper' threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at Microsoft.Build.Shared.BuildEnvironmentHelper.CheckIfRunningTests() in /_/src/Shared/BuildEnvironmentHelper.cs:line 316
   at Microsoft.Build.Shared.BuildEnvironmentHelper..cctor() in /_/src/Shared/BuildEnvironmentHelper.cs:line 391
   --- End of inner exception stack trace ---
   at Microsoft.Build.Shared.BuildEnvironmentHelper.get_Instance() in /_/src/Shared/BuildEnvironmentHelper.cs:line 57
   at Microsoft.Build.CommandLine.MSBuildApp.ConstructArrayArg(String[] args) in /_/src/MSBuild/XMake.cs:line 241
   at Microsoft.Build.CommandLine.MSBuildApp.Main(String[] args) in /_/src/MSBuild/XMake.cs:line 216

This is fixed with https://github.com/dotnet/source-build/pull/439


Completed Assessment

I had better luck this time than previous assessments, so I am feeling good, still a long way to go for arrays and hashes though!
-Thanks

5/5. good job.


what is this and will it be in English?

The title seems compelling but not compelling enough to teach myself Lithuanian yet...
I'm working on similar stuff (programming not books) so I'd be quite intersted to find out what this repository contains.

@eallik Sorry for late answer, currently quite busy working with 2 startups.
This is my Master's thesis. I have a plan to continue it from September.
Main idea:

Prooving that you can combine EventSourcing with FRP
FRP theory + CQRS + EventSourcing theory. (CQRS and EventSourcing was my Bachelor thesis, in which I contacted live with Greg Young and got personal session with him)
Using Functional Reactive Programming concepts and syntax while transparently saving events to some kind of storage (for example File System, MongoDB or any other).
Ability to reply those events through event streams.
Create DSL (thinking about ELM or Scala for example) enabling to:
a) Create event streams
b) Combine event streams
c) Filter event streams
with transparently saving those events as a history log.

If this is some kind of interest for you or some other people following this repository, I could actually translate whole thesis to english in a summer.
I wonder if there would be any contributor willing to read it and make contributions (Open Source Master Thesis).
I would be glad to hear is that some kind similar to what you are doing. Maybe you can link a repository I can look at. Any comments at this point is highly desirable.


Identify repo owner and move to InfluxCommunity org

The v1 client libraries for InfluxDB were typically developed and maintained by community members. They have all now been succeeded by v2 client libraries developed and maintained by InfluxData in partnership with Bonitoo.
If there are still users of this v1 client library, and they or somebody else are willing to keep them updated with security fixes at a minimum, this code should be moved to https://github.com/InfluxCommunity and control of it given to the new maintainers. Otherwise let's archive it in favor of the v2 client library.

@thecodeassassin @zorac are either of you interested in owning and maintaining this codebase?

This is being archived it in favor of the v2 client library. If there are still users of this v1 client library, and they or somebody else are willing to keep them updated with security fixes at a minimum please reach out on the Community Forums or InfluxData Slack.
cc @Anaisdg


Pin folder and pin file based git branch.

Type: Feature Request
When I have swithc my branch from branch AA to branch BB so any file in branch AA is doesn't have in branch BB.
-Any time I have working in branch AA on file templateA.html So I will pin it for to do. but when I have switch my branch to do in branch BB it still pin templateA.html, But templateA.html doesn't have in branch BB.
-branch AA I have pin templateA.html
-branch BB I have pin templateB.html
When I switch branch the pin will be fowlling that.
VS Code version: Code - Insiders 1.88.0-insider (7c284ae0c4922abf0ce6763b0d73da7012c5fa75, 2024-03-12T09:49:04.942Z)
OS version: Windows_NT x64 10.0.19045
Modes:

Duplicate of https://github.com/microsoft/vscode/issues/35307


click to escape drill-down slow

when you click on a stream to drill-down, and then click to go back, it is a bit slow. could it be improved by keeping the default state in memory and avoiding re-calculations?

I've noticed this as well. We can try doing more to optimize performance. Some ideas:

We are "simulating" the API using a Web Worker, but the overhead of this may be causing performance issues.
We could memoize or cache the query results for a given set of API query parameters, so we don't need to filter each time.
We can tweak the parameters for the max number of streams to show.


Adjust the degree of font clutter #2

In the former issue #43 ,I noticed that the site link was added the github prefix, causing the site unreachable. Here is the URL:  www.beautifulcarrot.com .
Then, "the degree of font clutter" is originally described by:
混乱程度
建议参数范围为：0 - 字号的三分之一，每一行文字的左右偏移以及上下起伏，请结合预览查看效果，确定需要的数值（细微调整时建议以加减3为单位）

行倾斜程度
参数范围：0 - 9，没有一个好的坐姿写字会怎么样，对的，就是这样（调整时建议以加减1为单位）

输入数值不建议太大，否则可能会写到桌上去

YouDao translation:
The degree of chaos
The suggested parameter range is: one third of the size of 0-type, left and right deviation and fluctuation of each line of text, please combine with the preview to see the effect, determine the required value (it is recommended to add or subtract 3 for minor adjustments).

Degree of line tilt
Range of parameters: 0-9, what if you don't have a good sitting position to write, right, that's it (the adjustment is suggested to be in units of plus or minus 1)

The input value is not recommended to be too large, otherwise it may be written to the table

Looking forward to your discussion!

Oh yes that would be great! not sure how we can implement this though. The font is imported as it is and there is not much we can change about it. I will keep this open if someone wants to contribute.


Update youtube-dl version

What version of youtube-dl is this gem using? Can this be upgraded to the latest version?

yeah dude there is a pr with updated sources... can you update this?


GetProfileForArgsWithCommandline unit test is failing

Windows Terminal version
Commit 10c963a7dbdd0d9e71dd0596e96fa26ab88a76f5
Windows build number
10.0.19041.1415
Other Software
No response
Steps to reproduce

Checkout the latest code.
Build.
Run the GetProfileForArgsWithCommandline unit test.

Expected Behavior
Test should pass.
Actual Behavior
Test fails with the following log:
StartGroup: SettingsModelLocalTests::TerminalSettingsTests::GetProfileForArgsWithCommandline
Verify: IsNotNull(profile)
Verify: AreEqual(expectedGUID, static_cast<const GUID&>(profile.Guid()))
Verify: IsNotNull(profile)
Error: Verify: AreEqual(expectedGUID, static_cast<const GUID&>(profile.Guid())) - Values ({6239A42C-1111-49A3-80BD-E8FDD045185C}, {6239A42C-0000-49A3-80BD-E8FDD045185C}) [File: C:\Users\James\CPP\terminal\src\cascadia\LocalTests_SettingsModel\TerminalSettingsTests.cpp, Function: SettingsModelLocalTests::TerminalSettingsTests::GetProfileForArgsWithCommandline, Line: 249]
EndGroup: SettingsModelLocalTests::TerminalSettingsTests::GetProfileForArgsWithCommandline [Failed]

I think this is a fairly recent break. I haven't done a bisect, but I'd guess it might have come from PR #12348, just based on the code involved.

@lhecker as an fyi

I forgot that we don't run these tests in our CI. Uh oh. 😟

I made a off-by-one error in #12348. 😞
The impact is: All command lines with exactly one additional argument (aka: argc == 2) are normalized to not having any arguments (argc == 1). The good news is that this happens to both profiles and handed off processes symmetrically so the impact is somewhat limited at least (unlike before #12348, where paths with spaces just didn't work at all).
I've got a fix ready, but I'm sad we just now re-released 1.12/1.13. I should look into how we can run those tests as part of our CI in the future, so that this can't happen anymore.

I should look into how we can run those tests as part of our CI in the future

We started looking into it: #10267
I'm not sure if the pool has updated the machines. IIRC the localtests needed a newer version of the OS than what the CI runs, but that was also two years ago now.

Gah, I tried in https://dev.azure.com/ms/terminal/_build/results?buildId=272194&view=logs&j=a9c0e965-911d-5d8d-6a81-36c112a94df3&t=9660b670-796f-5b84-9008-12dc9f750614.
StartGroup: SettingsModelLocalTests::TerminalSettingsTests::TestCommandlineToTitlePromotion
EndGroup: SettingsModelLocalTests::TerminalSettingsTests::TestCommandlineToTitlePromotion [Blocked]
TAEF: Deploying custom AppXManifest... Copying C:\a\_work\1\a\drop\Release\x64\test\TestHostAppXManifest.xml to C:\a\_work\1\a\drop\Release\x64\test\AppXManifest.xml
TAEF: Restoring cached AppXManifest... Copying C:\Users\CLOUDT~1\AppData\Local\Temp\Tfm-4160-0\AppXManifest.xml to C:\a\_work\1\a\drop\Release\x64\test\AppXManifest.xml
Error: TAEF: [HRESULT: 0x8000401A] Failed to create the test host process for out of process test execution. (Failed to enable debugging for 'WindowsTerminal.TestHost_<IP_ADDRESS>_x64__aq7gd5554gxm8'.)

Probably the same thing as always. I idly wonder if we can just ship the vclibs sxs in the test like we do for the actual package. #3838 was the thread I was using before, but Helix is probably an easier solution.


Justpay payment

Can anyone add justpay payment so that people in India can use cezerin. Pls :)

https://juspay.in

Or razorpay

Instead add paytm on this for India.

@restmount Can you please help us in integrating paytm?

@rahitel
I'm supporting the core and the basic features of Cezerin.
As a freelancer, I can develop any feature for the customer.

@lalitdashora razorpay okay, cuz i am working on integration of razorpay.

@rahitel i am implementing razorpay

@sonufrienko I'm looking for a freelance support for Payment Integration & few customizations.


asp.net core 2.0 + angular 4  + jwt authorization

Hi All
I can't find way how configure my application using bearer token authorization, I used this article as example https://wildermuth.com/2017/08/19/Two-AuthorizationSchemes-in-ASP-NET-Core-2
I'm implemented it successful   on the empty application. But after moving logic to my already created asp.net core 2 and anngular  4 using angular cli.
I'm got error like this '404 not found ' for more details  https://github.com/nbarbettini/SimpleTokenProvider/issues/7

But when I removed authorize attribute this route working.
Problem is I can't configure the server as I think, because I saw as token was passed to the server in the header.
my startup looks like this

You can't put authorize on the login endpoint, that's kind of defeating the purpose - it needs to allow anonymous access so you can actually login. You don't really say what the problem is though.

This example from article is worked for me, it seems I something was missed from article above, before crearted this issue.


Bug: Default Profiles

Had this pop up on the latest v2 alpha:
Error: Hearth/Teleport (200), condition, runtime
[string "for k,v in pairs(this.spells) do..."]:1: bad argument #1 to 'pairs' (table expected, got nil)

Thanks for the feedback. Is this reproducible or did it only occur once?
If reproducible, what is your init script for the Hearth/Teleport situation?


where is the backbone which is the ReAct network?

where is the backbone which is the ReAct network?

where is the backbone which is the ReAct network?

Hi! We use the pre-extracted feature in our experiment and we don't finetune the backbones in our code.


Incompatible between browser.tabs.query and browser.tabs.update

Hi!
I have this code:
import { browser } from 'webextension-polyfill-ts';

async function fn() {
    const tabs = await browser.tabs.query({});
    browser.tabs.update(tabs[0].id, {active: true});
}

And ts shows error on tabs[0].id:

TS2345: Argument of type 'number | undefined' is not assignable to parameter of type 'number'.   Type 'undefined' is not assignable to type 'number'.

is it intended or a bug?

Thanks for the report. It seems you've stumbled upon a bug on the generated files.
I'm just not sure if this affects only this method or possibly others as well.
According to this:
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/tabs/update
The first parameter, tabId, is supposed to be optional, so the code generator creates these method definitions (overloads):
update(tabId: number, updateProperties: UpdateUpdatePropertiesType): Promise<Tab>;
update(updateProperties: UpdateUpdatePropertiesType): Promise<Tab>;

This is because optional parameters according to my knowledge can be left out, i.e.:
browser.tabs.update({...});
browser.tabs.update(1, {...});

But after trying this in the debugger, it would seem 3 calling types are possible:
browser.tabs.update({...});
browser.tabs.update(undefined, {...}); // same as the above
browser.tabs.update(1, {...});

Now I need to figure out if this is supposed to be for every optional parameter or just for some. Once I figured that out, I will supply a fix.

It is worth mentioning, however, that passing undefined as first parameter to tabs.update results in the active tab being modified, which might not be what you intended. In some cases you might want to check if tab.id is not undefined before calling tabs.update.
That being said, I'm not sure in which cases tab.id is undefined.

Well chrome at least talks about one case, where tab.id is undefined: when using the sessions API (i.e. already closed tabs)

@Lusito thanks for your research!

@vitalets I've released a new version, which fixes the issue.

@vitalets I've released a new version, which fixes the issue.

Thanks a lot! Could you share some details how you fix it?

Awesome! 👍


Getting error while running

python libri_labels.py /home/mrityunjoy/audio_file/ --output-dir /home/mrityunjoy/audio_file/wav2vec/ --output-name split
File "libri_labels.py", line 37
trans_path = f"{parts[-2]}-{parts[-1]}.trans.txt"
^
SyntaxError: invalid syntax
While running the above command getting below error, please help

That line uses the f-string syntax introduced in Python 3.6, so you'll likely need to upgrade your Python installation.


Mailchimp - Custom merge fields

Description of the change
Added custom user traits
Type of change

[ ] Bug fix (non-breaking change that fixes an issue)
[ ] New feature (non-breaking change that adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Related issues

Fix #1

Checklists
Development

[ ] Lint rules pass locally
[ ] The code changed/added as part of this pull request has been covered with tests
[ ] All tests related to the changed code pass in development

Code review

[ ]  This pull request has a descriptive title and information useful to a reviewer. There may be a screenshot or screencast attached
[ ] "Ready for review" label attached to the PR and reviewers mentioned in a comment
[ ] Changes have been reviewed by at least one other engineer
[ ] Issue from task tracker has a link to this pull request

Closing this PR and opening a new one to resolve conflicts


Added more unit tests to db/test_datastore

Re-request, increased test coverage of datastore.py

Needs re-basing


Invalid proposals

Do not merge this PR

@ChaituVR i made a review can you have a look?

@bonustrack  added these changes and it is much faster now :)

@ChaituVR You should run the getScore function only once per space, not once for every proposals, it will make it really much faster.

@bonustrack Updated this branch with those new changes also changed to calculate the score of all proposals in a space at once, please review that

Can you also put as invalids the proposals from spaces.invalids array?

@bonustrack  added

Just run the script, all good well done! Closing the PR now.


2995 remove direction from voluntary questions

What is the context of this PR?
Removing 'Select one option only' from voluntary questions due to accessibility problems.
How to review
Check that the 'Select one option only' labels have been removed from the schema for the questions listed on the Trello card:
Trello

You'll need to squash these commits before this can go in @berroar
If you're not familiar with the process, you can do git rebase -i origin/v3 and then change the picks to squashs as per https://www.devroom.io/2011/07/05/git-squash-your-latests-commits-into-one/
You'll then need to git push -f


[Rebranch][Tests] Fix IRGen tests for new LLVM version

rdar://132124067
LLVM code gen has changed, so we need to adjust the expected output in our tests accordingly

@swift-ci test


add shyft mainnet transaction service URL

It seems this is hardcoded.
Some of our users are asking for safe-cli access.

This PR is breaking the transaction service API for safe.global, as you can see we are just supporting for now  safe.global transaction services.
Closing this issue because this change is not planned.


[Bug] Fails Setup.  AsusRouter Integration Fails Setup (HA Core 2024.2.3 Supervised on Pi4)

The problem
Fails setup.  I posted a note on the HA Blog at:
https://community.home-assistant.io/t/asusrouter-integration-fails-setup-ha-core-2024-2-3-supervised-on-pi4/695537
I just noticed that firmware I have is latest Merlin 388.6  while the most recent confirmed for this integration is 388.4
Your device model
RT-AX88U
Firmware type
Merlin
Firmware version
<IP_ADDRESS>.388.6
Integration version with the issue
I installed Feb 24, do not see version #
Method of the integration installation
HACS
What version and type of Home Assistant installation do you use
Core 2024.2.3
Is there anything useful in the logs?
See log posted in HA Forum link above

Diagnostics information
No response
Additional information
No response

Hello,
From the logs, it looks like there is an issue reading VPNC data from your device
Do you have any VPN server (WireGuard / OpenVPN) set up on your device?

No VPN Server No Wireguard.  Some months ago I set up ovpn clients (for pia and unlocator) on the router to serve some local devices. Then I found it easier to use apps on the devices directly and stopped using vpn on the router.   Clients 1 and 3 on the router remain configured but not used.  I could delete these and see if the problem goes away or leave them if you want more debug info.  Wes

I will check this. For now, there is no need to change anything on your side

The release is already available in HACS. In case if the issue persists, please, reopen this issue


Follow TDlib build instruction command can't build success TDlib in macOS

I chose Javascript to use TDLib. The operating system is macOS.
I use zsh terminal.

macOS version: 10.15.4 (19E287) Catalina

When I use sudo run command rebuild again
Happen below error.🤦♀

build git:(278c7acd) sudo cmake -DCMAKE_BUILD_TYPE=Release -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl/ -DCMAKE_INSTALL_PREFIX:PATH=../tdlib ..
Password:
-- The CXX compiler identification is AppleClang <IP_ADDRESS>00033
-- The C compiler identification is AppleClang <IP_ADDRESS>00033
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Could NOT find ccache (this is NOT an error)
-- Found OpenSSL: /usr/local/opt/openssl/lib/libcrypto.dylib (found version "1.1.1d")
-- Found OpenSSL: /usr/local/opt/openssl/include /usr/local/opt/openssl/lib/libssl.dylib;/usr/local/opt/openssl/lib/libcrypto.dylib
-- Performing Test HAVE_STD14
-- Performing Test HAVE_STD14 - Success
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Performing Test HAVE_CXX_FLAG_WALL
-- Performing Test HAVE_CXX_FLAG_WALL - Success
-- Performing Test HAVE_CXX_FLAG_WEXTRA
-- Performing Test HAVE_CXX_FLAG_WEXTRA - Success
-- Performing Test HAVE_CXX_FLAG_WIMPLICIT_FALLTHROUGH_2
-- Performing Test HAVE_CXX_FLAG_WIMPLICIT_FALLTHROUGH_2 - Failed
-- Performing Test HAVE_CXX_FLAG_WPOINTER_ARITH
-- Performing Test HAVE_CXX_FLAG_WPOINTER_ARITH - Success
-- Performing Test HAVE_CXX_FLAG_WCAST_QUAL
-- Performing Test HAVE_CXX_FLAG_WCAST_QUAL - Success
-- Performing Test HAVE_CXX_FLAG_WSIGN_COMPARE
-- Performing Test HAVE_CXX_FLAG_WSIGN_COMPARE - Success
-- Performing Test HAVE_CXX_FLAG_WDUPLICATED_BRANCHES
-- Performing Test HAVE_CXX_FLAG_WDUPLICATED_BRANCHES - Failed
-- Performing Test HAVE_CXX_FLAG_WDUPLICATED_COND
-- Performing Test HAVE_CXX_FLAG_WDUPLICATED_COND - Failed
-- Performing Test HAVE_CXX_FLAG_WALLOC_ZERO
-- Performing Test HAVE_CXX_FLAG_WALLOC_ZERO - Failed
-- Performing Test HAVE_CXX_FLAG_WLOGICAL_OP
-- Performing Test HAVE_CXX_FLAG_WLOGICAL_OP - Failed
-- Performing Test HAVE_CXX_FLAG_WTAUTOLOGICAL_COMPARE
-- Performing Test HAVE_CXX_FLAG_WTAUTOLOGICAL_COMPARE - Success
-- Performing Test HAVE_CXX_FLAG_WVLA
-- Performing Test HAVE_CXX_FLAG_WVLA - Success
-- Performing Test HAVE_CXX_FLAG_WNON_VIRTUAL_DTOR
-- Performing Test HAVE_CXX_FLAG_WNON_VIRTUAL_DTOR - Success
-- Performing Test HAVE_CXX_FLAG_WUNUSED_PARAMETER
-- Performing Test HAVE_CXX_FLAG_WUNUSED_PARAMETER - Success
-- Performing Test HAVE_CXX_FLAG_WCONVERSION
-- Performing Test HAVE_CXX_FLAG_WCONVERSION - Success
-- Performing Test HAVE_CXX_FLAG_WSIGN_CONVERSION
-- Performing Test HAVE_CXX_FLAG_WSIGN_CONVERSION - Success
-- Performing Test HAVE_CXX_FLAG_WCXX14_COMPAT_PEDANTIC
-- Performing Test HAVE_CXX_FLAG_WCXX14_COMPAT_PEDANTIC - Success
-- Performing Test HAVE_CXX_FLAG_WDEPRECATED
-- Performing Test HAVE_CXX_FLAG_WDEPRECATED - Success
-- Performing Test HAVE_CXX_FLAG_QUNUSED_ARGUMENTS
-- Performing Test HAVE_CXX_FLAG_QUNUSED_ARGUMENTS - Success
-- Performing Test HAVE_CXX_FLAG_WODR
-- Performing Test HAVE_CXX_FLAG_WODR - Success
-- Performing Test HAVE_CXX_FLAG_FLTO_ODR_TYPE_MERGING
-- Performing Test HAVE_CXX_FLAG_FLTO_ODR_TYPE_MERGING - Failed
-- Found ZLIB: /usr/lib/libz.dylib (found version "1.2.11")
-- Found ZLIB: /usr/local/include /usr/lib/libz.dylib
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
-- Performing Test GNU_READLINE_FOUND
-- Performing Test GNU_READLINE_FOUND - Success
-- Found Readline: /usr/local/opt/readline/include
-- Found Readline: /usr/local/opt/readline/include /usr/local/opt/readline/lib/libreadline.dylib
-- Performing Test USABLE_READLINE_FOUND
-- Performing Test USABLE_READLINE_FOUND - Success
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/domingo/td/build
➜  build git:(278c7acd) sudo cmake --build . --target install
Scanning dependencies of target generate_mime_types_gperf
[  0%] Building CXX object tdutils/generate/CMakeFiles/generate_mime_types_gperf.dir/generate_mime_types_gperf.cpp.o
[  0%] Linking CXX executable generate_mime_types_gperf
[  0%] Built target generate_mime_types_gperf
Scanning dependencies of target tdmime_auto
[  0%] Generating ../../../tdutils/generate/auto/mime_type_to_extension.gperf, ../../../tdutils/generate/auto/extension_to_mime_type.gperf
Extension "wmz" matches more than one type
Extension "sub" matches more than one type
[  1%] Generating ../../../tdutils/generate/auto/mime_type_to_extension.cpp
[  1%] Generating ../../../tdutils/generate/auto/extension_to_mime_type.cpp
[  1%] Built target tdmime_auto
Scanning dependencies of target tdutils
[  1%] Building CXX object tdutils/CMakeFiles/tdutils.dir/td/utils/port/Clocks.cpp.o
[  1%] Building CXX object tdutils/CMakeFiles/tdutils.dir/td/utils/port/FileFd.cpp.o
In file included from /Users/domingo/td/tdutils/td/utils/port/FileFd.cpp:24:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/unordered_set:363:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/__hash_table:19:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:318:9: error:
no member named 'signbit' in the global namespace
using ::signbit;
~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:319:9: error:
no member named 'fpclassify' in the global namespace
using ::fpclassify;
~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:320:9: error:
no member named 'isfinite' in the global namespace; did you mean 'finite'?
using ::isfinite;
~~^
/usr/local/include/math.h:749:12: note: 'finite' declared here
extern int finite(double)
^
In file included from /Users/domingo/td/tdutils/td/utils/port/FileFd.cpp:24:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/unordered_set:363:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/__hash_table:19:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:321:9: error:
no member named 'isinf' in the global namespace
using ::isinf;
~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:322:9: error:
no member named 'isnan' in the global namespace
using ::isnan;
~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:323:9: error:
no member named 'isnormal' in the global namespace
using ::isnormal;
~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:324:7: error:
no member named 'isgreater' in the global namespace; did you mean
'::std::greater'?
using ::isgreater;
^~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/functional:728:29: note:
'::std::greater' declared here
struct _LIBCPP_TEMPLATE_VIS greater : binary_function<_Tp, _Tp, bool>
^
In file included from /Users/domingo/td/tdutils/td/utils/port/FileFd.cpp:24:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/unordered_set:363:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/__hash_table:19:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:325:7: error:
no member named 'isgreaterequal' in the global namespace; did you mean
'::std::greater_equal'?
using ::isgreaterequal;
^~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/functional:757:29: note:
'::std::greater_equal' declared here
struct _LIBCPP_TEMPLATE_VIS greater_equal : binary_function<_Tp, _Tp, bool>
^
In file included from /Users/domingo/td/tdutils/td/utils/port/FileFd.cpp:24:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/unordered_set:363:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/__hash_table:19:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:326:9: error:
no member named 'isless' in the global namespace
using ::isless;
~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:327:9: error:
no member named 'islessequal' in the global namespace
using ::islessequal;
~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:328:9: error:
no member named 'islessgreater' in the global namespace
using ::islessgreater;
~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:329:9: error:
no member named 'isunordered' in the global namespace
using ::isunordered;
~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:330:9: error:
no member named 'isunordered' in the global namespace
using ::isunordered;
~~^
13 errors generated.
make[2]: *** [tdutils/CMakeFiles/tdutils.dir/td/utils/port/FileFd.cpp.o] Error 1
make[1]: *** [tdutils/CMakeFiles/tdutils.dir/all] Error 2
make: *** [all] Error 2

I don't know how to solve it. please help me. thanks

Upload more than build information

➜  build git:(278c7acd) cmake -DCMAKE_BUILD_TYPE=Release -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl/ -DCMAKE_INSTALL_PREFIX:PATH=../tdlib ..
-- The CXX compiler identification is AppleClang <IP_ADDRESS>00033
-- The C compiler identification is AppleClang <IP_ADDRESS>00033
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Could NOT find ccache (this is NOT an error)
-- Found OpenSSL: /usr/local/opt/openssl/lib/libcrypto.dylib (found version "1.1.1d")
-- Found OpenSSL: /usr/local/opt/openssl/include /usr/local/opt/openssl/lib/libssl.dylib;/usr/local/opt/openssl/lib/libcrypto.dylib
-- Performing Test HAVE_STD14
-- Performing Test HAVE_STD14 - Success
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Performing Test HAVE_CXX_FLAG_WALL
-- Performing Test HAVE_CXX_FLAG_WALL - Success
-- Performing Test HAVE_CXX_FLAG_WEXTRA
-- Performing Test HAVE_CXX_FLAG_WEXTRA - Success
-- Performing Test HAVE_CXX_FLAG_WIMPLICIT_FALLTHROUGH_2
-- Performing Test HAVE_CXX_FLAG_WIMPLICIT_FALLTHROUGH_2 - Failed
-- Performing Test HAVE_CXX_FLAG_WPOINTER_ARITH
-- Performing Test HAVE_CXX_FLAG_WPOINTER_ARITH - Success
-- Performing Test HAVE_CXX_FLAG_WCAST_QUAL
-- Performing Test HAVE_CXX_FLAG_WCAST_QUAL - Success
-- Performing Test HAVE_CXX_FLAG_WSIGN_COMPARE
-- Performing Test HAVE_CXX_FLAG_WSIGN_COMPARE - Success
-- Performing Test HAVE_CXX_FLAG_WDUPLICATED_BRANCHES
-- Performing Test HAVE_CXX_FLAG_WDUPLICATED_BRANCHES - Failed
-- Performing Test HAVE_CXX_FLAG_WDUPLICATED_COND
-- Performing Test HAVE_CXX_FLAG_WDUPLICATED_COND - Failed
-- Performing Test HAVE_CXX_FLAG_WALLOC_ZERO
-- Performing Test HAVE_CXX_FLAG_WALLOC_ZERO - Failed
-- Performing Test HAVE_CXX_FLAG_WLOGICAL_OP
-- Performing Test HAVE_CXX_FLAG_WLOGICAL_OP - Failed
-- Performing Test HAVE_CXX_FLAG_WTAUTOLOGICAL_COMPARE
-- Performing Test HAVE_CXX_FLAG_WTAUTOLOGICAL_COMPARE - Success
-- Performing Test HAVE_CXX_FLAG_WVLA
-- Performing Test HAVE_CXX_FLAG_WVLA - Success
-- Performing Test HAVE_CXX_FLAG_WNON_VIRTUAL_DTOR
-- Performing Test HAVE_CXX_FLAG_WNON_VIRTUAL_DTOR - Success
-- Performing Test HAVE_CXX_FLAG_WUNUSED_PARAMETER
-- Performing Test HAVE_CXX_FLAG_WUNUSED_PARAMETER - Success
-- Performing Test HAVE_CXX_FLAG_WCONVERSION
-- Performing Test HAVE_CXX_FLAG_WCONVERSION - Success
-- Performing Test HAVE_CXX_FLAG_WSIGN_CONVERSION
-- Performing Test HAVE_CXX_FLAG_WSIGN_CONVERSION - Success
-- Performing Test HAVE_CXX_FLAG_WCXX14_COMPAT_PEDANTIC
-- Performing Test HAVE_CXX_FLAG_WCXX14_COMPAT_PEDANTIC - Success
-- Performing Test HAVE_CXX_FLAG_WDEPRECATED
-- Performing Test HAVE_CXX_FLAG_WDEPRECATED - Success
-- Performing Test HAVE_CXX_FLAG_QUNUSED_ARGUMENTS
-- Performing Test HAVE_CXX_FLAG_QUNUSED_ARGUMENTS - Success
-- Performing Test HAVE_CXX_FLAG_WODR
-- Performing Test HAVE_CXX_FLAG_WODR - Success
-- Performing Test HAVE_CXX_FLAG_FLTO_ODR_TYPE_MERGING
-- Performing Test HAVE_CXX_FLAG_FLTO_ODR_TYPE_MERGING - Failed
-- Found ZLIB: /usr/lib/libz.dylib (found version "1.2.11")
-- Found ZLIB: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include /usr/lib/libz.dylib
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
-- Performing Test GNU_READLINE_FOUND
-- Performing Test GNU_READLINE_FOUND - Success
-- Found Readline: /usr/local/opt/readline/include
-- Found Readline: /usr/local/opt/readline/include /usr/local/opt/readline/lib/libreadline.dylib
-- Performing Test USABLE_READLINE_FOUND
-- Performing Test USABLE_READLINE_FOUND - Success
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/domingo/td/build
➜  build git:(278c7acd) cmake --build . --target install
Scanning dependencies of target generate_mime_types_gperf
[  0%] Building CXX object tdutils/generate/CMakeFiles/generate_mime_types_gperf.dir/generate_mime_types_gperf.cpp.o
[  0%] Linking CXX executable generate_mime_types_gperf
[  0%] Built target generate_mime_types_gperf
Scanning dependencies of target tdmime_auto
[  0%] Generating ../../../tdutils/generate/auto/mime_type_to_extension.gperf, ../../../tdutils/generate/auto/extension_to_mime_type.gperf
dyld: attempt to run simulator program outside simulator (DYLD_ROOT_PATH not set)
/bin/sh: line 1: 29931 Abort trap: 6           /Users/domingo/td/build/tdutils/generate/generate_mime_types_gperf mime_types.txt /Users/domingo/td/tdutils/generate/auto/mime_type_to_extension.gperf /Users/domingo/td/tdutils/generate/auto/extension_to_mime_type.gperf
make[2]: *** [../tdutils/generate/auto/mime_type_to_extension.gperf] Error 134
make[1]: *** [tdutils/generate/CMakeFiles/tdmime_auto.dir/all] Error 2
make: *** [all] Error 2

When I use sudo run command rebuild again
Happen below error.🤦♀

build git:(278c7acd) sudo cmake -DCMAKE_BUILD_TYPE=Release -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl/ -DCMAKE_INSTALL_PREFIX:PATH=../tdlib ..

Password:
-- The CXX compiler identification is AppleClang <IP_ADDRESS>00033
-- The C compiler identification is AppleClang <IP_ADDRESS>00033
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Could NOT find ccache (this is NOT an error)
-- Found OpenSSL: /usr/local/opt/openssl/lib/libcrypto.dylib (found version "1.1.1d")
-- Found OpenSSL: /usr/local/opt/openssl/include /usr/local/opt/openssl/lib/libssl.dylib;/usr/local/opt/openssl/lib/libcrypto.dylib
-- Performing Test HAVE_STD14
-- Performing Test HAVE_STD14 - Success
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Performing Test HAVE_CXX_FLAG_WALL
-- Performing Test HAVE_CXX_FLAG_WALL - Success
-- Performing Test HAVE_CXX_FLAG_WEXTRA
-- Performing Test HAVE_CXX_FLAG_WEXTRA - Success
-- Performing Test HAVE_CXX_FLAG_WIMPLICIT_FALLTHROUGH_2
-- Performing Test HAVE_CXX_FLAG_WIMPLICIT_FALLTHROUGH_2 - Failed
-- Performing Test HAVE_CXX_FLAG_WPOINTER_ARITH
-- Performing Test HAVE_CXX_FLAG_WPOINTER_ARITH - Success
-- Performing Test HAVE_CXX_FLAG_WCAST_QUAL
-- Performing Test HAVE_CXX_FLAG_WCAST_QUAL - Success
-- Performing Test HAVE_CXX_FLAG_WSIGN_COMPARE
-- Performing Test HAVE_CXX_FLAG_WSIGN_COMPARE - Success
-- Performing Test HAVE_CXX_FLAG_WDUPLICATED_BRANCHES
-- Performing Test HAVE_CXX_FLAG_WDUPLICATED_BRANCHES - Failed
-- Performing Test HAVE_CXX_FLAG_WDUPLICATED_COND
-- Performing Test HAVE_CXX_FLAG_WDUPLICATED_COND - Failed
-- Performing Test HAVE_CXX_FLAG_WALLOC_ZERO
-- Performing Test HAVE_CXX_FLAG_WALLOC_ZERO - Failed
-- Performing Test HAVE_CXX_FLAG_WLOGICAL_OP
-- Performing Test HAVE_CXX_FLAG_WLOGICAL_OP - Failed
-- Performing Test HAVE_CXX_FLAG_WTAUTOLOGICAL_COMPARE
-- Performing Test HAVE_CXX_FLAG_WTAUTOLOGICAL_COMPARE - Success
-- Performing Test HAVE_CXX_FLAG_WVLA
-- Performing Test HAVE_CXX_FLAG_WVLA - Success
-- Performing Test HAVE_CXX_FLAG_WNON_VIRTUAL_DTOR
-- Performing Test HAVE_CXX_FLAG_WNON_VIRTUAL_DTOR - Success
-- Performing Test HAVE_CXX_FLAG_WUNUSED_PARAMETER
-- Performing Test HAVE_CXX_FLAG_WUNUSED_PARAMETER - Success
-- Performing Test HAVE_CXX_FLAG_WCONVERSION
-- Performing Test HAVE_CXX_FLAG_WCONVERSION - Success
-- Performing Test HAVE_CXX_FLAG_WSIGN_CONVERSION
-- Performing Test HAVE_CXX_FLAG_WSIGN_CONVERSION - Success
-- Performing Test HAVE_CXX_FLAG_WCXX14_COMPAT_PEDANTIC
-- Performing Test HAVE_CXX_FLAG_WCXX14_COMPAT_PEDANTIC - Success
-- Performing Test HAVE_CXX_FLAG_WDEPRECATED
-- Performing Test HAVE_CXX_FLAG_WDEPRECATED - Success
-- Performing Test HAVE_CXX_FLAG_QUNUSED_ARGUMENTS
-- Performing Test HAVE_CXX_FLAG_QUNUSED_ARGUMENTS - Success
-- Performing Test HAVE_CXX_FLAG_WODR
-- Performing Test HAVE_CXX_FLAG_WODR - Success
-- Performing Test HAVE_CXX_FLAG_FLTO_ODR_TYPE_MERGING
-- Performing Test HAVE_CXX_FLAG_FLTO_ODR_TYPE_MERGING - Failed
-- Found ZLIB: /usr/lib/libz.dylib (found version "1.2.11")
-- Found ZLIB: /usr/local/include /usr/lib/libz.dylib
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
-- Performing Test GNU_READLINE_FOUND
-- Performing Test GNU_READLINE_FOUND - Success
-- Found Readline: /usr/local/opt/readline/include
-- Found Readline: /usr/local/opt/readline/include /usr/local/opt/readline/lib/libreadline.dylib
-- Performing Test USABLE_READLINE_FOUND
-- Performing Test USABLE_READLINE_FOUND - Success
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/domingo/td/build
➜  build git:(278c7acd) sudo cmake --build . --target install
Scanning dependencies of target generate_mime_types_gperf
[  0%] Building CXX object tdutils/generate/CMakeFiles/generate_mime_types_gperf.dir/generate_mime_types_gperf.cpp.o
[  0%] Linking CXX executable generate_mime_types_gperf
[  0%] Built target generate_mime_types_gperf
Scanning dependencies of target tdmime_auto
[  0%] Generating ../../../tdutils/generate/auto/mime_type_to_extension.gperf, ../../../tdutils/generate/auto/extension_to_mime_type.gperf
Extension "wmz" matches more than one type
Extension "sub" matches more than one type
[  1%] Generating ../../../tdutils/generate/auto/mime_type_to_extension.cpp
[  1%] Generating ../../../tdutils/generate/auto/extension_to_mime_type.cpp
[  1%] Built target tdmime_auto
Scanning dependencies of target tdutils
[  1%] Building CXX object tdutils/CMakeFiles/tdutils.dir/td/utils/port/Clocks.cpp.o
[  1%] Building CXX object tdutils/CMakeFiles/tdutils.dir/td/utils/port/FileFd.cpp.o
In file included from /Users/domingo/td/tdutils/td/utils/port/FileFd.cpp:24:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/unordered_set:363:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/__hash_table:19:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:318:9: error:
no member named 'signbit' in the global namespace
using ::signbit;
~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:319:9: error:
no member named 'fpclassify' in the global namespace
using ::fpclassify;
~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:320:9: error:
no member named 'isfinite' in the global namespace; did you mean 'finite'?
using ::isfinite;
~~^
/usr/local/include/math.h:749:12: note: 'finite' declared here
extern int finite(double)
^
In file included from /Users/domingo/td/tdutils/td/utils/port/FileFd.cpp:24:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/unordered_set:363:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/__hash_table:19:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:321:9: error:
no member named 'isinf' in the global namespace
using ::isinf;
~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:322:9: error:
no member named 'isnan' in the global namespace
using ::isnan;
~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:323:9: error:
no member named 'isnormal' in the global namespace
using ::isnormal;
~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:324:7: error:
no member named 'isgreater' in the global namespace; did you mean
'::std::greater'?
using ::isgreater;
^~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/functional:728:29: note:
'::std::greater' declared here
struct _LIBCPP_TEMPLATE_VIS greater : binary_function<_Tp, _Tp, bool>
^
In file included from /Users/domingo/td/tdutils/td/utils/port/FileFd.cpp:24:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/unordered_set:363:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/__hash_table:19:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:325:7: error:
no member named 'isgreaterequal' in the global namespace; did you mean
'::std::greater_equal'?
using ::isgreaterequal;
^~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/functional:757:29: note:
'::std::greater_equal' declared here
struct _LIBCPP_TEMPLATE_VIS greater_equal : binary_function<_Tp, _Tp, bool>
^
In file included from /Users/domingo/td/tdutils/td/utils/port/FileFd.cpp:24:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/unordered_set:363:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/__hash_table:19:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:326:9: error:
no member named 'isless' in the global namespace
using ::isless;
~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:327:9: error:
no member named 'islessequal' in the global namespace
using ::islessequal;
~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:328:9: error:
no member named 'islessgreater' in the global namespace
using ::islessgreater;
~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:329:9: error:
no member named 'isunordered' in the global namespace
using ::isunordered;
~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:330:9: error:
no member named 'isunordered' in the global namespace
using ::isunordered;
~~^
13 errors generated.
make[2]: *** [tdutils/CMakeFiles/tdutils.dir/td/utils/port/FileFd.cpp.o] Error 1
make[1]: *** [tdutils/CMakeFiles/tdutils.dir/all] Error 2
make: *** [all] Error 2

See https://stackoverflow.com/questions/58628377/catalina-c-using-cmath-headers-yield-error-no-member-named-signbit-in-th.

See https://stackoverflow.com/questions/58628377/catalina-c-using-cmath-headers-yield-error-no-member-named-signbit-in-th.

I try to use it. but it can't solve compiler problems
finally, I found it
it can solve my problems


Feature: Add English version

modified:   docs/.vuepress/config.js
new file:   docs/en/AI.md
new file:   docs/en/HPC.md
new file:   docs/en/README.md
new file:   docs/en/about.md
new file:   docs/en/algorithm.md
new file:   docs/en/getting-started.md
new file:   docs/en/introduction.md
new file:   docs/en/linux.md
new file:   docs/en/network-security.md
new file:   docs/en/recruitment.md
new file:   docs/en/self-taught-guide.md

写了英文文档的一页
原因: why not (+ 练练 English writing)
这是我的 GitHub 小号, 因为是 privacy nerd 所以不太想在这里用大号


Change the include directories for linked components to use SYSTEM includes rather than normal ones. (IDFGH-14015)

Is your feature request related to a problem?
When using a language server such as clangd, the language server adds inline warning/error diagnostics to the code in your editor.
These language servers usually parse your compile_commands.json to figure out which files belong to your projects and which compiler flags you've used.
If a macro is imported by a header that is not included using -isystem rather than -I warnings stemming from the expanded macro will be shown in the file where the macro is used.
An example is that when you use clang-tidy, all ESP_LOG* macros will be highlighted with a warning for clang-tidy's avoid-do-while rule:

As an example, I want the rule enabled because our internal code standards require it, but I don't have to change vendor code so the warning is just useless/added noise.
Describe the solution you'd like.
I would appreciate it if esp-components (such as esp_log) would export their include directories as SYSTEM so that I don't get warnings from code I can't change in my own code.
Describe alternatives you've considered.
I've attempted to use CMake scripting to edit all include directories on the main target that starts with /opt/esp (my installation directory) so that they are removed from my target and re-added as a system include but couldn't get it to work.
Additional context.
No response

@BIGduzy As an alternative solution, could you try excluding IDF root directory from analysis in clang-tidy?

If a macro is imported by a header that is not included using -isystem rather than -I warnings stemming from the expanded macro will be shown in the file where the macro is used.

I'm afraid that in some cases this can mask genuine errors.
Even in your case, technically you do get these do/while loops injected into your application code via macros, so the warning is probably justified? If your coding standard doesn't allow do/while loops you probably should create a wrapper function and call it instead of the macros IDF provides, then disable this check just for the file which defines the wrapper function.

Thank you for your reply @igrr. It seems we require a new clang version to exclude directories from clang-tidy. Which for now is not prioritized.
Wrapper functions would be a better solution perhaps, but it would require us to refactor the code we already have. For now I'll close the issue.
Thank you.


Implementing AddFriends / RemoveFriends Service

Description
Currently, the implementation of the Spotify API call is pending. However, this should not hinder progress on the parallel task of incorporating features for adding and removing friends from a user's profile. The existing code base is robust enough to accommodate these additions.
Work delegation
Utku and Ibrahim will collaborate on addressing this issue.
An example of this use-case

Let's consider a user, Ben, who wishes to connect with his friend, Chris, on the platform. By searching for Chris using his username, Ben can click on "add friend," subsequently appearing under Chris’s "my friends" view, along with all of Ben's playlists.
Should Ben decide to discontinue his friendship with Chris on the app, he can simply remove him from his friendship list.

TO-DO
[ ] Implement the AddFriend and RemoveFriend services (emphasis on the underlying implementation).
[ ] Develop test cases for these two services to ensure robust functionality.
[ ] Adhere strictly to the principles of Clean Architecture and SOLID design.
[ ] Explore the application of Design Patterns where feasible to enhance the overall structure and maintainability of the codebase.

These use-cases are now on the product line!


cargo-insta: 1.26.0 -> 1.28.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/cargo-insta/versions.
meta.description for cargo-insta is: A Cargo subcommand for snapshot testing
meta.homepage for cargo-insta is: https://github.com/mitsuhiko/insta
Updates performed

Rust version update

To inspect upstream changes

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.28.0 with grep in /nix/store/kbr0vy1vfd8wy9w4rjn8qvak2bayapdg-cargo-insta-1.28.0
found 1.28.0 in filename of file in /nix/store/kbr0vy1vfd8wy9w4rjn8qvak2bayapdg-cargo-insta-1.28.0

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
cargo-insta

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/kbr0vy1vfd8wy9w4rjn8qvak2bayapdg-cargo-insta-1.28.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A cargo-insta https://github.com/r-ryantm/nixpkgs/archive/14891ec0d92213e8873a5676d31db1bf78a0be14.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/kbr0vy1vfd8wy9w4rjn8qvak2bayapdg-cargo-insta-1.28.0
ls -la /nix/store/kbr0vy1vfd8wy9w4rjn8qvak2bayapdg-cargo-insta-1.28.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

cargo-insta

Maintainer pings
cc @oxalica for testing.

Result of nixpkgs-review pr 219128 run on x86_64-linux 1

1 package failed to build:

cargo-insta

Result of nixpkgs-review pr 219128 run on x86_64-linux 1

1 package built:

cargo-insta


Now allowing scaling the master nodes in a cluster to 0 or 1.

Primary use would be to scale from 1 to 0, then back to 1
to pick up a config change.

I've run the tests locally, and they work nicely.  The ci fail should be fixed when PR #64 is finished.


storageclusterpeers: fix the peering

since we always set the state to failed, from the server it never returns a valid response, because in server we return a valid response only if the peer on side is in Pending or Peered State.
To address this, removed the failed state when we need to requeue

/lgtm


nixos/github-runner: systemd service hardening

Motivation for this change
I usually add this to my github-runners for additional hardening; it probably makes sense for majority of users.
Relevant systemd docs:

ProtectProc
ProcSubset
SystemCallFilter
SystemCallArchitectures
RestrictAddressFamilies

Things done

Tested on x86_64-linux and aarch64-linux.

Built on platform(s)

[x] x86_64-linux
[x] aarch64-linux
N/A x86_64-darwin
N/A aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[x] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[x] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Rebased to resolve conflicts.

Has this been tested in combination with docker?

@aanderse do you have a specific docker container you would like me to test?  Are there any specific concerns when it comes to docker?  I do not see any reason why this would not just work.

@newAM no sorry if I wasn't clear enough. I just wanted to validate that a basic docker test was completed. A non insignificant number of PRs that add hardening break stuff so I just wanted to make sure you tested that 🤷♂

Just to clarify - do you mean:

running the github actions runner inside of docker using systemd and this module
running the github actions runner on NixOS and running a CI job with docker

number 2

:sweat_smile: that makes a lot more sense, thanks for clearing that up!
I ran a job and it downloaded the docker image and executed it as expected.  I had to add this to my nix config, but this was also needed before my changes.
{
    systemd.services.github-runner.serviceConfig.SupplementaryGroups = [ "docker" ];
}

@newAM previously I asked

Has this been tested in combination with docker?

Now I'm going to ask: Has this been testing without docker... like on a project that just has a simple Makefile?
I upgraded last night and my CI won't run without this added to my configuration:
  # required
  systemd.services.github-runner.serviceConfig.SystemCallFilter = lib.mkForce [ ];

  # complains heavily without this
  systemd.services.github-runner.serviceConfig.ProcSubset = lib.mkForce "all";

My CI runs a standard Makefile and is failing as early as some pre-commit hooks that are integrated with nix.

Unfortunately not an open source project, company CI server...