Installation steps?

this is my first encounter with a snap package. the install seemed to have completed fine but I'm at a loss as to what to do next - the wekan server does not appear to be running. the best I can find is 'snap run wekan' which returns cannot mount /snap/wekan/2/$SNAP_DATA/share at /snap/wekan/2/$SNAP_DATA/shared with options bind. errmsg: No such file or directory

https://github.com/wekan/wekan-snap/wiki

looks like the wiki page is out of date?
$ sudo snap enable wekan
error: cannot enable "wekan": snap "wekan" already enabled

$ sudo snap connect wekan:network
error: the required argument `<snap>:<slot>` was not provided

also it looks like snap install is already doing what the wiki page says to do.
$ sudo snap interfaces | grep wekan
:network                 wekan
:network-bind            wekan
wekan:mongodb-slot       wekan:mongodb-plug

Hmm, those were my previous instructions. Seems that only these are needed, you may need to disable and enable it:
Start:
sudo snap enable wekan

Stop:
sudo snap disable wekan

Then Wekan is at http://localhost:8080
I myself am also new to snap packages. I have only made small modifications to this snap package originally created by @kubiko

I updated wiki. Wiki still most likely does not have all info.

Ok it seems that help text is shown with command:
wekan.help

I updated this to wiki.
@donpdonp
Did you get it to work?

the wiki doesnt need 'enable', that already happens with 'install'. nothing has changed on my end, still broken.
donp@commons:~$ sudo snap install wekan
wekan (stable) 0.26 from 'wekan' installed
donp@commons:~$ wekan.help
cannot mount /snap/wekan/3/$SNAP_DATA/share at /snap/wekan/3/$SNAP_DATA/shared with options bind. errmsg: No such file or directory

taking the error at face value, and assuming an empty SNAP_DATA is okay, the folder 'shared' is not getting created, even though the configure script should be creating the folder
https://github.com/wekan/wekan-snap/blob/master/snap/hooks/configure#L8
$ ls -d /snap/wekan/current/sh*
/snap/wekan/current/share

share is there, but shared is not.

Does reinstall help?
sudo snap remove wekan
sudo snap install wekan

ive removed and installed a few times now. the result is the same.

What is your Linux and kernel version?

donp@commons:~$ uname -a
Linux commons 4.4.0-66-generic #87-Ubuntu SMP Fri Mar 3 15:29:05 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
donp@commons:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.1 LTS"

Works for me on newer kernel etc on Xubuntu.
lauri@x:~$ uname -a
Linux x 4.8.0-56-generic #61~16.04.1-Ubuntu SMP Wed Jun 14 11:58:22 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
lauri@x:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.2 LTS"

does the shared folder exist on your snap wekan folder?
$ ls -d /snap/wekan/current/sh*

lauri@x:~$ ls -d /snap/wekan/current/sh*
/snap/wekan/current/share

well I have no idea whats going on with the error message I'm seeing. its okay with me if you want to close the ticket.

This is still unresolved.
@kubiko
Do you have any idea?

@donpdonp
I don't know have you done these all updates:
sudo apt update && sudo apt -y dist-upgrade

Hmm, I can't seem to reproduce this, maybe you just have a broken install of Ubuntu.

sorry for late response:

all you need to do is $ snap install wekan
enable/disbale is not needed, it is there for cases when for example you want to stop wekan, but do not want to uninstall it (uninstall will delete also all user data)
wekan is service, so apart of help, it does not have any "user executables"
you can check status of wekan with $ systemctl status snap.wekan.*
there should be two services, mongodb and wekan running, of either of them is showing error, that would be place to look first. To get detailed look, use $ sudo journalctl -u snap.wekan.wekan.service or snap.wekan.mongodb.service
content interface for mongodb (wekan:mongodb-slot, wekan:mongodb-plug) is there only for more complex cases where for reason you want to
a) share wekan's mongodb instance with other services, use wekan:mongodb-slot
b) you want to use mongodb instance from some other service, use wekan:mongodb-plug
so connecting wekan:mongodb-plug to wekan:mongodb-slot really makes no sense :)
As @xet7 suggested, first thing to make sure is that update your machine, so you are running up to date snapd. You can check your version with $ snap version. Currently we are on 2.26
Otherwise shared folders are created under: /var/snap/wekan/current where writable data lives
Databases and other settings live under:
/var/snap/wekan/common/

/snap/wekan/current is read only mount of squashfs wekan's image.

The journalctl shows the same mount problem reported in the first comment. The good news is upgrading snap from 2.16 to 2.25 fixed the error. Thanks for the help.

Yeah if you are using content interface with snapd before version 2.24 whole snap environment goes off the rails


h264dec: check m_currPic before init reference for it

this fixes h264 crash issue mentioned in https://github.com/01org/libyami/issues/585

lgtm :+1:

@lizhong1008 help to review,thanks

+1

merge as 0ad755dd2408fad2710c65ee1b0df7dd08a9cb1b


finding unambiguous names for generated code

In #1024 we are planning to map Elm values like Basics.fst onto elm-lang$core$Basics$fst in the generated JavaScript. The problem is that you cannot have a hyphen in there. So the question is, how can we change unusable characters but keep the names canonical?
It looks like github does not allow underscores in user names. I am not certain about repo names though. This suggests that you can't use underscores anywhere. Though repos like this suggest otherwise. Maybe that is historical. Can someone test if they can make accounts or repos with underscores today?
Ideas so far:

Map - to _. Hope it works.
Map - to _. Have elm-package reject packages with underscores in the user/repo name.
Map - onto something crazy from here.
Map hyphens to $. Use some other character to separate chunks of the name.
Since there will be a known set of packages in a build, turn them into a number. (Pain in the ass)

One thing to think about here is that some Elm variables end up having a $ in them for various reasons (e.g. it is a reserved word in JS, it uses a prime). I think that will not cause issues though. It should not be possible to have a variable name that makes the prefix before it ambiguous.

Just tried it: _ is not allowed in a username, but is allowed in repo names.
I just went through the number keys, and it looks like basically any special characters are allowed in repository names.
Since we're only restricting repo names, which can be easily changed, we could just restrict that a published elm package can't contain special characters other than -, and then just map - to _

I agree. Disallow underscore or dollar signs in package names. Allowing
them would make the package list really ugly anyway. Dashes are nice.
On Tuesday, August 25, 2015, Joey Eremondi<EMAIL_ADDRESS>wrote:

Just tried it: _ is not allowed in a username, but is allowed in repo
names.
I just went through the number keys, and it looks like basically any
special characters are allowed in repository names.
Since we're only restricting repo names, which can be easily changed, we
could just restrict that a published elm package can't contain special
characters other than -, and then just map - to _
—
Reply to this email directly or view it on GitHub
https://github.com/elm-lang/elm-compiler/issues/1025#issuecomment-134688443
.

+1 for disallowing underscore or dollar signs in package names.
The "mandate sane package names" thing seems like a very Elm thing to do. If there's going to be a "this is not a legal package name" checker, might I suggest some simple checks to make sure nobody ever makes the --look---at----meeee-- package:

The only allowed characters are letters, numbers, and dashes.
Packages must begin and end with a letter.
Two consecutive dashes is disallowed.

Relatedly, if this isn't already a check (I haven't attempted it but don't want to push a bad package if it's currently allowed), package names should be reserved on a case-insensitive basis.
In other words, if I try to publish both rtfeldman/elm-foo and rtfeldman/Elm-Foo, that should be an error.

+1 to everything Richard said.

Relatedly, if this isn't already a check (I haven't attempted it but don't want to push a bad package to find out), package names should be reserved on a case-insensitive basis.

If we're going there, we might as well say all names should be lower case and use dashes instead of camel case. Which I'm fine with by the way.

+1 to Apanatshka: force package authors to name with lowercase only (in addition to what rtfeldman said).

Thanks for the input everyone! I will do these things.


Fix the wrong aspect ratio load.  Also some integration test fixes

Context
The resize listener in OHIFCornerstoneViewport wasn't firing the resize most of the time on DICOM SR load because the wrong parameter was being applied.
Also added fixes to OHIFCornerstoneViewport to provide ready events for image rendered so that the tests can proceed properly.  That allows testing the actual expansion/collapse of the viewport rendering properly because it is possible to know when it has been updated.
Finally, a tweak to the scrollbar size to reflect the number of images rather than being a constant size.
Changes & Results
Testing
Find a study that has a non square image (SIIM Sally dataset with XC works) in fact any dataset with an SR saved is sufficient
Save a DICOM SR to the study
Double click the DICOM SR to load into 1x1 mode
Click the load button, watching the position of measurements.  Often, previously, they wouldn't move, AND the aspect ratio of non-square images would change as actually viewed.  This is not 100%, but was 20-50%
Checklist
PR

[] My Pull Request title is descriptive, accurate and follows the
semantic-release format and guidelines.

Code

[] My code has been well-documented (function documentation, inline comments,
etc.)

Public Documentation Updates

[] The documentation page has been updated as necessary for any public API
additions or removals.

Tested Environment

[] OS:
[] Node version:
[] Browser:

I remember this weird effect when I used throttle for resize, that is why I made it debounce, though throttle seem much more smooth, but it has these werid flickerings
OHIF-Viewer (1).webm


PG's head turns left while running

A lot of times while running, my character's head turns all the way to the left and it only fixes itself if I turn the camera around and look back

Details
Nothing, it happens everywhere, everytime randomly
Game Version
1.7.23
New Game
Yes
Reproduction Steps
Nothing, just run and it will likely happen in 30 seconds or less

For me, it seems to happen after I press jump or fall down in third-person view while also scanning at the same time.

I'm able to consistently reproduce this by sprinting forwards, jumping and landing. You can also temporarily fix it by going into first person.

Seems to be specifically an animation bug with the hard landing reaction while sprinting with no weapons equipped of walk style 1. If you jump while sprinting, but don't jump high enough, or soften your landing with the boost pack enough to not trigger the hard landing reaction animation the bug does not occur. landing without continuing to sprint, or landing while sprinting with a weapon out, will not cause this bug to occur.

Can confirm exactly what TrinDiesel states above. Obviously, this bug is specific to third person view.

Duplicate of https://www.starfieldpatch.dev/issues/247 #247


Change Keycloak domains to be rooted at ol.mit.edu

What are the relevant tickets?
N/A
Description (What does it do?)
The odl subdomain doesn't have any real bearing on the current organization. The ol subdomain is what we want to use for exposing services to end users.

A few other things need to be updated in addition to this PR:

This will break the Touchstone integration until IST updates their end.
Updates needed here - https://github.com/mitodl/salt-ops/blob/main/pillar/heroku/mitopen.sls
A few docs that reference the URL

Will start working on those issues.


strange freeplay crash

Describe your bug here.
tried to play a song in the freeplay menu and the game crashed
error log: ```
C:\HaxeToolkit\haxe\std/haxe/format/JsonParser.hx (line 318)
C:\HaxeToolkit\haxe\std/haxe/format/JsonParser.hx (line 99)
C:\HaxeToolkit\haxe\std/haxe/format/JsonParser.hx (line 90)
C:\HaxeToolkit\haxe\std/haxe/format/JsonParser.hx (line 57)
Song.hx (line 140)
Song.hx (line 132)
FreeplayState.hx (line 371)
flixel/FlxState.hx (line 202)
flixel/FlxGame.hx (line 747)
flixel/FlxGame.hx (line 677)
flixel/FlxGame.hx (line 545)
openfl/events/EventDispatcher.hx (line 402)
openfl/display/DisplayObject.hx (line 1399)
Uncaught Error: Invalid char 118 at position 49445
Please report this error to the GitHub page: https://github.com/ShadowMario/FNF-PsychEngine

Crash Handler written by: sqirra-rng

### Command Prompt/Terminal logs (if existing)

_No response_

### Are you modding a build from source or with Lua?

Lua

### What is your build target?

Windows

### Did you edit anything in this build?


feat: debounce writeState rather than removing the document right away

Motivation and Context
https://github.com/stoplightio/platform-internal/issues/11047
Description

This adds a debounce setting that defaults to 0ms and can be externally controlled by importing the setWriteStateDebounceWait like so:
import { setWriteStateDebounceWait } from '@stoplight/y-websocket/bin/utils';
// 60 second debounce
setWriteStateDebounceWait(60000);

How Has This Been Tested?

https://github.com/stoplightio/platform-internal/pull/11080

Any chance you could yalc this into a platform-internal PR whenever it's ready? So that we can try and break it in the context of studio PR env etc.

I ended up not adding a clearTimeout when a user connects, because I was worried that there might be a way to exploit that to keep documents open forever without being authed first

This makes the implementation quite a bit less effective though doesn't it? E.g. if I refresh the page a couple of times, it'll queue up a few save triggers that'll get fired off X minutes from now. I hope we reject websocket connection if they are not authenticated. But meh if you think there's risk then OK.

E.g. if I refresh the page a couple of times, it'll queue up a few save triggers that'll get fired off X minutes from now. I hope we reject websocket connection if they are not authenticated. But meh if you think there's risk then OK.

No it won't. Because if it's the last one closing, it'll clear any existing setTimeout for that doc before it sets a new one.

Master branch rebased and new release made!


building native binary wheels for fonttools and publishing them to PyPI

FontTools contains a bunch of cython-accelerated modules (notably fontTools.cu2qu, plus others) that are only available when compiling the package from source (git clone or sdist) within an environment where cython and a compiler toolchain are available.
Ideally we'd build and publish these pre-compiled native binary wheel packages to PyPI, alongside the existing pure python wheel, so that when one pip install fonttools and a wheel is available for the target architecture, pip will download and install that automatically without the need to compile from source.
Right now fontmake/ufo2ft still depend on the standalone cu2qu for this exact reason, because for the old project we have set up and published binary wheels, whereas we have not yet for the new "upstream" copy that's in fontTools.cu2qu. The latter has received some additions lately (e.g a new all_quadratic=True parameter that can be set to False to let cubics in when advantageous) which have not been backported to the standalone cu2qu (which we did deprecate actually, though the repo isn't archived yet).
Anyway, I propose we set up a new repository at https://github.com/fonttools/fonttools-wheels where we pull in fonttools as a submodule and configure the Github Actions CI to build and publish the native wheels immediately after we cut new releases.
This way we do not make the current fonttools CI slower by adding a lot of builds for each combination of python minor version/ platform / architectures we'd like to support.
Ideally Cython would support Py_LIMITED_API so we can build a single wheel per platform, not one for each python minor version we support, but support for that is still not stable in cython (they are working on it but is buggy/experimenal and can't rely on that yet).
I'll do the work, just filing this in case others have different/better opinions.

Looks like it worked!
https://pypi.org/project/fonttools/4.39.4/#files
https://github.com/fonttools/fonttools-wheels/actions/runs/5060028329
Let me know if you find any issues installing these binary wheels.
Note that if one really prefers not to install the precompiled binary wheel, one can always request the sdist with --no-binary option: e.g.
pip install --no-binary fonttools fonttools
The pure wheel is still on PyPI of course (e.g. pypy will download that one for I made no specific wheels for it, not worth it).

I had to delete the wheel files I uploaded yesterday for the current PyPI release, since a user pointed out that the hashes for this release changed and this doesn't look good: https://github.com/fonttools/fonttools/issues/3120
Before next release, I will change the fonttools/fonttools CI configuration so that it will only build the native wheels upon tagged commits in preparation for the actual release, and then upload all of the sdist and wheel packages (both pure-python and native) in one go to PyPI, so there's no risk that hashes for a given release change (and we don't need a separate fonttools-wheels repository at all).

binary (and pure-python) wheels are now available as of FontTools 4.40.0 https://pypi.org/project/fonttools/4.40.0/#files


Not clear instructions how to grant permission

This is an addition to the already closed https://github.com/farmerbb/SecondScreen/issues/44
With newer versions and/or variants, might be a good idea to mention that if the adb shell pm grant com.farmerbb.secondscreen.free android.permission.WRITE_SECURE_SETTINGS fails with a message about the current user not having permissions to grant, that they might need to enable/disable another flag within the Developer Options section.
In the case of OnePlus phones it's called "Disable permission monitoring" but other brands might use other wording.

K

pm grant com.farmerbb.secondscreen.free android.permission.WRITE_SECURE_SETTINGS

adb shell pm grant com.farmerbb.secondscreen.free android.permission.WRITE_SECURE_SETTINGS

adb shell pm grant com.farmerbb.secondscreen.free android.permission.WRITE_SECURE_SETTINGS

adb shell pm grant com.farmerbb.secondscreen.free android.permission.WRITE_SECURE_SETTINGS


doc: Add version number to Trusty in prod requirements.

Automated message from Dropbox CLA bot
@brainwane, it looks like you've already signed the Dropbox CLA. Thanks!

Merged (after spelling it "Ubuntu 14.04 Trusty" as the official docs do), thanks @brainwane!


Upgrade Angular 17

https://update.angular.io/?v=16.0-17.0
npm uninstall -g @angular/cli
npm install -g @angular/cli@latest

npm outdated
npm audit --audit-level=high
ng update
ng update @angular/core@17 @angular/cli@17 @ngrx/store ngx-toastr
ng update
npm audit fix

Blocker: https://github.com/valor-software/ngx-bootstrap/issues/6618

Any idea when this might be done? Also does anyone know if everything will work correctly with --force install?


[Mac] Database Navigator Filter Field Clear (X) Button Does Not Work

Description
Database Navigator Filter Field Clear (X) Button Does Not Work
DBeaver Version
CE <IP_ADDRESS>3*
Operating System
Mac OS X Ventura 13.5.1
Database and driver
No response
Steps to reproduce
No response
Additional context
No response

Duplicate of https://github.com/dbeaver/dbeaver/issues/10590


Notifications on Windows XP, Vista, 7

@RocketChat/core
@rodrigok
@geekgonecrazy
This PR addresses the issue on #199 to restrict the notification for systems with no native support. Now only Windows XP, Vista and 7.
Closes #55.

@LFCavalcanti thanks for opening this!
I just tested this out locally and am getting:
App threw an error when running [ReferenceError: navigator is not defined]

Looks like navigator is not available here.
Checkout: https://github.com/electron/electron/issues/3012#issuecomment-145924640
Looks like you could: import os from 'os';
and do something like:
os.platform(); // to get platform.
os.release(); // to get os version.

I'm guessing you should be able to use those same version numbers you were looking for in the user agent.
Psuedo code something like:
if (platform === 'NT' && version < 6.2) { // https://en.wikipedia.org/wiki/Windows_NT#Releases
  // show toastr
}

uh... oh! Electron is not a browser after all! :smile:
I'll look into it, I'm just having a bit of trouble setting up NSIS to test the client.

@LFCavalcanti you shouldn't need NSIS to test the client.  Just do: npm install and then npm start to test locally :smile:

Ok 👍 I can confirm no duplicates on OSX or Windows 10.  @LFCavalcanti and this works still on windows 7?

Sorry for the confusion... and a personal note: NEVER use Git GUI. haha
The next commit is correct, tested on Windows 10 and Windows 7.

@rocketchat/core / @rodrigok thoughts?

@geekgonecrazy / @rodrigok
Is there confirmation that this will be added to the next release? and is there a timeframe for that?

@mbraun01 it's in master so should be in next release.  We were waiting on a few additional fixes before doing a release


[Feature]: ability to set default pooler image

Is there an existing issue already for this feature request/idea?

[X] I have searched for an existing issue, and could not find anything. I believe this is a new feature request to be evaluated.

What problem is this feature going to solve? Why should it be added?
Currently, the pg bouncer image when not specified in the Pooler defaults to
    DefaultPgbouncerImage = "ghcr.io/cloudnative-pg/pgbouncer:1.23.0"

Describe the solution you'd like
I want to be able to select a different default pg bouncer image via environment variable, similar to POSTGRES_IMAGE_NAME.
Describe alternatives you've considered
Configuration via CRD; there isn't really a good place in the ImageCatalog for pooler images; but it could be added with enough consideration. However that's probably a good thing to do in addition to the env var.
Additional context
I have clusters where all images are hashlocked (i.e. must have a digest in the image field in the pod spec). It would be nice to allow Pooler resources to work out-of-the-box without patching in the containers[name=pgbouncer].image field at each usage site.
Backport?
No
Are you willing to actively contribute to this feature?
No
Code of Conduct

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

Hi @james-callahan
This use case is covered in the documentation, can you check here https://cloudnative-pg.io/documentation/current/connection_pooling/ and let us know if that solves your issue?
Regards!

This use case is covered in the documentation, can you check here https://cloudnative-pg.io/documentation/current/connection_pooling/ and let us know if that solves your issue?

This feature request is about changing the default in the operator (which is currently hard-coded); not changing it on a per-pooler basis.


Please add a license file

Hi, thank you for publishing your research with the code.
Can you please add a license file to your repo so that I could legally try it out?

Ok, thanks, I've added the MIT licence to my code.

Thanks 👍


Slim 3: How to create cache pages?

I know how to create a cache page with plain php, for instance,
    // @ref: http://wesbos.com/simple-php-page-caching-technique/
    //
    // define the path and name of cached file
    $cachefile = 'cache/'.date('M-d-Y').'.php';

    // define how long we want to keep the file in seconds. I set mine to 1 hour.
    $cachetime = 3600;

    // Check if the cached file is still fresh. If it is, serve it up and exit.
    if (file_exists($cachefile) && time() - $cachetime < filemtime($cachefile)) {
        include($cachefile);
        echo '<!-- cached page - '.date('l jS \of F Y h:i:s A', filemtime($cachefile)) . ' -->';
        exit;
    }

    // if there is either no file OR the file to too old, render the page and capture the HTML.
    ob_start();
    ?>
        <html>
            output all your html here.
        </html>
    <?php

    // We're done! Save the cached content to a file
    $fp = fopen($cachefile, 'w');
    fwrite($fp, ob_get_contents());
    fclose($fp);

    // finally send browser output
    ob_end_flush();

But how can I do it in Slim 3?
    use Slim\Http\Request;
    use Slim\Http\Response;

    require_once __DIR__ . '/../vendor/autoload.php';

    $app = new \Slim\App();

    // Routes:
    $app->get('/', function (Request $request, Response $response, array $args) {
        $response->getBody()->write('Hello, World!');

        return $response;
    });

    $app->run();

Any ideas?

I have the same question ...
I guess, it's must implemented on middleware
$app->add( function ($request, $response, $next)  {
  // Before
  // Check cached file, if exist --> send it and exit,

  // Skip to Next
  $response = $next($request, $response);

   // After
   // Get content for saving to file ...
  $body = $response->getBody();
  $body->rewind();
  $html = $body->getContents();
  $size = $body->getSize();
  // save html to file ..

  return $response;
});

I'm not so sure, but I have to add $body->rewind() to get the content.

@sunaryohadi thank you very much for the help!

:+1:

May have a look at slimphp/Slim-HttpCache

If you are looking for a file based caching solution for slim 3, I recently wrote a simple one, which I used for one project where I only wanted to cache specific routes -
https://github.com/SamNicholson/slimfilecache

My simplest solution:
// Routes:
$app->get('/', function (Request $request, Response $response, array $args) {

    // Define the path and name of cached file.
    $cachefile = 'cache/'.date('M-d-Y').'.php';

    // Define how long we want to keep the file in seconds. I set mine to 1 hour.
    $cachetime = 3600;

    // Before
    // Check if the cached file is still fresh. If it is, serve it up and exit.
    if (file_exists($cachefile) && time() - $cachetime < filemtime($cachefile)) {
        include($cachefile);
        echo '<!-- cached page - '.date('l jS \of F Y h:i:s A', filemtime($cachefile)) . ' -->';
        exit;
    }

    $response->getBody()->write('
        <!DOCTYPE html>
        <html>
            <head>
                <title>Page to Cache</title>
            </head>
            <body>
                Hello, World
            </body>
        </html>
    ');

    // Save html to file ...
    // We're done! Save the cached content to a file
    $fp = fopen($cachefile, 'w');
    fwrite($fp, $response->getBody());
    fclose($fp);

    return $response;
});


refactor: SearchFilterSettings module

Checklist

[x] the contributor license agreement is signed
[x] commit message follows commit guidelines
[x] tests are included
[ ] screenshots are included showing significant UI changes
[ ] documentation is changed or added

Description of change

Create a new SearchFilterSettings module in REST.
Recreate Axios in the new REST module and update to use those in react-front-end.
Create test for new REST module.

Ahh... I didn't check the import in the storybook....


Don't allow email push etc if validation fails

show warning on email tab and don't allow email push if there are any errors.
Except for the missing references, we might have to manage that one as some exception.

done in oct version


refactor(docker): move CUDA related packages to sensing/cuda and perception/cuda directories

Description

[ ] https://github.com/autowarefoundation/autoware.universe/pull/9368
[x] https://github.com/autowarefoundation/autoware.universe/pull/9369

This PR moves the CUDA-related packages under the sensing and perception directories to the sensing/cuda perception/cuda directories.
Tests performed

Not applicable.
Effects on system behavior

Not applicable.
Interface changes

Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[x] I've confirmed the contribution guidelines.
[x] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

I will change this PR to PRs that move the packages one by one.


How to restore?

How can i restore all db?
How can i restore collection whic i exported from gui?

Found any solution?


User instructions

Hello, thanks for the great package of tools I wish I had.
I am trying to install and run these but can't find instructions to run the commands.
I am looking to start with meandepth and highcov.
Can you please guide me through these?
Regards,
Soumya

High, can you download and run the tiwih binary from the releases page?


Execute packages in a secure way

Hi, We are planning to "lift and shift" our "on-premise" SSIS packages to Azure. Currently all the connection strings in SSIS packages use "Windws Auth" and a local user with necessary rights is used to execute the packages.How can we accomplish the same in Azure SSIS IR ? One way is to override connection string in Environment variables and use SQL auth ( username/password).But SQL auth is not recommended due to security reasons. Is there any way of using AAD auth or security principal or managed identities to execute packages in a more secure way ( we have both Azure managed instance and VM with SQL server) ? Thanks !

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

ID: 311ed7bd-e869-3e77-4601-235149e54c03
Version Independent ID: 7f767d44-195c-d869-ab43-606feb470447
Content: Run SSIS package with Execute SSIS Package activity - Azure
Content Source: articles/data-factory/how-to-invoke-ssis-package-ssis-activity.md
Service: data-factory
GitHub Login: @swinarko
Microsoft Alias: sawinark

@SuperSing Thank you for reaching out. At this time we are reviewing the  ask and will provide an update as appropriate.

You can still use Win Auth for your Azure-SSIS IR to connect to your SQL VM, see
https://docs.microsoft.com/sql/integration-services/lift-shift/ssis-azure-connect-with-windows-auth?view=sql-server-2017
You can now use AAD Auth w/ ADF managed identity for your Azure-SSIS IR to connect to your SQL MI, see
https://docs.microsoft.com/sql/integration-services/connection-manager/ole-db-connection-manager?view=sql-server-2017#managed-identities-for-azure-resources-authentication
https://docs.microsoft.com/sql/integration-services/connection-manager/ado-net-connection-manager?view=sql-server-2017#managed-identities-for-azure-resources-authentication

Which version of Visual Studio /SSIS Designer do you suggest for configuring property for "Managed Identity" ? Talking about this link : https://docs.microsoft.com/sql/integration-services/connection-manager/ole-db-connection-manager?view=sql-server-2017#managed-identities-for-azure-resources-authentication

At the bottom of that page, you can find the link for the latest SSDT: https://docs.microsoft.com/sql/ssdt/download-sql-server-data-tools-ssdt?view=sql-server-2017.

Thanks. I shall try that. Please close the case.

@swinarko Thanks much the details!
@SuperSing We will now proceed to close this thread. If there are further questions regarding this matter, please tag me or @swinarko in your reply and reopen the issue. We will gladly continue the discussion.  - Thanks!


Add isAbstract to AbstractClassAssert

Check List:

Fixes #1416
Unit tests : YES
Javadoc with a code example (API only) : YES

@epeee two minor comments, thanks for the good work!

Integrated thanks @epeee !


Tighten up RuboCop rules

Just a few tweaks to be more explicit about the expected style.
@alex-stone

:+1:


kmod-nvidia-535 package version 535.216 for EL8 4.18.0-553.22.1 missing

Several new packages for the 535.216.01 driver release were pushed to the EL8 CUDA repo on 09/26, except the kmod-nvidia-535 driver package for 535.216.01.
The kmod-nvidia-535 package is still at 535.183.06 for the 4.18.0-553.22.1 kernel.
This is causing errors during system updates because dnf is trying to install the various support packages for version 535.216.01, but there's no matching kmod-nvidia-535 package version to go with them. There are matching DKMS packages, but our workflow prefers the pre-compiled kmod.
Additionally, the repo's pre-compiled status page still lists driver 535.183.06 as the latest 535 branch driver, not 535.216.01.
https://developer.download.nvidia.com/compute/cuda/repos/rhel8/x86_64/precompiled/
Examples:
Currently enabled Nvidia modules on an affected EL8 system:
nvidia-driver        535 [e]         default [d], fm, ks, src                 Nvidia driver for 535 branch

Errors when attempting dnf upgrade on an affected EL8 system:
Problem 1: package nvidia-kmod-common-3:535.216.01-1.el8.noarch from cuda-rhel8-x86_64 requires nvidia-kmod = 3:535.216.01, but none of the providers can be installed
  - cannot install the best update candidate for package nvidia-kmod-common-3:535.183.06-1.el8.noarch
  - package kmod-nvidia-latest-dkms-3:535.216.01-1.el8.x86_64 from cuda-rhel8-x86_64 is filtered out by modular filtering
  - package kmod-nvidia-open-dkms-3:535.216.01-1.el8.x86_64 from cuda-rhel8-x86_64 is filtered out by modular filtering
 Problem 2: package nvidia-driver-3:535.216.01-1.el8.x86_64 from cuda-rhel8-x86_64 requires nvidia-kmod-common = 3:535.216.01, but none of the providers can be installed
  - package nvidia-kmod-common-3:535.216.01-1.el8.noarch from cuda-rhel8-x86_64 requires nvidia-kmod = 3:535.216.01, but none of the providers can be installed
  - cannot install the best update candidate for package nvidia-driver-3:535.183.06-1.el8.x86_64
  - package kmod-nvidia-latest-dkms-3:535.216.01-1.el8.x86_64 from cuda-rhel8-x86_64 is filtered out by modular filtering
  - package kmod-nvidia-open-dkms-3:535.216.01-1.el8.x86_64 from cuda-rhel8-x86_64 is filtered out by modular filtering
 Problem 3: problem with installed package nvidia-driver-3:535.183.06-1.el8.x86_64
  - package nvidia-driver-3:535.183.06-1.el8.x86_64 from @System requires libnvidia-glcore.so.535.183.06()(64bit), but none of the providers can be installed
  - package nvidia-driver-3:535.183.06-1.el8.x86_64 from @System requires libnvidia-tls.so.535.183.06()(64bit), but none of the providers can be installed
  - package nvidia-driver-3:535.183.06-1.el8.x86_64 from @System requires nvidia-driver-libs(x86-64) = 3:535.183.06, but none of the providers can be installed
  - package nvidia-driver-3:535.183.06-1.el8.x86_64 from cuda-rhel8-x86_64 requires libnvidia-glcore.so.535.183.06()(64bit), but none of the providers can be installed
  - package nvidia-driver-3:535.183.06-1.el8.x86_64 from cuda-rhel8-x86_64 requires libnvidia-tls.so.535.183.06()(64bit), but none of the providers can be installed
  - package nvidia-driver-3:535.183.06-1.el8.x86_64 from cuda-rhel8-x86_64 requires nvidia-driver-libs(x86-64) = 3:535.183.06, but none of the providers can be installed
  - package nvidia-driver-3:535.216.01-1.el8.x86_64 from cuda-rhel8-x86_64 requires nvidia-kmod-common = 3:535.216.01, but none of the providers can be installed
  - cannot install both nvidia-driver-libs-3:535.216.01-1.el8.x86_64 from cuda-rhel8-x86_64 and nvidia-driver-libs-3:535.183.06-1.el8.x86_64 from @System
  - cannot install both nvidia-driver-libs-3:535.216.01-1.el8.x86_64 from cuda-rhel8-x86_64 and nvidia-driver-libs-3:535.183.06-1.el8.x86_64 from cuda-rhel8-x86_64
  - package nvidia-kmod-common-3:535.216.01-1.el8.noarch from cuda-rhel8-x86_64 requires nvidia-kmod = 3:535.216.01, but none of the providers can be installed
  - cannot install the best update candidate for package nvidia-driver-libs-3:535.183.06-1.el8.x86_64
  - package kmod-nvidia-latest-dkms-3:535.216.01-1.el8.x86_64 from cuda-rhel8-x86_64 is filtered out by modular filtering
  - package kmod-nvidia-open-dkms-3:535.216.01-1.el8.x86_64 from cuda-rhel8-x86_64 is filtered out by modular filtering
=========================================================================================================================================================================================
 Package                                        Architecture                       Version                                           Repository                                     Size
=========================================================================================================================================================================================
Skipping packages with conflicts:
(add '--best --allowerasing' to command line to force their upgrade):
 nvidia-driver-libs                             x86_64                             3:535.216.01-1.el8                                cuda-rhel8-x86_64                             183 M
Skipping packages with broken dependencies:
 nvidia-driver                                  x86_64                             3:535.216.01-1.el8                                cuda-rhel8-x86_64                             157 M
 nvidia-kmod-common                             noarch                             3:535.216.01-1.el8                                cuda-rhel8-x86_64                              11

We have published

build date
package
driver
kernel
tag

2024-11-04
kmod-nvidia
565.57.01
4.18.0-553.27.1
el8_10.x86_64

2024-11-04
kmod-nvidia
560.35.03
4.18.0-553.27.1
el8_10.x86_64

2024-11-04
kmod-nvidia
550.127.05
4.18.0-553.27.1
el8_10.x86_64

2024-11-04
kmod-nvidia
535.216.01
4.18.0-553.27.1
el8_10.x86_64


fix: error handling in suspense

Since Vue 3.0.1, the error handling in Suspense has changed to be consistent with Vue 2.
See https://github.com/vuejs/vue-next/commit/4d20ac8173f84c87288255dcc03c62a6ee862a23
@lmiller1990 This does not need to be released right away, it's just to keep VTU up-to-date with the latest Vue release (I was trying to reproduce another issue when I stumbled on this failing test).

Thanks - was just about to bump to 3.0.1, beat me to it.


Cluster auth tokens are not being created when kubeconfig-generate-token setting is false

Rancher Server Setup

Rancher version: master-head commit id: 2e6926b
Installation option (Docker install/Helm Chart): docker install

Information about the Cluster

Kubernetes version: 1.21.1
Cluster Type (Local/Downstream): Downstream - RKE1 DO

Describe the bug
Cluster auth tokens are not being created when kubeconfig-generate-token setting is false. This issue is related to this https://github.com/rancher/rancher/issues/33474. I believe https://github.com/rancher/rancher/issues/33474 was closed after validation because a step was missing, it can be reproduced as long as the cluster endpoint context is used in the produced kubeconfig.
To Reproduce

set kubeconfig-generate-token  to "false"
create rke1 cluster
generate kubeconfig for cluster
run kubectl config get-contexts
run kubectl config use-context <context-name> where context name is the context using the cluster's endpoint.
run a kubectl command such as kubectl get nodes

Results:
The kubectl command will return an unauthed error and the following error will be repeatedly printed in logs:
2021/07/27 00:32:20 [ERROR] error syncing 'kubeconfig-u-9svh2jkkxv': handler cat-token-controller: clusterauthtokens.cluster.cattle.io "cattle-system/kubeconfig-u-9svh2jkkxv" not found, requeuing

Expected:
The kubectl command should work, and the error may show a few times since the token is created before the clusterauthtoken but should go away. the message will be changed to reflect that the clusterAuthToken has not been created yet.

Original issue
Describe the bug
Errors seen in rancher logs - error syncing 'kubeconfig-user-xqz7d.c-tz4pf': handler cat-token-controller on using kubeconfig file when kubeconfig-generate-token is false
To Reproduce

Deploy Rancher server
Deploy a downstream RKE1 DO cluster
Download kubeconfig for DO cluster
Errors seen in Rancher logs:

2021/07/27 00:32:20 [ERROR] error syncing 'kubeconfig-u-9svh2jkkxv': handler cat-token-controller: clusterauthtokens.cluster.cattle.io "cattle-system/kubeconfig-u-9svh2jkkxv" not found, requeuing
2021/07/27 00:32:20 [ERROR] error syncing 'kubeconfig-u-9svh2jkkxv': handler cat-token-controller: clusterauthtokens.cluster.cattle.io "cattle-system/kubeconfig-u-9svh2jkkxv" not found, requeuing
2021/07/27 00:32:20 [ERROR] error syncing 'kubeconfig-u-9svh2jkkxv': handler cat-token-controller: clusterauthtokens.cluster.cattle.io "cattle-system/kubeconfig-u-9svh2jkkxv" not found, requeuing
2021/07/27 00:32:20 [ERROR] error syncing 'kubeconfig-u-9svh2jkkxv': handler cat-token-controller: clusterauthtokens.cluster.cattle.io "cattle-system/kubeconfig-u-9svh2jkkxv" not found, requeuing
2021/07/27 00:32:20 [ERROR] error syncing 'kubeconfig-u-9svh2jkkxv': handler cat-token-controller: clusterauthtokens.cluster.cattle.io "cattle-system/kubeconfig-u-9svh2jkkxv" not found, requeuing

@StrongMonkey , is it related to fix done for https://github.com/rancher/rancher/issues/33474 ? cc: @cbron @SheilaghM

@snasovich I don't think they are related. But I could see there is something wrong in code logic. https://github.com/rancher/rancher/blob/a213e857b2d5d5931ae74804532133140ad8068d/pkg/controllers/managementuser/clusterauthtoken/token.go#L33-L37
We just return errors if we can't find token, which seems not right.

Reproduced on 2.6-head commit id: 10588ab using steps:

Set kubeconfig-generate-token to false
Download kubeconfig
No errors seen in rancher logs
Use this kubeconfig from local
Login when prompted
Errors seen in rancher server

2021/08/04 19:59:27 [INFO] Creating token for user user-lvw5t
2021/08/04 19:59:27 [INFO] Creating token for user user-lvw5t
2021/08/04 19:59:27 [ERROR] error syncing 'kubeconfig-user-lvw5t.c-2qkrp': handler cat-token-controller: clusterauthtokens.cluster.cattle.io "cattle-system/kubeconfig-user-lvw5t.c-2qkrp" not found, requeuing
2021/08/04 19:59:27 [ERROR] error syncing 'kubeconfig-user-lvw5t.c-2qkrp': handler cat-token-controller: clusterauthtokens.cluster.cattle.io "cattle-system/kubeconfig-user-lvw5t.c-2qkrp" not found, requeuing
2021/08/04 19:59:27 [ERROR] error syncing 'kubeconfig-user-lvw5t.c-2qkrp': handler cat-token-controller: clusterauthtokens.cluster.cattle.io "cattle-system/kubeconfig-user-lvw5t.c-2qkrp" not found, requeuing
2021/08/04 19:59:27 [ERROR] error syncing 'kubeconfig-user-lvw5t.c-2qkrp': handler cat-token-controller: clusterauthtokens.cluster.cattle.io "cattle-system/kubeconfig-user-lvw5t.c-2qkrp" not found, requeuing
2021/08/04 19:59:27 [ERROR] error syncing 'kubeconfig-user-lvw5t.c-2qkrp': handler cat-token-controller: clusterauthtokens.cluster.cattle.io "cattle-system/kubeconfig-user-lvw5t.c-2qkrp" not found, requeuing
2021/08/04 19:59:27 [ERROR] error syncing 'kubeconfig-user-lvw5t.c-2qkrp': handler cat-token-controller: clusterauthtokens.cluster.cattle.io "cattle-system/kubeconfig-user-lvw5t.c-2qkrp" not found, requeuing
2021/08/04 19:59:27 [ERROR] error syncing 'kubeconfig-user-lvw5t.c-2qkrp': handler cat-token-controller: clusterauthtokens.cluster.cattle.io "cattle-system/kubeconfig-user-lvw5t.c-2qkrp" not found, requeuing
2021/08/04 19:59:28 [ERROR] error syncing 'kubeconfig-user-lvw5t.c-2qkrp': handler cat-token-controller: clusterauthtokens.cluster.cattle.io "cattle-system/kubeconfig-user-lvw5t.c-2qkrp" not found, requeuing
2021/08/04 19:59:29 [ERROR] error syncing 'kubeconfig-user-lvw5t.c-2qkrp': handler cat-token-controller: clusterauthtokens.cluster.cattle.io "cattle-system/kubeconfig-user-lvw5t.c-2qkrp" not found, requeuing
2021/08/04 19:59:32 [ERROR] error syncing 'kubeconfig-user-lvw5t.c-2qkrp': handler cat-token-controller: clusterauthtokens.cluster.cattle.io "cattle-system/kubeconfig-user-lvw5t.c-2qkrp" not found, requeuing
2021/08/04 19:59:37 [ERROR] error syncing 'kubeconfig-user-lvw5t.c-2qkrp': handler cat-token-controller: clusterauthtokens.cluster.cattle.io "cattle-system/kubeconfig-user-lvw5t.c-2qkrp" not found, requeuing

On 2.6-head commit id: f811996:

Set kubeconfig-generate-token to false
Download kubeconfig
No errors seen in rancher logs
Use this kubeconfig from local
Login when prompted
No errors seen in Rancher.

One solution to this problem is to restart control plane and worker nodes - this is happening at least once a fortnight for me, is there a better solution available?

I'm getting this error, somehow.........
The "new" Rancher dashboard doesn't load

But the old one does..........:


JSONSchemaType allows schemas with optional attributes for Types where they are required

What version of Ajv are you using? Does the issue happen if you use the latest version?
Using 8.11.0 (latest)
Ajv options object
No options are set
export const ajv = new Ajv();

JSON Schema
interface MyExample {
  foo: number;
}
const myExampleSchema: JSONSchemaType<MyExample> = {
  type: 'object',
  properties: {
    foo: {
      type: 'number',
      nullable: true,
    },
  },
  required: [],
}

Validation result, data AFTER validation, error messages
No static analysis issues come out of TypeScript -- it's considered a valid schema for that type.
What results did you expect?
I expected a TypeScript error saying something along the lines of "foo?" is incompatible with type "foo"
Are you going to resolve the issue?
I don't think I know how to, but happy to make an effort if this is indeed a valid bug.

yes, typescript type utilities are not perfect - they push the limits of typescript to the point of type analyser (and my brain) cracking at seams - no way we can complicate it further, I am afraid...
cc @erikbrinkman, just in case I am wrong.

There are two different issues here. The first was ensuring that nullable is false or absent. That was actually a bug that I just submitted a PR for.
The second is that required should have all non-null keys. The unfortunately is not possible in typescript. In the world we're talking about, the true type for required is all permutations of tuples of all the keys, e.g. the type ["a", "b"] or the type ["b", "a"]. There are some other discussions about this, but for various reasons this just isn't possible. If you really want this level of type checking you should look at JTD because its structure is more compatible with typescript's type system.
Thus after the PR your example will fail, but:
interface MyExample {
  foo: number;
}
const myExampleSchema: JSONSchemaType<MyExample> = {
  type: 'object',
  properties: {
    foo: {
      type: 'number',
    },
  },
  required: [],
}

will still pass, and there's not much JSONSchemaType can do about it. At least with my current awareness of the typescript type system. It may have been expanded recently, but I doubt it.

Thank you both for engaging with this and for that bug fix -- honestly that alone will go a long way.
(I also want to mention how thankful I am for the TypeScript support that you've built into this library, it's really excellent and I appreciate how complicated it must have been to implement!)


Ignoring .netrc errors leads to silent failure

Describe the bug
In #121 failures to parse .netrc are skipped. But this leads to hard to diagnose failures when you are using .netrc for authentication
Additionally, when it falls back, it falls back to KDE wallet for some reason, despite the fact that I'm on Gnome and my main keyring is Gnome Keyring.
To Reproduce
Steps to reproduce the behavior:

Create a .netrc file in your home directory on Linux or macOS, with authentication credentials for a local PyPI index
Save it with the default permissions, which are generally 0644 (or chmod 0644 ~/.netrc if not)
Set up a pyproject.toml that uses tool.pdm.source with the URL for your local PyPI index, with name = "pypi"
Run pdm install

Expected behavior
I expect it to either use my .netrc, or give me an error why it can't be used. This used to work fine with the bad permissions (which are only really an issue on shared systems, which most developer systems are not). Newer versions of the netrc module seem to throw errors for the wrong permissions, but as long as they throw an error and I see it, I can fix it.
However, when updating my PDM environment with unearth 0.15.4, I simply get a silent failure to parse .netrc, and then it falls back to trying to use KDE Wallet, and if I cancel out of that it tries to prompt for auth credentials in the terminal. This is very confusing, and I had to downgrade unearth to actually get the error message to figure out why this was failing.
Screenshots
If applicable, add screenshots to help explain your problem.
System (please complete the following information):

unearth version: 0.15.4
Python version: 3.10.12
OS: Linux

Additional context
Add any other context about the problem here.

This is the original issue: https://github.com/pdm-project/pdm/issues/2916
I don't accept the solution to add a switch for this. pip/requests ignores permission errors so i think it's okay to keep the same

I used PDM because it's better than pip. Providing a useful error message is better than ignoring the file. The single hardest part of getting set up in our environment is setting up authentication to our internal package registry, in part because of how particular it is about how the .netrc file is formatted (I use .netrc because it works across all platforms, otherwise I'd have to support a whole host of different ways to configure keychains on different platforms), but it makes it much harder to debug errors with .netrc if we never see them.

/cc @ZacEllis if you have any comment on this.

+1 for at least a debug-level log message when something goes wrong with loading creds from .netrc. It could save me a couple of hours today.
I understand why raising might not be acceptable. Maybe, a verbose log message would be a great solution that will be consistent with pip/requests, non-breaking and still very helpful when it comes to debugging .netrc-related now-silent failures.

Just for context: I gave known-to-be-valid creds in .netrc for pdm sync to use in GitLab CI, but it kept ignoring them as if they didn't exist. Enabling -vv output didn't help – exactly this is what could be improved here, imho. It looked quite meaningless, especially for maximum verbosity:
<...>
unearth.auth: Found index url https://gitlab.remedylogic.com/api/v4/projects/129/packages/pypi/simple/
User for gitlab.remedylogic.com: Traceback (most recent call last):
<...>
    username = input(f"User for {netloc}: ")
EOFError: EOF when reading a line

and took, being not aware of pdm implementation details, a solid 2+ hours to untangle. Critical missing piece of the puzzle was simply silenced here.
The actual error could be logged like this:
<...>
unearth.auth: Found index url https://gitlab.remedylogic.com/api/v4/projects/129/packages/pypi/simple/
unearth.utils: Couldn't get credentials from netrc because of NetrcParseError: ~/.netrc access too permissive: access permissions must restrict access to only the owner (/root/.netrc, line 1)
User for gitlab.remedylogic.com: Traceback (most recent call last):
<...>
    username = input(f"User for {netloc}: ")
EOFError: EOF when reading a line

As you see, many things can go unexpected here, so such a log entry would be a huge time-saver, especially for new users not aware of pdm/unearth implementation details.

+1 for at least a debug-level log message when something goes wrong with loading creds from .netrc. It could save me a couple of hours today.
I understand why raising might not be acceptable. Maybe, a verbose log message would be a great solution that will be consistent with pip/requests, non-breaking and still very helpful when it comes to debugging .netrc-related now-silent failures.

Just for context: I gave known-to-be-valid creds in .netrc for pdm sync to use in GitLab CI, but it kept ignoring them as if they didn't exist. Enabling -vv output didn't help – exactly this is what could be improved here, imho. It looked quite meaningless, especially for maximum verbosity:
<...>
unearth.auth: Found index url <private-pypi-url>
User for <private-pypi-netloc>: Traceback (most recent call last):
<...>
    username = input(f"User for {netloc}: ")
EOFError: EOF when reading a line

and took, being not aware of pdm implementation details, a solid 2+ hours to untangle. Critical missing piece of the puzzle was simply silenced here.
The actual error could be logged like this:
<...>
unearth.auth: Found index url <private-pypi-url>
unearth.utils: Couldn't get credentials from netrc because of NetrcParseError: ~/.netrc access too permissive: access permissions must restrict access to only the owner (/root/.netrc, line 1)
User for <private-pypi-netloc>: Traceback (most recent call last):
<...>
    username = input(f"User for {netloc}: ")
EOFError: EOF when reading a line

As you see, many things can go unexpected here, so such a log entry would be a huge time-saver, especially for new users not aware of pdm/unearth implementation details.


api: client: info: print a warning if dm is using a loopback file

As for the other WARNING(s) we're printing in daemon info (cgroups related mostly), I added a specific devicemapper warning inside the dm Status() if it is using a loopback file.
Signed-off-by: Antonio Murdaca<EMAIL_ADDRESS>

+1 I think we should warn people more explicitly

LGTM

LGTM


Update NuGet API Key.

Fix as per other repositories.
See https://github.com/serilog/serilog/pull/1160 for details.

@MiguelAlho this should address build issues in #42

Thanks!


PR: Fix some issues with the Find in files plugin

Description of Changes

[x] Wrote at least one-line docstrings (for any new functions)
[ ] Added unit test(s) covering the changes (if testable)

[x] Included a screenshot or animation (if affecting the UI, see Licecap)

Issue(s) Resolved

Fixes #13657
Affirmation
By submitting this Pull Request or typing my (user)name below,
I affirm the Developer Certificate of Origin
with respect to all commits and content included in this PR,
and understand I am releasing the same under Spyder's MIT (Expat) license.

I certify the above statement is true and correct: @goanpeca

@dalthviz this PR fixes the issues, except:

The hamburger menu is not the same as in 4.x (some actions are not being listed)

This fix requires changes on the onecolumntree.py  widget already implemented on
https://github.com/spyder-ide/spyder/pull/12160/files#diff-e48228a75dfcacb97995edd08cf6290cR69
To be able to apply the fix on this PR, that PR needs to be merged so those actions using the new API are exposed.

/show binder

Thanks for the feedback @steff456, copying what I already posted on #13657

In the Editor having a word selected and hitting Cmd + Shift + F/Ctrl + Shift + F doesn’t automatically start a search.

It cannot be fixed to behave as 4.x, since on 4.x it is merging 2 different actions under the same shortcut and the new API does not allow for these hacks to work. It is not a matter of the new API not being able to do something and more of a case that things in 4.x (and before since this probably goes back to 2.x ...) being done in a peculiar way, to save ... something.
On 4.x:

There is the Switch to Find in Files  and that is set Cmd + Shift + F by default.

Another completely different action that is added to the Search Menu is taking the selected text from the Editor, pasting on the Find in Files plugin, showing it if it hidden and then running the search.

This completely different action is also using the same Cmd + Shift + F shortcut.

On master:

There is the Switch to Find in Files  and that is set Cmd + Shift + F by default. Triggering this action will show the pane, as expected
There is the Find in Files action that will show the plugin if not visible and start running the find in files pluginif there is text in it. It is not copying the text and pasting it on the plugin (This I will fix)
This separate action is available now on the shortcut preferences and can be configured, but cannot use the same shortcut.

Action points:

I can have the menu do the expected action, but not use the same shortcut as another action (Switch to Find in files).
I can add a default shortcut (whatever is decided?) or this action will not have a shortcut by default. Note that currently this action is not exposed in the shortcut preferences (it is a matter of changing  register_shortcut=True when creating the action).
I can fix the selected text behavior so it does the same thing on master

It is not a matter of the new API not being able to do something and more of a case that things in 4.x (and before since this probably goes back to 2.x ...) being done in a peculiar way, to save ... something.

This is clearly a regression in functionality with respect to 4.x, something we agreed we should avoid at all costs.
Since you're stating there's no problem with the new API not being able to do this (hence there are no technical reasons preventing it), please implement the necessary changes to be able to support how things were working in 4.x.
I think this requires creating a new action that uses the Ctrl+Shift+F shortcut to show the plugin and start a search with the currently select word in the editor (which was probably how things were working in 4.x); and use that action instead of the toggle_view_action for this particular plugin.

Since you're stating there's no problem with the new API not being able to do this (hence there are no technical reasons preventing it), please implement the necessary changes to support how things were working in 4.x.

I said the opposite.
It cannot be fixed to behave as 4.x, since on 4.x it is merging 2 different actions under the same shortcut and the new API does not allow for these hacks to work. It is not a matter of the new API not being able to do something and more of a case that things in 4.x (and before since this probably goes back to 2.x ...) being done in a peculiar way, to save ... something.

I think this requires creating a new action that uses the Ctrl+Shift+F shortcut to show the plugin and start a search with the currently select word in the editor (which was probably how things were working in 4.x); and use that action instead of the toggle_view_action for this particular plugin.

There are two actions (the same as 4.x) but they cannot use the same shortcut because there are completely different actions and the new API does not allow for that.

I do not understand how that could have happened since Ctrl + Shift + F should only Switch to the plugin, not trigger anything.

This is not correct in 4.x. In that branch it's possible to redefine how the toggle_view_action works for each plugin to have more functionality associated to it. For instance, if the IPython console is hidden at startup and you click on that action, that plugin is not only shown but also a new console is created for the user. That saves resources (by not starting a kernel at startup) if users don't want to use the IPython console for some reason, but displays a new console as soon as they want to use one.
If this is not possible in the new API, you need to fix it because it's a clear regression in functionality. You can do that in a new PR and then come back to this one.

@goanpeca, I showed you a way in which this regression can be fixed (not with two actions, but by redefining toggle_view_action for Find). So please proceed with that plan.

There are two actions (the same as 4.x) but they cannot use the same shortcut because there are completely different actions and the new API does not allow for that.

Taking a look at the code in 4.x, there are no two actions (as you said) but a single action that calls the API method of the plugin plus another method to start the search:
https://github.com/spyder-ide/spyder/blob/c710b0259e4143df962cc61bae6170db43f7861b/spyder/plugins/findinfiles/plugin.py#L185-L192
https://github.com/spyder-ide/spyder/blob/c710b0259e4143df962cc61bae6170db43f7861b/spyder/plugins/findinfiles/plugin.py#L142-L150
And this exactly the same idea I mentioned we use in the IPython console.

I showed you a way in which this regression can be fixed (not with two actions, but by redefining toggle_view_action for Find). So please proceed with that plan.

@ccordoba12 I don't know how to have the same action show with a different name on two different menus.

Search menu says Find in files
toggle view action uses the get_name of the plugin, which is Find

I could reuse the toggle view action (switch to is not an action) but then the names would end up being both
Find in files or Find in both the Search Menu and the View/Pane Menu.

I could reuse the toggle view action (switch to is not an action)

Great! Nice to know that's possible.

Find in files or Find in both the Search Menu and the View/Pane Menu.

I think we could call it Find in files, but add a hack that changes its text to Find when users display the View > Panes menu. What do you think?

After trying to apply my own suggestions above, I noticed the following: although it's possible to redefine toggle_view to start a search besides switching to the plugin, we wouldn't be able to reuse its associate switch-to-plugin action in the Search menu because it's a toggle one.
Also, we could hack the Find in Files action added by @goanpeca to make it show Ctrl+Shift+F when the menu is displayed. But that would also require to synchronize it with the switch-to-plugin action, so both display the same shortcut all the time. That's too much hacky work just to restore what we have in Spyder 4.
So I decided to assign a new shortcut to that action: Ctrl+Alt+F. It's a small regression but I agree with @goanpeca that is the best thing we can do with the new API.


Added support for external outbound hostname in the proxy config.

The outbound hostname feature is useful when the proxy is not part of the
swarm. In a large corporate network setting, swarms may be regularly
decommissioned and re-created, but external parts integrating with the
swarms can not be reconfigured. (Updating DNS records is often times out
of the question for policy and/or bureaucracy reasons.)

Thanks for the pull request. I'll go through it soon and let you know if there's anything to be modified.

I had a look at your code. My understanding is that you're replacing serviceName with outboundHostname. Maybe a more elegant solution would be to specify a hostname as serviceName. That way there would be no need to introduce one more parameter. The only change would be in the swarm-listener to use a serviceName label instead of the "real" name of the service.
What do you think?

Hi Viktor,
The problem with that is when you have multiple instances (with different
config) running in the same swarm. In my current case, we're using eight
instances (!) of each application to cover for an old legacy system, but
even for a more "sensible" setup you might want one instance for system
tests, one for integration tests and one for production. What do you think?
:]
Kind regards,
Jonas
2016-12-11 23:13 GMT+01:00 Viktor Farcic<EMAIL_ADDRESS>
I had a look at your code. My understanding is that you're replacing
serviceName with outboundHostname. Maybe a more elegant solution would be
to specify a hostname as serviceName. That way there would be no need to
introduce one more parameter. The only change would be in the
swarm-listener to use a serviceName label instead of the "real" name of the
service.
What do you think?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/vfarcic/docker-flow-proxy/pull/79#issuecomment-266312189,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAJyL65uds7iR45tEA9ondlaJfTizUZ8ks5rHHWKgaJpZM4LGaqR
.

You're right. The solution you proposed is the correct one.
I made some changes in the meantime that result in a few conflicts. Can you merge your code with the master branch, resolve conflicts, and submit a new pull request? Everything looks correct so I'll merge it as soon as conflicts are resolved.

Thank you

Thank you! As I understand it, this feature is now included
in vfarcic/docker-flow-proxy:latest?
Kind regards,
Jonas
2016-12-14 0:45 GMT+01:00 Viktor Farcic<EMAIL_ADDRESS>
Merged #79 https://github.com/vfarcic/docker-flow-proxy/pull/79.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/vfarcic/docker-flow-proxy/pull/79#event-892881907,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAJyL6uTTas77Xs3NhDXbaqSl27etSLwks5rHy4FgaJpZM4LGaqR
.

Yes it is. I'm a huge fan of continuous deployment. Every commit is built
and released. In this case, the only thing missing is to make it an
"official" release. I was planning to do that tomorrow. Maybe you can help
me out by writing a short description of the feature/release?
On Wed, Dec 14, 2016 at 6:36 AM Jonas Byström<EMAIL_ADDRESS>wrote:

Thank you! As I understand it, this feature is now included
in vfarcic/docker-flow-proxy:latest?
Kind regards,
Jonas
2016-12-14 0:45 GMT+01:00 Viktor Farcic<EMAIL_ADDRESS>
Merged #79 https://github.com/vfarcic/docker-flow-proxy/pull/79.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/vfarcic/docker-flow-proxy/pull/79#event-892881907,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/AAJyL6uTTas77Xs3NhDXbaqSl27etSLwks5rHy4FgaJpZM4LGaqR
.

—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/vfarcic/docker-flow-proxy/pull/79#issuecomment-267049201,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFc5A5sezUbxNM6nWB8mqoktdi_GEQRuks5rH_7lgaJpZM4LGaqR
.

It's part of the release 1.121

Hi again Viktor,
Sorry for the late reply. If you still need a description this is from
my original commit message - it's acceptable.
Support for external (outbound) hostname in the proxy config.
The outbound hostname feature is useful when the proxy is not part of
the swarm. In a large corporate network setting, swarms may be regularly
decommissioned and re-created, but external parts integrating with the
swarms can not be reconfigured. (Updating DNS records is often times out
of the question for policy and/or bureaucracy reasons.)
Kind regards,
Jonas
------ Originalmeddelande ------
Från: "Viktor Farcic"<EMAIL_ADDRESS>Till: "vfarcic/docker-flow-proxy"<EMAIL_ADDRESS>Kopia: "Jonas Byström"<EMAIL_ADDRESS>"Author"
<EMAIL_ADDRESS>Skickat: 2016-12-14 19:14:03
Ämne: Re: [vfarcic/docker-flow-proxy] Added support for external
outbound hostname in the proxy config. (#79)

Yes it is. I'm a huge fan of continuous deployment. Every commit is
built
and released. In this case, the only thing missing is to make it an
"official" release. I was planning to do that tomorrow. Maybe you can
help
me out by writing a short description of the feature/release?
On Wed, Dec 14, 2016 at 6:36 AM Jonas Byström
<EMAIL_ADDRESS>wrote:

Thank you! As I understand it, this feature is now included
in vfarcic/docker-flow-proxy:latest?
Kind regards,
Jonas
2016-12-14 0:45 GMT+01:00 Viktor Farcic<EMAIL_ADDRESS>
Merged #79 https://github.com/vfarcic/docker-flow-proxy/pull/79.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub

https://github.com/vfarcic/docker-flow-proxy/pull/79#event-892881907,

or mute the thread
<

https://github.com/notifications/unsubscribe-auth/AAJyL6uTTas77Xs3NhDXbaqSl27etSLwks5rHy4FgaJpZM4LGaqR

.

—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub

https://github.com/vfarcic/docker-flow-proxy/pull/79#issuecomment-267049201,

or mute the thread

https://github.com/notifications/unsubscribe-auth/AFc5A5sezUbxNM6nWB8mqoktdi_GEQRuks5rH_7lgaJpZM4LGaqR

.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/vfarcic/docker-flow-proxy/pull/79#issuecomment-267110131,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAJyLz2ripEUUp1NdI5FcjSQ2UkR4kruks5rIDHrgaJpZM4LGaqR.

Thanks!
I added it to the release 1.121


Add package file to the repo

@yebrahim Thank you for your efforts. I admire your work.
I wonder if you may add the package file to ease the npm install.

Sorry, it seems that I have a problem. I will close the issue.

It's not a valid issue.


HSEARCH-2188 Fixed type checking in NumericFieldUtilsTest

isAssignableFrom in NumericFieldUtils was used the wrong way. I turned it around and added a unit test, which did not pass with the previous implementation.

Can one of the admins add this person to the trusted builders? (reply with: "add to whitelist" or "ok to test")

ok to test

thanks @gfouquet ! I'll gladly apply your patches, but could you please sign the Hibernate contribution agreement?
It's as simple as creating an account, reading the terms and clicking on a checkbox: https://cla.jboss.org

Hi,
I just signed the CLA

Where are we with this one?

I'm willing to make any change the Hibernate team see fit. On the other hand I'm mostly clueless about the side effects of any change.

@gunnarmorling it's already fixed in master for a while and I extracted the test case and the additional cleanup from Gregory's PR and pushed it to master: https://github.com/hibernate/hibernate-search/commit/a5ad4f586c713df198beb797a9f4f5f9237cd3b7
I asked @Sanne if we still maintain 5.3 and 5.4 but I haven't had a reply so far.
If we do, I'll prefer to only cherrypick Davide's commit fixing this: https://github.com/hibernate/hibernate-search/commit/4c0415c1f11b7e26fdc4dc95f4b822bf9e983139 . No need for the further cleanup in the old branches.

@gfouquet I will backport Davide's fix in 5.3 and 5.4. That being said, we haven't planned to release new versions of these 2 branches.

OK, so I pushed the test and the cleanup to master a few weeks ago and backported the original Davide's fix to 5.3 and 5.4 just now.
Closing. Thanks!


Unable to intercept requests to generativelanguages.google

So I'm using a MITM proxy and when I run hit the API endpoint using requests python library, I'm successfully able to see the network trace in my middle man proxy log, but when I use this python package for the same task I'm unable to see the network trace to the generativelanguage.googleapis endpoint.

Hi, this library uses GRPC by default. You can switch it to use  rest with:
genai.configure(transport="rest")
Does that fix it for you?

Hi @MarkDaoust, iIwent through the transport param and you're right if I give it a value of rest it needs to use the rest protocol for the Gemini service, but I'm still unable to see any traces in my MITM network calls when I use that param. I will check if there is anything else wrong and get back


nixos/top-level: add specialisation..configuration type

Motivation for this change
#76184
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

I'm not sure why or how, but with this, the nginx test in nixos/tests fails to evaluate with:
error: The option `services.nginx.virtualHosts.localhost.root' has conflicting definition values:
- In `<unknown-file>': <derivation /nix/store/pbfyh5b86m14f3vkqz7gb8anfiyz2bmc-testdir.drv>
- In `<unknown-file>': <derivation /nix/store/jz45f8nkvqb82iim1s192349c28lbm4b-testdir2.drv>
(use '--show-trace' to show detailed location information)

cc @Infinisil as you're the specialisation. guy AFAIR

Yeah, the acme and specialisation test are also broken with this.

Sorry, I guess I didn't run the related test this time...
I don't actually know how to type this. types.anything works, but I don't know if we want to be more specific.
Ping our resident type-master @infinisil.


add second argument: path where the bootstrap file will be generated.

I have separated the vendor dir for my projects. The main reason for doing this is to easily upgrade to another version of symfony without doing the upgrade for each project independently what consume too much time and may cause inconsistency (I may forgot to upgrade one of my projects).
So the script for generating bootstrap should reflect this situation.
Adding a second argument for the path where the bootstrap file wil be generated will fix this problem.

in my case the bootstrap.php.cache in second application would be the same as in app, so maybe symlink is enough


move server runner's enable_dualstack to ServerDeploymentArgs

[ ] grpc/core/master/linux/grpc_xds_k8s_lb
[ ] grpc/core/master/linux/grpc_xds_url_map
[ ] grpc/core/master/linux/grpc_xds_v3
[ ] grpc/core/master/linux/psm-csm

As long as the tests still work, it seems okay to me.

yeah i have put the test run above which succeeded

[ ] grpc/core/master/linux/psm-dualstack


Shutdown inactive tenants on the pageservers

Waits on https://github.com/zenithdb/zenith/pull/853 review

still need some tests

relates to #1036


TS-77 filtering listener's status message by subscribed address.

Hi @rg911
I've added the filter by address to the listener's status subscription,
https://github.com/nemtech/catapult-rest/pull/174 fix has been merged. Remember to get the latest catapult-rest when working as the new status listener requires the latest rest.

Pull Request Test Coverage Report for Build 787

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

Totals

Change from base Build 785:
0.0%

Covered Lines:
10

Relevant Lines:
10

💛  - Coveralls


expanding json parsing to json objects larger than Int32 bytes

Ran into an issue with a large json object.   the column_count was stored as an int32 and raised an exception once it hit 2,147,483,647 bytes
line number should potentially be changed as well but may be harder to hit

I think this is a breaking change.
Instead, we should let the column number not overflow and be kept at its maximum if it's about to exceed the maximum (just my opinion.)
Alternatively, we should add a new property that tracks the column number as Int64, and allow access to the Int32 and Int64 variants (the Int32 variant would stay at the maximum if it only fits Int64)

Fixes #12946

I fear this would be an unacceptable breaking change.
We can probably find a different way to support parsing huge JSON documents. This continues to be tracked in #12946


localstorage.clear() implemennted on home

removed your localstorage.removeitem() function as clear() works better for this.  not sure why removeitem() didn't work honestly.
added a route at localhost:3000/clear to request clear of OAUTH connection from each connected Workspace that MUST be used on the Automations page I think.  still haven't implemented this yet but I think it's the only place to run it since each shard and workspace ID must be ran to clear the connection from each.

Awesome!! Approved! Big step foward with the token being cleared. Agreed, Automations.tsx is likely where we'll need to use it. Will look closer at this Sat and Sun


extension commands not working

command attempt
When running the commands like init, build or dev via

result

alternative
running cargo tauri dev or npm run tauri dev works good. So how to configure the extension to run via commands?

@amrbashir just installed the update. Runs perfectly fine. Thank you very much for your time!


[Question]

Is there any way to edit the default wsiwyg editor on a content component. We are looking to limit the formatting available to the user for example, to only allow bold and one heading option.

As clarification we are trying to modify it in the form builder, not the final render result.

@Bdestasio33,
Yes, it is also possible to provide your own custom configurations to the WYSIWYG editor found @ https://quilljs.com/docs/configuration. These configurations can be provided instead of the “true” value of the wysiwyg attribute.

Would you be able to provide some direction on where exactly this quill configuration goes when you are setting up the <FormBuilder> element? I see how to configure the WYSIWYG editor for the user filling out the form, but it's not clear to me how you configure the WYSIWYG editor for the user building the form.

@wag110894 If I edit the Content.form.js file directly, I can get this to work. Is there any way to configure this without editing form formio source code directly?

Sounds like what you really want to do is modify the builder so that the options for wysiwyg can be customized. There is a way to do that at http://formio.github.io/formio.js/app/examples/custombuilder.html
I don't have a specific example of how to customize the wysiwyg on content components but you should be able to override anything there. In react, you can pass the "options" prop to the FormBuilder component.

Thanks, @randallknutson. We've tried that and maybe we're just not lining up the keys / nesting correctly, but it doesn't seem to work on the component with key "html". Sandbox to show you what I'm trying is 5edf7b947630ae81732383c7. The other options specified in that set work just fine, and if I apply those options directly to Content.form.js, it works. But I can't seem to get it to work when passing as options.

It does look like the html component is hard coded outside of the normal "extend" functionality for the edit form which is why it isn't working. https://github.com/formio/formio.js/blob/master/src/components/content/Content.form.js#L25-L38
I'm not sure if there is a good way of extending that using the default system.

Bummer, that's kind of the conclusion we were coming to. Thanks for looking into that for us. We'll probably just have to roll our own component.

I am closing the issue as it was created too long ago and there are no new comments here. I hope it was resolved. If not, please reopen it. Thanks!


Flutter add to app Android shows white screen on startActivity

I have an app where there are some screens that are made in Flutter (add2app). I have a class called CMFlutterActivity that is a subclass of io.flutter.embedding.android.FlutterActivity. I use this class to manage the method channels, but I am not too happy with how the screen is presented, because the first Flutter frame is not available when the Activity is presented. After some research I figured there is a method in the FlutterActivity that I can override to know when the first Flutter frame is available, it is called onFlutterUiDisplayed. The problem I have is: how do I manage to only make the Activity visible after this method has been called? I am currently getting a white frame before the Flutter Activity paints.
I am currently starting the activity in the following manner:
startActivity(Intent(context, CMFlutterActivity::class.java))

Here are some of my configurations:
AndroidManifest.xml:
<activity
    android:name=".ui.flutter.CMFlutterActivity"
<EMAIL_ADDRESS>    android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
    android:hardwareAccelerated="true"
    android:windowSoftInputMode="adjustResize"
    android:screenOrientation="portrait"
    android:stateNotNeeded="true"
    android:exported="true"
/>

styles.xml:
<style name="AppTheme.NoFullscreen">
    <item name="android:windowFullscreen">false</item>
</style>

flutter doctor -v:
[✓] Flutter (Channel stable, v1.17.4, on Mac OS X 10.15.5 19F101, locale pt)
    • Flutter version 1.17.4 at /Users/leonardosilva/development/flutter/flutter
    • Framework revision 1ad9baa8b9 (13 days ago), 2020-06-17 14:41:16 -0700
    • Engine revision ee76268252
    • Dart version 2.8.4

[!] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /Users/leonardosilva/Library/Android/sdk
    • Platform android-29, build-tools 29.0.3
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)
    ! Some Android licenses not accepted.  To resolve this, run: flutter doctor
      --android-licenses

[✓] Xcode - develop for iOS and macOS (Xcode 11.5)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.5, Build version 11E608c
    • CocoaPods version 1.8.4

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 46.0.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.46.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.12.0

[✓] Connected device (1 available)
    • Mi A2 • d73165 • android-arm64 • Android 10 (API 29)

! Doctor found issues in 1 category.

First thought: please make sure you're running in release mode. Launching an add-to-app module in debug mode will have drastically different performance characteristics.
Also, if I read the question correctly, I think the premise of the question might be reversed. i.e. there's no way of preventing the Android activity from being started via intent in the first place by waiting for the first frame rendered callback since it's circular. A first frame can only be rendered if there's an activity hosting a surface holder view and the surface holder creates a surface which only happens when the activity is attached to the window.
However, to produce a better visual effect, see https://flutter.dev/docs/development/ui/advanced/splash-screen. You can customize what's shown while waiting for the Flutter first frame.

I ended up starting as a transparent activity and when the first frame is ready I make it opaque, it feels much better than showing something before the first frame, because it is so fast, there is no need to blink the screen with some splash screen. I think this could be the default behavior or maybe, make it easier to do this way.

Hi @lslv1243
I agree with you here https://github.com/flutter/flutter/issues/60595#issuecomment-724312689
When you run release mode, it's very fast and transparent view gets the job done.
If you something to add or some code sample to show we can improve something here, please ping me and comment below and I would love to reproduce and go from there.
Closing. If you disagree, please write in the comments and I will reopen it.
Thank you


Add SirEdvin Computercraft Addons (reliant on #19)

sadly this PR requires Curseforge due to SirEdvin not having yet uploaded them to Modrinth,
https://docs.siredvin.site/ < documentation for the mods added

Closed with #19


when trying to delete an operator or a dimension, there is no confirmation modal

when trying to delete an operator or a dimension, there is no confirmation modal, it is deleted automatically.

Issue migrated to JIRA.


Add missing MCS 4 param

MCS 4 was missing in the modem list.

Coverage remained the same at 79.236% when pulling a48ce157b64a49c8edc1ad9d58b3c7b6197c1099 on eSoares:wifi802.11 into 2a60fc5fbde3a80b4c3dec7a44fb75edccc350f4 on veeresht:master.


Create Sprite for Walther MP

Please see CONTRIBUTING.md first.
Happy Hacking! :smiley:

Hello! I would like to take this one!

Please let me know if you would like anything modified.

Hi @SarahLizDettloff! Thank you very much for the sprite. There is only one issue - the size is huge, icons should be limited to 128x128.

Here is the update on the size. Please let me know if any other modifications are necessary.


Update plantronics-hub to latest

After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} left no offenses.
[x] The commit message includes the cask’s name and version.

Unfortunately they have removed individual links for the latest version and only supply version based links to older versions. The link to the latest version is now a constant, so changed to latest.
Also added auto_updates true and depends_on macos to complete the current version specifics.

Thank you for all the changes and your contribution!


SerializeToString throw InvalidOperationException without PRODID

I programming a CalDAV server. There is a case, where it is conform to remove the PRODID and then serialize to string: rfc4791 section-7.8.1
But SerializeToString of CalendarSerializer throw a InvalidOperationException.
I wrote a little function to show this case:
`var calendar = new Calendar();
calendar.ProductId = "-//MyProduct";
var prodId = calendar.Properties["PRODID"];
calendar.Properties.Remove(prodId);
var serializer = new CalendarSerializer(calendar);
var output = serializer.SerializeToString();`

https://tools.ietf.org/html/rfc5545#section-3.7.3 says that this would not be a valid iCalendar object.

Then do you assume rfc4791 section-7.8.1 is wrong? In a perspective the property is available in iCalendar object, but not included in the limited response.
Thanks for the code snippet

I don't know to be honest. But I see the point of not relaying PRODID, when only partial data is requested. Don't think of me as an authority on this matter though ;)

PRODID is a required property per the spec.


use lazy chunk reader and langos to file download api

WIP
This PR is an experiment to speedup file download by using lazy chunk reader from swarm and langos readahead buffer.

lcr package is a copy of swarm/storage.LazyChunkReader with all instrumentation code commented out
chunk retrievals starts to fail after the first buffer read with context deadline exceeded error, chunk addresses look very suspicious, as a pattern is obvious in them, probably adjustments to LazyChunkReader need to be done in respect to bee/pkg/file/splitter
tests for LazyChunkReader are missing in respect to the chunks from bee/pkg/file/splitter
langos is copied here as it is from swarm and can be moved to its own repo as it contains no code from other swarm packages

Hi guys @janos @santicomp2014 , who is working on this right now? If nobody: shall we put it back in the backlog?

@Eknir I do not think that anybody is working on it, it can go to the backlog.

im on it, keep this open for reference please

superseded by #554


bootstrap css broken after build

Several css elements are removed after executing a fresh npm install ; npm run-script dist on the dev-4 branch. An example is display: -ms-flexbox; this breaks some browsers  ios 7 and ios 8. I've not tested on ios 9, 10 or 11.
The build environment is a ubuntu install and a mac os x install.
.row {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

From the git repo
.row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

The dist on the repo isn't up to date.
That output is correct.
As per the docs and #25429:

Dropped IE8, IE9, and iOS 6 support. v4 is now only IE10+ and iOS 7+. For sites needing either of those, use v3.


[Flaky test] Fix basic auth integration test

Database slowness while doing audits seems to be causing flakiness in auth ITs.
The failing test is almost always ITBasicAuthConfigurationTest.test_avaticaQuery_datasourceAndContextParamsUser but in some rare cases, other tests fail too. Alternately, this failing test has been seen to pass too.
It is most likely because the auth changes are not able to propagate in time from the coordinator to other services.
Fix for now
Just log the audits rather than persisting them to database. Most audits have been newly added and it is okay to not have them persisted. Moreover, logging audits can also be more beneficial while debugging an IT.
Later

We should consider persisting audits to metadata store in an async fashion.
Add some ITs that specifically test metadata-based audits.

Thanks for the review, @AmatyaAvadhanula , @pranavbhole !


error - SyntaxError: Unexpected token D in JSON at position 1

how to fix this ？
error - SyntaxError: Unexpected token D in JSON at position 1
at JSON.parse ()
at onParse (webpack-internal:///(middleware)/./utils/server/index.ts:70:43)
at parseEventStreamLine (webpack-internal:///(middleware)/./node_modules/eventsource-parser/dist/index.js:78:9)
at Object.feed (webpack-internal:///(middleware)/./node_modules/eventsource-parser/dist/index.js:66:7)
at Object.start (webpack-internal:///(middleware)/./utils/server/index.ts:85:24)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Look at https://github.com/mckaywrigley/chatbot-ui/issues/580


How can I run particular test for a test suite?

I want to run particular tests for a test suite. How can I define the rule in gradle file?
I found below code which can count/create index for each test. but how can I make sure it will skip the test meet the criteria
In another word, how can I just run test as “AAATest” but not run test as “BBBTest”
any solutions?
def numTests = 0
test {
beforeTest { descriptor ->
System.out.println(“Running test " + numTests + " : " + descriptor)
numTests++
}
}
test << {
System.out.println(”\nnumTests executed: " + numTests);
}

Sorry I don't quite understand what you mean. Are you saying you only want AAATest to be run? You can use test filtering or --tests

I want to do this by gradle instead of command line

I want to choose which test to run in runtime.
for example, if index of current test is 5 or 10 or 15... I will run current test,otherwise do nothing

If that possible to implement this by updating build.gradle, thanks?

Sounds like a sampling of test. AFAIK there's no way to control test execution like this. What you're trying to use is a TestListener, which can only LISTEN but can't MODIFY a test. The test execution is controlled by test frameworks (e.g. JUnit/TestNG), Gradle can only control which classes are included in test execution.
You can traverse the test class directory and only include some of them by include(). Note this is class-level, not testcase-level.
Or you can write some custom Runner.

What I want to do if divide tests into different groups.
Yes, my final solution is just use include /exclude as below to generate 3 test groups
if(index==1) { include 'ABC/a*/' }
else if (index==2) { include 'ABC/b*/' }
else { exclude 'ABC/a*/' exlucde 'ABC/b*/' }

include/exclude is a configuration phrase action and can't be done at test execution runtime. What's more, it's kind of random - the test descriptor/event order is not guaranteed so your intended group might be unstable. What about test grouping? It's more stable than what you intended to do.


Update release date in CHANGES.md

D2IQ-68616 - Fix DC/OS Branch version updates.

Update release date in CHANGES.md

@mesosphere-mergebot label ready for review


(REQUEST)Nova launcher overlay

Please add Nova launcher overlay For dark red tiles (#FFC11200).
Thanks.

Sure, i'll add it later.

Please add Nova launcher overlay For dark red tiles (#FFC11200).
Thanks.


Serialize ManyToMany Relationships

As I read the documentation it says it only handles FK references. I have done some serialization work in the past and have used http://code.google.com/p/wadofstuff/wiki/DjangoFullSerializers which can handle django's many2many for truly full data serialization.

Any plan to implement ManyToMany in this project?


add prometheus metric exporter

https://trello.com/c/wkDN6HHk/
This requires us to set up the "status stub", made only accessible from within the host, the prometheus-metric-exporter process itself (for polling that status stub) and a proxy_pass rule to allow requests to
/_metrics/metrics to be apparently served by our nginx from port 80. It might seem nicer for these nginx settings to live in their own site config file, but that's tricky because we already have the healthcheck set as the default port 80 "server", so rather have to piggyback on that.
The endpoint is set up like the healthcheck, only visible when accessed "raw" and not through one of the configured hostnames. I think our "master" exporter should be able to access this endpoint, but not 100% certain.

Ohhh actually I think I've realized that we're going to have to add a specific hostname to the router for this (we need to add the _metric endpoint as a view on its own, so I'll probably rearrange things a bit anyway.
dm-router-{env}.cloudapps.digital/_metrics I guess.


[fix]: change ainize server name.

Summary

change ainize server name: openai_backend

Thank you for quick review! @platfowner now merging...


⚠ RPC server - Figment Solana has degraded performance

In 364cdf0, RPC server - Figment Solana ($FIGMENT_SOLANA_RPC_URL) experienced degraded performance:

HTTP code: 429
Response time: 332 ms

Resolved: RPC server - Figment Solana performance has improved in 4cc546e.


useSWR in UI KIT library not using cache from consumer app

Bug report
useSWR in UI KIT library not using cache from consumer app
Description / Observed Behavior
I have 3 applications:

UI KIT
Consumer app 1
Consumer app 2

And using useSWR inside of UI KIT components working but global mutate functions is not affecting consumer's app cache to revalidate.
I found that useSWR calls inside of UI KIT components using their own cache layer.
Expected Behavior
Global mutate function should work with app's cache
Repro Steps / Code Example

Additional Context
Projects using Vite typescript react and
"swr": "^2.2.4",
Reference: https://github.com/vercel/swr/discussions/2825

I can confirm that inside a monorepo when referencing a library from an app there is some kind of internal cache being utilized from the library export via useSWR and when reseting the cache in tests from the app, the app swr provider is cleared but not the internal cache from the useSWR from the lib.
using: swr: ^2.2.5

I guess we should provide a reproduction sandbox, but currently I don't have time :(

I don't get it. Why having 2 swr packages in node_modules creates in runtime two instances of SWR?
There is a build step involved that will use only one package resolved from node modules, isn't it?
Additional context:
Im using pnpm and npm package for UI KIT (not monorepo)

tl;dr Should only use one node_modules/swr between all projects to access the same cache

How to achive this? Installing swr as a peerDep instead of dep worked in your case?

I can confirm that problem related to which SWR instance I'm using.
When I export from UI KIT function that calls it's mutate in it and call this function in external app — it works.

I'm thinking about making a wrapper around SWR and it's methods in UI KIT and exporting it:
// Something like that:
export SWR_INSTANCE = ..

// In consumer app:
import { mutate } from 'ui-kit/swr';

mutate('key')

Maybe somebody knows better solutions?

tl;dr Should only use one node_modules/swr between all projects to access the same cache

How to achive this? Installing swr as a peerDep instead of dep worked in your case?

For my case I made sure all my swr instances were using the same version, that way one 1 copy of swr is loaded from monorepo root


Add email-specific TraceView logo

I was having a discussion with @dkuebric about where we should host the TraceView logo image that’s at the top of every email we send to customers.
Using http://docs.traceview.solarwinds.com/files/TraceViewLogo.png would be convenient, but it introduces an unobvious dependency for the docs site to worry about.

Code review? @adam-hert :smiley:


Publications: Use component and require only a DOI

The publications page currently uses markdown which is fine, but a bit verbose and a hassle to add publications to.
We should be able to retrieve all of the information that we need from a DOI alone, using crossref. We could have a new component that takes DOI as an argument and then updates a JSON cache if needed and renders everything else.
Could even just make it a python script that writes to a JSON file and then render the entire page automatically. Not sure we really need much / any markdown on this page.
I wrote something similar for my soon-to-be-published-honest-any-day-now personal website here.

should be even better with Astro 5's content layers


Inline backticked code has the backticks visible in posts

What happened?
When I write something like config.toml in a post in backticks, I expect config.toml to be in code style, without the backticks remaining visible.
Attached a screen shot from https://jpanther.github.io/congo/docs/configuration/

It's showing the correct code style, but the backticks are visible :-(
I'm doing these tests on macOS 12.6 and don't have a Windows machine to test there.
Theme version
2.4.0
Hugo version
hugo v0.105.0+extended
What browsers are you seeing the problem on?
Firefox, Chrome, Safari
Relevant Hugo log output
No response

The backticks being visible is a design choice and not a bug. See https://github.com/jpanther/congo/issues/72 for details on how to adjust the behaviour.


How to use tensorboard in mmdetection?

I want to use tensorboard to to visualize feature maps and tensor changes during training, except for the loss curve. How to do that? Is there a case for reference？Thanks very much! orz

You need to write code for your own, that draws feature map in some place of the code through tensorboard.