proxmark3-rrg: 4.14831 -> 4.15864

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/RfidResearchGroup/proxmark3/releases.
meta.description for proxmark3-rrg is: "Client for proxmark3, powerful general purpose RFID tool"
meta.homepage for proxmark3-rrg is: "https://rfidresearchgroup.com/"
meta.changelog for proxmark3-rrg is: ""
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 4.15864 with grep in /nix/store/fm12xv2p1gq2psbcckgcihgab3dd8d0b-proxmark3-rrg-4.15864
found 4.15864 in filename of file in /nix/store/fm12xv2p1gq2psbcckgcihgab3dd8d0b-proxmark3-rrg-4.15864

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
proxmark3-rrg

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/fm12xv2p1gq2psbcckgcihgab3dd8d0b-proxmark3-rrg-4.15864 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A proxmark3-rrg https://github.com/r-ryantm/nixpkgs/archive/3a97df3b573371a9824594fa7a6d52c81be286ec.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/fm12xv2p1gq2psbcckgcihgab3dd8d0b-proxmark3-rrg-4.15864
ls -la /nix/store/fm12xv2p1gq2psbcckgcihgab3dd8d0b-proxmark3-rrg-4.15864/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

proxmark3-rrg

Maintainer pings
cc @nyanotech for testing.

@ofborg build proxmark3-rrg proxmark3-rrg.passthru.tests


Update quiz simulation.

Motivation and Context
Allows testing of the Artemis performance in Quizzes with the framework k6.
Description
Add bash script to launch test.
Answer all questions, it will randomly select an option for the MC questions.
Allow offset in userid to distribute the load over several agents.
Steps for Testing

Log in to Artemis
Navigate to Course Administration
Create a MC-Quiz in a course.
Copy the exerciseId and courseId.
Run the following command: src/test/k6/quiz_tests.sh --baseUrl artemistest.ase.in.tum.de -i 200 -p BASE_PASSWORD -u BASE_USERID --tests Websocket -e EXERCISEID -c COURSEID -o 0

Screenshots
1000 participations (creates a nice Gauss curve):

Would be great if we can merge the file with api_tests.sh so that we only have one of them.
Would be great if you can extend the setup so that it includes creating and deleting the quiz (maybe including the course)

Then, we should integrate this into the k6 build plan on Bamboo so that the quiz functionality is always completely tested.

I've implemented the 2 points requests above.
Additionally, I've extended the programming exercises to support Python & C exercises (new flag -pl).
The programming exercises for C still have some issues (most likely not relatied to the simulation but to the sample solution), but Python exercises work fine.


Are the nuvolaplayer3_amazon_cloud_player.* icons required?

Are the nuvolaplayer3_amazon_cloud_player.* icons required?

I am not sure the icons located in %{_datadir}/icons///*
/nuvolaplayer3_amazon_cloud_player.* are required. The .desktop file specifies they should be named eu.tiliado.NuvolaAppAmazonCloudPlayer, which is the other set available.

They are needed by Nuvola 3.0 and they are still used in the internal icon loading code of Nuvola 4, which is going to change - tiliado/nuvolaruntime#353


Notice: get_translations was called incorrectly

Hi,
Thanks for the plugin :)
I wanted to report a notice. I'm using WP 4.5, Hyyan WooCommerce Polylang Integration 0.25 and Polylang 1.8.5 :
Notice: get_translations was called incorrectly in .../wp-content/plugins/woo-poly-integration/src/Hyyan/WPI/Endpoints.php on line 306: the call to $polylang->model->get_translations() has been deprecated in Polylang 1.8, use PLL()->model->post->get_translations() instead. Error handler in .../wp-content/plugins/polylang/include/model.php on line 546
Hope that will help.
Séb.

Fixed now


feature: emergency banner validation

What
Ticket: Add validation for required fields to emergency banner publishing screen
How to review
Add validation as per AC in the ticket to banner form.
Add test to Banner Component.
Linter improvements

Who can review
All

I personally am not a fan of disabling the form if there are validation errors. They should be handled with appropriate error messages/descriptions.
See := https://design-system.service.gov.uk/patterns/validation/#how-to-tell-the-user-about-validation-errors and https://ons-design-system.netlify.app/patterns/correct-errors/

Hi @mr-nick17 , huge thank you for looking.  in regards to comments you left on this PR we had a team meeting to discuss it. It was decided this should stay as it is now as banner can only be saved with validated data and zebedee doesn't support safe for later state.

screenshot after changes

Using role="alert" will improve the experience for screen reader users. However, you have included it on all input fields so the voiceover software will have a race condition and ultimately only read out the last one. I am approving on the basis that I have been assured that accessibility improvements will be addressed at a later stage. Thanks for addressing my concerns 😄


Support IDE SDF fonts whenever they appear

It's finally done!

That’s really exciting @JujuAdams. May I ask what version / release this will be available in?
Thank you for the wonderful work. :)

Version 9.1.0, which can be found here. Please note that this is a major version increment from version 8,x so don't expect your code to automatically work if you update.


WIP: Add Arm64 CI with Travis

Runs the docker tests on Aarch64 platform

Closing this PR for now. Feel free to reopen when you want to continue working on this.


Split Element Wraps Under Container When Dragging Collapsed Gutter

Expected Behavior
Split should not wrap under container when dragging collapsed gutters.
Current Behavior
When there are (at least) two collapsed gutters and the user drags the outermost collapsed gutter the large split element wraps under the container.
Steps to Reproduce
The issue can be reproduced using the API (last) example at https://nathancahill.github.io/Split.js/

Click Collapse First
Click Collapse Second
Attempt to drag the outer (#fourteen) split
#sixteen wraps under the container

Details
The issue seems to occur in the adjust function.
    function adjust (offset) {
        var a = elements[this.a];
        var b = elements[this.b];
        var percentage = a.size + b.size;

        a.size = (offset / this.size) * percentage;
        b.size = (percentage - ((offset / this.size) * percentage));

        setElementSize(a.element, a.size, this.aGutterSize);
        setElementSize(b.element, b.size, this.bGutterSize);
    }

In this case the offset is 105. Because the drag causes the size of split to be less than the minSize + snapOffset + gutter size, the offset is set to the minSize (100) + the gutter size (5).
Since a and b are both collapsed their size is just the size of the gutters and the percentage is very small (maybe 1-2 percent) and this.size is the size of the gutters (15px).  Because the initial percentage is small this causes the calculated b.size to be negative.  This results in element sizes similar to [11, -9, 98]. Mathematically this adds to 100 but the browser doesn't have enough space to accommodate the widths requested so the element wraps.
Possible Implementation
If the pair can't accommodate the size adjustment shouldn't the size of the other elements be adjusted?

On further review, this looks to be a duplicate of #133 Panes get messed up.


Error with CRD schema on kubernetes v1.16

We test your solution on our k8s cluster v1.16.1.
After applying CRD and RBACDefinition (we copy it from example) in rbac-manager we don't seen any problems:
time="2019-10-18T18:40:33Z" level=info msg="Watching RBAC Definitions"
time="2019-10-21T18:47:15Z" level=info msg="Reconciling RBACDefinition rbacmanager-all-users"

at the same time in logs of kube-apiserver:
E1018 18:47:01 1 customresource_handler.go:655] error building openapi models for rbacdefinitions.rbacmanager.reactiveops.io: SchemaError(io.reactiveops.rbacmanager.v1beta1.RBACDefinition.rbacBindings.roleBindings.namespaceSelector.matchExpressions): array should have exactly one sub-item

As a result is no new role binding created and no any errors in logs of rbac-manager.

Possibly related, though apparently that bug was fixed in v1.16.0-rc.2

Small clarification. We use kubernetes version v1.16.2
and the problem still persists.
In rbac-manager crd "conditions"  i see:
{
                "lastTransitionTime": "2019-10-18T18:14:23Z",
                "message": "spec.validation.openAPIV3Schema.properties[rbacBindings].items.properties[roleBindings].items.properties[namespaceSelector].properties[matchExpressions].items: Required value: must be specified",
                "reason": "Violations",
                "status": "True",
                "type": "NonStructuralSchema"
            },

after upgrade rbac-manager to 0.8.4 everything works as expected.


Small rendering of UI in Linux (Ubuntu) on Macbook HiDPI/Retina display

Running Ubuntu 20.04 on an old Macbook 2013 13".
I've definitely run into this before with a few other programs. See attached (terminal and cursor for comparison).
Not unusable, just wanted to bring it to attention.
Cheers

I can confirm this issue.
The background of this issue is that java applications don't scale according to the system wide scale settings for high-res (like Retina) displays (at least in Ubuntu).
As a workaround (but not so smooth overall display usage) you can disable scaling and turn down the screen resolution accordingly in the Settings > Displays > Resolution & Scale.
As an example: lower the screen resolution but keep the screen ratio. For example from 2880 x 1800 to 1440 x 900 (1/2 of the max display resolution).

Duplicate of #175. Please could you try the suggested fix in https://github.com/sparrowwallet/sparrow/issues/175#issuecomment-966405907 and comment there if it works?


Make DataHandle (or DataSvc) work with Gaudi Functional

As already discussed in #94 eventually we want to move to Gaudi Functional. This requires that our DataHandle / DataSvc works in a thread safe way. #100 introduces Frame based I/O but probably not yet in a thread safe enough way to make it work inside Gaudi Functional.

@jmcarcell do you want to keep this open until this is done "properly", or can we close this?

I don't mind either. DataHandles are not used with Gaudi::Functional so the title is a bit wrong on that but it's true that the DataSvc is not thread-safe. And there is a third topic which is moving to Gaudi::Functional which is somehow independent of the other ones (but not complete if the DataSvc is not thread-safe)

This is now completed by having a new service that can be used with multithreading IOSvc.


Enable adding contributors sourced from ORCID.

In the frontend the user should be able, like with the search field for their person database, to search for researchers in the ORCID database by using name or ORCID-ID.
this request should be managed by the backend, which will use the institutions ORCID credentials to make the request with ORCID, and then map it to our ContributorDO objects for the frontend to consume.

The person resource and its /search shall be used and adapted. A query parameter (searchService) defines which search service should be queried.
Following implementation possibilities have been defined:

Several PersonService definitions via config

Define which services are available in the config
Provide config per service as well
Read complete PersonService config in resource for dynamic functionality

Extend resource with ORCID PersonService only

Hardcode ORCID service into resource
Define ORCID config variables

If set, allow search via ORCID API

Either case should adapt the config for the frontend, such that it knows which services are available. This allows the frontend to adapt to the config and display different options. This approach may also be used for other resources - such as project search.
After offline discussion, we settled for a first implementation to only include the ORCID search service and add configuration values for it.


Expand-Archive Should Allow Globbing Multiple Input Files for Extraction

Summary of the new feature / enhancement
Just discovered that the cmdlet expand-archive cannot extract multiple referenced input archived files such as *.zip to expand into a single destination directory. Should be able to do this without programming around it with calling it on a large list of individual files.
Proposed technical implementation details (optional)
No response

Related to #23


Refactor international names

I noticed that the default behaviour of chance.name() was to only pick from the English names, even though there are several examples of other languages.
This PR changes the behaviour to choose a random locale instead.
This causes some test failures due to unexpected characters. However I still believe it is valuable to keep those names in the dataset, so I changed the tests to explicitly set the language to en. Open to suggestions in improving the tests another way.
I also reorganized the names into some external folders.
I was concerned about the minified version in dist, however this doesn't seem to have been updated in quite some time.
Tested locally with my own setup and it works as expected.

I would love to get some feedback on this


Links in README.md are broken

The following links result in 404s:

CodeFactory Overview

CodeFactory Guidance

That is not ideal... :)
What hosting page were you coming from that held the broken links?

Need to update readme.md on this page John. Second two links are not connecting to the recently updated docs.
https://github.com/CodeFactoryLLC/CodeFactory/blob/42b6daab4f7d83e7a4a13c6888f66fb1ec9d575c/README.md

Links updated. Thanks for the report @MisinformedDNA


Allow new users to choose username when creating account

As a user, I'd like to be able to choose my username when I create an account, instead of having one autogenerated using my name. This will allow me to control my identity on open edX discussions forums, and allow course teams to connect users without sharing my PII.
Designs and Mockups
TBD
Acceptance Criteria:

[ ] Add a field to the account creation form for setting username
[ ] validate that the username is unique when creating an account. If it is unique on mitxonline, it should also be unique on edx-platform
[ ] we should do some manual integration testing with MicroMasters before releasing this, but I would be very surprised if there are any issues

Out of Scope

We should consider allowing users to change their username, but that's out of scope for now. We can handle username changes as a customer service request.

@pdpinch Will it be OK to validate the username uniqueness on submit (as opposed to validating on key press)?

Validating on submit is going to be a lot easier, isn’t it? I’m fine starting with submit and then we can consider validation on keypress later.

@pdpinch What do you think of auto-generating a username on the front end based on the full name? I was thinking something like this: as the user enters their full name (on each key press), that input value is slug-ified and set as the value of the username field, but only if the user has not manually entered anything in the username field. If the user has entered something there, any further input in the full name field will not update the username field.
This would make it easier for the user in 2 ways: (1) potentially one less input to fill out, and (2) less likely to enter an invalid username which they would then have to fix.
I'm guessing you'd want to put that in a separate issue if you like the idea, but thought it was worth pitching here

I updated the description with a link to the design. To be clear, the design includes features that we aren't implementing at this time. Namely: front-end validation of uniqueness and auto-generating suggested usernames.


Better lib support

with only lib set to es6, stuff like window should not work. It does in alm. All I am doing is offloading to the lib files here : https://github.com/alm-tools/alm/blob/74492a148097cd74ef425e65596edf620fd67fe3/src/server/workers/lang/core/typeScriptDir.ts#L17-L21 so interesting that alm works when tsc doesn't (so alm shouldn't).
See why :rose:
Refs https://github.com/Microsoft/TypeScript/issues/9500#issuecomment-230200471

Released with 0.1.17 :rose:


not a fork?

why isnt this forked from unek's code?

@buzztiaan  Because i changed a lot of the code and added the modular system. was way to much of a change and i don't think unek would have taken the PR's so i just added my own repo for it.


Added calls for BaseTransformation init function for NULL support

As per the issue

removed returning null if arguments is null in the BaseTransformFunction class
updated all transformation functions to call the super.init() for setting the arguments value

cc: @shenyu0127

Codecov Report

Merging #11653 (48c5938) into master (3501b86) will decrease coverage by 48.66%.
The diff coverage is 0.00%.

@@              Coverage Diff              @@
##             master   #11653       +/-   ##
=============================================
- Coverage     63.06%   14.40%   -48.66%
+ Complexity     1118      201      -917
=============================================
  Files          2342     2342
  Lines        125690   125701       +11
  Branches      19306    19318       +12
=============================================
- Hits          79262    18107    -61155
- Misses        40778   106068    +65290
+ Partials       5650     1526     -4124

Flag
Coverage Δ

integration
?

integration1
?

integration2
?

java-11
?

java-17
14.40% <0.00%> (-48.52%)
:arrow_down:

java-20
?

temurin
14.40% <0.00%> (-48.66%)
:arrow_down:

unittests
14.40% <0.00%> (-48.66%)
:arrow_down:

unittests1
?

unittests2
14.40% <0.00%> (+<0.01%)
:arrow_up:

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

Files Changed
Coverage Δ

...unction/BaseBooleanAssertionTransformFunction.java
0.00% <0.00%> (-79.17%)
:arrow_down:

...ator/transform/function/BaseTransformFunction.java
0.00% <ø> (-71.40%)
:arrow_down:

...transform/function/CLPDecodeTransformFunction.java
0.00% <0.00%> (-94.12%)
:arrow_down:

.../function/DateTimeConversionTransformFunction.java
0.00% <0.00%> (-77.50%)
:arrow_down:

...transform/function/DateTruncTransformFunction.java
0.00% <0.00%> (-90.33%)
:arrow_down:

...r/transform/function/ExtractTransformFunction.java
0.00% <0.00%> (-68.75%)
:arrow_down:

...or/transform/function/GroovyTransformFunction.java
0.00% <0.00%> (-71.84%)
:arrow_down:

...r/transform/function/InIdSetTransformFunction.java
0.00% <0.00%> (-38.10%)
:arrow_down:

...erator/transform/function/InTransformFunction.java
0.00% <0.00%> (-61.67%)
:arrow_down:

...or/transform/function/IsNullTransformFunction.java
0.00% <0.00%> (-93.34%)
:arrow_down:

... and 8 more

... and 1497 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

The https://github.com/apache/pinot/issues/11548 is not asking for changes in this PR but asking for making ScalarTransformFunctionWrapper::getNullBitmap return correct results. This means for the query SELECT CASE WHEN col IS NULL THEN 1 ELSE 2 END, if the col is NULL, it should return 1. Currently it would incorrectly return NULL.

This is not the correct way to support null in ScalarTransformFunctionWrapper because for scalar function, the result might not be null when one of the input values is null. It needs to extends ComputeDifferentlyWhenNullHandlingEnabledTransformFunction and handle null differently.
We may keep the change in this PR as it adds default null support to more functions, and make a separate PR for ScalarTransformFunctionWrapper

Thanks for mentioning. I updated the PR title per the changes and will raise another PR for ScalarTransformFunctionWrapper. Please review the PR once more.

I'd suggest 2 follow ups after this PR:

Add null support for ScalarTransformFunctionWrapper
Add test for all transform functions on nullable columns


Quotas fail to sync with newest version of QumuloSync

Attempting to sync quotas fails with the following error message:
2023-07-05 14:43:43,906 | QumuloSync | INFO | /home export wasn't updated.
Do you want to create /home/ directory quota?: [Y/n]y
2023-07-05 14:43:46,930 | QumuloSync | ERROR | Configuration would not validate, error is Error 404: api_quotas_quota_limit_not_found_error: This quota no longer exists.
Backtrace:
    new_quota_limit_not_found_error at fs/api/quotas_impl.c:53
    quotas_api_module_id_put at fs/api/quotas_impl.c:213
    _quotas_api_module_id_put at build/release/fs/api/quotas.c:473
    quotas_api_module_execute_request at build/release/fs/api/quotas.c:695
    execute_handler at api/api.c:287
    dispatch_uri at api/api.c:340
    api_dispatch_uri at api/api.c:372
    pass_request_to_handler at protocols/http/server.c:675

This works with a previous version, so it appears to be related to a recent change.

Thanks Brandon. Issue was fixed.


Drop network config delete

This should fix Issue #11 !

Why was it being deleted in the first place?

Why was it being deleted in the first place?
It might be our mistake.
In our environment, ethernet devices in our cluster in computing nodes were created by the playbook.
This section should have been placed with the enable_ifup flag or it should have been deleted as Baptiste done.
Some old machines might have network configurations in /etc/sysconfig/network and I thought it might cause some problem and ansible is used for an initial installation phase so I thought it was reasonable to delete it from computing nodes and we should make it newly to avoid problems.

On second thought, I'm not determine which is more preferable to delete it or not clearly.

I will be investigating the configuration of the cnodes' networking with Warewulf throughout the next days, from what I've seen I'll look into the net-eth role.
But the sysconfig/network file shouldn't be messed with too much, we can get reliable network interface names (net.ifnames=1,biosdevname=1) and thus do everything in the icfg files.
Arguably this should be added if need be, and at this time there doesn't seem to be. If it ever arises, sysconfig/network should be modified, but not deleted.


DraggableSheet moves up when keyboard opens

I am experiencing an issue with the DraggableSheet. Whenever the keyboard opens, the DraggableSheet always moves up, regardless of the current state or configuration. This behavior is undesirable and disrupts the user experience.
Steps to reproduce:

Add the above code in your Flutter project.
Run the project.
Tap on the TextField to open the keyboard.
Observe that the DraggableSheet moves up.

`import 'package:flutter/material.dart';
import 'package:smooth_sheets/smooth_sheets.dart';
Expected behavior:
The DraggableSheet should stay in its current position when the keyboard opens.
Actual behavior:
The DraggableSheet moves up when the keyboard opens.
import 'package:flutter/material.dart';
import 'package:smooth_sheets/smooth_sheets.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      home: Scaffold(
        resizeToAvoidBottomInset: false,
  body: SmoothSheetDemo(),
  ),
  );
  }
}

class SmoothSheetDemo extends StatefulWidget {
  const SmoothSheetDemo({super.key});

  @override
  _SmoothSheetDemoState createState() => _SmoothSheetDemoState();
}

class _SmoothSheetDemoState extends State<SmoothSheetDemo> {
  final SheetController _smoothSheetController = SheetController();

  @override
  Widget build(BuildContext context) {
    final List<double> snaps = [0.3, 0.5, 1.0];
  const minExtent = Extent.proportional(0.3);
  final extentSnaps = snaps.map((e) => Extent.proportional(e)).toList();
  final physics = SnappingSheetPhysics(
      snappingBehavior: SnapToNearest(
        snapTo: extentSnaps,
  ),
  );

  return SafeArea(
      child: Stack(
        children: [
          const Placeholder(),
  DraggableSheet(
            minExtent: minExtent,
  controller: _smoothSheetController,
  initialExtent: minExtent,
  physics: physics,
  child: buildContent(),
  ),
  ],
  ),
  );
  }

 Widget buildContent() {
  return Container(
    color: Colors.grey[900],
  child: Column(
      children: [
        const SizedBox(height: 16),
  const TextField(),
  const SizedBox(height: 16),
  Expanded(
          child: ListView(
            children: List.generate(
              100,
  (index) => Container(
                margin: const EdgeInsets.all(4),
  child: const FlutterLogo(),
  ),
  ),
  ),
  ),
  ],
  ),
  );
}
}

Screen_recording_20240628_043148.webm

Hi @faizanje,

Whenever the keyboard opens, the DraggableSheet always moves up,

This is the intended behavior of the sheet. If you want to keep the current sheet position even when the keyboard opens, wrap your content in a SheetContentScaffold:
          DraggableSheet(
            minExtent: minExtent,
            controller: _smoothSheetController,
            initialExtent: minExtent,
            physics: physics,
            child: SheetContentScaffold(
              body: buildContent(),
            ),
          ),

Moreover, nesting a sheet in a Scaffold should be avoided especially when the sheet has textboxes. Please see this comment for more details.

Thank you for your quick response. Wrapping my content in a SheetContentScaffold has resolved the issue.

Thank you for your response and the suggestion to use SheetContentScaffold. However, the issue still persists, the sheet still partially moves up when the keyboard opens. I also noted your comment about avoiding nesting a sheet within a Scaffold, so I removed the scaffold from the root.
Here is the updated code I used:
import 'package:flutter/material.dart';
import 'package:smooth_sheets/smooth_sheets.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      home: SmoothSheetDemo(),
    );
  }
}

class SmoothSheetDemo extends StatefulWidget {
  const SmoothSheetDemo({super.key});

  @override
  _SmoothSheetDemoState createState() => _SmoothSheetDemoState();
}

class _SmoothSheetDemoState extends State<SmoothSheetDemo> {
  final SheetController _smoothSheetController = SheetController();

  @override
  Widget build(BuildContext context) {
    final List<double> snaps = [0.3, 0.5, 1.0];
    const minExtent = Extent.proportional(0.3);
    final extentSnaps = snaps.map((e) => Extent.proportional(e)).toList();
    final physics = SnappingSheetPhysics(
      snappingBehavior: SnapToNearest(
        snapTo: extentSnaps,
      ),
    );

    return SafeArea(
      child: Stack(
        children: [
          const Scaffold(
            body: Column(
              children: [
                TextField(),
                Expanded(
                  child: Placeholder(),
                )
              ],
            ),
            resizeToAvoidBottomInset: false,
          ),
          DraggableSheet(
            minExtent: minExtent,
            controller: _smoothSheetController,
            initialExtent: minExtent,
            physics: physics,
            child: SheetContentScaffold(
              body: buildContent(),
            ),
          ),
        ],
      ),
    );
  }

  Widget buildContent() {
    return Container(
      color: Colors.grey[900],
      child: Column(
        children: [
          const SizedBox(height: 16),
          const TextField(),
          const SizedBox(height: 16),
          Expanded(
            child: ListView(
              children: List.generate(
                100,
                (index) => Container(
                  margin: const EdgeInsets.all(4),
                  child: const FlutterLogo(),
                ),
              ),
            ),
          ),
        ],
      ),
    );
  }
}

Screen_recording_20240628_221948.webm

@fujidaiti Any update on this?

I'll close this as a duplicate of #14. Opening the keyboard on a non-fullscreen sheet is currently unstable. Please follow #14 for further updates.

I noticed that a fix for #14 didn't solve the issue mentioned in this comment. I have created a new issue to track this bug instead of reopening this issue (#192), so please follow up on that.

Quick & Dirty workaround:
Stack(children: [
  Scaffold(...)
  MediaQuery.removeViewInsets(
    removeBottom: true,
    context: context,
    child: ScrollableSheet(...)))


Fixed the objective value being negative

I dont know why, the content of all the Class constructors were shifted. Did you apply some automatic formatting?
By the way I realised that that the phase1 method that I implemented actually is the same as the phase1 that you had previously implemented.
When I started refactoring I was not really familiar with the simplex method and did not understand what you had done. So I tried implementing the original 2 phase simplex method before figuring out that phase1 could be more efficiently performed. Where did you find the algorithm for this simplex implementation? Because I could not find this anywhere.

Sorry about that.
The grunt file I run has an auto clean up function. I'll turn it off. I've never collaborated with git before so apologies for stepping on toes are in order :-)
The algorithm I used for the simplex was pulled out of a college finance book. When I initially built it I was just tinkering by turning their hand holding instructions to code. I built test cases for it and refined it to make it work.
Sent from my iPhone

On Sep 25, 2015, at 10:21 PM, Brice<EMAIL_ADDRESS>wrote:
I dont know why, the content of all the Class constructors were shifted. Did you apply some automatic formatting?
By the way I realised that that the phase1 method that I implemented actually is the same as the phase1 that you had previously implemented.
When I started refactoring I was not really familiar with the simplex method and did not understand what you had done. So I tried implementing the original 2 phase simplex method before figuring out that phase1 could be more efficiently performed. Where did you find the algorithm for this simplex implementation? Because I could not find this anywhere.
You can view, comment on, or merge this pull request online at:
https://github.com/JWally/jsLPSolver/pull/10
Commit Summary

Fixed the objective value being negative
Undid changes to solver.play file
Readded new line
File Changes

M src/solver.js (141)
M test/all_problems.json (3)
Patch Links:
https://github.com/JWally/jsLPSolver/pull/10.patch
https://github.com/JWally/jsLPSolver/pull/10.diff
—
Reply to this email directly or view it on GitHub.


Sift implementation

Add Class architecture
Implement SIFT methods
Create test case
Add include directory

General notes:
1.Done
2.Can you send me link again, link in summary isn't working, but i renamed the anyway

Architecture:

Main class has a lot of conversions which can be made static. You can move them to a separate file, maybe even a header if some of them will become templates after applying my comments.
From stackoverflow:
"In the context of member functions, static means "this member function does not have a receiver object. It's basically a normal function that's nested inside of the scope of the class."

If i declare them into my class.h, then when i initialize them in conversions.cpp i should type static or not?

Architecture:

As you won't save the picture in a class'es field, you can create a separate class for each algorithm and let them have the same interface.
I don't understand how I should do it. Nested classes? Or other architecture practice?

Can you send me link again, link in summary isn't working, but i renamed them anyway

Yeah, sorry, here it is: https://google.github.io/styleguide/cppguide.html#Variable_Names

If i declare them into my class.h, then when i initialize them in conversions.cpp i should type static or not?

I would consult CLion for this :)
But why declaring them in class.h if they can be declared (and, actually, defined if needed) in a separate header?

I don't understand how I should do it. Nested classes? Or other architecture practice?

No, I mean just create three independent classes which will inherit from some common interface class with virtual methods.


Change the registration form according to the details required for the hospital and users

as both hospital and user have different fields i their database, we need to handle taking those details when a hospital or a user registers... You can find the required fields in server/model  just add input for the items which are there in the model but not in the UI
example we need to take input of PIN code from the hospital but it is not there in the register page as of now..
first  you can merge conflicts of your previous pr and then you can do this one
Originally posted by @Luson045 in https://github.com/Luson045/medi-connect/issues/70#issuecomment-2389052029

Hi @Luson045 have started working on above, please confirm it's still planned or closed ?

yeah you can start working on it, make sure you take the pincode of hospital during registration and convert it into lat and long and then it is saved in the db

Hi @Luson045 , I checked feasibility of  this issue, we firstly  need to create  separate Login and Register component. Cause form fields are getting mix and it will involve too much conditional rendering.

Hi @Luson045, any suggestion's on above ?

@lade6501 if you can tackle the issue then you can work on it. In case of registration form, these details are a must to fill, because these information are crucial for us. You can change the format of registration form to make it fit in a single page for desktop but for phone you cannot do that...
So I guess you can make a multistep form for registration.

Yes, will go with multistep form approach and separate component for Login and Register

Sorry for the delay, have almost completed the work testing few scenarios before raising PR, will raise PR by EOD. Thanks! for being patient.

great!! btw the pincode to latitude thing is already fixed so take care of that you might have some merge conflicts during the PR


Add VerneMQ to Middlewares

VerneMQ (https://vernemq.com/) is a scalable and open source MQTT broker that connects IoT,
M2M, Mobile, and web applications.

Nice one. Thanks!


fix(reg-exp-router): Allows registering a star after a long prefix.

I believe this change will fix #681.

@usualoma
I have checked, and it works fine. Thank you very much!
One thing, could you do denoify?

Ah, I did it again...
Fixed eb7be7d.

Thanks, I'll merge it!


Tensorflow setZoom only zooms in centre of image

Currently the behaviour of the setZoom function is the zoom into the centre of the image. Obviously, zoom is a useful aspect of tensorflow given its internal resize to 300x300. However, zooming into the centre of the image is not always desired behaviour, because the area of interest in an image may not be in the centre for some robots, meaning teams have to physically move the camera to keep the area of interest in the center. The ability to offset the zoom, so that the user can zoom into a particular area of the camera would allow greater flexibility in using the API. If possible, if the area could be changed on the go, it could let teams be able to dynamically select where to zoom in.

TensorFlow is now removed from the SDK


Raise iOS deployment target to iOS 9

All iOS devices that support iOS 8 also support iOS 9.
Riot builds fine with this change.
Signed-off-by: Fridtjof Mund<EMAIL_ADDRESS>

obsoleted by #846


Make the deletion of a profile atomic.

Coverage increased (+0.002%) to 90.711% when pulling 0281e00595590b28f5e8d36e825e1b8bab35d471 on akatsoulas:atomic-profile-delete into 447e8ad96c90f182b252aaea6001953a488563ea on mozilla:master.


Deprecation

Could the team explain why this was deprecated?

Hello apology for the delay has your issues been resolved yet


Don't run CLA bot if someone comments on the PR.

Signed-off-by: Shishir Mahajan<EMAIL_ADDRESS>

@cliffchapmanrbx Can you help with the review?


Skipping a single function in a namespace\class

Help Needed
I am trying to obfuscate a c# Web Project. Each page has an entry point with following signature:
protected void Page_Load(object sender, EventArgs e)
This function should not be renamed, because the page will no longer work and it will throw an exception. How is it possible to exclude this function without using KeepPublicApi=true because I need other public function names to be obfuscated in that same class.
I tried  but that doesn't seem to affect functions and methods. So is it even possible?
Any help would be appreciated.

Exclusion rules can help, http://obfuscar.codeplex.com/wikipage?title=Configuration

@lextm How to make it work on functions? Not an entire namespace or class ...

SkipMethod.


Pagination for /cards endpoint using Cards.all()

First of all, thanks for making this library! Definitely simplifies things 👍
It doesn't seem like it's possible to request a specific page to retrieve using Cards.all().
Every time this function is called it starts getting results from page 1. It would be nice if I could provide a page parameter to the function - I can then limit the returned items myself and create my own pagination logic.
What do you think about this? I'll happily help implementing this, but my TypeScript knowledge is not that great 😄

Honestly I didn't even consider this functionality, I was only thinking about pagination in search results. Maybe there's a way you could use that method instead? I don't remember all the stuff you could do with it off the top of my head but I expect there's something you could give it that would match every card
I'm on holiday right now, I'll probably be able to get to this by the end of the month

The search endpoint requires a search query parameter - I have also tried giving it parameters that would match every card, but I did not find a way to make it work that way.
If you were to implement this in your library, you could make the Cards.all() function accept query parameters and conditionally only request the specified page if the query parameter is there - otherwise just do the recursive behavior like now.
Would be cool to have this implemented! 😄

This is published as v1.3.0
It doesn't seem like there's a way to change the size of a page, so I didn't allow an options object. Cards.all() now accepts one parameter which is the starting page. (1 is the first page, not 0)
To only get the cards in the page you start in, you can use the following:
const cardsFromPage15 = await Scry.Cards.all(15).cancelAfterPage().waitForAll();


Minor revision of Japanese translation

Description
I revised the Japanese documents and fix some minor format problems.
Follow-up on #141

Fix a link problem in install (around Python 3.5)
Insert whitespaces appropriately

How Has This Been Tested?
make doc
Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

Thanks!


Generate WSDL generates WSDL with errors

Describe the issue
This WSDL has been copy pasted from one of our IBIS applications and XML spy complains about the following:

Reporter
Laurens
To Reproduce
Steps to reproduce the behavior:
Replace the.client with the commonly used values, just masked them for public usage.,
https://srtzzapp0406.the.client/ibis4publishing/rest/webservices/Publishing-incoming FF TIBCO.wsdl
Configuration
See loaded config

Environment
IAF 7.5-RC3: ibis4publishing
Running on srtzzapp0406.the.client using IBM WebSphere Application Server/8.5
Java Version: Java(TM) SE Runtime Environment (<IP_ADDRESS> - pxa6480sr6fp25-20210115_01(SR6 FP25))
Heap size: 2369M, total JVM memory: 3920M
Free disk space: 8GB, total disk space: 10GB
Up since: 2021-07-09 11:19:34 (4d)

The problem appears to be caused by the XSD from which the WSDL is generated, that does not contain a namespace. Is that correct?


MNT: Re-render the feedstock

Hi! This is the friendly conda-forge-admin automated user.
I've re-rendered this feedstock with the latest version of conda-smithy (0.10.3) and noticed some changes.
If the changes look good, then please go ahead and merge this PR.
If you have any questions about the changes though, please feel free to ping the 'conda-forge/core' team (using the @ notation in a comment).
Remember, for any changes to the recipe you would normally need to increment the version or the build number of the package.
Since this is an infrastructural change, we don't actually need/want a new version to be uploaded to anaconda.org/conda-forge, so the version and build/number are left unchanged and the CI has been skipped.
Thanks!

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

Going to go ahead and merge this re-rendering PR, @scopatz. Hope that is ok.

Yep that is fine.  Sorry, I lost this in all the hubub.

No worries. I decided recently that we should make sure everything has switched over to the org docker container. So, that tends to be what most of the recent re-rendering PRs do. Figured it was easiest if I just merged them all to get them cleaned up.


Fixes copy part / copy object encoding issues

Description
Adds integration tests for CopyParts API.
APIs must return "application/xml".
Incoming key reference must undergo decode&encode cycle just like the
destinationFile name we take from the incoming request path. ObjectRef
now does this for every incoming request. Before, clients of ObjectRef
would need to remember to encode the key again before usage. D'OH!
From/To values are of type "long" in the request, not "int". Copying
of parts larger than Integer.MAX_VALUE would have failed.
Special thanks to user @wwelling for spotting these issues and providing
the fix, I just refactored and added an integration test.
Related Issue
fixes #279, makes #278 obsolete.
Tasks

[x] I have signed the CLA.
[x] I have written tests and verified that they fail without my change.

@afranken do you have an estimate on turn around on this patch for release?

@wwelling just released 2.2.1 with your fix! :)


Repeat section validation does not impact main form.

I'm submitting a ...
[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request

Current behavior
Repeat section FormGroups can be invalid, but they do not invalidate the parent FormGroup. I think this is because they do not have a parent assigned.
main_form_group: {
    _status: 'VALID',
    controls: {
        my_repeat_section: { // FormArray
            _status: 'VALID',
            _touched: false,
            parent: { /* FormGroup */ },
            controls: [
                { // FormGroup
                    _status: 'INVALID',
                    _touched: true,
                    parent: undefined
                }
            ]
        }
    }
}

Expected behavior
When there are validation errors in a repeat section the whole form should be invalid.
Minimal reproduction of the problem with instructions
https://plnkr.co/edit/m8R0G0xntyinA2Ngi9KD?p=preview
Add a repeat section for which one or more fields is required to trigger the validation.
What is the motivation / use case for changing the behavior?
To enable consistent validation.
Please tell us about your environment:
OSX, npm

Angular version:

2.4.6

Browser:
[ Chrome | Firefox | Safari  ]

Language:
[ TypeScript 2.1.5 ]

could you provide a plunkr or a repo reproducing the issue?
Not sure if it's related to ng-formly or @angular/forms

Sure, I've updated the original post with a plunkr.
This is using your demo plunkr (so old versions of everything) but the behaviour is identical on the versions I specified.

Try this:
https://plnkr.co/edit/8UikbtwdRMqVr8cQPLox?p=preview

Thanks @franzeal - that seems to work.
For future visitors, the magic is in the repeatedSection file.

I see what's happen now, instead of using ChangeDetectorRef I would using updateValueAndValidity but still a workaround to me :)
Observable.timer().subscribe(() => (<FormArray>this.formControl).updateValueAndValidity());

once I have some time (maybe next week) I'll try to find a clean way

Thanks very much guys!

fixed by #427


feat(controller): watch only Secrets w/ Kargo labels

Fixes #1554
This configures the Kargo manager client to only watch Secrets with a kargo.akuity.io/cred-type label set to a recognized type.
When testing this with 100 randomly generated Secrets in the default namespace using:
for i in {1..100}; do head -c 500000 /dev/urandom | base64 | kubectl create secret generic random-$i --from-file=my-file=/dev/stdin; done

This makes the memory consumption as reported by kube-metrics go from 199Mi before the patch to 14Mi afterwards.

I'm obviously in favor of this.
It's also making me anxious about something else... The number of Stages, Freight, and Promotions in a cluster are likely to to make numbers like 100 look tiny. Presumably the cache is going to get us into quite a bit of trouble with those as well?

The number of Stages, Freight, and Promotions in a cluster are likely to to make numbers like 100 look tiny. Presumably the cache is going to get us into quite a bit of trouble with those as well?

I would be much less worried about this. The Secrets I am creating in the example above are exceptionally large (on purpose) to quickly see the effect it would have on the memory usage. While typically some of these Secrets exist on clusters (e.g. people putting binaries in them, Helm history, etc.), this is an aggravated example.
For our object kinds, while there may be many — I do not expect them to ever reach this size. Therefore (and based on experience with building other controllers), I do not think this would become a problem anytime soon.

For our object kinds, while there may be many — I do not expect them to ever reach this size. Therefore (and based on experience with building other controllers), I do not think this would become a problem anytime soon.

Further tested this by creating 100 projects, with each containing one Warehouse (spawning one Freight). Total memory consumption peaked at ~6.4MiB above previous baseline, dropping again to ~4.1MiB above previous baseline once it had reconciled everything.
I did not check if this included Go's garbage collector kicking in, but I think it underlines that we shouldn't immediately worry.

@hiddeco

The Secrets I am creating in the example above are exceptionally large

I overlooked 500000 😌


Enemy Spell Casts doesn't seem to work??

I can't seem to add any spells to the list like I would in Enemies--
Is this feature broken at the moment?
Ty,

I'll investigate
On Wed, Sep 4, 2024, 7:36 p.m. wwbrandon @.***> wrote:

I can't seem to add any spells to the list like I would in Enemies--
Is this feature broken at the moment?
Ty,
—
Reply to this email directly, view it on GitHub
https://github.com/rljohn/kuinameplates-target-helper/issues/39, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AATWVMB7BSRMRRI7ENOUG2DZU6KPHAVCNFSM6AAAAABNVJ64TKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGUYDMNBXHEZDMMY
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Any luck pin pointing the issue? This this is a great feature, would love to use it!

When I tested it, it was working ok. Are you getting a Lua error?
On Sun, Sep 8, 2024, 12:33 p.m. wwbrandon @.***> wrote:

Any luck pin pointing the issue? This this is a great feature, would love
to use it!
—
Reply to this email directly, view it on GitHub
https://github.com/rljohn/kuinameplates-target-helper/issues/39#issuecomment-2336746380,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AATWVMA6PDYWVUVK2I7SMC3ZVR367AVCNFSM6AAAAABNVJ64TKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZWG42DMMZYGA
.
You are receiving this because you commented.Message ID:
@.***>

is it definitely the right spell id?

100%. I pulled the ID from the combat log. I can test on another spell for you..

Interesting... 444701 is correct, but doesn't work. However, I tested another spell on a training dummy which worked.. not sure what that might point to.
But, the interface still has an issue with adding spells. I can spam "apply" but it won't appear on the list until I close the interface and re-open it.


On drop doesn't work after firefox update

Problem
When the component is dropped, firefox tries to open data that's being transferred as a link.
How to reproduce

open vue-layout-composer demo in firefox
try to drag and drop a component
firefox appends the element but also redirects to cell-id as URL

Resolved in #3


How to use shouldOverrideUrlLoading

I want to check URL param (internal URL), if contains some "string", then do not load url, and display an Alert.
And for external URL, how to implement to go to default client Browser.
Thank You

This should work just like the normal WebView implementation. So please refer to the docs for that method:

http://developer.android.com/reference/android/webkit/WebViewClient.html
http://stackoverflow.com/questions/26651586/difference-between-shouldoverrideurlloading-and-shouldinterceptrequest

Does that help?


enums need not be of homogenous type

In json-schema-example-loader, we infer the type from the first entry in the enum.
This is not correct- the "enum" keyword can mix instance types.  To convey a type restriction, schema authors must use the "type" keyword.
In the absence of "type" we may want to try to detect the types, but we need to examine all elements in the enum.

Actually we currently override "type" with the type of the first "enum" element which is definitely incorrect.  If an enum entry disagrees with "type" then that enum entry is never valid (this can be useful in relatively complicated "allOf" uses)

Just got hit by this bug... =[ This is not draft-6 specific, applies also to draft-4.
I guess I'll have to patch it locally and submit a PR =/
Also, slightly confused. I thought json-schema-example-loader only generated the EXAMPLE json for a given schema... I didn't realise it had anything to do with setting other information (which is why I wasn't able to locate this code =/ )

Specifically, for further justification that this is not OK: Type may be string and null.

I even wrote tests =D


Copy and Paste overwrites selected values on readOnly columns

If you select values from columns with readOnly activated, the values are still overwritten if you paste them on the table. Same happens if you paste columns from external excel file and paste them on the table
https://jsfiddle.net/7bk93d1q/1/

it has been fixed.


Limit size of modulus for bn_mul_mont and BN_mod_exp_mont_consttime

Checklist

[ ] documentation is added or updated
[x] tests are added or updated

iOS

This pull request is ready to merge

Merged to master/3.1/3.0
will continue with merging #19735 to 1.1.1
Thanks!


Remove the fourth response element in eth_getWork

PR description
The spec  for eth_getWork only defines three return values and certain parsers rejects a longer response array.
Documentation

[x] I thought about documentation and added the doc-change-required label to this PR if
updates are required.

Acceptance Tests (Non Mainnet)

[x] I have considered running ./gradlew acceptanceTestNonMainnet locally if my PR affects non-mainnet modules.

Changelog

[x] I thought about the changelog and included a changelog update if required.

@shemnon through HTTP I couldn't detect any issue. This PR was meant to amend a deviation from the spec b/c for #5129 I must to send eth_getWork responses as part of the stratum protocol and I wanted to use the same objects for that but, in that context, clients seems to be more strict and they reject an extra element. I'll solve it differently in the mentioned PR and I'll let this behavior as is.
Thanks for digging for a reason to this.


[discussion]: Brainstorming for the different check functions to create

What would you like to discuss?
As per #826, since we won't rely on frictionless-py's validate() function, we'll need to set up our own. As with good design, keeping the functions small and targeted is a good aim, so here's some ideas for checks to have. Add more if you think of any.
This includes both verifying and validating checks. But doesn't mean we will implement them right away.
Against data package itself

check that (our and Frictionless) required fields are filled in
check that fields are the correct type (e.g. str vs int)

Against data resources

check that (our and Frictionless) required fields are filled in
check that number of columns are equal between data file and properties
check that number of rows are the same (between only Parquet file and properties, since raw files will not always have the same)
check that data types of columns are identical between data and properties
check that data in column match the constraints, if the field is filled in

check that column names are the same in data and properties

if foreign keys are given in TableSchemaForeignKeyProperties, check that the referenced column(s) exist
Check name uniqueness (i.e., another package with the same name doesn't exist and that another resource in the same package doesn't have the same name)

Against *Properties objects:
These are/can be all enforced by jsonschema.

Check that any format or pattern requirements encoded in the schema are met (e.g. for email or path fields).
Check that any requirements specific to array types are met (e.g. minItems, uniqueItems).
Check that any enum constraints are met (e.g. for fieldsMatch).

Against data:

Support checking data items against any format specified in format.
Support checking data items against any given categories.
Add support for recognising when a value is marked as missing.
Add support for checking unique keys.
Add support for handling the fields_match field.

Miscellaneous questions:

Do we want to support recommendations? Which ones? Maybe initially no, to make things simpler.
When in the metadata creation and update flows do we want to check the metadata? So far, we have been checking metadata at various points in these flows: when package properties are loaded from datapackage.json, when new values are supplied by the user, when new values are merged with old values, etc. This resulted in some pretty complex logic because, on the one hand, the datapackage.json is not yet technically correct/complete while it’s being built and, on the other hand, user-supplied values can represent partial metadata objects (if e.g. only one field is being updated), which by themselves are not correct/complete. Plus, the standard allows for custom properties, so even restricting the range of allowed fields on metadata wouldn’t be a check that is always appropriate.
Maybe there is an argument for only running checks on metadata once during these flows, right before saving metadata to the datapackage.json? At this point we would usually be guaranteed to have a complete and correct set of properties. One exception is saving the package properties for the first time after creating the package (before creating a resource), but that is a true exception and could be handled as such.
How do we want to handle blank values? For fields that have extra constraints on them in the Data Package standard, such as string fields with format requirements or lists that must have at least 1 element, a blank value will fail the check against the schema. So far, with frictionless-py, these were accepted, so we included them in our default properties. As jsonschema will check exactly against the schema, these will not be accepted by default. Simply not including these in the default properties would be very clean and easy, but then they won’t be there in a newly created datapackage.json to “guide” the user. Is that okay?

By "support" I just mean "implement". E.g. when the Data Package standard says "name SHOULD be human-readable and consist only of lowercase English alphanumeric characters plus ., - and _.", then there is the question of whether we want to add a check for this or not.
Hmm, I kinda thought that the advantage of using jsonschema was that it would just run all checks required in the standard with very little customisation from us. But I think it would be fairly easy to make it run a subset of these checks.
Yeah, I just put them here because these were things that we made decisions about in the past based on how frictionless-py worked, so we may need/want to revisit them now.

So JSON Schema is a specification for checking the structure and content of JSON objects, defining expected properties, data types, constraints (like minimum values or string patterns), and formats.
It’s a bit like Pydantic or TypedDict for Python objects, or TypeScript types for JS objects, but for JSON.
jsonschema is an implementation of the specification in Python (i.e. it actually runs the checks defined/inherent in a schema on a given object).
Here’s a draft of how it would look like:
from pathlib import Path

from jsonschema import Draft7Validator, FormatChecker, ValidationError

from seedcase_sprout.core.read_json import read_json

resource_properties = {
    "name": "my-resource",
    "title": "My Resource",
    "path": "data.csv",
}

package_properties = {
    "name": "my-package",
    "title": "My Package",
    "resources": [resource_properties],
    "created": "2024-05-14T05:00:01+00:00",
}

dp_schema = read_json(Path("schema.json"))
validator = Draft7Validator(dp_schema, format_checker=FormatChecker())

try:
    validator.validate(package_properties)
except ValidationError as e:
    print(
        f"Error at `{e.json_path}` caused by validator `{e.validator}`: {e.message}.",
        f"\nFurther context: {e.context}.",
    )

The error object is pretty big, but here is what a bad date would print:
Error at `$.created` caused by validator `format`: 'bad date' is not a 'date-time'.
Further context: [].

(Draft7Validator is a validator for the current (7th) version of JSON Schema, where versions are apparently called drafts, or something like that.)

Thanks for that @martonvago! Hmm, where does schema.json come from? And what does it look like? Is that the JSON file the official datapackage.json file at https://datapackage.org/profiles/2.0/datapackage.json?

As for the error output, yeah, we could see if there are some error cases we want to differentiate between (e.g. for the checking flow). Otherwise, I think the most informative properties are the ones I picked out above. The context is populated for some errors.

Nice, Marton, thanks!
So just for my understanding, I have some questions:

Is there a reason why you don't just use the validate() function like so: validate(instance=package_properties, schema=dp_schema, format_checker=FormatChecker()) instead of the try block? Is it to have more control over how errors are thrown?
Do we still need the Properties classes to aid users in which fields that are available/they should fill out?

@signekb for 2, yes we do. These check functions do nothing to help build a data package set of properties.

No exactly. Just wanted to check 👍

I just added the try-except here to show some of the properties of ValidationError. But, yeah, if we wanted to have more control over the errors (e.g. differentiate between error types), then we could do it this way. The way you wrote it (importing validate and then all in one line) would also work! Looks like it would infer the draft number from the schema and also check the schema itself.
We can still use the Properties classes to make it easier to create metadata objects. We can even have our check method take those as input if we want. I just wrote out the dictionaries here to make it explicit what will be passed to validator.validate.

Yes, exactly. Thanks for clarifying ☺


Table is not honoring field aliases overridden in the web map

It is possible to override the field aliases on a layer within the web map, this setting is persisted in the web map and is not written to the service. Here is a sample web map: https://www.arcgis.com/apps/mapviewer/index.html?webmap=5fb9d9f9201747f7b921a37c420c222e
If you open the table in the Map Viewer it will display the overridden field alias coming from the layer in the map 'Map Override Alias" for the column heading.
If you open the same map in Manager it is displaying the field alias coming from the feature service as the column heading "Test Really Long Alias Name"

Notes: Looks like we can override in the table using TableTemplate > ColumnTemplate label prop. Just need to understand where to get these overridden names from. The Features widget seems to handle this automatically but the FeatureTable and Editor do not. Will still need to look into the editor to see what options we may have. Also seems like the js api widgets should handle this in a specific way.

@jmhauck, I think the Editor widget is ok. It is possible to change the Form Alias name directly, I did that in the sample map above to give it a custom name and it is honored by the Editor widget.

Ok...so I see we can find 'Map Override Alias' at:
layer.popupTemplate.fieldInfos[1].label
I'll add a check for this

@chris-fox should this also honor visible setting from popupTemplate?

@jmhauck, no I don't think we can leverage that property because there is no way to set it anymore in the new Map Viewer, it was the property we used in the old Crowdsource Manager because you could set it in the Classic Map Viewer.  I think for now field visibility will have to be an app config until the Map Viewer team adds back functionality to define which fields are visible.

@chris-fox ok....will remove the visible check

Verified in Dev


[WIP] Fixes to version and travis

Hooray!

Do we need to update the omnia/conda-packages recipe for pymbar, or perhaps add a pymbar3 recipe?

Wait until we have a beta release.


dotnet-test - Add ability to run solution tests "by project"

Problem
The dotnet-test command runs all of the test assemblies by the solution file itself. Normally, this should be fine, however - the underlying dotnet test runner fires off multiple assemblies to run at the same time, even if those assemblies are set to run tests within the suite in sequence. There's an issue where integration tests that are accessing the same database can and will collide, and the easiest workaround we have for this for the time being is to force the test assemblies to run in serial.
Solution

Update the dotnest-test command to have a flag for running the solution "by project", which will look for any *.Test*.csproj files in the dotnet solution directory, and call dotnet test with those projects.

Add a few tests if you have time. Right now, the project isn't hooked up to TravisCI so we don't have the benefit of the existing tests running automatically, so it's not a dealbreaker, but it will be nice to have for when we do.

@brandongregoryscott appears the cli-dotnet-test is failing and the suite itself is hanging. We might need to configure a jest timeout too so if any test goes too long, jest just fails it. Once you resolve these issues in a new branch I'll publish a new version.

Released in version 0.6.0


Create horustctl for controlling horust via cli

As a normal User,

I can use horustctl to check the status of the services
I can use horustctl to start and stop the services which are being run as myself
After I've update a service, I can use horustctl to tell horust to pickup the new service.

As a root User,

I can use horustctl to check status of the services, and start / stop all of them.

I suggest using fifodir as a communication bus as described in https://skarnet.org/software/s6/fifodir.html

When can this feature be implemented? These functionalities are very useful. When I add multiple services, I need to restart one of them, but currently there is no way to do it, I can only restart all services.

I will try to spend some time on it this week.


Removed dev-config completely - to be 'compatile' with customers settings

Description
Removed dev-config from e2e test config completely - to be 'compatile' with customers settings
Type of change

[ ] Refactor
[ ] New feature
[ ] Bug fix
[ ] CVE fix
[ ] Optimization
[ ] Documentation Update
[x] Configuration Update
[ ] Bump-up dependent library
[ ] Bump-up library or tool used for development (does not change the final image)

/lgtm
/approve


Should pex ... -e module be prepending CWD?

According to https://docs.python.org/3/library/sys.html#sys.path python -m module prepends CWD to sys.path.
$ cat code/foo.py
import sys
import os

def main():
    print(os.getcwd())
    print(sys.path)

if __name__ == "__main__":
    main()

$ python -m code.foo
/home/josh/work/pants
['/home/josh/work/pants', '/usr/lib/python38.zip', '/usr/lib/python3.8', '/usr/lib/python3.8/lib-dynload', '/home/josh/.local/lib/python3.8/site-packages', '/usr/local/lib/python3.8/dist-packages', '/usr/lib/python3/dist-packages']

PEX help says:
-m MODULE[:SYMBOL], -e MODULE[:SYMBOL], --entry-point MODULE[:SYMBOL]
                        Set the entry point to module or module:symbol. If just specifying module, pex behaves like python -m, e.g. python -m SimpleHTTPServer. If specifying
                        module:symbol, pex assume symbol is a n0-arg callable and imports that symbol and invokes it as if via `sys.exit(symbol())`. (default: None)

So presumably using pex -D code -e foo would act like python -m code.foo, however:
$ pex -D=code -e foo
/home/josh/work/pants
['/tmp/tmpnu421wmb', '/usr/lib/python38.zip', '/usr/lib/python3.8', '/usr/lib/python3.8/lib-dynload', '/tmp/tmpnu421wmb/.bootstrap']

even if I twiddle with `PEX_INHERIT_PATH:
$ PEX_INHERIT_PATH=fallback pex -D=code -e foo
/home/josh/work/pants
['/tmp/tmpfauv3vos', '/usr/lib/python38.zip', '/usr/lib/python3.8', '/usr/lib/python3.8/lib-dynload', '/usr/local/lib/python3.8/dist-packages', '/usr/lib/python3/dist-packages', '/tmp/tmpfauv3vos/.bootstrap']

$ PEX_INHERIT_PATH=prefer pex -D=code -e foo
/home/josh/work/pants
['/tmp/tmpyj_l3y5m', '/usr/lib/python38.zip', '/usr/lib/python3.8', '/usr/lib/python3.8/lib-dynload', '/usr/local/lib/python3.8/dist-packages', '/usr/lib/python3/dist-packages', '/tmp/tmpyj_l3y5m/.bootstrap']

Furthermore using a function spec:
$ pex -D=code -e foo:main
/home/josh/work/pants
['/tmp/tmp0kfzbnkw', '/usr/lib/python38.zip', '/usr/lib/python3.8', '/usr/lib/python3.8/lib-dynload', '/tmp/tmp0kfzbnkw/.bootstrap']

(It's a big ambiguous if this should prepend CWD as per python -m or "" as per python -c as it all depends on how the entry_point runner is invoked.)

As discussed on #1983 here I think its correct to prepend the CWD on sys.path when a PEX acts as an interpreter, which is when there is no entrypoint defined at build-time or else when PEX_INTERPRETER=1 is used at runtime. Those are the only cases where Pex acts like a Python interpreter and so should behave like one. In all other cases PEX should carry out its mission of being a hermetic Python application environment and not prepend extra sys.path elements unless asked via --inherit-path/PEX_INHERIT_PATH or PEX_EXTRA_SYS_PATH.
I think that means the only thing that needs fixing is this bit in the current venv mode PEX:
https://github.com/pantsbuild/pex/blob/67fc7e05315fc347bcf269712814f160c6035efe/pex/venv/pex.py#L443-L444
That CWD insertion on the sys.path happens before the execution mode is determined. It should happen lower down after the entry point is determined:
https://github.com/pantsbuild/pex/blob/67fc7e05315fc347bcf269712814f160c6035efe/pex/venv/pex.py#L495-L500
Only if entry_point == PEX_INTERPRETER_ENTRYPOINT should the CWD sys.path insertion proceed. That will bring parity with PEX zipapp mode and meet all the PEX expectations - work like Python when used as an interpreter, be hermetic at all other times (when used as an app).

Thanks for thinking this through and laying it out.

In all other cases PEX should carry out its mission of being a hermetic Python application environment and not prepend extra sys.path elements unless asked via --inherit-path/PEX_INHERIT_PATH or PEX_EXTRA_SYS_PATH.

Part of this ticket does show that even with PEX_INHERIT_PATH set to non-false, sys.path doesn't contain the CWD in it. Should we leave this ticket open to capture that discrepancy?

I think not.

So presumably using pex -D code -e foo would act like python -m code.foo, however:

Here you're building a PEX application. When a PEX application defines an entrypoint it acts as that application, it does not act as a Python interpreter.
As to what --inherit-path/PEX_INHERIT_PATH claims to do, there is no mention of CWD:
--inherit-path {false,prefer,fallback}
                        Inherit the contents of sys.path (including site-packages, user site-packages and PYTHONPATH) running the pex. Possible values: false (does not inherit sys.path), fallback (inherits
                        sys.path after packaged dependencies), prefer (inherits sys.path before packaged dependencies), No value (alias for prefer, for backwards compatibility). (default: false)

So I think, PEX behaves as it should right now in both zipapp and venv execution modes when not acting as an interpreter. It only misbehaves when running in venv execution mode and not acting as an interpreter.

Very good point. Thanks!


Observe + Job Selection Menus can be Opened Multiple Times.

Description
What the title says. You can open several menus, and these menus do not close when you join the game.
Reproduction
Click either button twice, then join the game from one of the panels.
Screenshots

Additional context
The game keeps threatening to write me up for accidentally opening multiple panels lmao.

Partial duplicate of #28855


added IA for ROLLCALL, issue-#28

I have added a file named "IA_Asmita-si.jpg" under issue #28 which is a flowchart/ IA for a website, ROLLCALL.

@Swarnimashukla  Do I need to squash it?

@Swarnimashukla Do I need to squash it?

yes

@Swarnimashukla  When I do rebase, only the first few commits I am able to see in sublime. The other commits including mine are not visible. So I am not able to squash it. Please help.

@Swarnimashukla When I do rebase, only the first few commits I am able to see in sublime. The other commits including mine are not visible. So I am not able to squash it. Please help.

did you tried solution given on discord ?

@Swarnimashukla  yes, but it didn't solve my problem. I tried both "git rebase -i HEAD~11 --autostash" & "git rebase -i HEAD~11". In both cases, I am getting the same result. Only the first few commits are visible in sublime. The other commits including mine are not visible. So I am not able to squash it. Please help. I am attaching an image.


add support for exports

sometimes we want to add exported jars which the maven pom may have been too narrow with.

handled by #11


Remove ifAction

Remove ifAction library from Functional Programming section to fix 404 issue.

          1 Warning

:warning:
Found 1 link issue, a project collaborator will take care of these, thanks :)

Link issue by awesome_bot

Line
Status
Link

384
Error
http://www.ecma-international.org/publications/standards/Ecma-048.htm  Connection timed out - connect(2) for "www.ecma-international.org" port 80

  Generated by :no_entry_sign: Danger


Close button obfuscated in mobile view

This is visible in the identify and all the forms areas.

It actually looks okay on a Pixel 6 (below), but not on a the smaller display of a Pixel 4


Errors thrown from Larastan stub files

Larastan Version: 2.1.5
--level used: 7

Description
After upgrading Larastan from 2.0.0 to 2.1.5 i'm getting the following errors outputted.
` ------ ---------------------------------------------------------------------------------------------------------
Line   vendor\nunomaduro\larastan\stubs\BelongsToMany.stub

18     Method Illuminate\Database\Eloquent\Relations\BelongsToMany::findOrNew() has no return type specified.
18     PHPDoc tag @return contains unresolvable type.
56     Method Illuminate\Database\Eloquent\Relations\BelongsToMany::find() has no return type specified.
56     PHPDoc tag @return contains unresolvable type.
76     Method Illuminate\Database\Eloquent\Relations\BelongsToMany::findOrFail() has no return type specified.
76     PHPDoc tag @return contains unresolvable type.

Line   vendor\nunomaduro\larastan\stubs\EloquentBuilder.stub

69     Method Illuminate\Database\Eloquent\Builder::find() has no return type specified.
69     PHPDoc tag @return contains unresolvable type.
89     Method Illuminate\Database\Eloquent\Builder::findOrFail() has no return type specified.
89     PHPDoc tag @return contains unresolvable type.

Line   vendor\nunomaduro\larastan\stubs\HasOneOrMany.stub

35     Method Illuminate\Database\Eloquent\Relations\HasOneOrMany::findOrNew() has no return type specified.
35     PHPDoc tag @return contains unresolvable type.
------ ------------------------------------------------------------------------------------------------------- `
Laravel code where the issue was found
Example from the vendor\nunomaduro\larastan\stubs\HasOneOrMany.stub file
/**
     * Find a model by its primary key or return new instance of the related model.
     *
     * @param  mixed  $id
     * @param  array<int, mixed>  $columns
     * @return ($id is (\Illuminate\Contracts\Support\Arrayable<array-key, mixed>|array<mixed>) ? \Illuminate\Support\Collection<int, TRelatedModel> : TRelatedModel)
     */
    public function findOrNew($id, $columns = ['*']);

Hi,
What is your PHPStan version? Should be at least 1.7.9

Could it be that you tell PHPStan to analyze the vendor directory?

Hi
The PHPStan version was 1.5.3, i just updated running composer update nunomaduro/larastan (why it only took me to 2.1.5 and not 2.1.8 i don't know)
But by running a composer require phpstan/phpstan fixed the issue, as that brought PHPStan to version 1.7.11
I can see that PHPStan was set to phpstan/phpstan: ^1.4.7 in larastan(V2.1.5) composer.json, thats probably the reason it wasn't upgrading PHPStan when upgrading larastan.

@szepeviktor Could have been, but not the case, i guess that would have thrown way more issues too 😅
The issue was related to the PHPStan version which was not bumped in larastans composer.json therefore an update of larastan to 2.1.5 did not bump my PHPStan version high enough :)


Added Spanish translation for bot stats

Added Spanish translation to new strings. Tried to keep wording and grammar already present in translation file.

@all-contributors please add @renkasiyas for translation


SPARKC-448: Fixed connector behaviour when connection.local_dc param is specified (1.3)

Build against Scala 2.11 finished with success

Build against Scala 2.10 finished with success


Polarization capabilities

In response to Issue #16 , pseudo-Stokes V minimization capabilities added heracal/omni.py and tested in heracal/tests/test_omni.py. This should not be merged until at least it is able to retire Issue #14 . I need to do more testing to see how best to implement more than single-pol calibration in heracal/scripts/omni_{run,apply}.py.
We need to figure out how (or if) we want to apply firstcal solutions to all polarizations of visibilities in omni_run. Since firstcal only really works in high S/N regimes, we can only use the xx and yy visibilities to get delay estimates. These are obviously OK to apply to xy and yx (since we get a solution per dipole arm), but it means that we require more than one firstcal file for these visibilities. This will require a change in structure  in omni_run. There are a number of ways to do this...

Coverage increased (+2.3%) to 56.299% when pulling bfa196024dccb60d1df6c69d08b4080d8d17cbaa on polDev into 526f1449328884fbfca89c87d9ad5c50c60e8866 on master.

Coverage decreased (-0.09%) to 96.223% when pulling adcf8495fdf98730ff8d1fbdcbda5d8e36ec9872 on polDev into c5d6a03022878295a324675819347f934fef1f6c on master.

The version of omni_run.py in the above commit adds functionality for cross-pol calibration. It has been shown to generate identical calibrations for a single linear polarization (xx) file as previous stable versions of omni_run. Actual cross-pol calibration still remains to be tested, so this pull request should still not be merged.

Coverage decreased (-4.3%) to 91.578% when pulling 2c8d5966ac8d1ce2b4159893dada1e0604966f5b on polDev into d6bdd1ffedb4a28d02d3dd0c3f7c574d5ab82e45 on master.

I believe this is now ready for review. This pull request addresses Issue #16 directly, and the review should cover Issues #14 and #15 .

Coverage decreased (-4.3%) to 91.578% when pulling bf53a0f687f96fd82a147e5568773ade9952bba6 on polDev into d6bdd1ffedb4a28d02d3dd0c3f7c574d5ab82e45 on master.

It looks like this PR is significantly decreasing the test coverage. Can you add some tests to better cover the code?

@pkgw Thanks for the review. I will work on those changes!
@bhazelton The test coverage decreases because I moved a block of @zakiali 's code from the omni_run script to the omni module. I think I will need his advice on how to best implement a test of that block (write_uvdata_vis).

Ok. Moving code from scripts to modules when they become generally useful is good and it in fact makes them much easier to test. I think this is related to the existing issue # 13 about having test coverage for scripts.

Coverage decreased (-4.3%) to 91.566% when pulling c52f248c988aa074d8af79e7c479b6012e10deec on polDev into d6bdd1ffedb4a28d02d3dd0c3f7c574d5ab82e45 on master.

Coverage decreased (-4.3%) to 91.566% when pulling 3e3eac2281b6f19b662927e3f43872a90ee026f6 on polDev into d6bdd1ffedb4a28d02d3dd0c3f7c574d5ab82e45 on master.

Coverage decreased (-4.3%) to 91.566% when pulling 3e3eac2281b6f19b662927e3f43872a90ee026f6 on polDev into d6bdd1ffedb4a28d02d3dd0c3f7c574d5ab82e45 on master.


Kitchen Sink: Count Down Timer

Describe the feature
I would like to add the Count Down Timer that counts down to a specific time in the format of Hours: Minutes: Seconds: Milli Seconds.
For example:

It will take input for Hours and Minutes from the user.
Output will be in the format of 00: 00: 00: 00

Additional information

[x] Would you be willing to help implement this feature?

Kindly assign this to me.

Hey @Vince-arch I was the first person to open this issue and I'm also willing to contribute to this.
Hey, @tobySolutions please go through the issue and assign it to me. Thank you!

Sorry I'm new to open source I didn't mean to infringe.

Hey, @tobySolutions please go through the issue and assign it to me. Thank you!

Hey there @rakshixh, please go ahead. Thanks!

#767 @tobySolutions Please check with this Pull request.

Hey @tobySolutions please check with PR #807 I have updated the file. and there are no merge conflicts. Also once it is reviewed please close this issue too. Thank you!


add client side openid module for  login

Transfer client side openid login to orchard 2.
@ThaerAlAjlouni : will you do that?

What do you mean by that?

@xperiandri there is a module in Orchard1 that support open id providers as external login providers. This is probably to suggest implementing the same thing in OC.

And how is it configured now in Orchard2.
I see it uses OpeIddict, right?
is configuration of identity left for developer like in usual ASP.NET Core app?

Take a look to this demo at the weekly meeting https://youtu.be/pjrbhLhFSVg Orchard.OpenID demo starts at minute 35. Maybe you can skip the long into ;)

You did amazing job.
I also use OpenIddict in my projects and did a few presentations about it with similar content.
So what's next?
As I understand this issue is related to SPA, isn't it?

happy to hear you like it.
What's next?
Well, Orchard.OpenId module in Orchard 1 provides a client to delegate authentication on a third party OpenId server https://github.com/OrchardCMS/Orchard/blob/dev/src/Orchard.Web/Modules/Orchard.OpenId/Module.txt and in Orchard 2 this is another module with the same name but that implements an OpenId server.
IMO the most logical next step is to have in Orchard 2 a client to authenticate to a third party OpenId like in Orchard 1 or even to another Orchard 2 instance. But as far as I understand this doesn't have to be a SPA.

By the moment first approach to SPA would be good to be done in the Ochard.Demo https://github.com/OrchardCMS/Orchard2/issues/234. A sample of an SPA using OpenId for authorization and conusming a demo rest API rquiring authorization could be a good starting point to discuss how and where we have to provide a web API.

this doesn't have to be a SPA:  for example, it can be useful for xamerin project

Just to refocus in case there is a missuderstanding, the goal here is to have a simple controller and view demoing the usage of the openid module. This controller and view don't have to use any MVVM framework, they can just use jquery. In the end a user can look at this code and understand what the openid module can do for APIs, and we can also use it as functional test to ensure it works as expected.

Basically it does not mater.
As you just need to install oidc-client from IdentityModel.
Then it becomes trivial.
So if you explain to me what to do I will make such sample. I just need to know how to set up a custom master page at least.

I realize I commented on the wrong issue.
This issue is about adding support for other open servers.
@xperiandri this issue is way to complex for you based on your early knowledge of Orchard. The fact that you are asking how to setup a master page makes it obvious for me that you don't know how theming works. Maybe try to contribute with some simpler task first?

I have my company site and a coming project which I would like to build with Orchard Core.
For my site is the primary goal is to have a landing page preferably on SPA. Adding LinkedIn login and submission form then.
The side project is a geo distributed web site with localization.
So I must jump start as quickly as possible.
If you have something else to recommend I will do that.

HI! I am not sure this is the right issue for this, but as @sebastienros  marked my issue to be a duplicate of this one, please let me ask to clarify things:

We would like to allow our customers to configure their own authentication endpoints. E.g. one of them uses salesforce and would like to let their users to authenticate with their salesforce credentials (OAuth 2.0 based)
Another customer keeps asking about WS Federation (or whatever is currently the best way to let their users authenticate using their Microsoft Active Directory accounts)
Is there any plan of your team to support such a feature?
(Basically, this would suit perfectly into the SAAS recipe)

So is that the topic of this issue? And if so, are there any plans or at least ideas in how to solve this?
Thank you so much!

Well, you need OAuthIntrospection module.
Similar to what @PinpointTownes created with OpenIddict just simpler.

Really? I just read about saaskit, where they simply create a separate request pipeline per tenant.
See this great blog post here: Multi-tenant middleware pipelines in ASP.NET Core

You have a custom pipeline per tenant in Orchard too, and you only need to restart the tenant when you do changes. It only takes a few hundred milliseconds.

Do we already have that module?

Yes, is a feature in the OpenID Connect Module (OpenID Client)

It's worth noting that the OpenID client feature doesn't yet integrates nicely with the OpenID server feature (at least, the configuration is not as pleasant as the validation feature, that allows selecting another tenant as the OIDC server.
We may want to open a new thread to track that or keep this one open not to forget to implement that 😄


poor performance on large files

Hi it just so happens I am using this on a very big HTML file (almost 10,000 lines).
When I type </ towards the bottom of the document, it can take up to 10 seconds to complete closing the tag. Sometimes the whole editor goes unresponsive even.

Yeah there's a lot of regex going on. Maybe we could investigate parsing backwards from the insertion point instead of right from the start? Idk how to do perf testing...

Maybe we could cache the stack of tags so we don't have to parse the entire document on every completion, or find a way to partially parse the document in the background in anticipation.
We could also investigate using a more performant parser than regex, but it's harder to add custom syntaxes eg. jsx mustache

I have the same issue. Using a javascript file with 2000 lines, typing gets really slow and the editor often freezes for a couple of seconds. I've disabled the plugin right now, as editing such files is a real pain. Hope to see this fixed as I like the plugin and use it all the time.


Manual: broken link "Examples of real-world NixOS configuration files can be found at"

Issue description
A link, from the manual, that was working in the past day is now broken.
Steps to reproduce

go to: https://nixos.org/nixos/manual/
search for "Examples of real-world NixOS configuration files can be found at"
click on the following link, which is: https://nixos.org/repos/nix/configurations/trunk/

I have no idea where that repository went, so I propose we just delete that reference.

https://github.com/search?q=language%3Anix+config might be a useful resource, if we want to link to something.

It certainly is a useful resource; it strikes me that we'd better link to something "official" or at least curated in the manual, though. Perhaps someone could take the time to find "good" repos to link to? For a newbie it'll be quite difficult to tell what's what.

That said, I don't think we need to hash out the details of a replacement to deal with this issue.

It appears to have existed up until at least a month ago: https://web.archive.org/web/20160313023242/https://nixos.org/repos/nix/configurations/trunk/


Support NuMaker-PFM-M487 and NuMaker-IOT-M487 boards

… UID and PID.

Add NuMaker-IOT-M487 board.

Is your feature request related to a problem? Please describe.
Describe the solution you'd like
Additional context

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


Update LICENSE.md

| Is bugfix?    | ❌
| New feature?  |❌
| Breaks BC?    | ❌
| Fixed issues  | Copyright © 2021 by Yii Software LLC (http://www.yiisoft.com)
this important edit often goes unnoticed

Are you sure? I've read a bit about it and it may get problematic with old dates.


How can I access my _id client-side?

Very nice package. I'm trying to use it but I've met some problems, because I'm just so noob.
If I'm an anonymous user, how can I get my _id?
I can access the _id collections, but how do I pick mine?

On the client you can just use: Meteor.default_connection._lastSessionId;
All communication to the server will have a connection _id, ip, user agent and so on:
Meteor.methods({
    getConnectionId: function () {
        if (!!this.connection) {
            return [this.connection.id, this.connection.clientAddress];
        }
    }
})

that works like a charm, excellent package.
I spent a lot of time reading your code and it really helped this noob to learn :+1:


python311Packages.keras: re-enable tests

Description of changes
The number of skipped tests can appear quite big, but relatively, there are 10125 passing tests for 285 skipped.
(Still 12 fail).
Fixes #316759
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Log for failures: https://0bin.net/paste/vBNjh0Yu#ezMlFqlFxy9qf-2+Nx+dBt78lB99t9CGMz9UvFKDwBv

Done in https://github.com/NixOS/nixpkgs/pull/359590.


Create folders for all classes containing chips with information such…

Tool for checking annotations. For each class in the data, a folder is created. Each folder contains chips that are rotated upwards alongside additional information such as width and height of the object/plane and the class averages for comparison.
Red dots mark the corners of the bounding boxes so that the airplane is not obstructed.
The idea of this is to check the annotations focusing on one class at a time, making it easier to find planes that don't fit in.

Still needs to be checked on the original FineAir images, I used patches.

Feel free to merge it.


Add binding validation on fetch bindings

Summary
Add validation to bindings at redux level. This also fill up the location, so there is no need for logic to build the location in other parts of the webapp code.
If these changes are merged, a new PR has to be made for webapp to remove the location building.
A similar PR would have to be done for Mobile.
Ticket Link
None

Looks like there is a conflict in the reducers file


MTIRGBToneCurveFilter() example

Hi, I tried a lot but could not add tonecurve filter into my demo app,
where can i put the "rgbtonecurve" in my filter chain (which is below)? i tried rgbtonecurve.inputports.outputImage but it throws error.
let rgbtonecurve = MTIRGBToneCurveFilter()
return FilterGraph.makeImage(builder: { output in
request.anySourceImage => exposureFilter => lutFilter.inputPorts.inputImage
lutFilter =>  definitionFilter => output
})!

where can i put the "rgbtonecurve" in my filter chain (which is below)? i tried rgbtonecurve.inputports.outputImage but it throws error.

What error did it throw?
I think you can add it the same way as you add the lutFilter.

I think it was telling i cant use => operator or something,
i re-tried and got another unknown problem.
i updated my chain as:
`     request.anySourceImage => saturationFilter => exposureFilter =>  rgbtonecurve => contrastFilter => lutFilter.inputPorts.inputImage
                lutFilter =>  definitionFilter => output
            })!`

and these were about the tonecurve definitions
let rgbtonecurve = MTIRGBToneCurveFilter()
rgbtonecurve.rgbCompositeControlPoints = [MTIVector(floatValues: [0.0, 1.0, 2.0], count: 1)]
my xcode got insane after this, building was taking forever and i was cancelling it, it was telling indexing files. There was no fail because i had to cancel the operation. I could not figure out why.

OK, i could make it work. here is an example of .rgbcompositecontrolpoints;
rgbtonecurve.rgbCompositeControlPoints = [MTIVector(value: CGPoint(x: 0, y: 0)), MTIVector(value: CGPoint(x: 0.25, y: 0.35)), MTIVector(value: CGPoint(x: 0.5, y: 0.5)), MTIVector(value: CGPoint(x: 1, y: 1))]. // this makes brighter shadows
But had to remove lut filter from my chain, how can i add it back with the RGBTonecurve filter?
return FilterGraph.makeImage(builder: { output in
request.anySourceImage => saturationFilter => exposureFilter => contrastFilter => rgbtonecurve.inputPorts.inputImage`
rgbtonecurve => output

              request.anySourceImage => saturationFilter => exposureFilter => contrastFilter => rgbtonecurve.inputPorts.inputImage
                rgbtonecurve => lutFilter.inputPorts.inputImage
                lutFilter => definitionFilter => output

this is working, is it correct way?

              request.anySourceImage => saturationFilter => exposureFilter => contrastFilter => rgbtonecurve.inputPorts.inputImage

                rgbtonecurve => lutFilter.inputPorts.inputImage

                lutFilter => definitionFilter => output

this is working, is it correct way?

Yes


example feature flags added

Added couple of feature flags to showcase how we can use in the project

CI: No security warnings found

CI: No security warnings found


[nmstate-1.1] python route: Add support of multipath route

Supporting the rout created by below command:
sudo ip -6 route add 2001:db8:e::/64 proto static \
    nexthop via 2001:db8:f::254 dev eth1 weight 1 onlink \
    nexthop via 2001:db8:f::253 dev eth1 weight 256 onlink

Integration test case included.

No require for now. Will reopen when needed.


Specify a UUID to xhyve to get consistent IP

xhyve offers a new flag, -U  used to get a consistent IP across vm reboots.

Should we expose this as an option to cores-xhyve-run in case a user wants to run more than one instance at a time?

@bakins, fwiw i'd get as much as possible instrumentable via env vars a la the approach in #13

env var would be fine as well.

closed in favor of #28


Put the Disk in DiskANN

It may be useful to look at https://github.com/datastax/cassandra/tree/diskann, but this only added PQ to the existing HNSW structure.  What we want to do here is implement full diskann, which means saving vectors as part of the graph structure, and fetching them as we perform BFS to minimize "seeks" (mmap paging-in) compared to reading them separately at the end of the search to re-rank in exact order.
Will also need to add a isApproximate() flag (or the opposite, isExact()) so that search knows when it needs to do the re-rank.
I think the right place for this is NeighborSimilarity.

(GraphIndex.getVector and ScoreFunction.isExact have been added)

I pushed some reorganization that I think will make DiskANN implementation straightforward -- if that is not the case then let's talk


Fix accepting invites

Fix accepting invites:

remove old addUser method, that was deprecated
acceptInvitation now takes optional token (url, for Firebase providers) and userId (GitHub)

Tested with GMail (working) and GitHub providers (sending invites are broken - but this was broken before this change anyways)

Small thing, otherwise :+1: thanks for fixing this!

Reviewed 9 of 9 files at r1.
Review status: all files reviewed at latest revision, 1 unresolved discussion, all commit checks successful.

src/generic_core/social.ts, line 578 [r1] (raw file):
I think we might want to keep the try catch around this, e.g. in case the user drops a letter while copying pasting; your call!

Comments from the review on Reviewable.io

Done, thanks


Identify user who answered the issue

Maybe a login with github and a link to the user's profile in the issue

@alessandroHenrique will do this one

Moving this to on hold. There are other priorities right now


Pull Request into bootstrap

This looks wonderful. Would you consider making a pull request into the official bootstrap code base?

Thank you @getaaron.  I would if I thought that the Authors would accept it - but I doubt they will.


KAFKA-7501: fix producer batch double deallocation when receiving message too large error on expired batch

Kafka will try to deallocate a batch twice and throw IllegalStateException when a "MESSAGE_TOO_LARGE" response arrived after the inflight batch is expired. This patch fixes the issue.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

retest this please

@becketqin if you have time, please take a look.

GitHub is having some issues according to their status page, but my commit is now showing. @lindong28, does it look good to you?

JDK 8 build passed, failures in JDK 11 build are unrelated. Merging to trunk, 2.1 and 2.0 branches.

JDK 8 build passed, failures in JDK 11 build are unrelated. Merging to trunk and 2.1 branches. I originally planned to cherry-pick to 2.0, but there were some conflicts, so decided against it.

Thanks for review @lindong28 @ijuma. I don't have a chance to make the suggested change during weekend, thanks for the minor tweak @ijuma.

No worries! I did that because I wanted to include it in the upcoming 2.1.0 RC. :)


Admin UI: Show breadcrumb navigation

Readiness checklist

[ ] I added/updated unit tests.
[ ] I added/updated integration tests.
[x] I ensured that the PR title is good enough for the changelog.
[x] I labeled the PR.

Screenshots

@NikolaVetnic Can you do a first review? Once you approved, I will have a look myself.
This hopefully spares me some time because you find at least some of the issues.

@coderabbitai review

@coderabbitai review

@coderabbitai review