Favicon

Fixes #3
There were more than 1 way to fix this.  It looks like the theme was written to look for favicon.png instead of favicon.ico.  This didnt feel right to me, so I edited the partial.  If it is preferred to not edit the theme code, then we could just add favicon.png to the static directory and call it a day.

Couple of points. Editing the theme doesn't actually edit what gets rendered. If you want to change that partial, then you need to copy the themes/.../layouts/...file into the layouts directory of the main repository.

I might be misunderstanding what you are saying @autodidaddict...are you saying that the current edits dont change the render?  When I look at the code in the netlify deploy preview, it appears to have pulled the edits though.
<link rel="shortcut icon" href=https://deploy-preview-4--dreamy-golick-5f201e.netlify.app/images/favicon.ico type=image/x-icon>
<link rel="shortcut icon" href=https://deploy-preview-4--dreamy-golick-5f201e.netlify.app/images/favicon.ico type=image/vnd.microsoft.icon>
<link rel=icon href=https://deploy-preview-4--dreamy-golick-5f201e.netlify.app/images/favicon.ico type=image/x-icon>

Or are you saying that I should have copied it into the layouts directory so that it over-rode the theme default and not touched the one in the themes/ directory?  Not that it matters (I am more curious for future Hugo edits), I think that I agree with just moving a favicon.png into the static directory and calling it a day.  Thanks!!

Reverted and back to the original.  The favicon.png is rendering as expected :-)
    <link rel="shortcut icon" href=https://deploy-preview-4--dreamy-golick-5f201e.netlify.app/images/favicon.png type=image/x-icon>

I wonder if this behavior is theme dependent or version related. On my own site changes made in the themes folder don't render and I have to create and override. :thinking_face:


[LibSquoosh] Wrong main entry

https://github.com/GoogleChromeLabs/squoosh/blob/dev/libsquoosh/package.json#L6
Should be build/index.js.
Error on Windows.
Error: Cannot find module 'E:\build\index.js'. Please verify that the package.json has a valid "main" entry

@surma Sorry for ping. Can you look at this? We have the same problem. Problem here https://github.com/GoogleChromeLabs/squoosh/blob/dev/libsquoosh/package.json#L6, it should be relative path, i.e. "./build/index.js" otherwise package is not working in Node.js, it is blocker to get support Squoosh https://github.com/webpack-contrib/image-minimizer-webpack-plugin/pull/206

it should be relative path, i.e. "./build/index.js"

Do you want to make a PR? Should be a quick change.

I believe ./build/index.js is the correct way to do it, but only because that's how I have seen other packages do it. I don't think anyone has ever documented what the best/correct solution is.
I wouldn't mind adding a PR for this, but since no one has provided a valid test case, I can't test if it actually solves the problem. I just did a quick test implementation on Node 14.17 on Windows, and everything worked as it should without any modifications.

@RReverser done https://github.com/GoogleChromeLabs/squoosh/pull/1041


Linuxgurugamer's netkan generator

This is for information only.
I've updated my script with the following changes:

Looks for and excludes the Mac-specific files/directories
Looks for a Ships folder, and if found it installs the included ships
Looks for included *.pdb files, and adds a filter to exclude them if found
Looks for files ending in tilde, and if found, adds a filter to exclude them

The Zenit3SLBReduzx netkan was the first one made with these new changes.  Hopefully this will make more reliable  files moving forward.

Sounds like you've got quite a bit of automation happening for all those mods you're taking on!

I couldn't do it without automation. But this is used only to generate netkan files

Does your script handle NetKANs for where the one release has 3 different versions? Im currently looking at your (Blizzy's) Toolbar <IP_ADDRESS>, which has three different subversions (one for each of KSP 1.4.5, 1.5.1, and 1.6.1).
I wanted to ask if there could be CKAN metadata for those versions added, but the CKAN metadata repo doesnt have Issues enabled, and Im not sure if a NetKAN can figure out subversions within a single Release?

Not at the present.  It works by looking at the release zip and deriving information from it

A netkan file for each subversion would need to be created, extracting the relevant files and splitting Toolbar into multiple conflicting/providing entries.

Test

I'm assuming we can close this as there don't seem to be any open tasks to complete.
Please let us know if that's mistaken.


Add video by @prosoitos

Link to suggestion
https://www.youtube.com/watch?v=U5Gl_X6Z7Lk
Targeted section
Talks and videos
Describe your suggestion

DataFrames on steroids with Polars ⏳ 42 min - A video that demonstrates Polars for Python and shows how much faster it is compared to pandas while remaining just as convenient by @prosoitos. Slides are available here.

Checklist

[X] checked if your suggestion is not already listed in Awesome Polars list.
[X] checked if it can fit in an existed section or suggest a new section and explain why your item does not fit into one and what would be the interest of your new section.
[X] checked when it's a repository if it's maintained (archived repository will be rejected).

@prosoitos your presentation will be added to the awesome polars list !

Ah ah ah 😄 Cool! Thank you!


🐛 Fix overriding OS env var from Makefile

What this PR does / why we need it:
Seems like #758 has overridden the OS var exported for e2e test here https://github.com/metal3-io/cluster-api-provider-metal3/blob/9db40bfee4ea49ffba46c47235d51ef719a385ff/test/e2e/pivoting_based_feature_test.go#L35
Jenkins logs main e2e test : https://jenkins.nordix.org/view/Metal3 Periodic/job/metal3_daily_main_e2e_test_centos/117/console

/test-ubuntu-integration-main
/test-centos-e2e-parallel-main

/assign @furkatgofurov7
cc @schrej

Sorry!
/lgtm

@schrej: adding LGTM is restricted to approvers and reviewers in OWNERS files.

@schrej we follow the process described in our community documentation [1] to add the reviewers in the repo (the bar is not that high, 10 commits).
[1] https://github.com/metal3-io/metal3-docs/blob/main/processes/reviewer-permissions-migration.md


Wrong peer dependencies on addons sub-packages

Issue details
@ storybook/addon-* should peer depend on same version as @ storybook/addons
Steps to reproduce
npm install --save-dev @storybook/cli
getstorybook --use-npm
npm shrinkwrap -dev
npm ERR! Linux 3.13.0-43-generic
npm ERR! argv "/home/evan/.config/fnm/bin/node" "/home/evan/.config/fnm/bin/npm" "shrinkwrap" "-dev"
npm ERR! node v6.9.5
npm ERR! npm  v3.10.10

npm ERR! Problems were encountered
npm ERR! Please correct and try again.
npm ERR! peer invalid<EMAIL_ADDRESS>required by<EMAIL_ADDRESS>npm ERR! peer invalid<EMAIL_ADDRESS>required by<EMAIL_ADDRESS>npm ERR! peer invalid<EMAIL_ADDRESS>required by<EMAIL_ADDRESS>
Please specify which version of Storybook and optionally any affected addons that you're running

@ storybook/addon-* 3.4.0-alpha.1 and 3.4.0-alpha.2

Affected platforms

node v6.9.5
npm  v3.10.10

Is this fixed with that dependency PR you created? @Hypnosphi?

I don't think the general issue can be fixed without adding * as peerDep versions. At least, I'm not aware of other ways to match all the future alpha versions

those peer deps are removed in #3383

Released as 4.0.0-alpha.3


[REVIEW]Salonee-Jain

Portfolio link
https://github.com/Salonee-Jain/Salonee-Jain

Great profile! I liked how you made it simple, concise, and short. It looks great! 😄👍
I just made a pull request to add a missing comma where you introduced yourself. 🙂
Thank you for sharing your profile with us! 😃

Made also a little pr for you https://github.com/Salonee-Jain/Salonee-Jain/pull/3

Looks great! Some suggestions from the live stream https://www.youtube.com/watch?v=UYiuVStI85M

Great you have a profile picture, maybe use the one from Twitter as it is clearer
Suggest moving animated green square gif into hidden details section and move out of hidden section the What I am currently learning / improving on and Get in touch


Fix to missing .js language files when no file found for a language

Fix for editors not showing when no js language file is present


Array expansion

First of all, thanks a lot for maintaining this great library.
We're using MariaDB with Dapper & DapperQueryBuilder and currently having some issues with array expansion. Dapper expands each element in the IN query like col IN (@p1, @p2) but DapperQueryBuilder just leaves it like col IN @parray1, which doesn't work for MariaDB/MySQL.
@Drizin @jehhynes Do you have any suggestions?

Hi @smddzcy .
That should be an easy change: check out how we're doing for the Parameters Prefix to allow other databases (e.g. Oracle) and you can do something similar to have a public lambda function returning the string of how IN parameters should be rendered.
If you're not ok with doing the PR I can certainly work on that next week.

I already checked the source code but couldn't find an easy way to achieve this, and I'm going on a 2-week vacation tomorrow, so I won't have much time to look into it 😄
As a quick fix, I monkey patched the IN query in our code like this:

Actually I think I need more context here.
Basically our library expands array in the same way as Dapper - but we (like them) don't add any parentheses or anything.
If you send where column IN ({array}) it will have parentheses (IN (@parray0)), if you don't use parentheses they you won't get them (IN @parray0).
Can you send the full code of what you're doing and what error you're getting?

Actually I think I need more context here. Basically our library just pass the arrays to Dapper so it should expand exactly like Dapper do. We don't add any parentheses (except for grouping multiple different where predicates).
If you send without parentheses ($ "where column IN {array}) Dapper should get the query without parentheses ( IN @parray0 ), and then I assume Dapper PackListParameters should do whatever it does for the different databases.
Can you send the full code snippet (comparing Dapper and DapperQueryBuilder) and more details about what Dapper is receiving?

@smddzcy I created a MariaDB database and a unit test for array expansion in MariaDB/MySQL: It seems to be working fine.
When Dapper PackListParameters is invoked it adds the parentheses IN (@parray01,@parray02) but even though it seems to be working fine with my MariaDB version. Maybe you're doing something different?

@Drizin the field we're using is a nullable array, just like this:

Can you try with a test case where the parameter is an array of enums like this, instead of a List? Maybe the List is working fine but an array (or a nullable array) is not.

Like this?
public enum AuthorsEnum
{
    Kafka = 1,
    MachadoDeAssis = 2,
}
[Test]
public void TestNullableEnumArrays()
{
    AuthorsEnum[]? authorIds = new AuthorsEnum[] { AuthorsEnum.Kafka, AuthorsEnum.MachadoDeAssis };
    var authors = cn.QueryBuilder($"SELECT * FROM authors WHERE author_id IN {authorIds}").Query<Author>();
    Assert.That(authors.Any());
    Assert.AreEqual(cn.PreviousCommands.Last().CommandText,
        "SELECT * FROM authors WHERE author_id IN (@parray01,@parray02)");
}

It's working for me. Check unit tests.
Would you like to share your full source code and the error you're getting?
In Unit Tests you should find UnitTestsDbConnection.cs which might be helpful to capture what exactly is being sent to Dapper.

The only difference from our source code is now there "WHERE" part. We use /**where**/ and populate the where query dynamically.
Here's the error we get:
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '@parray4 AND...'

I'm afraid you'll have to provide more details here.
Either you can share a minimal reproducible example (where I can just paste and reproduce your error) or you'll have to troubleshoot yourself. You can wrap your connection using UnitTestsDbConnection.cs and then you can check what exactly is being sent to Dapper. (cn.PreviousCommands.Last().CommandText and cn.PreviousCommands.Last().Parameters)

@smddzcy By the lack of response I'm assuming it's working, so I'm closing this.
Please reopen (with more details) if it's not working.


Winget Dapr version not updated

Expected Behavior
winget should be able to install the latest released Dapr CLI version.
Actual Behavior
winget seems to be a few (patch) versions behind.
Steps to Reproduce the Problem
❯ winget search dapr
Name     Id               Version    Source
--------------------------------------------
CLI      Dapr.CLI.Preview 1.9.0-rc.1 winget
Dapr CLI Dapr.CLI         1.9.1      winget     <==== latest version is 1.9.1 in winget

Latest Dapr CLI version available at the time of opening this issue: 1.9.5.
The version available in winget is ~1.5 months old. There were 4 more versions released since then.

The latest release of Dapr CLI is only 1.9.1.
https://github.com/dapr/cli/releases/tag/v1.9.1
Only the Dapr runtime has version 1.9.5, https://github.com/dapr/dapr/releases/tag/v1.9.5 .
Dapr CLI is used to initialize the dapr runtime and both follow the same major and minor versions, but the patch versions are independent of each other.


Updating mbed-os to mbed-os-5.4.4

Please test/merge this PR and then tag Master with mbed-os-5.4.4

I have problems running CI tests against the HW. Build however works, and stack has not been changed at all, so I'm not assuming any problems.
Merging this in.


Segmentation fault in lcp for the terminal symbol alone

I'm testing the package on random data:
>>> sequence = '$'
>>> sa = pysais.sais(sequence)
>>> lcp, lcp_lm, lcp_mr = pysais.lcp(sequence, sa)
Segmentation fault (core dumped)

(I observed segmentation faults also on normal data sometimes if I omitted the terminal symbol. But I understand that you strictly require it.)

The corner case of sequence = '$' should be easily fixable with an if statement. Same goes for checking the presence of the terminal symbol. But the way I see it, these checks of input data just eat up CPU cycles. And the only reason why I'm using the SAIS C module is to gain the speed that would be unattainable with a pure python implementation.
You're very welcome to add the checks and I'll merge it.


Does wellcommerce work in php5?

Asking because I wanna try it but I have no experience at all working with php7

@RodolVelasco At this moment WellCommerce utilizes new PHP7 features such as return types. It won't run on lower PHP versions. We've bumped this requirement recently because PHP 5.6 will be supported for about 8 months from now and changing it in a hurry will cause too many BC breaks (see  http://php.net/supported-versions.php)
If you own a VPS, the upgrade from 5.6 to 7 is pretty straightforward and in most cases shouldn't break anything (we've upgraded production servers for our legacy apps working on 5.6). You can also use one-click Deploy to Heroku button to set-up own demo. Heroku's free plan will be sufficient.


Access to AWS Registry for rsquared-core

Hey guys.
Would be really helpful to open access to AWS registry.  According to your documentation (README.docker) it should be available via
public.ecr.aws/rsquared/rsquared-core:latest

It would make cloud deployments a lot smoother and also ensure that community is not running into any malicious builds.

Community build is available via
docker pull lunacrafts/rsquared-core:latest
(will be removed before mainnet / once official image is available)

@R-SQD If you're willing to consider dockerhub instead of ECR:
https://github.com/RevolutionWhales/R-Squared-core-image/blob/development/.github/workflows/build_image.yaml

Fyi - updated:
https://github.com/R-Squared-Project/R-Squared-core/pkgs/container/r-squared-core


Implemented Sign-Up and Sign-In Authentication Flow with User Validation

Implemented authentication flow for sign-up and sign-in functionality.
Sign-up & Sign-in Forms: Created forms for user authentication, including username, phone number, provider selection, and PIN input.
Provider Prefix Update: Implemented dynamic prefix update based on the provider selected (Hormuud, Somtel, Telesom, Golis, Somnet).
Input Validation: Added validation for empty fields (username, phone number, provider, and PIN) during both sign-up and sign-in processes.
User Storage: Integrated chrome.storage.local to handle user data (storing new users and retrieving existing users for sign-in). Implemented checks to ensure phone numbers are unique during registration.
PIN Toggle: Implemented the functionality to show/hide the PIN during input.
UI Enhancements: Added error and success messages to provide feedback to the user for various actions (e.g., incorrect phone number, PIN, or successful account creation).
Auth Form Toggle: Enabled switching between sign-up and sign-in forms with dynamic content updates.

@dugsiiyeinc/dhaqsopay-extension-developers dhalinyaro maad review-gareesaan ood aqbashaan ? qofka sameeyay maahee qofka kale review ha siiyo hana aqbalo Insha'Allah!

Eng review ayaa siyay waaka sugeynaa
Waxaa iskala hadalnay discussion-kanoo furan

Eng review ayaa siyay waaka sugeynaa Waxaa iskala hadalnay discussion-kanoo furan

haa sax. review halkaan ka bixiya oo request changes dooro hadii aad u dirtay wax soohagaajin Insja'Allah!

Ok hada kadib pull request-gaa kasameenaa I.a


cannot boot a guest

I've recently been getting the following splat and cannot work around it so far (this is on latest and older branches of qemu). This occurs with the most basic invocations of run_qemu.sh.
EFI stub: Loaded initrd from LINUX_EFI_INITRD_MEDIA_GUID device path
!!!! X64 Exception Type - 0D(#GP - General Protection)  CPU Apic ID - 00000000 !!!!
ExceptionData -<PHONE_NUMBER>000000
RIP  - 000000004FE7CD45, CS  -<PHONE_NUMBER>000038, RFLAGS -<PHONE_NUMBER>010206
RAX  -<PHONE_NUMBER>6F0074, RCX - 000000007F258A80, RDX - 000000007E43EAC0
RBX  - 000000007E39A000, RSP - 000000007FE9B760, RBP -<PHONE_NUMBER>000000
RSI  - 000000007FEB31A0, RDI - 00000000AFAFAFAF
R8   - 000000007E399B98, R9  - 000000007FE9B800, R10 - 00000000AFAFAFAF
R11  - 00000000AFAFAFAF, R12 -<PHONE_NUMBER>6F0074, R13 - 000000007FE9B800
R14  - 000000004F4B5000, R15 -<PHONE_NUMBER>000001
DS   -<PHONE_NUMBER>000030, ES  -<PHONE_NUMBER>000030, FS  -<PHONE_NUMBER>000030
GS   -<PHONE_NUMBER>000030, SS  -<PHONE_NUMBER>000030
CR0  -<PHONE_NUMBER>010033, CR2 -<PHONE_NUMBER>000000, CR3 - 000000007FC01000
CR4  -<PHONE_NUMBER>000668, CR8 -<PHONE_NUMBER>000000
DR0  -<PHONE_NUMBER>000000, DR1 -<PHONE_NUMBER>000000, DR2 -<PHONE_NUMBER>000000
DR3  -<PHONE_NUMBER>000000, DR6 - 00000000FFFF0FF0, DR7 -<PHONE_NUMBER>000400
GDTR - 000000007F9DE000<PHONE_NUMBER>000047, LDTR -<PHONE_NUMBER>000000
IDTR - 000000007F25E018<PHONE_NUMBER>000FFF,   TR -<PHONE_NUMBER>000000
FXSAVE_STATE - 000000007FE9B3C0

Yep I saw this too on Friday and I think rewinding back to an older qemu fixed things. I can post the qemu commit I had success with tomorrow
-------- Original Message --------
On Jul 31, 2022, 16:52, Davidlohr Bueso wrote:

I've recently been getting the following splat and cannot work around it so far (this is on latest and older branches of qemu). This occurs with the most basic invocations of run_qemu.sh.
EFI stub: Loaded initrd from LINUX_EFI_INITRD_MEDIA_GUID device path
!!!! X64 Exception Type - 0D(#GP - General Protection) CPU Apic ID - 00000000 !!!!
ExceptionData -<PHONE_NUMBER>000000
RIP - 000000004FE7CD45, CS -<PHONE_NUMBER>000038, RFLAGS -<PHONE_NUMBER>010206
RAX -<PHONE_NUMBER>6F0074, RCX - 000000007F258A80, RDX - 000000007E43EAC0
RBX - 000000007E39A000, RSP - 000000007FE9B760, RBP -<PHONE_NUMBER>000000
RSI - 000000007FEB31A0, RDI - 00000000AFAFAFAF
R8 - 000000007E399B98, R9 - 000000007FE9B800, R10 - 00000000AFAFAFAF
R11 - 00000000AFAFAFAF, R12 -<PHONE_NUMBER>6F0074, R13 - 000000007FE9B800
R14 - 000000004F4B5000, R15 -<PHONE_NUMBER>000001
DS -<PHONE_NUMBER>000030, ES -<PHONE_NUMBER>000030, FS -<PHONE_NUMBER>000030
GS -<PHONE_NUMBER>000030, SS -<PHONE_NUMBER>000030
CR0 -<PHONE_NUMBER>010033, CR2 -<PHONE_NUMBER>000000, CR3 - 000000007FC01000
CR4 -<PHONE_NUMBER>000668, CR8 -<PHONE_NUMBER>000000
DR0 -<PHONE_NUMBER>000000, DR1 -<PHONE_NUMBER>000000, DR2 -<PHONE_NUMBER>000000
DR3 -<PHONE_NUMBER>000000, DR6 - 00000000FFFF0FF0, DR7 -<PHONE_NUMBER>000400
GDTR - 000000007F9DE000<PHONE_NUMBER>000047, LDTR -<PHONE_NUMBER>000000
IDTR - 000000007F25E018<PHONE_NUMBER>000FFF, TR -<PHONE_NUMBER>000000
FXSAVE_STATE - 000000007FE9B3C0
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

My qemu has been at:
29f6db75667f ("Merge tag 'pull-target-arm-20220627' of https://git.linaro.org/people/pmaydell/qemu-arm into staging")

Is this still an issue?


Add CAPI provider versions to logs

When using verbose logging (verbosity level >= 4), CAPI provider versions will be visible in logs for easier debugging.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/lgtm

/lgtm


feat: support custom request headers

Depending on the Trino server configuration, the ability to pass custom headers on a per-request is incredibly valuable. Transaction ID, instrumentation ID, and Authorization headers to name a few. This adds the ability to set custom headers using a sql.Named parameter where the name has the prefix X-Header-.
Testing

Unit test in trino_test.go.
Manually validated with a local Trino server.

I signed CLA earlier today but it may not be in the system yet.

There's a similar discussion in the main Trino repository: https://github.com/trinodb/trino/pull/15826. I think it also applies here. I'd rather discuss specific use cases and keep Trino clients in multiple languages consistent.


Decimal separator conversion

I'm using the "numeric" mask with this configuration:
$(".input-mask").inputmask('numeric', {
    radixPoint: '.',
    autoUnmask: true,
    rightAlign: false,
    unmaskAsNumber: true,
    removeMaskOnSubmit: true
});

When I try to press "," (comma), instead of prevent it, I would replace it with "." (dot) ... is it possibile?
Thank you

@billmn ,
Added

:+1:

If I empty a field and tried to use "," (comma) as a decimal separator, the script prevent it ... is it normal?

@billmn ,
Can you make a jsfiddle for it as I don't see the problem here.

Sure! https://jsfiddle.net/8ho816gv/
If you try to edit a populated field "comma" being replaced with "dot" ... with an empty field, the script prevent to type "comma"

In which browser are you testing?

Chrome 43.0.2357.132 64bit on OS X Yosemite

@billmn ,
So you cannot type a comma in the first field?  Can you try in another browser.
I tried with windows 8.  I will try in Linux this evening.

With Safari and Firefox works fine!

@billmn ,
I will try to find a hackintosh to install Chrome on osx yosemite.

@billmn ,
Now I see what you mean.  Overtyping 1234.56 with komma does not work.
I will fix that

@billmn ,
Fixed with the latest commit

Great work!!!
thank you

Hi there! I have same problem!
I can`t type comma if I set "radixPoint: '.'"  option...
Can we solve this? :)

@Dekabrist ,
I can solve that, but can you describe the defferent steps so it is clear what exactly I need to fix.  (create a new issue for it)


Convert Linux VM to MD

Correcting code samples

Hi @iainfoulds, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

It looks like you're a Microsoft contributor (Iain Foulds). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;


ModuleNotFoundError: No module named 'randomname'

Rasa Open Source version
3.0.6
Rasa SDK version
No response
Rasa X version
No response
Python version
3.8
What operating system are you using?
Windows
What happened?
i used conda to create a virtual env for which i used the command:
conda create --name rasa_project python==3.8 ujson tensorflow==2.6
after that i activated the env and installed rasa using:
python -m pip install rasa
when i use rasa init to initialize the project, i get the following error.
Command / Request
rasa init

Relevant log output
(rasa_project) F:\pc\BEPROJECT>rasa init
Welcome to Rasa! 🤖

To get started quickly, an initial project will be created.
If you need some help, check out the documentation at https://rasa.com/docs/rasa.
Now let's start! 👇🏽

? Please enter a path where the project will be created [default: current directory]
? Directory 'F:\pc\BEPROJECT' is not empty. Continue? Yes
Created project directory at 'F:\pc\BEPROJECT'.
Finished creating project structure.
? Do you want to train an initial model? 💪🏽 Yes
Training an initial model...
Traceback (most recent call last):
File "F:\pc\miniconda3\envs\rasa_project\lib\runpy.py", line 192, in _run_module_as_main
return run_code(code, main_globals, None,
File "F:\pc\miniconda3\envs\rasa_project\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "F:\pc\miniconda3\envs\rasa_project\Scripts\rasa.exe_main.py", line 7, in
File "F:\pc\miniconda3\envs\rasa_project\lib\site-packages\rasa_main.py", line 121, in main
cmdline_arguments.func(cmdline_arguments)
File "F:\pc\miniconda3\envs\rasa_project\lib\site-packages\rasa\cli\scaffold.py", line 238, in run
init_project(args, path)
File "F:\pc\miniconda3\envs\rasa_project\lib\site-packages\rasa\cli\scaffold.py", line 132, in init_project
print_train_or_instructions(args)
File "F:\pc\miniconda3\envs\rasa_project\lib\site-packages\rasa\cli\scaffold.py", line 64, in print_train_or_instructions
training_result = rasa.train(
File "F:\pc\miniconda3\envs\rasa_project\lib\site-packages\rasa\api.py", line 103, in train
from rasa.model_training import train
File "F:\pc\miniconda3\envs\rasa_project\lib\site-packages\rasa\model_training.py", line 6, in
import randomname
ModuleNotFoundError: No module named 'randomname'

@ShabbirK52 I gave this a quick try on a Macbook and, even though I didn't encounter the bug that your reported, things broke for me during rasa init after I installed tensorflow==2.6 via conda. More specifically, after I ran:
conda create --name rasa_project python==3.8 ujson
conda install -c conda-forge tensorflow==2.6

I wasn't able to train the initial model. Without installing tensorflow this way, and letting the rasa package properly install tensorflow as its dependency during python -m pip install rasa, everything worked. Therefore, I think you could try to rule out this cause of issues by creating an environment without tensorflow. If that still results in the bug you reported, we'll have to dig deeper.

@ShabbirK52 I gave this a quick try on a Macbook and, even though I didn't encounter the bug that your reported, things broke for me during rasa init after I installed tensorflow==2.6 via conda. More specifically, after I ran:
conda create --name rasa_project python==3.8 ujson
conda install -c conda-forge tensorflow==2.6

I wasn't able to train the initial model. Without installing tensorflow this way, and letting the rasa package properly install tensorflow as its dependency during python -m pip install rasa, everything worked. Therefore, I think you could try to rule out this cause of issues by creating an environment without tensorflow. If that still results in the bug you reported, we'll have to dig deeper.

I just tried that and i still run into the same issue. I first cleared the conda cache using conda clean -a after which i created a fresh env, then i activated that env using conda activate -p PATH. I then installed python using conda install python==3.8 and then upgraded the pip version using python -m pip install --upgrade pip after which i installed rasa using python -m pip install rasa and then initialized my proj in my desired folder using python -m rasa init.
here is the log output:
Welcome to Rasa! 🤖

To get started quickly, an initial project will be created.
If you need some help, check out the documentation at https://rasa.com/docs/rasa.
Now let's start! 👇🏽

? Please enter a path where the project will be created [default: current directory]
? Directory 'F:\SHABBIR\BE' is not empty. Continue? Yes
Created project directory at 'F:\SHABBIR\BE'.
Finished creating project structure.
? Do you want to train an initial model? 💪🏽 Yes
Training an initial model...
Traceback (most recent call last):
  File "F:\SHABBIR\BE\env\lib\runpy.py", line 192, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "F:\SHABBIR\BE\env\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "F:\SHABBIR\BE\env\lib\site-packages\rasa\__main__.py", line 139, in <module>
    main()
  File "F:\SHABBIR\BE\env\lib\site-packages\rasa\__main__.py", line 121, in main
    cmdline_arguments.func(cmdline_arguments)
  File "F:\SHABBIR\BE\env\lib\site-packages\rasa\cli\scaffold.py", line 238, in run
    init_project(args, path)
  File "F:\SHABBIR\BE\env\lib\site-packages\rasa\cli\scaffold.py", line 132, in init_project
    print_train_or_instructions(args)
  File "F:\SHABBIR\BE\env\lib\site-packages\rasa\cli\scaffold.py", line 64, in print_train_or_instructions
    training_result = rasa.train(
  File "F:\SHABBIR\BE\env\lib\site-packages\rasa\api.py", line 103, in train
    from rasa.model_training import train
  File "F:\SHABBIR\BE\env\lib\site-packages\rasa\model_training.py", line 6, in <module>
    import randomname
ModuleNotFoundError: No module named 'randomname'

after which i ran the command python -m pip freeze | findstr randomname and this is the log output for that:
randomname==0.1.5

@ShabbirK52 this is very interesting. As I still can't reproduce it, I passed it on to others who should be able to help you more. Let's see, it might be something Windows-specific...

@ShabbirK52 Can you run pip show randomname so we can check location of where randomname is installed? I wonder if rasa cannot find randomname because they are in different environments? We can already see where rasa is installed from the traceback.

Also another idea, can you remove everything inside directory F:\SHABBIR\BE\env\lib\site-packages\ which starts with randomname and reinstall it again? eg. if it exists, directory randomname/, randomname-0.1.5-py3.8.egg-info/ and any randomname.pth files?

here

(F:\SHABBIR\BE\env) C:\Users\Shabbir>python -m pip show randomname
Name: randomname
Version: 0.1.5
Summary: Generate random adj-noun names like docker and github.
Home-page: https://github.com/beasteers/randomname
Author: Bea Steers
Author-email<EMAIL_ADDRESS>License: MIT License
Location: f:\shabbir\be\env\lib\site-packages
Requires: fire
Required-by: rasa

Also another idea, can you remove everything inside directory F:\SHABBIR\BE\env\lib\site-packages\ which starts with randomname and reinstall it again? eg. if it exists, directory randomname/, randomname-0.1.5-py3.8.egg-info/ and any randomname.pth files?

there was one directory called "randomname-0.1.5.dist-info", i deleted that and then ran these commands:
(F:\SHABBIR\BE\env) C:\Users\Shabbir>python -m pip show randomname
WARNING: Package(s) not found: randomname

(F:\SHABBIR\BE\env) C:\Users\Shabbir>python -m pip install randomname
Collecting randomname
  Using cached randomname-0.1.5-py3-none-any.whl
Requirement already satisfied: fire in f:\shabbir\be\env\lib\site-packages (from randomname) (0.4.0)
Requirement already satisfied: six in f:\shabbir\be\env\lib\site-packages (from fire->randomname) (1.15.0)
Requirement already satisfied: termcolor in f:\shabbir\be\env\lib\site-packages (from fire->randomname) (1.1.0)
Installing collected packages: randomname
Successfully installed randomname-0.1.5

(F:\SHABBIR\BE\env) C:\Users\Shabbir>f:

(F:\SHABBIR\BE\env) F:\>cd SHABBIR\BE\

(F:\SHABBIR\BE\env) F:\SHABBIR\BE>python -m rasa train
Traceback (most recent call last):
  File "F:\SHABBIR\BE\env\lib\runpy.py", line 192, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "F:\SHABBIR\BE\env\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "F:\SHABBIR\BE\env\lib\site-packages\rasa\__main__.py", line 139, in <module>
    main()
  File "F:\SHABBIR\BE\env\lib\site-packages\rasa\__main__.py", line 121, in main
    cmdline_arguments.func(cmdline_arguments)
  File "F:\SHABBIR\BE\env\lib\site-packages\rasa\cli\train.py", line 59, in <lambda>
    train_parser.set_defaults(func=lambda args: run_training(args, can_exit=True))
  File "F:\SHABBIR\BE\env\lib\site-packages\rasa\cli\train.py", line 91, in run_training
    training_result = train_all(
  File "F:\SHABBIR\BE\env\lib\site-packages\rasa\api.py", line 103, in train
    from rasa.model_training import train
  File "F:\SHABBIR\BE\env\lib\site-packages\rasa\model_training.py", line 6, in <module>
    import randomname
ModuleNotFoundError: No module named 'randomname'

The error still persists.

@ShabbirK52 that is weird. I'm sorry I'm running out of ideas. Maybe system path for searching libraries is garbled and that's why randomname cannot be found? Can you run  python -c 'import sys; print(sys.path); print(sys.executable)'?

python -c 'import sys; print(sys.path); print(sys.executable); import randomname'

(F:\SHABBIR\BE\env) F:\SHABBIR\BE>python -c "import sys; print(sys.path); print(sys.executable); import randomname"
['', 'F:\\SHABBIR\\BE\\env\\python38.zip', 'F:\\SHABBIR\\BE\\env\\DLLs', 'F:\\SHABBIR\\BE\\env\\lib', 'F:\\SHABBIR\\BE\\env', 'F:\\SHABBIR\\BE\\env\\lib\\site-packages']
F:\SHABBIR\BE\env\python.exe
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'randomname'

This confirms Python env cannot import randomname (not only Rasa) and I can see that 'F:\\SHABBIR\\BE\\env\\lib\\site-packages' is in the sys.path and we know previously that pip told us randomname was installed in location f:\shabbir\be\env\lib\site-packages. Windows file paths are case insensitive so I'm at a lost why randomname cannot be imported.

This confirms Python env cannot import randomname (not only Rasa) and I can see that 'F:\\SHABBIR\\BE\\env\\lib\\site-packages' is in the sys.path and we know previously that pip told us randomname was installed in location f:\shabbir\be\env\lib\site-packages. Windows file paths are case insensitive so I'm at a lost why randomname cannot be imported.

yes that's right. What do you suggest i should do? i tried creating and env using python 3.7 as well but i am getting a different error there. While training the model, it says that a different version of numpy is expected than the one that is installed.

yes that's right. What do you suggest i should do? i tried creating and env using python 3.7 as well but i am getting a different error there. While training the model, it says that a different version of numpy is expected than the one that is installed.

With latest Rasa numpy of 1.19.2 and larger is needed. Does installing numpy manually fix 3.7 problem?
For 3.8 maybe trying randomname without Rasa to see what could be the reason for the problem would be helpful? If you create a new 3.8 environment and pip install randomname, can you import it from Python shell? If yes, I would check how and where randomname files are. I would also try running rasa init from another directory (not virtual env root but from a user dir like bot-projects just in case paths are somehow getting mixed up (this might happen if current dir is added to the path and then there is another file called randomname for example).

yes that's right. What do you suggest i should do? i tried creating and env using python 3.7 as well but i am getting a different error there. While training the model, it says that a different version of numpy is expected than the one that is installed.

With latest Rasa numpy of 1.19.2 and larger is needed. Does installing numpy manually fix 3.7 problem?
For 3.8 maybe trying randomname without Rasa to see what could be the reason for the problem would be helpful? If you create a new 3.8 environment and pip install randomname, can you import it from Python shell? If yes, I would check how and where randomname files are. I would also try running rasa init from another directory (not virtual env root but from a user dir like bot-projects just in case paths are somehow getting mixed up (this might happen if current dir is added to the path and then there is another file called randomname for example).

I have created two envs, one is in the env dir in miniconda folder created using conda create -n env_name and then used python -m rasa init in another folder but the error still persists. the other env was in an env folder in parent dir in which i tried to initialize my rasa project.
for python 3.7, i used python -m pip install --upgrade numpy which changed numpy version to one which isn't supported by rasa so i uninstalled it again using python -m pip uninstall numpy and then reinstalled it using python -m pip install numpy==1.19.2 but my error wasn't resolved. i didn't install numpy as a separate dependency and allowed rasa to install all dependencies itself by python -m pip install rasa so i don't understand why i am getting that error in the first place.

for python 3.7, i used python -m pip install --upgrade numpy which changed numpy version to one which isn't supported by rasa so i uninstalled it again using python -m pip uninstall numpy and then reinstalled it using python -m pip install numpy==1.19.2 but my error wasn't resolved. i didn't install numpy as a separate dependency and allowed rasa to install all dependencies itself by python -m pip install rasa so i don't understand why i am getting that error in the first place.

Sounds like a similar error to randomname 🤔  If you run python -c 'import numpy; print(numpy.__version__)' does it show you version 1.19.2 that have been installed? What's the exact error message saying?

for python 3.7, i used python -m pip install --upgrade numpy which changed numpy version to one which isn't supported by rasa so i uninstalled it again using python -m pip uninstall numpy and then reinstalled it using python -m pip install numpy==1.19.2 but my error wasn't resolved. i didn't install numpy as a separate dependency and allowed rasa to install all dependencies itself by python -m pip install rasa so i don't understand why i am getting that error in the first place.

Sounds like a similar error to randomname 🤔 If you run python -c 'import numpy; print(numpy.__version__)' does it show you version 1.19.2 that have been installed? What's the exact error message saying?

you pointed out the fact that the paths were same but they were just in different cases which made me think what would happen if i created a directory which was only in small case to initialize my proj. Though this seemed strange, it worked. The env that i had created using python 3.7 seems to work as of now without any error. I tried the same with python 3.8 and but that didn't seem to work.

for python 3.7, i used python -m pip install --upgrade numpy which changed numpy version to one which isn't supported by rasa so i uninstalled it again using python -m pip uninstall numpy and then reinstalled it using python -m pip install numpy==1.19.2 but my error wasn't resolved. i didn't install numpy as a separate dependency and allowed rasa to install all dependencies itself by python -m pip install rasa so i don't understand why i am getting that error in the first place.

Sounds like a similar error to randomname 🤔 If you run python -c 'import numpy; print(numpy.__version__)' does it show you version 1.19.2 that have been installed? What's the exact error message saying?

I fidgeted a bit with my env and found out that python doesn't recognize only the latest version of randomname for some reason. If i downgrade the version to 0.1.4, it works just fine. However rasa requires a version that is >=0.1.5 and hence other things fail when i try to initialize the rasa.

for python 3.7, i used python -m pip install --upgrade numpy which changed numpy version to one which isn't supported by rasa so i uninstalled it again using python -m pip uninstall numpy and then reinstalled it using python -m pip install numpy==1.19.2 but my error wasn't resolved. i didn't install numpy as a separate dependency and allowed rasa to install all dependencies itself by python -m pip install rasa so i don't understand why i am getting that error in the first place.

Sounds like a similar error to randomname 🤔 If you run python -c 'import numpy; print(numpy.__version__)' does it show you version 1.19.2 that have been installed? What's the exact error message saying?

I tweaked my env a lot and finally found a way through. I created a fresh env with python 3.9 then installed randomname and checked if python was able to recognize it. Once that was successful, I then downgraded python to 3.8 and rechecked if it could recognize randomname. It worked. After that i installed rasa using python -m pip install rasa and everything works like a charm so far.

Wow, this blows my mind. I'm glad you got it to work @ShabbirK52!

Wow, this blows my mind. I'm glad you got it to work @ShabbirK52!

Thank you for patiently helping me out, much appreciated 🙌


Implemented RTPReceiver SetRTPParameters for ORTC

See discussion with @OrlandoCo https://gophers.slack.com/archives/CAK2124AG/p1623504625397700

RID is now set on remote tracks, if provided.
Adds SetRTPParameters which can be used in ORTC to set codec information about the remote track.

I'm not sure if this is the best way to implement this, as the track will still miss the id and streamID + I'm not a big fan of adding public method for edge cases.
Maybe it'd be better to  refacto RTPReceiver.Receive() to look more like RTPSender.Send()?

I'm not sure if this is the best way to implement this, as the track will still miss the id and streamID + I'm not a big fan of adding public method for edge cases.

Looks good to me, but since this is not a standard W3C method then I guess we can add the track and stream ID, we can extend RTPParameters to include them. Any thoughts @Sean-Der ??

@Sean-Der Any comments before merge this?

Sorry for the delay @Antonito And @OrlandoCo
Code looks good! Could you add a test before merging? Thanks


Add ZtocSerializer

Signed-off-by: Viktor Kuznietsov<EMAIL_ADDRESS>Issue #, if available:
#123
Description of changes:
Refactored ztoc serialization logic to include it into a single unit - ZtocSerializer.
Testing performed:

make test && make check && make integration pass.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Can you explain the reasoning behind this change? AFAICT, this doesn't change anything except needing to build a ZtocSerializer object first?

Can you explain the reasoning behind this change? AFAICT, this doesn't change anything except needing to build a ZtocSerializer object first?

Yes, this doesn't change anything, but implements the separation of concerns for Ztoc's serialization. ZtocSerializer will be the only one who knows how to serialize/deserialize Ztoc.


Dev branch updates

Pull Request Test Coverage Report for Build 725472351

6 of 16 (37.5%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.3%) to 25.533%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

services/indexes/avax/writer.go
0
3
0.0%

services/indexes/cvm/writer.go
6
13
46.15%

Totals

Change from base Build 722556587:
0.3%

Covered Lines:
1713

Relevant Lines:
6709

💛  - Coveralls


Interfaces for dto entities

By Tims request, this was applied to potential currency challenges and appears to offer a pragmatic alternative to the behaviors in xchange core dto.
See also Attack vectors via static currencies and other dtos #2536

he best chance you have of convincing me and others of using interfaces would be to show what it would offer, preferably in a short and concise PR demonstrating said feature.

@timmolter i thought i had addressed this with one question:

can you trust this currency class?

but instead of answering that question you closed the PR.
I took the PR, and demonstrated a Unit test that shows the undesired behavior and tried, in vain, to illustrate to you, @timmolter that I was satisfied , that this conclusively resolves #2394 for all foreseeable usecases i have with Currency class, and that there is no unseen code in this solution.
String someStackVariable="BTC";
    Currency avoidXBT =
        new Currency() {

          @Override
          public String getCode() {
            return someStackVariable;
          }

          @Override
          public CurrencyAttributes getAttributes() {
            return null;
          }

          @Override
          public boolean equals(Object obj) {
            boolean ret = false;
            if (obj instanceof Currency) {
              Currency currency = (Currency) obj;
              ret = Objects.equals(currency.getCode(), someStackVariable);
              //
            }
          return ret;}
        };
    assertEquals(avoidXBT,Currency.BTC );
    assertNotEquals(Currency.XBT, avoidXBT);
    assertNotEquals(Currency.LTC, avoidXBT);


[Server] API i18n support for tag and tag feed

Rely on: https://github.com/thematters/matters-server/issues/2656

[ ] doc for API and DB changes
[ ] API to return tag  in the requested language

[ ] Store tag translation in database

[ ] API to return tag feeds in the requested language

Goal shifted. Feel free or draft a new issue for this.


feature: baremetal support iso operation

这个 PR 实现什么功能/修复什么问题:
功能：物理机支持iso挂载卸载和从iso启动
是否需要 backport 到之前的 release 分支:

release/2.12

/area region
/area baremetal
/cc @zexi @wanyaoqi

Codecov Report

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

@@           Coverage Diff            @@
##             master   #3295   +/-   ##
========================================
  Coverage          ?   7.04%
========================================
  Files             ?     483
  Lines             ?   78681
  Branches          ?       0
========================================
  Hits              ?    5544
  Misses            ?   72676
  Partials          ?     461

Flag
Coverage Δ

#aFlag
7.04% <2.84%> (?)

Impacted Files
Coverage Δ

pkg/compute/models/guestdrivers.go
20% <ø> (ø)

pkg/mcclient/options/servers.go
0% <ø> (ø)

pkg/compute/baremetal/types.go
0% <ø> (ø)

pkg/baremetal/utils/ipmitool/ipmitool.go
0% <0%> (ø)

pkg/baremetal/manager.go
0.57% <0%> (ø)

pkg/baremetal/tasks/baseprepare.go
0% <0%> (ø)

pkg/baremetal/tasks/create.go
0% <0%> (ø)

pkg/baremetal/tasks/reprepare.go
0% <0%> (ø)

pkg/baremetal/tasks/prepare.go
0% <0%> (ø)

pkg/compute/guestdrivers/base.go
0% <0%> (ø)

... and 19 more

Continue to review full report at Codecov.

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

/lgtm
/approve


Rename CMake project to gz

See https://github.com/gazebo-tooling/release-tools/issues/718

Shared libs
To test the warnings for ignition- prefixed physics engines, try:
$ ign gazebo rolling_shapes.sdf -v 2 --physics-engine ignition-physics-dartsim-plugin
...
[Wrn] [Physics.cc:760] Trying to load deprecated plugin [ignition-physics-dartsim-plugin]. Use [gz-physics-dartsim-plugin] instead.
...

And for the render engine:
$ ign gazebo shapes.sdf -v 2 --render-engine ignition-rendering-ogre
[Wrn] [ServerConfig.cc:543] Trying to load deprecated engine [ignition-rendering-ogre] for the server. Use [gz-rendering-ogre] instead.
[Wrn] [ServerConfig.cc:574] Trying to load deprecated engine [ignition-rendering-ogre] for the GUI. Use [gz-rendering-ogre] instead.
...
[GUI] [Wrn] [MainWindow.cc:955] Trying to load deprecated plugin [ignition-rendering-ogre]. Use [gz-rendering-ogre] instead.
...

I added a world that tries to load ignition-gazebo prefixed plugins to demonstrate that they still work:
$ ign gazebo deprecated_ignition.sdf  -v 2
...
[Wrn] [SystemLoader.cc:54] Trying to load deprecated plugin [ignition-gazebo-physics-system]. Using [gz-sim-physics-system] instead.
[Wrn] [SystemLoader.cc:54] Trying to load deprecated plugin [ignition-gazebo-user-commands-system]. Using [gz-sim-user-commands-system] instead.
[Wrn] [SystemLoader.cc:54] Trying to load deprecated plugin [ignition-gazebo-scene-broadcaster-system]. Using [gz-sim-scene-broadcaster-system] instead.
...

CMake targets
Since the CMake targets are changing, I took the opportunity to update various parts of the code to use targets instead of other variables. This unveiled places where we were over-linking to things we didn't need, or relying on transient dependencies. That's why this PR has added arguments to target_link_libraries in various places.

No new test failures! 🚀


New directory to errors

What problem does this feature solve?
1 - With this new feature, I believe that the structure of the app stay more organized.
2 - It is no longer necessary to contain the error.vue file inside layouts, because it is not a layout. (We could keep to not contain breaking change)
3 - We could customize each type of error in each corresponding file, without the need to create conditions.
What does the proposed changes look like?
Create a new directory in root errors to work with errors.
Within this new directory contains the components (pages) for type of error.
Example structure:
- errors
    - 404.vue
    - 500.vue
    - ...
- layouts
- pages
- ...

What do you think? A PR would be welcome?

This feature request is available on Nuxt community (#c8177)

Hey @ricardogobbosouza
We are already thinking about how to avoid the quirky setup with the error-page.
Unfortunately, we can't introduce any breaking changes, so the default behavior will stay until Nuxt 3 as you already realized.
I think it'd be a nice addition! 👍

We are approaching the Nuxt 2 EOL date (June 30, 2024) - see this article for more information. I'm closing this issue as it's marked as a Nuxt 2 related enhancement and it's not a critical issue.
That doesn't mean it might not be relevant for Nuxt 3. If it is, please feel free to open a new issue (or just comment, and I can reopen it). 🙏
Thank you for your understanding and for your contribution to Nuxt! 🎉


[query] Thanos is inconsistent with the data returned by Prometheus

Thanos, Prometheus and Golang version used:
Thanos: 0.16.0
Prometheus: 2.21.0
Golang: go1.15.2
Object Storage Provider:
AWS S3
What happened:
sometimes thanos is inconsistent with the data returned by Prometheus.
query proml:  histogram_quantile(0.99,sum by (le) (rate(nginx_http_request_duration_ms_bucket{host=~"xxx.com"}[1m])))
use prometheus ui we found

use thanos ui we found

What you expected to happen:
the result is different by promtheus and thanos at the sametime ,use histogram_quantile
How to reproduce it (as minimally and precisely as possible):
when i used 【 sum by (le) (rate(nginx_http_request_duration_ms_bucket{host=~"xxx.com"}[1m])) 】as a record rule, the result is same by promtheus and thanos at the sametime
Full logs to relevant components:

Anything else we need to know:

Hi, can you please provide more info about your setup? Do you have a query-frontend or just the thanos querier?


Automated Spec Update

Automated Spec Update
397eca2ba6c0fbc453fb8832ad5c562c89fd6502
Change Notes:
Shared Links Namespace:

Update Comments

Team Log Generated Namespace:

Update AdminAlertCategoryEnum union to include information_governance
Add AdminConsoleAppPermission union
Add AdminConsoleAppPolicy union
Update AdminRole union to include compliance_admin, content_admin, reporting_admin, security_admin
Add AppBlockedByPermissionsDetails struct
Add AppPermissionsChangedDetails struct
Update EventDetails union to include app_blocked_by_permissions_details, app_permissions_changed_details
Add AppBlockedByPermissionsType struct
Add AppPermissionsChangedType struct
Update EventType union to include app_blocked_by_permissions, app_permissions_changed
Update EventTypeArg union to include app_blocked_by_permissions, app_permissions_changed

Abandoning this since @rogebrd will be doing a new spec update


Fix bug where setting default for command-specific opt wasn't honoured

For example, given a function with the following spec:
(defn process-file
  {:org.babashka/cli
   {:spec
    {:media-file
     {:desc "Media file to transribe"
      :ref "<file>"
      :require true}}}}
  [{:keys [media-file] :as opts}]
  media-file)

Calling cli/dispatch like so would result in process-file returning nil:
(cli/dispatch {:media-file "some-file.mp4"})

Please answer the following questions and leave the below in as part of your PR.

[x] This PR corresponds to an issue with a clear problem statement: #70

[ ] I have updated the CHANGELOG.md file with a description of the addressed issue. N/A: bugfix.

Thanks dude!


exec: "/bin/echo": stat /bin/echo: no such file or directory

when I stop all container and restart all,I occur that "exec: "/bin/echo": stat /bin/echo: no such file or directory"

Yup I get the same issue unfortunately

I'm investigating.

Feck, a998e14 didn't survive a restart.

The issue is related to docker/compose#919.

Damn. So no fix on the horizon?

I'm afraid not. A workaround is to do docker-compose rm shipyard prior to every up or simply commenting out the Shipyard container in docker-compose.yml.

Looks like a fix is scheduled for Compose 1.3.0: docker/compose#1349

The above mentioned fix has been merged so hopefully this issue will resolve itself by the time Compose 1.3.0 hits the deck.

I'm experiencing this tonight. I'm trying out just dropping the shipyard stuff from docker-compose.yml as a quick workaround :8ball:

For me, updating to docker-compose 1.4.0 solved the problem. Anyone else?

Compose 1.4 has been out for a while so I'll close this.


Fix minor typo in README.md

This pull request includes a

[ ] Bug fix
[ ] New feature
[ ] Translation

The following changes were made

This PR fixes a minor typo: "Third party developers have created plugins" instead of "Third party developers have create plugins"

Near as I can tell, the git flow for this project is to simply merge approved PRs directly into master.  Since this is such an inconspicuous change, I'm gonna go ahead and do that and see if anyone complains...


Redo PR to land lunches

@guberti I backed the lunch changes out of master, since they were merged accidentally. They are now on a new branch, and we can review them in this PR.

Did you mean to include the image changes in this PR?

I've begun work on these changes. Also, it might be a good idea to register the cron task in this PR. I'll work on that as well.


Context is global for all the parallel coroutines running

This way if multiple concurrent web requests will set it, after setting they all will have same value on getting. I bet that the desired behavior is to share context between tasks in one 'thread', not all the tasks in the loop. Because the latter is not much better than just module-level global dict.
import asyncio

import aiotask_context as context

async def uno():
    context.set('x', 2)
    await asyncio.sleep(0.001)

    return context.get('x')

async def dos():
    context.set('x', 2)
    await asyncio.sleep(0.001)

    return context.get('x')

def test_results_are_various():
    loop = asyncio.get_event_loop()
    loop.set_task_factory(context.task_factory)  # This is the relevant line

    results = loop.run_until_complete(asyncio.gather(uno(), dos()))

    assert results[0] != results[1]

In this test ioloop will surely switch context between coros, because the io-like operation is present.

Oops, I see my error, sorry for disturbing 😁


RedirectTrailingSlash edge case (two child-routes)

If you have two child routes after a parameter the trailing slash redirection will fail for that route.
Code to reproduce on v1.3.0:
package main

import (
	"fmt"
	"log"
	"net/http"

	"github.com/julienschmidt/httprouter"
)

func Hello(w http.ResponseWriter, r *http.Request, ps httprouter.Params) {
	fmt.Fprintf(w, "hello, %s!\n", ps.ByName("name"))
}

func main() {
	router := httprouter.New()
	router.RedirectTrailingSlash = true
	router.GET("/hello/:name", Hello)
	router.GET("/hello/:name/foo", Hello)
	router.GET("/hello/:name/bar", Hello)

	log.Fatal(http.ListenAndServe(":8080", router))
}

$ http :8080/hello/arne/
HTTP/1.1 404 Not Found
Content-Length: 19
Content-Type: text/plain; charset=utf-8
Date: Tue, 03 Nov 2020 13:37:02 GMT
X-Content-Type-Options: nosniff

404 page not found

If you remove any of the child routes (or both obviously) it works fine. Looks to me like an edge case in the node.getValue logic.

This patch works for me! Thanks @Fov6363

Thanks ❤


[MM-11509] Use post metadata

Summary
Uses post metadata for opengraph and reactions to decrease scroll pops
Ticket Link
MM-11509
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] Ran make check-style to check for style errors (required for all pull requests)
[x] Ran make test to ensure unit and component tests passed
[x] Added or updated unit tests (required for all new features)
[x] Has UI changes

@hmhealey thanks again for the review fixed the spelling.


Redis cache configuration not working when provided with ConfigurationOptions

Describe the bug
I am trying to use the extended options for the AddDistributedRedisCache extension in my ConfigureServices method.
If I use the ConfigurationOptions to setup my Redis configuration, and try to use it in my controller,
I get a Redis connection exception, but if I instead just use the Configuration property, with the url and port, it works as expected.
To Reproduce
Steps to reproduce the behavior:

Using version '2.2.0-preview3-35497' of package Microsoft.Extensions.Caching.Redis

`
        services.AddDistributedRedisCache(setup =>
        {

            setup.InstanceName = "Redis";

            setup.ConfigurationOptions = new ConfigurationOptions()
            {

                EndPoints = { "redis-url.com", "7000" },
                Password = "",
                ClientName = "SafeRedisConnection",
                ConnectTimeout = 100000,
                KeepAlive = 30,
                SyncTimeout = 10000,
                AbortOnConnectFail = true,
                AllowAdmin = false,

            };
        });`

Expected behavior
Should be able to connect to Redis, then create and get value from cache.
Additional context
dotnet version 2.1.403

I'm facing the same issue. what was the solution ?

I'm facing the same issue. what was the solution ?

I was giving the configuration in the wrong way, you can give the configuration as follows :-
`builder.Services.AddDistributedRedisCache(setup =>
{
setup.ConfigurationOptions = new ConfigurationOptions();
            setup.ConfigurationOptions.EndPoints.Add(redisCacheHost.Endpoint, Convert.ToInt32(redisCacheHost.Port));
            setup.ConfigurationOptions.Password = "";
            setup.ConfigurationOptions.ClientName = "SafeRedisConnection";
            setup.ConfigurationOptions.ConnectTimeout = 100000;
            setup.ConfigurationOptions.KeepAlive = 30;
            setup.ConfigurationOptions.SyncTimeout = redisCacheHost.ClusterOperationTimeout;
            setup.ConfigurationOptions.AbortOnConnectFail = false;
            setup.ConfigurationOptions.AllowAdmin = false;
        });`


[Help] the microphone not closed properly and is being used.

Cann you please help? after 2-3 time call kit  not closed properly microphone. Call its working 2-3 maybe 4-5 time good, but after severals calling, call kit close call microphone (orange dot on iOS ) to 1 second disable and enable back. How to i can fix this situation?
FlutterCallkitIncoming.activeCalls() = 0
app close call with: await FlutterCallkitIncoming.endCall(uuid);
on the log i can see this: [aurioc]            AURemoteIO.cpp:1128  failed: 560557684 (enable 3, outf< 1 ch,  48000 Hz, Int16> inf< 1 ch,  48000 Hz, Int16>)
please help, thank you.

same here

to the make sure, please using await FlutterCallkitIncoming.endAllCalls();


dind-25.0.1 no matching manifest for linux/amd64 in the manifest list entries

Hi,
I'm trying to upgrade to the latest 25.0.1-dind image and I get the. following error:
no matching manifest for linux/amd64 in the manifest list entries
Am I missing something? Thank you.

It is there now, https://hub.docker.com/layers/library/docker/25.0.1-dind/images/sha256-6863a098da35ab4bae6a3a80ab02997d93624ded0e263a14715dbe6e08260cd0?context=explore&tab=vulnerabilities . Not all variants of an image are published at the same time as the various builds complete at different times. Once the first os/arch variant is published the tag is available but it can take several hours for all os/arch variants to be published.


[Feature Request] Update repository with latest accepted submission

When your submission has been accepted, the program will save the submission to your repository, but any further submissions will not. so I've  found myself updating my solutions by hand, as I like to try different approaches when solving a problem.
I've noticed that the code is only ever updated by LeetHub when I've logged in on another device. (Maybe due to the fact that I have "not solved" that problem on that device, since LeetHub saves its data locally.
From what I understood, saving the data through cloud sync was causing issues, so maybe updating the code on every submission (maybe with a time limit to avoid spam) might be an easier solution.

duplicate #47


[SPARK-32045][BUILD] Upgrade to Apache Commons Lang 3.10

What changes were proposed in this pull request?
This PR aims to upgrade to Apache Commons Lang 3.10.
Why are the changes needed?
This will bring the latest bug fixes like LANG-1453.
https://commons.apache.org/proper/commons-lang/release-notes/RELEASE-NOTES-3.10.txt
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Pass the Jenkins.

Can one of the admins verify this patch?

Can one of the admins verify this patch?

ok to test

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/28970/
Test PASSed.

Test build #124351 has started for PR 28889 at commit 62b3e79.

Test build #124351 has finished for PR 28889 at commit 62b3e79.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/124351/
Test FAILed.

Retest this please

Test build #124356 has started for PR 28889 at commit 62b3e79.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/28975/
Test FAILed.

Test build #124356 has finished for PR 28889 at commit 62b3e79.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/124356/
Test PASSed.

Merged to master.


SELinux and LDAP

BookStack is running great in CentOS 7 and Active Directory for login. The only issue I am running into is I have to disable SELinux in order to get LDAP to communicate with Active Directory. How can I have both SELinux enabled and LDAP working with AD as well? Basically, I want to have my cake and eat it too :)
I have tried some online suggestions but so far nothing has worked.
Any feedback would be appreciated!

@okwindart
Use my installation script for fresh install, or this commands to configure SELinux
BOOKSTACK_DIR="/insert/path/to/bookstack_dir"  # Example: BOOKSTACK_DIR="/var/www/bookstack"
# allow send emails
setsebool -P httpd_can_sendmail 1
# allow redirect authorization for LDAP
setsebool -P httpd_can_network_connect 1
# Configure folder SELinux context
semanage fcontext -a -t httpd_sys_rw_content_t "${BOOKSTACK_DIR}/public/uploads(/.*)?"
semanage fcontext -a -t httpd_sys_rw_content_t "${BOOKSTACK_DIR}/storage(/.*)?"
semanage fcontext -a -t httpd_sys_rw_content_t "${BOOKSTACK_DIR}/bootstrap/cache(/.*)?"
restorecon -R "$BOOKSTACK_DIR"

@Mant1kor Thanks.
A bit confused about your script. I actually used your install script when I first setup BookStack on CentOS. However, I had to disable SELinux in order to get httpd to work with LDAP.
Without doing another fresh install, how do I run these commands? Especially the "BOOKSTACK_DIR" (first line) you sent is what I am confused about.
Thank.

@okwindart you can run the commands in command line one by one from. If you only need to get httpd to work with LDAP just run:
sudo setsebool -P httpd_can_network_connect 1
BOOKSTACK_DIR - is variable to set BookStack root folder. If you used my script for fresh installation it should be:
BOOKSTACK_DIR="/var/www/bookstack"

Thanks, @okwindart
Do I first need to disable SELinux in the the config file? This is how my config file looks now.

Do I first need to enable SELinux in the the config file before I run your script?

Yes, enable it first, then reboot and run command(s).

OK. When I do that, I get a doublescreen like this:

Here is the command I ran:

Check /var/log/audit/audit.log or /var/log/audit.log for details.

Thanks @Mant1kor for providing assistance here.

Since there's been no follow-up I'm going to close this. If the issue remains and is something you still require to be fixed please open a new issue, referencing this one.


How to add new speaker for enrollment?

What modifications do I need to do in order to add new speaker using enroll.py file. @jymsuper

In 'split_enroll_and_test' function, we get a list of both enroll and test files.
It is denoted as 'DB_all' and it is a pandas dataframe.
According to the filename, we split the list and get lists of enroll and test files, which are 'enroll_DB' and 'test_DB' respectively.
In 'feat_logfbank_nfilt40/test', I put both enroll and test files for each speaker.
In each speaker folder (e.g., 103F3021), you can see both 'enroll.p' and 'test.p'.
When you need to add a new speaker, create a new speaker folder and add 'enroll.p' file in the folder.

Thanks for clearing that up.


Doesn't work w/ Clojure 1.9.0-alpha16 due to clojure.spec ns

spec.cljc pulls in [clojure.spec :as s] rather than [clojure.spec.alpha :as s] meaning it's no longer compatible with latest Clojure 1.9 and Spec libs.

Yes, I know. I'm sorry I wasn't clear when I said in the readme that this was the last zprint that would work with 1.9-alpha15.  I should also have said that it won't yet work with 1.9-alpha16.  I wanted to release a last "best" version for 1.9-alpha15 before I released the version that works with 1.9-alpha16, since there is no way to have one version do both.  The compatibility library clojure-future-spec (for use with 1.8) now works with the new clojure.spec.alpha approach, so I'll be releasing a new version which runs with both 1.9-alpha16 and 1.8 soon, certainly by early next week (and possibly by tonight).
Thanks for letting me know that you care, as I was intending to include some new development with the next release that works with 1.9-alpha16, which would have pushed that release out by days to weeks.  Instead I'll release the 1.9-alpha16 version with the same code as last night's release and do the new development after that.

Awesome! Sounds like a great plan. Thank you.

Just released zprint 0.4.0.  This uses clojure.spec.alpha, and should work with 1.9-alpha16.  Give it a try!

Works like a charm! Thanks @kkinnear !


Do not want the browser to be closed

Hello,
Browser is closing, althought i have commented these lines :
// await cluster.idle();
// await cluster.close();

Cannot reproduce. My browser stays open. Please provide more code if you think the problem is part of the library.


Add Temporal's CLI to arkade get

Expected Behaviour

arkade get tctl works
https://github.com/temporalio/tctl
Current Behaviour

No such CLI is added
Are you a GitHub Sponsor yet (Yes/No?)

[ ] Yes
[x] No

Possible Solution

Add to pkg/get/tools.go
Context

Can't install tctl via arkade
If requesting a CLI for "arkade get"
How many downloads does this tool have? 3,387
Your Environment

What Kubernetes distribution are you using?

kubectl version
Client Version: version.Info{Major:"1", Minor:"25", GitVersion:"v1.25.2", GitCommit:"5835544ca568b757a8ecae5c153f317e5736700e", GitTreeState:"clean", BuildDate:"2022-09-21T14:25:45Z", GoVersion:"go1.19.1", Compiler:"gc", Platform:"darwin/arm64"}
Kustomize Version: v4.5.7

Operating System and version (e.g. Linux, Windows, MacOS):

uname -a

Darwin mariarti-laptoplocal.local 21.6.0 Darwin Kernel Version 21.6.0: Mon Aug 22 20:20:05 PDT 2022; root:xnu-8020.140.49~2/RELEASE_ARM64_T8101 arm64

What arkade version is this?

arkade version
Version: 0.8.45
Git Commit: 7b7ade38cff998b68886fe7f1260d080e881383a

Go for it @Jasstkn


V<IP_ADDRESS> build failure fixes

Hey there!
The bump to v<IP_ADDRESS> in #529 looks like it was failing due to a couple of issues:

The ruby/setup-ruby@v1 action, when running with Ruby 2.5, cannot use the most recent rubygem-updater
Some specs involving complex key examples were using --replace, to validate it could parse wkhtmltopdf options that handle multiple options, that started to fail with the changes in #523

This PR updates the specs to use header-left, which also takes complex keys, which I think should be a reasonable replacement for that spec. Open to other alternatives though!
I've also made a somewhat janky update to the test.yml Github action runner, which will specify a valid version for the action to call gem update on for Ruby 2.5. If there's a better way to leverage the Github action yaml syntax, I am very open to a better way than what I added there!
Screenshot with the build error here, for posterity. The spec runner deletes logs after a while, so I wanted to preserve here.

Link to a passing CI run is available on the fork here
❤ Thank you for all your work on this gem!

Thank you for taking this on!


Update-MarkdownCommandFile feedback

Summary of the new feature / enhancement
Changes

Update ms.date to current date - fixed in OPS10
Don't add Aliases placeholder text
Descriptions for INPUTS and OUTPUT replaced with placeholders

For discussion

How to handle __AllParameterSets?

Omit the name? Use a different label value?

Rethink syntax parameter sets - After consideration, I want to replace existing parameters sets with the discovered parameter sets. This will remove parameters that were added for different providers. But I think including those parameter sets is confusing and difficult to maintain.

The author will add the dynamic parameters from the providers in the H2 Parameters section and document them accordingly.

Proposed technical implementation details (optional)
No response

OPS10 updates the ms.date value.

@sdwheeler I can't repo the input/output place holder text. what markdown are you updating?

@sdwheeler I can't repo the input/output place holder text. what markdown are you updating?

I get no repo now. Not sure why I thought that this wasn't fixed.

Fixed in OPS12


docs: fix samples link in README.md

Fixes #1196

We are trying to use convention commit style commit messages to make it easier to make change logs.  I updated this one, but from here on out please use the prefix!

Thanks for fixing it!


DRAFT: use a waiter when deleting vpc peering connections

vpc_peering_connection: wait for deletion
Previously vpc_peering_connections would be deleted asynchronously. There is a race condition when deleting and recreating the resource, where recreation fails because the previous deletion has not finished yet. This PR fixes the race by waiting for the vpc_peering_connection to be deleted synchronously.

Also, please squash git commits into 1-2 so that we can merge them.


Creating TLS connection with default certs failing: [ERR]: LN: SSL_accept failed (tlsv1 alert unknown ca).

Hello Sir
I wanted to make a TLS connection, firstly using the defaults certs present in example_configuration/tls_certs dir.
I tried performing the steps you have mentioned in README:
TLS listen
To support clients connecting using TLS, configuration files tls_keystore.xml, tls_truststore.xml, and tls_listen.xml needs to be merged into sysrepo configuration of modules ietf-keystore, ietf-truststore, and ietf-netconf-server, respectively. After doing so, a NETCONF client can connect using client.crt certificate and client.key private key and having ca.pem CA certificate set as trusted. These example certificates can be found in example_configuration/tls_certs. netopeer2-cli can easily be configured this way and the TLS connection tested.
I have merged all the xmls as suggested by you above.
I am getting this issue while adding ca.pem:

cert add tls_certs/ca.pem
get_default_trustedCA_dir: Default trusted CA directory does not exist, creating it.
cert add: c_rehash execution failed

I was able to add client cert and key

cert replaceown tls_certs/client.crt tls_certs/client.key

when I try to connect, it says:

connect --tls
get_default_CRL_dir: Default CRL dir does not exist, creating it.
nc ERROR: SSL_connect failed (certificate verify failed).
nc ERROR: SSL error (unknown state).
cmd_connect: Connecting to the localhost:6513 failed.

On the server side, it says:
[INF]: SR: Processing "ietf-netconf-server" "done" event with ID 1 priority 0 (remaining 22 subscribers).
[INF]: LN: Listening on <IP_ADDRESS>:6513 for TLS connections.
[INF]: SR: Successful processing of "done" event with ID 1 priority 0 (remaining 0 subscribers).
[INF]: LgN: Accepted a connection on <IP_ADDRESS>:6513 from <IP_ADDRESS>:58720.
[INF]: SR: Session 257 (user "root", CID 75) created.
[INF]: SR: Session 258 (user "root", CID 75) created.
[INF]: SR: Session 259 (user "root", CID 75) created.
[ERR]: LN: SSL_accept failed (tlsv1 alert unknown ca).
I am not using any external ca/certs/etc, all from the example setup suggested in README.
Please suggest where I am going wrong.
Thanks
rajeev

cert add: c_rehash execution failed

That is the problem. Most likely, you do not have this utility installed, so please do, in some cases it is not part of the stardard openssl package. I have also added check for this into the cmake list, not sure why it was not there yet.

Hello Michal
Yes, right, installed openssl-perl package and c_rehash got installed. That error is resolved, but still not able to connect:
Server side: <IP_ADDRESS>:
[INF]: SR: No scheduled changes.
[INF]: SR: Connection 101 created.
[INF]: SR: Session 922 (user "root", CID 101) created.
[INF]: SR: Triggering "ietf-subscribed-notifications" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: LN: Listening on <IP_ADDRESS>:830 for SSH connections.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: LN: Listening on <IP_ADDRESS>:6513 for TLS connections.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-keystore" "done" event on enabled data.
[INF]: SR: Triggering "ietf-truststore" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-acm" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-acm" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-acm" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-acm" "done" event on enabled data.
[INF]: LN: Accepted a connection on <IP_ADDRESS>:6513 from <IP_ADDRESS>:47922.
[INF]: SR: Session 952 (user "root", CID 101) created.
[INF]: SR: Session 953 (user "root", CID 101) created.
[INF]: SR: Session 954 (user "root", CID 101) created.
[ERR]: LN: SSL_accept failed (tlsv1 alert unknown ca).
Client Side:
[root@localhost example_configuration]# netopeer2-cli

cert display
No certificates found in the default trusted CA directory.
cert add tls/ca.pem
cert add: Cannot access certificate "tls/ca.pem": No such file or directory
cert add tls_certs/ca.pem
cert replaceown tls_certs/client.crt tls_certs/client.key
connect --tls --host <IP_ADDRESS>
nc ERROR: SSL_connect failed (certificate verify failed).
nc ERROR: SSL error (unknown state).
cmd_connect: Connecting to the <IP_ADDRESS>:6513 failed.
cert display
-----ca----- serial: 45ce2c8a91ef25294dad0221461662941bd5e11a
Subject: C=CZ, ST=South Moravia, L=Brno, O=CESNET z.s.p.o., OU=TMC, CN=example<EMAIL_ADDRESS>Issuer:  C=CZ, ST=South Moravia, L=Brno, O=CESNET z.s.p.o., OU=TMC, CN=example<EMAIL_ADDRESS>Valid until: Sep  1 10:21:01 2031 GMT

cert displayown
OK: Using *.crt certificate with a separate private key.
-----CRT----- serial: 47f82c15c5f3457a6d35a7ea427f46e71ca49fc0
Subject: C=CZ, ST=South Moravia, L=Brno, O=CESNET z.s.p.o., OU=TMC<EMAIL_ADDRESS>Issuer:  C=CZ, ST=South Moravia, L=Brno, O=CESNET z.s.p.o., OU=TMC, CN=example<EMAIL_ADDRESS>Valid until: Sep  1 10:28:18 2031 GMT

TLS Connection from client (<IP_ADDRESS>) ==> server (<IP_ADDRESS>)
This time its different systems, not localhost, that is the only change.
Thanks
Rajeev

cert add: Cannot access certificate "tls/ca.pem": No such file or directory

This error is definitely not good but I do not understand why it is then displayed. But just to be sure, I would clear the whole CA directory (~/.netopeer2-cli/certs) and then try to install the certificates again, without errors. I think the command cert add needs an absolute path, did not find time to fix it, so try it that way. After that, try connecting again.


[OpenAPI 3] Error description not discovered with error hierarchy.

Playground
If I have an error hierarchy, I might prefer to use extends like so:
/** fail! */
model APIError { code: string};

/** a specific fail! */
model CustomError extends APIError {
  ... Response<400>
}

However, neither extends nor is works, I just get the generic description. If I remove both, the response gets the right description.

Before someone tries to fix this one, this was done by design in this PR https://github.com/microsoft/typespec/pull/765 so we might need to think about this a little more

This has been fixed


user_state.py:23: Перенести классы в отдельные файлы 6

The puzzle 899-c3f22ca8 from #899 has to be resolved:
https://github.com/blablatdinov/tg-quranbot/blob/ea15e984677c1c02034cd296d8c037c2bf036e67/src/services/user_state.py#L23-L23
The puzzle was created by Ilaletdinov Almaz on 20-Jun-24.
role: DEV.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

Дубликат #929


feat: Add gRPC metrics export support

For funsies, fixes https://github.com/honeycombio/honeycomb-opentelemetry-node/issues/128

All diddly-doneski


Look for other cases where cache misses are caused by superfluous fields on entities

See #4310

Handy console fragment:
_.groupBy( [ ...broker.viewData.keys() ], k => k.substr(0, k.indexOf("_")))

(Assuming you have exposed the broker obj to the console)


Enable caching for ANTLR task

Thanks. I've added coverage for each ANTLR version. The timestamp is irrelevant in this case: it doesn't make caching better or worse for the ANTLR task. We could improve things downstream by removing the timestamp, but that's a separate concern.

Feedback build: https://builds.gradle.org/viewQueued.html?itemId=9862568

Feature build: https://builds.gradle.org/viewQueued.html?itemId=9863268

Feedback build: https://builds.gradle.org/viewQueued.html?itemId=9865582

Feedback build: https://builds.gradle.org/viewQueued.html?itemId=9866030

I re-ran the build that timed out and it's fine. Merging.


createClientComponentClient automatically handles /callback?code=

While trying to fix this issue by moving the /callback GET route to a Page I noticed that when I'm creating the Supabase client using createClientComponentClient it automatically handles the route params and redirects. From my own perspective, we lose the control over the navigation, params check, etc. and I don't think that the client creating should automatically handle the page state.

Closing this one out as I'm not able to reproduce this issue. Please do re-open if you have a reproducible example repo showing this behaviour.


ENH: update package version to 0.1.4 and enable microarch-enabled and arm builds for all platforms

Checklist

[x] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

This is a competing PR to #11 updating blasfeo and enabling microarch x86_64 and arm build on all platforms. I also took the liberty to add myself as maintainer.
Let's see if everything builds as expected...

@conda-forge-admin, please rerender

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe/meta.yaml) and found it was in an excellent condition.

Hi! This is the friendly automated conda-forge-webservice.
I tried to rerender for you but ran into some issues. Please check the output logs of the GitHub actions workflow below for more details. You can also ping conda-forge/core for further assistance or you can try rerendering locally.
The following suggestions might help debug any issues:

Is the recipe/{meta.yaml,recipe.yaml} file valid?
If there is a recipe/conda-build-config.yaml file in the feedstock make sure that it is compatible with the current global pinnnings.
Is the fork used for this PR on an organization or user GitHub account? Automated rerendering via the webservices admin bot only works for user GitHub accounts.

This message was generated by GitHub actions workflow run https://github.com/conda-forge/conda-forge-webservices/actions/runs/11911901191.

Hi! This is the friendly automated conda-forge-webservice.
I tried to rerender for you but ran into some issues. Please check the output logs of the GitHub actions workflow below for more details. You can also ping conda-forge/core for further assistance or you can try rerendering locally.
The following suggestions might help debug any issues:
* Is the `recipe/{meta.yaml,recipe.yaml}` file valid?

* If there is a `recipe/conda-build-config.yaml` file in the feedstock make sure that it is compatible with the current [global pinnnings](https://github.com/conda-forge/conda-forge-pinning-feedstock/blob/master/recipe/conda_build_config.yaml).

* Is the fork used for this PR on an organization or user GitHub account? Automated rerendering via the webservices admin bot only works for user GitHub accounts.

This message was generated by GitHub actions workflow run https://github.com/conda-forge/conda-forge-webservices/actions/runs/11911901191.

Related error:
/opt/conda/envs/cf-feedstock-ops/lib/python3.11/site-packages/conda_build/environ.py:544: UserWarning: The environment variable 'BLASFEO_TARGET' is being passed through with value 'X64_INTEL_CORE'.  If you are splitting build and test phases with --no-test, please ensure that this value is also set similarly at test time.
  warnings.warn(
/opt/conda/envs/cf-feedstock-ops/lib/python3.11/site-packages/conda_build/environ.py:544: UserWarning: The environment variable 'BLASFEO_TARGET' is being passed through with value 'X64_INTEL_HASWELL'.  If you are splitting build and test phases with --no-test, please ensure that this value is also set similarly at test time.
  warnings.warn(
/opt/conda/envs/cf-feedstock-ops/lib/python3.11/site-packages/conda_build/environ.py:544: UserWarning: The environment variable 'BLASFEO_TARGET' is being passed through with value 'ARMV8A_APPLE_M1'.  If you are splitting build and test phases with --no-test, please ensure that this value is also set similarly at test time.
  warnings.warn(
/opt/conda/envs/cf-feedstock-ops/lib/python3.11/site-packages/conda_build/environ.py:544: UserWarning: The environment variable 'BLASFEO_TARGET' is being passed through with value 'GENERIC'.  If you are splitting build and test phases with --no-test, please ensure that this value is also set similarly at test time.
  warnings.warn(
Traceback (most recent call last):
  File "/opt/conda/envs/cf-feedstock-ops/lib/python3.11/site-packages/conda_build/metadata.py", line 2003, in _get_contents
    rendered = template.render(environment=env)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/conda/envs/cf-feedstock-ops/lib/python3.11/site-packages/jinja2/environment.py", line 1304, in render
    self.environment.handle_exception()
  File "/opt/conda/envs/cf-feedstock-ops/lib/python3.11/site-packages/jinja2/environment.py", line 939, in handle_exception
    raise rewrite_traceback_stack(source=source)
  File "/tmp/tmph6awd_rn/blasfeo-feedstock/recipe/meta.yaml", line 32, in top-level template code
    # M1 from Apple, thus we set TARGET to ARMV8A_APPLE_M1
^^^^^^^^^^^^^^^^^^^^^^^^^
jinja2.exceptions.UndefinedError: 'microarch_level' is undefined

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/conda/envs/cf-feedstock-ops/bin/conda-smithy", line 10, in <module>
    sys.exit(main())
             ^^^^^^
  File "/opt/conda/envs/cf-feedstock-ops/lib/python3.11/site-packages/conda_smithy/cli.py", line 758, in main
    args.subcommand_func(args)
  File "/opt/conda/envs/cf-feedstock-ops/lib/python3.11/site-packages/conda_smithy/cli.py", line 601, in __call__
    self._call(args, args.temporary_directory)
  File "/opt/conda/envs/cf-feedstock-ops/lib/python3.11/site-packages/conda_smithy/cli.py", line 604, in _call
    configure_feedstock.main(
  File "/opt/conda/envs/cf-feedstock-ops/lib/python3.11/site-packages/conda_smithy/configure_feedstock.py", line 2880, in main
    render_azure(env, config, forge_dir, return_metadata=True)
  File "/opt/conda/envs/cf-feedstock-ops/lib/python3.11/site-packages/conda_smithy/configure_feedstock.py", line 1900, in render_azure
    return _render_ci_provider(
           ^^^^^^^^^^^^^^^^^^^^
  File "/opt/conda/envs/cf-feedstock-ops/lib/python3.11/site-packages/conda_smithy/configure_feedstock.py", line 1138, in _render_ci_provider
    metas = _conda_build_api_render_for_smithy(
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/conda/envs/cf-feedstock-ops/lib/python3.11/site-packages/conda_smithy/configure_feedstock.py", line 938, in _conda_build_api_render_for_smithy
    metadata_tuples = render_recipe(
                      ^^^^^^^^^^^^^^
  File "/opt/conda/envs/cf-feedstock-ops/lib/python3.11/site-packages/conda_build/render.py", line 1005, in render_recipe
    return distribute_variants(
           ^^^^^^^^^^^^^^^^^^^^
  File "/opt/conda/envs/cf-feedstock-ops/lib/python3.11/site-packages/conda_build/render.py", line 894, in distribute_variants
    mv.parse_until_resolved(
  File "/opt/conda/envs/cf-feedstock-ops/lib/python3.11/site-packages/conda_build/metadata.py", line 1357, in parse_until_resolved
    self.parse_again(
  File "/opt/conda/envs/cf-feedstock-ops/lib/python3.11/site-packages/conda_build/metadata.py", line 1262, in parse_again
    self._get_contents(
  File "/opt/conda/envs/cf-feedstock-ops/lib/python3.11/site-packages/conda_build/metadata.py", line 2013, in _get_contents
    raise CondaBuildUserError(
conda_build.exceptions.CondaBuildUserError: Failed to render jinja template in /tmp/tmph6awd_rn/blasfeo-feedstock/recipe/meta.yaml:
'microarch_level' is undefined
2024-11-19 11:18:16,871 ERROR    conda_forge_webservices.github_actions_integration.rerendering || Rerendering failed: Error running 'conda-forge-feedstock-ops-container rerender --log-level debug' in container - error RuntimeError raised:
'Failed to rerender.
output: Adding in variants from internal_defaults
Adding in variants from /tmp/tmp83brb7p8/conda-smithy/conda_build_config.yaml
Adding in variants from /tmp/tmph6awd_rn/blasfeo-feedstock/recipe/conda_build_config.yaml
Adding in variants from argument_variants

It seems like microarch_level might not be supported on Windows... I'll have to dig a bit deeper, though. But would be nice to have micro arch support on Windows.

It seems like, one can also do it manually, similar to https://github.com/AnacondaRecipes/llama.cpp-feedstock/blob/main/recipe/meta.yaml. I have to play a bit around with it, but this looks like it should work.

If the test are not passing on Windows no problem for me, as long as we tested it once manually offline.

 This is the friendly automated conda-forge-webservice.
I tried to rerender for you, but it looks like there was nothing to do.
This message was generated by GitHub actions workflow run https://github.com/conda-forge/conda-forge-webservices/actions/runs/11916329122.

 If we can replicate the problem outside of conda, probably we can report the problem upstream. In the meanwhile perhaps we can just skip AVX512 builds for now? Done that, I guess we are good to go?

I think so, except we should probably test everything locally first before. Is there a way to get the build binaries so they can be tested locally?

You can just set store_build_artifacts parameter in azure group in conda-forge.yaml, see https://conda-forge.org/docs/maintainer/conda_forge_yml/#azure and https://github.com/conda-forge/python-feedstock/blob/db88998e1e63b44dc1afbbaac2e2c6ebb4f3703e/conda-forge.yml#L12 for an example. Then you can get the built packages from the Azure CI job.

@conda-forge-admin, please rerender

@conda-forge-admin, please rerender

Hi! This is the friendly automated conda-forge-webservice.
I tried to rerender for you, but it looks like there was nothing to do.
This message was generated by GitHub actions workflow run https://github.com/conda-forge/conda-forge-webservices/actions/runs/11917792051.

MacOS ARM build is working, and I tested the windows package on my local vm. MSVC is able to compile and link blasfeo successfully!
I also looked into AVX512 again, and it looks like there is just a lot that isn't implemented for this architecture yet. Hence, if you don't use the implemented library calls, you can run into issues. Thus, it's probably best to not build for this target. Especially, if people expect the same behavior independent of CPU architecture.
From my side, this can be merged.

I also looked into AVX512 again, and it looks like there is just a lot that isn't implemented for this architecture yet. Hence, if you don't use the implemented library calls, you can run into issues. Thus, it's probably best to not build for this target. Especially, if people expect the same behavior independent of CPU architecture.

Indeed, see also https://github.com/giaf/blasfeo/pull/182#issuecomment-2334826818 .

From my side, this can be merged.

Great, let's merge so we can enable multi-platform support also on fatrop. Thanks a lot for the help!


tox-node: 0.0.8 -> 0.1.0

Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Cargo.toml says this is gpl3Plus: https://github.com/tox-rs/tox-node/blob/master/Cargo.toml#L15


Non-downloadable data shows up when searching for assets

Okay, so when when I search for '3d_' for example, I get these data that cannot be downloaded. (pressing the 'DL' button simply does nothing to them)
I remember that this was not an issue with some older versions
https://imgur.com/Wvh8gKU

Didn't play this game long time. It seems the p/*.bytes is a new kind of assets, I don't know how to resolve its real download url yet

Alright, I see... Thank you for answering


Increase encoding efficiency

Fixes #48. The benchmarks have not yet been ran on a proper target machine, but on my local machine the updates give us anywhere between 2 and 8 times speed increase, just by dropping interfaces and not passing pointers to read values into.
The dropping of interfaces removes the overhead of dynamic dispatch, which is probably our biggest efficiency gain as it is a costly operation. Aside from that, removing interfaces means that the buffers used for encoding/decoding can be allocated on the stack, saving us more time since this allocation is very cheap.

Codecov Report

Merging #84 into master will decrease coverage by <.01%.
The diff coverage is 59.24%.

@@            Coverage Diff             @@
##           master      #84      +/-   ##
==========================================
- Coverage   59.05%   59.05%   -0.01%
==========================================
  Files         118      118
  Lines        6277     6362      +85
==========================================
+ Hits         3707     3757      +50
- Misses       1964     1998      +34
- Partials      606      607       +1

Impacted Files
Coverage Δ

pkg/core/consensus/reduction/reducer.go
76.71% <0%> (ø)
:arrow_up:

pkg/core/chain/chain.go
32.1% <0%> (ø)
:arrow_up:

pkg/p2p/peer/processing/frame.go
0% <0%> (ø)
:arrow_up:

pkg/p2p/peer/handshake.go
40.2% <0%> (ø)
:arrow_up:

pkg/core/chain/collectors.go
40% <0%> (ø)
:arrow_up:

pkg/core/consensus/collector.go
0% <0%> (ø)
:arrow_up:

pkg/p2p/peer/processing/gossip.go
0% <0%> (ø)
:arrow_up:

pkg/p2p/peer/version.go
47.82% <42.85%> (-2.18%)
:arrow_down:

pkg/core/consensus/eventprocessor.go
31.81% <50%> (ø)
:arrow_up:

pkg/core/consensus/selection/scoreevent.go
30% <50%> (+12.35%)
:arrow_up:

... and 19 more

Continue to review full report at Codecov.

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

The change of encoding function signatures from ReadXXX(r *bytes.Buffer, XXX) error to ReadXXX(r *bytes.Buffer) (XXX, error) is a dubious one (in particular ReadVarBytes). Forcing allocations on API callers has been pointed out as an anti-pattern in go, especially in performance optimization.

By the way, this is also the reason why the Deserialize function on the UnMarshaller objects have been suppressed