shared: Fix typeahead.js.flow to add Emoji['reaction_type'].

The emoji matcher uses this property in is_unicode_emoji.
It doesn't quite make sense to be talking about "reaction types" here -- we might use this for a message-reactions UI, but we might just as reasonably use it for emoji UI in message composing. Ah,
well: I guess that's just a bit of messiness that we can deal with.
Screenshots and screen captures:
Self-review checklist

[x] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[ ] Explains differences from previous plans (e.g., issue description).
[ ] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[x] Each commit is a coherent idea.
[x] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[ ] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[ ] Corner cases, error conditions, and easily imagined bugs.

Thanks! Looks good; merged.


how to calculate Trueskill socre ? thanks

I'm confused as to how Trueskill is calculated.   How does votes.tsv get to qscores.tsv? Using the category safety as an example, where images are compared two by two, are those hundreds of thousands of images equivalent to hundreds of thousands of players? I'm confused, how does votes.tsv set the mean variance and update the scores after comparison? Read the synopsis of trueskill, but not sure how to apply it in this case.  Or is there any code for this part, so I can see some myself how it is calculated. Thanks.
Translated with DeepL.com (free version)

Hi. There is no official description of the dataset and what the qscores.tsv actually represent. So the following explanation is based on my understanding of the reference paper [1]

How does votes.tsv get to qscores.tsv?

A TrueSkill algorithm is run with votes.tsv as the input. As a result it produces qscores.tsv

Using the category safety as an example, where images are compared two by two, are those hundreds of thousands of images equivalent to hundreds of thousands of players?

Each row in votes.tsv is one vote in a comparison of two images, by one person, for one category. For example, a row might be one person answering the question "Which of the two images you find more safe?"

I'm confused, how does votes.tsv set the mean variance and update the scores after comparison? Read the synopsis of trueskill, but not sure how to apply it in this case.

Here is a snippet of my implementation:
location_ids = data['location_id']

import trueskill

# Create a TrueSkill environment
env = trueskill.TrueSkill()

# Create a dictionary to store the TrueSkill scores for each location ID
trueskill_scores = {}

# Iterate over each location ID
for location_id in location_ids:
    # Get the votes for the current location ID
    location_votes = votes_not_seen[(votes_not_seen['left_id'] == location_id) | (votes_not_seen['right_id'] == location_id)]

    # Create a TrueSkill rating for the current location ID
    rating = env.create_rating()

    # Iterate over each vote for the current location ID
    for _, vote in location_votes.iterrows():
        left_id = vote['left_id']
        right_id = vote['right_id']
        winner = vote['winner']

        # Determine the opponent ID based on the winner
        if winner == 'left':
            opponent_id = right_id
        elif winner == 'right':
            opponent_id = left_id
        else:
            continue

        # Update the TrueSkill rating based on the outcome of the vote
        if location_id == winner:
            rating, _ = env.rate_1vs1(rating, env.create_rating())
        elif location_id == opponent_id:
            _, rating = env.rate_1vs1(env.create_rating(), rating)

    # Store the TrueSkill score for the current location ID
    trueskill_scores[location_id] = rating.mu

Or is there any code for this part, so I can see some myself how it is calculated.

If there is still interest for this, I'll work on formatting and publishing my implementation for this part.

Thanks.

You're welcome :)
[1] A. Dubey, N. Naik, D. Parikh, R. Raskar, and C. A. Hidalgo, ‘Deep Learning the City : Quantifying Urban Perception At A Global Scale’, Sep. 12, 2016, arXiv: arXiv:1608.01769. Accessed: Apr. 26, 2023. [Online]. Available: http://arxiv.org/abs/1608.01769

Hi, I would like to know how the trueskill.score is transformed into trueskill.stds.-1. Could you please explain it to me? Thanks.

@aleksandrskoselevs  Thank you for sharing your code. After reviewing it, I understand that the two pictures in votes.csv are analogous to the two-person battle in TrueSkill. With the help of GPT, I’ve written the following code based on that understanding. I believe the code is likely correct, but I’m aware that there might be some misunderstandings about TrueSkill that could lead to errors in the logic.
`# 导入库
import pandas as pd
import trueskill
from tqdm import tqdm
读取 CSV 文件
df = pd.read_csv(r".\data\votes.tsv", sep='\t')
初始化 TrueSkill 环境
env = trueskill.TrueSkill()
初始化每个玩家的评分字典和统计字典
ratings = {}
stats = {}
更新玩家评分并显示进度条
for index, row in tqdm(df.iterrows(), total=len(df), desc="Processing matches"):
left_player = row['left']
right_player = row['right']
outcome = row['choice']
# 如果玩家不在评分字典中，初始化他们的评分和统计数据
if left_player not in ratings:
    ratings[left_player] = env.create_rating()
    stats[left_player] = {'wins': 0, 'losses': 0, 'ties': 0}
if right_player not in ratings:
    ratings[right_player] = env.create_rating()
    stats[right_player] = {'wins': 0, 'losses': 0, 'ties': 0}

# 根据比赛结果更新评分和统计数据
if outcome == 'left':
    ratings[left_player], ratings[right_player] = env.rate_1vs1(ratings[left_player], ratings[right_player])
    stats[left_player]['wins'] += 1
    stats[right_player]['losses'] += 1
elif outcome == 'right':
    ratings[right_player], ratings[left_player] = env.rate_1vs1(ratings[right_player], ratings[left_player])
    stats[right_player]['wins'] += 1
    stats[left_player]['losses'] += 1
elif outcome == 'equal':
    ratings[left_player], ratings[right_player] = env.rate_1vs1(ratings[left_player], ratings[right_player],
                                                                drawn=True)
    stats[left_player]['ties'] += 1
    stats[right_player]['ties'] += 1

创建一个列表来存储最终结果
results = []
for player, rating in ratings.items():
results.append({
'player_id': player,
'wins': stats[player]['wins'],
'losses': stats[player]['losses'],
'ties': stats[player]['ties'],
'mu': rating.mu,
'sigma': rating.sigma
})
转换为DataFrame并保存到CSV
results_df = pd.DataFrame(results)
results_df.to_csv('01player_ratings.csv', index=False)
print("玩家评分及统计结果已保存到 01player_ratings.csv 文件中。")
`
@Filbert-0306   My own understanding, trueskill.score and trueskill.stds.-1. It's simultaneous. It's not a translational relationship. The score corresponds to the player's true level, mu, stds.-1 corresponds to the uncertainty of the player's strength. You need to see how trueskill works in two. It's qscore.tsv from votes.tsv
我自己的理解，trueskill.score 和 trueskill.stds.-1. 是同时得到的，不是转化关系。score相当于玩家的真实水平mu，stds.-1相当于玩家的实力的不确定性。这些你需要看下trueskill双人作战的原理。是由votes.tsv 得到的 qscore.tsv

@minshengxinwen Thanks!


JWT Refresh Token Cookie

ref #95
When a refresh token is requested and jwt_cookie decorator is set, the response will set the given cookie with the refresh token string.

Codecov Report

Merging #101 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           master   #101   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          17     17
  Lines         280    280
  Branches       31     31
=====================================
  Hits          280    280

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 dc9a54b...684ed22. Read the comment docs.

Hi Dani. Any ideas when this PR will be merged / new version of the package will be released?

Also waiting for this PR, any updates?


Creation of recent Container failed due to age of container image

I try to create an container for onprem:de-ltsc2019 but it failes with the typical error for outdated container, but I pull the recent one.
here my output:
NavContainerHelper is version <IP_ADDRESS>
Host is Microsoft Windows 10 Pro - Unknown/Insider build
Docker Client Version is 19.03.8
Docker Server Version is 19.03.8
Using image mcr.microsoft.com/businesscentral/onprem:de-ltsc2019
Removing container bc16-de
Removing bc16-de from hosts
Removing C:\ProgramData\NavContainerHelper\Extensions\bc16-de
Creating Container bc16-de
Version: 16.1.12629.12805-de
Style: onprem
Platform: 16.0.12630.12758
Generic Tag: <IP_ADDRESS>
Container OS Version: 10.0.17763.973 (ltsc2019)
Host OS Version: 10.0.18363.836 (Unknown/Insider build)
The container operating system does not match the host operating system, forcing hyperv isolation.
Using locale de-DE
Using hyperv isolation
Disabling the standard eventlog dump to container log every 2 seconds (use -dumpEventLog to enable)
Using license file C:\_dev\licenses\4885929.flf
Files in C:\ProgramData\NavContainerHelper\Extensions\bc16-de\my:
- AdditionalOutput.ps1
- license.flf
- MainLoop.ps1
- updatehosts.ps1
Creating container bc16-de from image mcr.microsoft.com/businesscentral/onprem:de-ltsc2019
abbd1ed9930bcfd1e8ddf98f97a301ec0672e6430265e2a7885f4a7f5529168c
Waiting for container bc16-de to be ready
Initializing...
Starting Container
Hostname is bc16-de
PublicDnsName is bc16-de
You are trying to run a container which is more than 90 days old.
    Microsoft recommends that you always run the latest version of our containers.
    Set the environment variable ACCEPT_OUTDATED to 'Y' if you want to run this container anyway.
at <ScriptBlock>, C:\Run\navstart.ps1: line 54
at <ScriptBlock>, C:\Run\start.ps1: line 121
at <ScriptBlock>, <No file>: line 1Error
Initializing...
Starting Container
Hostname is bc16-de
PublicDnsName is bc16-de
You are trying to run a container which is more than 90 days old.
    Microsoft recommends that you always run the latest version of our containers.
    Set the environment variable ACCEPT_OUTDATED to 'Y' if you want to run this container anyway.
at <ScriptBlock>, C:\Run\navstart.ps1: line 54
at <ScriptBlock>, C:\Run\start.ps1: line 121
at <ScriptBlock>, <No file>: line 1
Initialization of container bc16-de failed
In C:\Program Files\WindowsPowerShell\Modules\navcontainerhelper\<IP_ADDRESS>\ContainerHandling\Wait-NavContainerReady.ps1:44 Zeichen:17
+ ...             throw "Initialization of container $containerName failed" ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (Initialization ... bc16-de failed:String) [], RuntimeException
    + FullyQualifiedErrorId : Initialization of container bc16-de failed

This is because the underlying generic image hasn't been updated since february.
You will have to specify accept_outdated.
I have changed navcontainerhelper to do this automatically yesterday - update to <IP_ADDRESS>

Thank you what helps.

Hi, do you know when the images will be updated? Today the system returns WARNING: You are running a container which is 110 days old.

Generic images are updated frequently and definitely not old.
Specific images are no longer updated as described here: https://freddysblog.com/2020/06/25/changing-the-way-you-run-business-central-in-docker/ and in a number of subsequent blog posts + tweets etc.
Also latest NavContainerHelper + BcContainerHelper does give warnings out that you are using a specific image and should change to artifacts.


IdentityServer4 Memory Leak issue

I am running IdentityServer4 on linux with Nginx for 8 "client credential flow" clients + 2 "implicit flow" clients with around 100 users.
Usually, the memory consumption is around 0.3GB which is normal. Everyone is happy.
But sometimes, the memory usage goes up to 90%+ of my entire server memory (8GB) and IS4 stopped responding.  This happened a few times in the past month.
A manual restart server fixes the problem right away, and after that, memory stays at 0.3 GB and stay there for a long time.
I don't see any gradual increase of memory, and I tried to put some stress test from my client and IS4 also can respond in a timely manner without eating up server memory.
So the memory leak happens instantly at some random time and I still don't know the cause.
Does any one have any idea why this may happen and approach to solve this issue?
Below is my Startup.cs file.
`   public class Startup
{
//.well-known/openid-configuration
public void ConfigureServices(IServiceCollection services)
{
var configManager = services.BuildServiceProvider().GetService();
services.AddDbContext(config =>
{
config.UseNpgsql(configManager.ConnectionString);
})
.AddIdentity<IdentityUser, IdentityRole>(config =>
{
config.Password.RequiredLength = 0;
config.Password.RequireDigit = false;
config.Password.RequireNonAlphanumeric = false;
config.Password.RequireUppercase = false;
})
.AddEntityFrameworkStores()
.AddDefaultTokenProviders();
        services.ConfigureApplicationCookie(config =>
        {
            config.Cookie.Name = "IdentityServer.Cookie";
            config.LoginPath = "/Auth/Login";
        });
        services.AddIdentityServer(options=> {
            options.PublicOrigin = configManager.PublicOrigin;
        })
            .AddInMemoryCaching()
            .AddAspNetIdentity<IdentityUser>()
            .AddConfigurationStore(options =>
            {
                options.ConfigureDbContext = b => b.UseNpgsql(configManager.ConnectionString, sql => sql.MigrationsAssembly(typeof(Startup).Assembly.GetName().Name));
            })
            .AddOperationalStore(options =>
            {
                options.ConfigureDbContext = b => b.UseNpgsql(configManager.ConnectionString, sql => sql.MigrationsAssembly(typeof(Startup).Assembly.GetName().Name));
            })
            .AddExtensionGrantValidator<DelegationGrantValidator>()
            .AddDeveloperSigningCredential();

        services.AddLocalApiAuthentication();
        services.ConfigureAuthorization();
        services.AddControllersWithViews();

    }

    // This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
    public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
    {
        app.UseCors(builder =>
        {
            builder.AllowAnyOrigin().AllowAnyMethod().AllowAnyHeader();
        });
        var fordwardedHeaderOptions = new ForwardedHeadersOptions
        {
            ForwardedHeaders = ForwardedHeaders.XForwardedFor | ForwardedHeaders.XForwardedProto
        };
        fordwardedHeaderOptions.KnownNetworks.Clear();
        fordwardedHeaderOptions.KnownProxies.Clear();

        app.UseForwardedHeaders(fordwardedHeaderOptions);
        app.UseStaticFiles();
        if (env.IsDevelopment())
        {
            app.UseDeveloperExceptionPage();
        }

        app.UseRouting();
        app.UseIdentityServer();
        app.UseAuthentication();
        app.UseAuthorization();

        app.UseEndpoints(endpoints =>
        {
            endpoints.MapDefaultControllerRoute();
        });
    }
}

`

.AddDefaultTokenProviders();


ION local error return can brake step functions error handling/catch handling

I was trying to use ION with step functions and handle custom errors (docs) but the local environment is not returning the correct errors.
Basically the issue is the hard coded errorType instead of hard coding it to Error it should come from the ex error.

what do you think this should be? should it be ex.name ?


matlplotlib warning 'UserWarning: Attempting to set identical bottom==top results'

I get some warnings when I run our regular test:
 bin/naarad -i examples/logs -o ~/tmp/naarad examples/conf/config-matplotlib

2014-02-12 15:45:17,563 - naarad.graphing.matplotlib - INFO - Processing: /home/rmaheshw/tmp/naarad/resources/GC.commit1.csv [ GC.commit1 (old gen committed memory size (after gc)) ]
/usr/lib64/python2.6/site-packages/matplotlib/axes.py:2760: UserWarning: Attempting to set identical bottom==top results
in singular transformations; automatically expanding.
bottom=18466.0, top=18466.0
  + 'bottom=%s, top=%s') % (bottom, top))
2014-02-12 15:45:18,330 - naarad.graphing.matplotlib - INFO - Processing: /home/rmaheshw/tmp/naarad/resources/GC.commit.csv [ GC.commit (heap committed memory size (after gc) (excludes perm gen)) ]
/usr/lib64/python2.6/site-packages/matplotlib/axes.py:2760: UserWarning: Attempting to set identical bottom==top results
in singular transformations; automatically expanding.
bottom=19976.5, top=19976.5
  + 'bottom=%s, top=%s') % (bottom, top))

Something may be adding to negative.  Python does not like negative numbers.

/usr/lib/python2.7/dist-packages/matplotlib/axes/_base.py:2787: UserWarning: Attempting to set identical left==right results
in singular transformations; automatically expanding.
left=0.0, right=0.0
'left=%s, right=%s') % (left, right))

I got the same error with kamrankausar. Does anyone have any input how to fix this?

so how I handle this?
plz give any reference?

As mentioned by @SharadGandhi, The solution to this is to ensure that the max and min values of the plot are different.


docs(setup): Correct due to renaming heptio-authenticator-aws to aws-iam-authenticator

I made some changes due to a tool to use AWS IAM credentials was renamed.

@nakabonne if you can rebase with master I can go ahead and merge

@edwinavalos Thank you for review. I rebased just now.


Tetsuya Yamamoto: Watch safarnikan.com

Tetsuya Yamamoto requests the watch of the watch_keyword safarnikan.com. See the Metasmoke search here and the Stack Exchange search here.

!!/approve


feat: support statically sized arrays using StaticArraysCore

Welcome to Codecov :tada:
Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.
Thanks for integrating Codecov - We've got you covered :open_umbrella:

LGTM

I guess we should add a comment about this in the readme.
In particular suggesting that if people need to put Vectors into it they should wrap them in SizedVectors


calculation in the detection code when xattn=False

Thank you for your great work!
There seems to be a code error here, these permutation operations should not exist when xattn = False. They should be moved to line 125 in if self.xattn:.
Thanks.

Hi @JiahuiChen-GitHub, thanks for pointing this out!


Added storybook support

Added support for automatically generating storybooks.
These are used for previewing the current selection of
gradients in a sane and user-friendly manner.

Storybook Hub is building storybooks for every commit in this PR.
Latest Storybook: https://7f7452f7-cb9b-497b-82a8-638549314893.sbook.io/
( Visit here for more info )

This comment is automatically added by Storybook Hub


Fix dev docs about building Virtlet

This change is

Reviewed 1 of 1 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable

Reviewed 1 of 1 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


Ability to launch client from command line

Need ability to launch long lived process from command line that connects to the network and does the basics

populate core routing table.
manage topic table etc.

Use the approach from https://github.com/ethereum/cthaeh that minimizes imports to ensure handlers for CTRL+C are in place as fast as possible.

fixed in #5


Motion vectors

For animated sequences, add support for dumping the motion vectors

Added support for this, as well as an example of using motion vectors for reprojection. Should be available with the latest version of visii on pip.


Add Figma UI Kit Tutorial and Info Regarding Figma Community

Updated User_Experience.md to include information regarding Figma Community and linked UI_Kit_Tutorial.md, a comprehensive walkthrough of how to utilize Figma Community provided UI kits and their components/assets in your own project.

Great work on implementing the steps outlined in the guide! I like the screenshots they provide clear visual references, and the detailed explanations make it easy to follow the process. This looks like a valuable addition for anyone looking to utilize Figma Community UI kits effectively in their projects.


Fix the wrong link to pod-priority-preemption

Fix the hyperlink typo which point the wrong address to
https://kubernetes.io/docs/tasks/administer-cluster/guaranteed-scheduling-critical-addon-pods/docs/concepts/configuration/pod-priority-preemption/
And should cherry-pick to release-1.9 & release-1.10 branch.

This change is

Thanks @warmchang  - we'll add it into master, which will include updates to 1.10 when released, although we don't go back and fix previous releases of the documentation with cherry-picks
/approve
/lgtm


How can i create expanded only one card at a time

How can i create expanded card viewed,  only one card at a time, not showed for multiple expanded card

Your question is identical to issue #8. Currently there is no easy way provided by the plugin, but it's possible to do programmatically. You have to store a list of ExpandableController objects corresponding to your list of cards. You have to attach a listener to every one of these controller objects, and when one controllers's value becomes true, change the value of the previously expanded controller to false.

Can you send any example aryzhov , it's useful for me

am tried the controller also not working for me any other solution available ?

or else how can i stop auto-close the card when am scrolling multiple card at list view, help me this ### aryzhov

I am keeping issue #8 open and closing this as a duplicate. It's possible to do but I just don't have the time to write an example for this feature right now. I understand that this is an issue for you and I will consider this feedback when prioritizing future work on this package.


Provide a convenient way to log errors from compiler extensions

Description:
Currently we expose a public Diagnostic API to represent diagnostics, and a DiagnosticLog API as a convenient way to log errors.
However, the DiagnosticLog doesn't have a default/common implementation. Hence every compiler extension needs to implement their own DiagnosticLog, in-order to log errors. This not only adds extra work to the extension developer, but also results in a lot of duplicate codes, as well as inconsistency in the errors.
Suggestion is to:

Provide a default/common impl of the DiagnosticLog
One should be able to initialize the DiagnosticLog by providing the properties file that has the error message templates.
If someone needs to change the behaviour of some part of the logger, they can extend and use it.

With this, to log errors from a compiler extension, the developer only needs to:

Create the error codes
Create the error message templates (properties file)

As part of this, we should also look at the possibility of exposing some of the fine-grained APIs in the BLangDiagnosticLog from the DiagnosticLog as well.

For the compiler plugins, we are passing a diagnostic logger instance to its init() method though?

@pubudu91 the problem is, if they wants to add any extension-specific errors, then they have to add those to compiler's error messages template (compiler.properties file). Ideally error templates should be maintained by each extension.

I think we need to expose some APIs at the DiagnosticLog as well. This would be a cleaner approach when it comes to the extensions with custom Error codes and etc. As @SupunS has suggested these should be extendable.

Now you can use Diagnostics API for this. This support is added in SL-Alpha3 with https://github.com/ballerina-platform/ballerina-lang/pull/29127/files


Adding Partial Labels Functionality

Still a WIP, I wanted feedback on the API changes before adding tests
I added partial labels functionality by modifying the StaggeredLoop class, and showed a usage example with examples/partial_labels.py. I also added a bunch of metrics, some of which are ported over from finetune.

Changes implemented with https://github.com/IndicoDataSolutions/Indico-Solutions-Toolkit/pull/140


Command name clashes with some commands in the MicrosoftTeams module

Steps to reproduce
Install-Module MicrosoftTeams

Install-Module VSTeam

Expected behavior
No error

Actual behavior

Environment data

> Get-VSTeamAPIVersion

> $PSVersionTable

I can get around this with Install-Module -Name VSTeam -Repository PSGallery -AllowClobber but it seems that this is aliases that are causing the issue.
Could the Aliases be removed in a future version?

Yes.  I did it originally for backward compatibility with the modules original release.

In version 6.0 the aliases are not exported by default. If you want to use the old aliases you can now run Set-VSTeamAlias.


Support @BeanParam

It would be great to support DirectRestService interfaces that use the @BeanParam annotation. That is: during code gen introspect the referenced bean for additional query/header/path param annotations and generate the service proxy to pull those values from the bean client-side and pass them as appropriate in the call.

This will require lot of code, so maintenance, to this library and what it does is just hiding what the actual request are sending (in my opinion, of course 😆, and I'm just an user of this library, not a maintainer).
What do you think about this approach? You need to write the mapping explicit, but you get other advanteges too.
interface MyRestService {
  default String find(Query q) {
    return find(q.query, q.sort, q.first, q.max);
  }

  @GET String find(
    @QueryParam("q") String query,
    @QueryParam("sort") String sort,
    @QueryParam("first") int first,
    @QueryParam("max") int max);
}

I also prefer the DirectRestService instead of using the Resty callbacks. I'm experimenting in this area, using reactive types to wrap the result so the interface can be shared with the server side (https://github.com/intendia-oss/autorest-gwt). But as you can see with this comment, I prefer that creative things (like @BeanParam) should be solved outside the lib whenever is possible, and default methods makes a lot of things possible 😜 .

Thanks, that's an interesting idea -- will play with default methods. (I suspect you are right about the effort vs. benefit of supporting BeanParam, but figured it was worth raising!)
My main motivation here is to reduce the restrictions that the server-side API developer needs to be aware of to support a Resty client built from shared interfaces. For example I'm finding I have to duplicate lots of path and query params where (without a Resty client) I'd be using resource locators, bean params, etc.


RFE: --buildFuture should optionally accept a date parameter to allow automatic publishing and withdrawal

The --buildFuture option is a boolean. If present, all future posts controlled by "publishdate" front-matter are generated.
If --buildFuture were able to specify a date argument, this could define the effective date in the future at which the filtered by "publishdate" articles are selected.
This would complement the (missing) "withdrawdate" front-matter item that would also allow articles to be withdrawn automatically at set times.

--buildFuture with a date could, in principle, also work retrospectively, producing an image of the site as it had appeared on a certain date in the past.
This would be particularly useful if the "withdrawdate" front-matter item gets implemented.

Note/Update: This issue is marked as stale, and I may have said something earlier about "opening a thread on the discussion forum". Please don't.
If this is a bug and you can still reproduce this error on the latest release or the master branch, please reply with all of the information you have about it in order to keep the issue open.
If this is a feature request, and you feel that it is still relevant and valuable, please tell us why.


Good lookin updates, removes autocasting & auth_token

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


Not working on OSX

I am trying to use phpbrew on osx but it does not work.. a problem with readline it seems, I installed requirement
Output
checking for readline support... yes
checking for tgetent in -lncurses... yes
checking for readline in -lreadline... yes
checking for rl_pending_input in -lreadline... no
configure: error: invalid readline installation detected. Try --with-libedit instead.
Expected Result
To install php 7.2.3
Command
Paste your phpbrew install command here (be sure to install with --debug flag, e.g. phpbrew --debug install)
phpbrew install 7.2.3

Build Log
gist here

Platform
OS:
MAC OSX 10.13.3

Ok, it was about the linking of icu4c, i added "-force option".
Now i got this error when it try to build :
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 4194312 bytes) in phar:///usr/local/bin/phpbrew/src/PhpBrew/Console.php on line 139

For the memory problem, I had to edit my /etc/php.ini to change " memory_size" to something greater.
Now I am facing a compilation error :
The last 5 lines in the log file:
  "_X509_get_signature_nid", referenced from:

      _zif_openssl_x509_parse in openssl.o

ld: symbol(s) not found for architecture x86_64

clang: error: linker command failed with exit code 1 (use -v to see invocation)

make: *** [sapi/cli/php] Error 1

Why phpbrew does compilation instead of download already prebuild for system Binary like nvm does?

Ok So, phpbrew does not work easily on hight Sierra (xcode9).
The easiest way is to install versions via brew (brew install php72...)
Then use https://github.com/wilmoore/php-version

Hi @MatthD,
I'm having the same issue with High Sierra in here.
Any findings on this since you closed the issue?


[OFFICIAL/LIVE] — Everton vs Liverpool LiVe 𝐒𝐭𝐫𝐞𝐚𝐦𝐬 FrEe BrOaDcAsT oN TV Guide & 𝐒𝐭𝐫𝐞𝐚𝐦𝐢𝐧𝐠 07 December 2024

Everton will host league leaders Liverpool at Goodison Park for an exciting Merseyside Derby on Saturday in a Premier League clash.
Liverpool, who hasn't put a foot wrong in all competitions so far, dropped two points at St. James' Park with a 3-3 result against Newcastle United.
The Reds came from behind twice, thanks to Mohamed Salah's heroics, only to be pegged back by a late equalizer from Fabian Schar.
However, Arne Slot's men are still sitting comfortably on top, 7 points ahead of second-placed Chelsea, and will be strong favorites entering this game.
Meanwhile, Everton, who are currently 15th in the standings, will be riding high on confidence after their impressive 4-0 victory over Wolves.
STREAM:Everton vs Liverpool LIVE on Fubo in US
History and form favor the Reds, but Everton will be eager to capitalize on their home advantage and pull off an upset.
The Sporting News looks at the key details ahead of this game, including how to watch the match, kickoff times and the latest team news news.
Everton vs. Liverpool live stream, TV channel
Here's how to watch this Premier League match in the U.S.:
TV channel: USA Network
Live stream: Fubo
This game is available for live TV broadcast on USA Network. Streaming options are available on Fubo, NBC Sports App and NBC Sports website.
For a limited time, you can get your first month of Fubo for as low as $49.99, a $30 savings. Stream ESPN, ABC, CBS, Fox, NBC and 200+ top channels of live TV and sports without cable. (Participating plans only. Taxes and fees may apply.)
WATCH:The best of Premier League action LIVE in US on Fubo
What time does Everton vs. Liverpool kick off?
This Premier League clash takes place at Goodison Park in Liverpool, England, and kicks off on Saturday, December 7 at 12:30 p.m. local time.
Here's how that time translates across the U.S.
Date	Kickoff time

Eastern Time	Sat, Dec. 7	7:30 a.m.
Central Time	Sat, Dec. 7	6:30 a.m.
Mountain Time	Sat, Dec. 7	5:30 a.m.
Pacific Time	Sat, Dec. 7	4:30 a.m.
Everton vs. Liverpool predicted lineups, team news
Everton will be without Timothy Iroegbunam, James Garner, Dele, and Youssef Chermiti who are all sidelined due to injuries.
Armando Broja made his League debut against Wolves and could start again against Liverpool.
Everton predicted XI (4-2-3-1, right to left): Pickford (GK) — Patterson, Tarkowski, Branthwaite, Mykolenko— Doucoure, Mangala — Harrison, McNeil, Ndiaye — Calvert-Lewin
Injured: Timothy Iroegbunam, James Garner, Dele, Youssef Chermiti
Suspended: None
For Liverpool Ibrahima Konate, Conor Bradley, Kostas Tsimikas, and Alisson Becker remain sidelined with injuries. Diogo Jota is nearing fitness but is unlikely to feature in the clash. Meanwhile, Federico Chiesa has regained fitness.
The biggest absentee for Liverpool is midfielder Alexis Mac Allister, who is suspended after picking up his fifth yellow card of the season in the last match against Newcastle.
Liverpool predicted XI (4-2-3-1, right to left): Kelleher (GK) — Alexander-Arnold, Gomez, Van Dijk, Robertson — Jones, Gravenberch — Salah, Szoboszlai, Gakpo — Diaz
Injured: Diogo Jota, Ibrahima Konate, Conor Bradley, Kostas Tsimikas and Alisson Becker.
Suspended: Alexis Mac Allister
Everton vs. Liverpool Prediction
Given Liverpool's strong form, they are likely to edge out Everton in this derby. However, Everton's recent performance suggests they won't go down without a fight. Expect a closely contested match with Liverpool winning.
Prediction: Everton 1-2 Liverpool

vbvb

ghgh


Post Comments

Upon clicking the comment button users shall be able to read comments - but also like and reply to them

Working on it.

Don't know whether I've done this right, please review before push
https://cdn.discordapp.com/attachments/1139692636807110717/1145491242533269524/post.js

Don't know whether I've done this right, please review before push
https://cdn.discordapp.com/attachments/1139692636807110717/1145491242533269524/post.js


fix: support duplicate part names in 'files' parameter of prepare_req…

Fixes: https://github.ibm.com/arf/planning-sdk-squad/issues/1064
This PR allows the "prepare_request" caller to pass in a list of tuples (e.g. [(part-name, (file-tuple)), ...]) for the 'files' parameter instead of a dictionary.   Each list item will result in a separate part to be created in the multi-part form.   This change allows multiple list items to use the same part-name.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


improve factorial calculator

currently the factorial calculator is solving factorial for less than 175 and for the values greater than that, it is showing Infinity.
I can improve ,please assign this issue to me @Srijita-Mandal .

@priyanka1551 Please raise your issues after the contribution period starts. I can't assign as it is created before.

hi @Srijita-Mandal I would like to work on the issue .
Can you assign it to me.  under JWOC

@Srijita-Mandal I want to work on this issue under JWOC. Can you please assign this issue to me?
currently the factorial calculator is solving factorial for less than 175 and for the values greater than that, it is showing Infinity.
I can improve ,please assign this issue to me @Srijita-Mandal .

@Srijita-Mandal  I want to work on this issue under JWOC.

I would like to work under JWOC @Srijita-Mandal


Unreliable during heavy load

Setup:
one RF98 Transmitter @ 432Mhz, transmitting 6-axis data (24byte+2byte header) per 100ms
one RPI-Gateway with full channel on
If I tested indoor, Gateway will output some error data, the full log is here

it seems that SX1301 will output some wrong data.
But I when I try it near the window(with some wind), the error goes away, so I believed that it is cause by thermal problem, maybe do some measurement later.
I've already added a heatsink on top of SX1301, but it seems not enough....

Hello, first of all congrats for the project.
I'm an energy engineering working in an heat-sink company. Maybe I can help you.
if did you record high temp, Can you post some value?
If the problem if thermal, we can design together an enclosure w/ embed heat-sink and ventilation.
let me know.
regards,
apparell

@will127534 Hi!
I've got the the board version 3 (2018/03/28). I noticed that sx1308 is very hot (can't touche my finger)! Is it normal working conditions?
There is no any heatsink on sx1308, the board powered from Raspberry Pi over 40pin connector, uUSB power source 5V, 2A.

@Brat0x2
Yes it is, SX1308 consume about 0.6A, which means it takes about 1W
I did measure about 55~60 Degrees on the SX1308, barely touchable...

@Brat0x2
Depend on where if works, I have an indoor one without any heat sink and it works just fine,
But for my outdoor one, I did added a fan to cool two gateway in a box under the sun.

You need to ensure proper transfer of thermal energy from both top (heat sink) and bottom (solder to PCB plane with substantial copper area 3 exposed to air) of the chip. To operate within the 0-70 deg. C operating conditions of the datasheet Semtech specifies 100 cm2 copper below and heatsink on top.
Let me quote from the datasheet:

2 Electrical Characteristics
2.1 Absolute Maximum Ratings

Parameter
Symbol
Conditions
Value

Junction temperature
T(J,ABSMAX)

-40 °C  to 125°C

2.3 Operating  Conditions
The circuit will operate full specs within the following operating conditions.

Parameter
Symbol
Conditions
Min
Typ
Max
Unit

Ambient operating temperature
T(A)
With chip  paddle soldered to  PCB ground plan with minimum 100 cm2 air exposed area and heat sink
0

70
°C

Source: SX1308 Datasheet, paragraph 2
And from the thermal application note:

Practical Implementation and Measurements
The recommendation of a 100 cm² PCB size area from the SX1308 datasheet comes from the simulation of the package heating dissipation, not from real measurements and seems most of the time quite unrealistic to achieve.
In a practical situation, we need to ensure that the SX1308 junction temperature is always less than 125 °C (maximum junction temperature) inside its housing when the PicoCell Gateway is running at the maximum ambient temperature of its application.
We strongly recommend mounting a heat sink on both top and bottom faces of the SX1308 chip for safe operation in all conditions. The energy dissipated is quite high. Keep in mind that the SX1308 chip can remain 100% of the time at 100% of clock speed and activity. The PicoCell GW is not a low-power device that only ramps up the clock from time to time, while absolute maximum ratings are for short term only.
We selected the Mini Aluminum Heat Sink for Raspberry Pi - 13 x 13 x 3 mm / 0.5" x 0.5" x 0.1" (product ID: Adafruit Industries LLC 3084) for our Semtech reference design

Source: SX1308 Thermal Dissipation: Technical Analysis and Recommendations, paragraph 3

@mikini  That is a really useful data!
It seems that two Aluminum Heat Sink for Raspberry Pi (top and bottom) is good enough for heat dissipation. I think RPi Gateway V3 is larger than their PicoCell gateway, so using the same setup will perform better.
From the measurement on "RPIZero" Gateway V3(not released yet), I measured about 50~55 degrees with a large heatsink and 60 degrees without, which is better than PicoCell GW without housing and with heat sink. Although I didn't run for 24 Hours, only for couple hours.
Anyways, I'll do a experiment on RPI Gateway V3 later.


add tree-sitter entry to package.json

cc grantjenks/py-tree-sitter-languages#21

@tmm1 thoughts on the suggested changes? I'd love to see this merged.


Crash when machine has no audio output

When a machine has no audio card, the WPF Media Kit crashes with
   at DirectShowLib.DsError.ThrowExceptionForHR(Int32 hr)
   at WPFMediaKit.DirectShow.MediaPlayers.MediaPlayerBase.AddFilterByDevice(IGraphBuilder graphBuilder, DsDevice device)
   at WPFMediaKit.DirectShow.MediaPlayers.MediaPlayerBase.AddFilterByName(IGraphBuilder graphBuilder, Guid deviceCategory, String friendlyName)
   at WPFMediaKit.DirectShow.MediaPlayers.MediaUriPlayer.InsertAudioRenderer(String audioDeviceName)
   at WPFMediaKit.DirectShow.MediaPlayers.MediaUriPlayer.OpenSource()

See also http://stackoverflow.com/questions/24016776/wpf-mediakit-audio-issues
The player should not crash and should have a flag that the audio is not available.

I am unable to reproduce this. The code around "InsertAudioRenderer" is in a try-catch-block, cause I already fixed this in the past. I also tried playing back a mp4 with no available audio device and it worked without any issues.

You are right, it's fixed already, sorry.
Just some need some flag that the audio cannot be played would be handy. Maybe the overlay stats #32 could do the job.


Add Micrometer Observation support to Spring Dapr Messaging

Description
This PR adds support for Micrometer Observation into Spring Dapr Messaging. If everything goes well we will add similar support to Spring Dapr Data. This PR is heavily inspired and is a continuation of this PR: https://github.com/dapr/java-sdk/pull/1126.
In this PR I didn't enable any Project Reactor Hooks for context propagation. If we want to have context data being sent to OTEL or any other Micrometer exporter, this should be controlled by spring.reactor.context-propagation=auto Spring Boot application configuration. More details can be found here: https://docs.spring.io/spring-boot/reference/actuator/observability.html.
Issue reference
We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.
Please reference the issue this PR will close: #1149
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list:

[x] Code compiles correctly
[x] Created/updated tests
[ ] Extended the documentation

@artursouza @cicoyle and @salaboy when you have a chance could you please take a look. Thank you!

@salaboy I would really appreciate if you could take this PR for "a ride" using this "spring.reactor.context-propagation=auto" Spring Boot configuration to see if traces land in Zipkin or any other tool that you played with in this PR: https://github.com/dapr/java-sdk/pull/1126.
Thanks in advance!

@artur-ciocanu I will check it out.. So.. this PR is following what I did on my PR, but not adding this -> https://github.com/dapr/java-sdk/pull/1126/files#diff-f86931381933e4ae24b3f860afc7618f23aecb516cea8bfd0ce627b16bf64e19R100 which is enabled by the property: spring.reactor.context-propagation=auto , am I right? are there any other significant changes?

@artur-ciocanu I will check it out.. So.. this PR is following what I did on my PR, but not adding this -> https://github.com/dapr/java-sdk/pull/1126/files#diff-f86931381933e4ae24b3f860afc7618f23aecb516cea8bfd0ce627b16bf64e19R100 which is enabled by the property: spring.reactor.context-propagation=auto , am I right? are there any other significant changes?

Exactly, since this is intended to be used in a Spring Boot environment, it is better to have this controlled via application configuration/properties and not enable it in the Dapr Messaging component.

@artursouza or @cicoyle I have made a few changes based on @salaboy suggestions. Could you please re-trigger the build, there is an IT test that failed, but it is not related to my changes.
Thank you!

@artur-ciocanu I've just tested this PR it is good to merge.. @cicoyle @artursouza

@artursouza and @cicoyle, since we have green light from @salaboy, could you please review, approve and merge.
Thank you!


chore: add architecture to install cache key

TDESKAPP-1430
Description
Problem statement: the desktop-app project was facing issues with incompatible cache being shared.
After some investigation, I noticed that the install cache key we were using made no distinction between architectures. This PR addresses that.
How to test

Run the new action on machines that have the same OS but different architectures

arm64
https://github.com/toptal/desktop-app/actions/runs/5320987850/jobs/9635490741#step:6:64

x64
https://github.com/toptal/desktop-app/actions/runs/5320987850/jobs/9635490889#step:6:64

Development checks

[x] Add changeset according to guidelines (if needed)

PR commands

List of available commands:

@toptal-anvil ping reviewers - Ping FX team for review

Thanks for the contribution @rafael-anachoreta! :+1:


Typo in Docs for TakeLast

Easy one...
R.takeLast(2, ['foo', 'bar', 'baz']); //=> ['for', 'baz']
http://ramdajs.com/docs/#takeLast

Thanks for reporting this. It was actually fixed in #1322, but the website does not yet reflect that change.


Fix/traefik v15 compatibility

Fixes Traefik v15 issue identified in https://github.com/kube-hetzner/terraform-hcloud-kube-hetzner/pull/1053 by @mxmxchere and @benbehringer.

Merging as urgent (current master is broken).


Instructions for connecting to temporary CI environment in README

Describes the steps necessary to connect to the temporary CI environment

2871409


After a few days everything working i get: "Error: Reset error: Error: {"sequence":-1} after 10000ms "

Description of the issue
Hi,
I used the zigbee2Mqtt addon a long time, but I thing after the last update there are some problem. I use the Skyconnect and after some reboot for some other updates etc. the zigbee2mqtt wont start any more. In the log I get this:
[18:46:22] INFO: Preparing to start...
[18:46:22] INFO: Socat not enabled
[18:46:23] INFO: Starting Zigbee2MQTT...
Zigbee2MQTT:info  2023-12-26 18:46:24: Logging to console and directory: '/config/zigbee2mqtt/log/2023-12-26.18-46-24' filename: log.txt
Zigbee2MQTT:info  2023-12-26 18:46:24: Starting Zigbee2MQTT version 1.34.0 (commit #unknown)
Zigbee2MQTT:info  2023-12-26 18:46:24: Starting zigbee-herdsman (0.25.0)
Error: Reset error: Error: {"sequence":-1} after 10000ms
at /app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/uart.ts:299:23
at Queue.executeNext (/app/node_modules/zigbee-herdsman/src/utils/queue.ts:32:32)
Addon version
1.34.0-1
Platform
Core 2023.12.3
Supervisor 2023.12.0
Operating System 11.2
Frontend 20231208.2
Logs of the issue (if applicable)
No response

Same here: More detailed log:
[22:39:42] INFO: Preparing to start...
[22:39:43] INFO: Socat not enabled
[22:39:43] INFO: Zigbee Herdsman debug logging enabled
[22:39:45] INFO: Starting Zigbee2MQTT...
2023-12-26T21:39:53.097Z zigbee-herdsman:adapter Failed to validate path: 'Error: spawn udevadm ENOENT'
2023-12-26T21:39:53.102Z zigbee-herdsman:adapter:ezsp:debg Adapter concurrent: 8
2023-12-26T21:39:53.104Z zigbee-herdsman:controller:log Starting with options '{"network":{"networkKeyDistribute":false,"networkKey":[1,3,5,7,9,11,13,15,0,2,4,6,8,10,12,13],"panID":6754,"extendedPanID":[221,221,221,221,221,221,221,221],"channelList":[11]},"serialPort":{"baudRate":115200,"path":"/dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20220811172127-if00","adapter":"ezsp"},"databasePath":"/config/zigbee2mqtt/database.db","databaseBackupPath":"/config/zigbee2mqtt/database.db.backup","backupPath":"/config/zigbee2mqtt/coordinator_backup.json","adapter":{"disableLED":false,"concurrent":null,"delay":null}}'
2023-12-26T21:39:53.109Z zigbee-herdsman:adapter:ezsp:uart Opening SerialPort with {"path":"/dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20220811172127-if00","baudRate":115200,"rtscts":false,"autoOpen":false}
2023-12-26T21:39:53.129Z zigbee-herdsman:adapter:ezsp:uart Serialport opened
2023-12-26T21:39:53.130Z zigbee-herdsman:adapter:ezsp:uart Uart reseting
2023-12-26T21:39:53.132Z zigbee-herdsman:adapter:ezsp:uart --> Write reset
2023-12-26T21:39:53.136Z zigbee-herdsman:adapter:ezsp:uart --> [1ac038bc7e]
2023-12-26T21:39:53.139Z zigbee-herdsman:adapter:ezsp:uart -?- waiting reset
2023-12-26T21:39:53.149Z zigbee-herdsman:adapter:ezsp:uart Serialport error: Error: EIO: i/o error, write
2023-12-26T21:39:53.150Z zigbee-herdsman:adapter:ezsp:uart Port closed
2023-12-26T21:39:53.150Z zigbee-herdsman:adapter:ezsp:ezsp Close ezsp
2023-12-26T21:39:53.152Z zigbee-herdsman:adapter:ezsp:driv Close driver
2023-12-26T21:40:03.138Z zigbee-herdsman:adapter:ezsp:uart --> Error: Error: {"sequence":-1} after 10000ms
2023-12-26T21:40:03.140Z zigbee-herdsman:adapter:ezsp:driv Reset connection. Try 0
2023-12-26T21:40:03.142Z zigbee-herdsman:adapter:ezsp:driv Stop driver
2023-12-26T21:40:03.143Z zigbee-herdsman:adapter:ezsp:ezsp Stop ezsp
2023-12-26T21:40:03.145Z zigbee-herdsman:adapter:ezsp:ezsp Close ezsp
2023-12-26T21:40:03.145Z zigbee-herdsman:adapter:ezsp:driv Close driver
Error: Reset error: Error: {"sequence":-1} after 10000ms
    at /app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/uart.ts:299:23
    at Queue.executeNext (/app/node_modules/zigbee-herdsman/src/utils/queue.ts:32:32)

Yep, can confirm this exact same issue and error, using a sky connect stick.

Same issue with SONOFF Zigbee 3.0 USB Dongle Plus E

Gets up and running after plugging it into a different port, but fails again after a while. A USB reset might work, seems to be an issue with the underlying driver seen from here.

Same issue here, but with CC2531 on HA 12.4

I have some HA installs in the neighborhood, all failing now. I guess this is getting critical?

I experienced a crash in the log:
2024-01-01T16:31:46.623Z zigbee-herdsman:adapter:ezsp:ezsp <== 0x3f: {"_cls_":"messageSentHandler","_id_":63,"_isRequest_":false,"type":0,"indexOrDestination":31151,"apsFrame":{"profileId":260,"sequence":8,"clusterId":6,"sourceEndpoint":1,"destinationEndpoint":1,"groupId":0,"options":0},"messageTag":16,"status":0,"message":{"type":"Buffer","data":[]}}
2024-01-01T16:31:46.893Z zigbee-herdsman:adapter:ezsp:uart <-- [1617b1a96b2a164fa6904b23aa546d499d58e80812ce67d5d97e]
2024-01-01T16:31:46.894Z zigbee-herdsman:adapter:ezsp:uart <-- DATA (1,6,0): 1617b1a96b2a164fa6904b23aa546d499d58e80812ce67d5d97e
2024-01-01T16:31:46.894Z zigbee-herdsman:adapter:ezsp:uart --> ACK  (2)
2024-01-01T16:31:46.895Z zigbee-herdsman:adapter:ezsp:uart --> [82503a7e]
2024-01-01T16:31:46.895Z zigbee-herdsman:adapter:ezsp:ezsp <== Frame: 5590013f0003fdff0401060001ff000116cfa3ff0000
2024-01-01T16:31:46.896Z zigbee-herdsman:adapter:ezsp:ezsp <== 0x3f: {"_cls_":"messageSentHandler","_id_":63,"_isRequest_":false,"type":3,"indexOrDestination":65533,"apsFrame":{"profileId":260,"sequence":163,"clusterId":6,"sourceEndpoint":1,"destinationEndpoint":255,"groupId":53014,"options":256},"messageTag":255,"status":0,"message":{"type":"Buffer","data":[]}}
2024-01-01T16:31:46.896Z zigbee-herdsman:adapter:ezsp:cast 53014 is already subscribed
2024-01-01T16:31:49.998Z zigbee-herdsman:adapter:ezsp:uart Port closed
2024-01-01T16:31:49.999Z zigbee-herdsman:adapter:ezsp:ezsp Close ezsp
2024-01-01T16:31:50.007Z zigbee-herdsman:adapter:ezsp:driv Close driver
2024-01-01T16:31:54.794Z zigbee-herdsman:adapter:ezsp:ezsp Time to watchdog ... 0
2024-01-01T16:31:54.795Z zigbee-herdsman:adapter:ezsp:ezsp ==> nop: null
2024-01-01T16:31:54.947Z zigbee-herdsman:adapter:ezsp:erro Watchdog heartbeat timeout Error: Connection not initialized
    at Ezsp.execCommand (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:551:19)
    at Ezsp.watchdogHandler (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:660:24)
    at listOnTimeout (node:internal/timers:569:17)
    at processTimers (node:internal/timers:512:7)
2024-01-01T16:32:04.796Z zigbee-herdsman:adapter:ezsp:ezsp Time to watchdog ... 1
2024-01-01T16:32:04.796Z zigbee-herdsman:adapter:ezsp:ezsp ==> nop: null
2024-01-01T16:32:04.800Z zigbee-herdsman:adapter:ezsp:erro Watchdog heartbeat timeout Error: Connection not initialized
    at Ezsp.execCommand (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:551:19)
    at Ezsp.watchdogHandler (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:660:24)
    at listOnTimeout (node:internal/timers:569:17)
    at processTimers (node:internal/timers:512:7)
2024-01-01T16:32:14.797Z zigbee-herdsman:adapter:ezsp:ezsp Time to watchdog ... 2
2024-01-01T16:32:14.798Z zigbee-herdsman:adapter:ezsp:ezsp ==> nop: null
2024-01-01T16:32:14.809Z zigbee-herdsman:adapter:ezsp:erro Watchdog heartbeat timeout Error: Connection not initialized
    at Ezsp.execCommand (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:551:19)
    at Ezsp.watchdogHandler (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:660:24)
    at listOnTimeout (node:internal/timers:569:17)
    at processTimers (node:internal/timers:512:7)

Issue persists in the current update 1.35.0-1.

To me, it seems to have been fixed with the latest release, the Zigbee2mqtt does not crash anymore, and the device data streams are steady. Will report back the next few days.

To me, it seems to have been fixed with the latest release, the Zigbee2mqtt does not crash anymore, and the device data streams are steady. Will report back the next few days.

I was wrong, still failing after 40hours.

I have the Issue from the TS too.
SONOFF Zigbee 3.0 USB Dongle Plus E
System is HASSOS on a PROXMOX VM (USB Passthrough - Vendor ID)
[14:04:15] INFO: Preparing to start...
[14:04:15] INFO: Socat not enabled
[14:04:15] INFO: Zigbee Herdsman debug logging enabled
[14:04:16] INFO: Starting Zigbee2MQTT...
Zigbee2MQTT:debug 2024-01-05 14:04:18: Loaded state from file /config/zigbee2mqtt/state.json
Zigbee2MQTT:info  2024-01-05 14:04:18: Logging to console and directory: '/config/zigbee2mqtt/log/2024-01-05.14-04-18' filename: log.txt
Zigbee2MQTT:debug 2024-01-05 14:04:18: Removing old log directory '/config/zigbee2mqtt/log/2024-01-05.12-09-01'
Zigbee2MQTT:info  2024-01-05 14:04:18: Starting Zigbee2MQTT version 1.35.0-dev (commit #b17c22b)
Zigbee2MQTT:info  2024-01-05 14:04:18: Starting zigbee-herdsman (0.30.0)
Zigbee2MQTT:debug 2024-01-05 14:04:18: Using zigbee-herdsman with settings: '{"adapter":{"concurrent":null,"delay":null,"disableLED":false},"backupPath":"/config/zigbee2mqtt/coordinator_backup.json","databaseBackupPath":"/config/zigbee2mqtt/database.db.backup","databasePath":"/config/zigbee2mqtt/database.db","network":{"channelList":[11],"extendedPanID":[33,203,14,38,70,232,183,105],"networkKey":"HIDDEN","panID":23673},"serialPort":{"adapter":"ezsp","path":"/dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20230804160602-if00"}}'
2024-01-05T13:04:18.257Z zigbee-herdsman:adapter Failed to validate path: 'Error: spawn udevadm ENOENT'
2024-01-05T13:04:18.258Z zigbee-herdsman:adapter:ezsp:debg Adapter concurrent: 8
2024-01-05T13:04:18.258Z zigbee-herdsman:controller:log Starting with options '{"network":{"networkKeyDistribute":false,"networkKey":[155,10,229,65,78,255,220,245,170,56,16,37,52,224,37,78],"panID":23673,"extendedPanID":[33,203,14,38,70,232,183,105],"channelList":[11]},"serialPort":{"path":"/dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20230804160602-if00","adapter":"ezsp"},"databasePath":"/config/zigbee2mqtt/database.db","databaseBackupPath":"/config/zigbee2mqtt/database.db.backup","backupPath":"/config/zigbee2mqtt/coordinator_backup.json","adapter":{"disableLED":false,"concurrent":null,"delay":null}}'
2024-01-05T13:04:18.260Z zigbee-herdsman:adapter:ezsp:uart Opening SerialPort with {"path":"/dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20230804160602-if00","baudRate":115200,"rtscts":false,"autoOpen":false}
2024-01-05T13:04:18.266Z zigbee-herdsman:adapter:ezsp:uart Serialport opened
2024-01-05T13:04:18.266Z zigbee-herdsman:adapter:ezsp:uart Uart reseting
2024-01-05T13:04:18.266Z zigbee-herdsman:adapter:ezsp:uart --> Write reset
2024-01-05T13:04:18.267Z zigbee-herdsman:adapter:ezsp:uart --> [1ac038bc7e]
2024-01-05T13:04:18.268Z zigbee-herdsman:adapter:ezsp:uart -?- waiting reset
2024-01-05T13:04:28.272Z zigbee-herdsman:adapter:ezsp:uart --> Error: Error: {"sequence":-1} after 10000ms
2024-01-05T13:04:28.273Z zigbee-herdsman:adapter:ezsp:driv Reset connection. Try 0
2024-01-05T13:04:28.273Z zigbee-herdsman:adapter:ezsp:driv Stop driver
2024-01-05T13:04:28.273Z zigbee-herdsman:adapter:ezsp:ezsp Stop ezsp
2024-01-05T13:04:28.273Z zigbee-herdsman:adapter:ezsp:ezsp Close ezsp
2024-01-05T13:04:28.273Z zigbee-herdsman:adapter:ezsp:driv Close driver
Error: Reset error: Error: {"sequence":-1} after 10000ms
at /app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/uart.ts:299:23
at Queue.executeNext (/app/node_modules/zigbee-herdsman/src/utils/queue.ts:32:32)
As far as I see there musst be a problem with this setting of Proxmox.
ZHA is working flawless with this device. (Of course this integration is deinstalled, a lot of times reboot etc. )
I can provice more information about this (driver?) problem if I know what.

Seeing the same issue here with my Skyconnect and my Hassio VM that was working fine.

I've had the SkyConnect laying around for a while, finally decided to swap out my ConBee stick for the SkyConnect today.
Never got it to work, and I'm getting the exact same error message as all of the above.

I've had the SkyConnect laying around for a while, finally decided to swap out my ConBee stick for the SkyConnect today. Never got it to work, and I'm getting the exact same error message as all of the above.

I went the opposite route, I had the sky connect running without issue until recently. Swapped now back to my conbee 2 stick without issues. I would argue the sky connect stick is fine, but something somewhere broke after an update. Let’s hope the developer can figure out the issue, the sky connect stick had better connectivity than the conbee.

I actually just now figured out my issue. Can of course be a different issue for you all, but I had the exact startup error in Z2M as the first post here.
I went into settings -> system -> hardware on Home Assistant right after I plugged in the SkyConnect for the first time, to find a "Configure"-button saying it could enable the SkyConnect to work both with Zigbee and Thread. I thought that sounded like a good idea, without really knowing what I was doing, so I enabled it.
That ended up flashing the SkyConnect with the Multi-firmware automatically behind the scenes. And it no longer worked as a Zigbee-stick with Z2M.
So my solution was to go here: https://skyconnect.home-assistant.io/firmware-update/
and re-flash the Zigbee firmware to the SkyConnect, and it all started working. I've successfully paired my first devices back to Z2M.

I am experiencing the same exact issue with Raspberry Pi 4 and Home Assistant OS
Core 2024.1.3
Supervisor 2023.12.0
Operating System 11.4
Frontend 20240104.0
Sonoff Zigbee Plus-P
I had everything working fine with Zigbee2Mqtt before, when I was using Home Assistant in a Docker container, with another docker container running Zigbee2Mqtt but since I switched to Home Assistant OS with the Zigbee2Mqtt Addon, the addon won't start with the same error message as above:
[12:07:51] INFO: Preparing to start...
[12:07:52] INFO: Socat not enabled
[12:07:54] INFO: Starting Zigbee2MQTT...
Zigbee2MQTT:info  2024-01-16 12:07:59: Logging to console and directory: '/config/zigbee2mqtt/log/2024-01-16.12-07-59' filename: log.txt
Zigbee2MQTT:info  2024-01-16 12:07:59: Starting Zigbee2MQTT version 1.35.1 (commit #unknown)
Zigbee2MQTT:info  2024-01-16 12:07:59: Starting zigbee-herdsman (0.30.0)
Error: Reset error: Error: {"sequence":-1} after 10000ms
    at /app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/uart.ts:299:23
    at Queue.executeNext (/app/node_modules/zigbee-herdsman/src/utils/queue.ts:32:32)

I'm experiencing the same issue. Suddenly it's not working.

Core 2024.1.5
Supervisor 2023.12.1
Operating System 11.4
Frontend 20240104.0

Hardware: Home Assistant Yellow
Zigbee2MQTT Config:

data_path: /config/zigbee2mqtt
socat:
enabled: false
master: pty,raw,echo=0,link=/tmp/ttyZ2M,mode=777
slave: tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5
options: "-d -d"
log: false
mqtt: {}
serial:
adapter: ezsp
port: /dev/ttyAMA1
baudrate: 115200
rtscts: true

Zigbee2MQTT Log:

[20:25:26] INFO: Preparing to start...
[20:25:26] INFO: Socat not enabled
[20:25:29] INFO: Starting Zigbee2MQTT...
Zigbee2MQTT:debug 2024-01-21 20:25:36: Loaded state from file /config/zigbee2mqtt/state.json
Zigbee2MQTT:info  2024-01-21 20:25:36: Logging to console and directory: '/config/zigbee2mqtt/log/2024-01-21.20-25-36' filename: log.txt
Zigbee2MQTT:debug 2024-01-21 20:25:36: Removing old log directory '/config/zigbee2mqtt/log/2024-01-21.18-49-32'
Zigbee2MQTT:info  2024-01-21 20:25:36: Starting Zigbee2MQTT version 1.35.1 (commit #unknown)
Zigbee2MQTT:info  2024-01-21 20:25:36: Starting zigbee-herdsman (0.30.0)
Zigbee2MQTT:debug 2024-01-21 20:25:36: Using zigbee-herdsman with settings: '{"adapter":{"concurrent":null,"delay":null,"disableLED":false},"backupPath":"/config/zigbee2mqtt/coordinator_backup.json","databaseBackupPath":"/config/zigbee2mqtt/database.db.backup","databasePath":"/config/zigbee2mqtt/database.db","network":{"channelList":[11],"extendedPanID":[221,221,221,221,221,221,221,221],"networkKey":"HIDDEN","panID":6754},"serialPort":{"adapter":"ezsp","baudRate":115200,"path":"/dev/ttyAMA1","rtscts":true}}'
Error: Reset error: Error: {"sequence":-1} after 10000ms
at /app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/uart.ts:299:23
at Queue.executeNext (/app/node_modules/zigbee-herdsman/src/utils/queue.ts:32:32)

I got it working after a firmware upgrade from the official Ad-On Silicon Labs Flasher, on my Home Assistant Yellow. :)

I got it working after a firmware upgrade from the official Ad-On Silicon Labs Flasher, on my Home Assistant Yellow. :)

I just ran the upgrade but nothing changed for me, running on a sky connect. Perhaps there are some other things in play with your HA Yellow

I got it working after a firmware upgrade from the official Ad-On Silicon Labs Flasher, on my Home Assistant Yellow. :)

Which firmware file are you using for the upgrade in Home Assistant Yellow?

@janecekkrenek  I just used the newest version that this add-on installed: https://github.com/home-assistant/addons/tree/master/silabs_flasher
Can be found under Settings -> Add-ons -> Add-on Store -> Silicon Labs Flasher

Zigbee2MQTT:error 2024-02-05 20:07:10: Publish 'set' 'state' to 'Flurlicht' failed: 'Error: Command 0x0017880103b2b586/11 genOnOff.off({}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Timeout - 24511 - 11 - 56 - 6 - 11 after 10000ms)'
getting this since the latest update of Zigbee2MQTT addon (HACS) and using HAOS.
All lights and thermostats are broken. That’s really a critical issue.

@janecekkrenek I just used the newest version that this add-on installed: https://github.com/home-assistant/addons/tree/master/silabs_flasher
Can be found under Settings -> Add-ons -> Add-on Store -> Silicon Labs Flasher

Many thank. It works for me (radio multiprotocol support and ZHA must be disabled)


⚠ Cioos National CKAN has degraded performance

In 78598a5, Cioos National CKAN (https://catalogue.cioos.ca/) experienced degraded performance:

HTTP code: 200
Response time: 5908 ms

Resolved: Cioos National CKAN performance has improved in 8fd11c7 after 20 minutes.


chore: bump kotlin support

Kotlin support has been bumped in 8.2.0 so this is no longer necessary


zfsbootmenu-core: add function to search for and mount /boot

In very rare circumstances, it may be desirable to separate /boot from its boot environment. For example, one may wish to expose an encrypted (but unlocked) root filesystem via NFS without also exposing /boot/initramfs* that might contain encryption keys for the pool. Moving /boot to another file system is the best way to prevent accidental network leaks in this case.
This can already be hacked around with the current configuration by, for example, setting
canmount=legacy
org.zfsbootmenu:active=on

on the /boot filesystem and then making a symlink
ln -s . /boot/boot

However, this is undesirable because ZFSBootMenu will display the boot filesystem rather than the true root in the menu, and a lot will be inconsistent or break entirely. ZFS properties that we read to configure boot environments would have to be set on the boot filesystem instead of the root, the zbm-kcl helper may not choose the right destination for edits, the ZBM snapshot menu becomes almost useless, and jump-to-chroot is impossible because what ZBM thinks is the chroot is missing all the root stuff.
With this (untested) change, we can look for a /boot mount point in the two places that need to identify kernels in /boot: when enumerating kernels in find_be_kernels and when loading a kernel to boot in kexec_kernel. To make this as minimally invasive as possible, the behavior is:

If the root filesystem has any files in /boot (whether or not they look like kernels, but ignoring dot files), do nothing. We will only attempt to find and mount /boot when the directory appears completely empty on the root.
If the root contains /etc/fstab, walk it to try to find the first record for /boot. (We should not try to get sophisticated and allow multiple over-mounts here.) If possible, mount the identified device ro. If the mount fails, do not attempt further mounts---just fall back to the original behavior. (NOTE This allows /boot to reside on something other than ZFS, provided the appropriate mount helpers are found in the ZFSBootMenu image.)
If /etc/fstab does not mention /boot, look for children of the root filesystem that have mountpoint=/boot. If one is found, mount it if possible.

A separate /boot breaks atomicity of the boot environment. Attempting to duplicate and boot a snapshot could fail because the snapshot may not be in sync with the current state of the /boot filesystem. I do not think we should get too smart about trying to fix this problem. It is a caveat of adopting a non-sanctioned layout that features like snapshot rollbacks may require manual intervention. Despite the possible thorns, this still provides a better ZBM experience than the hacky workaround noted above.
I would have preferred not to track boot_mounted and instead just do umount -R "${mnt}" where appropriate, but busybox umount does not support -R. The current form appears to be the least intrusive option.
I have not done any testing of this logic because I want to know that this proposal isn't objectionable. If not, I'll migrate my NFS configuration to work as this change expects and debug as approriate.

Did some trivial testing on Alpine. Moving /boot to ztest/ROOT/alpine/boot with mountpoint=/boot with mountpoint=legacy, as well as ztest/ROOT/boot with mountpoint=legacy all work as expected, with /etc/fstab on ztest/ROOT/alpine configured as appropriate for legacy mounts.

I don't see there being a strong enough justification for this feature to accept the documentation and support headache that it will bring.
While it might be considered a niche and advanced feature, people will attempt to wrangle all types of system configurations into working with it. By demanding that /boot is always part of the root dataset, we reduce environments to one happy path and one set of assumptions. This feature will open up a huge array of possible integration/setup issues, all of which will serve to frustrate users and the development team.
Serving an NFS root filesystem with a 'clean' boot directory seems like the simplest solution to the original problem. The node acting as the NFS server can't then boot from the same exact copy of the boot environment as the client nodes, but that's a synchronization problem handled by Ansible/Puppet/Chef/chezmoi, or a 'split apart storage and compute' problem.
I appreciate that you're solving a real problem - I don't believe that it should be solved inside ZBM, though.

I can't defend against this criticism. In fact, I would have avoided documenting this change because I share your view that this has the potential for chaos.


New Features! Please feel free to test!

Added the ability to add up to 5 databases in a single firebird-rest instance. (Databases need to be configured on the new config.json file). This enables firebird-rest to manage multiple databases with only 1 server running.

If no --db flag is provided, the program will use the new config.json file automatically.

Supports legacy functionality. The new version can be used just like the previous 0.0.2 version with no issues.

Forgot to add new dependencies.


Publishing migrate-rules as a 2.12 artifact

Hi, thanks for the migration project, it's really useful.
It's my understanding that to run an external rule, you can't use the CLI and instead, you must use the sbt plugin. I've tried different syntax including, for example : scalafix -r dependency:fix.scala213.Any2StringAdd@ch.epfl.scala:migrate-rules:0.4.2, but none of them work.
So back in sbt I try to do:
sbt> scalafix dependency:fix.scala213.Any2StringAdd@ch.epfl.scala:migrate-rules:0.4.2
[error] (module1 / Compile / scalafix) scalafix.sbt.InvalidArgument: Failed to fetch [Dependency(Module(ch.epfl.scala, migrate-rules_2.12), 0.4.2)]from [...]

But it fails because it's looking for a 2.12 artifact. I do not have a problem with the migration-plugin itself, running migrate-syntax project works fine. But if I try to use the rules, individually, it fails.
I want to be able to run the rule individually because we have a pipeline to run scalafix for us, on a project, given a rule and open a PR when successful.

Oh well, it's my bad. You can use scalafix cli to run external rule (bundled in jars) as long as you put them on the class path.
The CLI has a --tool-classpath option. You can use cs  (coursier) to build that classpath for you.
Furthermore, the rules I want to run are published in https://github.com/scala/scala-rewrites rather than this project. You can find the artifact here: https://index.scala-lang.org/scala/scala-rewrites/scala-rewrites/0.1.3?target=_2.13

Other rules can be found here: https://index.scala-lang.org/ohze/scala-rewrites/scala-rewrites/1.0.0?target=_2.12

Sorry I didn't help, but I m happy you solved your issue! Thanks for the feedback


Please add an usage guide

plz add a step-by-step guide for non-programmers who want to try these models and software in general

Will look into doing this tonight, need to get the requirements.txt updated as needed and things cleaned up a bit for people to use. Going to polish things up this weekend I think.


Reducing crypto overhead

When hardware-assisted UDP GSO is present, overhead of the crypto becomes the biggest bottleneck of QUIC sender performance. In the case shown below doing GSO of 40 packets * 1460 bytes, 45.18% of the time is spent in AEAD encryption (ptls_aead_encrypt), 6.29% is spent in header protection (default_finalize_send_packet). These numbers (almost) represent the real cost, as 96% of the CPU time were spent in user+sys (consisting 100% of this perf tree).
While the actual cost of doing crypto cannot be reduced, there are certain amount of overhead within this 45.18% + 6.29%. The actual cost of AEAD (initialization, aad processing, encrypt, finalize) is 2.73% + 0.78% + 33.31% + 3.15% = 39.97%. The actual cost of generating unpredictable bits for header protection is 1.18%. We can assume that the large fraction of the remaining 10.32% is API overhead.
A sensible approach to fix this issue would be to create add a function to OpenSSL that does everything at once (i.e. all AEAD + header protection). We can hope to see ~10% performance improvement by adding such a function.

A sensible approach to fix this issue would be to create add a function to OpenSSL that does everything at once (i.e. all AEAD + header protection). We can hope to see ~10% performance improvement by adding such a function.

Furthermore, we could take advantage of pipelining, by running the initialization, aad, and finalization phases of multiple packets in parallel. The reason why they show up as much as above compared to the permutation of the payload is because, the first three is not parallelized, while the permutation of the payload is applied to multiple blocks of 16-bytes at once (notice the 6x suffix of the functions). Unlike the case of TLS, we have can parallelize the three phases because we are generating multiple packets at once. Also, we could consider applying that encryption logic in the kernel to reduce the overhead of context switch.


[home-assistant] Fix ports for home assistant

This PR fixes reconfigured ports inside the home-assistant chart.
A containerPort should match the port of the application inside the container and in this case is not actually configurable. The service.targetPort must match the deployment.....containerPort. A service.port is the only thing we want to configure in this situation.
I ran into this when attempting to deploy a service of LoadBalancer on port 80.
Special notes for your reviewer:
An argument could be made that the vscode changes don't really fit here but I don't think the current implementation was ever working as the codercom/code-server image appears to listen on 8080 as opposed to the current default of 80.
Not sure if this is just a patch version increase but as stated these things currently don't work.
Checklist

[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [radarr])

This should be rebased as there were other changes to home-assistant

This PR is really out of sync with all the changes to the Hass chart recently, I am going to go ahead and close it.
We're planning on migrating this chart to use our common library, so this may not be needed but feel free to check back when that updated.


Devise in Rspec API Doc with Rails 5.0 and RSpec 3.6

The issue is that the Devise helpers are unable to access the request object which is needed for Devise's ControllerHelper login.
I'm calling the login_with method within my before block, and loading the same rails_helper I use with my rspec environment which allows me to access this variable and login with Devise:
before(:each) do
    login_with current_user
    header 'Accept', 'text/html'
    header 'Content-Type', 'text/html'
  end

I can access the helper module and call the method, but it always gives an error of not being able to access 'env of nil:NilClass' when using @request, and ' undefined local variable or method `request' ' when using the variable.
I have also tried to access request from the helpers, and controller objects, but to no avail. I did try the older solution found in #272 , and after some changes it also had the same issue. Has anyone been able to get this working? Do I need to do something different with my tests to get a accessible request?

Sounds like Devises test helper is monkey patching Rails and this is broken in Rails 5, try raising an issue with them.

My apologies, that previous issue threw me off to the wrong repo. Thanks!


fix #12192 Support SSH for go get

fix #12192 Support SSH for go get

Awesome, thank you very much!
The only nits seems:

The config name "USE_GIT_CLONE_URL" seems not related to its meaning?  It might be something like "GO_GET_CLONE_URL_PROTOCOL = ssh/https" (only check "ssh" for ssh, other values for http/https?)
The app.example.ini and cheatsheet-....-en.md needs to be updated accordingly.

Thank you again ~~

I won't necessarily hold back this PR, but the more common way to do this is to handle it in your git config.
[url<EMAIL_ADDRESS>    insteadOf = https://domain.tld/

While it's perhaps nice for Gitea to be able to do this, it could cause confusion when this doesn't work on other forges that don't have a knob for it.

go get just uses git under the hood (when git is the vcs specified), so it uses this meta tag to pass to clone.
From there you're (more or less) in git land.

The url insteadOf trick is pretty good, but there is one limitation: if a site admin deploys Gitea in their internal network, they are able to force every developer to do so ..... 🤣

I see, so the current flow is:

go get to HTTPS -> gets HTTPS url, git clone changes HTTPS to SSH

Afterwards with the option flipped:

go get to HTTPS -> gets SSH url, git clone SSH, skipping the requirement for config

Take a look at the go get protocol, Go client will try different protocol one by one. So maybe we can put both. That means, both meta will be included so which one is work will be decided by Go client.

Yup, if someone could spend some time on confirming that "putting both SSH/HTTPS links" works, that's much better, and no need to add the new config option.

At least, go get will read multiple metas if I'm not wrong. https://github.com/golang/go/blob/a25688d406f2a4296d39b22a2b10aea7178eddc6/src/cmd/go/internal/vcs/discovery.go#L31

At least, go get will read multiple metas if I'm not wrong. https://github.com/golang/go/blob/a25688d406f2a4296d39b22a2b10aea7178eddc6/src/cmd/go/internal/vcs/discovery.go#L31

Does it go back to the history? "the previous comment https://github.com/go-gitea/gitea/issues/12192#issuecomment-657190979"

only "db-tests / test-mysql8 (pull_request) " fail, but This has nothing to do with this patch.
只剩一个 "db-tests / test-mysql8 (pull_request) ", 但它与本补丁无关


Revert #848 "If the SP provided a RequestedAuthnContext in the AuthnRequest, replicate this to the IdP"

This reverts commit df2678a6
https://github.com/OpenConext/OpenConext-engineblock/pull/848

I've taken the liberty to rename the PR title, feel free to rephrase it if you think it makes no sense.
Also is there a Pivotal ticket to link this to? Either include this, or add additional context to the commit message and PR description. It might be insightful in the future to be able to read why this feature was rolled back.


Add a jfxbuilder for easy GUI creation [WIP]

This PR needs more refining on how to design the builders, implement more containers and components. It could be ported as a standalone project of mine entirely.

I will close this PR and maybe move this to a standalone project.


[feature]: Add categorization to all entities (#1046)

Addresses: https://github.com/restarone/violet_rails/issues/838
User & ApiNamespace
https://user-images.githubusercontent.com/25191509/186474033-22993b51-3f83-40b0-9813-68ca2f1f943f.mp4
MessageThread
https://user-images.githubusercontent.com/25191509/186474090-62b1a632-e6d5-453a-b85c-77843f393bb5.mp4
Layout
https://user-images.githubusercontent.com/25191509/186474129-f4e28101-944d-45bc-b56a-23e0af1ce92e.mp4

Acceptance criteria 📋

General regression pass: querying API resources
General regression pass: querying API namespaces
General regression pass: sorting users
General regression pass: CRUD in CMS layouts
General regression pass: CRUD in CMS layouts


log-opt should not be quotted

Cookbook version
4.9.0
Chef-client version
14.9.13
Platform Details
Devuan ascii (debian Jessie no sysyemD)
docker version: 18.06.1~ce~3-0~debian
Scenario:
Specifying multiple log options will cause them to be quoted (I think #936 introduced this).
This will, on sysvinit system, update init script to something like:
DOCKER_OPTS="--log-driver=syslog --log-opt 'syslog-facility=local5' --log-opt 'tag={{.ImageName}}/{{.Name}}' "
This is causing error on start:

Error starting daemon: failed to set log opts: unknown log opt ''tag' for syslog log driver

Two solutions to address this (IMO):

remove quotes - parameters should not have white spaces (and if user wants them they should add them in proper place)
move options to docker.json as is now advised by docker standards (does not apply when overriding options on container basis)

Also - quotes where introduced into cookbook 1y ago so I'm gonna see if updating docker daemon will help in this
Steps to Reproduce:

use systemv (not sure if upstart / systemD is affected)
add multiple log_opt as dict into docker_service
run chef-client and then try to (re-)start docker service using init script

Expected Result:
no quotes around options and service to start
Actual Result:
service refuse to start as quote is interpreted as part of option

Hi @ttr, In order to Specify multiple log options, we need to pass log_opts in array format like this:
docker_service 'default' do
  log_opts ['mode=non-blocking', 'max-buffer-size=4m']
  action [:create, :start]
end

Could you please check it on the latest version of the docker cookbook?
I have verified, its working fine on the latest version of the docker cookbook

It's working on the latest version of the Docker cookbook, So closing this issue.
If you are still facing this issue, you can reopen it.
Thanks!


chore: gracefully close HTTP server and gRPC server in Run

Description
This PR cleans up the Close method of the OpenFGA server in favor of context based closure in the run method. We had both ways of handling server closure and it wasn't clear which one should be used.
The intended usage is, for example,
func main() {
    ctx, stop := signal.NotifyContext(context.Background(), syscall.SIGINT, syscall.SIGTERM)
    defer stop()

    var server *server.Server

    go func() {
        if err := server.Run(ctx); err != nil {
            // handle error
        }
    }()

    <-ctx.Done()
}

Review Checklist

[X] I have added documentation for new/changed functionality in this PR or in openfga.dev
[X] The correct base branch is being used, if not main

Codecov Report

Merging #22 (1fc8b9d) into main (54a9363) will decrease coverage by 0.02%.
The diff coverage is 83.33%.

@@            Coverage Diff             @@
##             main      #22      +/-   ##
==========================================
- Coverage   76.77%   76.74%   -0.03%
==========================================
  Files          69       69
  Lines        7948     7943       -5
==========================================
- Hits         6102     6096       -6
  Misses       1432     1432
- Partials      414      415       +1

Impacted Files
Coverage Δ

cmd/openfga/openfga.go
46.61% <ø> (-0.45%)
:arrow_down:

server/server.go
28.65% <83.33%> (-0.54%)
:arrow_down:

server/commands/check_utils.go
92.43% <0.00%> (-1.20%)
:arrow_down:

storage/postgres/postgres.go
66.59% <0.00%> (-0.68%)
:arrow_down:

server/commands/check.go
86.78% <0.00%> (+0.60%)
:arrow_up:

server/errors/errors.go
80.88% <0.00%> (+1.47%)
:arrow_up:

pkg/tuple/validation.go
69.44% <0.00%> (+2.77%)
:arrow_up:

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 54a9363...1fc8b9d. Read the comment docs.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.0 out of 2 committers have signed the CLA.:x: jon-whit:x: craigpastroYou have signed the CLA already but the status is still pending? Let us recheck it.


Why use custom pub/sub instead of $rootScope?

A custom pub/sub implementation is slightly more performant than if one were to use $rootScope to pass messages. However, it makes it easier to leak memory when one forgets to unsubscribe to an event when a scope is destroyed. The pub/sub also adds to learning curve of Foundation for Apps as someone will have to wrap their heads around the Foundation pub/sub system in addition to the Angular event system. Using $rootScope would also reduce the degree component coupling to the core.
Here is an interesting article by Ben Nadal that illustrates the benefits better than I can: http://www.bennadel.com/blog/2734-using-the-scope-tree-as-a-publish-and-subscribe-pub-sub-mechanism-in-angularjs.htm
As a side note, in your contribution guide it states that contributors should tag their issues. I'm not sure non collaborators have permission to do that.

I agree with @circlingthesun.  I recently switched all the internal messaging in my apps to use the angular pub/sub method as it greatly simplified sending messages and data from one part of the app to another.  One additional benefit of using the angular sub/pub, is that you can broadcast messages to your children elements only as well as emit from your child elements to the parent, which could be useful in some of the foundation components.

Also, if every angular library implemented its own pub/sub system, using more than a few in a project would quickly become a headache.

You think there's any way to make improvements that are backwards-compatible, or would we need to wait for a major release to work on this?
It's also likely that v2 of this framework will be written in Angular 2, so then all of this is out the window anyway ;)

I think it is possible to come up with a solution for backward compatibility (e.g. turn foundation sub/pub into wrapper for $rootScope $on/$broadcast and internally switch to using only angular sub/pub), however, in agreement with your last statement, it's all throw away work if the framework is converted to angular 2 (which I'm all for!).  Unless there are limitations in the foundation sub/pub that must be fixed to develop certain features, I'm not sure converting to use the angular sub/pub system would be worth the cost.  Having used F4A for awhile now, I rarely use the foundation sub/pub in my JS code as the F4A directives take care of most cases where it's needed, so being required to continue to use the foundation sub/pub in those rare cases isn't a huge deal for me.

Sounds solid. We have no timeline for a v2 of Foundation for Apps, but there's also no real timeline for Angular 2's release. We're keeping a close eye on it, though.
With that in mind, I'm going to close this out. There are some big things that we have to wait until a major version to change. But we're always keeping track of this stuff, so we love the feedback. Keep it coming! :)


Update hosts

www.interia.pl is a news website and e-mail provider, akin to something like msn.com

If I need to provide any additional info please let me know.


[Packing]Notarizing your software,Have you met any of them

Run xcrun altool --notarize-app -f MyApp.app --primary-bundle-id com.identifier -u username -p password. You can use a password in your keychain by passing `-p "@keychain:AC_PASSWORD", where AC_PASSWORD is the key. The account has to be registered as an Apple Developer.
Now,I've done  the 2th step ,but failed.The exception is “ Error: Is a directory The operation couldn’t be completed. Is a directory”，
I am executing the statement in the current directory. my statement is "root$ xcrun altool --notarize-app --file "TestApp.app"    --primary-bundle-id "com.test.ios" -u<EMAIL_ADDRESS>-p "0011-o111-111e-z111""
The file structure is as follows:
root$ ls
MyAppEntitlements.entitlements	cert.sh
TestApp.app			sign.sh
TestApp.dmg

@Deadpikle

@wuzlai Looks like I forgot a step when writing those docs. You have to put your .app in a .zip file before you upload it, then run xcrun altool on the .zip file. You still staple the .app at the end, though. I will revise the docs and submit a PR for them momentarily.
@kekekeks Thanks for the highlight and bringing this to my attention.


Adds a sample resource plugin to demonstrate resource access control in action

Description
This PR introduces a sample plugin aimed at demonstrating the usage of resource access control in action. Resource access control is introduced in https://github.com/opensearch-project/security/pull/4746
Issues Resolved
[TBD]
Testing
Automated + Manual
Check List

[ ] New functionality includes testing
~- [ ] New functionality has been documented~
~- [ ] New Roles/Permissions have a corresponding security dashboards plugin PR~
~- [ ] API changes companion pull request created~
[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Is there any way we can add tests and run them as a CI check for the sample plugin? (preferably w/o relying on core-side changes bc its not clear when core-side changes can be merged)

Is there any way we can add tests and run them as a CI check for the sample plugin? (preferably w/o relying on core-side changes bc its not clear when core-side changes can be merged)

ATM, No. These changes rely on interfaces supplied by core.


Changing relationship configuration API to separate calls for each end.

The new API will also avoid overriding existing configuration implicitly. E.g. calling Entity.HasOne(e => e.Details); will by default configure the relationship as one to many with Order as the dependent end. However If there was already a one to one relationship involving the "Details" navigation then the existing relationship and the associated FK will not be changed as no conflicting configuration has been explicitly specified.
Fixes #1383, #1152

:shipit: Note that this change will break Identity and MusicStore, and possibly Diagnostics and Scaffolding.

Already have fixes locally, don't think PRs are necessary.
Sent from my Windows Phone

From: Arthur<EMAIL_ADDRESS>Sent: ý1/ý14/ý2015 6:46 PM
To<EMAIL_ADDRESS>Cc: Andriy<EMAIL_ADDRESS>Subject: Re: [EntityFramework] Changing relationship configuration API to separate calls for each end. (#1410)
[:shipit:] Note that this change will break Identity and MusicStore, and possibly Diagnostics and Scaffolding.
—
Reply to this email directly or view it on GitHubhttps://github.com/aspnet/EntityFramework/pull/1410#issuecomment-70032017.

Agreed


Add dragdealer to bower

There has been a pull request on the matter here #27 and #30 but dragdealer as of now can't be found from bower.
$  bower install dragdealer
bower                        ENOTFOUND Package dragdealer not found

What about now?

:+1: works!


When you click bold or italic as the first Korean language, the characters are broken. (related placeholder)

Describe the bug
When you click bold or italic and type the first Korean language, the characters are broken.
and this problem only reproduces when the placeholder option is enabled.
To Reproduce

See your placeholder example page (https://nhn.github.io/tui.editor/latest/tutorial-example17-placeholder)
use Wisywic mode.
Click Bold or Italic
typing any korean language
See Error (example: typing '가' -> 'ㄱ 가')

Expected behavior
Korean should be exposed normally.
Screenshots
https://user-images.githubusercontent.com/14008805/199437598-76196152-f62d-44c8-8cf0-79ad04f4a8f2.mov
Additional context
I Hope fixed this issus ASAP~ Thanks

Thank you for the issue. we'll check it later.


BAU: Make cimit stub deployable to dev envs

Proposed changes
What changed
Make cimit stub deployable to dev envs
Why did it change
The dev envs were split into two accounts. This allows the cimit stub to be deployed to them. CloudFormation is really lovely.

Already done. I'm silly.


Uncaught TypeError: Cannot read property 'send' of undefined

When clicking one of the icons (ball, eggs, inventory) in OpenPoGoUI nothing happens but the following error-message is shown in JS-console:
Uncaught TypeError: Cannot read property 'send' of undefined app.js:12

It seems that the global.ws property does not get set properly.

could you check again with this url: http://openui.nicontoso.eu (dev env)?

That's at least giving me log messages:
[2016-08-09 17:29:11] Web UI action: Pokemon List
[2016-08-09 17:29:13] Web UI action: Eggs List
[2016-08-09 17:29:14] Web UI action: Inventory List

But in the UI nothing pops up

Could you also share your brower log?

I got this on branch master
Load config from storage
jquery-3.1.0.min.js:4 Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.
socket.js:13 Connecting to ws://localhost:8000
socket.js:24 Connected to Bot
socket.js:29 bot_initialized
app.js:12 Uncaught TypeError: Cannot read property 'send' of undefined

Checked out gh-pages -- now it works. I was assuming, that master was the newest branch.
I think, this can be closed.

You should not play with source unless you want to contribute.
Always connect to the url to use the gui.
For now the url is http://openpogoui.nicontoso.eu.
I should remove master so it's more clear.


Add multiple page content stream APIs

Currently the PDF write API only supports a single page content stream, while the read API supports an arbitrary number of streams, as supported by the PDF format.
Proposed API:
extern pdfio_obj_t *pdfioFileCreatePageObj(pdfio_file_t *pdf, pdfio_dict_t *dict) _PDFIO_PUBLIC;

extern pdfio_stream_t *pdfioPageCreateStream(pdfio_obj_t *page, pdfio_filter_t compression) _PDFIO_PUBLIC;

Usage:
pdfio_file_t *pdf; // PDF file
pdfio_obj_t *page; // Page object
pdfio_dict_t *dict; // Page dictionary

page = pdfioFileCreatePageObj(pdf, dict);

pdfio_stream_t *st1, *st2;

st1 = pdfioPageCreateStream(page, PDFIO_FILTER_FLATE);
// write some page content commands to the stream
pdfioStreamClose(st1);

st2 = pdfioPageCreateStream(page, PDFIO_FILTER_NONE);
// write some page content commands to the stream
pdfioStreamClose(st2);

// Close the page object to write it out...
pdfioObjClose(page);

Moving this to the "future" milestone - not critical to support.

Also lowered the priority because you can merge multiple streams when writing anyways...


Failing to remove some redundant imports

    The import of ‘I, Identity’ from module ‘Schwarma.HKD’ is redundant
Schwarma.HKD (I, Identity(I), unI)

This is expected since I is ambiguous. Should the plugin emit a message instead of silently failing?


Upgrading to vlitejs@6 in jsdelivr.net doesn't work.

Describe the bug
Version 5 works but when I update to version 6 I receive ReferenceError: Vlitejs is not defined.

Steps to reproduce

Expected behavior
Can access Vlitejs function after import in v6.
Screenshots and recordings
No response
Vlite.js
6.0.1
Browser
Any
OS
Linux
Additional context
No response

Hello @ignl, thanks for the report.
Vlitejs version 6 is ESM only, as explained in CHANGELOG.md. This is a radical change because not all projects are ready to move to EcmaScript modules yet, but that's where we are heading.
Documentation for use with a CDN describes the use case
https://github.com/vlitejs/vlite?tab=readme-ov-file#cdn
If you cannot migrate your project to ESM, you can perfectly keep version 5, it is stable.

Ah OK thanks! Missed that.