Null drawable

add a condition in order to avoid null pointers whenever we don't have an image set.
final Drawable image = getDrawable();
if (cropType != CropType.NONE && viewHeight > 0 && viewWidth > 0 && image != null) {
      final Matrix matrix = imageMaths.getMatrix();

      final int drawableWidth = image.getIntrinsicWidth();
      final int drawableHeight = image.getIntrinsicHeight();

why don't you push the changes...

Sorry, I've been travelling and moving to another country. I will. Probably next weekend I'll retake everything from Github again! Sorry for that!

I have actually implemented that change ;-)

Thanks.

all as before. Please add changes. this awful bug

I'll push pending changes over the week @ViksaaSkool @QiXi :+1: (and new features as well :-P)

@cesards is this library no longer maintained? If that's the case, please specify in the readme. There are some really useful PRs that have been sitting there for months.
Anyway, thanks for your time

Sorry guys. I'm into many things at the same time. I said 3 months ago in a few weeks I would push the changes... lol. Time goes so fast. I was working in the version 2.0, so it is being maintained, but  I haven't got much time for what I wanted to achieve! This has been fixed long ago, but it looks like it wasn't merged :-/


Added CODEBEAT

Affected Issues

Fixes #

Proposed Changes

Coverage remained the same at 100.0% when pulling 3f79c2e09e8e9f35660366421172d60a22547482 on nnadeau-patch-2 into 8b37c8672c55945a5ab6f5bb951715f212fcea9f on master.


Release 0.2.0

This is a draft PR for the 0.2.0 release, all it really contains is a changelog with a curated list of user-facing changes and some doc changes for those features.

Hi everyone,
Does PG14 need to be added to the current Docker?
It has not been added yet and needs to be modified if necessary.


Fixes errors from static analysis

Fixes three errors from static analysis:

check if frame is nullptr before frame->Submit(); (there is a similar check on the next lines)
initialize last_baton_ (it is used but never initialized)
initialize client_id_ (it is set in another method but I believe it should be initialized)

I guess this is not something we fixed...
Shouldn't it be submitted upstream? :eyes:

Thanks for the fix but please refer to this: https://github.com/flutter-tizen/engine/pull/218#issuecomment-990494514


Sigining Developer ID certificate

We should sign Developer ID app certificate to avoid Gatekeeper.

macOS Sierra's preference pane has been dropped the support to allow opening unsigned apps.
Don't worry. You can still open it with context menu (Control+click ▶ Open).
I know that I should sign Marp's release archives quickly as possible. However I lack even money for registering to Apple Developer... 💸 (I'm not willing to take your payment like a similar app)


removed extra regexp for event matching and tests

Codecov Report

Merging #77 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master      #77   +/-   ##
=======================================
  Coverage   70.41%   70.41%
=======================================
  Files           7        7
  Lines         676      676
=======================================
  Hits          476      476
  Misses        188      188
  Partials       12       12

Impacted Files
Coverage Δ

src/caduceus/outboundSender.go
87.28% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


[config] apiai cannot be part of a package?

Home Assistant release (hass --version):
0.50.1
Python release (python3 --version):
Python 3.6.2
Component/platform:
apiai
Description of problem:
Starting with version 0.50+ the apiai config cannot be loaded from a package.
When using a package for the apiai and intent_script platforms the configuration check does not pass. When appending said config entries to configuration.yaml the validation passes.
ERROR (MainThread) [homeassistant.config] Invalid config for [homeassistant]: expected dict for dictionary value @ data['packages']['apiai']['apiai']. Got None. (See /config/configuration.yaml, line 1).

Expected:
Be able to continue using a package for apiai, as with HASS < 0.50.
Problem-relevant configuration.yaml entries and steps to reproduce:
See my config repo for an complete example.
configuration.yaml
homeassistant:
  name: Home
  latitude: !secret home_latitude
  longitude: !secret home_longitude
  elevation: !secret home_elevation
  unit_system: metric
  time_zone: Europe/Paris
  customize: !include customize.yaml
  packages: !include_dir_named packages

packages/apiai.yaml
apiai:

intent_script:
  HomeTemperature:
    speech:
      text: test

This next config is currently valid as of HASS 0.50.1 and works around the problem.
homeassistant:
  name: Home
  latitude: !secret home_latitude
  longitude: !secret home_longitude
  elevation: !secret home_elevation
  unit_system: metric
  time_zone: Europe/Paris
  customize: !include customize.yaml
  packages: !include_dir_named packages

[...]

apiai:

intent_script:
  HomeTemperature:
    speech:
      text: test

More Info:
I tried to rename packages/apiai.yaml to something else (packages/something.yaml) but the issue persists.

I'm having a similar problem trying to split intents into several files. It doesn't look like I can include them with intent_script: !include_dir_list ./intents like I do with automations.
I get the error:

Invalid config for [intent_script]: expected a dictionary for dictionary value @ data['intent_script'].

If I try to include the intents with intent_script: !include_dir_named ./intents I don't get any errors from hass-check, but the intents are not found by api.ai.
The intents work if I paste the intent_script code directly into configuration.yaml.

Don't close this one yet. It is still relevant.


Update to match functionality that doesn't require git

Updating to match functionality of https://github.com/billpull/ember-cli-deploy-raygun

@tansongyang correct


Color tooltip in settings

The tooltip shows Default: [object Object] when hovering on the colored squares for primary and secondary color.
Reproduction Steps:

Open atom-material-ui's settings from Atom -> Settings -> Themes
Hover the color squares in the Colors section with the mouse cursor.

Expected behavior:
The tooltip contains the currently picked color.
It could contain the predefined color name.
Also it could indicated that the secondary color is generated (like Value: #123456 (generated)).
Observed behavior:
The tooltip contains Default: [object Object].
(I am not quite sure what Default means in this context.)

Atom version: 1.17.0
OS and version: macOS Sierra 10.12.4 (16E195)
Installed packages:
Community Packages (45) ~/.atom/packages
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>└──<EMAIL_ADDRESS>

Yeah, I don't think there's much I can do about that. It picks it up from package.json and, apparently, converts the string #009688 to a Color object.


[libzip] update to 1.10.1

Library name
libzip
New version number
1.10.1
Other information that may be useful (release notes, etc...)
Version 1.10.0 introduced OpenSSL 3 support.

Hi @LilyWangLL , thank you for addressing that issue. Is there a problem with updating to version 1.10.1?
Thx
Sven


Keyboard layout - Removed some duplicate entries

Also fixed up the layout slightly.
I cheated and used my layout generator script to just recreate the file :).
Oh and sadly the "YO!! _\m/" was changed to "!!!" lol.

I really don't understand what you did to the code.

Also fixed up the layout slightly.

What does that mean exactly?

Oh and sadly the "YO!! _\m/" was changed to "!!!" lol.

That's sad, but I somehow really like the idea of being able to add `!!!``somewhat easily :)

The underscore and hyphen were listed in the file twice, so now they're not.
Also some things were in the wrong place, like some special characters like question mark was in between the "selection mode sequence" and the "space" button. They should just be with the other letters.
The letters are now all in the order you'd read them for each section, and this goes clockwise from the top right.


infra resource group parameter

This checklist is used to make sure that common guidelines for a pull request are followed.

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update src/index.json automatically.
You only need to update the version information in file setup.py and historical information in file HISTORY.rst in your PR but do not modify src/index.json.

Thank you for your contribution! We will review the pull request and get back to you soon.

To test locally, run az extension add -upgrade --source https://infrargparam.blob.core.windows.net/draft/containerapp-0.3.39-py2.py3-none-any.whl

@yonzhan I see that this wasn't tagged with containerapps, tagging you to make sure that doesn't cause delays.

Is this PR ready for review?

Rebase caused unexpected issues, moving over to: https://github.com/Azure/azure-cli-extensions/pull/6751


tty0 Default console login user

A user with a password should be configured by default without the need for a cloud-config for applications where a tty is available. For example, XenServer allows console access.
Relying on the network and the user to supply a perfect cloud-config is unrealistic and can result in an image becoming unusable due to a simple error in the cloud-config. The recovery options in this case are time consuming.
It is possible to exclude a user from ssh and restrict their access to the tty.

If you have access to the tty, use the coreos.autologin kernel command line argument to get access to the machine.

Thanks, I saw the docs on this. I get the secure by default, supply the keys stance. This is almost the other extreme - leave the door open. We just need a normal login, like a "normal" system that is still moderately secure but not accessible from the outside.

You can use coreos.autologin=ttyS0 to limit it to particular console, but either way, the machine should be rebooted after you are done provisioning with this flag (otherwise, the serial console remains open). This is mostly useful for debugging - I don't know of any production systems using this regularly.
Ignition or cloud-init are the better tools for setting up a system. https://coreos.com/validate/ can help validate cloud-configs (Ignition support will be added eventually).

Ok, thank you!


.Net Core

.Net Core is an alternative implementation of the .Net Framework, which is lighter, faster, and cross-platform.  Porting Halcyon to it may improve performance and improve cross-platform compatibility somewhat.

Cross platform support is currently functional using Mono, barring PhysX. I can't speak to perf improvements as I've not yet worked with Core.
However attempting to port to Core is not easy: all the libs would need to be ported first, or found on NuGet already ported. Considering that some of the libs are currently required to be older versions, that could prove difficult.

From some additional reading, porting may be easier once .Net Standard 2.0 is released, which should be sometime within the next month or two.
As for Mono, it is not a 100% solution for cross-platform compatibility.  Speaking from personal experience, Mono tends to be buggier, more unstable, and can be several times slower than .Net.

Interesting about Standard.
Ive not detected anything particularly slow about Mono, but then I've not pushed it hard. Research online seems to indicate that performance isn't clear cut between the two: depending on the code involved on can run faster or slower that the other by a significant margin.
But the only way to verify is to be able to measure current performance, convert and test. As of right now I don't think there's any repeatable performance tests for the Halcyon servers.

As far as I can tell, Standard exists only to provide DLLs/libraries that support either/both Core and .Net 4.x apps.  So I think the request to port to Core still exists.  I've done some work recently with Core for AIS support and it seems the largest problems for Halcyon on Core is the use of some older third-party components, such as the version of Aquiles we use for Cassandra support for the older version of that we are running on the InWorldz grid, and some other similar third-party libs. There are only a few small code changes so if it's possible for us to build with newer Core-compatible (i.e. Standard) libraries, we'd probably be able to build it to run on .NET Core 2.

I'm including this provisionally in milestone v1.0.0.  It might be useful to the PhysX port to go with Core, it might not.  If not it can be bumped to a later version.

This issue was moved to HalcyonGrid/halcyon#7


Update dsi_studio.py

Add tip_iteration input to AutoTrack
Changes proposed in this pull request
Add tip_iteration input to AutoTrack
Documentation that should be reviewed
N/A

Turns out -atk doesn't accept the --tip_iteration argument? Closing.


Restart recreate from UI

Adds a new panel to Database settings called "Restart Database with Backup and Restore":

This lets a user trigger a restart_recreate operation, hopefully after seeing an error in logs like the one introduced in https://github.com/aptible/sweetness/pull/1585. After the checkbox is selected and "Restart Database with Backup and Restore" is pressed, you're redirected to the database activity panel.
Warning: this PR should only be submitted after https://github.com/aptible/deploy-api/pull/1256 is deployed since restart_recreate is not yet exposed from deploy-api.

https://app.shortcut.com/aptible/story/17892/the-scheduler-isn-t-smart-in-handling-unsupported-azs

Overall looks good to me. It might be nice to write a happy path integration test for this user flow. I won't block you from merging but it would be a good opportunity to learn how testing in the UI works.

Do you mean write a *.test.tsx test like others in this repo, or something else? I'll have to wait on a deploy-api PR to be reviewed and deployed anyway to submit so writing a test for it isn't blocking me at all.

This is ready to go now that accompanying doc changes have been approved, just needs a final review


pre-buffer for streaming live audio

Hello how to make the player perform a pre-buffer for streaming live audio reproductions?

So by default AmplitudeJS should pre-buffer before it starts to play. Are you looking for a setting for how much should be buffered before it starts playing?

I am looking for each time you play, perform a pre-buffer of a few seconds.
It would be as an example this player of this radio: http://www.hitwest.com/

I'm still looking into this issue. I'd guess we'd have to write an external script to do this. I'll keep you posted on the results.

Hello, any new features of this function? Can preload audio be done?

As of right now, I don't know how to preload after every play pause on a live audio.

I did not know what to use in the code:
live: true
I was missing that.

As of right now, I don't know how to preload after every play pause on a live audio.

I did not know what to use in the code:
"live": true
I was missing that. Looking in Google I found an answer that you gave to someone else in the same problem. Is the player adapted for use with SSL protocol in streaming URL?

The player should work with SSL. If there's anything I need to do to adapt it, let me know!


Email validation

how do we do email validation.. tired by using format:email, that is not working
"properties": {
"name": {
"type": "string"
},
"address": {
"type": "string",
"format": "email"
}
}

You can add a custom validator to the field if you want to validate email formatting.  I'll look at adding a format checker for emails though.

I am looking at adding a very simple email validator that will ensure that any string defined with a format of email will pass if it has its first '@' character after the first character.
1@2 would pass as would 1@@@@@@@ even though these may not be a valid email.  I would suggest that if you want more robust email screening you would be better off performing a domain lookup check against the emails domain (and that is quite out of scope for this validator).


multiple + preserveSelected + default  groups unselected options into 'Currently Selected'

I am using ajax-bootstrap-select to search against people in my business's application. Up to this point I was using it without the multiple option, so I wasn't taking advantage of a few features.
Remote search works great. Prepopulating the list doesn't work great. It thinks I am 'selecting' the initial list of options that I've provided.
With the non-multiple select tag in use, I was able to initialize the search list with a few preferred items using ajax-bootstrap-select. When I switched this new tag to use multiple, I've run into an issue where ajax-bootstrap-select groups the initial list into an <optgroup> off 'Currently Selected' items even though none of them were selected.
Steps to reproduce:

Initialize html/javascript as depicted below
Observe that list does not have 'currently selected' items
Type a letter to trigger remote searching
The ajax-bootstrap-select dropdown flashes white + refreshes
Every item provided as an initial set of <option> tags is grouped into 'Currently Selected'
The ajax-bootstrap-select dropdown flashes white + refreshes
Remove ajax call is completed + processed — server-driven items show up
Observe that I have the remote items where the initial items were before grouped into 'Currently Selected' and I have the remote items as well.

Desired Behaviour
When I invoke 'preserve selected', that it only preserves the ones that were actually selected instead of those that are just initial options.
Code
HAML:
= select_tag :dummy_client_id, options_for_select(BpSearcher.person_search_preset_options(current_account, @controller_instance, "options_for_select"), selected: nil), {class: 'form-control custom-select selectpicker', id: 'js-calendar-filter-by-person', data: {}, title: "Filter by Person/Pet", multiple: true }

Generated HTML:
<select name="dummy_client_id[]" id="js-calendar-filter-by-person" class="form-control custom-select selectpicker" title="Filter by Person/Pet" multiple="multiple">
  <option data-content="<h4 class='text-secondary pb-0 mb-0'>Pops  -  Front Desk</h4>Pops NYC Ltd." data-k="User" data-v="92" data-name="Pops  -  Front Desk" data-remove-preset="true" preserved="false" value="User|92">Pops  -  Front Desk</option>
  <option data-content="<h4 class='text-secondary pb-0 mb-0'>Nina Knutson</h4>Pops NYC Ltd." data-k="User" data-v="98" data-name="Nina Knutson" data-remove-preset="true" preserved="false" value="User|98">Nina Knutson</option>
  <option data-content="<h4 class='text-secondary pb-0 mb-0'>Polly Flak</h4>Pops NYC Ltd." data-k="User" data-v="4" data-name="Polly Flak" data-remove-preset="true" preserved="false" value="User|4">Polly Flak</option>
  <option data-content="
Irene McDons
 Arthur" data-k="Client" data-v="103" data-name="Irene McDons" data-remove-preset="true" preserved="false" value="Client|103">Irene McDons - Arthur</option>
  <option data-content="
Krista Lamont &  Liam Pirlott
 Akira" data-k="Client" data-v="105" data-name="Krista Lamont &  Liam Pirlott" data-remove-preset="true" preserved="false" value="Client|105">Krista Lamont &  Liam Pirlott - Akira</option>
  <option data-content="
Kathryn Zaragoza & Tyler Miskinski
 Arya" data-k="Client" data-v="109" data-name="Kathryn Zaragoza & Tyler Miskinski" data-remove-preset="true" preserved="false" value="Client|109">Kathryn Zaragoza & Tyler Miskinski - Arya</option>
  <option data-content="
Meg Casaszgarcia & Peter Runzinurnik
 Baba Looey" data-k="Client" data-v="113" data-name="Meg Casaszgarcia & Peter Runzinurnik" data-remove-preset="true" preserved="false" value="Client|113">Meg Casaszgarcia & Peter Runzinurnik - Baba Looey</option>
  <option data-content="
Test  Booking
 " data-k="Client" data-v="83" data-name="Test  Booking" data-remove-preset="true" preserved="false" value="Client|83">Test  Booking - </option>
</select>

  onmount("#js-calendar-filter-by-person", function () {
    $(this)
      .selectpicker({
        liveSearch: true,
        liveSearchPlaceholder: "Filter by Person",
      })
      .ajaxSelectPicker({
        ajax: {
          url: "/business/bookings/person_search",
          beforeSend: function (xhr) {
            xhr.setRequestHeader(
              "X-CSRF-Token",
              $('meta[name="csrf-token"]').attr("content")
            );
          },
          data: function () {
            var params = {
              q: "{{{q}}}",
            };
            return params;
          },
        },
        clearOnEmpty: true,
        preserveSelectedPosition: "before",
        log: 4,
        emptyRequest: true,
        cache: false,
        preserveSelected: true,
        //preprocessData: function (data) {
        //  return data;
        //},
      });

I think I have fixed it with a few lines that removes the options programmatically upon keydown of the search input (ajax-bootstrap-select listens to keyup, thankfully).
My workaround involves marking the preset options, removing them from the select, notifying bootstrap-selectpicker to refresh the list, and then emptying out the internal selected list that Ajax-Bootstrap-Select uses:
    $(
      ".js-calendar-filter-by-person-container .bootstrap-select input"
    )[0].addEventListener("keydown", (event) => {
      $(
        '.js-calendar-filter-by-person-container [data-remove-preset="true"]'
      ).remove();
      $(".selectpicker").selectpicker("refresh");
      $(".selectpicker").data("AjaxBootstrapSelect").list.selected = [];
    });

Mmm, I may have fixed it from sticking around after searching, but I also broke the functionality where they actually select an item from the initial list they're presented.
I've made some adjustments to respect when they're actually selected, see below for the code where I use lodash to filter out items that are not selected.
Speaking of which, while I was code spelunking inside the codebase I saw that we rely on jquery's :selected pseudo-filter to know what the preserved list should be.  Is it possible to put replace that logic going forward with something like this? What do you reckon'?
-      (event) => {
+      (_event) => {
+        // bootstrap-select: remove options and then invoke selectpicker("refresh") on
+        // the next line - these are the standard instructions from the
+        // bootstrap-select lib.
+        //
+        // Also, I think I may be a little bit aggressive here in removing
+        // options against options that may actually be selected, however,
+        // nothing visually or otherwise indicates a problem with this code as
+        // it is and the effect of this code is limited to only one invocation,
+        // so I'm comfortable with this as is.
+        //
+        // Versions:
+        //  "ajax-bootstrap-select": "^1.4.5",
+        //  "bootstrap-select": "^1.13.18",
         $(
           '.js-calendar-filter-by-person-container [data-remove-preset="true"]'
-        ).remove(); // bootstrap-select: remove options and then invoke selectpicker("refresh") on the next line - these are the standard instructions from the bootstrap-select lib.
+        ).remove();
         $(".selectpicker").selectpicker("refresh"); // bootstrap-select: list is visually removed from UI at this point
-        $(".selectpicker").data("AjaxBootstrapSelect").list.selected = []; // Ajax-Bootstrap-Select: this line is needed so that the list is not restored into the `Currently Selected` optgroup upon keydown
+        var actually_selected_for_us_to_keep = _.filter(
+          $(".selectpicker").data("AjaxBootstrapSelect").list.selected,
+          (item) => {
+            return item.selected;
+          }
+        );
+
+        $(".selectpicker").data(
+          "AjaxBootstrapSelect"
+        ).list.selected = actually_selected_for_us_to_keep; // Ajax-Bootstrap-Select: this line is needed so that the list is not restored into the `Currently Selected` optgroup upon keydown


InteractableColorTheme does not support TextMeshPro

Describe the bug
InteractableColorTheme supports coloring UI Text and TextMesh components, but does not include support for coloring TextMeshPro objects.
To reproduce

Create an empty with a collider and add the Interactable component.
Create a TextMeshPro object
Add the TextMeshPro object as a profile target on the Interactable
Add a theme that effects color, like InteractableColorTheme or ScaleOffsetColorTheme.
Observe that the theme displays the shader property dropdown "_Color", but TextMeshPro does not have a _Color property. It will cause an error when running and not update any colors.

Expected behavior
The color themes should work on Text, TextMesh, TextMeshPro, TextMeshProUGUI, as well as renderers with materials.
Screenshots

MERGED


Add curated slate and android curated personalized slate lineup

Ugh forgot to sign the commit. I am not a fan of this workflow...


Add a note about the plan in confirmation email

@speedywizard the build is failing, please take a look.

@speedywizard just following up on my previous message, please fix the build.

@travis-architect , it looks like Redis is not set up correctly in the test environment - please assist


HLS Hook 405 Error

Hello,
hope anyone can help me. I use hls config and add hook to my other Server. Here is the Error Message and the Config:
listen              1935;
max_connections     1000;
daemon              off;
srs_log_tank        console;
vhost __defaultVhost__ {
    hls {
        enabled         on;
        hls_fragment    10;
        hls_window      60;
        hls_path        ./objs/nginx/html;
        hls_m3u8_file   [app]/[stream].m3u8;
        hls_ts_file     [app]/[stream]-[seq].ts;
    }
    http_hooks {
        enabled         on;
        on_publish      http://IP-ADRESS/restream/callback;
        on_unpublish    http://IP-ADRESS/restream/callback;
    }
}

[2019-05-28 17:49:29.642][error][8484][105][11] invalid response status=405. ret=4005(Resource temporarily unavailable)

Thanks

Responsed by your server.


feat: Support the background render in mask conversion

:tada: This PR is included in version 1.0.0 :tada:
The release is available on npm package (@latest dist-tag)
Your semantic-release bot :package::rocket:


[Hotfix] payer cost bug cardvault

Motivación y Contexto
error en default installments en pantalla de cardvault

Codecov Report

Merging #1148 into master will increase coverage by 0.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #1148      +/-   ##
==========================================
+ Coverage   28.43%   28.44%   +0.01%
==========================================
  Files         342      342
  Lines       15077    15080       +3
  Branches     1346     1346
==========================================
+ Hits         4287     4290       +3
  Misses      10296    10296
  Partials      494      494

Impacted Files
Coverage Δ

...pago/android/px/presenters/CardVaultPresenter.java
82.05% <100%> (+0.23%)
:arrow_up:

.../com/mercadopago/android/px/CardVaultActivity.java
65.77% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Feature request: Allow date to be saved when adding time manually

This should go under the web app, but I can't find it.
When adding time entries manually, after submitting the entry, the date resets to today's date. Can this be disabled, to make entering entries for yesterday easier?

looks like it's same as #1189


Test PR #9251

Make sure that #9251 passes CI.
I can't seem to get CI to run on the PR directly (I now think the PR has to be created from a branch in pachyderm/pachyderm, rather than from a fork, regardless of the author's permissions)

The problem with https://circleci.com/gh/pachyderm/pachyderm/401289 is that mount-server isn't started.  I can't actually find where that is supposed to happen.    The error is:
+ mkdir pfs
+ tail -F /tmp/mount-server.log
nohup: appending output to 'nohup.out'
tail: cannot open '/tmp/mount-server.log' for reading: No such file or directory

Below is the ci fragment.    Perhaps it should automatically be starting as part of python3 -m pip install -e '.[dev]'?
  jupyter-extension-integration-test:
    resource_class: xlarge
    machine:
      image: ubuntu-2004:202107-02
    working_directory: ~/project/jupyter-extension
    steps:
      - checkout:
          path: ~/project
      - install-python-test-deps
      - run:
          name: "Integration tests"
          command: |
            set -eux

            python3 -m venv venv
            . venv/bin/activate
            python3 -m pip install -e '.[dev]'

            nohup pachctl port-forward &

            tail -F /tmp/mount-server.log &

            mkdir pfs
            export PFS_MOUNT_DIR=$(pwd)/pfs

            # Run integration tests
            pytest -v jupyterlab_pachyderm/tests/test_integrations.py

tail: cannot open '/tmp/mount-server.log' for reading: No such file or directory

that is actually a red herring.   I found an example of the test succeeding and it  has the same failure.
https://app.circleci.com/pipelines/github/pachyderm/pachyderm/23307/workflows/d6e1a31c-ec46-481f-a830-4b5ae4009f9a/jobs/401208

I believe this is due to a change in how JupyterLab sends requests to managed services. I think the operative error in the logs is Exception: You must define the 'cookie_secret' setting in your application to use secure cookies. I haven't yet entirely figured out what the error means or how to fix it, though.

I believe this is due to a change in how JupyterLab sends requests to managed services. I think the operative error in the logs is Exception: You must define the 'cookie_secret' setting in your application to use secure cookies. I haven't yet entirely figured out what the error means or how to fix it, though.

Yup.   I tracked it down to that.  The problem is that the dev-server started by test-integration.py is using the jupyter_server configuration, but is not actually running in that context.   The calls to it are hard-coded in the tests with no authorization.   I can configure the cookie_secret, but that just changes it to a 403 since the tests use no auth.    I haven't yet been able to figure out how to disable the authorization checks (the jupyter docs are not all that helpful for our use case).

Closing, as this PR was replaced with https://github.com/pachyderm/pachyderm/pull/9351


[Bug] docker error

Describe the Bug
when i run docker compose up defined in platform\app.recipes\Nginx-Orthanc. It throws error as

Steps to Reproduce

navigate to platform\app.recipes\Nginx-Orthanc

Run Docker compose up

The current behavior
docker compose up throws error host not found in upstream orthanc in etc/nginx/nginx.conf:56
The expected behavior
Docker should run both the images
OS
windows 11, I9 13th genration
Node version
20.18.0
Browser
Chrome

This is ohif viewer repo,
if you are looking to setup Orthanc check this out
https://github.com/orthanc-server/orthanc-setup-samples


Blog scaffold doesn't work correctly

I believe this is an issue with the scaffolding code and not vuepress itself. I made a new vuepress site using the blog app and when I run yarn dev I get this:
 /m/c/p/v/d/test1 yarn dev                                                                                08:41:03
yarn run v1.12.3
$ vuepress dev blog
Extracting site metadata...Error: [vuepress] Failed to load custom theme "@vuepress/theme-blog". File<EMAIL_ADDRESS>does not exist.
    at resolveOptions (/home/ray/.npm-global/lib/node_modules/vuepress/lib/prepare.js:132:15)
    at prepare (/home/ray/.npm-global/lib/node_modules/vuepress/lib/prepare.js:37:25)
    at dev (/home/ray/.npm-global/lib/node_modules/vuepress/lib/dev.js:21:25)
    at args (/home/ray/.npm-global/lib/node_modules/vuepress/bin/vuepress.js:104:12)
    at Command.program.command.description.option.option.action (/home/ray/.npm-global/lib/node_modules/vuepress/bin/vuepress.js:31:21)
    at Command.listener (/home/ray/.npm-global/lib/node_modules/vuepress/node_modules/commander/index.js:315:8)
    at Command.emit (events.js:182:13)
    at Command.parseArgs (/home/ray/.npm-global/lib/node_modules/vuepress/node_modules/commander/index.js:651:12)
    at Command.parse (/home/ray/.npm-global/lib/node_modules/vuepress/node_modules/commander/index.js:474:21)
    at Object.<anonymous> (/home/ray/.npm-global/lib/node_modules/vuepress/bin/vuepress.js:96:9)
Done in 2.60s.

Ok, running npm i fixed it, but I don't remember the CLI suggesting it, nor does the README.md file mention it.

Meet? You mean repeat it?

Yes, since I cannot reproduce it.

So if you do not run npm i, it works out of box?

Hmmm? So you just run the yarn dev without installing deps?

Yep. Is it expected we should run the scaffold, npm i, and then yarn dev?

Hmmm, a scaffolding tool just help you create the project.
BTW, when you cloned a GitHub project down, don't you install dependencies? Besides, isn't direct yarn or npm i common sense? (Hmmm, why mixing use of NPM and yarn?)

It may be just me not being familiar with Yarn, but I've used other tools that will auto run npm i for you. In this case, can we simply not add a message to the documentation?

feel free to submit a pull request~

Maybe I'm not being clear. :) I'm asking you how I can do certain things. Let's make it simple. Given that I have no posts and the home page is empty, how would I modify the home page to say something like, "No Posts". Or heck, even if I do have posts, how do I modify the home page blog view?

Sorry! Last comment was about another thread we're having!

Done - PR #3.

Merged.


use promise api for fs module

I don't think there is a relevant need for asynchronous execution of operations, and the process flow is more in need of sequential synchronous operations to complete.

I don't think there is a relevant need for asynchronous execution of operations, and the process flow is more in need of sequential synchronous operations to complete.


isRenameable, isDeclaration and Identifier getName, hasName wil throw issue

TypeGuards.isRenameable,
TypeGuards.isDeclaration
added Identifier getName
ISSUE detected hasName throw issue
added ImportSpecifier.rename() since it is implementing with wrong name renameName

Coverage increased (+0.002%) to 94.404% when pulling 46b206ca1203fa0b6be9904795e7022aea5d34eb on cancerberoSgx:isRenameable into 5e61d2798a99b2bd394adfabce857eece217e175 on dsherret:master.

Hey @cancerberoSgx, thanks for this, but unfortunately I'm going to have to decline these changes.

The isDeclaration and isRenameable method should be auto-maintained by the code-generate command. That means changing up the code a bit. I'd like to work on that because it's a bit more foundational. I've opened #370 and will get to it soon.
There's no name on an Identifier so I'd rather it didn't have a name. Is there a reason you wanted this?

Anyway, sorry about that. For public api changes, I recommend opening an issue and talking about it first (sorry if I take a bit to respond sometimes). In the meantime I'll get to #207.


fix: remove unnecessary layer visibility check for GFI tool

Remove unnecessary check for layer visibility which actually breaks GFI tool functionality for the following use case:

start client
request some visible queryable layer -> GFI grid is shown
turn some another queryable layer visible via checkbox in layer tree
request this layer -> infos are not shown / GFI request is missing

Please review @terrestris/devs

:tada: This PR is included in version 5.1.2 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


docs: add uname troubleshooting section for macOS

Signed-off-by: Trenton Dyck<EMAIL_ADDRESS>
Commit Message: add uname troubleshooting section for macOS
Additional Description: my /usr/local/bin/uname returned '5.4.0' which was unable to be parsed by the bazel build
Risk Level: Low
Testing: manual
Docs Changes: Additional troubleshooting section for macOS
Release Notes: N/A
Platform Specific Features: N/A
[Optional Runtime guard:] N/A
[Optional Fixes #Issue] N/A
[Optional Fixes commit #PR or SHA] N/A
[Optional Deprecated:] N/A
[Optional API Considerations:] N/A

k, i reread the error message and saw there is some issue in relation to you mac version and the python toolchains
ill take a look and see if i can track why this is happening

@trentondyck im not quite understanding how it is deriving 5.4.0 as the arch - can you post the full uname on the host system where it is failing


Design decision: what to display in the case of missing metadata?

Hey @jesicarson and @samjiangweb:
When looking at a case detail page for example, there will be lots of fields (tags, related cases, etc.) for which any one case is likely to have no data.  Should we show this absence of data ("Related cases: None") or just not show the heading at all?
From a readers PoV I would say not showing the heading for bits of data that we don't have about a particular case makes for easier reading, and naturally draws the eye to the bits we have (in the screen grab below, the only thing we know is the Specific Topic. We obviously would show all possible fields in the 'edit' view.
What say you?

Hey @davidascher  - I agree - there's a lot of repetition if these things aren't specified. My vote is we hide the fields with no metadata specified as well.

coolio

decision made, closing.


chore(main): release 1.0.0

:robot: I have created a release beep boop
1.0.0 (2024-04-23)
Features

release plzzz (7dda396)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/ThorViasol/Automation/releases/tag/v1.0.0 :sunflower:


update Use the Azure portal to set a custom domain name

add the endpoint for new developer portal.

NewPortal (default is: <apim-service-name>.developer.azure-api.net)

Audience referring to this article might end up using the legacy developer portal and providing the new developer portal endpoint will help to greater extent.

@sathishkumar-tlb : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@mikebudzynski please review. Consider de-emphasizing legacy dev portal.

#sign-off

@mikebudzynski: I'm sorry - only the author of this article, @vladvino, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.

@vladvino - please sign off

Thanks @sathishkumar-tlb @mikebudzynski @vladvino


Annotation Tools

Could you please provide the annotation tools you use when annotating datasets？
Thanks！

the used dataset is a public one.


Fix #337

Looks like the generated nupkg (https://ci.appveyor.com/project/AlexEarl/ironpython2/build/<IP_ADDRESS>-488/artifacts) contains the full build?

I'll revisit this later


Feat: Add events and conditions for LocalStorageNode resource

What this PR does / why we need it:
This PR mainly fixes #270
When the storage capacity is expanded, the resources with the expansion Conditions to LSN will be recorded and an expansion events will be output to ApiServer.
Events:
[root@172-30-46-10 hwameistor]# kubectl get events -n default
LAST SEEN   TYPE      REASON                 OBJECT                                      MESSAGE
56m         Normal    StorageExpandSuccess   localstoragenode/172-30-46-10               Successfully to expand storage capacity

Conditions:
[root@172-30-46-10 hwameistor]# kubectl describe lsn 172-30-46-10
...
Status:
  Conditions:
    Last Transition Time:  2022-09-24T10:28:45Z
    Last Update Time:      2022-09-24T10:28:45Z
    Message:               Successfully to expand storage capacity
    Reason:                StorageExpandSuccess
    Status:                True
    Type:                  StorageExpandSuccess

Codecov Report

Merging #327 (6f80aa4) into main (0d8c84b) will decrease coverage by 0.10%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main     #327      +/-   ##
==========================================
- Coverage   16.05%   15.95%   -0.11%
==========================================
  Files          73       73
  Lines        7692     7742      +50
==========================================
  Hits         1235     1235
- Misses       6334     6384      +50
  Partials      123      123

Impacted Files
Coverage Δ

...kg/local-storage/member/controller/manager_mock.go
38.00% <0.00%> (ø)

pkg/local-storage/member/member.go
10.52% <0.00%> (-0.19%)
:arrow_down:

...torage/member/node/local_disk_claim_task_worker.go
27.22% <0.00%> (-4.39%)
:arrow_down:

pkg/local-storage/member/node/manager.go
0.00% <0.00%> (ø)

.../local-storage/member/node/storage/executor_lvm.go
0.00% <0.00%> (ø)

pkg/local-storage/member/node/storage/manager.go
0.00% <0.00%> (ø)

pkg/local-storage/member/node/storage/pools.go
62.06% <0.00%> (ø)

pkg/local-storage/member/node/storage/registry.go
0.00% <0.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

/ready for review @sun7927

This is a good start to think about the LocalStorage Node events. Following the Expansion event, the more valuable events should be figured out and added into it.

LGTM

This is a good start to think about the LocalStorage Node events. Following the Expansion event, the more valuable events should be figured out and added into it.

Thanks for your review :-) !
For now, we only record ExtendStorageCapacity events triggered by incoming LocalDiskClaim request. Later, we can store more events to APIServer based on the abnormal State of LSN.


Update dependencies in .env.example

Automated changes by create-pull-request GitHub action

Closing; this was created to test GHA functionality.


Documentation is poor

the documentation of this plugin makes it practically impossible to know how to use it, I need some more documentation to know how to use it. Do you have any demo ?, I'm mounting it in ionic with angular and capacitor

the main thing missing in the documentation is the html element that you need to provide.
  CameraPreview.start({parent: 'cameraPreview', className: 'cameraPreview'})
in my html it looks like this
<ion-content class="bg-transparent" no-padding>

</ion-content>

in the top of your page
    @ViewChild('cameraPreview', {static: true}) element: ElementRef;
    @ViewChild('take_pic_class', {static: true}) takePicBtnElement: ElementRef;

if the start of your CameraPreview.start or in the promise
 const takePicBtn: any = this.takePicBtnElement.nativeElement;
 takePicBtn.onclick = () => {
                // Get rectangle coordinates
                const xCoord = this.rectCoords.left, yCoord = this.rectCoords.top;
                // Get rect width and height
                const rectWidth = rect.offsetWidth, rectHeight = rect.offsetHeight;
               //pictureOpts not used yet in plugin
                const pictureOpts = {
                    width: 640,
                    height: 480,
                    quality: 100
                };
                CameraPreview.capture(pictureOpts).then((base64PictureData) => {
                    //do something with your base64 string
                }, (err) => {
                    console.log(err);
                    this.loading.dismiss();
                    this.stopCamera();
                });
            };

Yeah, I'll improve it, thanks.


[Feature] Using the latest Text Analytics after preview 1 released

created an issue on a wrong repo

wrong repo


Random crash on Panic Room on Death Sentence

Tue Oct 13 21:27:00 2020
Application has crashed: C++ exception
mods/IRE AND FIST REBORN/utils/coputils.lua:127: attempt to compare nil with number
SCRIPT STACK
func() @mods/IRE AND FIST REBORN/lua/playerstandard.lua:3400
_start_action_interact() @mods/base/req/core/Hooks.lua:268
_check_action_interact() lib/units/beings/player/states/playerstandard.lua:2272
_update_check_actions() lib/units/beings/player/states/playerstandard.lua:977
original() lib/units/beings/player/states/playerstandard.lua:435
update_original() @mods/base/req/core/Hooks.lua:188
original() @mods/VanillaHUD Plus/lua/VanillaHUD.lua:850
update_original() @mods/base/req/core/Hooks.lua:265
update() @mods/IRE AND FIST REBORN/lua/BurstFire.lua:350
original() lib/units/beings/player/playermovement.lua:271
@mods/base/req/core/Hooks.lua:265
It may be related to the cop cuffing attempt since I was trying to take a bunch of planks.

Oh whoops, I just realized I made a subtle mistake in my code. My bad!
For now to stop the crashing, please disable Behavior Tweaks in the InF options. Once I push the next update, this should be fixed.

Fixed, the feature should be safe to enable again.


add FilterAction and AgeFilterAction to default taxonomy

Signed-off-by: Doron Chen<EMAIL_ADDRESS>

Please add a test (in fybrikapplication_controller_unit_test.go) that checks that the correct arguments are provided in the blueprint. The mockup policy manager should be extended to return the appropriate action.


[Release-1.26] - [RFE] Mechanism to easily determine etcd node health/voter status

Backport fix for [RFE] Mechanism to easily determine etcd node health/voter status

#8033

Validated using commit id on k3s version v1.26.11+k3s-d00ad9db
Display etcd node health/voter status
> kubectl get node $IP -o=jsonpath='Node Name: {.metadata.name}{"\n"}Conditions:{"\n"}{range .status.conditions[*]}- Type: {.type}{"\n"}  Status: {.status}{"\n"}  LastHeartbeatTime: {.lastHeartbeatTime}{"\n"}  LastTransitionTime: {.lastTransitionTime}{"\n"}  Reason: {.reason}{"\n"}  Message: {.message}{"\n\n"}{end}'
Node Name: ip-172-31-12-145
Conditions:
- Type: MemoryPressure
  Status: False
  LastHeartbeatTime: 2023-11-22T21:35:36Z
  LastTransitionTime: 2023-11-22T20:42:21Z
  Reason: KubeletHasSufficientMemory
  Message: kubelet has sufficient memory available

- Type: DiskPressure
  Status: False
  LastHeartbeatTime: 2023-11-22T21:35:36Z
  LastTransitionTime: 2023-11-22T20:42:21Z
  Reason: KubeletHasNoDiskPressure
  Message: kubelet has no disk pressure

- Type: PIDPressure
  Status: False
  LastHeartbeatTime: 2023-11-22T21:35:36Z
  LastTransitionTime: 2023-11-22T20:42:21Z
  Reason: KubeletHasSufficientPID
  Message: kubelet has sufficient PID available

- Type: Ready
  Status: True
  LastHeartbeatTime: 2023-11-22T21:35:36Z
  LastTransitionTime: 2023-11-22T20:49:41Z
  Reason: KubeletReady
  Message: kubelet is posting ready status. AppArmor enabled

- Type: EtcdIsVoter
  Status: True
  LastHeartbeatTime: 2023-11-22T20:42:34Z
  LastTransitionTime: 2023-11-22T20:42:34Z
  Reason: MemberNotLearner
  Message: Node is a voting member of the etcd cluster


Added capability to set the name of floating IP pool to use

Allow Specifying Name for Floating IP Pool
When the current plugin requests to associate a floating IP with an instance then the IP is always taken from the default public pool as the pool name is hardcoded to null.
This change allows a jenkins admin to specify a named floating ip pool to use when associating floating IPs. If the field in the jenkins UI is left blank then the behaviour will be as is.

Thanks for the PR, I am working on https://github.com/jenkinsci/openstack-cloud-plugin/issues/39 and it will make it easier if we get rid of booleans so I will incorporate it in the fix.

#39 is merge, closing this.


feat: add popoverProps for customization need

For some reason like removing the Popover padding, we need passing overlayStyle to Popover component. See https://github.com/ant-design/ant-design/issues/11364#issuecomment-406259860.
Example
Ant Design Website doesn't have padding in their Popover Navigation:

Thanks for the feature request and PR! Ill look into it soon.


Add security reviewers to be code owners of allowed docker images

Add security reviewers to be code owners of allowed docker images directory, so the system can automatically assign security reviewer to the PR.

Done here


Tunnel not starting

I tried to create a tunnel on my local port but the tunnel never gets created and it just hangs on the lt --port screen
Is anyone experiencing this same issue currently?

Not enough info here to debug - maybe the server was experiencing a temporary issue.


Extra empty lines in downloaded CSV file

When running the script I get this error:
Traceback (most recent call last):
  File "D:\Dev\Python\mapmyfitness-to-strava-migrator\migrator.py", line 125, in <module>
    main(args)
  File "D:\Dev\Python\mapmyfitness-to-strava-migrator\migrator.py", line 101, in main
    workout_list = f.list_mmr_workouts(csv_file_path=csv_file)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\Dev\Python\mapmyfitness-to-strava-migrator\helpers.py", line 128, in list_mmr_workouts
    link = row[col_dl_link]
           ~~~^^^^^^^^^^^^^
IndexError: list index out of range

When I open the downloaded workout_list.csv file I noticed it contains an empty line between each row of data. This is the first 5 lines in my downloaded CSV file (workout IDs removed):
Date Submitted,Workout Date,Activity Type,Calories Burned (kCal),Distance (km),Workout Time (seconds),Avg Pace (min/km),Max Pace (min/km),Avg Speed (km/h),Max Speed (km/h),Avg Heart Rate,Steps,Notes,Source,Link

"Dec. 27, 2023","Dec. 27, 2023",Walk,393,4.1666720832,2039,8.155993995068798,7.081891752167342,7.356568919039999,8.472278833919999,,4560,b'',Map My Fitness MapMyRun Android,http://www.mapmyfitness.com/workout/ID

"Dec. 26, 2023","Dec. 26, 2023",Walk,384,4.08070092672,2004,8.18482561838861,6.892994909727193,7.33061020032,8.70450717312,,4473,b'',Map My Fitness MapMyRun Android,http://www.mapmyfitness.com/workout/ID

If I manually download the file from https://www.mapmyfitness.com/workout/export/csv, it doesn't have any empty lines in it.
Desktop:

OS: Windows 11
Python 3.12.0

Additional context
If I replace the CSV file downloaded with the script with my manually downloaded file, the script continues execution.

Strange. This may be related to the way windows handles line breaks, since it does not happen on linux/mac.

For me, on Windows, reading and writing in binary mode works:
In helpers.py:90-95:
page = urllib.request.urlopen(my_request).read()
# Let's decode our gzip
# Now, let's store our file onto disk

with open(outputfile, mode="wb") as f:
  f.write(page)

Do this work for you?


Blueprint - Self referencing models

When trying to create a model that is referencing itself, e.g.:
const Person = sharedModel({
  fields: [
     field.string("name"),

    field.object("dad", {
        model: () => Person,

       isRequired: false, // okay, bad joke
   })
  ]
})

the blueprint will fail:
Error copying template over:  {
  filePath: 'src/bundles/UIAppBundle/pages/NoteModelsManagement/config/NoteModels.i18n.json'
} RangeError: Maximum call stack size exceeded
    at @bluelibs/x/src/studio/models/Field.ts:267:43
    at Array.forEach (<anonymous>)
    at Field.getSelfAndAllNestedFields (@bluelibs/x/src/studio/models/Field.ts:267:35)

Hey qfl1ck32 !
You can't have a model referencing itself, as it would lead to infinite recursivity when dealing with object models generation.
What you could do however, is to have an optional relation from a "Person" collection to itself.
And if that Person model is shared between several collections, you can simply replace it with a relation to Persons.

@Fen747 Hello! My real use case is a bit different:
export const Field = sharedModel({
  id: "Field",

  fields: [
    field.string("id"),

    field.string("name"),

    field.boolean("isArray"),

    field.enum("type", {
      enumValues: ["BOOLEAN", "ENUM", "NUMBER", "STRING", "OBJECT"],
    }),

    field.object("model", {
       model: () => Field,

       isRequired: false,
   }),

I want to let a user create a Field which might be of type OBJECT, and, therefore, he would need to input the model (which is a Field) for it. I guess it should be possible to do such a thing, with a few adjustments to BluePrint :)

he would need to input the model (which is a Field) for it
I guess you mean an array of Field ? (as there might be several fields in an object) ? 😄
Why do you need it to be a shared model ? Can't it be a collection with inversed relations to it ?
You could have :
export const Forms = collection({
  id: "Forms",
  fields: [
    field.string("name", {
      isRequired: true,
    }),
  ],
  relations: [
    relation({
      id: "fields",
      to: "Fields",
      isMany: true,
      representedBy: "name",
    }),
  ],
});

export const Fields = collection({
  id: "Fields",
  fields: [
    field.string("id"),
    field.string("name"),
    field.boolean("isArray"),
    field.enum("type", {
      enumValues: ["BOOLEAN", "ENUM", "NUMBER", "STRING", "OBJECT"],
    }),
    field.object("model", {
       model: () => Field,
       isRequired: false,
   })
  ],
  relations: [
    relation({
      id: "subfields",
      to: "Fields",
      isMany: true,
      representedBy: "name",
      isRequired: false // we want it optional as this relation will be set only when field.type === "object"
    }),
  ],
});

Yep, an array of fields, my bad.
Also, yes, that would solve the problem. Truth is, initially, I thought having a simple model would be enough, so I didn't opt for a collection. Probably, this is the better idea, now. Thank you!
Though, would there maybe still be cases where you'd want a self-referencing model?

I think this could be solved through an API like field.object("dad", { model: 'self' });

Well, the benefit from having self-referencing models would the same as having relations on nested-fields : it would allow to reduce the number of ping-pong between the server and the database, as in qfl1ck32, I don't se how (Hyper)Nova could avoid querying the same collection multiple times

This is exactly what I was trying, to reduce the number of back-n-forths between the api & the database. Having everything stored in just one field, in a document, would've allowed for querying only that field. With self-referencing relations, there are calls to retrieve each field, if I am not mistaken :)

The solution for self referencing is like this:
createFields() { return [] }

const Tree = collection({
   fields: [
      ...createFields(),
      field({ id: "children", isArray: true, subfields: createFields() });
   ],
});


Investigate all dbaas_core failures

Closes #424.
I did not investigate all failures as it was taking too much time. I will create new issues as we go, e.g. "investigate X failures".

@AlekSi just FYI there's around 100 core tests that rely on feature flag server parameters.
> const params = db.adminCommand( { getParameter: "*" } );
> params.featureFlagCollModIndexUnique
{ "value" : true, "version" : "6.0" }

An example of it is here.

Can we please force merge to ignore the failing diff test as dbaas_core takes ~71m to finish.

:crossed_fingers:


[DeepRec] Fix aarch64 gcc11 build failure

Fix build error under ubuntu 22.04 aarch64 with gcc 11.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Here is the error info:


[release-1.3] Stop using deprecated api field in RedisProxy

This is an automated cherry-pick of #16289

@istio-testing: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

integ-new-install-k8s-presubmit-tests-release-1.3
734cef23129cf6b283660efc2e7a8d202a5e9d94
link
/test integ-new-install-k8s-presubmit-tests-release-1.3

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@istio-testing: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

integ-new-install-k8s-presubmit-tests-release-1.3
734cef23129cf6b283660efc2e7a8d202a5e9d94
link
/test integ-new-install-k8s-presubmit-tests-release-1.3

integ-mixer-k8s-presubmit-tests-release-1.3
734cef23129cf6b283660efc2e7a8d202a5e9d94
link
/test integ-mixer-k8s-presubmit-tests-release-1.3

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


how to evaluate the result ？

I get a result , but i can not evaluate whether its good or not. can you give me some advices?  thank you so much.

hello, could you tell me how you plot this figure?


feat: get duplicate array by column helpers

Description
Add array_duplicate_by function to get duplicate array by column.
Checklist:

[x] Securely signed commits
[x] Component(s) with PHPDoc blocks, only if necessary or adds value
[x] Unit testing, with >80% coverage
[ ] User guide updated
[x] Conforms to style guide

I wonder about the overall usefulness of this helper method... I'm not entirely convinced, but if others see potential in it, I won't be opposed.

I wonder too. Can you show use cases?

@michalsn @kenjis I have real cases in my project
Used for upload batch by excel, I made this so that when uploading hospital or member master data it immediately rejects duplication without needing to check it from the database. As we all know, to save to the database, doing it by looping and checking in it will take a lot of time.

@ddevsr I do not doubt that you have a use case for this, but I'm not sure if this is such a common problem to add it to the framework.

@kenjis @michalsn I follow decision core team

I posted in the forum.
https://forum.codeigniter.com/showthread.php?tid=89308

There are more people who disagree.
We would encourage people to use libraries over adding functions to the framework core - especially Helpers since they aren’t easily extensible, replaceable, or portable.


Unnecessarily quoted property 'Authorization' found. (quote-props) + VS

What version of this package are you using?
latest
What operating system, Node.js, and npm version?
WINServer 2016<EMAIL_ADDRESS>What happened?

How to fix this?
What did you expect to happen?
Are you willing to submit a pull request to fix this bug?

Hey! @noxcionum
To fix this error, simply unquote 'Authorization'.
so something like this :
{
  Authorization: accessHeader,
  'Content-Type': 'application/json'
}

Hey! @noxcionum
To fix this error, simply unquote 'Authorization'.
so something like this :
{
  Authorization: accessHeader,
  'Content-Type': 'application/json'
}

Good. This fixed the problem

Good. This fixed the problem

Hi!
I'm having the same issue, but when using Mongoose and I can not unquote. WHat could I do?
{
      $match: {
        $or: [
          { '$validd': [] },
          { '$validd.createdAt': { $lt: new Date(interval) } },
        ],
      },
    },

I can unquote validd, but in order to unquote valid..XXX I would need to create an interface. Any other work around?

Remove quotes from keys


semantic: test constraints

chore: clippy/fmt
semantic: test constraints

Minor updates to add semantic test constraints like get! should return a tail and correct inputs should not result in diagnostic errors.
Helps to enforce the constraints are met and CAIRO_FIX_TESTS with incorrect semantics doesn't make failing tests pass.

Hmm I think these cases should actually be explicitly tested in the semantics test. We should have test cases in the test_data that result in expected diagnostics

That does happen, but it can be easily changed to potentially incorrect ones with CAIRO_FIX_FIX tests.

Hm but the generated outputs should be verified in the pull request, thats the point of the snapshot tests


Set-isiSyncPolicy -Force ?

To "force" this command to run on a number of sync-policy objects, using the -Confirm:$false or -Force does not do what is supposed to. If I exclude it, everything works fine, but I have to confirm it.

Performing the operation "Set-isiSyncPolicyv1" on target "nfs_aucms".
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [?] Help (default is "Y"):
But setting "$ConfirmPreference" to "low", works too, just for the session that is okay, but maybe not the best idea ever.
Set-isiSyncPolicy -name $name -source_network $null -target_host xxxx.xxx.xxx -target_snapshot_archive $false -Force
Gives this error:
Cannot convert 'System.Object[]' to the type 'System.String' required by parameter 'Message'. Specified method is not supported.
+ CategoryInfo          : InvalidArgument: (:) [Send-isiAPI], ParameterBindingException
+ FullyQualifiedErrorId : CannotConvertArgument,Send-isiAPI
Just saying, otherwise i love you Module, using it all the time ;)
Thanks!

Hey @jcardel,
I've tried to run you command and it worked for me.
It has to be related to something else. Not sure where the error comes from. Send-isiAPI does not have a Message parameter.

Hi Chris, sorry for the delay in response.
Maybe it has something to do with environment, but I have seen as a general error if I do something wrong when using the module, that gives that error message;
"Cannot convert 'System.Object[]' to the type 'System.String' required by parameter 'Message'. Specified method is not supported."
I have seen it several times, when I pass a wrong parameter to any of the modules set-* cmd'lets,
When/if i see it again, I will try to capture some more info.


Abstract hosts (machines) to their own class

Currently, hosts/machines exist exclusively as an attribute on the Employee class. However, this means that there must be a 1-1 relationship before hosts and users.
class Employee(Base):
    """
    A class that defines the data model for the employee.
    Employees have a number of attributes which are represented in ADX and/or the DB.
    """
    ...
    hostname            = db.Column(db.String(50))

    def __init__(self, name: str, ip_addr: str, company: Company,
                timestamp:float, role:str="",  user_agent: str=None,) -> None:
        ....
        self.set_hostname()

This is a major barrier to many new capabilities including

Creation of servers such as exchange, web, vpn, database (which would open the door to exploitation of these things)
Lateral movements across hosts using compromised credentials
Continues activity on victim hosts past the first initial compromise chain

We would like to abstract hosts into their own class so they can be accessed and used independently of users
class Host(Base):
    """
    A class that defines the data model for a host or machine.
    Host should have a hostname, type, access control policy, etc...
    """
    ...

Resolved in https://github.com/KC7-Foundation/kc7/pull/122


Update auth URL in DEPLOYING.md

Description
Update documentation to reflect accurate default auth URL configuration.
Resolves #465
Type of change
Please delete options that are not relevant.

[x] documentation update

How Has This Been Tested?
N/A
Test Configuration: N/A

Toolchain: N/A
SDK: N/A

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my code
[ ] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules

Coverage: 45.192%. Remained the same when pulling 6f2f56f2e1e73680f3f276be8b5981af1b3f9330 on 465-auth-url into 251d249c6d2611a3d1aaf5d475f53d011a79bd63 on staging.


What kind of export method is the data set format of this folder form?

@759852125 Could you show what is inside of JSON? It could be JSON, JSON-MIN, COCO.
If you see "annotations", "data", "predictions" keys that are dicts, it should be JSON.

@759852125你能展示一下 JSON 里面有什么吗？它可以是 JSON、JSON-MIN、COCO。 如果您看到作为字典的“注释”、“数据”、“预测”键，则它应该是 JSON。

This is a COCO format.

1


Error in raw_pose_processing.ipynb

When I run this file, the fps value is 0 and pos_ Although a series of corresponding folders for datasets can be created under the data folder, no npy files appear in each folder. An error occurred while executing the l

ast block of code as follows:

This is the results:


Updated and maintained version

I'm been updating my own fork of this font since a few months back in 2022. I use my version as my main terminal/programming font so I keep improving it with whatever I find useful.
If you agree I can even take over as a maintainer for the main repository, I would actually love to.
My updates so far
Update 2023-02

Added Braille characters (⢩ ⢪ ⢫ ⢬ ⢯ ⢿ ⣁ ⣂ ⣃ ⣇ ⠿ ⠾ ⠪⠘), usually used for progress indicators in terminals.

Update 2023-01

Added simple box drawing characters.

Update 2022

This version has fixed glyphs so that all of them are properly monospaced now.

Detaching the fork to continue developing independently.


Touches not detected below notifications pulldown.

I have the exact same setup as in the NotifPanel Real Life Example. The problem on iOS is no touches are detected in the screen below the panel (try wrapping the image into TouchableOpacity, it will not do a thing). On Android it works fine.

Never mind, I have figured it out.
For anyone encountering the same issue - the example is set up a bit clumsily. The notifications View there is se up as absolutely positioned, at top: 0 and left:0. That means that it - on iOS at least - obscures the View underneath it from touches, even if it is moved elsewhere by being Interactable.View. So for this to work, I needed to move the notifications panel out of the screen to begin with and then set the snap points and boundaries relative to this new position, which means snap points are at y: 0 and y:Screen.height and boundaries are the same.

haha, I whipped those examples a couple of days before the conf so they were brute forced :) Feel free to PR a better implementation so people could reuse them

There's actually a simpler way I believe to fix your issue without changing the layout of entire example.
The Interactable.View is inside a container that is absolutely positioned, right? And this container is what obscuring the touches, right? All you have to do is add the pointerEvents prop to it. See its docs here: https://facebook.github.io/react-native/docs/view.html#pointerevents
pointerEvents='box-none' defines that the container is never the target of touch events but it's subviews can be which is exactly what you want.

Oooh interesting, I haven't noticed that. I think the rearrangement of the layout can be a bit cleaner maybe? Because you don't have to deal with negative offsets... I don't know, I guess it boils down to personal preference :-) Anyway I'll keep that prop in mind for other touch-related problems, thanks.


[TestHarness] Deprecate testharness

Deprecates testharness with the replacement of DeviceConfigurationOverride.
This PR also replaces the internal usage in some other module's tests, and provides a migration guide to the new methods.

This looks good, let me branch off Compose 1.6 before we merge this in though


[WIP]: Small Web app improvements

Moved mu_min div in LDC form and downgraded werkzeug to work with scipy v1.5.2.
Fixes #407

Also adding #395 to this PR.

Hello @hover2pi, Thank you for updating !

In the file exoctk/modelgrid.py:

Line 290:54: W504 line break after binary operator
Line 291:54: W504 line break after binary operator
Line 292:54: W504 line break after binary operator
Line 293:54: W504 line break after binary operator
Line 294:52: W504 line break after binary operator
Line 300:62: W504 line break after binary operator
Line 301:62: W504 line break after binary operator
Line 308:61: W504 line break after binary operator
Line 309:61: W504 line break after binary operator
Line 562:57: W504 line break after binary operator
Line 563:57: W504 line break after binary operator
Line 564:57: W504 line break after binary operator
Line 565:57: W504 line break after binary operator
Line 566:55: W504 line break after binary operator
Line 586:63: W504 line break after binary operator
Line 588:63: W504 line break after binary operator
Line 590:61: W504 line break after binary operator

@nespinoza Shall I deploy?

I deployed it to the test server and everything is fine but the production server needs a Python update (#411 ) before I can pull from master to include these updates.

OK! Also, I would really like to deploy everything at once instead of deploying on a tool-to-tool basis, so as to be consistent with the ExoCTK v.1.1 project (https://github.com/orgs/ExoCTK/projects/11).

FYI: the limb-darkening version in the test server still has the issues outlined in https://github.com/ExoCTK/exoctk/issues/372 --- not in the web-version, but on the downloaded coefficients (once you click "Download Coefficient Tables"). It appears this was fixed by https://github.com/ExoCTK/exoctk/pull/381 in the web app, but not on the coefficients that are printed for download.
Should I open another ticket for that?


Unfortunately you need to add two more countries, Israel and Lebanon

Israel https://www.ynetnews.com/article/K621ZLE45
Lebanon https://www.voanews.com/science-health/coronavirus-outbreak/first-coronavirus-case-confirmed-lebanon-linked-iranian-city

added.


Bump version and PyPi ?

It would be most welcome if you could push a new version on PyPi :)

i have just released version 0.3


Compiler warning fixes to address #352

This PR contains fixes to quell all compiler warnings (at least in recent versions of GCC and Clang) with the exception of casts related to SLAV for primarily function pointers. Q_UNUSED is employed where possible (all except a single case where <QtGlobal> was not in include path) considering it is Qt based and self documenting/easy to search and address in the future. If we know certain vars will always be positive during comparison operations, then we can use uints in each context opposed to static casting if desired.

Yielding to PR #354 due to some overlap. Can re-pull once #354 is merged and address any remaining warnings at that time.


Is auto-requiring all images ideal from a performance viewpoint?

The intended way to add new images to a RN project is to copy them to the Images/ directory, add them to Images.js and then use Images.variablename in the app itself.
That's very nice and tidy, but if I understand it correctly that leads to all image resources being loaded into the app every time it runs, regardless of whether an image is actually used or not.
Could this have an effect on performance with larger images?
Or does it not matter because the images would be loaded into memory anyway just by being bundled into the project?

Such an awesome question!
I think this matters on how images (an the magic of images) is handled.   Because we're not sure if it follows normal javascript conventions anyway.   Are images read from disk when they are required?  Or are they stored in memory anyway?
Honest answer is I don't know, and I believe the answer isn't simple.  We've never seen a performance issue from this method, but now I'm interested in checking into it!
@leonskim - do you have any idea how this really works on Android?
@kevinvangelder - on windows?
@skellock - on iOS?
Or do any of you know what tool (other than digging through native) we can use to heuristically be sure?

I'm not entirely sure.  Since they're JavaScript bundled, they'll have to cross the bridge into native.  At that point they're probably cached, but they have to travel via string (probably base64).
This does seem like it could be an issue, I just don't know exactly when things turn from haste modules into memory into native.
I'd love to get an answer on this too.

I tried an experiment tonight where I "lazy-loaded" images in a getter. The code was fairly simple:
const images = {
  logo: '../Images/ir.png',
  clearLogo: '../Images/top_logo.png',
  // .. etc
}

const lazyImages = {}
Object.keys(images).forEach((key, index) => {
  let cached
  lazyImages.__defineGetter__(key, () => {
    if (cached) return cached
    cached = require(images[key])
    return cached
  })
})

export default lazyImages

Unfortunately, require doesn't really work like that, I guess.

This works for node, but React Native's bundle system is uh.... different. Thanks for exploring!

Because of React Native limitations, there's not a great way to get around this.
However, you can probably use something like react-native-fast-image. We should consider adding it to Bowser.

This is more of a Bowser thing, so I'm closing here.


Update preview-channel.md

@asklar : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@mcleanbyron Should Alex change his base branch to master or is that something we can do?

@asklar : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Throws webpack error for development with next@latest

Steps to reproduce:

Bootstrap project with create-next-app, choose appDir.
Copy code from example svg-next repository examples/svg-next/src/shared/ui/icon.
Modify next.config.js as in example.
Start dev server with "npm run dev"
Throws webpack error: [webpack.cache.PackFileCacheStrategy/webpack.FileSystemInfo] Parsing of C:..\node_modules\prettier\index.mjs for build dependencies failed at 'import(url)'.

NodeJs LTS
Windows 10

the same happens with the svg-next example. Trace is below:
<w> [webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: Can't resolve 'prettier' in 'C:\Users\damir.gimatdinov\Desktop\svg-next\node_modules\@neodx\pkg-misc\mjs'
<w> while resolving 'prettier' in C:\Users\damir.gimatdinov\Desktop\svg-next\node_modules\@neodx\pkg-misc\mjs as file
<w>  at resolve esm file prettier
<w>  at file dependencies<EMAIL_ADDRESS><w>  at file<EMAIL_ADDRESS><w>  at resolve esm file @neodx/pkg-misc
<w>  at file dependencies<EMAIL_ADDRESS><w>  at file<EMAIL_ADDRESS><w>  at resolve esm file @neodx/vfs
<w>  at file dependencies<EMAIL_ADDRESS><w>  at file<EMAIL_ADDRESS><w>  at resolve esm file ./_internal/unplugin-cb9d332a.mjs
<w>  at file dependencies<EMAIL_ADDRESS><w>  at file<EMAIL_ADDRESS><w>  at resolve esm file @neodx/svg/webpack
<w>  at file dependencies C:\Users\damir.gimatdinov\Desktop\svg-next\next.config.mjs
<w>  at file C:\Users\damir.gimatdinov\Desktop\svg-next\next.config.mjs
<w>  at resolve commonjs C:\Users\damir.gimatdinov\Desktop\svg-next\next.config.mjs
<w> [webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: Can't resolve 'prettier' in 'C:\Users\damir.gimatdinov\Desktop\svg-next\node_modules\@neodx\pkg-misc\mjs'
<w> while resolving 'prettier' in C:\Users\damir.gimatdinov\Desktop\svg-next\node_modules\@neodx\pkg-misc\mjs as file
<w>  at resolve esm file prettier
<w>  at file dependencies<EMAIL_ADDRESS><w>  at file<EMAIL_ADDRESS><w>  at resolve esm file @neodx/pkg-misc
<w>  at file dependencies<EMAIL_ADDRESS><w>  at file<EMAIL_ADDRESS><w>  at resolve esm file @neodx/vfs
<w>  at file dependencies<EMAIL_ADDRESS><w>  at file<EMAIL_ADDRESS><w>  at resolve esm file ./_internal/unplugin-cb9d332a.mjs
<w>  at file dependencies<EMAIL_ADDRESS><w>  at file<EMAIL_ADDRESS><w>  at resolve esm file @neodx/svg/webpack
<w>  at file dependencies C:\Users\damir.gimatdinov\Desktop\svg-next\next.config.mjs
<w>  at file C:\Users\damir.gimatdinov\Desktop\svg-next\next.config.mjs
<w>  at resolve commonjs C:\Users\damir.gimatdinov\Desktop\svg-next\next.config.mjs

@DamirGim98, could you please provide more details?
You could create a reproduction in a public sandbox (e.g., https://codesandbox.io/).
I couldn't reproduce it myself without the full context, such as:

Next.js version (based on your screenshot, it seems that your version is a bit outdated)
Next.js configuration snippet
Your package.json file.

@secundant, Codesandbox is quiet tricky to set up, so i just replicated the problem and uploaded the repo to the github, here is the link https://github.com/DamirGim98/svg-next-replicate

@DamirGim98 The issue lies in the interaction between Next.js and next.config.mjs.
Next.js uses webpack to complie it (IDK why), but webpack encounters difficulties resolving the dependency chain.
I will research and fix the issue.
In the meantime, you can temporarily resolve it by changing your config file mode to CJS (next.config.cjs).

@DamirGim98 The issue lies in the interaction between Next.js and next.config.mjs. Next.js uses webpack to complie it (IDK why), but webpack encounters difficulties resolving the dependency chain.
I will research and fix the issue. In the meantime, you can temporarily resolve it by changing your config file mode to CJS (next.config.cjs).
Did you manage to solve this problem somehow? I still encounter it


entities under Xiaomi Flower Care (HHCCJCY01) and Xiaomi TH Sensor (LYWSDCGQ/01ZM) show unavailable

I'm using XiaomiGateway3 ver.v0.12.2. and found the entities from Xiaomi Flower Care (HHCCJCY01) and Xiaomi TH Sensor (LYWSDCGQ/01ZM) show unavailable. do you happen to know the issue and have a fix? both of them are Bluetooth devices.
Device info
HHCCJCY01
by Xiaomi
Xiaomi Gateway 3
Entities
Plant Zone 1 Conductivity
Unavailable
Plant Zone 1 Illuminance
Unavailable
Plant Zone 1 Moisture
Unavailable
Plant Zone 1 Temperature
Unavailable
Device info
LYWSDCGQ/01ZM
by Xiaomi
Xiaomi Gateway 3
Entities
Guest Bedroom Thermometer Battery
Unavailable
Guest Bedroom Thermometer Humidity
Unavailable
Guest Bedroom Thermometer Temperature
Unavailable

Gateway don't get any data from this sensors

So it is my BLE device issue? anything I can try to fix this? BTW, I can see data of those BLE devices from Mi app.

You should confirm that the ble device connect mihome through the gateway.Sometimes these devices connect through other device with Bluetooth gateway funtion like 'camera' or 'outlet'.Hope can help you.

https://github.com/AlexxIT/XiaomiGateway3/issues/187

Thank you mikeinblue. I do not have any other Ble gateway, xiaomi outlet or speaker. From mihome app, i can see all 5 ble devices connecting to the only xiaomi gateway I have.

Have you tried reboot gateway?

Yes I tried rebooting the gateway. My firmware version is v1.4.6_0012.
I see below message in the log. Not sure if it is related.
custom_components.xiaomi_gateway3.core.mini_miio
Source: custom_components/xiaomi_gateway3/core/mini_miio.py:129
Integration: Xiaomi Gateway 3 (documentation, issues)
First occurred: February 23, 2021, 10:24:54 PM (7 occurrences)
Last logged: February 23, 2021, 10:27:08 PM
Can't send get_properties [{'did': '332544765', 'siid': 3, 'piid': 1}]
Can't send enable_telnet_service

they work fine after upgrading to ver.1.01


Fix : Removed logger dependency issue from the repo client(Issue #99)

Closes #99
📑 Description
Removed the logger dependency from repo client
✅ Checks

[ ] My code requires changes to the documentation
[ ] I have updated the documentation as required

ℹ Additional Information

@christophenne

Hi @yrs147 , thanks for your PR.
Please have a look at the failing checks, one is that the ctx variable is now unused - you can remove it.
Also the commit message is not allowed to have upper case characters (Fix -> fix, Remove -> remove).
Additionally, please remove setting the null logger in pkg/client/client.go in SetupContext, since this is what we wanted to get rid of.
If there are any questions, feel free to ask.

Thanks for guiding @christophenne , I've made the necessary changes , can you please take a look at it


Add option for less verbosity

It's not too pretty but it works.
Closes #2

Thanks, I don't have time to review it now. May be tomorrow.

I just realize that my "tomorrow" is 18 days later...

I've reset the PR to exclude the logger related code.

sorry for the long delay.


Create pastoral record [SA-14709] (master)

@JustinAClarke was there anything further you wanted to add here before this gets merged?

i recall it is all good, and we can merge


Installing Tippecanoe on AWS Linux

I am trying to install Tippecanoe on AWS Linux and when I cd into the Tippecanoe directory and run make I get the following error
/bin/bash: g++-5: command not found
make: *** [geojson.o] Error 127```

What is happening here?

I am with the same problem. Have you been able to install tippecanoe in Amazon Linux?


Drop iOS 5 compatibility

This is in preparation for a bug fix using iOS 6+ API.
Also bumps minimum version to 6.0 in podspec file and updates README.

Pre-requisite for https://github.com/Flipboard/FLAnimatedImage/pull/58

:shipit:

Merging.


Mistake in Advanced/Executables lesson in an example

The upcase from hello is not WORLD, but in fact, HELLO.

@setzer777 could you open a PR to fix this?

@setzer777 @doomspork I think this is not a mistake. I copy my response from the PR discussion:
  defp response({opts, "Hello"}), do: response({opts, "World"})
  defp response({opts, word}) do
    if opts[:upcase], do: word = String.upcase(word)
    word
  end

So response({[upcase: true], "Hello" }) would expand to response({[upcase: true], "World"}) which would then be "WORLD"

The example is a little bit misleading though. While correct, this discussion might mean that the example adds unnecessary complexity for the subject at hand. An option would be to open a PR to completely remove the first clause definition for response/1 and change the corresponding example.

@aleandros you are correct, this isn't a bug after all.  You may be correct about the confusion as well.  @setzer777 what do you think?

Oh yeah I got it! I didn't see the code at the moment, but I fully agree with aleandros
So, the TODOs are:

Remove the useless function option:

 defp response({opts, "Hello"}), do: response({opts, "World"})

Fix the output described in this issue.

This is now resolved.


The Camera object error.

I don't know why it's happening, I don't know if it's a bug or something but how do I fix it?

Did you put a new camera instance in the room or something?

No, let me put and see...

Nope, the same error appeared again.

so did you change anything in the engine?

No I didn't change anything.

weird, what's the version of your GMS2 IDE and Runtime?

Let me see...

IDE v<IP_ADDRESS>3
Runtime v<IP_ADDRESS>8

that's weird, everything goes well on my machine.
try to update your ide to v<IP_ADDRESS>3, and the runtime to v<IP_ADDRESS>6, re-fork and re-clone the repository.

Okay.

Also your "a new hope" repository is public, I think you should make it private.

thanks, i will hide that later.

Thank you, it works now

Also how's the documentation going on?

Border has a problem too.

Working on it. Please be patient.

Okay.

Use Border_SetSprite(sprite) to change the border.

No I mean the window's width is not changed.

Pixels are kinda broken in this image that I gave you.

Is the function window_set_size working?

Let me see...

Well, I couldn't find where it is.

The line of code that changes the size of the window is in the script Border_SetEnabled.

By the way, how did you enabled the border??

I went to "border" object's create event. And I changed "_enabled=false" to "_enabled=true"

Wait a minute... I found the solution.

I need to activate the script. Also thanks for helping me.

Well, please use Border_SetEnabled(true) instead.
Please note there's a rule that the variable started with _ shouldn't be edited outside that object.

And if there is another problem, please open a new issue instead of editing the old issue.

Okay.


Fix 329

this PR should be rebased and merged.  I didn't take the time to clean up the commits on my local.

this PR should be rebased and merged.  I didn't take the time to clean up the commits on my local.

bummer, clicked rebased and merge instead of squash and merge :(.  oh well, the fix is in

bummer, clicked rebased and merge instead of squash and merge :(.  oh well, the fix is in


Add gradle support for building and packaging the ember web app

This alleviates the manual installation of node/npm/bower/ember.

Looks like the Travis error was due to https://github.com/srs/gradle-node-plugin/issues/209. Hopefully the plugin maintainer will fix this shortly.

Coverage remained the same at 0.0% when pulling 146885533eb38cf6a72f10b9497862d3eb071cb0 on mars-lan:ember into 9ede25c24349e2a201e148d70539e2c985d95ea7 on linkedin:linkedin.

Coverage remained the same at 0.0% when pulling 1865e4e4dd30bf91d710ab9dd6c87f5f0df6e553 on mars-lan:ember into 9ede25c24349e2a201e148d70539e2c985d95ea7 on linkedin:linkedin.


Implement MVP actions

Demonstrate (manually) a minimum-viable-produce job flow.

Create a new 'archive' job after a dataset is marked for archiving
Execute a URLAction calling a URL with the jobid
In response to the HTTP call, the mock archiver responds by updating the status to jobSuccessful

This might make use of the ScicatArchiveMock created by @consolethinks.
Ideally this would be converted into an integration test, but for now a manual test would suffice.

Confirmed by @phwissman that the MVP is fully functional.
Tests are still missing and will be covered by: https://github.com/SciCatProject/scicat-backend-next/issues/1435


Missing install instruction

Not a Go developer here: I have no idea how to build / install the software.
make fails with the message:
/bin/sh: goimports: command not found
/bin/sh: ko: command not found
mkdir -p /tmp/ko
Image Digest

@sfermigier :wave:
There's a apko task here: https://github.com/chainguard-dev/apko/blob/main/Makefile#L82
You should run make apko

You might also look at https://git.alpinelinux.org/aports/tree/testing/apko/APKBUILD

with apk you can run apk add -X https://dl-cdn.alpinelinux.org/alpine/edge/testing/ apko
@kaniini would it be okay to make help target the default one for make and add short help description for apko/install like other targets have?

@panekj yes, feel free to refactor the makefile, though i just made the default target the apko one :)


hoverctl loads hoverfly from PATH, should look in current directory first

hoverctl and hoverfly seem to often get bundled together, however hoverctl seems to look for the hoverfly binary in the path.
This can lead to strange situations, where hoverctl does not find the hoverfly binary, or loads the wrong hoverfly binary.
Maybe hoverctl should first try to load hoverfly from the directory it is in, before loading it from the path.
dir, _ := filepath.Abs(filepath.Dir(os.Args[0]))
hfbin := filepath.Join(dir, "hoverfly")
if _, err := os.Stat(hfbin); err == nil {
  // use hfbin
} else {
  // load from path as before
}

Hey @shyal,
Thanks for the feedback. At the time of creating hoverctl, this never occurred to me, but having saw this issue made it clear that this is something that hoverctl should do. I have implemented this change and it can be found in the latest release of Hoverfly, v0.9.1.

Thank you.


Failed to find the wasm32-wasi target installed

I am using cargo-wasi for Shopify functions. However, whenever I run cargo wasi run, the following error shows error: failed to find the wasm32-wasitarget installed, and rustup is also not detected, you'll need to be sure to install thewasm32-wasi target before using this command.
I've tried rustup target add wasm32-wasi command. And I am using mac m1.

If you run rustup show, what does it print?

Your error message prints:

and rustup is also not detected

so you may have multiple rustc binaries in your $PATH and you probably want to prefer the rustup-installed one if you're using rustup to install the wasm32-wasi target.


Add topics

Add topics (#2): cpp, c-plus-plus, compute, opencl, boost, gpu, gpgpu, performance, hpc

Done

Thanks :)


Expose as a NPM package for license dictionary purposes

Nevermind, found the lovely work of @sindresorhus once again at https://github.com/sindresorhus/spdx-license-list


Add validating admission policies for Pod Security Standards

Description
This PR is to add validating admission policies that are lined up with the Pod Security Standards.

Checklist

[x] I have read the policy contribution guidelines.
[x] I have added test manifests and resources covering both positive and negative tests that prove this policy works as intended.
[] I have added the artifacthub-pkg.yml file and have verified it is complete and correct.

This is grand, @MariamFahmy98! We may need to determine if this repo is the best place for them since they aren't technically Kyverno policies. The Policy Test in CI is failing because the Artifact Hub metadata file is not found in each subdirectory which is a requirement for all Kyverno policies.


feat(app, app-shell-odd): add Flex resource monitor

Closes EXEC-789

Overview
This PR adds a resource monitor to the ODD for select processes and general system metrics, dispatched hourly to Mixpanel if the user has opted-in.  The shape of the data reported is the ResourceMonitorDetails interface.
Properly mocking fs.promises.readFile proved to be quite challenging, so I've left a TODO to revisit unit testing ResourceMonitor.

Test Plan and Hands on Testing

Verified that the expected shape of data is dispatched hourly to Mixpanel. Although I can't yet play around with the data in Mixpanel without an ODD build that contains a mixpanel ID, the docs make it seem that more complex filters involving list data are possible, so I think we're good on that front. We can always tweak the shape of the analytics in a future QA alpha.

Changelog

Added a resource monitor on the ODD for tracking memory usage of the system and select processes.

Risk assessment
low

Will add testing to this before merging. Seth gave me some tips - create some tempfiles and analyze those 👍


Tutorial condition is invalid

Logic Apps condition no longer allow "Edit in Advanced Mode", and if I enter the expression in this tutorial it is invalid. Need to translate this to current functionality.

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

ID: 1e996c57-14b5-75a3-29de-40e6a44c50d3
Version Independent ID: 8a469e82-937d-9ca6-4b5a-3a37988390b0
Content: Monitor virtual machine changes - Azure Event Grid & Logic Apps
Content Source: articles/event-grid/monitor-virtual-machine-changes-event-grid-logic-app.md
Service: logic-apps
GitHub Login: @ecfan
Microsoft Alias: estfan

I can easily add triggerBody()?['data'] in the Basic Mode interface and Microsoft.Compute/virtualMachines/write to the third box, but I can't figure out how to scope it to the ['operationsName'] field. I think we get the same basic functionality by just making the condition a "contains". At that point I think it's just searching the whole trigger body. It would be nice, however, to understand what the change is that's been made.

Hi @davejdyer Thank you for your feedback! We will investigate and update you with our findings.

@davejdyer Thanks for pointing this out! We will update this doc accordingly. Here are the correct instructions for now.
While choosing a value for the first box, you can go to the Expression tab in the popover and type in triggerBody()?['data']['operationName'] in the box there.

@davejdyer Thanks for catching this issue. We created a work item for tracking resolution in the docs.
@PramodValavala-MSFT #please-close, thanks!


can not load delta table from minio

I set up a minio server and placed some delta data in url: s3://deltalake/nyc_taxi, execute the following query：
CREATE SECRET (
  TYPE S3,
  KEY_ID 'xxx',
  SECRET 'xxx',
  ENDPOINT 'minio.xxx.com',
  REGION '',
  USE_SSL true,
  URL_STYLE 'path'
);

select * from delta_scan('s3://deltalake/nyc_taxi');

the following error occurs：
IO Error: Hit DeltaKernel FFI error (from: While trying to read from delta table: 's3://deltalake/nyc_taxi/'): Hit error: 8 (ObjectStoreError) with message (Error interacting with object store: Generic S3 error: Error after 10 retries in 1.842569293s, max_retries:10, retry_timeout:180s, source:error sending request for url (https://s3..amazonaws.com/deltalake/nyc_taxi/_delta_log/_last_checkpoint): error trying to connect: Invalid Server Name)
ENDPOINT parameters do not work, it still connected to amazonaws.com url.
set REGION to 'us-east-1', then execute the quey, the following error occurs:
IO Error: Hit DeltaKernel FFI error (from: While trying to read from delta table: 's3://deltalake/nyc_taxi/'): Hit error: 8 (ObjectStoreError) with message (Error interacting with object store: Generic S3 error: Received redirect without LOCATION, this normally indicates an incorrectly configured region)
It seems that the ENDPOINT parameters still don't work, and minio has no region. What went wrong?
But when I query the parquet file with delta lake, there is no problem:
select * from **read_parquet('s3://deltalake/nyc_taxi/0-fe638ed0-e514-4c6b-887d-e3b2637df81c-0.parquet');

#14


ci: set manual trigger for some GitHub Actions workflows

Since GitHubActions does not trigger GitHubActions, I noticed that the duckdb-rs cache was not present in the PR immediately after the duckdb-rs version was raised and the test took a long time in #2804.
In such cases, it would be useful to be able to manually trigger GitHubActions in the main branch to update the cache. It may also be possible to trigger any workflow on any branch without creating a PR, thus avoiding unnecessary test runs.

Great! Most of these would be covered by just the test-all.yaml, but I guess no real harm in having them there.
Thanks


Malygos + on summon effects

How does Malygos power interact with battlecry and  "on summon" effects?
We ran one experiment with pack leader + another card being replaced by malygos hero power.  When replaced with a beast, the new beast was NOT buffed.

We also learned that the hero power can target minions in the store.


Want to add Free Ethical Hacking Course

Hello Sir,
I am Deepika Kumari with GitHub id - deep2002deepika
I want to contribute to your repository by adding a course "Introduction to Ethical Hacking".
Kindly consider my contribution. I'll be very thankful to you for this opportunity.
Regards,
Deepika Kumari

kindly check contributing.md file to contribute


Added additional derives for Input structures

Exists struct
pub struct UpdateUserInput {
    pub first_name: Option<String>,
    pub last_name: Option<String>,
};

I am want write:
#[derive(GraphQLQuery)]
#[graphql(
    schema_path = "graphql/schema.json",
    query_path = "graphql/queries/update_user.graphql",
    input_derives = "Debug, Default",
    response_derives = "Debug, PartialEq",
)]
pub struct UpdateUserMutation;

let input = UpdateUserInput {
    first_name: "Foo".to_string(),
    ..UpdateUserInput::default()
}

Good point, this is not implemented. We definitely should support that, I'll see if I can work on it soon, but please anyone else feel free to get to this first. The implementation shouldn't be very different from what we have for response_derives.

Default will only work for simple schemas. As soon as an enum is involved it fails.
Because I'm in the same situation that I don't want to specify all the optional fields in an input type, I have created #260. Does that fix the issue for you?

Doesn't additional_derives handle this already? Also see #249 (where I speculate whether additional_derives should be split into response and variables halves).

@tomhoule Duplicate of #249.

Closing as fixed by #285.