text:
iOS token weird format

Expected Behaviour
Token received should be a persistable hexa string :
864CD0D436C9FD41695B59584437EC57B4F4CF94A4A604C20F9852475FAAB540
Actual Behaviour
Token receive looks like a truncated version of binary data :
{length=32,bytes=0x864cd0d436c9fd41695b59584437ec57...0f9852475faab540}
Reproduce Scenario (including but not limited to)
Steps to Reproduce
Registering for remote notifications as usual
Platform and Version (eg. Android 5.0 or iOS 9.2.1)
IPhone iOS13 beta
Cordova CLI version and cordova platform version
cordova --version =>  7.1.0
cordova platform version android => 4.5.5

Plugin version
cordova plugin version | grep phonegap-plugin-push  => 2.1.0

Suggestion
According to the source here :
https://github.com/phonegap/phonegap-plugin-push/blob/e5370c4bdb7f6459e82d39a7b072b10b78aa6e32/src/ios/PushPlugin.m#L365
The plugin use the description field to translate the deviceToken data.
This does not look like a reliable way to extract data from it, as the string representation (the main purpose of calling description) is not guaranteed to reflect the value. And may be the cause for the current issue.

https://forums.developer.apple.com/thread/117545
Hope this helps.

What is the rationale behind #if ?
As I understand it, using description is, and always have been, incorrect way of handling this, devs only was lazy and didn't convert it from bytes?

This has been fixed in v2.3.0

@bnek nope im using 2.3.0 and still having same issue ...

@cinder92 I had to remove the platforms/node modules and then prepare/build the app from scratch.

After upgrading to 2.3.0 actionable alert event listener stopped working on iOS. Always it calls on('notificatoin') method. It works on android

IS_GCM_ENABLED

then This has been fixed in v2.3.0

 " <key>IS_GCM_ENABLED</key><false></false> "
then  fixed in v2.3.0

Jeet sweezus, I wish someone could help me get back the hundreds of garbage device IDs that I now don't have as a result of this...

authors: arcreative bnek caspChristian cinder92 coldiary perry14 sckumar shaileshpendamavplat

repo: phonegap/phonegap-plugin-push


text:
3.15.0 Scene restarts on exception

Version

Phaser Version:
Bug appears in versions >= 3.15.0

Operating system:
Windows 10, not tested in other OS

Browser:
Google Chrome 71.0.3578.98, not tested in other browsers

Description
It seems that under certain conditions Scenes will continually restart in an infinite loop when an exception is raised. Steps to reproduce:

Create two Scene classes (e.g. BootScene and LoadScene) which both inherit from Phaser.Scene

Start the game on the BootScene and then start the LoadScene from the BootScene

Raise an exception somewhere in LoadScene. Either in preload or create, it doesn't seem to matter. I did this for example by calling a scene function that doesn't exist, this.foobar()

In Phaser 3.15.0 and above this will raise the expected exception, however the raise will be repeated over and over again in an infinite loop. It seems that the scene is continually trying to restart itself on the exception. Testing this in 3.14.0 and below yields the desired behavior, i.e. the app raises the exception once and then halts.
Example Test Code
https://jsfiddle.net/billnreed/zmfovn46/1/
Additional Information
Please see the forum post https://phaser.discourse.group/t/3-15-0-bug-scene-restarts-on-exception/514  for additional details and discussion.

Sorry for leaving this issue open for so long, it was actually fixed shortly after this release in v3.16.0, but I forgot to close this issue with those details.

source: gharchive/issue

authors: galarant photonstorm

repo: photonstorm/phaser

license: mit

license_type: permissive

license_source: bigquery


text:
Buggy tilemap collision with arcade physics

Version

Phaser Version: 3.19.0

Operating system: ALL

Browser: ALL

Description

TLDR: When using arcade physics and colliding with platforms created from tilemap, there is sometimes random Y velocity applied on the sprite's body, causing weird behaviour. Problem is FPS related.
Hi, I am working on platformer game and I am using Phaser.Physics.Arcade.Sprite components and tilemaps created in Tiled map editor. I experience strange behaviour - there is sometimes Y velocity applied on sprites`s body, even when the body stands still on the ground and no input is provided. I created my sprite, put it to the world on the platforms created in Tiled and I put debug line on start of update() method. See the results on the images below. The unwanted velocity seems to be higher when FPS values are lower. For example, in Chrome testing environment running 10FPS, this bug is causing various problems, ranging from falling from the platform edge to falling through the colliders.
I believe this is the similar or same problem described here: https://github.com/photonstorm/phaser/issues/4614
Example Test Code

Game config object passed on the start:
export class Game extends Phaser.Game {
    constructor(winWidth: number, winHeight: number) {
        super({
            width: winWidth,
            height: winHeight,
            scale: {
                mode: Phaser.Scale.FIT,
                autoCenter: Phaser.Scale.CENTER_BOTH
            },
            pixelArt: true,
            type: Phaser.CANVAS,

            physics: {
                default: 'arcade',
                arcade: {
                    debug: true,
                    tileBias: 64,
                    gravity: { y: 2300 }
                }
            }
        });
    }
}

Creating collision platforms in my Level class:
private _map: Phaser.Tilemaps.Tilemap;
private _tileset: Phaser.Tilemaps.Tileset;
private _collisionLayer: Phaser.Tilemaps.StaticTilemapLayer;

this._map = Scene_game.Scene.make.tilemap({ key: tilemapJSONKey });
this._tileset = this._map.addTilesetImage(tilesetTiledKey, tilesetImgKey);

this._collisionLayer = this._map.createStaticLayer(StringConstants.TM_LAYER_COLLISIONS, this._tileset);
//note - in Tiled I put 'collides' bool property on the wall/floor tiles
this._collisionLayer.setCollisionByProperty({ collides: true });
this._collisionLayer.setActive(true);

Next the player sprite is created and added to the scene. It is Phaser.Physics.Arcade.Sprite created in standard way without any important modifications (not included in code here) and assigned to collide:
Game_scene.physics.add.collider(this._player, this._level.CollisionLayer);
And for test, this log is added as a first line of scene's update method:
console.log("X: " + this._player.body.velocity.x + ", Y: " + this._player.body.velocity.y);
Additional Information
This is result of my code while running stable 60FPS - you can see that rarely weird Y velocity values appear. No player input involved:

And this is running the same test under Chrome's test environment. FPS is around 15 and it gets crazy. You can see the velocity applied as green line pointing down. There should be none.

ACTUALIZATION: after seeing this pull request and attached examples, I think the problem is not just tilemap related. It might be a bug in Arcade physics itself indeed.
https://github.com/photonstorm/phaser/pull/4729

EDIT: This problem is fixed if you download and build the branch referenced here: https://github.com/photonstorm/phaser/pull/4729

Thank you for submitting this issue. We have fixed this and the fix has been pushed to the master branch. It will be part of the next release. If you get time to build and test it for yourself we would appreciate that.

authors: falifm photonstorm


text:
Fixed broken link from the second tutorial.

Important: Pull Requests should only be issued against the dev branch. PRs against the master branch will always be closed.
This PR changes (delete as applicable)

Documentation

Describe the changes below:
Fixed broken link from the second tutorial, I fixed it from the spanish and english tutorials.

Thanks.

source: gharchive/pull-request

authors: jorgesumle photonstorm


text:
Debian packaging in progress

Hi!
This is a friendly notice to let you know that Debian is working on packaging your software for Debian. You can follow the progress of that work in bug #867800 in the Debian Bug Tracking System (BTS).
The source code for the Debian package is in this git repository. It will be uploaded into Debian shortly, at which point it will end up in the NEW queue for legal review. Once the NEW process is completed, it takes about 10 days for the package to trickle down into "testing", which will become the next Debian release. This means your software will eventually be shipped in a "long term support" release, which last from three to five years, according to the current statistics.
If you are interested in maintaining the package yourself upstream, that is definitely possible. You can either upload the package yourself if you are a Debian member or I can act as a sponsor when a new release is published.
This is just a notification, but can also act as a coordination point for upstream packaging if you wish to followup on this. otherwise, feel free to close this issue whenever you like.

Note that the package has now passed NEW review and is in unstable, which means it is officially in Debian. You can register for notices of package updates and bug reports in the package tracker and the repology page (which needs merging with the already existing one), if you want badges and stuff like that.

repo: photoshell/rawkit


text:
Rename folder Models to models

You're using namespace yii\permission*models*, but folder name is Models (capitalized). This raises an exception in Yii: "Class yii\permission\models\CasbinRule does not exist"

@zolbet  Can you make a PR?

thx.

authors: techoner zolbet

repo: php-casbin/yii-permission

license_source: github-api


text:
[BUGFIX] Replace special signs in directive template names

And handle directives in namespaces as having templates in subdirectories

@jaapio I added tests, please have another look

repo: phpDocumentor/guides

license: MIT


text:
🛑 phpMyFAQ Password Hash Generator Tool is down

In 7c096a4, phpMyFAQ Password Hash Generator Tool (https://password.phpmyfaq.de) was down:

HTTP code: 0
Response time: 0 ms

Resolved: phpMyFAQ Password Hash Generator Tool is back up in fa346ee.


text:
🛑 phpMyFAQ API is down

In 71b0402, phpMyFAQ API (https://api.phpmyfaq.de/versions) was down:

HTTP code: 0
Response time: 0 ms

Resolved: phpMyFAQ API is back up in beb876f.


text:
🛑 phpMyFAQ API is down

In e75e83b, phpMyFAQ API (https://api.phpmyfaq.de/versions) was down:

HTTP code: 0
Response time: 0 ms

Resolved: phpMyFAQ API is back up in 3194b86 after 4 minutes.


text:
Consejo Directivo 2023

Cambios para incluir la actualización del nuevo Consejo Directivo 2023

Buen trabajo @eisenheimjelid ! Gracias por tu aportación.
Solo un breve comentario, hay una rchivo llamado empty.md, ¿tiene algun fin en concreto?

Thanks for contributing @eisenheimjelid

authors: eisenheimjelid javleds

repo: phpmx/comunidad


text:
fixed psr-0 autoload path

see composer.json

Yeesh. Saturday mornings...

authors: phuedx pminnieur

repo: phuedx/tnetstring


text:
Update devices CLI

Closes #92

Update DevicesCLI
Remove HostCLI class in favour of DevicesCLI.

Preview

pi-topSPEAKER-v<suffix doesn't look right here.
pi-topSPEAKER (v1) - Left channel
pi-topSPEAKER (v1) - Right channel
pi-topSPEAKER (v1) - Mono
pi-topSPEAKER (v2)

would be better. Not sure how to approach this - perhaps the names should be updated in the common lib and this PR can still go in?

Another separate idea - make each device clickable link to page in docs/similar

Drop hub from peripherals list
Add --name-only to hub
Add --name-only to peripherals
No errors on args being used elsewhere (not required to implement extra functionality)

authors: jcapona m-roberts

repo: pi-top/pi-top-Python-SDK


text:
🛑 YSF REF is down

In 2d7d7a0, YSF REF (https://ysf.hblink.it) was down:

HTTP code: 0
Response time: 0 ms

Resolved: YSF REF is back up in 5a18e81.

repo: picchiosat/HBLink-Uptime


text:
🛑 YSF REF is down

In e509ff3, YSF REF (https://ysf.freedmr.it) was down:

HTTP code: 500
Response time: 1048 ms

Resolved: YSF REF is back up in 3a084d3 after 10 minutes.


text:
Document Feedback

Please write your feedback here to help me improve my blog. Thanks.

Please give me name & purpose of project. Thanks.

I want to learn new technologies, and want to make my online branch. So, I decide to write a series of blog post to introduce how I create a site with technologies I chose


text:
How to close a dropdown menu

I have a dropdown menu item that does a window.open in new tab (which works). But in the old tab the menu remains visible. I tried jQuery $('.dropdown-toggle').blur() but that doesn't remove the menu.

Same problem here. Suggested fix is not working. When is applied then we can't show dropdown menu after click again.

I started using dropdowns and encountered the same issue. Here is a CSS-only fix that worked for me (tested on Chromium, Firefox and Webkit):
.dropdown .menu:active {
  /* animation needed for click events to work */
  animation: bye 0;
}
@keyframes bye {
  to { display: none; }
}

Update: my above fix is actually working for non-touch devices only. To make it work also for touch devices just add the following below it:
@media(hover: hover) {
  .dropdown {
    .menu:hover {
      display: none;
    }
    .menu:active {
      display: block;
    }
  }
}

authors: NeoRazorX laurentpayot wgehner


text:
Event with multiple days in calendar

Is it possible to have events with multiple days in calendar ? Vue-simple-calendar is something close, but I prefer Spectre.css' style. Thanks.

Sure.


text:
Logging double, until refresh

Haai,
So i'm using Hangfire.Console, and while keeping the page open looking at the realtime updates (amazing) - it's logging all entries twice for some reason.  see below:

If I refresh the page, the doubles are gone - so it only happens for new entries whilst I keep the page open.
This is the logging call:

            // set color according to "level"
            context.SetTextColor(
                // warning
                level == LogLevel.Warning
                    ? ConsoleTextColor.DarkYellow
                    // error OR critical
                    : level == LogLevel.Error || level == LogLevel.Critical
                        ? ConsoleTextColor.Red
                        // Trace
                        : level == LogLevel.Trace
                            ? ConsoleTextColor.Gray
                            // Info/Debug
                            : ConsoleTextColor.White
            );

            context.WriteLine($"{msg}");
            context.ResetTextColor();

Any ideas if this is a bug or an issue on my side?

What storage are you using?

	Haai,

SqlServer storage.
On Wed, Sep 6, 2017 at 3:39 PM +0200, "Alexey Skalozub" notifications@github.com wrote:
What storage are you using?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Cannot reproduce your issue. My setup:
Test.csproj:
<Project Sdk="Microsoft.NET.Sdk.Web">
  <PropertyGroup>
    <TargetFramework>netcoreapp1.1</TargetFramework>
  </PropertyGroup>
  <ItemGroup>
    <PackageReference Include="Hangfire.AspNetCore" Version="1.6.15" />
    <PackageReference Include="Hangfire.Console" Version="1.3.4" />
    <PackageReference Include="Hangfire.Core" Version="1.6.15" />
    <PackageReference Include="Hangfire.SqlServer" Version="1.6.15" />
    <PackageReference Include="Microsoft.AspNetCore" Version="1.1.2" />
  </ItemGroup>
</Project>

Startup.cs:
public class Startup
{
    public void ConfigureServices(IServiceCollection services)
    {
        services.AddHangfire(options =>
        {
            options.UseSqlServerStorage("server=.;database=Hangfire;integrated security=true");
            options.UseConsole();
        });
    }

    public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory)
    {
        loggerFactory.AddConsole();

        app.UseHangfireDashboard();
        app.UseHangfireServer();

        app.Run(async (context) =>
        {
            await context.Response.WriteAsync("Hello World!");
        });

        BackgroundJob.Enqueue(() => TestTask(null));
    }

    public static void TestTask(PerformContext context)
    {
        for (int i = 0; i < 100; i++)
        {
            context.CancellationToken.ThrowIfCancellationRequested();

            context.SetTextColor((i % 2) == 0 ? ConsoleTextColor.White : ConsoleTextColor.Yellow);
            context.WriteLine("Progress @ {0}", i);
            context.ResetTextColor();

            Thread.Sleep(2000);
        }
    }
}

Result:

Can you please provide a minimal project to reproduce your issue?

Haai,
2 Notable differences:

im targeting 2.0 and not 1.1
my recurring jobs / background server is running in a console app, whilst the dashboard is in a seperate basic core .net app

Would that make a difference?

Targeting 2.0 doesn't make any difference.
Running server and dashboard in two separate processes shouldn't make any difference as well (since data is read from the storage anyway), but I haven't actually tested it.

Haai,
So on the page and in dev tools, i see these 2 suspect parts:

So look likes it's just double requesting, that's probably why it's not double when I refresh, only on live update.  What could be causing that?

Having two equal requests is okay in case the first one returned an empty update (with data-n value equal to start query parameter), so the next one picks from the same place. And there should be a 1 sec interval between them, but I can't see that on the cropped screenshot.
But having two "polling was started" messages looks suspicious, as it only should be at most one after page reload. Do you have javascript console preserved across page reloads?
Can you please provide timeline and responses for a few network requests with the same start value?

Hi @pieceofsummer
not 100% sure what you're asking for, but here's more about those requests:

Hi @pieceofsummer
I noticed now and found it interesting that not all line items are duplicated, but the polling - see here 2 items very close to each other was duplicated:

Looking at the waterfall graph, it really seems like there are duplicate requests for some reason. Can you try emptying browser cache / try another browser?

Same in other browsers, that i've never had this open in before - FF, Edge, Opera

Mad guess: can it be you’re accidentally calling UseConsole() twice during initialization?

Haai,
Yeah, almost thought I was being retarded.... I had it twice,
once:

            services.AddHangfire(c =>
            {
                //c.UseConsole();
            });

And:
            GlobalConfiguration.Configuration.UseConsole();

.... but I removed the first one from the above, but it still does the same as before.

Now you need to clear browser cache once again, because it has already cached a “double” version of js.

Yeah, so guess I am a retard after all !
It works now, thanks!
The reason I have the 2nd GlobalConfig-based one is because that exists in a seperate library that is shared between the thin/bare basics web project and the one running the background server - so that the configuration is (supposed to be) the same, as I have a lot of other stuff in there....
Oh well, all sorted, thanks!

I think I will add a guard against calling UseConsole twice in the next version.

authors: pieceofsummer wernerbarnard


text:
How to rebuild the results of INSHOP dataset

So this is the same question (link below) but for the INSHOP dataset
https://github.com/pierre-jacob/ICCV2019-Horde/issues/4
What do I need to change get your 90%~ recall@1?
With the settings from run_cub.sh I get around 60% recall@1.
Thanks in advance!
Ping! @pierre-jacob who kindly answered the last issue.

By the way, it's really nice to see working code from the authors of the original paper.
Should be made nessecary to submit code when publishing ai/deep-learning papers.
Thank you for submitting well-written code freely on github.
And I also imagine you submitted the paper/code to https://paperswithcode.com/task/metric-learning
Which was the reason I found this project.

In-Shop and Online Products are two large-scale datasets (25k and 60k images respectively) compared to Cub (5k images). You have to increase the number of steps per epoch in the “config.json” file.
Usually, 1k steps for In-Shop and 2k steps for Online Products are enough.
Let me know if this works for you!
Btw, I am happy that this code helps you! If you have any difficulties, don’t hesitate to send me an e-mail!

Since this issue has been opened few months ago, and is not active anymore, I hope the given answer has solved this reproducibility issue.
Fell free to re-open an issue otherwise.

authors: flashjames pierre-jacob


text:
Building costs grow too quickly to sustain games beyond an hour

Looking at the formula for building costs it becomes prohibitively expensive for a player to purchase buildings after the first hour of play.  From generator.ts: return gen.StartingCost * gen.CostFactor ** own_count;

Some type of dampening should be considered for own_count, perhaps dividing it by 2, 3 or even 4 (shown below):

Nice analysis :) To be fair, we didn't expect most people to play Afterlife for more than 5 minutes. It's a jam game, and it's understandable that the attention span of participant is short.

I know this was a little over the top. ;)  Thanks for the replies, comments in the code, and bravo on the game - one of my favorites from the jam.

authors: stasm tronster

repo: piesku/duszki

license: ISC


text:
Menambahkan #pragma once pada setiap header file

#pragma once berfungsi untuk memberitahu compiler agar tidak meng-include header file lebih dari sekali
StackOverflow
Selain itu, saya juga mengubah nama file hasil compile pada CI agar menyertakan tanggal

terimakasih update-annya

authors: pijarpahlawan zha-farr

repo: pijarpahlawan/rental-mobil


text:
🛑 Stripe Webhook URL (Test and Live) is down

In ed7c862, Stripe Webhook URL (Test and Live) ($STRIPEWEBHOOK) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Stripe Webhook URL (Test and Live) is back up in bf6ba17 after 12 minutes.

repo: pikfarm/PikfarmStatus


text:
Générer un partenaire quotidien

Design
Chaque jour, on associe aléatoirement les participants par pair de buddies
Le partenaire du jour sera affiché juste au-dessus du calendrier

Contrainte : ne pas créer 2 fois les mêmes paires.
Logique
C'est une Issue très "algo" 💡
La complexité réside dans le fait que les participants sont en perpétuel croissance. Une façon de gérer ça serait de :

faire tourner l'algo à heure fixe (5:59 ?) et associer les participants existants
si le nombre est impair, m'exclure moi du système (par simplicité)
ne rien afficher pour les participants qui rejoignent en cours de route : ils seront dans le pool de participants le jour suivant

Y'a plus simple: ex l'algo de buddies du Wagon. C'est un round-robin avec une seed aléatoire, donc tu as de la variabilité et tu es garanti de pas faire de redites.
Tu as de l'aléatoire pour le setup mais tout le reste est déterministe, ça obvie tout besoin de stockage.

Ah yes ! On a une taille variable 🤔 J'avais zappé ce détail, je comprends mieux !


text:
Post component still exist after back navigation

Description
When a user clicks on link in a post, comes back, and closes the post, the subreddit page still has the post component.
Severity
Meidium

Pull request #49

repo: pilcrowOnPaper/arctic


text:
Allow partial translate file reads.

Overview
This commit fixes an issue where translation LogEntry must be read in its entirety, however, large entries can exceed the buffer size. This has been changed so that partial entries reads are allowed.
The LogEntry.ReadFrom() may still generate large byte slices during reads of large individual fields or keys.
Fixes #1860
Pull request checklist

[x] I have read the contributing guide.
[x] I have agreed to the Contributor License Agreement.
[x] I have resolved any merge conflicts.
[x] I have included tests that cover my changes.
[x] All new and existing tests pass.
[x] Make sure PR title conforms to convention in CHANGELOG.md.
[x] Add appropriate changelog label to PR (if applicable).

Code review checklist
This is the checklist that the reviewer will follow while reviewing your pull request. You do not need to do anything with this checklist, but be aware of what the reviewer will be looking for.

[ ] Ensure that any changes to external docs have been included in this pull request.
[ ] If the changes require that minor/major versions need to be updated, tag the PR appropriately.
[ ] Ensure the new code is properly commented and follows Idiomatic Go.
[ ] Check that tests have been written and that they cover the new functionality.
[ ] Run tests and ensure they pass.
[ ] Build and run the code, performing any applicable integration testing.
[ ] Make sure PR title conforms to convention in CHANGELOG.md.
[ ] Make sure PR is tagged with appropriate changelog label.

@jaffee Yes, binary.Read() will wait until it receives all the bytes necessary. I feel like there was a reason I went with this approach originally but honestly I can't remember now. I think I wanted readers to always start fetching from the start of an entry but that's really not necessary.

@jaffee Can you +1 this updated branch and I'll merge it in.

repo: pilosa/pilosa


text:
Let the user delete emails without confirmation

First of all thanks for developing himalaya and himalaya-vim.
I'd like to be able to delete the emails without confirmation, would it be possible to set a configuration option for that?
thanks!

This is definitely doable. A similar issue is opened for the CLI, see https://github.com/pimalaya/himalaya/issues/469. Ideally, the Vim plugin should get this information from the CLI config.

authors: lyz-code soywod

repo: pimalaya/himalaya-vim


text:
Repackage to pyproject/toml, port to gpiod/gpiodevice

Testing:
git clone https://github.com/pimoroni/weatherhat-python -b repackage
cd weatherhat-python
./install.sh --unstable

Hi, all.  Hel Gibbons directed me to this git.  I set up this pull on my Pi5 with a WeatherHAT (and Pimoroni NVME drive baseboard) and it seems to work fine. I have it installed in a virtual environment, running the weather.py demo, which appears to be accurrately reading the HAT sensors and rendering the results to the HAT LCD. I've had it runnning for over a day now, nonstop, without issue. Hope this helps!

authors: Gadgetoid thismarty

repo: pimoroni/weatherhat-python


text:
Create _index.md

Submitting profile information for Ian Allison.

Hi Brian,
In my notes for the first part of the class I should have been clearer in how to make the replacements in _index.md. Your variables shouldn't be surrounded by angle brackets, e.g. do
role: Graduate Student
NOT
role:
i.e. remove the < and the >.  You can just update the file in that branch and hit commit and it should automatically update the PR. This is a pretty standard thing, commonly you'll want to make minor changes after initially opening the PR based on feedback from the maintainers or improvements you've spotted. You can keep making changes up until the PR is merged. After it is merged you can always open another PR with any extra changes

Sorry, one more thing can you add a photo or avatar picture and call it
content/authors/Brian-T-Chan/avatar.jpg

If you  don't want to use a photo of yourself you can grab a generic avatar instead, just make sure the filename matches the pattern above and we should be good to go!

Just did it! Please let me know if I missed something.
From: "Ian Allison" notifications@github.com
To: "pimsmath/m2pi.ca" m2pi.ca@noreply.github.com
Cc: "Brian-T-Chan" btchan@telus.net, "State change" state_change@noreply.github.com
Sent: Wednesday, 12 August, 2020 16:24:23
Subject: Re: [pimsmath/m2pi.ca] Create _index.md (#31)
Sorry, one more thing can you add a photo or avatar picture and call it
content/authors/Brian-T-Chan/avatar.jpg
If you don't want to use a photo of yourself you can grab a generic avatar instead, just make sure the filename matches the pattern above and we should be good to go!
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub , or unsubscribe .

Looks great, thanks Brian. I'll merge this now.

authors: Brian-T-Chan ianabc


text:
Standardizing EndpointSet method nomenclature.

EndpointSet methods should generally be called "endpoints".
This matches the JSON:API spec and makes sense given the collection
as a whole is called an EndpointSet.

Coverage remained the same at 61.339% when pulling 0c594b3508d669ef3435331094a86f1f3ca2191b on grahamu:rename-handler-endpoint into f840a3aab57aa8d13b09feaed6e1dcf758c8fa80 on pinax:master.

authors: coveralls grahamu

repo: pinax/pinax-api


text:
pinax-notifications 4.x won't install templates and locales

Notifications won't install templates data (templates/pinax/notifications/*) in recent version, when installed through pypi. I believe this is caused by:
https://github.com/pinax/pinax-notifications/commit/07076ff71eba685b55deb82ccb88818fd64ada7c#diff-2eeaed663bd0d25b7e608891384b7298 :
4.0:
cezio@gburek [tmp $]>mkvirtualenv blank
New python executable in /home/cezio/.virtualenvs/blank/bin/python2.7
Also creating executable in /home/cezio/.virtualenvs/blank/bin/python
Installing setuptools, pip, wheel...done.
virtualenvwrapper.user_scripts creating /home/cezio/.virtualenvs/blank/bin/predeactivate
virtualenvwrapper.user_scripts creating /home/cezio/.virtualenvs/blank/bin/postdeactivate
virtualenvwrapper.user_scripts creating /home/cezio/.virtualenvs/blank/bin/preactivate
virtualenvwrapper.user_scripts creating /home/cezio/.virtualenvs/blank/bin/postactivate
virtualenvwrapper.user_scripts creating /home/cezio/.virtualenvs/blank/bin/get_env_details

cezio@gburek [tmp $]>pip install pinax-notifications
Collecting pinax-notifications
  Using cached pinax_notifications-4.0.0-py2.py3-none-any.whl
Collecting django-appconf>=1.0.1 (from pinax-notifications)
  Using cached django_appconf-1.0.2-py2.py3-none-any.whl
Installing collected packages: django-appconf, pinax-notifications
Successfully installed django-appconf-1.0.2 pinax-notifications-4.0.0

cezio@gburek [tmp $]>find /home/cezio/.virtualenvs/blank/lib/python2.7/site-packages/pinax/notifications/ -type d
/home/cezio/.virtualenvs/blank/lib/python2.7/site-packages/pinax/notifications/
/home/cezio/.virtualenvs/blank/lib/python2.7/site-packages/pinax/notifications/migrations
/home/cezio/.virtualenvs/blank/lib/python2.7/site-packages/pinax/notifications/management
/home/cezio/.virtualenvs/blank/lib/python2.7/site-packages/pinax/notifications/management/commands
/home/cezio/.virtualenvs/blank/lib/python2.7/site-packages/pinax/notifications/backends
/home/cezio/.virtualenvs/blank/lib/python2.7/site-packages/pinax/notifications/tests

3.x:
cezio@gburek [tmp $]>pip install 'pinax-notifications<4.0'
Collecting pinax-notifications<4.0
  Using cached pinax_notifications-3.0.1-py2.py3-none-any.whl
Requirement already satisfied: django-appconf>=1.0.1 in /home/cezio/.virtualenvs/blank/lib/python2.7/site-packages (from pinax-notifications<4.0)
Installing collected packages: pinax-notifications
  Found existing installation: pinax-notifications 4.0.0
    Uninstalling pinax-notifications-4.0.0:
      Successfully uninstalled pinax-notifications-4.0.0
Successfully installed pinax-notifications-3.0.1

cezio@gburek [tmp $]>find /home/cezio/.virtualenvs/blank/lib/python2.7/site-packages/pinax/notifications/ -type d
/home/cezio/.virtualenvs/blank/lib/python2.7/site-packages/pinax/notifications/
/home/cezio/.virtualenvs/blank/lib/python2.7/site-packages/pinax/notifications/migrations
/home/cezio/.virtualenvs/blank/lib/python2.7/site-packages/pinax/notifications/templates
/home/cezio/.virtualenvs/blank/lib/python2.7/site-packages/pinax/notifications/templates/pinax
/home/cezio/.virtualenvs/blank/lib/python2.7/site-packages/pinax/notifications/templates/pinax/notifications
/home/cezio/.virtualenvs/blank/lib/python2.7/site-packages/pinax/notifications/locale
/home/cezio/.virtualenvs/blank/lib/python2.7/site-packages/pinax/notifications/locale/es_AR
/home/cezio/.virtualenvs/blank/lib/python2.7/site-packages/pinax/notifications/locale/es_AR/LC_MESSAGES
/home/cezio/.virtualenvs/blank/lib/python2.7/site-packages/pinax/notifications/locale/ru
/home/cezio/.virtualenvs/blank/lib/python2.7/site-packages/pinax/notifications/locale/ru/LC_MESSAGES
/home/cezio/.virtualenvs/blank/lib/python2.7/site-packages/pinax/notifications/locale/fr
/home/cezio/.virtualenvs/blank/lib/python2.7/site-packages/pinax/notifications/locale/fr/LC_MESSAGES
/home/cezio/.virtualenvs/blank/lib/python2.7/site-packages/pinax/notifications/management
/home/cezio/.virtualenvs/blank/lib/python2.7/site-packages/pinax/notifications/management/commands
/home/cezio/.virtualenvs/blank/lib/python2.7/site-packages/pinax/notifications/backends
/home/cezio/.virtualenvs/blank/lib/python2.7/site-packages/pinax/notifications/tests

I also hit this today after upgrading to Pinax 4.0.0.
@cezio how did you fix your way through it?

i've forced pre-4.x version. Permanent fix would be to have package_data value restored in setup.py.

authors: cezio pavanv

repo: pinax/pinax-notifications


text:
Update requirements-dev.txt

What does this PR do?
Fixed typo in requirements-dev.txt
Why was this PR needed?
No matching distribution found for flake8>3.30 (from -r requirements-dev.txt (line 1))
What are the relevant issue numbers?
(List issue numbers here.)
Does this PR meet the acceptance criteria?

[x] Passes flake8 (refer to .travis.yml)
[x] Docs are buildable
[x] Branch has no merge conflicts with master
[x] Is covered by a test

Thanks, fixed in f2fd8e05e7c3533df4041f801fdc6f5dfc798fa1

authors: ping sudoguy


text:
etcdutil: move kvGet to the uitl package

etcdutil: move kvGet to the uitl package
Signed-off-by: c4pt0r i@huangdx.net

Codecov Report

Merging #1513 into master will decrease coverage by 0.07%.
The diff coverage is 73.33%.

@@            Coverage Diff             @@
##           master    #1513      +/-   ##
==========================================
- Coverage   67.66%   67.58%   -0.08%
==========================================
  Files         158      158
  Lines       15561    15561
==========================================
- Hits        10529    10517      -12
- Misses       4077     4086       +9
- Partials      955      958       +3

Impacted Files
Coverage Δ

server/etcd_kv.go
65.95% <100%> (+1.04%)
:arrow_up:

server/util.go
70.27% <100%> (ø)
:arrow_up:

server/server.go
77.72% <100%> (ø)
:arrow_up:

pkg/etcdutil/etcdutil.go
86.04% <60%> (-7.9%)
:arrow_down:

pkg/metricutil/metricutil.go
90.62% <0%> (-9.38%)
:arrow_down:

server/namespace_cluster.go
84.41% <0%> (-3.9%)
:arrow_down:

server/grpc_service.go
57.87% <0%> (-1.34%)
:arrow_down:

server/schedule/operator_controller.go
92.85% <0%> (-0.8%)
:arrow_down:

server/handler.go
55.06% <0%> (-0.52%)
:arrow_down:

client/client.go
68.46% <0%> (-0.44%)
:arrow_down:

... and 2 more

Continue to review full report at Codecov.

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

@nolouch PTAL

repo: pingcap/pd


text:
feat(expr):support is_ipv4 and is_ipv6 expr to tiflash

pushdown to tiflash
What problem does this PR solve?
Issue Number: close #5120
close #5121
Problem Summary:
support is_ipv4() and is_ipv6() expr to pushdown to tiflash
What is changed and how it works?

register the cast function
implement the calculation for is_ipv4() and is_ipv6()
add tests of functions

Check List
Tests

[x] Unit test
[x] Integration test
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

support is_ipv4() and is_ipv6() expr to pushdown to tiflash

/run-all-tests

/run-all-tests

/cc @JaySon-Huang
/cc @CalvinNeo

/cc @ywqzzy @xzhangxian1008

/run-all-tests

/run-all-tests

/run-all-tests

/run-all-tests

/run-all-tests

/run-all-tests

/run-all-tests

/run-all-tests

/run-all-tests

/run-all-tests

/run-all-tests

/run-all-tests

Rest LGTM, Good job!

/run-all-tests

/run-all-tests

/run-all-tests

/run-all-tests

/run-all-tests

/run-all-tests

/run-all-tests

/run-all-tests

/run-all-tests

/run-all-tests

/run-all-tests

/test all

/merge

authors: AntiTopQuark Lloyd-Pottiger ywqzzy

repo: pingcap/tiflash


text:
openAPI (ticdc): Clean some dead codes in api package.

What problem does this PR solve?

Issue Number: ref #2411
What is changed and how it works?
As title.
Check List
Tests

No code

Code changes
Side effects
Related changes
Release note
None

/run-integration-tests

/run-integration-tests

/run-integration-tests

LTGM

/run-kafka-tests

Codecov Report

Merging #4362 (9a39247) into master (ab62e6b) will decrease coverage by 0.1216%.
The diff coverage is 43.3890%.

Flag
Coverage Δ

cdc
59.3464% <49.9248%> (-0.2695%)
:arrow_down:

dm
52.0766% <40.3496%> (+0.0110%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.
@@               Coverage Diff                @@
##             master      #4362        +/-   ##
================================================
- Coverage   55.5183%   55.3966%   -0.1217%
================================================
  Files           495        495
  Lines         61151      61112        -39
================================================
- Hits          33950      33854        -96
- Misses        23789      23856        +67
+ Partials       3412       3402        -10

authors: asddongmen codecov-commenter zhaoxinyu

repo: pingcap/tiflow


text:
[WIP] sink(ticdc): migrate test-infra to testify for cdc/sink

What problem does this PR solve?

Issue Number: close #2907
What is changed and how it works?
Check List
Tests

Unit test

Release note
 `None`.

/run-verify

/run-all-tests

/run-all-tests

/run-all-tests

/run-all-tests

/run-all-tests

/run-verify

/merge

/run-kafka-integration-tests
/run-integration-tests

/run-kafka-integration-test
/run-integration-test

/run-kafka-integration-test


text:
cli(cdc): handle error correctly with wrong pd address but with a grpc service

What problem does this PR solve?

Issue Number: close #6458
What is changed and how it works?
Check the PD address(es) by trying to create a PDClient before creating the EtcdClient. The address is guaranteed to represent a valid PD cluster if the PDClient was created successfully.
Previous checks assume the PD address is correct if the EtcdClient got created successfully. However, the EtcdClient can be created without error as long as there is a gRPC service, and it may not a real PD/Etcd cluster.
Check List
Tests

Unit test
Integration test
Manual test (add detailed scripts or steps below)
No code

Questions
Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?
Release note
`None`

Codecov Report

Merging #6503 (53f65a1) into master (f0e21a6) will decrease coverage by 0.0493%.
The diff coverage is 70.5078%.

Flag
Coverage Δ

cdc
66.0867% <71.9697%> (+0.0097%)
:arrow_up:

dm
52.0388% <22.2222%> (-0.0340%)
:arrow_down:

engine
63.7416% <70.7113%> (-0.3593%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.
@@               Coverage Diff                @@
##             master      #6503        +/-   ##
================================================
- Coverage   59.4618%   59.4125%   -0.0493%
================================================
  Files           762        762
  Lines         87377      87431        +54
================================================
- Hits          51956      51945        -11
- Misses        30815      30903        +88
+ Partials       4606       4583        -23

/run-all-tests

/cc @asddongmen @sdojjy

/run-all-tests

/run-all-tests

/run-all-tests

/run-kafka-integration-test

/run-integration-test

/run-all-tests

/run-kafka-integration-test

/run-kafka-integration-test

/run-kafka-integration-test

/hold PR description needs modification

/run-all-tests

/merge

/run-all-tests

/run-integration-tests

/run-kafka-integration-test
/run-dm-compatibility-test
/run-dm-integration-test

/run-all-tests

/unhold

/run-kafka-integration-test

authors: asddongmen codecov-commenter crelax liuzix


text:
kafka(ticdc): kafka sink support compression after encoding event into message

What problem does this PR solve?

Issue Number: close #9596
What is changed and how it works?

After encoding the event into message, compress the value before compare against the message size limit.
Update the monitoring to track the compression ratio, also record the number of records carried by the request.

Check List
Tests

Unit test
Integration test

Questions
Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?
Release note
Kafka sink support compress the message value before compare against the message size limit to reduce large message count.

/retest

/retest

/test verify

/retest

/test verify

/test verify

/retest

/test verify

/test engine-integration-test

/test dm-integration-test


text:
reuse iterator

reuse iterator when scan

@BusyJay @disksing PTAL

LGTM

LGTM

authors: BusyJay disksing zhangjinpeng1987

repo: pingcap/tikv


text:
codec/table: refactor encode_row_key

What have you changed? (mandatory)
Now the function in master is defined as follows:
/// `encode_row_key` encodes the table id and record handle into a byte array.
pub fn encode_row_key(table_id: i64, encoded_handle: &[u8]) -> Vec<u8>

And this PR defined it like following to make it more easy to use
/// `encode_row_key` encodes the table id and record handle into a byte array.
pub fn encode_row_key(table_id: i64, handle: i64) -> Vec<u8>

What are the type of the changes? (mandatory)
The currently defined types are listed below, please pick one of the types for this PR by removing the others:

Improvement (non-breaking change which is an improvement to an existing feature)

How has this PR been tested? (mandatory)
unit test
Does this PR affect documentation (docs/docs-cn) update? (mandatory)
no
Does this PR affect tidb-ansible update? (mandatory)
no
Refer to a related PR or issue link (optional)
https://github.com/pingcap/tikv/issues/3157
@BusyJay @breeswish PTAL

/run-integration-tests

ping @breeswish

LGTM

authors: AndreMouche breeswish


text:
upgrade spark

What problem does this PR solve?
upgrade spark version to avoid some vulnerabilities

/run-all-tests

pass

/run-all-tests profile=spark-3.1.1

/run-all-tests profile=spark-3.2.1

/run-all-tests profile=spark-3.2.1

/run-all-tests profile=spark-3.2.1

/merge

repo: pingcap/tispark


text:
ceph plugin parser fixed

Prevents plugin from throwing errors caused by the parser

Currently parser is looking for a pattern in the entire output, starting from the first line. If nothing matches on the first line, it goes to the next line (increments position variable) till it the value is found or till it reaches the end of the output.

repo: pingdomserver/scout-plugins


text:
[Bug]: Module '"@uploadthing/react"' has no exported member 'generateComponents'.

What happened?
I had a fully working app with uploadthing, suddnely I started to had some problems because I forgot to make public the webhook routes for uploadthing. Before realising that, I updated the dependencies since I noticed that it didn't match what the docs said for the installation.
When I tried to create the uploadthing.ts utils file with the react components the error Module '"@uploadthing/react"' has no exported member 'generateComponents'. appeared.
What did you expect to happen?
I expected it to work since I was just following the docs
Version
Version: "@uploadthing/react": "^4.1.3", "uploadthing": "^4.1.3",
Reproduction Steps
No response
Reproduction Repository
No response
Relevant log output
No response
Code of Conduct

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

same thing here

Are you able to link a repository where you can reproduce this behaviour? Also, have you tried deleting your node_modules and .next and re-installing? What package manager are you using?

Im using npm and I've tried deleting those directory but it keeps throwing the same error

Can you try using the latest uploadthing@5.2.1.
Also a simple reproduction repo (or if the repository you're working on is public, feel free to link it) would make it much easier for me to assist you

Closing for now, Feel free to reopen with a repro if you are still running into this issue.

authors: JuaniSilva decca-dev markflorkowski

repo: pingdotgg/uploadthing


text:
🛑 ggmemory is down

In 8710e47, ggmemory (https://memory.library.kr/main) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ggmemory is back up in ef225a1 after 11 minutes.

repo: pinnode/pinnode


text:
panic: send on closed channel

Describe the bug
2024.08.01T02:57:12.796panic: send on closed channel
2024.08.01T02:57:12.796goroutine 38 [running]:
2024.08.01T02:57:12.796github.com/pinpoint-apm/pinpoint-c-agent/collector-agent/agent.(*SpanSender).Interceptor(0xc0002bc1e8, 0xc0005a4180?)
2024.08.01T02:57:12.796	/apps/agent/SpanSender.go:344 +0x165
2024.08.01T02:57:12.796github.com/pinpoint-apm/pinpoint-c-agent/collector-agent/agent.(*GrpcAgent).consumeJsonSpan(0xc0002bc180)
2024.08.01T02:57:12.796	/apps/agent/GrpcAgent.go:458 +0x1c9
2024.08.01T02:57:12.796created by github.com/pinpoint-apm/pinpoint-c-agent/collector-agent/agent.(*GrpcAgent).Start
2024.08.01T02:57:12.796	/apps/agent/GrpcAgent.go:311 +0x56

Reason
It caused from undefined order of close span stream.

repo: pinpoint-apm/pinpoint-c-agent


text:
Quality of life improvements

Just a couple quality of life improvements.
We needed to increase the max connections beyond Ranch's 1024, which proved impossible because you can't specify transport_opts easily.
Also fixed a 1.6 compile due to the ordering of catch and rescue.

Does anyone know why the test failed?

@scohen, I don't see the original test failure, but it looks green now. Did you trigger a rebuild?
There are still some flaky service tests in the suite due to the way that the Erlang Thrift server non-deterministically closes its sockets and shuts down its processes.

That's... odd... I see it as green as well.
Going to merge.

The tests that failed were SSL related, so it might have been the erlang quirkiness you mentioned.

authors: jparise scohen

repo: pinterest/elixir-thrift


text:
Replicator: add support for non-frozen maps in inserts/updates

Fixes #20
Description:
Added support for the simplest collection type - maps in INSERT/UPDATE/DELETE statement.
Thank to great work done by @procrastinationfighter, the only thing needed was to write tests.

I think that the short description of the issue misguided you. Yes, adding, deleting or replacing the whole map works, but the whole point of non-frozen collections is that they can have their content modified (for example, look at the get_deleted_elements function in the CDCRow structure).
More info about non-frozen maps: https://docs.scylladb.com/using-scylla/cdc/cdc-advanced-types/#maps

repo: piodul/scylla-cdc-rust


text:
Few easy performance wins

Overall win for a ogg file I had 93.2ms -> 68.9ms.

Amazing changes @egonelbre ! Love it, so excited to work together on this

Can I add you to the Pion org?
Want to land these now as small commits?

@Sean-Der sure, you can add me to the org; but I still like the review process as it allows to catch some mistakes.

@egonelbre great! One last question/point and I am happy to merge :)

@egonelbre go ahead and merge w/e you are happy with the PR :)

authors: Sean-Der egonelbre

repo: pion/opus


text:
feat: add refer option to export conversation.json using API

When there are too many conversations, the Export All fails. This feature allows batch export of conversations with pictures using the official export provided by OpenAI. The limit is still currently around 300 due to the inevitable server errors.

Sorry, I don't quite understand what this "Refer" actually does. Can you explain more?

It downloads the entries in conversations.json again using the API instead of using the contents of the json.
The reason I added the option is because fetchAllConversations fails before gathering all 1400+ conversations from my history.
I can then select the conversations and export them with pictures.

The functional difference occurs in
const exportAll = useMemo(() => {
    return exportSource !== 'Local' ? exportAllFromApi : exportAllFromLocal
}, [exportSource, exportAllFromApi, exportAllFromLocal])

because of the additional ExportSource:
type ExportSource = 'API' | 'Local' | 'Refer'

Can you rebase and remove the modification to dist/*? bundled js are automatically generated by the CI.
I will test tomorrow. Thanks. 🙏

Continued in #271

authors: moonmd pionxzh

repo: pionxzh/chatgpt-exporter


text:
Wrong path

Hi! First of all this project is very nice.
It's exactly that I was looking for.
I found a simple probably mistake.
The instalation path is /mnt/c/wsipipeproxy but the mount path is /mnt/c/wslpipeproxy3/wslpipeproxy.exe.
Differ wsi to wsl.
Example:
[CmdletBinding()]
param(
    $HostPath = $env:HOST_PATH ?? "/mnt/c/wsipipeproxy",

    $ForwardDistribution = $env:F_DISTRIBUTION ?? "Ubuntu-22.04",
    $ForwardNpipe = $env:F_NPIPE ?? "dockerOnWSL" + ($ForwardDistribution -replace '[^\w]',''),
    $ForwardUnix = $env:F_UNIX ??'/run/docker.sock'
)

Path: /mnt/c/wsipipeproxy

nsenter -t 1 -m -u -i -n sh -c "cd $HostPath && /mnt/c/wslpipeproxy3/wslpipeproxy.exe $args"

Path: /mnt/c/wslpipeproxy3/wslpipeproxy.exe

I will open a PR fixing this issue if you let me.
Thanks,

Maybe the path /mnt/c/wslpipeproxy x  /mnt/c/wslpipeproxy3/wslpipeproxy could be not write too.

The pipe works:

But I got the follow error on windows side:
error during connect: Get "http://%2F%2F.%2Fpipe%2FdockerOnWSLUbuntu2204/v1.24/containers/json": net/http: HTTP/1.x transport connection broken: malformed HTTP status code "\x00i\x00s\x00

My context windows side:
[
    {
        "Name": "dockerOnWSLUbuntu2204",
        "Metadata": {},
        "Endpoints": {
            "docker": {
                "Host": "npipe:////./pipe/dockerOnWSLUbuntu2204",
                "SkipTLSVerify": false
            }
        },
        "TLSMaterial": {},
        "Storage": {
            "MetadataPath": "C:\\Users\\william.rezende\\.docker\\contexts\\meta\\22746a9ce8548d4cfd94ffc2929e778eee9d0bc238a55cc6366d7048d367149b",
            "TLSPath": "C:\\Users\\william.rezende\\.docker\\contexts\\tls\\22746a9ce8548d4cfd94ffc2929e778eee9d0bc238a55cc6366d7048d367149b"
        }
    }
]

My context wsl side:
[
    {
        "Name": "default",
        "Metadata": {},
        "Endpoints": {
            "docker": {
                "Host": "unix:///var/run/docker.sock",
                "SkipTLSVerify": false
            }
        },
        "TLSMaterial": {},
        "Storage": {
            "MetadataPath": "\u003cIN MEMORY\u003e",
            "TLSPath": "\u003cIN MEMORY\u003e"
        }
    }
]

Do you have any suggestion to fix this behaviour?
I'm using this version: https://github.com/willsbctm/devopsifyme-wslpipeproxy/tree/fix/path
Thanks,

It works!
I was informing the wrong Distro name =)

I opened the PR https://github.com/piotr-rojek/devopsifyme-wslpipeproxy/pull/3 =)

repo: piotr-rojek/devopsifyme-wslpipeproxy


text:
Implement RPC to request planpreview

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

NONE

/lgtm

Way to go
/approve

authors: khanhtc1202 nakabonne nghialv

repo: pipe-cd/pipe


text:
Unit tests for validation functions

We are missing unit tests for most functions in evm/validation.py

Working on it now.

@gsalgado @pipermerriam already submitted these tests (pr #47 ) if you want to close this issue

authors: gsalgado njgheorghita

repo: pipermerriam/py-evm


text:
Fixes issue #1235 - Run TCK using JDK 8

Fixes #1235
I have changed from endorsed lib to Xbootclasspath/a to be able to run the TCK with both JDK 8 and 15.
Unfortunately, the setup-java only exposes the JAVA_HOME pointing to the JDK 8 with version, so I had to fix the JDK 8 version to the 265 to avoid having to change the pom.xml each new release of JDK 8.

Looking at the changes I have one question. This only changes the build for the Servlet API module, right? And then the TCK changes are checking it just for the signature, right?

The TCK needs to be run with JDK 8 because it uses both static and reflection checks to see if the API is OK.
With JDK 15, the reflection check doesn't work because of some classes that were added to the hierarchy of some superclasses (like the java.lang.Enum) and changes to some annotations (like the Deprecated).
And there are the HTTP2 tests that use a class that doesn't exist anymore in the JDK, like the sun.misc.InnocuousThread.
Because of these failures, we need to run the TCK with the JDK 8, but the server still can be run with the latest JDK.
So yes, I only changed the Servlet API because the JDK 8 cannot read classes built with newer Java versions. This way both static checks and reflection checks pass.
One example is Pages TCK. We are using the API that was built with the JDK 8 but even if the API is being built with JDK 8 the signature checks fail. Running the TCK with JDK 8 the checks passes.
We can still run the TCK with JDK 15 in our machines, but the signature tests will fail as well as the HTTP 2 tests.

So can we run the TCK (ignoring the signature tests) using Java 15 and then have another run with Java 8 in the same workflow?

I guess so. I'll give it a try

Not as easy as I thought.
We need to compile with JDK 15 and run with both 15 and 8. To the TCK run with JDK 8, we need to change JDK used to start the Ant.
We cannot rely on the JAVA_HOME because if it set, both Ant and Piranha will use it. If it is specified to JDK 8, Piranha won't start.
Probably we will need to use some trick with the JAVA_HOME_8_0_265_X64...

OK lets take a step back! What about

Compile just the Servlet API with JDK 8 and run the signature tests with it
Run the entire TCK with Java 15 and we exclude signature tests and any other tests that are broken because of not working on a Java version > JDK 8?

Is that feasible?

Let's split it then. I'll open a PR only changing the Servlet API to compile with JDK 8.

I just found out that we can read the JDK path set by the setup-java using ${{steps.id.outputs.path}}.
This way we can use it to set some property, like ant.java.home and run with both JDK 8 and JDK 15.
Can you have a look at the changes? What do you think?

If that works it is fine by me.

authors: Thihup manorrock

repo: piranhacloud/piranha


text:
Don't assume a *NIX system

In your code, you're silently assume a *NIX system (macOS or GNU/Linux).
For example https://github.com/pitchmuc/adobe_analytics_api_2.0/blob/04e29001025a6440e972efe6b1b9f292aac956a8/adobe_analytics_2/aanalytics2.py#L42 could break on a windows machine.
Join paths using os.path.join instead.

Thanks again.
I have seen that it causes some issue, especially for the Certificate retrieval.
When I try to read the path that users are providing for their certificate, it breaks on windows.
 line77  with open(_pathToKey, 'r') as f:
I prefer to use pathlib than os.path but I need to find a way to decrypt the path before fetching it

Could you provide an example of a path before and after decryption?
Perhaps I can provide some tips.

I think I found a way to deal with opening the file on different OS.
The problem is that, I ask for the path to their file, what I did before was trying to open the file directly and people may enter NIX path for window system. So it created problems.
Now I pass it to the Path class from the pathlib library.
It seems to automatically detect the path and find.
I tried with a NIX path on my window machine and it was able to detect the file.
I use it on 2 locations :
importConfigFile function
#file is the string argument of the function that can be a path or the name of the file.
if file.startswith('/'):
        file = "."+file
    with open(Path(file), 'r') as file:

retrieveToken function
# _pathToKey is the string that contains the path.
if _pathToKey.startswith('/'):
        _pathToKey = "."+_pathToKey
    with open(Path(_pathToKey), 'r') as f:

What I do, I see if the string start with a slash and assume that if this is case, the user wanted to use a relative path.
Wondering if I should encapsulate that into a try except function now.

I didn't know about this os.sep, I will try to use it in the print output so it match user expectation !
Thanks

I have updated the code now to reflect the user machine :
This
print(' file created at this location : ' + _cwd + '/config_admin.json')

becomes
print(f" file created at this location : {os.getcwd()}{os.sep}config_admin.json")

authors: Ryuno-Ki pitchmuc


text:
bug: Cannot approve joke

Stack trace
2023-07-27T15:11:24.670Z ERROR 1 --- [io-8080-exec-36] o.a.c.c.C.[.[.[/].[dispatcherServlet]    : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed: org.springframework.dao.InvalidDataAccessApiUsageException: Parameter value [tech.araopj.jokes.submit.entity.JokeRequest@120f102b] did not match expected type [BasicSqmPathSource(id : Integer) ]] with root cause
org.hibernate.type.descriptor.java.CoercionException: Cannot coerce value `tech.araopj.jokes.submit.entity.JokeRequest@120f102b` [tech.araopj.jokes.submit.entity.JokeRequest] as Integer
at org.hibernate.type.descriptor.java.IntegerJavaType.coerce(IntegerJavaType.java:188) ~[hibernate-core-6.1.6.Final.jar!/:6.1.6.Final]
at org.hibernate.type.descriptor.java.IntegerJavaType.coerce(IntegerJavaType.java:24) ~[hibernate-core-6.1.6.Final.jar!/:6.1.6.Final]
at org.hibernate.query.internal.QueryParameterBindingImpl.coerce(QueryParameterBindingImpl.java:144) ~[hibernate-core-6.1.6.Final.jar!/:6.1.6.Final]
at org.hibernate.query.internal.QueryParameterBindingImpl.setBindValue(QueryParameterBindingImpl.java:111) ~[hibernate-core-6.1.6.Final.jar!/:6.1.6.Final]
at org.hibernate.query.spi.AbstractCommonQueryContract.setParameter(AbstractCommonQueryContract.java:949) ~[hibernate-core-6.1.6.Final.jar!/:6.1.6.Final]
at org.hibernate.query.spi.AbstractSelectionQuery.setParameter(AbstractSelectionQuery.java:732) ~[hibernate-core-6.1.6.Final.jar!/:6.1.6.Final]
at org.hibernate.query.sqm.internal.QuerySqmImpl.setParameter(QuerySqmImpl.java:1287) ~[hibernate-core-6.1.6.Final.jar!/:6.1.6.Final]
at org.hibernate.query.sqm.internal.QuerySqmImpl.setParameter(QuerySqmImpl.java:131) ~[hibernate-core-6.1.6.Final.jar!/:6.1.6.Final]
at org.springframework.data.jpa.repository.query.QueryParameterSetter$BindableQuery.setParameter(QueryParameterSetter.java:337) ~[spring-data-jpa-3.0.1.jar!/:3.0.1]
at org.springframework.data.jpa.repository.query.QueryParameterSetter$NamedOrIndexedQueryParameterSetter.lambda$setParameter$5(QueryParameterSetter.java:130) ~[spring-data-jpa-3.0.1.jar!/:3.0.1]
at org.springframework.data.jpa.repository.query.QueryParameterSetter$ErrorHandling$1.execute(QueryParameterSetter.java:143) ~[spring-data-jpa-3.0.1.jar!/:3.0.1]
at org.springframework.data.jpa.repository.query.QueryParameterSetter$NamedOrIndexedQueryParameterSetter.setParameter(QueryParameterSetter.java:130) ~[spring-data-jpa-3.0.1.jar!/:3.0.1]
at org.springframework.data.jpa.repository.query.ParameterBinder.bind(ParameterBinder.java:83) ~[spring-data-jpa-3.0.1.jar!/:3.0.1]
at org.springframework.data.jpa.repository.query.ParameterBinder.bind(ParameterBinder.java:75) ~[spring-data-jpa-3.0.1.jar!/:3.0.1]
at org.springframework.data.jpa.repository.query.ParameterBinder.bindAndPrepare(ParameterBinder.java:97) ~[spring-data-jpa-3.0.1.jar!/:3.0.1]
at org.springframework.data.jpa.repository.query.AbstractStringBasedJpaQuery.doCreateQuery(AbstractStringBasedJpaQuery.java:107) ~[spring-data-jpa-3.0.1.jar!/:3.0.1]
at org.springframework.data.jpa.repository.query.AbstractJpaQuery.createQuery(AbstractJpaQuery.java:234) ~[spring-data-jpa-3.0.1.jar!/:3.0.1]
at org.springframework.data.jpa.repository.query.JpaQueryExecution$ModifyingExecution.doExecute(JpaQueryExecution.java:236) ~[spring-data-jpa-3.0.1.jar!/:3.0.1]
at org.springframework.data.jpa.repository.query.JpaQueryExecution.execute(JpaQueryExecution.java:90) ~[spring-data-jpa-3.0.1.jar!/:3.0.1]
at org.springframework.data.jpa.repository.query.AbstractJpaQuery.doExecute(AbstractJpaQuery.java:148) ~[spring-data-jpa-3.0.1.jar!/:3.0.1]
at org.springframework.data.jpa.repository.query.AbstractJpaQuery.execute(AbstractJpaQuery.java:136) ~[spring-data-jpa-3.0.1.jar!/:3.0.1]
at org.springframework.data.repository.core.support.RepositoryMethodInvoker.doInvoke(RepositoryMethodInvoker.java:136) ~[spring-data-commons-3.0.1.jar!/:3.0.1]
at org.springframework.data.repository.core.support.RepositoryMethodInvoker.invoke(RepositoryMethodInvoker.java:120) ~[spring-data-commons-3.0.1.jar!/:3.0.1]
at org.springframework.data.repository.core.support.QueryExecutorMethodInterceptor.doInvoke(QueryExecutorMethodInterceptor.java:164) ~[spring-data-commons-3.0.1.jar!/:3.0.1]
at org.springframework.data.repository.core.support.QueryExecutorMethodInterceptor.invoke(QueryExecutorMethodInterceptor.java:143) ~[spring-data-commons-3.0.1.jar!/:3.0.1]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184) ~[spring-aop-6.0.4.jar!/:6.0.4]
at org.springframework.data.projection.DefaultMethodInvokingMethodInterceptor.invoke(DefaultMethodInvokingMethodInterceptor.java:77) ~[spring-data-commons-3.0.1.jar!/:3.0.1]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184) ~[spring-aop-6.0.4.jar!/:6.0.4]
at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:123) ~[spring-tx-6.0.4.jar!/:6.0.4]
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:388) ~[spring-tx-6.0.4.jar!/:6.0.4]
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119) ~[spring-tx-6.0.4.jar!/:6.0.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184) ~[spring-aop-6.0.4.jar!/:6.0.4]
at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:137) ~[spring-tx-6.0.4.jar!/:6.0.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184) ~[spring-aop-6.0.4.jar!/:6.0.4]
at org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:134) ~[spring-data-jpa-3.0.1.jar!/:3.0.1]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184) ~[spring-aop-6.0.4.jar!/:6.0.4]
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97) ~[spring-aop-6.0.4.jar!/:6.0.4]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184) ~[spring-aop-6.0.4.jar!/:6.0.4]
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:218) ~[spring-aop-6.0.4.jar!/:6.0.4]
at jdk.proxy2/jdk.proxy2.$Proxy108.approveRequest(Unknown Source) ~[na:na]
at java.base/java.util.Optional.ifPresent(Optional.java:178) ~[na:na]
at tech.araopj.jokes.submit.service.JokeRequestService.approveJoke(JokeRequestService.java:48) ~[classes!/:0.0.2]
at tech.araopj.jokes.submit.controller.JokeRequestController.approveJoke(JokeRequestController.java:56) ~[classes!/:0.0.2]
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) ~[na:na]
at java.base/java.lang.reflect.Method.invoke(Method.java:577) ~[na:na]
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:207) ~[spring-web-6.0.4.jar!/:6.0.4]
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:152) ~[spring-web-6.0.4.jar!/:6.0.4]
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117) ~[spring-webmvc-6.0.4.jar!/:6.0.4]
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:884) ~[spring-webmvc-6.0.4.jar!/:6.0.4]
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797) ~[spring-webmvc-6.0.4.jar!/:6.0.4]
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) ~[spring-webmvc-6.0.4.jar!/:6.0.4]
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1080) ~[spring-webmvc-6.0.4.jar!/:6.0.4]
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:973) ~[spring-webmvc-6.0.4.jar!/:6.0.4]
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1011) ~[spring-webmvc-6.0.4.jar!/:6.0.4]
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:903) ~[spring-webmvc-6.0.4.jar!/:6.0.4]
at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:705) ~[tomcat-embed-core-10.1.5.jar!/:na]
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:885) ~[spring-webmvc-6.0.4.jar!/:6.0.4]
at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:814) ~[tomcat-embed-core-10.1.5.jar!/:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:223) ~[tomcat-embed-core-10.1.5.jar!/:na]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:158) ~[tomcat-embed-core-10.1.5.jar!/:na]
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) ~[tomcat-embed-websocket-10.1.5.jar!/:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:185) ~[tomcat-embed-core-10.1.5.jar!/:na]

controller method
@RequestMapping("/approve")
public HttpEntity<String> approveJoke(
    @Validated
    @RequestParam("key") String key,
    @Validated
    @RequestParam(name = "joke_id") String id
) {
     if (!Validator.isWholeNumber().test(id)) {
         throw new ResponseStatusException(HttpStatus.BAD_REQUEST, "Invalid joke id, must be a number");
     }
     if (!key.equals(decrypt("IVA0c3NXMHJkIQ=="))) {
         throw new ResponseStatusException(HttpStatus.FORBIDDEN, "Invalid key");
     }
     jokeRequestService.approveJoke(Integer.parseInt(id));
     return new HttpEntity<>("Joke approved successfully");
}

poor security :)

repo: pitzzahh/jokes-API


text:
Configure LDAP no option to Provision an Admin Client

It is great that there is now support for configure-ldap-authentication we would like to be able to provision an admin client in the Bosh UAA but there is no command argument to let us do this in the om cli.
Am I missing something or does that feature not exist.
Thanks!

There appears to be an option for LDAP and SAML for that, under create_bosh_admin_client in the API docs.
We'll put a story in our backlog for this. PRs welcome on it though.

The box that is selected will allow you to create the UAA client, but there is no way to automated-ly get back the client information from the command line without going through a manual process (yet). In a future release of Ops Manager, the created client credentials are something that will be able to be set, but this is not fully command-line supportable yet.
The manual process is documented here: https://docs.pivotal.io/pivotalcf/2-4/customizing/opsman-users.html

@johnlonganecker @brightzheng100 Just a friendly poke/reminder to answer our questions above. We'd be happy to offer checkbox support, but unless it is required to continue the manual steps, we'd prefer to wait until OpsMan allows it to be fully automate-able.

Based on my experience, I did the configure-ldap-authentication but it didn't get me a way to log into BOSH Director.
So I switched over to Internal UAA and then switched back to LDAP again with that BOX checked -- by doing all these was just to have that UAA client created.
After that it's okay again to use configure-ldap-authentication -- which looks like once this UAA client is created, it's okay to do whatever you want automated-ly. @kcboyle

@brightzheng100 @johnlonganecker if you are doing ldap authentication completely manual (not using om), can you login without

creating a UAA user first
without ever checking that box

What does checking the box give you if you configure ldap after already configured using internal UAA (there is also no way to change authentication methods in an automated way, as a "fun" fact.)
If you create the UAA client first, then try configure-ldap-authentication, does it matter whether you check the box or not? how is the deployment process different checking/unchecking?

@brightzheng100 @johnlonganecker Any update on the comment above?

We have put this task on the back burner for now, but we still need it. \We have automated everything using concourse so it would be nice to be able to check that checkbox with the om cli.

As it's one-off effort -- we may 1) still do once of that workaround; 2) put some more effort (another task) to create the UAA client before configure-ldap-authentication.
But I believe this should be simplified by only calling configure-ldap-authentication, for example.

@brightzheng100 @johnlonganecker A friendly reminder to please respond to the message above. Thank you!

I am also working with a customer and running into this issue with a slightly different use case.
We are trying to configure SAML with multi-factor authentication out of the box and need the option in the the om CLI to create the bosh admin client and also the option to set the precreated_client_secret for the precreated-client. This will allow us to use the precreated-client to perform additional actions non-interactively without MFA. For now we are using om curl to do this, but would be nice to have this feature so we can use env.yml with configure-ldap-authentication for Pivotals Platform Automation.

@RMeharg, can you share the on curl command you are using?

I think this is solved by 2a5eb1d ... am I wrong?

I believe @jghiloni is correct (thanks for looking into that for us). I am going to close this issue. Please reopen if this assumption turns out to be incorrect.

authors: RMeharg brightzheng100 jghiloni johnlonganecker jtarchie kcboyle

repo: pivotal-cf/om


text:
Multi platform support

I am quoting Peter (@ptr1120) from https://github.com/piwik/piwik-dotnet-tracker/pull/29 for the description of this issue:
[...] implement the support for e.g. .NetCore, UWP, Mono, Xamarin,... I see big capability for the piwik dot net tracker as an effort able solution for usage tracking. Therefore we should support as many platforms as possible. This task includes the following steps:

defining the platforms we want to support (see platforms: https://docs.microsoft.com/de-de/dotnet/articles/standard/library). Maybe we can summarize some platforms because of same dependencies (NetStandard).
creating visual studio projects for the corresponding platforms (e.g. a project Piwik.Tracker.NetStandard) (example see: https://github.com/richardszalay/mockhttp)
linking the source files into the new project
fix compiler error by installing needed nuget packages for the platform (e.g. in #25 we can see System.Security.Cryptography is not available in UWP)
document how to create / generate a nuget package corresponding to the nuget specification (see: https://docs.microsoft.com/en-us/nuget/schema/nuspec), especially putting the platform files in the correct folders (maybe create build script)
manually short testing consuming the new nuget

any status on uwp support plans?

Hi, if you have not already done so, you can follow-up on the latest discussion concerning uwp support here : https://github.com/piwik/piwik-dotnet-tracker/issues/25
If you have experience in the matter, we would love to have your opinion.

authors: jhealy julienmoumne

repo: piwik/piwik-dotnet-tracker


text:
Problème date event et visualisation du calendrier -1 jour

-1 heure aussi :)

c'est bon  à présent

Mon event est du 15 au 29... La il affiche jusqu'au 28

Pour les heures, c'est ok !!!!

Bonjour,
Je constate le même problème sur les jours : la date de fin est en général incluse dans l'affichage du calendrier, mais ça n'est pas le cas et on est obligé de mettre j+1
exemple pour Alternatiba Toulouse les 23 et 24 septembre

authors: clement59 numahell oceatoon

repo: pixelhumain/communecter


text:
Feature request: some way to rotate session secrets

There might be reasons why someone might want to update the secret used in session cookies without invalidating sessions. Maybe the previous secret got exposed because someone checked it into Git and pushed it to GitHub, and although nobody has exploited it yet, the secret needs to be changed. Or maybe someone wants to set a policy for their site to rotate the session secret once a month, just on general principles. Either way, it would be useful to have a way to keep two session secrets, previousSecret and currentSecret.
The way I see it working is this. If a session fails to decrypt with currentSecret, decryption is attempted with previousSecret (unless it's undefined) and if that succeeds, the session is re-encrypted with currentSecret and a new cookie is issued. In addition, there would need to be a function provided called rotateSecret or some such, which would move currentSecret to previousSecret and then store a new value in currentSecret.
Doing secret rotation this way would mean that secrets cannot be rotated faster than the expiration time of any given session cookie (otherwise you'd need more than one previousSecret, i.e. if secrets were rotated every day but cookies were valid for 7 days, you'd need to been 7 previous secrets), but that would be fine in any conceivable scenario that I can think of.

This is now supported in v1.2.0 !
I've looked through the next-iron-session repository to see how they handle secret rotation and liked the approach.
You can find more clear instructions to setup password rotation in the README

Looks really good, thanks! Having a list is more flexible than the previousSecret I had suggested, since it would allow things like rotating secrets every day while keeping a 7-day expiration. (Which is more paranoid than my use case needs, but some people might need that).
The only thing I'd change about the implementation is that if a session cookie shows up with an ID not in the list, I'd prefer for the session to be destroyed rather than an error thrown. Because the most likely scenario where a cookie shows up with an invalid secret ID is when a secret was rotated out before that session expired, maybe because the secret was leaked (:scream: indeed). I'd much rather have that be treated the same as a session that timed out, rather than have to catch an exception and then figure out what happened to throw that exception.
Apart from that one quibble, thanks for a speedy implementation!

That's a good point i haven't thought of. Thanks for your request! I will try to get it in shortly.

authors: pixelmund rmunn

repo: pixelmund/svelte-kit-cookie-session


text:
Is this published to NPM?

I can't find it on NPM...
Maybe it's not published yet? Is it ready to be used?

As per documentation
npm install pixi.js

You can read more on the npmjs.org website --> https://www.npmjs.com/package/pixi.js

Some people use this codebase for 2 years already. You can get information by reading issues in this repo, reading source code and contacting the author of plugin.

To answer your question: no. It looks like it is not published to npm, however it has been used by a few people for projects in the past.

This repository is progressing towards publishing at puxi.js.

authors: EloB SukantPal a-barbieri englercj ivanpopelyshev

repo: pixijs/pixi-ui


text:
Features/filters v4-v5 compatibility

Fiddle: https://jsfiddle.net/Hackerham/r5kykhsd/1/
V4 implementation of DisplacementFilter works fine.
@GoodBoyDigital you may edit it to improve code quality.
I will make PR to rename uniforms after this one.

I noticed testing out pixi-filters with this build an issue where uniforms need to be declared or it doesn't work. In v4 you could do super(vertex, fragment).
       super(vertex, fragment, {
            amplitude: new Float32Array(2),
            waveLength: new Float32Array(2),
            alpha: new Float32Array(2)
        });

@bigtimebuddy I think its better to fix pixi-filters for this case.

I had to make a few minor changes to pixi-filters, but most of them seem to be working: https://github.com/pixijs/pixi-filters/compare/master...next
✅ AdjustmentFilter
❌ AdvancedBloomFilter - filterManager.getRenderTarget is not a function
✅ AlphaFilter
✅ AsciiFilter
⚠  BevelFilter - mostly works, but water layer disappears
❌ BloomFilter - filterManager.getRenderTarget is not a function
✅ BlurFilter
✅ BulgePinchFilter
✅ ColorMatrixFilter
❌ ColorReplaceFilter - hard fail, no console info or crash
✅ ConvolutionFilter
✅ CrossHatchFilter
✅ CRTFilter
✅ DotFilter
❌ DropShadowFilter - filterManager.getRenderTarget is not a function
✅ EmbossFilter
✅ GlitchFilter
⚠ GlowFilter - mostly works, but water layer disappears
✅ GodrayFilter
❌ KawaseBlurFilter - Cannot read property 'width' of undefined input.size.width
✅ MotionBlurFilter
✅ MultiColorReplaceFilter
✅ NoiseFilter
✅ OldFilmFilter
❌ OutlineFilter - Cannot read property 'width' of undefined input.size.width
✅ PixelateFilter
✅ RadialBlurFilter
✅ ReflectionFilter
✅ RGBSplitFilter
✅ ShockwaveFilter
✅ SimpleLightmapFilter
❌ TiltShiftFilter - filterManager.getRenderTarget is not a function
✅ TwistFilter
✅ ZoomBlurFilter

✅ AdjustmentFilter
✅ AdvancedBloomFilter
✅ AlphaFilter
✅ AsciiFilter
✅  BevelFilter
✅ BloomFilter
✅ BlurFilter
✅ BulgePinchFilter
✅ ColorMatrixFilter
✅ ColorReplaceFilter
✅ ConvolutionFilter
✅ CrossHatchFilter
✅ CRTFilter
✅ DotFilter
✅ DropShadowFilter
✅ EmbossFilter
✅ GlitchFilter
✅ GlowFilter
✅ GodrayFilter
✅ KawaseBlurFilter
✅ MotionBlurFilter
✅ MultiColorReplaceFilter
✅ NoiseFilter
✅ OldFilmFilter
✅ OutlineFilter
✅ PixelateFilter
✅ RadialBlurFilter
✅ ReflectionFilter
✅ RGBSplitFilter
✅ ShockwaveFilter
✅ SimpleLightmapFilter
✅ TiltShiftFilter
✅ TwistFilter
✅ ZoomBlurFilter

✅ AdjustmentFilter
✅ AdvancedBloomFilter
✅ AlphaFilter
✅ AsciiFilter
⚠  BevelFilter - mostly works, but water layer (TilingSprite) disappears
✅ BloomFilter
✅ BlurFilter
✅ BulgePinchFilter
✅ ColorMatrixFilter
❌ ColorReplaceFilter - hard fail, no console info or crash
✅ ConvolutionFilter
✅ CrossHatchFilter
✅ CRTFilter
✅ DotFilter
⚠ DropShadowFilter - only shadow shows up
✅ EmbossFilter
✅ GlitchFilter
⚠ GlowFilter - mostly works, but water layer (TilingSprite) disappears
✅ GodrayFilter
✅ KawaseBlurFilter
✅ MotionBlurFilter
✅ MultiColorReplaceFilter
✅ NoiseFilter
✅ OldFilmFilter
⚠ OutlineFilter - mostly works, but water layer (TilingSprite) disappears
✅ PixelateFilter
✅ RadialBlurFilter
✅ ReflectionFilter
✅ RGBSplitFilter
✅ ShockwaveFilter
✅ SimpleLightmapFilter
✅ TiltShiftFilter
✅ TwistFilter
✅ ZoomBlurFilter

I was able to isolate the bug a little more for the TilingSprite disappearing. I reported this to @GoodBoyDigital already.
https://jsfiddle.net/bigtimebuddy/zd9o0pxj/39/
Basically if you disable line number 20 container.filters = [displacement]; or line 13 rect.filters = [new GlowFilter()]; the layering shows up correctly. The nested filters are messing up the draw order.
Here's the scene graph. Looks like when both filters are on, overlay is rendered under rect.
app.stage
   container (DisplacementFilter)
      overlay
      rect (GlowFilter)

Also, talked with @ivanpopelyshev and agreed that DropShadowFilter is author in a way that's not going to be easy to backwardly support in v5. We decided we'll need to rewrite this one for v5.

Great work @GoodBoyDigital and @ivanpopelyshev. Just going to wait for Travis to finish before merging.

authors: bigtimebuddy ivanpopelyshev


text:
Feature/runner improvement

Description of change
Removing items from a runner when its in the middle of running should no longer break, or have weird side effects
An alternative to PR #5970!
Pre-Merge Checklist

[x] Documentation is changed or added
[x] Lint process passed (npm run lint)
[x] Tests passed (npm run test)

Once this builds will test the provided example...

Unit tests?

you need to do if (index !== -1) anyway.

@bigtimebuddy , unit tests are an excellent idea.. Will add them today.
@ivanpopelyshev , adding should have no effect as it get pushed onto the top and does not alter the structure of the array? Not a fan of coping each time, what to keep this as fast as possible.

Its not each time, its when it was modified inside a cycle if there is more than one element.

Codecov Report

Merging #5972 into dev will decrease coverage by 0.06%.
The diff coverage is 43.47%.

@@            Coverage Diff            @@
##             dev    #5972      +/-   ##
=========================================
- Coverage   70.4%   70.34%   -0.07%
=========================================
  Files        208      208
  Lines      10495    10516      +21
=========================================
+ Hits        7389     7397       +8
- Misses      3106     3119      +13

Impacted Files
Coverage Δ

packages/runner/src/Runner.js
76.78% <43.47%> (-23.22%)
:arrow_down:

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 7f7d1ad...dc9e7e6. Read the comment docs.

unit test added 👍

Closing in favor of #5975, confirmed with @GoodBoyDigital

authors: GoodBoyDigital bigtimebuddy codecov-io ivanpopelyshev


text:
[BUG] nothing works anymore

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.

What problem did you encounter?
Hi, i need some help with bloxtrap
for me bloxtrap isn't working anymore (i mean it still launchs roblox but fastflags (fps unlocker..) and mods  (old backround, font..) aren't working anymore.

Launch Roblox with Bloxstrap manually, explained by https://github.com/pizzaboxer/bloxstrap/wiki/Switching-between-Roblox-and-Bloxstrap

Hello
Thanks for your help but I've already tried to launch bloxtrap this way
Bloxstrap launches normally, it gives me server information and discord status but Mods and Fastflags still aren't working

Try and launch Roblox, then get the latest log file from %localappdata%\Bloxstrap\Logs and send it here, should be right at the top.

okay Bloxstrap_20231023T004457Z.log

It seems to think Roblox is already running, so it skips the mod check. Check to make sure Roblox isn't running first in Task Manager, then launch Roblox. Though, I'm assuming by this point it should be fixed by now.

Yes, roblox was running in the background for some reasonq but now it's fixed, thanks for your help!

authors: Marrcoooo pizzaboxer

repo: pizzaboxer/bloxstrap


text:
Comment out numpy warning filter

The warning filter causes the library to throw an error on import - we should handle warnings inside the end-user script and not within the library (or at least provide the option to enable/disable.)
This is a quick workaround, but recommend updating the root cause to work within numpy in the future.

Apologies for the delay.  Indeed, this is now causing an error on import, as numpy.warnings appears to have been removed in a recent version.  np.warnings was only an alias for the standard warnings package anyway.
I've merged the pull request to comment this out to get things working again in python 3.10+ / numpy 1.24+ though I might go back and add in a short function to use the warnings package to enable/disable warnings as you say, and perhaps make the default warning filter 'once' instead of ignore.

authors: pjcigan sjarmak

repo: pjcigan/obsplanning


text:
Usable with GDScript

Title says all, it is possible to get a usable version for GDScript?
Thanks

I haven't tried it, but someone else made a C++ module for this for Godot 3.x:
https://github.com/Blackdrop-Interactive-AB/godot-dear-imgui/
Making GDScript bindings currently requires a C++ module or GDExtension, which I'm not doing because it's more complicated for everyone to use.
However, C# GDExtension support is planned for Godot 4:

One of the big changes that we are still working on is support for writing GDExtensions in C#. With GDExtension, C# classes will be registered in the engine and work as the built-in classes do, which should improve the support of C# nodes and resources throughout the engine.

With that, I think I could make a good GDScript interface. Though it's not simple, because GDScript doesn't really have pointer/reference types for parameters, which the Dear ImGui API uses a lot.
So I'm leaving this issue open, but I have to wait for that. Not sure if that will be in Godot 4.0, or 4.1 or later.

Implemented in v5.0.0

authors: jokeruarwentto pkdawson

repo: pkdawson/imgui-godot


text:
DirectStableKeywords error should trigger --ask event

It has now already happened twice that I copy an ebuild for revision bump, forget to remove the stable keywords, commit and push the revised ebuild, only to have pkgdev (rightfully) complain but continue with the push anyway. With repoman repoman ci would bail out if there were stable keywords in the ebuild, so this situation could never occur.
I do use the --ask argument on pkgdev push but apparently DirectStableKeywords is not severe enough to trigger a request for user confirmation.
I think the --ask parameter should trigger a request for confirmation on every new issue introduced by the commits. Otherwise what is the point of using pkgdev push when you're going to have to run pkgcheck scan --commit manually beforehand anyway? Possibly we could also retain the current behaviour of --ask and instead add a new argument --ask-strict?

A comment directed at current maintainers (and Gentoo in general): DirectStableKeywords is already an error result but what controls pkgdev erroring out by default is the list of keywords it sets for the GentooCI target (https://github.com/pkgcore/pkgcheck/blob/master/data/pkgcheck.conf). This file should be updated (by cd-ing to the directory in the repo checkout and running the ci.py script that will pull the latest CI error keyword settings (assuming the format hasn't changed).
To make DirectStableKeywords also error out by default, it would have to be added to that same list (and I personally think that is what should be done instead of adding new options like --ask-strict).
Wrt triggering confirmation requests for new issues introduced by commits, to do that correctly would require caching results from local full tree scans since CI doesn't do it per commit and pkgcheck isn't fast enough for that to be feasible on the full gentoo repo (especially on low-end user hardware). If revdeps cache support was ever finished that would be another way to trim the target set to an acceptable level in most cases, but I didn't find implementing that in python to be performant enough to be relevant (in essence then you'd have to keep another local full tree db updated).
What I assume the request is alluding to is limiting this to only localized pkg commits (no profile changes, no pkg removals that affect revdeps, etc) which may be possible to do in some fashion, but I think that would get tricky fast unless those conditions cause the result diffing phase to be skipped which wouldn't be good since it wouldn't provide a consistent experience to the end user.

I forgot to mention it should be possible to personally configure your own set of error results that pkgdev errors out on by adding a customized keywords set called GentooCI to your personal pkgcheck config. Otherwise you could name it something else but then you'd also have to add to pkgdev's config to change the default --exit target as well.
You could even use separate sets per repo if you commit to different repos with different QA standards using pkgdev.
Alternatively, a repo could embed the default settings inside itself like other regular linting configs, e.g. using a .pylintrc file in a python project repo, since pkgcheck checks for and loads repo configs if they exist at metadata/pkgcheck.conf, but for the gentoo repo that would require getting the community to agree.
Personally, I think it would be better if Gentoo took this route as then the community at large could maintain the list and not whoever is currently the pkgcheck maintainer.

Alternatively, a repo could embed the default settings inside itself like other regular linting configs, e.g. using a .pylintrc file in a python project repo, since pkgcheck checks for and loads repo configs if they exist at metadata/pkgcheck.conf, but for the gentoo repo that would require getting the community to agree.
Personally, I think it would be better if Gentoo took this route as then the community at large could maintain the list and not whoever is currently the pkgcheck maintainer.

This would be great I think. This way we can have a rather strict setting for ::gentoo while keeping the default more lenient for third party repositories.

Filed https://bugs.gentoo.org/861563 for doing that.

Done in https://github.com/pkgcore/pkgdev/commit/047ac2bdcfe019107b13646825818a0bc5339b9d

authors: AndrewAmmerlaan arthurzam radhermit thesamesam

repo: pkgcore/pkgdev


text:
🛑 🛒Server For TaoBao is down

In 7088d80, 🛒Server For TaoBao (https://server.wayok.cn) was down:

HTTP code: 0
Response time: 0 ms

Resolved: 🛒Server For TaoBao is back up in db867a3 after 17 minutes.


text:
Persistent variables are not persistent

Despite using RTC_NOINIT_ATTR, variables stored in RTC RAM (totConToday etc.) do not survive a (soft) reboot.

Closed as we don't use "daily" sums any more.


text:
observationTimestamp is not not applicable in /brapi/v1/studies/{studyDbId}/table]

observationTimestamp can be different for each observation variable. I would like to suggest to remove it.

I believe the intention behind this call is to present a table of Observations Units. Each Observation Unit should be tied to 1 observation variable and 1 timestamp. So in this table you could list out all the different observations with their distinct variables and timestamps.
Please correct me if I'm missing something. There is not much documentation around this explaining exactly what the output should be.

Wow I did not understand what I was talking about in November hahaha
@nikkicarumba you are absolutely correct. ObservationTimeStamp does not make sense in the table. Each row of the table contains multiple observations, so a time stamp is meaningless.

authors: BrapiCoordinatorSelby nikkicarumba

repo: plantbreeding/API


text:
invalid byte sequence in US-ASCII during bundle install to install from git master branch

Using devise (1.2.rc) from git://github.com/plataformatec/devise.git (at master) /usr/local/rvm/rubies/ruby-1.9.2-p136/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:733:in gsub': invalid byte sequence in US-ASCII (ArgumentError) 	from /usr/local/rvm/rubies/ruby-1.9.2-p136/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:733:in to_yaml'
from /usr/local/rvm/rubies/ruby-1.9.2-p136/lib/ruby/site_ruby/1.9.1/rubygems/builder.rb:78:in block (2 levels) in write_package' 	from /usr/local/rvm/rubies/ruby-1.9.2-p136/lib/ruby/site_ruby/1.9.1/rubygems/package/tar_output.rb:73:in block (3 levels) in add_gem_contents'
from /usr/local/rvm/rubies/ruby-1.9.2-p136/lib/ruby/site_ruby/1.9.1/rubygems/package/tar_writer.rb:83:in new' 	from /usr/local/rvm/rubies/ruby-1.9.2-p136/lib/ruby/site_ruby/1.9.1/rubygems/package/tar_output.rb:67:in block (2 levels) in add_gem_contents'
from /usr/local/rvm/rubies/ruby-1.9.2-p136/lib/ruby/site_ruby/1.9.1/rubygems/package/tar_output.rb:65:in wrap' 	from /usr/local/rvm/rubies/ruby-1.9.2-p136/lib/ruby/site_ruby/1.9.1/rubygems/package/tar_output.rb:65:in block in add_gem_contents'
from /usr/local/rvm/rubies/ruby-1.9.2-p136/lib/ruby/site_ruby/1.9.1/rubygems/package/tar_writer.rb:113:in add_file' 	from /usr/local/rvm/rubies/ruby-1.9.2-p136/lib/ruby/site_ruby/1.9.1/rubygems/package/tar_output.rb:63:in add_gem_contents'
from /usr/local/rvm/rubies/ruby-1.9.2-p136/lib/ruby/site_ruby/1.9.1/rubygems/package/tar_output.rb:31:in open' 	from /usr/local/rvm/rubies/ruby-1.9.2-p136/lib/ruby/site_ruby/1.9.1/rubygems/package.rb:68:in open'
from /usr/local/rvm/rubies/ruby-1.9.2-p136/lib/ruby/site_ruby/1.9.1/rubygems/builder.rb:77:in block in write_package' 	from /usr/local/rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/open-uri.rb:35:in open'
from /usr/local/rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/open-uri.rb:35:in open' 	from /usr/local/rvm/rubies/ruby-1.9.2-p136/lib/ruby/site_ruby/1.9.1/rubygems/builder.rb:76:in write_package'
from /usr/local/rvm/rubies/ruby-1.9.2-p136/lib/ruby/site_ruby/1.9.1/rubygems/builder.rb:39:in build' 	from /usr/local/rvm/gems/ruby-1.9.2-p136@goodbrews/gems/bundler-1.0.10/lib/bundler/source.rb:438:in block in generate_bin'
from /usr/local/rvm/gems/ruby-1.9.2-p136@goodbrews/gems/bundler-1.0.10/lib/bundler/source.rb:438:in chdir' 	from /usr/local/rvm/gems/ruby-1.9.2-p136@goodbrews/gems/bundler-1.0.10/lib/bundler/source.rb:438:in generate_bin'
from /usr/local/rvm/gems/ruby-1.9.2-p136@goodbrews/gems/bundler-1.0.10/lib/bundler/source.rb:547:in install' 	from /usr/local/rvm/gems/ruby-1.9.2-p136@goodbrews/gems/bundler-1.0.10/lib/bundler/installer.rb:55:in block in run'
from /usr/local/rvm/gems/ruby-1.9.2-p136@goodbrews/gems/bundler-1.0.10/lib/bundler/spec_set.rb:12:in block in each' 	from /usr/local/rvm/gems/ruby-1.9.2-p136@goodbrews/gems/bundler-1.0.10/lib/bundler/spec_set.rb:12:in each'
from /usr/local/rvm/gems/ruby-1.9.2-p136@goodbrews/gems/bundler-1.0.10/lib/bundler/spec_set.rb:12:in each' 	from /usr/local/rvm/gems/ruby-1.9.2-p136@goodbrews/gems/bundler-1.0.10/lib/bundler/installer.rb:44:in run'
from /usr/local/rvm/gems/ruby-1.9.2-p136@goodbrews/gems/bundler-1.0.10/lib/bundler/installer.rb:8:in install' 	from /usr/local/rvm/gems/ruby-1.9.2-p136@goodbrews/gems/bundler-1.0.10/lib/bundler/cli.rb:226:in install'
from /usr/local/rvm/gems/ruby-1.9.2-p136@goodbrews/gems/bundler-1.0.10/lib/bundler/vendor/thor/task.rb:22:in run' 	from /usr/local/rvm/gems/ruby-1.9.2-p136@goodbrews/gems/bundler-1.0.10/lib/bundler/vendor/thor/invocation.rb:118:in invoke_task'
from /usr/local/rvm/gems/ruby-1.9.2-p136@goodbrews/gems/bundler-1.0.10/lib/bundler/vendor/thor.rb:246:in dispatch' 	from /usr/local/rvm/gems/ruby-1.9.2-p136@goodbrews/gems/bundler-1.0.10/lib/bundler/vendor/thor/base.rb:389:in start'
from /usr/local/rvm/gems/ruby-1.9.2-p136@goodbrews/gems/bundler-1.0.10/bin/bundle:13:in <top (required)>' 	from /usr/local/rvm/gems/ruby-1.9.2-p136@goodbrews/bin/bundle:19:in load'
from /usr/local/rvm/gems/ruby-1.9.2-p136@goodbrews/bin/bundle:19:in `'

I had this issue too and the solution was to set some more environment variables:
export LANGUAGE=en_US.UTF-8
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8

authors: barbolo davidcelis

repo: plataformatec/devise


text:
Update to msdf font rendering shader to lower the smoothing

Fixes https://github.com/playcanvas/engine/issues/3087
Fixes https://github.com/playcanvas/engine/issues/3477
The lowering of the smoothing has an effect of slightly sharper / more aliased text, but removes the dark blur around the edges in the distance / at sharp angles.
Images after:

Note that this does not improve / change the readability of the text when very small .. this is disadvantage of msdf technology.

This looks like a good improvement. Do/can we leverage anisotropic filtering to make SDF text crisper at an oblique angle?

This looks like a good improvement. Do/can we leverage anisotropic filtering to make SDF text crisper at an oblique angle?

Not really .. for anisotropic filtering you need mipmaps which don't work with SDF.

That's a great improvement:

While not perfect, much better than having solid blocks!

authors: mvaligursky willeastcott yaustar

repo: playcanvas/engine


text:
ESM Preload Fix

This PR fixes https://github.com/playcanvas/editor/issues/1236 along with https://github.com/playcanvas/editor-ui/pull/460.
This removes the ?hash= appended to ESM paths during preloading. This ensures it matches the cache key  used for explicit imports in user code, resulting in the same module.
I confirm I have read the contributing guidelines and signed the Contributor License Agreement.

Yep we do

By removing hash, this will lead to lack of cache invalidations. This will break what developers usually do.
Currently, everything under files/assets folder can be hard cached, because assets pipeline will ensure hash is generated if file changes. So url with hash is hard cached. This is the case for all assets, including scripts.
By changing this, developers will have do more sophisticated rules on caching, and won't be able to use hard caching for scripts.
This is undesirable. Please do not remove change such well working rule.

Could you clarify? The hash param is not included in the classic scripts preload either, so this better aligns the two

Could you clarify? The hash param is not included in the classic scripts preload either, so this better aligns the two

I've just checked, and you are correct, there is no hash. Has this been changed at any point? As there was a rule: every asset within assets/files used hashes, so it could be hard cached (200 local storage). Everything outside of that folder is soft-cached (204).

This has been verified with the corresponding editor fix

authors: Maksims marklundin


text:
scene edit and merge

Great work!
I want to merge two scenes that were rebuilt separately.
Some operations include:
Scale alignment
Subscene rotation and translation
Merge export
I want to implement it on supersplat, can you give me some advice?

Duplicate of Issue 53

Closing as above. BTW we're busy adding this feature, coming soon.

authors: Bin-ze CiberNin slimbuck

repo: playcanvas/supersplat