Prevent Specific Folders from uploading

It would be nice if we could place a file like ".nocloud" in a folder on the local-media mount to prevent that folder from being uploaded to the cloud. This is what I did with my upload scripts before moving my install to docker. Maybe this is already possible and I overlooked it.. Thanks, working great so far though I haven't tried the upload and deletion scripts yet..
Edit: Just realized that since you can pass arguments with the upload script to rclone, you can use the argument --exclude-if-present="" to accomplish what I wanted
Update: For some reason the arguments aren't being passed to rclone. Here is what I have in my crontab:
20 8 * * *    docker exec plexdrive rmlocal -v --bwlimit 25M --exclude-if-present=".no_cloud" 20 4 * * * docker exec plexdrive cloudupload -v --bwlimit 25M --exclude-if-present=".no_cloud"
This is an excerpt from ps aux ran inside the container:
root       724  0.0  0.0  18048  2832 ?        Ss   04:24   0:00 /bin/bash /usr/bin/rmlocal -v --bwlimit 25M --exclude-if-present=.no_cloud root       761  0.0  0.0  18208  2976 ?        S    04:24   0:00 /bin/bash /usr/bin/rmlocal.script -v --bwlimit 25M --exclude-if-present=.no_cloud root       762  0.0  0.0   4380   700 ?        S    04:24   0:00 tee /log/rmlocal.log root       811  0.0  0.0  23136  4208 ?        S    04:24   0:00 sort -n root       812  0.0  0.0   4384   660 ?        S    04:24   0:00 cut -d: -f2- root       813  0.0  0.0   7588   888 ?        S    04:24   0:00 awk {$1=$2=$3=""; print $0} root       814  0.0  0.0  18212  2492 ?        S    04:24   0:00 /bin/bash /usr/bin/rmlocal.script -v --bwlimit 25M --exclude-if-present=.no_cloud root       991  0.0  0.0  18252  3304 pts/1    Ss   04:24   0:00 /bin/bash root      1070 12.9  1.7<PHONE_NUMBER>96 ?       Sl   04:25   0:16 rclone move --config=/config/rclone.conf --buffer-size 500M --checkers 16 /local-decrypt/music/somedir/somefile root      1084  0.0  0.0  34424  2888 pts/1    R+   04:27   0:00 ps aux
The arguments get passed to the script inside the container but not to rclone. Please let me know what I'm doing wrong or if its not just me. Thanks!
Update 2: After further testing, arguments are passed by the cloudupload script but not by the rmlocal script. Also I have found that using the --exclude-if-present or --exclude parameters with rclone won't work on parent directories of the files the scripts are trying to move or copy because since the paths the scripts copy or move are specific they negate what I'm trying to exclude from being moved or copied. So it would be nice if we could tell the script directories we would like excluded. For the time being, since I don't want my music being copied I can use --exclude=".flac" --exclude=".mp3". But not until I can get these parameters to pass to rclone from the rmlocal script

I was also interested and managed to implement like https://github.com/wiserain/docker-cloud-media-scripts/commit/dbca41deaa5de861e4cc09c8228977f829025a04
I checked working in my system, but not sure for general use. Just for your reference.


Optional flag to copy row starts/col starts when using ParMult()

@tzanio @v-dobrev where is the documentation: https://mfem.github.io/doxygen/html/namespacemfem.html#a8ae7a4e2b11398ce395166a723f129c1 updated? Should add this flag there.

@tzanio @v-dobrev where is the documentation: https://mfem.github.io/doxygen/html/namespacemfem.html#a8ae7a4e2b11398ce395166a723f129c1 updated? Should add this flag there.

It is automatically generated from the source comment with Doxygen.
You can document the specific arguments by prefixing them with @a, see e.g. https://github.com/mfem/mfem/blob/7d75b885f88a585b9a7bd5975cef2c7105f8f077/linalg/hypre.hpp#L494-L503

Please add the ready-for-review label when this is ready...

Merged in next for testing...


readme: recommend https urls

kubectl apply is arbitrary code execution as your user on a cluster.
As such, the urls should not be trivially MITM-able to malicious code on
e.g. coffee shop wifi.
This updates them to the https urls they redirect to anyways.

Thanks for your PR. We're working on getting https support on the short link service we use (cc @jbeda) so I'd rather not merge this PR at the moment.
I'd appreciate it if you would raise an issue before sending a PR in the future so that we can talk about the problem before you invest time in a solution.

Apologies for opening a PR rather than an issue; it seemed like both would be equally easy on my end and one might be slightly easier on your end were it to be a desirable change.
I strongly feel that secure recommendations are more important than vanity urls.
Even if they'll be replaced soon, that doesn't seem like a reason to not temporarily use the github links until such a time as your shortener has a valid certificate.
Given the splash Firesheep made several years ago, it seems reasonable to assume wifi MITM of http resources is a real threat.

Thank you. I agree that https is important, and we're working on it internally. I've raised #22 to track this.


Fix GPUParticle3D emission point generation

Fixes #53035.
tex->create_from_image(image) was missing from the 4.0 code. (It's there on the 3.x branch.)

Thanks!


Bug: Cursor Always Set to End of Input

Any time you input or delete characters, the cursor/selection is set to the end of the input.
This should instead set your cursor/select to after the character that was just inserted.

Fixed.


Rename the Margin.None enum value to Margin.Default.

Margin.None value can be misleading, as the name suggests that no margin will be applied to the element, which is not the case. This PR renames the enum value to Margin.Default to more accurately describe its intended use.
Note to add to the v7.0.0 Migration Guide #8447:

Replace Margin.None with Margin.Default

Description
Closes #8650.
How Has This Been Tested?
unit
Type of Changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation (fix or improvement to the website or code docs)

Checklist

[x] The PR is submitted to the correct branch (dev).
[x] My code follows the code style of this project.
[x] I've added relevant tests.

Hmm, not sure about this because Margin.Default and Margin.Normal would mean the same thing but are different values. We may have to rethink this Margin parameter. The example is also very bad, implying you can have both None and Dense when in reality that is not possible.

Does this mean that current None and Normal are also the same things?

I don't know, probably not. But the words Normal and Default kind of mean the same, that is confusing

Finding another name that won't be as confusing as None or Default, and won't clash with CSS terms like unset, is challenging. Perhaps Undefined could work? If not, I have no better suggestion in mind.
Thinking more about this, now that users can set their own default values, named values such as Normal or Dense have lost much of their significance. Numerical values would be less ambiguous, more practical, and more flexible, but adopting them would represent a significant paradigm shift for the library.

I vote to rework this parameter entirely at the same time to avoid churn

@ScarletKuro Is this a concern for https://github.com/MudBlazor/MudBlazor/pull/9434#issuecomment-2359333865 ?

@ScarletKuro Is this a concern for #9434 (comment) ?

No.

I am closing this. We will address the margin functionality later. In the meantime it could be clarified better in the docs.


Twilio metrics: Track text messages sent in the db

Currently we don't store anything about text messages being sent in our database. On the Twilio side everything gets deidentified, so we can't produce meaningful delivery stats filtered to orgs or facilities. The delivery status of a message can't be determined at time-of-send, so the long-term plan here is to add a queue based system to retrieve delivery status from Twilio and persist it to our database. The immediate need is is just a text_message_sent table to includes the Person, patient_link if available, and the Twilio message sid.
Acceptance Criteria:

[ ] The TextMessageSent entity and its migration are added
[ ] The SmsService is updated to persist the Twilio message sids as indicated in the narrative description above

@nullflux When is patient_link not available? Do we ever send an SMS without a patient link?

@nickscialli-usds At this time we do not send an SMS without a patient link

Having a slack discussion that should probably be documented in this ticket: we should whether the patient link ID should be optional and, if not, whether we need to store the patient ID in this table (we should be able to derive that from the patient link).

@nickscialli-usds If patient were left off the row we would have to traverse through TestOrder to get to the Patient, but you're correct:

PatientLink will always have a Patient associate it with
SMS are only sent, currently, for/with a PatientLink

Given that, I think it's totally fine to just store patient_link_id, twilio_message_sid and a timestamp


Set the type of glass break sensors to 'vibration'

HA will display the vibration icon instead of connectivity for these sensors (similar to motion sensors).
This really helps when you have several sensors in the same room with just the room name (using the type to distinguish them).

Coverage remained the same at 86.92% when pulling 5b530c7a1cc151f2744f5a57aac4cf0a1c7aaaa3 on vickyg3:master into 76d702011880e471ed67e73e7100a0f5de011a19 on MisterWil:master.

I disagree with this if only because I don't think sensors that only have an online/offline status should show as a different type. It gives the impression that the sensor is reporting vibration/glass break status when it is in fact not giving that sort of data at all. I think a better approach would be to place the type of sensor into the name of the component in hass.

Indeed, there is a vibration device_class that can be used.

It gives the impression that the sensor is reporting vibration/glass break status when it is in fact not giving that sort of data at all.

That is a good point, but the same "bug" exists with motion sensors and HASS then today. Because abodepy reports motion sensors with generic_type as 'motion' and on HASS it means that motion is being detected rather than just on.
Since abodepy is basically just reporting the connectivity status of the motion sensor as well, it should report them as a 'connectivity' device and not a 'motion' device. Thoughts?

Right. It seems that a lot of the devices in Abode don't actually even report their status and merely report "online" and "offline". I was hopeful that there were certain devices that would report their status correctly, but given the lack of actual data I couldn't confirm one way or the other. I still believe there are devices which report information to the front end such as temperature and whatnot, but, again, I don't own the devices so I'm not sure.
Once more devices have been reported I'm hopeful that I can narrow down which devices are useless (online/offline), and which can report useful data (temp, occupancy, etc).

I think a better approach would be to place the type of sensor into the name of the component in hass.
I sent a PR to hass to do something similar: https://github.com/home-assistant/home-assistant/pull/9515

I guess we can abandon this PR now.


Remove unused stuff

what

Remove kind based dev testing env.  Docker compose dev testing env will be used and maintained

kind reminder for review @Kuadrant/engineering


Create an intro

Add an intro about yourself: who are you, what is your strength, why are you here.

copy-paste project issues from global projects to local projects


Fixed bug in HeatMap aggregation when no global ordering found

When generating a HeatMap the aggregation code attempts to figure out a global ordering for the x-axis and y-axis categorical factors by considering the partial orderings of the y-coordinates for each x-coordinate using topological sort. Finding a global ordering in this way can fail in which case the entire HeatMap fails to display. If no global ordering can be found this now simply sorts the y-coordinates ensuring something is displayed.

This should really be merged before 1.8. I'll try to put together a unit test for it tomorrow.

Seems reasonable to have a fallback. I'm happy to merge once the unit test(s) are added and go green.

@jlstevens I'm having trouble reproducing the error now, but I know I've run into it a bunch of times on real datasets. Also possible this was fixed in another way but having a fallback won't hurt anyway. Would you mind merging?

Looks good. Merging.


SelectableText.rich used along with TapGestureRecognizer is not working

I am trying to create a Rich text widget that has clickable links.
import 'package:flutter/cupertino.dart';
import 'package:flutter/gestures.dart';
import 'package:flutter/material.dart';

class InlineTapableElements extends StatefulWidget {
  @override
  _DemoComponentState createState() => _DemoComponentState();
}

class _DemoComponentState extends State<InlineTapableElements> {

  TapGestureRecognizer _recognizer = TapGestureRecognizer()
  ..onTap = () {
    print('tapped on textspan');
  };

  @override
  Widget build(BuildContext context) {
    return SelectableText.rich(
        TextSpan(
            children: [
              TextSpan(
                text: 'Some text', recognizer: _recognizer)
            ].toList()));
  }

  @override
  void dispose() {
    _recognizer.dispose();
    super.dispose();
  }
}

Whenever i am using SelectableText.rich to build, the tap recognizers are not getting recognized. But if i am using the norma Text.rich method, then everything seems working fine. Is there a solution by which i can make the text selectable and listen to the click events directly from the TextSpan or InlineSpan elements.

Hi @anjaneyasivan
I tried this code myself
and I can confirm that onTap  desn't trigger,
although I think it's a quite understandable conflict.
Thank you

+1, Is there any progress?

I use a GestureDetector to handle tap(onTapUp seems cant be triggered so i use pandown panend...) and build a paragraph to know what textspan contains the tap offset and trigger it's onTap.But it need a extra paragraph, reduce performance and increase memory usage

Somebody please fix this 😭

@windrunner414 Is it possible that you give a simpler example? Just like a single TextSpan with a gesture recognizer would be nicer. Hard to know what your workaround is in that piece of code

@Cretezy
class  A extends StatefulWidget {
    final TextSpan textSpan = TextSpan(children: [... some TextSpan with tapgesturerecognizer]);
   createState...
}
class _AState extends State<A> {
  Paragraph _paragraph;
  ParagraphStyle _paragraphStyle;
  ParagraphConstraints _paragraphConstraints;

  int _currentTapUrlSpanIndex;
  Offset _startPosition;
  Offset _nowPosition;
  Timer _cancelTapTimer;

  bool _needRebuildParagraph(
      ParagraphStyle style, ParagraphConstraints constraints) {
    if (_paragraph == null ||
        _paragraphConstraints != constraints ||
        _paragraphStyle != style) {
      _paragraphStyle = style;
      _paragraphConstraints = constraints;
      return true;
    } else {
      return false;
    }
  }

  TextSpan _getSpanByOffset(
    Offset offset,
    TextStyle textStyle,
    BoxConstraints constraints,
  ) {
    if (_needRebuildParagraph(
      ParagraphStyle(
        fontSize: textStyle.fontSize,
        fontFamily: textStyle.fontFamily,
        fontWeight: textStyle.fontWeight,
        fontStyle: textStyle.fontStyle,
      ),
      ParagraphConstraints(width: constraints.maxWidth),
    )) {
      final ParagraphBuilder builder = ParagraphBuilder(_paragraphStyle);
      widget.textSpan.build(builder);
      _paragraph = builder.build();
      _paragraph.layout(_paragraphConstraints);
    }
    final TextPosition position = _paragraph.getPositionForOffset(offset);
    if (position == null) {
      return null;
    }
    return widget.textSpan.getSpanForPosition(position) as TextSpan;
  }

  void _checkTap() {
    if (_currentTapUrlSpanIndex != null) {
      _currentTapUrlSpanIndex = null;
      if ((_nowPosition - _startPosition).distanceSquared <= 900 &&
          _cancelTapTimer.isActive) {
        _cancelTapTimer.cancel();
        final TapGestureRecognizer recognizer =
            span.recognizer as TapGestureRecognizer;
        if (recognizer.onTap != null) {
          recognizer.onTap();
        }
      }
    }
  }

  @override
  Widget buildBox(BuildContext context) {
    final TextStyle textStyle = TextStyle(
      fontSize: 16,
      color: Colors.black87,
    );
    final Widget text = SelectableText.rich(
      widget.textSpan,
      style: textStyle,
    );
    return LayoutBuilder(
              builder: (BuildContext context, BoxConstraints constraints) =>
                  Listener(
                onPointerDown: (PointerDownEvent event) {
                  _startPosition = event.localPosition;
                  _nowPosition = event.localPosition;
                  _cancelTapTimer =
                      Timer(const Duration(milliseconds: 300), _checkTap);
                  final TextSpan span = _getSpanByOffset(
                    _startPosition,
                    textStyle,
                    constraints,
                  );
                  if (span.recognizer is TapGestureRecognizer) {
                    _currentTapUrlSpanIndex = widget.textSpan.children.indexOf(span);
                    if (_currentTapUrlSpanIndex == -1) {
                      _currentTapUrlSpanIndex = null;
                      return;
                    }
                  }
                },
                onPointerMove: (PointerMoveEvent event) =>
                    _nowPosition = event.localPosition,
                onPointerUp: (PointerUpEvent event) => _checkTap(),
                child: text,
              ),
            );
  }
}

it's simplest, maybe.
I wrote this by mobile phone

Hi, using @windrunner414 fix I made an example project, which works for me with SelectableLinkify: https://github.com/cmaster11/flutter_selectablelinkify_open_workaround

I have same issue.
Is there any progress for solving this please?

same here

I have the same issue in mt env.

I face the same issue!

Any solution?

This is a blocker for flutter_html https://github.com/Sub6Resources/flutter_html/issues/169#issuecomment-599430560

why was this issue closed ?

@mrifni it was fixed in master branch

I think it merged to stable branch. flutter 1.20.1

This is broken again.
Gestures are not detected and to have a second check I tried @iapicca code provided in the 1st comment and it is not working as expected.

@SANSKARJAIN2 as for this comment the issue should be fixed on master
on which channel are you experiencing the issue?

@SANSKARJAIN2 as for this comment the issue should be fixed on master
on which channel are you experiencing the issue?
Sorry,
I am working on stable version.
will migrate to master.
Thank you for clearing my issue.

Still experiencing this issue  (https://github.com/flutter/flutter_markdown/issues/173).
Flutter 1.24.0-10.2.pre • channel dev • https://github.com/flutter/flutter.git
Framework • revision 022b333a08 (3 days ago) • 2020-11-18 11:35:09 -0800
Engine • revision 07c1eed46b
Tools • Dart 2.12.0 (build 2.12.0-29.10.beta)

@CiriousJoker
can you provide a minimal reproducible code sample?
tagging @pedromassango for visibility


cert-manager-set-ingresss-shim

towards https://github.com/giantswarm/giantswarm/issues/29878
to align with vintage
/run cluster-test-suites

/run cluster-test-suites


Add 'Montserrat' to the font-stack in theme.font

With Montserrat at the front of the stack, apps that have downloaded the font asset will render Montserrat, and apps that haven't will continue to use the Helvetica stack

Should be addressed here https://github.com/pricelinelabs/design-system/pull/103


When participating countries have been fixed for WLM, release update with template inclusions

Some country codes in WLM templates are not working because the codes allowed are defined at https://commons.wikimedia.org/w/index.php?title=Template:Wiki_Loves_Monuments_2021&action=edit . The problem is that this template keeps changing as countries add themselves.
I am trying to talk to the WLM organizers to see if we can have a set date to manually check the contents of that template and then have an if statement that only attaches the WLM template if the country code matches the codes listed in that template. If they agree, then we can do nothing for now, but release an update on the set date with this change.
The update should be something like:

if country code correponds to [list country codes supported by template]
then add WLM template with that country code
else do not add template

The organizers have asked that we make it clear to participants whether their upload will be included in WLM or not. The easiest way to do this is to make the display of "You are contributing to Wiki Loves Monument campaign etc" in the final step, conditional on the country being in the list of country codes.
So:

if country code correponds to [list country codes supported by template]
then display "You are contributing to Wiki Loves Monument campaign etc" in the final step
else do not display that

Edit: this should not be merged before alpha release

Added the appropriate countries as per https://commons.wikimedia.org/w/index.php?title=Template:Wiki_Loves_Monuments_2021&action=edit at https://github.com/commons-app/apps-android-commons/commit/c973114dedc4f52ca399f56201c54bded4fbc954 , with the exception of Italy (requested on https://commons.wikimedia.org/wiki/Commons:Mobile_app/WLM_release#Requests_for_your_country_to_opt_out_of_in-app_WLM_uploads )


Add functions and types needed for ECDH-based decryption

Hi folks! :wave: it's me again :)
This set of changes adds:

derive_key function,
new mechanism used with ECDH (with associated type),
generic secret type that is used to hold the generated secret in token's memory.

As usual, I've tested that with Yubikey that I have and my shim code to Sequoia for a nice secp256r1 based ECDH-decryption.
It works fine :)

I approve the changes, just one thing about adding one abstraction and also a few annoying comments about naming. This is just to follow the systematic mapping we kind of use here to map between the spec names/structure to the Rust crate ones.

Yep, I really appreciate your comments @hug-dev as it takes me some time to get into PCKS#11, the conventions used here and binding rust to C in general all at the same time :)
Thanks for maintaining the crate! :clap:

Thanks for for contributing :) And thank you for applying the changes.
It all looks code now but one last thing I forgot on my side: would you mind adding one test that uses the derive_key function in a simple way in here?

Certainly :+1:

Okay. It took me some time to figure out EC key generation (in my use-cases I always use keys already generated on card).
Then I found out that there are some differences between PKCS#11 HSMs with regards to ECDH1_DERIVE and I adjusted my working code for the unit test. For my downstream project I'll setup integration tests with real tokens that I have in possession... just in case :)
Phew, hopefully that's it!


Share code between qubes-mirage-firewall and qubes-miragevpn in a separate repository

This should lead to more shared code and less required maintenance. It is not really clear what the API should be, but we should strive towards the goal of more shared code :)
This repository as an advantage over qubes-mirage-firewall doesn't use any OCaml objects, and thus is easier to understand.

I totally agree with that, and this will possibly open a path for more virtual network functions. If we're only considering network  functions running in Qubes, maybe it can be added to mirage-qubes? I neither have clear idea what shape the API should take.

Let's get into more detail in https://github.com/mirage/mirage-qubes/issues/70


Is it a bug? jQuery conflict with jq.appframework.js plugin

please see the comment in script.

$(function(){
            $('#switch').click(function(e) {
                // HTML:  id="aboutSwitch" class="collapsed"
                // When using jq.appframework.js & jquery-2.1.1.js
                // the "$(this)" is not same to "$('#switch')" object!
                // if using jQuery or appframework alone, everything is ok.
                // is it a bug?
                // jquery-2.1.1.js conflict with jq.appframework.js ?
                $(this).toggleClass('collapsed');
            });
        })

hi Luiscarlostic,
Maybe i am doing something wrong, but from my understanding above you are saying...lets take example, new project login view app, all i have to do is to remove
    <script type="application/javascript" src="app_framework/2.1/appframework.js"></script>
    <script type="application/javascript" src="app_framework/2.1/appframework.ui.js" data-ver="1"></script>

and replace with ??
the moment i include script to jquery the app goes blank, should i not include jquery but rather use af.ui.jquery..??
how do i go about this?

You include the following

jquery
af.ui.jquery.js

Also - for questions about App Designer projects in the XDK, go to https://forums.html5dev-software.intel.com/

Hi, I fixed it by using only 2 scripts

great stuff...it is working.......
i will post on forum suggested.


AWS Redshift EXTERNAL TABLE no longer in catalog - Similar to #1897

Description
Recently updated and an artifact of this update I've lost visibility to External Table's in AWS Redshift.  I checked and see a driver update appears to have resolved similar issue as noted under issue 1897 (https://github.com/dbeaver/dbeaver/issues/1897).
Under Database menu, Driver Manager, AWS/Redshift_JDBC, click edit button, this opens a dialog box "Edit Driver 'AWS/Redshift_JDBC'", under Libraries tab, click on the driver (in my case c:\java\aws\Redshift), right side "Download/Update" button is grayed out.
I was going to hunt down AWS's latest Java driver for Redshift, if there is one, but last time I worked around DBeaver and an AWS/Redshift driver issue I had to uninstall and re-install (time consuming).
DBeaver Version
<IP_ADDRESS>303040621
Operating System
Windows 10 - 21H12
Database and driver
psql (PostgreSQL) 14.2
(I couldn't determine the Java version from the GUI).
Steps to reproduce
Connect to Redshift instance
Navigate through the database, schema and open the Tables branch.
Expected result, pre update, to see External Tables listed.  They are missing.
Additional context
No response

Hello @orzom411
Please check the Early Acces version: https://dbeaver.io/files/ea/
The issue may be solved there.

Thank you @LonwoLonwo, early access version has corrected the catalog issue.  Thank you for your help.


[Bug]:

Current Behavior
Hi I am Building the apis where the input prompt will send to the chatgpt and gets the response.
I was implemented using gptcache in fastapi python.
But the api responses was getting same and sometimes getting the older api responses eventhough the input to the api and the input prompt to the chatgpt was sending correctly.
Expected Behavior
No response
Steps To Reproduce
No response
Environment
No response
Anything else?
No response

please give more information about your problem, like: your demo code. and you should write more reasonable issue title


Use identical XDR files in all services

This modification https://github.com/stellar/stellar-core/commit/e3e334d4f9bae35c9fe944a7e097080295f7e797 has not been processed in this stellar/go repository. I guess it has no technical impact, but the protocol should be the same in all services.

Thanks, this will be updated. I think we should really consider https://github.com/stellar/stellar-core/issues/984 otherwise situations like this will be happening again and again.

Closing because we have this issue


refactor: set Neogit cwd to git root if cwd unspecified

This sets the Neogit cwd to the git root if left unspecified. This makes Neogit more in line with Magit in its presentation of files.
Some sceenshots below.
As a note, my git root is ~/dots for the repo I am demonstrating this in and I am opening Neovim in my dots/.config/neovim/lua directory.
Before:

After:

Closes #906

Simple! Nice idea.


fix: add text overflow to chip text

add text overflow to chip text with max-width
render icon span only if icon is present
pass optional title for accessibility
add few missing keys

Before:

After:

Fixed a few more places where it can occur:


Implement multi-frame assignment algorithm

This pull request adds support for multi-frame assignment (MFA).

This implementation is heavily based on the previous pull request for MFA #344. However, while that was written in MATLAB using the MATLAB wrapper to call it from Stone Soup, this version is written in pure Python and does not require a MATLAB installation.
As with the original MATLAB implementation, this is based on the article: Xia, Y., Granström, K., Svensson, L., García-Fernández, Á.F., and Williams, J.L., 2019. Multiscan Implementation of the Trajectory Poisson Multi-Bernoulli Mixture Filter. J. Adv. Information Fusion, 14(2), pp. 213–235.
The actual logic of the algorithm is contained within two files, mfa_init.py and mfa_step.py, which are intentionally independent of any other Stone Soup code so that they could be used as-is in any other code base where they might be useful.
The results are track oriented (or, in the language of the above paper, trajectory orientated). The hypotheses for each track are stored its tag field (as in the MATLAB implementation). Each time step, the algorithm computes the best overall hypothesis (i.e. the best combination of track hypotheses) based on the whole sliding window but does not directly expose this result. However it would be easy to add if a suitable way of expressing the result could be found. Ultimately, they get exposed indirectly by the n-scan pruning (which prunes track hypotheses that don't match the best hypotheses before the sliding window).
There are two optimisation steps that call out to external libraries. The first is the Hungarian algorithm in the dual subproblem; this uses linear_sum_assignment in scipy, which is an existing dependency of Stone Soup. The other is solving the linear programming primal problem, which is done using Google OR Tools; this is a mature library with a liberal licence (Apache v2.0), and can also be called from C++ which would aid if this MFA implementation were to be translated to C++. In this pull request, OR Tools is added as a required dependency for Stone Soup, but that could be omitted in which case you would get a reasonably self-explanatory error if you tried to import the MFADataAssociator.

I tried running the example script linked in PR #344, and that failed with the following error:

I think this is to do with the timestamp being nested inside an object inside the Gaussian Mixture.  Are you able to provide a working example?

Sorry about the trouble to get this working, especially the lack of a link in the pull request text to the example script you found referenced from #344 – I had intended to include a link to it, but there was a lot of detail I wanted to mention and I ended up missing that part by accident.
I have just tried the script on a fresh clone of this branch (in case I somehow pushed a different version than I tested locally) and it did work for me. I ran these commands:
git clone https://github.com/joldf/Stone-Soup stone_soup
cd stone_soup
git checkout
git checkout multi_frame_assignment_python
curl -O https://gist.githubusercontent.com/sglvladi/2aeebd831f1264541266f777d00c241b/raw/f228a9b023246510935c14297ebf9809035279fd/MFA_example.py
python MFA_example.py

I also tried merging latest changes from master in case things were broken by more recent commits, and that also worked fine:
git checkout main
git pull https://github.com/dstl/Stone-Soup
git checkout multi_frame_assignment_python
git merge main
# Fix merge conflicts in graphical tool and commit
python MFA_example.py

I set a breakpoint at line 126 of kalman.py, where you got that exception AttributeError: 'GaussianMixture' object has no attribute 'timestamp'. But, for me, the prior object has type TaggedWeightedGaussianState, which does have a prior.timestamp attribute. Additionally, the timestamp parameter is not None anyway, so that expression is not even evaluated. Do you have any ideas on what could be different about your test setup?

Ah yes it looks like it does indeed work when using the github version of the branch.  I made some very minor changes on my local version which must have caused the error above, so sorry I didn't revert these before checking properly (I wrongly thought it wouldn't make any difference).  On a slightly related note though, the best way we can be confident this code works (now and in the future when new code is added) is with some unit tests.  You could probably make heavy use of the example script to make that easier.

@joldf Could you look at adding some unit tests for the code please? Also, could we include tutorial/example, maybe derived from #344?

I've rebased this onto main, done a minor restructure, added some flake8 fixes, a bug fix for track ordering, and added an animated example based on the one referenced in #344.
TODO:

[ ] Unit tests
[ ] Add additional information about MFA to the example.

Added a few more changes to add some consistency with changes that had occurred on main branch.
Once merged, I'll raise an issue in regards of how measurement history is stored, as use of indices in tags, I don't think is the ideal approach.


Unable to track a non-existent resource - but resource exists

The problem
I have no idea what has changed, but since a few days our task runners (Robo) watcher tasks were not working any more. I've started debugging the issue and figured out that the cause is the is_dir() call when the object is passed.
class DirectoryResource extends BaseDirectoryResource implements ResourceInterface
{
    public function exists()
    {
		return is_dir($this); // Causes the error
                // vs
		return is_dir($this->getResource()); // Works fine
    }
}

I have no idea why this suddenly happens, it happens on php 5.6 which we were using before and it started to happen on Windows and OSX as well.
When I run the tests there is only one failing for me but it seems to be not related to my problem.
There was 1 failure:

1) Lurker\Tests\Tracker\RecursiveIteratorTrackerTest::testTrackSimpleFileChanges
Can not find "C:\Users\Florian\AppData\Local\Temp\sf2_resource_watcher_tests/foo" change event

C:\webstack\htdocs\wa-crm\vendor\henrikbjorn\lurker\tests\Lurker\Tests\Tracker\TrackerTest.php:276
C:\webstack\htdocs\wa-crm\vendor\henrikbjorn\lurker\tests\Lurker\Tests\Tracker\TrackerTest.php:85

←[37;41m←[2KFAILURES!
←[0m←[37;41m←[2KTests: 66, Assertions: 30, Failures: 1, Errors: 18, Skipped: 34.
←[0m←[2K
C:\webstack\htdocs\wa-crm\vendor\henrikbjorn\lurker>

I think it would be better to change the code to use is_dir($this->getResource()) instead of passing the object $this to is_dir(). The documentation states it will accept a string, not an object. I guess the object implements __toString() but for some reason it's not working here.
The (possible) cause
After further investigation I think the cause is probably a change in Symfony\Component\Config\Resource\DirectoryResource:
    public function __toString()
    {
        return md5(serialize(array($this->resource, $this->pattern)));
    }

This won't return the actual path but a hash. Doing print_r((string) $this); shows indeed a hash.

@burzum thanks for reporting the issue and the initial change. I tried the unit tests locally and found a place where it assumed the __toString() still returned the resource.

@henrikbjorn thanks for fixing it.
There are still failing tests? https://travis-ci.org/henrikbjorn/Lurker
I think they're related to inotify and should be made optional, run them only when it is installed?
Also are you going to tag a new version? 1.0.1?

They are only being run when inotify is present, the problem is the number of events we expect, and the number of events that inotify gives us is different.

Running into this issue as well now.

Ah, just realized it hasn't been tagged in a release yet. Pulling in dev-master fixed things. @henrikbjorn could you tag this so Packagist is aware of the change and pulls in newest?


Turn RSpec warnings into errors via configuration

In my code base, I'm getting a ton of warn_about_potential_false_positives warnings. I would like to be able to configure RSpec to make these into errors, like with the deprecation warnings from 2.x -> 3.x to help me clean them all up and prevent future occurrences of this kind of usage.
I didn't see any option for this in the configuration code (here or in rspec-expectations) and raise_errors_for_deprecations! doesn't do this, my apologies if I've missed something.
Thanks for your time.

:blue_heart: @danielsdeleo for this suggestion. I really like it :+1: do you want to try submitting a PR? (no pressure, if you don't that's totally fine :sunglasses: - I'm happy to help either way)

Not sure if I'll have time to make a PR any time soon, just got back to work from a short vacation and need to see what's going on with that. I'll update this ticket if I intend to make one.

Sounds good. I'll plan on a PR for it over the weekend if we don't hear back from you before then. :smile_cat:

Is somebody still working on this? If not, I can make a PR, just wanted to check first.

As far as I know, no one is working on this.

Cool, I'm on it

@danascheider did you get a chance to work on this? We'd love to see a PR ^_^

I got a chance to implement something for this in #2052 and rspec/rspec-support#234

I'm sorry! I only just now saw @samphippen's comment! Things got hectic and I was about to work on it some more but it looks like Jon beat me to the punch.

Closed by #2052

Thanks so much to everyone who contributed to this, it will be much appreciated :100:


RF MPI execution

Distributed-memory MPI as the sole parallelisation of RandomForest training seems unnecessary. Probably more appropriate for hyperparameter search, such that separate nodes run RandomForest.fit_() on specific hyperparameters or subset thereof.


Add in Purchasing Levels

Many of these cities have more than two purchasing levels -- ie not just regular purchasing vs. competitive bidding.
From the City of Charlotte's Website:

The County buys at three (3) different levels. The first level is anything of value less than $5,000 of which the requesting department has the responsibility and the authority to select the vendor and obtain pricing information. The second level is anything of value between $5,000 up to $50,000; a Request for Quotation is issued to three (3) or more vendors. The vendor exhibiting the best price, delivery, and/or additional criteria is awarded the order. The third level is for products or services valued at more than $50,000, official sealed bids are solicited and electronically posted on the County's website for at least ten (10) days before the dates set for receipt of bids, proposals or replies unless the Purchasing Division determines in writing that a shorter period of time is necessary to avoid harming the interest of the County.
How would be describe these things in here?

Adding in more information cities until we can figure out how to handle this:
City of Detroit's Purchasing Website

The City of Detroit purchases goods and services under the following guidelines:

Petty Cash – (up to $399.99) only one quote is required.   Petty cash purchases are purchased and paid directly by the using department.
Imprest Cash – ($400 – $1999.99) a minimum of three bids are required. Like Petty Cash, handled at departmental level, without approval from the Purchasing Division.
Informal Purchase – ($2,000 – $25,000) handled through the Purchasing Division. There is no formal bid opening and only the successful bidder is notified of award.
Formal Purchase – ($25,000.01 and above) handled through the Purchasing Division. A formal bid opening is held and all bidders are notified by letter to whom the award was made. The winning vendor cannot be in arrears with Detroit Income or Property Taxes and must receive a clearance from the Human Rights Department (for bids above $15,000). All formal purchases require the approval of the Detroit City Council. Vendors may protest a bid award by contacting the Purchasing Director by letter, prior to the City Council approval date.

Added to https://github.com/munirent/openprocure/wiki/Feature-Roadmap#ideas


Data race warning in zetacore during execution of smoke tests

This warning in smoke tests in the node needs to be investigated as the underlying issue could trigger a consensus failure
This appears to happen when certain txs are sent to the node during smoke test execution
==================
zetacore0  | WARNING: DATA RACE
zetacore0  | Write at 0x00c00318e2d0 by goroutine 213:
zetacore0  |   github.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).BeginBlock()
zetacore0  |       /go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.46.13/baseapp/abci.go:177 +0x770
zetacore0  |   github.com/zeta-chain/zetacore/app.(*App).BeginBlock()
zetacore0  |       <autogenerated>:1 +0x64
zetacore0  |   github.com/tendermint/tendermint/abci/client.(*localClient).BeginBlockSync()
zetacore0  |       /go/pkg/mod/github.com/cometbft/cometbft@v0.34.28/abci/client/local_client.go:280 +0x108
zetacore0  |   github.com/tendermint/tendermint/proxy.(*appConnConsensus).BeginBlockSync()
zetacore0  |       /go/pkg/mod/github.com/cometbft/cometbft@v0.34.28/proxy/app_conn.go:81 +0x80
zetacore0  |   github.com/tendermint/tendermint/state.execBlockOnProxyApp()
zetacore0  |       /go/pkg/mod/github.com/cometbft/cometbft@v0.34.28/state/execution.go:307 +0x4c0
zetacore0  |   github.com/tendermint/tendermint/state.(*BlockExecutor).ApplyBlock()
zetacore0  |       /go/pkg/mod/github.com/cometbft/cometbft@v0.34.28/state/execution.go:140 +0x158
zetacore0  |   github.com/tendermint/tendermint/consensus.(*State).finalizeCommit()
zetacore0  |       /go/pkg/mod/github.com/cometbft/cometbft@v0.34.28/consensus/state.go:1661 +0xe50
zetacore0  |   github.com/tendermint/tendermint/consensus.(*State).tryFinalizeCommit()
zetacore0  |       /go/pkg/mod/github.com/cometbft/cometbft@v0.34.28/consensus/state.go:1570 +0x3d0
zetacore0  |   github.com/tendermint/tendermint/consensus.(*State).enterCommit.func1()
zetacore0  |       /go/pkg/mod/github.com/cometbft/cometbft@v0.34.28/consensus/state.go:1505 +0xd8
zetacore0  |   runtime.deferreturn()
zetacore0  |       /usr/local/go/src/runtime/panic.go:476 +0x30
zetacore0  |   github.com/tendermint/tendermint/consensus.(*State).addVote()
zetacore0  |       /go/pkg/mod/github.com/cometbft/cometbft@v0.34.28/consensus/state.go:2164 +0x2200
zetacore0  |   github.com/tendermint/tendermint/consensus.(*State).tryAddVote()
zetacore0  |       /go/pkg/mod/github.com/cometbft/cometbft@v0.34.28/consensus/state.go:1962 +0x44
zetacore0  |   github.com/tendermint/tendermint/consensus.(*State).handleMsg()
zetacore0  |       /go/pkg/mod/github.com/cometbft/cometbft@v0.34.28/consensus/state.go:861 +0x4d4
zetacore0  |   github.com/tendermint/tendermint/consensus.(*State).receiveRoutine()
zetacore0  |       /go/pkg/mod/github.com/cometbft/cometbft@v0.34.28/consensus/state.go:768 +0x3f8
zetacore0  |   github.com/tendermint/tendermint/consensus.(*State).receiveRoutine()
zetacore0  |       /go/pkg/mod/github.com/cometbft/cometbft@v0.34.28/consensus/state.go:768 +0x3f8
zetacore0  |   github.com/tendermint/tendermint/consensus.(*State).receiveRoutine()
zetacore0  |       /go/pkg/mod/github.com/cometbft/cometbft@v0.34.28/consensus/state.go:788 +0x4a0
zetacore0  |   github.com/tendermint/tendermint/consensus.(*State).receiveRoutine()
zetacore0  |       /go/pkg/mod/github.com/cometbft/cometbft@v0.34.28/consensus/state.go:788 +0x4a0
zetacore0  |   github.com/tendermint/tendermint/consensus.(*State).receiveRoutine()
zetacore0  |       /go/pkg/mod/github.com/cometbft/cometbft@v0.34.28/consensus/state.go:788 +0x4a0
zetacore0  |   github.com/tendermint/tendermint/consensus.(*State).receiveRoutine()
zetacore0  |       /go/pkg/mod/github.com/cometbft/cometbft@v0.34.28/consensus/state.go:788 +0x4a0
zetacore0  |   github.com/tendermint/tendermint/consensus.(*State).receiveRoutine()
zetacore0  |       /go/pkg/mod/github.com/cometbft/cometbft@v0.34.28/consensus/state.go:788 +0x4a0
zetacore0  |   github.com/tendermint/tendermint/consensus.(*State).receiveRoutine()
zetacore0  |       /go/pkg/mod/github.com/cometbft/cometbft@v0.34.28/consensus/state.go:788 +0x4a0
zetacore0  |   github.com/tendermint/tendermint/consensus.(*State).receiveRoutine()
zetacore0  |       /go/pkg/mod/github.com/cometbft/cometbft@v0.34.28/consensus/state.go:788 +0x4a0
zetacore0  |   github.com/tendermint/tendermint/consensus.(*State).receiveRoutine()
zetacore0  |       /go/pkg/mod/github.com/cometbft/cometbft@v0.34.28/consensus/state.go:788 +0x4a0
zetacore0  |   github.com/tendermint/tendermint/consensus.(*State).receiveRoutine()
zetacore0  |       /go/pkg/mod/github.com/cometbft/cometbft@v0.34.28/consensus/state.go:788 +0x4a0
zetacore0  |   github.com/tendermint/tendermint/consensus.(*State).OnStart.func1()
zetacore0  |       /go/pkg/mod/github.com/cometbft/cometbft@v0.34.28/consensus/state.go:379 +0x38
zetacore0  |
zetacore0  | Previous read at 0x00c00318e2d0 by goroutine 935:
zetacore0  |   github.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).createQueryContext()
zetacore0  |       /go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.46.13/baseapp/abci.go:653 +0x3f0
zetacore0  |   github.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).RegisterGRPCServer.func1()
zetacore0  |       /go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.46.13/baseapp/grpcserver.go:50 +0x164
zetacore0  |   github.com/grpc-ecosystem/go-grpc-middleware.ChainUnaryServer.func1.1.1()
zetacore0  |       /go/pkg/mod/github.com/grpc-ecosystem/go-grpc-middleware@v1.3.0/chain.go:25 +0x6c
zetacore0  |   github.com/grpc-ecosystem/go-grpc-middleware/recovery.UnaryServerInterceptor.func1()
zetacore0  |       /go/pkg/mod/github.com/grpc-ecosystem/go-grpc-middleware@v1.3.0/recovery/interceptors.go:33 +0xc0
zetacore0  |   github.com/grpc-ecosystem/go-grpc-middleware.ChainUnaryServer.func1.1.1()
zetacore0  |       /go/pkg/mod/github.com/grpc-ecosystem/go-grpc-middleware@v1.3.0/chain.go:25 +0x6c
zetacore0  |   github.com/grpc-ecosystem/go-grpc-middleware.ChainUnaryServer.func1()
zetacore0  |       /go/pkg/mod/github.com/grpc-ecosystem/go-grpc-middleware@v1.3.0/chain.go:34 +0xf0
zetacore0  |   github.com/zeta-chain/zetacore/x/crosschain/types._Query_LastZetaHeight_Handler()
zetacore0  |       /go/delivery/zeta-node/x/crosschain/types/query.pb.go:4511 +0x180
zetacore0  |   github.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).RegisterGRPCServer.func2()
zetacore0  |       /go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.46.13/baseapp/grpcserver.go:82 +0x100
zetacore0  |   google.golang.org/grpc.(*Server).processUnaryRPC()
zetacore0  |       /go/pkg/mod/google.golang.org/grpc@v1.55.0/server.go:1337 +0x1168
zetacore0  |   google.golang.org/grpc.(*Server).handleStream()
zetacore0  |       /go/pkg/mod/google.golang.org/grpc@v1.55.0/server.go:1714 +0xbb4
zetacore0  |   google.golang.org/grpc.(*Server).serveStreams.func1.1()
zetacore0  |       /go/pkg/mod/google.golang.org/grpc@v1.55.0/server.go:959 +0xa4
zetacore0  |
zetacore0  | Goroutine 213 (running) created at:
zetacore0  |   github.com/tendermint/tendermint/consensus.(*State).OnStart()
zetacore0  |       /go/pkg/mod/github.com/cometbft/cometbft@v0.34.28/consensus/state.go:379 +0x184
zetacore0  |   github.com/tendermint/tendermint/libs/service.(*BaseService).Start()
zetacore0  |       /go/pkg/mod/github.com/cometbft/cometbft@v0.34.28/libs/service/service.go:144 +0x4b8
zetacore0  |   github.com/tendermint/tendermint/consensus.(*Reactor).SwitchToConsensus()
zetacore0  |       /go/pkg/mod/github.com/cometbft/cometbft@v0.34.28/consensus/reactor.go:134 +0x168
zetacore0  |   github.com/tendermint/tendermint/blockchain/v0.(*BlockchainReactor).poolRoutine()
zetacore0  |       /go/pkg/mod/github.com/cometbft/cometbft@v0.34.28/blockchain/v0/reactor.go:324 +0x13c4
zetacore0  |   github.com/tendermint/tendermint/blockchain/v0.(*BlockchainReactor).OnStart.func1()
zetacore0  |       /go/pkg/mod/github.com/cometbft/cometbft@v0.34.28/blockchain/v0/reactor.go:112 +0x38
zetacore0  |
zetacore0  | Goroutine 935 (finished) created at:
zetacore0  |   google.golang.org/grpc.(*Server).serveStreams.func1()
zetacore0  |       /go/pkg/mod/google.golang.org/grpc@v1.55.0/server.go:957 +0x264
zetacore0  |   google.golang.org/grpc/internal/transport.(*http2Server).operateHeaders()
zetacore0  |       /go/pkg/mod/google.golang.org/grpc@v1.55.0/internal/transport/http2_server.go:631 +0x39b8
zetacore0  |   google.golang.org/grpc/internal/transport.(*http2Server).HandleStreams()
zetacore0  |       /go/pkg/mod/google.golang.org/grpc@v1.55.0/internal/transport/http2_server.go:673 +0x194
zetacore0  |   google.golang.org/grpc.(*Server).serveStreams()
zetacore0  |       /go/pkg/mod/google.golang.org/grpc@v1.55.0/server.go:946 +0x1e4
zetacore0  |   google.golang.org/grpc.(*Server).handleRawConn.func1()
zetacore0  |       /go/pkg/mod/google.golang.org/grpc@v1.55.0/server.go:889 +0x54

All the race warning are happening in the querier, which would not cause consensus failure.

No longer seen


huggingface-hub 0.18.0 is installed but huggingface_hub<0.18,>=0.16.4 is required by {'tokenizers'}

Hey guys, I'm just trying to install via a simple git pull and pip on a docker instance, but I'm getting this error:
audio  | Installed /usr/local/lib/python3.11/dist-packages/msgpack-1.0.7-py3.11-linux-x86_64.egg
audio  | Searching for jax>=0.4.2
audio  | Reading https://pypi.org/simple/jax/
audio  | Downloading https://files.pythonhosted.org/packages/b5/5b/5131520dd9a384a640399e5efe4324fdee9e8a48685a33d08eb47140ccc3/jax-0.4.18-py3-none-any.whl#sha256=2ded3f558b74593c3533036a90c20d41ea35f35c74b25ca0fc86f4aafc388746
audio  | Best match: jax 0.4.18
audio  | Processing jax-0.4.18-py3-none-any.whl
audio  | Installing jax-0.4.18-py3-none-any.whl to /usr/local/lib/python3.11/dist-packages
audio  | Adding jax 0.4.18 to easy-install.pth file
audio  |
audio  | Installed /usr/local/lib/python3.11/dist-packages/jax-0.4.18-py3.11.egg
audio  | error: huggingface-hub 0.18.0 is installed but huggingface_hub<0.18,>=0.16.4 is required by {'tokenizers'}
audio exited with code 0

Anyone know how to solve this?

Ran into the same thing working with Tortoise TTS V2. I "fixed" it with "pip install --upgrade huggingface_hub==0.17.3" from within the venv, This will "upgrade" you to the older package.


Added new module groupmembership

A module to query the groups to which a user belongs.
crackmapexec ldap <IP_ADDRESS> -u grace -p Inlanefreight01! -M groupmembership -o USER=julio
SMB         <IP_ADDRESS>  445    DC01             [*] Windows 10.0 Build 17763 x64 (name:DC01) (domain:inlanefreight.htb) (signing:True) (SMBv1:False)
LDAP        <IP_ADDRESS>  389    DC01             [+] inlanefreight.htb\grace:Inlanefreight01!
GROUPMEM... <IP_ADDRESS>  389    DC01             [+] User: julio is member of following groups:
GROUPMEM... <IP_ADDRESS>  389    DC01             Server Operators
GROUPMEM... <IP_ADDRESS>  389    DC01             Domain Admins
GROUPMEM... <IP_ADDRESS>  389    DC01             Domain Users

Thanks for the PR, the pr is now merged on the last official repository of CrackMapExec
https://github.com/mpgn/CrackMapExec/commit/01de301ce192c631c72b99452624f9567e443d1b


chore: bump next to 12.3

Closes #
✅ Checklist

[ ] I have followed every step in the contributing guide (updated 2022-08-15).
[ ] The PR title follows the convention we established conventional-commit
[ ] I performed a functional test on my final commit

Changelog
[Short description of what has changed]

Screenshots
[Screenshots]
💯

hmm have they changed something in the AppType typedefintion?

yes, seems to be some change in the typedef
./src/pages/_app.tsx:13:16
Type error: Property 'session' does not exist on type '{}'.

  11 | const MyApp: AppType = ({
  12 |   Component,
> 13 |   pageProps: { session, ...pageProps },
     |                ^
  14 | }) => {
  15 |   return (
  16 |     <SessionProvider session={session}>

ill post an issue on their side to see if this is intended

I believe it's related to the typedef of AppInitialProps having been changed from:
export declare type AppInitialProps = {
    pageProps: any;
};

to:
export declare type AppInitialProps<P = any> = {
    pageProps: P;
};

12.2:
export declare type AppInitialProps = {
    pageProps: any;
};
export declare type AppPropsType<R extends NextRouter = NextRouter, P = {}> = AppInitialProps & {
    Component: NextComponentType<NextPageContext, any, P>;
    router: R;
    __N_SSG?: boolean;
    __N_SSP?: boolean;
    __N_RSC?: boolean;
};

12.3:
export declare type AppInitialProps<P = any> = {
    pageProps: P;
};
export declare type AppPropsType<R extends NextRouter = NextRouter, P = {}> = AppInitialProps<P> & {
    Component: NextComponentType<NextPageContext, any, any>;
    router: R;
    __N_SSG?: boolean;
    __N_SSP?: boolean;
    __N_RSC?: boolean;
};

https://github.com/vercel/next.js/issues/40371

We'll wait until 12.3.1 is out so we can utilize the new generic AppType type

continued in #485


Remove the o/client-go and o/api dependencies from upstream OLM

Description of the change:
Overview
Previous work has removed OpenShift-specific resources/logic/etc. that were necessary to successfully build and package OLM downstream at Red Hat. This is a follow-up to that work to remove the OpenShift client's from the vendored set of dependencies.
Decouple upstream OLM from OpenShift-specific implementations
Remove the OLM Operator and Catalog Operator flags that report back
status to the CVO through the ClusterOperator custom resource.
Remove the OpenShift-specific proxy handlement that relies on a cluster
singleton Proxy API type only available in OCP cluster environments
since 4.3 (4.2?).
Remove the OperatorStatus custom resource handlement.
Vendor Changes
Update the go.mod and remove the o/api and o/client-go package(s) as
required dependencies. Avoid specifying any replace stanzas.
Motivation for the change:
Fixes #2220
Reviewer Checklist

[ ] Implementation matches the proposed design, or proposal is updated to match implementation
[ ] Sufficient unit test coverage
[ ] Sufficient end-to-end test coverage
[ ] Docs updated or added to /doc
[ ] Commit messages sensible and descriptive

/test all

Tabling this for now - we'd need to somehow expose this properly downstream which isn't possible today.


Use minimum CMake version instead of latest

Ubuntu 18.04 uses an old version of CMake which makes writing/refactoring CMake files more difficult.
With recent updates, the lifting-bits tools are now bumped to CMake minimum version 3.14, which is a reasonable minimum version in my mind, but it is not available by default on Ubuntu 18.04...

[ ] Change the method for installing CMake in the Dockerfile to a specific CMake version instead of latest https://github.com/trailofbits/cxx-common/blob/303ec987b3782081c391fcab4364c93b3481f20b/docker/Dockerfile.ubuntu.vcpkg#L15-L21

I think this should be addressed with the arm64-ci branch which just picks cmake 3.19.3

I think this should be addressed with the arm64-ci branch which just picks cmake 3.19.3

Yes, we do now specify an exact CMake version, but I did a poor job at making clear what I was going for.
I was thinking that we would be testing with an older version of CMake than what is latest; specifically, we should test with the minimum supported version as specified by each tool---CMake 3.14.
The reason for testing with the minimum supported version is so that our cmake_minimum_required(VERSION 3.14) actually means something, since there's a risk of modifying the CMakeFile to use a feature that 3.14 doesn't support. CMake will warn when it sees mismatching features, but personally, I don't pay as close attention to those warnings, and later versions of CMake have updated find_package logic that might silently break older versions if we rely on the new logic.

Yes, we do now specify an exact CMake version, but I did a poor job at making clear what I was going for.
I was thinking that we would be testing with an older version of CMake than what is latest; specifically, we should test with the minimum supported version as specified by each tool---CMake 3.14.
The reason for testing with the minimum supported version is so that our cmake_minimum_required(VERSION 3.14) actually means something, since there's a risk of modifying the CMakeFile to use a feature that 3.14 doesn't support. CMake will warn when it sees mismatching features, but personally, I don't pay as close attention to those warnings, and later versions of CMake have updated find_package logic that might silently break older versions if we rely on the new logic.


UHF-9617: Migrate to MySQL 8

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (0da4087) 85.14% compared to head (7493aa5) 85.14%.

:exclamation: Current head 7493aa5 differs from pull request most recent head edfc2db. Consider uploading reports for the commit edfc2db to get more accurate results

Additional details and impacted files
@@            Coverage Diff            @@
##               main      #51   +/-   ##
=========================================
  Coverage     85.14%   85.14%
  Complexity      140      140
=========================================
  Files            18       18
  Lines           579      579
=========================================
  Hits            493      493
  Misses           86       86

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


How to save state in a conversation?

Currently there is no real conversation object, so I did not find how to attach data to a conversation to keep tracks of what was said between steps.
Did I miss something ?

Hi,
You chain methods in a conversation so when a method is invoked then all the methods in the line to which it was chained would have been invoked already one after the other.
So, why you want to keep track of whats being said earlier. Can you please give a use case?

There are a lot of usecases... considering your example (scheduling a meeting), in a real project, I would probably create a Schedule object to handle the schedule and at each step of the conversation, I will update it so I need a way to retrieve it. So store it in the conversation as a cache would be simple.
Then, when fully populated, I may store it in a DB or whatever.

You can update your Schedule object inside each controller method. Why do you need to retrieve your conversation?

How do you retrieve the Schedule object ? They can be plenty.... so yes I implemented my own conversation class to store all stuff saved from a conversation between a bot and a user. But so now I have duplicate code...
    @Controller(events = {EventType.DIRECT_MENTION, EventType.DIRECT_MESSAGE}, pattern = "create meeting", next = "setMeetingName")
    public void createMeeting(WebSocketSession session, Event event)
    {
        startConversation(event, "setMeetingName");   // start conversation
        Conversation conv = new Conversation(session.getId());
        conversations.put(conv.getId(), conv);

        reply(session, event, new Message("With pleasure, what's the meeting name ?"));
    }

This code is not correct. You should have your Conversation as an instance variable and not declared and initialized locally.

That means that one SlackBot instance is created for each discussion ?

Nope. We can discuss further on gitter. That would be better I suppose.


Allow distributing the project as a gem

Implemented in https://github.com/learningtapestry/analytics-ruby-client/commit/5141ae3b92baa2d34a75647fb8616de449c47b80
Also, library is now compatible with ruby 1.9.3 thanks to @shlag3n


Change git user.name and user.email

Summary

Change git user.name and user.email to display github-actions[bot] as a contributor.
Changes

.github/workflows/0-welcome.yml

git user.name: github-actions → github-actions[bot]
git user.email<EMAIL_ADDRESS>→<EMAIL_ADDRESS>

Task list

[x] For workflow changes, I have verified the Actions workflows function as expected.
[x] For content changes, I have reviewed the style guide.

asddasda

Thank you


sql errors and more

im currently using a vps with ubuntu 20.04 and even after i've created the directory's for it it still seems to give me problems

and no matter what do with nginx it just takes me to a blank page and before anyone gets any ideas im not going to use that key anymore

Looks like you are hitting the server successfully since it's printing out 404s. Is the login key for that board on your computer locally, or did you generate the login key on your server?

Looks like you are hitting the server successfully since it's printing out 404s. Is the login key for that board on your computer locally, or did you generate the login key on your server?

I did both. I generated a key on my computer and on the server I mean it's not an authentication issue I was able to log in as admin a couple of times it's just trying to get nginx to display anything or to get the subboards to show up I was having a hard time with

Another quick question, kind of unrelated but is there any way automate the process of getting users out of limbo like can I make a crontab process That activates after a certain period of time

You shouldn't have to create board/db, it will be created when the first post is made. Do you see anything in the board/ansiwave dir?
You can disable limbo by passing --disable-limbo when you run wavecore.

You shouldn't have to create board/db, it will be created when the first post is made. Do you see anything in the board/ansiwave dir?
You can disable limbo by passing --disable-limbo when you run wavecore.

All right. I'll try poking around with it when I get home

I did a quick test in a VM. I went through the steps in the readme. When i opened the board with ansiwave http://localhost#board:... i could see buttons for create banner and create new subboard. Initially when i tried making a subboard i got a "board does not exist" error. I just fixed that here https://github.com/ansiwave/wavecore/commit/9dbb8cdee359aef0ff7d4960e0b91be931797cb7 After running wavecore with that fix i was able to make a subboard. How far were you able to get in the process? did you ever see the create subboard button?

So I was able to see the sub board button but unless I created the board/db directory it would not let me And then as I logged in as a normal user, none of the boards that I created showed up

Yeah you were right, it needed the board subdir but that change i just made fixed it. Not sure why the boards didn't show up...make sure you're connecting to the correct URL with /#board:... in it.

Yeah you were right, it needed the board subdir but that change i just made fixed it. Not sure why the boards didn't show up...make sure you're connecting to the correct URL with /#board:... in it.

is there any deps other then nim that i need to install

After some more tinkering around with it it seems to be giving me unhandled URL, errors and file not found I will try and fight with it some more tomorrow

What's the url you're trying to connect to?

What's the url you're trying to connect to?

I don't know but the console would say unhandled  #board/:  .. /db/ for example

i got it to work i can only use the client to connect to it though if you want to poke around with it the address is http://brokenansi.ddns.net/#board:a9hVjJDW9Sh3rq8K-dWFYEZ2uuqJ_d2qUzSaUmzQPrE
please keep in mind im still working on ansi banners


[apptools-android] Add tests to test keeping_screen_on for apptools android

Impacted tests(approved): new 1, update 0, delete 0
Unit test platform: [Android]
Unit test result summary: pass 1, fail 0, block 0
https://crosswalk-project.org/jira/browse/XWALK-4033

LGTM


Added colors parameters to showDialog method

PR to resolve the issue #557

Hi @FilledStacks,
Please, check this pull request. Only two lines of code that helps me so much.
Thank you!


Update pip packages

What is the context of this PR?
Updates outdated pip packages.

Other changes (needed due to the upgrade):

The date format is interpreted in runner using Babel. Using a format of YYYY
meant an ISO year-week calendar was used and so dates close to the start of
the year could get formatted with the wrong year. Using yyyy fixes this.
See http://babel.pocoo.org/en/latest/dates.html#date-fields
and python-babel/babel#419

In unit test. https://github.com/sh4nks/flask-caching/pull/75 swaps out imports.
from werkzeug.contrib.cache import NullCache

for
from flask_caching.backends.null import NullCache

Addressed SQLAlchemy deprecation warning for SQLALCHEMY_POOL_RECYCLE:
Now uses: SQLALCHEMY_ENGINE_OPTIONS.
https://flask-sqlalchemy.palletsprojects.com/en/2.x/config/?highlight=SQLALCHEMY_POOL_RECYCLE

How to review
Ensure:

The app still works as expected.

Looks good :+1:

This PR affects v2, so should be reviewed by the Author team, @samiwel

These changes need to be thoroughly tested during QA as it affects DB and RabbitMQ.


Key Vault Health Check Creates Warnings

Is there an existing issue for this?

[x] I have searched the existing issues

Describe the bug
The Key Vault health check calls GET https://myvault.vault.azure.net/secrets/AzureKeyVaultSecretsHealthCheck/?api-version=7.5, which doesn't exist. I understand the need to ping the vault to check the connection is there. However, this results in a warning being logged by Azure.Core for the 404, which adds a lot of noise to my logs.
Expected Behavior
Either no warning is logged, or a way to filter out the specific warning resulting from the health check  is documented. I don't want to filter out all Azure.Core warnings.
Steps To Reproduce
Add the aspire key vault integration to app, with health checks enabled.
Exceptions (if any)
info: Azure.Core[1]
      Request [49d21e0f-bdb6-40f3-8637-1b302c3200d9] GET https://mykeyvault.vault.azure.net/secrets/AzureKeyVaultSecretsHealthCheck/?api-version=7.5
      Content-Type:application/json
      Accept:application/json
      x-ms-client-request-id:49d21e0f-bdb6-40f3-8637-1b302c3200d9
      x-ms-return-client-request-id:true
      User-Agent:azsdk-net-Security.KeyVault.Secrets/4.6.0 (.NET 8.0.10; Ubuntu 24.04.1 LTS)
      Authorization:REDACTED
      client assembly: Azure.Security.KeyVault.Secrets
warn: Azure.Core[8]
      Error response [49d21e0f-bdb6-40f3-8637-1b302c3200d9] 404 Not Found (00.0s)
      Cache-Control:no-cache
      Pragma:no-cache
      x-ms-keyvault-region:uksouth
      x-ms-client-request-id:49d21e0f-bdb6-40f3-8637-1b302c3200d9
      x-ms-request-id:ff136367-01e7-4298-aabf-76b2ad78fbd5
      x-ms-keyvault-service-version:1.9.1753.1
      x-ms-keyvault-network-info:conn_type=Subnet;addr=<IP_ADDRESS>;act_addr_fam=InterNetworkV6;
      x-ms-keyvault-rbac-assignment-id:REDACTED
      X-Content-Type-Options:REDACTED
      Strict-Transport-Security:REDACTED
      Date:Wed, 16 Oct 2024 09:02:43 GMT
      Content-Length:328
      Content-Type:application/json; charset=utf-8
      Expires:-1

.NET Version info
No response
Anything else?

In addition, if key vault charges per operation, does this health check increase our costs?

Take a look at the docs here https://github.com/Xabaril/AspNetCore.Diagnostics.HealthChecks/tree/master/src/HealthChecks.Azure.KeyVault.Secrets to see if you can control what secret it uses for the health check.


Report on using new Wine 6.x WineD3D Vulkan backend and issue found on simple app..

Hi,
with Wine 6.x release a new native Vulkan backend is added to WineD3D for supporting D3D1x apps in addition to OpenGL.. i.e. an alternative to DXVK for running D3D11 apps via Vulkan..
*see: https://www.winehq.org/announce/6.0
note a wine64 regedit key has to be added:
"renderer"="vulkan" under "HKEY_CURRENT_USER\Software\Wine\Direct3D"
if can be checked being used as it will be printed:
01a4:err:winediag:wined3d_dll_init Using the Vulkan renderer.
this is nice as existing WineD3D GL4.x backend is unusable on Macos due to Mac max GL 4.1 limitation as it would require higher GL support for working for example compute shaders are part of GL4.3..
so wanted to test how it compares to DXVK.. DXVK requires some "modifications" to work on Mac as it requires a Vulkan driver with geometry shader support for example to be present and Metal can't support it due to Metal limitations..
Of course that MoltenVK (due to Metal) limitations limit also WineD3D Vulkan but it seems WineD3D Vulkan backend is more fine grained in requesting Vulkan features as needed as for example it runs a simple D3D11 compute app OK with no modifications:
https://github.com/doitsujin/dxvk/blob/master/tests/d3d11/test_d3d11_compute.cpp with correct result:
Sum of the numbers 1 to 128 = 8256
note it's first time such an D3D11 compute app runs on Mac with no modifications to DXVK or MoltenVK..
for testing I'm using a Wine Mac build with this native WineD3D Vulkan support builtin:
https://github.com/Gcenx/macOS_Wine_builds/releases/tag/6.1
note thanks to @Gcenx for providing it as per my request.. as early 6.0 build was built with Vulkan support, but WineD3D Vulkan support also requires libvkd3d-shader lib to be present also at build time and shipped..
Well now the problem running a simple d3d11-triangle fails:
it fails to compile a shader but not from the app it's from builtin MoltenVK shader:
[mvk-error] VK_ERROR_INITIALIZATION_FAILED: Could not compile support shader from MSL source (Error code 3):
#include <metal_stdlib>
using namespace metal;

typedef struct {
    float4 v_position [[position]];
    float3 v_texCoord;
} VaryingsPosTex;

typedef struct {
    float4 color [[color(0)]];
} FragmentOutputs;

typedef struct {
    uint slice;
    float lod;
} TexSubrez;

constexpr sampler ce_sampler(mip_filter::nearest, filter::nearest);
fragment FragmentOutputs fragCmdBlitImage(VaryingsPosTex varyings [[stage_in]],
                         textureunsupported<float> tex [[texture(0)]],
                         constant TexSubrez& subRez [[buffer(0)]]) {
    FragmentOutputs out;
    out.color = tex.sample(ce_sampler, varyings.v_texCoord, level(subRez.lod));
    return out;
}

Compilation failed:

program_source:20:26: error: no template named 'textureunsupported'
                         textureunsupported<float> tex [[texture(0)]],
                         ^

hope problem can be solved somewhat easily so more testing can be done on WineD3D VUlkan backend..
thanks..

That shader is used for vkCmdBlitImage(). What type of texture was it trying to blit?

ok..
I forget to include line after compilation error:
01c8:fixme:d3d:wined3d_texture_vk_upload_data Not supported for multisample textures.
perhaps it helps..
maybe a multisample texture not supported?
if not app code is from :
https://github.com/doitsujin/dxvk/commits/master/tests/d3d11/test_d3d11_triangle.cpp
but executable I have was compiled before adding tess shader to the source code i.e. before commit:
https://github.com/doitsujin/dxvk/commit/fdcb47cc45371f571b0b8197f1d22e372a7076fb#diff-597ba47b9c6ea11a521c0770c6de7d1b838955700eca2dd75cf8eb479175a53e
shows:
https://github.com/doitsujin/dxvk/commits/master/tests/d3d11/test_d3d11_triangle.cpp
full log:
wine64 d3d11-triangle

0224:fixme:esync:do_esync eventfd not supported on this platform.
022c:fixme:esync:do_esync eventfd not supported on this platform.
0234:fixme:esync:do_esync eventfd not supported on this platform.
0224:err:winediag:wined3d_dll_init Setting maximum allowed wined3d GL version to 4.1.
0224:err:winediag:wined3d_dll_init Using the Vulkan renderer.
[mvk-info] MoltenVK version 1.1.1. Vulkan version 1.1.162.
The following 67 Vulkan extensions are supported:
VK_KHR_16bit_storage v1
VK_KHR_8bit_storage v1
VK_KHR_bind_memory2 v1
VK_KHR_create_renderpass2 v1
VK_KHR_dedicated_allocation v3
VK_KHR_depth_stencil_resolve v1
VK_KHR_descriptor_update_template v1
VK_KHR_device_group v4
VK_KHR_device_group_creation v1
VK_KHR_driver_properties v1
VK_KHR_external_fence v1
VK_KHR_external_fence_capabilities v1
VK_KHR_external_memory v1
VK_KHR_external_memory_capabilities v1
VK_KHR_external_semaphore v1
VK_KHR_external_semaphore_capabilities v1
VK_KHR_get_memory_requirements2 v1
VK_KHR_get_physical_device_properties2 v2
VK_KHR_get_surface_capabilities2 v1
VK_KHR_image_format_list v1
VK_KHR_maintenance1 v2
VK_KHR_maintenance2 v1
VK_KHR_maintenance3 v1
VK_KHR_multiview v1
VK_KHR_portability_subset v1
VK_KHR_push_descriptor v2
VK_KHR_relaxed_block_layout v1
VK_KHR_sampler_mirror_clamp_to_edge v3
VK_KHR_sampler_ycbcr_conversion v14
VK_KHR_shader_draw_parameters v1
VK_KHR_shader_float16_int8 v1
VK_KHR_shader_subgroup_extended_types v1
VK_KHR_storage_buffer_storage_class v1
VK_KHR_surface v25
VK_KHR_swapchain v70
VK_KHR_swapchain_mutable_format v1
VK_KHR_timeline_semaphore v2
VK_KHR_uniform_buffer_standard_layout v1
VK_KHR_variable_pointers v1
VK_EXT_debug_marker v4
VK_EXT_debug_report v9
VK_EXT_debug_utils v2
VK_EXT_descriptor_indexing v2
VK_EXT_fragment_shader_interlock v1
VK_EXT_hdr_metadata v2
VK_EXT_host_query_reset v1
VK_EXT_image_robustness v1
VK_EXT_inline_uniform_block v1
VK_EXT_memory_budget v1
VK_EXT_metal_surface v1
VK_EXT_private_data v1
VK_EXT_robustness2 v1
VK_EXT_scalar_block_layout v1
VK_EXT_shader_stencil_export v1
VK_EXT_shader_viewport_index_layer v1
VK_EXT_subgroup_size_control v2
VK_EXT_swapchain_colorspace v4
VK_EXT_texel_buffer_alignment v1
VK_EXT_vertex_attribute_divisor v3
VK_AMD_gpu_shader_half_float v2
VK_AMD_negative_viewport_height v1
VK_AMD_shader_trinary_minmax v1
VK_INTEL_shader_integer_functions2 v1
VK_GOOGLE_display_timing v1
VK_MVK_macos_surface v3
VK_MVK_moltenvk v29
VK_NV_glsl_shader v1
[mvk-info] GPU device:
model: AMD Radeon RX Vega 64
type: Discrete
vendorID: 0x1002
deviceID: 0x687f
pipelineCacheUUID: 00002775-0300-07D2-E8E4-21896991D64B
supports the following Metal Versions, GPU's and Feature Sets:
Metal Shading Language 2.2
GPU Family Mac 2
GPU Family Mac 1
GPU Family Common 3
GPU Family Common 2
GPU Family Common 1
macOS GPU Family 2 v1
macOS GPU Family 1 v4
macOS GPU Family 1 v3
macOS GPU Family 1 v2
macOS GPU Family 1 v1
macOS Read-Write Texture Tier 2
[mvk-info] Created VkInstance with the following 2 Vulkan extensions enabled:
VK_KHR_surface v25
VK_EXT_metal_surface v1
[mvk-info] Using MTLEvent for Vulkan semaphores.
[mvk-info] Created VkDevice to run on GPU AMD Radeon RX Vega 64 with the following 3 Vulkan extensions enabled:
VK_KHR_sampler_mirror_clamp_to_edge v3
VK_KHR_swapchain v70
VK_EXT_vertex_attribute_divisor v3
[mvk-info] Created 2 swapchain images with initial size (106, 2).
0224:fixme:d3d:wined3d_swapchain_init The application requested more than one back buffer, this is not properly supported.
Please configure the application to use double buffering (1 back buffer) if possible.
[mvk-info] Created 2 swapchain images with initial size (1024, 600).
[mvk-info] Created 2 swapchain images with initial size (1024, 600).
[mvk-error] VK_ERROR_INITIALIZATION_FAILED: Could not compile support shader from MSL source (Error code 3):
#include <metal_stdlib>
using namespace metal;
typedef struct {
float4 v_position [[position]];
float3 v_texCoord;
} VaryingsPosTex;
typedef struct {
float4 color [[color(0)]];
} FragmentOutputs;
typedef struct {
uint slice;
float lod;
} TexSubrez;
constexpr sampler ce_sampler(mip_filter::nearest, filter::nearest);
fragment FragmentOutputs fragCmdBlitImage(VaryingsPosTex varyings [[stage_in]],
textureunsupported tex [[texture(0)]],
constant TexSubrez& subRez [[buffer(0)]]) {
FragmentOutputs out;
out.color = tex.sample(ce_sampler, varyings.v_texCoord, level(subRez.lod));
return out;
}
Compilation failed:
program_source:20:26: error: no template named 'textureunsupported'
textureunsupported tex [[texture(0)]],
^
0248:fixme:d3d:wined3d_texture_vk_upload_data Not supported for multisample textures.

also it's strange this same executable is running under MoltenVK when using the modified DXVK with no issues..
so maybe the issue it's not from Vulkan code coming from the app but from WineD3D Vulkan backend in that case maybe a search of one of *_vk.c files in
https://source.winehq.org/git/wine.git/tree/HEAD:/dlls/wined3d
may reveal the problem..

Multisample textures aren't supported at all for vkCmdBlitImage(). What WineD3D is doing here is invalid. Question is, why is it calling vkCmdBlitImage() with a multisampled source? (A multisampled destination would actually work, because MoltenVK uses the blit machinery for resolve ops as well.)

really don't know why..
one thing to note is that I also have run same executable under WineD3D Vulkan backend on Linux with no issues..
I think it worked with all Vulkan drivers on Linux: Radv, NV, AMDVLK, Anvil so either this drivers support multisample textures vkCmdBlitImage() or as it was tested with 6.0 version maybe 6.1 has brokened support.. but don't think from 6.0 to 6.1 they have broken WineD3D Vulkan support..
@cdavis5e as seems it's a WineD3D issue, maybe it's better to open a separate Wine issue?
as you are more knowledgeable than me in Vulkan technical details maybe it's better if you open the issue or if you want I go ahead on open it linking to this issue?

@cdavis5e seems d3d11-triangle issue is present on Linux as well so sorry for false information.. it's seems I tested ComputeMark there and was working on all drivers..
altough it seems there have been some changes in between 6.0 and 6.1 regarding this sample as on Linux I get:
Wine 6.0:
00f0:err:winediag:wined3d_dll_init Using the Vulkan renderer.
00f0:fixme:d3d:wined3d_swapchain_init The application requested more than one back buffer, this is not properly supported.
Please configure the application to use double buffering (1 back buffer) if possible.
Failed to create DXGI swap chain

doesn't anything render at all and program closes..
Wine 6.1:
00f0:err:winediag:wined3d_dll_init Using the Vulkan renderer.
00f0:fixme:d3d:wined3d_swapchain_init The application requested more than one back buffer, this is not properly supported.
Please configure the application to use double buffering (1 back buffer) if possible.
00fc:fixme:d3d:wined3d_texture_vk_upload_data Not supported for multisample textures.

renders bad.. (a black screen on Linux) (red on Mac)

If it happens on Linux, too, it's almost certainly a WineD3D issue. I'll talk to Henri about it tomorrow.

So I talked with him and he thinks there are two possible issues here. One is that this sample for some inexplicable reason uses tessellation, and there may be some brokenness around tessellation shaders. The other is that this sample uses a multisampled RT, so wined3d is indeed passing a multisampled image to vkCmdBlitImage(), when it should really be using vkCmdResolveImage() in that case.
In any case, I don't think this is MoltenVK's bug.

Thanks for commenting Henri the bug, as said the build I have is prior to tesselation usage commits, so has to be a multisampled RT bug.. will keep an eye on Wine updates..

quick test on minimal d3d11 tesselation app attached on this issue(with source code): https://github.com/KhronosGroup/MoltenVK/issues/628
shows also issues running on WineD3D Vulkan backend..
seems I'm uncovering more bugs of WineD3D Vulkan on simple apps but @cdavis5e can take a quick look at the attached log to confirm it's no MoltenVK bug:
fixme:vkd3d_dxbc_compiler_check_index_range: Unhandled index range write mask 0x1 (0xf).
fixme:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x6 3.
[mvk-error] VK_ERROR_INITIALIZATION_FAILED: Shader library compile failed (Error code 3):
Compilation failed:

program_source:87:23: error: array type 'device half [2]' is not assignable
    gl_TessLevelInner = half(_88.x);
    ~~~~~~~~~~~~~~~~~ ^
program_source:110:5: error: no matching function for call to 'fork0'
    fork0(0u, opc, cb0_0, spvTessLevel[gl_PrimitiveID].edgeTessellationFactor, v_47, v_50, v_53);
    ^~~~~
program_source:73:6: note: candidate function not viable: no known conversion from 'half device[3]' to 'device half (&)[4]' for 4th argument
void fork0(uint vForkInstanceId, thread spvUnsafeArray<float4, 4> (&opc), constant cb1_struct& cb0_0, device half (&gl_TessLevelOuter)[4], thread float4& v_47, thread float4& v_50, thread float4& v_53)
     ^
program_source:111:5: error: no matching function for call to 'fork0'
    fork0(1u, opc, cb0_0, spvTessLevel[gl_PrimitiveID].edgeTessellationFactor, v_47, v_50, v_53);
    ^~~~~
program_source:73:6: note: candidate function not viable: no known conversion from 'half device[3]' to 'device half (&)[4]' for 4th argument
void fork0(uint vForkInstanceId, thread spvUnsafeArray<float4, 4> (&opc), constant cb1_struct& cb0_0, device half (&gl_TessLevelOuter)[4], thread float4& v_47, thread float4& v_50, thread float4& v_53)
     ^
program_source:112:5: error: no matching function for call to 'fork0'
    fork0(2u, opc, cb0_0, spvTessLevel[gl_PrimitiveID].edgeTessellationFactor, v_47, v_50, v_53);
    ^~~~~
program_source:73:6: note: candidate function not viable: no known conversion from 'half device[3]' to 'device half (&)[4]' for 4th argument
void fork0(uint vForkInstanceId, thread spvUnsafeArray<float4, 4> (&opc), constant cb1_struct& cb0_0, device half (&gl_TessLevelOuter)[4], thread float4& v_47, thread float4& v_50, thread float4& v_53)
     ^
program_source:114:5: error: no matching function for call to 'fork1'
    fork1(opc, cb0_0, spvTessLevel[gl_PrimitiveID].insideTessellationFactor, v_85);
    ^~~~~
program_source:91:6: note: candidate function not viable: no known conversion from 'device half' to 'device half (&)[2]' for 3rd argument
void fork1(thread spvUnsafeArray<float4, 4> (&opc), constant cb1_struct& cb0_0, device half (&gl_TessLevelInner)[2], thread float4& v_85)
     ^
.
[mvk-error] VK_ERROR_INVALID_SHADER_NV: Tessellation control shader function could not be compiled into pipeline. See previous logged error.
00f8:err:d3d:wined3d_context_vk_apply_draw_state Failed to get graphics pipeline.
00f8:err:d3d:adapter_vk_draw_primitive Failed to apply draw state.
[mvk-info] Created 2 swapchain images with initial size (800, 600).
[mvk-error] VK_ERROR_INVALID_SHADER_NV: Tessellation control shader function could not be compiled into pipeline. See previous logged error.
00f8:err:d3d:wined3d_context_vk_apply_draw_state Failed to get graphics pipeline.

That's almost certainly a bug in SPIRV-Cross--as you figured out on your own.

@cdavis5e as the SPIRV-Cross bug has been fixed, can we get a SPIRV-Cross revision update (at least up to https://github.com/KhronosGroup/SPIRV-Cross/commit/bae17e82043848c722f2494dbe60171cb16874ec) for MoltenVK..
altough seems the latest master (https://github.com/KhronosGroup/SPIRV-Cross/commit/621884d70917038caf7509f7b1b3c143807ff43f) has more MSL fixes..
would be nice to have this bug fixed in next SDK release..


reapp run error

npm install -g reapp
reapp new [name]
reapp run
WARNING in ./app/app.js
Critical dependencies:
7:22-29 require function is used in a way in which dependencies cannot be static
ally extracted
@ ./app/app.js 7:22-29
ERROR in ./~/reapp-ui/components/Button.js
Module not found: Error: Cannot resolve module 'react-addons-transition-group' i
n F:\test-reapp\node_modules\reapp-ui\components
@ ./~/reapp-ui/components/Button.js 9:34-74
ERROR in ./~/reapp-ui/components/Typeahead.js
Module not found: Error: Cannot resolve 'file' or 'directory' ../../assets/icons
/search.svg in F:\test-reapp\node_modules\reapp-ui\components
@ ./~/reapp-ui/components/Typeahead.js 11:17-57
ERROR in ./~/reapp-ui/components/Typeahead.js
Module not found: Error: Cannot resolve 'file' or 'directory' ../../assets/icons
/mic3.svg in F:\test-reapp\node_modules\reapp-ui\components
@ ./~/reapp-ui/components/Typeahead.js 12:14-52
ERROR in ./~/reapp-ui/components/Typeahead.js
Module not found: Error: Cannot resolve 'file' or 'directory' ../../assets/icons
/material-close.svg in F:\test-reapp\node_modules\reapp-ui\components
@ ./~/reapp-ui/components/Typeahead.js 13:16-64
ERROR in ./~/reapp-ui/components/Typeahead.js
Module not found: Error: Cannot resolve 'file' or 'directory' ../../assets/icons
/material-left.svg in F:\test-reapp\node_modules\reapp-ui\components
@ ./~/reapp-ui/components/Typeahead.js 14:15-62
ERROR in ./~/reapp-ui/helpers/ripple/TouchRipple.js
Module not found: Error: Cannot resolve module 'react-addons-transition-group' i
n F:\test-reapp\node_modules\reapp-ui\helpers\ripple
@ ./~/reapp-ui/helpers/ripple/TouchRipple.js 17:34-74
ERROR in ./~/reapp-ui/helpers/ripple/TouchRipple.js
Module not found: Error: Cannot resolve module 'react-addons-update' in F:\test-
reapp\node_modules\reapp-ui\helpers\ripple
@ ./~/reapp-ui/helpers/ripple/TouchRipple.js 29:25-55
ERROR in ./~/reapp-ui/helpers/ripple/CircleRipple.js
Module not found: Error: Cannot resolve module 'recompose/shallowEqual' in F:\te
st-reapp\node_modules\reapp-ui\helpers\ripple
@ ./~/reapp-ui/helpers/ripple/CircleRipple.js 29:29-62
webpack: bundle is now VALID.
Note: you have a require warning on your routes, this is ok!
Build took 2.986 seconds

Same problem here. Were you able to solve this?

Similar Problem
After running following commands
npm install -g reapp
reapp new myapp
reapp run
Your app is running on http://localhost:3010

Building with Webpack...
events.js:141
      throw er; // Unhandled 'error' event
      ^

Error: listen EADDRINUSE <IP_ADDRESS>:3010
    at Object.exports._errnoException (util.js:855:11)
    at exports._exceptionWithHostPort (util.js:878:20)
    at Server._listen2 (net.js:1237:14)
    at listen (net.js:1273:10)
    at net.js:1382:9
    at GetAddrInfoReqWrap.asyncCallback [as callback] (dns.js:63:16)
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:82:10)

Then its terminates


check readonly behaviour of prefs mwf option

check that meshing.preferences.MeshingWorkflow.CheckpointingOption is readonly as expected
e.g., meshing.preferences.MeshingWorkflow.CheckpointingOption = "Write into memory"
is expected to raise an exception as in PyConsole.

@seanpearsonuk @prmukherj The check RuntimeError: CheckpointingOption is readonly! in old PyConsole is coming from PyStateEnigne layer. It is possible to set the state directly in the stateengine from a grpc client:

We need to add the infrastructure in PyFluent to avoid set_state on read_only field.


Fixes KA-LSR

Addresses a part of #56 .
@NeelayS I changed some part of implementation and it differs from yours, please point out if I missed something.

Benchmarking Left

KA-PS can be simplified similarly then


3Box profile render in link preview

Now realizing sometime on Jan 16, our profile previews on Twitter and other social platforms stopped working

Have provided a better failure case but getting to the bottom of this is taking a while.
Can reopen if urgent


Add visual error to new/update lists modal when name is blank

Right now, when the name is left blank, lists are not added/updated. But there's no indication to the user an error happened. Add an error message that appears when the user tries to add or update an item with a blank name.
Remove name length check in lists page reducer for adding and updating items.

Commit: https://github.com/johneastman/todo/commit/2099b5ccc388d1fc9284940d0f4a8231fffaae2b


Create a (gleaner|nabu)(mode)service so we can use configs

https://docker-py.readthedocs.io/en/stable/services.html
The only way we are going to get configs to work is to create services.
volume persisting is not working.
https://docs.docker.com/engine/swarm/configs/#simple-example-get-started-with-configs
not sure we needed it, but configs can be templated
https://docs.docker.com/engine/swarm/configs/#example-use-a-templated-config

Postman testing using a POST  to the Docker REST API via Portainer. (need to add an X-API-Key header)
https://portainer. :443/api/endpoints/2/docker/services/create
This creates a "postman" service that runs once
  ```
  "Mode": {"ReplicatedJob": {
  "MaxConcurrent": 1,
  "TotalCompletions": 1
  }},
  ```

Using a docker config (in this case):
{
                "ConfigName": "gleaner-test2",
                "ConfigID":"mw7ghwth73v7de9xh21y3smhh",
                "File": {
                    "Name":"/configs/gleanerconfig.yaml",
                    "UID": "0",
                    "GID": "0",
                    "Mode": 444
                }
            }

You cannot just just the ConfigName  you need to use the ConfigID
So a step to lookup the ConfigID from the docker configs API is needed
https://portainer.   /api/endpoints/2/docker/configs?filters={"name":{"gleaner-test2": true}}
{
    "Name": "postman",
"Mode": {"ReplicatedJob": {
"MaxConcurrent": 1,
"TotalCompletions": 1
}},
    "TaskTemplate": {
    "ContainerSpec": {
        "Env": [
            "MINIO_ADDRESS=oss. ",
            "MINIO_PORT=443",
            "MINIO_USE_SSL=true",
            "MINIO_SECRET_KEY=",
            "MINIO_ACCESS_KEY=",
            "MINIO_BUCKET=",
            "SPARQL_ENDPOINT=https://graph. /blazegraph",
            "GLEANER_HEADLESS_ENDPOINT=http://headless:9222",
            "GLEANER_HEADLESS_NETWORK=headless_gleanerio"
        ],

        "Args":[
             "--cfg",
            "/configs/gleanerconfig.yaml",
            "-source",
            "iris",
            "--rude"
        ],
        "Image": "nsfearthcube/gleaner:dev_ec",
        "Labels": {
            "com.example.vendor": "Acme",
            "com.example.license": "GPL",
            "com.example.version": "1.0"
        },
        "Configs": [
            {
                "ConfigName": "gleaner-test2",
                "ConfigID":"mw7ghwth73v7de9xh21y3smhh",
                "File": {
                    "Name":"/configs/gleanerconfig.yaml",
                    "UID": "0",
                    "GID": "0",
                    "Mode": 444
                }
            }
        ],
        "Dir": "/gleaner",
        "Networks": [
        {
            "Target": "headless_gleanerio"
        }],
        "RestartPolicy": {
            "Condition": "none",
            "Delay":<PHONE_NUMBER>0,
            "MaxAttempts": 10,
            "Window": 0
            }
    }
    },
    "Networks": [
        {
            "Target": "headless_gleanerio"
        }]
}


[ZEPPELIN-1094] Run all paragraphs keeps appending empty paragraphs

What is this PR for?
Every time user clicks on "Run all paragraphs" button system keeps appending an empty paragraph. Ideally content of paragraph should be checked before adding any empty paragraph.
This started happening after ZEPPELIN-707 was merged.
What type of PR is it?
[Bug Fix | Improvement]
Todos

[x] - add more condition before calling note.addParagraph()

What is the Jira issue?

ZEPPELIN-1094

Screenshots (if appropriate)
Before

After

Questions:

Does the licenses files need update? n/a
Is there breaking changes for older versions? n/a
Does this needs documentation? n/a

LGTM

@jongyoul Since you were reviewing the original PR can you check this one out?

Merging this if no more discussion.

I'm testing it. Just wait.

@prabhjyotsingh After run all paragraphs, note adds new paragraph at the end of last paragraph. And then, if the last paragraph is empty, note don't create paragraph anymore. Is it normal? I think it's better not to create empty paragraph. How about you?

Yes, its working for me, if you refer to the gif attached above; if paragraph content is only interpreter name (like in this example "%md ") it wouldn't add a paragraph below, but if we append anything after it, on running that should append a paragraph below.
IMO, I too am in a favour of not adding an empty paragraph on running notebook.

@prabhjyotsingh I only said that case of "running all paragraph". I think "running all paragraphs" is not interactive mode. But in a normal case, I like to add empty paragraph at the end of paragraph. What I told is that how about not adding empty paragraph when you click "running all paragraphs".

@jongyoul Sure, now I understand what you mean, but before that what do we call an empty paragraph; should it be Strings.isNullOrEmpty(text) or "%getInterpreterName()".equals(text.trim()) or both.
And if we say both then this is kind of taking care of it. However I can try and tune it.

@prabhjyotsingh You're right for the before behaviour. I thank you for taking care of it. In case of your PR, I've tested and worked well. I hope you can deal with my suggestion.

Sure, thank you @jongyoul I'll open up a separate PR for fixing that.


Grouping multiple OTPs

It'd be great to have an option to group together several OTPs.
Use case: Have more than 10 OTPs and it's hard to keep an overview.

** laktak commented 7 hours ago**
I have tokens for myself, for work and a few other groups. It would be nice to be able to group them.

It looks like this may be possible now with added support for CollectionView sections
https://developer.apple.com/videos/play/wwdc2020/10097/


Add variable definitions for chapter 8

Adding the variables for chapter 7 based on the data received so far, with some minor spelling harmonizations. Please review the descriptions

Chapter 7 was changed to Chapter 8

Thanks again so much @danielhuppmann. In reviewing the data file you sent and what is in our figure data sheet, I have the following requests to variable names:

AR6 Reanalysis|OSCARv3.2|Carbon Removal|Land|Conventional CDR  -> Carbon Removal|Conventional
Gross Emissions|CO2 -> Gross Emission Reductions from 2020|CO2

Thanks for the comments, @gidden. In the interest of readability, can I suggest an alternative?

Gross Emissions|CO2 -> ~Gross Emission Reductions from 2020|CO2~ Gross Emissions|CO2 [Reductions relative to 2020]

And to avoid any confusion, @gidden - should the variables

AR6 Reanalysis|OSCARv3.2|Carbon Removal|Land
AR6 Reanalysis|OSCARv3.2|Carbon Removal|Land|Indirect

also be shortened similar to your suggestion for AR6 Reanalysis|OSCARv3.2|Carbon Removal|Land|Conventional CDR?

No I would prefer to keep those variables as is. They are relevant for Figure 7.4, but not for any indicator (they mix flux types which should not be misunderstood by users/policy makers).


State design pattern

An attempt to implement the State design pattern.
Thoughts:
While refactoring these changes, it felt quite cumbersome with the number of additional classes required but I understand the benefit in adding states in the future. I also struggled with the relationship between the individual states and the properties/methods of the context. For example, most properties are protected which are somehow accessible to the other classes within that sub-package. What I don't have access to is the protected pathFinder property of Robot inherited from AMover and a method was created to set that. This also applies to the protected log method which is inherited from AEntity yet not callable via the context within the states.

Note: this.log used within the individual states have been commented out due to their visibility. I would like to resolve this but I'm unsure how.
These should be removed or resolved before completing the PR.

Putting my lecturer hat on, I'd suggest creating some quick activity/state diagram for the robot and the packing station. This would make it easier for someone to catch up on the code :-).
You could probably whip up one quickly with something like GenMyModel, for instance.


use generic instances in tests

eliminates some boilerplate in the tests by using purescript-generics-rep

No need to pull Generic in: we can derive Eq and Ord directly :smile: https://github.com/purescript/purescript/releases/tag/v0.8.2

Oh oops, we can't derive Show so we do need Generic if we want that. Hm, I'm tempted to leave the Show instance as-is just because the dependency graph of the core libraries can be somewhat difficult to deal with, so I'm not sure adding a dependency on Generic is worth it.

Good points. Will create a new PR that just uses the automatic derivation of Eq.

Actually just wanted to be sure re: the dep graph. The dependency is only added as a dev dependency. Does it still pose a problem?

Yes, I think so - if we added generics to this library's devDependencies, we might later add a (regular) dependency on maps from generics without realising that this will cause problems for anyone trying to install dev dependencies in this project.

understood. will make the separate PR that doesn't include generics.


Build(deps-dev): Bump @typescript-eslint/eslint-plugin from 5.23.0 to 5.24.0 (#3489)

Pull request opened by the merge tool on behalf of #3489

Merged in e954b8d5896487b0c5f94294b23be27116af6ef2


Language Model Execution Never Ends

While performing inference on the audio-visual model and setting USE_LM to True, the demo gets stuck and never completes. Specifically, line number 34 in lrs2_char_lm.py -batch, finalStateBatch = self.lstm(batch, initStateBatch), executes endlessly. How can this be resolved? Thanks!

Kindly update

Hi,
I've double checked, and my input files do match all specifications (number of characters, mouth location, video duration etc.). This is evidenced by the fact that inference using greedy search and beam search without LM work fine - but the output is quite inaccurate. However, the issue continues to persist when I set USE_LM to true.

First time such an issue has been observed.
If possible, can you please provide one of these samples that you are using? I can try to check at my end.
Also, which model are you using (AO/VO/AV)? Have you made any changes to the code (if no, can you once check with git whether any files are modified by mistake)? And are the package versions same as the ones listed in requirements?

Kindly update.

Closing issue. Re-open if required.


CI: use the trust template

@homunkulus r+

:pushpin: Commit 8b8b822 has been approved by japaric

:hourglass: Testing commit 8b8b822 with merge 8b8b822...

:broken_heart: Test failed - status-travis

:hourglass: Testing commit 9d153f4 with merge 9d153f4...

:broken_heart: Test failed - status-travis

@homunkulus r+

:pushpin: Commit 20c3882 has been approved by japaric

:hourglass: Testing commit 20c3882 with merge 20c3882...

:broken_heart: Test failed - status-travis

@homunkulus r+

:pushpin: Commit c562d5d has been approved by japaric

:hourglass: Testing commit c562d5d with merge c562d5d...

:broken_heart: Test failed - status-travis

:pushpin: Commit acbfb5f has been approved by japaric

@homunkulus r+

:hourglass: Testing commit acbfb5f with merge acbfb5f...

:sunny: Test successful - status-travis
Approved by: japaric
Pushing acbfb5fd00d59037007f37db33763dc02740eef6 to master...