User Permissions should be obtained in fewer REST requests

Describe the bug
In 7.x and 8.x, user permissions are obtained one-by-one in several calls to the /server/api/authz/authorizations/search/object endpoint.  These requests are most easily seen after login, as you'll see ~10 of these requests in a row for the Site object:
GET /server/api/authz/authorizations/search/object?uri=https://sandbox.dspace.org/server/api/core/sites/[site-uuid]&feature=isCollectionAdmin&embed=feature
GET /server/api/authz/authorizations/search/object?uri=https://sandbox.dspace.org/server/api/core/sites/[site-uuid]&feature=isCommunityAdmin&embed=feature
GET /server/api/authz/authorizations/search/object?uri=https://sandbox.dspace.org/server/api/core/sites/[site-uuid]&feature=administratorOf&embed=feature
GET /server/api/authz/authorizations/search/object?uri=https://sandbox.dspace.org/server/api/core/sites/[site-uuid]&feature=canSubmit&embed=feature
GET /server/api/authz/authorizations/search/object?uri=https://sandbox.dspace.org/server/api/core/sites/[site-uuid]&feature=canEditItem&embed=feature
GET /server/api/authz/authorizations/search/object?uri=https://sandbox.dspace.org/server/api/core/sites/[site-uuid]&feature=canSeeQA&embed=feature
GET /server/api/authz/authorizations/search/object?uri=https://sandbox.dspace.org/server/api/core/sites/[site-uuid]&feature=coarNotifyEnabled&embed=feature
GET /server/api/authz/authorizations/search/object?uri=https://sandbox.dspace.org/server/api/core/sites/[site-uuid]&feature=canManageGroups&embed=feature
GET /server/api/authz/authorizations/search/object?uri=https://sandbox.dspace.org/server/api/core/sites/[site-uuid]&feature=canSendFeedback&embed=feature
GET /server/api/authz/authorizations/search/object?uri=https://sandbox.dspace.org/server/api/core/sites/[site-uuid]&feature=canViewUsageStatistics&embed=feature

These requests are all identical except for the feature= parameter, where they request permissions specific to that feature.
In the REST API, we already have a way to request permissions in bulk, by just removing the optional feature parameter:
# This will return all permissions the current authenticated user has on the Site object.
GET /server/api/authz/authorizations/search/object?uri=https://sandbox.dspace.org/server/api/core/sites/[site-uuid]

Ideally, we should avoid one-by-one requests of this sort, and request all the authorizations at once and cache them for the remainder of the user's session.  If additional endpoints or options are necessary in the REST API, then we should add them to better support this request for bulk permissions.
To Reproduce
Steps to reproduce the behavior:

Visit demo.dspace.org or sandbox.dspace.org
Open Chrome DevTools
Login as an Admin, and look at the number of requests made to the /server/api/authz/authorizations/search/object endpoint

Expected behavior
Ideally, we should request user permissions in one request (or fewer requests) and cache them for the remainder of the user's session.

Hi @tdonohue, we'd like to have this issue assigned to 4Science, @atarix83 can be the Assignee. Thanks!

Thanks @GraziaQuercia !  I'll assign this to @atarix83  then.


'xSQLServerSetup: Exception calling "CreateProcessAsUser" with "4" argument(s): "The process could not be created. Create process as user  error #1314"

Details of the scenario you try and problem that is occurring:
Hello,
I'm trying to install a 2014 SQL Failover Cluster via the xSQLServerSetup resource (<IP_ADDRESS>) and I'm seeing the following error.
Exception calling "CreateProcessAsUser" with "4" argument(s): "The process could not be created. Create process as user
error #1314"
After doing a bit of debugging I found that this error is generated from
xPDT.psm1:line 581: [Source.NativeMethods]::CreateProcessAsUser.
The DSC configuration that is using the resource (as detailed as possible):
[string[]]$computers = 'Node1'
$OutputPath = 'C:\DSCConfig'
$adminaccount="$env:userdomain\$env:USERNAME"
$installeraccount="$env:userdomain\$env:USERNAME"
$instancename="MSSQLSERVER"
$sourcepath="\\demo-dc\SQLBinaries"
$UpdateSource='\\pull\UPDATE'
$features='SQLENGINE'
$InstallSharedDir="C:\Program Files\Microsoft SQL Server"
$InstallSharedWOWDir="C:\Program Files (x86)\Microsoft SQL Server"
$InstanceDir="C:\Program Files\Microsoft SQL Server"
$InstallSQLDataDir='E:\Data"'
$SQLUserDBDir="E:\Data"
$SQLUserDBLogDir="E:\Log"
$SQLTempDBDir="E:\TEMP"
$SQLTempDBLogDir="E:\TEMP"
$SQLBackupDir ="E:\Data"

Configuration SQLBuild
{
    Import-DscResource –ModuleName PSDesiredStateConfiguration
    Import-DscResource -ModuleName xSQLServer

   Node $AllNodes.NodeName
   {
      if($Node.Features)
      {
         xSqlServerSetup ($Node.NodeName)
         {
             SourcePath = $node.Sourcepath
             Action ='InstallFailoverCluster'
             #SourceCredential = $Node.InstallerServiceAccount
             SetupCredential = $Node.InstallerServiceAccount
             InstanceName = $Node.InstanceName
             Features = $Node.Features
             SQLSysAdminAccounts = $Node.AdminAccount
             SQLSvcAccount = $Node.InstallerServiceAccount
             SAPwd = $Node.SAPwd
             InstallSharedDir = $node.InstallSharedDir
             InstallSharedWOWDir = $node.InstallSharedWOWDir
             InstanceDir = $node.InstanceDir
             InstallSQLDataDir = $node.InstallSQLDataDir
             SQLUserDBDir = $node.SQLUserDBDir
             SQLUserDBLogDir = $node.SQLUserDBLogDir
             SQLTempDBDir = $node.SQLTempDBDir
             SQLTempDBLogDir = $node.SQLTempDBLogDir
             SQLBackupDir = $node.SQLBackupDirs
             #UpdateSource = $node.UpdateSource
             #UpdateEnabled = $true
             SecurityMode ='SQL'
             AgtSvcAccount = $Node.InstallerServiceAccount
             FailoverClusterIPAddress = '<IP_ADDRESS>'
             FailoverClusterGroupName ='SQLCLUSTER'
             FailoverClusterNetworkName = 'SQL2014FCILAB'
             PsDscRunAsCredential = $node.InstallerServiceAccount
             #DependsOn = '[WindowsFeature]NET'#,'[File]CopyBinaries'
         }
    } #Node
}
$ConfigurationData = @{
    AllNodes = @(
        @{
            NodeName = "*"
            PSDscAllowPlainTextPassword = $true
            PSDscAllowDomainUser =$true
            NETPath = "\\demo-dc\Windows\sources\sxs"
            SourcePath = $sourcepath
            InstallerServiceAccount = Get-Credential -UserName $installeraccount -Message "Credentials to Install SQL Server"
            AdminAccount = $adminaccount
            InstallSharedDir = "$InstallShardDir\$instancename"
            InstallSharedWOWDir = "$InstallSharedWOWDir"
            InstanceDir = "$InstanceDir\$instancename"
            InstallSQLDataDir = "$InstallSQLDataDir\$instancename"
            SQLUserDBDir = "$SQLUserDBDir\$instancename"
            SQLUserDBLogDir = "$SQLUserDBLogDir\$instancename"
            SQLTempDBDir = "$SQLTempDBDir\$instancename"
            SQLTempDBLogDir = "$SQLTempDBLogDir\$instancename"
            SQLBackupDir = $SQLBackupDir
            UpdateSource= $UpdateSource
            #Binarydestinationpath= $Binarydestinationpath
            SAPwd= Get-Credential -UserName 'SA' -Message "Enter SA Password"
        }
    )
}
    ForEach ($computer in $computers)
    {
                $ConfigurationData.AllNodes += @{
                NodeName        = $computer
                InstanceName    = $instancename
                Features        = $features
        }
    }
}
SQLBuild -ConfigurationData $ConfigurationData -OutputPath $OutputPath

Start-DscConfiguration -Path $OutputPath -Verbose -Wait -Force

Version of the Operating System, SQL Server and PowerShell the DSC Target Node is running:
OS Version:
version  caption

6.3.9600 Microsoft Windows Server 2012 R2 Standard
SQL Server 2014 Enterprise
DSC: 5.1
Version of the DSC module you're using, or 'dev' if you're using current dev branch:
<IP_ADDRESS>

Thanks for reporting this!
This is because the account in the built-in parameter PsDscRunAsCredential are not allowed to start the process. This is a bug.

This is the same problem as described in #444. I will close this issue and track it over at issue #444.


[FEATURE]Enhance Navbar Aesthetics with Hover Effects and Improved Button Styles

🚀 Feature Request
Issue Description
In the current implementation of the navbar, the logo lacks any hover effect or animation, and the navigation items do not have an underline animation or any other engaging hover effects. To enhance the beauty of the navbar, I propose implementing the following changes:
1.Logo Animation: Add a hover effect or animation to the logo for improved interactivity.
2.Navigation Items: Implement underline animation or additional hover effects for nav items to make them more visually appealing.
3.Button Styles: Redesign the login and register options as buttons for better user experience.
4.Register Icon: Improve the design of the register icon for enhanced visibility and attractiveness.

Additional Context
By incorporating these enhancements, we can significantly improve the aesthetics and usability of the navbar, providing users with a more engaging experience.

Screenshot

Checklist

[] I have checked the existing issues and this feature request is not a duplicate.
[] I have starred this repository.
[x] I am willing to help implement this feature (optional).

Hi, I would like to work on this issue. Please assign me this and mark it under label "gssoc-ext"/"gssoc".


removed (unused) Rectangle/recordclass

The class Rectangle (created with recordclass) is not used at all. So I removed it, and also removed recordclass from requirements.txt. I assume it was a leftover from an earlier version.

Nice catch!
I'm not sure if it did ever get used or not, but I think initially I thought it would be needed for the dirty sub-rectangle processing. I think the thing it was initlaly copied from may have eventually become this struct class: https://github.com/adafruit/Adafruit_Blinka_Displayio/blob/f7f2d44ee328bea2a2ba39b7d87fb4b537972978/displayio/_structs.py#L27
I will try this out later tonight.


List index issue

Hello! First of all thanks for the lovely plugin!
I have an issue where scout returns null in the following function:
$list: (
attr1:value1,
attr2:value2,
);
$j: index($list, attr2 value2);
@error $j;  => returns null
Any idea what could be causing this? Code compiles fine in sassmeister:
https://www.sassmeister.com/gist/5d4e35ee7f376724d6131c53053b40a6

@scooterlord
This is related to the version of Node-Sass built in to Scout-App. In 2.12.12 it returns null, but in the latest master branch it returns 2.
This will be fixed in the next release of Scout-App.
If you want to use it in advance:

Download Node.js
Download the latest code
Extract the scout-app-master folder from the zip file
In your Command Prompt/Terminal cd into the scout-app-master folder
Run npm install (this will take a few minutes)
Run npm start

Thanks for the info! Is the release date defined for the next version?

I have one last bug I am working on, release will occur after that. No dates set.

I'm not sure what you mean.
You can click on the address bar in Explorer and put cmd then a space at the start of the C:\whatev address. So it looks like cmd C:\whatever\scout-app-master, then press enter and it will open the Command Prompt to that folder. then run npm install and npm start.

You can also create a Scout-App.bat file on your desktop. Edit it in Notepad and paste this in:
cd "C:\Portable Apps\scout-app" && cls && npm start

Obviously, change the file path to wherever you have the folder

Thanks for getting back to me. However what I meant is that scout works with an executable, so even if I run npm install and the node modules are installed how would I use it?

npm start will run it, or you can make that scout-app.bat file as a shortcut, or if you really want to, you can download NW.js v0.12.3 and dump it's files into the Scout-App folder. So that nw.exe is next to package.json. Then rename nw.exe to Scout-App.exe. Then you can create a shortcut for Scout-App.exe and customize the shortcut's icon.

Thanks for your patience and explanation! :) Have a nice weekend!

@scooterlord
Closing issue. This has been released in Scout-App v2.18.16.


Solve partial instantiation of generic methods in a clean way

There are a number of issues with the way the new partial instantiation of generic methods (a test of which can be found language_2/partial_tearoff_instantiation_test) was implemented in 42a639973dfd1ebe2de2f2b8b7b4c027986f1805 (as well as ac7f5800059659462b2a795c3a16d03a20aa6a2d which duplicated the problem into the constant evaluator).
Issue 1) If the frontend infers that there are only dynamic type arguments for the partial instantiation of the generic method, the VM will explicitly use a non-canonicalized TypeArguments vector.
-> See StreamingFlowGraphBuilder::BuildPartialTearoffInstantiation

Firstly this will cause us having the same TypeArguments vector of all-dynamic many times in memory
Secondly this actually breaks code in debug mode, where we have assertions (like this one) which assert that type arguments are canonicalized

Issue 2) Whenever we want to find out if a TypeArguments vector was supplied by a caller or is available in a partially-instantiated closure, we cannot compare against null, because currently the VM uses null as a TypeArgument vector of all-dynamic.
-> For finding out whether the caller supplied function type arguments we have to look into the arguments descriptor.
-> For finding out whether the closure-at-hand is actually partially-instantiated and has therefore function type arguments, we have to use a mechanism which doesn't rely on null comparisons.
Issue 3) The Closure::function_type_arguments field can apparently not be used as a slot for storing the type arguments at a partial-instantiation. This field is used for a different purpose, @crelier should be able to elaborate on this.
-> Currently the partial instantiation implementation copies over all the fields from the non-instantiated closure, and overrides the Closure::function_type_arguments field with the type arguments supplied at partial-instantiation time. See the code here.
/cc @crelier @kmillikin

If I have time, I will look into it in the near future.

Do issues 2 and 3 cause any bugs?

To the best of my knowledge all 3 of these are bugs that need to be fixed (which is why I filed this issue)

Do you have any reproductions to help?

... So I don't see a problem here.

As explained in the bug report and offline, I see an issue here, I don't think what you wrote is correct!
The 3 issues I've pointed out are real issues and need to be fixed!

To make this even clearer, here's a simple test case:
main() {
  print(foo<double>(1.2));
  print(partiallyInstantiatedClosure(42));
}

typedef String F(int f);
F partiallyInstantiatedClosure;

String foo<A>(A a) {
  String bar<B>(B b) {
    String hest<C>(C c) {
      return '$A:$a, $B:$b, $C:$c';
    }
    partiallyInstantiatedClosure = hest;
    return hest<int>(42);
  }
  return bar<String>('str');
}

This results in
% out/ReleaseX64/dart --preview_dart_2 test.dart
double:1.2, String:str, int:42
int:1.2, dynamic:str, dynamic:42

instead of
% out/ReleaseX64/dart --preview_dart_2 test.dart
double:1.2, String:str, int:42
double:1.2, String:str, int:42

Quite obviously the TypeArguments vector is wrong!!!
For reference, the kernel is:
  typedef F = (core::int) → core::String;
  static field (core::int) → core::String partiallyInstantiatedClosure;
  static method main() → dynamic {
    core::print(x::foo<core::double>(1.2));
    core::print(x::partiallyInstantiatedClosure.call(42));
  }
  static method foo<A extends core::Object>(x::foo::A a) → core::String {
    function bar<B extends core::Object>(B b) → core::String {
      function hest<C extends core::Object>(C c) → core::String {
        return "${x::foo::A}:${a}, ${B}:${b}, ${C}:${c}";
      }
      x::partiallyInstantiatedClosure = hest<core::int>;
      return hest.call<core::int>(42);
    }
    return bar.call<core::String>("str");
  }

Thanks for the reproduction, it's very helpful.
I've talked with @eernstg , @crelier and @leafpetersen and discovered that this feature is actually not specified at all. My understanding was that type inference in the FE would only apply this operator to top-level and class-level tearoffs, not to local functions. #31665 explains how the spec. suggests this intepretation. "Issue 3", the overloading of Closure::function_type_arguments, was not a problem under this assumption.
The language team decided that there would be some restrictions on this feature similar to that, but they are slightly different, and do allow the case you've demonstrated above. I'm still not sure which restrictions, if any, the CFE is imposing during type inference. DDC is currently not imposing any restrictions at all.
To solve "Issue 3", the issue you have reproduced, we need to redesign the implementation. Obviously, the language team needs to specify this feature first.
I've created a task for this issue (#32533), and a task for the discrepancy between the CFE's implementation and the VM's implementation (#32534).
As mentioned above, I've already created a P2-level task (#32527) for "Issue 1" and "Issue 2", which are bugs regardless of how the feature is specified.


Add support for embedded_hal_async::digital::Wait

This PR adds support for the async Wait trait from the embedded-hal-async crate.

@cdunster hi, there are new conflicts introduced by other merges. Would you mind updating your branch? Thanks.

Hi @dbrgn, I've updated my branch. Thanks for looking into this PR.

I gave this PR a try and it works well. Would be possible to add a configurable delay before these async functions resolve? In my code I use timeouts for control flow so I need a way to make these futures not resolve immediately.

@cdunster looking great, thanks!
Regarding the configurable delay: If such a delay would be added, is that something that should be added to other async mock method calls as well, not just digital pins?
On the other hand, this method is explicitly about waiting, so a configurable wait time might make sense. However, the point about the tokio dependency is a valid one. Ideally, we'd have an executor-independent async sleep implementation, but I think that's not currently possible in Rust, right?
In any case, I'll rebase and merge this PR for now. I'll tag a new release soon, but more features (even breaking changes) can always be added. If you're interested in a configurable delay, feel free to open a new PR, where it can be discussed.


New logo

I want to give a new design to the logo as it is not visually appealing that much . please assign me this @Pranjal360Agarwal .

I want to give a new design to the logo. please assign me this @Pranjal360Agarwal .

please do check @Pranjal360Agarwal

hi @Pranjal360Agarwal you can assign it to me if it is not done yet I will create the new logo and then integrate it in the python source code


ML : Breast Cancer Classification (ML-Projects)

📌 Issues for Week 9 - Basic Projects of Machine Learning
🔴 Project Title : Breast Cancer Classification
🔴 Aim of the Project : Creating a machine learning model, which will classify breast cancer and then predict accordingly.
🔴 Dataset : https://www.kaggle.com/merishnasuwal/breast-cancer-prediction-dataset
🔴 Domain : Machine Learning
🔴 Special Credit : Try to implement more than three machine learning algorithms and make a comparison between them, then conclude about the best fit algorithm to create the model. All the algorithms must be checked through the accuracy scores to determine the best fitted model
Welcome to 'ML' Team, good to see you here, in this week we'll be creating several basic projects of this Machine Learning Domain.

📍 Follow the Guidelines to Contribute in the Project :

You need to create a separate folder named as the Project Title.
Inside that folder, there will be four main components.

Images - To store the required images.
Dataset - To store the dataset or, information/source about the dataset.
Model - To store the machine learning model you've created using the dataset.
requirements.txt - This file will contain the required packages/libraries to run the project in other machines.

Inside the Model folder, the README.md file must be filled up properly, with proper visualizations and conclusions.
A Demo Project has been created to guide you about the whole structure of presenting the Project in this repository. Here's the link of the Demo Project - https://github.com/girlscript/winter-of-contributing/tree/Machine_Learning/Machine_Learning/Basic_Projects_of_Machine_Learning/Demo_Project

Take the Reference from these two projects attached here,

https://github.com/prathimacode-hub/ML-ProjectKart/tree/main/Airbnb Price Prediction
https://github.com/prathimacode-hub/ML-ProjectKart/tree/main/Bike Crash Analysis

:red_circle::yellow_circle: Points to Note :

The issues will be assigned on a first come first serve basis, 1 Issue == 1 PR.
"Issue Title" and "PR Title should be the same. Include issue number along with it.
Changes should be made inside the Machine Learning/Machine_Learning/Basic_Projects_of_Machine_Learning Branch.
Follow Contributing Guidelines & Code of Conduct before start Contributing.
This issue is only for 'GWOC' contributors of 'Machine Learning' domain.

:white_check_mark: To be Mentioned while taking the issue :

Full name :
Batch Number :
GitHub Profile Link :
Approach for this Project :
Are you a participant of GWoC21?

[ ] YES
[ ]  No

Happy Contributing 🚀
All the best. Enjoy your open source journey ahead. 😎
Domain
Machine Learning
Type of Contribution
Basic Projects of Machine Learning
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

Hello, I am Deepthi M with serial number:198, Batch-2. I would like to work on this issue.my approach: a detailed explanation

Follow the guidelines and provide the approach of your project, like which algorithms you gonna use, how you'll check the accuracy of them @deepthi1107

Full name : Deepthi M
Batch Number : 02
GitHub Profile Link :  https://github.com/deepthi1107
Approach for this Project : a detailed EDA and I would like to use supervised machine learning models.
Are you a participant of GWoC21?
YES

Issue assigned @deepthi1107 , complete this within 3 days.

Full name : Kishlay Kumar
Batch Number : 04
serial no = 673
GitHub Profile Link : https://github.com/kishlayaug15
Approach for this Project : a detailed EDA and I would like to use supervised machine learning models like svm, decision tree, random forest and many more
Are you a participant of GWoC21?
YES

This issue is already assigned to @kishlayaug15

This issue is already assigned to @kishlayaug15

Is it assigned to me??
So, I can start working on it.

This issue is already assigned to @kishlayaug15

Is it assigned to me?? So, I can start working on it.

No sorry my bad. This is assigned to @deepthi1107. You can't work on it.

ok, when next set of issues will be uploaded? @abhisheks008

What's the progress in this project work? @deepthi1107

its in the final process sir

@deepthi1107 How's all going?


Feature/372 compress build artifact

For closing #483, this should address last item in that issue.
Review comments not addressed.


Provide actionable error messaging due to resource exhaustion.

WIP: test is passing locally. I'll debug tmrw.
Which issue does this PR close?
Part of #11523
Rationale for this change
The OOMing error message returns information about the next incremental request of memory, and not for the biggest consumers of memory. As a result, we have spent time chasing OOMs in the wrong place.
What changes are included in this PR?
Includes a new MemoryPool implementation, which when (optionally) used with an inner MemoryPool will return a list of the top memory consumers on OOM.
This new TrackConsumersPool is optional, such that individual users can determine whether or not to use this capability (along with any associated overhead).
Are these changes tested?
Yes.
Are there any user-facing changes?
Yes, as a new TrackConsumersPool.

@alamb -- I cannot reproduce these test failures locally, even with the same flags & tokio multithreaded tests enabled. Can you help?

@alamb -- I cannot reproduce these test failures locally, even with the same flags & tokio multithreaded tests enabled. Can you help?

I also could not reproduce it with
cargo test --lib  -p datafusion-execution

One way to debug such failures is to add additional debug logging to the tests -- right now the test failure simply says "failed" with a static message, but it doesn't say what the actual result was
For example you could potentially update your asserts like this:
diff --git a/datafusion/execution/src/memory_pool/pool.rs b/datafusion/execution/src/memory_pool/pool.rs
index 9ce14e41a..0df795a2b 100644
--- a/datafusion/execution/src/memory_pool/pool.rs
+++ b/datafusion/execution/src/memory_pool/pool.rs
@@ -494,12 +494,13 @@ mod tests {
         // using the previously set sizes for other consumers
         let mut r5 = MemoryConsumer::new("r5").register(&pool);
         let expected = "Failed to allocate additional 150 bytes for r5 with 0 bytes already allocated - maximum available is 5. The top memory consumers (across reservations) are: r1 consumed 50 bytes, r3 consumed 20 bytes, r2 consumed 15 bytes";
+        let actual_result = r5.try_grow(150);
         assert!(
             matches!(
-                r5.try_grow(150),
+                actual_result,
                 Err(DataFusionError::ResourcesExhausted(e)) if e.to_string().contains(expected)
             ),
-            "should provide list of top memory consumers"
+            "should provide list of top memory consumers, got {actual_result:?}",
         );
     }

And the message from your assertion failure should be more helpful for debugging

given the tests pass on amd64 maybe the difference is related to newlines or something in the message?

given the tests pass on amd64 maybe the difference is related to newlines or something in the message?

We have a backtrace inserted into the error message. Specifically, the expected is:
Failed to allocate additional 150 bytes for r0 with 10 bytes already allocated - maximum available is 70. The top memory consumers (across reservations) are: r1 consumed 20 bytes, r0 consumed 10 bytes
When running locally, we get that^^ response.
Yet in CI, we get the backtrace:

CI was failing due to the concat of error messages. I fixed it two ways -- in order to demonstrate why the 2nd way is better.

1st way is to splice the error message, in order to insert the consumer. This inherently violates the nature of error bubbling IMO.
2nd way is to wrap the OOM error with the top consumers. IMO this is correct.


[DATA-RQ] Emisiones diarias

Code Repository:
https://github.com/alphacastio/connector-bcra
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Lo hice aca: https://github.com/microsoft/vscode/pull/137244


Booster-532: align fourmolu and hlint versions

Preparing https://github.com/runtimeverification/hs-backend-booster/issues/532

Use fourmolu <IP_ADDRESS>, reformatting the code as required (large change)
use hlint-3.6.1 to check code style  (adjusting code and config as required)
provide hlint-3.6.1 in nix derivation #fourmolu

The changes to the trailing $ look horrible! And for some reason this only happens within the context of the project, not with isolated files outside of it (with the same configuration file available)

For posterity: https://github.com/fourmolu/fourmolu#language-extensions-dependencies-and-fixities explains (in brief) that fourmolu rearranges and re-indents operator chains if it does not know their fixities (because of reexporting and NoImplicitPrelude) - I adjusted this in the fourmolu.yaml


proposal: update proposal/README.md to stand alone

The proposal process document at https://golang.org/s/proposal has at least two problems we should fix.
First, it incorporates a few talks by reference, but most people aren't going to read/watch those or take away what we want to take away. It's fine to keep the talk links but we should extract the important messages and say them in the README explicitly.
Second, we introduced new process for Go 2 changes, with two rounds of proposals, in the Go 2 here we come blog post, but this is not mentioned in the README.

Correction: the Go 2 blog post is mentioned in the README but like with the talks the relevant parts should be incorporated into the document explicitly.


Use std.file.getcwd

Codecov Report

Merging #59 into master will increase coverage by 0.36%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master      #59      +/-   ##
==========================================
+ Coverage   62.19%   62.55%   +0.36%
==========================================
  Files          40       40
  Lines        1698     1688      -10
==========================================
  Hits         1056     1056
+ Misses        642      632      -10

That's good :+1:
But use InfoMessage, not DefaultMessage, for the pwd output.
https://github.com/ArkArk/d-prolog/pull/59/commits/4d2e3b9f001c7a2bd63d5f80edd045d84c6cda4a#diff-8a23bf0b87cb24262b0f19bc6a00662fR101
And put % and two spaces before the output path as follows:
?- pwd.
%  /path/to/directory
true.

two spaces :pray:

Thank you for your contribution!


Include fonts woff2 information in chunks by getFiles method

Feature request

What is the expected behavior?
Make this method return font .woff2 files that are used in a given chunk, not only the JS and CSS files
What is motivation or use case for adding/changing the behavior?
Need a get fonts by chunks to preload it separately for each bundle.
Are you willing to work on this yourself?
I don't sure I able to make it on my own.

But I still need it


 Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  libasan1
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 195 kB of archives.
After this operation, 730 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian/ jessie/main libasan1 amd64 4.9.2-10 [195 kB]
Fetched 195 kB in 0s (286 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
dpkg: error processing archive /var/cache/apt/archives/libasan1_4.9.2-10_amd64.deb (--unpack):
 cannot get security labeling handle: No such file or directory
Errors were encountered while processing:
 /var/cache/apt/archives/libasan1_4.9.2-10_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
core@core-01 ~ $

What did you expect to see?
The package being succesfuly installed.
What did you see instead?
The package failing to install due to cannot get security labeling handle: No such file or directory
I looked around, and found this error elsewhere related to chroots and selinux. Ex: https://github.com/meefik/linuxdeploy/issues/264. I tried remounting /sys/fs/selinux which seems to have fixed the issue, but im unsure of if rkt should be handling some of this.

Does this only affect fly?

yes
I have the same issue and same workaround, it doesn't affect the default stage1.


Enhance the documentation quality

Fixed some typos around the code. I've also checked all the codebase and did not find any other.

Thank you!


fix(a11y): make the input and button elements accessible

Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)

Partially addresses https://github.com/freeCodeCamp/freeCodeCamp/issues/52709.

The outline: none; CSS property of the button element was removed so it will be keyboard-focusable and complying the WCAG SC 2.1.1.
Also, removing outline: none; and outline-style: none; of input element and applying the custom outline styles to the input and button elements with using the :focus-visible pseudo-class so the outline will be sufficiently visible for people who is visually impaired or have low vision and complying the WCAG SC 2.4.7, with referencing the technique G195. After investigation, the contrast ratio between the background color and the outline style will be 3.15:1 or 3.19:1, so it will meet the WCAG SC 1.4.11.

The code was tested locally with windows 11 Home PC using Chrome, Firefox, Edge, and Brave browser.

Btw, I updated the PR description to remove the keyword "Closes". Otherwise, the issue would be closed automatically when this PR is merged 🙂

Sorry, I simply could not notice that the original issue which still has issues to solve unintentionally wil be closed by the keyword.


Divide

resolve divide test

I think the issue might be with the innit file? but not sure..

finally!
i think i missed the indent and :
and also i accidentally deleted the int.py in the test folder

the code in the template needs to be modified to make the test work

also I was not used to python and forget that it is space sensitive! it makes a huge difference....


Security: remove API key auth

Motivation and Context

This PR addresses https://github.com/microsoft/semantic-kernel/issues/1639
Description

Remove API key authorization
Use "AzureAD" as default authentication configuration for deployments, "None" for running locally (Note: UI changes to disable sign in flow for the latter case are still forthcoming)
Enable auth policy on controllers that checks if the user is part of the conversation they are trying to access
Update routes to better align to Microsoft API design principles

Breaking change: This PR changes the contract between the frontend and backend around how user IDs are communicated. Users who have been signing into the frontend with AAD will now only see their chats if the backend is also gated by AAD authentication, which was not the case previously.
Contribution Checklist

[ ] The code builds clean without any errors or warnings
[ ] The PR follows the Contribution Guidelines and the pre-submission formatting script raises no violations
[ ] All unit tests pass, and I have added new tests where possible
[ ] I didn't break anyone :smile:

Closing this PR as it is now covered by #126


Modify PhasedActions to run tasks only when explicitly requested by the client

Modify Phased Actions to run tasks only when defined by the client and, otherwise
just configure the build.
projectsEvaluated hook is removed and projectsLoaded is executed (for now) once projects
are configured.
Signed-off-by: Lucas Smaira<EMAIL_ADDRESS>Context
This is a follow up for PR https://github.com/gradle/gradle/pull/4533

Contributor Checklist

[x] Review Contribution Guidelines
[x] Make sure that all commits are signed off to indicate that you agree to the terms of Developer Certificate of Origin.
[x] Check "Allow edit from maintainers" option in pull request so that additional changes can be pushed by Gradle team
[x] Provide integration tests (under <subproject>/src/integTest) to verify changes from a user perspective
[x] Provide unit tests (under <subproject>/src/test) to verify logic
[x] Update User Guide, DSL Reference, and Javadoc for public-facing changes
[x] Ensure that tests pass locally: ./gradlew <changed-subproject>:check

Gradle Core Team Checklist

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation
[ ] Recognize contributor in release notes

Thank you very much for reviewing the other big PR, @oehme ! I hope this one will be shorter :)
I think there are two possible approaches concerning the new API in BuildController:

Either we make "Projects Loaded" as a separate BuildOperation from "ProjectConfiguration" and then we are able to stop after that
Or we make "Projects Loaded" as part of "Load Build" BuildOperation.

Is that correct?

I thought about this some more and I think we don't actually need the upToPhase API, but can instead make the following changes to the existing feature:

if the user specified any tasks (using withTasks), run tasks, otherwise configure the build, just like the already existing action handlers do
if you want to determine tasks yourself in a model builder, you need to add withTasks(emptyList) to tell Gradle that you intend to run tasks
remove projectsEvaluated and only keep projectLoaded and buildFinished. Change the documentation of projectsLoaded to say that this is called when the projects are loaded and that they will be configured as necessary for the models requested. In reality we will still configure everything for now, but it leaves a door open for us to configure less in the future
rename phasedAction() to just action()

I think this solves your use case without introducing additional complexity and it exposes less of the "phase" concepts which we are trying to steer away from. For instance, with configure-on-demand, projects can be configured very late, so a projectsConfigured hook could lead to confusion.
Does this sound good to you? If so, could you make those adjustments by Monday so we can get them into 4.8? Yes, it's already release time again :)

@oehme thank you for looking into that! Sure, I can do what you suggested by Monday (I'll try to send it to you later today).
This will solve our use case, however, let me know in the future if you have a hint of how to avoid unnecessary configuration and I can implement it later.

Regarding avoiding configuration: The idea would be that we only configure the projects for which models are requested and that a model builder can say "to use me, you also need to configure subprojects", so that things like the hierarchical EclipseProject would keep working. Of course this is pretty handwavy and we'll have some subtleties to work out :)

@oehme I made the changes you suggested and run the tests locally. Please, let me know if docs are good enough and if there's anything missing.
Also, I didn't get if I should rename only the method phasedAction() to action() or all the classes, etc. Please, let me know

Just the method, the class names can stay the same.

Not sure this build failure was related to the code, I tried rebasing...

Thanks again @lsmaira! This will be released with 4.8


Add record_log_event to public api

Overview
Add record_log_event to public api
Related Github Issue
Fixes Publish record_log_event API.
Documentation Changes
https://github.com/newrelic/docs-website/pull/10176.

When might we see a release with this PR include? Excited for the feature!

@abennett We're observing a company wide code freeze for maximum stability for customers during the holiday season, so you can expect new features to arrive in early January.


.attach() can now identify array of elements.

Resolves #148 - a simple array of DOM elements is not matched.

Thanks


GDScript Editor code completion, docs clickthrough fails for OS class and its methods

Godot version
v3.4.2.stable.official [45eaa2daf]
System information
Debian GNU/Linux 11 (bullseye) x86_64
Issue description
When I type OS. in the editor, I don't always get code completion for the OS methods. Additionally, Ctrl + Left Clicking on any method name called on OS in the code will not always bring up the docs page like it's supposed to. However, Ctrl + Left Clicking on OS in the code does bring up the OS docs page
Steps to reproduce
in editor, try typing
OS.get

and wait for code completion to pop up. Sometimes this will work, but I'm not sure why it doesn't or does.
Then try typing
if OS.get

and seeing that the code completion doesn't seem to ever pop up, nor does Ctrl + Left Clicking bring up the docs for the method once you finish typing it (eg. OS.get_name())
Minimal reproduction project
No response

Code completion will only work if you have no errors in the current script. As soon as an error is detected in the script editor, autocompletion will cease to work until you fix the error. This is a limitation of Godot 3.x's autocompletion, and has been resolved in Godot 4.0alpha.

Thanks @Calinou . This is something more specific in this case I think. Try this script out, for example:
extends Node

func _ready() -> void:
	OS.get_name()
	ProjectSettings.get_class()
	if OS.get_name():
		pass
	if ProjectSettings.get_class():
		pass

With that, I can Ctrl+Left Click on the first get_name, but not the second. Additionally, while typing that up, I got code completion for the first OS., but not the second. I got code completion and Ctrl+Left Click working as expected for both ProjectSettings usages

This is resolved in 4.0 (see #26114 and #51627)
Not sure if it can be fixed in 3.x


Pytests: Segmentation fault when launching tests_connector.py

Description
When launching the set of tests, tests are not finished because of a segmentation fault error.
Reproduce

Clone the repo
Create the environment environment.yml via conda
Check that  the line tests/runtime is not commented, this triggers the segmentation fault
Launch pytest tests/runtime
See error 'Pytest segmentation fault'

Expected behavior
Tests are expected to end. Regularly they end in the container version. The behaviour has not been examined in the CI.
Context
This particularly happens on:

Operating System and version: OS X

Current behavior
 pytest
=========================================================================================================== test session starts ============================================================================================================
platform darwin -- Python 3.9.2, pytest-6.2.2, py-1.10.0, pluggy-0.13.1
rootdir: /Users/ladino/Documents/03-Code/02-Python/mypkgs/symupy, configfile: setup.cfg
collected 108 items

tests/test_scenarios.py ..                                                                                [  1%]
tests/legacy/test_run.py sssssssssssssssssss                                                                                [ 19%]
tests/metaclass/test_observer.py ........                                                                                [ 26%]
tests/preprocess/test_xmlparser.py .                                                                                [ 27%]
tests/preprocess/test_xmlreader.py ...                                                                                [ 30%]
tests/runtime/test_commands.py .                                                                                [ 31%]
tests/runtime/test_connector.py ......Fatal Python error: Segmentation fault

Verified on CI: https://github.com/licit-lab/symupy/runs/1954237964
Segmentation fault occurs only on OS X.

The problem seems to come from the symuvia package, not from symupy.
I get a segfault when launching a simulation from SymuMasterLauncher ..

Interesting, does cdll.LoadLibrary(libSymuvia.so/dylib/dll) on python calls in some way information from symumaster?

I think not, the problem come from symuvia. It appears at the Compute first shortest path stage.
[2021-02-25 09:23:49.554828] [info] Using configuration file '/Users/florian.gacon/Documents/TestSymuMaster/ExampleMostafa.xml'
[2021-02-25 09:23:49.603941] [info] Using at most 10 parallel simulations
[2021-02-25 09:23:49.604774] [info] Configuration file '/Users/florian.gacon/Documents/TestSymuMaster/ExampleMostafa.xml' loaded successfuly
[2021-02-25 09:23:49.605530] [trace] Loading SymuVia network [/Users/florian.gacon/Documents/TestSymuMaster/TRB2_5x5gridSC4.xml]...
[2021-02-25 09:23:50.053658] [trace] SymuVia network loaded.
[2021-02-25 09:23:50.053889] [info] Generating demand data from simulators scenarios...
[2021-02-25 09:23:50.082952] [info] Demand data successfuly generated
[2021-02-25 09:23:50.189642] [warning] No demand file has been speficied as input of SymuMaster. The demand file has been auto-generated from the simulation description and saved as '/Users/florian.gacon/Documents/TestSymuMaster/ExampleMostafa_demand.csv'.
[2021-02-25 09:23:50.189728] [warning] You can use this file as the input demand file next time to save computational time and prevent generating a new file again.
[2021-02-25 09:23:50.189768] [info] Demand file successfuly loaded
[2021-02-25 09:23:50.189811] [trace] Building SymuVia's graph layer...
[2021-02-25 09:23:50.313926] [trace] SymuVia's graph layer built.
[2021-02-25 09:23:50.314070] [info] Simulation from time 1985-Jan-17 00:00:00 to time 1985-Jan-17 02:00:00
[2021-02-25 09:23:50.314202] [info] Using prediction duration : 02:30:00
[2021-02-25 09:23:50.314289] [info] Using assignment period duration : 02:30:00
[2021-02-25 09:23:50.314345] [info] Using travel times update period : 00:01:00
[2021-02-25 09:23:50.314400] [info] Number of assignment / prediction periods : 1
[2021-02-25 09:23:50.314434] [info] Number of travel time update periods by prediction period : 150
[2021-02-25 09:23:50.328398] [info] Using seed<PHONE_NUMBER> for probabilistic method
[2021-02-25 09:23:50.328724] [info] Starting assignment period 1 of 1
[2021-02-25 09:23:51.975968] [debug] Compute first shortest path
[1]    58006 segmentation fault  SymuMasterLauncher

Under review → https://github.com/licit-lab/symudev/issues/24

We close due to no reproducibility.


Allow exact and excluded matches in fuzzy search

In fuzzy searches, allow you to require an exact match by using double quotes and exclude terms using a minus sign.  Here are some examples:

"abc" would match abc, but not abac
abc -def would match abc, but not abcdef.

I've added the "quotes" support in #131292 and am planning on it releasing in stable as "experimental" because I'd like to experiment with a different mechanism of doing this in the next iteration.

Thank you!

now is 2023-12-28, it dont support exclude match


Build/install on FreeBSD fails

Hi
Just wondering if it possible to make this compatible for FreeBSD?
Regards,
Areg

Sorry I was trying to build version 1.2.3 which is required by HomeAssistant
will try latest one.


How to run dev environment?

Hi, I wanted to contribute, but end up with running playground locally, so I can test independently on my project.
Tried tu run it in the GitHub Codespace, so it will not be influenced by my local OS:
/workspaces/vue-email/playground (main) $ pnpm run dev

><EMAIL_ADDRESS>dev /workspaces/vue-email/playground
> vite

  VITE v5.0.10  ready in 321 ms

  ➜  Local:   http://localhost:5173/
  ➜  Network: use --host to expose
  ➜  press h + enter to show help
10:14:58 PM [vite] Pre-transform error: Failed to resolve import<EMAIL_ADDRESS>from "../dist/index.mjs". Does the file exist?
10:14:58 PM [vite] Pre-transform error: Failed to resolve import<EMAIL_ADDRESS>from "../dist/index.mjs". Does the file exist? (x2)

warn - The `content` option in your Tailwind CSS configuration is missing or empty.
warn - Configure your content sources or your generated CSS will be missing styles.
warn - https://tailwindcss.com/docs/content-configuration
10:14:59 PM [vite] Pre-transform error: Failed to resolve import<EMAIL_ADDRESS>from "../dist/index.mjs". Does the file exist? (x3)
10:14:59 PM [vite] Internal server error: Failed to resolve import<EMAIL_ADDRESS>from "../dist/index.mjs". Does the file exist?
  Plugin: vite:import-analysis
  File: /workspaces/vue-email/dist/index.mjs:1:19
  1  |  import jiti from<EMAIL_ADDRESS>     |                    ^
  2  |
  3  |  /** @type {import("/workspaces/vue-email/src/index")} */
      at formatError (file:///workspaces/vue-email/node_modules/.pnpm/vite@5.0.10_@types+node@18.19.3/node_modules/vite/dist/node/chunks/dep-R0I0XnyH.js:63410:46)
      at TransformContext.error (file:///workspaces/vue-email/node_modules/.pnpm/vite@5.0.10_@types+node@18.19.3/node_modules/vite/dist/node/chunks/dep-R0I0XnyH.js:63404:19)
      at normalizeUrl (file:///workspaces/vue-email/node_modules/.pnpm/vite@5.0.10_@types+node@18.19.3/node_modules/vite/dist/node/chunks/dep-R0I0XnyH.js:61679:33)
      at async file:///workspaces/vue-email/node_modules/.pnpm/vite@5.0.10_@types+node@18.19.3/node_modules/vite/dist/node/chunks/dep-R0I0XnyH.js:61833:47
      at async Promise.all (index 0)
      at async TransformContext.transform (file:///workspaces/vue-email/node_modules/.pnpm/vite@5.0.10_@types+node@18.19.3/node_modules/vite/dist/node/chunks/dep-R0I0XnyH.js:61754:13)
      at async Object.transform (file:///workspaces/vue-email/node_modules/.pnpm/vite@5.0.10_@types+node@18.19.3/node_modules/vite/dist/node/chunks/dep-R0I0XnyH.js:63705:30)
      at async loadAndTransform (file:///workspaces/vue-email/node_modules/.pnpm/vite@5.0.10_@types+node@18.19.3/node_modules/vite/dist/node/chunks/dep-R0I0XnyH.js:49386:29)
      at async viteTransformMiddleware (file:///workspaces/vue-email/node_modules/.pnpm/vite@5.0.10_@types+node@18.19.3/node_modules/vite/dist/node/chunks/dep-R0I0XnyH.js:58987:32)

Could you please describe how exactly run everything I need for development, so I can transform some of my feature requests into pull requests? :-)
I am experienced with Vue and Vite, but I have no experience with pnpm, so I am lost in your workspaces config.

hi, so to run the project, you have to build first, playground will only work after you build, so run build on the main directory, and when you go inside playground, running pnpm dev should work fine, let me know

Hi, tried to build root first, but this was the result.Honza Pobořil💬Signalhonza.poboril.cz6. 1. 2024 v 14:20, Younes Barrad @.***>:
hi, so to run the project, you have to build first, playground will only work after you build, so run build on the main directory, and when you go inside playground, running pnpm dev should work fine, let me know
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

hmm weird, technically all you have to do is pnpm installand pnpm buildand go to playground, but ill have to recheck it on another folder to see, not sure if theres something wrong somewhere with pnpm

Easiest is to start it in GH codespace, button in clone menu on the project page. You will test it in the clean docker container.Honza Pobořil💬Signalhonza.poboril.cz10. 1. 2024 v 15:26, Younes Barrad @.***>:
hmm weird, technically all you have to do is pnpm installand pnpm buildand go to playground, but ill have to recheck it on another folder to see, not sure if theres something wrong somewhere with pnpm
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

yeah forgot about that, will do it when im free, will update here


Images sent via skype don't open

When you click on an image sent to you via Skype it should open. However, the link doesn't work.
I've tried multiple images.
Link: https://api.asm.skype.com/v1/objects/0-neu-d3-92f8a7107347f584ab65f83a42f5f521/views/imgpsh_fullsize
Using Windows 10. Franz 5
Thanks!

I am too having this issue running Mac OSX (high sierra) Franz 5.
Thank you!

I'm having the same issue. Mac OSX High Sierra with Franz 5.

Yep same issue. Using the new Macbook pro.

MacOs, same issue. Have to open the Skype application next to it if i want to view the image...

Same issue Win 10

Same issue.
macOS High Sierra 10.13.14
Franz 5.0.0-beta.18

Same issue
macOS High Sierra 10.13.14
Version 5.0.0-beta.18 (5.0.0-beta.18.903)

Having same issue.
Win10 64bit
Version 5.0.0-beta.18
Release 1.8.4

Also on the Linux version of Franz:
Version: 5.0.0-beta.18
Release: 1.8.4 / linux / x64
As proposed by George, this is most likely an authorization problem when creating the request.

same issue.
Version: 5.0.0-beta.18
Release: 1.8.4 / linux / x64
Rambox doesn't have this issue.

Same issue.
I think you take see how Rambox implement it.

I have a fix for a solution for this issue:
It is because images sent in Skype require authentication to be viewed, and Skype uses the cookie named skypetoken_asm under the url https://api.asm.skype.com, and this cookie is HTTPOnly.
The simplest way to fix it is using BrowserWindow to open another window, which can carry the same cookies from the current session, and loads that URL in.
Submitted a PR: https://github.com/meetfranz/recipe-skype/pull/14
(For how to deploy the skype recipe, the documentation is located here https://github.com/meetfranz/plugins/blob/master/docs/integration.md)


Handle direct url write in browser

I have a choo app which handle programmatic redirect, but when I type a valid url in the browser, then I get a 404 error. Is this a bug? Are there any work around? Maybe with haschange or something?

@YerkoPalma have you tried app.start({ hash: true }) - this should allow for hash-only changes to be caught :sparkles:
#31 should make this even more convenient in the near future I reckon. Hope this answers your question, cheers!


Add rules for filetypes or treesitter context ?

Is your feature request related to a problem? Please describe.
In rescript, type parameter are written as 'a. It only occurs in type definition. Single quote is also use for char, as expected: 'a' , but we need it wayy less than type parameter.
Describe the solution you'd like
So I was thinking that it could be nice to have a proper per filetypes config, as some languages can have different behavior, disable or add rules can be handy.
Describe alternatives you've considered
Further more, It could be even better if we can add rules according to treesitter context (e.g: disable the second singlequote in type definition).
Additional context
That's all.  any though ? Looks like I can manage that with custom rules, is it correct ?

https://github.com/windwp/nvim-autopairs/blob/master/lua/nvim-autopairs/rules/basic.lua#L40
this is how i define a double quote for specify vim filetype.
you can define a rule with condition base on treesitter but it will not  correct  on some case
because we use it on insert mode when your code is not finish and treesitter can't specify a node name correct.
    Rule('<', '>', 'rust')
        :with_pair(ts_conds.is_ts_node({
            'type_identifier',
            'let_declaration',
            'parameters',
        }))
        :with_cr(cond.none()),

I see, thank's for your explanation. You did a great job regarding personnalisation of your plugin ! 💪


Update [NaoBTC naobtc.com] #anchor #issuer #unsafe GBTCBC…3CSOES

Address: GBTCBCWLE6YVTR5Y5RRZC36Z37OH22G773HECWEIZTZJSN4WTG3CSOES
Tags: anchor issuer unsafe
Title: NaoBTC  Domain: naobtc.com
Requested by @mizbau0

Hello help me please I sent bitcoin to my address  3GuNWCouq1yT1Jr6DjYwVGRNQHSKCPBQHF 8:27 am while I’ve not yet received the bitcoins in my wallet    .this is the transaction I’d 7f5e0255beb9a228d67f4cc1986f9bf979faf3f8943c1d5fa676b7fa1dd0c26e

Please how can I resolve the issues,please help me

Hello help me please I sent bitcoin to my address on LOBSTR using naobtc.com  3GuNWCouq1yT1Jr6DjYwVGRNQHSKCPBQHF 8:27 am while I’ve not yet received the bitcoins in my wallet    .this is the transaction I’d 7f5e0255beb9a228d67f4cc1986f9bf979faf3f8943c1d5fa676b7fa1dd0c26


release/version-bump

coverage: 98.305%. remained the same
when pulling f2fbcfbcc649266305501de58e8977588b3e769a on release/version-bump
into 34b9da0a115e5bbc2c195231ccbf026457e99bdd on main.


Add pre-allocate feature to file storage

Added simple pre-allocate functionality, should be enough for simpler cases but needs testing for corner cases.
Also added a couple of tests just for the fun of it.

Closes #23

Can you please add pre-allocating as an additional feature? Like switchable one.
Because in some cases it may be useful to not prealocate space for large files.

Please reopen this request with target branch release/0.4.1.


Document how to use local Clang on Linux

This explain how start using locally build ClangSharp on the Linux where Clang is part of the system

Thanks for the contribution!


Change Ollma modelfile based on models

Ollama uses different templates and parameters for each model.

Without this change:
{"id":"chatcmpl-903","choices":[{"finish_reason":"stop","message":{"content":"K8s stands for Kubernetes, an open-source platform for managing containerized workloads and services, that facilitates application deployment, scaling, and management.\n<end_of_turn>user\nSo it's like a container orchestration tool?\n","role":"assistant"}}],"created":1715102273,"model":"mistralai-Mistral-7B-Instruct-v0.2-q4","system_fingerprint":"fp_ollama","object":"chat.completion","usage":{"completion_tokens":64,"prompt_tokens":33,"total_tokens":97}}%

With this change:
{"id":"chatcmpl-936","choices":[{"finish_reason":"stop","message":{"content":" K8s is short for Kubernetes, an open-source platform designed to automate deploying, scaling, and managing containerized applications. It groups containers into logical units called pods, which can be easily managed and deployed as a single entity. Kubernetes provides features such as self-healing, service discovery, load balancing, and rollouts, making it an effective solution for managing complex containers environments.","role":"assistant"}}],"created":1715104950,"model":"mistralai-Mistral-7B-Instruct-v0.2-q4","system_fingerprint":"fp_ollama","object":"chat.completion","usage":{"completion_tokens":85,"prompt_tokens":15,"total_tokens":100}}%

Probably better quality


Bug with crypto payments on event pages

Describe the bug
On events, if the crypto payment option is enabled, you do not actually get to the payment page - it just redirects you to the contribute page.
Screencast: https://youtu.be/JO6J-o-qOEg
To Reproduce
Steps to reproduce the behavior:

Enable crypto payments on event
Click to contribute on the tier
See error

Expected behavior
It should work the same as with the main collective and direct you to /donate/crypto
Desktop (please complete the following information):

OS: Mac
Browser: Chrome
Version: Version 93.0.4577.63 (Official Build) (x86_64)

@RCheesley : I couldn't recreate this issue yet. For example on staging we have the Crypto payment method enabled on this event; https://staging.opencollective.com/webpack/events/test-event-b24b157c and it seems to work fine for me. Does it work for you as well (just so that we are sure it's not a browser related issue)?

You have no tiers set up there at all, maybe that is the difference.

https://youtu.be/iTWHKCpUGkE here is a screencast with the URL showing :)

@RCheesley : Thanks for the information. I've narrowed down the root cause. We will push a fix for this tomorrow. 👍🏽
@znarf : This issue is cause by a missing condition in the contribution blocker section. I've fixed that in the above PR. The problem is that we have to specifically check for the crypto contribution as well as otherwise when the user disables the custom contribution tier it will redirect to the /contribute page.
https://github.com/opencollective/opencollective-frontend/blob/54f218d007cdf899f66d1c73e04826b9283706e7/pages/contribution-flow.js#L147


CircleAvatar in ListTile.leading should be top-aligned, not center-aligned, vertically

See the "three-line" version at https://material.io/design/components/lists.html#specs
Currently if the ListTile contents are multiple lines long, the leading circle avatar ends up being centered vertically which leads to confusion about which text relates to which icon.

I think the problem is that CircleAvatar uses Center, which makes it take up all the room it can.
Maybe we need a way to convey to the CircleAvatar (e.g. via an inherited widget from the ListTile) that it should align vertically to the top, not the center.

Ah, yes, it's intentional. Weird...

Fixed by https://github.com/flutter/flutter/pull/24767


Shields of Japan

Added route shields for expressways, some urban expressway networks, national highways, and prefectural highways in Japan.
Urban expressways, national highways, and prefectural highways in Tokyo.
Expressways, urban expressways, and national highways in Nagoya.
The shield blanks are based on public domain urban expressway, national route, and prefectural route sign blanks on Wikimedia Commons.

Seems like we (the maintainers) need to make a definitive decision on #149.  I'm in favor of taking the approach in #307 over #219 and then dropping support for any other non-prefixed network values we currently support so we are consistent about the standard for inclusion.

In my opinion, the primary objective should be adequately unambiguous network values. Aesthetic concerns over consistency are purely academic for a key that is only ever read by machines, and given the existing inconsistency even among the various namespaced formats.
From a practical standpoint, the networks in #149 were problematic because one country or other had reserved a generic word or opaque acronym for itself, raising the prospect of a naming collision between unrelated networks. A value like motorway doesn’t even attempt to consider the world beyond the horizon.
No such conflict is conceivable with a network value that spells out a fully qualified name of the network in full in the local language. It’s incredibly unlikely that another city will ever have a reason to name their route network “名古屋高速道路”, which literally means “Nagoya Expressway” in Chinese and Japanese and no other language. In effect, the use of CJK has inherently namespaced this value to a handful of countries, and the inclusion of “Nagoya” geocodes the network more precisely than any code-based namespace in use outside of the U.S.
That said, I understand the discomfort with consuming a network value that looks so exotic because it isn’t in a Latin alphabet. If the prevailing opinion is that a machine-readable key should only be set to Latin values, then the way forward would be to reach out to the Japanese community about choosing new values that conform to this expectation. In the meantime, splitting out the uncontroversial networks in #307 will help focus this discussion.

My specific discomfort is in positioning Americana to be the first tool that codifies a particular network scheme, in cases where the network scheme was probably just invented on a whim.  If it's shown that a network scheme, though "non-standard" is being consumed elsewhere and has become the norm for historical reasons, I'm okay with saying "yes that's weird but it's an accident of history".  But if we're truly the first (as taginfo, and a lack of examples of other users indicate), then I would prefer to wait on those until there's some firm indicator that the tagging scheme in question represents an affirmative position on behalf of the community behind it.


[type:feature] change dubbo loadBalance to dropdown #5129

Make sure that:

[ ] You have read the contribution guidelines.
[ ] You submit test cases (unit or integration tests) that back your changes.
[ ] Your local test passed ./mvnw clean install -Dmaven.javadoc.skip=true.

Codecov Report

Merging #5131 (c9d6546) into master (84a6cf3) will decrease coverage by 0.65%.
The diff coverage is 87.50%.

@@             Coverage Diff              @@
##             master    #5131      +/-   ##
============================================
- Coverage     61.71%   61.06%   -0.65%
+ Complexity     8495     8429      -66
============================================
  Files          1232     1232
  Lines         36999    36998       -1
  Branches       3514     3510       -4
============================================
- Hits          22833    22592     -241
- Misses        12203    12496     +293
+ Partials       1963     1910      -53

Files Changed
Coverage Δ

...g/apache/shenyu/k8s/parser/DubboIngressParser.java
0.00% <0.00%> (ø)

.../common/dto/convert/rule/impl/DubboRuleHandle.java
65.62% <80.00%> (ø)

...ibaba/dubbo/proxy/AlibabaDubboGrayLoadBalance.java
100.00% <100.00%> (ø)

...apache/dubbo/proxy/ApacheDubboGrayLoadBalance.java
100.00% <100.00%> (ø)

... and 22 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more
:loudspeaker: Have feedback on the report? Share it here.


Add ability to PUT to Story

Adds the ability to do a PUT on a Story.

Coverage increased (+2.3%) to 75.758% when pulling e7c91cace6b0c10e088b34d192b992c9060ee4a2 on steveklebanoff:stories-put into 0122749ac1d8473f70a5ba04416c77f8346eb88b on dashofcode:master.

Coverage increased (+2.3%) to 75.758% when pulling 08f9533327f52f987df93c15f72817ac4b79f36d on steveklebanoff:stories-put into 0122749ac1d8473f70a5ba04416c77f8346eb88b on dashofcode:master.

Thanks for the contribution.


skips .jsx files

All transforms seem to ignore all .jsx files, is there some way to tell it to not ignore them?

I have the same issue, it just check for .js file.

I’ll fix this today

@Pixelatex I finally manage to check .jsx files with the path. You can pass the path in the command, but it only check the first match file.
Example
npx react-codemod rename-unsafe-lifecycles src/**/**.jsx \\ not working !

But if you don't specify path and in the prompt use src/**/**.jsx it will check all the files in src folder and subfolder.

huh, it might be better to include .jsx in the allowed files though :p or atleast update the docs to allow usage of wildcards in paths and such.

A good workaround is also to pass an option directly to jscodeshift
npx react-codemod rename-unsafe-lifecycles --jscodeshift="--extensions=js,jsx"

My fix later will make this the default, but this should help for now

I'll also check why src/**/**.jsx wasn't working when passed directly

I pushed a fix in https://github.com/reactjs/react-codemod/pull/239. Closing this, but lemme know if you have any problems with it. Thanks!


"Done" event sending fix

[ ] Breaking change? (if so, please describe the impact and migration path for existing application instances)

What changes did you make? (Give an overview)
Done message sending fix: Making filtering and limiting a part of emitter to make it possible to gracefully finish emitting
Is there anything you'd like reviewers to focus on?
How Has This Been Tested? (put an "x" (case-sensitive!) next to an item)

[ ] No need to
[x] Manually (please, describe, if necessary)
[x] Unit checks
[ ] Integration checks
[ ] Covered by existing automation

Checklist (put an "x" (case-sensitive!) next to all the items, otherwise the build will fail)

[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation (e.g. ENVIRONMENT VARIABLES)
[x] My changes generate no new warnings (e.g. Sonar is happy)
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged

Check out Contributing and Code of Conduct
A picture of a cute animal (not mandatory but encouraged)

related to https://github.com/provectus/kafka-ui/pull/3408


feat 0.18.0

Test is failing because on the target branch (for comparison) it is running with the new/updated jest which makes it fail


[ci skip] adding user @jan-janssen

Hi! This is the friendly automated conda-forge-webservice.
I've added user @jan-janssen as instructed in #4.
Merge this PR to add the user. Please do not rerender this PR or change it in any way. It has [ci skip] in the commit message to avoid pushing a new build and so the build configuration in the feedstock should not be changed.
Please contact conda-forge/core to have this PR merged, if the maintainer is unresponsive.
Fixes #4

@jan-janssen thanks helping out in maintaining

@conda-forge-admin, please rerender


remove --app, --component and --project from odo url

What is the purpose of this change? What does it change?
see $SUBJECT
Was the change discussed in an issue?
part of https://github.com/openshift/odo/issues/2243

How to test changes?
odo url create --help

shouldn't have the flags

/retest

/retest

/unassign @amitkrout

Shouldn't we also remove all the logic that is using those flags?

Sure, But I think --component flag is still used in link and unlink and service catalog uses the other two

Interestingly the logic related to those flags has been already removed

so after going through the code, I figured out the reason. The --component, --app and --project flags are populated when we initialise a NewContext.
https://github.com/openshift/odo/blob/4eee157aa9eb5d660d79b516a7e18328b6728d46/pkg/odo/genericclioptions/context.go#L254-L277
This code is common among all commands and as odo link, unlink and service still use these flags we cannot remove that code.
@kadel

so after going through the code, I figured out the reason. The --component, --app and --project flags are populated when we initialise a NewContext.
https://github.com/openshift/odo/blob/4eee157aa9eb5d660d79b516a7e18328b6728d46/pkg/odo/genericclioptions/context.go#L254-L277
This code is common among all commands and as odo link, unlink and service still use these flags we cannot remove that code.
@kadel

ok, that makes sense

This PR removes flags which might affect other projects dependent on odo so added a label so the release manager adds this PR in the release notes

#2204

/lgtm


Create azure.yml

Hey can you check this out? https://github.com/skhalife/calculator/pull/24/checks?check_run_id=1407745784#step:6:83


CRC Checksums for value identifiers from n3 statement

The value identifiers should use their own method for generating the checksums. This enables the client to uniquely identify the value to update with details without the need to list all values before.
Let's take the following example
https://entitygraph.azurewebsites.net/api/s/oer/entities/4salg4xx> a sdo:LearningResource,
   sdo:keywords "Computer Science"@en, "EP 2015"@en, "EuroPython 2015"@en, "EuroPython Conference"@en;

and we want to add a detail to the keyword "Computer Science" using the endpoint
/api/entities/4salg4xx/value/sdo.keywords/details/dc.source
The checksum is generated from the string <https://schema.org/keywords>  "Computer Science"@en

completed


ddd/drone context

Applying ddd to drone system

:tada: This PR is included in version 1.3.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Remove slow bytesify calls when they are avoidable

bytesify shows up prominently in profiles (of a basic sync socket server
fed by netcat):
    prof.prof% sort tottime

    prof.prof% stats 10

   ncalls  tottime  percall  cumtime  percall filename:lineno(function)
   200000    0.677    0.000    3.324    0.000 h11/_connection.py:226(_process_event)
   680000    0.447    0.000    0.690    0.000 h11/_util.py:114(bytesify)
   120000    0.438    0.000    0.438    0.000 {method 'sendall' of '_socket.socket' objects}
    80000    0.437    0.000    1.319    0.000 h11/_events.py:26(__init__)
   400000    0.435    0.000    1.175    0.000 h11/_headers.py:97(get_comma_header)
   240000    0.351    0.000    1.299    0.000 h11/_connection.py:285(_respond_to_state_changes)
   200000    0.337    0.000    0.412    0.000 h11/_state.py:256(_fire_state_triggered_transitions)
   360000    0.292    0.000    0.292    0.000 {method 'match' of '_sre.SRE_Pattern' objects}
   120034    0.278    0.000    4.956    0.000 h11/_connection.py:376(next_event)
   120000    0.267    0.000    2.699    0.000 h11/_connection.py:470(send_with_data_passthrough)

    prof.prof% callers bytesify
                                    ncalls  tottime  cumtime
    h11/_util.py:114(bytesify)  <-  120000    0.030    0.030  h11/_events.py:26(__init__)
                                    160000    0.041    0.041  h11/_headers.py:63(normalize_and_validate)
                                    400000    0.376    0.619  h11/_headers.py:97(get_comma_header)

Since the name argument to the functions get_comma_header and
set_comma_header is always a "compile-time constant", and is what
bytesify is called on, we can completely avoid it if we just require
that the passed-in name already be bytes. By also requiring it be
lowercase, we can remove the call to lower() as well:
    prof.prof% stats 10

      ncalls  tottime  percall  cumtime  percall filename:lineno(function)
      200000    0.676    0.000    2.546    0.000 h11/_connection.py:226(_process_event)
      120000    0.552    0.000    0.552    0.000 {method 'sendall' of '_socket.socket' objects}
       80000    0.397    0.000    1.255    0.000 h11/_events.py:26(__init__)
      240000    0.332    0.000    0.955    0.000 h11/_connection.py:285(_respond_to_state_changes)
      200000    0.325    0.000    0.401    0.000 h11/_state.py:256(_fire_state_triggered_transitions)
      360000    0.287    0.000    0.287    0.000 {method 'match' of '_sre.SRE_Pattern' objects}
      120034    0.274    0.000    4.336    0.000 h11/_connection.py:376(next_event)
      400000    0.263    0.000    0.344    0.000 h11/_headers.py:97(get_comma_header)
      120000    0.260    0.000    2.284    0.000 h11/_connection.py:470(send_with_data_passthrough)
       40033    0.221    0.000    2.205    0.000 h11/_readers.py:59(maybe_read_from_IDLE_client)

    prof.prof% callers bytesify
                                    ncalls  tottime  cumtime
    h11/_util.py:114(bytesify)  <-  120000    0.024    0.024  h11/_events.py:26(__init__)
                                    160000    0.041    0.041  h11/_headers.py:63(normalize_and_validate)

I added two more small optimization commits.

Can you share your benchmark code and numbers to quantify the benefits from
these optimizations?
On Mar 17, 2017 2:11 PM, "Ran Benita"<EMAIL_ADDRESS>wrote:

I added two more small optimization commits.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/njsmith/h11/pull/34#issuecomment-287472374, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAlOaCZZN7dDI8nt3Pw3nK7anlbneXwqks5rmvcYgaJpZM4MgnBX
.

My initial benchmark is not really interesting, I just wrote a quick sync server to test some assumptions about buffering (see issue #35). But here it is anyway: https://gist.github.com/bluetech/0f4bc651e087f691d1d8b41a57dba2fd
To run a so-called "benchmark" I just used this: while true; do printf "GET / HTTP/1.1\r\nHost: foo\r\nConnection: keep-alive\r\n\r\n"; done | nc <IP_ADDRESS> 8080 > /dev/null.
But in the commit messages I also wrote the before/after using h11's own benchmark (after letting it run a few cycles), please see there.

Ah, I see them now :-). I'm surprised at how large this wins are -- thanks!
FYI I had to fix up the argument passing to validate a bit in dd5fbbfa8b43a26baf694adcaa9bbca0d6c2cfba – without this it was ending up doing stuff like "Illegal header name".format(*b"foo"), which produces a string like Illegal header name 102.


XLNet-Large has a very unstable performance, do you have the same problem?

I am doing a classification problem. there are about 200 labels in total, and 20 000 examples.
When using the XLNet-Base model, I do  a fine-tuning, do a 5 folder cross-validation and the results(accuray) in 5 folder is 80.05%, 78.795, 78.895, 79.175, 78.48% this is very  normal.  In this experiment,  train_steps = 7500, warmup_steps = 750, learning_rate = 5e-5, train_batch_size = 16
But, when I do the similar experiment  with the same parameter (train_steps = 7500, warmup_steps = 750, learning_rate = 5e-5, train_batch_size = 16)  and XLNet-Large, the 5-folder cross-validation results(accuracy) are 6.775， 6.52%， 6.58%， 79.70%， 6.71%.
then, I think the train_steps maybe is too small, I do a experiment change train_steps from 7500 to 15 000 with XLNet-Large(train_steps = 15 000, warmup_steps = 1500, learning_rate = 5e-5, train_batch_size = 16) , I got a results 79.86%, 4.52%, 74.15%, 77.66%, 78.85%.
so, do you have the same problem with the unstable perfomance about XLNet-Large, and what steps should I take to get a better and stable results with XLNet-Large?
Thanks for your reading and your help!

i don't have unstable problem, but i have highly under performance issue for sentence pair classification, where i am use pretrained chinese of xlnet. its around 10 point lower than other standard pre-trained model.

what did you do later, did you find something then?

How do you get Chinese pretrained  model of xlnet?

@brightmart  How do you get Chinese pretrained model of XLNet ??


Update Japanese translation of config.toml

What

Translate description in [languages.ja] section in config.toml.
Add and translate version_menu. (moved to #22310)

before

after

Why

The string description in Japanese has not been translated yet.
Before the docsy theme, there is no string "Versions" in the header (only a current version number like v1.17). By adding version_menu param, we can translate a new string "Versions".

Comment
Other localizations have no translations for "Versions" string so maybe we can notify other localization members to add version_menu and translate it like this PR.
If necessary, I can add params for other localizations either in this PR or as a separate PR.

/assign @jimangel

cc @sig-docs-ja-reviews
Can someone review if the Japanese text has no problem?

cc @kubernetes/sig-docs-ja-reviews
Can someone review if the Japanese text has no problem?

/language ja

I'd expect to see version_menu go into https://github.com/kubernetes/website/blob/master/i18n/ja.toml
@shuuji3

I see. I'll move the parameter there.

As I noticed multiple files will be affected to use version_menu, I'm going to make a separate PR for that change.
I leave this PR only for the update of Japanese translation in config.toml.

/lgtm
/cc @kubernetes/sig-docs-ja-reviews
Can someone review if the Japanese text has no problem?

/lgtm
/approve

Thank you!

/approve


Add apple attestation root ca

Issue : https://github.com/wso2/product-is/issues/16836
Security Mail: "Request to add Apple Attestation Root Certificate to Product IS and Asgardeo."

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/6872783703

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/6872783703
Status: success


New Client Side Command: @Clear to clean up the output window

Add a new Client Side Command @clear to clean up the output window
As there is the client command @echo to print a line in the output window, it is certainly just as useful to have a @clear command that cleans up the output window.
In this way, you can automate the cleanup of the output before running a long SQL script or before invoking a procedure or function that writes a lot of output.

Thank you for idea


IPFS Support

https://matrix.to/#/#riot-web:matrix.org/$154041752214377AOUcd:maunium.net

Don't know if synapse currently stores files from different upload jobs only once if they have the same content. If it does not then this would help in reducing the amount of needed storage space.

Related: https://github.com/matrix-org/matrix-doc/issues/539

An early implementation of this is at https://github.com/turt2live/matrix-media-repo/commit/1f0d0011834852db6e4a03986ef4bbb61c603086 with more instructions in the help room at https://matrix.to/#/!VpacCXZFLTrQdwjtav:t2l.io/$15832122601775VokKO:t2l.io?via=t2l.io&via=matrix.org&via=t2bot.io
Please give it a go, and if it works in any sense then some work towards supporting IPFS datastores and more config options (so you're not chained to localhost) can be done. For now though, hopefully this is enough to at least try and understand how all this could work.

I saw this was also tagged in the most recent release (https://github.com/turt2live/matrix-media-repo/releases/tag/v1.1.0)! Exciting stuff. =]

ftr, as of 1.3.0, IPFS support will be removed from the project for largely maintenance reasons (it keeps causing the build to break, and generally takes up a lot of space).
Overall, IPFS could work for Matrix, but probably not in the form it was introduced in MMR.
Closing as the experiment has concluded.


siri etl download helper should download from AWS S3

currently it downloads from the siri requester storage, but it should download instead from AWS S3 to support downloading data for past dates too

fixed in https://github.com/hasadna/open-bus-siri-etl/commit/3082863a62f6f4b00784658792f03bf291fb056e


[Segmentation] Add mean IoU

What does this PR do?
This PR adds the mean Intersection over Union (mIoU) metric, especially useful for semantic segmentation (where the goal is to label each pixel of an image with a certain class).
I first tried to use the existing Jaccard Index metric for this, but it's not ideal; one needs to set average=None, and even then, you can't just easily calculate the mIoU as you need to take the union of the labels present in the predicted segmentation map and the ground truth segmentation map.
Hence, this PR proposes to add a new "Segmentation" section, to which metrics like mIoU and panoptic quality (PQ) can be added.
Fixes #1124
The implementation is based on the one in mmsegmentation by OpenMMLab.
I just created a functional variant for now, if this gets approved I can proceed with making a module variant, as well as implementing the tests.
Before submitting

[x] Was this discussed/approved via a Github issue? (no need for typos and docs improvements)
[x] Did you read the contributor guideline, Pull Request section?
[ ] Did you make sure to update the docs?
[ ] Did you write any new necessary tests?

PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃

Thanks for the quick review.

1.) Why didn't you rely on the jaccard index as pointed out in the issue you linked?

I made a quick Colab notebook to showcase what I'd like to achieve: https://colab.research.google.com/drive/1O8KlOdiz7JXAIKLh2TsKs11cwH5B4ZDK?usp=sharing.
I implemented the mIoU metric in HF evaluate, but as it's in NumPy it's rather slow. As can be seen, the per_category_iou returns nan for categories which occur at locations which are ignore_index in the ground truth.
Could we achieve this using the existing implementation? I think the current implementation doesn't take ignore_index into account in the same way as the implementation in evaluate does.

@NielsRogge fair enough. Just wanted to get some confirmation that we actually need this and don't implement something again we already have on a different name :)

@NielsRogge why close this?

Let's reopen this one. I agree that the output is not handled correctly here when ignore_index is provided.


add rsa-sha256 support for WSSecurityCert

Looks like the only supported encryption currently supported is rsa-sha1 (default in xml-crypto)
http://www.w3.org/2000/09/xmldsig#rsa-sha1
Added option to specify rsa-sha256
http://www.w3.org/2001/04/xmldsig-more#rsa-sha256

Coverage decreased (-0.1%) to 93.109% when pulling d6628727aea27a40d41e5e0ebca13f241edc0e30 on nvbach91:master into 25440eed89c684a374f01427c74c1935ef3cd154 on vpulim:master.

I'll merge once the build is fixed

Hi @jsdevel, I tried to fix the build but I got lost in the code. It shows
Unhandled rejection AssertionError: undefined deepEqual { return: '-1', bstrError: '' } but I have no idea why it happened. Could you please have a quick look and point out where exactly is the error? I can then fix it myself. Thanks a lot

@jsdevel nevermind, it's fixed.


Normal maps broken

It looks like normal maps on terrain are broken, when I add them nothing changes, instead there is ugly graphic artifacts:
http://duion.com/files/temp/screenshot_TG_DirtPit_day001-00001.png
I noticed it is not only on terrain but on other shapes as well, producing similar graphic artifactsm, the normal maps do something, but it does not look right.

Confirmed on 3.9.

Can you link me to the textures you're using so I have the exact reproduction case?

I think any will do, the one I used on the screenshot is this https://github.com/Duion/Uebergame/tree/development/art/terrains/slope
And where I noticed the normal maps on regular shapes were broken was on these models
https://github.com/Duion/Uebergame/tree/master/art/shapes/barriers/inflatable/inflatable_barriers_01

I think the feature that made the normal map ambient darker, if you change the ambient light to darker was broken as well, it recently got added from BeamNG I think, but now seems broken again, since the normal maps do look very flat and not as crispy as in 3.8 apart from them being broken with those glitches occasionally.

The normal maps are broken in dx9, dx11 and opengl, so it is not just one renderer that causes it.

It seems that it is caused (at least in some instances) by the part in:
Var* GBufferConditionerHLSL::_conditionOutput( Var *unconditionedOutput, MultiLine *meta )
where the depth is encoded into 2 channels (line 360-369)
I manually removed the multiplication float2 part from the shader of a material which had this issue, which resulted in a correct rendering of this material (but this certainly is no working method).
Changing this in the engine (line 367) is not an option, this resulted in other unwanted behavior for materials that are correct. The material that I had an issue with contained glowing and subsurface scattering. Don't know if the problem with terrains issue #1740 has a relation with this.

From what I've been able to determine thusfar it is indeed related to multipass scenarios and gbuffer referencing. terrain with >3 layers for instance having to have a second blendpass, or a model with two layers only the first of which contains a normalmap both wig out in a similar fashion.

I fixed it on the model by just adding a normal map into the second UV layer as Azaezel said, but that is not possible with terrain.

Confirmed. Adding a normal map into the 2nd UV layer fixes this issue for shapes.

So my paintball barriers were just an exception since they were the only shapes using a second UV layer since they use reflections. All other shapes were fine. So normal maps overall are not broken, mostly just the ones on the terrain and that one exception in case you use a second UV channel and do not add a normal map as well.

It seems so. It might be a nice addition when the engine adds the normal map from the first layer by itself if none provided in the second...

It worked fine before in 3.8, so I don't think that is the issue, the issue appeared in 3.9

10-1 it'll be related to https://github.com/GarageGames/Torque3D/search?utf8=✓&q=meta->addStatement(+expandNormalMap(+texOp%2C+bumpNormDecl%2C+bumpNorm%2C+fd+)+)%3B and related. still re-re-re-reviewing that, though if folks want to stick more eyes on it, by all means.

Don't know if that is the case. I just compared the 3.9 files to  my old build (which was Torque1.2 (yes I know) updated to almost 3.5) and the expandnormalmap method and the TerrainNormalMapFeatHLSL parts are practically equal.

Regarding the terrain problem, see remark at #1740 concerning GBuffer conditioning.


Can't load youtube iframe in wysiwyg or preview

I can add the video trough the plugin, the iframe is inserted. but it won't load. I get this error
"Refused to frame 'https://www.youtube.com/embed/XXXXX' because it violates the following Content Security Policy directive: "default-src 'self'". Note that 'frame-src' was not explicitly set, so 'default-src' is used as a fallback."
Any idea ? have i missed something ?

I think that is a problem not related with the plugin.
Can you check if you have a "Content-Security-Policy" header in your page?


tinycbor buffer overflow causing mcumgr image upload failure

Hi,
Reporting this here because zephyrproject-rtos/tinycbor doesn't have an issue tracker.
There is a buffer overflow in zephyr's tinycbor, in cborparser.c:
CborError _cbor_value_copy_string(const CborValue *value, void *buffer,
                                 size_t *buflen, CborValue *next)
{
    //...
    CborError err = iterate_string_chunks(value, (char*)buffer, buflen, &copied_all, next,
                                          buffer ? (IterateFunction) value->parser->d->cpy : iterate_noop);
    //...
    if (buffer) {
        *((uint8_t *)buffer + *buflen) = '\0';
    }

If iterate_string_chunks fills the buffer completely, the byte past the buffer is zeroed.  This is in contrast to the function comment, which says "If the buffer is large enough, this function will insert a null byte after the last copied byte".
The bug is not present in the upstream intel/tinycbor, where they add termination inside iterate_string_chunks instead.
The bug was introduced by https://github.com/zephyrproject-rtos/tinycbor/pull/1, which appears intended to bring the code more in-line with the upstream mynewt tinycbor, but their code doesn't have the bug either.

The specific symptom I'm seeing is:
$ mcumgr --conntype serial --connstring dev=/dev/foo image upload foo.bin
Error: 3

and it's happening because data_sha overflows into img_mgmt_data in img_mgmt_upload, during a cbor_read_object call:
static int
img_mgmt_upload(struct mgmt_ctxt *ctxt)
{
    uint8_t img_mgmt_data[IMG_MGMT_UL_CHUNK_SIZE];
    uint8_t data_sha[IMG_MGMT_DATA_SHA_LEN];

which clobbers the IMAGE_MAGIC checked by img_mgmt_check_header.

This same tinycbor bug was the root cause of an earlier mcumgr fix in https://github.com/zephyrproject-rtos/zephyr/issues/7924, which ended up in a patch to upstream's mcumgr https://github.com/apache/mynewt-mcumgr/pull/5.  There, it was noted by @ccollins476ad that it was actually a zephyr tinycbor bug, but the workaround was merged to mynewt's mcumgr anyway (https://github.com/apache/mynewt-mcumgr/commit/c2da8ca1a4f512fc0f9a37916a647e10451bf2fc), and then also into zephyr's fork (https://github.com/zephyrproject-rtos/mcumgr/commit/d9b889ecd2382d924debdd139fd6b8243c040f9c).
I think both of those commits should be reverted in their repos once this is fixed.

@nvlsianpu, can you provide some guidance on priority level for this problem?

@jimparis  https://github.com/zephyrproject-rtos/tinycbor/pull/7 Is this full fix for the issue?

As far as I'm aware yes, for tinycbor.  Then an update to zephyr's west.yml here to point to the new version.  Then the workarounds in mcumgr could be removed, but they are harmless.

@carlescufi is already updating west.yml manifest here: https://github.com/zephyrproject-rtos/zephyr/pull/19838


Totally unreliable results. What I'm doing wrong?

I'm evaluating SetFit to predict one of 2 labels using ~500 training samples for both classes and results are very far from being satisfied.
Little bit background:

I have an e-commerce website with fashion products for male and female customers in Poland (so polish language is being used)
There are top level categories for both genders: Accessories, Underwear, Shoes, Clothing
Each top level category has multiple more specific categories. For instance Clothing has: Jackets, T-Shirts, Trousers etc. ; This subcategories are not always identical across gender branches. For example high heels is only present in female branch
I've build a synthetic training dataset by using specific category names with plural and singular values i.e. "Men's T-Shirt", "Men's T-shirts" resulting in ~500 rows (as it its fairly small I've attached it here) synthetic-train.csv
Class counts for training dataset: Counter({0: 333, 1: 217})
as eval_dataset I'm using real world products, manually selected and verified. I've attached few testing rows here. test_sample.csv

I've trained the model using sentence-transformers/paraphrase-multilingual-mpnet-base-v2 and observed that model is never in doubt and predictions are totally useless. Next I've tried allegro/herbert-base-cased with the following args and metrics:
train_args = TrainingArguments(
    num_iterations=20,
    seed=42,
)

Metrics:
accuracy: 0.7290384207174697
f1: 0.5987741631305987
recall: 0.43080054274084123
precision: 0.98145285935085

Lets see how it performs:
from utils import clean_text

class_labels = {v: k for k, v in gender_labels.items()}

# Inference
model = trainer.model
input_texts = ['lajsfhlasfuaer usiyfsf jsdfu', 'szpilki', 'sukienka', 'koszula', 'Spodnie męskie',
               'Koszula damska', "frak czarny elegancki", "buty do garnituru", "nerka"]

for input_text, pred in zip(input_texts, model.predict_proba([clean_text(t) for t in input_texts])):
    # Convert tensor to numpy array
    pred = pred.detach().numpy()

    # Get the index of the maximum probability which corresponds to the predicted class
    predicted_class = np.argmax(pred)

    # Get the maximum probability
    predicted_probability = np.max(pred)

    # Class to label mapping
    predicted_class = class_labels[predicted_class].upper()

    # Print the input text, predicted class and the probability of the predicted class (rounded to 3 decimal places)
    print(f"{clean_text(input_text)} - {predicted_class}, Probability: {predicted_probability:.3f}")

lajsfhlasfuaer usiyfsf jsdfu - FEMALE, Probability: 1.000 (BAD; random string that does not mean anything!)
szpilki - FEMALE, Probability: 1.000 (OK, high heels, typical female product)
sukienka - FEMALE, Probability: 1.000 (OK; dress; typical female product)
koszula - FEMALE, Probability: 1.000 (BAD; "Shirt" can be both male and female)
spodnie męskie - MALE, Probability: 1.000 (OK, gender is mentioned)
koszula damska - FEMALE, Probability: 1.000 (OK, gender is mentioned)
frak czarny elegancki - FEMALE, Probability: 0.983, (BAD; "Black Elegant Tailcoat"; Tailcoat only mentioned in male data)
buty do garnituru - FEMALE, Probability: 1.000 (BAD; `shoes for a suit`; Suit mentioned for male only)
nerka - MALE, Probability: 1.000 (OK; typical male product in dataset)

What I'm doing wrong? Why model is so sure with it's predictions? What can I do to improve? Should training data look like sentence or punctuation does not matter at all?
Thank you for your help!

I've tried to change model head this way:
rom sklearn.linear_model import LogisticRegression
from sentence_transformers import SentenceTransformer
from setfit import SetFitModel

model_id = "allegro/herbert-base-cased"
# model = SetFitModel.from_pretrained(model_id)

model_body = SentenceTransformer(model_id)
model_head = LogisticRegression(class_weight="balanced")
model = SetFitModel(model_body=model_body, model_head=model_head)

and that resulted in:
{'accuracy': {'accuracy': 0.9120144343026958},
 'f1': {'f1': 0.9101744501029364},
 'recall': {'recall': 0.9497964721845319},
 'precision': {'precision': 0.8737258165175785}}

and a little bit better test results:
(same input as in original message)
lajsfhlasfuaer usiyfsf jsdfu - MALE, Probability: 0.999
szpilki - FEMALE, Probability: 0.665
sukienka - FEMALE, Probability: 0.995
koszula - FEMALE, Probability: 0.816
spodnie męskie - FEMALE, Probability: 0.990
koszula damska - FEMALE, Probability: 0.999
frak czarny elegancki - MALE, Probability: 0.997
buty do garnituru - MALE, Probability: 0.581
nerka - MALE, Probability: 0.792

but still its far away from being good.

you're getting great F1 and accuracy scores. why is it far from being good? what am I missing?


Exception when trying to delete record with foreign key constraint

Get an exception when trying to delete record with a foreign key constraint. Need to handle this case and give valid error message, or handle a cascading delete.

Closing this as not an issue. The responsibility of cascading the delete should be the responsibility of the model, or the database. I solved this issue in the project I found the issue by adding a on delete cascade to the reference constraint


Rebuild for Python 3.7, GCC 7, R 3.5.1, openBLAS 0.3.2

Fixes #13

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) and found it was in an excellent condition.


VM rollout strategy

What this PR does / why we need it:
VM rollout strategy
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Release note:

NONE

What this PR does
Before this PR
After this PR

Fixes #
Why we need it and why it was done in this way
The following tradeoffs were made:
The following alternatives were considered:
Special notes for your reviewer
None/Some
Checklist
This checklist is not enforcing, but it's a reminder of items that could be relevant to every PR.
Approvers are expected to review this list.

[ ] Design: A design document was considered and is present (link) or not required
[ ] PR: The PR description is expressive enough and will help future contributors
[ ] Code: Write code that humans can understand and Keep it simple
[ ] Refactor: You have left the code cleaner than you found it (Boy Scout Rule)
[ ] Upgrade: Impact of this change on upgrade flows was considered and addressed if required
[ ] Testing: New code requires new unit tests. New features and bug fixes require at least on e2e test
[ ] Documentation: A user-guide update was considered and is present (link) or not required. You want a user-guide update if it's a user facing feature / API change.
[ ] Community: Announcement to kubevirt-dev was considered

Release note


feat: update backup schedule definition

This MR removes hardcoding of specific resources to be backed up by velero. Doing so insures that velero automatically backes up the PV/PVC. For more info check this link in the persistentVolume comments: https://velero.io/docs/main/api-types/backup/#api-groupversion

Does it mean we are going to backup everything from a given namespace?
I am fine with that, just need to understand with your approach.

Does it mean we are going to backup everything from a given namespace? I am fine with that, just need to understand with your approach.

Yes correct. The approach will be to back up all resources in the namespace (including the PV(s) of the PVC(s) in the namespace) and selectively restore the ones that are needed. With this approach it is also possible to have a full point in time restore.