[Event Request] codeunit 550 VAT Rate Change Conversion - Function UpdateServPriceAdjDetail

Dear ALAppExtensions Team,
We would like to request the following event publisher in codeunit 550 function UpdateServPriceAdjDetail, of course without the prefix DIN.
begin
    // DINNL <<
    DINIsHandled := false;
    DINOnBeforeUpdateServPriceAdjDetail(DATABASE::"Serv. Price Adjustment Detail", DINIsHandled);
    if not DINIsHandled then
        exit;
    // DINNL >>
    if VATRateChangeSetup."Update Serv. Price Adj. Detail" <>
       VATRateChangeSetup."Update Serv. Price Adj. Detail"::"Gen. Prod. Posting Group"
    then
        exit;
    VatRateChangeConversion.SetRange(Type, VatRateChangeConversion.Type::"Gen. Prod. Posting Group");
    if VatRateChangeConversion.FindSet then
        repeat
            with ServPriceAdjustmentDetail do begin

local procedure DINOnBeforeUpdateServPriceAdjDetail(TableIdPint: Integer; var IsHandled: Boolean)

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Feature/pact spec tests

#27 This pull request is to make pact-go v1.1 compatible by verifying against the test cases created in pact specification https://github.com/pact-foundation/pact-specification/tree/version-1.1.

Coverage decreased (-1.5%) to 97.321% when pulling 0a011e369c3f9d6e1aec022a38544bb0edbc782c on feature/pact-spec-tests into 81dd588b317aeebab2282bf58ce83c34258cb151 on master.

Coverage decreased (-1.5%) to 97.321% when pulling edaae1b380e61b8f83a4e3be23996be6cc0a318d on feature/pact-spec-tests into 81dd588b317aeebab2282bf58ce83c34258cb151 on master.


cleverdox Viewer

Why while I open the pdf file this plugin redirect to me to Google Play Store.
If I have already installed adobe for view files  pdf.

please read the docs


[Question]: Why is the Chunk Number is 0?

Describe your problem
Why do I encounter a situation where the chunk number is 0 when I use the Book method to perform chunk operations on a txt file?
little women_1.txt

I have the same problem

Describe your problem
Why do I encounter a situation where the chunk number is 0 when I use the Book method to perform chunk operations on a txt file? little women_1.txt

can't reproduce your question


Add in redis landing page.

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

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-mapping/reference.yml
:white_check_mark:Succeeded

docs-ref-services/redis.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:warning: Validation status: warnings

File
Status
Preview URL
Details

docs-ref-services/redis.md
:warning:Warning

Details

docs-ref-mapping/reference.yml
:white_check_mark:Succeeded

docs-ref-services/redis.md

[Warning] Author sptramer, lisawong19 cannot be recognized in GitHub.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-mapping/reference.yml
:white_check_mark:Succeeded

docs-ref-services/redis.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-mapping/reference.yml
:white_check_mark:Succeeded

docs-ref-services/redis.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Improvement: datepicker function should not be difficult to use with .input-field class

Expected Behavior

select element should not get hidden inside the datepicker modal when nested inside an element with the class .input-field

Lets say I have a form like this:
         <form class="license_info" role="form" #form_license_info="ngForm">

               License Number
               <input [value]="this.licenseNumber" id="license_number" type="text" class="validate">

               Original License Date
               <input class="datepicker" [value]="this.originalDate" id="original_license_date" type="text" class="validate" >

               License Expiration Date
               <input class="datepicker" [value]="this.expireDate" id="license_expiration_date" type="text" class="validate" >

               License Type
               <input [value]="this.licenseType" id="license_type" type="text" class="validate">

               License Category
               <input [value]="this.licenseCategory" id="license_category" type="text" class="validate">

               Employment Type
               <input [value]="this.employmentType" id="employment_type" type="text" class="validate">

         </form>

and this JS
      // Materialize DatePicker
      $('.datepicker').pickadate({
         selectMonths : true, // Creates a dropdown to control month
         selectYears  : 15, // Creates a dropdown of 15 years to control year,
         today        : 'Today',
         clear        : 'Clear',
         close        : 'Ok',
         closeOnSelect: true, // Close upon selecting a date,
         format: 'mmmm d, yyyy'

      });

Now, the select dropdowns inside the datepicker modal popup are hidden due to this class from Materialize base css:
.input-field select {
    display: block;
    position: absolute;
    width: 0;
    pointer-events: none;
    height: 0;
    top: 0;
    left: 0;
    opacity: 0;
}

It should check if the class has .datepicker and if so, it should ignore applying these styles, similar to how .browser-default would ignore applying styles in many cases. For example, by only applying if one level deep
.input-field > select {
    display: block;
    position: absolute;
    width: 0;
    pointer-events: none;
    height: 0;
    top: 0;
    left: 0;
    opacity: 0;
}

The problem is that if I simply remove the .input-field class, then this form group of label/input pair now looks different than all surrounding form groups. Which is why I make this suggestion.

yes we will fix this

Should I do a PR with my suggestion or is this already planned to be worked on a different way?

A PR with your suggestion is good.

PR submitted


Refactoring the monitor service to avoid expvar

Fixes #6507.

Beside the two naming issues, it lgtm

I think I've addressed all of the comments. I've also updated the changelog.

👍


add a way to choose content format to use for bootstrap session

This could be used to supported backward compatibility for content format. (see #227, #225)

Integrated in master (commit e56028008a420c7d81d7f709630b387e80344cc8)


[ts-sdk-kit]: no RoochClientProvider export

in clientProvider.ts, RoochClientProvider is exported, but it is not exported in provider/index.ts. Should we export RoochClientProvider in provider/index.ts?

We don't need to export clientProvider.ts, rooch provider will contain clientProvider

here, where i get a little confused

here, where i get a little confused

@tanstack/react-query

I close this issue, feel free to reopen it if necessary.


Extend ROF to handle "R" datastreams

Need a way to say a datastream should be of type "R", and to give a URL (as well as mime-type, etc)

Thinking something using the already existing -meta annotation. A field for URL could be added, which means save the datastream as type "E" using the given URL as the location. For example:
{
    "content-meta" {
        "URL": "bendo:/item/123456/file.txt",
        "mime-type": "text/plain"
    }
}

This means, as a special case, the ROF tool will need to resolve the bendo: scheme into a resolvable URL when this is put into fedora.

If the datastream is already existing as a non-"E" type, the rof uploading tool will exit with an error. ("The datastream XXXX already exists and is not of type 'E'")

I think that this is done.

Finished with PR #9.


TurboGears 2.3 compatibility

I had to make these changes to run my application on TurboGears 2.3.4

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Michael,
Le 08/12/2014 04:06, Alessandro Molina a écrit :

@pedersen https://github.com/pedersen looks good to me, can you roll
out a bugfix release for this if it looks good to you too?

Could you please pull the "TurboGears 2.3 compatibility" changes?
Yesterday I made a fresh install and was beaten by these few
incompatibilites.
Thanks,

Jean-Denis Girard
SysNux                Systèmes   Linux   en   Polynésie   française
http://www.sysnux.pf/ Tél: +689 <IP_ADDRESS> / GSM: +689 <IP_ADDRESS>
-----BEGIN PGP SIGNATURE-----
iEYEARECAAYFAlVnV70ACgkQuu7Rv+oOo/gzJQCgl3ZiVn7SKiqF9o9PrIySof1G
TI4AnR2F7qyaB8mdarOVOMUcFiubD8gY
=AS/u
-----END PGP SIGNATURE-----


[gamescope-session] Upstream to Fedora

Attempt to upstream this package into the official Fedora repository.

Worst-case scenario, we can get this into RPM Fusion short-term.

gamescope-session on its own no longer provides any actual session. It is a base package that other gamescope based sessions rely on.
So we would also need to upstream something like gamescope-session-steam for anyone to make any use of it.

Good point. This report was originally open back when it was one package. We should upstream the two packages (similar to how it is on the AUR): gamescope-session for the base package in case others want to BYOS (bring-your-own-session) and gamescope-session-steam to get the SteamOS experience with the Steam client.

why not make a .spec for gamescope a .spec tells contains the instructions for building the package

Each folder in this repository contains a related .spec file. The gamescope-session.spec can be found here:
https://github.com/playtron-os/rpm-specs-gaming/blob/main/gamescope-session/gamescope-session.spec
All of these packages in this repository are hosted on the Fedora Copr. The goal is to get these into Fedora or, at least, RPM Fusion short-term.
https://copr.fedorainfracloud.org/coprs/playtron/gaming/packages/


chore: tries different envoy versions.

cc @nacx

Injected two failures to test the CI. It works.


Add its own class for curl on WordPress.WP.AlternativeFunctions

Hi, since curl sometimes needs to be used, for example, when the multi_exec() is used and cannot be replaced by wp_remote_*, having a specific class like WordPress.WP.AlternativeFunctions.Curl to group all the curl functions would help to disable that sniff in a file. Otherwise a lot of phpcs:disable comments should be added.
I tried to seek a way to disable the sniffs with a "start-with" rule, but I didn't find it.
Thanks.

Not exactly what you are looking for, but disabling the curl group (or any group) is a existing feature and has been around for forever. See: https://github.com/WordPress/WordPress-Coding-Standards/wiki/Customizable-sniff-properties#various-sniffs-excluding-a-group-of-checks
This property works code-base wide though, so is not file specific.

That's perfect, thank you!


DOC: Consolidate release notes into Documentation/Releases

Add minimal README.

This brings them all into one, shorter directory (1.0.md was here already).
Addressing the trailing whitespace noted by ghostflow (not introduced in this commit), but the other size complaints will have to remain.


node-ethercat: Fix #include after opened namespace

The ethercat_config.hpp header was included from ethercat.hpp after opening the villas::node namespace. This made all definitions originating from that header including the transitive definitions from ethercat's ecrt.h part of the villas::node namespace.
The especially problematic part was that ecrt.h itself has an #include <netinet/in.h> introduced in 1. This caused the libc definitions for sa_familt_t, sockaddr_in and sockaddr_in6 to be moved into the villas::node namespace, causing build error on recent ethercat versions.

I always screw up the DCO..... @stv0g Let's wait for the CI and get this in ASAP.


Tls changes

Change log description
(2-3 concise points about the changes in this PR. When committing this PR, the committer is expected to copy the content of this section to the merge description box)
Purpose of the change
(e.g., Fixes #666, Closes #1234)
What the code does
(Detailed description of the code changes)
How to verify it
(Optional: steps to verify that the changes are effective)

Codecov Report

Merging #4 (54030bb) into master (6c26515) will decrease coverage by 0.03%.
The diff coverage is 89.86%.

@@             Coverage Diff              @@
##             master       #4      +/-   ##
============================================
- Coverage     85.62%   85.58%   -0.04%
- Complexity    14731    14741      +10
============================================
  Files           966      967       +1
  Lines         55157    55276     +119
  Branches       5563     5576      +13
============================================
+ Hits          47226    47309      +83
- Misses         5027     5058      +31
- Partials       2904     2909       +5

Impacted Files
Coverage Δ

...c/main/java/io/pravega/controller/server/Main.java
16.04% <0.00%> (-0.21%)
:arrow_down:

...avega/segmentstore/server/host/ServiceStarter.java
24.39% <0.00%> (ø)

...re/server/mocks/SynchronousStreamSegmentStore.java
83.33% <0.00%> (-7.58%)
:arrow_down:

...egmentstore/server/store/StreamSegmentService.java
83.33% <0.00%> (-5.96%)
:arrow_down:

...pravega/controller/server/rpc/grpc/GRPCServer.java
95.00% <83.33%> (-2.06%)
:arrow_down:

...a/segmentstore/server/host/security/TLSHelper.java
84.61% <83.33%> (-1.75%)
:arrow_down:

...tore/server/containers/StreamSegmentContainer.java
90.00% <86.66%> (+0.58%)
:arrow_up:

...e/server/host/handler/PravegaRequestProcessor.java
82.77% <91.66%> (-1.65%)
:arrow_down:

.../server/logs/operations/MergeSegmentOperation.java
96.92% <92.85%> (-3.08%)
:arrow_down:

...io/pravega/common/security/TLSProtocolVersion.java
100.00% <100.00%> (ø)

... and 39 more

Continue to review full report at Codecov.

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


Redirection config is incorrect

Description:
The redirection config at the very top is incorrect

Fixed in https://github.com/wso2/docs-apim/pull/1211


BLOB Files location

Can we get option to move huge blob files to another hard drive. I tested that creating symblink and moving files to another drive works without problems to the app. But it will be better to do it from gui app 👍

Blob files are part of the data_dir location which can be configured on the daemon. This is a bit tricky because when you change this location, you'd need to close the daemon, move current contents to the new location (excluding the daemon_settings file (https://github.com/lbryio/lbry/issues/1375)), and then restart.
We are looking at solutions for the daemon side to get rid of blob files completely, and instead just generate them from the output file.

I tested it by creating symblink in original folder to new folder on other drive where I copied all files.


Restrict RAM IAM permissions in pivot role

Describe the bug
Pivot Role (auto created and custom) has the following unrestricted permissions on KMS and RAM shares. This role needs to be added as an exception until the following are remediated.

Sid: RamInvitations
Effect: Allow
Action:
- "ram:AcceptResourceShareInvitation"
- "ram:RejectResourceShareInvitation"
- "ram:EnableSharingWithAwsOrganization"
Resource: '*'

How to Reproduce
Run checkov scan for auto created pivot role or custom pivot role - deploy/pivot_role/pivotRole.yaml. The scan will FAIL with the following message.
Check: CKV_AWS_111: "Ensure IAM policies does not allow write access without constraints"
FAILED for resource: AWS::IAM::ManagedPolicy.PivotRolePolicy0
File: /deploy/pivot_role/pivotRole.yaml:{line numbers}
Guide: https://docs.prismacloud.io/en/enterprise-edition/policy-reference/aws-policies/aws-iam-policies/ensure-iam-policies-do-not-allow-write-access-without-constraint
	Code lines for this resource are too many. Please use IDE of your choice to review the file.

Check: CKV_AWS_109: "Ensure IAM policies does not allow permissions management without constraints"
FAILED for resource: AWS::IAM::ManagedPolicy.PivotRolePolicy0
File: /deploy/pivot_role/pivotRole.yaml:{line numbers}
Guide: https://docs.prismacloud.io/en/enterprise-edition/policy-reference/aws-policies/aws-iam-policies/ensure-iam-policies-do-not-allow-permissions-management-resource-exposure-without-constraint
Expected behavior
Once remediated, the checkov scan should not contain the above mentioned failures.
Your project
No response
Screenshots
No response
OS
Mac
Python version
3.10
AWS data.all version
2.3
Additional context
No response

Hi @mourya-33 thanks for opening an issue. I have quickly looked into the docs and actions such as ram:AcceptResourceShareInvitation can only be limited to ram:ShareOwnerAccountId and ram:ResourceShareName.
So, we cannot restrict permissions based on tags, but we can use the Resource share name, because all data.all RAM shares will be using Lake Formation and will have a name such as LakeFormation-VX-UNIQUEIDENTIFIER. Is that what you are looking for? Or do you just need to include the policy as an exception in checkov?

@mourya-33 Any updates on this?

@dlpzx @mourya-33 @anmolsgandhi I think we just put this as a checkov exception. I don't think this one is worth solving.

@zsaltys if we can add this to checkov exceptions, shall I close this?


ability to disable default SSL cert

by default Kong has an SSL cert enabled signed by localhost.
there should be a way to disable this certificate (essentially turning the https port into another http port)

example of this in action: https://mockbin.com

The reason why the SSL port is enabled by default is to allow the SSL Plugin to work without restarting or reloading the Kong cluster (thus avoiding having an exception in the way plugins are being installed).
For a more detailed explanation: https://github.com/Mashape/kong/issues/453#issuecomment-129634211

The only place I see ssl;true with 5.1 configuration file is for cassandra ssl. Is there new setting for it?
Databases configuration
databases_available:
cassandra:
properties:
contact_points:
- "localhost:9042"
timeout: 1000
keyspace: kong
keepalive: 60000 # in milliseconds
# ssl: false
# ssl_verify: false
# ssl_certificate: "/path/to/cluster-ca-certificate.pem"
# user: cassandra
# password: cassandra

I think that disabling the SSL port can be done by just not exposing it to the world, by putting a firewall rule in front of it or by using iptables. That would be the best solution that would not affect how plugins work.


Document Layer.update method

As reported by @ibrahimmenem the method is completely undocumented

I think we can close this

https://github.com/CartoDB/carto-vl/pull/566

Ups, sorry, yes, it is correctly closed


is quic suitable for video streaming?

I think so, because Youtube uses QUIC as well as other Google services and having some benefits from QUIC.
https://groups.google.com/a/chromium.org/forum/#!searchin/proto-quic/youtube/proto-quic/BrMMwpI32KU/kGWBKe-NMQAJ https://groups.google.com/a/chromium.org/forum/#!searchin/proto-quic/youtube/proto-quic/_7EzqwFzu7I/05Ih3LaUx8UJ
I'm not sure that our implementation works well with video streaming. At least It is in my TODO list.

ok  i want to  wraite an  rtsp-server/client based quic.
will  look this later.

@notedit did you go forward on quic based rtsp video streaming?


Android error with RTCStream.release()

Just upgraded from 0.3 to 0.4 this morning and now some of my .release() calls are failing. Here is a sample:
  hangUp() {
    const pc = this.state.peerConnection
    if(this.state.session) {
      this.state.session.destroy()
      this.setState({session: null})
    }
    if(this.state.localStream) {
      if(pc)
        pc.removeStream(this.state.localStream)
      this.state.localStream.release()
      this.setState({localStream: null})
    }
    if(this.state.remoteStream) {
      if(pc)
        pc.removeStream(this.state.remoteStream)
      //this.state.remoteStream.release()
      this.setState({remoteStream: null})
    }
    if(this.state.peerConnection) {
      this.state.peerConnection.close()
      this.setState({peerConnection: null})
    }
    this.setState({localStreamURL: null, remoteStreamURL: null})
  }

If the above line is uncommented, I get the error in these screenshots. Interestingly, it doesn't appear in the adb logcat output at all, nor is the error reported to have any origins in my code:
https://dl.dropboxusercontent.com/u/147071/Screenshots/WebRTCCrash/Screenshot_20160407-102642.png
https://dl.dropboxusercontent.com/u/147071/Screenshots/WebRTCCrash/Screenshot_20160407-102647.png
This worked yesterday on 0.3.X, so I feel like something in 0.4.0 must have regressed--that or I was releasing my streams wrong in 0.3 and 0.4 is catching that but not being helpful. :)
Thanks.

    if(this.state.remoteStream) {
      if(pc)
        pc.removeStream(this.state.remoteStream)
      //this.state.remoteStream.release()                        <---- this line
      this.setState({remoteStream: null})
    }

Did your app crash on commenting this line?

No, on uncommenting it.

You don't need to release remoteStream, remoteStream will be released after peerConnection is closed.

You should only release localStream(generated by getUserMedia) because the module doesn't know if you will use it later. The remote stream should be released after its peerConnection is closed.

Got it. Is that true for the local stream as well?
Even so, is there any way the native code can detect the double release
and just make it a no-op? I can remove the release call, I just like
being super cautious in my coding, because you never know when something
may not release the RTCPeerConnection, the underlying code changes and
the streams aren't released, etc. :)
Thanks.

Yeah, making double release a no-op should be good. I will do that. Thanks.

No, thank you. :) I'll go ahead and remove the line, glad to know my
test code isn't leaking streams.

How one developer just broke Node, Babel and thousands of projects in 11 lines of JavaScript

fixed by 2def8452589a8ff4abab8ab2558ad0fce843927e and 48c8dd72f2d7b278ba08ae353ad10ecbb26e06ff


[EventRequest] codeunit 5870 "Calculate BOM Tree" in procedure TraverseTree

I need an event to Skip those lines
ParentBOMBuffer."Able to Make Parent" :=
CalcMinAbleToMake(IsFirst, ParentBOMBuffer."Able to Make Parent", "Able to Make Parent");
ParentBOMBuffer."Able to Make Top Item" :=
CalcMinAbleToMake(IsFirst, ParentBOMBuffer."Able to Make Top Item", "Able to Make Top Item");
The Event should be like this

Can you provide full change? Including code for additional procedures you've added?

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 53591.


make visualize.py zero-fill the missing data points.

if the data is missing (i.e. computer was sleeping or was not at home), visualize.py should fill the gaps in the uploaded CSV with data points where $date,download=0,upload=0 (e.g. every 5 mins, or whatever the rate sample exists in rest of the data set)

@mierdin interested?


Can't set default values for an array of ParameterType.COMPLEX objects due to type error

Hello,
I'm developing a little plugin and I would like to set a default value for a parameter which is an array of objects (really I'd prefer to just have an array of arrays of strings, but this seems the better way to do it in jsPsych). While it works brilliantly as long as I provide that parameter, I can't seem to provide a default value without throwing a type error.  I've tried various options for the default value: null, [], or a fully specified array: [{members_ids: ['a']}] but unfortunately they all throw the same error.
Ultimately, I can avoid the problem by providing a default to the parameter each time I use the plugin, but it's slightly annoying to have to always fill in that parameter, and I assume this is not the intended behaviour.  I'm by no means a JS expert so perhaps there is something basic I'm missing, but I couldn't find anything that would fix the problem.
Error
Uncaught (in promise) TypeError: t[i] is undefined
    setDefaultValues https://unpkg.com/jspsych@7.0.0:1
    doTrial https://unpkg.com/jspsych@7.0.0:1
    startExperiment https://unpkg.com/jspsych@7.0.0:1
    jsPsychModule https://unpkg.com/jspsych@7.0.0:1
    o https://unpkg.com/jspsych@7.0.0:1
    promise callback*l https://unpkg.com/jspsych@7.0.0:1
    o https://unpkg.com/jspsych@7.0.0:1
    promise callback*l https://unpkg.com/jspsych@7.0.0:1
    o https://unpkg.com/jspsych@7.0.0:1
    promise callback*l https://unpkg.com/jspsych@7.0.0:1
    jsPsychModule https://unpkg.com/jspsych@7.0.0:1
    n https://unpkg.com/jspsych@7.0.0:1
    run https://unpkg.com/jspsych@7.0.0:1
    <anonymous> file:///home/michael/Documents/plural-causes-experiment/example.html:48
jspsych@7.0.0:1:37357
    o https://unpkg.com/jspsych@7.0.0:1
    (Async: promise callback)
    l https://unpkg.com/jspsych@7.0.0:1
    o https://unpkg.com/jspsych@7.0.0:1
    (Async: promise callback)
    l https://unpkg.com/jspsych@7.0.0:1
    o https://unpkg.com/jspsych@7.0.0:1
    (Async: promise callback)
    l https://unpkg.com/jspsych@7.0.0:1
    jsPsychModule https://unpkg.com/jspsych@7.0.0:1
    n https://unpkg.com/jspsych@7.0.0:1
    run https://unpkg.com/jspsych@7.0.0:1
    run self-hosted:1356
    <anonymous> file:///home/michael/Documents/plural-causes-experiment/example.html:48

Minimal code to reproduce bug
<!DOCTYPE html>
<html>
  <head>
    <title>My experiment</title>
    <script<EMAIL_ADDRESS>    <script src="https://unpkg.com/<EMAIL_ADDRESS>    <link<EMAIL_ADDRESS>rel="stylesheet" type="text/css" />
  </head>
<body></body>
<script>
  var jsPluginName = (function (jspsych) {
    "use strict";
    const info = {
      name: "PLUGIN-NAME",
      parameters: {
        /** List of groups of arrays */
        groups: {
          type: jspsych.ParameterType.COMPLEX,
          array: true,
          default: null,
          nested: {
            /** List of members of groups */
            members_id: {
              type: jspsych.ParameterType.STRING,
              pretty_name: "Group members' ID",
              array: true,
              default: null,
            }
          }
        },

      },
    };
    class PluginNamePlugin {
      constructor(jsPsych) {
        this.jsPsych = jsPsych;
      }
      trial(display_element, trial) {
        this.jsPsych.finishTrial();
      }
    }
    PluginNamePlugin.info = info;

    return PluginNamePlugin;
  })(jsPsychModule);

  var jsPsych = initJsPsych();
  jsPsych.run([{type: jsPluginName}]);
  </script>
</html>

@MichaelGoodale Great spot! Looking at a similar plugin behaviour, the survey-text, which has a nested parameter, namely questions, throws the same error.
It turns out that the problem lies in the setDefaultValues function, which, when it checks for default parameters, has the logic backwards (or at least very weirdly): it goes through all of your definitions of different nested stuff (e.g. your many groups in your case) and for each one it checks whether it has a specific nested parameter defined - if not, it sets it. In other words, if you have this:
parameters: {
        groups: {
          type: jspsych.ParameterType.COMPLEX,
          array: true,
          pretty_name: "Groups",
          default: undefined,
          nested: {
            members_id: {
              type: jspsych.ParameterType.STRING,
              pretty_name: "Members ids",
              array: true,
              default: "id1",
            }
          }
        }

var trial = {
    type: jsPluginName,
    groups: [{}, {}]
  }

would be the same as this:
parameters: {
        groups: {
          type: jspsych.ParameterType.COMPLEX,
          array: true,
          pretty_name: "Groups",
          default: undefined,
          nested: {
            members_id: {
              type: jspsych.ParameterType.STRING,
              pretty_name: "Members ids",
              array: true,
              default: undefined,
            }
          }
        }

var trial = {
    type: jsPluginName,
    groups: [{members_id: "id1"}, {members_id: "id1"}]
  }

Crucially, however, at no point does jsPsych process the array: true part that is placed INSIDE the nested parameter - in this case the members_id. So if you wanted to have, by default, two groups with ids "id1" and "id2", this cannot be done, let alone further recursive nested (i.e. having members_id as jspsych.ParameterType.COMPLEX
I will put together a hotfix for your case shortly.
Tagging @jodeleeuw and @bjoluc , who are working on v8 codebase and might want to check if that is addressed.

Thanks @nikbpetrov and @MichaelGoodale! This works in the v8 draft, i.e.
https://github.com/jspsych/jsPsych/blob/bbdf1585645874277ade36c7de433064d417aba6/packages/jspsych/src/timeline/Trial.spec.ts#L298-L305
with input
https://github.com/jspsych/jsPsych/blob/bbdf1585645874277ade36c7de433064d417aba6/packages/jspsych/src/timeline/Trial.spec.ts#L326-L331
yields
https://github.com/jspsych/jsPsych/blob/bbdf1585645874277ade36c7de433064d417aba6/packages/jspsych/src/timeline/Trial.spec.ts#L347-L350
I would appreciate if you could use @nikbpetrov's hotfix for now @MichaelGoodale :pray:

Thanks so much for the quick response @nikbpetrov and @bjoluc, this will be very helpful!

I just fixed this in #2974 for version 7.3.2.


Roll Engine from a9910e409c02 to 280bbfc763cf (49 revisions)

Roll Engine from a9910e409c02 to 280bbfc763cf (49 revisions)
https://github.com/flutter/engine/compare/a9910e409c02...280bbfc763cf
2020-07-31<EMAIL_ADDRESS>This makes the lint script use multiprocessing to speed it up. (flutter/engine#19987)
2020-07-31<EMAIL_ADDRESS>Fix lint errors in lib/ui (flutter/engine#19988)
2020-07-31<EMAIL_ADDRESS>Roll Fuchsia Linux SDK from d4pESQYnB... to d_5wDVmBd... (flutter/engine#20161)
2020-07-31<EMAIL_ADDRESS>Revert "Enable lazy-async-stacks by-default in all modes (2) (#19270)" (flutter/engine#20165)
2020-07-30<EMAIL_ADDRESS>add information collection for safari bots (flutter/engine#20123)
2020-07-30<EMAIL_ADDRESS>Fix targets in build_fuchsia_artifacts (flutter/engine#19794)
2020-07-30<EMAIL_ADDRESS>Roll Dart SDK from e87cb96bb89c to bd528bfbd69d (8 revisions) (flutter/engine#20158)
2020-07-30<EMAIL_ADDRESS>Lint fixes for fml, tools subdirs (flutter/engine#19990)
2020-07-30<EMAIL_ADDRESS>Roll Fuchsia Mac SDK from 3XwiR_wVO... to T2xc0OuiK... (flutter/engine#20155)
2020-07-30<EMAIL_ADDRESS>Roll Skia from 5f2b2d6dc691 to 8cc118dce813 (2 revisions) (flutter/engine#20154)
2020-07-30<EMAIL_ADDRESS>[iOS] Fixes text input plugin crash (flutter/engine#20127)
2020-07-30<EMAIL_ADDRESS>Roll Skia from<PHONE_NUMBER>ea to 5f2b2d6dc691 (5 revisions) (flutter/engine#20153)
2020-07-30<EMAIL_ADDRESS>Roll Dart SDK from 04f4272546af to e87cb96bb89c (7 revisions) (flutter/engine#20152)
2020-07-30<EMAIL_ADDRESS>Roll Skia from e393c61a1563 to<PHONE_NUMBER>ea (5 revisions) (flutter/engine#20150)
2020-07-30<EMAIL_ADDRESS>Roll ANGLE to pick up warning fixes (flutter/engine#19105)
2020-07-30<EMAIL_ADDRESS>Migrate some Dart_WeakPersistentHandle uses to Dart_FinalizableHandle (flutter/engine#20107)
2020-07-30<EMAIL_ADDRESS>Roll Skia from 5ba6534884d9 to e393c61a1563 (1 revision) (flutter/engine#20148)
2020-07-30<EMAIL_ADDRESS>Roll Dart SDK from 59600f2b46ef to 04f4272546af (5 revisions) (flutter/engine#20147)
2020-07-30<EMAIL_ADDRESS>Roll Skia from 94cefeff50d2 to 5ba6534884d9 (2 revisions) (flutter/engine#20146)
2020-07-30<EMAIL_ADDRESS>Roll Dart SDK from 03e4737f3115 to 59600f2b46ef (54 revisions) (flutter/engine#20143)
2020-07-30<EMAIL_ADDRESS>Roll Skia from a4bbc9d8ec4f to 94cefeff50d2 (1 revision) (flutter/engine#20141)
2020-07-30<EMAIL_ADDRESS>Fix dartdocs of dart:ui (flutter/engine#20140)
2020-07-30<EMAIL_ADDRESS>Add ALERT SoundType enum value (flutter/engine#20139)
2020-07-30<EMAIL_ADDRESS>Manual roll of Dart 03e4737f31...cb6ed67a73 (flutter/engine#20138)
2020-07-30<EMAIL_ADDRESS>Roll Fuchsia Mac SDK from hzo88TZzN... to 3XwiR_wVO... (flutter/engine#20137)
2020-07-30<EMAIL_ADDRESS>Roll Skia from 398c654ce7be to a4bbc9d8ec4f (1 revision) (flutter/engine#20136)
2020-07-30<EMAIL_ADDRESS>Manual roll of Dart cb6ed67a73...7e8348f4ce (flutter/engine#20135)
2020-07-30<EMAIL_ADDRESS>Manual roll of Dart 40fd1c456e...7e8348f4ce (flutter/engine#20125)
2020-07-30<EMAIL_ADDRESS>Roll Fuchsia Linux SDK from ROYgzKMaF... to d4pESQYnB... (flutter/engine#20132)
2020-07-30<EMAIL_ADDRESS>Roll Skia from 994ce8cf2300 to 398c654ce7be (2 revisions) (flutter/engine#20133)
2020-07-30<EMAIL_ADDRESS>Roll Skia from 57d859edd3c4 to 994ce8cf2300 (1 revision) (flutter/engine#20129)
2020-07-30<EMAIL_ADDRESS>Add missing MouseCursorPlugin destroy call (flutter/engine#19968)
2020-07-29<EMAIL_ADDRESS>[web] Enable canvas measurement by default (flutter/engine#19924)
2020-07-29<EMAIL_ADDRESS>Roll zlib (flutter/engine#20119)
2020-07-29<EMAIL_ADDRESS>Roll Skia from 96d6c6f04dcb to 57d859edd3c4 (16 revisions) (flutter/engine#20126)
2020-07-29<EMAIL_ADDRESS>Remove confusing logs (flutter/engine#20121)
2020-07-29<EMAIL_ADDRESS>Manual roll of Dart from 24c7666def...40fd1c456e (flutter/engine#20092)
2020-07-29<EMAIL_ADDRESS>Enabled linting on engine.cc (flutter/engine#19981)
2020-07-29<EMAIL_ADDRESS>Roll Skia from 4f587337c306 to 96d6c6f04dcb (4 revisions) (flutter/engine#20114)
2020-07-29<EMAIL_ADDRESS>Roll Fuchsia Mac SDK from 5dM55hp8B... to hzo88TZzN... (flutter/engine#20113)
2020-07-29<EMAIL_ADDRESS>[web] Set correct defaults for text in canvas (flutter/engine#20067)
2020-07-29<EMAIL_ADDRESS>Roll Skia from 8c7ecc1c06f4 to 4f587337c306 (1 revision) (flutter/engine#20110)
2020-07-29<EMAIL_ADDRESS>Roll Skia from c34efe0da102 to 8c7ecc1c06f4 (1 revision) (flutter/engine#20109)
2020-07-29<EMAIL_ADDRESS>Roll Skia from 4866d0ad5f3c to c34efe0da102 (1 revision) (flutter/engine#20108)
2020-07-29<EMAIL_ADDRESS>Roll Fuchsia Linux SDK from ETPOTPepP... to ROYgzKMaF... (flutter/engine#20105)
2020-07-29<EMAIL_ADDRESS>Enable lazy-async-stacks by-default in all modes (2) (flutter/engine#19270)
...

Gold has detected about 1 untriaged digest(s) on patchset 19.
View them at https://flutter-gold.skia.org/cl/github/62647


Cannot open Cocos2d json

When I try open Cocos2d "location.json". write error: "File format error".
I send file for test:
alicaroom.zip

SpriteSheetPacker is intended only for packing, it only save in a format of a cocos2d but doesn't open him


Part search by type for "cpu" returns results for "cpu_cooler"

When getting a part with type cpu, the resulting product that is returned is a CPU Cooler. As you can see, with the following test program:
**PYTHON**

import pypartpicker
import time

# Supported Product Types (from the documentation)
# PRODUCT_TYPES = [
#     "keyboard", "speakers", "monitor", "thermal-paste", "video-card",
#     "case-fan", "os", "cpu-cooler", "fan-controller", "ups",
#     "wired-network-card", "memory", "headphones", "sound-card",
#     "internal-hard-drive", "mouse", "wireless-network-card", "power-supply",
#     "webcam", "motherboard", "external-hard-drive", "optical-drive", "case", "CPU"
# ]

PRODUCT_TYPES = [
    "cpu", "cpu-cooler"
]

# Initialize PyPartPicker Client
pcpp = pypartpicker.Client()

# Iterate through each product type and fetch top result
def fetch_top_parts():
    for product in PRODUCT_TYPES:
        try:
            result = pcpp.get_part_search(product, page=1, region="au")  # Region can be changed

            if result.parts:
                part_summary = result.parts[0]  # Get the top result (first part summary)
                part = pcpp.get_part(part_summary.url)  # Fetch full part details using URL

                # Print part details
                print("-" * 40)
                print(f"Part Type: {product}")
                print(f"Name: {part.name}")
                if part.cheapest_price:
                    print(f"Price: {part.cheapest_price.total} {part.cheapest_price.currency}")
                if part.vendors:
                    vendor = part.vendors[0]
                    print(f"Store: {vendor.name}")
                    print(f"Store URL: {vendor.buy_url}")
                print(f"Product URL: {part.url}")

                if part.image_urls:
                    print("Image URLs:")
                    for img_url in part.image_urls:
                        print(f"  {img_url}")

                if part.specs:
                    print("Specs:")
                    for spec, value in part.specs.items():
                        print(f"  {spec}: {value}")
                else:
                    print("No specs available.")

                print("-" * 40)  # Separator between products
            else:
                print("-" * 40)
                print(f"No results for {product}")
                print("-" * 40)
        except Exception as e:
            print(f"Error: {e}")

        # time.sleep(2)  # Delay to prevent being blocked by the server

if __name__ == "__main__":
    fetch_top_parts()

The results for "cpu" and "cpu-cooler" are the exact same in the output:
**COMMAND LINE**

py index.py

----------------------------------------
Part Type: cpu
Name: Thermalright Peerless Assassin 120 SE 66.17 CFM CPU Cooler
Price: 59.0 $
Store: Scorptec
Store URL: https://www.scorptec.com.au/product/cooling/cpu-coolers/104893-peerless-assassin-120-se
Product URL: https://au.pcpartpicker.com/product/hYxRsY
Image URLs:
  https:https://m.media-amazon.com/images/I/41hFTmi5aUL.jpg
Specs:
  Manufacturer: Thermalright
  Model: Peerless Assassin 120 SE
  Part #: PA120 SE-D3
PA120 SE
PA120 SE D6-CAD
PA120 SE 1700
PA120 SE 1700-d6
419043
  Fan RPM: 1550 RPM
  Noise Level: 25.6 dB
  Color: Black / Silver
  Height: 155 mm
  CPU Socket: AM4
AM5
LGA1150
LGA1151
LGA1155
LGA1156
LGA1200
LGA1700
LGA1851
  Water Cooled: No
  Fanless: No
----------------------------------------
----------------------------------------
Part Type: cpu-cooler
Name: Thermalright Peerless Assassin 120 SE 66.17 CFM CPU Cooler
Price: 59.0 $
Store: Scorptec
Store URL: https://www.scorptec.com.au/product/cooling/cpu-coolers/104893-peerless-assassin-120-se
Product URL: https://au.pcpartpicker.com/product/hYxRsY
Image URLs:
  https:https://m.media-amazon.com/images/I/41hFTmi5aUL.jpg
Specs:
  Manufacturer: Thermalright
  Model: Peerless Assassin 120 SE
  Part #: PA120 SE-D3
PA120 SE
PA120 SE D6-CAD
PA120 SE 1700
PA120 SE 1700-d6
419043
  Fan RPM: 1550 RPM
  Noise Level: 25.6 dB
  Color: Black / Silver
  Height: 155 mm
  CPU Socket: AM4
AM5
LGA1150
LGA1151
LGA1155
LGA1156
LGA1200
LGA1700
LGA1851
  Water Cooled: No
  Fanless: No
----------------------------------------

The get_part_search method uses PCPP's search functionality which simply does a text search. For whatever reason, PCPP appends "processor" to CPU names. Try searching for "processor" instead.
I am working on a dedicated method to search directly for part types, this will use the constants defined in the library.


KTOR-1338 Add ktlint build configuration

Should be merged after https://github.com/ktorio/ktor/pull/2208
This adds a new build configuration to run ktlint only without build and show reports

Fixed and added more trigger rules to cover editorconfig changes and more gradle changes


swiss: optimize bit clear

When clearing a bit in our bitset in the inner loop of Get, Put, and Delete, we don't need to pass the index of the least significant bit we just found -- we can instead just clear the least significant bit.
Using the idiom of b = b & (b - 1) is simpler and faster than the current bit clearing code. This compiles down to a BLSRQ when building with GOAMD64=v3. For GOARM=7, it looks like it compiles to a LEAQ -1(AX), CX followed by ANDQ CX, AX.
Running the benchmarks seemed to show a geomean improvement of -1.80% sec/op on a GCE n1-standard-16 (with GOAMD64=v3 for both old and new), but it looked a bit noisy so I don't currently entirely trust that number.

This change is

geomean improvement of -1.80% sec/op [...] but it looked a bit noisy so I don't currently entirely trust that number.

Hi @petermattis, I can re-run the benchmarks maybe with a higher -count in the hopes of a less noisy result, but it takes a while to do that, so I was first curious if you are interested in targeted optimizations like this and my earlier #28.
No worries of course if you are not ready for contributions from random people.
To introduce myself briefly -- I was one of the people commenting on golang/go#54766, and I had an earlier SwissTable prototype implementation. These two PRs are things I had noticed in my own prototype. (I had mostly set my version aside when I had concluded I would need to do some more experimentations with different layouts like placing the control bytes with the KVs in each group to perhaps better align with performance expectations people might have built up based on the current runtime map layout... which is part of what was prompting me to ask those questions in https://github.com/golang/go/issues/54766#issuecomment-1951384322 last weekend).
Finally, thank you for taking the time to comment your implementation so clearly, and I'm more than thrilled to see your excellent work here looks like it might be en route to the Go runtime!

Thanks for the contribution.


[5.3] Implicit Route Model Binding doesn't work with Use statements

In a controller, it's not uncommon to import a class up top.
use App\Forum\Post;

public function index(Post $post) {
    // returns an empty model
}

But currently you have to specify the full class in the call to make it work:
public function index(\App\Forum\Post $post) {
    // returns model for id 1
}

Is it possible to improve model binding to work nicely with use statements? This controller is being called through the API middleware with the new bindings middleware.

That doesn't sound right. Please check your code for typos.

Laravel does nothing in terms of resolving imports. PHP does that.

You're absolutely right. Missing api middleware. In the middle of upgrading and moving things around. Sorry for the trouble, thanks ;)


Do not fail when handling Twitter 503 responses

The body returned may be empty

Added in 2.1.5

It's not merged, only closed @YOzaz


figure out auth

pub/private key encryption, where clients sign each request with a public key?
"standard" API auth token? (how do people usually implement/handle api auth tokens?)
something else?

questions to answer re: api tokens:
        how do people usually do this? just an opaque token that lives in a db table?
        how are these usually generated?
        how are these usually distributed?


ndk-build: Add an opt-in alternative to adb install

Sometimes, I ocassionally find that adb install takes too long to install!!
This feature is a lovely workaround to that issue. <3
Instead of using adb install, we manually push the APK file to the device.
The location is in /data/local/tmp/.
Then, we manually install the app with pm install~!
After that, we remove the apk from the install location.
As this is just a workaround for now, it needs to be enabled by adding the CARGO_APK_MANUAL_INSTALL=1 environment variable.
Some questions though!!

Do we want to use CARGO_APK_MANUAL_INSTALL=1 or a flag like --manual-backend?
Should CARGO_APK_MANUAL_INSTALL=1 be rather an argument in the install() function that will be set by cargo-apk?
Soo we will find this

   pub fn install(&self, manual_install: bool) -> Result<(), NdkError> {
      ...
   }

and..
 pub fn run(&self, artifact: &Artifact) -> Result<(), Error> {
        let apk = self.build(artifact)?;
        apk.install(std::env::var("CARGO_APK_MANUAL_INSTALL")
            .map(|var| var == "1")
            .unwrap_or(false))?;
        apk.start()?;
        Ok(())
    }

There's supposed to be an adb install flag that does exactly this, have you tried that? I'm not near a computer so can't look up the output of --help.

There's supposed to be an adb install flag that does exactly this, have you tried that? I'm not near a computer so can't look up the output of --help.

Yupp!! I'm aware of that..
But this hack works everytime for me.. while I don't really have a nice experience with ADB Install frontends.

I assume --no-streaming is the one I'm looking for?

Umm.. as I said, this is just a lovely workaround should one liner ADB doesn't work!!

I don't understand why one should be faster than the other. Can you provide evidence that that is the case and a hypothesis why this is?

I guess, maybe it's better to close this PR for now? I think having this never-merged PR existing itself is already nice, since people can use the patch if things go wrong.

just think it would help to decide what to do if the problem is better understood. I was of the impression that adb install works exactly like your workaround.

Yupp!! I'm aware of that..
But this hack works everytime for me.. while I don't really have a nice experience with ADB Install frontends.

Same question as @dvc94ch: without any more context/logs/explanation it is really hard to justify a bunch of extra code to maintain, we need to understand why all those adb flags to tweak the install process don't solve whatever vague issue you're facing.


Update active tag of tagged union after function calls

Original code uses a proxy.

Darn it, we've already tried this approach before. It unworkable, since the active field of variables can be changed by Zig code.


Add data validation for List of model items

Added in https://github.com/Robinson04/StructNoSQL/commit/7459f65880d3a4e0fc1d7788428a8dda39e845ea

Added in https://github.com/Robinson04/StructNoSQL/commit/7459f65880d3a4e0fc1d7788428a8dda39e845ea


🐞BUG: Submit Button Enabled Despite Empty Username

Is there an existing issue for this?

[X] I have searched the existing issues

What went down?
The submit button remains enabled and clickable even when the username input field is empty. Although an error message is displayed, the button should be disabled to prevent unnecessary submissions.
Reproduction Steps:

Open the Website.
Clear the username input field.
Click the submit button.

Expected Behavior:
The submit button should be disabled when the username input field is empty.
Actual Behavior:
The submit button remains enabled and clickable, allowing users to submit an empty username.
Screenshot

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSoC'24 Extd Contributor
[X] I'm a Hacktoberfest'24 registered Contributor
[X] I want to work on this issue

Please assign me this issue.

Though its enabled, we have kept an error msg as you can see in the screenshot provided by you as well, so no need of disabling the btn
I am closing this issue, please search for another relevant issues which I would be happy to assign


Consider tracking object validity

Consider implementing a feature that invalidates the Micropython wrapper object when LVGL object is deleted.
Related: https://forum.lvgl.io/t/how-to-delete-lvgl-objects/6770
Invalid object can have a NULL lv_obj.
Same C callback can be registered to all objects.
We would need to check lv_obj != NULL on every wrapper and throw an exception if false.

Came from the forum.  Is perhaps a simpler approach is to provide a psuedo-wrapper function like obj.valid() that simply checks if lv_obj != NULL.   I.e. provide no active validity checking on function calls, but at least expose to MP whether an object still has an LV object connected inside it.
And it occurs to me... is there a way to accomplish this already?  I haven't found it if so.

And to expand, this simple approach would allow your MP code at least to check for and re-build LVGL objects ala:
if not (self.label and self.label.valid()):
    self.label = lv.label(...)

Also, I presume deleting a MP wrapper object (directly or via GC) also releases the underlying LVGL object.

I.e. provide no active validity checking on function calls, but at least expose to MP whether an object still has an LV object connected inside it.

In fact, the "active validity checking" is relatively cheap (check that a pointer that we reference anyway is NULL).
I would rather add this validity check and throw an exception (which?), instead of expanding the API by adding another member function to each object. Some even consider EAFP approach more "Pythonic".
What might cost more is the event listener that should be added to each object, to detect the "delete event".

Also, I presume deleting a MP wrapper object (directly or via GC) also releases the underlying LVGL object.

No, the MP wrapper is a reference. Deleting it (del x) does not delete the LVGL object, and doesn't even guarantee any resources are freed as we don't really have a "destructor" in MP that is triggered by del.
Calling the delete method (x.delete()) would delete the LVGL object.

OK, so a summary is (correct me if mistaken):

Direction A: If the MP wrapper object is deleted, the LVGL object is not freed, and is no longer accessible (potential memory leak).
Direction B: If the LVGL object is deleted with .delete() directly or indirectly, the MP wrapper object is not "informed" and will call into the freed memory, leading to segfaults.

Sounds like some kind of (light) MP wrapper delete <--> LVGL resource delete mapping would be useful.  For direction B, the idea of throwing an exception (RuntimeError?) could work.  For direction A, what about adding a __del__ method on the obj superclass, that simply calls self.delete()?

If the MP wrapper object is deleted, the LVGL object is not freed, and is no longer accessible (potential memory leak).

Not exactly.

The LVGL object is not supposed to be deleted when the MP wrapper is. Imagine you add a button to a screen, it would still be there even if the MP wrapper is deleted. And you can even regain access to it by querying the screen children.
LVGL, when built with Micropython, allocates GC RAM. So even when you create something like lv.colot_t which is a struct not an object, after deleting all references to it the GC would reclaim it's memory.
So there is no potential memory leak here.

Direction B: If the LVGL object is deleted with .delete() directly or indirectly, the MP wrapper object is not "informed" and will call into the freed memory, leading to segfaults.

This is true and that's what this GH issue is about.

For direction A, what about adding a __del__ method on the obj superclass, that simply calls self.delete()?

As explain we don't necessarily want to delete the underlying object. It can also have several references (and we don't manage reference counts).
Even if we did, __del__ is not guaranteed to be called on MP when object goes out of scope, for example.

I see.  I do agree Direction B is the more pressing issue.  And everything is still accessible from the screen as you say.  Happy to test any scheme you come up with.  Thanks for your work on LV-MP.

Happy to test any scheme you come up with

Actually, you can already test it.
Just use git to checkout the related PR: https://github.com/lvgl/lv_binding_micropython/pull/178

Fixed by #178.
Closing.


Update manage-external-access.md

https://github.com/MicrosoftDocs/OfficeDocs-SkypeForBusiness/issues/4230

@JohanFreelancer9 Copy editing is needed for this PR. Thanks.


Fix many JS vulns, fix tests

fix: lint problem
fix: ignore malformed JSON file for FlowJS
fix: add missing @types/jest package
chore: update TypeScript version
chore: update all eslint deps
chore: update all Jest deps
chore: replace Jest config with jest.config.ts
fix: make root Jest tests ignore Example folders
chore: update css-select dep
chore: update css-tree to latest 1.x version
chore: upgrade ansi-regex to close JS vuln
chore: upgrade ejs to close JS vuln
chore: upgrade async to close JS vuln
chore: upgrade simple-plist to close JS vuln

Summary
Upgrades a ton of dependencies, closes JS vulns, gets lint & test working as intended. Only barely touches application code, due to TypeScript version upgrade and prettier upgrade.
Also makes yarn run test work again, by ignoring Example folders which aren't working right now.
Test Plan
I ensured that tsc, lint and test pass

Need this library to be updated so I can close JS vulns that are blocking our build pipeline
@WoLewicki ?

I've forked this project to https://github.com/MeritOpenSource/react-native-svg and will be looking into how to get this publishing to npm
The goal will be to keep this project on life support and at least close vulns and keep deps updated


Implement xCal support

Useful links:

RFC6321, xCal: The XML Format for iCalendar.

To-do:

[x] require sabre/xml,

[x] update composer.json,
[x] sabre/xml requires PHP5.4, hence update sabre/vobject (done by Composer?),

[x] if requires PHP5.4, we can use the JsonSerializable everywhere (all top-classes having a jsonSerialize method),
[x] update code accordingly (e.g. short array syntax),
[ ] update documentation accordingly,

[x] create the helper in Sabre\VObject\Reader,
[x] add XML serializer helpers everywhere (e.g. in children of Sabre\VObject\Node),
[ ] timezones used by xCal and xCard are differents, must check the compatibility,
[x] create the reader (parser):

[x] support properties:

[x] support all names,
[x] support all values (types of values):

[x] binary,
[x] boolean,
[x] cal-address,
[x] date,
[x] date-time,
[x] duration,
[x] float,
[x] integer,
[x] period,

[x] start,
[x] duration,
[x] end,

[x] recur,

[x] until,
[x] count,
[x] interval,
[x] bysecond,
[x] byminute,
[x] byhour,
[x] byday,
[x] bymonthday,
[x] byday,
[x] byyearday,
[x] byweekno,
[x] bymonth,
[x] bysetpos,
[x] wkst,
[x] freq,

[x] text,
[x] time,
[x] uri,
[x] utc-offset,

[x] support special cases:

[x] categories,
[x] resources,
[x] freebusy,
[x] exdate,
[x] rdate,
[x] geo,

[x] latitude,
[x] longitude,

[x] request-status,

[x] code,
[x] description,

[x] support all parameters:

[x] support the specific value iCalendar parameter,

[x] support all components:

[x] vevent,
[x] vtodo,
[x] vjournal,
[x] vfreebusy,
[x] vtimezone,
[x] standard,
[x] daylight,
[x] valarm,

[x] support XML extensions.

Code review:

usage of iterators has been heighten (see https://github.com/fruux/sabre-vobject/pull/161),
clean code (https://github.com/fruux/sabre-vobject/pull/162),
better performance when possible (see https://github.com/fruux/sabre-vobject/pull/162).

Left apart for now:

[x] RFC6321, section 3.1. Pre-Processing,
[ ] LIBXML_* options when reading or writing.

To fix:

[ ] rdate.

Back

(git rebase master)

All examples and usecases given in the RFC work!

36 to 62 assertions, same number of tests, several bugs found, with the reflexive equality asserter helper. Nice improvement!
Now, I have to check if the implementation of <parameters> is safe. Then, I will refactore my code a little bit to use the XML\Writer instance everywhere instead of computing arrays.

Almost finished. I have to make a final review to check all comments.

I checked all comments. Everything is solved. I am going to write few more tests but you can start the review :-). /cc @evert

I am adding the Relax NG Schema, in the compact form. libxml2 (so XMLReader) does not read the compact form, only the XML one. I am trying to convert it but not sure if it is useful. The goal is to provide the schema, and people can use the appropriate tool to read it. http://relaxng.org/ lists some of them.

So sad libxml doesn't relax NG properly! I was so looking forward to start using it!

I did a read-over of the commit. I'm overall super happy with the results and excited to merge this :)

:gift:

\o/


Preserve space on basestring nodes and fix bad space regex

The characters space (white space, new line, tab, ...) may be significant in Javadoc comments.
Hence, they should be preserved in basestring nodes. Furthermore, the use of \s in regex
self._whitespace_with_newline = re.compile(r'[\s\n]+')
self._whitespace = re.compile(r'\s+')
is wrong because \s=[ \t\n\r\f\v], so the new line is already included.

@kristiansebastian thanks for the pull request. You are very right about the problem with the regex. I think this issue was being hidden by _compress_whitespace aways being called with newlines=True. I'm not so certain about the whitespace significance change though. Since Javadoc is (mostly) HTML I would generally expect whitespace to be collapsed with the exception of within
...
 blocks. As-is I think your change could break certain things like the conversion of lists with newlines embedded in the
s.
Could you maybe provide an example that shows the issue you're dealing so we can maybe find a more targeted fix?

@c2nes thanks for your quickly reply!. Here you have an example.
Suppose you want to add rst bullet list in the Javadoc comments, run the javasphinx-apidoc and finally run sphinx.  Code example:
package es.socib;

/**
 *
 *  Steps to process the active platforms and generate the related products:
 *
 *     * Get the processing services to access the data store
 *     * Get the active platform and deployment manager instance.
 *
 */
public class BulletList{

}

The result of run javasphinx-apidoc doesn't preserve the bullet list indentation and then sphinx doesn't generate correctly the documentation:
BulletList
==========

.. java:package:: es.socib
   :noindex:

.. java:type:: public class BulletList

   Steps to process the active platforms and generate the related products: * Get the processing services to access the data store * Get the active platform and deployment manager instance.

The javasphinx-apidoc may not be implemented to support rst inside Javadoc comments, but returning directly the node does the job. See the result:
BulletList
==========

.. java:package:: es.socib
   :noindex:

.. java:type:: public class BulletList

   Steps to process the active platforms and generate the related products:

      * Get the processing services to access the data store
      * Get the active platform and deployment manager instance.

If you find this feature useful, I hope you find a better fix. I will appreciate it.

I have to say I've added a similar fix to my local javasphinx to allow sphynx rst syntax inside javadoc comments.  Although I suppose technically they are no longer valid javadoc comments when I do, personally I find the rst style more readable.  Also using .. note:: or .. code-block:: the whitespace needs to be preserved

Okay, I think I understand now. Thank you for the clarifications. I've filed #34 to provide this functionality using an explicit command line flag. If you have any suggestions for how this features should work please feel free to leave a comment there.


[🐛 esl-animate]: jsx/tsx support

As an ESL consumer, I want to have JSX/TSX-compatible components.
Add an esl-animate.shape.ts with JSX tag description.

:tada: This issue has been resolved in version 3.9.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Styles: reposition rich close button

PR:

master:

It looks better, but it may not work for small images?

Yes you're right design should follow function. Two more suggestions:

similar to old close button:

similar to action-panel:

Both look good.

OK lets go with number 1

Is this PR ready to merge?

@n-riesco yes

Sorry. I should've merged this PR after merging #232 .


Table: fix data is null and rowKey or defaultExpandAll error.

Table

fix data is null and rowKey or defaultExpandAll error.
fix toggleTreeExpansion method lack of rigorous judgement.

Please make sure these boxes are checked before submitting your PR, thank you!

[ ] Make sure you follow Element's contributing guide (中文 | English | Español | Français).
[ ] Make sure you are merging your commits to dev branch.
[ ] Add some descriptions and refer relative issues for you PR.

related #16304


Duplicate records while using unique indexes in distributed setup

After some investigation of prjhub#7417 it seems like the problem is in distributed storage. This test case passes successfully on all storages except distributed (3-node setup). This test does concurrent inserts on random nodes with high probability of conflicts on unique indexes.
At some point a conflict is reported by throwing ODistributedConfigurationChangedException. After that moment the duplicate records start to appear on the nodes. If the inserts go into a single node in this 3-node setup, everything is fine.
Duplicate records seem to appear on two nodes only, on the third node a record is stored under different RID, but contains the same data as on the other two nodes. Maybe this is just a coincidence.

Forwarded to @taburet.


Check dendrogram fix

The tests and docs now fail due to https://github.com/theislab/scanpy/issues/2125.
For some reason, this https://github.com/theislab/scanpy/blob/b69015e9e7007193c9ac461d5c6fbf845b3d6962/scanpy/tools/_dendrogram.py#L139
has small values instead of 0s on the diagonal and thus fails the check of is_valid_dm inside squareform if checks=True. I don't understand why small values instead of 0s are there. New version of pandas? numpy?
This fix just sets checks=False, not sure if it is a good idea actually.

I'm having the same issue too, but it just started today after having to reinstall python + packages?

It's possible this was fixed in pandas 1.4.1, released on friday


forced timeout now shows last leg of yellow trace line

On forced 40 second timeout, show last leg of trace route, and inform user with existing "Traceroute completed with as many hops as we could contact" message at bottom of traceroute.
Timeout is needed otherwise some traceroutes never end.

@apike From what I can determine the previous time out noted if each IP along the traceroute timed out, but not the entire operation. Due to the "runs forever" behaviour I previously just made a hard stop after 40 seconds, now it at least calls the "draw last leg and show a message" .

Described the currently proposed solution in the issue you opened, #462.

"hang case" is too variable. Stick with forced timeout, set to 30 seconds. Hop timeout relies on timeout packet, but this is not always received. Sometimes it hangs on zero hops, or more hops. Set forced time out to 30 seconds

Works in testing, let's merge it. :+1:


[WIP]: replace prettytable

Hello, I tried to replace prettytable-rs with console. #42
I tested it on repoinfo. Today, I changed only repoinfo. Result is on screen.

I am newable in Rust, but want to learn, please review)

Hey @JMarkin! Thanks a lot for tackling this issue!
So, for someone new in Rust, you did a very good job and the results look good.
There is just one thing - and I think I have to apologize for not being clear about my intent in #42.
When talking about maybe replacing prettytable I was thinking about checking if this crate really was a not-so-ideal choice and comparig with other crates who provide the same or superior functionality.
So the idea was to maybe exchange prettytable by a better suited crate.
In fact, I don't think that we should re-implement a table-display functionality in rustic given that there are many good crates out there. This is similar to the progress bars where I fully rely on indicatif which provides all the needed features or evolves to provide them.
For the ideal crate I think the following general conditions are important:

should be free to use, of course (i.e. right licence)
being well maintained
having few other dependencies

Do you think you can also support rustic in that way and try out alternatives to prettytable?

Sorry, I really didn't understand..
I read related issue and thought you approved console, I saw current tables and thought it is pretty simple for implement, now I understand mistakes my logic, thank you)
if need close pr, I will close.
Any way I want to complete with issue)


Update engine.adoc

Adding a missing line, the documentation said Let’s look into this code in more detail, starting with the first few lines that we repeat here:, the first part hasn't that line.

Good spot, thanks!


Insert customizer codes into an external file

I would like to insert customizer codes into an external file, other than the functions.php. I created a file called customizer.php inside the Kirki directory, but it does not work. I could not even make the sample codes work, only if I have within the functions.php.
Do I need to enable anything?

@altemberg you only need to include that file.
Typically you would do something like
include_once get_theme_file_path( 'myfile.php' );

@aristath It worked! Before I tried to include but it didn't work, I didn't know the get_theme_file_path.
Thanks!


Update radiator.py

Add boost as an available heat mode

How does the boost mode work? I never used it myself.
I was under the impression it is activated for a certain period. Can the period be pre-defined "outside" the library (much like the program schedule)?  If it is at all useful to be able to switch it on with the pre-defined period I am happy to merge.  I guess one ideally would like to be able to set the period from within the library?
One minor thing though, shouldn't the boost temperature setting be removed from the _READONLY_TEMP_TYPES at least?

Yes, you are correct!
It will set the radiator to "TempType.BOOST" for the duration of "time_boost".
This is how I did it with a Curl:
/usr/bin/curl -s https://e3.lvi.eu/api/v0.1/human/query/push/ --data-raw "token=1234567890&context=1&smarthome_id=12345&query%5Bid_device%5D=C003-002&query%5Btime_boost%5D=7200&query%5Bconsigne_boost%5D=770&query%5Bconsigne_manuel%5D=770&query%5Bgv_mode%5D=4&query%5Bnv_mode%5D=4&peremption=20000&lang=sv_SV"
And that works, setting the boost to 7200 seconds.
Not really sure where or how to put that in to the code.
I think there could be 2 options:

Always sending a default time_boost of X seconds, which is perhaps easier
Adding a slider for setting the timer, which would be the best user experience

You are also correct about the READONLY_TEMP_TYPES, I missed that one!
Will commit.

I think it's a good idea to implement the timer value with read and write capability in the API to start with. Since it is present for the devices at all times regardless of the boost is active or not that should be easy. One maybe need to test what happens if one changes the timer value without changing mode etc.
For the HA integration it is probably easiest to implement it as a number just like the temperatures. Maybe use hours as unit. One need to know what one's doing when using it, but at least the functionality is there for both reading and writing.
I will be away a few days over Easter but I can look into the setting / slider thing afterwards if you're uncertain how to do it.

No rush!
My python kung fu is quite limited :)
But I will help with testing!
On Fri, 7 Apr 2023 at 11:58, hemphen @.***> wrote:

I think it's a good idea to implement the timer value with read and write
capability in the API to start with. Since it is present for the devices at
all times regardless of the boost is active or not that should be easy. One
maybe need to test what happens if one changes the timer value without
changing mode etc.
For the HA integration it is probably easiest to implement it as a number
just like the temperatures. Maybe use hours as unit. One need to know what
one's doing when using it, but at least the functionality is there for both
reading and writing.
I will be away a few days over Easter but I can look into the setting /
slider thing afterwards if you're uncertain how to do it.
—
Reply to this email directly, view it on GitHub
https://github.com/hemphen/clevertouch/pull/3#issuecomment-1500137372,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEBC6PCSXYEGT5PSZ24L2ATW77QOBANCNFSM6AAAAAAWUN6XRU
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Sent from Gmail Mobile

I have made a beta release in
https://github.com/hemphen/hass-clevertouch/releases/tag/v0.4.0b1
Heating season seems to be almost over :) but would be great if you tried it out @hasselrot. (Betas are well hidden but available through HACS.)
Boost mode and Home Assistant is not a perfect match (and the CleverTouch service is bit slow as usual). But at least he functionality is there and you can probably customize HA for most use cases. Check out the service call for custom actions.

Great! Let’s leave it like this then!
I was experimenting a bit with setting the end time instead of the
duration (which “feels” more natural to me) but that can still be achieved
via scripting. Decided to keep the functionality close to what the API
provides.
Thanks for helping out!
On Mon, 17 Apr 2023 at 20:32 Lars Hasselrot @.***>
wrote:

From what I can see, it works like a charm!
Slow, but like you said, it is to be expected from CleverTouch.
On Mon, Apr 17, 2023 at 8:12 PM hemphen @.***> wrote:

I have made a beta release in
https://github.com/hemphen/hass-clevertouch/releases/tag/v0.4.0b1
Heating season seems to be almost over :) but would be great if you tried
it out @hasselrot https://github.com/hasselrot. (Betas are well hidden
but available through HACS.)
Boost mode and Home Assistant is not a perfect match (and the CleverTouch
service is bit slow as usual). But at least he functionality is there and
you can probably customize HA for most use cases. Check out the service
call for custom actions.
—
Reply to this email directly, view it on GitHub
https://github.com/hemphen/clevertouch/pull/3#issuecomment-1511859827,
or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/AEBC6PCZ7DB7YLU5MRPDBBDXBWB2HANCNFSM6AAAAAAWUN6XRU
.
You are receiving this because you were mentioned.Message ID:
@.***>

—
Reply to this email directly, view it on GitHub
https://github.com/hemphen/clevertouch/pull/3#issuecomment-1511882678,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABS3PURLFW3TMR4NXMRIT3DXBWEDBANCNFSM6AAAAAAWUN6XRU
.
You are receiving this because you modified the open/close state.Message
ID: @.***>


[FLINK-2934] Remove placeholder pages for job.statistics, taskmanager.log and taskmanager.stdout

Thanks! Looks good.

OK, will merge this PR.


StarCharge Aurora 7 mostly working just not SoC sensor

Version of the custom_component
V 0.4.39
Describe the bug
It seems that this charger works with the OCPP which I expected it to as the product description claims it uses OCPP 1.6j
It connects fine and I can start and stop charging and get some data from it.
But it dosnt report SoC and i dont know if it is because the car isnt reporting it or because the implementation of OCPP in the product dosnt use that data.
How can I debug that if it is posible ?

Although the SoC measurand is indeed part of the OCPP 1.6j standard, and supported by this plugin, there are currently not many chargers that report it. In order for it to work, both the Charger and the EV need to support a a Vehicle to Grid protocol, such as ISO15118.

Thanks. Great reply.


Admin panel/page tree: incorrect state of pages on loading

Description
While the pages are being fetched instead of showing the loading text and spinner, No pages is shown
Current behaviour

TODO

[x] show spinner on loading

PR
https://github.com/cortezaproject/corteza/pull/671

CL:
Fixed
What: The state of the page list while its content is being fetched.
How: A spinner with "Loading" text was added. After the content is fetched, the spinner is hidden.

CL has been added and this has been tested, but there is just a little thing that needs to be fixed:

Issues addressed. Code for
22.9
23.3


Error in type determine with complex structs

Crystal v0.24.1 with macOS 11.12.6

abstract class Base
  abstract def call
end

class A1 < Base
  def call; end
end

class B2 < Base
  def call; end
end

cls = [] of Base.class

cls << A1
cls << B2

cls2 = {} of String => Base.class
cls2["1"] = A1
cls2["2"] = B2

cls3 = {} of String => Array(Base.class)
cls3["1"] = [A1]
cls3["2"] = [B2]

cls4 = {} of String => Array(Base)
cls4["1"] = [A1.new]
cls4["2"] = [B2.new]

puts cls # => works
puts cls2 # => works
puts cls3 # => throws an exceptions
puts cls4 # => throws an exceptions, too

instance variable '@value' of Hash::Entry(String, Array(Base:Class)) must be Array(Base:Class), not Array(A1:Class)
instance variable '@value' of Hash::Entry(String, Array(Base)) must be Array(Base), not Array(A1)

But use as force to Base class it will pass
cls3 = {} of String => Array(Base.class)
cls3["1"] = [A1.as(Base.class)]
cls3["2"] = [B2.as(Base.class)]

cls4 = {} of String => Array(Base)
cls4["1"] = [A1.new.as(Base)]
cls4["2"] = [B2.new.as(Base)]

you should win a prize, probably person number 1_000_000 to report this 🎉
i decided to write faq about this, question aksed over and over and over and over:
https://github.com/crystal-lang/crystal/wiki/FAQ#why-my-array-literal-doesnt-work


typescript typings issues

hey thanks for this great module!
quick note - the options for instantiating the module all show as required options, and also maxRPS is not present in the available options
so, for example, this fails with typescript:
const http = rateLimit(axios.create(), {
  maxRPS: parseInt(process.env.ENV_VARIABLE, 10) || 50,
})

because:

maxRPS is not an available option according to the typings
required values of maxRequests and perMilliseconds are not present

was using an outdated version, my bad! looks like these issues are addressed in the latest release
i found a few other issues and created a PR here:
https://github.com/aishek/axios-rate-limit/pull/34

Merged and published in https://github.com/aishek/axios-rate-limit/releases/tag/1.3.2


Mitmproxy error on startup

Steps to reproduce the problem:

Install the latest mitmproxy version via pip 10 under Debian 9

Hey, I justed updated mitmproxy and if I want to run it, I get the following error:
Traceback (most recent call last):
File "/usr/local/bin/mitmproxy", line 7, in
from mitmproxy.tools.main import mitmproxy
File "/usr/local/lib/python3.5/dist-packages/mitmproxy/tools/main.py", line 101
server: typing.Any = None
^
SyntaxError: invalid syntax
Does anybody have an idea what causes this?

@jenskueper Hello! Mitmproxy requires Python 3.6+ now. It seems you are using 3.5

Might be related?
# mitmproxy -T --host
/usr/local/bin/mitmproxy[1]: syntax error: `(' unexpected

OpenBSD hostname 6.7 GENERIC.MP#152 amd64
Python 3.8.2
This is after installing python and extracting https://snapshots.mitmproxy.org/5.1.1/mitmproxy-5.1.1-linux.tar.gz to /usr/local/bin

Python 3.8 is explicitly supported in 5.1, so this is unlikely to be related.


Replace HTTP_FLAVOR with NETWORK_PROTOCOL_VERSION

After PR https://github.com/open-telemetry/opentelemetry-php/pull/1126 got merged, HTTP_FLAVOR was dropped and all the  instrumentations that used it started failing.
This PR updates TraceAttributes::HTTP_FLAVOR to TraceAttributes::NETWORK_PROTOCOL_VERSION.

Thanks, @julianocosta89 - I've just noticed that I only check for removed ResourceAttributes but not TraceAttributes as part of updating SemConv...
There are a few failures still, it looks like some packages are not picking up the latest SemConv version - they might need a more explicit version constraint. I think ^1.22 should do it.

Thanks @brettmc!
It seems that there are other attributes that need to be updated, I'll take care of that

Just one attribute that I couldn't find: HTTP_CLIENT_IP
I've replaced with NET_SOCK_PEER_ADDR, but not sure if that is correct.

@brettmc and @pdelewski I've updated a bunch of other TraceAttributes after your review, would you mind double checking it?
Also, I'm not sure about this: https://github.com/open-telemetry/opentelemetry-php-contrib/pull/204#issuecomment-1771065608
Appreciate the help!

I've tagged new versions of the updated packages. Thanks, @julianocosta89


fix(deps): update terraform-module

This PR contains the following updates:

Package
Type
Update
Change

terraform-ibm-modules/base-ocp-vpc/ibm (source)
module
minor
3.9.2 -> 3.10.0

terraform-ibm-modules/key-protect-all-inclusive/ibm (source)
module
patch
4.4.0 -> 4.4.1

terraform-ibm-modules/landing-zone-vpc/ibm (source)
module
minor
7.7.0 -> 7.10.0

terraform-ibm-modules/observability-agents/ibm (source)
module
minor
1.11.1 -> 1.12.0

Release Notes

terraform-ibm-modules/terraform-ibm-base-ocp-vpc (terraform-ibm-modules/base-ocp-vpc/ibm)
v3.10.0
Compare Source
Features

enable new endpoint type for cluster config (#277) (18f58ba)

terraform-ibm-modules/terraform-ibm-key-protect-all-inclusive (terraform-ibm-modules/key-protect-all-inclusive/ibm)
v4.4.1
Compare Source
Bug Fixes

deps: update terraform-module (#356) (d76d69d)

terraform-ibm-modules/terraform-ibm-landing-zone-vpc (terraform-ibm-modules/landing-zone-vpc/ibm)
v7.10.0
Compare Source
Features

introduce support for manual resolver resolver (#663) (13b7d08)
introduce hub-spoke examples (using manual and delegated resolver)

v7.9.0
Compare Source
Features

expose hub vpc inputs (#662) (1c15668)

v7.8.0
Compare Source
Features

expose enable_hub variable (#661) (c659a93)

terraform-ibm-modules/terraform-ibm-observability-agents (terraform-ibm-modules/observability-agents/ibm)
v1.12.0
Compare Source
Features

implement endpoint_type for cluster config (#218) (23d8edb)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline

/run pipeline

:tada: This PR is included in version 2.7.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Evidently integration

Solves https://github.com/iterative/dvclive/issues/699

Amazing work @francesco086!
Would you mind first submitting the notebook in a PR to dvclive in the examples folder? Then you can link to it in the docs like this huggingface example.
Otherwise, I have only a few minor comments if you have time to do one more iteration:

To show off the other available interfaces, you could try making tabs like in https://dvc.org/doc/start/experiments/experiment-tracking#tracking.
At the top of the notebook, you might want to drop the outputs of the cells or use pip install -q so that it's easier to get to the interesting stuff.
In the notebook, there are some options to show the outputs more natively. For the single experiment, you can show the plots by including notebook=True when initializing DVCLive. For multiple experiments, you could show and manipulate the table in python using dvc.api.exp_show().

Thanks @dberenbaum ! Done all you suggested except for point 1.
I could do that, but

I must confess I find those gif pretty hard to understand, they are too small...
if you really insist on that, I need hints on the tools to use to record the video to make an animated gif, I have never done such things before...

For the same reason as above (pictures too large to fit in the webpage), I preferred to leave the native jupyter output in the notebook itself, without putting them in the md. However I added hints on how to do that. Let me know if that is ok, or you prefer otherwise.
One last thing: I noticed that colab allows to save a copy of the notebook directly in github. Could you perhaps store it directly in the example folder, since you probably have the rights to do so?
Once you have done it I can update the colab link.

No problem, we can go ahead and update in the future if needed. Good feedback on the gif size. If you have other ideas how to show the equivalent workflow in VS Code/Studio, let me know.

I must confess that I have no clue. Perhaps a youtube video would be a better option because it can be enlarged.
However, all of these options are very time consuming and are very hard to maintain (potentially each update could require to re-record the video). What I would do for my own repo is to keep such videos to the bare minimum, as I can't see a way to automate their creation.

Do you mind submitting a PR to the dvclive repo with this notebook saved in the examples folder? That way, you will get the credit for 2 contributions, and it better reflects the real workflow, plus we can review the actual notebook contents if needed.

Didn't think of the notebook review, here you go: https://github.com/iterative/dvclive/pull/723

Thanks again @francesco086, great work!


[staging & production] Box does not list deleted folder name

Steps

Go to a project that you have admin priveleges on
Go to the project settings tab
Authorize the Box Add-on, import access token, link a folder
Go to the files tab
In the Box folder, click on the '+' to create another new folder
Enter the name of the folder
Click Ok
Now, delete the folder
Look at the project log

Expected
The project log would list the name of the deleted folder, just as it does for other add-ons.

Actual
Instead of listing the folder name, the log reads

@chrisseto notes that files in Box have the same behavior

Apparently this is a result of the water_butler logging system not getting the folder name when deleting a folder from box. Chris mentioned this is being worked as a low priority item, but it is not inherently a osf problem.

@chrisseto should we remake this in WaterButler and close this issue here? Thanks.

This should no longer be an issue
On Mon, May 25, 2015 at 10:16 PM, LarryB<EMAIL_ADDRESS>wrote:

@chrisseto https://github.com/chrisseto should we remake this in
WaterButler and close this issue here? Thanks.
—
Reply to this email directly or view it on GitHub
https://github.com/CenterForOpenScience/osf.io/issues/2539#issuecomment-105360547
.

Cool -- Thanks -- I'll close.

Well, wait for the release to verify :P
On Mon, May 25, 2015 at 10:58 PM, LarryB<EMAIL_ADDRESS>wrote:

Cool -- Thanks -- I'll close.
—
Reply to this email directly or view it on GitHub
https://github.com/CenterForOpenScience/osf.io/issues/2539#issuecomment-105371311
.


How to get index offset to make smooth scrolling UIScrollView?

Need to scroll UIScrollView when pressed Control

My fault, it's OK.


Fix/on deploy to netlify

This change is in order to fix this issue:
https://github.com/decaporg/gatsby-starter-decap-cms/issues/912
What kind of change does this PR introduce?
Bugfix, changing node version
Does this PR introduce a breaking change?
It seems like not
What needs to be documented once your changes are merged?
The minimun node version in README is already changed

It seems like throws an error at the deploy in netlify, the same thing passed to me, but you only need to clean cache and retry deploy again, that works for me.


Omnisci DB engine on Windows

Modin should support Omnisci DBE on Windows platform.

@Garra1980 pyhdk can work on windows starting from 0.6. Can we close the issue?


Cloning of the repository from packit propose-downstream call is taking long with no user info

Hi everyone, when I call packit propose-dowstream it looks like this a long time.
$ packit propose-downstream https://github.com/rhinstaller/anaconda

I mean no output to the console during the repository cloning. This is a problem for example for the Anaconda repository where the cloning takes 30s on a fast internet connection. During this time it looks like the packit CLI application has frozen. Could you please add info that the repository is being cloned?

Hi @jkonecny12  It's mentioned in the debug mode but we can probably print that in non-debug as well. Thanks for creating an issue.


Data lake storage, Reduced speed = increased latency

Reduced speed = increased latency, not a big bragging point :)

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

ID: 8ab1d75b-3cbf-58f2-6d6f-8f7445fc27a7
Version Independent ID: 9d4e2945-27ec-b88e-7d20-0693df6982ea
Content: Azure Data Lake Storage Gen2 Introduction - Azure Storage
Content Source: articles/storage/blobs/data-lake-storage-introduction.md
Service: azure-data-lake-storage
GitHub Login: @normesta
Microsoft Alias: normesta

@atorsvik
Thanks for your feedback! We will investigate and update as appropriate.

@atorsvik
Could you please elaborate the query for better understanding. So, we can assist you further.

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


Enable SSR for documentation website

Since the documentation website is hosted on netlify, we can use something like https://github.com/netlify/rust-functions-example to render the website in the serverless function.

@lukechu10 if you wanted, you could also use Perseus to statically render it. I'm happy to help with migrating if needed (the rendering process would probably be similar to that for the Perseus website of taking in Markdown files and rendering docs pages).

The new docsite now uses SSR!


Resurrect examples test suite on selene v2 version

Relates to #203

Codecov Report

Merging #283 (09e5436) into master (1f306f6) will increase coverage by 1.40%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #283      +/-   ##
==========================================
+ Coverage   62.70%   64.10%   +1.40%
==========================================
  Files          32       32
  Lines        1850     1850
  Branches      118      118
==========================================
+ Hits         1160     1186      +26
+ Misses        659      636      -23
+ Partials       31       28       -3

Flag
Coverage Δ

unittests
64.10% <ø> (+1.40%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

selene/support/conditions/not_.py
40.16% <0.00%> (+0.81%)
:arrow_up:

selene/core/entity.py
60.85% <0.00%> (+0.92%)
:arrow_up:

selene/support/conditions/have.py
68.49% <0.00%> (+1.36%)
:arrow_up:

selene/support/shared/config.py
86.06% <0.00%> (+1.63%)
:arrow_up:

selene/core/match.py
61.31% <0.00%> (+2.18%)
:arrow_up:

selene/core/wait.py
92.59% <0.00%> (+5.55%)
:arrow_up:

selene/support/shared/browser.py
63.55% <0.00%> (+8.41%)
: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 1f306f6...09e5436. Read the comment docs.

Codecov Report

Merging #283 (09e5436) into master (1f306f6) will increase coverage by 1.40%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #283      +/-   ##
==========================================
+ Coverage   62.70%   64.10%   +1.40%
==========================================
  Files          32       32
  Lines        1850     1850
  Branches      118      118
==========================================
+ Hits         1160     1186      +26
+ Misses        659      636      -23
+ Partials       31       28       -3

Flag
Coverage Δ

unittests
64.10% <ø> (+1.40%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

selene/support/conditions/not_.py
40.16% <0.00%> (+0.81%)
:arrow_up:

selene/core/entity.py
60.85% <0.00%> (+0.92%)
:arrow_up:

selene/support/conditions/have.py
68.49% <0.00%> (+1.36%)
:arrow_up:

selene/support/shared/config.py
86.06% <0.00%> (+1.63%)
:arrow_up:

selene/core/match.py
61.31% <0.00%> (+2.18%)
:arrow_up:

selene/core/wait.py
92.59% <0.00%> (+5.55%)
:arrow_up:

selene/support/shared/browser.py
63.55% <0.00%> (+8.41%)
: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 1f306f6...09e5436. Read the comment docs.

Resolved merge conflicts with 2.0.0a36 master.


Own page for blocked request.

Hello, i searching information about set own page for blocked request and i don't see that function. Do you have plans for implement that ?

The Block action in filtering rules is for all protocols, not just HTTP/S. So I have not implemented a blocked page option. Perhaps it makes sense for HTTP/S connections, but I cannot promise anything at the moment.


history / version

@petedmarsh I am currently testing this branch, in regards to the socket code I am actually seeing an increase in latency compared to v2.18.0. Both instances doing the same thing, on the same VM / libraries etc, has me a bit baffled...

That's interesting, how are you measuring the latency?
On Wed, 13 Sept 2023, 16:12 Liam, @.***> wrote:

@petedmarsh https://github.com/petedmarsh I am currently testing this
branch, in regards to the socket code I am actually seeing an increase in
latency compared to v2.18.0. Both instances doing the same thing, on the
same VM / libraries etc, has me a bit baffled...
—
Reply to this email directly, view it on GitHub
https://github.com/betcode-org/betfair/pull/536#issuecomment-1717715850,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAJDC6WV6ENE75FJCK3HBPTX2G5MTANCNFSM6AAAAAA4O2HMWE
.
You are receiving this because you were mentioned.Message ID:
@.***>

OK so it's also worse for me on Linux, I ran the benchmark and tested on Windows, please revert that change. I believe I can make it work on Windows and Linux.

Linux benchmark numbers for me:
                                                    Benchmarks, repeat=5, number=5
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━┳━━━━━━━━━┳━━━━━━━━━┳━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━┓
┃                                       Benchmark ┃ Min     ┃ Max     ┃ Mean    ┃ Min (+)         ┃ Max (+)         ┃ Mean (+)        ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━╇━━━━━━━━━╇━━━━━━━━━╇━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━┩
│ Original Client Code vs socket.makefile version │ 1.160   │ 1.357   │ 1.204   │ 1.808 (-1.6x)   │ 1.829 (-1.3x)   │ 1.819 (-1.5x)   │
└─────────────────────────────────────────────────┴─────────┴─────────┴─────────┴─────────────────┴─────────────────┴─────────────────┘

I don't understand why though, surely it should be quicker, might try and have a look as the latency distribution is weird

@liampauling I believe I know why this was faster on Windows, slower on Linux (and OSX), and I believe I have a simple fix that makes an improvement cross-platform.
I have tested this on Windows and OSX, I can check Linux later, could you run this benchmark:
https://gist.github.com/petedmarsh/0a2775ec706156b892d40a67cb017bef
If you can verify it's positive for you too then I will raise the fix with a full explanation.


React jsx or js files causing errors

Issue Type: Bug
Hello I am at a loss for how to proceed.
When I write react code in js or jsx files, vscode is not able to recognize it as such code and I am thrown errors for everything.
This issue only applies to react code. My application is acting normal for other languages.
 What is language mode displayed in status bar? Is it correctly marked as JavaScript?

I followed your tip for Reloading the window with extensions disabled and the issue persisted. I attached a screenshot of it.
The language mode displayed on the status bar for my JavaScript React file is also JavaScript React. The error is the same for cases with or without extensions. I also attached an image of the same for with extensions.
The code itself is a jsx file for creating a functional contact form using emailjs-com

That's definitely broken JSX so no wonder why everything is red. You need to fix formatting first and then check again.
What formatter did you use in this file?
I suspect that vscode-Js-Css-Html-formatter might not support some new JS syntax and break everything. Is it the case?

That is actually the formatting it changes to whenever I save a jsx file.
Before saving the file was a functional normal looking jsx file.

What formatter did you use in this file?

Does it happen if you disabled all extensions and format whole file (using default formatter)?
You can try this with F1 and >Developer: Reload Window With Extensions Disabled
If problem is still reproducible try to remove parts of JSX markup to find what code causes problem, remove project specific values and share it.


Code comments and documentation

While the existing documentation does a decent job at explaining what the code does, it is still hard to understand the code itself when reading the fff_segmenter.m file, and I don't think you could expect someone to be able to contribute to it without additional explanations from the author.
At the minimum, function documentation strings should be added and explain every argument, what is returned and what the function does, as described here.
Also, the code would benefit from additional comments as it is a standalone script without formal API documentation.

Working on it. Thanks for the review.

Hey @olivecha
Thanks for the issue!
To address your request, we've added the required function documentation strings and detailed explanations for every argument, return values, and the function's purpose. We've also updated the Documentation to increase content, and also improve understanding for the community.
If any further changes are needed, feel free to let us know.
Best,
Thiago

@olivecha Sure!
There were some alterations to address the issues that were made in multiple commits. I will insert the comment in each of them.

Could you mention the issue number (#2) in the commit messages of the changes addressing the issue ? (Same for all issues, so we can track what was done to remediate the issues)

Done!

This is much better, the documentation of the sub-functions is a bit hard to get to, but I guess this is a Matlab thing.
You could mention when (important) sub-functions are called in the three steps of the main function instead of naming then alphabetically, as this would make it easier to understand their utility, but this would not be necessary for publication.


Option to emit component name based on file name with an NODE_ENV check for Vite + Vue based libraries

Related plugins

[X] plugin-vue

[ ] plugin-vue-jsx

Description
When building a Vue component library using Vite and this plugin. Component names are not emitted into productions builds of the library. This hinders debugging using the Vue devtools when using such libraries as all components from the library will show as anonymous component.
Suggested solution
Add an option to keep component names in production build gated behind a NODE_ENV check so that they can be stripped during bundling, that way they can be kept when using a library in development mode.
Alternative
Do this manually in each and every Vue file in the library.
Additional context
Hit this with @tiptap/vue-3 but also with our own custom Vite + Vue based libraries.
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

So we currently have this:
  define: {
    __VUE_PROD_DEVTOOLS__: JSON.stringify(true),
  },

Which seems to enable this partially. (Is this documented anywhere?)
Which enables this:
https://github.com/vitejs/vite-plugin-vue/blob/eef8929c95d8b5cce1385a1d5e60da56a8420c0b/packages/plugin-vue/src/main.ts#L106-L112
So something like this would do it:
  if (devToolsEnabled || (devServer && !isProduction)) {
    // expose filename during serve for devtools to pickup
    attachedProps.push([
      `__file`,
      JSON.stringify(isProduction ? `process.env.NODE_ENV !== "production" ? ${path.basename(filename)} : void 0` : filename),
    ])
  }

But when devtools are enabled in production the user might want to keep the name even in production, so we need a specific flag for this, this is meant for Vue libraries so they can keep names during development but allow Vite to strip them in production.