Recent library recommendation

Hello!
Thank you for your work.
In the other issue, you've mentioned, that the library is not maintained anymore.
I'm curious, if you are still working with detection task?
Is your library still comparable in terms of model accuracy or there is better library/framework for this task?

I'm no longer working on object detection. Haven't been looking at latest object detection works now, but I think https://github.com/ultralytics/ultralytics is the easiest to get something reasonably good.

Thank you!
Nevertheless, I would like to train a model with your code.
It is well organized and simpler to extend.

Thank you for your kind words. Indeed all modern detection frameworks are very complex (perhaps because getting fast and accurate detection results is necessarily complex). Recently I had to build a document corner detection, and hacking from this old code of mine gives better results than off-the-shelf YOLOv(X).
Maybe if I have the motivation, will revamp this repo. Always useful to have a simple, hackable implementation lying around.

I agree, understandability of the code is crucial to high performance.
Also, your refactoring seems to increase complexity of the code.


Not able to play DRM content on https://www.southparkstudios.com/

BEFORE YOU BEGIN
I have attempted the following troubleshooting suggestions:

[x] The issue persists when using Firefox in Troubleshoot Mode.
[x] Disabled DNS-level content blocking (AdGuard Home, NextDNS, Control D, RethinkDNS, PiHole, etc), cleared my DNS cache, and used my ISP's DNS resolver (if applicable).
[x] Cleared website data, restarted Firefox, and my issue persists.
[x] I have created a new profile. The issue persists when using the current user.js file on GitHub. (Must be in a new profile and a new user.js!)

REPORT
Describe the bug
DRM content on the website https://www.southparkstudios.com/ won't play on my firefox profile with betterfox installed on, drm content enabled in settings and also the google widevine plugin enabled in plugins.
To Reproduce
1.  Scroll down and click any episode
3. See error

Expected behavior
Normally, the video would just play
Screenshots

Desktop (please complete the following information):

OS: Windows 11 Pro 23H2
Browser: Firefox
Version: 130.0 (64-bit)

Additional context
I tried changing the google widevine plugin from 'default' to 'enabled' and 'disabled' but that didn't fix anything
I am currently using the base user.js file with the following added overrides:
/****************************************************************************
 * START: MY OVERRIDES                                                      *
****************************************************************************/
// visit https://github.com/yokoffing/Betterfox/wiki/Common-Overrides
// visit https://github.com/yokoffing/Betterfox/wiki/Optional-Hardening
// Enter your personal overrides below this line:

// PREF: allow websites to ask you for your location
user_pref("permissions.default.geo", 0);

// PREF: allow websites to ask you to receive site notifications
user_pref("permissions.default.desktop-notification", 0);

// PREF: restore search engine suggestions
user_pref("browser.search.suggest.enabled", true);

// PREF: enable container tabs
user_pref("privacy.userContext.enabled", true);

// PREF: enable GPU-accelerated Canvas2D [WINDOWS]
user_pref("gfx.canvas.accelerated", true);

// PREF: disable Firefox Sync
user_pref("identity.fxaccounts.enabled", false);

// PREF: disable the Firefox View tour from popping up
user_pref("browser.firefox-view.feature-tour", "{\"screen\":\"\",\"complete\":true}");

// PREF: disable login manager
user_pref("signon.rememberSignons", false);

// PREF: disable address and credit card manager
user_pref("extensions.formautofill.addresses.enabled", false);
user_pref("extensions.formautofill.creditCards.enabled", false);

// PREF: ask where to save every file
user_pref("browser.download.useDownloadDir", false);

/****************************************************************************
 * SECTION: SMOOTHFOX                                                       *
****************************************************************************/
// visit https://github.com/yokoffing/Betterfox/blob/main/Smoothfox.js
// Enter your scrolling overrides below this line:

// credit: https://github.com/AveYo/fox/blob/cf56d1194f4e5958169f9cf335cd175daa48d349/Natural%20Smooth%20Scrolling%20for%20user.js
// recommended for 120hz+ displays
// largely matches Chrome flags: Windows Scrolling Personality and Smooth Scrolling
user_pref("apz.overscroll.enabled", true); // DEFAULT NON-LINUX
user_pref("general.smoothScroll", true); // DEFAULT
user_pref("general.smoothScroll.msdPhysics.continuousMotionMaxDeltaMS", 12);
user_pref("general.smoothScroll.msdPhysics.enabled", true);
user_pref("general.smoothScroll.msdPhysics.motionBeginSpringConstant", 600);
user_pref("general.smoothScroll.msdPhysics.regularSpringConstant", 650);
user_pref("general.smoothScroll.msdPhysics.slowdownMinDeltaMS", 25);
user_pref("general.smoothScroll.msdPhysics.slowdownMinDeltaRatio", "2");
user_pref("general.smoothScroll.msdPhysics.slowdownSpringConstant", 250);
user_pref("general.smoothScroll.currentVelocityWeighting", "1");
user_pref("general.smoothScroll.stopDecelerationWeighting", "1");
user_pref("mousewheel.default.delta_multiplier_y", 300); // 250-400; adjust this number to your liking

I am able to reproduce. However, if I disable uBO, it works. Did you rule out that this was an adblock issue?

The video plays for me if I allow cdn.privacy.paramount.com https://github.com/yokoffing/filterlists/commit/5af3fc09c303eab90220343de1dcbed79c83f2b7

I just disabled the enhanced tracker protection built into firefox and realised that was the actual issue

I didn't disable ETP to get it to work. In fact, my Firefox is blocking more than those requests:

fwmrm.net doesn't appear at all.
Can you disable gfx.canvas.accelerated to see if that changes anything?

I've tried on a new profile with uBO only installed and the video works perfectly.

What about a new profile + user.js (not overrides) + uBO?

Can you disable gfx.canvas.accelerated to see if that changes anything?

I have tried this but the issue still persists.

What about a new profile + user.js (not overrides) + uBO?

Yeah I've tried this and it works fine, I reported the issue as broken on the Enhanced Tracker Protection popout.

Ok. Sometimes different requests are served based on one's location.


[WIP] Pr takeoff fix

There is still an issue with the takeoff where sometimes the vehicle follows a wrong triplet type. This results in a visible jerk during takeoff.

Are you describing a TODO on this PR or the symptom it fixes?

It solves the issue when yawing during auto takeoff and simplifies the transition between manual and auto in the position controller


Some are are not updated in the ipr

As you can see on this gif, I can update 2 areas, but not the third.
http://pitiwazou.com/screenshots/2016-02-01_12-03-08.gif
I have to restart the ipr to see the difference.

Bit hard to tell from the gif.  Can you attach the scene again?  Sorry.  Seems to work for me here though with a simple scene.

Depend on the blender, I tested and I had the same issue and after a crash of blender it works.
Weird.

Ok I have some pending updates to ipr that might help a bit with stability
On Monday, February 1, 2016, Cédric Lepiller<EMAIL_ADDRESS>wrote:

Depend on the blender, I tested and I had the same issue and after a crash
of blender it works.
Weird.
—
Reply to this email directly or view it on GitHub
https://github.com/bsavery/PRMan-for-Blender/issues/184#issuecomment-178161154
.

--
<EMAIL_ADDRESS>508-274-8700

I'm going to close this issue for now.  If you can reproduce the crash send a scene.


How long does it take to train ?

Hi, I choose the MS-celeb-1M as the training set .But it seems that the training speed is very slow .How long does it take to train usually ?

请问您使用预训练模型了吗？
Have you used the pre training model?


Declare Java Heap options as variables

Fixes #31

@rmarting please review and let me know if you see any issue!

Tested successfully in this PR the #17. So, it is allowed to install offline the Kafka connect cluster.


Merge: wrong permission?

I've created a repo from user A. Then I've forked it with another user B, and then opened a pull request upstream.
At this point, I was logged in as user B and I was able to merge my pull request upstream into the original repository or user A. Is this a bug (a security hole), or is it the intended behavior? Shouldn't only user A be allowed to merge into his own repository (and not the people who forked it instead)?

In addition, after I've merged it displays "merged commit 8e259ba into repouser:branchname 1 second ago"
Shouldn't id display username and repository instead of "repouser:branchname"??

That sounds like a bug. The user B should be able to merge pull requests on upstream only if he got write permissions.


Trait Suggestion: Hilbert cube S32 is not Embeddable into Euclidean space P184

Trait Suggestion
The Hilbert cube S32 is not embeddable into Euclidean space P184, but this fact is not known to pi-Base today:
https://topology.pi-base.org/spaces/S000032/properties/P000184
Proof
This is a consequence of the invariance of domain theorem. Since every Euclidean space (obviosly $(0,1)^n$) can be embedded into a Hilbert cube, its embedding into $\mathbb{R}^m$ would allow a continuous injection of $\mathbb{R}^{m+1}$ into $\mathbb{R}^m$ and consequently an image with empty interior in $\mathbb{R}^{m+1}$.
Remark
Possibly a property of containg a homeomorphic image of every $\mathbb{R}^m$ could be introduced? Unless no other space (than S32) in the pi-Base satisfies it...

I like this argument.

@GeoffreySangston @david20000813 I think one of you a while ago used an argument making use of invariance of domain, quoting something from Hatcher maybe, or possibly wikipedia ...  I don't remember exactly.  Would one of you be able to do something similar for this one?

It would be enough to observe that $\dim X = \infty$ where $X$ is the Hilbert cube.
This observation alone resolves all the properties P122, P123, P124 and P184 at the same time.

Edit: I am the one that used invariance of domain before, in https://topology.pi-base.org/theorems/T000536.
@Moniker1998 I think it's preferable not to use this infinite dimensional characterization for now, for reasons explained in #990.

@prabau I don't know what you mean by characterization.
Either way, I am not suggesting to introduce new concepts, but to phrase the proof as the Hilbert cube being infinite-dimensional, and base the arguments around that.

@Moniker1998 I was actually hoping that one day pi-base might have properties about the three standard dimension functions, and maybe properties about singular homology / cech cohomology etc... Only organically of course. I'm looking forward to someone raising an issue about it so we can all weigh in.

Exactly!  We can implicitly use the fact that the space is infinite dimensional without mentioning it.  Basically mention that any nbhd of any point contains subspaces homeomorphic to $\mathbb R^n$ with arbitrary large $n$ and that would contradict invariance of domain, etc.  As suggested in this issue.

@GeoffreySangston again, it wouldn't actually be just three concepts, it would be probably six or more of them. Its a project that would require a lot of work

@Moniker1998 I was actually hoping that one day pi-base might have properties about the three standard dimension functions, and maybe properties about singular homology / cech cohomology etc... Only organically of course. I'm looking forward to someone raising an issue about it so we can all weigh in.

All good for the long term, and gradually introduce it.  But not just for this suggestion.

However I think there is a difference between a concept existing on pi-base, and if we are allowed to use that in proofs.

I think that would be a good topic for our monthly zoom discussion.
My take is that if there is an easier argument with concepts already available, it's preferable.  But this should definitely be discussed.
@StevenClontz

I think the argument using $\dim [0, 1]^\omega = \infty$ is in fact easier.
If $[0, 1]^\omega$ were embeddable into $\mathbb{R}^n$, then $\dim [0, 1]^\omega \leq \dim \mathbb{R}^n = n$.
Similarly, if $[0, 1]^\omega$ were locally $n$-Euclidean, then we could cover it by countable amount of closed sets $F_i$ with $\dim F_i = n$, so that $\dim [0, 1]^\omega = \sup_i \dim F_i = n$.

I think the argument using d i m  [ 0 , 1 ] ω = ∞ is in fact easier. Its definitely more conceptual.
To see that d i m  [ 0 , 1 ] ω = ∞ note that n = d i m  [ 0 , 1 ] n ≤ d i m  [ 0 , 1 ] ω for all n from the subspace theorem.
If [ 0 , 1 ] ω were embeddable into R n , then d i m  [ 0 , 1 ] ω ≤ d i m  R n = n by the subspace theorem.

But this requires dimension theory which is suspended in #990, I think it is the time to open the issue to discuss the dimension theory, which allow to characterize the embeddability of all the subspace in pi-base.

@yhx-12243 I don't think you were wrong to use dimension theory in your proofs, although I wouldn't explicitly mention inductive dimension. Its important to note that for separable metric spaces, all usual notions of dimension (small and large inductive, and covering dimension) are the same. I wouldn't distinguish between a particular notion of dimension if $X$ is a separable metric space, and just call it $n$-dimensional, or infinite-dimensional, having in mind that one of those particular properties is meant.
It was the addition of specific properties about dimension theory that I felt like what was @prabau main point, which I agree with.

I voted down the above, not because I disagree with the math, but with the approach here.
The results you quote (subspace theorem, etc) seem intuitively plausible.  I personally haven't had the time yet to study dimension theory, except the very basics, enough to know there are a lot of subtleties there.  For people already familiar with that theory, it may indeed be easier to quote these theorems.  But as you explained before, that may require more background than it may seem.  For most of us, the invariance of domain result is still not an easy result, but a lot more well known.  That's why I think it's a preferable approach.
And again, I am all for gradually adding more notions from dimension theory into pi-base.

@StevenClontz Issue now added to the agenda for this Friday.

The results you quote (subspace theorem, etc) seem intuitively plausible. I personally haven't had the time yet to study dimension theory, except the very basics, enough to know there are a lot of subtleties there. For people already familiar with that theory, it may indeed be easier to quote these theorems. But as you explained before, that may require more background than it may seem. For most of us, the invariance of domain result is still not an easy result, but a lot more well known. That's why I think it's a preferable approach.

What I meant is that theory for general spaces is complicated, mainly because of the amount of dimension functions that one has to keep track of, the theory for separable metric spaces is straightforward, see e.g.  Theory of dimensions: Finite and infinite by Engelking
What I'd point out is this - is a preference over an approach even needed in the first place?
Nothing stops us from putting two proofs out there.

https://math.stackexchange.com/questions/5009117/the-hilbert-cube-cannot-be-embedded-in-some-euclidean-space-mathbb-rn

@pzjp Can you add an answer to the mathse post presenting your argument?
I.e., Using invariance of domain without additional dimension theory to show that a space containing a homeomorphic image of every Euclidean space $\mathbb R^n$ cannot be embedded in a specific euclidean space $\mathbb R^m$.
Then we can just refer to that post and we'll have both approaches in a single reference for pi-base.

Resolved by #1099.


Cannot install Azure CLI on CentOS. Package is not signed

Describe the bug
Follow the steps here but the package cannot be installed. The error is
$ sudo yum install -y azure-cli
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package azure-cli.x86_64 0:2.0.50-1.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=================================================================================================================================================================================================================
 Package                                           Arch                                           Version                                                Repository                                         Size
=================================================================================================================================================================================================================
Installing:
 azure-cli                                         x86_64                                         2.0.50-1.el7                                           azure-cli                                          24 M

Transaction Summary
=================================================================================================================================================================================================================
Install  1 Package

Total size: 24 M
Installed size: 171 M
Downloading packages:

Package azure-cli-2.0.50-1.el7.x86_64.rpm is not signed

To Reproduce
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
sudo sh -c 'echo -e "[azure-cli]\nname=Azure CLI\nbaseurl=https://packages.microsoft.com/yumrepos/azure-cli\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc" > /etc/yum.repos.d/azure-cli.repo'
sudo yum -y install azure-cli

Expected behavior
The package should be installed
Environment summary
OS: CentOS Linux release 7.5.1804 (Core)
Shell: Bash
Package Management: yum
Additional context
Add any other context about the problem here.

Thank you for the report. We'll get a fix out shortly.

It installs if I disable the gpg check. Since I have to install it now, can you provide a checksum for the latest (not-signed) rpm?
Thanks,
Uri.

SHA256:
F4DC6FB67917339D799BBAAA62596CF90D86FE3EF3DA71690E1988771FF7EDDE

The signed package has been uploaded and I've verified it works. We apologize for the inconvenience.


[proposal] add a Listener widget for reactions

Sometimes we need to perform some side-effects in response to some event, like: to open the dialog, to show the snackbar, to navigate between screens.
We already have workers (MobX Reactions analogue) to call them in initState, watch some Rx variables and perform reactions on their value change.
Cons:

workers are working with Rx types only
we need to convert our screen to StatefulWidget, in order to have an initState lifecycle method
sometimes it's more convenient to call methods from the widget tree

In Bloc we have useful BlocListener class: https://pub.dev/documentation/flutter_bloc/latest/flutter_bloc/BlocListener-class.html
I feel lack of such a widget in Get. I propose to add the same widget. That's how it could look:
// for manual update
GetListener<MyController>(
  listener: (c) {
	if (c.count > 10) showDialog();
  }
  child: Container(),
)

// for rx update
RxListener(
  listener: () {
	if (count.value > 10) showDialog();
  }
  child: Container(),
)

Further development for this topic could be a MultiListener (to avoid multiple nested listeners):
https://pub.dev/documentation/flutter_bloc/latest/flutter_bloc/MultiBlocListener-class.html
MultiGetListener(
  listeners: [
    GetListener<A>
      listener: (c) {},
    ),
    GetListener<B>
      listener: (c) {},
    ),
    RxListener
      listener: () {},
    ),
    RxListener
      listener: () {},
    ),
  ],
  child: Child(),
)

Yeah totally usefull for interactive page

It maybe more convenient if add this feature get_bloc (it seems flutter_bloc, so I am just call it get_bloc) into GetX, but in my opinion this may bring in some side-effects or problems:

More business logic will write in UI widgets not controller;
How and when to dispose this listeners?
Does this impact the lifecycle of controller?

I think this is not the original intention of GetX.

It maybe more convenient if add this feature get_bloc (it seems flutter_bloc, so I am just call it get_bloc) into GetX, but in my opinion this may bring in some side-effects or problems:

More business logic will write in UI widgets not controller;
How and when to dispose this listeners?
Does this impact the lifecycle of controller?

I think this is not the original intention of GetX.

sometimes you just need small event to trigger some action, like display some ads if user scroll to index 5, adding Controller and GetBuilder for display single Ads is totally waste resource and make boilerplate as you can see flutter bloc and mobx have same feature and its dsnt make sense to not make same feature to GetX
they STILL part of the UI, but show only if certain condition is met like
...ListView(
GetListener(
listener: (c) {
if (c.count > 10) showDialog();
}
child: Container(),
)
return Widget... bla bla bla
)

It maybe more convenient if add this feature get_bloc (it seems flutter_bloc, so I am just call it get_bloc) into GetX, but in my opinion this may bring in some side-effects or problems:

More business logic will write in UI widgets not controller;
How and when to dispose this listeners?
Does this impact the lifecycle of controller?

Seems like you're not completely understand my point. It's not a Bloc (Bloc is a state automata, while GetX is a tool for granular rebuilding (closer to MobX)). I just proposed to add the same Listener widget as in Bloc library.

Navigation / Dialogs / Snackbars is not a business-logic. It's a UI logic, and should be performed on a widget side. If you do navigation / showing dialogs inside of controllers, you make a mistake.
No subscription added - no disposing needed. Workers (reactions) return a subcription. Listener is a widget, and it doesn't, so you don't need to dispose anything.
No, it doesn't relate to controller in any way.

The truth is, this could be added using the NotificationListener widget and dispatching it inside getUpdate.
It's not hard to do (actually 10 minutes of work). I only need to study performance implications.
Obx does not work with InheritedWidget and is a very clean widget. GetX would be a widget that I wouldn't mind adding this to since it already has a number of checks that Obx doesn't use.
This weekend I'm going to check that adding this won't create any additional overhead.

This weekend I'm going to check that adding this won't create any additional overhead.

@jonataslaw Didn't you forget about this issue?
People in the chat also want this feature.

Hi, probably the next big version will have this.
However, to implement the feature, it is necessary to decide whether the listener will be from reactive variables, or from controllers

Take and use. Good luck!
get_consumer.dart
import 'package:flutter/material.dart';
import 'package:get/get.dart';

class _GetConsumerListeners {
  Map<Key, VoidCallback> listeners = {};

  VoidCallback createListener(Key key, VoidCallback listener) {
    listeners[key] = listener;
    return listeners[key]!;
  }

  VoidCallback getListener(Key key) {
    return listeners[key]!;
  }
}

final _getConsumerListeners = _GetConsumerListeners();

class GetConsumer<T extends GetxController> extends GetBuilder<T> {
  final void Function(T) listener;

  GetConsumer({
    Key? key,
    required T init,
    global = true,
    required builder,
    required this.listener,
    autoRemove = true,
    assignId = false,
    void Function(GetBuilderState<T>)? initState,
    filter,
    tag,
    dispose,
    id,
    didChangeDependencies,
    didUpdateWidget,
  }) : super(
          key: key,
          init: init,
          global: global,
          builder: builder,
          autoRemove: autoRemove,
          assignId: assignId,
          id: id,
          didChangeDependencies: didChangeDependencies,
          didUpdateWidget: didUpdateWidget,
          filter: filter,
          tag: tag,
          initState: (GetBuilderState<T> state) {
            final consumerState = (state as GetConsumerState<T>);
            consumerState.generateConsumerListenerKey();

            VoidCallback _listener = _getConsumerListeners.createListener(
              consumerState.consumerListenerKey,
              () => listener(init),
            );

            init.addListener(_listener);
            if (initState != null) initState(state);
          },
          dispose: (GetBuilderState<T> state) {
            final consumerState = (state as GetConsumerState<T>);

            VoidCallback _listener = _getConsumerListeners.getListener(
              consumerState.consumerListenerKey,
            );
            init.removeListener(_listener);
            if (dispose != null) dispose(state);
          },
        );

  @override
  GetBuilderState<T> createState() => GetConsumerState<T>();
}

class GetConsumerState<T extends GetxController> extends GetBuilderState<T> {
  late final Key consumerListenerKey;

  void generateConsumerListenerKey() {
    consumerListenerKey = UniqueKey();
  }
}

main.dart
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'get_consumer.dart';

class MyController extends GetxController {
  String text = 'Hola';

  updateText(String str) {
    text = str;
    update();
  }
}

class MyWidget extends StatelessWidget {
  const MyWidget({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        body: GetConsumer<MyController>(
          init: MyController(),
          listener: (controller) {
            print('Text was updated!');
            print(controller.text);
          },
          builder: (MyController controller) {
            return Center(
              child: Column(
                mainAxisAlignment: MainAxisAlignment.center,
                children: [
                  Text(controller.text),
                  ElevatedButton(
                    onPressed: () {
                      controller.updateText('New text');
                    },
                    child: Text('Change text'),
                  ),
                ],
              ),
            );
          },
        ),
      ),
    );
  }
}

I tried to use this to display a snackbar in the code but it does not seem to work. Can you look at it. Thankyou
this is my widget
Widget build(BuildContext context) {
return GetConsumer(
init: AuthController(),
listener: (authController) {
print('hello');
if (authController.registrationEventHandler ==
RegistrationEvent.inProcess) {
openSnackbar(
title: 'Attempting Registration', text: 'Please hold on...');
}
},
builder: (AuthController tempController) {
return GetX(
//   initState: (_) {
//   _authController.addListener(() {});
//   _authController.attemptRegistration.listen((value) {
//     if (value) {
//       openSnackbar(
//           title: 'Attempting Registration',
//           text: 'Please hold on...');
//       authController.attemptRegistration.value = false;
//     }
//   });
// },
builder: () {
return SafeArea(
child: Scaffold(
backgroundColor: CustomColors.backGroundColor,
body: Padding(
padding: EdgeInsets.symmetric(
horizontal: Design.horizontalPadding,
),
child: Form(
key: _signupKey,
child: SingleChildScrollView(
child: Column(
crossAxisAlignment: CrossAxisAlignment.center,
children: [
CustomText(
alignment: TextAlign.left,
text: "Register New Account",
color: CustomColors.textWhiteColor,
fontWeight: FontWeight.w600,
fontSize: 36.sp,
maxLines: 2,
),
SizedBox(
height: (24).h,
),
CustomTextField(
title: "Full Name",
controller: fullNameController,
validator: CustomValidators().fullNameValidator,
keyboardType: TextInputType.name,
onTap: () {},
prefixIcon: Icons.account_circle_outlined,
),
SizedBox(
height: (24).h,
),
CustomTextField(
title: "Email",
controller: emailController,
validator: CustomValidators().emailValidator,
keyboardType: TextInputType.emailAddress,
onTap: () {},
prefixIcon: Icons.email_outlined,
),
SizedBox(
height: (24).h,
),
CustomTextField(
hasFormatter: true,
title: "Date of Birth",
controller: dateOfBirthController,
validator: CustomValidators().fieldValidator,
keyboardType: TextInputType.number,
onTap: () {},
prefixIcon: Icons.date_range,
),
CustomTextField(
title: "Contact Number",
controller: contactNumberController,
validator: CustomValidators().fieldValidator,
keyboardType: TextInputType.number,
onTap: () {},
prefixIcon: Icons.phone_enabled_outlined),
SizedBox(
height: (24).h,
),
Column(
children: [
CustomTextField(
title: "Password",
controller: passwordController,
validator: CustomValidators().passwordValidator,
isPassword: true,
onTap: () {
_changePasswordVisibility();
},
obscureText:
_authController.isPasswordVisible.value,
prefixIcon: Icons.password_outlined,
),
SizedBox(
height: (24).h,
),
CustomTextField(
title: "Confirm Password",
controller: confirmPasswordController,
validator: CustomValidators().passwordValidator,
isPassword: true,
onTap: () {
_changePasswordVisibility();
},
obscureText:
_authController.isPasswordVisible.value,
prefixIcon: Icons.password_outlined,
),
],
),
SizedBox(
height: (65).h,
),
CustomButton(
text: 'Continue',
onTap: () {
tempController.registrationEventHandler =
RegistrationEvent.inProcess;
// _authController.attemptRegistration.value =
//     true;
// if (_signupKey.currentState!.validate()) {
//   _getRegistrationData(
//     contactNumber: contactNumberController.text,
//     dateOfBirth: dateOfBirthController.text,
//     email: emailController.text,
//     fullName: fullNameController.text,
//     password: passwordController.text,
//   );
//   Get.to(() => const SelectTeamScreen());
// }
}),
],
),
),
),
),
),
);
});
});
}

Hope my code can solve your problem
GetxListener

The required result can be achieved by using GetBuilder this way:
GetBuilder<GameController>(
            id: 'dialog',
            builder: (controller) {
                  if (controller.isFinished){
                      if (controller.isWhitesWon){
                         WidgetsBinding.instance.addPostFrameCallback(
                  (_) => DialogManager().showWinDialog(context));//notice context
                      } else {
                         WidgetsBinding.instance.addPostFrameCallback(
                  (_) => DialogManager().showDefeatDialog(context));
                      }
                  }
                  return SizedBox.shrink();
            },
          ),```

Using of `WidgetsBinding.instance.addPostFrameCallback` is required, since otherwise an exception is thrown telling that we do something during a build.

It would be nice to have GetListener widget though.

I must be crazy because I'm sure I implemented this somewhere.

Well, if I haven't committed yet, I will, but in version 5, this would be as easy as adding Bind.of(context, rebuild: true); inside a Widget build, and calling it in a Future.microtask.

import 'package:get/get.dart';

class GetListener<T extends GetxController> extends StatelessWidget {
  final String id;
  final Function() onUpdate;
  const GetListener({super.key, required this.id, required this.onUpdate});

  @override
  Widget build(BuildContext context) {
    return GetBuilder<T>(
      id: id,
      builder: (controller) {
        WidgetsBinding.instance.addPostFrameCallback((_) => onUpdate());
        return SizedBox.shrink();
      },
    );
  }
}

https://medium.com/easy-flutter/flutter-new-getlistener-widget-for-getx-feb347aba97a


Add embedded timeline support

Thank you for developing such an awesome component
Twitter Embed also support embed a timeline for a topic or user
Are there any possible to support this feature in vue-tweet soon?

Hi, @mnixry, I think this feature request is out of the scope of this project; thanks for the suggestion.


Add additional json file with screenshot image

I'm working on automated UI test with snapshot and send them to a comparison server (VisualReview). To be able to add some dynamic additional info to the screenshot, few small modifications had been done on the collector script and on the swift helper.
For more Info about the others tools needed to compare screens. See https://github.com/rgroult/fastlane-VisualReview-protractor
It would be great if you could had them in the mainstream.
Regards.

Hey @rgroult! Thanks for submitting this PR. Right now we would rather not introduce changes to the snapshot helpers. You can definitely keep this functionality going by keeping your own fork of the tool, and if we decide to add more features we will definitely reopen the PR for discussion. Thanks!! 🐙 🐵 🚀


fix: remove dead code from terraform-docs script

Put an x into the box if that apply:

[ ] This PR introduces breaking change.
[x] This PR fixes a bug.
[ ] This PR adds new functionality.
[ ] This PR enhances existing functionality.

Description of your changes

terraform-docs does not care about tfvars, the variable is unused inside the script
and probably was originally copy-pasted from another hook.
How has this code been tested

Tested locally against a client project.

Not sure why the test fails, I think it does not have shfmt executable available in the PATH.
I have re-run shfmt locally against the branch and it did not pick up any changes.

I don't think this code is needed. Maybe it was needed in previous versions but now it is definitely dead, so I will merge it.
Thanks, @sergei-ivanov !


Increase R enclave size to 2G

SGX Enclave size is not sufficient for CentOS machine,
hence increasing the enclave size to 2G
Signed-off-by: anjalirai-intel<EMAIL_ADDRESS>

This change is

-- commits line 5 at r1:
Previously, dimakuv (Dmitrii Kuvaiskii) wrote…
I'll do slight typo fixing during final rebase (dot at the end, Enclave with small letter).

Ok


Unrecognized font family ''

[ ] Review the documentation: https://github.com/oblador/react-native-vector-icons

[ ] Search for existing issues (including closed issues): https://github.com/oblador/react-native-vector-icons/issues
"react": "16.13.0",
"react-moment": "^0.9.7",
"react-native": "^0.61.5",
"react-native-vector-icons": "6.6.0",

i  try  all  the  methods  in the issues  and  the docs,  and  clean the cache  etc...but it's still  not work !

just on ios  , android  it's  ok

just on ios , android it's ok

same. i must handle add vector-icon with copy that line to info.plist
UIAppFonts

AntDesign.ttf
Entypo.ttf
EvilIcons.ttf
Feather.ttf
FontAwesome.ttf
FontAwesome5_Brands.ttf
FontAwesome5_Regular.ttf
FontAwesome5_Solid.ttf
Fontisto.ttf
Foundation.ttf
Ionicons.ttf
MaterialCommunityIcons.ttf
MaterialIcons.ttf
Octicons.ttf
SimpleLineIcons.ttf
Zocial.ttf

paste lines above UILaunchStoryboardName


How do I access chunk information?

#10645  Checklist

[+] I'm asking a question
[+] I've looked through the README and FAQ for similar questions
[+] I've searched the bugtracker for similar questions including closed ones

Question
How do I get SegmentBase indexRange to make .mpd file from mp4 downloaded from youtube?
In my usecase I need it to concat several periods of video into single .mpd for user to see short trailer from long video.

See mpd manifest spec.

Hi @nickerlan, did you ever figure out how to get the initRange and indexRange data? Do you understand what dstftw specifically meant by their comment?

I'm sure there's a better way of doing this, but I decided to just extract it from the HTML myself. Please do still let me know if you have answers to my questions or any good ideas.
https://git.sr.ht/~cadence/Second/tree/main/index.py#L234


Groq new models

Adding support for the latest models from Meta that are available through the groq API

Summary by CodeRabbit

New Features

Updated model identifiers to the latest versions, enhancing model capabilities.
Introduced a new tool-use preview model for improved functionality.
Simplified the model selection process by filtering out specific model types, focusing on LLM models.

Bug Fixes

Corrected mappings for existing models to align with updated naming conventions.

Thanks @Jac-Zac we will finish this in https://github.com/run-llama/create-llama/pull/278


Register package

@JuliaRegistrator register

Registration pull request created: JuliaRegistries/General/78962
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.1.0 -m "<description of version>" f7496d3cf7f10aed2c3c5267a688f3def3a1d9ae
git push origin v0.1.0

Registration pull request updated: JuliaRegistries/General/78962
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.1.0 -m "<description of version>" 01ee3d6cac093e9cb77ed6d8f238586bdb6d7456
git push origin v0.1.0


blaze-client to ce3

TODO:

[ ] Port the specs to Http4sSuite if possible
[ ] Think about providing a Dispatcher directly in the suite trait
[ ] Should a Dispatcher be passed in to the client or be created by the client? Same question goes for the server builders. IMO it's exactly the same as passing in UnsafeRun. All we need is an Async constraint but the only Dispatcher constructor exposes a Resource so we would have to reach for allocated. I think this is a more general question we should discuss in CE land

Ah yep, looks like Http1ClientStageSpec is one of the nondeterministic tests

Ah yep, looks like Http1ClientStageSpec is one of the nondeterministic tests

I'll give it a try. And also, I just realized that I'm porting all these specs to munit on the ce3 branch.. maybe it would've better to do it elsewhere

I'll give it a try. And also, I just realized that I'm porting all these specs to munit on the ce3 branch.. maybe it would've better to do it elsewhere

@cquiroz has been starting them all the way down on series/0.21, which helps with merge conflicts moving forward.  If it's not too much trouble, that's a better starting point, but we can backport.

@cquiroz has been starting them all the way down on series/0.21, which helps with merge conflicts moving forward.  If it's not too much trouble, that's a better starting point, but we can backport.

It maybe better do the tests on series/0.21

It maybe better do the tests on series/0.21

fortunately blaze-client was small enough, so I'll avoid it on the ce3 branch in the future and backport

fortunately blaze-client was small enough, so I'll avoid it on the ce3 branch in the future and backport

Is ClientTimeoutSpec.No Response head timeout on fast header known to be flaky on CI?

Is ClientTimeoutSpec.No Response head timeout on fast header known to be flaky on CI?

Fixed it (some issue with pooling). I also re-enabled all the flaky ones and they seem to be doing good so far. I think this is ready for a deeper look, I'm gonna think about the two extra PR items more

Fixed it (some issue with pooling). I also re-enabled all the flaky ones and they seem to be doing good so far. I think this is ready for a deeper look, I'm gonna think about the two extra PR items more

The build is probably going to fail because of a flaky blaze-client test. They seem to be happening because of this (https://github.com/http4s/http4s/issues/2278) which I have long heard tales about. I'm going to spend some time today figuring it out (Slack is down) because I have a really low tolerance for flaky builds, but race conditions are also super fun. :)

The build is probably going to fail because of a flaky blaze-client test. They seem to be happening because of this (https://github.com/http4s/http4s/issues/2278) which I have long heard tales about. I'm going to spend some time today figuring it out (Slack is down) because I have a really low tolerance for flaky builds, but race conditions are also super fun. :)

Are you able to reproduce it?  I have struggled for years to reproduce the legendarily flaky blaze tests, and I can't make them happen but for on CI.

Are you able to reproduce it?  I have struggled for years to reproduce the legendarily flaky blaze tests, and I can't make them happen but for on CI.

My usual approach (which has worked for a great deal of CE bugs) is to first look at the code analytically and see if I can piece out a race condition. If that doesn't work after a few hours, I try to find a reproduction by running the offending code in a hot loop and then try to distill the pathological ordering of events with printlns and whatnot

My usual approach (which has worked for a great deal of CE bugs) is to first look at the code analytically and see if I can piece out a race condition. If that doesn't work after a few hours, I try to find a reproduction by running the offending code in a hot loop and then try to distill the pathological ordering of events with printlns and whatnot

Well, it didn't flake here.  Should we merge this, or are you worried about destabilizing the CE3 branch that's running pretty well right now?

Well, it didn't flake here.  Should we merge this, or are you worried about destabilizing the CE3 branch that's running pretty well right now?

We can merge, my goal is to have this figured out by EOD 🤞

We can merge, my goal is to have this figured out by EOD 🤞


[stable/spring-cloud-data-flow] Update to new SCDF version 2.5.1

What this PR does / why we need it:

update scdf version to 2.5.1
update skipper version to 2.4.1

Signed-off-by: Chris Schaefer<EMAIL_ADDRESS>Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/mychartname])

/assign @sabbyanandan


CONTRIBUTING.md

Stop playing

Docs Build status updates of commit ff73564:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

CONTRIBUTING.md
:white_check_mark:Succeeded

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

 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.:x: deonlewis sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

Docs Build status updates of commit 3b7c411:
:warning: Validation status: warnings

File
Status
Preview URL
Details

api/iqsharp-magic/index.md
:warning:Warning
View
Details

CONTRIBUTING.md
:white_check_mark:Succeeded

api/iqsharp-magic/index.md

[Warning] Missing attribute: author. Add the current author's GitHub ID.
[Warning] Missing attribute: title. Add a title string to show in search engine results.
[Warning] 1 invalid cross reference(s) "Microsoft.quantum.iqsharp.magic-ref.deed".

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

Docs Build status updates of commit c587642:
:warning: Validation status: warnings

File
Status
Preview URL
Details

api/iqsharp-magic/index.md
:warning:Warning
View
Details

CONTRIBUTING.md
:white_check_mark:Succeeded

api/iqsharp-magic/index.md

[Warning] Missing attribute: author. Add the current author's GitHub ID.
[Warning] Missing attribute: title. Add a title string to show in search engine results.
[Warning] 1 invalid cross reference(s) "Microsoft.quantum.iqsharp.magic-ref.deed".

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

Docs Build status updates of commit b02d30e:
:warning: Validation status: warnings

File
Status
Preview URL
Details

api/iqsharp-magic/index.md
:warning:Warning
View
Details

CONTRIBUTING.md
:white_check_mark:Succeeded

api/iqsharp-magic/index.md

[Warning] Missing attribute: author. Add the current author's GitHub ID.
[Warning] Missing attribute: title. Add a title string to show in search engine results.
[Warning] 1 invalid cross reference(s) "Microsoft.quantum.iqsharp.magic-ref.deed".

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


Add Distance Sorting

Sort the URL entries by BLE distance estimates before adding them to
the list view.

@cco3 fixed

@cco3 check works now

@cco3

LGTM, assigning to @nondebug

lgtm


Don't fetch the whole work when we look up item holds in the requests API

There's only one thing we care about: the title. All the other data we fetch from Elasticsearch is wasted, so let's skip deserialising it.

I can't remember if there was anything else I wanted to do here; closing.


feat: Focus the primary action in 'ConfirmationDialog', without hacks

Alternative to #1471. This PR makes focusTrap’s initialFocus handle action focus and subsequently removes the (now redundant) hack in Dialog.Buttons which previously handled focus.
⚠ Warning: That hack may still be necessary to support cases I did not consider—additional review is appreciated. If we determine the hack is still necessary, please close this PR in favor of #1471.
Fixes https://github.com/github/primer/issues/313
ℹ You might wonder–“Why wasn’t moving the autoFocus attribute from cancelButton to confirmButton in ConfirmationDialog.tsx sufficient?” Great question! I wondered the same thing at first. It turns out that this special case in focusTrap causes the primary-action button (confirmButton) to receive tabIndex: -1, so the secondary-action button (cancelButton) still receives focus, even if autoFocus: true is moved to confirmButton.
Screenshots
Screen recording demonstrating the primary action is focused when a 'ConfirmationDialog' opens:

We generally follow platform conventions, and primary-action-focus is the default in macOS confirmation dialogs (screen recording of Pages below):

Merge checklist

[ ] Added/updated tests
[ ] Added/updated documentation
[ ] Tested in Chrome
[ ] Tested in Firefox
[ ] Tested in Safari
[ ] Tested in Edge

Take a look at the What we look for in reviews section of the contributing guidelines for more information on how we review PRs.

Re-opening to test https://github.com/primer/react/pull/1472/commits/f9c93a7b713e0023545539efe47e05a9854b261e. If that test works, the check should fail. 🤞


Removing Nodes

Ability to add/remove nodes from the Node editor via a removeNode interface.
I was playing around with how easy it would be. I've got it just searching, finding, and erasing the node from the ImNodeFlow context. Works fine if there is no connections but runs into some UB when the next update loop comes through and uses the deleted Pin in the Link. Haven't gotten further than a quick debugger to take a quick peek at what is going wrong. I'll put up a branch and continue off it when my cold goes away.

Sorry I forgot to make it an issue but earlier today I added it to the todo list
https://github.com/users/Fattorino/projects/3?pane=issue&itemId=53394186
And probably I'll be done by tonight. The idea is to have methods like findNode(uid) and dropNode(uid) to get a reference or delete a node.

This is what I was working on https://github.com/avlec/ImNodeFlow/tree/remove-node

The problem is that two Nodes can have the same name, so I implemented a NodeUID system similar to the PinUID one, and a simple std::unordered_map. Now I am working on how I can provide helpers to quickly create new unique UIDs.

This is what I have done so far, it works with connected nodes too, but I'm not happy that it's hard to create unique uids for each pin and then use it to find a node without a lot of user-side logic. I need to find a way to create a few helpers to make the process smoother and faster on the user side.
2b4c526

While scratching my head trying to figure out a UID system for the nodes, I modified how nodes are defined.
Now the creation of a node looks something like this:
class CoolNode : public BaseNode
{
public:
    CoolNode() // No more long and ugly constructor
    {
        setTitle("I'm cool!");
        getStyle() = NodeStyle::brown();
        getStyle()->padding.w = 16.f;

        auto big = PinStyle::green();
        big->socket_radius = 10.f;
        addIN<int>("Cool", 0, 0, PinStyle::red());
        addOUT<int>("Node", 0, big)->behaviour([](){return 0;});
    }
};

The style and title can be overridden when adding the node to the grid addNode(pos, title, style);
And of course, after that, you can forward all other optional parameters.

If you can allocate the memory for the nodes then use the pointer to the node as the UID would that work?


Ignore YubiKey tokens

See https://github.com/tekezo/Karabiner-Elements/issues/1148 for the details

Thanks!


Risc assesment stopped at pretty much every start of the app, resolves itself after brief waiting time

[x] Bug is not mentioned in the FAQ
[x] Bug is not already reported in another issue

Describe the bug
I think I‘m encountering the same issue as this comment https://github.com/corona-warn-app/cwa-app-ios/issues/1153#issuecomment-706013278
But this behaviour is slightly different than the one explained in 1153. the end result is equally bad - my app doesn‘t refresh in the background reliably and only when I open it myself, it then tells me that refreshing did fail (send me a notification when it fails so I can open the app!), then that it‘s refreshing and it‘s fine again. My current hunch is that as I‘m a user who switches on Flightmode every night but the checking times are sometimes during the times where my flight mode is still on, it looks like CWA does not successfully use iOS background refresh to retrigger a check until someone reopens the app.
Expected behaviour
CWA gracefully recovering from a failed check during flight mode at night => checks working reliably
Steps to reproduce the issue
I‘m not sure if it‘s the flight mode but with iOS 14 it has been like this eversince. Have your expected refresh time and set flight mode on before that time. Easiest to test overnight.
Technical details

iOS Version: 14.2
Device: iPhone SE 2020

Possible Fix

Send a notification when the check fails and asking users to open the app!
use iOS background refresh to retrigger a check

Did you test the new v1.7.1 if this version updates in the background reliably on your phone?

Dear @JMoVS,
Could you please give us some feedback regarding this issue after updating to CWA version 1.7.1? Many thanks.
Best wishes,
DS

Corona-Warn-App Open Source Team

Unfortunetly, I had to get my phone replaced yesterday and it seems like for whatever reason those exposures are not part even of the password encrypted local backup, so I can only really say in a few days when I get my first info in the app

Hi @JMoVS, OK, we stand by for your feedback. Best wishes,
DS

Corona-Warn-App Open Source Team

I had the same problem and it seems to be resolved in 1.7.1.

Hi @Mihahn, @JMoVS, Thanks for all the feedback. We consider this issue as solved. We will close the ticket now. Please feel free to re-open, if necessary. DS

Corona-Warn-App Open Source Team


Ability to have badges appear on menu icons

What problem does this feature solve?
Currently the menu does allow you to add a badge to an icon, but it breaks the formatting of the collapsed and expanded view of the menu. It would be nice to be able to show badges in the side menu of an application. An example of the problem :
https://stackblitz.com/edit/badge-in-menu-demo
Screenshots
collapsed view

expanded view

What does the proposed API look like?
Being able to wrap the anticon object in the <nz-badge [nzCount]="5"> tag like so:

             <nz-badge [nzCount]="5">

              </nz-badge>
              My Data

    New
    <nz-badge [nzCount]="totalEditedItems$ | async"  [nzStyle]="{transform: 'translate(15%, -25%)'}"
            ></nz-badge>


GPL-950 change the default labware in worklist made by SScape for Tecan cherry-picking.

User story
As sample management product lead (Danni W) I would like to make a change the default labware in the worklist made by SScape for Tecan cherry-picking.
Who are the primary contacts for this story
Danni W
Acceptance criteria
Old labware – “96-TROUGH”
New labware- “Trough 100ml”
Additional context
Raised my mail to Rich L on 26th March

Think this is the important line:
https://github.com/sanger/sequencescape/blob/8afe7da0a9477f951e0d18bea8e1bcd453f982eb/app/models/robot/generator/tecan.rb#L94
Although several tests also seem to expect it.
If a complete switchover is acceptable, then it should be a simple find-replace.

New version of Tecan Scripts attached to RT https://rt.sanger.ac.uk/Ticket/Display.html?id=716700

From checking at the files it changes:
A;BUFF;;96-TROUGH;...

into this
A;BUFF Trough;;Trough 100ml;...

UAT testing expected 7th May

UAT delayed to start at the end of week May 11-15

From meeting 18th May:
Clarify the format definition:

The new Tecan format will specify the source buffer by row (1 to 8)

How to apply the change:

Because the file generation can be changed by robot we will follow this route for deploying this change and have a transition period
The new version of Tecan file generation will be applied to just a specific list of robots
Decided in the meeting we will apply the new version to just the robot Tecan 1)
The old version will be kept in Tecan 4 in case is needed in future

Enabled in production for "Tecan 1" on 22 July 2021 - 16:03


Separated jest config and fixed logic

Separating out jest config from package.json and fixing setDefaultBreakpoints array checking issues.

@sadarshannaiynar Wow! I just scribbled out this lib yesterday and you've cleaned up a few things already. Appreciate it.
Take this with a pinch of salt => it's always a good idea to create an issue and follow it up with a PR.
I haven't even thought of a name yet. I'm planning to publish this in day or two with a new name and added validations. This PR came too soon.
Also, for your two questions,

I am not sure why node-sass dependency is needed when css isn't used anywhere.

I'm thinking about building a demo with a cleaned up interface, so might need this. This repo is sourced from this repo - react-npm-package-boilerplate. So if you're interested in improving the config or setup, you can take a look there.

Don't build the library using webpack just babelify it. Because webpack will again require all the files used by the code which means you are loading a bunch of react modules when the consumer of this library will already have it in his dependencies. Just specify react and others libraries that this library depends on in peerDependencies.

I have a different viewpoint on this. This may be true for vanilla JS libs but React versions keep coming out and life cycle methods get deprecated at the blink of an eye. I don't think it's a good idea to peer depend on host versions. That would mean this lib should be constantly maintained and updated with backward compatibility.
I'm gonna merge this PR. Hope things a good back at Cooper. Thank You.

@flexdinesh I was seeing the code and found those bugs so I just fixed it by going with the flow. I will remember to create an issue next time. Haha, I know this PR was way too early. I do agree with lifecycle methods getting deprecated but then We are loading a really huge chunk of code into the client's webpack code. The client's webpack cannot identify the repeat in the code and will load 2 huge block unnecessarily one from the library and one from react itself this is a huge performance issue. Performance mustn't be overlooked due to constant maintenance.
Yes things are good at Cooper. I hope you are doing good too. 😄

Thanks for bringing this up. We should manage React in peer dependencies.


Fix broken link to gutter mode guidelines

Changelog
Changed

Updated link to gutter modes (/elements/2x-grid/usage/#gutter-modes)

Removed

Old link was: /guidelines/2x-grid/implementation#gutter-modes

I have read the DCO document and I hereby sign the DCO.


Update Theming docs for removing map items

Fixes #24849

I don't understand how to remove a variant.
If can't remove them before importing bootstrap, and if I remove them after importing the variants get compiled anyway. What's the point of remove a variant for the map if all variants have already been generated?


Bean Validation annotations ignored

Hi guys,
According to Swagger release notes they support Bean Validation annotations (JSR-303) since v. 1.5.0.
I tried to make this work with Springfox with Spring Boot but the annotations in my model (bean) are ignored. The JSON file that swagger produces has not the corresponding information (about fields size, required or not, etc..).
I have checked the Swagger code and I have found the place where they "apply" (read and proccess) the Bean Validation annotations (package "javax.validations.constraints"). It is in the following class  (ModelResolver), in the method "applyBeanValidatorAnnotations":
https://github.com/swagger-api/swagger-core/blob/master/modules/swagger-core/src/main/java/io/swagger/jackson/ModelResolver.java
In the release notes we can see that JSR303 is supported since 1.5.0:
https://github.com/swagger-api/swagger-core/releases/tag/v1.5.0
The questions are: Should this work? Am I missing something? Is this supported by Springfox?
Is there a possibility that  this ModelResolver is skipped? I see this is in swagger-core maven module which I would say SpringFox project does not add as a dependency...
If this is not supported could you point me in the right direction to implement it and maybe even contribute?
Thanks so much!

This library does not use swagger-core, so any advertised support of bean validation is not applicable here.

The questions are: Should this work?

No, but there are extensibility hooks to support it. Just that I don't have the bandwidth to maintain it.

Am I missing something? Is this supported by Springfox?

Yes, this feature is not supported by springfox.

Is there a possibility that this ModelResolver is skipped? I see this is in swagger-core maven module which I would say SpringFox project does not add as a dependency...

That is a true statement. We don't have any depdenency on swagger-core other than its models and annotations.

If this is not supported could you point me in the right direction to implement it and maybe even contribute?

See notes in #356. Would love a PR to support this feature.
Closing this as its a duplicate of #356.

Thanks dilipkrish for your detailed answer.
Please, could you explain me a how to add a hook so I can implement the extension to process JSR-303? I tried to find some info in the reference documentation in the "5.8 Extensibility" section but it's not complete yet.
If you could point me in the right direction I will try to implement this and contribute.
Thanks so much!

That's awesome. Let me put something together

Supporting "@NotNull" for a Model Property it is quite easy.
Simply add the following component (make sure to include its package in @ComponentScan):
@Component
public class MyModelPropertyBuilderPlugin implements ModelPropertyBuilderPlugin {
@Override
public boolean supports(DocumentationType delimiter) {
	// we simply support all documentationTypes!
	return true;
}

@Override
public void apply(ModelPropertyContext context) {
	ModelPropertyBuilder mybuilder = context.getBuilder();

	Optional<BeanPropertyDefinition> beanPropDef = context.getBeanPropertyDefinition();
	BeanPropertyDefinition beanDef = beanPropDef.get();
            // get the field so we can check its annotations
	AnnotatedField field = beanDef.getField();
	if (field!=null) {
                    // if @NotNull is present, we make this field required!
		NotNull myNotNull = field.getAnnotation(NotNull.class);
		if (myNotNull!=null) {
			mybuilder.required(true);
		}
	}

}

}

For support for Min/Max you have to add :
// add support for @Min/@Max
			Min myMin = field.getAnnotation(Min.class);
			Max myMax = field.getAnnotation(Max.class);
			AllowableValues myvalues = null;
			if (myMin!=null && myMax!=null) {
				myvalues = new AllowableRangeValues(Long.toString(myMin.value()), Long.toString(myMax.value()));
			} else if (myMin!=null) {
				// use Max value until "infinity" works
				myvalues = new AllowableRangeValues(Long.toString(myMin.value()), Double.toString(Double.MAX_VALUE));
			} else if (myMax!=null) {
				// use Min value until "infinity" works
				myvalues = new AllowableRangeValues(Double.toString(Double.MIN_VALUE), Long.toString(myMax.value()));
			}

			if (myvalues!=null) {
				System.out.println("myvalues: " + myvalues);
				mybuilder.allowableValues(myvalues);

			}

I used Double.MIN_VALUE/MAX_VALUE as the word "infinity" isn't working currently (java.lang.NumberFormatException: For input string: "infinity").

Hi jfiala, i have implemented the #356 validation as you have mentioned above. @NotNull is working but how should i test the @size annotation while viewing the swagger api docs. appreciate your help on it pls

Basic JSR-303 support including @NotNull, @Min, @Max and finally @Size is added in PR  #1159

Please let me know if I also should add support for the @Email (resolving to type "string").

@NotNull, @Min, @Max worked but not @Size for me

e.g.

    @Size(max=100)
    private String email;

    @Size(min= 5, max= 250)
    private String lastname;

    @Size(min=10)
    private String location;

should result in the following Swagger spec API docs:
email":
{

    "type": "string",
    "maxLength": 100

},
"lastname":
{

    "type": "string",
    "minLength": 5,
    "maxLength": 250

},
"location":
{

    "type": "string",
    "minLength": 10,
    "maxLength": 2147483647

},

(works for me locally)

Thx, it works for me now. Just update to the last springfox-swagger2 (2.3.1)

@dilipkrish  can you help me about validator of swagger2.0


Changing the agents challenge strategy

Description
We currently have a very basic strategy.
When the agent counter challenges the first time as a claimer or challenges the second time as a challenger, he will increase the stake to a value where it should be sufficient to go to L1 if counter challenged again.
If counter challenged the agent will stop engaging in the challenge and wait for the finality period to be passed.
It is not necessary that the agent starts counter challenging directly after the first challenge. It is also more difficult because the agent does not know how gas prices will be (and thus cost of L1) in 7 days from now. It is no difference in terms of security to just start challenging once the message is finalized.
The new strategy looks like:
claim or challenge
if in a challenge game, wait until message is finalized
counter challenge with enough cost to go to L1 now + margin
if counter challenged again, check if it is still enough to go to L1
If enough funds are raised, trigger relayer for L1 resolution, if not go to 3
If not counter challenged anymore, wait for termination
Overall opportunity costs are reduced for the agent here.
Accaptance criteria

[ ] New strategy is implemented
[ ] Agent does not drain itselfe empty anymore
[ ] We have tests to make sure that agents stop challenging after a certain amount of stake
[ ] adapt tests to timetravel to correct timestamp

[ ] testing on mainnet needs new issue for this issue #1064


Optimize Activity::IsActivity helper method

This method is at the base of all of the AsXXXActivity conversion
methods which are called frequently. It was using a string::Split
100% of the time causing an unnecessary allocation. The focus was
removing that allocation which also came with a massive ~9x performance
boost as well.

BenchmarkDotNet=v0.10.14, OS=Windows 10.0.17134
Intel Core i7-8650U CPU 1.90GHz (Kaby Lake R), 1 CPU, 8 logical and 4 physical cores
  [Host]     : .NET Framework 4.7.1 (CLR 4.0.30319.42000), 32bit LegacyJIT-v4.7.3101.0
  Job-HXPPJN : .NET Framework 4.7.1 (CLR 4.0.30319.42000), 32bit LegacyJIT-v4.7.3101.0

Jit=LegacyJit  Platform=X86  Runtime=Clr

Method
Type
activity
Mean
Error
StdDev
Median
Scaled
Gen 0
Allocated

IsActivity_ORIGINAL
othertype
othertype
204.103 ns
4.0980 ns
4.7192 ns
205.755 ns
1.00
0.0188
80 B

IsActivity_OPTIMIZED
othertype
othertype
3.125 ns
0.1242 ns
0.3585 ns
2.975 ns
0.02
-
0 B

IsActivity_ORIGINAL
othertype
type
201.088 ns
4.4141 ns
6.0421 ns
200.532 ns
1.00
0.0188
80 B

IsActivity_OPTIMIZED
othertype
type
36.111 ns
0.7289 ns
0.7159 ns
35.987 ns
0.18
-
0 B

IsActivity_ORIGINAL
othertype/subtype
othertype
298.578 ns
6.1381 ns
15.1719 ns
295.676 ns
1.00
0.0415
176 B

IsActivity_OPTIMIZED
othertype/subtype
othertype
38.245 ns
1.0248 ns
1.0065 ns
38.109 ns
0.13
-
0 B

IsActivity_ORIGINAL
othertype/subtype
type
273.638 ns
6.0054 ns
6.9159 ns
271.152 ns
1.00
0.0415
176 B

IsActivity_OPTIMIZED
othertype/subtype
type
37.246 ns
0.7742 ns
0.7950 ns
37.156 ns
0.14
-
0 B

IsActivity_ORIGINAL
type
othertype
192.496 ns
3.6844 ns
3.6186 ns
193.298 ns
1.00
0.0143
60 B

IsActivity_OPTIMIZED
type
othertype
3.949 ns
0.0765 ns
0.0715 ns
3.987 ns
0.02
-
0 B

IsActivity_ORIGINAL
type
type
201.699 ns
4.2483 ns
6.3587 ns
199.729 ns
1.00
0.0143
60 B

IsActivity_OPTIMIZED
type
type
2.829 ns
0.0911 ns
0.0895 ns
2.812 ns
0.01
-
0 B

IsActivity_ORIGINAL
type/subtype
othertype
255.071 ns
3.8012 ns
3.5556 ns
253.991 ns
1.00
0.0348
148 B

IsActivity_OPTIMIZED
type/subtype
othertype
33.824 ns
0.7028 ns
0.8094 ns
33.689 ns
0.13
-
0 B

IsActivity_ORIGINAL
type/subtype
type
241.663 ns
4.8204 ns
6.5982 ns
240.832 ns
1.00
0.0348
148 B

IsActivity_OPTIMIZED
type/subtype
type
34.729 ns
0.7030 ns
0.6905 ns
34.917 ns
0.14
-
0 B

@drub0y This looks awesome. Could you just include a comment saying why this code is optimized, so that when I next look at it some years down the line I don't go "Why is this so complicated? This could be a single line of code!".

Done. And will try to make sure to do this in the future as well as it makes a lot of sense.


Add source maps to compiled JavaScript and CSS

This PR adds source maps to our compiled code 🪄
To support this change I've also included:

Pin to<EMAIL_ADDRESS>for legacy IE8 support (see govuk-frontend)
Replaced metalsmith-rollup with rollup() JavaScript API
Replaced metalsmith-uglify with minify() JavaScript API
Replaced metalsmith-fingerprint-ignore with custom asset hashing

☝ It wasn't possible to mix legacy Metalsmith plugins with source maps
Developer tools

We recently made a similar changes for GOV.UK Frontend:

https://github.com/alphagov/govuk-frontend/pull/3023
https://github.com/alphagov/govuk-frontend/pull/3088

Only thing to be aware of is hashAssets() from metalsmith-fingerprint-ignore
Was published ~5 years ago (GitHub repo long since deleted)
Should we add another commit that also fingerprints source map filenames?
//# sourceMappingURL=application.js.map

Should we add another commit that also fingerprints source map filenames?

I think we probably should if caching could result in the file and the sourcemap going out of sync?

I do so love getting rid of these ancient dependencies. Does the heart good.
A coupla comments, but mostly I think this looks great.

Should we add another commit that also fingerprints source map filenames?

I think we probably should if caching could result in the file and the sourcemap going out of sync?

@domoscargin I wasn't entirely sure if source maps get cached (they only load with Developer Tools open)
Makes sense though and then we can remove another Metalsmith package!

Hashing looks good to me!
Generates a 5000+ line diff between compiled files, but that's all just updated links due to new hashes, plus the sourcemap files.

Could we reword the commits which implement our own metalsmith plugins? At the moment, they're still using metalsmith, so it's not 100% accurate to have the (no metalsmith) bit (though I appreciate the relevant bits would be easy to rip out of the surrounding metalsmith guff).

Only thing to be aware of is hashAssets() from metalsmith-fingerprint-ignore
Was published ~5 years ago (~GitHub repo~ long since deleted)
Should we add another commit that also fingerprints source map filenames?
//# sourceMappingURL=application.js.map

@domoscargin I've resolved the recent package-lock.json conflicts and added source map fingerprinting 😊
Would you mind checking over the approach before I fill in those testing gaps?

Looks good and works locally! The only minor niggle I have is that it would feel nicer if the file and sourcemap hashes matched, but that's non-blocking, since everything is hooked up just fine anyway.

Looks good and works locally! The only minor niggle I have is that it would feel nicer if the file and sourcemap hashes matched, but that's non-blocking, since everything is hooked up just fine anyway.

@domoscargin I did actually start doing that as it annoyed me too 😆
But then it hit me. The source map's embedded sources (array of paths) and sourcesContent (file contents) might change in a way that keeps the Metalsmith file hash identical even though the source map hash has changed
(For example, package node_modules JSDoc or comment changes, formatting, semicolons etc)
So instead of renaming the source map to match the file hash, could we rename the file to match the map hash?
There's always a way

@domoscargin Needs a rebase (@dependabot PRs!) but I've matched the source map hashes in https://github.com/alphagov/govuk-design-system/pull/2497/commits/6aae7eae7dcdb2e47024e0576ca14d7ecb02f0f2
How do you think we look?

@domoscargin Needs a rebase (@dependabot PRs!) but I've matched the source map hashes in 6aae7ea
How do you think we look?

Ah, that's much nicer to scan through!
Would still be good to get some tests in place for the new/refactored functions, but otherwise looking good.


Base Skeleton

[ ]  create template
[ ]  Add Readme
[ ]  setup for python package
[ ]  test setup
[ ]  create  research

added to todo

Done with these issues


[1128] Bump govuk-frontend to 5.0

Context
Upgrade govuk-frontend to 5.0
High level official documentation for upgrade: https://frontend.design-system.service.gov.uk/
Additional documentation: https://github.com/alphagov/govuk-frontend/releases/tag/v5.0.0-beta.0
Link to Trello card
https://trello.com/c/bjuwB2xq/1238-govuk-logo-update-👑

Closing for now, we can re-open when we're ready to complete the upgrade.

This PR has been superseded by this one.

This PR has been superseded by this one.


allow newlines in embed's with context

Fixes #386: embed didn't allow line breaks in its with. It now does, which makes it match include's logic

@olets Any chance of some tests?

@dave-irvine still working on my js skills… I get lost thinking about how to make test.embed.js look like include-with in test.browser.js

@olets Any chance of a rebase and see if you can figure out those pesky tests?

I think this PR is outdated

I can add test for this case
test.embed.js
it('should allow newlines in embed "with" context', function () {
    twig({
        data: '|{{ foo }}||{{ bar }}|',
        id: 'embed.twig'
    });

    twig({
        allowInlineIncludes: true,
        data: '{% embed "embed.twig" with {\n"foo": "qwe",\n"bar":"asd"\n} %}{% endembed %}'
    }).render({ }).should.equal( '|qwe||asd|' );
});

Closing this due to lack of tests and need for rebasing. If this is still a problem, please open a new issue with more details.


fix: Remove ruby-version file as it is not used

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

v1.0.0
GitHub release

Your semantic-release bot :package::rocket:


Embedded lyrics support

Embedded lyrics feature is in TODO list, but I need more time to research.

Curious if there's been any progress on this?

@lightmaster This will be the next thing I'll look into in my TODO queue, though it is not guaranteed.


fix: java.lang.ClassCastException

org.roaringbitmap.buffer.ImmutableRoaringBitmap cannot be cast to org.roaringbitmap.buffer.MutableRoaringBitmap

Thanks.

Fixed in release 0.5.20.
Thanks.

@gpunti
Note that your membership to the RoaringBitmap organization is currently private: https://github.com/orgs/RoaringBitmap/people/gpunti
Given your valued contribution, you might want to make it public.

Made public. I hadn't noticed it was private. Thanks.


TypeError: sequence index must be integer, not 'str', Banned?

I get this on all accounts:
Traceback (most recent call last):   File "worker.py", line 136, in run     self.main()   File "worker.py", line 177, in main     map_objects = response_dict['responses'].get('GET_MAP_OBJECTS', {}) TypeError: sequence index must be integer, not 'str'

read #203 i try my luck later to see if it is the server.

The only thing I can do is catch that error and convert it into something more readable, as well as add more logging.
Which I just did, please check out 53d80dd.


Append operators.coreos.com to tasks deploying GPU operator from catalog

PR https://github.com/openshift-psap/ci-artifacts/pull/207 started to fix this, this patch just add two more lines to the fix
Append operators.coreos.com to tasks deploying GPU operator from catalog
Signed-off-by: Carlos Eduardo Arango Gutierrez<EMAIL_ADDRESS>

It should be subscriptions.operators.coreos.com rather than Subscription.oper...

It should be subscriptions.operators.coreos.com rather than Subscription.oper...

Thanks Omer! , also will fix the commit to be upper case :)

Also s/Subscriptions/subscriptions/g

/lgtm

/cherry-pick stable-v0.1

/approve
On Wed, Jul 14, 2021 at 9:20 PM Omer Tuchfeld @.***>
wrote:

/lgtm
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/openshift-psap/ci-artifacts/pull/217#issuecomment-880147092,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABZVQIW3UUXOZQ6RQHDJZDTTXXPPRANCNFSM5AMCDZOQ
.


Amazon EKS Cluster Tagging

I have issues
I'm submitting a...

[ ] bug report
[x] feature request
[ ] support request - read the FAQ first!
[ ] kudos, thank you, warm fuzzy

What is the current behavior?
We're not yet using the recently added EKS cluster tagging support. https://aws.amazon.com/about-aws/whats-new/2019/09/amazon-eks-supports-cluster-tagging/
Are you able to fix this problem and submit a PR? Link here if you have already.
Support for eks cluster tagging was just merged in the provider https://github.com/terraform-providers/terraform-provider-aws/pull/10307. Once released we can support it.
PR will look something like this: https://github.com/terraform-aws-modules/terraform-aws-eks/compare/master...morganchristiansson:tags

terraform-provider-aws v2.31.0 has been released

resource/aws_eks_cluster: Add tags argument (#10307)

https://github.com/terraform-providers/terraform-provider-aws/releases/tag/v2.31.0

Cool. PR welcome 😃

PR #550 submitted


Changes routine headlines

If a routine is only defined as sub, change to 'sub name', if only by
method to 'method name', and if by both to 'routine name' - where this was
not already the case.
The problem
Methods, routines, subs misnamed on Cool page #2308
Solution provided
Made changes

:+1: Thanks!


dependency-rule: import from json file cannot be resolved

Hi @rainerhahnekamp is there any way to allow importing from *.json file?
Sheriff not like this import and seems handle it as typescript file.
error  import ./my-sample.json cannot be resolved  @softarc/sheriff/dependency-rule

eslint.json``overrides section:
{
  "files": ["*.ts"],
  "extends": ["plugin:@softarc/sheriff/default"],
  "rules": {
    "@softarc/sheriff/deep-import": "warn",
    "@softarc/sheriff/dependency-rule": "error"
  }
}

I try sheriff in a huge repo which has resolveJsonModule compile option turned on.
Thanks for any guideline to this.

Hi @attilacsanyi, yup that's a feature request and should/will be supported

Since my response, we've been working on bringing out the CLI which has now just happened. This issue here is next.


fs9p should be packaged in a separate library

So users can use datakit-client.vfs and expose it over 9p easily.

Renamed, as it's shouldn't go in the client (since it's for writing servers). However, it could be separated from datakit.

Fixed by #280


Fix of spelling mistakes in Readme #377

Could you make it multiline for tbl2? I believe that was the original intention, if you consider the original styling in markdown.

I couldn't do it multiline without adding an empty line at the end.

local tbl2 = {
    "Multi-line",
    2,
    lastVal
}

What do you mean? This works fine without a empty line at the end.

Point 1
Point 2 local tbl2 = {   "Multi-line",   2,   lastVal }

local tbl2 = {
    "Multi-line",
    2,
    lastVal
}

You can't make code with more than one line in a list. It will automatically convert it into one line code.

Oh I see what you are saying now

If you remove the empty line on L49 the code will get formatted in one line.


why is loss reduced when distributed training

Hi, thanks for your great work.
I dont know why loss is reduced explicitly when distributed training. Is this not be done in pytorch ddp
https://github.com/open-mmlab/mmdetection/blob/ca11860f4f3c3ca2ce8340e2686eeaec05b29111/mmdet/models/detectors/base.py#L214

Sorry for not understanding your question. mmdetection is built on pytorch. We directly use pytorch DDP in distributed training.


Maximum/minimum stable range measurements

Hey everybody,
I was told that stable measurements between 45cm and 70m are possible with the current driver version. More should be possible I think, so obviously the driver (or wirings) need improvement ;-)
What maximum/minimum measurements did you achieve with your boards?
Thanks and cheers,
Thomas

When running 4 Anchors and 1 Tag on Arduino Pro Minis (8Mhz / 3.3V), I've seen accuracy within 35 - 40cm when using the DW1000Ranging_ANCHOR / DW1000Ranging_TAG examples and commenting out all code in the newRange of the Anchors (not sure if that has anything to do with it...?).
I also created another Tag using an Arduino Zero running a 32-Bit ARM Cortex M0+ @ 48Mhz / 3.3v and saw sustainable accuracy levels around 25 - 30cm.

@ttaber  How much can you expect with 1 anchor and 1 tag in an outdoor environment?

With 1 anchor and 1 tag (using the DWM1000) I have been getting line of site ranges to about 25m, with accuracy around +/- 30cm.

@MikeS159 Thanks for replying, I am getting just the same. Also can you tell me one more thing. Now I want multiple Anchors and a Single tag. What modifications are required in the DWM1000_Anchor and respective Tag program. That would be really helpful!

@kshitijdadhekar There are other example files which are used for multiple anchors (I believe), although I haven't go this working yet as I have only just built enough hardware. There are other questions about this, I suggest looking though some of the other issues to see how other people got it working.

hi guys,
made some tests with a single anchor, just to see the internal offset for my location system. see pics attached. I just tested low range, but will do further testing outside.
then i moved over to 3 anchors, calibrated them and measured and recorded the raw data. in the plots below you can see some position measurements I made with my localisation code. the real position in the plot was 1m/1m.
hardware:

offset test:

localisation

kuek

@kuek
Which code are you using for localization the same one from the given library example? Also on which platform have you implemented the above localization/transliteration?

Hi Ali,
wrote my own code... you can find it [here ] (http://www.localino.net)
as of today its implemented in python. But I have already thought to put it to the tag uC.
kuek

@kuek thank you and what is the maximum range you are getting from a single anchor?

@AliSiddiqui4 depends on the environment ;) you can see some results here

@kuek is this software fully open source. I mean can I just download and run it using the hardware similar to this library?

@AliSiddiqui4 it works with our software and hardware as explained on our website.

@kuek I just saw the instructable of the making the board and running the software. It seems I will have to design the PCB as it is not open source. Can you please confirm if the connection of the PCB are same as that shown below. Also are you using the DWM1000_Tag/Anchor Code on the arduinos from this library example?

@AliSiddiqui4 I can give you some of our boards, so you can save yourself a lot of time...

@kuek are you referring to your localino website store where the boards are available for purchase?

my results with DWM1000
channel 1, 110 kb/s, 2048 preamble lenght
range test LOS outdoor:
226m maximum range i got, signal lost
195m signal achived
80m stable connect without loss of the packets
20m stable connect from behind human body


Ability to enable features in the configuration

Despite looking through the documentation and issues, I couldn't find much besides https://github.com/nextest-rs/nextest/issues/50 (which requests a bigger feature).
Is there a way - and if not, would it be possible - to define Cargo features which should be activated when building?
Basically, I'd like to specify features in the configuration which I would otherwise specify on the command line (cargo nextext run --features somefeature).
The way I'd imagine writing this in the configuration would be as follows:
[profile.default]
features = ["somefeature"]

PS: Thank you for this absolutely amazing tool, it's so much nicer than cargo test!

Related (and possibly part of this enhancement) it would be great if there was a way to configure features for each crate within a workspace allowing something like run all tests with root/crate-a --features foo and root/crate-b --features bar.  The features are not all additive unfortunately so running --all-features isn't an option.  I can run them separately but that complicates CI and coverage output.


Allow users to log time relative to today

Closes #38

What do you think about supporting also today? For example today+1, today-2 etc.?
I thought about it because besides y we can use yesterday also, so I wonder if it would be consistent to use t+1 and today+1.

Sure, make sense. I added it.

Thanks!


Additional Gif Compression Settings

It would be useful if we could more aggressively Posterize the gif to be saved, to ensure that subtly different and changing colors are compressed into one non-changing mass of pixels.
Photoshop's 'save for web' legacy UI for gifs allowed the user to select the number of desired colors, as well as the ability to fine tune which colors the algorithm would actually try to use, settings for dithering, lossyness, etc.

Similarly, if the clip to be captured contains a subtle amount of noise but with colors that are not changing much otherwise, it would be useful to more aggressively consider those pixels as 'unchanging', something which the current 'Detect unchanged pixels' algorithm can be pretty bad at.

Related: #299 and #317

I rewrote the color quantizers.
The built-in quantizers now allows to select a maximum color count.


Task 1

@Jegan-git500
Task -1
Code verified. Provide a annotations
Note:
Annotations in UiPath are comments or notes added to activities to explain what they do. These annotations help make the workflow more understandable for anyone who might be reading or maintaining the workflow in the future
How to add annotations : Click on three dots in activity then choose “Annotations” then “Add annotations option” then you add annotations to your activitiy.


v-attr with xlink namespace is not working

I tried to write a v-attr with an xlink:href property. Unfortunately, I got a warning:
[Vue warn]: Invalid expression. Generated function body:  scope.href:'/svg/ico.svg#'+scope.option.icon
I had the following code, which according to the stack overflow link must have worked at some point:
<svg class="icon icon--{{ option.icon }}">
    <use v-attr="xlink:href: '/svg/ico.svg#' + option.icon">
</svg>

http://stackoverflow.com/questions/26811126/using-v-attr-with-attribute-that-contains-colon-xmlnshref-does-not-compile
One problem I've seen in so far is that the xlink Regex in the directives/attr.js doesn't match. But even fixing that, I'm still getting the same error:
Line 2: var xlinkRE = /^xlink:/ should be var xlinkRE = /^xlink/
Or am I completely misunderstanding the issue?

Thank you for helping me out. Now, a while later I'm running into a new problem. When I use a certain computed value in the xlink:href as follows, I get an error:
{{ currentTitle.icon }}
<svg class="icon icon--label">
    <use v-attr="'xlink:href': '/svg/ico.svg#' + currentTitle.icon"></use>
</svg>

Yet the output right above the SVG is correct. This is what I get:
index.js:68
Object {title: "Kategorie wählen", icon: "basic_map-40", noSelection: "Kategorien Übersicht"}

debug.js:34
[Vue warn]: Error when evaluating expression "'/svg/ico.svg#' + currentTitle.icon": TypeError: Cannot read property 'icon' of undefined

debug.js:34
[Vue warn]: Error when evaluating expression "'/svg/ico.svg#' + currentTitle.icon": TypeError: Cannot read property 'icon' of undefined

index.js:68
Object {title: "Portrait der Schweiz", icon: "switzerland", noSelection: "Kategorien Übersicht"}

And my computed looks as follows:
    currentTitle: {
        get: function() {

            var noSelection = appText['mapfilterRoot'].noSelection;

            if(this.$data.currentID == -1) {
                var current = noSelection;
            } else {
                var current = dataUtils.where(this.$data.options, 'id', this.$data.currentID)[0];
            }

            var res = {
                title: current.translationID,
                icon: current.icon,
                noSelection: noSelection.label
            }
            console.log(res);
            return res;
        }
    },

I experienced similar problems when using variables with v-class on an element that had a v-component on it.

What about 1.0.x version?

With version 1.2.x the syntax v-bind="'xlink:href': '#icon-'+ iconId" is still giving the error [Vue warn]: Invalid expression. Generated function body:  'xlink:href': '#icon-' + scope.iconId`

Well, v-bind syntax changed in 1.0.
v-bind:href="'#icon-' + iconId"

I get his error in Vue 2.2.6:
invalid expression: v-attr="'xlink:href' : '#' + icon"
from:
<svg><use v-attr="'xlink:href' : '#' + icon"></use></svg>

Is there already a solution to the xlink:href? I also got the same problem, but i'm not able to use v-attr or v-bind on that position because it is not only used in vuejs but also as other component not using vuejs

I'm not sure how you can have "the same problem" if you don't use v-bind?
This issue has been closed for alsomst 3 years. Please open a thread on forum.vuejs.org if you need help.

It worked for me when I stopped trying to combine the string in the html, it needs to be done elsewhere like in a method or a ternary expression:
https://codepen.io/getsetbro/pen/ybWdEv

Or you can simply do this:

An easier way:
<use :xlink:href="`#svg-id-envelope-open-text\`"></use>

An easier way:
<use :xlink:href="`#svg-id-envelope-open-text`"></use>

Locking as the issue is too old and shows pieces of api that do not exist anymore


[FR] launch apps with shortcuts

Feature Request
Would be nice to launch the apps through Shortcuts, thus adding them to desktop

I implemented this in #62, which adds an option to add the app directly to home screen, using a url scheme

+1

Done in v2.1


[Doc Improvement][Create project workspace for your bot app][2991341]

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/bots/design/bots.md
93
17
link
:white_check_mark:

msteams-platform/resources/bot-v3/bots-overview.md
90
6
link
:white_check_mark:

msteams-platform/sbs-gs-bot.yml
92
33
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/bots/design/bots.md
93
17
link
:white_check_mark:

msteams-platform/resources/bot-v3/bots-overview.md
90
6
link
:white_check_mark:

msteams-platform/sbs-gs-bot.yml
93
31
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.


title typeface and gravity?

how to change the title typeface (font)?
and is it possible to change the gravity for RTL layouts?
thanks...

The Toolbar class doesn't allow you to change typefaces directly. I'm guessing it can be done through title text appearances. RTL layouts are automatic if the device is in RTL mode.
Feel free to submit pull requests if you want. But there isn't much needed for this.


Links to help point to the IP and not the domain

The URL behind "model" in, for instance, "Input model equation:" points to the IP address of the server and not the domain name. Other help links also have this issue.

Unfortunately I've had to do this for the moment as the domain name just forwards on to the server IP address (but hides the forwarding using frames). Hence, an URL to e.g. http://theonlinemcmc.com/#themodel doesn't actually point anywhere.

Ok. I think some anti-virus software can (stupidly) block direct IP addresses because some scammers use them for phishing. But I guess most users will be Mac/Linux/Windows power users who should know better?
Does AWS provide a DNS service?

They (Google Cloud, but I imagine also AWS) do provide a DNS service, but I wasn't 100% sure how to set it up and change this with my domain name host. It is something that I'd like to do (if I don't end up hosting the site locally).


Review versions / alternatives to SOUNDEX

FreeBMD currently uses Soundex to offer a means of searching for names quasi-phonetically but has issues (see https://www.freebmd.org.uk/FAQ.html#20).  Is anything better out there now?  NB if something better recommended, might be used on FreeBMD in addition to FreeBMD2

Is it as easy to implement any version of Soundex?  Or is sticking with the current one easiest?

The main problem with soundex is that it offers really poor precision, in that it doesn't usually capture the variations on a name, nor does it exclude unrelated names. I would suggest removing soundex completely, and instituting a human-curated dataset of related names of all sorts: forenames, surnames, place names (already available in the CEN/REG gazetteers), occupations, etc. These authority lists could be initially populated from our data, and then worked on by volunteers as a separate task.


Stray console.log

Hi,
You have a stray console.log here:
https://github.com/Tidwell/nodeSteam/blob/0a720356760d4192823a84317bceafb822c0c632/lib/steam.js#L754

There is also a open Pull requests to fix this issue: https://github.com/Tidwell/nodeSteam/pull/32


Hills XR Pro Alarm

Hi,
I love that someone has done this! I have installed Ultrasync Beta on my Home Assistant but I only have 6 entites, is that correct or should I see alot more. Not sure if this is compatible with the latest hills xr pro panel or if its just me.

sorry for the dumb question but how where do I

create a service?

If it's working correctly, you should see the sensors you've set up.  As for setting up your own Automation. That's a bit tricky the first time. You need to open up your main home assistant configuration file and simply add the entry under there (reload Home Assistant to read the configuration).
I believe today Home Assistant is advanced enough that you can write your Automation directly into it through the Web page with Admin access.  It's more of a wizard.  But you can follow through and chose time when it asks you what you want it to trigger on, etc. (you can use the information above and populate the wizard itself).
This isn't the best answer (i realize this), but you're a bit outside of the scope of this small plugin :).

Hi,
Thanks for responding. Not sure if this is the correct way way to do it but I created a service to arm/stay/disarm alarm, then allowed services on HomeKit integration and now when I leave home it is arming automatically and disarming when I arrive home. It is exactly what I wanted to do, so thank you for creating this.

I also figured out how to rename the zones and area. 👍

I'm really glad to see you figured it all out! Great job! :+1:

I’ve created an automation now of a light is left on any any room that has a motion sensor for more than a minute and no motion is detected it will turn the light off in that particular room. The kids always leave every light on in the house so this will save me money in the long run. I have sent you a small token of my appreciation. Hopefully you receive it

Sorry to take so long to get back to you! Thank you so much for your contribution! It's incredibly kind of you!
I'll close this ticket off, but feel free to open a new or ask any questions you may have in another! 👍🙂


Implement IConnectionLifetimeFeature

This feature allows the application to forcefully abort the underlying transport without going through the pipe. It's implemented in Kestrel and should be implemented in the transport layer it should be implemented at the http.connections layer.

Is this just about matching what Kestrel does and implementing all the features or is there a specific use case this enabled? (In favor of doing this either way, just want to understand the primary motivation)

It's more of a completeness thing. I noticed we didn't implement in the transport layer (it got added in 2.2).

Would we use this to implement the higher-level Abort constructs on the server/client?

I think we should.


Slack user id format with name

We support the Slack message format for users, ie. <@userid> which is replaced with @username, however Slack can also send <@userid|name> which we currently fail to replace.
The SlackAdapter keeps a cache of the connected users, so we should be able to ignore whatever's on the right side of the pipe and just allow it to exist and replace it like currently do.

Pretty sure this one is fixed for some reason. Did you fix it and forgot to close the issue?

I don't think it's fixed - I just haven't had Slack send me those other types of formatted messages :smile: They exist according to the documentation which was why I opened this issue.


Update generate.fsx

There is no docs directory and also no generated html (anymore)

The failure 1) Test Failure : FSharpPlus.Tests.Parsing.parse is due to the assumption about current timezone.

@ShalokShalom Actually that comment is not wrong. If the builds succeed the docs folder is created and the html files are generated there.
Then if you release them, they are uploaded to the gh-pages branch.

Oh I see

I'm going to close the pull request. Thanks @ShalokShalom and @gusty !


feat(codegen): correctly print type-only imports/exports

#2993  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @Dunqing and the rest of your teammates on  Graphite


Appstudio update test-component-pac-rzgv

Pipelines as Code configuration proposal
To start the PipelineRun, add a new comment with content /ok-to-test
For more detailed information about running a PipelineRun, please refer to Pipelines as Code documentation Running the PipelineRun
To customize the proposed PipelineRuns after merge, please refer to Build Pipeline customization

Pipelines as Code CI/test-component-pac-rzgv-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
8 seconds
init

✅ Succeeded
19 seconds
clone-repository

✅ Succeeded
28 seconds
build-container

✅ Succeeded
18 seconds
deprecated-base-image-check

✅ Succeeded
19 seconds
inspect-image

✅ Succeeded
8 seconds
clair-scan

✅ Succeeded
35 seconds
clamav-scan

✅ Succeeded
9 seconds
sbom-json-check

✅ Succeeded
12 seconds
label-check

✅ Succeeded
7 seconds
show-summary

✅ Succeeded
7 seconds
show-sbom


Answer format for seq2seq models

Hi, Thanks for the great resource!
I was wondering what is the correct way to evaluate seq2seq models (like CBQA T5 in your paper) on your data.
For instance, question id 88bdb808 in mintaka_dev.json is a count based question but has answer type "entity". Would the target answer be "6"? one of the entities? all of the entities exactly?
This applies in other situations like the comparative and SUPERLATIVE where it is not clear when to use the mention or answerNum as the ground truth.
Would it be possible to provide a script denoting the target labels for hits@1 please?
Best,
Carlos

Hi! Sorry about the delay! We made the changes on Oct 25 but forgot to close this issue.

Superlative and Count questions are reformatted with an additional supportingNum or supportingEnt field to distinguish between the answer and supporting information.
An evaluation script is available! See Evaluation. To evaluate with a T5-like model, you can run something like

python evaluate/evaluate.py \
  --mode text \
  --path_to_predictions evaluate/examples/example_text_predictions.json \
  --lang en


Notes

DON'T MERGE THIS, delete oct 5th

Discussed this with @ntalluri and we'll use https://github.com/ntalluri/spras/pull/1 instead, so we can close this.