Certificate is not renewed during runtime, but after restart it got renewed

Hello,
I see the strange behavior of le bot. After some time after generating new certificate I got following logs:
nginx-le | trying to update letsencrypt ...
nginx-le | letsencrypt certificate will expire soon or missing, renewing...
nginx-le | Saving debug log to /var/log/letsencrypt/letsencrypt.log
nginx-le | Plugins selected: Authenticator webroot, Installer None
nginx-le | Renewing an existing certificate
nginx-le | Performing the following challenges:
nginx-le | http-01 challenge for blog.makvaz.com
nginx-le | http-01 challenge for bw.makvaz.com
nginx-le | http-01 challenge for makvaz.com
nginx-le | http-01 challenge for notes.makvaz.com
nginx-le | http-01 challenge for vervedea.com
nginx-le | http-01 challenge for www.vervedea.com
nginx-le | http-01 challenge for zametki.makvaz.com
nginx-le | Using the webroot path /usr/share/nginx/html for all unmatched domains.
nginx-le | Waiting for verification...
nginx-le | Challenge failed for domain blog.makvaz.com
nginx-le | Challenge failed for domain bw.makvaz.com
nginx-le | Challenge failed for domain makvaz.com
nginx-le | Challenge failed for domain notes.makvaz.com
nginx-le | Challenge failed for domain vervedea.com
nginx-le | Challenge failed for domain www.vervedea.com
nginx-le | Challenge failed for domain zametki.makvaz.com
nginx-le | http-01 challenge for blog.makvaz.com
nginx-le | http-01 challenge for bw.makvaz.com
nginx-le | http-01 challenge for makvaz.com
nginx-le | http-01 challenge for notes.makvaz.com
nginx-le | http-01 challenge for vervedea.com
nginx-le | http-01 challenge for www.vervedea.com
nginx-le | http-01 challenge for zametki.makvaz.com
nginx-le | Cleaning up challenges
nginx-le | Some challenges have failed.
nginx-le | IMPORTANT NOTES:
nginx-le | Error in atexit._run_exitfuncs:
nginx-le | Traceback (most recent call last):
nginx-le |   File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
nginx-le |     func(*targs, **kargs)
nginx-le |   File "/usr/lib/python2.7/site-packages/certbot/util.py", line 598, in _atexit_call
nginx-le |     func(*args, **kwargs)
nginx-le |   File "/usr/lib/python2.7/site-packages/certbot/_internal/reporter.py", line 97, in print_messages
nginx-le |     next_wrapper.fill(line) for line in lines[1:]))
nginx-le | UnicodeEncodeError: 'ascii' codec can't encode characters in position 266-270: ordinal not in range(128)
nginx-le | Error in sys.exitfunc:
nginx-le | An unexpected error occurred:
nginx-le | UnicodeEncodeError: 'ascii' codec can't encode characters in position 266-270: ordinal not in range(128)
nginx-le |  - The following errors were reported by the server:
nginx-le | Please see the logfiles in /var/log/letsencrypt for more details.
nginx-le | failed to run certbot
nginx-le | '/etc/nginx/conf.d.disabled' -> '/etc/nginx/conf.d/conf.d.disabled'
nginx-le | reload nginx with ssl

So it seem cannot update certificates. But if I restart container (wanted to add more debug info) using docker-compose restart it successfully regenerates new cert.
nginx-le | start nginx
nginx-le | ssl_key=le-key.pem, ssl_cert=le-crt.pem, ssl_chain_cert=le-chain-crt.pem
nginx-le | '/etc/nginx/service-makvaz.com.conf' -> '/etc/nginx/conf.d/service-makvaz.com.conf'
nginx-le | '/etc/nginx/service-vervedea.com.conf' -> '/etc/nginx/conf.d/service-vervedea.com.conf'
nginx-le | '/etc/nginx/conf.d' -> '/etc/nginx/conf.d.disabled'
nginx-le | start letsencrypt updater
nginx-le | trying to update letsencrypt ...
nginx-le | letsencrypt certificate will expire soon or missing, renewing...
nginx-le | Saving debug log to /var/log/letsencrypt/letsencrypt.log
nginx-le | Plugins selected: Authenticator webroot, Installer None
nginx-le | Obtaining a new certificate
nginx-le | Performing the following challenges:
nginx-le | http-01 challenge for blog.makvaz.com
nginx-le | http-01 challenge for bw.makvaz.com
nginx-le | http-01 challenge for makvaz.com
nginx-le | http-01 challenge for notes.makvaz.com
nginx-le | http-01 challenge for vervedea.com
nginx-le | http-01 challenge for www.vervedea.com
nginx-le | http-01 challenge for zametki.makvaz.com
nginx-le | Using the webroot path /usr/share/nginx/html for all unmatched domains.
nginx-le | Waiting for verification...
nginx-le | Cleaning up challenges
nginx-le | IMPORTANT NOTES:
nginx-le |  - Congratulations! Your certificate and chain have been saved at:
nginx-le |    /etc/letsencrypt/live/notes.makvaz.com/fullchain.pem
nginx-le |    Your key file has been saved at:
nginx-le |    /etc/letsencrypt/live/notes.makvaz.com/privkey.pem
nginx-le |    Your cert will expire on 2020-11-01. To obtain a new or tweaked
nginx-le |    version of this certificate in the future, simply run certbot
nginx-le |    again. To non-interactively renew *all* of your certificates, run
nginx-le |    "certbot renew"
nginx-le |  - Your account credentials have been saved in your Certbot
nginx-le |    configuration directory at /etc/letsencrypt. You should make a
nginx-le |    secure backup of this folder now. This configuration directory will
nginx-le |    also contain certificates and private keys obtained by Certbot so
nginx-le |    making regular backups of this folder is ideal.
nginx-le |  - If you like Certbot, please consider supporting our work by:
nginx-le |
nginx-le |    Donating to ISRG / Let's Encrypt:   https://letsencrypt.org/donate
nginx-le |    Donating to EFF:                    https://eff.org/donate-le
nginx-le |
nginx-le | '/etc/letsencrypt/live/notes.makvaz.com/privkey.pem' -> '/etc/nginx/ssl/le-key.pem'
nginx-le | '/etc/letsencrypt/live/notes.makvaz.com/fullchain.pem' -> '/etc/nginx/ssl/le-crt.pem'
nginx-le | '/etc/letsencrypt/live/notes.makvaz.com/chain.pem' -> '/etc/nginx/ssl/le-chain-crt.pem'
nginx-le | '/etc/nginx/conf.d.disabled' -> '/etc/nginx/conf.d'
nginx-le | reload nginx with ssl

Here is my docker-compose file:
version: '2'
services:
    nginx:
        build: .
        image: umputun/nginx-le:latest
        restart: always
        container_name: nginx-le
        logging:
          driver: json-file
          options:
              max-size: "10m"
              max-file: "5"

        volumes:
            - ./etc/ssl:/etc/nginx/ssl
            - /var/log/nginx:/var/log/nginx
            - /etc/nginx/sites-enabled/makvaz.com:/etc/nginx/service-makvaz.com.conf
            - /opt/sites/makvaz.com:/srv/makvaz.com
            - /etc/nginx/sites-enabled/vervedea.com:/etc/nginx/service-vervedea.com.conf
            - /opt/sites/vervedea:/srv/vervedea.com
        ports:
            - "443:443"
            - "80:80"
        environment:
            - TZ=UTC
            - LETSENCRYPT=true
            -<EMAIL_ADDRESS>            - LE_FQDN=notes.makvaz.com,zametki.makvaz.com,blog.makvaz.com,bw.makvaz.com,makvaz.com,www.vervedea.com,vervedea.com
            - SSL_CERT=le-crt.pem
            - SSL_KEY=le-key.pem
            - SSL_CHAIN_CERT=le-chain-crt.pem
        networks:
            - common_web
networks:
  common_web:
    external: true

Using version https://github.com/nginx-le/nginx-le/commit/261afe71a9b729cbd388a52348c5b48261cc9d48
Am I missing anything here?
Thank you for great product.

Thx for the report. This is a strange one, I have been running nginx-le for years on multiple sites and never had anything like this. The issue happens inside of certbot and I have found a few tickets about it dated back to 2017.
I'm not sure what the reason, but would suggest first upgrading to the latest stable (v1.3.0)

docker exec -it 599792d certbot --version
certbot 1.3.0

Will try to debug little bit more and close the ticket if not find anything usefull.

After trying to rebuild image I faced with some dependencies error. Switched to umputun/nginx-le:1.3.0  and closing for now.


Gradle build failed to produce an .apk file. It's likely that this file was generated under

Steps to Reproduce

Execute flutter create test
Then replace the app/build.gralde file with one one share
then create key.properties file add to the android folder
then create upload-keystore.jks  add to the android folder
Execute flutter build apk --release -v

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

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

def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
if (flutterVersionCode == null) {
    flutterVersionCode = '1'
}

def flutterVersionName = localProperties.getProperty('flutter.versionName')
if (flutterVersionName == null) {
    flutterVersionName = '1.0'
}

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

android {
    compileSdkVersion flutter.compileSdkVersion
    ndkVersion flutter.ndkVersion

    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }

    kotlinOptions {
        jvmTarget = '1.8'
    }

    sourceSets {
        main.java.srcDirs += 'src/main/kotlin'
    }

def keystoreProperties = new Properties()
def keystorePropertiesFile = rootProject.file('key.properties')
if (keystorePropertiesFile.exists()) {
    keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
}

    defaultConfig {
        // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
        applicationId "com.example.trail"
        // You can update the following values to match your application needs.
        // For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-build-configuration.
        minSdkVersion flutter.minSdkVersion
        targetSdkVersion flutter.targetSdkVersion
        versionCode flutterVersionCode.toInteger()
        versionName flutterVersionName
    }

    signingConfigs {
        release {
            keyAlias System.getenv('KEY_ALIAS') ?: keystoreProperties['keyAlias']
            keyPassword System.getenv('KEY_PASSWORD') ?: keystoreProperties['keyPassword']
            storeFile System.getenv('KEYSTORE') ? file(System.getenv('KEYSTORE')) : keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null
            storePassword System.getenv('STORE_PASSWORD') ?: keystoreProperties['storePassword']
        }
    }

    buildTypes {
        release {
            signingConfig signingConfigs.release

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

    flavorDimensions "app"
    productFlavors {
        prod {
            isDefault true
            dimension "app"
        }
        demo {
            dimension "app"
            applicationIdSuffix ".demo"
        }
    }

    variantFilter { variant ->
        def names = variant.flavors*.name
            if (variant.buildType.name == "release") {
                if (names.contains("demo")) {
                    setIgnore(true)
            }
        }
    }

    android.applicationVariants.all { variant ->
        variant.outputs.all {
            outputFileName = "app-release.apk"
        }
    }

}

flutter {
    source '../..'
}

dependencies {
    implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
}

Expected results:
I thought that we will normal success messaging saying apk is generated at build\.... path
Actual results:
Got error saying  Gradle build failed to produce an .apk file. It's likely that this file was generated under `C:\path\build`, but the tool couldn't find it.  but, if you check the build path file does got created.

Code sample

Logs

Github says There was an error creating your Issue: body is too long, body is too long (maximum is 65536 characters). So, I am attaching log.txt file
log.txt
[   +1 ms] :app:mergeDexDemoDebug (Thread[Execution worker for ':' Thread 11,5,main]) completed. Took 1.465 secs.
[   +1 ms] :app:packageDemoDebug (Thread[Execution worker for ':' Thread 11,5,main]) started.
[   +1 ms] > Task :app:mergeDexProdDebug
[   +3 ms] Caching disabled for task ':app:mergeDexProdDebug' because:
[   +1 ms]   Build cache is disabled
[        ] Task ':app:mergeDexProdDebug' is not up-to-date because:
[   +1 ms]   No history is available.
[   +1 ms] The input changes require a full rebuild for incremental task ':app:mergeDexProdDebug'.
[        ] Merging to 'C:\trial-learn\trail\build\app\intermediates\dex\prodDebug\mergeDexProdDebug' with D8 from all or
a subset of dex files in C:\trial-learn\trail\build\app\intermediates\project_dex_archive\prodDebug\out,
C:\trial-learn\trail\build\app\intermediates\project_dex_archive\prodDebug\out,
C:\trial-learn\trail\build\app\intermediates\project_dex_archive\prodDebug\out,
C:\trial-learn\trail\build\app\intermediates\external_libs_dex\prodDebug\mergeExtDexProdDebug,
C:\trial-learn\trail\build\app\intermediates\project_dex_archive\prodDebug\out\f76325bf88184d3c4a8eefaa46f6dc732b656a071
4df651a0917124aa8919ca9_0.jar,
C:\trial-learn\trail\build\app\intermediates\project_dex_archive\prodDebug\out\f76325bf88184d3c4a8eefaa46f6dc732b656a071
4df651a0917124aa8919ca9_1.jar,
C:\trial-learn\trail\build\app\intermediates\project_dex_archive\prodDebug\out\f76325bf88184d3c4a8eefaa46f6dc732b656a071
4df651a0917124aa8919ca9_2.jar,
C:\trial-learn\trail\build\app\intermediates\project_dex_archive\prodDebug\out\f76325bf88184d3c4a8eefaa46f6dc732b656a071
4df651a0917124aa8919ca9_3.jar,
C:\trial-learn\trail\build\app\intermediates\project_dex_archive\prodDebug\out\f76325bf88184d3c4a8eefaa46f6dc732b656a071
4df651a0917124aa8919ca9_4.jar,
C:\trial-learn\trail\build\app\intermediates\project_dex_archive\prodDebug\out\f76325bf88184d3c4a8eefaa46f6dc732b656a071
4df651a0917124aa8919ca9_5.jar
[   +1 ms] :app:mergeDexProdDebug (Thread[included builds,5,main]) completed. Took 1.41 secs.
[        ] :app:packageProdDebug (Thread[included builds,5,main]) started.
[        ] > Task :app:packageDemoDebug
[        ] Caching disabled for task ':app:packageDemoDebug' because:
[   +1 ms]   Build cache is disabled
[        ] Task ':app:packageDemoDebug' is not up-to-date because:
[        ]   No history is available.
[   +4 ms] The input changes require a full rebuild for incremental task ':app:packageDemoDebug'.
[        ] :app:packageDemoDebug (Thread[Execution worker for ':' Thread 11,5,main]) completed. Took 2.714 secs.
[   +1 ms] :app:createDemoDebugApkListingFileRedirect (Thread[Execution worker for ':' Thread 11,5,main]) started.
[        ] > Task :app:createDemoDebugApkListingFileRedirect
[        ] Caching disabled for task ':app:createDemoDebugApkListingFileRedirect' because:
[        ]   Build cache is disabled
[        ] Task ':app:createDemoDebugApkListingFileRedirect' is not up-to-date because:
[        ]   No history is available.
[   +1 ms] :app:createDemoDebugApkListingFileRedirect (Thread[Execution worker for ':' Thread 11,5,main]) completed.
Took 0.003 secs.
[        ] :app:assembleDemoDebug (Thread[Execution worker for ':' Thread 11,5,main]) started.
[        ] > Task :app:assembleDemoDebug
[        ] Caching disabled for task ':app:assembleDemoDebug' because:
[        ]   Build cache is disabled
[   +2 ms] Task ':app:assembleDemoDebug' is not up-to-date because:
[        ]   Task has not declared any outputs despite executing actions.
[        ] :app:assembleDemoDebug (Thread[Execution worker for ':' Thread 11,5,main]) completed. Took 0.21 secs.
[   +1 ms] > Task :app:packageProdDebug
[        ] Caching disabled for task ':app:packageProdDebug' because:
[   +1 ms]   Build cache is disabled
[   +1 ms] Task ':app:packageProdDebug' is not up-to-date because:
[        ]   No history is available.
[        ] The input changes require a full rebuild for incremental task ':app:packageProdDebug'.
[        ] :app:packageProdDebug (Thread[included builds,5,main]) completed. Took 2.827 secs.
[        ] :app:createProdDebugApkListingFileRedirect (Thread[included builds,5,main]) started.
[   +1 ms] > Task :app:createProdDebugApkListingFileRedirect
[   +1 ms] Caching disabled for task ':app:createProdDebugApkListingFileRedirect' because:
[   +3 ms]   Build cache is disabled
[        ] Task ':app:createProdDebugApkListingFileRedirect' is not up-to-date because:
[        ]   No history is available.
[        ] :app:createProdDebugApkListingFileRedirect (Thread[included builds,5,main]) completed. Took 0.004 secs.
[        ] :app:assembleProdDebug (Thread[included builds,5,main]) started.
[        ] > Task :app:assembleProdDebug
[        ] Caching disabled for task ':app:assembleProdDebug' because:
[        ]   Build cache is disabled
[        ] Task ':app:assembleProdDebug' is not up-to-date because:
[        ]   Task has not declared any outputs despite executing actions.
[        ] :app:assembleProdDebug (Thread[included builds,5,main]) completed. Took 0.152 secs.
[        ] :app:assembleDebug (Thread[included builds,5,main]) started.
[        ] > Task :app:assembleDebug
[        ] Skipping task ':app:assembleDebug' as it has no actions.
[        ] :app:assembleDebug (Thread[included builds,5,main]) completed. Took 0.001 secs.
[   +1 ms] producer locations for task group 0 (Thread[included builds,5,main]) started.
[   +2 ms] producer locations for task group 0 (Thread[included builds,5,main]) completed. Took 0.0 secs.
[   +1 ms] AAPT2 aapt2-7.1.2-7984345-windows Daemon #0: shutdown
[        ] AAPT2 aapt2-7.1.2-7984345-windows Daemon #1: shutdown
[        ] Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
[        ] You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from
your own scripts or plugins.
[        ] See https://docs.gradle.org/7.4/userguide/command_line_interface.html#sec:command_line_warnings
[        ] Execution optimizations have been disabled for 2 invalid unit(s) of work during this build to ensure
correctness.
[        ] Please consult deprecation warnings for more details.
[        ] BUILD SUCCESSFUL in 58s
[        ] 70 actionable tasks: 68 executed, 2 up-to-date
[        ] Watched directory hierarchies: [C:\trial-learn\trail\android]
[ +596 ms] Running Gradle task 'assembleDebug'... (completed in 104.0s)
[   +7 ms] LocalFile: 'C:\trial-learn\trail\android\build.gradle' provides AGP version: 7.1.2
[   +9 ms] Exception: Gradle build failed to produce an .apk file. It's likely that this file was generated under
           C:\trial-learn\trail\build, but the tool couldn't find it.
[  +12 ms] "flutter run" took 1,05,717ms.
[   +8 ms]
           #0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
           #1      RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:713:9)
           <asynchronous suspension>
           #2      FlutterCommand.run.<anonymous closure>
(package:flutter_tools/src/runner/flutter_command.dart:1209:27)
           <asynchronous suspension>
           #3      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #4      CommandRunner.runCommand (package:args/command_runner.dart:209:13)
           <asynchronous suspension>
           #5      FlutterCommandRunner.runCommand.<anonymous closure>
           (package:flutter_tools/src/runner/flutter_command_runner.dart:281:9)
           <asynchronous suspension>
           #6      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #7      FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:229:5)
           <asynchronous suspension>
           #8      run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
           <asynchronous suspension>
           #9      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #10     main (package:flutter_tools/executable.dart:91:3)
           <asynchronous suspension>

[ +268 ms] ensureAnalyticsSent: 262ms
[   +2 ms] Running shutdown hooks
[   +1 ms] Shutdown hooks complete
[   +2 ms] exiting with code 1

C:\trial-learn\trail>flutter analyze
Analyzing trail...
No issues found! (ran in 5.0s)

Hi @Vedsaga, it looks like you have flavors set up in your project. Do you get the same issue when you specify a flavor?
You can do so by running flutter build apk --release --flavor=<enter flavor name here>

Hi @Vedsaga, it looks like you have flavors set up in your project. Do you get the same issue when you specify a flavor?
You can do so by running flutter build apk --release --flavor=<enter flavor name here>

Hi @danagbemava-nc , no when I specify the flavor flag then, I don't get the error, but I am not specfiy the flavor for a reason because, when I do specify the flavor then apk file name is saving to flavor -release.apk which I don't want that is why I am avoiding to putting flavor. I want to gradle to add flavor.

AFAICT, You will need to specify a flavor when you're building if you have flavors set up in your project.
It seems this is the way gradle has been designed. See https://issuetracker.google.com/issues/36988145.
There's not much flutter can do regarding that.
Closing from here.
Thank you


Git fetch broken in sameersbn/redmine:latest

Today I recognize, that commits are missing in redmine. After some investigation I found out, that fetching changesets in sameersbn/redmine:latest doesn't work:
redmine@cf736b92c9fe:~/redmine$ ./bin/rails runner "Repository.fetch_changesets" -e production
fatal: '' is not a valid branch name.
fatal: '' is not a valid branch name.
fatal: '' is not a valid branch name.
fatal: '' is not a valid branch name.
fatal: '' is not a valid branch name.
fatal: '' is not a valid branch name.
fatal: '' is not a valid branch name.
fatal: '' is not a valid branch name.
fatal: '' is not a valid branch name.
fatal: '' is not a valid branch name.
fatal: '' is not a valid branch name.
fatal: '' is not a valid branch name.

After switching back to sameersbn/redmine:3.4.2 all does working!

Closing issue as there has been no response from @prodigy7

I've got the same
https://www.redmine.org/issues/29416
Here the explanation

$ /projects/www/redmine/bin/rails runner "Repository.fetch_changesets" -e production
fatal: '' is not a valid branch name.

@alexandrkirilov  what version of the redmine docker are you running?


Nuru/TickTrade_bug

Hi,
Attached contained few changes that would address our TickTrade issue that breaks our mobile version. Thanks .

Looks good, except for the svg file :)


WIP: Accessible colors

This Pull Request meets the following criteria:

[ ] Tests have been added/adjusted for my new feature
[ ] New Components are registered in index.js of my project
LiveURL: https://orbit-components-update-tokens-0-6-0.surge.sh

@honzatmn can you please check it?


add support for directive classes

<div
  class:w-40={width === 'large'}
  class:w-30={width === 'medium'}
  class:w-20={width === 'small'}
  class="bg-primary h-1.25 mx-auto rounded-lg"
/>

Ref: https://svelte.dev/tutorial/classes
Originally posted by @lamualfa in https://github.com/windicss/svelte-windicss-preprocess/issues/55#issuecomment-792837341

should be in v3.. to test use >beta.14


(AzureCXP) Fixing bug

fixing set.of() bug. Not a method in the set class, converting String array to set using collections.addall method.

Thanks @FrankHu-MSFT. Help me understand this change. Set.of() is definitely a method on the Set class: https://docs.oracle.com/en/java/javase/12/docs/api/java.base/java/util/Set.html#of(E...)
I just re-tested this and it works as expected. Are you using a different version of the JDK perhaps?

@jasonjoh oh! I should have checked the java version. I was using the wrong java version. I was use 1.8. I see, okay. thanks for clearing that up! Feel free to close this out


Geopackage exports are not clean

Hi !
Just compared shapefiles and geopackage exports during my last export.
The shp export is quite neat, as there are just 3 files/layers : lines, points and polygons (plus the clipping_boundary.geojson file)
The geopackage, on the other side, contains 6 layers : lines, multipolygons, planet_osm_line_lines, planet_osm_point_points, planet_osm_polygon_polygons, points (plus boundary and a separate clipping_boundary.geojson file).
They don't seem to be exactly the same, as they contain similar but different number of features (eg. 5338 for lines vs 5304 for planet_osm_line_lines).
This makes it difficult to know which ones one is supposed to load. After comparing to the shapefile, it seems the planet_osm_* layers are the one that correspond to the shapefile export.
Isn't it be possible to completely remove the other ones from the export ?
Also (but this may not be the export-tool's fault), the lines, points or polygons layers are buggy in QGIS, they appear only a some particular zoom levels (looks like there's a corrupted bounding box or spatial index). The other one work well.
Thanks !
This is how the .gpkg opens in QGIS 3.3 :

@olivierdalang there is a new standalone library at https://github.com/hotosm/osm-export-tool-python which exports geopackages cleanly. this is running now on http://export-staging.hotosm.org . Can you try it there if possible and let me know if the new file output makes sense to you?


Added extension points for retail-ui-extensions

Background
This PR adds the extension points for the retail-ui-extensions library. TL;DR we have two extension points within POS:

Smart grid tile (the tile on the grid that can be dynamic depending on the cart state.
Smart grid modal (the full screen experience that can be presented by tapping on the tile).

Solution
I followed the approach that admin-ui-extensions had for the product subscription extension points.
Checklist

[ ] I have :tophat:'d these changes
[ ] I have updated relevant documentation

@lemonmade I noticed that the checkout extension's extension points approach is quite different. Our original approach matched the admin-ui-extensions, let me know if there are benefits to doing it the checkout way.

@lemonmade I see what you mean about how admin pre optimized for different extension points. POS is likely to be even more different across extension points but I see that in your file that you linked to me, they're all referring to StandardAPI, but that API could in theory be anything right?

Yeah, right now checkout only has one extension point with a different API, https://github.com/Shopify/ui-extensions/blob/main/packages/checkout-ui-extensions/src/extension-points/extension-points.ts#L30-L33. I still think checkout's structure works very nicely for supporting this, that API is all on its own in one file with no surrounding noise, and then included in the mapping.
In general, I would watch out for the API diverging between extension points. Many things can be expressed declaratively in components, instead of through an imperative API. At this point, if you need different data provided to different extension points, that's likely where most of the divergences would come from. If we move to ”input queries”, where extensions list the data they need with GraphQL APIs, extension points likely won't even diverge based on the data they are provided (this is a model we are exploring for checkout extensions).

@lemonmade That looks and sounds like it should meet our requirements. I've pushed a couple commits changing our approach to follow what checkout does. I really like the declaration of the extension points. The rest was just a copy/paste (ie the types.ts,  render-extension.ts. I think a lot of those exports such as ApiForRenderExtension are required to create the react hooks in the react wrapper package

Thank you for going back and restructuring this! I am obviously very biased, but I feel the code is a lot more readable, and it's a lot more clear what kind of types are shareable between the libraries when you see the duplication here and in checkout extensions.
@vividviolet @henrytao-me how do you feel about these different package structures?

@lemonmade I'm totally open to simplifying Admin's types as long as we're able to infer the API interface based on extension point and make it easy to bootstrap new extension points. The current Admin flow works with the new-extension-point generator script and make it so that new extensions points are available for the useData and useContainer hooks. Ex. you can do useData<"MyExtensionPoint"> and useContainer<"MyExtensionPoint">.
We definitely assumed all Admin extension will be significantly different but I'm unsure what the future holds for Admin extensions. Certainly Product Subscription is an outlier as it's very specific and I don't think we'll see another similar extension.

The pattern I am pushing for definitely support type inference (checkout uses the types from the ui-extension library in its app code, to make sure it is providing the correct API and component types for a given extension point). It is is a little harder to bootstrap, though, since there is a shared type that needs to be edited. Do we need to be so concerned with generators, though? We have 4 extension points in the admin after almost two years; at this point, we have made more UI extension libraries than we have made admin UI extension points.


Sphinx 1.7.1 Error

I faced this error while I was coding (typing) in the editor:
after closing it, the Spyder continues to its normal operation, I did not see any after effect.
Windows 10 - Python 3.6.4. The Spyder 3.2.7 was installed using Anaconda

I had to downgrade Sphinx to resolve this. It affected Spyder's help section rendering in my case.
This can be recreated by following the menu path Help > Tutorial.

Thanks for reporting. I was unable to reproduce this on Windows 8.1 with the same Python and Spyder versions when I selected Help > Tutorial, and haven't seen it yet. Do you have Spyder/Anaconda installed in a different drive than your boot disk? That's what the error messages seems to suggest...

@CAM-Gerlach
You're welcome. No I have the Anaconda on the boot drive which is C. This message appeared only after upgrading the Sphinx. in my case this message appeared when I start a new instance of the Spyder and start coding using autocomplete.

This message appeared only after upgrading the Sphinx

Upgrading from which to which version?

in my case this message appeared when I start a new instance of the Spyder and start coding using autocomplete.

So it only appears once per session, and never again? Is it consistant? WHat do you mean, "using autocomplete"? What sequence(s) of actions exactly triggers?
It seems the proximate cause might be related to this Python/windows bug, but I'm not quite sure yet what could actually be triggering it in your case. Is any of your code on anther drive?

as the picture says, upgrading the Sphinx to 1.7.1.
Let me add some information and update the previous post. @DanielAbdelNour  is also correct.
I captured a video from the screen to how reproduce it. This proves you can reproduce the error more than once and it is consistent and it is related to the help.

as the picture says, upgrading the Sphinx to 1.7.1.

As my question says, from which version?

I captured a video from the screen to how reproduce it.

Thanks.

This proves you can reproduce the error more than once and it is consistent and it is related to the help.

More than once in the same session, or just generally?
Regardless, there seems to be something machine specific going on here, as again, I'm unable to reproduce it on my system with Python 3.6.4, Spyder 3.2.7, Sphinx 1.7.1 and Windows 8.1. Please post the full system information that was requested in the issue template (versions of Qt, PyQt, and dependencies) to help us narrow this down.
@DanielAbdelNour Can you do the same? Also, downgrade sphinx to what version? 1.7.0? 1.6.6? Something else?
Thanks.

@CAM-Gerlach
Sorry I did not get that question. The answer is that I remember that I upgraded the Sphinx two times. once from something to 1.7,0 and the last from 1.7.0 to 1.7.1. so what version it had was just before 1.7.0. Besides, this error was producing with 1.7.0 also. I'll put the whole Conda environment information.

 Can you try downgrading to 1.6.6 (with conda install sphinx=1.6.6 and see if the error reoccurs? If not, can you try to locate the version that stops causing the problem? If you can't find it, did you update anything else at the same time you updated Sphinx and first saw the problem?
The environment information is nice, but probably (hopefully) not necessary. What I asked for was what was stated in the new issue template that was apparently deleted/not followed, specifically your Qt and PyQt versions (from Help > About) and main dependencies (From Help > Dependencies > Copy to clipboard).

Dependencies:
IPython >=4.0    :  6.2.1 (OK)
cython >=0.21    :  None (NOK)
jedi >=0.9.0     :  0.11.1 (OK)
nbconvert >=4.0  :  5.3.1 (OK)
numpy >=1.7      :  1.14.1 (OK)
pandas >=0.13.1  :  0.22.0 (OK)
pycodestyle >=2.3:  2.3.1 (OK)
pyflakes >=0.6.0 :  1.6.0 (OK)
pygments >=2.0   :  2.2.0 (OK)
pylint >=0.25    :  1.8.2 (OK)
qtconsole >=4.2.0:  4.3.1 (OK)
rope >=0.9.4     :  0.9.4-1 (OK)
sphinx >=0.6.6   :  1.7.1 (OK)
sympy >=0.7.3    :  None (NOK)

QT and PyQT:

Can you try downgrading to 1.6.6 (with conda install sphinx=1.6.6 and see if the error reoccurs?

I'll try downgrading a.s.a.p. I remember that I updated some other components by Conda commands either, but I don't remember what they were. For now before testing the downgrading, I opened closed/re-opened the Spyder and the error does not appear by the same procedure. Therefore we can say it does not always appear, but when it appears, it is consistent.

Thanks. Let us know what you find.

Therefore we can say it does not always appear, but when it appears, it is consistent.

So again, just to be clear: This consistently you speak of is within the same Spyder session?

So again, just to be clear: This consistently you speak of is within the same Spyder session?

Yes, I always open just one Spyder session. When it appears like few minutes ago, it is consistent and reproducible in that session. I closed and opened the Spyder again. it did not appear so far nor producible.

Hmm, interesting. So it has happened over multiple previous sessions? Any pattern to that? Also, anything different in your current session—project location/working directory, files open, etc?

@CAM-Gerlach
Aha, now it appeared again in the same session which I told you it has not appeared so far,
Now, it can be produced by the same process.
I don't do anything different to create just this error. For the pattern, it appears after I run a code. if I don't run a code it does not appear. The code is on Drive D and Anaconda is installed on Drive C as Windows. Everything including the code is identical before I upgrade the Sphinx.

The code is on Drive D and Anaconda is installed on Drive C as Windows

Well there we go, which is why in my original followup, I asked

Is any of your code on another drive?

With that in hand, I was able to immediately reproduce it after switching my working directory (top right) to another drive, and then went to "Show tutorial" as you mentioned. Therefore, it seems likely the error has to do with use of a relative path (i.e. relative to the working dir) that attempts to access a location on another windows drive somewhere in the Sphinx call. From there, it shouldn't be too difficult for someone to trace and fix. I appreciate your help!

I can confirm that all sphinx help is in fact broken (not showing the tutorial, etc. at all, and only showing plain text of docstrings for Sphinx 1.7.0+ on Windows under the above stated conditions. I can confirm Sphinx <= 1.6.6 is unaffected, so the location for now is to downgrade to that with conda install sphinx=1.6.6 from the Anaconda prompt (or just don't use a working directory different from your Python/Anaconda install).

@CAM-Gerlach
I had to leave the discussion because it was midnight in my time. No part of my code is located on another Drive. All parts are in a single file on Drive D, which Anaconda and Windows are on Drive C. It is the identical situation as it was before upgrading the Sphinx. Now you reproduced it. Thank you for your follow up and patience.

Sorry for the confusion. What I meant by

Is any of your code on anther drive?

is another drive relative to Anaconda; I guess I assumed that would be the most straightforward interpretation (or at least a potential interpretation, such that it would have solicited a response if anything deviated from a "baseline" setup with all code and Anaconda on the same drive) but I guess should have been explicit specifying both.
In any case, thanks to your help, the problem is finally isolated so it can be solved.

This error message is fired in C:\Python27\Lib\site-packages\spyder\plugins\help.py
when an exception in method run of class SphinxThread is handled by the try: except: blocks
This handling prevents the full traceback been shown in Spyder's Internal terminal
If you deactivate the try-except, the traceback appears:
>>> Traceback (most recent call last):
  File "c:\python27\lib\site-packages\spyder\plugins\help.py", line 301, in run
    html_text = sphinxify(doc['docstring'], context)
  File "c:\python27\lib\site-packages\spyder\utils\help\sphinxify.py", line 215, in sphinxify
    sphinx_app.build(None, [rst_name])
  File "c:\python27\lib\site-packages\sphinx\application.py", line 344, in build
    'outdir': path.relpath(self.outdir),
  File "c:\python27\lib\ntpath.py", line 528, in relpath
    % (path_prefix, start_prefix))
ValueError: path is on drive c:, start on drive E:

The problem  explained

Help section rendering uses Sphinx to convert rst text help to nice HTML.Sphinx logs this activity.
Part of this logging is in build method of class Sphinx
c:\Python27\Lib\site-packages\sphinx\application.py circa line 343              logger.info(self.builder.epilog % {
                  'outdir': path.relpath(self.outdir),
                  'project': self.config.project
              })

Calls path.relpath ( os.path.relpath, in Windows defined in c:\python27\lib\ntpath.py ) with a single   argument, some temporary dir usually in C:\
Being called with a single argument, relpath uses second argument's default '.', the python current working dir, say os.getcwd()
relpath fires a ValueError if called with paths from different drives.
So if Spyder's working dir (python current working dir) is not in drive C: , the exception is fired

Why once per session
This exception switches help display mode from richt text to plain text
plain text mode doesnt use Sphinx, so the problem dissapears unless you switch back to richt text mode.
SOLUTIONS
Being involved Sphinx, Spyder and ntpath.py, there are various options

Patch ntpath.py
You could patch relpath in c:\python27\lib\ntpath.py , but this could be dangerous, other scripts can expect this exception been fired and handle it their own way.

Patch Sphinx (my choose)
c:\Python27\Lib\site-packages\sphinx\application.py this way

###                logger.info(self.builder.epilog % {
###                    'outdir': path.relpath(self.outdir),
###                    'project': self.config.project
###                })
                # PATCH----------------------------------------------
                try:
                    the_relpath = path.relpath(self.outdir)
                except ValueError:
                    the_relpath = self.outdir
                logger.info(self.builder.epilog % {
                    'outdir': the_relpath,
                    'project': self.config.project
                })
                # PACH----------------------------------------------

Override relpath in Spyder
In C:\Python27\Lib\site-packages\spyder\utils\help\sphinxify.py
after line 32 , from sphinx.application import Sphinx
insert this

#-----------------------------------------------------------#PATCH
real_osp_relpath = osp.relpath
def relpath_patched(path, start='.'):
    try:
        #print '**** relpath_patched OK ****',path
        return real_osp_relpath(path, start)
    except:
        #print '**** relpath_patched avoided exception ****',path
        return path
sphinx.application.os.path.relpath = relpath_patched
# or os.path.relpath = relpath_patched
#-----------------------------------------------------------#PATCH

Warning: Seems to override relpath in all Spyder app modules, not only in sphinx.application

@RicardoNoguerales, thanks for investigating the source of the problem and giving us a solution. We'll come up with a fix for this in our next release.

@ccordoba12 testing with Sphinx 1.7.5 seems like this is no more an issue:

Thanks @dalthviz! I figured it was no longer a problem since no one else commented here.
Closing then.


ImportChecker for standardized import failovers

Description
Common mistakes in the try-except about missing pip installs:

Forgot to use from keyword
Using ImportError over ModuleNotFoundError
Not using backtick for readability

This PR makes a context manager to standardize all of this
Type of Change

[x] New feature (non-breaking change which adds functionality)

How Has This Been Tested?

[x] Added new unit/integration tests
[ ] Added new notebook (that tests end-to-end)
[x] I stared at the code and made sure it makes sense

Not sure I liked this, going to close it out. Open to feedback though


Skip thunder/tests/test_examine_memory.py:test_nanogpt_block on Hopper

The test fails on H100 due to the changes of actual peak memory changes:
=================================== FAILURES ===================================
______________________________ test_nanogpt_block ______________________________

    @requiresCUDA
    def test_nanogpt_block():
        import thunder.tests.nanogpt_model as nanogpt_model

        config = nanogpt_model.GPTConfig(dropout=0)
        block = nanogpt_model.Block(config).to(dtype=torch.float32, device="cuda")
        cblock = TorchExecutor.make_callable(block)
        inp = make_tensor((2, config.block_size, config.n_embd), dtype=torch.float32, device="cuda", requires_grad=True)
        cblock(inp)

        fw_trace = thunder.last_traces(cblock)[-1]
        bw_trace = thunder.last_backward_traces(cblock)[-1]
        max_mem_fw = get_alloc_memory(fw_trace)
        max_mem_bw = get_alloc_memory(bw_trace)

        result = measure_fw_and_bw_memory_usage(fw_trace, bw_trace)
>       assert max_mem_fw[0] == result["fw_peak"]
E       assert 381754368 == 409017344

thunder/tests/test_examine_memory.py:115: AssertionError

The estimated memory usage is not the same as actual peak memory usage, some changes in cuda/cublas that are unique to Hopper that change the actual memory consumption.
Since the estimated memory usage is a fixed value and has been tested on other hardware types, here is a fix to skip this test case on H100

Hi @crcrpar @kshitij12345 , I tried to skip this test, is that the right way to skip it on Hopper?

The reason is "PyTorch NGC container uses a 32MB workspace for cuBLAS for Hopper for performance reasons."
Related cherry-pick: https://gitlab-master.nvidia.com/dl/pytorch/pytorch/-/commit/6ca9eab1e748338a061bb99651141b32f0575c44
I think it's hard to get the cublas workspace size in python level and not necessary, the estimated memory is a fixed value. We can either skip this test case or modify it to assert equal to a fixed value, wdyt @crcrpar @kshitij12345

Hi @IvanYashchuk @kshitij12345 @crcrpar , do we merge this to fix the container nvbug, or modify it to assert the estimated memory to equal to a fixed value


Remove Duplicates from an Array

Write a function that takes an array of integers and removes any duplicate values, returning a new array.
For example, from the array [1, 2, 2, 3, 4, 4], the output should be [1, 2, 3, 4].

Hi @Saloni6111 ,
I came across this issue and would love to contribute. This is my first time contributing to this project, but I have some experience in DSA with Python. Could you please assign me this issue? I’d be happy to work on it.
Thank you!

Hi @Saloni6111 ,
I came across this issue and would love to contribute. This is my first time contributing to this project, but I have some experience in DSA with Python. Could you please assign me this issue? I’d be happy to work on it.
Thank you!

Sure, it's already assigned to you. Please go ahead!

Thanks


Nvidia Exporter

Add a prometheus exporter for GPU monitoring and an accompanying Grafana dashboard

Nvidia exporter installed to all GPU nodes as a service. Some GPU nodes are unreachable and so are ignored by Prometheus for now. Dashboard is up with all necessary metrics displayed.


Make DOTNET_RUNNING_IN_CONTAINER imply DOTNET_USE_POLLING_FILE_WATCHER

For dotnet watch
See https://github.com/dotnet/dotnet-docker/issues/432

FYI https://github.com/aspnet/DotNetTools/issues/416 gives me pause on this. We may need to do more work on the polling watcher first before we default everyone into this with no good opt-out.

Closing because we do not currently have plans to make this change.


The not found handler is returning 200 instead of 404

When returning a 404 from a controller or even from Sailor itself, the status code is 200 and not 404 like it should be.
I believe the problem lies in https://github.com/sailorproject/sailor/blob/master/src/sailor.lua#L148, but I am not sure. A not found page should return 404 status...

I can work on a PR if that is indeed the correct location...

@soapdog Which web server are you using?

@felipedaragon local development with Xavante and deployment to Apache.

duplicate https://github.com/sailorproject/sailor/issues/24
I never succeeded in making xavante do the appropriate code return. I can try again

It is happening on both Xavante and Apache. I will work out a PR.

Oh yea, it should not be the case in apache! Thanks for the PR :)

I am not sure but...
If web server return 404 error then a browser will show it own 404 error page. So, it will not be custom 404 web server error page. If web server return custom 404 error page then it will do with 200ok because it is a normal page for a browser.
Is the framework currently support custom 404 error page? I have tested to go on http://sailorproject.org/help and have got this text:
/var/www/sailor_framework/src/sailor.lua:184: module 'controllers.help' not found:
no field package.preload['controllers.help']
no file '/var/www/sailor/controllers/help.lua'
no file '/usr/local/share/lua/5.1/controllers/help.lua'
no file '/usr/local/share/lua/5.1/controllers/help/init.lua'
no file '/usr/local/lib/lua/5.1/controllers/help.lua'
no file '/usr/local/lib/lua/5.1/controllers/help/init.lua'
no file '/usr/share/lua/5.1/controllers/help.lua'
no file '/usr/share/lua/5.1/controllers/help/init.lua'
no file '/var/www/sailor_framework/src/controllers/help.lua'
no file '/var/www/sailor/controllers/help.so'
no file '/usr/local/lib/lua/5.1/controllers/help.so'
no file '/usr/lib/x86_64-linux-gnu/lua/5.1/controllers/help.so'
no file '/usr/lib/lua/5.1/controllers/help.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
no file '/var/www/sailor/controllers.so'
no file '/usr/local/lib/lua/5.1/controllers.so'
no file '/usr/lib/x86_64-linux-gnu/lua/5.1/controllers.so'
no file '/usr/lib/lua/5.1/controllers.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
stack traceback:
[C]: in function 'require'
/var/www/sailor_framework/src/sailor.lua:184: in function
[C]: in function 'xpcall'
/var/www/sailor_framework/src/sailor.lua:184: in function
(tail call): ?
Not custom 404 error page.
:(

If web server return 404 error then a browser will show it own 404 error page

@superriva, try to debug some popular site custom 404 page, for example http://google.com/non-existing-page with chrome developer tools, Network tab and you'll see Status Code: 404

Exactly @d9k. Status codes should be respected. You can have a custom 404 and return the correct code. I forgot to do this PR, argh. Will fix.


[omplapp] fix build

@autoantwort , please consider migrating it to the new functions
vcpkg_extract_source_archive_ex -> vcpkg_extract_source_archive


[Snyk] Upgrade io.grpc:grpc-stub from 1.60.1 to 1.61.0

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to upgrade io.grpc:grpc-stub from 1.60.1 to 1.61.0.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 1 version ahead of your current version.
The recommended version was released 23 days ago, on 2024-01-12.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

All of the dependencies are updated in this PR


ffmpeg fails to configure due to ongoing tmp folder issues

After a bit of an issue with pkg-config where I had to repoint the tmp folder to the linuxbrew tmp folder, I ended up getting a problem with ffmpeg configuration:
╰─➤  brew install ffmpeg
==> Downloading https://www.ffmpeg.org/releases/ffmpeg-2.5.3.tar.bz2
Already downloaded: /home/admin/.cache/Homebrew/ffmpeg-2.5.3.tar.bz2
==> ./configure --prefix=/home/admin/.linuxbrew/Cellar/ffmpeg/2.5.3 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=/usr/bin/gcc --host-cflags=-Os -w -pipe -march=core2 --host-ldflags=-L/home/admin/.linu
If you think configure made a mistake, make sure you are using the latest
version from Git.  If the latest version fails, report the problem to the
<EMAIL_ADDRESS>mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "config.log" produced by configure as this will help
solve the problem.

READ THIS: https://github.com/Homebrew/linuxbrew/blob/master/share/doc/homebrew/Troubleshooting.md#troubleshooting

These open issues may also help:
Improve ffmpeg caveats regarding AAC (https://github.com/Homebrew/homebrew/pull/35876)
ffmpeg failed to build on 10.7.5 (https://github.com/Homebrew/homebrew/issues/34963)
gpac 0.5.0 doesn't build against ffmpeg 2.4.1 (https://github.com/Homebrew/homebrew/issues/32978)

After I found that the logging was in the OS X location and fixing it so that the logs are within the linuxbrew folder that makes more sense on Linux, I ended up seeing another issue where I believe that the HOMEBREW_TEMP folder may not be set properly in some cases.  In the config.log I see:
./configure: line 3143: /tmp/admin/ffconf.xtJP1qPn.sh: Permission denied

Is there another temp var that should be set since the HOMEBREW_TEMP (in this case the linuxbrew/tmp folder) is not being effective for configure?

So something is indeed causing this to want to use /tmp still instead of the tmp set via HOMEBREW_TEMP.  When I issued a sudo mount -o remount,exec /tmp and checked the mount points, it was fine and the compilation of ffmpeg proceeded without a hitch.
We need to figure out a way to make sure that we are able to use another tmp folder because using /tmp all the time without noexec is just not something I want to have continually running.  The other option might to be to run a check on compilation and warn the user to execute mount -o remount,exec /tmp or even execute that command for the user and then re-execute mount -o remount,noexec /tmp (or rather gather all of the options from fstab and execute the remount to get it back to its original settings).

Does setting both TMPDIR and HOMEBREW_TEMP work?


S band tipping curve

This is the fix for the error reported in MRTS-497.
The default frequencies are in steps of 250 MHz starting at 2000 MHz for S-band
The second part a fix the subroutine plot_data_freq. There is now a check to make sure there are valid frequencies .

This is no longer relevant


Type Aliases in type tests are incorrectly warned as always true/false when testing literal or local values

Given the following type alias:
typealias SillyString = String(this.startsWith("a") && this.length == 5)

The following RHS of the result expressions are all labelled with the warning Expression is always 'false' regardless of whether the value of the expression is true or false:
result1 = "abcde" is SillyString  // Expression is always 'false' (but is actually true)
result2 = "xyz" is SillyString  // Expression is always 'false' (and is actually false)

local value1 = "abcde"
result3 = value1 is SillyString  // Expression is always 'false' (but is actually true)

This doesn't happen with non-local names.
This gets flipped to true by default if creating a type alias with no type constraints:
typealias SillierString = SillyString

In this case, for example, "xyz" is SillierString is flagged as always being true when it is actually false.
I would expect that either:

This warning didn't show up, or at least didn't show up in test cases. For example, I used <thing> is <alias> in several test cases, and the warnings here are unnecessary.
This warning evaluated the correct value of true/false for the given expression.

Ouch. Thanks for the report. I agree that it's better not to warn than to warn in the wrong direction. What is even stranger is that I would have expected the plugin to give up on && (since constraints are arbitrary functions, the plugin can't/shouldn't evaluate them generally; it only checks a set of hardcoded functions). Independent of this bug report, I generally recommend using , instead of && (if you don't have || making that semantically different) in constraints.

Whoops! I missed "comma-separated list of type constraints" in the docs! Thanks for the tip. That doesn't change the behaviour described above, should it have?


Text Field On OnDebounceIntervalElapsed function not triggered after interval

Bug type
Component
Component name
MudTextField
What happened?
I have the following component described in my razor file
                            <MudTextField T="double?"
                                          InputType="InputType.Number"
                                          Variant="Variant.Text"
                                          Adornment="Adornment.End"
                                          AdornmentColor="Color.Info"
<EMAIL_ADDRESS><EMAIL_ADDRESS>                                          Disabled="!DeviceOn"
                                          DebounceInterval="1000"
                                          OnDebounceIntervalElapsed="@(e => HandleTemperatureChange())"

As you can see a method "HandleTemperatureChange" is called at the end of the debounce interval.
In mudblazor versions < 5.1.0 the method is executed as expected. But after upgrading to version 5.1.4 the method is no longer called.
Expected behavior
The HandleTemperatureChange method should be executed after the debounce interval
Reproduction link
https://try.mudblazor.com/snippet/mYcFuZchyrGSpIQy
Reproduction steps

Install mudblazor 5.1.0 or above
any method within The OnDebounceIntervalElapsed is not executed when it should be

...
Relevant log output
No response
Version (bug)
5.1.4
Version (working)
5.0.15
What browsers are you seeing the problem on?
Chrome
On what operating system are you experiencing the issue?
Windows
Pull Request

[ ] I would like to do a Pull Request

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Sees to work fine:

Yeah ok, i'll get a repo uploaded so that it can be re-created

Closed as I cannot recreate the issue and reducing the debounceinterval has resolved the issue for my application


1007 | Minimum Domino Rotations For Equal Row | Python

Minimum Domino Rotations For Equal Row -
What will change -
Type of Issue -

[x] Adding New Code

Programming Language

[x] Python

Self Check

Ask for issue assignment and wait to get assigned to it before making Pull Request.
Add your file in the proper folder
Clean Code and Documentation for better readability
Add Title and Description of the program in the file

:star2: Star it :fork_and_knife:Fork it :handshake: Contribute to it!
Discord server ✉ - https://discord.gg/CXksGdn
Happy Coding,

Requesting to be assigned to the issue to contribute to the repo.
Cheers!

Requesting to be assigned to the issue to contribute to the repo.
Cheers!

@SSKale1
@Yashica7
@swaingotnochill
@JOKUE2002


Renamed X_train -> X, y_train -> y

Issue #, if available:
Description of changes:

Renamed X_train -> X to align with sklearn API.
Renamed y_train -> y to align with sklearn API.

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

Job PR-951-1 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-951/1/index.html

Job PR-951-3 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-951/3/index.html


Installation Works, but Setup Loops

Installed the webgui, but the interface has issues and it looks whenever I attempt to create a user:

Ubuntu 22.04 LTS, all dependencies installed. What am I missing here?

Hrrrm interesting... That's definitely not right. None of the Bootstrap CSS is showing, but off the top I'm not sure why. For reference that page is supposed to look like this.
https://github.com/BlueSquare23/web-lgsm/blob/master/docs/images/add_user.png
Unfortunately, I'm not able to reproduce this with a fresh install on a test Ubuntu 22.04 system.
As for helping you debug; I'd advise trying the following.

What does the contents of your web-lgsm.log file look like? Any errors in there?
You can try to start the server via the debug start script. You'll have to first source the python virtual env and then you can run the debug script to start the server in your terminal.

cd web-lgsm
source venv/bin/activate
python app.py
Go to, http://localhost:5000
Does that look any different, show any obvious errors?

Thanks for your quick response!
Here's what I get when I source:

I don't see any errors or anything when I look in the log. I'm at a loss as well.

So that output looks pretty normal. Did you click submit on the web page while running the server in your terminal like that? The server should have caught a POST request and I was hoping that would maybe have an error in it.
What about in your browser? If you hit F12 and go to the network tab, do you get any errors there when you try to click submit?

What about in your browser? If you hit F12 and go to the network tab, do you get any errors there when you try to click submit?

Ah! Looks like an issue with a CORS request:

Is it expecting it to be secure? Appreciate the time you're spending to assist!

Hey, sorry took me so long to reply. Those CORS errors probably explain why your CSS is broken. And they might* be related. But that's actually not what I was talking about.
I meant spin up the server in your terminal in debug mode. Then in your browser go to http://<IP_ADDRESS>:5000, hit F12 to open the browser console, then go to the network tab. Finally, try to create a user and click submit.
So you can see here the before I click Submit:

And then after:

After hitting submit you can see there in the browser's network tab, the first thing listed is a POST to /setup with status 302 which you can also see reflected down in the terminal console: "POST /setup HTTP/1.1" 302.
Now yours doesn't do that, from what it sounds like. But if you can show me how exactly yours is failing, I might* be able to help you get it working. Also if you can provide me with some more information about what browser you're using that could be helpful too.
Long shot, but do you have JavaScript disabled by any chance?

Is it expecting it to be secure? Appreciate the time you're spending to assist!

This app should work fine without SSL (aka with just plain old http). You can see there from my previous screenshots http://<IP_ADDRESS>:5000 renders fine. I've tested this in Firefox and Chrome.
You don't need SSL if you're just going to run this on your desktop and connect to in from a browser on that same system. But SSL IS recommended for any sort of "production" deployment (aka if you're going to connect to it over the internet you don't want to send login creds in plain text).

 Reinstalled, did everything same as before, just through Linux server CLI. Did install just fine, changed init.sh to use <IP_ADDRESS>, opened the firewall to port 12357 for a certain LAN machine, and boom, everything's happy.
Appreciate the help. Clearly just a ID10T error on my part.

Considered closed!

Yeah no problem! Glad you figured it out. Hope you enjoy / get some use out of the project! If you ever need anything else feel free to reach out!
https://johnlradford.io/contact.php


One Feed hangs when fetching

This is not a bug report or feature request.
Whenever my feeds refresh, it hangs at (n-1/n) feeds. I assume there's a single feed that takes longer than the others to refresh. How can I find out which? Is there a log somewhere?

What kind of account are you using?

NetNewsWire of Yore had an Activity window which would let you see that. That’s something we could consider adding to modern NetNewsWire. (Should create a separate feature request for this. Might be one already.)

I'm using "on my mac" only


icon investigate

unocss, presetIcons
https://icones.js.org
https://iconify.design
https://fontawesome.com/search?o=r&m=free

https://github.com/nuxt/icon

prefer unocss icon with https://iconify.design/
pnpm add -D
@unocss/preset-icons
@iconify-json/mdi
@iconify-json/flag


How do we measure "activity"?

What metrics should we use to determine how "active" a meetup group is?

[x] total number of group members
[x] frequency of events
[x] count of yes rsvps
[x] number of event comments
[x] number of photo albums per group
[x] number of photos per event

See comments below about photos per event and photos per group
Updates - Additional metrics identified per comments below:

[ ] Age of meetup group
[ ] Time since last event

per Susan Malaika

frequency of meetings
comments
numbers of attendees
numbers in the group

Right now I've plotted some maps using a rounded natural log of a given metric to create an ordinal/numeric size factor. This would also be useful for filtering out and looking at the top tier in histogram plots. Mostly I've looked at simple frequencies like number of members, number of events. I've noted some other things worth computing as well and will spend some time on that next week.

Currently just need to measure event frequency. I lifted some code from the CI work I did to evaluate time between releases for Github projects in my sample. This just needs to be adapted to look at time between events and to see if there's any consistency.

Next steps:

[ ] Determine alternate ways to visualize the data (ie, think more about our questions)
[ ] What metrics seem to be the most relevant?
[ ] Can we come up with a single or a subset of metrics to categorize the meetup groups?
[ ]  Identify additional metrics of interest and add them to the first comment

Categories to think about:

Activity level: high, low (computed based on time intervals)
Maturity level: mature (age > x days), young (age < x days)
Growth trend: growing (activity level increasing), fading (activity level decreasing)

Big Picture Reminders:
The goal here is to make these metrics reusable so we can run them against different sets of meetup groups besides the IBM Big Data Developers. So keep thinking in terms of larger categories and how to make wide, apples-to-apples comparisons.
Larger questions:

If I want to attend a meetup, sponsor an event, or present, which cities would be my best bet for making the greatest impact (highest activity levels + growth)?
What cities look the most promising for future community investment?

y=group category, x=number of members - boxplot freq of meetups per category


is there any way to change the thickness of links by it weight. i just want to change stroke-width for each path .

Thank you for taking the time to report an issue with react-d3-tree!
Feel free to delete any questions that do not apply.
Are you reporting a bug, or opening a feature request?
feature request
What version of react-d3-tree are you using?
version: 1.10.6

you can allow user to pass this props(weight) in data similar to nodeSvgShape.  which will render with all path and change the thickness by its weight.  every node object may contain weight value which will directly added to stroke_width of path and it will change the thickness of edge by its weight. it will be very helpful for us if you add this feature

you can custom pathFunc property.
`(linkData, orientation) => {
const a = linkData.source;
const b = linkData.target;
if (orientation === 'vertical') {
    ...
} else {
    ...
}

return `M ${x1}, ${y1} H ${midX} V ${y2} L ${x2}, ${y2}`;   // return svg path.


[Feature check] Add tizen 6.5 compatibility

Dependency of the PR
Commits to be reviewed in this PR
[Feature check] Add tizen 6.5 compatibility
As prefix has been added to the ml_tizen_set_feature_state for tizen
7.0 this patch makes backward compatible to the old tizen version
Self evaluation:

Build test: [X]Passed [ ]Failed [ ]Skipped
Run test: [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: Jihoon Lee<EMAIL_ADDRESS>

:memo: TAOS-CI Version: 1.5.20200925. Thank you for submitting PR #1730. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://nnstreamer.mooo.com/.

:octocat: cibot: @zhoonit, api/capi/src/nntrainer-capi-tizen-feature-check.cpp does not include Doxygen tags such as @file @brief @author @bug. You must include the Doxygen tags in the source code. Please refer to a Doxygen manual at http://github.com/nnstreamer/TAOS-CI/blob/main/ci/doc/doxygen-documentation.md


HHH-12872 Reduce memory consumption of XSD schema validations

For master only.

https://hibernate.atlassian.net/browse/HHH-12872

Merged, thanks!


[map-basic] Improve EOX tile source config/definition

We have different tile urls (the cached https://s2maps-tiles.eu and the one with more levels https://tiles.maps.eox.at), maybe we should provide a way to choose which one should be used.
Also, is there a way to automatically get the config from http://tiles.maps.eox.at/wmts/1.0.0/WMTSCapabilities.xml?

added WMTS capabilites functionality in ddcc75a08d830b1ae74d2298da84c0267b1303b9 - although it is not yet at the correct abstraction layer - ideally this could be a separate package living in a slot?

added WMTS capabilites functionality in ddcc75a08d830b1ae74d2298da84c0267b1303b9 - although it is not yet at the correct abstraction layer - ideally this could be a separate package living in a slot?


Filter allowed content during paste

Pasting HTML including links into bio should remove the links (as not allowed) but does not.

Solved via #854


Added variable to build.cmd to capture the script path.

Solves issue #3152

Hi @angrifel, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by .NET Foundation and real humans are currently evaluating your PR.
TTYL, DNFBOT;

Nice one, thanks!


Request "always" has a Uri

Request has the following method:

fn uri(&self) -> &Uri

Returns a reference to the associated URI.

But an actual HTTP request doesn't always contain a URI. HTTP's RFC notes that a request has a request-target, which is,
     request-target = origin-form
                    / absolute-form
                    / authority-form
                    / asterisk-form

Only absolute-form is a URI; the remaining three are not. origin-form, I would say, is the form most folks implementing basic CRUD APIs are going to interact with.
My concern is that the API encourages writing origin servers that will respond to non-origin requests poorly, and defeats the point of strong static typing by essentially munging what is an enumeration into a singly string. (i.e., it "stringly types" the data)
E.g., if you receive the following request:
GET http://example.com/ HTTP/1.1
Host: example.com
Connection: close

(assuming the receiving server is not example.com) If your routing does something like request.uri() == "/something", you won't erroneously match a proxy request; however, you're still likely to return 404. If you do request.uri().path(), you're likely going to incorrectly respond with the wrong content.
Ultimately, I feel that the actual type implied by the spec is,
enum RequestTarget {
    Origin(Path),
    Absolute(Uri),
    Authority(Authority),
    Asterisk,
}

This would render some of the method that presume they can always return things (e.g., Request::uri) into Options. (e.g., Request::uri() -> Option<Uri>); but this would also mean Uri would actually represent a URI and wouldn't need to be capable of handling weird things like "*". (As others noted: Uri seems like something that should be more common than it is, and removing HTTP-specific meanings from it makes it more easily extractable.)
Request might benefit from some helper methods to deal with "I just want to write an origin server" — but again, the need for such is already present, hidden behind the fact that all four types are munged into one.

How does H2 fit in where the URI is basically always in absolute form?
IMO this could be handled by whatever lib providing a sanitization layer catching proxy requests (if that matters). Forcing all users to do a pattern match just to pull out the path does not seem like a great experience.

Closing due to inactivity. If you wish to continue the discussion, please comment and I can reopen.


Resolve the pid field in PeerCredentials of KQueueDomainSocketChannels.

Motivation:
This resolves a TODO from the initial transport-native-kqueue implementation, supplying the user with the pid of the local peer client/server process.
Modification:
Inside netty_kqueue_bsdsocket_getPeerCredentials, Call getsockopt with LOCAL_PEERPID and pass it to PeerCredentials constructor.
Add a test case in KQueueSocketTest.
Result:
Fixes https://github.com/netty/netty/issues/9213

@netty-bot test this please

@EliyahuStern please also sing our ICLA: https://netty.io/s/icla

@normanmaurer - already did. Should I sign it again?

@EliyahuStern thanks a lot!

@normanmaurer sure, it's been a pleasure. Hope I can contribute more in the future.

@EliyahuStern awesome... I hope so too ;)


exception when clicking apply or ok

OS: Windows 10 21H1 19043.2006
Log output:
11/2/2022 9:48:53 AM -04:00 Error: handling Apply: System.Runtime.InteropServices.COMException (0x88890008): 0x88890008
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode)
   at NAudio.CoreAudioApi.AudioSessionManager.RefreshSessions()
   at NAudio.CoreAudioApi.AudioSessionManager..ctor(IAudioSessionManager audioSessionManager)
   at NAudio.CoreAudioApi.MMDevice.GetAudioSessionManager()
   at NAudio.CoreAudioApi.MMDevice.get_AudioSessionManager()
   at AutoGame.Infrastructure.Services.MMDeviceEnumeratorWrapper.MMDeviceWrapper.get_AudioSessionManager()
   at AutoGame.Infrastructure.LaunchConditions.ParsecConnectedCondition.RegisterMMDeviceEvents(IMMDevice mmd, IList`1 parsecProcs)
   at AutoGame.Infrastructure.LaunchConditions.ParsecConnectedCondition.RegisterAudioEvents()
   at AutoGame.Infrastructure.LaunchConditions.ParsecConnectedCondition.StartMonitoring()
   at AutoGame.Core.Services.AutoGameService.ApplyConfiguration(Config config)
   at AutoGame.ViewModels.MainWindowViewModel.OnApply() in D:\a\AutoGame\AutoGame\src\AutoGame\ViewModels\MainWindowViewModel.cs:line 235
11/2/2022 9:49:07 AM -04:00 Error: handling Apply: System.Runtime.InteropServices.COMException (0x88890008): 0x88890008
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode)
   at NAudio.CoreAudioApi.AudioSessionManager.RefreshSessions()
   at NAudio.CoreAudioApi.AudioSessionManager..ctor(IAudioSessionManager audioSessionManager)
   at NAudio.CoreAudioApi.MMDevice.GetAudioSessionManager()
   at NAudio.CoreAudioApi.MMDevice.get_AudioSessionManager()
   at AutoGame.Infrastructure.Services.MMDeviceEnumeratorWrapper.MMDeviceWrapper.get_AudioSessionManager()
   at AutoGame.Infrastructure.LaunchConditions.ParsecConnectedCondition.UnRegisterMMDeviceEvents(IMMDevice mmd, IList`1 parsecProcs)
   at AutoGame.Infrastructure.LaunchConditions.ParsecConnectedCondition.UnRegisterAudioEvents()
   at AutoGame.Infrastructure.LaunchConditions.ParsecConnectedCondition.StopMonitoring()
   at AutoGame.Core.Services.AutoGameService.StopMonitoringAllLaunchConditions()
   at AutoGame.Core.Services.AutoGameService.ApplyConfiguration(Config config)
   at AutoGame.ViewModels.MainWindowViewModel.OnApply() in D:\a\AutoGame\AutoGame\src\AutoGame\ViewModels\MainWindowViewModel.cs:line 235
11/2/2022 9:49:09 AM -04:00 Error: handling Apply: System.Runtime.InteropServices.COMException (0x80070490): Element not found. (0x80070490)
   at NAudio.CoreAudioApi.Interfaces.IMMDeviceEnumerator.UnregisterEndpointNotificationCallback(IMMNotificationClient client)
   at NAudio.CoreAudioApi.MMDeviceEnumerator.UnregisterEndpointNotificationCallback(IMMNotificationClient client)
   at AutoGame.Infrastructure.Services.MMDeviceEnumeratorWrapper.UnregisterEndpointNotificationCallback(IMMNotificationClient client)
   at AutoGame.Infrastructure.LaunchConditions.ParsecConnectedCondition.UnRegisterAudioEvents()
   at AutoGame.Infrastructure.LaunchConditions.ParsecConnectedCondition.StopMonitoring()
   at AutoGame.Core.Services.AutoGameService.StopMonitoringAllLaunchConditions()
   at AutoGame.Core.Services.AutoGameService.ApplyConfiguration(Config config)
   at AutoGame.ViewModels.MainWindowViewModel.OnApply() in D:\a\AutoGame\AutoGame\src\AutoGame\ViewModels\MainWindowViewModel.cs:line 235
11/2/2022 9:54:47 AM -04:00 Error: handling Apply: System.Runtime.InteropServices.COMException (0x80070490): Element not found. (0x80070490)
   at NAudio.CoreAudioApi.Interfaces.IMMDeviceEnumerator.UnregisterEndpointNotificationCallback(IMMNotificationClient client)
   at NAudio.CoreAudioApi.MMDeviceEnumerator.UnregisterEndpointNotificationCallback(IMMNotificationClient client)
   at AutoGame.Infrastructure.Services.MMDeviceEnumeratorWrapper.UnregisterEndpointNotificationCallback(IMMNotificationClient client)
   at AutoGame.Infrastructure.LaunchConditions.ParsecConnectedCondition.UnRegisterAudioEvents()
   at AutoGame.Infrastructure.LaunchConditions.ParsecConnectedCondition.StopMonitoring()
   at AutoGame.Core.Services.AutoGameService.StopMonitoringAllLaunchConditions()
   at AutoGame.Core.Services.AutoGameService.ApplyConfiguration(Config config)
   at AutoGame.ViewModels.MainWindowViewModel.OnApply() in D:\a\AutoGame\AutoGame\src\AutoGame\ViewModels\MainWindowViewModel.cs:line 235

It looks like it's crashing when scanning audio devices or something? I have a ton of connected audio devices:

MOTU Pro Audio 624 (Thunderbolt, creates 2 devices: one stereo and one 24 channel)
Motherboard Realtek Audio
Oculus Rift S USB Audio
Oculus Quest 2 Virtual Audio
Virtual Desktop Audio
Steam Link Virtual Speakers / Microphone
Scream WDM Drivers
RTX Voice (the legacy one that works with 10 series cards)

Thanks for the detailed bug report. At the moment the application uses audio events and state to help determine when a Parsec session starts. A few months back I was working on a version that didn't use audio at all. I was planning on finishing that version eventually anyway. No time like the present.

I also have this issue, any potential workaround we can do ourselves in the meantime? :)

Nothing I can think of beyond unplugging/disabling the device it's having trouble with.

Obviously that's not a great solution. I should have an updated version available for download in a month or so.
If you feel like compiling the current code branch yourself, the preview_3_0 branch has the most up to date version. Everything seems to be working now, but no promises I won't break something between now and release 😅.
If you don't have it, you can download Visual Studio Community for free. You'll also need the Microsoft Visual Studio Installer Projects 2022 if you want to build the installer.

Fixed in version 3.0.0.


F/gas price increment

Add 2 new chain config options and hint to resolve tx timeout issue

common.OptionGasPriceIncrement(10) every time tx timed out error happend, gas prices will be increased by 10% of current gas prices to prioritize txs into block inclusion when network is busy
common.OptionsGasPriceResetInterval(time.NewTicker(time.Minute*3)) gas prices will be reset back to baseline every 3 minutes to avoid wasting gas when network is not busy.

Down the road we can add more fancy strategies like slowly reducing the gas over the period of time instead of just resetting it to baseline.

We're very far from reaching tx limits per block and inclusion as of now is guaranteed.
When the network grows and gas price increase becomes relevant towards inclusion I believe market makers will aim to increase gas prices (hardcoded) instead of arbitrarily setting gas prices for them. The network will most of the times operate under the same frequency in a 3-minute interval.
Tx timeouts currently take place if the node does not respond in time based on timeout_broadcast_tx_commit (due to instability)
I don't believe there's a need for these changes.

@achilleas-kal I created this PR to follow up this issue https://injectivelabsinc.slack.com/archives/C03AHBPV7B7/p1676168357053979

The issue was not related to block inclusion and higher gas prices needed though, the client just didn't have enough INJ for gas which should be tracked individually per address on their end and not through the SDK. This specific client had actually set double gas prices from the minimum in the network which is a waste of gas since gas currently does not affect block inclusion.
Even when gas does affect block inclusion though, market makers will aim to find the optimal value based on their tolerance and hardcode it to ensure their txs get finalized first. The activity is the same over a 1-minute window, I don't believe the SDK should or even can optimally determine differences in gas prices over such low periods of time.
What would be helpful for clients when gas becomes relevant would be an API to determine average gas price in the network from all txs based on all activity etc. so they can choose their value based on preference.

The issue was not related to block inclusion and higher gas prices needed though, the client just didn't have enough INJ for gas which should be tracked individually per address on their end and not through the SDK. This specific client had actually set double gas prices from the minimum in the network which is a waste of gas since gas currently does not affect block inclusion.

Overall, I think this PR provides a convenient behavior when it can auto increase gas prices; on high level, client only needs to retry, finally the tx will be succeeded, before they were panic because tx keeps failing. So it's better than before
It's also a good point to have an API to check average tx gas, but actually out of this PR's scope


Design and Implement transaction message escape of RIP 32

Design of transaction message escape
When slave acts master, transactionalMessageCheckService will start, but its EndTransactionProcessor will not accept any message tries to end a transaction such as commit or rollback. The running transactionalMessageCheckService will check transaction message and the message checked will escape to the local master first through EscapeBridge. If not, they will escape to the remote master. When message escape to remote master, to keep that HALF TOPIC is not writable, message will first transform back to origin Topic.
In terms of time, a transaction has to be checked twice before commit or rollback, which may cause a delay up to 120 second.
In terms of data volume, if a large number of transaction messages on the broker is waiting on the broker , remote escape will cause large data flow within the cluster
事务消息逃逸机制设计
Slave代理Master时，transactionalMessageCheckService将启动，但是EndTransactionProcessor不会接受事务消息的提交。transactionalMessageCheckService将检查到的事务消息通过EscapeBridge优先往本地Master逃逸，若没有则向远程的Master逃逸。向远程的Master逃逸时，为了避开HALF TOPIC不可写的限制，将消息转换回原Topic并重新投递。
时间上一条事务消息需要经过slave的transactionalMessageCheckService和逃逸到的master的transactionalMessageCheckService两次检查才能完成提交，延时最多120秒。数据量上如果该broker上有大量的事务消息等待检查，远程逃逸会造成集群内部会有较大数据流转。

Good job, however, But does your contribution overlap with this issue? https://github.com/apache/rocketmq/issues/4408

Add some details about escape mechanism of message which shall be discarded
Actually it's like the remote message escape mechanism. When discarding messages, Rocket MQ puts messages into RMQ_SYS_TRANS_CHECK_MAX_TIME_TOPIC, which is a not allowed to send topic in topic validator. For the remote escape of these messages, first wrap them in their origin topic with transaction check time, and send it to other master broker. As messages bring PROPERTY_TRANSACTION_CHECK_TIMES with them, master broker received these message first put them into half topic queue and discard them in next check.
更新应丢弃消息的逃逸机制的说明
应丢弃的消息逃逸机制和正常消息的逃逸机制相似。为了避免RMQ_SYS_TRANS_CHECK_MAX_TIME_TOPIC远程不可写的限制，首先将半消息用原Topic包装，此时消息仍携带PROPERTY_TRANSACTION_CHECK_TIMES属性，然后再投递到远程主节点上。收到消息的主节点将消息放入半消息队列RMQ_SYS_TRANS_HALF_TOPIC等待检查，在下一次检查中，将消息丢弃。


Bug with the unary minus sign?

Hi,
I'm using the less plugin for the play framework, which has lesscss-engine-1.0.43.jar as a dependency. This version translates, e.g., the code "@var: 4px; div { width: -@var; }"  to "div { width: - 4px; }" which seems to be invalid less code (there should be no space between the minus sign and the number).

Have you tried reproducing it with 1.1.5? This sounds like a less.js issue.

To be honest, I have tried to use the latest version yesterday but I couldn't get a working setup with eclipse+maven at all, because I never used maven before. If I find some time in the next days, I'll try it again.
However, the latest less compiler (intalled through npm) compiles everything correctly.

So I cloned the project & imported it as a maven module, then created a class within it and tested my code — it seems to work now.
Thank you!


License

Can you add a license? I really like this and would like to use it, if that is okay with you.

Done.
Go ahead, you're free to use it :)


drop macpython / system python tests on travis

A new inspection was created.

The inspection completed: No new issues

Codecov Report

Merging #244 into develop will decrease coverage by 0.17%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop     #244      +/-   ##
===========================================
- Coverage    84.85%   84.67%   -0.18%
===========================================
  Files           29       27       -2
  Lines         1129     1116      -13
===========================================
- Hits           958      945      -13
  Misses         171      171

Impacted Files
Coverage Δ

werobot/crypto/exceptions.py
100% <0%> (ø)
:arrow_up:

werobot/exceptions.py

werobot/__init__.py

Continue to review full report at Codecov.

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

A new inspection was created.

The inspection completed: No new issues

A new inspection was created.

The inspection completed: No new issues

A new inspection was created.

The inspection completed: No new issues

A new inspection was created.

The inspection completed: No new issues

A new inspection was created.

The inspection completed: No new issues


[Bug] H800 run UT failed.

This setup can not pass UT. Could you please check it ?

Hi, unfortunately, I don't have access to any H800s (or any Hopper GPUs for that matter), so it is a bit hard to test. Which of the matrix shapes are failing and by how much? Can you perhaps print the result of this line for all test cases, i.e., what is the relative average error?

Hi, unfortunately, I don't have access to any H800s (or any Hopper GPUs for that matter), so it is a bit hard to test. Which of the matrix shapes are failing and by how much? Can you perhaps print the result of this line for all test cases, i.e., what is the relative average error?

Yes, if the thread_shape = [64, 256], I get the right thing:

However, as for [128, 128], I get the error:

@Ageliss Which cuda version was the failed test ran on? Can you retest on latest Cuda 12.4?


Found a japanese error

Wrote "/s coiporu cosmicoru" and it returned an empty file. Thought it wouldn't process it so tried with each word individually and it worked, then tried again and it returned the correct sound file after a while.
It wasn't a connection error because I tried with other words and they did work.

Please describe the error.

I've had this issue a few times too, sometimes Google's API returns back nothing (try setting language to chinese and doing /speech zhzhzhzhzhhzzhh for example) but when breaking down the sentence in smaller parts it does work. Not much the bot can do about this small issue though.


[fix:#10][pkg:bufioutil]: pool is unnecessary for bufioReader

remove truncate(), open read_only
add size() to get the size of the underlying file
pool is unnecessary, but still exported

@stone1100 O_CREATE flag removed


Creating the API key before setting up billing doesn't work

https://community.openai.com/t/api-keys-created-before-setting-up-billing-dont-work/173043
This is an API issue, but Assistant should take this into account somehow, because this is a very common problem with new users.

Assistant could detect quota error and suggest to the user that they might need to create a new API token.


localstorage Can NOT used in web worker, Can you add kvStorage support ?

I need to use localStorage as store in web worker,
BUT,  https://stackoverflow.com/questions/6179159/accessing-localstorage-from-a-webworker
localStorage and sessionStorage are both undefined in a webworker process.
As alternative kvStorage should be supported

kvStorage are suspended,  never mind. Should you support indexedDB ?

did you mean to open this issue in https://github.com/Esri/terraformer-geostore-localstorage?
none of the geostore code has been touched in years. if you need something different than what's already up on GitHub, you'd need to pursue it on your own.

Yes, I will use localstorage.   If localstorage is not be able to hold huge data, then I will use the IndexedDB, I will try to make one on my own. closed.


feat: Baseline FHE primitives (LWE, rLWE)

We should prepare for an FHE boom and get some base FHE primitives down.
I watched this lecture a while back and thought it was pretty good.
LWE

I was thinking of implementing this paper (https://eprint.iacr.org/2013/340.pdf), this scheme is conceptually simple to understand. I think it will be a good starting point.

@mrdaybird I'd be happy to work with you on these too!

@Autoparallel Awesome! Let's have a chat over this over the weekend.

Sure thing! Feel free to ping me wherever you want. @Autoparallel on Telegram

This resource seems pretty decent for LWE: https://65610.csail.mit.edu/2024/lec/l07-pke.pdf

@Autoparallel missed your messages, apparently all my github message got moved to spam :confused:

Want to join me?

definitely, what would you like me to do?

This resource seems pretty decent for LWE: https://65610.csail.mit.edu/2024/lec/l07-pke.pdf

I will through this resource in the meanwhile.

Moving from a single bit to small messages would be interesting.
Also, it will be very interesting to think about how we will move from LWE encryption to a homomorphic encryption(maybe fully) scheme.
I will look into the latter.


feat(nargo): add hidden option to produce JSON output from nargo info

Description

Problem*

Resolves
Summary*
This PR adds a hidden --json flag to nargo info which formats the information printed to stdout as JSON. This is then easier for other programs to parse and use.
I've made this a hidden flag for now so I can iterate on the exact format without it being a breaking change.
Documentation

[ ] This PR requires documentation updates when merged.

[ ] I will submit a noir-lang/docs PR.

[ ] I will request for and support Dev Rel's help in documenting this PR.

Additional Context

PR Checklist*

[x] I have tested the changes locally.
[x] I have formatted the changes with Prettier and/or cargo fmt on default settings.

What is this in relation to, ie why is it needed?

It's helpful for consuming this information from other programs without having to scrape the tables.
Example being this tool which will show diffs on the sizes of circuits on PRs


[PDI-19222] Errors are not refreshed in the Table Input step.

:warning: Build finished in 24m 36s
Build command:
mvn clean verify -B -e -Daudit -amd -pl core

:no_entry: Failed Tests
:cloud_with_lightning_and_rain: 3 test(s) failed:
org.pentaho.di.job.JobTest.testTwoJobsGetSameLogChannelId (click to expand)
expected:<[e9d0a463-6e11-46bc-9415-b7f44deb5911]> but was:<[724129cb-ba72-4a4f-946f-77db09eb3087]>

org.pentaho.di.trans.TransTest.testTwoTransformationsGetSameLogChannelId (click to expand)
expected:<[15ac3538-a009-4b6e-9ed6-2ddf1e9e5b1f]> but was:<[96741fdf-bb6d-480c-838d-75a2134dd05b]>

org.pentaho.di.trans.TransTest.testLoggingObjectIsNotLeakInTrans (click to expand)
Log channel General assigned expected:<[d4d53123-4465-4d4f-8d20-e60dfa7ca673]> but was:<[bb6afe71-c8ab-4935-a047-67a9a0047379]>

Tests run: 5134, Failures: 3, Skipped: 7    Test Results

:information_source:  This is an automatic message


Better UI for more attraction

What would you like to share?
The UI of the website is not so good. We need to implement with modern and attractive designs with some hover affects.
Additional information
No response

I want to contribute to this..
Please assign it to me

I would like to contribute to it.

@Rupayan20 you wanna work on this issue or i'll assign @Tapo41


Your tutorial is actually too complicated for beginners.

Writing a republisher as the first task is not as easy as it sounds. It requires a lot of difficult tasks to even get a subscription done. Writing a node that subscribes and publishes as the first task - also a middleman in your data pipeline - is like inventing telephone distribution before telephones. In this way, your tutorial does not even address the experienced ros2 user, but also the experienced rust user.  I really think you should simplify this tutorial. Ros2 and Rust are both exciting and work well together. The tutorial is actually a bit daunting. I'll see if I can tweak it a bit to make it a little easier to find your way around ros2 rust. The current installation process is also very confusing in my opinion.

@Guelakais thanks for trying ros2-rust, it's unfortunate your experience with it hasn't been the most pleasant. Would you be so kind to convert this issue into a list of action items we can address?
We would really appreciate it and it'd hopefully help us produce better documentation for our users. Unfortunately the way it's phrased doesn't give us a good idea of what exactly can be improved and what its shortcomings are. Thanks.

@Guelakais

We both know I'm not very good at Github

To be honest, I don't, so I just asked in the hopes we can make the documentaion better for you and for other users :slightly_smiling_face:

Look, this is the source code for a simple ros2 rust publis that I've written. Be inspired by it or not.

Thanks!
This looks rather similar to the example node we have in the tutorial, is there anything you'd like to see changed in this document?
https://github.com/ros2-rust/ros2_rust/blob/main/docs/writing-your-first-rclrs-node.md
Would you prefer a node that doesn't subscribe to a topic and only publishes a message periodically via a timer?

The two nodes are essentially different. The node from your tutorial is the middleman of a data pipeline, the node I show is a pure publisher. This simplifies things enormously, as the node can show within itself whether it works or not. With the node from the tutorial, you first have to start another publisher, which then controls your node. What can be improved is to add logging or terminal output from the node itself, which provides information about the functionality, as can be seen here.  I understand that the tutorial is intended to kill two birds with one stone by showing a node that directly fulfils several functions. Some people want to run before they can walk, others the other way round. In fact, the approach from the official ros2 documentation makes a lot of sense. So first a publisher, then a subscriber. Your republisher can then be moved to the examples or to the 2nd page of the tutorial. From my experience, you mainly write the ROS2 nodes that are at the outer end of the tech stack - especially the drivers - yourself. and these are usually either publishers or subscribers, which then communicate with certain SDKs. They are also usually easier to understand for beginners.
At the moment I'm still working on the documentation for the node.

@Guelakais ah, I see what you mean, thanks for elaborating. Yeah, I agree with you, a simple "hello world" project with a publisher and a subscription like the ones we have in the tutorials for rclcpp and rclpy would be great.


feat: PSuU Experiment does includes the Censorship Time-series as part of the sweeps

Done by 706e14b


Handle 404's

If a slug isn't found then we should use a default 404 template. This template can be overwritten for each project.

Solved here: https://github.com/moxie-leean/ng-cms/commit/843daa6df61509e489016cf96b9ff7f61920cc81
I'll add the not-found route and template to the ng-web-app.

@andybar2 can you open a PR please?

PR for ng-cms: https://github.com/moxie-leean/ng-cms/pull/13
PR for ng-web-app: https://github.com/moxie-leean/ng-web-app/pull/43


Offer the option to try lat/lon 4326 projection when not finding the .prj file

Closes #4031

Frontend tests were OK :+1: (details)

@ethervoid CR please

Frontend tests were OK :+1: (details)

:+1: