How to use multiple Output Tensors?

I have an OD model which 4 output tensors. However I am unsure how should I give them to the loaded interpreter.
Lets take a look at the code of interpreter.dart
void run(Object input, Object output) {
    var map = <int, Object>{};
    map[0] = output;
    runForMultipleInputs([input], map);
  }

  /// Run for multiple inputs and outputs
  void runForMultipleInputs(List<Object> inputs, Map<int, Object> outputs) {
    if (outputs.isEmpty) {
      throw ArgumentError('Input error: Outputs should not be null or empty.');
    }
    runInference(inputs);
    var outputTensors = getOutputTensors();
    for (var i = 0; i < outputTensors.length; i++) {
      outputTensors[i].copyTo(outputs[i]!);
    }
  }

So we can see that the output fed into model is assigned to the first field of a Map<int, Object>. So then in runForMultipleInputs in the for-loop this outputTensors[i].copyTo(outputs[i]!)  runs into a null access exception.
This is how I feed the output to the model.
    final output0 = List<List<double>>.filled(1, List<double>.filled(25, 0));
    final output1 = List<List<List<double>>>.filled(1, List<List<double>>.filled(25, List<double>.filled(4, 0)));
    final output2 = List<double>.filled(1, 0);
    final output3 = List<List<double>>.filled(1, List<double>.filled(25, 0));
    Map<int, Object> output = {
      0: output0,
      1: output1,
      2: output2,
      3: output3};
    print(output);
    interpreter.run(image,output );

So far I only made it working by just casting the input object to Map. How is this supposed to be used anyway?
  void run(Object input, Object output) {
    var map = <int, Object>{};
    map[0] = output;
    runForMultipleInputs([input], output as Map<int, Object> );
  }

I will hopefully push soon an example for object detection where the model takes one input tensor and has 4 output tensors.
Hopefully i understand you correctly and this helps you.
// Set input tensor [1, 300, 300, 3]
final input = [imageMatrix];

// Set output tensor
// Locations: [1, 10, 4]
// Classes: [1, 10],
// Scores: [1, 10],
// Number of detections: [1]
final output = {
  0: [List<List<num>>.filled(10, List<num>.filled(4, 0))],
  1: [List<num>.filled(10, 0)],
  2: [List<num>.filled(10, 0)],
  3: [0.0],
};

 _interpreter.runForMultipleInputs([input], output);

Yes thanks this is what I ended up doing. At first I didnt realize that runForMultipleInputs is directly callable from outside too and was using run  only. By directly using runForMultipleInputs this works perfectly for OD. Just the naming could be improved. Thank you!

Same for me. Thats why i opened this ticket here.

Hi @gregorscholz and @alexw92! I'm fairly new to ML and flutter development, do you know how to solve this error? I have a MobileNetSSD 320x320 model.
Exception has occurred.
ArgumentError (Invalid argument(s): Output object shape mismatch, interpreter returned output of shape: [1, 10] while shape of output provided as argument in run is: [1, 10, 4])

@Rikerz08 Hello there, you need to specify outputs which fit the dimensions of the outputs ur model uses. You can find out the output dims of your model by using Netron  or something similiar

@alexw92 Thanks for this! However, I'm confused as to why I still need to determine my model's output shape. Isn't it [1,10] as what is stated in the error? Please correct me if I'm wrong.
Additionally, how do I specify and change the expected output size in order to fit my model's shape in this code?
import 'dart:developer';
import 'dart:io';
import 'package:flutter/services.dart';
import 'package:image/image.dart' as img;
import 'package:tflite_flutter/tflite_flutter.dart';

class ObjectDetection {
  static const String _modelPath = 'assets/models/Hemalens.tflite';
  static const String _labelPath = 'assets/models/labelmap.txt';

  Interpreter? _interpreter;
  List<String>? _labels;

  ObjectDetection() {
    _loadModel();
    _loadLabels();
    log('Done.');
  }

  Future<void> _loadModel() async {
    log('Loading interpreter options...');
    final interpreterOptions = InterpreterOptions();

    // Use XNNPACK Delegate
    if (Platform.isAndroid) {
      interpreterOptions.addDelegate(XNNPackDelegate());
    }

    // Use Metal Delegate
    if (Platform.isIOS) {
      interpreterOptions.addDelegate(GpuDelegate());
    }

    log('Loading interpreter...');
    _interpreter =
        await Interpreter.fromAsset(_modelPath, options: interpreterOptions);
  }

  Future<void> _loadLabels() async {
    log('Loading labels...');
    final labelsRaw = await rootBundle.loadString(_labelPath);
    _labels = labelsRaw.split('\n');
  }

  Uint8List analyseImage(String imagePath) {
    log('Analysing image...');
    // Reading image bytes from file
    final imageData = File(imagePath).readAsBytesSync();

    // Decoding image
    final image = img.decodeImage(imageData);

    // Resizing image fpr model, [300, 300]
    final imageInput = img.copyResize(
      image!,
      width: 300,
      height: 300,
    );

    // Creating matrix representation, [300, 300, 3]
    final imageMatrix = List.generate(
      imageInput.height,
      (y) => List.generate(
        imageInput.width,
        (x) {
          final pixel = imageInput.getPixel(x, y);
          return [pixel.r, pixel.g, pixel.b];
        },
      ),
    );

    final output = _runInference(imageMatrix);

    log('Processing outputs...');
    // Location
    final locationsRaw = output.first.first as List<List<double>>;
    final locations = locationsRaw.map((list) {
      return list.map((value) => (value * 300).toInt()).toList();
    }).toList();
    log('Locations: $locations');

    // Classes
    final classesRaw = output.elementAt(1).first as List<double>;
    final classes = classesRaw.map((value) => value.toInt()).toList();
    log('Classes: $classes');

    // Scores
    final scores = output.elementAt(2).first as List<double>;
    log('Scores: $scores');

    // Number of detections
    final numberOfDetectionsRaw = output.last.first as double;
    final numberOfDetections = numberOfDetectionsRaw.toInt();
    log('Number of detections: $numberOfDetections');

    log('Classifying detected objects...');
    final List<String> classication = [];
    for (var i = 0; i < numberOfDetections; i++) {
      classication.add(_labels![classes[i]]);
    }

    log('Outlining objects...');
    for (var i = 0; i < numberOfDetections; i++) {
      if (scores[i] > 0.6) {
        // Rectangle drawing
        img.drawRect(
          imageInput,
          x1: locations[i][1],
          y1: locations[i][0],
          x2: locations[i][3],
          y2: locations[i][2],
          color: img.ColorRgb8(255, 0, 0),
          thickness: 3,
        );

        // Label drawing
        img.drawString(
          imageInput,
          '${classication[i]} ${scores[i]}',
          font: img.arial14,
          x: locations[i][1] + 1,
          y: locations[i][0] + 1,
          color: img.ColorRgb8(255, 0, 0),
        );
      }
    }

    log('Done.');

    return img.encodeJpg(imageInput);
  }

  List<List<Object>> _runInference(
    List<List<List<num>>> imageMatrix,
  ) {
    log('Running inference...');

    // Set input tensor [1, 300, 300, 3]
    final input = [imageMatrix];

    // Set output tensor
    // Locations: [1, 10, 4]
    // Classes: [1, 10],
    // Scores: [1, 10],
    // Number of detections: [1]
    final output = {
      0: [List<List<num>>.filled(10, List<num>.filled(4, 0))],
      1: [List<num>.filled(10, 0)],
      2: [List<num>.filled(10, 0)],
      3: [0.0],
    };

    _interpreter!.runForMultipleInputs([input], output);
    return output.values.toList();
  }
}

@Rikerz08 The error you see is probably a mismatch of one of the 4 outputs assuming your model also has 4 outputs. Seeing from the code and the error I would guess that the order of the outputs is different in your model. What happens if you change this
final output = {
      0: [List<List<num>>.filled(10, List<num>.filled(4, 0))],
      1: [List<num>.filled(10, 0)],
      2: [List<num>.filled(10, 0)],
      3: [0.0],
    };

to this
final output = {
      0: [List<num>.filled(10, 0)],
      1: [List<List<num>>.filled(10, List<num>.filled(4, 0))],
      2: [List<num>.filled(10, 0)],
      3: [0.0],
    };

for instance?

@alexw92
We tried changing it to this:
final output = { 0: [List<num>.filled(10, 0)], 1: [List<List<num>>.filled(10, List<num>.filled(4, 0))], 2: [0.0], 3: [List<num>.filled(10, 0)], };

The shape error was fixed however it had another error which is this one:
_TypeError (type 'List<double>' is not a subtype of type 'List<List<double>>' in type cast)

@Rikerz08 ah so thats some progress. Just try out all the permutations and in the end you will have the right order. Or add a print statement in the runForMultipleInputs code to check the dimensions of each output manually. Or you use Netron to look up the outputs of your model.

E/flutter (30995): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Invalid argument(s): Output object shape mismatch, interpreter returned output of shape: [1, 84, 8400] while shape of output provided as argument in run is: [8400, 4]


CC Connection Troubleshooting

Closes https://cockroachlabs.atlassian.net/browse/CC-3687?atlOrigin=eyJpIjoiZDFkMmJiMmY0MGU1NGQ5NjhhMWQ5M2ZhMmE5ZDA0ZGMiLCJwIjoiaiJ9

This change is

CC: @thtruo @joshimhoff @kannanlakshmi @ianjevans
Does anyone have suggestions for additional errors & resolutions? This was all I could find solid information on, but interested in expanding if possible.


import_realm: Close the memcached connection before forking

This prevents the memcached connection from being shared across multiple processes, and hopefully addresses unexpected behavior from cached functions like get_user_profile_by_id invoked inside the worker processes.
Testing Plan: Not tested yet.

If we're doing this fiddly work in 4 places, it might be good to factor it out somewhere.

Do we have any way of testing this, other than "try it in prod"?  I'd be curious if that reproduces the failure, at least.

I was treating this as a quick fix to address the bug. I think the “right” solution would be to switch from processes to threads, since the PostgreSQL and memcached connection wrappers are already threadsafe.

I think it's reasonable to merge this to master; the thing I'd want to factor out would likely be the whole block as a function accepting just the function and the list:
            connection.close()
            cache._cache.disconnect_all()
            with multiprocessing.Pool(processes) as p:
                for out in p.imap_unordered(process_avatars, records):
                    pass

(I think "try in prod" is a reasonable way to test whether this change is sufficient; it seems clearly correct, at least)


Rel=Self parsing looks at the atom entries instead of the feed

When I use https://mastodon.social/users/kevinmarks.atom it gives an error about the self, but it is correct at the feed level.

This is the error when I try that URL, is that different from what you see?

ah nevermind, I re-read the issue name and now I understand the problem :-)


SDK22_update

Hello , I will start the example update with "active_scanner". One by one I will update this branch.

Changed base of this PR to SDK6022_migration because work on changing SDK had already started there


Morpher animations

The morpher has fly-to-idle (misnamed) and walk-to-fly animations. These aren't consistent with each other.
IMO we should have the fly animations only go to/from idle.

We could also use a set of animations for going into/out of watch mode. There is no need for scaling; we only need to fold the legs horizontally in a ring, similar to how we spread the wings for flight.

request was satisfied, closing issue


Doc example for how to mock IntersectionObserver doesn't pass instanceof check

Describe the bug
Could I'm doing something wrong here but seems like doc example for how to mock IntersectionObserver doesn't pass instanceof check.
Reproduction
// from the docs
import { expect, test, vi } from 'vitest'

const MockIntersectionObserver = vi.fn(() => ({
  disconnect: vi.fn(),
  observe: vi.fn(),
  takeRecords: vi.fn(),
  unobserve: vi.fn(),
}))
vi.stubGlobal(`IntersectionObserver`, MockIntersectionObserver)

test(`IntersectionObserver`, () => {
  expect(new IntersectionObserver((entries) => entries)).toBeInstanceOf(
    IntersectionObserver
  )
})

AssertionError: expected { disconnect: [Function spy], …(3) } to be an instance of spy

This class-based mock passes the same test:
import { expect, test, vi } from 'vitest'

class MockIntersectionObserver implements IntersectionObserver {
  root: Document | Element | null = null
  rootMargin: string = ``
  thresholds: readonly number[] = []

  disconnect = vi.fn()
  observe = vi.fn()
  takeRecords = vi.fn()
  unobserve = vi.fn()
}
window.IntersectionObserver = MockIntersectionObserver

test(`IntersectionObserver`, () => {
  expect(new IntersectionObserver((entries) => entries)).toBeInstanceOf(
    IntersectionObserver
  )
})

System Info
System:
    OS: macOS 13.1
    CPU: (10) arm64 Apple M1 Pro
    Memory: 49.97 MB / 16.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 19.3.0 - /opt/homebrew/bin/node
    npm: 9.2.0 - /opt/homebrew/bin/npm
  Browsers:
    Brave Browser: <IP_ADDRESS>
    Chrome: 108.0.5359.124
    Safari: 16.2
  npmPackages:
    vite: ^4.0.4 => 4.0.4
    vitest: ^0.26.3 => 0.26.3

Used Package Manager
npm
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

In the first example what you are doing is this, which is expected JS behaviour:
function Spy() { return { disconnect: null } }
const t = new Spy()
t instanceof Spy
// false

If you want your instanceof check to pass, you would mock it like this:
function Spy() {}
Spy.prototype.disconnect = function () {}
const p = new Spy()
p instanceof Spy
// true

@sheremet-va Thank you very much for the explanation! 👍


[SE-0193] Rename the attributes to their final names

Ref: https://github.com/apple/swift/pull/15594

@swift-ci Please test

LGTM

@swift-ci please test and merge


[Enhancement] php artisan module:make support for lumen

Hi!
any plans on implementing the php artisan module:make commands for lumen?
Regards

Could I ask which version of Lumen are you using? I haven't tried this package with Lumen yet, but I was under the impression that it worked with Lumen as-is (cf. #310).
Are you getting any errors w/ the module:make command specifically? Or are you having trouble getting started with the module as a whole?
It's possible that if you are using Lumen 5.4, you will need to take a couple extra steps when installing v.2.0^ of this package. See "Add Service Provider" in the README on the 1.0 branch.

I'm using Lumen 5.5. I tried to manually add Laravel-modules but I cannot get it to work. I've added the LumonModulesServiceProvider to bootstrap/app.js ($app->register(....) and checked if the module was added to autoload_psr4 by composer. I'm still unsure how to manage with the config file as Lumen doesn't have a config folder.

Hmm... I'm not sure how publishing config files works for Lumen. I think it might be missing the vendor:publish command. You could likely pull in laravelista/lumen-vendor-publish, but you can also "publish" this package's config file manually:

Create a config folder in your repo root.
Copy vendor/nwidart/laravel-modules/config/config.php to config/modules.php
Load the configuration file in boostrap/app.php, before LumenModulesServiceProvider:

$app->configure('modules');
...
$app->register(Nwidart\Modules\LumenModulesServiceProvider::class)

Let me know how it goes!

Just manually added the laravel-modules module to my lumen project. When I run php artisan it returns an error saying:
  [ReflectionException]   Class path.public does not exist

A lumen helper was added for this. Not sure if you need to autoload it or not. It was added here https://github.com/nWidart/laravel-modules/pull/357

it's not autoloaded, would it be an idea to add it to the LumenModuleServiceProvider under registerHelpers(); ?

adding a helper.js file in app/ containing the config_path() function and defining path.public in bootstrap/app.js did the trick

is it an idea to add
if ( ! function_exists('config_path'))  {      /**       * Get the configuration path.       *       * @param  string $path       * @return string       */      function config_path($path = '')      {          return app()->basePath() . '/config' . ($path ? '/' . $path : $path);      }  }
to the helpers function?

Similarly to how the public_path helper was added why not yes.


Does MBOption Screen Support Localization?

Hi Aragas:
Nice work here,
I read the Wiki. It says that Localization is supported in MBOptionScreen.
I am thinking of migrating to MBOptionScreen.
How to localize the setting text with you lib?
Maybe you could provide us with some examples, please?
Thanks

Hi!
It's supported since 1.1.14 for both DisplayName and HintText properties in SettingPropertyAttribute.
It's using the TextObject system from the game, so the format should be like this
[SettingProperty("{=GqdfFr5F}Apply Relationship Rules to NPC", "{=HghfFr3F}Yourhint")]

So nice of you for explaining everything so clearly.
I will migrate to MBOptionScreen today.
Thank you for your work here.
And I think MBOptionScreen is a much much better solution in every way, engineering, user-friendly, compatibility and everything.

PERIOD.

Thanks!

Is there a good guide somewhere for hooking into Bannerlord's Localization system? I've been struggling a lot with it...


Redirect to different login page on logout , unauthorize etc...

I can't figure out how to work with 2 login pages in Asp .Net Core 2.2 RazorPages
I have 2 Areas, each has their own custom pages
{area}/Index (Login page)
{area}/AcessDenied
However with this code this does not work

     services.AddAuthentication(CookieAuthenticationDefaults.AuthenticationScheme)
            .AddCookie(options =>
            {
                options.ExpireTimeSpan = TimeSpan.FromDays(1);
                options.LoginPath = new PathString("/Index");
                options.LogoutPath = new PathString("/Logout");
                options.AccessDeniedPath = new PathString("/AccessDenied/");
                options.SlidingExpiration = true;
            });

I tried this before
   services.AddAuthentication(CookieAuthenticationDefaults.AuthenticationScheme)
                .AddCookie("ProductionAuth",options =>
                {
                    options.ExpireTimeSpan = TimeSpan.FromDays(1);
                    options.LoginPath = new PathString("/Production/Index");
                    options.LogoutPath = new PathString("/Production/Logout");
                    options.AccessDeniedPath = new PathString("/Production/AccessDenied/");
                    options.SlidingExpiration = true;
                })
               .AddCookie("AdministrationAuth",options =>
                {
                    options.ExpireTimeSpan = TimeSpan.FromDays(1);
                    options.LoginPath = new PathString("/Administration/Index");
                    options.LogoutPath = new PathString("/Administration/Logout");
                    options.AccessDeniedPath = new PathString("/Administration/AccessDenied/");
                    options.SlidingExpiration = true;
                });

and it only works for the Default Scheme only which is ProductionAuth.
If I use AdministrationAuth configuring the cookie authentication, it wont detect it nor it will have any claims like it is inexistent.
>
>              await HttpContext.SignInAsync("AdministrationAuth",
>                     new ClaimsPrincipal(userIdentity),
>                     authProperties);

Reason i need to login pages separated is because one area has different form controls to input and must access only it's own pages

When using two cookies you can't rely on the default scheme, you must declare in your pages which scheme to use. You do that by setting the parameter on the Authorize attribute.
https://docs.microsoft.com/en-us/aspnet/core/razor-pages/filter?view=aspnetcore-2.1#authorize-filter-attribute

This worked. There's only one problem which is having to apply to every page. Is there a way to do this at startup with conventions when authorizing a folder?

when authorizing a folder

How are you doing that?

            services.AddMvc()
             .AddRazorPagesOptions(options =>
             {
                 options.AllowAreas = true;
                 options.Conventions.AuthorizeAreaFolder("Administration", "/Account");
                 options.Conventions.AuthorizeAreaFolder("Production", "/Account");

             })

i tried add another parameter but only asks for a policy and not authentication scheme

Where did you define your policies? They can specify auth schemes.

I haven't made a policy for this but i am using policies, here is one that i have atm for some database check

       services.AddAuthorization(options =>
        {
            options.AddPolicy("CheckArranqueActivo", policy =>
                policy.Requirements.Add(new CheckArranqueActivoRequirement()));
        });

Ah, I mistook that first parameter for a policy. Yes, define a policy for these that specifies the auth scheme.

Closing as it sounds like the questions have been answered and there is no actionable work on our end. Let us know if that's not the case!


unbound exited with code 1

Describe the bug
When trying to create and run the unbound container, it fails with exit code 1.
To Reproduce

Create unbound container using docker compose
Run it

Expected behavior
Unbound works
Screenshots

Please complete the following information:

Raspberry Pi 400
Ubuntu Server 24.04 LTS
Arm64 / aarch64
Latest stable version of unbound

Additional context
Happens on every other docker unbound there is

  unbound:     container_name: unbound     image: madnuttah/unbound:latest     environment:       TZ: 'Europe/London'     volumes:       - /opt/unbound/unbound.conf:/usr/local/unbound/unbound.conf:rw     ports:       - "5335:5335/tcp"       - "5335:5335/udp"     restart: unless-stopped     networks:       dns:         ipv4_address: <IP_ADDRESS>
`server:
# If no logfile is specified, syslog is used
# logfile: "/var/log/unbound/unbound.log"
verbosity: 0
access-control: <IP_ADDRESS>/24 allow
interface: <IP_ADDRESS>
port: 5335
do-ip4: yes
do-udp: yes
do-tcp: yes

# May be set to yes if you have IPv6 connectivity
do-ip6: no

# You want to leave this to no unless you have *native* IPv6. With 6to4 and
# Terredo tunnels your web browser should favor IPv4 for the same reasons
prefer-ip6: no

# Use this only when you downloaded the list of primary root servers!
# If you use the default dns-root-data package, unbound will find it automatically
# root-hints: "/var/lib/unbound/root.hints"

# Trust glue only if it is within the server's authority
harden-glue: yes

# Require DNSSEC data for trust-anchored zones, if such data is absent, the zone becomes BOGUS
harden-dnssec-stripped: yes

# Don't use Capitalization randomization as it known to cause DNSSEC issues sometimes
# see https://discourse.pi-hole.net/t/unbound-stubby-or-dnscrypt-proxy/9378 for further details
use-caps-for-id: no

# Reduce EDNS reassembly buffer size.
# IP fragmentation is unreliable on the Internet today, and can cause
# transmission failures when large DNS messages are sent via UDP. Even
# when fragmentation does work, it may not be secure; it is theoretically
# possible to spoof parts of a fragmented DNS message, without easy
# detection at the receiving end. Recently, there was an excellent study
# >>> Defragmenting DNS - Determining the optimal maximum UDP response size for DNS <<<
# by Axel Koolhaas, and Tjeerd Slokker (https://indico.dns-oarc.net/event/36/contributions/776/)
# in collaboration with NLnet Labs explored DNS using real world data from the
# the RIPE Atlas probes and the researchers suggested different values for
# IPv4 and IPv6 and in different scenarios. They advise that servers should
# be configured to limit DNS messages sent over UDP to a size that will not
# trigger fragmentation on typical network links. DNS servers can switch
# from UDP to TCP when a DNS response is too big to fit in this limited
# buffer size. This value has also been suggested in DNS Flag Day 2020.
edns-buffer-size: 1232

# Perform prefetching of close to expired message cache entries
# This only applies to domains that have been frequently queried
prefetch: yes

# One thread should be sufficient, can be increased on beefy machines. In reality for most users running on small networks or on a single machine, it should be unnecessary to seek performance enhancement by increasing num-threads above 1.
num-threads: 1

# Ensure kernel buffer is large enough to not lose messages in traffic spikes
# so-rcvbuf: 1m Causes warning

# Ensure privacy of local IP ranges
private-address: <IP_ADDRESS>/16
private-address: <IP_ADDRESS>/16
private-address: <IP_ADDRESS>/12
private-address: <IP_ADDRESS>/8
private-address: fd00::/8
private-address: fe80::/10

`

It did boot with the minimal config and the only difference from my config is the timezone and the unbound.conf. I assume it would not be the timezone but I'll add the timezone really quickly to rule it out fully.
I don't know what is wrong with the unbound.conf as it is a pretty much 1 to 1 copy from the pihole config

Also just a question, on the docs it says there is an optional redis database, what is the point of this and does it make performance/security any better? Or is it just worth using unbound's cache

Please use the included unbound.conf or change at least the following entries (see the troubleshooting section in the documentation:
...

You'd like to use a different unbound.conf than the one included? No problem, just make sure to change at least the following settings and fix crucial paths, otherwise the container will fail to start:

server:
   username="" # Not set in config but compose or command if needed
   chroot="" # Distroless, so no chroot necessary
   directory="/usr/local/unbound" # This is the folder where Unbound lives in

...
Redis speed up the things by keeping entries in a memory cache so unbound doesn't need to make a recursive query to resolve a domain.

Oh thank you so much

Is the default unbound.conf still good?

The one included? Sure it is. Just adapt this and that to your environment and you're all set.

Hey, how can i check if my redis setup is working? I actually had a problem with your redis.conf but i fixed it. I don't see anything from unbound in logs about redis but I see redis starting up in logs.

You could use the redis cli:
redis-cli -s //path/redis.sock

May I ask what problem you faced with the provided redis.conf?

I verified that the redis instance is running and working well with my unbound instance. Great work btw on all of this its the best work I've ever seen for an unbound docker instance and you give great support to your users.
The redis.conf issue was on line 1158 in your provided redis.conf, the value 'lru' is not a valid value and as you can see in the comments above the closest thing I saw was allkeys-lru so I just used that.

Thank you for your kind words! Do you want to correct that to allkeys-lru?

Done, thank you so much again for your support! I will close this now


Clearly display the conformance status for reports

What would you like to be added:
https://github.com/kubernetes-sigs/gateway-api/pull/3179 stated the possibility for implementations to submit partial reports. We need to accommodate this information in the documentation page, to make clear whether the conformance status is partial or success.
/cc @xtineskim

/area conformance

Im thinking that the clearest/easiest way to show this would be to have a separate table that lists the Partial implementations

Im thinking that the clearest/easiest way to show this would be to have a separate table that lists the Partial implementations

+1 I think this is the way to go

/triage accepted
/priority important-longterm


readEncapsulatedPixelData not available in dicomParser.js

Hi Chris,
First of all thanks for the great library -
I am trying to read encapsulated pixelData in order to decompress it but it seems is is not exposed in the uglified dicomParser.js:
var compressedPixelData = dicomParser.readEncapsulatedPixelData(
    this._dataSet,
    this._dataSet.elements.x7fe00010,
    frameIndex);

returns:
'undefined' is not a function

How are we supposed readEncapsulatedPixelData with dicomParser? I was following what is done in the cornerstone WADO loader.
Also, as a related question, why do we have to provide the frameIndex to decompress the pixelData? Does it automatically return the frame of interest if we have a muti-frame dataset?
Is it possible to extract all the pixelData at once, in the case of a multi-frame dataset, and split it later if needed, or is it not recommended?
Thanks
Nicolas

Hi Nicolas,
I just checked and readEncapsulatedPixelData() is working fine for me in the minified version.  Are all the other dicomParser functions working fine?  Maybe do a console.log(dicomParser) and check to make sure the function is in there.  This is very mysterious.
The use case behind the readEncapsulatedPixelData () API was to access a single image frame from a multi-frame instance and that is why you must specify the frameIndex.
readEncapsulatedPixelData() will return the frame requested by frameIndex, I am not sure if that is what you mean by "frame of interest".
dicomParser has no API to return all frames at once.  You can get all frames by iterating over the # of frames yourself and call readEncapsulatedPixelData() for each frame and do whatever you want with it - thats just 3 lines of code.
For cornerstone I decided to use the DICOM P10 instance in memory and pull frames out "on demand".  This seems to work well for that use case with the only caveat being that it doesn't integrate well with cornerstone's imageId based caching mechanism.  Rather than splitting the DICOM P10 into separate frames, my preference is to make the caching mechanism more flexible, I just haven't had time to do that yet.  If you have a MF instance with JPEG2000 frames in it, I could see a benefit to decompressing all frames and caching them in memory rather than decompressing them on use.  I am not sure what you are trying to do so can't say what is the best approach for you.

Thanks for the heads up -
I will double check it but as far as I remember when I tried to  do a console.log(dicomParser) , it was only showing the parseDicom function.
I am importing dicomParser via npm ("dicom-parser": "1.0.2") and using it with browserify.
I'll also try without NPM and keep you posted.

Ahh yes, someone else reported that not all code was being exported via NPM and even submitted PR #17 with a fix, but I didn't accept it because it exposed all the internals.  If someone wants to submit an updated PR with just the public API I'll accept it.

This should now be fixed, try getting the latest

Perfect it works as expected now! Thanks!


WIP: feature/katacodaBuildNg

#50

@TheMarcy dont't forget to modify the function summary in the documentation folder when adding a new feature.
Please add also a branch with the same name as the feature branch to your fork of the tutorials repo, to force the build pipeline to use your command. At the moment the build pipeline uses the main branch of your fork where the new command is not implemented.


Xorg Fails Nvidia

chroot.txt
newfile.txt
Please paste the output of the following command here: sudo edit-chroot -all
chronos@localhost /media/removable/sd200/chroots $  sudo edit-chroot -c /media/removable/sd200/chroots -all
name: bcore
encrypted: no
Entering /media/removable/sd200/chroots/bcore...
crouton: version 1-20220512214808
release: bookworm
architecture: arm64
xmethod: xiwi
targets: xiwi,x11,core
host: version 15054.114.0 (Official Build) stable-channel hana
kernel: Linux localhost 4.19.254-13653-ga5ef616743fe #1 SMP PREEMPT Thu Oct 13 19:09:54 PDT 2022 aarch64 GNU/Linux
freon: yes
Unmounting /media/removable/sd200/chroots/bcore...
name: book
encrypted: no
Entering /media/removable/sd200/chroots/book...
crouton: version 1-20221026165811~new-fix:552076e5
release: bookworm
architecture: arm64
xmethod: xorg
targets: x11
host: version 15054.114.0 (Official Build) stable-channel hana
kernel: Linux localhost 4.19.254-13653-ga5ef616743fe #1 SMP PREEMPT Thu Oct 13 19:09:54 PDT 2022 aarch64 GNU/Linux
freon: yes
Unmounting /media/removable/sd200/chroots/book...
name: bookworm
encrypted: no
Entering /media/removable/sd200/chroots/bookworm...
crouton: version 1-20221026165811~new-fix:552076e5
release: bookworm
architecture: arm64
targets: core
host: version 15054.114.0 (Official Build) stable-channel hana
kernel: Linux localhost 4.19.254-13653-ga5ef616743fe #1 SMP PREEMPT Thu Oct 13 19:09:54 PDT 2022 aarch64 GNU/Linux
freon: yes
Unmounting /media/removable/sd200/chroots/bookworm...
name: bullseye
encrypted: no
Entering /media/removable/sd200/chroots/bullseye...
crouton: version 1-20220512214808
release: bullseye
architecture: arm64
xmethod: xorg
targets: xiwi,x11,core
host: version 15054.114.0 (Official Build) stable-channel hana
kernel: Linux localhost 4.19.254-13653-ga5ef616743fe #1 SMP PREEMPT Thu Oct 13 19:09:54 PDT 2022 aarch64 GNU/Linux
freon: yes
Not unmounting /media/removable/sd200/chroots/bullseye as another instance is using it.
name: focal
encrypted: no
Entering /media/removable/sd200/chroots/focal...
crouton: version 1-20220512214808
release: focal
architecture: arm64
xmethod: xorg
targets: x11,xiwi
host: version 15054.114.0 (Official Build) stable-channel hana
kernel: Linux localhost 4.19.254-13653-ga5ef616743fe #1 SMP PREEMPT Thu Oct 13 19:09:54 PDT 2022 aarch64 aarch64 aarch64 GNU/Linux
freon: yes
Unmounting /media/removable/sd200/chroots/focal...
name: kali-rolling
encrypted: no
Entering /media/removable/sd200/chroots/kali-rolling...
crouton: version unknown
release: unknown
architecture: unknown
targets: core
host: version 15054.114.0 (Official Build) stable-channel hana
kernel: Linux localhost 4.19.254-13653-ga5ef616743fe #1 SMP PREEMPT Thu Oct 13 19:09:54 PDT 2022 aarch64 GNU/Linux
freon: yes
Unmounting /media/removable/sd200/chroots/kali-rolling...
name: xenial
encrypted: no
Entering /media/removable/sd200/chroots/xenial...
crouton: version 1-20220512214808
release: xenial
architecture: arm64
xmethod: xorg
targets: x11,core
host: version 15054.114.0 (Official Build) stable-channel hana
kernel: Linux localhost 4.19.254-13653-ga5ef616743fe #1 SMP PREEMPT Thu Oct 13 19:09:54 PDT 2022 aarch64 aarch64 aarch64 GNU/Linux
freon: yes
Unmounting /media/removable/sd200/chroots/xenial...
chronos@localhost /media/removable/sd200/chroots $

Please describe your issue:
X Protocol Version 11, Revision 0
[  8227.381] Build Operating System: linux Debian
[  8227.383] Current Operating System: Linux localhost 4.19.255-13653-ga5ef616743fe #1 SMP PREEMPT Thu Oct 13 19:09:54 PDT 2022 aarch64
[  8227.383] Kernel command line: cros_secure console= loglevel=7 init=/sbin/init cros_secure drm.trace=0x106 root=/dev/dm-0 rootwait ro dm_verity.error_behavior=3 dm_verity.max_bios=-1 dm_verity.dev_wait=1 dm="1 vroot none ro 1,0 4077568 verity payload=PARTUUID=1d128873-d1cb-5f47-960d-68e7a9818db0/PARTNROFF=1 hashtree=PARTUUID=1d128873-d1cb-5f47-960d-68e7a9818db0/PARTNROFF=1 hashstart=4077568 alg=sha256 root_hexdigest=e74cdb6a8b750cbf2b6dfc25ad8b7ea07cefc58b53ef98ee60834db4a684ba8d salt=4d7ed087a033cf5dfe4b11b8da0bcb302c1de1f7bdc44a92040f8aa7d59ddbdd" noinitrd vt.global_cursor_default=0 kern_guid=1d128873-d1cb-5f47-960d-68e7a9818db0 cpuidle.governor=teo
[  8227.384] Build Date: 05 August 2022  08:00:36AM
works
[  8227.439] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[  8227.442] (II) xfree86: Adding drm device (/dev/dri/card2)
[  8227.443] (II) no primary bus or device found
[  8227.443] (II) LoadModule: "glx"
bullseye)z@localhost:/usr/share/X11$ ls -lar
total 88
drwxr-xr-x.   2 root root  4096 Oct 20 20:11 xorg.conf.d
-rw-r--r--.   1 root root  8305 Feb 28  2020 xman.help
drwxr-xr-x.   8 root root  4096 Oct 20 20:11 xkb
lrwxrwxrwx.   1 root root    16 Feb 15  2021 rgb.txt -> /etc/X11/rgb.txt
drwxr-xr-x.  64 root root  4096 Oct 20 20:08 locale
-rw-r--r--.   1 root root 42077 Jul 26  2021 XErrorDB
drwxr-xr-x. 440 root root 16384 Oct 25 19:47 ..
drwxr-xr-x.   5 root root  4096 Oct 20 20:11 .
(bullseye)z@localhost:/usr/share/X11$ cd  xorg.conf.d
(bullseye)z@localhost:/usr/share/X11/xorg.conf.d$ ls -la
total 20
drwxr-xr-x. 2 root root 4096 Oct 20 20:11 .
drwxr-xr-x. 5 root root 4096 Oct 20 20:11 ..
-rw-r--r--. 1 root root 1350 Aug  5 01:00 10-quirks.conf
-rw-r--r--. 1 root root 1429 Aug 17  2020 40-libinput.conf
-rw-r--r--. 1 root root 2747 Jun 26  2017 70-wacom.conf
(bullseye)z@localhost:/usr/share/X11/xorg.conf.d$
X.Org X Server 1.20.11
X Protocol Version 11, Revision 0
[  8227.381] Build Operating System: linux Debian
[  8227.383] Current Operating System: Linux localhost 4.19.255-13653-ga5ef616743fe #1 SMP PREEMPT Thu Oct 13 19:09:54 PDT 2022 aarch64
[  8227.383] Kernel command line: cros_secure console= loglevel=7 init=/sbin/init cros_secure drm.trace=0x106 root=/dev/dm-0 rootwait ro d
m_verity.error_behavior=3 dm_verity.max_bios=-1 dm_verity.dev_wait=1 dm="1 vroot none ro 1,0 4077568 verity payload=PARTUUID=1d128873-d1cb
-5f47-960d-68e7a9818db0/PARTNROFF=1 hashtree=PARTUUID=1d128873-d1cb-5f47-960d-68e7a9818db0/PARTNROFF=1 hashstart=4077568 alg=sha256 root_h
exdigest=e74cdb6a8b750cbf2b6dfc25ad8b7ea07cefc58b53ef98ee60834db4a684ba8d salt=4d7ed087a033cf5dfe4b11b8da0bcb302c1de1f7bdc44a92040f8aa7d59
ddbdd" noinitrd vt.global_cursor_default=0 kern_guid=1d128873-d1cb-5f47-960d-68e7a9818db0 cpuidle.governor=teo
Fails
./xorg.conf.d:
total 20
drwxr-xr-x. 2 root root 4096 Oct 26 20:34 .
drwxr-xr-x. 5 root root 4096 Oct 26 17:56 ..
-rw-r--r--. 1 root root 1350 Sep 21 22:53 10-quirks.conf
-rw-r--r--. 1 root root 1429 Feb 12  2022 40-libinput.conf
-rw-r--r--. 1 root root 3458 Jul 14 07:19 70-wacom.conf
lrwxrwxrwx. 1 root root   50 Jun 30 11:29 nvidia-drm-outputclass.conf -> /etc/alternatives/glx--nvidia-drm-outputclass.conf
If known, describe the steps to reproduce the issue:
repair
glx--nvidia-drm-outputclass.conf

https://download.nvidia.com/XFree86/Linux-x86_64/396.51/README/editxconfig.html

try to install the package debootstrap / crouton does not use this install
https://packages.debian.org/bookworm/nvidia-kernel-dkms
in work will add to my fork
this is my GPU integrated powervr gx6250 FOSS drivers should work

Building for 4.19.255-13653-ga5ef616743fe and 5.19.0-2-arm64
Module build for kernel 4.19.255-13653-ga5ef616743fe was skipped since the
kernel headers for this kernel do not seem to be installed.
Building initial module for 5.19.0-2-arm64
Done.
nvidia-current.ko:
Running module version sanity check.

Original module

No original module exists within this kernel

Installation

Installing to /lib/modules/5.19.0-2-arm64/updates/dkms/

nvidia-current-modeset.ko:
Running module version sanity check.

Original module

No original module exists within this kernel

Installation

Installing to /lib/modules/5.19.0-2-arm64/updates/dkms/

nvidia-current-drm.ko:
Running module version sanity check.

Original module

No original module exists within this kernel

Installation

Installing to /lib/modules/5.19.0-2-arm64/updates/dkms/

nvidia-current-uvm.ko:
Running module version sanity check.

Original module

No original module exists within this kernel

Installation

Installing to /lib/modules/5.19.0-2-arm64/updates/dkms/

nvidia-current-peermem.ko:
Running module version sanity check.

Original module

No original module exists within this kernel

Installation

Installing to /lib/modules/5.19.0-2-arm64/updates/dkms/
depmod...
Processing triggers for glx-alternative-nvidia (1.2.1) ...
Processing triggers for glx-alternative-mesa (1.2.1) ...
Processing triggers for update-glx (1.2.1) ...
Processing triggers for libc-bin (2.35-3) ...
Processing triggers for glx-alternative-nvidia (1.2.1) ...
Processing triggers for libc-bin (2.35-3) ...
Processing triggers for initramfs-tools (0.142) ...
(book)z@localhost:~$

well progress after nvidia akms and arm64 kernel update bookworm
linux-headers-cloud-arm64
installed
(++) Log file: "/tmp/Xorg.crouton.1.log", Time: Thu Oct 27 12:01:48 2022
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
there is no conf files installed
32460.480] (II) LoadModule: "fb"
[ 32460.480] (II) Module "fb" already built-in
[ 32460.480] (II) UnloadModule: "nvidia"
[ 32460.480] (II) Unloading nvidia
[ 32460.480] (EE) modeset(0): drmSetMaster failed: Invalid argument
still fail
[ 32460.480] (EE)
Fatal server error:
[ 32460.480] (EE) AddScreen/ScreenInit failed for driver 0
[ 32460.480] (EE)
[ 32460.480] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.

i got the server to start via xorg.conf in /etc/X11 however the graphics will not connect
the crouton xinit in /usrlocal/bin is being used mate starts the server will not connect yet

i have to admit hacking now
the server starts via the crouton xorg.conf bit hangs and requires reboot xfce4... mate kde
I need to read up on Xorg video Nvidia is now the game it appears maybe not the kernel has been updated in bullseye for nvidia as is Ubuntu for free86 dummy
the chromeOS I/F is still not connecting mouse and keyboard ,, this is why reboot

im getting very verbose message the console kit is not installed  apparently so ,, cros_secure console= loglevel=7 is not happening at server start it complains tty is not present
Kernel command line: cros_secure console= loglevel=7 init=/sbin/init cros_secure drm.trace=0x106 root=/dev/dm-0 rootwait ro dm_verity.error_behavior=3 dm_verity.max_bios=-1 dm_verity.dev_wait=1 dm="1 vroot none ro 1,0 4077568 verity payload=PARTUUID=1d128873-d1cb-5f47-960d-68e7a9818db0/PARTNROFF=1 hashtree=PARTUUID=1d128873-d1cb-5f47-960d-68e7a9818db0/PARTNROFF=1 hashstart=4077568 alg=sha256 root_hexdigest=e74cdb6a8b750cbf2b6dfc25ad8b7ea07cefc58b53ef98ee60834db4a684ba8d salt=4d7ed087a033cf5dfe4b11b8da0bcb302c1de1f7bdc44a92040f8aa7d59ddbdd" noinitrd vt.global_cursor_default=0 kern_guid=1d128873-d1cb-5f47-960d-68e7a9818db0 cpuidle.governor=teo

My guess is to review the Intel Free86 video org install for crouton the chomeOS console works with this
xiwi uses the chomeoOS console and dummy Free86 drivers this also now has issues with res and clk

I can't pretend I've read all of that, but if you're trying to use the proprietary nvidia drivers, you have to build the kernel modules against the ChromeOS kernel and include them in the root partition (outside the chroot).  It's super messy and probably won't work.  You might want to look at some of the tutorials and issues floating around for running VirtualBox in crouton; it's kind of the same problem.
You also might have better luck with nouveau?

debian installed them also kali have them i did not choose the nvidia drivers debootstrap debian did

the xorg server starts no keyboard or pointer it hangs in wait state reboot is the only way to recover

xorg.txt
it appears some edit and change in package install for crouton kms kernels


Custom Editor open with built-in doesn't work when already open with custom

Testing https://github.com/microsoft/vscode/issues/99003
I have the .cscratch file open in the custom editor, then I also want to open the built in editor from the explorer view:

Duplicate of #99252. Should be fixed in the next insiders build


Add script for install/uninstall test sdk packages

Script for inner loop testing to make install/uninstalling the main packages for E2E testing faster instead of individually adding/removing packages and having to kill active SDK processes in the task manager.
Packages installed/uninstalled:

Microsoft.WindowsAppRuntime.Framework.msix
DynamicDependency.DataStore.msix
DynamicDependencyLifetimeManager.msix
PushNotificationsLongRunningTask.msix

Need to parameter for demo app package and move to tools folder


3rd party additions (from SVN source)

Copied from http://svn.python.org/projects/python/branches/release27-maint/Lib/

@ yashpatel5400 Did you check all 3rd party works well?

@yashpatel5400 And you looks like make a separate commit for this PR.

I think you need to run tests like this way for your svn copied libraries.
https://github.com/google/grumpy/commit/d641069abd42a11325b2fee05c84ddb88b15a660

Please import CPython library sources into third_party/stdlib. Also, as Dong-hee says, everything that's checked into third_party should be confirmed to work. We've been doing this by copying libraries one-by-one from CPython or PyPy.

So, should I create test files for each of the imported libraries and just move these into the stdlib? I didn't put them in stdlib initially because I'd be overwriting files, but I'll move them and do another request.

Many of the libraries already exist, so there's no need to import them. I recommend filing separate PRs for each library that you import. E.g. if you want to support mimetypes, then file a PR with mimetypes.py and test/test_mimetypes.py.

@yashpatel5400
To use 3rd party libraries on grumpy needs to implement basic python operation some of them are not implemented yet and some of them are not 100% compatible.
So what you need to do is importIng each of 3rd party library and then run unit tests for them.
Each of unit tests should be worked well on grumpy. If not you should implement related API or modify that API.

Actually,

@corona10 Ah, got it. I'll retract the current push, since it's just all the source files without any tests written for them and start to do separate ones for each


How to understand the experiments in Table2?

A great work.
I have a little problem understanding the experiments in Table2.  My understanding is as follows:

For those unaligned pre-training methods, only use 1%, 5%, ..., 100% data chosen from COCO train2017 to finetune them. Is that correct?
For those aligned pre-training methods,  first pre-train(box-domain) them on the whole COCO train2017, then use 1%, 5%, ..., 100% data from COCO train2017 to finetune them. Is that correct?
In addition to the above two questions, I notice that in section4.2, there is a statement: "We provide 5 different
data folds for each low-data setting, and the final performance is the average of all results". How to understand the number '5' and 'low-data' here? A single result in Table2 is the average of 5 results??? I am confused about the logics here.

Appreciation for answering my questions!

Hi @pILLOW-1,
Thanks for your questions.

Yes. The 1%, 5%, ..., and 100% denote we choose the part of the data with accurate annotations to validate the effectiveness under the low-data settings.
Yes. Both the aligned methods and unaligned methods are the same settings.
The 'low data' here means the  1%, 5%, ..., 50% of whole COCO data. To avoid random error, for these subdatasets we run 5 experiments with different subset each, and then report the averaged results. All the results in Table 2 (except 100% data column) are calculated 5 times and calculate the average value.

Hope these explanations could help you.

Got it. Thanks!


~winter-paches

"hey again... i am also going to be starting up a group for coastal south carolina (not sure we have anyone but...) so if you could include me in your distro for materials, i would appreciate it. thanks."

reached out 1/31


SwaggerHub not properly supports inheritance

Solution:
https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/UnionInternationalCheminsdeFer/OSDM/master/specification/v1.4.0/OSDM-online-api-v1.4.2.yaml&nocors#tag/Master-Data/operation/getCoachLayouts

Switched to Redoc


[Logging V2]  Remove "deploy to controlplane nodes" checkbox from chart options

After some discussion related to this issue https://github.com/rancher/rancher/issues/29297 we are going to always schedule fluentbit pods on rke controlplane / etcd nodes.  The dasboard should not pass any values for the fluentbit_tolerations value.

This was tested as part of https://github.com/rancher/rancher/issues/29297
Additional checks:

No tolerations passed by the UI to the installation.
Only k3s clusters has chart options now. K3s Container Engine

Rancher version: master-head (10/01/2020) 1b0778b
rancher-logging 3.6.000
All the following was installed from Dashboard

RKE with 1 dedicated etcd, 1 dedicated control plane and 3 workers.

All nodes had a container for collecting logs
After installing I increased the scale of the etcd nodes to 3 and the fluentbit daemonset scaled properly
Logs were flowing to a configured Output

EKS this was installed properly, all nodes had their fluentbit log collector.
k3s this was installed properly, all nodes had their fluentbit log collector.
RKE2 this was installed properly, all nodes had their fluentbit log collector.


response is truncated from API

After pip install openai, I tried:
openai api completions.create -e text-davinci-003 -p "what means soyboy in French?

I get
Le terme « soyboy » n'est pas courant en

The text is not finished/truncated.
What I did wrong? I see no documentation here on how to set tokens from command line if this is the issue there.

Ok,
openai api completions.create -e text-davinci-003 -M 1000 -p "what means soyboy in French?"

same issue for me with version:0.26.5

Could you manage to generate the full response?

Similar problem here. The max_tokens parameter has no effect for me.

Setting --max_tokens, or -M, from the command line should be the correct way to solve this issue since it looks like the original just needed more tokens. Is that not what others are seeing?

This is --max-tokens.

Setting --max_tokens, or -M, from the command line should be the correct way to solve this issue since it looks like the original just needed more tokens. Is that not what others are seeing?

This is --max-tokens.

openai api completions.create -e text-davinci-003 -M 1000 -p "what means soyboy in French?"

Yes, said already this January 21 if you take care

The default value of max_tokens in v1/completions (openai.Completion.create) is 16, which is why you might see the response cut off. This is reflected in the response under choices.finish_reason as length. You can change this value as you please.


Support adjusting the log level for integrations

This solves issue #2000

Release Note
Support adjusting the log level for integrations

@orpiske Would it be possible to backport this onto 1.4.x?

@orpiske Would it be possible to backport this onto 1.4.x?

I think so. We would need to backport other 2 patches/commits with the trait support, but it should be small.
That said: there is a work-around for 1.4 that would not require backporting. What do you think @astefanutti / @nicolaferraro ?

@orpiske I'm OK back porting the whole logging trait into 1.4.x branch.
Also, to wrap that great work with an equally great documentation, I would suggest to remove the existing page:
https://camel.apache.org/camel-k/latest/configuration/logging.html
And create a new one under "Observability/Logging" covering the new feature introduced by your work.

@orpiske I'm OK back porting the whole logging trait into 1.4.x branch.

Deal. I will take care of that and will open a PR for 1.4.x.

Also, to wrap that great work with an equally great documentation, I would suggest to remove the existing page:
https://camel.apache.org/camel-k/latest/configuration/logging.html
And create a new one under "Observability/Logging" covering the new feature introduced by your work.

Thanks! Deal. I will do that on a separate PR, as I have to check a bit more carefully about removing the doc part.

@orpiske awesome! Once the documentation work is done, I think we can close #580.


Augmented segmentation outcomes?

Hi!
First of all, congratulations on your great work.
While trying to reproduce the results on my custom dataset, I have become curious as to the differences between the three different segmentation maps your model outputs.
The second one seems to be the main prediction according to your code, but what do the other segmentation maps mean, and what purpose do they achieve during training and inference?
Thank you in advance!
Regards.

Thank you for the quick and clear answer!
Just one more thing - there seems to be a test configuration in the config files but no testing script under the /tools directory.
Should I just load the best checkpoint into the model and input my custom data?
Again, thank you for your consideration.

Thank you very much for your assistance!
Have a great day.


[VS Code] Service not available: DebuggerHostService

<!--
For Visual Studio problems/feedback, please use the Report

Thanks for reporting the issue. To help us investigate it, can you please get Live Share logs from VS Code and attach them to the issue? To get the logs, run 'Live Share: Export Logs' command from VS Code command palette. The command will ask you for the zip file location, and will save the logs into that file. You can then attach the file to the issue.

@djarekg Hey! This issue has been resolved in the latest Live Share release, so if you update the extension, that should unblock you. In the meantime, I’ll close this issue as resolve, but please re-open it if you run into this problem again. Thanks!


SafeArea plays badly with Tabs

Description
Putting the Tabs example from the documentation in a SafeArea control, renders Tab 1 not readable.
Code example to reproduce the issue:
import flet as ft

def main(page: ft.Page):
    t = ft.Tabs(
        tabs=[
            ft.Tab(
                text="Tab 1",
                content=ft.Container(
                    content=ft.Text("This is Tab 1"), alignment=ft.alignment.center
                ),
            ),
            ft.Tab(
                tab_content=ft.Icon(ft.icons.SEARCH),
                content=ft.Text("This is Tab 2"),
            ),
            ft.Tab(
                text="Tab 3",
                icon=ft.icons.SETTINGS,
                content=ft.Text("This is Tab 3"),
            ),
        ],
        expand=True,
    )

    page.add(ft.SafeArea(t))
    # page.add(t)

ft.app(target=main)

Describe the results you received:
Tab 2 renders correctly:

Tab 1 does not display its content:

While running the example without the SafeArea, the content of Tab 1 is shown:

Describe the results you expected:
I'd expect, that the SafeArea has no influence on the rendering of the contents of Tab 1
Flet version (pip show flet):
0.22.0

Give your requirements.txt file (don't pip freeze, instead give direct packages):
flet

Operating system:
Linux
Additional environment details:

Expand the SafeArea as follows: page.add(ft.SafeArea(t, expand=True))

Thank you for the reply. The expand=True completely fixed the issue. Thank you for your help.


missing package.json info

hi @digitaljohn
looks like Strapi v4 PR was missing a package.json change, sorry for the inconvenience

Since it's approved since December, would you mind merging this? Mainly because of this line:
"node": ">=14.x.x <=18.x.x",

Node 14 is rapidly approaching the end of its life cycle.


UT fix FE UT when enable decimal conversion

Proposed changes
Issue Number: close #xxx
Problem summary
Describe your changes.
Checklist(Required)

[ ] Does it affect the original behavior
[ ] Has unit tests been added
[ ] Has document been added or modified
[ ] Does it need to update dependencies
[ ] Is this PR support rollback (If NO, please explain WHY)

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 33.61 seconds
stream load tsv:          422 seconds loaded<PHONE_NUMBER>9 Bytes, about 169 MB/s
stream load json:         21 seconds loaded<PHONE_NUMBER> Bytes, about 107 MB/s
stream load orc:          59 seconds loaded<PHONE_NUMBER> Bytes, about 17 MB/s
stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230516120235_clickbench_pr_144590.html


Fix e2e tests and the backup cleanup job history bug

[x] I've made sure the Changelog.md will remain up-to-date after this PR is merged.

@bogdanpetrea agreed. So I've added a hash to that name and also a unit test. Please review again :smile:

Just wanted to mention: an alphanumeric hash would lower the collision even more, but I think it's good enough anyway.


[2.4] Review Default k8s versions for hosted k8s providers (EKS)

Review the latest k8s versions supported by the cloud providers and update accordingly.

@maggieliu is this for KE v2 ? If so what priority ?

Low priority, but something we need to check before 2.5 GA. I think GKE and AKS are both pulling the latest k8s versions dynamically and EKS is the only one that requires manual update of AMIs.

AMI IDs: https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html

But can be easier to retrieve the AMI IDs this way: https://docs.aws.amazon.com/eks/latest/userguide/retrieve-ami-id.html

Previous PR for updating: https://github.com/rancher/kontainer-engine/pull/233

FYI, there is a script that could be used to get the list of AMI IDs: https://github.com/rancherlabs/eio/issues/256#issuecomment-694528476

We no longer need to actively maintain AMI IDs for 2.5+ as we have moved to EKS v2.
For any EKS v1 clusters, upgrades and edits only require the k8s version and not the specific AMIs.
This is only applicable to maintaining 2.3/2.4 going forward so I've moved this to 2.4.9.

This is only relevant for 2.4.

latest2, latest-2.4, latest-2.5 ui builds are ready

Tested on latest 2.4-head - commit 71e29c6
An error message could be encountered when testing CN regions

@paynejacob  could you help pick your previous PR to release/v2.4?

On latest 2.4-head commit id: f210f54bd
Error seen while launching clusters with 1.14 and 1.18 hosted EKS clusters from rancher

Reopening the issue for the error seen on 2.4-head

on 2.4-head commit id: 6b91c87ab

Deploy EKS v1 1.14 and 1.18 clusters.
Clusters come up Active.

Clusters come up Active.


C210 controls and other settings not working

Description
Many controls and configuration options are grayed out

Is this normal? I remember some of them where working in the past because I have configurations based on them? could this be due to a firmware upgrade?
Reproduction Steps
.
Expected behavior
.
If applicable, add error logs.
No response
Device Firmware
1.3.0 Build 220830 Rel.69909n(4555)
Using stream component
Yes
Does camera work via official integrations?
Yes
Camera has all attributes filled out in developer tools
Yes
HASS Environment
Docker
Search for similar issues
Yes
Additional information
No response

Check and send logs. This is expected if camera is probably available or reachable by HA.


Implement CLI Tools (Kuon CLI)

Provide users a Kuon based tool to use twitter from CLI easily

uzimaru0000/petit seems to be a nice CLI tool.


test test_connect_src_event_src_blocked is failing on Firefox

test seems failing due to issue here in js part of the test:
    try {
            var es = new EventSource("/events");
            testFailed("Fail");
    } catch(e) {
            testPassed("Pass");
    }

seems on Firefox even if CSP blocks sending request, EventSource object is successfully created. Need to rewrite this piece to be reliable on all browsers

Fixed


check on why GG transit not in stop_times table

looks like https://github.com/MetropolitanTransportationCommission/RegionalTransitDatabase/blob/master/python/preprocess_gtfs_folders.py may have not processed GG

seems like this isn't necessary as long as we are just using the source GTFS data


Undefined routes leaking random certs.

Current behavior
When visiting the proxy with an undefined domain, in my case the domain is directed with a wildcard A record, while having at least one valid upstream container with LETSENCRYPT_HOST defined, the current nginx conf generated will serve the first cert available in the conf file.
This is essentially leaking one of the upstream domains in an unpredictable way.
Expected behavior
It should fallback to http and shows 503, the same behavior as if nginx-proxy working without letsencrypt-nginx-proxy-companion.

Please see #373

I feel that the issue is more on the nginx-proxy side if the config generated by docker-gen requires a default.cert and default.key files and does not work as expected when they are not present.
Let me know your advice on this.

Not at the moment but I'm considering it.

Ok, judging by the number of people that reported this as an issue the past few weeks, I think automatic creation of this default certificate should be added to the container. I'm already working on it.

Update : I'm still working on this, just not very fast 'cause summer holidays. I intend this to be fixed by the end of august at the very latest.
Meanwhile, you can manually create a default cert and key with this command, just replace your-companion-container with the actual name or id or your letsencrypt-nginx-proxy-companion container:
docker exec your-companion-container openssl req -x509 \
    -newkey rsa:4096 -sha256 -nodes -days 365 \
    -subj "/CN=default" \
    -keyout /etc/nginx/certs/default.key \
    -out /etc/nginx/certs/default.crt

This should be fixed by #423

Guess I'll have to do more searching, closing this issue. Thanks again!


Fix clipping of menu items when using Navigation LeftFluent

Pull request type

Please check the type of change your PR introduces:

[ ] Update
[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Documentation content changes

What is the current behavior?
When using the LeftFluent navigation feature the text below the icons clip after selecting a menu item and then selecting another menu item. Letters that fall below the baseline don't appear correctly. Example letters:  g, j, p, q, y. This can be seen by running the examples with navigation set to LeftFluent and then click on "Settings" and then back to Home or Data. The "g" in settings will now be clipped.
Issue Number: N/A
What is the new behavior?

the icon animation will process based on the FluentNavIconSize to match the icons size
no letters are clipped after the animation

Other information
Before

After

@pomianowski The auto response from the cla-bot makes reference to signing a CLA. But there is no contact or additional information on this. Is there anything you need me to do for that?


bash has $COLUMNS builtin

http://www.delorie.com/gnu/docs/bash/bashref_62.html
use $COLUMNS variable, if present, avoiding executing tput from ncurses package.
the code does not seem to handle nicely if tput is missing somewhy, imho should 2>/dev/null the invocation and skip if that gave no output

maybe should force enable this for the variable to exist:
# bash checks the window size after each command and, if necessary, updates the values of LINES and COLUMNS.
shopt -s checkwinsize

but i'm not sure where's the best place for it, the same file, or the main script?

Alas, $COLUMNS is only available in interactive mode (http://mywiki.wooledge.org/BashFAQ/091), even with shopt -s checkwinsize.


Make sure Advanced Strategic Icon Pack is supported

I just tried the 0.7.6 client and noticed it doesn't seem to support the use of the Advanced Strategic Icons pack like the vanilla client. Is this possible to fix?

Maybe the init file needs some adjustment?

Fixed by adding "advanced strategic icons.scd" in whitelist. There's a "advanced strategic icons.nxt", which I think is useless as game works fine when replaced with the ".scd" above.

@micheljung I got no idea what the Advanced Strategic Icon Pack is :(

@axel1200 https://forums.faforever.com/viewtopic.php?f=41&t=2740

OK cool instaled it. But not clear to me what needs to be done.

When the game starts, an "init" file is passed to it. This mounts various files into the game's virtual file system.
The init file is generated, based on init_template.lua, which contains a blacklist (files not to mount) and whitelist (files that are ok) - the whitelist already contains advanced strategic icons.nxt. I haven't looked into details but apparently, the file is called advanced strategic icons.scd instead. So all we need to do is to fix this entry.
Could've done it myself while I wrote this, but doesn't hurt if you get to know the mechanism :D


Modifies push to push only changed files during execution

fixes #2018
How to test:

create a component and push
create a new file or modify a file and push
check inside the container that only the modified/added files were pushed by using stat and checking the timestamps

@alanconway @kadel  I have added the functionality for pushing only the changed files in this PR but the time difference isn't much.
I have seen performance gain of ~2 secs only. And on CI it's almost the same ~2 sec. But checking the stat for the files, it seems only the changed files got pushed. I have also added a e2e test regarding the same. How can I make it faster? Please help.

@mik-dass There are some CI failure happening due to your changes i guess

@mik-dass Yesterday the pr test went through but when i am running the test on same pr today i fails.
Pasting my observations
Yesterday
$ make test-cmd-push
[...]
[odo]  ✓  New project created and now using project : euixpvydwt
Created dir: /var/folders/c9/fb55pf_568dfd1fzj9w1v4n00000gn/T/183625878
Running git with args [git clone https://github.com/openshift/nodejs-ex /var/folders/c9/fb55pf_568dfd1fzj9w1v4n00000gn/T/183625878/nodejs-ex]
[git] Cloning into '/var/folders/c9/fb55pf_568dfd1fzj9w1v4n00000gn/T/183625878/nodejs-ex'...
Running odo with args [odo component create nodejs nodejs --project euixpvydwt --context /var/folders/c9/fb55pf_568dfd1fzj9w1v4n00000gn/T/183625878/nodejs-ex --app app]
[odo]  •  Validating component  ...
[odo]  ✓  Validating component [6ms]
[odo] Please use `odo push` command to create the component with source deployed
[odo]
Running odo with args [odo url create --port 8080 --context /var/folders/c9/fb55pf_568dfd1fzj9w1v4n00000gn/T/183625878/nodejs-ex]
[odo]  ✓  URL nodejs-8080 created for component: nodejs
[odo]
[odo] To create URL on the OpenShift Cluster, please use `odo push`
Running odo with args [odo push --context /var/folders/c9/fb55pf_568dfd1fzj9w1v4n00000gn/T/183625878/nodejs-ex]
[odo] Validation
[odo]  •  Checking component  ...
[odo]  ✓  Checking component [10ms]
[odo]
[odo] Configuration changes
[odo]  •  Creating component  ...
[odo]  ✓  Initializing component
[odo]  ✓  Creating component [84ms]
[odo]  •  Applying configuration  ...
[odo]  ✓  Applying configuration [13143ns]
[odo]
[odo] Applying URL changes
[odo]  ✓  URL nodejs-8080: http://nodejs-8080-app-euixpvydwt.<IP_ADDRESS>.nip.io created
[odo]
[odo] Pushing to component nodejs of type local
[odo]  •  Checking files for pushing  ...
[odo]  ✓  Checking files for pushing [1ms]
[odo]  •  Waiting for component to start  ...
[odo]  ✓  Waiting for component to start [3m]
[odo]  •  Syncing files to the component  ...
[odo]  ✓  Syncing files to the component [2s]
[odo]  •  Building component  ...
[odo]  ✓  Building component [13s]
[odo]  ✓  Changes successfully pushed to component
Running oc with args [oc get pods --namespace euixpvydwt --selector=deploymentconfig=nodejs-app -o jsonpath='{.items[0].metadata.name}']
[oc] 'nodejs-app-1-v8bjk'Running oc with args [oc exec nodejs-app-1-v8bjk --namespace euixpvydwt -c nodejs-app -- stat /tmp/src/server.js]
[oc]   File: '/tmp/src/server.js'
[oc]   Size: 3814       Blocks: 8          IO Block: 4096   regular file
[oc] Device: 100032h/1048626d   Inode: 751452      Links: 1
[oc] Access: (0644/-rw-r--r--)  Uid:<PHONE_NUMBER>/ UNKNOWN)   Gid: (    0/    root)
[oc] Access: 2019-08-21 13:10:24.246271298 +0000
[oc] Modify: 2019-08-21 13:07:42.000000000 +0000
[oc] Change: 2019-08-21 13:10:22.220271391 +0000
[oc]  Birth: -
Running oc with args [oc get pods --namespace euixpvydwt --selector=deploymentconfig=nodejs-app -o jsonpath='{.items[0].metadata.name}']
[oc] 'nodejs-app-1-v8bjk'Running oc with args [oc exec nodejs-app-1-v8bjk --namespace euixpvydwt -c nodejs-app -- stat /tmp/src/views/index.html]
[oc]   File: '/tmp/src/views/index.html'
[oc]   Size: 40937      Blocks: 80         IO Block: 4096   regular file
[oc] Device: 100032h/1048626d   Inode: 8776360     Links: 1
[oc] Access: (0644/-rw-r--r--)  Uid:<PHONE_NUMBER>/ UNKNOWN)   Gid: (    0/    root)
[oc] Access: 2019-08-21 13:10:24.248271298 +0000
[oc] Modify: 2019-08-21 13:07:42.000000000 +0000
[oc] Change: 2019-08-21 13:10:22.221271391 +0000
[oc]  Birth: -
Running oc with args [oc get route -n euixpvydwt -l app.kubernetes.io/instance=nodejs -l app.kubernetes.io/part-of=app -o jsonpath={.items[0].spec.host}]
[oc] nodejs-8080-app-euixpvydwt.<IP_ADDRESS>.nip.ioReplacing "Welcome to your Node.js application on OpenShift" with "UPDATED!" in /var/folders/c9/fb55pf_568dfd1fzj9w1v4n00000gn/T/183625878/nodejs-ex/views/index.html
Running odo with args [odo push --context /var/folders/c9/fb55pf_568dfd1fzj9w1v4n00000gn/T/183625878/nodejs-ex]
[odo] Validation
[odo]  •  Checking component  ...
[odo]  ✓  Checking component [20ms]
[odo]
[odo] Configuration changes
[odo]  •  Applying configuration  ...
[odo]  ✓  Applying configuration [73ms]
[odo]
[odo] Applying URL changes
[odo]  ✓  URL nodejs-8080 already exists
[odo]
[odo] Pushing to component nodejs of type local
[odo]  •  Checking file changes for pushing  ...
[odo]  ✓  Checking file changes for pushing [2ms]
[odo]  •  Waiting for component to start  ...
[odo]  ✓  Waiting for component to start [6ms]
[odo]  •  Syncing files to the component  ...
[odo]  ✓  Syncing files to the component [2s]
[odo]  •  Building component  ...
[odo]  ✓  Building component [10s]
[odo]  ✓  Changes successfully pushed to component
Running oc with args [oc get pods --namespace euixpvydwt --selector=deploymentconfig=nodejs-app -o jsonpath='{.items[0].metadata.name}']
[oc] 'nodejs-app-1-v8bjk'Running oc with args [oc exec nodejs-app-1-v8bjk --namespace euixpvydwt -c nodejs-app -- stat /tmp/src/views/index.html]
[oc]   File: '/tmp/src/views/index.html'
[oc]   Size: 40897      Blocks: 80         IO Block: 4096   regular file
[oc] Device: 100032h/1048626d   Inode: 8776360     Links: 1
[oc] Access: (0644/-rw-r--r--)  Uid:<PHONE_NUMBER>/ UNKNOWN)   Gid: (    0/    root)
[oc] Access: 2019-08-21 13:10:41.425270509 +0000
[oc] Modify: 2019-08-21 13:10:38.000000000 +0000
[oc] Change: 2019-08-21 13:10:39.310270606 +0000
[oc]  Birth: -
Running oc with args [oc get pods --namespace euixpvydwt --selector=deploymentconfig=nodejs-app -o jsonpath='{.items[0].metadata.name}']
[oc] 'nodejs-app-1-v8bjk'Running oc with args [oc exec nodejs-app-1-v8bjk --namespace euixpvydwt -c nodejs-app -- stat /tmp/src/server.js]
[oc]   File: '/tmp/src/server.js'
[oc]   Size: 3814       Blocks: 8          IO Block: 4096   regular file
[oc] Device: 100032h/1048626d   Inode: 751452      Links: 1
[oc] Access: (0644/-rw-r--r--)  Uid:<PHONE_NUMBER>/ UNKNOWN)   Gid: (    0/    root)
[oc] Access: 2019-08-21 13:10:24.246271298 +0000
[oc] Modify: 2019-08-21 13:07:42.000000000 +0000
[oc] Change: 2019-08-21 13:10:22.220271391 +0000
[oc]  Birth: -
Checking http://nodejs-8080-app-euixpvydwt.<IP_ADDRESS>.nip.io, for UPDATED!
try 0 of 30
[...]

• [SLOW TEST:200.460 seconds]
odo push command tests
/Users/amit/go/src/github.com/openshift/odo/tests/integration/cmd_push_test.go:14
  when push command is executed
  /Users/amit/go/src/github.com/openshift/odo/tests/integration/cmd_push_test.go:39
    should push only the modified files
    /Users/amit/go/src/github.com/openshift/odo/tests/integration/cmd_push_test.go:190
------------------------------
[...]
Test Suite Passed

Today
$ make test-cmd-push
[...]
[odo]  ✓  New project created and now using project : jozokveowu
Created dir: /var/folders/c9/fb55pf_568dfd1fzj9w1v4n00000gn/T/526747973
Running git with args [git clone https://github.com/openshift/nodejs-ex /var/folders/c9/fb55pf_568dfd1fzj9w1v4n00000gn/T/526747973/nodejs-ex]
[git] Cloning into '/var/folders/c9/fb55pf_568dfd1fzj9w1v4n00000gn/T/526747973/nodejs-ex'...
Running odo with args [odo component create nodejs nodejs --project jozokveowu --context /var/folders/c9/fb55pf_568dfd1fzj9w1v4n00000gn/T/526747973/nodejs-ex --app app]
[odo]  •  Validating component  ...
[odo]  ✓  Validating component [7ms]
[odo] Please use `odo push` command to create the component with source deployed
[odo]
Running odo with args [odo url create --port 8080 --context /var/folders/c9/fb55pf_568dfd1fzj9w1v4n00000gn/T/526747973/nodejs-ex]
[odo]  ✓  URL nodejs-8080 created for component: nodejs
[odo]
[odo] To create URL on the OpenShift Cluster, please use `odo push`
Running odo with args [odo push --context /var/folders/c9/fb55pf_568dfd1fzj9w1v4n00000gn/T/526747973/nodejs-ex]
[odo] Validation
[odo]  •  Checking component  ...
[odo]  ✓  Checking component [11ms]
[odo]
[odo] Configuration changes
[odo]  •  Creating component  ...
[odo]  ✓  Initializing component
[odo]  ✓  Creating component [113ms]
[odo]  •  Applying configuration  ...
[odo]  ✓  Applying configuration [16409ns]
[odo]
[odo] Applying URL changes
[odo]  ✓  URL nodejs-8080: http://nodejs-8080-app-jozokveowu.<IP_ADDRESS>.nip.io created
[odo]
[odo] Pushing to component nodejs of type local
[odo]  •  Checking files for pushing  ...
[odo]  ✓  Checking files for pushing [1ms]
[odo]  •  Waiting for component to start  ...
[odo]  ✓  Waiting for component to start [10s]
[odo]  •  Syncing files to the component  ...
[odo]  ✓  Syncing files to the component [2s]
[odo]  •  Building component  ...
[odo]  ✓  Building component [13s]
[odo]  ✓  Changes successfully pushed to component
Running oc with args [oc get pods --namespace jozokveowu --selector=deploymentconfig=nodejs-app -o jsonpath='{.items[0].metadata.name}']
[oc] 'nodejs-app-1-x49rz'Running oc with args [oc exec nodejs-app-1-x49rz --namespace jozokveowu -c nodejs-app -- stat /tmp/src/server.js]
[oc]   File: '/tmp/src/server.js'
[oc]   Size: 3814       Blocks: 8          IO Block: 4096   regular file
[oc] Device: 100031h/1048625d   Inode: 4891695     Links: 1
[oc] Access: (0644/-rw-r--r--)  Uid:<PHONE_NUMBER>/ UNKNOWN)   Gid: (    0/    root)
[oc] Access: 2019-08-21 15:15:31.022926528 +0000
[oc] Modify: 2019-08-22 05:19:22.000000000 +0000
[oc] Change: 2019-08-21 15:15:28.967926623 +0000
[oc]  Birth: -
Running oc with args [oc get pods --namespace jozokveowu --selector=deploymentconfig=nodejs-app -o jsonpath='{.items[0].metadata.name}']
[oc] 'nodejs-app-1-x49rz'Running oc with args [oc exec nodejs-app-1-x49rz --namespace jozokveowu -c nodejs-app -- stat /tmp/src/views/index.html]
[oc]   File: '/tmp/src/views/index.html'
[oc]   Size: 40937      Blocks: 80         IO Block: 4096   regular file
[oc] Device: 100031h/1048625d   Inode: 8776329     Links: 1
[oc] Access: (0644/-rw-r--r--)  Uid:<PHONE_NUMBER>/ UNKNOWN)   Gid: (    0/    root)
[oc] Access: 2019-08-21 15:15:31.023926528 +0000
[oc] Modify: 2019-08-22 05:19:22.000000000 +0000
[oc] Change: 2019-08-21 15:15:28.969926623 +0000
[oc]  Birth: -
Running oc with args [oc get route -n jozokveowu -l app.kubernetes.io/instance=nodejs -l app.kubernetes.io/part-of=app -o jsonpath={.items[0].spec.host}]
[oc] nodejs-8080-app-jozokveowu.<IP_ADDRESS>.nip.ioReplacing "Welcome to your Node.js application on OpenShift" with "UPDATED!" in /var/folders/c9/fb55pf_568dfd1fzj9w1v4n00000gn/T/526747973/nodejs-ex/views/index.html
Running odo with args [odo push --context /var/folders/c9/fb55pf_568dfd1fzj9w1v4n00000gn/T/526747973/nodejs-ex]
[odo] Validation
[odo]  •  Checking component  ...
[odo]  ✓  Checking component [21ms]
[odo]
[odo] Configuration changes
[odo]  •  Applying configuration  ...
[odo]  ✓  Applying configuration [51ms]
[odo]
[odo] Applying URL changes
[odo]  ✓  URL nodejs-8080 already exists
[odo]
[odo] Pushing to component nodejs of type local
[odo]  •  Checking file changes for pushing  ...
[odo]  ✓  Checking file changes for pushing [1ms]
[odo]  •  Waiting for component to start  ...
[odo]  ✓  Waiting for component to start [5ms]
[odo]  •  Syncing files to the component  ...
[odo]  ✓  Syncing files to the component [2s]
[odo]  •  Building component  ...
[odo]  ✓  Building component [7s]
[odo]  ✓  Changes successfully pushed to component
Running oc with args [oc get pods --namespace jozokveowu --selector=deploymentconfig=nodejs-app -o jsonpath='{.items[0].metadata.name}']
[oc] 'nodejs-app-1-x49rz'Running oc with args [oc exec nodejs-app-1-x49rz --namespace jozokveowu -c nodejs-app -- stat /tmp/src/views/index.html]
[oc]   File: '/tmp/src/views/index.html'
[oc]   Size: 40897      Blocks: 80         IO Block: 4096   regular file
[oc] Device: 100031h/1048625d   Inode: 8776329     Links: 1
[oc] Access: (0644/-rw-r--r--)  Uid:<PHONE_NUMBER>/ UNKNOWN)   Gid: (    0/    root)
[oc] Access: 2019-08-21 15:15:47.218925784 +0000
[oc] Modify: 2019-08-22 05:19:49.000000000 +0000
[oc] Change: 2019-08-21 15:15:45.154925879 +0000
[oc]  Birth: -
Running oc with args [oc get pods --namespace jozokveowu --selector=deploymentconfig=nodejs-app -o jsonpath='{.items[0].metadata.name}']
[oc] 'nodejs-app-1-x49rz'Running oc with args [oc exec nodejs-app-1-x49rz --namespace jozokveowu -c nodejs-app -- stat /tmp/src/server.js]
[oc]   File: '/tmp/src/server.js'
[oc]   Size: 3814       Blocks: 8          IO Block: 4096   regular file
[oc] Device: 100031h/1048625d   Inode: 4891695     Links: 1
[oc] Access: (0644/-rw-r--r--)  Uid:<PHONE_NUMBER>/ UNKNOWN)   Gid: (    0/    root)
[oc] Access: 2019-08-21 15:15:47.217925784 +0000
[oc] Modify: 2019-08-22 05:19:22.000000000 +0000
[oc] Change: 2019-08-21 15:15:28.967926623 +0000
[oc]  Birth: -
[...]

• Failure [46.996 seconds]
odo push command tests
/Users/amit/go/src/github.com/openshift/odo/tests/integration/cmd_push_test.go:14
  when push command is executed
  /Users/amit/go/src/github.com/openshift/odo/tests/integration/cmd_push_test.go:39
    should push only the modified files [It]
    /Users/amit/go/src/github.com/openshift/odo/tests/integration/cmd_push_test.go:190

    Expected
        <string>: "...5:15:47.217..."
    to equal               |
        <string>: "...5:15:31.022..."

    /Users/amit/go/src/github.com/openshift/odo/tests/integration/cmd_push_test.go:249
------------------------------
[...]
Test Suite Failed

@amitkrout the test case scenario added here passed on the CI. Some other scenario failed.

@alanconway @kadel I have added the functionality for pushing only the changed files in this PR but the time difference isn't much.
On a remote cluster, I have seen performance gain of ~2 secs only. And on CI it's almost the same ~2 sec. But checking the stat for the files, it seems only the changed files got pushed. I have also added a e2e test regarding the same. How can I make it faster? Please help.

If you're using the nodejs-ex, then 2 sec is about the total time to transfer all the files - it's a pretty small project. You'll get a bigger difference if you use a bigger project or one with larger files.

/retest

If you're using the nodejs-ex, then 2 sec is about the total time to transfer all the files - it's a pretty small project

But it's just one file. ~2 seconds for a single file?

If you're using the nodejs-ex, then 2 sec is about the total time to transfer all the files - it's a pretty small project

@alanconway But it's just one file. ~2 seconds for a single file? Is that normal?

That's consistent with what I'm seeing. The time doesn't go below 1-2 secs even for a single file. I believe this is the overhead of setting up the remote processes on the pod, which is what I'm working on. Please go ahead and push your change, then I'll merge mine on top of it.

That's consistent with what I'm seeing. The time doesn't go below 1-2 secs even for a single file. I believe this is the overhead of setting up the remote processes on the pod, which is what I'm working on. Please go ahead and push your change, then I'll merge mine on top of it.

Cool thanks :+1:

    Failed after 90 retries. Content in http://uberjaropenjdk-app-uvchzwjmzm.apps.ci-op-sq12ls6c-f09f4.origin-ci-int-aws.dev.rhcloud.com doesn't include 'HTTP Booster'.

/retest


onboarding: Add  an option to skip/end the intro tour

We should have an option to end/skip in the intro guide.

FYI, @rishig

@darthgera123 are you still working on this...?? If not I would like to take this up.

@zulipbot  claim --force

I think this feature is a good idea, but will take some thinking about the design before we can implement it.
For instance, probably we'd want to do this after adding a feature that allows you to restart the tutorial from the gear menu.

For instance, probably we'd want to do this after adding a feature that allows you to restart the tutorial from the gear menu.

Hmm, maybe not. Why do we want to add the restart tutorial feature? Generally, users familiar with the interface would want to skip the tutorial. IMHO we could add the skip button without adding the restart feature and later if we see there is any need for the restart button, we can add the same.

@zulipbot claim

I'd love to see this happen; as an experienced Zulip user, having to click away all those notifications in each new instance is quite annoying. To make this worse, it seems like skipping this was possible in the past (https://github.com/zulip/zulip/issues/872) but the option was removed some day.

@KaKi87 I expect us to redo the intro at some point in the next ~year, and this issue likely will not be addressed until then.

I'd love to see this happen; as an experienced Zulip user, having to click away all those notifications in each new instance is quite annoying. To make this worse, it seems like skipping this was possible in the past (#872) but the option was removed some day.

@RalfJung if you import account settings from one account to the next, the state of having completed the onboarding tour should be preserved. Is this something you've tried, or is it not possible because the Zulip instances you used are hosted on different servers?

This is the first time I hear of an "import" feature. Most of these instances are on zulipchat.com.

Great, that should work then! The feature has been available for some time, but we're just now in the process of adding documentation to the help center. For now, you can see here for (draft) instructions.


Open letter to Nomad, its shareholders, and partners.

Component
Forge, Cast, Anvil, Foundryup, Chisel, Other (please describe)
Describe the feature you would like
Open letter to Nomad, its shareholders, and partners.
Investors & associates: Polychain, Circle, Coinbase, OpenSea, Ethereal Ventures, HackVC, 1kx,
Archetype, Algae, Crypto.com, Wintermute Trading, Gnosis, LaEce Capital0, Figment, Triblock,
A&T Capital, Breyer Capital, Polkadot, TokensoJ, Avalanche, Robot Ventures, Wave Financial
Group, DialecNc, Mina, LedgerPrime, Amber Group, Hypersphere Ventures, ConNnue Capital,
Gitcoin, Open Web CollecNve, A, Cosmos Network, CelesNa, The Graph, and more.
Partners: Moonbeam, Evmos, Cardano / Milkomeda, Moonwell, Connext network, StellaSwap,
EvmoSwap, Covalent, Cronus Finance, Milkomeda, Saddle Finance, Covalent, LI.FI,
Hummingbot, Centrifuge, Linear Finance, Diffusion Finance, ExSwap, SpaceFi, MyTrade, The
Graph, Superfluid, Aurora, and more.
Dear Nomad, its associates, and partners,
We are writing to express our concerns about the Nomad exploit that has impacted its
depositors/users, and the need for appropriate compensation. Many individuals have been
affected, causing significant distress and financial loss. ETH and USDC recovery rates are
low at only about 4% and 14% respectively, which is unacceptable.
Nomad has a duty to address this situation and find a solution to compensate users. We believe
that the company should use its treasury to provide compensation to users. While this may not
be an ideal solution for Nomad, it is the right thing to do to demonstrate the company's
commitment to addressing the issue.
We also recognize that professional investors and partners have direct access to Nomad
team and hold a significant portion of the assets lost in the hack. These victims should be
treated differently, and claims should be converted into equity, rather than receiving external
compensation. This approach will ensure that the majority of the funds are directed towards
individual users who lacked professional tools, knowledge, and access to Nomad's team.
Community working on simulations has developed plans to raise recovery rates of each coin to
approximately 60% on 40% of victims. This would require approximately $30 million,
which would serve as the first compensation. Nomad already raised $22.4M last year. We
request that Nomad provide a timeline for when users/depositors can expect to receive
compensation, to alleviate uncertainty and fear that users are currently experiencing. Strong
backers of the company, including Polygon, Circle, OpenSea, Coinbase, and Polychain,
would be valuable in finding a solution to the current situation and ensuring that users
receive the compensation they deserve.
If Nomad decides not to pursue bankruptcy proceedings, then the same principle should
apply. As Nomad users are considered depositors, they should have preferential access to
liquidation of any Nomad assets and treasury funds.
We anticipate your prompt response to address the concerns raised in this letter.
Sincerely,
Nomad victims and crypto community.
Additional context
No response

Hi - sorry this is totally unrelated to the Foundry project, so I'll close this.


Adding a main util module that allows us to use the validator from other modules.

Adding a main util module that allows us to use the validator from other modules. Also removing status spinner and node-status, since it does not play well with console.log. Adds a process.exit() that resolves issue #9

@gesiu,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


Add package - Catch

Hello, can you look at this to add https://github.com/philsquared/Catch.git ?

Some tests failed:

https://ci.appveyor.com/project/ingenue/hunter/build/1.0.1254
https://travis-ci.org/ingenue/hunter/builds/186006972

Feel free to fix or exclude. Branch pkg.catch.

fixed: Some compilers don't support C++11, but Catch supports C++98.

Uploading:

https://ci.appveyor.com/project/ingenue/hunter/build/1.0.1260
https://travis-ci.org/ingenue/hunter/builds/186128115

Released:

https://github.com/ruslo/hunter/releases/tag/v0.17.6

Feel free to add new wiki page


Qunit 1.17.1

Update to 1.17.1, this should fix the bug under phantomJS. and also change the related file as you guys commented on #461 and #460

Thank you.


Added examples, tests and improved documentation for coordinate_system.py.

Overview: What does this pull request change?

Motivation and Explanation: Why and how do your changes improve the library?

After watching someone on a stream try to navigate our graphing documentation, I was motivated to give it an improvement.
Overview of changes

Added documentation and examples for every method under CoordinateSystem.
Added/Fixed typing where applicable.
Made methods that would never be used by a user private by adding _ beforehand to hide them in the docs:

_create_label_tex, _get_line_from_axis_to_point
For NumberPlane: _get_lines, get_lines_parallel_to_axis, _init_background_lines.
For ThreeDAxes: _add_3d_pieces, + _set_axis_shading.
_update_default_config
_get_default_coordinate_values for ComplexPlane

Added get_lines_to_point as a short-hand for combining get_vertical_line + get_horizontal_line.
Added some documentation + typing for ComplexPlane.
Added some explanation about how to access certain components of get_line_graph post-creation .
Fixed unclear + needlessly verbose wording for several methods.

See the docs for the examples. I gave more complex/nuanced methods more detailed examples as they had more nuance and required more explanation, see get_graph for a particularly involved (but very necessary) explanation.
Links to added or changed documentation pages

CoordinateSystem
Axes
ComplexPlane
Further Information and Comments

I'll convert almost all of these examples into tests too (with some slight modifications) if they receive positive commentary.
Took longer than I thought and there's still quite a bit left to do 😅.

Reviewer Checklist

[ ] The PR title is descriptive enough for the changelog, and the PR is labeled correctly
[ ] If applicable: newly added non-private functions and classes have a docstring including a short summary and a PARAMETERS section
[ ] If applicable: newly added functions and classes are tested

I acknowledge that pre-commit did not like my a ** b --> a**b change. Oh well.


Blockers to 1.0.0?

@sirwart Are there any specific issues you want fixed or pending features you want implemented before releasing 1.0.0?

Hey Joseph, that's a good question. Probably the biggest thing is just more testing. I don't feel like there are enough test cases for the random string detection (including things that shouldn't be detected), and therefore I don't feel confident calling it a 1.0 (see this issue: https://github.com/sirwart/ripsecrets/issues/68). I'm hoping to have some time to work on it soon and address the open issues, and maybe then would be a good time to mark it as 1.0.


nvm and node paths not found

Either following the exact instructions in the readme or using the following script:
#!/usr/bin/env bash

# Get the current node version
if [[ ! -f node ]]; then
    echo "No node"
else
    echo node version:
    node -v
    # Get the current npm version
    echo npm version:
    npm -v
fi

# node version is specified or latest stable
NODE_VERSION=${1:-"stable"}
echo "Going to install: "$NODE_VERSION

# create bash_profile if not exists
touch ~/.bash_profile

# remove earier version of nvm
rm -rf ~/.nvm

# get nvm
git clone https://github.com/creationix/nvm.git ~/.nvm
cd ~/.nvm
git checkout `git describe --abbrev=0 --tags`

# load nvm and install node version
source ~/.nvm/nvm.sh
nvm install $NODE_VERSION

# Get the updated node version
echo node version:
node -v
# Get the updated npm version
echo npm version:
npm -v

I cannot use the nvm, node or npm commands. But note that running the script I do get the node and npm version as specified. However on completion of the script, I cannot use the commands. Also, restarting the bash has no influence.
Environment:

GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin15)
Copyright (C) 2007 Free Software Foundation, Inc.

P.s. Where is the nvm command anyway,  I can't find it in the .nvm dir?

I fixed the nvm issue by setting up my profiles like:
.bash_profile
#!/bin/bash
#
# bash_profile for login shell
#
# CRM .bash_profile Time-stamp: "2008-12-07 19:42"
#
# echo "Loading ${HOME}/.bash_profile"
source ~/.profile # get my PATH setup
source ~/.bashrc  # get my Bash aliases

Now stopping and opening bash fixed it all.
Still I am not sure what went wrong in the first place.

Now, I got this fixed for os x, but now the exact same setup fails on linux: https://travis-ci.org/halcwb/test_node/builds/140534584.

nvm is a sourced shell function, not a binary - it won't exist on the file system.
(Linking to https://github.com/travis-ci/travis-ci/issues/6186#issuecomment-228304596)
bash_profile is only sourced by default on OS X, not on linux. Your best bet for CI is to manually source nvm.sh rather than relying on it being done from a profile file.

Thanks, got it.


avoid :  matched route is compiled twice

Route::matches  execute  Route::compileRoute,  also do Route::bind .

How did you find this?

First , this is RouteCollection::match
    public function match(Request $request)
    {
       ...

        $route = $this->check($routes, $request);

        if (! is_null($route)) {
            return $route->bind($request);
        }
        ....
    }

$this->check will call  Route::match
    public function matches(Request $request, $includingMethod = true)
    {
        $this->compileRoute();
         ....
    }

and $route->bind will call Route::bind
    public function bind(Request $request)
    {
        $this->compileRoute();
         ...
    }

So,  when searching routes , routes is compiled one by one; when a route is found , it is compiled again.


Drawing error

Was: GitLab #77
For the family in the attached file, the drawing algorithm places two individuals on top of each other.
To reproduce: Start the editor, add parents for both members.
pedigree.json

Fixed with #46


Skill - Petrify

Inflict the stone status on the enemy (skill % activation).

put rhem at abour L665


4 dodging animations in Bullet_Note lua

What is your question?
hey guys, how do i added 4 dodging animations for bf in Bullet_Note Lua file, like 4 dodging animations in d-side

The four dodging animations require a different character .json entirely.
Once you have that, use this:
Replace boyfriendName with what you've named the respective character file to.
local dodgeAnims = {"dodgeLEFT", "dodgeDOWN", "dodgeUP", "dodgeRIGHT"}
function goodNoteHit(id, direction, noteType, isSustainNote)
	if noteType == 'Bullet_Note' then
		if boyfriendName == 'bf-accelerant' then
			characterPlayAnim('boyfriend', dodgeAnims[direction + 1], true);
		else
			characterPlayAnim('boyfriend', 'dodge', true);
		end
		setProperty('boyfriend.specialAnim', true);
        end
end


Fix hotplug volume has a io error when use iscsi protocol csi plugin

What this PR does / why we need it:
Now, virt-controller can delete old attachment pod when the new attachmentpod is running.So,It can't cause the volume  iscsi connection break when delete the old attachment pod.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #6564
Special notes for your reviewer:
Release note:
None

/retest

Try running make generate locally and see if that generates any files. The verify is complaining that the state is not clean. The test runs a make generate and sees if anything different from what the PR provides.

/retest-required

/retest-required

make generate and make locally is ok,but online was failed,why? @awels

So I see some unit test failures in the unit test lane. and in the generate lane I see https://prow.ci.kubevirt.io/view/gs/kubevirt-prow/pr-logs/pull/kubevirt_kubevirt/6701/pull-kubevirt-generate/1455444743445024768 which indicates something is not updated, and it tells you to run make generate, which should generate something new. The builds are failing because it is reporting the git state is not clean. Are you sure you committed all the changed files? make generate can generate a bunch of new files that need to be added.

/retest-required

/retest-required


Use cfg attribute to filter supported extensions

When implementing AssetLoader  you need to specify which File extensions are supported by that loader.
Currently, Bevy always says it supports extensions that actually require activating a Feature beforehand.
This PR adds cf attributes, so Bevy only tries to load those Extensions whose Features were activated.
This prevents Bevy from Panicking and reports such a warning:
Jun 02 23:05:57.139  WARN bevy_asset::asset_server: no `AssetLoader` found for the following extension: ogg

This also fixes the Bug, that the `png Feature had to be activated even if you wanted to load a different image format.
Fixes #640

I like this PR a lot!
The runtime panic! is definitly a bad user experience, especially since this should be hidden behind a feature flag.
The only thing I'd be a little concerned about here, is that upon adding move asset loader types, that's going to increase memory overhead of the asset server.
If we would somehow conditionally set the extensions array based on the feature flags, that would be my preferred approach.

Looks good to me. Good call!

bors r+


Visual Studio 2022 extension fails to load

When opening Visual Studio, I am greeted with an error message stating "The 'CSharpierPackage' package did not load correctly.". Inside the ActivityLog.xml, the following is found:
<entry>
  <record>330</record>
  <time>2023/01/14 12:20:02.568</time>
  <type>Error</type>
  <source>VisualStudio</source>
  <description>SetSite failed for package [CSharpierPackage]Source: 'System' Description: The system cannot find the file specified
</description>
  <guid>{D348BA73-11DC-46BE-8660-6D9819FC2C52}</guid>

0x80004005 - E_FAIL

  <errorinfo></errorinfo>
</entry>

How can this problem be resolved? I am able to make CSharpier work via command line fine, but using it with the Visual Studio extension would be even better.
Visual Studio 17.4.4
dotnet-csharpier 0.21.0
CSharpier Extension 1.3.5

I restarted my PC and everything seems to work now. 🙃

This happened to me this week. For me, it was because I had uninstalled .NET runtime. Hopefully this will help someone in the future.

Happened to me now, PC restart did not resolve it, but updating Visual Studio and its Build Tools through Visual Studio Installer made it disappear.


Add new option trailing-newlines

Closes #98

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
274

Relevant Lines:
274

💛  - Coveralls