[usecase-apptools] Add tests to test manifest orientation field for windows apptools usecase

Impacted tests(approved): new 8, update 0, delete 0
Unit test platform: [Windows]
Unit test result summary: pass 8, fail 0, block 0
BUG=https://crosswalk-project.org/jira/browse/XWALK-6500

You must add hints for tester that:
Orientations (other than landscape primary) from apps on windows works only in:

tablets
tablet mode for 2 in 1 devices

and only when not docked and when not having multiple monitors attached. Also the platforms should be Windows 8 +.

LGTM


[InputNew]: description position to absolute

Behaviour: When adding margin or gap style property on input.
Margin is added between input and description

Expected: Description should be fixed and margin should be below input
Solution: Fix description using absolute position similar to invalid message.

Hi, Can someone please assign this to me?

Hey @uday03meh 👋🏻
Sure will assign you this issue, If you have any questions or get stuck somewhere, reach out to us on discord -> Moralis server -> web3uikit channel and we will help you out 🙌🏻
thankyou

Hey @uday03meh  👋🏻
How is this issue going? Do let us know if you are facing any issues or need any help 😄 🙌🏻

Hey @uday03meh
Please let us know if you need any help with this issue or if you are not working on it anymore. 😄

hey @AbhinavMV using absolute is by design, otherwise the page jumps when the next content is add. I would just wrap the element in a div and add the padding to the bottom of it

Hey @BillyG83 , yes but in the input component, the description is not being used as absolute which is why this issue is happening. This is what we have right now.
const StrongStyledDescription = styled.strong`
    ${resetCSS}
    ${fonts.text}
    color: ${color.blueGray50};
    font-size: 12px;
    padding: 0 16px;
`;


CVP feedback tasks

From the group meetup 16/11/2021 there are a few tasks to think about completing/feeding back information to the group:

[x] Contact the environmental sustainability group: are there reference papers for Arctic and Antarctic impact of tour operators etc, etc.
[x] Examples for education and research opportunities relating to the icenet
[x] Share some comprehension of "lowering the barrier to resource" for non-technical, earth sciences education and resource adopters of icenet
[ ] Tom to send Jupyter notebook demonstrating the use of icenet
[x] Andrew F: can we have a quick chat about model 1 (in house) / 2 (licensed via hybrid social enterprise/non-profit organisation) approach to commercialization
[x] Clarify with the ATI/Scott the IP situation with IceNet

Meeting with Andrew booked, environment office contacted for either some references or a quick chat with the students (whatever the EO prefers!)

Marking IP situation as complete as @tom-andersson is due to forward this on to myself and Bea, so this is being tracked over email...


Parse ResourceName into http endpoint path

Moving parsing of ResourceNames to gax-java (instead of generated message classes). See https://github.com/googleapis/toolkit/pull/1847.

Codecov Report

Merging #481 into master will decrease coverage by 4.5%.
The diff coverage is 23.23%.

@@             Coverage Diff              @@
##             master     #481      +/-   ##
============================================
- Coverage     70.34%   65.83%   -4.51%
+ Complexity      773      542     -231
============================================
  Files           162      151      -11
  Lines          3672     3161     -511
  Branches        275      215      -60
============================================
- Hits           2583     2081     -502
- Misses          973      996      +23
+ Partials        116       84      -32

Impacted Files
Coverage Δ
Complexity Δ

.../google/api/gax/rpc/DeadlineExceededException.java
0% <0%> (-100%)
0 <0> (-2)

.../gax/httpjson/HttpJsonAuthCallContextEnhancer.java
0% <0%> (ø)
0 <0> (?)

...le/api/gax/httpjson/HttpJsonTransportProvider.java
0% <0%> (ø)
0 <0> (?)

...google/api/gax/rpc/ResourceExhaustedException.java
0% <0%> (-100%)
0 <0> (-2)

...oogle/api/gax/httpjson/HttpJsonDirectCallable.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

.../google/api/gax/rpc/UnimplementedApiException.java
0% <0%> (ø)
0 <0> (?)

...java/com/google/api/gax/rpc/NotFoundException.java
0% <0%> (-100%)
0 <0> (-2)

...va/com/google/api/gax/rpc/OutOfRangeException.java
0% <0%> (-100%)
0 <0> (-2)

...httpjson/InstantiatingHttpJsonChannelProvider.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

...m/google/api/gax/httpjson/ApiMethodDescriptor.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

... and 207 more

Continue to review full report at Codecov.

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

PTAL

Ok, I'll move the ResourceName logic to ApiMessage. Will comment later on whether or not a new Struct class is needed.

ApiMessage now handles the ResourceName logic, and no new classes or interfaces are needed. This simplifies things a ton!
The toolkit PR has been updated accordingly. https://github.com/googleapis/toolkit/pull/1847
PTAL

Made the suggested changes. PTAL
toolkit PR is also updated to reflect consumed changes.

Made the suggested changes. PTAL
toolkit PR is also updated to reflect consumed changes.

Blocked on https://github.com/googleapis/api-common-java/pull/46.

PTAL
I'm not sure why the travis job is failing on gradle task verifyLicense for ResourceNameStruct; this passes locally for me and the file's license is identical to others.

I believe that verifyLicense is failing because of https://github.com/googleapis/gax-java/pull/487 ; I think travis might locally merge your changes to master and run the build on that.

Ok, two api-common releases later and this build passes! Further comments welcome. PTAL


Kerberos doesn't work over HTTP/2.

Probably make an include and add in several places.
See this comment
#28432 fixes this and contains the content.

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: f22dcddb-0c25-be1a-9a02-9e71dce86bdb
Version Independent ID: 3e0e12c2-e544-5655-e001-d2ec180b11a8
Content: Kestrel web server implementation in ASP.NET Core
Content Source: aspnetcore/fundamentals/servers/kestrel.md
Product: aspnet-core
Technology: aspnetcore-fundamentals
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

Associated WorkItem - 64207

won't do


Special support for IE to workaround cross-origin popups

In a nutshell: in IE the popup is open as about:blank and then redirected to the final URL.

MSIE referring to IE is the one I was referring to.
It's not obvious that IE has MSIE in the user agent string
On Thu, May 10, 2018, 7:29 PM Dima Voytenko<EMAIL_ADDRESS>wrote:

@dvoytenko commented on this pull request.
In src/activity-window-port.js
https://github.com/google/web-activities/pull/37#discussion_r187507194:

@@ -173,15 +173,45 @@ export class ActivityWindowPort {
}

 // Open the window.

let targetWin;
let openTarget = this.openTarget_;

// IE often returns null from the window.open API for a cross-origin
// target URL, making it impossible to set up messaging. The best path is
// to first open a blank window and then replace its location to the target
// url. This, however, needs to be done very carefully - if the browser
// instead forces redirect to "about:blank", the page's JS context will be
// destroy and it may fail to change the location to the target URL.
// As such, this option is only currently implemented for IE.
if (openTarget != '_top') {

 const nav = this.win_.navigator;

 const openViaBlank = /MSIE/i.test(nav && nav.userAgent);

There's mentioning of it two lines above. Do you think another one needed
here as well?
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/google/web-activities/pull/37#discussion_r187507194,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAkprKIqp4GvrtgqCJcvGem_hrYfuTp9ks5txPeEgaJpZM4T4tRe
.

Unfortunately, this solution is not fully feasible. Tests show that this is not fully possible. There are indeed still some workarounds, but they are too drastic, non-secure and likely not worth the effort for IE at this time. I'm closing this PR and instead sending #38 which is much simpler and reliable. Fully realizing that this would preclude some products from being launched on IE, but the alternatives are not secure enough either.


How to use a stylegan2 pkl like cat image pkl, to generate images

I want to make a morphing cat gif.
I have downloaded the stylegan2 cat pkl, as well as the compiled version of GANInterface from the anime tutorial, hoping to instead generate a morphing cat animation gif from images and their interpolations generated from the cat pkl.
How do I do this? Is their an option to load other stylegan2 pkl from the compiled ui? If there is no pkl loading option, is there a way to convert pkl to latent space for loading into GANInterface? (I ask the last question because I notice changing name of "data_b75d22410203401232872f3627826b4d" folder leads to an error, and I suspect this particular error concerns some saved pkl in some way.

Okay, reading through the issues again, I found the thread about conversion from stylegan2 pkl to GANInterface.
I will try and report.

Checking 4 Report


Minor styling issues

@nurgul-ths Now that Taylor has merged her PR, looks like you need to solve some new merge conflicts!


Execution failed for task ':android_permissions_manager:compileDebugJavaWithJavac'. > Compilation failed; see the compiler error output for details.

app/gradle
def localProperties = new Properties()
def localPropertiesFile = rootProject.file('local.properties')
if (localPropertiesFile.exists()) {
    localPropertiesFile.withReader('UTF-8') { reader ->
        localProperties.load(reader)
    }
}

def flutterRoot = localProperties.getProperty('flutter.sdk')
if (flutterRoot == null) {
    throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
}

apply plugin: 'com.android.application'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"

def keystorePropertiesFile = rootProject.file("key.properties")
def keystoreProperties = new Properties()
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))

android {
    compileSdkVersion 27
    buildToolsVersion "23.0.1"

    compileOptions {
        sourceCompatibility 1.8
        targetCompatibility 1.8
    }

    lintOptions {
        disable 'InvalidPackage'
    }

    defaultConfig {
        // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
        applicationId "exam.co.exam"
        minSdkVersion 16
        targetSdkVersion 27
        versionCode 7
        versionName "1.0"
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
        multiDexEnabled true
    }

	signingConfigs {
	    release {
		keyAlias keystoreProperties['keyAlias']
		keyPassword keystoreProperties['keyPassword']
		storeFile file(keystoreProperties['storeFile'])
		storePassword keystoreProperties['storePassword']
	    }
	}
	buildTypes {
	    release {
		signingConfig signingConfigs.release
		  //minifyEnabled true
		   // useProguard true

		    //proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
	    }
	}

    /*

    buildTypes {
        release {
            // TODO: Add your own signing config for the release build.
            // Signing with the debug keys for now, so `flutter run --release` works.
            signingConfig signingConfigs.debug
        }
    }
	*/

}

flutter {
    source '../..'
}

dependencies {
    testImplementation 'junit:junit:4.12'
    androidTestImplementation 'com.android.support.test:runner:1.0.1'
    androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
}

apply plugin: 'com.google.gms.google-services'

android/gradle
     buildscript {
    repositories {
        google()
        jcenter()
    }

    dependencies {
        classpath 'com.android.tools.build:gradle:3.1.2'
        classpath 'com.google.gms:google-services:3.2.1'
    }
}

allprojects {
    repositories {
        google()
        jcenter()
    }
}

rootProject.buildDir = '../build'
subprojects {
    project.buildDir = "${rootProject.buildDir}/${project.name}"
}
/*subprojects {
    project.evaluationDependsOn(':app')
}*/

task clean(type: Delete) {
    delete rootProject.buildDir
}

subprojects {
    project.configurations.all {
        resolutionStrategy.eachDependency { details ->
            if (details.requested.group == 'com.android.support'
                    && !details.requested.name.contains('multidex') ) {
                details.useVersion "26.1.0"
            }
        }
    }
}

flutter doctor
/home/cipher/Downloads/flutter_linux_v0.5.1-beta/flutter/bin/flutter --no-color doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, v0.5.1, on Linux, locale en_IN)
[✓] Android toolchain - develop for Android devices (Android SDK 28.0.2)
[✓] Android Studio (version 3.1)
[✓] IntelliJ IDEA Ultimate Edition (version 2018.2)
[✓] Connected devices (1 available)
• No issues found!
Process finished with exit code 0

Please add the output of flutter doctor -v and the

compiler error output

mentioned in the title if possible.
What steps are necessary to reproduce?

Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.


missing vendor dependency

github.com/docker/go-connections/nat
missing from the stack yaml parser

My fault for not testing, but unfortunately #167 breaks the build. Reopening the issue.


Work with Ignite 2 default app

Using https://github.com/infinitered/ignite
ignite new project
cd project
yarn add --dev haul-cli
yarn run haul init
yarn run haul start -- --platform ios

Observe:
ERROR in ./App/Themes/Images.js
Module not found: Error: Can't resolve '../Images/button-bg.png' in '/Users/andrew/src/project/App/Themes'
 @ ./App/Themes/Images.js 11:17-51
 @ ./App/Themes/index.js
 @ ./App/Containers/Styles/RootContainerStyles.js
 @ ./App/Containers/RootContainer.js
 @ ./App/Containers/App.js
 @ ./index.ios.js
 @ multi ./~/haul-cli/src/utils/polyfillEnvironment.js ./index.ios.js

ERROR in ./App/Themes/Images.js
Module not found: Error: Can't resolve '../Images/Icons/icon-api-testing.png' in '/Users/andrew/src/project/App/Themes'
 @ ./App/Themes/Images.js 12:4-51
 @ ./App/Themes/index.js
 @ ./App/Containers/Styles/RootContainerStyles.js
 @ ./App/Containers/RootContainer.js
 @ ./App/Containers/App.js
 @ ./index.ios.js
 @ multi ./~/haul-cli/src/utils/polyfillEnvironment.js ./index.ios.js

software
version

Haul
0.4.1

react-native
0.4.2

node
7.8

yarn
0.21.3

Can you link to a demo project please?

Alternatively, ls in Images/Icons folder.

After debugging this for a while, it looks like it's because of Ignite shipping only with<EMAIL_ADDRESS>file whereas our plugin requires the base resolution to be on the filesystem as well (eg.button-bg.png or button-bg@1x.png). It's probably worth figuring out how's Packager handling those cases and tweak.
One of the solutions would be to take lowest resolution from available files (e.g. if @2x is the only one, take it instead of throwing).


FAQ Section

**Missing FAQ Section **
Since tturl.netlify.app is a new website we can create a FAQ section to make new user to be friendly with the website.

Add FAQ Section
Creating FAQ section
ex. What is need for tiny URL?
Ans It makes Tracking and Analytics easier . Increases effectiveness of the website.

Pls assign me this issue under hactoberfest-aceepted, GSsoc'24 and level 3.

@daky2024 FAQ section will be great.. can you provide some example questions or the questions you gonna add in FAQ section.. so that i can get some clear idea on it..

@muruga21 sir , I have got these questions to add under FAQ section .
Q1. What is TTURL ?
Q2. Benefits of TTURL ?
Q3. Is TTURL interface friendly ?
Q4.Does TTURL safe and secure to use?
Q5.Can TTURL expire after some time?
Q6. Is it worth it to use TTURL?
Q7.Is TTURL website free to use?
Q8.Can I redirect using TTURL?
Q9.How to use TTURL?
and some more...

Can you assign this issue to me , would love to work on this

@daky2024 yeah dude work on it

@anishka25 i can see your interest on this issue.. since @daky2024 is the one who came up with this issue.. im assigning it to him

@anishka25 i can see your interest on this issue.. since @daky2024 is the one who came up with this issue.. im assigning it to him

Hello Sir , Dakshata this side . I have made PR . Please check it.
Thank you
On Tue, 15 Oct, 2024, 12:29 pm MURUGA PERUMAL, @.***>
wrote:

@anishka25 https://github.com/anishka25 i can see your interest on this
issue.. since @daky2024 https://github.com/daky2024 is the one who came
up with this issue.. im assigning it to him
—
Reply to this email directly, view it on GitHub
https://github.com/TherkuTech/tturl/issues/68#issuecomment-2413053684,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BITL3QHKDBPUOVMA6XLVZUDZ3S4O5AVCNFSM6AAAAABP2WKKGWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJTGA2TGNRYGQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

i want to work on this issue .assign me this project


Add tests for the comment counter

Description

Add tests for the comment counter

@Newtayo this PR fixes the comment test that was removed during the revert. This comment test now add just comment tests
https://github.com/veronica365/JavaScript-Capstone/pull/33


QueryException in Connection.php line 651:

SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'Admin' for key 'roles_name_unique' (SQL: insert into roles (name, updated_at, created_at) values (Admin, 2015-11-25 10:39:03, 2015-11-25 10:39:03))

Hi there!  It looks like you're trying to add more roles but you have a duplicate name.  It seems like that's not supported in both the generated migration and in the documentation:

name — Unique name for the Role, used for looking up role information in the application layer. For example: "admin", "owner", "employee".

What code are you running that is causing this?

        try {
                   $user->roles()->attach($role_value); // id only

                } catch (\Exception $e) {//the namespace \Exception not Exception
                  return redirect()->back()->with('good',"User already has the role");
                }


ups.js to get list of tracking numbers, or date range to get list of tracking numbers from UPS

Modify ups.js to either use a list of tracking numbers or a date range to get list of tracking numbers from UPS
Then return in JSON

a list, each of which contains the current output for each shipment,
a list of all the tracking numbers
a final total amount of emissions for all the shipments

Done.


ASN.1 source path containing \U char in Windows OS

Upon using the addAsn1MibSource function to compile a custom asn1 mib file, the compiled file will be placed by default in %HOMEPATH%\PySNMP Configuration\mibs the HOMEPATH defaults to:
drive:\Users<username>, so the builder.py generates the following error:
`SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 240-241: truncated \UXXXXXXXX escape`

Manually adding a second slash to the compiled mib file solves the issue (Before the U):
....
ASN.1 source _file://C:\\Users...<mib_path>
....

Thank you for reporting this issue!
Did I get it right, that the Python file being generated (i.e. MIB) is failing to be parsed because of unescaped unicode code (i.e. \U) in it?

I can reproduce this issue and it seems that mibdump works badly with Windows path. This requires significant changes in pysmi module.


Added Syncfusion Blazor library

Hey Adrien,
Added Syncfusion Blazor UI components to Libraries section. Please consider it.

Hi! Thank's you for your contribution.


fix(build): build warnings

Fix a couple of warnings, which were found during the build
Also, fixed links in Readme & Contribution  files, which were pointing to the old repo

thanks @daniloff200  , Looks good .


use TextEncoder to encode string if available

This does not affect benchmark results because the dataset for benchmarks does not have large strings, but it is much efficient than pure JS or WASM if the input string is large.

Have you testes with different sizes?

@gfx

Yep, as benchmark/encode-string.ts shows:
$ npx ts-node benchmark/encode-string.ts

## string "A" x 10 (byteLength=10)

utf8EncodeJs x 14,402,025 ops/sec ±8.20% (68 runs sampled)
utf8DecodeTE x 843,323 ops/sec ±19.87% (54 runs sampled)

## string "A" x 100 (byteLength=100)

utf8EncodeJs x 1,520,583 ops/sec ±2.55% (86 runs sampled)
utf8DecodeTE x 1,201,906 ops/sec ±4.48% (69 runs sampled)

## string "A" x 200 (byteLength=200)

utf8EncodeJs x 774,931 ops/sec ±1.76% (85 runs sampled)
utf8DecodeTE x 1,071,303 ops/sec ±5.44% (66 runs sampled)

## string "A" x 1000 (byteLength=1000)

utf8EncodeJs x 142,148 ops/sec ±8.10% (72 runs sampled)
utf8DecodeTE x 457,927 ops/sec ±8.05% (44 runs sampled)

## string "A" x 10000 (byteLength=10000)

utf8EncodeJs x 15,303 ops/sec ±3.46% (78 runs sampled)
utf8DecodeTE x 70,942 ops/sec ±9.21% (38 runs sampled)

## string "A" x 100000 (byteLength=100000)

utf8EncodeJs x 1,704 ops/sec ±2.56% (86 runs sampled)
utf8DecodeTE x 8,498 ops/sec ±5.34% (61 runs sampled)

## string "あ" x 10 (byteLength=30)

utf8EncodeJs x 12,520,756 ops/sec ±4.06% (85 runs sampled)
utf8DecodeTE x 1,255,161 ops/sec ±3.06% (70 runs sampled)

## string "あ" x 100 (byteLength=300)

utf8EncodeJs x 940,380 ops/sec ±7.21% (72 runs sampled)
utf8DecodeTE x 698,070 ops/sec ±4.93% (76 runs sampled)

## string "あ" x 200 (byteLength=600)

utf8EncodeJs x 570,138 ops/sec ±3.57% (88 runs sampled)
utf8DecodeTE x 152,060 ops/sec ±25.34% (29 runs sampled)

## string "あ" x 1000 (byteLength=3000)

utf8EncodeJs x 111,823 ops/sec ±8.33% (81 runs sampled)
utf8DecodeTE x 100,644 ops/sec ±10.49% (59 runs sampled)

## string "あ" x 10000 (byteLength=30000)

utf8EncodeJs x 12,831 ops/sec ±2.17% (92 runs sampled)
utf8DecodeTE x 9,405 ops/sec ±14.25% (50 runs sampled)

## string "あ" x 100000 (byteLength=300000)

utf8EncodeJs x 933 ops/sec ±14.97% (70 runs sampled)
utf8DecodeTE x 801 ops/sec ±14.61% (51 runs sampled)

## string "🌏" x 20 (byteLength=40)

utf8EncodeJs x 4,361,021 ops/sec ±23.57% (51 runs sampled)
utf8DecodeTE x 958,067 ops/sec ±8.69% (63 runs sampled)

## string "🌏" x 200 (byteLength=400)

utf8EncodeJs x 612,881 ops/sec ±6.40% (81 runs sampled)
utf8DecodeTE x 339,414 ops/sec ±12.43% (58 runs sampled)

## string "🌏" x 400 (byteLength=800)

utf8EncodeJs x 279,219 ops/sec ±10.39% (71 runs sampled)
utf8DecodeTE x 173,350 ops/sec ±14.61% (55 runs sampled)

## string "🌏" x 2000 (byteLength=4000)

utf8EncodeJs x 27,919 ops/sec ±29.91% (37 runs sampled)
utf8DecodeTE x 41,550 ops/sec ±23.79% (58 runs sampled)

## string "🌏" x 20000 (byteLength=40000)

utf8EncodeJs x 3,842 ops/sec ±22.42% (54 runs sampled)
utf8DecodeTE x 5,670 ops/sec ±4.68% (74 runs sampled)

## string "🌏" x 200000 (byteLength=400000)

utf8EncodeJs x 726 ops/sec ±1.37% (90 runs sampled)
utf8DecodeTE x 640 ops/sec ±3.54% (78 runs sampled)


Improve documentation for serde_as types and traits

Add documentation to the de and ser modules.
Expose the types SerializeAsWrap and DeserializeAsWrap. These
types, or similar ones, are necessary to implement SerializeAs for
container types, as the wrapper allows to change how the inner types
get serialized.
Add documentation to the traits SerializeAs and DeserializeAs.

bors r+


Fix Embroider testing setup

Blocked on https://github.com/embroider-build/embroider/issues/1020

@simonihmig The link issue is now solved.

Thanks for the ping @ctjhoa! This is now rebased (after fixing some CI issues) and merged!


Fix Ergonomics

patch 1 allows Server::decapsulate to take &self instead of &mut self since Server is not mutated
patch 2 derives debug, clone for ohttp::Server for ergonomics downstream

clippy passes w/o warnings

Thanks Dan.  You missed some test changes and I needed to make the HpkeR changes on the NSS side, but this is very helpful.  It certainly helps not to require mut.

Hmm I see how I missed the NSS changes but I wonder how I missed the test changes. Thanks for rolling with it.


ServerInstance socket not closing on unexpected program termination or loop stop

When a program using the library ends unexpectedly or the loop is stopped, the ServerInstance socket might not close the port. This results in the port remaining open until the process times out. If the program restarts suddenly and didn't properly close the socket, it will be unable to reopen the port.
To Reproduce

Create a simple ReactPHP HttpServer instance.
Start the server and listen on a specific port.
Terminate the program unexpectedly (e.g., force kill the process).
Attempt to restart the program and listen on the same port.

Expected behavior
The socket should close properly, releasing the port for reuse immediately after the program terminates or the loop stops.
Actual behavior
The port remains open and the HttpServer will not start, throwing an error that it couldn't listen to the port.
Example Code
<?php

use React\EventLoop\Factory;
use React\Http\Server;
use React\Socket\Server as SocketServer;

require 'vendor/autoload.php';

$loop = Factory::create();

$server = new Server(function (Psr\Http\Message\ServerRequestInterface $request) {
    return new React\Http\Message\Response(
        200,
        array('Content-Type' => 'text/plain'),
        "Hello World!\n"
    );
});

$socket = new SocketServer('<IP_ADDRESS>:8080', $loop);
$server->listen($socket);

$loop->run();

// Simulate unexpected termination (e.g., force kill the process)

This took me a while to figure out, and the best workaround to fixing this odd behavior is to explicitly call $socket->close(); in my error handlers or anywhere that might cause my scripts to restart. I think it would be a good idea to define a __destruct() magic method for this class that makes sure that the socket closes out completely, but I'm not sure if that is the best fix for this bug.

Hey @valzargaming, thanks for bringing this up and taking the time to properly explain your case :+1:
I copied the example you posted above and tried to reproduce the behavior, but I didn't achieve the same results you're describing. I can easily stop/kill and restart the server and I don't see any messages saying that the port is in use.
Seems like there's more going on on your side than you initially described. Can you give us some more information on how your using this, which platform you're using, is there any webserver in place, etc.
FYI: I changed the label of this ticket from bug to question for now until we can be sure this is actually a bug

Thanks for taking the time to look this over @SimonFrings! It has been rather hard to reproduce and only happens from time to time (usually when a fatal error is thrown) and doesn't always happen, so I'm not always sure under what conditions the crash needs to happen before the port used to host the HttpServer isn't able to be re-opened upon restart. I am using this library alongside DiscordPHP, which is also powered by the ReactPHP libraries, and the project I'm running into this most often can be found over at https://github.com/Valgorithms/Civilizationbot/blob/4ac4d0b0d4d152f248676b734c679c95811be3fd/bot.php#L414-L437.

I've finally been able to replicate the issue! It turns out that it's not related (at least not always) to the socket not closing when the script stops, but rather trying to access the HTTP server at all during the startup process will result in the port failing to bind. For instance, if my bot crashes and a browser is trying accessing the port, it will throw this fatal error:
PHP Fatal error:  Uncaught RuntimeException: Failed to listen on "tcp://<IP_ADDRESS>:55555": Address already in use (EADDRINUSE) in /home/civ13/Civilizationbot/vendor/react/socket/src/>Stack trace:
#0 /home/civ13/Civilizationbot/vendor/react/socket/src/SocketServer.php(61): React\Socket\TcpServer->__construct()
#1 /home/civ13/Civilizationbot/bot.php(369): React\Socket\SocketServer->__construct()
#2 {main}
  thrown in /home/civ13/Civilizationbot/vendor/react/socket/src/TcpServer.php on line 184

@valzargaming thanks for giving additional input on this and sharing your results :+1:
Seems to me that this is a problem laying outside of ReactPHP and has something to do with your use case/setup. Not sure why your OS is still listening on that port once you kill the script, maybe you have something in place that is automatically restarting it (like systemd), but these are only guesses. I also found https://stackoverflow.com/questions/3855127/find-and-kill-process-locking-port-3000-on-mac which seems to describe similar cases and also contains the suggested solution you described above. Answers the "how to fix it" question, but not really the "why is this happening".
Feels like this ticket is answered for now, so I'll close this. If you find any additional input that explains this behavior, please let us know in here, so others with the same problem can find an answer to this. If you encounter this behavior again and can prove that it's caused by ReactPHP, we can reopen this ticket and take another look :+1:


⚠ Elibs has degraded performance

In a1e6f6f, Elibs (https://elibs.unmer.ac.id) experienced degraded performance:

HTTP code: 200
Response time: 9623 ms

Resolved: Elibs performance has improved in c20ed89.


Ceph and non-S3 S3-compliant storage systems

So, Ceph lack support for important parts of the S3 specification according to @BrianBland and @AndreyKostov , but it might be usable with a swift compatible driver.
ping @bacongobbler : any plans for a v2 swift driver? :)

Yeah, I don't know much about it (http://ceph.com/docs/next/radosgw/swift/). Needs to be looked into.
And yes, a swift driver would be swell :)

Hi, just curious, what's S3 features are needed that Ceph does not have?

Invoking @AndreyKostov for the gory details.

It doesn't support the Upload Part Copy api that we use for WriteStream in the s3 driver
http://docs.aws.amazon.com/AmazonS3/latest/API/mpUploadUploadPartCopy.html

Support of the Ceph Rados Gateway would be nice but I would prefer a pure Rados storage backend.

Can't s3 driver be implemented without Upload Part Copy mechanism?

It looks like that the S3 client in Go doesn't support custom API domains.
https://github.com/AdRoll/goamz/blob/master/s3/s3.go#L853

On 17 Apr 2015, at 10:45, Ian Babrou<EMAIL_ADDRESS>wrote:
Can't s3 driver be implemented without Upload Part Copy mechanism?
—
Reply to this email directly or view it on GitHub.

We can always fork/PR fixes so we can accomplish that, but good to know! I'm currently tied down with some onboarding stuff because we just recently merged with Engine Yard but nobody picks this up then I'd be happy to contribute a driver (assuming that we can make it work)

Hoping this feature returns -- the previous python version supported S3-compatible storage systems by letting you specify the endpoint.

The core of the issue is that the new registry storage driver api requires continuous uploads and the way the s3 driver currently implements that functionality is with the Upload Part Copy mechanism.
If an s3 alternative does support Upload Part Copy, then supporting it is fairly easy, but if it doesn't it requires an s3 driver rewrite (that I am not even sure is possible while adhering to the current storage API)

Ceph does have append support within librados (see
http://ceph.com/docs/master/rados/api/librados/)
There are two possibilities:

A Ceph storage driver
Add Upload Part Copy to the Ceph S3 API

On Mon, Apr 20, 2015 at 9:50 AM, Andrey Kostov<EMAIL_ADDRESS>wrote:

The core of the issue is that the new registry storage driver api requires
continuous uploads and the way the s3 driver currently implements that
functionality is with the Upload Part Copy mechanism.
If an s3 alternative does support Upload Part Copy, then supporting it is
fairly easy, but if it doesn't it requires an s3 driver rewrite (that I am
not even sure is possible while adhering to the current storage API)
—
Reply to this email directly or view it on GitHub
https://github.com/docker/distribution/issues/40#issuecomment-94506484.

@AndreyKostov @RichardScothern The better approach might be to have "logical files" in the backend. The main use case is to accept a bunch of offset-fixed chunk writes, then assemble them on "commit" of a blob.
Let's focus on getting resumable upload support fully integrated and then attack this issue. I suspect we need to break from the VFS-style API that we cribbed from V1. It incurs too many requirements on the backend drivers and provides nearly no benefit.

@stevvooe is there a goal to support storages that do not support resumable uploads?

@bobrik That should be a possibility but the current design of the storage drivers doesn't really provide a method for a driver to communicate this. For example, it makes more sense for a storage driver to not implement LayerUpload.Resume rather than have it subtly fail on writing offsets to a file. The latter is much more explicit and reliable.

Ceph has been implemented.


⚠ ClamAV has degraded performance

In 2a5cfb1, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 216 ms

Resolved: ClamAV performance has improved in 468db64.


ZDX applications GetAllApps endpoint bug

Confirmation

[X] My issue isn't already found on the issue tracker.
[X] I have replicated my issue using the latest version of the library and it is still present.

zscaler-sdk-go version
v2.6.0
Go environment
GO111MODULE=''
GOARCH='arm64'
GOBIN=''
GOCACHE='/Users/spage/Library/Caches/go-build'
GOENV='/Users/spage/Library/Application Support/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFLAGS=''
GOHOSTARCH='arm64'
GOHOSTOS='darwin'
GOINSECURE=''
GOMODCACHE='/Users/spage/go/pkg/mod'
GONOPROXY=''
GONOSUMDB=''
GOOS='darwin'
GOPATH='/Users/spage/go'
GOPRIVATE=''
GOPROXY='https://proxy.golang.org,direct'
GOROOT='/opt/homebrew/Cellar/go/1.22.3/libexec'
GOSUMDB='sum.golang.org'
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='/opt/homebrew/Cellar/go/1.22.3/libexec/pkg/tool/darwin_arm64'
GOVCS=''
GOVERSION='go1.22.3'
GCCGO='gccgo'
AR='ar'
CC='cc'
CXX='c++'
CGO_ENABLED='1'
GOMOD='/Users/spage/Developer/sandbox/sandbox-go/go.mod'
GOWORK=''
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
PKG_CONFIG='pkg-config'
GOGCCFLAGS='-fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -ffile-prefix-map=/var/folders/3j/r7v71px131x4578dxnm_7y_w0000gn/T/go-build1124777475=/tmp/go-build -gno-record-gcc-switches -fno-common'

Expected output
Object returned from GetAllApps endpoint is an *applications.Apps struct, per the documentation.  However I think this is likely incorrect and should be a slice of applications.Apps structs, since this endpoint should retrieve all apps defined in ZDK.  I'm new to using Go though, so I may be reading something incorrectly.   However there is another issue that is happening before we get to this part of the code and I will describe this further down.
Actual output
Object returned from GetAllApps endpoint is nil
Catching and printing the error returned from GetAllApps reads:
json: cannot unmarshal array into Go value of type applications.Apps

Code demonstrating the issue
package main

import (
	"log"
	"os"

	"github.com/zscaler/zscaler-sdk-go/v2/zdx"
	"github.com/zscaler/zscaler-sdk-go/v2/zdx/services/reports/applications"
)

func main() {

	// Init zscaler zdx config
	apiKey := os.Getenv("ZDX_API_KEY_ID")
	apiSecret := os.Getenv("ZDX_API_SECRET")
	cfg, err := zdx.NewConfig(apiKey, apiSecret, "userAgent")
	if err != nil {
		log.Printf("[ERROR] creating client failed: %v\n", err)
		return
	}
	cli := zdx.NewClient(cfg)

	appsSDKEndpoint(cli)

}

func appsSDKEndpoint(cli *zdx.Client) {
	// Test getting all apps from "GetAllApps" endpoint
	appClient := applications.New(cli)
	_, _, err := appClient.GetAllApps(applications.GetAppsFilters{})
	if err != nil {
		log.Printf("SDK Endpoint Apps: [ERROR] using GetAllApps endpoint %v\n", err)
	}

}

Steps to reproduce
Run the code above.
References
No response

I want to enrich the issue above, because it seems like ZDK Rest API server is giving inconsistent results for GET operations against the v1/apps endpoint when using the Zscaler SDK.
Using the following env vars:
export ZSCALER_SDK_LOG=true
export ZSCALER_SDK_VERBOSE=true

If I run the following code using the client NewRequestDo utility endpoint:
package main

import (
	"log"
	"net/http"
	"os"

	"github.com/zscaler/zscaler-sdk-go/v2/zdx"
	"github.com/zscaler/zscaler-sdk-go/v2/zdx/services/common"
)

func main() {

	// Init zscaler zdx config
	apiKey := os.Getenv("ZDX_API_KEY_ID")
	apiSecret := os.Getenv("ZDX_API_SECRET")
	cfg, err := zdx.NewConfig(apiKey, apiSecret, "userAgent")
	if err != nil {
		log.Printf("[ERROR] creating client failed: %v\n", err)
		return
	}
	cli := zdx.NewClient(cfg)

	// Test pulling all apps using utility function
	resp, err := cli.NewRequestDo(http.MethodGet, "v1/apps", common.GetFromToFilters{}, nil, nil)
	if err != nil {
		log.Printf("[ERROR] using NewRequestDo %v\n", err)
	}
	defer resp.Body.Close()

}

I get the following zscaler log output:
zdx-logger: 2024/06/10 15:29:43 logger.go:36: [TRACE] Getting access token for ZDX_API_KEY_ID=(OMITTED)
zdx-logger: 2024/06/10 15:29:43 logger.go:36: [DEBUG] POST https://api.zdxcloud.net/v1/oauth/token
zdx-logger: 2024/06/10 15:29:44 logger.go:36: [DEBUG] Request "GET https://api.zdxcloud.net/v1/apps" details:
---[ ZSCALER SDK REQUEST | ID:a2770df1-c90b-44d3-be21-90d033e15913 ]-------------------------------
GET /v1/apps HTTP/1.1
Host: api.zdxcloud.net
User-Agent: userAgent
Authorization: Bearer (OMITTED)
Content-Type: application/json
Accept-Encoding: gzip

---------------------------------------------------------
zdx-logger: 2024/06/10 15:29:44 logger.go:36: [DEBUG] GET https://api.zdxcloud.net/v1/apps
zdx-logger: 2024/06/10 15:29:45 logger.go:36: [DEBUG] Response "GET https://api.zdxcloud.net/v1/apps" details:
---[ ZSCALER SDK RESPONSE | ID:a2770df1-c90b-44d3-be21-90d033e15913 | Duration:1.531663917s ]--------------------------------
HTTP/2.0 200 OK
Ccid: zscalertwo.net.51057371
Content-Type: application/json
Date: Mon, 10 Jun 2024 22:29:44 GMT
Ratelimit-Limit: 5
Ratelimit-Remaining: 4
Ratelimit-Reset: 1
Vary: Accept-Encoding, User-Agent
X-Api-Version: 2.1.0-2023-12-22T00:27:16Z
X-Ratelimit-Limit-Day: 10000
X-Ratelimit-Limit-Hour: 1000
X-Ratelimit-Limit-Minute: 30
X-Ratelimit-Limit-Second: 5
X-Ratelimit-Remaining-Day: 9702
X-Ratelimit-Remaining-Hour: 991
X-Ratelimit-Remaining-Minute: 28
X-Ratelimit-Remaining-Second: 4

(JSON RESPONSE OMITTED HERE, BUT WE RECEIVE THE EXPECTED JSON OUTPUT OF ALL APPLICATIONS DEFINED IN ZDX)
-------------------------------------------------------

However if I run this code using the applications GetAllApps endpoint:
package main

import (
	"log"
	"os"

	"github.com/zscaler/zscaler-sdk-go/v2/zdx"
	"github.com/zscaler/zscaler-sdk-go/v2/zdx/services/reports/applications"
)

func main() {

	// Init zscaler zdx config
	apiKey := os.Getenv("ZDX_API_KEY_ID")
	apiSecret := os.Getenv("ZDX_API_SECRET")
	cfg, err := zdx.NewConfig(apiKey, apiSecret, "userAgent")
	if err != nil {
		log.Printf("[ERROR] creating client failed: %v\n", err)
		return
	}
	cli := zdx.NewClient(cfg)

	// Test getting all apps from "GetAllApps" endpoint
	appClient := applications.New(cli)
	_, _, err = appClient.GetAllApps(applications.GetAppsFilters{})
	if err != nil {
		log.Printf("SDK Endpoint Apps: [ERROR] using GetAllApps endpoint %v\n", err)
	}

}

It doesn't seem like the ZDX REST API is giving a response:
zdx-logger: 2024/06/10 15:43:32 logger.go:36: [TRACE] Getting access token for ZDX_API_KEY_ID=(OMITTED)
zdx-logger: 2024/06/10 15:43:32 logger.go:36: [DEBUG] POST https://api.zdxcloud.net/v1/oauth/token
zdx-logger: 2024/06/10 15:43:34 logger.go:36: [DEBUG] Request "GET https://api.zdxcloud.net/v1/apps" details:
---[ ZSCALER SDK REQUEST | ID:0894c565-126c-4973-ab99-09007b655a4f ]-------------------------------
GET /v1/apps HTTP/1.1
Host: api.zdxcloud.net
User-Agent: userAgent
Authorization: Bearer (OMITTED)
Content-Type: application/json
Accept-Encoding: gzip

---------------------------------------------------------

It probably seems like I forgot some out above, but I didn't, that is literally the only debug information that is printed to the terminal.
At this point if feels like I'm using the SDK wrong, but if I look at the sdk log information, I can't get past the lack of response returned.  The GET request looks to be the same for both.  What am I missing?

@bosatsu
There were some API changes with ZDX lately, and didn't get reflected in the SDK struct.
We'll be putting out a new release in the next few days.
In the meantime, if you cloned the repo, and navigate the package here you can use the code you've provided and the call should succeed without problems.
---------------------------------------------------------
zdx-logger: 2024/06/11 16:28:26 logger.go:36: [DEBUG] GET https://api.zdxcloud.net/v1/apps
zdx-logger: 2024/06/11 16:28:27 logger.go:36: [DEBUG] Response "GET https://api.zdxcloud.net/v1/apps" details:
---[ ZSCALER SDK RESPONSE | ID:b047bf70-4ae7-46dc-8866-7bac65c36a39 | Duration:743.022417ms ]--------------------------------
HTTP/2.0 200 OK
Ccid: zscalerthree.net.24326813
Content-Type: application/json
Date: Tue, 11 Jun 2024 23:28:26 GMT
Ratelimit-Limit: 5
Ratelimit-Remaining: 4
Ratelimit-Reset: 1
Vary: Accept-Encoding, User-Agent
X-Api-Version: 2.1.0-2023-12-22T00:27:16Z
X-Ratelimit-Limit-Day: 10000
X-Ratelimit-Limit-Hour: 1000
X-Ratelimit-Limit-Minute: 30
X-Ratelimit-Limit-Second: 5
X-Ratelimit-Remaining-Day: 9834
X-Ratelimit-Remaining-Hour: 991
X-Ratelimit-Remaining-Minute: 29
X-Ratelimit-Remaining-Second: 4

[{"id":1,"name":"SharePoint Online","score":0.0,"most_impacted_region":{"id":"0.0.CA","country":"Canada"},"total_users":1},{"id":2,"name":"OneDrive for Business","score":0.0,"most_impacted_region":{"id":"0.0.CA","country":"Canada"},"total_users":1},{"id":3,"name":"Outlook Online","score":0.0,"most_impacted_region":{"id":"0.0.CA","country":"Canada"},"total_users":1},{"id":5,"name":"ServiceNow","score":0.0,"most_impacted_region":{"id":"0.0.CA","country":"Canada"},"total_users":1},{"id":6,"name":"Box","score":0.0,"most_impacted_region":{"id":"0.0.CA","country":"Canada"},"total_users":1},{"id":10,"name":"Microsoft Teams Web App","score":0.0,"most_impacted_region":{"id":"0.0.CA","country":"Canada"},"total_users":1},{"id":19,"name":"Microsoft Login","score":0.0,"most_impacted_region":{"id":"0.0.CA","country":"Canada"},"total_users":1},{"id":12949,"name":"Outlook UDP","score":0.0,"most_impacted_region":{"id":"0.0.CA","country":"Canada"},"total_users":1},{"id":13279,"name":"Zoom2","score":0.0,"most_impacted_region":{"id":"0.0.CA","country":"Canada"},"total_users":1},{"id":13493,"name":"AWS","score":0.0,"most_impacted_region":{"id":"0.0.CA","country":"Canada"},"total_users":1}]
-------------------------------------------------------

@willguibr
Thanks so much for looking into this and the quick turn around.  I'll keep an eye for the new release.

@bosatsu Please check release v2.61.0 for ZDX package improvements.

@willguibr Thank you for the quick turn around on this!  Everything is working so far on the device report endpoints.  If I could ask another favor, it would be to update the READMEs and examples for the zdx client, I had to go back and read the PR to figure out that we have to pass in a service to the report endpoint functions instead of initialing the service based on the report endpoint.  Hopefully that made sense.  Anyways, thank you for getting this fix in such a timely manner.

https://github.com/zscaler/zscaler-sdk-go/releases/tag/v2.61.1#:~:text=on StatusPreconditionFailed 412.-,Documentation,-PR %23259 - Added
@bosatsu 👆🏽

@willguibr Thank you!


07/30/2018 17:59 : Create Pull Request for branch prTesting_2018073017 -> master

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

split/updateTestCon.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Kontainer engine: update post-check

Update post-check with "latest" rancher version to improve security.
Acceptance tests

Recheck


Fix #142

Summary
This fixes #142
Checklist

[ ] If code changes were made then they have been tested.

[ ] I have updated the documentation to reflect the changes.

[x] This PR fixes an issue.
[ ] This PR adds something new (e.g. new method or parameters).
[ ] This PR is a breaking change (e.g. methods or parameters removed/renamed)
[ ] This PR is not a code change (e.g. documentation, README, ...)

smh "all check have failed"


Spread the word about Java 8 1st class support in Spring 5

See title.
Btw, are there already ideas to provide autoconfig for this in Boot 2? I had a quick look at the code in Boot as well as in Hateoas. The @Enable annotation is pretty tied to the configuration but I could come up with one or two ideas to provide autoconfiguration. Drop me a line if you're interested, @gregturn or @olivergierke

Regarding autoconfiguration, we are quite aware that Boot kind of hard wires things in one direction. Instead of HATEOAS autoconfig, it's more like HAL autoconfig, so we're not sure yet how to adapt to picking differing lists of hypermedia types.
So this example tries its best to swap out HAL for HAL-FORMS.

Resolved via https://github.com/spring-projects/spring-hateoas-examples/commit/d8c7f97a3758b1ee74968ba3de1c520ca1598458. Thanks @michael-simons !


CTE queries with 'UNION' are parsed as 'non-select.'

The commit #25014 will cause SQL parsing errors.
The following statement is an invalid select statement:
with base as(select id from table1 union all select id from table2) select * from base

It's duplicate #25266.

tagging @betodealmeida who reviewed the PR you linked (thanks for finding that!)

Fixed in https://github.com/apache/superset/pull/25290


⚠ ClamAV has degraded performance

In 04b13af, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 209 ms

Resolved: ClamAV performance has improved in e8de5e8.


remove unused template functions

Cleanup code by removing functions we don't use.

Coverage increased (+25.8%) to 100.0% when pulling 5c8e390e4928e636d66f2332a5b2acde66c84e74 on fix/coverage into 80efbb8990a6ea88b8e68e26ea6af6db92a3886b on master.


Add support for RHEL 7.3

New templates with updated SHAs for RHEL7.3. I am building on Windows so also added .gitattributes to force correct line endings.

LGTM, thanks!


Download models etc. from specific demoland-engine commit

apparently we just download them from the main branch now


[FEATURE] Designated error code when a type checking error occurs

As highlighted in #1391, it would be good to return an exit code different from the error code report by the model checker. The related code is here:
https://github.com/informalsystems/apalache/blob/73ea58304bc97c652dd6de911dd0c2de0e9ffa70/mod-tool/src/main/scala/at/forsyte/apalache/tla/Tool.scala#L244-L249
The exit codes can be found here: https://github.com/informalsystems/apalache/blob/unstable/mod-tool/src/main/scala/at/forsyte/apalache/tla/tooling/ExitCodes.scala
We should stay compatible with TLC on the error code, as much as possible.

/cc @craft095

cc @Kukovec


bbasm missing endian argument in documentation

bbasm requires an endian argument but that isn't shown in the documentation

I am having the same problem, if you have solved it please let me know the solution.

This problem can be solved like this：./bbasm -l xilinx/xc7a35t.bba xilinx/xc7a35t.bin  （-l means little endian）


Update Manifest files again

Purpose
Updates the Manifest files to use the latest ClimaAtmos (v0.15.7)
Closes #377

[x] I have read and checked the items on the review checklist.

CI passes (with artifacts identical to main) and the runtimes are slightly better: e.g., AMIP - modular Float64 + monthly checkpoint took 1h33m Vs 1h47m from the latest merge.
I'm going to merge this now.
cc: @akshaysridhar , @szy21 , @LenkaNovak

bors r+


RDK-30650 - Fix infinite loop on wildcard intercept removal

https://jenkins.code.rdkcentral.com/job/github-triggered/6900/ started

https://jenkins.code.rdkcentral.com/job/build-component-rdk-next/27827/ started.

https://jenkins.cmf.code.rdkcentral.com/job/github-triggered/1890/ started

https://jenkins.cmf.code.rdkcentral.com/job/build-component-rdk-next-platform/5065/ started.

Smoke tests for ['build-rpi-hybrid-refapp-rdk-next'] added.
https://jenkins.cmf.code.rdkcentral.com/job/test-components-flow/77024/

Smoke tests for ['build-rpi-hybrid-wpe-rdk-next'/'build-rpi-mc-wpe-rdk-next'] added.
https://jenkins.cmf.code.rdkcentral.com/job/test-components-flow/77026/

Smoke tests for ['build-qemux86-hyb-rdk-next'/'build-qemux86-mc-rdk-next'] added.
https://jenkins.cmf.code.rdkcentral.com/job/test-components-flow/77025/

'['build-rpi-hybrid-wpe-rdk-next'/'build-rpi-mc-wpe-rdk-next']' Smoke test FAILURE, investigation pending.
Flash MC [SUCCESS]
Flash HYB [SUCCESS]
MC - Video Test [FAILURE]
Video HLS gst-launch [SUCCESS]
Video HLS rdkmediaplayer [SUCCESS]
Video Streaming using aamp-cli [SUCCESS]
Video local using gst-play-1.0 [SUCCESS]
Video Streaming using rmfApp [FAILURE]
RDKShell CI Tests [FAILURE]
checking thunder security
Thunder security is disabled
add key intercept test failed
add key listener test failed
Number of success test - 38
Number of failed test - 2
Video Streaming using rmfApp [SUCCESS]
HYB - Video Test [FAILURE]
Video HLS gst-launch [SUCCESS]
Video HLS rdkmediaplayer [SUCCESS]
Video Streaming using aamp-cli [SUCCESS]
Video local using gst-play-1.0 [SUCCESS]
RDKShell CI Tests [FAILURE]
checking thunder security
Thunder security is disabled
add key intercept test failed
add key listener test failed
Number of success test - 38
Number of failed test - 2
https://jenkins.cmf.code.rdkcentral.com/job/test-rdkv-raspberrypi-flow/22668/


Provide unread count directly without having to fetch all the items

This should improve the performance of getting the unread count.

we should save the unread count at the user, and everytime a message is received this will be incremented


Optimize external scripts

Is your feature request related to a problem? Please describe.
Embedding the LC widget leads to a large PageSpeed performance degradation.
https://pagespeed.web.dev/report?url=https%253A%252F%252Fwww.intervillas-florida.com%252F&hl=en&form_factor=mobile
Reduce unused JavaScript
Ignore the Facebook/Instagram chunk.

Reduce the impact of third-party code — Third-party code blocked the main thread for 610 ms

Describe the solution you'd like
As you can see, the external resources are huge, and block the rendering for the page for up to half a second.
Without the LC widget, the PageSpeed ranks in the mid-80s.
It would be nice if you could spare some engineering time and improve this situation.
(I realize this has not much to do with the adapters provided in this repository, but I'd like to keep the discussion open for others stumbling on this issue.)
Describe alternatives you've considered

I've considered to delay loading the chat widget. This however only moves the problem to a later point in time (and maybe hide it from the PageSpeed tools).
Disable the LC integration altogether. This isn't really an option :)

Additional context
We're using the Vue 2 adapter:
Code
Localization and session variables omitted for brevity.
<template>

    <a
        v-if="!isReady"
        :href="`https://direct.lc.chat/${license}/1`"
        rel="nofollow"
        target="_blank"
    >Chat with us!
    <LiveChatWidget
        :license="license"
        @ready="isReady = true"
    ></LiveChatWidget>

</template>

We're pretty much experiencing the same problem as @dmke described above. This isn't new though. You can find other concerns like this in the articles like this and the official reply by LiveChat team is here.
It would still be good to know if there is something else team is trying to do about it since this is what is bothering a lot of LiveChat customers.

Hello @dmke 👋 thanks for the report.
We are aware of the impact that our Chat Widget application might have on our client's website performance. We do our best to minimize the impact, including properly loading the scripts as a non-blocking asynchronous one, reducing the initial load for minimized widgets until it's being maximized using code splitting, and more. We just cannot weigh 0KB.
There is a detailed explanation here in this article: https://www.livechat.com/help/is-livechat-slowing-my-website/.
As mentioned in the article we fight an unfair battle with tools that commonly misinterpret our script loading as an important part of the website unnecessarily counting them to metrics loading time.
I can assure you we are constantly optimizing things that we found that can be optimized further 🙂 Unfortunately as this issue is not directly related to the Chat widget Adapters project I am going to close it for now. Feel free to leave any additional questions or contact us via LiveChat Community or our support directly if have any more questions related to the Product itself.


Delete System Log Files Command

This is an idea that I had. sudo rm -r /var/log

Nevermind. This could be done with a reverse shell session.

That will break your system btw not a good idea


Dropout2d and residual

Dear authors and contributors,
There is an observation that I would be happy to get your confirmation on :-)
In all of the model hierarchy: SequenceModel, SequenceResidualBlock and S4 ,you are using Dropout2d which zeros at the batch dimension, i.e. ignores the entire sample. Without a residual link, with multiple layers, the probability that each sample is not ignored through the model becomes negligible. Consequently, the model does not see the inputs and will not train!
In the SequenceResidualBlock, the dropout is applied only if a residual link is present. The residual link of SequenceResidualBlock also takes care of the dropout from S4.
So my issue is two-fold:

When using dropout > 0, we never should set residual = None in the parameters of SequenceResidualBlock, right? Is it possible to add a check in the initialization to avoid possible misconfigurations?
The dropinp input of SequenceModel should not be used, as there is no residual link there. I've seen in all of the configs we have dropinp: 0.0. So why is it there at all?

Thanks and regards,

The READMEs have been updated to mention this issue, and we have implemented a custom dropout function to avoid problems with the PyTorch implementation. Perhaps in the far future when everyone is using torch 1.12 or later we can switch back to using the official functions.


Batch images on Windows

How can I batch images on Windows? The image path thing doesn't work with an Anaconda powershell prompt.

@herrartist  Please update and review this section for batch image processing:  https://github.com/Limbicnation/TransformDepth/tree/main?tab=readme-ov-file#run-the-script-for-batchsingle-image-processing-with-a-specified-output-directory-
Also, make sure to created the virtual environment with Anaconda as stated in the readme and install the requirements.txt with pip install -r requirements.txt


Received an 'object Object' error during transaction result phase.

Summary of Bug

Version

Steps to Reproduce

For Admin Use

[ ] Not duplicate issue
[ ] Appropriate labels applied
[ ] Appropriate contributors tagged
[ ] Contributor assigned/self-assigned

fixed! thank you for your report!👍


Offset Query Limits

In order to add pagination to an API's endpoint, you need to be able to limit the number of results and you need to be able to offset them. Presently, we can limit the amount of results from the db, but we cannot offset them.
SQL supports two ways (that I know of) to do this. There's select * from table limit 10 offset 5 or the shorthand select * from table limit 5, 10. For the implementation and tests I chose the shorthand method, but it can easily be changed to the more explicit one if need be.
Built off of #57

This is great. We should include it in Fluent 0.9. (Holding off on case sensitive, though)

@tannernelson Very good points! I personally thought about just using separate enums for the case sensitive versions. Do you think that would be okay or is it too messy? That, again, would remove the tuple in the enum thus removing the need for the Equatable implementation.

@BrettRToomey can you create a separate PR with just the offset and not the case sensitivity?


feat(qa): Enable more tests to run on ppc64le/s390x

Description
Adds PZ tag to the following tests
AuditScrubbingTest
BuiltInPoliciesTest
ClientCertAuthTest
ComplianceTest
DeclarativeConfigTest
DefaultPoliciesTest
Enforcement
ImageManagementTest
NetworkFlowTest
PolicyConfigurationTest
ProcessBaselinesTest
ProcessVisualizationReplicaTest
RiskTest
RoutesTest
SACTest

Checklist

[ ] Investigated and inspected CI test results

Testing Performed
In CI

/test powervs-qa-e2e-tests

@gavin-stackrox @robbycochran kindly review & approve this PR

/test powervs-qa-e2e-tests

/test ocp-4-10-qa-e2e-tests
/test ocp-4-13-qa-e2e-tests

/test ocp-4-10-qa-e2e-tests
/test ocp-4-13-qa-e2e-tests

/test ibmcloudz-qa-e2e-tests

/test ocp-4-10-qa-e2e-tests
/test ocp-4-13-qa-e2e-tests

ProcessVisualizationTest passing on ppc64le log reference.
The redis deployment momentarily runs & then crashes most of the times on ppc64le. Log referred here in the comment seems a lucky test run where the test picked up data when the redis deployment was in running state.

/test ocp-4-10-qa-e2e-tests
/test ocp-4-13-qa-e2e-tests
/test powervs-qa-e2e-tests

/test ibmcloudz-qa-e2e-tests

/test ocp-4-13-qa-e2e-tests

/test ocp-4-13-qa-e2e-tests

/test ocp-4-10-qa-e2e-tests

/test ocp-4-13-qa-e2e-tests

Quick log references
ppc64le
s390x
x86-4.10
x86-4.13
Failures observed in BuiltinPoliciesTest, DefaultPoliciesTest and ImageManagementTest have been fixed as part of #8094
Failures observed in AdmissionControllerTest, ComplianceTest and NetworkFlowTest are flaky on P/Z and would be tracked separately.
ALl CI checks have passed ✅ on X, merging the PR.


Fix ci and make it reproducible

Description of changes
Things done

[ ] Tested the changes in your own NixOS Configuration
[ ] Tested the changes end-to-end by using your fork of nixos-hardware and
importing it via <nixos-hardware> or Flake input

@mergify queue


Improve backend, renderer and allocator initialization

This proposal is about solving the following problem: given an existing backend, how do we create a renderer and an allocator suitable for it?
Right now the renderer and allocator are created inside the backend. Each backend can have its own logic to choose a renderer and an allocator. In the future we'd like to move the renderer and allocator initialization out of the backend, to allow compositors to have more control and to allow for third-party renderers and allocators.
The backend is created first. Then the renderer is created from the backend in wlr_renderer_autocreate (this allows to switch between hardware and software rendering in this function depending on the backend DRM FD, and allows to have a WLR_RENDERER env override). Then we need to create an allocator from the backend and the renderer.
An obvious solution is to have somewhere a list of (backend, renderer, allocator) that work fine together. However this list highly depends on a fixed list of backends and renderers -- it doesn't allow third-party implementations to blend in. The list also needs to record compat for each permutation, so can be quite long and tricky to maintain.
@bl4ckb0ne suggested having a is_software_renderer flag that renderers can set. This would allow us to choose between GBM and shm or DRM dumb, but doesn't completely solve the issue since we have no good way to figure out whether the backend wants DRM dumb buffers or shm buffers. There's also the edge-case of llvmpipe, a software renderer behind an OpenGL API that only groks DMA-BUFs.
Another solution would be to have in each backend and renderer a list of supported allocators. However the backends and renderers don't really care about which specific allocator is used, they only care about the capabilities of the wlr_buffers submitted to them. By "capability" I mean the supported functions in wlr_buffer_impl.
Here's a recap table:

Module
Supported buffer(s)

GLES2 renderer
dmabuf

Vulkan renderer
dmabuf

Pixman renderer
data_ptr

Wayland backend
dmabuf, shm

X11 backend
dmabuf (shm in the future)

Headless backend
any (doesn't care)

GBM allocator
dmabuf

shm allocator
shm, data_ptr

DRM dumb buffer allocator
dmabuf, data_ptr

This proposal is about adding a list of supported buffer capabilities in each backend and renderer. With the following new API:
/**
 * Given a backend and a renderer, automatically create an allocator suitable
 * for both.
 */
struct wlr_allocator *wlr_allocator_autocreate(struct wlr_backend *backend,
	struct wlr_renderer *renderer);

/**
 * Buffer capabilities.
 *
 * These bits indicate the features supported by a wlr_buffer. There is one bit
 * per function in wlr_buffer_impl.
 */
enum wlr_buffer_cap {
	WLR_BUFFER_CAP_DMABUF = 1 << 0,
	WLR_BUFFER_CAP_SHM = 1 << 1,
	WLR_BUFFER_CAP_DATA_PTR = 1 << 2,
};

#define WLR_BUFFER_CAP_ALL (WLR_BUFFER_CAP_DMABUF | WLR_BUFFER_CAP_SHM | \
	WLR_BUFFER_CAP_DATA_PTR)

/**
 * Get the buffer capabilities supported as render targets.
 *
 * This returns a bitfield of wlr_buffer_cap entries. The renderer supports
 * buffers which implement one of the returned capabilities.
 */
uint32_t wlr_renderer_supported_render_buffer_caps(struct wlr_renderer *renderer);

/**
 * Get the supported buffer capabilities.
 *
 * This returns a bitfield of wlr_buffer_cap entries. The backend supports
 * buffers which implement one of the returned capabilities.
 */
uint32_t wlr_backend_supported_buffer_caps(struct wlr_renderer *renderer);

Then we can collect the backend and renderer requirements in wlr_allocator_autocreate, and create a suitable allocator without having logic which depends on specific backend/renderer implementations. A compositor using a third-party allocator could use this information as well.

I thin wlr_renderer_is_software_renderer is a fast solution to our issue, but will not last in a foreseeable future.
I like your proposal. It would still allow third parties backend and renderer, and make some links between them without making too many dependencies.
If I understand correctly, wlr_allocator_autocreate would create an allocator by intersecting the caps from the buffer and the renderer?

If we want the absolutely fastest and simplest solution, we could just go for something like this:
if (wlr_renderer_is_pixman(renderer)) {
    if (wlr_backend_is_drm(backend)) {
        return wlr_drm_dumb_allocator_create();
    } else {
        return wlr_shm_allocator_create();
    }
} else {
    return wlr_gbm_allocator_create();
}

If I understand correctly, wlr_allocator_autocreate would create an allocator by intersecting the caps from the buffer and the renderer?

Something like this yeah. Specifically we want an allocator that has one of the renderer buffer caps and one of the backend buffer caps. The logic in wlr_allocator_autocreate could look like this:
uint32_t backend_caps = wlr_backend_supported_buffer_caps(backend);
uint32_t renderer_caps = wlr_renderer_supported_render_buffer_caps(renderer);

uint32_t gbm_caps = WLR_BUFFER_CAP_DMABUF;
if ((backend_caps & gbm_caps) && (renderer_caps & gbm_caps)) {
    return wlr_gbm_allocator_create();
}

uint32_t shm_caps = WLR_BUFFER_CAP_SHM | WLR_BUFFER_CAP_DATA_PTR;
if ((backend_caps & shm_caps) && (renderer_caps & shm_caps)) {
    return wlr_shm_allocator_create();
}

uint32_t drm_dumb_caps = WLR_BUFFER_CAP_DMABUF | WLR_BUFFER_CAP_DATA_PTR;
if ((backend_caps & drm_dumb_caps) && (renderer_caps & drm_dumb_caps)) {
    return wlr_drm_dumb_allocator_create();
}

I think GLES2 could support shm memory or internal buffer reading back
I have made an patch for DMAbuf importing #2835

With the existing EGL API, the GLES2 renderer can't render to shm memory.

Yes, you can't assign a shm memory for rendering, you could only read then back then copy to a shm memory. I should just want to say a cpu memory.

It just came to my mind, I wonder why we want Vulkan here, for rendering nothing that opengl (es) can't do that Vulkan could nor Vulkan would make thing simple in rendering. Or any platform that only support vulkan but not opengl (es) ?

OpenGL has a lot of shortcomings: global state, bad error handling, implicit synchronization everywhere, too high level of an API to allow us to properly optimize things like image uploads and downloads, etc.

Implemented in https://github.com/swaywm/wlroots/pull/2884


Set defaults before validation

To match what we do for Create

[ ] Tests
[ ] Documentation
[ ] Release note

None required

Seeing a lot of flakiness in tests which I wouldn't expect for this change...

Closing in favor of https://github.com/projectcalico/libcalico-go/pull/1088


[CELEBORN-1171] Add UT for LifecycleManager's async setup endpoints

What changes were proposed in this pull request?
as title
Why are the changes needed?
as title
Does this PR introduce any user-facing change?
No
How was this patch tested?
Passes GA

cc @cxzl25 @SteNicholas


SAK-29362 - Forums: Display availability dates

SAK-29362 - Forums: Display availability dates

Please squash commits into a single one following this guide https://confluence.sakaiproject.org/display/SAKDEV/Git+Setup
Thanks Miguel.

Squash done.

Should the default be true instead?  This seems like good functionality that most people want.

Agree, it's a new functionality and i don't know if all institutions agree, so the default value was set to false to respect the current OOTB behaviour.
Miguel

+1, I can merge this PR and open a new Jira to change the default value to true. Sounds good?

I would prefer we just change the default now, squash the commit, and git push -f

The default value is true, also changed the value in the default properties.
Miguel


Adds support for RedirectToAction from a DnnController

Summary
Adds RedirectToAction support in the DnnController to support the additional API.  We updated the DnnController to override the virtual RedirectToAction to properly use our DnnRedirectToRouteResult object. All the non-virtual methods rely on this.
AspNetWebStack Controller class
https://github.com/aspnet/AspNetWebStack/blob/master/src/System.Web.Mvc/Controller.cs
Lines: 478-517
Looking at the Microsoft Controller implementation referenced above the all the non-virtual RedirectToAction rely on the virtual one that we now override in this change.
We also update the DnnRedirectToRouteResult to handle the correct Url Mapping. Consider you have 2 DNN MVC Modules on the same page, routing is handled the same way it currently does by passing in the instance of the DnnUrlHelper. This forces the page to appropriately take into account multiple MVC Modules on the current page and apply the correct ModuleId to the Url when generating it.

Fixes #2170

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


Making pretty-yaml work on python 2.6

I think it may be as simple as replacing a few {foo, bar}s with set(foo, bar) - is there any reason why 2.6 isn't supported? As it is, means any project relying on pretty-yaml has to be 2.7+ also.

Unfortunately, one-liner reason is "I don't want to maintain or change 2.6 compatibility (esp. alongside 3.x), it's not super-hard but hard and pointless".
Longer explaination follows.
Biggest problem would be the fact that I don't have 2.6 anywhere (for years by now) and don't ever try to run this code on it, so stuff is likely to break on every other change.
I've tried this "exercise self-discipline" approach in the past, it didn't work even few years ago, when memories of 2.6-2.7 diffs were still there.
Maybe having more tests and some travis setup would help a lot here.
Then there's an issue of new stuff - iirc OrderedDict wasn't in 2.6 stdlib (needs +1 dependency, one more set of compatibility hacks in code), and same for many fairly minor features that are nice to use (and that I got used to) from 2.7 (especially 3.x compat stuff) - I just don't want to code in 2.6.
In my experience, it's trivial to build 2.7 either as a package for super-old systems (probably some LTS release of debian or RH-like), or in a separate dir, even from unprivileged user. Given stability promise of such stale systems, it's also simple to do it in any of container away from production.
So I also have serious doubts whether supporting 2.6 is even sane at this point, and larger python projects like Django already dropped that, for instance.
Best way to maintain such compatibility that I can think of is for someone interested in 2.6 to keep a stack of 2.7->2.6 patches and rebase them on top of any changes here (in a fork or something), testing thoroughly (or checking diffs) at such sync-points.
It will be pretty much the same workflow (conceptually) that I'd have to use too (if I had to) on every single change, due to first two reasons above.


Manual screen sharing shows green screen in iOS 13.  For iOS 12  it is working fine

I am sending custom buffer and other side I am receiving and showing into screen.
Everything is working fine until iOS 12.
When I have tested the same in iOS13 It shows following output

This is how I create Pixel buffer and send using ARVideoSource
    func copyPixelbufferFromCGImageProvider(image: CGImage) -> CVPixelBuffer? {
        let dataProvider: CGDataProvider? = image.dataProvider
        let data: CFData? = dataProvider?.data
        let baseAddress = CFDataGetBytePtr(data!)

        /**
         * We own the copied CFData which will back the CVPixelBuffer, thus the data's lifetime is bound to the buffer.
         * We will use a CVPixelBufferReleaseBytesCallback callback in order to release the CFData when the buffer dies.
         **/
        let unmanagedData = Unmanaged<CFData>.passRetained(data!)
        var pixelBuffer: CVPixelBuffer? = nil
        let status = CVPixelBufferCreateWithBytes(nil,
                                                  image.width,
                                                  image.height,
                                                  kCVPixelFormatType_32BGRA,
                                                  UnsafeMutableRawPointer( mutating: baseAddress!),
                                                  image.bytesPerRow,
                                                  { releaseContext, baseAddress in
                                                    let contextData = Unmanaged<CFData>.fromOpaque(releaseContext!)
                                                    contextData.release() },
                                                  unmanagedData.toOpaque(),
                                                  nil,
                                                  &pixelBuffer)

        if (status != kCVReturnSuccess) {
            return nil;
        }

        return pixelBuffer
    }

SDK Version 2.8.0
Xcode 11 beta 4
iOS 13.0  Simulator
Any help or suggestion ?

can you provide agora sdk log file? ios default sdk log path: Library/Caches/

issue is in iOS 13 simulator so where can I find log file ? , is it created in simulator document directory ?

you can find log file in your mac, like this path: /Users/xxx/Library/Developer/CoreSimulator/Devices/11AD4B5F-76F8-41BF-B3A8-9C3D837E4DD9/data/Containers/Data/Application/C1D90117-5E80-40BC-A25E-509E990CFF43/Library/Caches. it is created in Library, not documents

@CavanSu  I am uploading log file please find it
agorasdk.log

are you using simulator or real device?

@plutoless  Yes I am testing in iOS 13 Simulator , for other OS version everything works fine even in the simulator, Could you please suggest

@plutoless  I have tried  same  using Twilio library and it is working fine in iOS 13 also. Could you please help me out

does it work in iOS 13 real device? we don't commit to support iOS simulator

@plutoless  Actually We don't have any updated device with iOS 13 beta. So I am testing it in simulator

we did a quick test on ios 13 real device and it's working fine. So you shall be OK

@plutoless  Thank you for your kind support, Just one request to you could you please test ARVideoSource 's  func sendBuffer(_ buffer: CVPixelBuffer, timestamp: TimeInterval) Method
your arkit demo   https://github.com/AgoraIO/Advanced-Video/tree/master/Augmented-Reality/Agora-Video-With-ARKit is it working or not, So I can be sure
Thanks in advance

sry it's weekend here. i'll do the test next monday

@plutoless  No worries , Enjoy your weekend  😋


evcxr_jupyter: Add control channel response for kernel_info_request.

Jupyter server expects a message reply for "kernel_info_request" over control channel, so i just added the message response in handle_control() function.

Thanks @AH-DL! I hadn't observed a kernel_info_request on the control channel, but looking at the spec, it seems that the control channel is supposed to be just like the shell channel, but separate, so it makes sense that it's valid. I should probably merge the two together to use the same code.


V2 - Move sb-mig to Oclif to add great ability to create plugins and structure better CLI.

Moving everything to Oclif framework to enable good structure and highly customizable plugin system.
fix https://github.com/sb-mig/sb-mig/issues/93 - add support for adding plugins
fix https://github.com/sb-mig/sb-mig/issues/83 - potentially movin to Oclif

Let's do that !


Use PhpUnit instead of custom test framework

Hi guys,
We should use a well-tested library for tests (such as PhpUnit) instead of custom TestFramework

Looks great, thanks!


minor completion bug - if parens are already there don't add them

If you complete with a function the parens "()" get added for you but if they are already there don't do it again.

BTW - I will eventually have time to fix some of these more minor bugs so really just keeping track of them now.


improve form time to first render

addressed via https://github.com/microsoft/BotFramework-Composer/pull/2480


Run build_win.bat  got error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.35.32215\bin\HostX86\x64\cl.exe' failed with exit code 2

Describe the bug
Run build_win.bat  got error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.35.32215\bin\HostX86\x64\cl.exe' failed with exit code 2
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
ds_report output
Please run ds_report to give us details about your setup.
Screenshots
csrc/transformer/inference/csrc/pt_binding.cpp(1570): error C2398: 元素“3”: 从“const size_t”转换为“_Ty”需要收缩转换
with
[
_Ty=int64_t
]
csrc/transformer/inference/csrc/pt_binding.cpp(1977): note: 查看对正在编译的函数 模板 实例化“std::vector<at::Tensor,std::allocatorat::Tensor> ds_rms_mlp_gemm(at::Tensor &,at::Tensor &,at::Tensor &,at::Tensor &,at::Tensor &,const float,at::Tensor &,at::Tensor &,bool,int,bool)”的引用
error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.35.32215\bin\HostX86\x64\cl.exe' failed with exit code 2
System info (please complete the following information):

OS: win11
RTX 3060
Interconnects (if applicable) [e.g., two machines connected with 100 Gbps IB]
Python 3.10
Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.35.32215

Launcher context
Are you launching your experiment with the deepspeed launcher, MPI, or something else?
Docker context
Are you using a specific docker image that you can share?
Additional context
Add any other context about the problem here.

Python 3.9.16，torch 2.1.0+cu121，下载deepspeed 0.9.4，管理员权限打开console，cd deepspeed，执行build_win.bat，修改csrc/transformer/inference/csrc/pt_binding.cpp中几处

This problem bothered me for a while,
I'm so happy to finally be solved, thank you


Bug (Godot 4.3 beta 1): Can't move items in inventory, or from inventory to ItemSlot.

Moving inventory items results in a crash.
Steps to reproduce: Drag and drop inventory item to a new position inside itself, or a ItemSlot/ other inventory.
Error:

I think you can check for false instead of null now; from patch notes (https://godotengine.org/article/dev-snapshot-godot-4-3-beta-1/):
Breaking changes:

Freed objects are now different than null in comparison operators, and evaluate as falsy (GH-73896).

Yeah checking for false would fix the issue in 4.3 beta 1, but I'm afraid it would introduce potential issues in 4.2. So I just went with the is_instance_valid check, which should work in both versions.


New rich text structure

Seems to be a big improvement. In my opinion you can merge it after you included the comments.

Should close #33 using definition from #32.


Re Review needed

https://doc.rust-lang.org/std/pin/index.html
according to that...
https://github.com/tunlrs/mono/blob/e297daf3e0479e7dafe78b77621bbc290f922510/client/src-tauri/src/lib.rs#L10

this does not seem right, it works but, i mean, the object aint gonna stay for the whole runtime of the application, and idk how long returned value stays pinned for, i would appreciate if someone could confirm if this is the correct approach for this

Your approach might be the safest one, atleast according to this article:
https://os.phil-opp.com/async-await/#the-problem-with-self-referential-structs
According to this, in addition to checking futures() for an actual object, Pin does not allow it to move inside the memory as long as you reference it, so if this object is needed outside the function, I think it should be okay to use it
Not very sure on this one, I'll keep looking

closing after a careful read of
https://doc.rust-lang.org/std/pin/index.html


Add basic test for registration

closing this as it's stale
I think this repo is not the optimal place to mock e-mail and login.


better gha

breaking: use DOCKER_TOKEN instead of docker password for safety. Requires generating a read-write token on hub.docker.com and substituting a secret in repo settings.
dependabot for gha
cache docker layers
faster: do all the preps before waiting for tests are done

Thanks for the help @TriplEight! :)


Inga/bettingfix

Cleaning up betting UI

Like Stephen was saying in standup, I don't think we want to hide the like and watch buttons within the '...' menu. Seems like they would fit fine right next to the share button in the header?

Yeah maybe I can put it in web view, but it's definitely too cluttered in mobile


First unit-tests added.

These tests are very basic, and the PR is mostly for comments at this point.

You will need to add the skip function so the tests unit from Architect don't trigger


[feature-fix] Fix user settings s3 config

Remove the decorator that requires the user to have the s3 addon enabled in order to connect an account because it may not exist at that point.

Merged so that QA can continue work on this. It would be good to have a regression test for this. @samanehsan Can you add this in a future PR?

sure!

@sloria, the regression test is in PR #3613 :trident:


Dark Mode for the website

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. It would be better if [...]
Describe the solution you'd like 💡
A clear and concise description of what you want to happen.
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.

Can I try this ?

Hi @Siddharth1002,
Sure!


Importing a skeleton track with no shapes for one of the points leads to import crash

Actions before raising this issue

[X] I searched the existing issues and did not find anything similar.
[X] I read/searched the docs

Steps to Reproduce

Create a task from backup
task_test_6779-job-overlap-merge_backup_2024_04_17_12_49_41.zip
Import annotations
annotations-cvat-for-video.zip

Expected Behavior
No response
Possible Solution
Can probably be fixed by adding this here:
    def _modify_unmatched_object(self, obj, end_frame):
        if not obj["shapes"]:
            return

Once done, leads to the problem #6779.
Context
Related https://github.com/cvat-ai/cvat/issues/6779
Related https://github.com/cvat-ai/cvat/pull/7669
Environment
No response

fixed in https://github.com/cvat-ai/cvat/pull/8377


How to properly use asset extension?

I am trying to use the asset extension, I have a public directory with index and htaccess and an assets directory, I am trying to load assets, CSS, js, and images from this directory and nothing is working for me.
$engine->loadExtension(new League\Plates\Extension\Asset(BASE_PATH . '/public/assets', true));

Same here.
Sorry for my english... anyway:
This is my controller:
<?php

namespace src\controllers;

use League\Plates\Engine;
use League\Plates\Extension\Asset;

class Web
{
    private $templates;

    public function __construct()
    {
        $this->templates = new Engine(__DIR__ . "/../views", "php");
        $this->templates->loadExtension(new Asset(__DIR__ . '/../assets/', false)); // or true
    }

    public function home(): void
    {
        echo $this->templates->render("register-and-login/home", [
            "title" => "Home | " . SITE,
            "users" => ["Adeilson", "Karol"]
        ]);
    }
}

And this is in my template:
 <link rel="stylesheet" href="<?= $this->asset('/css/style.css') ?>">
If I change to a non-existent path it gives an error 500, but if it is correct it defines the following path when rendering:
<link rel="stylesheet" href="/css/style.css?v=1687988335">
And this error:
GET https://mysite.com.br/css/style.css?v=1687988335 net::ERR_ABORTED 404 (Not Found)
Why? Someone can help me?

<link rel="stylesheet" href="<?= $this->asset('/css/style.css') ?> should be <link rel="stylesheet" href="/assets<?= $this->asset('/css/style.css') ?> i think?
The asset extension doesn't return the full public path, so you still need to put that in the html, it you view the generated source and compare the generated url to the expected url you should see this - from your example the html does not include the public assets folder. I've created a pull request #318 to update the docs with the assets path.


export from Gui

hello, i have an issue (or not, you'll tell me). i have a gui with a button to export something, the name of the file is define with a date.
So each time you click on the button the name should change.. but in real, the name (the variable) change but it still write to the first file. i'm not able to write to a new named file.
i hope it's clear.. 8-(

Please could you show the code that is doing this. That  way it can be better diagnosed.
Thanks

hmm hard to show, it's a long code ..
i just tested a normal gui script (one button), with 2 exports with 2 differents date, it's working .. so i think it's about my gui environnement .. i'll dig into this problem ..

Great, post questions if you need help


How do I generate exportable graphql input types using amplify codegen?

** Which Category is your question related to? **
codegen
** What AWS Services are you utilizing? **
appsync, dynamodb
** Provide additional details e.g. code snippets **
I'm trying to follow the documentation here https://aws-amplify.github.io/docs/js/api#aws-appsync-sdk and there is an example for using buildMutation given:
import { listTodos } from './graphql/queries';
import { createTodo, CreateTodoInput } from './graphql/mutations';

(async () => {
  const result = await client.mutate(buildMutation(client,
    gql(createTodo),
    {
      inputType: gql(CreateTodoInput),
      variables: {
        input: {
          name: 'Use AppSync',
          description: 'Realtime and Offline',
        }
      }
    },
    (_variables) => [ gql(listTodos) ],
    'Todo'));

  console.log(result);
})();

Specifically, import { createTodo, CreateTodoInput } from './graphql/mutations';
When I run amplify codegen, the generated src/graphql/mutations.js does not include input types (e.g. CreateTodoInput in the case of the example given). How do I generate these, so I can use buildMutation in a similar manner?
Just noticed I used aws instead of amplify everywhere. My bad :) aws mindshare is strong

Hi @timrchavez .The input types are generated for typescript and flow targets during amplify codegen add workflow. Would be awesome if you could take advantage of those in the meantime.


[RESTORED] Next gen

[RESTORED] Branch.

Coverage decreased (-5.05%) to 84.444% when pulling 4e73df9c1764126660505e4b835bd84ecee04b1f on next-gen into 0d5f15db04e12d69b6c852ff4691e363687a3bc9 on master.


Fix code example error in README

Looks great! Pulling this in now. Thanks so much for submitting this PR!


Screenshots may be helpful when creating roles

https://eksworkshop.com/integration/prerequisites/iamrole/
For each step, a screenshot should accompany.  If IAM is new to a user, screenshots with what should be selected / filled out will help them.

The link in the instructions is a deep link that pre-populates all the choices correctly. They just follow the link, and should have no problems.


Allow superusers to log in as other users

This allows super admins to assume the role of another user, we may end up removing this when the site is live, but it will make testing the site during MVP much easier.

LGTM. will merge when green


How a core-plugin could know if container is created?

I'm trying to make a core plugin get access to containers stuff.
The problem is that this.core.getCurrentContainer() returns undefined when bindEvents() is performed.
It's understood, that container is created later. But what should I do to catch Its appearance?

Just listen to CORE_READY event to get current container and do cleanup (if any) using destroy method.
export default class MyPlugin extends UICorePlugin {

  // [...]

  bindEvents() {
    this.listenTo(this.core, Events.CORE_READY, this._onCoreReady)
  }

  _onCoreReady() {
    // Here you can get curent container or playback
    let container = this.core.getCurrentContainer()
    let playback this.core.getCurrentPlayback()
  }

  _cleanup() {
    // Here do cleanup stuff (if any)
  }

  destroy() {
    this._cleanup()
    super.destroy()
  }
}

@sapolio if necessary, in addition to the method that @kslimani commented, you can use CORE_CONTAINERS_CREATED if you need to listen to all container creation events as well.


Test Eden new Workflow

Lets test #3572 .

The check_pr_publish works fine, instead of wasting time with a confused Eden running, it fails the Eden PR test suit if we don't have the images in docker hub yet :
Docker image evebuild/danger:pr3593-xen and evebuild/danger:pr3593-kvm are not available on Docker Hub.

but unfortunately report_pr_publish which is supposed to comment on the PR failed due to permission errors :(


Rendering multiple patches on one page, incl. projecting

Ensure rendering different patches (even connected ones) to different targets with different renderers or one specific renderer works properly.

It works in most cases, but there could be better API to do multiple patches. Though may be it's better to move it to beta.

PR #325 has the better implementation for all of this, needs to have some issues fixed, though

#325 is merged now


Unified logger

Issue Description
unified logger to record log

Any suggestions on logging?

For MVP,  I think we could wrap the SDK log and provide the standard log interface, just like:

For MVP, I think we could wrap the SDK log and provide the standard log interface, just like:
type Logger interface {
  Debug(v ...interface{})
  Debugln(v ...interface{})
  Debugf(format string, v ...interface{})

  Info(v ...interface{})
  Infoln(v ...interface{})
  Infof(format string, v ...interface{})

  Warning(v ...interface{})
  Warningln(v ...interface{})
  Warningf(format string, v ...interface{})

  Error(v ...interface{})
  Errorln(v ...interface{})
  Errorf(format string, v ...interface{})

  Fatal(v ...interface{})
  Fatalln(v ...interface{})
  Fatalf(format string, v ...interface{})

  Panic(v ...interface{})
  Panicln(v ...interface{})
  Panicf(format string, v ...interface{})
}

// sentinel general logger
type SentinelLogger struct {
  // entity to log
  log *log.Logger
  // namespace
  namespace string
}

In future, we can upgrade with minimal cost.


update dependencies

Coverage remained the same at 100.0% when pulling 441f18e0f782c9b4e84bcfb492ec5391476ca2b1 on ktutnik:master into 2c18c2538f7ce3f282e1c455e9c5a6fef307b57f on kambojajs:master.


Pass "horizontal_field_offset_class" to child renderers

The "horizontal_field_offset_class" doesnt pass to child renderers (from form to fields), so it actually does't work as described in documentation.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 97.415%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
593

Relevant Lines:
605

💛  - Coveralls

Could you add a regression test?

Good catch btw 👍

merge pls

This change is still missing a test.


Build fails due to files created with wrong names in bootstrap process, when branding atom-shell in Windows

I'm trying to rebrand atom-shell and am finding that, on Windows, some of the files created during the bootstrap process which should be named for the project have the wrong names.  It appears that the gyp_defines isn't being parsed correctly for the project and product names.  Because of this, the build is failing when it gets to this part.
I'm using the following commands:
cd atom-shell
set GYP_DEFINES="project_name=myapp product_name=MyApp"
python script\bootstrap.py -v
python script\build.py -c Release -t myapp

This is creating the following files in out\Release\obj:
myapp product_name=MyApp.myapp product_name=MyApp.exe.generated.manifest
myapp product_name=MyApp.ninja
myapp product_name=MyApp_dump_symbols.ninja
myapp product_name=MyApp_lib.ninja

Without branding, on Windows, these are:
atom.atom.exe.generated.manifest
atom.ninja
atom_dump_symbols.ninja
atom_lib.ninja

Just for reference, we've also tried the rebranding on OS X, and I think those files were created with the expected names (although some of the files themselves are different, I'm assuming that's due to the platform.).
myapp.ninja
myapp_dump_symbols.ninja
myapp_framework.ninja
myapp_helper.ninja
myapp_lib.ninja

What do we need to do for this to run correctly on Windows?
Thank you for your help.

This is weird, I just did a upgrade of gyp on master branch, can you try if it fixes this? I currently don't have access to a Windows machine.

Thanks for the quick response.  I pulled down your latest and tried it again with the same results.

this is still in effect with v0.22.1

also,setting product name and project name in reverse order
 set GYP_DEFINES="product_name=MyAppProduct project_name=myappproject"

results in usual "atom" named artifacts.
This strengthens the theory that the arguments are not split by whitespace.
defining the string values with escaped " does not help anything either

I've got it!
At least on windows, setting the GYP_DEFINES with quotes wrapping all parameters results in this error.
Trying
 set GYP_DEFINES=product_name=MyAppProduct project_name=myappproject

instead results in the correct artifacts
Can anyone confrim that these quotes are not needed on other OS's too?
If yes, i would remove them completely from the docs, otherwise add a paragraph directed to windows users

@Wortex17 fwiw, grunt-build-atom-shell doesn't attempt to use GYP_DEFINES, but instead edits the Gyp file directly, which works successfully

@paulcbetts I was tempted to mention that, but that does not really resolve the issue at hand.
in my opinion even grunt-build-atom-shell would actually benefit from using GYP_DEFINES, as this would render the need to rig the gyp files (which may even fail in future versions) unnecessary. Are there any other reasons why you decided for rigging instead of configuring?

@Wortex17 That doesn't work on Linux, I guess it is related to how Windows cmd sets environment variables. I've fixed the docs on Windows, thanks for finding it out!

set "GYP_DEFINES=product_name=MyAppProduct project_name=myappproject"
Is the right way to do the set

@lygstate Awesome! I'll update the docs.


[Portenta C33] I2C/Wire communication failed

I want to use Portenta C33 to communicate with my slave device, so I powered it up by using USB and connect 3V3 PIN for powering my slave device, what's more, my SCL(PIN 12) SDA(PIN 11) had been connected correctly, but I still had a issue:
Read failed with error code: 5

The following is my codes, regarding reading chip id of my slave device:
#include <Wire.h>

void setup() {
  Serial.begin(9600);
  Wire.begin();
}

void loop() {
  byte error, data;
  int addr = 0x76;
  int reg = 0xd0;

  Wire.beginTransmission(addr);
  Wire.write(reg);
  error = Wire.endTransmission();

  if (error == 0) {
    Wire.requestFrom(addr, 1);
    if (Wire.available()) {
      data = Wire.read();
      Serial.print("Data read: ");
      Serial.println(data);
      Serial.println("Read success");
    }
  } else {
    Serial.print("Read failed with error code: ");
    Serial.println(error);
  }

  delay(1000);
}

So do you have any ideas about it, do I need to modify any source codes, liking set PINS or set CLOCK?
Thanks.

And I catch the singal, you can see the VDD is normal, but there is no CLK from the master, do you have any files to enable/disable IIC?

I don't know why I can not upload my picture on github, may be a issue. But, there is no clock from SCL and no data from SDA on saleae

I don't know why I can not upload my picture on github, may be a issue.

Just use drag-and-drop. That usually works fine.
Is your I2C/Wire slave address correct? What's the device? Are the wires connected correctly? Do you have pull-ups?
I may also note, that the issue tracker is for bugs with the ArduinoCore, not with providing support. That's better done in the forum. I leave this issue open a bit more in case there might a real bug, but I rate that probability as low.

Hi aentinger,
Thanks for your reply, after pulling up, I can use IIC successfully.
What's more, why I didn't pull up with other Arduino boards, which can run normally, but for Portenta C33, I need to pull up IIC.

Hi aentinger,
Thanks for your reply, after pulling up, I can use IIC successfully.
What's more, why I didn't pull up with other Arduino boards, which can run normally, but for Portenta C33, I need to pull up IIC.

I2C requires pull-ups. That you didn't need them before means they were somewhere else in the I2C wiring. But I'm glad you got your issue fixed :+1:


[Typing] Add types for analytic functions

Add typing for new analytic functions i.e rowNumber, rank, denseRank

Hi @kibertoad, could you take a look at this? Thank you.

Thanks a lot!

Released in 0.95.7


Question : how to use --match-filter to exclude "Liked videos" and "Favorites" from a youtube channel

Hi,
I  am trying to find a way to download all the playlists from a given channel without the Liked videos and Favorites playlist.
I tried several things but nothing pass the filter.
For example, here is one :
youtube-dl https://www.youtube.com/user/makinggameswithben/playlists -i --match-filter "playlist_title != Liked videos & playlist_title != Favorites"
(I normally add -o to create a folder for each playlist but I don't think it is relevant here)
I tried to find the problem with a debugger on youtube_dl/utils.py in the function _match_one but "m" is always false, the code never goes into this block.
Any idea what I am doing wrong ?
Thanks !

--match-filter 'playlist_id != LLL5m1_llmeiAdZMo_ZanIvg & playlist_id != <favorites_playlist_id>'.

Hi,
this solution is not okay for me. I need this to be generic so ID is not valid.
I am creating a script to automatically download everything from several channels. Those channels are listed in a config file.
Is there a way to dynamically find those two IDs (liked videos and favorites). Basically, I call youtube-dl on each lines of my config files. Some channels have more than 20 playlists. It works if I add all my playlists without the liked videos but it takes time and I have to manually check the channels if new playlist have been added.

If you'are writing a script the most logical way would be to collect all the playlist URLs and pass to youtube-dl only those you need.

This doesn't work for my needs but it is fine, I'll find another way to prevent those two playlists to be downloaded.
Thanks.

I did some changes which do what I need.
https://github.com/rg3/youtube-dl/pull/8736
Cheers.