503 on vscode-auth.github.com when signing in to GitHub Enterprise

Extension version: 0.2.3
VSCode Version: 1.27.2
OS: macOS 10.14.1

Steps to Reproduce:

Open Code with a GitHub Enterprise repo open
Click "sign in" on the extension pop-up
Click green "Continue" button
Wait for a while (60s?)
See a Heroku 503 page (see below)

I think it's a similar issue to https://github.com/Microsoft/vscode-pull-request-github/issues/591

I ran into the same issue. I tried to give a PAT as well, but the extension says invalid token.

I ran into the same issue. I tried to give a PAT as well, but the extension says invalid token.

I'm having the same issue. After I approve my account, it automatically takes me to 404 page. I click on the "signing in to github.(corp).com..." it asks for token. what token?

same here, I tried a personal access token but it didn't work. just keep saying it's an invalid token, keep showing the error page

@YeThor @rockypabillore That sounds like an issue fixed in the most recent release. What version of the extension are you using? If you update the extension, does it help?

I just tried with the last version and got the same issue.

0.3.0
Breaking Changes
From 0.3.0, you at least need VSCode 1.30 (including Insiders) to install and run the extension.

I've just tried this with VSCode 1.30 - The OAuth flow still failed with the same old application error as in the picture from above comments, but giving a PAT and server name allowed me to sign in.

@vinod386 how do you manually provide a token?

@romanlevin  You could just click on the signing in.. field on the bottom left of VSCode, then provide the token and server at the top.


Date rounded to 1s

In MappingUtil, I found the following code:
public static long dateToLong(Date date) {
	long millis = date.getTime();
	if (date instanceof java.sql.Date)
		return millis;
	else if (date instanceof Time)
		return millis;
	else if (date instanceof Timestamp)
		return millis;
	return (millis / 1000) * 1000;
}

What's the reason that a java.util.Date instance is rounded to 1000 millis? When storing java.util.Date objects, they are not stored exactly.

Hi Nico,
I had some reason to round Date instances (which foolishly I don't remember right now).
I will have a look into that matter and either comment the reason in the code or remove the rounding.
best regards,
Wolfgang
-----Original Message-----
From: Nico Rutishauser<EMAIL_ADDRESS>To: Wolfgang-Schuetzelhofer/jcypher<EMAIL_ADDRESS>Sent: Tue, Oct 20, 2015 2:09 pm
Subject: [jcypher] Date rounded to 1s (#6)
In MappingUtil, I found the following code:
public static long dateToLong(Date date) {
long millis = date.getTime();
if (date instanceof java.sql.Date)
return millis;
else if (date instanceof Time)
return millis;
else if (date instanceof Timestamp)
return millis;
return (millis / 1000) * 1000;
}
What's the reason that a java.util.Date instance rounded to 1000 millis? When storing java.util.Dates, they are not stored exactly.
—
Reply to this email directly or view it on GitHub.

Hi Nico,
I have removed the rounding of Date instances
I had it due to an incorrect usage of Calendar in one of my unit test methods.
That should not happen :(
The next release, comming this month will contain the corrected mapping code.
best regards and thanks,
Wolfgang

Hi Nico,
I have removed the rounding of Date instances
I had it due to an incorrect usage of Calendar in one of my unit test methods.
That should not happen :(
The next release, comming this month will contain the corrected mapping code.
best regards and thanks,
Wolfgang
-----Original Message-----
From: Nico Rutishauser<EMAIL_ADDRESS>To: Wolfgang-Schuetzelhofer/jcypher<EMAIL_ADDRESS>Sent: Tue, Oct 20, 2015 2:09 pm
Subject: [jcypher] Date rounded to 1s (#6)
In MappingUtil, I found the following code:
public static long dateToLong(Date date) {
long millis = date.getTime();
if (date instanceof java.sql.Date)
return millis;
else if (date instanceof Time)
return millis;
else if (date instanceof Timestamp)
return millis;
return (millis / 1000) * 1000;
}
What's the reason that a java.util.Date instance rounded to 1000 millis? When storing java.util.Dates, they are not stored exactly.
—
Reply to this email directly or view it on GitHub.

Thanks for the quick fix!


Android Basics: Fragments Navigation component

https://developer.android.com/codelabs/basic-android-kotlin-training-fragments-navigation-component?continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-kotlin-unit-3-pathway-2%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-android-kotlin-training-fragments-navigation-component#7
page 8 at Perform the Navigation Action
LetterListFragmentDirections isn't created by the system, the compiler doesn't accept it
Steps to reproduce?
copying the line
val action = LetterListFragmentDirections.actionLetterListFragmentToWordListFragment(letter = holder.button.text.toString())
into setOnClickListener into LetterAdapter.kt shows LetterListFragmentDirections in red
android-basics-kotlin-words-app-activities.zip
Versions
Android Studio 4.1.2
Build #AI-201.87<IP_ADDRESS>42882, built on December 19, 2020
Runtime version: 1.8.0_242-release-1644-b01 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0
GC: ParNew, ConcurrentMarkSweep
Memory: 1246M
Cores: 4
Registry: ide.new.welcome.screen.force=true, external.system.auto.import.disabled=true
Non-Bundled Plugins: org.jetbrains.kotlin
API version of the emulator:
Additional information
Include screenshots if they would be useful in clarifying the problem.

@cesarguzman303
Are you still facing this issue.
If so please provide us with the screenshot to further debug this issue.

good afternoon,
Actually I abandoned the course since I had no where to get answers for my
last problem, when I stucked for over a month without solution, but anyway,
thank you very much for your answer.
Regards,
Cesar
Em seg., 27 de set. de 2021 às 20:56, Edem Robin @.***>
escreveu:

[image: image]
https://user-images.githubusercontent.com/47414553/135000598-a9ab9f8f-e8e9-4ccd-b86c-5c228082ca28.png
[image: image]
https://user-images.githubusercontent.com/47414553/135000710-6b5c8a53-194a-4b1a-9b59-ccb5532e5c43.png
I am facing the same error.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/google-developer-training/android-basics-kotlin-words-app/issues/74#issuecomment-928470263,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATILDPNKZCIPVPFBHJJCJJTUEEACZANCNFSM4ZM33VIQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

I encountered the same problem. First, I downloaded the project:
https://github.com/google-developer-training/android-basics-kotlin-words-app/tree/main
Construction errors are as follows:
Recommended action: Update this project to use a newer compileSdkVersion of at least 31, for example 32.
After changing compilesdkversion to 32, the error is as follows:
e: <...>/LetterListFragmentDirections.kt: (3, 8): Unresolved reference: R
build.gradle
plugins {
    id 'com.android.application'
    id 'kotlin-android'
    id 'kotlin-kapt'
    id 'androidx.navigation.safeargs.kotlin'
}

android {
    compileSdkVersion 32

    defaultConfig {
        applicationId "com.example.wordsapp"
        minSdkVersion 19
        targetSdkVersion 30
        versionCode 1
        versionName "1.0"

        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
    }

    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
        }
    }
    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }

    kotlinOptions {
        jvmTarget = '1.8'
    }

    buildFeatures {
        viewBinding = true
    }
    namespace 'com.example.wordsapp'
}

dependencies {
    implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
    implementation "androidx.core:core-ktx:$core_ktx_version"
    implementation "androidx.appcompat:appcompat:$appcompat_version"
    implementation "com.google.android.material:material:$material_version"
    implementation "androidx.constraintlayout:constraintlayout:$constraintlayout_version"
    implementation "androidx.navigation:navigation-fragment-ktx:$nav_version"
    implementation "androidx.navigation:navigation-ui-ktx:$nav_version"
}

other one
buildscript {
    ext {
        appcompat_version = "1.2.0"
        constraintlayout_version = "2.0.2"
        core_ktx_version = "1.3.2"
        kotlin_version = "1.5.30"
        material_version = "1.2.1"
        nav_version = '2.4.1'
        lifecycle_version = "2.3.1"
        datastore_version = "1.0.0"
    }
    repositories {
        google()
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:7.2.0'
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
        classpath "androidx.navigation:navigation-safe-args-gradle-plugin:$nav_version"

        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

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

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

@15652768278 , @Guy-Koliko , @cesarguzman303
Thank you for contacting us and sharing your concerns or issue solutions. Recently the codelab content  and the repo were updated so hopefully it won't cause any further issues.
Happy coding!

if someone facing this problem in nov 2023. How I solved this problem.
added " id ("androidx.navigation.safeargs") version "2.7.5" apply false " in project level build.gradle.kts(Project: WordsApp)
added " id("androidx.navigation.safeargs")" in module build.gradle.kts (Module:App)
build.gradle.kts(Project: WordsApp) File
// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
    id("com.android.application") version "8.1.2" apply false
    id("org.jetbrains.kotlin.android") version "1.9.0" apply false
    id ("androidx.navigation.safeargs") version "2.7.5" apply false
}

build.gradle.kts (Module:App)
plugins {
    id("com.android.application")
    id("org.jetbrains.kotlin.android")
    id("androidx.navigation.safeargs")
}

android {
    namespace = "com.example.wordsapp"
    compileSdk = 34

    defaultConfig {
        applicationId = "com.example.wordsapp"
        minSdk = 22
        targetSdk = 33
        versionCode = 1
        versionName = "1.0"

        testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
    }

    buildFeatures{
        viewBinding=true
    }

    buildTypes {
        release {
            isMinifyEnabled = false
            proguardFiles(
                getDefaultProguardFile("proguard-android-optimize.txt"),
                "proguard-rules.pro"
            )
        }
    }
    compileOptions {
        sourceCompatibility = JavaVersion.VERSION_1_8
        targetCompatibility = JavaVersion.VERSION_1_8
    }
    kotlinOptions {
        jvmTarget = "1.8"
    }
}

dependencies {

    implementation("androidx.core:core-ktx:1.9.0")
    implementation("androidx.appcompat:appcompat:1.6.1")
    implementation("com.google.android.material:material:1.10.0")
    implementation("androidx.constraintlayout:constraintlayout:2.1.4")
    implementation("androidx.navigation:navigation-fragment:2.7.5")
    implementation("androidx.navigation:navigation-ui:2.7.5")
    testImplementation("junit:junit:4.13.2")
    androidTestImplementation("androidx.test.ext:junit:1.1.5")
    androidTestImplementation("androidx.test.espresso:espresso-core:3.5.1")
}

Happy coding!
😀


Broken OpenCvSharp4_.runtime.ubuntu.20.04-x64 nuget package

It seems that the latest versions of OpenCvSharp4_.runtime.ubuntu.20.04-x64 nuget package are broken.

The package contains a folder for a different version of Ubuntu.
Moreover, the package won't work on .NET 8, because the OS specific RIDs have been removed: https://learn.microsoft.com/en-us/dotnet/core/compatibility/deployment/8.0/rid-asset-list
Can you please publish a new version of the package?

I am getting a warning regarding the OS specific RIDs in my .NET 8 project as well.
Can you please publish a new version of the package?


DLRN doesn't exit 1 if build errors occur

In TripleO CI we've just noticed that DLRN build errors don't fail our CI jobs. Specifically we see this log message getting printed 'packages not built correctly: not updating the consistent symlink'... and those jobs can go on to pass TripleO CI giving us potentially false positive results.

Looking at the code, we set exit_code=1 as soon as there is one build error (https://github.com/openstack-packages/DLRN/blob/master/dlrn/shell.py#L318), and use that code to return at the end (https://github.com/openstack-packages/DLRN/blob/master/dlrn/shell.py#L406).
The log message you mention is expected when not every package is built, it is just letting us know that the "consistent" symlink is not being created (as some packages are not done), can you post the link to one the failed CI jobs?

I think this was confirmed to be a different issue, + https://review.rdoproject.org/r/1737 added the option to return 2 when some packages were set to RETRY state. Closing.


Sessions leaking from Pool

We are experiencing an issue where sessions are not being constrained.  During our stress testing we are making 4 requests in parallel all by primary keys, 50k times.
During initial test runs of 2000 records, the sessions count grew by 711.  Effectively was we scaled it up in our sandbox we quickly ran out of all 10k sessions in minutes, locking the database.
The session count is being confirmed with gcloud spanner databases sessions list --database=users --instance=users-test | grep "name" | wc -l.
We looked at the previous pool leak fix and confirmed we were using that code but it did not solve the issue. (https://github.com/googleapis/nodejs-spanner/pull/91)
Environment details

OS: Mac OS high sierra
Node.js version: v8.9.0
npm version: v5.6.0
@google-cloud/spanner version: v1.1.0

Steps to reproduce
The queries are simple run requests, here is a code sample where we can reproduce.
This code is obviously poor practice, but we needed queries to take a longer than near immediate response to force error manifestation.
const spanner = require('@google-cloud/spanner');
const Promise = require('bluebird');
const crypto = require('crypto');

const database = spanner({ projectId: 'test-project' }).instance('test-instance').database('users',
  {
    acquireTimeout: 30000,
    keepAlive: 1,
    max: 10,
  }
);

function getOffset() {
  return Math.floor(Math.random() * 10000)
}

function getReadPromise() {
  return database.run({
    sql:
      'SELECT * FROM users limit 1 offset @offset',
    params: {
      offset: getOffset(),
    },
  });
}

function start() {
  console.log('Starting');
  const arr = new Array(5).fill(1);
  return Promise.map(arr, () => Promise.all([
    getReadPromise(),
    getReadPromise(),
    getReadPromise(),
  ]));
}

setTimeout(() => {
  start().then(start).then(start).then(start).then(start);
}, 3000);

The issue doesn’t manifest itself in version 0.8.2, which 0.8.3 is when the pooling was updated.
Environment details
OS: Mac OS High sierra
Node.js version: v8.9.0
npm version: v5.6.0
version: v1.1.0
We have a solution and will make the PR soon.
Issue Analysis
Here is our analysis of the issue after investigation:
In the following code, the code removes the session either from reads_ or writes_ array.

getNextAvailableSession_ method is called by getSession_ which is called by acquireSession_.  getNextAvailableSession_ removes the session from reads_ or writes_ array and acquireSession_ adds the session to borrowed_ array as shown in the code below.

This code is asynchronous, which means it is creating a race condition.  It may end up with a session being borrowed from reads or writes and it has also been yet to be marked as borrowed.  This has the effect of not being counted towards the maximum amount of sessions available to the session. Which is ultimately the error issue causes excess sessions to be created and these sessions are not accounted for such that it will eventually consume all of the available sessions for the spanner instance.
Proposed Solution
We can fix the problem by making sure that when we remove a session from reads_ or writes_ array, we should mark the session as burrowed synchronously.

@DuaneGarber thanks for the detailed writeup! I might need to dig a little deeper but your proposed solution looks good to me.

cc @alexander-fenster
Given that we have seen couple of issues with session pool lately, I think we should write a stress test similar to how we did in Java and Go:
https://github.com/GoogleCloudPlatform/google-cloud-java/blob/master/google-cloud-spanner/src/test/java/com/google/cloud/spanner/SessionPoolStressTest.java#L205
https://github.com/GoogleCloudPlatform/google-cloud-go/blob/master/spanner/session_test.go#L653

Closed By: https://github.com/googleapis/nodejs-spanner/pull/135

@vkedia @alexander-fenster was a stress test ever written?

@wyardley there wasn't, no. Are you experiencing a similar issue?

@callmehiphop We had a big session spike which may just be due to how the library handles transactions, i.e., one session per transaction(opened a ticket about it). I can get you some more details and / or open a new issue, rather than piling onto this one.
Just commenting here as I was wondering if that ever happened. The overall session management under normal conditions seems to work fine w/ recent(ish) versions of the library.

@wyardley are you using the runTransactionAsync method? That method definitely uses 1 session per transaction, but I'd be happy to make a fix.


Unable To Do Testing With Firefox Using Protractor 5.20 Onward When Proxy Configuration Is Specified

Node Version: 8.4.0
Protractor Version: 5.3.0
Angular Version: 1.5.11
Browser(s): Firefox59
Operating System and Version Linux Centos7
A relevant example test
"proxy": {
proxyType: 'manual',
httpProxy: '<IP_ADDRESS>:3128',
sslProxy: '<IP_ADDRESS>:3128',
ftpProxy: '<IP_ADDRESS>:3128',
}

Hi there,
Protractor 5.2.0 updated the dependency of the selenium-webdriver library to 3.6.0 (see change log here @ https://github.com/angular/protractor/blob/master/CHANGELOG.md). Given that dependency (namely selenium edition 3.6.0) that leaves me to use either geckoversion (v0.19.0 or v0.19.1 see https://github.com/mozilla/geckodriver/releases).
Note that with geckodriver v0.19.0 the following versions are recommended:

Firefox 55.0 (and greater)
Selenium 3.5 (and greater)

Unfortunately geckoversion v0.19.0 changed how it handled proxy configuration and it was a breaking change. However, selenium-webdriver 3.6.0 doesn't have that fix but Selenium3.7.1 does have it
https://github.com/SeleniumHQ/selenium/releases/tag/selenium-3.7.1 https://github.com/seleniumhq/selenium/commit/81334994d9fdb3460fd6078cdfadb520e6a554ba
so I need protractor dependency updated to a later edition of selenium-webdriver than 3.6.0 because I'm unable to do any testing with Firefox 55 onward whenever I have to go through a proxy. I created an issue in geckodriver github repository here
https://github.com/mozilla/geckodriver/issues/1174
but this was closed as this was identified as a protractor issue albeit from digging myself it seems protractor is using an old selenium-webdriver dependency. I also need to be able to use protractor with firefox edition 55 or greater so reverting to an older edition won't work. Thoughts?

Hi
is their any update on the above issue? This is very much still an issue for me unfortunately.

@bhreinb Try to change the proxyType value to 'MANUAL'

I am also having the same issue when trying to run my tests from docker container with firefox headless. I get the below error and tests are failing. How do I move forward?
✔ Before # test/cucumber/stepDefinitions/hooks.ts:26
UnexpectedAlertOpenError: Dismissed user prompt dialog: The proxy moz-proxy://<>:8181 is requesting a username and password. The site says: “ESDMZ”:
Build info: version: '4.0.0-alpha-1', revision: 'd1d3728cae', time: '2019-04-24T16:15:24'
System info: host: 'd5b164780a26', ip: 'Unknown', os.name: 'Linux', os.arch: 'amd64', os.version: '4.4.162-94.72-default', java.version: '1.8.0_212'
Driver info: driver.version: unknown
    at Object.checkLegacyResponse (/usr/local/automation/node_modules/selenium-webdriver/lib/error.js:553:13)
    at parseHttpResponse (/usr/local/automation/node_modules/selenium-webdriver/lib/http.js:509:13)
    at doSend.then.response (/usr/local/automation/node_modules/selenium-webdriver/lib/http.js:441:30)


Fix tiny_map from_iter where one operation was being dropped

Motivation and Context
15th operation was being dropped when iterator was being read into a TinyMap
Description
The 15th operation was being dropped when the if statement was caught because the operation had been popped of the iterator but hadn't been added to the vec of operations before the two iterators were being chained and collected into a
Testing
Added unit tests that reproduced the issue and verified that the issue is fixed
Checklist

[ ] I have updated CHANGELOG.next.toml if I made changes to the smithy-rs codegen or runtime crates
[x] I have updated CHANGELOG.next.toml if I made changes to the AWS SDK, generated SDK code, or SDK runtime crates

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@Thor-Bjorgvinsson you have probably ticked the wrong box in the checklist

@Velfi Seems like these tests are flaky. Although it's the first time I've seen them fail.
running 4 tests
test test_smol_runtime_timeouts ... FAILED
test test_async_std_runtime_timeouts ... FAILED
test test_smol_runtime_retry ... ok
test test_async_std_runtime_retry ... ok

failures:

---- test_smol_runtime_timeouts stdout ----
thread 'test_smol_runtime_timeouts' panicked at 'actual = 769.061231ms, expected = 350ms', sdk/s3/tests/alternative-async-runtime.rs:128:5

---- test_async_std_runtime_timeouts stdout ----
thread 'test_async_std_runtime_timeouts' panicked at 'actual = 778.09071ms, expected = 350ms', sdk/s3/tests/alternative-async-runtime.rs:128:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

failures:
    test_async_std_runtime_timeouts
    test_smol_runtime_timeouts

test result: FAILED. 2 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.60s


Image does not draw to canvas (iOS retina devices) when pixel ratio != 1

I'm rendering an image from a url into a canvas using the following:
Caman('#photoCanvas', url, function() {});
This works on all browsers PC & Mac.  However, on the iPad (gen 3 & 4) and iPhone (4S), the image fails to render into the canvas and the canvas remains blank.
I suspect the issue may be related to the hiDPI / pixel ratio code.
I was able to get the image to render into the canvas on the iOS retina devices by modifying the source code to force the pixel ratio to be 1.
Are you able to replicate this as well?  I'm using version 4.11 of CamanJS.   Thanks!

Same problem on new retina iMac. Is there anyone who fixed this in some way? Thank you

@AndryBray I don't know if you fixed it. I found this in the guide.
CamanJS supports HiDPI displays (also known as Retina displays) as of version 4.
Specifying HiDPI image replacements is done via the data-caman-hidpi HTML attribute.

<img
  src="/path/to/image.jpg"
<EMAIL_ADDRESS>>


VinylDNS Python Client

Background
We have most of the makings of a good vinyldns python client in the functional tests at https://github.com/vinyldns/vinyldns/blob/master/modules/api/functional_test/vinyldns_python.py
With a little cleanup, this can be moved into the vinyldns-python repository and setup as a first class project.
Scope of work

Port the vinyldns_python.py library to the vinyldns-python repository
Clean up anything that is not-standard for python
Add unit tests?  Unclear on how to unit test this, since it is just an API wrapper for vinyldns api
Setup a release process (setup.py) to be able to build and release the project to pypi
Add LICENSE and license headers
Add a README on usage

I think this is a good idea since it adds to the available tooling that can interact with VinylDNS.

Add unit tests? Unclear on how to unit test this, since it is just an API wrapper for vinyldns api
Would testing be necessary beyond testing serialization and error handling? Mocking responses from the API would be tedious to create and manage.

Setup a release process (setup.py) to be able to build and release the project to pypi
Do we currently upload any of the other tooling to their respective popular package managers? If we choose to do this, then we might want to make sure that the other tools do the same.

Add LICENSE and license headers
With certain languages (eg. Javascript, etc.), the support for adding license headers is varied. We might consider generalizing our existing bin/add-license-headers.sh script so that headers can be added to tooling in a more automated fashion, since the headers for some tooling might currently be relying on copy + paste. This would also allow integrating header generation into their compile process if there are outside contributors.

i think port over what we have with the license headers and then treat it like any other project at that point...so add cards for all the other stuff above.
i dont think we need to figure out all of it before porting, it's fine to just have the cards there so that we (or someone else) can pick them up
--
on the unit test question, i would look at what nathan and mike have in place for their tools (if anything) and take that lead

For unit testing, the java client uses wiremock.  You can mock out API responses.  I think that is a fine approach, as everything would very fast, and there aren't a ton of endpoints to hit.

Moving this to https://github.com/vinyldns/vinyldns-python/issues/2


Doesn't works on android 12L

This has also been reported on the xda thread and I have a log, just need to get around to fixing it.

Fixed in 1.4


Creating a multi-platform bot v4

I'm trying to create a multi-bot using web & facebook
it's seems impossible to configure two simultaneous adapters as example, and it's understandable, of course I cant create a second socket using a same port... But anyone knows the right way to do that? Any doc about it?
const fbadapter = new FacebookAdapter({
enable_incomplete: true,
verify_token: process.env.FACEBOOK_VERIFY_TOKEN,
access_token: process.env.FACEBOOK_ACCESS_TOKEN,
app_secret: process.env.FACEBOOK_APP_SECRET,
})
fbadapter.use(new FacebookEventTypeMiddleware());
const fbcontroller = new Botkit({
webhook_uri: '/api/messages',
adapter: fbadapter,
storage
});
controller.ready(() => {
controller.loadModules(__dirname + '/features');
});

Error:
events.js:187
throw er; // Unhandled 'error' event
^
Error: listen EADDRINUSE: address already in use :::5000
at Server.setupListenHandle [as _listen2] (net.js:1306:14)
at listenInCluster (net.js:1354:12)
at Server.listen (net.js:1442:7)
at new Botkit (/Users/ricagurgel/GitHub/botkit4/web/node_modules/botkit/lib/core.js:146:27)
at Object. (/Users/ricagurgel/GitHub/botkit4/web/bot.js:30:22)
at Module._compile (internal/modules/cjs/loader.js:1121:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1160:10)
at Module.load (internal/modules/cjs/loader.js:976:32)
at Function.Module._load (internal/modules/cjs/loader.js:884:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:67:12)
Emitted 'error' event on Server instance at:
at emitErrorNT (net.js:1333:8)
at processTicksAndRejections (internal/process/task_queues.js:80:21) {
code: 'EADDRINUSE',
errno: -48,
syscall: 'listen',
address: '::',
port: 5000
}
npm

Same here. It seems that v4 does not support multiple platforms.

Yes it does!
You can create 2 web endpoints on the same Express webserver, and pass in different adapters to each.

Duplicate of #1910

Alright yall, here is an example:
https://github.com/howdyai/botkit/blob/master/packages/testbot/multiadapter.js

Improvements to this will also be in the next release -> #1929


Finished pdu helpers and some doctests

Codecov Report
All modified lines are covered by tests :white_check_mark:

Comparison is base (9b76242) 96.24% compared to head (e397fdb) 96.28%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #47      +/-   ##
==========================================
+ Coverage   96.24%   96.28%   +0.04%
==========================================
  Files          84       84
  Lines        6332     6351      +19
==========================================
+ Hits         6094     6115      +21
+ Misses        238      236       -2

Flag
Coverage Δ

unittests
96.28% <100.00%> (+0.04%)
:arrow_up:

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

Files
Coverage Δ

spacepackets/cfdp/pdu/finished.py
96.44% <100.00%> (+0.13%)
:arrow_up:

spacepackets/cfdp/pdu/metadata.py
96.05% <ø> (+1.31%)
:arrow_up:

tests/cfdp/pdus/test_finished_pdu.py
100.00% <100.00%> (ø)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


refactor: load the tokens asynchronously after HTR history and balance is loaded

Currently, on the wallet-service facade, we wait until we load the balance and tx_history of all the tokens the user has ever interacted with before showing the home screen
We should refactor it so we load only HTR (or the token registered as default for the wallet) balance and tx_history and load the rest asynchronously, with a loading icon on the registered tokens

Not sure if it would be a bigger task, but I feel we should change our wallets to assume things will be loaded on demand. In this case, the wallet would need to load only the network (e.g., mainnet) and the list of tokens and their balances. When users open a token screen, then the wallet will load that given information (including the history).
Internally, I think the screen can request the data and receive a promise. The screen can also pass a callback function to update screen with the progress.
As a transition, our wallets currently preload everything. So the promises will be immediately resolved with the requested data.
The wallet-service facade will be the first one to really load the data asynchronously.
What do you think?

I'm thinking about both solutions. With the APIs we have now, I believe loading the balance of all tokens would be a bad idea, given that we would need to make one request for each token.
If we improve the API in the wallet service to return a list of tokens with the balance (paginated probably), we could implement Marcelo's proposal and would be great in my opinion.

This is done after the refactor we did with redux-saga, so closing it


Add support for man command

Add support for wperf man command. See epic https://linaro.atlassian.net/browse/WPERF-840 for more details.
DOD:

Add support for user to be able to access manual of WindowsPerf from a separate dialog window.
Add fuzzy search of already available entries (use wperf list keys to index).
This will support “manual” for current CPU (will work only on neoverse-n1/n2/v2).

@Alaaeddine-chakroun will take a look.


release 0.5.0 preparation

[x] cut release-v0.5 branch
[x] update the VERSION to 0.5.0 in Makefile
[x] package helm chart and push it to ghcr, we need to update the chart version and app version to 0.5.0 before helm package
[x] release with a tag v0.5.0 from release-v0.5 branch, than github action will automatically build and push kmesh image
[x] waypoint image need to build and push manually
[x] kmeshctl build and release
[x] release chart package
[x] update install document

Done
/close


return exit code zero on success

I have found markdown-link-check returning exit code 1 on files that pass link checks. I noticed in another project, people doing markdown-link-check ... || true to avoid this.
However, I would like to have exit code 1 when there is a real failure. Is this a bug?
$ markdown-link-check -V
3.13.6

$ markdown-link-check -v -c ./build-bin/mlc_config.json ./zipkin-junit5/README.md

FILE: ./zipkin-junit5/README.md

$ echo $?
1

@codefromthecrypt  - I think your issue is due to md link check 3.13.x is broken when using a config file - See https://github.com/tcort/markdown-link-check/issues/369

@isuftin indeed thanks!


Top 10 genera icon doesn't create graphic

No graph to speak of for this, so switched so it is only table view.


How do you tackle context deadline exceeded issue if your process is a bit lengthy?

I talked with Qstash support and they said they cancel the request if the response isn't received in 2 minutes, and in result we get a "context deadline exceeded" error.
Currently our architecture is very straight forward. We send a job request to Qstash, and qstash does the job behind the scenes. I have seen that when we send more than 100 jobs to qstash ( I mean in a large volume), then I get to see this error. Is it maybe because the API which we hit through Qstash is not resilient enough? Any leads appreciated!

Hi, so the issue is closable, thanks to you.
I realized that the timeouts are same as mentioned in the plan. So, everything's running correctly in Qstash side.


Use one blake2 implementation

I noticed that Substrate uses both blake2 and blake2-rfc crates directly.
If there a specific reason for doing so or can we unify usage to one of them (presumably blake2 as it seems to be more common in general and is shared by indirect dependencies like snow) instead and remove extra dependency?
NOTE: blake2-rfc is also used in parity-db, so to remove it from dependency tree updating parity-db will be necessary as well.
UPD: blake2 doesn't support keyed hashing, so maybe blake2-rfc is the better option for now :man_shrugging:

Looks like blake2 supports keyed hashing as well
https://docs.rs/blake2/0.10.4/blake2/struct.Blake2sMac.html
Where is the blake2 MAC (aka keyed) used?

Hm, I was referring to https://github.com/RustCrypto/hashes/issues/360
I'm not sure it is used in Substrate (honestly didn't check), but if one is superior in terms of feature set and comparable in performance, there is a higher chance of pulling the other dependency indirectly anyway. Still beneficial to have one dependency in Substrate, but both will be compiled in the end.

I've made a small recognition and looks like (as I was expecting) the keyed hash is not used within the Substrate repo:
https://github.com/paritytech/substrate/blob/23bb5a6255bbcd7ce2999044710428bc4a7a924f/primitives/core/src/crypto.rs#L135
https://github.com/paritytech/substrate/blob/23bb5a6255bbcd7ce2999044710428bc4a7a924f/primitives/core/src/crypto.rs#L369
Parity-db is using the keyed version in one place:
https://github.com/paritytech/parity-db/blob/ab6e6bfd76e1646aa9ee54bc950c6e8b0abfbdbb/src/column.rs#L140
But I think that the interface of blake2 crate allows to get the same result... I will do a couple of experiments.


Public access dataset:DLBCL-Morphology not found in getCollection() response

I was trying to download single images from the DLBCL-Morphology dataset but I couldn't find the collection in the getCollections() response due to which I cannot run the getSeries() function and the seriesUID. Is there some other way to access that dataset through the API or am I doing something wrong?
Dataset info:
DOI: 10.7937/NVA3-N783
URL: https://www.cancerimagingarchive.net/collection/dlbcl-morphology

The API you're attempting to use is for our DICOM image database (NBIA).  The collection you're interested in contains pathology images that are not in DICOM format.  We use Aspera to distribute those.  https://github.com/kirbyju/TCIA_Notebooks/blob/main/TCIA_Aspera_CLI_Downloads.ipynb should help if you're trying to access these data through the command line.

Hi @gauravshetty98 ,
I can confirm that as @kirbyju  pointed out, the following functions will lead to download of the whole dataset following installation of the aspera client as pointed out in the notebook linked:
ascli faspex5 packages receive \   --url='https://faspex.cancerimagingarchive.net/aspera/faspex/public/package?context=eyJyZXNvdXJjZSI6InBhY2thZ2VzIiwidHlwZSI6ImV4dGVybmFsX2Rvd25sb2FkX3BhY2thZ2UiLCJpZCI6IjYxNSIsInBhc3Njb2RlIjoiNDU1OWE3ZmJlMWJhMzkzOTQyZDJkNDFkYzRmYmFkMWYyOWY3ZjhmNyIsInBhY2thZ2VfaWQiOiI2MTUiLCJlbWFpbCI6ImhlbHBAY2FuY2VyaW1hZ2luZ2FyY2hpdmUubmV0In0=&redirected=true'
@kirbyju Out of interest, would you know how to just receive a single file from the collection using the aspera client?
For example, just the file WSI/13952_0.svs from within the DLBCL-Morphology collection?
Thank you and best wishes,
V

Answer for my separate question about receiving single files found.
Posting in case anyone wishes to find it (the Aspera CLI documents are a nightmare to find and the best resource I managed to find was this outdated resource: https://download.asperasoft.com/download/docs/cli/3.7.7/user_linux/webhelp/index.html#entsrv_external/dita/ascp_examples.html). Tested and working within Google Colab (hence the prepending '!'):
!ascli faspex5 packages receive \   --url='https://faspex.cancerimagingarchive.net/aspera/faspex/public/package?context=eyJyZXNvdXJjZSI6InBhY2thZ2VzIiwidHlwZSI6ImV4dGVybmFsX2Rvd25sb2FkX3BhY2thZ2UiLCJpZCI6IjYxNSIsInBhc3Njb2RlIjoiNDU1OWE3ZmJlMWJhMzkzOTQyZDJkNDFkYzRmYmFkMWYyOWY3ZjhmNyIsInBhY2thZ2VfaWQiOiI2MTUiLCJlbWFpbCI6ImhlbHBAY2FuY2VyaW1hZ2luZ2FyY2hpdmUubmV0In0=&redirected=true' \   /DLBCL-Morph/WSI/13952_0.svs

@VolodymyrChapman - Thank you sooooo much for sharing this!  I have also found their docs to be a nightmare and this is a common use case I was hoping to be able to address in the notebook eventually, but haven't had time to figure it out.  FYI, I noticed that it also works if you list more than one file or directory name with spaces in between if you want to download multiple things within a package.  E.g.
!ascli faspex5 packages receive --url='https://faspex.cancerimagingarchive.net/aspera/faspex/public/package?context=eyJyZXNvdXJjZSI6InBhY2thZ2VzIiwidHlwZSI6ImV4dGVybmFsX2Rvd25sb2FkX3BhY2thZ2UiLCJpZCI6IjYxNSIsInBhc3Njb2RlIjoiNDU1OWE3ZmJlMWJhMzkzOTQyZDJkNDFkYzRmYmFkMWYyOWY3ZjhmNyIsInBhY2thZ2VfaWQiOiI2MTUiLCJlbWFpbCI6ImhlbHBAY2FuY2VyaW1hZ2luZ2FyY2hpdmUubmV0In0=&redirected=true' /DLBCL-Morph/WSI/13952_0.svs /DLBCL-Morph/Cells/13901/10306/1.npy /DLBCL-Morph/Cells/13901/10306/11.npy
A couple other things I've been trying to figure out, in case anyone knows how to do this:

Is there some way to query the contents of a package via ascli to get a manifest so that you don't have to view the contents of the package in a browser and then make manual notes of which files you want?
I see there is some kind of automated checksum capability built into Aspera but I've not had any luck getting it to work.  We're currently using a separate process to generate the sums files that we put in the package.  It would be awesome if we could avoid that by using the built-in functionality.
Has anyone had any luck setting the options to utilize the bandwidth management features to cap the download speeds?  I tried the "-l 100m" option mentioned on that documentation page and get an error about it being an ambiguous option.

Best,
Justin

Hi @kirbyju  - glad to be of help! :-)
That's a cool feature - kudos for finding the 'chained' file requests feature.

I haven't investigated it in ascli but you can get a file dataframe using pathdb and then filter on say, slide properties:
df = pathdb.getImages(query = "DLBCL-Morphology", format = 'df') retrieval_list = df['imageId'] file_list = [str(img)+'.svs' for img in retrieval_list]
I then use f-strings with os.system() to retrieve files that I want:
import os for i in range(5): os.system(f"ascli faspex5 packages receive \  --url='https://faspex.cancerimagingarchive.net/aspera/faspex/public/package?context=eyJyZXNvdXJjZSI6InBhY2thZ2VzIiwidHlwZSI6ImV4dGVybmFsX2Rvd25sb2FkX3BhY2thZ2UiLCJpZCI6IjYxNSIsInBhc3Njb2RlIjoiNDU1OWE3ZmJlMWJhMzkzOTQyZDJkNDFkYzRmYmFkMWYyOWY3ZjhmNyIsInBhY2thZ2VfaWQiOiI2MTUiLCJlbWFpbCI6ImhlbHBAY2FuY2VyaW1hZ2luZ2FyY2hpdmUubmV0In0=&redirected=true' \  /DLBCL-Morph/WSI/{file_list[i]}")
A post request-style system would be preferred. Open to better methods if anyone has any.
My best wishes,
V

You might want to check out https://github.com/kirbyju/TCIA_Notebooks/blob/main/TCIA_PathDB_Queries.ipynb if you haven't already.  The getImages function demonstrated there will give you the URLs to download specific files from pathDB.  There are two potential limitations here though.  1) I'm not sure if the performance will be as fast on the downloads (would love feedback on that if you try it) and 2) some Aspera packages contain data that don't live anywhere in pathDB.

Running this small performance check:

import os
import time
from tcia_utils import pathdb

df = pathdb.getImages(query = "DLBCL-Morphology", format = 'df')
url = df['imageUrl'].loc[0]
filename = str(df['imageId'].loc[0]) + '.svs'
filepath = os.path.join('/DLBCL-Morph/WSI/', filename)

# wget with url
t1 = time.time()
os.system(f"wget {url}")
print('Execution time using getImages',time.time()-t1, 's')

# delete existing file -- not necessary as ascli seems to download regardless
# of existing file
if os.path.exists(filename):
  os.system(f'rm /content/{filename}')

# ascli
t2 = time.time()
os.system(f"ascli faspex5 packages receive --url='https://faspex.cancerimagingarchive.net/aspera/faspex/public/package?context=eyJyZXNvdXJjZSI6InBhY2thZ2VzIiwidHlwZSI6ImV4dGVybmFsX2Rvd25sb2FkX3BhY2thZ2UiLCJpZCI6IjYxNSIsInBhc3Njb2RlIjoiNDU1OWE3ZmJlMWJhMzkzOTQyZDJkNDFkYzRmYmFkMWYyOWY3ZjhmNyIsInBhY2thZ2VfaWQiOiI2MTUiLCJlbWFpbCI6ImhlbHBAY2FuY2VyaW1hZ2luZ2FyY2hpdmUubmV0In0=&redirected=true' {filepath}")
print('Execution time using ascli',time.time()-t2, 's')

In 5 repeats, wget with url takes about 27-32s while ascli takes 14-16s... big performance gain of ascli over large file numbers.

Ahhhh... right. I can see why an ascli method for retrieving a manifest would be critical now.
Just documenting here what I've tried and the errors that popped up but I'm certain that you've tried these too (all from here: https://www.rubydoc.info/gems/aspera-cli and vaguely sounding like they may retrieve a manifest or file list)
A)
!ascli faspex5 packages list --url="https://faspex.cancerimagingarchive.net/aspera/faspex/public/package?context=eyJyZXNvdXJjZSI6InBhY2thZ2VzIiwidHlwZSI6ImV4dGVybmFsX2Rvd25sb2FkX3BhY2thZ2UiLCJpZCI6IjYxNSIsInBhc3Njb2RlIjoiNDU1OWE3ZmJlMWJhMzkzOTQyZDJkNDFkYzRmYmFkMWYyOWY3ZjhmNyIsInBhY2thZ2VfaWQiOiI2MTUiLCJlbWFpbCI6ImhlbHBAY2FuY2VyaW1hZ2luZ2FyY2hpdmUubmV0In0=&redirected=true"
ERROR: Rest: Access using HTTP passcode is forbidden for this endpoint. Retry your request using an HTTP Bearer token.
status: Forbidden
code: 2009
trace: a0f414d9-b95f-4337-bf9f-44b218ec15e7
faspex.cancerimagingarchive.net 403 Forbidden

B)
!ascli faspex5 admin res metadata_profiles create @json:'{"name":"the profile","default":false,"title":{"max_length":200,"illegal_chars":[]},"note":{"max_length":400,"illegal_chars":[],"enabled":false},"fields":[{"ordering":0,"name":"field1","type":"text_area","require":true,"illegal_chars":[],"max_length":100},{"ordering":1,"name":"fff2","type":"option_list","require":false,"choices":["opt1","opt2"]}]}' --url="https://faspex.cancerimagingarchive.net/aspera/faspex/public/package?context=eyJyZXNvdXJjZSI6InBhY2thZ2VzIiwidHlwZSI6ImV4dGVybmFsX2Rvd25sb2FkX3BhY2thZ2UiLCJpZCI6IjYxNSIsInBhc3Njb2RlIjoiNDU1OWE3ZmJlMWJhMzkzOTQyZDJkNDFkYzRmYmFkMWYyOWY3ZjhmNyIsInBhY2thZ2VfaWQiOiI2MTUiLCJlbWFpbCI6ImhlbHBAY2FuY2VyaW1hZ2luZ2FyY2hpdmUubmV0In0=&redirected=true"
ERROR: Rest: Access using HTTP passcode is forbidden for this endpoint. Retry your request using an HTTP Bearer token.
status: Forbidden
code: 2009
trace: b220a229-5e64-4b60-829a-4bd8687e822e
faspex.cancerimagingarchive.net 403 Forbidden
C)
!ascli preview show --url="https://faspex.cancerimagingarchive.net/aspera/faspex/public/package?context=eyJyZXNvdXJjZSI6InBhY2thZ2VzIiwidHlwZSI6ImV4dGVybmFsX2Rvd25sb2FkX3BhY2thZ2UiLCJpZCI6IjYxNSIsInBhc3Njb2RlIjoiNDU1OWE3ZmJlMWJhMzkzOTQyZDJkNDFkYzRmYmFkMWYyOWY3ZjhmNyIsInBhY2thZ2VfaWQiOiI2MTUiLCJlbWFpbCI6ImhlbHBAY2FuY2VyaW1hZ2luZ2FyY2hpdmUubmV0In0=&redirected=true"
ERROR: Other(RuntimeError): missing convert binary: No such file or directory - convert
Use --log-level=debug to get more details.
In summary:
It appears that having a HTTP token could allow A & B to work (?), while a 'convert' bin file appears to have gone awol in time, scuppering method C.

I was able to get a hold of someone at IBM who gave me tips on listing the package files.
Root directory of the package:
!ascli faspex5 packages browse --url="https://faspex.cancerimagingarchive.net/aspera/faspex/public/package?context=eyJyZXNvdXJjZSI6InBhY2thZ2VzIiwidHlwZSI6ImV4dGVybmFsX2Rvd25sb2FkX3BhY2thZ2UiLCJpZCI6IjYxNSIsInBhc3Njb2RlIjoiNDU1OWE3ZmJlMWJhMzkzOTQyZDJkNDFkYzRmYmFkMWYyOWY3ZjhmNyIsInBhY2thZ2VfaWQiOiI2MTUiLCJlbWFpbCI6ImhlbHBAY2FuY2VyaW1hZ2luZ2FyY2hpdmUubmV0In0=&redirected=true"
Listing files within subdirectories is just like with downloading multiple files.  You simply put the path after the browse command.  For example:
!ascli faspex5 packages browse --url="https://faspex.cancerimagingarchive.net/aspera/faspex/public/package?context=eyJyZXNvdXJjZSI6InBhY2thZ2VzIiwidHlwZSI6ImV4dGVybmFsX2Rvd25sb2FkX3BhY2thZ2UiLCJpZCI6IjYxNSIsInBhc3Njb2RlIjoiNDU1OWE3ZmJlMWJhMzkzOTQyZDJkNDFkYzRmYmFkMWYyOWY3ZjhmNyIsInBhY2thZ2VfaWQiOiI2MTUiLCJlbWFpbCI6ImhlbHBAY2FuY2VyaW1hZ2luZ2FyY2hpdmUubmV0In0=&redirected=true" /DLBCL-Morph
I will add these examples to the Aspera notebook in this repo shortly.  It would also be cool to write some kind of script that loops through the output and keeps drilling down into all subdirectories until you've got a full manifest of all the files.  That might take me a little longer to find time to do, but if anyone else has time/energy I would happily integrate it into tcia_utils so others could re-use it easily :)

https://github.com/kirbyju/TCIA_Notebooks/blob/main/TCIA_Aspera_CLI_Downloads.ipynb is updated.  I'm going to close this out, but feel free to ping me if you run into any issues.

The API you're attempting to use is for our DICOM image database (NBIA). The collection you're interested in contains pathology images that are not in DICOM format. We use Aspera to distribute those. https://github.com/kirbyju/TCIA_Notebooks/blob/main/TCIA_Aspera_CLI_Downloads.ipynb should help if you're trying to access these data through the command line.

Hi @kirbyju !
Is there a way to get the metadata of all the collections at https://www.cancerimagingarchive.net/browse-collections/? I tried nbia.getCollections() but that returns only 125 (no account) and 143 (by logging in). However, the browse-collections website shows 214 collections in total. You mentioned Aspera, I haven't tried yet. Is all the data only stored between DICOM and Aspera?
I did a request through DataCite and that returns 290 results, which is more than the Browse Collections, which also confuses me

I made a few changes.  Seem clearer now?

Personally, I would prefer the class name under each bullet point e.g.:

Collection Manager (Wordpress) REST API: TCIA has developed custom extensions to Wordpress, found under tcia_utils.wordpress [...]
NBIA REST APIs: Provided as part of the NBIA software, these APIs provide access to the search and download functions used in the TCIA radiology portal, and allow access to both public and limited access DICOM collections. (tcia_utils.nbia)

I mean all the code is described right under, in the TCIA_UTILS paragraph, but I clicked the Collection Manager (Wordpress) REST API link before I got that far down

I'm a little torn about that since those guides are general API guides and are meant for anyone who wants to access them using any method or programming language (not just via python and/or tcia_utils).  I'll check with the rest of the team and see what they think.


[Package Request]: Dell Display Manager

Package Requested

[X] I would like someone else to build the manifest.
[ ] I would like help so I can submit the manifest.
[X] I have performed a search and couldn't find this package.
[X] I have checked that the installer for this package is not a standalone or portable executable or a .zip file
[ ] I think there is a new version available and I have provided the URL.

Please provide the following information
Publisher: Dell
Publisher Url: https://www.dell.com/support/home/en-us/product-support/product/dell-s2719dgf-monitor/drivers
Package Name: Dell Display Manager
Description: Dell Display Manager enhances everyday productivity through comprehensive management tools giving you optimal front of screen experience, efficient display management and easy, effortless multitasking. IT Managers will now be able to manage and control monitors remotely improving overall productivity. This application requires Display Data Channel Command Interface (DDC/CI) to work.
Package Version: <IP_ADDRESS>0
Installer URL: https://dl.dell.com/FOLDER08196078M/1/ddmsetup2090.exe

I believe this will be blocked due to hardware requirements

For Windows operating systems, Dell Display Manager (DDM) works only with select Dell monitors developed from 2013 and beyond, except Dell D-series and Nvidia G-SYNC-based models

I believe this will be blocked due to hardware requirements

For Windows operating systems, Dell Display Manager (DDM) works only with select Dell monitors developed from 2013 and beyond, except Dell D-series and Nvidia G-SYNC-based models

I can't confirm since I am using supported Dell displays, hence the request.
I wonder if the install would actually fail without a supported monitor? Or if installation works and one could just not use the features to change monitor settings. If the latter, then I sure would find it nice to be able to install/update via winget.


Can I generate code using only less and react?

You're welcome to add a prompt for LESS support. If more people request this feature, I'll add it.

@abi please add support for it

@abi more request this feature at china very much

Will look into supporting it soon.


Does this support with AWS Glue catalog for metadata?

I want to use this connector to write data to s3 and query using Amazon Athena. But there is dependency of AWS glue to be used as metadata. So how can we do that?

@kalyanjanaki777 AWS dependencies and iceberg glue catalog is packaged into the release. its possible to use with Glue Catalog as is. please post here if you run into any issue

Related #166


Cache upload failed because file read failed with undefined

Self-hosting (ubuntu) error (private project)

Post Cache node modules12m 21s
at FSReqCallback.wrapper [as oncomplete] (fs.js:470:5)
Post job cleanup.
/bin/tar -z -cf cache.tgz -P -C /home/pi/actions-runner/_work/pwa/pwa --files-from manifest.txt
[warning]uploadChunk (start: 0, end: 33554431) failed: Cache service responded with 503
/home/pi/actions-runner/_work/_actions/actions/cache/v2.0.0/dist/save/index.js:2440
throw new Error(Cache upload failed because file read failed with ${error.Message});
^

Error: Cache upload failed because file read failed with undefined
at ReadStream. (/home/pi/actions-runner/_work/_actions/actions/cache/v2.0.0/dist/save/index.js:2440:31)
at ReadStream.emit (events.js:210:5)
at internal/fs/streams.js:167:12
at FSReqCallback.wrapper [as oncomplete] (fs.js:470:5)

facing the same issue. For me the cache step runs for a few minutes before failing with that error. For ref my err log is:
Post job cleanup.
/bin/tar -cz -f /home/ga/actions-runner/_work/_temp/c8bdac35-ee3e-4495-8879-fbfe3fee7910/cache.tgz -C /home/ga/miniconda3/envs/privateproject .
[warning]uploadChunk (start: 33554432, end: 67108863) failed: Cache service responded with 503
/home/ga/actions-runner/_work/_actions/actions/cache/v1/dist/save/index.js:1481
                        throw new Error(`Cache upload failed because file read failed with ${error.Message}`);
                        ^

Error: Cache upload failed because file read failed with undefined
    at ReadStream.<anonymous> (/home/ga/actions-runner/_work/_actions/actions/cache/v1/dist/save/index.js:1481:31)
    at ReadStream.emit (events.js:210:5)
    at internal/fs/streams.js:167:12
    at FSReqCallback.wrapper [as oncomplete] (fs.js:470:5)

linking to issue #259

Should be fixed by https://github.com/actions/cache/pull/596.  Please let me know if you continue to see this error.


/fakeplayer skin dosent work

Describe the bug / 描述你的 bug 情况
The /fakeplayer skin dosent work
To Reproduce / 如何触发
Steps to reproduce the behavior: / 触发的步骤

/fakeplayer skin <name
see if it works

Server information / 服务器信息

Software /  paper 1.21.3
Java: newest
Version / 1.21.3

Additional context / 更多信息
no

/fp skin is an asynchronously command, so there may not be any error messages. This could be due to network issues or mojang api rate limit if you are copying a player whom is not online

ok thanks


Allow overriding the CheckFailedNotification class

At the moment you can change the config file notifications.notifications but the class is harcoded on the RunHealthChecksCommand command and it's not possible to use your own

Using the first key seems a bit dirty to me. In the latest version, I've made it easy to override the notification class name to use.

Hello @freekmurze
I can see you added a method getFailedNotificationClass but that means we need to override the RunHealthChecksCommand class.
Why do we defined the class on the config file if you cannot change it in one place?

Another solution will be to change the config file and split the class and channels something like
'channels' => [
            'mail',
            'slack'
        ],
'notification' => Spatie\Health\Notifications\CheckFailedNotification::class

Let me know if this solution is acceptable and I will submit a new PR

I had same issue, should I make new command extend RunHealthChecksCommand to override method getFailedNotificationClass?

@freekmurze can we reopen this please?


[BACKLOG-15721] small fix for folder width

@bmorrise

Build Completed
:white_check_mark: This pull request has passed all validations.
Build Commands
mvn -B -fn -f plugins/file-open-save/core/pom.xml clean install && mvn -B -f plugins/file-open-save/core/pom.xml site

Cleanup Commands
mvn -B -f plugins/file-open-save/core/pom.xml build-helper:remove-project-artifact

Changed files
  plugins/file-open-save/core/src/main/javascript/app/components/folder/folder.html


Making the index title a bit more informative.

Signed-off-by: Tim 'mithro' Ansell<EMAIL_ADDRESS>

@mohanad0mohamed Could you please approve this?


Making Forms Handle Enter Key Press to Submit

This change is

+1 I was looking forward to this!

I have no idea how many times I've hit enter on the login screen thinking it would work, only to be disappointed. But no more!


Create developer doc site

Probably using readme.io / readthedocs.org
It should:

use this repo as a source of truth
host the docs somewhere else
make it easy to update the docs

Merged


reduce number of uses of :conditions in AR

Saw #6724 and just did a quick sweep
Not fixing any errors off hand
/cc @matthewd

Hmm.. these should all be currently broken, and therefore obviously have no spec coverage. It'd be nice to change that, but on the other hand, it'd also be nice to minimise breakage. :confused:

@matthewd be back soon with test cases for each of these.

I did one of these in #6705 and added a test

Thanks
I added tests, and removed the tests for #6705
gave my suggested test over there


Issue #15: Display localized content in Navbar and Footer

Issue  #15:
Navbar and Footer components in Next.js are not displaying localized content fetched from the Strapi CMS. The default locale content is being shown instead of the expected localized content.
Fix:
Refactored the RootLayout component to support localization. The getGlobal function now accepts the lang parameter and fetches the appropriate data based on the selected language. The generateMetadata function receives the params object as a parameter, allowing it to retrieve the metadata for the specified language. These changes ensure that the Navbar and Footer components display the correct localized content.

@AnasGamal thank you for your help.  You are the best.


Bundle the extension to slim the published version down

This has been tackled by #130 in the meantime.


Added support for repository deploy keys

See: https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/{username}/{repo_slug}/deploy-keys

Submitted again with a cleaner commit history https://github.com/BitbucketAPI/Client/pull/23


Use stack bar charts for the number of messages

Hi @IsaackMwenda,
I think the numbers of the SMS will be easier to interpret as stacked bar charts rather than line charts. See e.g.
https://observablehq.com/@d3/stacked-bar-chart
or
https://bl.ocks.org/mbostock/1134768
Thanks in advance

Reassigning to Rita who will help out
@ritazagoni I think that @WHGTyen has some experience with this kind of chart in D3. Maybe have a chat with her?

@lukechurch should we close this?


eclib/types.h is missing

With the recent upgrade of eclib it seems that the types.h header went away. This makes sagelib fail to build.

We should apply https://github.com/JohnCremona/eclib/commit/c9b96429815e31a6e3372c106e31eef2a96431f9 from upstream. I'll create a PR.


Docker update memory constraints not honored

BUG REPORT INFORMATION
docker version:
Client:
 Version:      1.10.0
 API version:  1.22
 Go version:   go1.5.3
 Git commit:   590d5108
 Built:        Thu Feb  4 18:36:33 2016
 OS/Arch:      linux/amd64

Server:
 Version:      swarm/1.1.0
 API version:  1.22
 Go version:   go1.5.3
 Git commit:   a0fd82b
 Built:        Thu Feb  4 08:55:18 UTC 2016
 OS/Arch:      linux/amd64

docker info:
Containers: 7
 Running: 5
 Paused: 0
 Stopped: 2
Images: 27
Role: primary
Strategy: spread
Filters: health, port, dependency, affinity, constraint
Nodes: 1
 REDACTED: REDACTED:2376
  └ Status: Healthy
  └ Containers: 7
  └ Reserved CPUs: 0 / 8
  └ Reserved Memory: 12 GiB / 8.174 GiB
  └ Labels: executiondriver=native-0.2, kernelversion=3.13.0-71-generic, operatingsystem=Ubuntu 14.04.3 LTS, storagedriver=aufs
  └ Error: (none)
  └ UpdatedAt: 2016-02-09T12:34:01Z
Plugins:
 Volume:
 Network:
Kernel Version: 3.13.0-65-generic
Operating System: linux
Architecture: amd64
CPUs: 8
Total Memory: 8.174 GiB
Name: REDACTED

Provide additional environment details (AWS, VirtualBox, physical, etc.): Using Docker Swarm, but Swarm contains only one node so far
List the steps to reproduce the issue:

Create container with memory constraint of 2g (docker run -m 2g ...)
Stop the container
docker update -m 4m containerId
docker update -m 4g containerId
docker start containerId
Repeat these steps until you have more containers running than your host can support. In my case 3*4g=12gb on a host with 8gb of memory.

Describe the results you received: Docker will start more containers than host has available memory
Describe the results you expected: Docker should not start more containers than the host has resources available for

If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.
If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.
For more information about reporting issues, see CONTRIBUTING.md.
You don't have to include this information if this is a feature request
(This is an automated, informational response)

BUG REPORT INFORMATION
Use the commands below to provide key information from your environment:
docker version:
docker info:
Provide additional environment details (AWS, VirtualBox, physical, etc.):
List the steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Provide additional info you think is important:
----------END REPORT ---------
#ENEEDMOREINFO

This setting isn't supposed to prevent docker from launching containers once the cumulative total of memory limits exceeds the host's memory. Is there something in the documentation that gave you the idea otherwise?
Also:

Create container with memory constraint of 2g (docker run -m 2g ...)
Stop the container
docker update -m 4m containerId
docker update -m 2g containerId
docker start containerId

You effectively didn't change anything. You started the container with a 2g limit, put it at 4m, and then put it back to 2g.

@phemmer Right. You should repeat the entire steps three-four times until the cumulative total of memory exceeds my host memory. See the output of docker info above: Reserved Memory: 12 GiB / 8.174 GiB

This is not a bug; memory limits apply to containers individually, i.e., it only limits what a container is allowed to consume. The total limit of all containers can exceed the available of the system. I don't think the documentation suggests that this isn't possible, but perhaps a note can be added if you think that'd clarify this; https://docs.docker.com/engine/reference/run/#user-memory-constraints
I'll close this issue, because I think this works correctly, but feel free to comment here after I've closed

@thaJeztah Ah! I was under the impression that the docker swarm spread strategy would refuse to pick nodes that were overloaded. I could have sworn it worked this way in the past, but perhaps I am mistaken.

@wouterhund point is there's no real memory reservation here, only a limit, so even though a container may use up-to the given amount, it is not guaranteed to get it. It's possible there's an issue with the way Swarm schedules containers here, so if you think there's an issue, please open a ticket in the Docker Swarm issue tracker https://github.com/docker/swarm/issues

@thaJeztah Ah, docker info (when using swarm) calls it reserved memory, so that might also have thrown me off. I'll give it an extra hard look, but after your explanation I do not believe that any actual issues exist, since it works as you describe. Thank you.


Features Pitch Section

Task

Outline the major/important features for each dashboard type and split into "must-have" and "nice-to-have" features

Deliverables

Features section of report

Detailed features for each of the three dashboard types and split features into two categories


Feature request: Chatterino 1 dark style (dark chat with white tabs) or custom colour styles in Chatterino 2

I am talking about something like Chatterino 1's style, where you could have light-themed tabs with dark-themed chat (like in the screenshot from the Chatterino site). At the moment, the styles in Chatterino 2 change both the chat and tabs.

WutFace

this is by design, early versions featured a layout similar to chatterino1

This issue is out of scope of the Chatterino project.


Avoid heap allocations in check_condition and simplify

Sure I can do that

Well that was slightly embarassing. I have added tests and fixed a few bugs with the implementation.

Can we move this forward? If for nothing else, maybe for the added tests? :)


:bug: Add unique keys for answers and questions

Resolves https://issues.redhat.com/browse/MTA-1385

Love the idea of leveraging the select field. I will open a follow up issue for this.


make linux-release64 fails

Hi,
I just cloned a fresh repo and receive this error:
oob@NoobKing ~/noobgame/engine/bgfx $ make linux-release64
make -R -C .build/projects/gmake-linux config=release64
make[1]: Entering directory '/home/noob/noobgame/engine/bgfx/.build/projects/gmake-linux'
==== Building example-common (release64) ====
Creating ../../linux64_gcc/bin
Creating ../../linux64_gcc/obj/x64/Release/example-common
Creating ../../linux64_gcc/obj/x64/Release/example-common/examples/common/font
Creating ../../linux64_gcc/obj/x64/Release/example-common/examples/common/entry
Creating ../../linux64_gcc/obj/x64/Release/example-common/examples/common/nanovg
Creating ../../linux64_gcc/obj/x64/Release/example-common/3rdparty/ocornut-imgui
Creating ../../linux64_gcc/obj/x64/Release/example-common/examples/common/imgui
Creating ../../linux64_gcc/obj/x64/Release/example-common/3rdparty/ib-compress
indexbufferdecompression.cpp
indexbuffercompression.cpp
imgui.cpp
cube_atlas.cpp
bgfx_utils.cpp
camera.cpp
bounds.cpp
imgui.cpp
ocornut_imgui.cpp
entry_glfw.cpp
entry_asmjs.cpp
entry.cpp
../../../examples/common/entry/entry.cpp: In function ‘bx::ReallocatorI* entry::getDefaultAllocator()’:
../../../examples/common/entry/entry.cpp:27:27: warning: shadowed declaration is here [-Wshadow]
  static bx::ReallocatorI* s_allocator = getDefaultAllocator();
                           ^
entry_qnx.cpp
entry_x11.cpp
In file included from ../../../examples/common/entry/entry_x11.cpp:14:0:
../../../include/bgfxplatform.h:82:2: error: expected unqualified-id before ‘{’ token
  {
  ^
../../../include/bgfxplatform.h:81:14: warning: inline function ‘void bgfx::x11SetDisplayWindow(void*, uint32_t, void*)’ used but never defined [enabled by default]
  inline void x11SetDisplayWindow(void* _display, uint32_t _window, void* _glx = NULL);
              ^
example-common.make:463: recipe for target '../../linux64_gcc/obj/x64/Release/example-common/examples/common/entry/entry_x11.o' failed
make[2]: *** [../../linux64_gcc/obj/x64/Release/example-common/examples/common/entry/entry_x11.o] Error 1
Makefile:16: recipe for target 'example-common' failed
make[1]: *** [example-common] Error 2
make[1]: Leaving directory '/home/noob/noobgame/engine/bgfx/.build/projects/gmake-linux'
makefile:90: recipe for target 'linux-release64' failed
make: *** [linux-release64] Error 2

This may have to do with latest commit.

Fixed hour ago, pull again: https://github.com/bkaradzic/bgfx/commit/31357c8786da8455d50ff8264d842963d443736f

Works :)

:+1:


Does it work with Visual Studio as well?

Does this Multi-Value control work with work items opened on Visual Studio form as well?
Ex. If I have a multi value control on User story form, which should render properly on web client, but how it will render on local machine Visual Studio.
Does it need any specific add-on to be installed on local machine to render it.  Note: We are using TFS 2015 Update 3 on-premise setup.

The new extension model is only for the web. So the extension would not show up inside of Visual Studio.


FT TCK method testBulkheadClassSemaphore3 intermittent failures

Method testBulkheadClassSemaphore3 fails intermittently when running in our pipeline. This is likely happening in slower runs.

Some other bulkhead tests I've seen intermittently fail:
BulkheadAsynchRetryTest
BulkheadMetricTest

@barchetta Any stack traces to share?

Added more info to my comment.

I have temporarily disabled these tests until we figure out how to run them reliably in our pipeline.


Update jquery.multi-select.js

Change reference attributes in real time.

This will add ability to use vanilajs for getting the selected options


Harmonize ops/tests with non-in-place transfer even for eager

This makes the code compatible with the change
https://github.com/iree-org/iree-turbine/pull/239
Avoid transfers in all gather/reduce for same shard/device tensors. This removes one unnecessary transfer per device.

For the sharded toy-size Llama export test I am getting a silent compilation failure during ConvertToStreamPass (iree-stream-conversion).

I also see some constants getting embedded into the IR. This is maybe the rotary embedding table. At least one of them.


bugs in authors content

hi,
Recently, we want bulid a lab website based on academic theme. But when I build in local, authors contents always keep some problems. every time when I do  hugo server and log in http://localhost:1313/ to check the authors information. sometimes it show that

which is we want to see
but some times it became that

which we didn't want to see.
Can you help us work it out? whether it would be a bug for unstable version of academic theme?
Thanks a lot

Closing as unrelated to this repo and posting duplicates - https://github.com/gcushen/hugo-academic/issues/1687


Batch processing of task results

Description
As BPDM architect,
I want that the Orchestrator is able to process a batch of task results that includes tasks which already proceeded into one of the next steps,
so that the batch can be processed even if there is one outdated task.
Acceptance Criteria

[ ] A batch of task results is successfully processed even if it contains a task that already proceeded to the next step.
[ ] All open task results are processed. Outdated task results are ignored.

Additional Information
The underlying problem is that the state maintained in the orchestrator is not always in sync with the cleaning service. This causes batches of task results to contain both records that are in need of resolution and tasks that were already resolved. Currently the whole batch is rejected without any indicator which of the provided task results is problematic. Solving the underlying problem would make this issue obsolete.

@nicoprow Maybe the "Aborted" step state is related to our 400 error. When posting a result for an aborted task would the orchestrator return a 400 error? When using batches one aborted task could fail the whole batch. @dilipdhankecha2530 fyi

The expected behaviour for the Orchestrator is to ignore resolutions to already aborted tasks. See test here
If you notice that the orchestrator still returns 400 for aborted tasks please feel free to open a nother bug issue and we will have a look into it.

@StWeisshaar recategorized this issue as a feature which will be provided in the 25.03. release. Pull request already provided (https://github.com/eclipse-tractusx/bpdm/pull/1091)

@nicoprow The Orchestrator will only be able to ignore the aborted tasks until the retention period is reached, right? Once the retention period is over, the Orchestrator might start returning a 400 error?

Yes, a task after the retention period will be deleted. So trying to resolve a non-existing task would result in a 400 error, independent of whether it was aborted before or not. The Orchestrator does not have any information about the task anymore after the retention period


Can't import latest version of trident

🐞 Describe the bug
Can't import the latest version of triton after following the installation steps, on a linux machine with an NVidia T4 GPU and CUDA version 12.0.
🧑🏫 Reproduction
To reproduce:
conda create -n python310 python=3.10 --yes
conda activate python310
pip3 install ipython torch torchvision torchaudio
git clone https://github.com/kakaobrain/trident
cd trident
bash install_package.sh
cd ..
ipython
>>> import trident as tr

🎯 Expected behavior
Importing it should just work
🖼 Screenshots
Here's my stacktrace:
And the error i'm getting is:
ipython
imPython 3.10.13 (main, Sep 11 2023, 13:44:35) [GCC 11.2.0]
Type 'copyright', 'credits' or 'license' for more information
IPython 8.16.1 -- An enhanced Interactive Python. Type '?' for help.

In [1]: import trident as tr
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
Cell In[1], line 1
----> 1 import trident as tr

File ~/trident/trident/__init__.py:15
      1 # Copyright 2023 ⓒ Kakao Brain Corp.
      2 #
      3 # Licensed under the Apache License, Version 2.0 (the "License");
   (...)
     12 # See the License for the specific language governing permissions and
     13 # limitations under the License.
---> 15 from . import function, kernel, util
     16 from .config import *
     17 from .module import *

File ~/trident/trident/function/__init__.py:15
      1 # Copyright 2023 ⓒ Kakao Brain Corp.
      2 #
      3 # Licensed under the Apache License, Version 2.0 (the "License");
   (...)
     12 # See the License for the specific language governing permissions and
     13 # limitations under the License.
---> 15 from .function import *

File ~/trident/trident/function/function.py:21
     17 from typing import Optional, Tuple, Union
     19 import torch
---> 21 from trident import operation
     24 def argmax(input: torch.Tensor, dim: int):
     25     """
     26     Returns the indices of the maximum value of all elements in an input.
     27     """

File ~/trident/trident/operation/__init__.py:15
      1 # Copyright 2023 ⓒ Kakao Brain Corp.
      2 #
      3 # Licensed under the Apache License, Version 2.0 (the "License");
   (...)
     12 # See the License for the specific language governing permissions and
     13 # limitations under the License.
---> 15 from .argmax import *
     16 from .attention import *
     17 from .batch_norm import *

File ~/trident/trident/operation/argmax.py:20
     17 import torch
     18 import triton
---> 20 from trident import kernel, util
     23 class Argmax(torch.autograd.Function):
     24     @staticmethod
     25     def forward(ctx: Any, *args: Any, **kwargs: Any):

File ~/trident/trident/kernel/__init__.py:15
      1 # Copyright 2023 ⓒ Kakao Brain Corp.
      2 #
      3 # Licensed under the Apache License, Version 2.0 (the "License");
   (...)
     12 # See the License for the specific language governing permissions and
     13 # limitations under the License.
---> 15 from .argmax import *
     16 from .attention import *
     17 from .batch_norm import *

File ~/trident/trident/kernel/argmax.py:19
     15 import triton
     16 import triton.language as tl
---> 19 class Argmax:
     20     @staticmethod
     21     @triton.heuristics({"require_x_boundary_check": lambda args: args["x_size"] % args["x_block_size"]})
     22     @triton.jit
   (...)
     32         require_x_boundary_check: tl.constexpr,
     33     ):
     34         y_offset = tl.program_id(0)

File ~/trident/trident/kernel/argmax.py:23, in Argmax()
     19 class Argmax:
     20     @staticmethod
     21     @triton.heuristics({"require_x_boundary_check": lambda args: args["x_size"] % args["x_block_size
     28         y_stride: tl.int32,
     29         x_stride: tl.int32,
     30         dtype: tl.constexpr,
     31         x_block_size: tl.constexpr,
     32         require_x_boundary_check: tl.constexpr,
     33     ):
     34         y_offset = tl.program_id(0)
     36         output_block_ptr = tl.make_block_ptr(
     37             output_ptr,
     38             shape=(y_size,),
   (...)
     42             order=(0,),
     43         )

File /opt/conda/envs/python310/lib/python3.10/site-packages/triton/runtime/jit.py:542, in jit(fn, version, do_not_specialize, debug, noinline, interpret)
    534         return JITFunction(
    535             fn,
    536             version=version,
   (...)
    539             noinline=noinline,
    540         )
    541 if fn is not None:
--> 542     return decorator(fn)
    544 else:
    545     return decorator

File /opt/conda/envs/python310/lib/python3.10/site-packages/triton/runtime/jit.py:534, in jit.<locals>.decorator(fn)                                    [0/569]
    532     return GridSelector(fn)
    533 else:
--> 534     return JITFunction(
    535         fn,
    536         version=version,
    537         do_not_specialize=do_not_specialize,
    538         debug=debug,
    539         noinline=noinline,
    540     )

File /opt/conda/envs/python310/lib/python3.10/site-packages/triton/runtime/jit.py:431, in JITFunction.__init__(self, fn, version, do_not_specialize, debug, noinline)
    429 self.__annotations__ = {name: normalize_ty(ty) for name, ty in fn.__annotations__.items()}
    430 # index of constexprs
--> 431 self.constexprs = [self.arg_names.index(name) for name, ty in self.__annotations__.items() if 'constexpr' in ty]
    432 # launcher
    433 self.run = self._make_launcher()

File /opt/conda/envs/python310/lib/python3.10/site-packages/triton/runtime/jit.py:431, in <listcomp>(.0)
    429 self.__annotations__ = {name: normalize_ty(ty) for name, ty in fn.__annotations__.items()}
    430 # index of constexprs
--> 431 self.constexprs = [self.arg_names.index(name) for name, ty in self.__annotations__.items() if 'constexpr' in ty]
    432 # launcher
    433 self.run = self._make_launcher()

TypeError: argument of type 'dtype' is not iterable

In [2]: import triton.language as tl

In [3]: tl.load
Out[3]: <function triton.language.core.load(pointer, mask=None, other=None, boundary_check=(), padding_option='', cache_modifier='', eviction_policy='', volatile=False, _builder=None)>

💻 Requirements

Platform: Linux
Hardware: Nvidia Tesla T4
Version: CUDA 12.0, Trident latest github version v1.0.2 but also experienced it with master branch.

💬 Additional context
If you could share either a conda yaml or a requirements.txt that would make it just work, that would be awesome.

@hypnopump Could install Trident again? There is no issue on my machine.
bc-user@instance-6285:~/projects/trident$ ipython
Python 3.10.11 (main, Apr 20 2023, 19:02:41) [GCC 11.2.0]
Type 'copyright', 'credits' or 'license' for more information
IPython 8.12.0 -- An enhanced Interactive Python. Type '?' for help.

In [1]: import trident as tr

You can make the dependency for Trident in the reqirements.txt as follows.
trident@git+https://github.com/kakaobrain/trident.git@main

Fails with the same error. Here's my conda env YAML file in case it's useful for reproduction.
my_conda_env.yaml.txt

@ansteve @mejai1206 Could you try reproduce this issue?

Found a solution:
# follow same steps at the start
conda create -n python310 python=3.10 --yes
conda activate python310
pip3 install ipython torch torchvision torchaudio
git clone https://github.com/kakaobrain/trident
cd trident
bash install_package.sh
cd ..
ipython
>>> import trident as td
# this will raise an error

And now, update triton and nvtx:
pip install -U --index-url https://aiinfra.pkgs.visualstudio.com/PublicPackages/_packaging/Triton-Nightly/pypi/simple/ triton-nightly
pip install nvtx
ipython
>>> import trident as td
# this works

Probably it's just a bad commit of triton being installed by default.

@hypnopump That's very strange. Because the latest of Triton is installed while installing Trident. It means that the installed Triton is more latest version than daily build. I guess somehow the old version of Triton is installed in your conda enviornment. Look at Trident's Actions. Trident is tested with the latest Triton.


[Storage][Webjobs] Doc strings and drop Core dependency.

In this PR:

cleanup/tweaks of doc strings.
remove explicit dependency on Azure.Core from webjobs packages

/check-enforcer override


I opened a 5X short position that I think should have been liquidated, but was not

Hi,
I opened a 5X short position that I think should have been liquidated, but was not

@jamiemadrox779 do you think liquidation price is wrong here or liquidation watcher doesn't do it's job?

I closed the position and the loss was 6.70 dollars. But the loss was different from the moment I closed the position. The moment I closed was 1.47 dollars.

I closed the position and the loss was 6.70 dollars. But the loss was different from the moment I closed the position. The moment I closed was 1.47 dollars.

@bitcoinuser did that position had some top-ups or partial withdrawals? or just opened and closed later without any additional actions?

@jamiemadrox779 do you think liquidation price is wrong here or liquidation watcher doesn't do it's job?

liquidation starts at 15% margin, not 18%

or just opened and closed later without any additional actions

This.


Visualizations: Update constraints for RxC plot

Only have 8 colors, so need to implement constraints so that if a user chooses a variable with >8 values for the Y-axis, the plot won't show up, but the table of data will.
Should be fine to have >8 values on the X-axis since color is based on the Y-axis variable

X-axis variable - allow any categorial variable
Y-axis variable - for categorical variables with up to 8 values, show the plot with option to see the table. For categorical variables with >8 values, show the table view only

X-axis variable - allow any categorial variable
Y-axis variable - for categorical variables with up to 8 values, show the plot with option to see the table. For categorical variables with >8 values, show the table view only

@SheenaTomko So this brings up the question: if we don't show a mosaic view for >8 values, what do we show for the mini contingency viz at the grid view?

Ha good question. Ok another potential solution is that we do allow variables with >8 values and we just repeat the colors in the same order

That's the current behavior. Sounds like something else to bring at least @d-callan in on.

I don't know that repeating colors is a great idea. Ideally colors map to unique values. That supports clear visual queries of the plots as well as some memory across plots using those values. The usual thing for us is to include a variable constraint to say that the max number of values for that plot element is 8. I'm fine w that.

@chowington, maybe the simplest thing to do right now is use a variable constraint for the y-axis that impacts both the plot and the table. And we can discuss as a larger group later if/how we want to allow users to use variables with >8 values for the y-axis and just get the table

I think this needs transferred to the data service then, and assigned to me.

the constraint is updated in the data service, available in latest and tag v1.4.2

This requires https://github.com/VEuPathDB/web-eda/issues/402 to be properly QA'd, so leaving "undeployed" until then.

see https://github.com/VEuPathDB/EdaDataService/issues/69 when QA'ing this ticket

Plots work as intended. Will need to work on messaging around why variables are unavailable, but that's a separate ticket.
X-axis doesn't allow variables with >10 values (for readability, see ticket VEuPathDB/EdaDataService#69)
Y-axis doesn't allow variables with >8 values (limited based on number of colors in palette)


Plans to add consul or vault?

This is an amazing little project! I've wanted to play with fedore coreos for awhile... this is a great intro to it.
I hope you don't mind if I ask a few questions?

Was this just a demo? Or are you actually using this setup somewhere?
How does nomad + podman driver get updated? It seems the nomad-binaries.service unit only copies the binaries out if they don't already exist on the host
Do you have any plans to add consul or vault?

This is an amazing little project! I've wanted to play with fedore coreos for awhile... this is a great intro to it.

Thanks! Great!

Was this just a demo? Or are you actually using this setup somewhere?

I am not running that setup but I've confirmed it works.

How does nomad + podman driver get updated? It seems the nomad-binaries.service unit only copies the binaries out if they don't already exist on the host

Right now you can essentially rm the binaries and reboot and you will get the new version. This is the hard part about updates that Nomad does not cover by itself.

Do you have any plans to add consul or vault?

Yes, but I did not have the time to do it yet. Help welcomed!

I've opened the following distinct issues to track the progress on those topics: #3 #4.
Closing this one but feel free to ask further questions if needed.


Add PHP 7.4 to Travis

remove snapshot prefix

Changed to GitHub actions so this is no more needed. Thanks anyway!
https://github.com/tuupola/slim-jwt-auth/actions


(mini.basics) Use a more specific 'TermOpen' autocomand pattern

[x] I have read CONTRIBUTING.md
[x] I have read CODE_OF_CONDUCT.md

The pattern that the “Start builtin terminal in Insert mode” autocommand is using is not specific enough, which seems to cause Neogit to open in insert mode which shouldn’t be possible, causing an error that stops Neogit being used until the esc key is hit:
E21: Cannot make changes, ‘modifiable’ is off
Minimal setup example (using lazy as a plugin manager):
require("lazy").setup({
  {
    "echasnovski/mini.nvim",
    init = function()
      require("mini.basics").setup({})
    end
  },
  {
    "NeogitOrg/neogit",
    dependencies = {
      "nvim-lua/plenary.nvim"
    },
    keys = { { "<C-G>", ":Neogit" } }
  }
})

Disabling the basic autocommands solves the issue, but I’d like to still use them.
Others have found that changing the pattern to term://* stops the Neogit problem, and keeps the autocommand working, which is the method that this PR uses.

Thanks for the PR!
This looks reasonable. I'll investigate a bit to see if there are some other unwanted consequences.

Thanks again for the PR!
I'll added your patch along with some tests and fix for other issue. Should work on current main branch.


In pipfile editable install dependencies was strange.

I use setup.py and editable install with extras requires using pipenv.
pipenv install -e .[dev,testing]

that caused entries to dependency in pipfile.
[packages]
"-e .[dev,testing]" = "*"

Is that entries correct?

this is valid, but not optimal

@aodag I'm curious if you have tried this in the most recent version of pipenv?


macOS: use binary launcher instead of shell script.

Implements #153.

Glad to see a solution to the permissions issue, thanks Tiago!
Do we need to update the documentation somewhere to indicate additional build requirements for packaging Mu?

Glad to see a solution to the permissions issue, thanks Tiago!
Do we need to update the documentation somewhere to indicate additional build requirements for packaging Mu?

No need for that, AFAICT -- having XCode installed is already a requirement, per the notarization requirements. Now the big question is confirming whether this approach actually results in an improved user experience WRT macOS permissons... :)

Perfect, thanks Tiago!


Create a common library for route-agent vxlan driver and vxlan cable driver

What would you like to be added:
Create a common library for routeagent vxlan driver and vxlan cable driver.
Why is this needed:

This is more like a code refactoring and is good to have if new cable drivers (like IPIP) require this driver.

Sorry never got to this either :(


Error parsing reserved keywords as Enum cases

Steps to reproduce:

Try parsing any file with the following code
Any of the following Enum cases give a parsing error. (theres probably way more words, all reserved keywords maybe?)

enum Test {
    case none
    case get(id: String)
    case required
}

Thanks! 👍

@ilyapuchka possible regression due to the changes we merged recently for the keywords?

¯\_(ツ)_/¯ maybe, I can take a quick look

Yes, that's it. I will revert and implement a better way to handle this. There are some other minor issues in this case.

I believe this should be fixed, please let us know if you find any other issues related to this @txaiwieser


Has the data been split into segments for pretraining

The paper says

During the pretraining phase, following BERT, we randomly sample two segments (either from the same context or not) and treat the concatenation of two segments as one sequence to perform permutation language modeling.

I don't really get this, if there is no next sentence prediction what is the point of concatenating segments that do not belong to the same context? Won't that degrade the performance of the model? What is the objective behind using two segments (both from the same context and not)?

The motivation is that the model sees multiple segments during the pretraining phase, which is more consistent with finetuning.

@kimiyoung Thanks I got it!

Hi,
I am still confused about the objective when segments exist:
Does the permutation objective simply treat the following sequence as if there are no segments and therefore the [SEP], [CLS] can sometimes be the target being predicted?
[A, SEP, B, SEP, CLS]
For example, assume both A and B has length 1.
One possible factorization would be
p(x) = p(SEP_1)p(CLS|SEP_1)p(B|CLS,SEP_1)p(A|B,CLS,SEP_1)p(SEP_2|A,B,CLS,SEP_1)

Then, since SEP_2 is the last token in this order, the objective would try to maximize p(SEP_2|A,B,CLS,SEP_1).
Is this correct?
Also, are there any differences in terms of objective for the following two different cases?
(1) segment A and B are from the same context.
(2) segment A and B are from different context.


Add license text

Hi, we would like to package your module for fedora and we need to have license text included in the tarball, could you please merge this PR and preferably also update the npmjs tarball?
Thank you!

Merged, npmjs tarball updated. Thanks.


Remove version: SAGAUserGroupAssociation.SAGAGIS version <IP_ADDRESS>

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

Close with reason: Package still available.;


Task7 completed

Issue: #7
import os
directory = "/home/kali/Desktop"
files = os.listdir(directory)
hidden_files = [file for file in files if file.startswith('.')]
if hidden_files:
print("Hidden files in the directory:")
for hidden_file in hidden_files:
print(hidden_file)
else:
print("No hidden files found in the directory.")

LGTM but your task 3 is incorrect. And your pull request includes all the previous tasks so please fix your task 3 so I merge it.


Documentation needs logdir

"logdir" does not show up on the documentation page for configuration file even though it can be used in a configuration file.

Documentation updated in Revision 0.1.6.


Dictionary comparison not working if keys are the same but values are different

Hi,
We are using this package(1.4.1) to compare 2 objects, works fine except for Dictionary objects.
If the Dictionary keys are same but values are different, it says that the 2 objects are still Equal.
Is there any custom comparer that can be used to compare Dictionaries?
Thanks.

Hi @nishars. I added additional test (https://github.com/ValeraT1982/ObjectsComparer/blob/master/ObjectsComparer/ObjectsComparer.Tests/Comparer_GenericEnumerableTests.cs#L514-L528) and according to this test "If the Dictionary keys are same but values are different, it says that the 2 objects are NOT Equal".
Can you please show your code?

Is it possible that if the Value isn't a primitive type, that the comparison doesn't work?
I think I'm experiencing the same issue, I have a Dictionary<string, SomeClass> and no matter how much I change SomeClass in my second dictionary, the Comparer always reports true i.e. that both dictionaries are equal.

Yes. This is by design. If you create compares as new ObjectsComparer.Comparer() then only members if IBar would be compared.

In the 2nd test I don't explicitly create a Comparer<IBar>, I do create a specific Comparer<Foo>.
But that comparer also only compares IBar members, it ignores Bar.Name.
That is to say, the problem is difficult to spot in that case, and I was also unaware that inheritance hierarchies aren't supported out of the box.

In the second test comparer comparers only members of IBar because Bars declared as IDictionary<string, IBar>


Add AKVideoImageView in UI

Project URL
https://github.com/numen31337/AKVideoImageView
Description
The solution for creating looped animated video backgrounds without blocking the app from going to background mode as AVPlayer do. Good performance and small memory footprint are in.
Why it should be included to awesome-ios (optional)
As I was forced to do my own implementation I believe that there are no same solutions available, and of course, video backgrounds look quite impressive.
Checklist

[x] Only one project/change is in this pull request
[x] Addition in chronological order (bottom of category)
[x] Supports iOS 9 / tvOS 10 or later
[x] Supports Swift 3
[x] Has a commit from less than 2 years ago
[x] Has a clear README in English

          1 Error

:no_entry_sign:
Found 1 link issue

Link issue by awesome_bot

Line
Status
Link

2442
301
http://useyourloaf.com redirects tohttps://useyourloaf.com/

  Generated by :no_entry_sign: Danger