Some issues with date format and date queries

Package version
ex: v3.10.0
Elasticsearch: 8.12.1
Describe the bug
After some issues with queries with date times, create a test seeder to see the question.
To Reproduce
Steps to reproduce the behavior:
Create a index for test purposes
<?php

use Illuminate\Database\Migrations\Migration;
use PDPhilip\Elasticsearch\Schema\IndexBlueprint;
use PDPhilip\Elasticsearch\Schema\Schema;

return new class extends Migration
{
    public function up(): void
    {
        Schema::create('elastic_tests', function (IndexBlueprint $table) {
            $table->field('date', 'custom_date', [
                'format' => 'epoch_second||yyyy-MM-dd HH:mm:ss||yyyy-MM-dd',
                'ignore_malformed' => true,
            ]);
            $table->date('default_date');
            $table->field('date', 'default_date_forced', [
                'format' => 'strict_date_optional_time||epoch_millis',
                'ignore_malformed' => true,
            ]);
            $table->text('description');
            $table->date('epoch_date', 'epoch_second');
            $table->keyword('status_code');
        });
    }

    public function down(): void
    {
        Schema::deleteIfExists('elastic_tests');
    }
};

Create Model
<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use PDPhilip\Elasticsearch\Eloquent\Model;

class ElasticTest extends Model
{
    use HasFactory;

    protected $connection = 'elasticsearch';

    protected $index = 'elastic_tests';
}

Create factory
<?php

namespace Database\Factories;

use App\Models\ElasticTest;
use Illuminate\Database\Eloquent\Factories\Factory;
use Illuminate\Support\Carbon;

class ElasticTestFactory extends Factory
{
    protected $model = ElasticTest::class;

    public function definition(): array
    {
        $date = Carbon::now();

        $custom_status_arr = ['200', '200', '200', '200', '200', '200', '200', '200', '200', '500'];

        $custom_date = $custom_status_arr[array_rand($custom_status_arr, 1)];

        return [
            'description' => $this->faker->text(),
            'default_date' => $date,
            'default_date_forced' => $date, // 'strict_date_optional_time||epoch_millis
            'epoch_date' => $date->timestamp, // since epoch_second requires a timestamp
            'custom_date' => $date,
            'status_code' => $custom_date, // adjust as you need
            'created_at' => $date,
            'updated_at' => $date,
        ];
    }
}

Create seeder
<?php

namespace Database\Seeders;

use Database\Factories\ElasticTestFactory;
use Illuminate\Database\Seeder;
use Illuminate\Support\Carbon;

class ElasticTestSeeder extends Seeder
{
    public function run(): void
    {
        $startDate = Carbon::now()->startOfDay();

        for ($i = 0; $i < 1440; $i++) {
            // Set the current date time for the factory
            ElasticTestFactory::times(1)->state([
                'default_date' => $startDate,
                'epoch_date' => $startDate->timestamp,
                'custom_date' => $startDate,
                'default_date_forced' => $startDate,
                'created_at' => $startDate,
                'updated_at' => $startDate,
            ])->create();
            // Add 1 minute to the start time
            $startDate->addMinute();
        }

    }
}

Run migration
php artisan migrate

Check index mapping
{
  "elastic_tests": {
    "mappings": {
      "properties": {
        "custom_date": {
          "type": "date",
          "format": "epoch_second||yyyy-MM-dd HH:mm:ss||yyyy-MM-dd",
          "ignore_malformed": true
        },
        "default_date": {
          "type": "date"
        },
        "default_date_forced": {
          "type": "date",
          "ignore_malformed": true
        },
        "description": {
          "type": "text"
        },
        "epoch_date": {
          "type": "date",
          "format": "epoch_second"
        },
        "status_code": {
          "type": "keyword"
        }
      }
    }
  }
}

Run migrations
a db:seed --class=ElasticTestSeeder

Expected behavior
Working pass
> ElasticTest::where('default_date_forced', '>=', Carbon::parse(1712059200))->count();
= 720
> ElasticTest::where('default_date', '>=', Carbon::parse(1712059200))->count();
> 720

default_date and default_date_forced acceptable value timestamp
They both fail. Show all instead of half.
> ElasticTest::where('default_date', '>=',<PHONE_NUMBER>)->count();
= 1440

> ElasticTest::where('default_date', '>=', '1712059200')->count();
= 1440

epoch_date fails with timestamp if not casting to string
> ElasticTest::where('epoch_date', '>=', Carbon::parse(1712059200)->timestamp)->count();
= 1440
> ElasticTest::where('epoch_date', '>=', (string) Carbon::parse(1712059200)->timestamp)->count();
= 720
> ElasticTest::where('epoch_date', '>=', (string)<PHONE_NUMBER>)->count();
= 720
> ElasticTest::where('epoch_date', '>=',<PHONE_NUMBER>)->count();
= 1440

Screenshots:
If applicable, add screenshots to help explain your problem.
Component Versions (Paste in the require section from your composer.json file):
  "require": {
  	"php": "^8.1",
	"ext-pdo": "*",
	"ext-redis": "*",
	"ext-zlib": "*",
	"archtechx/enums": "^0.3.0",
	"babenkoivan/elastic-scout-driver": "^3.0",
	"babenkoivan/elastic-scout-driver-plus": "^4.2",
	"barryvdh/laravel-dompdf": "^2.0",
	"binarytorch/larecipe": "^2.5",
	"codeat3/blade-google-material-design-icons": "^1.18",
	"codeat3/blade-iconpark": "^1.5",
	"codeat3/blade-jam-icons": "^1.5",
	"dompdf/dompdf": "^2.0",
	"elasticsearch/elasticsearch": "^8.10",
	"filament/filament": "^3.0-stable",
	"geokit/geokit": "^1.3",
	"guzzlehttp/guzzle": "^7.2",
	"laravel-notification-channels/telegram": "^4.0",
	"laravel/framework": "^10.0",
	"laravel/horizon": "^5.17",
	"laravel/pail": "^1.0",
	"laravel/prompts": "^0.1.13",
	"laravel/sanctum": "^3.2",
	"laravel/scout": "^9.8",
	"laravel/tinker": "^2.7",
	"livewire/livewire": "^3.0",
	"lorisleiva/laravel-actions": "^2.4",
	"maatwebsite/excel": "^3.1",
	"matanyadaev/laravel-eloquent-spatial": "^3.1",
	"novadaemon/filament-pretty-json": "^2.0",
	"owen-it/laravel-auditing": "^13.3",
	"pdphilip/elasticsearch": "~3.10",
	"predis/predis": "^2.2",
	"ramsey/uuid": "^4.7",
	"robinvdvleuten/ulid": "^5.0",
	"silber/bouncer": "^1.0",
	"spatie/laravel-backup": "^8.4",
	"spatie/laravel-data": "^2.1",
	"spatie/laravel-health": "^1.27",
	"spatie/laravel-query-builder": "^5.1",
	"spatie/laravel-rate-limited-job-middleware": "^2.2",
	"spatie/laravel-ray": "^1.35",
	"spatie/laravel-settings": "^2.8",
	"spatie/laravel-translatable": "^6.1",
	"spatie/simple-excel": "^3.0",
	"vlucas/phpdotenv": "^5.4"
  },

Additional context:
I don't know if I'm right, but well, I preferred to spend some time, after the last re-examination, being asked by my team about the methodology, since it was necessary:

Keep the use of data time in timestamp format (a lot of code with it)
Adapt to the use of string yyyy-MM-dd HH:mm:ss and yyyy-MM-dd

And certainly after reindexing 100 million docs, I found that I had not done enough testing)
Acknowledgments

Hello
Much appreciate your time.
The truth is that the topic is a real headache, especially when it comes to indices with a huge amount of data.
In the next remapping that I am preparing, after consulting the endpoints and the other developers on how they are using JS and the API, I consult them and see that everyone uses timestamp and that it is only the project manager who needs accessibility via eloquent or ISO type formats, I will do what you say in your manual.
Use the default value, since the ignore_malformed is already outdated from two years ago because a method was put in place to clean the logs with malformed data, so there is no data with malformed data.
This change, given the implication and the fact that it is about production, will force me to do many tests, which I hope pass properly.
Cuando termine, añadiré aqui, mis resultados e impresiones
Once again, my greatest thanks and gratitude for such a productive package and your time.

Thanks @abkrim, your feedback is great and useful for developing a more robust package.
I'm going to make this an enhancement issue and convert whereDate() to work with carbon input (and validate accordingly), then add a new method whereTimestamp() whereby I can intercept the input and ensure the correct type casting. I'll keep this open until this feature has been published. Feel free to comment further here until then.

Hi @abkrim, new releases have been published that include whereTimestamp()
Thanks


added few missing type annotations to functions

This is a very trivial PR, but it's my first one. I went through the Contributing instructions to set up my environment and enabled mypy basic mode checking in vscode and saw some missing type annotations a few of the tests. So, I made the changes that seemed appropriate.  This is my first PR to the pydantic project and I hope it's helpful. I'm looking forward to making more impactful contributions soon :)

Thanks @jimkring for this patch.
As we are not checking types in tests, I would prefer to do not to merge this kind of PRs.
But let's wait for @samuelcolvin, he might have a different opinion here.

@samuelcolvin @hramezani Thank you for pointing me in the right direction. I understand completely and no problem 👍🏻
I'll take a look at your suggestion for moving global xfail into the tests. It sounds straightforward and I'll let you know if questions come up. Thank you for being open to including others in the process. This is a great learning opportunity.

Hi @samuelcolvin. Here you go... -> https://github.com/pydantic/pydantic/pull/4843

If you're interested in testing, one useful task would be to go through some of the test files with many tests passing but the entire module marked as xfail, remove the global xfail and mark just the tests which are actually failing as xfail. Let me know if you need more information.

I hope that's helpful and meets your expectations. Please let me know if you have any questions.


Add deployment tracing intro blog

What this PR does:
Why we need it:
Which issue(s) this PR fixes:
Fixes #
Does this PR introduce a user-facing change?:

How are users affected by this change:
Is this breaking change:
How to migrate (if breaking change):

@ffjlabo @t-kikuc Thanks, updated based on your comments 👍


Warning message "File was not opened in write mode" when saving in S3 storage

I've just seen the following warning message in the logs of the celeryworker:
celeryworker_1  | [2019-11-29 13:00:30,793: INFO/ForkPoolWorker-2] Task topobank.taskapp.tasks.perform_analysis[918c8d47-ae6a-42fc-a17b-c3e8b03144ed] succeeded in 3.797067907988094s: None
celeryworker_1  | [2019-11-29 13:00:31,488: WARNING/ForkPoolWorker-2] Traceback (most recent call last):
celeryworker_1  | [2019-11-29 13:00:31,488: WARNING/ForkPoolWorker-2] File "h5py/_objects.pyx", line 193, in h5py._objects.ObjectID.__dealloc__
celeryworker_1  | [2019-11-29 13:00:31,489: WARNING/ForkPoolWorker-2] File "h5py/defs.pyx", line 1187, in h5py.defs.H5Idec_ref
celeryworker_1  | [2019-11-29 13:00:31,489: WARNING/ForkPoolWorker-2] File "h5py/h5fd.pyx", line 171, in h5py.h5fd.H5FD_fileobj_write
celeryworker_1  | [2019-11-29 13:00:31,489: WARNING/ForkPoolWorker-2] File "/opt/conda/lib/python3.7/site-packages/storages/backends/s3boto3.py", line 115, in write
celeryworker_1  | [2019-11-29 13:00:31,489: WARNING/ForkPoolWorker-2] raise AttributeError("File was not opened in write mode.")
celeryworker_1  | [2019-11-29 13:00:31,489: WARNING/ForkPoolWorker-2] AttributeError
celeryworker_1  | [2019-11-29 13:00:31,489: WARNING/ForkPoolWorker-2] :
celeryworker_1  | [2019-11-29 13:00:31,489: WARNING/ForkPoolWorker-2] File was not opened in write mode.
celeryworker_1  | [2019-11-29 13:00:31,489: WARNING/ForkPoolWorker-2] Exception ignored in:
celeryworker_1  | [2019-11-29 13:00:31,489: WARNING/ForkPoolWorker-2] 'h5py._objects.ObjectID.__dealloc__'
celeryworker_1  | [2019-11-29 13:00:31,490: WARNING/ForkPoolWorker-2] Traceback (most recent call last):
celeryworker_1  | [2019-11-29 13:00:31,490: WARNING/ForkPoolWorker-2] File "h5py/_objects.pyx", line 193, in h5py._objects.ObjectID.__dealloc__
celeryworker_1  | [2019-11-29 13:00:31,490: WARNING/ForkPoolWorker-2] File "h5py/defs.pyx", line 1187, in h5py.defs.H5Idec_ref
celeryworker_1  | [2019-11-29 13:00:31,490: WARNING/ForkPoolWorker-2] File "h5py/h5fd.pyx", line 171, in h5py.h5fd.H5FD_fileobj_write
celeryworker_1  | [2019-11-29 13:00:31,491: WARNING/ForkPoolWorker-2] File "/opt/conda/lib/python3.7/site-packages/storages/backends/s3boto3.py", line 115, in write
celeryworker_1  | [2019-11-29 13:00:31,491: WARNING/ForkPoolWorker-2] raise AttributeError("File was not opened in write mode.")
celeryworker_1  | [2019-11-29 13:00:31,491: WARNING/ForkPoolWorker-2] AttributeError
celeryworker_1  | [2019-11-29 13:00:31,491: WARNING/ForkPoolWorker-2] :
celeryworker_1  | [2019-11-29 13:00:31,491: WARNING/ForkPoolWorker-2] File was not opened in write mode.
celeryworker_1  | [2019-11-29 13:00:44,098: INFO/ForkPoolWorker-2] Task topobank.taskapp.tasks.perform_analysis[88277d1a-d876-46f6-9942-26ec380504f0] succeeded in 13.30223007593304s: None

Not sure if this important.

Does this issue still exist @mcrot ?

No, closing.


iPhone 11 powerbutton issues

You cannot take screenshots or double click to install apps in AppStore when this tweak is enabled. Disabling tweak fixes issue.
iphone 11 iOS 13.7 running odyssey

me too,cant use power button when i press2 or three times

Hdjd


Add Stack Logo

Logo should be named logo.png in folder token address

Is this fixed?

@Unsehrtain is the fix file correct? Or do I need to do something else?

logo.png is different from Logo.png

@Unsehrtain @pecio222 Did I finally get it? Sorry its been such a process


Allow passing the MOTD as a build argument during the Docker image build

Description:
Allow passing the MOTD as a build argument during the Docker image build. This is to allow passing different MOTDs when building Docker images for the WSO2 Private Docker Registry and DockerHub.
Suggested Labels:
Type/Improvement
Suggested Assignees:
chirangaalwis
Affected Product Version:
WSO2 Stream Processor v4.3.x

Fixed in https://github.com/wso2/docker-sp/pull/60.


Segmentation Fault after execution

Program seems to build with and without optimizations but executing "./dashera" results in a "segmentation fault." Running Ubuntu 20.04.4 LTS on 32-bit ARM. Any guidance would be appreciated!

I don't have access to this type of environment.  Are you getting any of the initial DEBUG:  lines on stdout before it crashes?

It just dumps segmentation fault to screen right after running, no other information.

I can't find any evidence that GtkAda is supported on 32-bit ARM.
According to the GitHub page for GtkAda https://github.com/AdaCore/gtkada
This library has been tested using Gtk+ 3.14.15 on the following systems:

    GNU Linux/x86
    GNU Linux/x86-64
    Solaris/sparc
    Windows 7, 8.1 and 10

Have you build it yourself?
Does the testgtk program run?

I installed it with the repo:
misterspock1@localhost:~$ sudo apt search libgtkada19-dev
Sorting... Done
Full Text Search... Done
libgtkada19-dev/focal,now 19-4 armhf [installed]
Ada binding for the GTK+ GUI (development files)
Also checked:
misterspock1@localhost:~$ dpkg -l libgtk2.0-0 libgtk-3-0
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name              Version            Architecture Description
+++-=================-==================-============-==================================================
ii  libgtk-3-0:armhf  3.24.20-0ubuntu1.1 armhf        GTK graphical user interface library
ii  libgtk2.0-0:armhf 2.24.32-4ubuntu4   armhf        GTK graphical user interface library - old version
I don't know where to find testgtk, I did test GTK itself by installing geany, which is another GTK program and it worked fine.
Thanks for taking the time to look at my issues!

Sorry, but I don't think I can help any more with this.
If there were no errors from the gprbuild command then it seems likely something is wrong with your environment.
Does ldd dashera produce any errors?

misterspock1@localhost:~/dasher/dashera$ ldd dashera
linux-vdso.so.1 (0xbef9b000)
/support/libdisableselinux.so (0xa96f7000)
libgtkada.so.19 => /usr/lib/arm-linux-gnueabihf/libgtkada.so.19 (0xa8fd2000)
libgtk-3.so.0 => /usr/lib/arm-linux-gnueabihf/libgtk-3.so.0 (0xa8a42000)
libgdk-3.so.0 => /usr/lib/arm-linux-gnueabihf/libgdk-3.so.0 (0xa8991000)
libcairo.so.2 => /usr/lib/arm-linux-gnueabihf/libcairo.so.2 (0xa88d4000)
libgobject-2.0.so.0 => /usr/lib/arm-linux-gnueabihf/libgobject-2.0.so.0 (0xa8883000)
libglib-2.0.so.0 => /usr/lib/arm-linux-gnueabihf/libglib-2.0.so.0 (0xa879b000)
libgthread-2.0.so.0 => /usr/lib/arm-linux-gnueabihf/libgthread-2.0.so.0 (0xa8789000)
libgnarl-9.so.1 => /usr/lib/arm-linux-gnueabihf/libgnarl-9.so.1 (0xa8744000)
libgnat-9.so.1 => /usr/lib/arm-linux-gnueabihf/libgnat-9.so.1 (0xa84f0000)
libgcc_s.so.1 => /usr/lib/arm-linux-gnueabihf/libgcc_s.so.1 (0xa84c7000)
libc.so.6 => /usr/lib/arm-linux-gnueabihf/libc.so.6 (0xa83c8000)
libpangocairo-1.0.so.0 => /lib/arm-linux-gnueabihf/libpangocairo-1.0.so.0 (0xa83a5000)
libpango-1.0.so.0 => /lib/arm-linux-gnueabihf/libpango-1.0.so.0 (0xa8362000)
libgdk_pixbuf-2.0.so.0 => /lib/arm-linux-gnueabihf/libgdk_pixbuf-2.0.so.0 (0xa8337000)
libgio-2.0.so.0 => /lib/arm-linux-gnueabihf/libgio-2.0.so.0 (0xa8207000)
libgmodule-2.0.so.0 => /lib/arm-linux-gnueabihf/libgmodule-2.0.so.0 (0xa81f4000)
libfontconfig.so.1 => /lib/arm-linux-gnueabihf/libfontconfig.so.1 (0xa81b7000)
libm.so.6 => /lib/arm-linux-gnueabihf/libm.so.6 (0xa814e000)
libpthread.so.0 => /lib/arm-linux-gnueabihf/libpthread.so.0 (0xa8126000)
/lib/ld-linux-armhf.so.3 (0x0f000000)
libX11.so.6 => /lib/arm-linux-gnueabihf/libX11.so.6 (0xa8033000)
libXi.so.6 => /lib/arm-linux-gnueabihf/libXi.so.6 (0xa8019000)
libXfixes.so.3 => /lib/arm-linux-gnueabihf/libXfixes.so.3 (0xa8005000)
libcairo-gobject.so.2 => /lib/arm-linux-gnueabihf/libcairo-gobject.so.2 (0xa7fef000)
libatk-1.0.so.0 => /lib/arm-linux-gnueabihf/libatk-1.0.so.0 (0xa7fc6000)
libatk-bridge-2.0.so.0 => /lib/arm-linux-gnueabihf/libatk-bridge-2.0.so.0 (0xa7f94000)
libepoxy.so.0 => /lib/arm-linux-gnueabihf/libepoxy.so.0 (0xa7ecc000)
libfribidi.so.0 => /lib/arm-linux-gnueabihf/libfribidi.so.0 (0xa7ea3000)
libpangoft2-1.0.so.0 => /lib/arm-linux-gnueabihf/libpangoft2-1.0.so.0 (0xa7e85000)
libharfbuzz.so.0 => /lib/arm-linux-gnueabihf/libharfbuzz.so.0 (0xa7dc5000)
libfreetype.so.6 => /lib/arm-linux-gnueabihf/libfreetype.so.6 (0xa7d43000)
libXinerama.so.1 => /lib/arm-linux-gnueabihf/libXinerama.so.1 (0xa7d31000)
libXrandr.so.2 => /lib/arm-linux-gnueabihf/libXrandr.so.2 (0xa7d1a000)
libXcursor.so.1 => /lib/arm-linux-gnueabihf/libXcursor.so.1 (0xa7d03000)
libXcomposite.so.1 => /lib/arm-linux-gnueabihf/libXcomposite.so.1 (0xa7cf1000)
libXdamage.so.1 => /lib/arm-linux-gnueabihf/libXdamage.so.1 (0xa7cdf000)
libxkbcommon.so.0 => /lib/arm-linux-gnueabihf/libxkbcommon.so.0 (0xa7c9f000)
libwayland-cursor.so.0 => /lib/arm-linux-gnueabihf/libwayland-cursor.so.0 (0xa7c88000)
libwayland-egl.so.1 => /lib/arm-linux-gnueabihf/libwayland-egl.so.1 (0xa7c76000)
libwayland-client.so.0 => /lib/arm-linux-gnueabihf/libwayland-client.so.0 (0xa7c5d000)
libXext.so.6 => /lib/arm-linux-gnueabihf/libXext.so.6 (0xa7c40000)
librt.so.1 => /lib/arm-linux-gnueabihf/librt.so.1 (0xa7c2a000)
libpixman-1.so.0 => /lib/arm-linux-gnueabihf/libpixman-1.so.0 (0xa7ba1000)
libpng16.so.16 => /lib/arm-linux-gnueabihf/libpng16.so.16 (0xa7b6f000)
libxcb-shm.so.0 => /lib/arm-linux-gnueabihf/libxcb-shm.so.0 (0xa7b5c000)
libxcb.so.1 => /lib/arm-linux-gnueabihf/libxcb.so.1 (0xa7b33000)
libxcb-render.so.0 => /lib/arm-linux-gnueabihf/libxcb-render.so.0 (0xa7b1a000)
libXrender.so.1 => /lib/arm-linux-gnueabihf/libXrender.so.1 (0xa7b03000)
libz.so.1 => /lib/arm-linux-gnueabihf/libz.so.1 (0xa7ae0000)
libffi.so.7 => /lib/arm-linux-gnueabihf/libffi.so.7 (0xa7aca000)
libpcre.so.3 => /lib/arm-linux-gnueabihf/libpcre.so.3 (0xa7a6a000)
libthai.so.0 => /lib/arm-linux-gnueabihf/libthai.so.0 (0xa7a53000)
libdl.so.2 => /lib/arm-linux-gnueabihf/libdl.so.2 (0xa7a40000)
libmount.so.1 => /lib/arm-linux-gnueabihf/libmount.so.1 (0xa79f2000)
libselinux.so.1 => /lib/arm-linux-gnueabihf/libselinux.so.1 (0xa79c8000)
libresolv.so.2 => /lib/arm-linux-gnueabihf/libresolv.so.2 (0xa79a8000)
libexpat.so.1 => /lib/arm-linux-gnueabihf/libexpat.so.1 (0xa797f000)
libuuid.so.1 => /lib/arm-linux-gnueabihf/libuuid.so.1 (0xa7969000)
libdbus-1.so.3 => /lib/arm-linux-gnueabihf/libdbus-1.so.3 (0xa7929000)
libatspi.so.0 => /lib/arm-linux-gnueabihf/libatspi.so.0 (0xa78f7000)
libgraphite2.so.3 => /lib/arm-linux-gnueabihf/libgraphite2.so.3 (0xa78cb000)
libXau.so.6 => /lib/arm-linux-gnueabihf/libXau.so.6 (0xa78b8000)
libXdmcp.so.6 => /lib/arm-linux-gnueabihf/libXdmcp.so.6 (0xa78a4000)
libdatrie.so.1 => /lib/arm-linux-gnueabihf/libdatrie.so.1 (0xa7890000)
libblkid.so.1 => /lib/arm-linux-gnueabihf/libblkid.so.1 (0xa784a000)
libpcre2-8.so.0 => /lib/arm-linux-gnueabihf/libpcre2-8.so.0 (0xa77d8000)
libsystemd.so.0 => /lib/arm-linux-gnueabihf/libsystemd.so.0 (0xa7753000)
libbsd.so.0 => /lib/arm-linux-gnueabihf/libbsd.so.0 (0xa7730000)
liblzma.so.5 => /lib/arm-linux-gnueabihf/liblzma.so.5 (0xa7704000)
liblz4.so.1 => /lib/arm-linux-gnueabihf/liblz4.so.1 (0xa76de000)
libgcrypt.so.20 => /lib/arm-linux-gnueabihf/libgcrypt.so.20 (0xa762b000)
libgpg-error.so.0 => /lib/arm-linux-gnueabihf/libgpg-error.so.0 (0xa7606000)
That's a long one, don't know if it helps. Thanks for your help. I'll probably just give this a try on x64 Linux, but maybe someone else will see it, and think of something. Great project. Not many programs support the Dasher terminal, I think.

Well there are no errors showing with ldd.
I just successfully built and ran v0.11.1 (a small change for GNAT 10) on a QEMU PI 2 (ARM-32) emulator.  The system is running the latest Raspberry OS ("bullseye").
I'm quite pleased that worked!
OK if I close this for now?

That's fine! Thanks for the help, glad to see it runs on a pi. I'm running in a CHROOT, so I'm wondering if that might be part of the problem.


WOR-1002 Adjust existing delete mechanism to handle protected data landing zone

This PR:
-Adjust delete to handle deletion for ProtectedData LZ
-Add test for deletion of ProtectedData LZ

Current integration test failure is because our MRG is created in "westus2" region. There is no long-term storage account there. This https://github.com/broadinstitute/terraform-ap-deployments/pull/1087 should add account specific to "westus2" region.

Current integration test failure is because our MRG is created in "westus2" region. There is no long-term storage account there. This broadinstitute/terraform-ap-deployments#1087 should add account specific to "westus2" region.

This change is no longer needed. LZ test configuration uses us-east-2 region instead.


'ModuleNotFoundError'

I'm working through trying to test out the Grayskull e150 card and I'm running into a ModuleNotFoundError. I'm trying to run the Resnet Demo in tt-metal. Let me know what I can do. Thanks.

https://github.com/tenstorrent/tt-metal/tree/main/models/demos/resnet

@tt-aho can you take a look?

Your missing the python path. Here are some common exports:
export TT_METAL_ENV=dev && export TT_METAL_HOME=$PWD && export ARCH_NAME=grayskull && export PYTHONPATH=$TT_METAL_HOME && source build/python_env/bin/activate

Hey @colchocor, have you set up the environment and env vars as described in https://github.com/tenstorrent/tt-metal/blob/main/INSTALLING.md, specifically TT_METAL_HOME  and PYTHONPATH should be the tt-metal root directory.
I don't see the module not found error but we've deprecated support for batch 8 with this implementation of Resnet, so the demo will fail for a different issue. I am working on uplifting this to work with our latest batch 20 implementation

I've updated the demo and associated readme with new instructions/commands. Let me know if you still see any issues running the demo.

Closing this ticket for inactivity. Please reopen if this issue is still not resolved. Thank you!


what's the difference between the same game with different version : v0,...,v4

i find there are many versions of the same atari game,like PongNoFrameskip-v4 and so on.
what's the defference and where i can find the introduction?

Very good question, had it myself more than once :) @christopherhesse @gdb @joschu who'd be the best person to route this to?

I don't know the answer to this, but there are some notes in the gym changelog for a couple of the v* suffixes: https://github.com/openai/gym#whats-new

We bump the version whenever there is a semantic change to the environment, no matter how slight. That means you can always trust that PongNoFrameskip-v3 has exactly the same semantics as the version used by some paper. That being said, you should consider all older versions to be deprecated and just use the most recent one — that is, you should think of older versions like a history that is accessible but not intended for normal use. Accordingly, we don't always document the difference between the versions, as you should always be using the most recent one.

For Pong there's a nice video that makes the difference immediately clear: https://www.youtube.com/watch?v=zp72VTr730s

Breakout-v0 vs Breakout-v4
v0: repeat_action_probability of 0.25 (meaning 25% of the time the previous action will be used instead of the new action)
v4: repeat_action_probability of 0 (always follow issued action)
Breakout-v4 vs BreakoutDeterministic-v4 vs BreakoutNoFrameskip-v4
game-vX: frameskip is sampled from (2,5), meaning either 2, 3 or 4 frames are skipped [low: inclusive, high: exclusive]
game-Deterministic-vX: a fixed frame skip of 4
game-NoFrameskip-vX:  with no frame skip
Breakout-v4 vs Breakout-ram-v4
game-vX: Observation Space (128,). Observation is given as a vector of size 128.
game-ram-vX: Observation Space (210,160,3). Observation is given as pixels of Width:210, Height:160, Depth:3
The atari environment source code has moved from Gym to ALE. See here
Other useful references:
This video
This GitHub Issue
ALE v0.7 Blog


MJPEG Streaming server connection refused

I'm attempting to run the example mjpeg2 streamer script on my RPI 4, but I get a segmentation fault error & connection refused error.
DepthAI is up & running. Navigate to 'localhost:8090' with Chrome to see the mjpeg stream Unable to init server: Could not connect: Connection refused Stack trace (most recent call last): #1    Object "/lib/arm-linux-gnueabihf/libc.so.6", at 0xb6c7a11f, in  #0    Object "/home/pi/.local/lib/python3.7/site-packages/depthai.cpython-37m-arm-linux-gnueabihf.so", at 0xb576293b, in backward::SignalHandling::sig_handler(int, siginfo_t*, void*) Segmentation fault (Address not mapped to object [(nil)]) Segmentation fault

Upon further experimentation, it seems to be a problem with my DepthAI installation, rather than MJPEG-specific. The crash occurs in another script as soon as I execute getCvFrame().

Hello @suciokhan , I have just tried it out on RPI4 4GB RAM RPI OS Bullseye (latest) with latest depthai version and it works as expected. I have only updated port number because there was something else running at 8090. Could you try updating both RPI OS and DepthAI version?

I'm working on updating depthai install- unfortunately there are so many options for updating it, I'm having trouble doing it the "right" way. I tried sudo curl -fL https://docs.luxonis.com/install_dependencies.sh | bash as described in https://docs.luxonis.com/projects/api/en/latest/install/#raspberry-pi-os. But after I ran that, now when I try my script Python tells me I have no module named 'cv2'. I downloaded the depthai repo and ran the install_requirements.py, and that runs and says it's skipping some stuff because I don't have opencv2 installed...uh, isn't that what the script is supposed to do for me? I'm pretty confused because I successfully installed it on a different RPI yesterday, but unfortunately can't recall which of these installation methods I used. Might have installed depthai from pip.

You only need to install dependencies once, after that you can just update depthai library by python3 -mpip install depthai -U. Does the error with cv2 module still persist, even after installing requirements for depthai repo?

Yes.

We have also created an image that has depthai/depthai-python installed (and all dependencies) that you can use:
https://drive.google.com/drive/folders/1O50jPpGj_82jkAokdrsG--k9OBQfMXK5?usp=sharing
OAK_CM4_POE_V2.zip is the one you would want to use for now.

This fixed my open-cv problem
pip3 install --upgrade setuptools pip
pip3 install opencv-python
Now it works...for whatever reason, doing sudo pip3 install opencv-contrib-python makes it hang up.
I decided to switch to using imagezmq for streaming the video from my RPI, and it's working. Thanks a lot for your tips @Erol444, next time I think I will try that image.  Have a great day, and again, thanks very much for your super quick response!


Introduce an instantly-reactive gesture recognizer for pan/pinch/rotate

UIKit's gesture recognizers include a slop region. This slop region isn't always desirable for direct manipulation scenarios.
We should explore how we might provide pinch/rotate/pan support without a slop region.
One option is to implement a new UIGestureRecognizer subclass. This means we need to implement our own velocity calculations, which poses a serious risk of deviating from UIKit's velocity calculation logic.
If we can somehow utilize the existing gesture recognizers that would be preferable.

This is doable if we provide a subclass that overrides touchesBegan and immediately sets state = .began. I've verified that velocity is still generated as expected.


windows-2022 (windows-latest) does not have .NET 4.6.1 available

Description
Don't know if this was intended.
2022 Environment does not contain - Microsoft.Net.Component.4.6.1.TargetingPack
So my build using the image windows-latest fails to build app using .NET 4.6.1
Virtual environments affected

[ ] Ubuntu 18.04
[ ] Ubuntu 20.04
[ ] macOS 10.15
[ ] macOS 11
[ ] Windows Server 2016
[ ] Windows Server 2019
[X] Windows Server 2022

Image version and build link
Virtual Environment
Environment: windows-2022
Version: 20220316.1
Included Software: https://github.com/actions/virtual-environments/blob/win22/20220316.1/images/win/Windows2022-Readme.md
Image Release: https://github.com/actions/virtual-environments/releases/tag/win22%2F20220316.1
Is it regression?
No response
Expected behavior
C:\Program Files\dotnet\sdk\6.0.201\Microsoft.Common.CurrentVersion.targets(1220,5): error MSB3644: The reference assemblies for .NETFramework,Version=v4.6.1 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks
Build FAILED.
C:\Program Files\dotnet\sdk\6.0.201\Microsoft.Common.CurrentVersion.targets(1220,5): error MSB3644: The reference assemblies for .NETFramework,Version=v4.6.1 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks
0 Warning(s)
1 Error(s)

Actual behavior
Expect a successful build
Repro steps
Target an application with .NET 4.6.1
Use windows-latest as the pipeline host.

@SenseiJoe the minimal 4.6.* version is 4.6.2 judging by the components list:

https://docs.microsoft.com/en-us/visualstudio/install/workload-component-id-vs-enterprise?view=vs-2022
This component is already installed on the image so feel free to either change your project from 4.6.1 to 4.6.2 or stick to windows-2019.
https://github.com/actions/virtual-environments/blob/af8332e66d6fc43f786eba49c0d7480c5f9de1b8/images/win/Windows2022-Readme.md?plain=1#L265
I'm going to close the issue but feel free to contact us if you have any concerns.
Thank you!

I'll see if the developer can change it.  But seems like it should be there anyway.


Formatter undocumented deviation: splits long conditionals into multiple lines where Black does not

Black:
class Foo:
    def bar():
        assert obj == [
            "kdfsjhslkdfjklsdjflksdjfklsdjfksdsjakldjalksdjlasdjdfjasdkasdfkldshjfkjdsh",
            "kdfsjhslkdfjklsdjflksdjfklsdjfksdsjakldjalksdjlasdjdfjasdkasdfkldshjfkjdsh",
            "kdfsjhslkdfjklsdjflksdjfklsdjfksdsjakldjalksdjlasdjdfjasdkasdfkldshjfkjdsh",
        ]

Ruff:
class Foo:
    def bar():
        assert (
            obj
            == [
                "kdfsjhslkdfjklsdjflksdjfklsdjfksdsjakldjalksdjlasdjdfjasdkasdfkldshjfkjdsh",
                "kdfsjhslkdfjklsdjflksdjfklsdjfksdsjakldjalksdjlasdjdfjasdkasdfkldshjfkjdsh",
                "kdfsjhslkdfjklsdjflksdjfklsdjfksdsjakldjalksdjlasdjdfjasdkasdfkldshjfkjdsh",
            ]
        )

Ruff 0.0.289 with a line-length of 88.

FWIW, I prefer the Black formatting; it produces shorter lines while being less verbose.

It does seem to be, I'll close the issue. Apologies for the noise!


add_actor_component doesn't work anymore?

Hello. I was trying to add actor component as described in this examples, but neither one of them didn't work. Actor is being created but component doesn't. Am i missing something? (UE 4.21)
import unreal_engine as ue
from unreal_engine.classes import StaticMesh, StaticMeshComponent, HierarchicalInstancedStaticMeshComponent, Actor
world = ue.get_editor_world()

# add a cone
cone = world.actor_spawn(Actor)
cone.set_actor_label('A Cone')
cone_mesh = cone.add_actor_component(StaticMeshComponent, 'Cone')
cone_mesh.StaticMesh = ue.load_object(StaticMesh, '/Engine/BasicShapes/Cone')

or
cone_mesh = cone.AddComponent('StaticMeshComponent')
or
cone.uobject.get_owner().add_actor_component(ue.find_class('StaticMeshComponent'), 'component')

so, i've tested this and in 4.21 add_actor_component doesn't do anything but in 4.20 this functions do what it's supposed to do. The analog in 4.21 is add_actor_root_component, but either way after the component is added it isn't editeble  -Native component are editable when declared as a UProperty in C++

i've tried this solution from this thread, but with no luck ...
https://www.reddit.com/r/unrealengine/comments/71kdhp/anyone_know_how_to_fix_this_annoyance_with_the/


fix: post-install should fail on error

Fixes #190.
Weird observation, failure cases always take a minimum of 30s. I guess simple-get is not keeping things as simple as it should.
I'll investigate that if I get the time.

So I looked into it, seems it's caused by the DNS lookup not being cancellable, so even with req.abort called on error, node still waits for the lookup to complete.

@miraclx Thanks for this. Can you drop simple-get and just the builtin fetch in Node.js? 🙂

Wasn't that stabilized in Node v21?

@miraclx fetch is stable since v18
https://nodejs.org/dist/latest-v18.x/docs/api/globals.html#fetch

Closing in favor of #192


There is no /seed version 1.18.2 & it doesn't work with SeedMapper 1.15.1

Title says it all. I don't really know if you're guys working together or not with xpple but I managed to notice that your mod and his don't work together at the moment.

The 1.18.2 stuff is a library that I need to update. Can you send a crashlog regarding the issue with seedmapper? Xpple and I don't work together but we know eachother from discord.

The 1.18.2 stuff is a library that I need to update. Can you send a crashlog regarding the issue with seedmapper? Xpple and I don't work together but we know eachother from discord.
latest.log
I might guess what you're looking for is
com.mojang.brigadier.exceptions.CommandSyntaxException: Version "1.18.2" was not found.
( that's from file )


Rate limiting

Just a thought. Check out gmail's usage limits document - you won't want to be sending out more than 5 emails every 2 seconds (100 quota units per send, 250 quota unit limit per second). The confirm screen kind-of-sort-of acts as a rate limiter, but if someone gets too trigger happy on hitting 'y' then you might get 429'd by gmail. Consider adding a cooldown timer of 500ms per email.

Hey Alex,
Thanks for the tip. We would have had this issue, but we're actually having the script runner manually confirm Y/N per each email before they're being sent out. I think even if someone were pressing Y repeatedly, we wouldn't hit this limit hopefully. If we ever remove the manual confirmation step, we'll definitely add rate limiting.

Cool! Just making sure it was something y'all were aware of.

Thanks Alex.
I looked into this too. From my experience sending the emails, the time taken to actually authenticate to the SMTP server and send the email each time is probably enough of a delay. I haven't checked if it is possible for SMTP to maintain the connection (although, I suspect it is).
If the human reviewer is actually doing what they are supposed to (i.e., checking for mistakes), we shouldn't ever reach this limit. But, it still might be worth putting something in, especially if we decide to maintain the SMTP connection in the future.


Made StorageAccess trait somewhat cleaner.

Stack:

#3674
#3673
#3672
#3671 ⬅

⚠ Part of a stack created by spr. Do not merge manually using the UI - doing so may have unexpected results.

This change is

Are there any more plans to modify the StorageAccess / StorageValue trait?


MdiContainer not apply theme

Hi,
I create a form with isMdiContainer = true and this not apply them, see images, how to resolve this?

I think mdincontauner is not supported.
On Thu, 30 Mar 2017, 12:59 casemobile<EMAIL_ADDRESS>wrote:

Hi,
I create a form with isMdiContainer = true and this not apply them, see
images, how to resolve this?
[image: image]
https://cloud.githubusercontent.com/assets/6156859/24513833/9ee7bf32-1548-11e7-9cea-54ccd5c9c5d4.png
[image: image]
https://cloud.githubusercontent.com/assets/6156859/24513814/9705cc28-1548-11e7-9d37-db831797cb74.png
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/thielj/MetroFramework/issues/86, or mute the thread
https://github.com/notifications/unsubscribe-auth/AD_PSoxNOJmRNiRmmilefSg4AH23tVMcks5rq9FFgaJpZM4MukZA
.

--
MARCELO L. PONCE F.
Analista de Sistemas de Computación.
Cel: 3385-403708


recentbest doesn't function

recentbest -modname doesn't function properly for some players (TypeError: Cannot read properties of undefined (reading 'toFixed')

Original Message by @yoru#9267

fixed, had something to do with taiko and other game modes not having some attributes


Feat/proxy performance

As mentioned in https://github.com/vuejs/vue-next/issues/1227, variable access from templates is a major hotspot in terms of performance. This PR reduces up to 80% of the variable access time. It does so by creating ultra-fast and optimizable getter functions.
The peformance difference can be seen here. Notice that the left side is with the changes in this PR, right side is the current Vue implementation. The 'get' time is much lower (70 vs 420) and overall it causes a performance improvement of about 10%.

In terms of memory usage, getter functions must be created per instance. Initial tests proved that it seems to has little effect on the memory usage.

Please don't merge this pull request yet. I'd like to do some further analysis on the performance of creating new component instances, memory usage and optimizer behavior.

Please don't merge this pull request yet

You mark it as WIP or move it to draft

I changed some things in the original idea and did some extensive performance testing, comparing the current vue-next version with this PR. The results are further below, but most importantly they show that instance proxy performance in component instance creation has become about 15% slower (because some functions and function arguments need to be put into the propGetters cache), while setup access (particles test) has become about 75% faster. It only makes a slight impact on the total time, although in some cases (when there are many v-for items or components, and many setup accesses), there is certainly a performance improvement with this PR.
In general, nothing beats exposing the setup state (as raw object) directly and changing the syntax to setup.myvar.value and props.myprop instead of accepting just myvar and props in the template. This gives the best possible performance, makes it clear immediately where the property is coming from and is closest to writing your own render functions.
Nevertheless, I realise that we want to preserve the existing syntax. So for that case this PR can help limiting the performance difference somewhat. Still, I would prefer to see 'setup' and 'prop' being directly available, as mentioned by Robbin.
100 new components per frame, 200 frames
Previous flushJobs: 1194ms, 1236ms, 1213ms
Previous proxy get: 287ms, 262m, 308ms
New flushJobs: 1115ms, 1171ms, 1161ms
New proxy get: 325ms, 335ms, 316ms
100 reused components per frame, 200 frames
Previous flushJobs: 862ms, 1038ms, 720ms
Previous proxy get: 155ms, 175ms, 135ms
New flushJobs: 786ms, 991ms, 937ms
New proxy get: 136ms, 101ms, 124ms
Particles test (6000 updated v-for items within the same component, all requesting 1 setup ref):
Previous flushJobs:
1905, 1893, 1864
Previous proxy get:
376, 405, 410
New flushJobs:
1759, 1643, 1725
New proxy get:
88, 103, 102

Based on the data you provide, seems not worthy in the real world cases.

First of all, thanks a lot of coming up with the idea and experimenting with this. Unfortunately, the gain here doesn't seem to justify the increased complexity of the implementation.
I still think this is an area worth exploring - but I think a more compiler-informed approach would be more plausible.


Continuous deployment in netlify

There should be a way that when code is pushed to a certain branch, the netlify site is updated. This would require a way to deploy that uses .dev and .prod variables, such as the urls and so.

Done, now commits to the prod branch update the website.


Fix load more news

Load more news button doesn't work. If it is difficult to make this with RSS we could also load +/-10 items and make a button underneath "watch all news" which redirects you to http://davehakkens.nl/#preciousplastic

It IS possible, but much more difficult. I also think that it's a good idea to forward users to your site if they want to read more since they can also subscribe to your RSS feed there. Otherwise, they might not even find it. The "news" page now also shows 10 items! :blush:


Regex not recognizing .services URL in terminal

Do you have a question? Please ask it on Stack Overflow with vscode tag
(Use Help > Report Issues to prefill these)

VSCode Version: Version 1.13.0 (1.13.0)
OS Version: MacOs 10.12.5 (16F73)

Steps to Reproduce:

open integrated terminal
write   echo "this is a http://lol.services url"

The url is not selectable with mouse+CTRL , when you replace it with github.com it works

Upstream issue https://github.com/sourcelair/xterm.js/issues/601

Tracking in https://github.com/xtermjs/xterm.js/issues/583


The MLFlow link is dead.

The MLFlow link in the docs is dead:  https://www.mlflow.org/docs/latest/tutorials-and-examples/tutorial.html
Output:
<Error>
AccessDenied
<Message>Access Denied</Message>
<RequestId>EJ9V74EZPSJ1FBCH</RequestId>
<HostId>FWL0Vrpb8AKvtJGQLsG83DRNH9Tj35tJZFrWKTmPxI8wWayic2vZTZDLc4zvmMe0sAh23K1O/FA=</HostId>
</Error>

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

ID: 4ef90a5e-2756-35ed-965f-9413eaf00747
Version Independent ID: 4ef90a5e-2756-35ed-965f-9413eaf00747
Content: Track scikit-learn model training with MLflow - Azure Databricks
Content Source: databricks/mlflow/tracking-ex-scikit.md
Service: azure-databricks
GitHub Login: @mssaperla
Microsoft Alias: saperla

Thanks for providing feedback that helps improve our documentation. We've created an internal work item (DOC-11881) to address your feedback. The timeline for resolution varies based on resourcing.
#please-close

@oj-m
We are going to close this thread.if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.

@RamanathanChinnappan-MSFT The issue still exists though... shouldn't the issue stay open until it's patched/resovled?


Add support for container metaevent to detect container spawning

A new macro container_started contains both the new and the old check.
Also, returns true only for execve enter events with vpid=1, not for both directions.
This depends on https://github.com/draios/sysdig/pull/1190.

@mattpag @mstemm What's the status on this? Can we merge?

We need to wait, the related sysdig code wasn't ever merged and now there's a new approach for emitting container events: https://github.com/draios/sysdig/pull/1283. That work needs to complete and we also need to change sysdig to emit "container" events when containers are created.

Closing in favor of https://github.com/falcosecurity/falco/pull/550. I cherry-picked the commit from this PR to #550.


Validate service descriptors

fixes: https://github.com/creek-service/creek-platform/issues/4
Reviewer checklist

[ ] Ensure relevant issues are linked (description should include text like "Fixes #")
[ ] Ensure any appropriate documentation has been added or amended

Coverage increased (+2.8%) to 96.939% when pulling 8c8cfca8694b0c95dd795e7899362dc24d8816c7 on service_validate into 128b5cf6e18a792f40a767cc992f49512bca1d12 on main.


Terminology

I suggest we call < > "relational operators" instead of "brackets". The working title of the foundational theory is Relop, from relational operators, and the philosophical approach is foundationally relational, not data-object oriented. Data structures should be tools, not foundational concepts in this approach.
For general data structures I suggest we follow/apply Norman's approach as suitable:
https://www.youtube.com/watch?v=q2beQrKjtzs

defining the data structures and representing them symbolically will be very important

I need to get clear on the following:

consonants
vowels
word
syllabus
row

And then I need to understand how the operation is applied

Voweltype1: <
Voweltype2: >
Characterdata (cd):
word: [ ]characterdata[ ]

this last post is a tremendous help!


Latency Decomposition

Thank you very much for your work, but when I tried to use your method I found that the most time consuming in set abstraction is fps and group process, not mlp. This is especially noticeable in the first layer. How to get the results of Latency Decomposition in your paper.
My first layer config is:
input feature channel: 4
npoints: 16384 -> 4096
radius: [0.2, 0.4, 0.8]
nsample: [32, 32, 64]
mlps: [[16,16,32], [16,16,32], [32,32,64]]

First of all, ours is built upon the MSG variant of PointNet++ not the SSG variant.  We will clarify this in the updated version.
Second, we consider the latency of the whole architecture not a specific layer.
Third, the fps will consume more time when the number of points is higher. You can see the trend in our paper (4k points vs 16k).  If you want to use point-based methods for large scale point cloud, you might consider random sampling instead of FPS.


Global pattern matching in rename transform using regex

Applying a rename transform
- rename:
    mode: bare
    renames:
      - from:
          type: Api(.*)
        to:
          type: $1
        useRegExpForTypes: true

using regex works as expected:  Api prefix gets dropped here.
Now say some types contain a certain substring (or even a bunch) that I want to eliminate all occurrences of. However, I'm not aware of their position in the type's name.
As far as i can tell, this could be achieved via global matching of provided pattern
- rename:
    mode: bare
    renames:
      # eliminate all occurrences of Api, this, that
      - from:
          type: (?:Api|this|that)(.*?)
        to:
          type: $1
        useRegExpForTypes: true

by passing the 'g' flag to the regex ctor in:
https://github.com/Urigo/graphql-mesh/blob/8db3c8307b2e2edbf307b415493c422a0ddc0b85/packages/transforms/rename/src/bareRename.ts#L25
like:
new RegExp(fromTypeName, 'g')

(same goes for wrap mode and field renames)
Is there another way to achieve this?
Or am i missing something here, is the lack of regex flags intended?
Thanks in advance!

Thanks @skaegebein , this is very interesting!
Do you think you could start by adding tests that cover the patterns you want to add?
That could be a good base for the discussion

Available in the next release!
Thanks!


Make somacore dependency exact to match tiledbsoma

A previous version of tiledb-soma erroneously marked itself as compatible with versions of tilebsoma v1.0.8. This is because the PyPI package (https://github.com/single-cell-data/TileDB-SOMA/blob/1.8.0/apis/python/setup.py#L332) lists itself as only compatible with == a version, but this Conda package listed itself as compatible with >= a version.

I'll put up a mod

The person who edits recipe/meta.yaml is 99% of the time myself. (See also our established procedure.)  Making an exact somacore pin here is an improvement -- it matches TileDB-SOMA's apis/python/setup.py -- but it introduces an error-prone step to be addressed. Namely, the change-me spots in this file are well-highlighted. Similarly the spots that bump regularly including core. The somacore package, by contrast, is "almost invisible" and it tends to disappear in the tiledbsoma shrubbery. A reminder is the right thing to do here.
https://github.com/TileDB-Inc/tiledbsoma-feedstock/pull/97/commits/ebc8814bb449530b52e1c5c4040266257b5853ff


Implemented Working Tank Drive from Test Bench

Driving mode is set to driveArcade() (vs driveTank()).

Merge this whenever you feel like it


compass-rails conflicting with compass

I installed compass-rails with bundle install.
Now what's happening is that when I run compass watch on different projects (outside of a rails app), it freezes, until press ctrl+c , it throws this error:
Interrupt on line ["18"] of /Users/me/.rvm/gems/ruby-2.1.1/gems/compass-rails-2.0.0/lib/compass-rails.rb
I'm even wondering why compass-rails is mentioned here, as this is not inside a rails app.
The problem solves itself when I uninstall the compass-rails gem. But then I can't run my rails app anymore...
Any clue?
Thanks

For what it's worth, this is broken in 2.0.4.  Reverting back to 2.0.1 keeps me from having to uninstall the compass-rails gem every time I use compass in other projects.

Update for anyone else who comes across this issue:
Compass will break with old versions of rubygems (I had 2.0.14 installed) and compass-rails 2.0.2 or higher. Just gets into a weird loop trying to resolve dependencies. Upgrading rubygems fixed it for me, after mucking around for an hour or two trying to sort out what in compass-rails would causing the conflict.


Bump GitVersioning versions to 3.5.103

Description

Motivation and Context

How Has This Been Tested?

Screenshots
Types of changes

[ ] Improvement (non-breaking change that improves a feature, code or algorithm)
[ ] Bug fix (non-breaking change which fixes an issue with code or algorithm)
[ ] New feature (non-breaking change which adds functionality to code)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Config and build (change in the configuration and build system, has no impact on code or features)
[x] Dependencies (update dependencies and changes associated, has no impact on code or features)
[ ] Unit Tests (add new Unit Test(s) or improved existing one(s), has no impact on code or features)
[ ] Documentation (changes or updates in the documentation, has no impact on code or features)

Checklist:

[ ] My code follows the code style of this project (only if there are changes in source code).
[ ] My changes require an update to the documentation (there are changes that require the docs website to be updated).
[ ] I have updated the documentation accordingly (the changes require an update on the docs in this repo).
[x] I have read the CONTRIBUTING document.
[ ] I have tested everything locally and all new and existing tests passed (only if there are changes in source code).
[ ] I have added new tests to cover my changes.

Thanks! Question: you've been using a global replace for the version?
I see Pn532 where the nfproj is not changed. So wondering about this.

Thanks! Question: you've been using a global replace for the version? I see Pn532 where the nfproj is not changed. So wondering about this.

the Pn532 nfproj already had the right version.

@KasperJSdeVries great that you've updated these. Any reason for not going with the latest version 3.5.107?

@KasperJSdeVries great that you've updated these. Any reason for not going with the latest version 3.5.107?

I could do that aswell, then I'll update all of them to that version

Sorry for the mess of commits


feat(Topology/Separation): define R₁ spaces, review API

Main API changes

Define R1Space, a.k.a. preregular space.
Drop T2OrLocallyCompactRegularSpace.
Generalize all existing theorems
about T2OrLocallyCompactRegularSpace to R1Space.
Drop the [T2OrLocallyCompactRegularSpace _] assumption
if the space is known to be regular for other reason
(e.g., because it's a topological group).

New theorems

Specializes.not_disjoint:
if x ⤳ y, then 𝓝 x and 𝓝 y aren't disjoint;
specializes_iff_not_disjoint, Specializes.inseparable,
disjoint_nhds_nhds_iff_not_inseparable,
r1Space_iff_inseparable_or_disjoint_nhds: basic API about R1Spaces;
Inducing.r1Space, R1Space.induced, R1Space.sInf, R1Space.iInf,
R1Space.inf, instances for Subtype _, X × Y, and ∀ i, X i:
basic instances for R1Space;
IsCompact.mem_closure_iff_exists_inseparable,
IsCompact.closure_eq_biUnion_inseparable:
characterizations of the closure of a compact set in a preregular space;
Inseparable.mem_measurableSet_iff: topologically inseparable points
can't be separated by a Borel measurable set;
IsCompact.closure_subset_measurableSet, IsCompact.measure_closure:
in a preregular space, a measurable superset of a compact set
includes its closure as well;
as a corollary, closure K has the same measure as K.
exists_mem_nhds_isCompact_mapsTo_of_isCompact_mem_nhds:
an auxiliary lemma extracted from a LocallyCompactPair instance;
IsCompact.isCompact_isClosed_basis_nhds:
if x admits a compact neighborhood,
then it admits a basis of compact closed neighborhoods;
in particular, a weakly locally compact preregular space
is a locally compact regular space;
isCompact_isClosed_basis_nhds: a version of the previous theorem
for weakly locally compact spaces;
exists_mem_nhds_isCompact_isClosed: in a locally compact regular space,
each point admits a compact closed neighborhood.

Deprecated theorems
Some theorems about topological groups are true for any (pre)regular space,
so we deprecate the special cases.

exists_isCompact_isClosed_subset_isCompact_nhds_one:
use new IsCompact.isCompact_isClosed_basis_nhds instead;
instLocallyCompactSpaceOfWeaklyOfGroup,
instLocallyCompactSpaceOfWeaklyOfAddGroup:
are now implied by WeaklyLocallyCompactSpace.locallyCompactSpace;
local_isCompact_isClosed_nhds_of_group,
local_isCompact_isClosed_nhds_of_addGroup:
use isCompact_isClosed_basis_nhds instead;
exists_isCompact_isClosed_nhds_one, exists_isCompact_isClosed_nhds_zero:
use exists_mem_nhds_isCompact_isClosed instead.

Renamed/moved theorems
For each renamed theorem, the old theorem is redefined as a deprecated alias.

isOpen_setOf_disjoint_nhds_nhds: moved to Constructions;
isCompact_closure_of_subset_compact -> IsCompact.closure_of_subset;
IsCompact.measure_eq_infi_isOpen -> IsCompact.measure_eq_iInf_isOpen;
exists_compact_superset_iff -> exists_isCompact_superset_iff;
separatedNhds_of_isCompact_isCompact_isClosed -> SeparatedNhds.of_isCompact_isCompact_isClosed;
separatedNhds_of_isCompact_isCompact -> SeparatedNhds.of_isCompact_isCompact;
separatedNhds_of_finset_finset -> SeparatedNhds.of_finset_finset;
point_disjoint_finset_opens_of_t2 -> SeparatedNhds.of_singleton_finset;
separatedNhds_of_isCompact_isClosed -> SeparatedNhds.of_isCompact_isClosed;
exists_open_superset_and_isCompact_closure -> exists_isOpen_superset_and_isCompact_closure;
exists_open_with_compact_closure -> exists_isOpen_mem_isCompact_closure;

bors merge

bors merge


Changed name of configuration button so it can be found by other mods looking to be compatible

Changed the name of the configuration button so it can be found by other mods looking to be compatible. As it is now, it's the generic "UIButton" which is not unique to the mod.

Awesome, thanks :)


Bug fix when using += for assignment to repeated properties

Coverage decreased (-0.04%) to 86.691% when pulling 6f2b24ecbb4e8976d947b2425e01dadd04530066 on dev into 39a5ce07f02836a1a50623c3fe628667e701822d on master.

Coverage decreased (-0.04%) to 86.691% when pulling bbf063f5342fd7275f21eabe5e44191b8f12f8cc on dev into 39a5ce07f02836a1a50623c3fe628667e701822d on master.

Coverage increased (+0.8%) to 87.545% when pulling 5a751d46a614d05010f7182f71a416d8ccc540a6 on dev into 39a5ce07f02836a1a50623c3fe628667e701822d on master.

Coverage increased (+0.8%) to 87.545% when pulling 4c22bd87d18b32f7e8e02058032ebe2e6e99a788 on dev into 39a5ce07f02836a1a50623c3fe628667e701822d on master.


New Game : Jump n Run

The Jump and run game will be a fun game . There may be object and there would be hurdles for which it has to Jump the hurdles and run it from there . It will be coded using HTML, CSS and Javascript .
Simple but attractive UI .
Good color combination .
After every hurdle crossed some points will be added .
A Congratulation message in the end.
Please assign me this issue under Gssoc-23

Hi @Vidhi-44 , I am assigning this task to you. Kindly complete your work within a week. Good luck vidhi!


fixed flaky test issue for test_operator_gpu.test_convolution_grouping

Description
Issue not reproducible on Ubuntu. Tolerance parameter (atol) relaxed. This should fix the flakiness issue on Windows #12219 since mismatch percentage is small.
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.

[x] Changes are complete (i.e. I finished coding on this PR)
[x] All changes have test coverage:
Unit tests are added for small changes to verify correctness (e.g. adding a new operator)
Nightly tests are added for complicated/long-running ones (e.g. changing distributed kvstore)
Build tests will be added for build configuration changes (e.g. adding a new build option with NCCL)
[x] Code is well-documented:
For user-facing API changes, API doc string has been updated.
For new C++ functions in header files, their functionalities and arguments are documented.
For new examples, README.md is added to explain the what the example does, the source of the dataset, expected performance on test set and reference to the original paper if applicable
Check the API doc at http://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-$PR_ID/$BUILD_ID/index.html
[x] To the my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

Changes

[x]  Tolerance parameter atol modified to 1e-3

Comments

Passed more than 10,000 times on GPU
@haojin2

Failing again: http://jenkins.mxnet-ci.amazon-ml.com/blue/organizations/jenkins/incubator-mxnet/detail/master/1549/pipeline/


Gibberish showing in Nami wallet

hi
I provided liquidity for two pairs from the Minswap DEX. Got the LPs to my Nami wallet but the identification of the LP is showing gibberish in the wallet. Please see the attachment for the visual.
Many thanks.

Reporting the same here.  Only happened with the first LP tokens I received for providing liquidity at WingRiders.

@solomonmy @dilacerated Talk to Cardano  Support on the Cardano Live Support so that your issue can be looked into.
Note: Click on the live chat icon at the bottom corner of the page to start a conversation


db.NamedExec did not work as expected

I have this golang code:

        s1 := Person{ID: 1, Firstname: "Alex", Lastname: "Chaz", Email<EMAIL_ADDRESS>	people = append(people, s1)
	s2 := Person{ID: 2, Firstname: "Jason", Lastname: "Statham", Email<EMAIL_ADDRESS>	people = append(people, s2)

	db := dbs.GetDatabaseConnection()
	db.Exec(schema)

	tx := db.MustBegin()

	tx.MustExec("INSERT INTO person (firstname, lastname, email) VALUES ($1, $2, $3)", s1.Firstname, s1.Lastname, s1.Email)
	tx.MustExec("INSERT INTO person (firstname, lastname, email) VALUES ($1, $2, $3)", s2.Firstname, s2.Lastname, s2.Email)

	// Named queries can use structs, so if you have an existing struct (i.e. person := &Person{}) that you have populated, you can pass it in as &person

	// tx.NamedExec("INSERT INTO person (firstname, lastname, email) VALUES (:Firstname, :Lastname, :Email)", s1)
	// tx.NamedExec("INSERT INTO person (firstname, lastname, email) VALUES (:Firstname, :Lastname, :Email)", s2)
	tx.Commit()

the tx.MustExec queries worked fined, but the tx.NamedExec queries did not, is there anything obvious that I did wrong? weird. (Note that the two queries that I commented out are the ones that weren't working.)

Isn't the issue that the default mapper for named queries is strings.ToLower.
If you try your queries with:
tx.NamedExec("INSERT INTO person (firstname, lastname, email) VALUES (:firstname, :lastname, :email)", s1)
instead, does it work?

my struct has uppercase first chars for all fields, but i will try that tomorrow thx

your struct needs tho have uppercase first chars, so that the fields are exported. just update the query.

yeah that was my question, how should update the query?  this query didn't work, but probably should have:
 tx.NamedExec("INSERT INTO person (firstname, lastname, email) VALUES (:Firstname, :Lastname, :Email)", s1)

the most probable reason your query does not work is that you've typed :Firstname, :Lastname, :Email, etc. with uppercase first chars, but you should type them with all lowercase, as so: :firstname, :lastname, :email.

As @yzzyx has stated, sqlx uses a mapper to fit local Go names to database names.  It uses this mapper to fit the Go struct attributes to named vars in your query as well, so:
type Person struct {
    EmailAddress string
}

Person.EmailAddress would map to emailaddress (with the default mapper).  You will need to make your queries compatible with the mapper you want;  if you want to use the same names in Go and in the database (and all of your database names would be exported Go names) then you can use a Noop mapper:
func NoopMapper(s string) string {
    return s
}

db.MapperFunc(NoopMapper)

Is it possible to have a rebind functionality for namedexec queries too? The problem is that my code needs to work with MySQL and Postgres both. So queries with positional arguments work when I rebind it, but namedExec queries don't. Since they contain struct field names.
The MapperFunc conditionally handles the struct fields. But that isn't useful unless I can rebind the params in Named queries as well.


Proxy Configuration

Hello,
My application requires a proxy. I couldn't find a way to configure a proxy in the nodejs sdk. Any help ?

Hi @ridi-mz ,
The node SDK (latest version) allows you to override which fetch implementation is used using the fetchApi configuration option.  By default, node-fetch is used.  But you can pass in a custom function instead that sets up a proxy for all fetch calls.
This sample code may be useful for you ➡ https://github.com/adobe/target-nodejs-sdk/blob/main/packages/target-nodejs-sdk/demo/demo.js#L6

Hi @ridi-mz ,
The node SDK (latest version) allows you to override which fetch implementation is used using the fetchApi configuration option.  By default, node-fetch is used.  But you can pass in a custom function instead that sets up a proxy for all fetch calls.
This sample code may be useful for you ➡ https://github.com/adobe/target-nodejs-sdk/blob/main/packages/target-nodejs-sdk/demo/demo.js#L6


RP player animations are considered unnused

{
	"format_version": "1.10.0",
	"minecraft:client_entity": {
		"description": {
			"identifier": "minecraft:player",
			"materials": {
				"default": "entity_alphatest",
				"cape": "entity_alphatest",
				"animated": "player_animated"
			},
			"textures": {
				"default": "textures/entity/steve",
				"cape": "textures/entity/cape_invisible"
			},
			"geometry": {
				"default": "geometry.humanoid.custom",
				"cape": "geometry.cape"
			},
			"scripts": {
				"scale": 0.9375,
				"initialize": [
					"variable.is_holding_right = 0.0;",
					"variable.is_blinking = 0.0;",
					"variable.last_blink_time = 0.0;",
					"variable.hand_bob = 0.0;"
				],
				"pre_animation": [
					"variable.helmet_layer_visible = 1.0;",
					"variable.leg_layer_visible = 1.0;",
					"variable.boot_layer_visible = 1.0;",
					"variable.chest_layer_visible = 1.0;",
					"variable.attack_body_rot_y = Math.sin(360*Math.sqrt(variable.attack_time)) * 5.0;",
					"variable.tcos0 = (math.cos(query.modified_distance_moved * 38.17) * query.ground_speed / variable.gliding_speed_value) * 57.3;",
					"variable.first_person_rotation_factor = math.sin((1 - variable.attack_time) * 180.0);",
					"variable.hand_bob = query.life_time < 0.01 ? 0.0 : variable.hand_bob + ((query.is_on_ground && query.is_alive ? math.clamp(math.sqrt(math.pow(query.position_delta(0), 2.0) + math.pow(query.position_delta(2), 2.0)), 0.0, 0.1) : 0.0) - variable.hand_bob) * 0.02;",
					"variable.map_angle = math.clamp(1 - variable.player_x_rotation / 45.1, 0.0, 1.0);",
					"variable.item_use_normalized = query.main_hand_item_use_duration / query.main_hand_item_max_duration;"
				],
				"animate": [
					"root",
					{
						"idle_tarboros": "query.equipped_item_any_tag('slot.weapon.mainhand', 'pa:tarboros')"
					}
				]
			},
			"animations": {
				"root": "controller.animation.player.root",
				"base_controller": "controller.animation.player.base",
				"hudplayer": "controller.animation.player.hudplayer",
				"humanoid_base_pose": "animation.humanoid.base_pose",
				"look_at_target": "controller.animation.humanoid.look_at_target",
				"look_at_target_ui": "animation.player.look_at_target.ui",
				"look_at_target_default": "animation.humanoid.look_at_target.default",
				"look_at_target_gliding": "animation.humanoid.look_at_target.gliding",
				"look_at_target_swimming": "animation.humanoid.look_at_target.swimming",
				"look_at_target_inverted": "animation.player.look_at_target.inverted",
				"cape": "animation.player.cape",
				"move.arms": "animation.player.move.arms",
				"move.legs": "animation.player.move.legs",
				"swimming": "animation.player.swim",
				"swimming.legs": "animation.player.swim.legs",
				"riding.arms": "animation.player.riding.arms",
				"riding.legs": "animation.player.riding.legs",
				"holding": "animation.player.holding",
				"brandish_spear": "animation.humanoid.brandish_spear",
				"holding_spyglass": "animation.humanoid.holding_spyglass",
				"charging": "animation.humanoid.charging",
				"attack.positions": "animation.player.attack.positions",
				"attack.rotations": "animation.player.attack.rotations",
				"sneaking": "animation.player.sneaking",
				"bob": "animation.player.bob",
				"damage_nearby_mobs": "animation.humanoid.damage_nearby_mobs",
				"bow_and_arrow": "animation.humanoid.bow_and_arrow",
				"use_item_progress": "animation.humanoid.use_item_progress",
				"skeleton_attack": "animation.skeleton.attack",
				"sleeping": "animation.player.sleeping",
				"first_person_base_pose": "animation.player.first_person.base_pose",
				"first_person_empty_hand": "animation.player.first_person.empty_hand",
				"first_person_swap_item": "animation.player.first_person.swap_item",
				"first_person_attack_controller": "controller.animation.player.first_person_attack",
				"first_person_attack_rotation": "animation.player.first_person.attack_rotation",
				"first_person_vr_attack_rotation": "animation.player.first_person.vr_attack_rotation",
				"first_person_walk": "animation.player.first_person.walk",
				"first_person_map_controller": "controller.animation.player.first_person_map",
				"first_person_map_hold": "animation.player.first_person.map_hold",
				"first_person_map_hold_attack": "animation.player.first_person.map_hold_attack",
				"first_person_map_hold_off_hand": "animation.player.first_person.map_hold_off_hand",
				"first_person_map_hold_main_hand": "animation.player.first_person.map_hold_main_hand",
				"first_person_crossbow_equipped": "animation.player.first_person.crossbow_equipped",
				"third_person_crossbow_equipped": "animation.player.crossbow_equipped",
				"third_person_bow_equipped": "animation.player.bow_equipped",
				"crossbow_hold": "animation.player.crossbow_hold",
				"crossbow_controller": "controller.animation.player.crossbow",
				"shield_block_main_hand": "animation.player.shield_block_main_hand",
				"shield_block_off_hand": "animation.player.shield_block_off_hand",
				"blink": "controller.animation.persona.blink",
				"idle_tarboros": "animation.humanoid.tarboros.panimalia.idle"
			},
			"render_controllers": [
				{
					"controller.render.player.first_person": "variable.is_first_person"
				},
				{
					"controller.render.player.third_person": "!variable.is_first_person && !variable.map_face_icon"
				},
				{
					"controller.render.player.map": "variable.map_face_icon"
				}
			],
			"enable_attachables": true
		}
	}
}

Think I finally understand it, You have a player.json in your projects, but not all the animations, So its using a different data set to validate

Yeah, the rp entity player file is the only related player file I have

Any developments on this?

no yet, I havent been able to do any work it, don't know when


RFC: "meta" packages for util-linux, procps, and nettools

RFC
Lots of packages depend on either util-linux, and nettools. Both of these packages are Linux only and there isn't an easy way to port them to macOS. However, most packages that depend on either util-linux or nettools just want one small binary, some of which have macOS equivalents.
My basic proposal is to make "meta" packages for each of these commands and encourage package maintainers to list each one that is needed. In addition, I will create a Darwin package that provides as much of nettools, procps, and utillinux as we can.

Tasks

[ ] package opensource.apple.com

[ ] adv_cmds
[x] basic_cmds
[ ] doc_cmds
[ ] diskdev_cmds
[ ] file_cmds (current broken)
[ ] man
[ ] network_cmds (currently broken)
[ ] remote_cmds
[ ] shell_cmds (currently broken)
[ ] system_cmds (see facebook/xcbuild#188)
[ ] text_cmds
[ ] top

[ ] create meta-drvs for each output of:

[ ] nettools (see list above)
[ ] util-linux (see list above)
[ ] procps (see list above)

[ ] rename compatibility drvs

[ ] util-linux + procps -> unixtools
[ ] remove utillinux refs (unless specifically necessary)
[ ] remove procps refs (unless specifically necessary)

[ ] create darwin compatibility drvs

[ ] network_cmds + shell_cmds = nettools
[ ] adv_cmds + basic_cmds + diskdev_cmds + shell_cmds + system_cmds + text_cmds = unixtools

As far as I understood stdenv is used to cover platform abstraction. Would be such meta-packages also fit into this scope?

Closing in favor of #37840.


Podcast fixes

As discussed with @hairboat, this pull fixes some issues with the podcast feed, notably the guids, making the feed valid, and removing most validation warnings. It includes the itunes:new-feed-url tag so that current subscribers can have their feed automatically updated if they are sent to this new feed with a 301 redirect (known old podcast feed urls include http://blog.stackoverflow.com/?feed=podcast which would need redirecting). The feed will also still need resubmitting to Apple as the old one dropped out of the store.
I attempted to increase the number of episodes available on the feed, with only minor success. It would be good to have all episodes on the feed so they are all available via iTunes (but adding the previously used guids to older episodes, where possible.)

As all old episodes will have the original guid (determined from their wordpress_id) now, there should be no need to limit the feed, allowing all podcasts which have a podcast url to appear in iTunes. However, the feed seems to always be limited no matter what I try...

After some more testing, it seems the limit I'm hitting might be in my local set up, I can't access older posts even just browsing the blog locally, so I don't want to remove the coded limit as I can't test it here.

Stack Overflow episode 35 is missing from Soundcloud @hairboat.

Truncating the summary and subtitle was required for iTunes, but some posts broke the feed when truncated unless wrapped in   ... but that shows all the escaping in iTunes. So I unescaped them with a filter...

@dgreenley ready to merge on your end?

@JonHMChan All set here. Go for it!

Going to check that we're all good here on staging - if no issues, we should see a change on production and can test.

@JonHMChan Sound good. Note: if you test this version of feed in iTunes via your staging sever, the iTunes:new-feed-url tag will cause a redirect to the version currently available on production... Caught me out the first time.

@JonHMChan Actually I take that back: The host portion is dynamic.


[Dashboard] add functioning bar chart and status timeline title

Bar chart and status timeline do not correctly expose the ability to title the widgets.
Bar chart and status timeline should have a "title" feature, exactly the same as the "XY-plot" (line chart, scatter chart, etc)
Each respective widget, when the configuration panel is open the first field should be present as shown below (exactly like xy-plot)

The default title should be blank.
### acceptance criteria
- [ ] bar chart has a functioning title
- [ ] bar chart has no default title
- [ ] status timeline has a functioning title
- [ ] status timeline has no default title

Hi @diehbria

do we need to add widget title for KPI, Status and Table widget as well? (currently, showing for line widget, for bar and status timeline added as mentioned in ticket AC)
do we need to show title in empty state widget? (currently, not showing in line widget and we have empty state for status timeline, KPI and status widgets as well)

Only worry about whats in the issue (bar chart / xy-ploy / status-timeline)
title should be displayed in empty state


mdoody-images-fixes

Changes introduced by this PR

There is also a typo in CHANGELOG,  in "This release requires at VS Code version 1.86.0 or higher" (least) is missing.


App Username and Password

Description
This change allows the use of application physical path credentials in recipes.
Issues Resolved
no registered issues
Check List

[x ] All tests pass. See https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/TESTING.MD
[ x] New functionality includes testing.
[x ] New functionality has been documented in the README if applicable
[ x] All commits have been signed for the Developer Certificate of Origin. See https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/CONTRIBUTING.MD

@CBock001 sorry was in the office yesterday and didn't have a moment to look at this, will try to review right now

so it appears you are just adding the ability for the vdir (or physical directory of the app) to have a username and password, have you tried it with the vdir provider?
https://github.com/chef-cookbooks/iis/blob/master/providers/vdir.rb

I just tried using vdir combined with app, it does work that way but it includes another resource in the recipe (the vdir resource) that doesn't need to be included if you can set username and password in the app itself.

totally, but making this change means that both app and site providers would need to be updated to handle this.
Also this change doesn't handle using different login methods, so support for that would need to be included.  The more I go the more this starts to be a code smell, when we have a vdir resource that does all the above, if you can get the app and site resources to use the vdir resource then we should probably go that way with it (IE have those resources call the vdir resource).

@CBock001
please take a look at this pull request and see if it does everything you need and more:
https://github.com/chef-cookbooks/iis/pull/305

Yes it does, would you like me to close this PR as the one you submitted does this plus some?

yes, we'll only pull the other one.  first i need to write tests and test all the use cases.

Understood, I'm closing it now. Thank you

Understood, I'm closing it now. Thank you

not a problem, and glad i re-looked at this since it is controlling the default virtual directory (i previously didn't notice that).


Replace deprecated CFURLCreateString* APIs

See issue #74

Thanks @macdrevx! This looks good.

Thanks @wessmith


[Docs] - Change the Community Welcome Guide link with the given link in README.md

Description

The link to the newcomer's welcome guide is redirecting toward the deleted docs link.
Expected Behavior

Replace it with this link Link
Screenshots

Enviroment:

OS: Mac Linux Windows
Browser: Chrome Safari Firefox
Version:
Device: Desktop Mobile

Contributor Guides and Handbook
The meshery.io website uses Jekyll and GitHub Pages. Site content is found under the master branch.

📚 See the Contributing to Meshery.io Website section of the readme.md and other contributing instructions, too.
🎨 Wireframes and designs for Meshery UI in Figma
🙋🏾🙋🏼 Questions: Discussion Forum and Community Slack

I want to work on this :)

Here you go 🚀 @Amishakumari544

@UtkarshMishra12 if no one is working on this? can I take this issue.

Let us wait for a day or two if @Amishakumari544 does not reply you can proceed with the PR 👀 @msaini0r


Normalize Test Setup

These changes move the integration tests to use the bucket types and setup as specified in the riak-client-tools master branch.
This eliminates the need for a separate java-client branch of the tools.
Also did some refactoring to slow tests to provide a single shared setup/teardown for the classes instead of one for each individual test. This sped one 2i test up from 3s to 78ms.

Looks great, two test runs passed 100% locally. Maybe update tools to master since I just merged basho/riak-client-tools#6 ?
:+1:

@lukebakken Ok, I'll do that and push once buildbot gives me the green light.

Cool, I just made more merges to riak-client-tools this morning, too.


Renamed all files and folders according to Dart Preferences.

I have renamed all the files and folders according to dart preferences. And reformatted the lib/starred_documents.dart file.

Are there any other files left that need to follow the dart preferences guidelines?

No Sir

Renaming these files also modify all the imports to the corresponding calls in all places so that it won't create an error currently it has lots of errors regarding this. Do check them

Create a new pr for this.

Create a new pr for this.

Okay


[BUG] HeaderView date is not correct date

The following informations are requested in a bug report

A brief bug description.
Stack trace.
Integration method.(manually/cocoapods/carthage)
Full steps to reproduce.
Device modal and iOS version.  e.g. iPhone 6s iOS9.1
Xcode version.  e.g. Xcode 8.1
FSCalendar version. e.g. FSCalenda 2.5.1
Does this happen in the demo project? Which one? Or a link to another demo project.
When I set the headerDateFormat as @"EEEE, MMM dd, yyyy", the header date is not today's date. It's random week day

I have the same issue - nothing is changed trough 2 years


Adjust POSTGRES_HOST_AUTH_METHOD to automatically match configured password_encryption

this release now makes the standards-compliant SCRAM-SHA-256 password management and authentication system the default on new PostgreSQL instances
https://www.postgresql.org/about/news/postgresql-14-released-2318/

With the swap to scram-sha-256 as the default, initdb uses that unless specified otherwise. So for the initial user created, the password is SCRAM encrypted.

To ease transition from the md5 method to the newer SCRAM method, if md5 is specified as a method in pg_hba.conf but the user's password on the server is encrypted for SCRAM (see below), then SCRAM-based authentication will automatically be chosen instead.
https://www.postgresql.org/docs/14/auth-password.html
See https://github.com/docker-library/postgres/issues/895#issuecomment-943747823

So, the current md5 in the host auth method will use scram-sha-256 if that is how the password was saved.

With this change on postgres:14, the host auth method in pg_hba.conf will reflect the change to scram-sha-256 instead of using md5.  But there is the possibility of breaking users that are using a pre-hashed md5 password and are starting a newly initialized PostgreSQL 14 container.
This change makes it possible to change the initial auth and have pg_hba.conf reflect the change automatically by using POSTGRES_INITDB_ARGS=--auth-host=scram-sha-256 and not having to also set POSTGRES_HOST_AUTH_METHOD.
Setting -c password_encryption=md5 is not enough to affect the initial user created by initdb (even though it is passed along to initdb :cry:).
Our POSTGRES_HOST_AUTH_METHOD variable still only effects the line in pg_hba.conf.

I am still seeing this issue with the latest image. Here is my docker-compose:
`version: '3.3'
services:
postgres:
image: postgres:latest
container_name: postgres
restart: always
environment:
POSTGRES_USER: testUser
POSTGRES_PASSWORD: testPassword
POSTGRES_DB: test_db
POSTGRES_HOST_AUTH_METHOD: scram-sha-256
POSTGRES_INITDB_ARGS: '--auth-host=scram-sha-256 --auth-local=scram-sha-256'
ports:
- 5737:5432
volumes:
- postgres:/var/lib/postgresql/data
`
pg_hba.conf
local         all             all                                          scram-sha-256
host         all             all             <IP_ADDRESS>/0               scram-sha-256
host         all             all             ::1/128                   scram-sha-256
local   replication     all                                           scram-sha-256
host    replication     all             <IP_ADDRESS>/32          scram-sha-256
host    replication     all             ::1/128                   scram-sha-256
host all all all scram-sha-256
`
postgresql.conf
listen_addresses = '*'
These are my config, Expected: connection allowed from any IP using username and password set while creating the postgres container, but the docker environment variables set are not respected and I am not able to login using the credentials.
These are the logs I see from the container:
2022-06-12 13:35:29.974 UTC [33] FATAL:  password authentication failed for user "testUser"
2022-06-12 13:35:29.974 UTC [33] DETAIL:  Connection matched pg_hba.conf line 86: "host    all             all             <IP_ADDRESS>/0               scram-sha-256"
From the logs, it seems that the connection is reaching the container, and the set config to allow connections from any host is working, but the credentials seem to be the issue here.
Can someone please help? what am I doing wrong here? Based on this issue, the fix is already merged but I am still seeing the same error.


Resuming training from given 100k checkpoint collapses

Training on a single V100 GPU, resuming from the checkpoint at 100,000 iterations linked to from the README, consistently collapses straight away.
Screenshot of script to resume training from checkpoint: https://drive.google.com/open?id=1ik16IVE9G8l7dCnpCjQStVslkE9Ltg19
The differences I can see besides using just one GPU and so having a smaller batch size and more accumulations are:

not using parallel
using 0 workers
not using multiepoch sampler
not using the EMA for evaluation (to show collapse)

I'm very confused as to why this is not working - none of those changes should make a difference, as far as I can tell - any suggestions greatly appreciated!
GIF showing collapse over about 130 iterations, sampling every 5: https://giphy.com/gifs/ifMnHURSReyjyE3IfC/html5
Logs: https://drive.google.com/drive/folders/11Far9osGQ2KslKY4Gyio8AHotBGXTKI6?usp=sharing

I've realised what the problem was. The directories for the images of different classes were saved in data/ImageNet/train, whereas they should have been placed in data/ImageNet. Because labels are assigned based on which subdirectory of ImageNet the images occupy, they were all being given the same label, 0.
Whoops!


Remap ._globals

A breaking change happened in https://github.com/mdn/browser-compat-data/pull/11518, needs a new way to map them.

Fixed by 66c513b746add036621b25cfe0ea2e831575c0a8


Signup page for users

Users need a signup page.
A lot of the code can be used from the user management page.

@redknitin i would like to contribute . can you please guide me?

Hello @mohan-mu !
It's nice to hear from you.
As a first step, you can try to get the application running on your computer. There are 2 ways to do this:
Method 1. Install Ruby and MongoDB - it runs natively on your computer . Then, execute "runme.bat"
Method 2. Install Oracle VirtualBox 5.1 and Vagrant - it sets up a virtual machine. Then, from the project directory, run the command "vagrant up"

User signup has been implemented in ed2460a28cd5f5d3edf047bd3424fe0a1aca7583


Bug fixing 4 and test cases

Codecov Report

Merging #301 into master will increase coverage by 1.32%.
The diff coverage is 42.85%.

@@             Coverage Diff              @@
##             master     #301      +/-   ##
============================================
+ Coverage     68.23%   69.56%   +1.32%
- Complexity      911      927      +16
============================================
  Files           136      136
  Lines          3076     3085       +9
  Branches        414      415       +1
============================================
+ Hits           2099     2146      +47
+ Misses          847      791      -56
- Partials        130      148      +18

Impacted Files
Coverage Δ
Complexity Δ

...edu/address/logic/parser/AddTaskCommandParser.java
92.30% <ø> (+92.30%)
4.00 <0.00> (+4.00)

...du/address/logic/parser/EditTaskCommandParser.java
78.57% <ø> (+78.57%)
7.00 <0.00> (+7.00)

...edu/address/model/participation/Participation.java
45.28% <0.00%> (-3.70%)
13.00 <0.00> (ø)

...edu/address/logic/commands/global/EditCommand.java
92.68% <60.00%> (-4.66%)
13.00 <0.00> (+1.00)
:arrow_down:

...address/logic/commands/project/AddTaskCommand.java
41.66% <0.00%> (ø)
3.00% <0.00%> (+1.00%)

...ddress/logic/commands/project/EditTaskCommand.java
70.52% <0.00%> (+5.26%)
8.00% <0.00%> (+1.00%)

...in/java/seedu/address/logic/parser/ParserUtil.java
93.05% <0.00%> (+6.94%)
26.00% <0.00%> (+2.00%)

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 72b7612...bba442f. Read the comment docs.


feat: add option to set timeout for request queue client

The default timeout for API client (360 secs) is too high for some endpoints. Add an option to set timeout to request queue separately from the main API client timeout.

I think the correct place to add this would be either everywhere or to dataset and key-value store clients. Because that is where we need to override the low timeout because of long uploads/downloads. Everywhere else the timeout can be short. I understand that adding the timeout to the queue is the quickest fix, but conceptually it does not make sense.

This is supposed to be a hotfix, allowing us to change the long default timeout to 30s in the SDK. I want it this way so we can release it today, without arguing where we need long timeout and what is the right default value for it (and without possibly breaking use cases that need the long timeout).
I believe you did not like the idea of having separate defaults for this, so your suggestion to change deafult to 30s seems quite breaking.


Avoid waste of resources due to reconstruction of objects

avoid waste of resources due to reconstruction of objects

What is the performance benefit here? I'm concerned that some error paths, particularly around unhandled exceptions might lead to memory leaks. The PR needs very careful analysis before merging.

Re-opening, as I have done most of the analysis required.

The only one I'm concerned about is JspFactoryImpl as this would open up the possibility of one web application being able to impact another. I'll merge this manually so I can skip that class.

Merged


SSL/TLS support and listen on specified IP/interface

Need SSL/TLS support and ideally listen only on a specified interface/IP address.

can we integrate letsencrypt support?  That said, I expect 90% of use cases this would only be exposed internally (why make public available) so not sure if LE can support that easily?


Add Emina to Contributors list

This is my contribution.

@eminazolota, I'm quite elated about your PR. I wanna evolve this project to addresses various problems faced by first-time contributors. I'd love to learn about your journey in open source community, the problems, pain points you had etc.
Could you explain how you felt when you went through the tutorial, made a PR and learned that I merged it?
We’ve added a tweet feature to our web app recently. Can you please go to https://roshanjossey.github.io/first-contributions/#social-share and share your first contribution to open source?
Also, check out projects with easy issues while you’re there.

Hi, it was really helpfull. I'm a beginner and I hope I will get better in
git. I like it so far. This was a little difficult, but I'm very happy with
myself and you merging it. Thank you. I don't have a twitter account, so
I'm sorry but I can't contribute in that way.
On Thu, Oct 19, 2017 at 9:35 PM, Roshan Jossey<EMAIL_ADDRESS>wrote:

Merged #1060
https://github.com/Roshanjossey/first-contributions/pull/1060.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Roshanjossey/first-contributions/pull/1060#event-1301786571,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AZjvGoU7dCD_h8Fd-6YTNDCoRZavCeCMks5st6RtgaJpZM4P_vrT
.

@eminazolota, I’d urge you to continue contributing to other open source projects.
We also have a slack team to help/mentor people trying to contribute to open source projects.
You can join the team by going to https://firstcontributions.herokuapp.com

@eminazolota, we just added Facebook share if you're interested in sharing.
https://roshanjossey.github.io/first-contributions/#social-share


chore: add health checks to Docker Compose file

Waiting on https://github.com/Flagsmith/flagsmith/pull/3206 to be released and get to docker hub

OK this is working nicely now.


typo: succesful -> successful

@nschonni : Thanks for your contribution! The author, @dimazaid, has been notified to review your proposed change.


Changed checkFileSystemPermissions arguments so PHP 8 won't throw Deprecated info

If we have set opcache.enable = 1 with PHP 8, then information is displayed: "Deprecated: Optional parameter $path declared before required parameter $permissions is implicitly treated as a required parameter in /var/www/html/vendor/tedivm/stash/src/Stash/Utilities.php on line 212", it causes a problem with being able to set via ini_set function session.path:
Warning: ini_set(): Session ini settings cannot be changed after headers have already been sent
The proposed change will not affect the operation of the application and will remove information about Deprecated, which will prevent the appearance of Warning

Hi @tedivm. Would you be able to publish a new tag (v0.16.1 AFAICS) containing this change? This issue kinda blocks our development so I was wondering if the fix can be released.
Thank you in advance. 😉

@konradoboza - sometime this week. If you check out the main branch I did a ton of work today migrating tests over to Github actions and merged some other PRs in as well, with the goal of speeding up development going forward. I'll be honest travis-ci shutting down open source projects happened at the worst time for me, as I was switching jobs and moving to Chicago. I didn't want to release until the tests were passing CI at a minimum, which is now happening in main.

 Then I handed in notice at my job.


Add Check to See if Pins Were Actually Pushed

Currently, assumes success every time.

Not sure there is a way to do this yet.


More Node tests

Testing the following functions:

reparent (added recently by https://github.com/godotengine/godot/pull/36301)
duplicate
replace_by (also with keeping groups)

Thanks!