Authentication fails for outlook.com account

Hi,
Just trying your integration for the first time. I have an outlook.com account with a microsoft365 family subscription and 2FA authentication. I have logged out and in to the account after setting up the app in the Azure Portal as a Personal Account. I also have a work account, which is logged into on my machine, but I am not touching that otherwise.
I have followed the instructions to set up the app, the permissions, etc. When I click on the Link O365 account link in HA I get to choose my outlook.com account, the page is rediected to the microsoft online URI, but the page is blank the URL contains an error:
https://login.microsoftonline.com/common/oauth2/nativeclient?error=invalid_request&error_description=The%20request%20is%20not%20valid%20for%20the%20application%27s%20%27userAudience%27%20configuration.%20In%20order%20to%20use%20/common/%20endpoint%2c%20the%20application%20must%20not%20be%20configured%20with%20%27Consumer%27%20as%20the%20user%20audience.%20The%20userAudience%20should%20be%20configured%20with%20%27All%27%20to%20use%20/common/%20endpoint.&state=Dcx48R40COGcvhsJFFmY3zM25LVoMU

When I log back into the Azure Portal I get this (couldn't copy the text)

Is there anything I can try?

It sounds like your two acco8unts are getting mixed somehow. Follow the instructions carefully, I would recommend you use Accounts in any organizational directory (Any Azure AD directory - Multitenant) and personal Microsoft accounts (e.g. Skype, Xbox) for the supported account types since you are using an outlook.com account (you cannot use Personal Microsoft accounts only as noted in the instructions. Make sure you have logged out of all MS accounts in your browser before logging in to create the Azure App. Also, since this is a personal account, note the sensors that will not work for you, so do not enable them in your config.yaml

OK, that was my bad for reading your prerequisites wrong in the part on the account type. I could not parse the parentheses and chose "only Personal account" instead of the option including a personal account. I've managed to get it to work now! Thanks

Thanks, I've adjusted the documentation to try to make that clearer.


Updated default parameterization template

poolName is now parameterized by default in batch LS

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

#sign-off


README-MULTISITE: Fix syntax issues reported by markdownlint

Some parts of README-MULTISITE.md didn't render properly, and markdownlint (which is used by GitHub's Super Linter) reported a bunch of syntax and style issues.
These commits fix those issues.

@BenoitKnecht could you please squash your commits? Thanks!

Done.

jenkins test docs

jenkins test doc

@BenoitKnecht

@guits What's up?

jenkins test docs

@BenoitKnecht sorry, wrong ping 😅  . It was for @dsavineau  ...

@dsavineau ?


Issue: Current page not be reset.

When i changes the per page records then the pagination display the old data like.
If i going to page number 4 and then set the par page is 25 then the pagination current page is to be reset but in real not reset the pagination pages that display current page is 4.
Makes the relation between vuwtable-2 and vuetable-pagination.

@ratiw  Yes i will check this example but this example has also be the same issue like this.

@ratiw Yes i will check this example but this example has also be the same issue like this.

did you manage to solve this problem?


Low truvari benchmark scores

Hi,
I am trying to run truvari on the hapdiff unphased variants VCF (produced by the haplotype resolved HG002 assemblies) against the HG002 benchmarking VCF. I have given the commands used and the links to the public datasets below:
Hapdiff command:
singularity exec --bind $DD_DIR hapdiff_0.9.sif hapdiff.py --reference $DD_DIR/chm13_v2.fa --pat $DD_DIR/hg002v1.0.1.pat.fasta.gz --mat $DD_DIR/hg002v1.0.1.mat.fasta.gz --out-dir $DD_DIR/hapdiff -t 20
Links to the pat and mat assemblies:
hg002v1.0.1.pat.fasta.gz - https://s3-us-west-2.amazonaws.com/human-pangenomics/T2T/HG002/assemblies/hg002v1.0.1.pat.fasta.gz
hg002v1.0.1.mat.fasta.gz - https://s3-us-west-2.amazonaws.com/human-pangenomics/T2T/HG002/assemblies/hg002v1.0.1.mat.fasta.gz
Truvari command:
truvari bench -b CHM13v2.0_HG2-T2TQ100-V1.0.vcf.gz -c /projects/rsaju_prj/LongReadAssembly-test/hapdiff/hapdiff/hapdiff_unphased.vcf.gz -o output/
Links to the base dataset:
base dataset - https://ftp-trace.ncbi.nlm.nih.gov/ReferenceSamples/giab/data/AshkenazimTrio/analysis/NIST_HG002_DraftBenchmark_defrabbV0.015-20240215/CHM13v2.0_HG2-T2TQ100-V1.0.vcf.gz
comparison dataset - produced by the hapdiff using the command above
Unfortunately, the precision, recall and F1 scores are low(~0.5) when it should be around 0.9? I tried using the latest HG002 benchmarks and good quality HG002 haplotype resolved assemblies available. Please find the summary.json produced by the truvari attached with this issue.
summary.json
Any idea what is going on and why are the scores so low? Any insights on this would be really helpful!
Thanks,
Riya

Hello,
Sorry for the late response! I don't see anything wrong with your command lines, so it is hard to tell why the scores are lower. I would try to look into fp / fn calls output by truvari and see if you can see any patterns there. If can look into the hapdup assembly alignments in these regions along with the hapdiff VCF calls.

Thanks @fenderglass !
Yep when we looked into the FP/FN calls, it looked like a lot of those were due to tandem repeat arrays just being represented slightly differently. (This may in part be due to actual errors in the gold standard, since it's a newer one based off the HPRC T2T assemblies, which hasn't been as well curated as the old hg19 gold standard).
Anyway, the solution seemed to be to slightly relax some of the parameters in Truvari. @riyasj327, could you please post the full Truvari call you ended up using?
(The numbers we are now getting show F-measures around 0.8 for sniffles2, hapdiff and pav, with slight differences in FP/FN tradeoff between the methods).

Good to know - 0.8 seems closer to the expected number, if you are including SDs / pericentromeric reigons.

Thanks for the info!


automated generation of docs from buildkite

This PR is from the docs gen pipeline from internal ngrok workings. It includes several changes to docs that were implemented in features but not included here yet. There are 2 action items from reviewers:

[ ] A decision on whether or not to write over the manually edited API header links
[ ] Look at the yarn.lock file and let me know what to do about that.

2 PRs will follow up this one:

A PR to add "This is a generated file, do not edit" at the top of all generated files
A PR to switch from the manual error list to the generated one

specifically:
A decision on whether or not to write over the manually edited API header links

i think you should overwrite

I don't know what to do about yarn.lock, but i'd say overwrite and we will fix it if it's broken. it looks like most of it is package updates.


Mastodon app needs flexibility for server choice

The current Mastodon app is tied to mastodon.social – it needs to prompt the user for the server URL at the same time as prompting for login details.

Alternative solution: provide for custom icon uploads or some other way to select pre-existing icon for custom apps. Perhaps use a Unicode emoji typeface to broaden the range instead of having to draw icons.
This could also fix a problem with some other apps whose icons are confusing, e.g. Google Keep has a light bulb that doesn't communicate its name or function. A keep (in the architectural sense) may be a better alternative – this is called a "canting" device. Canting devices do not always cross well over language barriers.

The problem's still there: it still connects only to mastodon.social

Should I overwrite my current manifests 292 and 6286 install with the latest committed version to test? I'm too much of a user to know the right way to do it.

is it "bx_multi_instance_config" that lets the server be changed from mastodon.social to something else?

Yes
Just remove your current Mastodon app from Station, and add it again. It will now ask for a custom domain.

As you wish, I'd keep it closed, all information are available in this issue now. We'll post a comment here once the release is published.

I confirm that it works.
The interface phrasing should be updated, though: it asks for the URL of a "self-hosted instance". It would be more inclusive, and more accurate, to say a "different instance" because the vast majority of mastodon users are not using self-hosted instances.


[feat] IDLock 150 - report access notifications

Hi guys, I'm moving my smarthome from Homeseer to Homeassistant, and have successfully moved most of it over. I've just included my IDLock150 into Zwavejs2mqtt, but I'm missing a feature from Homeseer that I'm hoping you can add.
Their documentation is here. Notice page 12 where it reports various notification parametert depending on how the lock was last operated. This class is included in Zwavejs2mqtt, but apparently just sits "Idle".
I had a pretty significant automation hooked up to the report of "Keypad lock operation" because that was a clear signal we had left the house. Meaning I turned off all lights and such from this report.
Thanks a lot!

Notifications are supported. You'll have to clarify if you are using MQTT, or are using HA's Z-Wave JS integration. Many of those are notification events, not values that you see in the control panel. For HA, those notification events like "Keypad lock operation" are HA events.

Notifications are supported. You'll have to clarify if you are using MQTT, or are using HA's Z-Wave JS integration. Many of those are notification events, not values that you see in the control panel. For HA, those notification events like "Keypad lock operation" are HA events.

Thats great news! :)
I'm using the WS Server implementation. Does that also support notifications? Seems like I need to change log level to view events? Sorry for the newbish questions

I'm using the WS Server implementation.

That doesn't really clarify anything. Are you using zwavejs2mqtt or not? Are you using the Z-Wave JS integration, or MQTT with HA?

I'm using the WS Server implementation.

That doesn't really clarify anything. Are you using zwavejs2mqtt or not? Are you using the Z-Wave JS integration (which uses the websocket), or MQTT with HA?

I'm sorry. I'm using zwavejs2mqtt in a docker container. It's not using MQTT, but the direct websocket integration with HA.
I just started listening to these events in the developer settings and can see that they fire :) It does however show as manual lock operation though, which is not correct. Keypad unlock operation doesn't seem to report at all.
RF unlock reports correctly, while RF lock still reports as "Manual lock"

You can use the driver debug logs in zwavejs2mqtt to see which events the device reports. HA only reports what the driver tells it about.

You can use the driver debug logs in zwavejs2mqtt to see which events the device reports. HA only reports what the driver tells it about.

Thanks, I'll have to look into this later. Getting late here now :)

Attached the silly level logs for a quick test. I just performed the following sequence of operations.

manual unlock
autolock
manual unlock
open
close
keypad lock
keypad unlock
open
close
autolock

zwavejs_2022-04-13.log

It would be helpful if you annotate those steps with timestamps.

It would be helpful if you annotate those steps with timestamps.

I could try. Thats almost 2.7k lines of log in 2 minutes though. All operations were run in pretty quick succession to keep the log as short as possible.
Would a different log level be better and contain enough?

So I had a sneaking feeling that something was off from my end as I remembered something similar happening under Homeseer.
I reinstalled the firmware on the lock ("updating" from v. 1.59 to v. 1.59) and it reports correctly now. Gonna close this issue then. Thanks for your help @kpine :)

How is your ID lock 150 zwave communication? are you having communication timeouts respons from your lock?

How is your ID lock 150 zwave communication? are you having communication timeouts respons from your lock?

It's been very stable for me, and battery life has been solid too. Overall very pleased with the lock. The inner handle is not as firm as when I mounted it, and I fear it's gonne be losening over time though.


Sorting in data grid respecting the culture specific sorting rules.

Currently when data grid sorts text columns containing a string with diacritics, it displays it in incorrect order because it does not respect the culture specific sorting rules.
The solution for this problem could be to provide a 'Parameter' property Comparer (of type System.Collections.IComparer) into the data grid.
If the property is set then the comparer would be used in RadzenGrid.View as the second parameter when OrderBy(..) is called.
[Parameter]
public IComparer Comparer { get; set; }

public override IQueryable<TItem> View
    {
        get
        {
            var view = base.View.Where<TItem>(columns);

            if (!string.IsNullOrEmpty(orderBy))
            {
                if (typeof(TItem) == typeof(object))
                {
                    var firstItem = view.FirstOrDefault();
                    if (firstItem != null)
                    {
                       // comparer added
                        view = view.Cast(firstItem.GetType()).AsQueryable().OrderBy(orderBy, Comparer).Cast<TItem>();
                    }
                }
                else
                {
                    // comparer added
                    view = view.OrderBy(orderBy,, Comparer);
                }
            }

            return view;
        }
    }

Would you please consider this feature?

Hey @OndrejUzovic ,
Maybe it will be better if we pass the current application culture instead exposing a property:

Not sure however how this will affect database sorting - should remain the same (performed by the database).

Hi @enchev ,
thanks for your response. The problem with the CurrentCulture is that it would be difficult (maybe impossible) to use in cases if you have multiple users with different cultures (each user wants to see the column ordered according to his culture rules).
However the problem seems a bit more complex that I thought when I wrote my original proposal. The problem is, it is not enough to just expose the property for IComparer because the comparer would just get the whole TItem and would not know which column(s) shall be compared. The implementation of IComparer would have to store the reference to DataGrid and then use Query.OrderBy to resolve that - which seems somehow complex for a general solution.
So finally I came to the idea that maybe better than IComparer will be to expose CultureInfo in DataGrid. The culture specific string comparer would be created internally by DataGrid and used only if string columns shall be sorted.
Here is my final workaround solution which reflex this idea and I am currently using:
(It creates System.StringComparer for sorting string columns.)
public class RadzenGridImprove<TItem> : RadzenGrid<TItem>
    {
        [Parameter]
        public CultureInfo Culture { get; set; }

        public override IQueryable<TItem> View
        {
            get
            {
                IQueryable<TItem> result;

                var comparer = TryCreateComparer(Culture, Query.OrderBy);
                if (comparer != null)
                {
                    result = base.View.OrderBy(Query.OrderBy, comparer);
                }
                else
                {
                    result = base.View;
                }

                return result;
            }
        }

        private IComparer TryCreateComparer(CultureInfo culture, string ordering)
        {
            IComparer result = null;

            if (culture != null && !string.IsNullOrEmpty(ordering))
            {
                var words = ordering.Trim().Split(null);
                if (words.Length > 0)
                {
                    // Get the property name
                    var propertyName = words[0];

                    // If the property is string type then create the culture specific string comparer.
                    var propertyInfo = typeof(TItem).GetProperty(propertyName);
                    if (propertyInfo != null && propertyInfo.PropertyType == typeof(string))
                    {
                        result = StringComparer.Create(culture, CompareOptions.StringSort);
                    }
                }
            }

            return result;
        }
    }

Hey @OndrejUzovic ,
Maybe it will be better if we pass the current application culture instead exposing a property:

Not sure however how this will affect database sorting - should remain the same (performed by the database).

Note that using CurrentCulture (which should be CurrentUICulture actually) might not be reliable enough because it's a thread local value and when changing it (using InvokeAsync or at events), the Blazor synchronization context doesn't pass it around (and it doesn't stick to a thread), so in dynamic culture scenarios that wouldn't be really reliable.
I've made a feature request here to actually have a Culture parameter on Radzen components directly.


Invalid order function for sorting

Hi,
I just got this, backpack become blank.

Funny thing, it bugs only with this item

Looks like it fails when there is the blue message "You may trade this item ...."


[NFC][Python: black] Reformatted the benchmark Python sources using utils/python_format.py.

Builds on the changes in #29718.

@swift-ci please test

@swift-ci please benchmark

Performance: -O

Regression
OLD
NEW
DELTA
RATIO

DataAppendDataSmallToSmall
2760
3280
+18.8%
0.84x (?)

FlattenListLoop
2825
3252
+15.1%
0.87x (?)

FlattenListFlatMap
4904
5393
+10.0%
0.91x (?)

Code size: -O
Performance: -Osize
Code size: -Osize
Performance: -Onone
Code size: -swiftlibs

How to read the data
The tables contain differences in performance which are larger than 8% and
differences in code size which are larger than 1%.
If you see any unexpected regressions, you should consider fixing the
regressions before you merge the PR.
Noise: Sometimes the performance results (not code size!) contain false
alarms. Unexpected regressions which are marked with '(?)' are probably noise.
If you see regressions which you cannot explain you can try to run the
benchmarks again. If regressions still show up, please consult with the
performance team (@eeckstein).

Hardware Overview
  Model Name: Mac mini
  Model Identifier: Macmini8,1
  Processor Name: Intel Core i7
  Processor Speed: 3.2 GHz
  Number of Processors: 1
  Total Number of Cores: 6
  L2 Cache (per Core): 256 KB
  L3 Cache: 12 MB
  Memory: 64 GB

@swift-ci please test

@swift-ci please benchmark

Build failed
Swift Test Linux Platform
Git Sha - b965e7705e912f37872b97480f39405097384d6e

Build failed
Swift Test OS X Platform
Git Sha - b965e7705e912f37872b97480f39405097384d6e

Performance: -O

Improvement
OLD
NEW
DELTA
RATIO

DropLastArray
5
4
-20.0%
1.25x (?)

Code size: -O
Performance: -Osize
Code size: -Osize
Performance: -Onone
Code size: -swiftlibs

How to read the data
The tables contain differences in performance which are larger than 8% and
differences in code size which are larger than 1%.
If you see any unexpected regressions, you should consider fixing the
regressions before you merge the PR.
Noise: Sometimes the performance results (not code size!) contain false
alarms. Unexpected regressions which are marked with '(?)' are probably noise.
If you see regressions which you cannot explain you can try to run the
benchmarks again. If regressions still show up, please consult with the
performance team (@eeckstein).

Hardware Overview
  Model Name: Mac mini
  Model Identifier: Macmini8,1
  Processor Name: Intel Core i7
  Processor Speed: 3.2 GHz
  Number of Processors: 1
  Total Number of Cores: 6
  L2 Cache (per Core): 256 KB
  L3 Cache: 12 MB
  Memory: 64 GB

@swift-ci please benchmark

Performance: -O

Regression
OLD
NEW
DELTA
RATIO

FlattenListLoop
2676
3185
+19.0%
0.84x (?)

DropFirstArray
13
14
+7.7%
0.93x (?)

Code size: -O
Performance: -Osize

Regression
OLD
NEW
DELTA
RATIO

DropFirstArray
13
14
+7.7%
0.93x (?)

Code size: -Osize
Performance: -Onone
Code size: -swiftlibs

How to read the data
The tables contain differences in performance which are larger than 8% and
differences in code size which are larger than 1%.
If you see any unexpected regressions, you should consider fixing the
regressions before you merge the PR.
Noise: Sometimes the performance results (not code size!) contain false
alarms. Unexpected regressions which are marked with '(?)' are probably noise.
If you see regressions which you cannot explain you can try to run the
benchmarks again. If regressions still show up, please consult with the
performance team (@eeckstein).

Hardware Overview
  Model Name: Mac mini
  Model Identifier: Macmini8,1
  Processor Name: Intel Core i7
  Processor Speed: 3.2 GHz
  Number of Processors: 1
  Total Number of Cores: 6
  L2 Cache (per Core): 256 KB
  L3 Cache: 12 MB
  Memory: 64 GB

@swift-ci please test

Can one of the admins verify this patch?

@swift-ci please test

@swift-ci please benchmark

Performance: -O
Code size: -O
Performance: -Osize

Regression
OLD
NEW
DELTA
RATIO

FlattenListFlatMap
4194
6517
+55.4%
0.64x (?)

ObjectiveCBridgeStubToNSDate2
450
600
+33.3%
0.75x (?)

Code size: -Osize
Performance: -Onone
Code size: -swiftlibs

How to read the data
The tables contain differences in performance which are larger than 8% and
differences in code size which are larger than 1%.
If you see any unexpected regressions, you should consider fixing the
regressions before you merge the PR.
Noise: Sometimes the performance results (not code size!) contain false
alarms. Unexpected regressions which are marked with '(?)' are probably noise.
If you see regressions which you cannot explain you can try to run the
benchmarks again. If regressions still show up, please consult with the
performance team (@eeckstein).

Hardware Overview
  Model Name: Mac Pro
  Model Identifier: MacPro6,1
  Processor Name: 8-Core Intel Xeon E5
  Processor Speed: 3 GHz
  Number of Processors: 1
  Total Number of Cores: 8
  L2 Cache (per Core): 256 KB
  L3 Cache: 25 MB
  Memory: 64 GB

Build failed
Swift Test Linux Platform
Git Sha - b1961745e0a5ab346923a2083ac838d8220e6480

@swift-ci please clean test

I really think this was the opposite of a good idea! It has created completely unnecessary merge conflicts for me in pending PR #26462 and had hurt the readability of source code in many places. Can we please revert this?
cc @eeckstein @gottesmm


Adding annotations to specify interface usage

Fixes #953.
Let me know what folks think of this approach and the classifications. Borrowed heavily from how Hadoop does things.

@billonahill - this is great. I was wondering if there is a way to discourage people using an API - like warnings etc. I see sometimes people are using directly the Heron API - which should be completely discouraged. If we can find a way to enforce, it will be great!

@kramasamy yes we should be able to do things like check at compile time if a class not in com.twitter.heron is implementing a Private or Unstable interface and emit a warning.
I don't think we detect at runtime (or even compile time) if a class is calling a class that they shouldn't.

Update: @kramasamy it seems annotations can't be inherited which means that if a class extends a superclass that has a given annotation we can detect that at compile time and warn, but if a class implements an interface that has a given annotation we can not detect that.

@billonahill - ok. I think it is better than the current state which is nothing.

👍

@kramasamy I just added an annotations processor which will emit warnings at compile time if a non-heron class extends a class marked as Private, LimitedPrivate or Unsable.
$ javac -cp "bazel-bin/heron/spi/src/java/libheron-spi.jar:bazel-bin/heron/api/src/java/libclassification.jar:bazel-bin/heron/proto/libproto_topology_java.jar" billg/*.java com/twitter/heron/*.java
billg/BillPacking.java:17: warning: billg.BillPacking extends from a class annotated with com.twitter.heron.classification.InterfaceStability.Unstable
public class BillPacking extends com.twitter.heron.NullPacking {
       ^
billg/BillPacking.java:17: warning: billg.BillPacking extends from a class annotated with com.twitter.heron.classification.InterfaceAudience.LimitedPrivate
public class BillPacking extends com.twitter.heron.NullPacking {
       ^
2 warnings

@billonahill - this is great!.

@billonahill - should we merge this?

@kramasamy this is merged.

sorry - I did not see the change in status at the top :(


RenderFlex overflow when using SegmentedButton in AnimatedCrossFade

Steps to reproduce
I have a  SegmentedButton in an AnimatedCrossFade, so that making a selection changes the crossFadeState.
Possibly related: #126905
Demo: https://dartpad.dev/?id=6a7307c9420f338bf0ef77f9ede1750c
Expected results
No error.
Actual results

Output
══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════
The following assertion was thrown during layout:
A RenderFlex overflowed by 2.9 pixels on the right.

Widget creation tracking is currently disabled. Enabling it enables improved error messages. It can
be enabled by passing `--track-widget-creation` to `flutter run` or `flutter test`.

The overflowing RenderFlex has an orientation of Axis.horizontal.
The edge of the RenderFlex that is overflowing has been marked in the rendering with a yellow and
black striped pattern. This is usually caused by the contents being too big for the RenderFlex.
Consider applying a flex factor (e.g. using an Expanded widget) to force the children of the
RenderFlex to fit within the available space instead of being sized to their natural size.
This is considered an error condition because it indicates that there is content that cannot be
seen. If the content is legitimately bigger than the available space, consider clipping it with a
ClipRect widget before putting it in the flex, or using a scrollable container rather than a Flex,
like a ListView.
The specific RenderFlex in question is: RenderFlex#58709 relayoutBoundary=up1 OVERFLOWING:
  creator: Row ← _TextButtonWithIconChild ← Align ← Padding ← IconTheme ← Builder ← Listener ←
    RawGestureDetector ← GestureDetector ← Semantics ← DefaultSelectionStyle ← Builder ← ⋯
  parentData: offset=Offset(0.0, 6.0) (can use size)
  constraints: BoxConstraints(0.0<=w<=23.1, 0.0<=h<=32.0)
  size: Size(23.1, 20.0)
  direction: horizontal
  mainAxisAlignment: start
  mainAxisSize: min
  crossAxisAlignment: center
  textDirection: ltr
  verticalDirection: down
◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤
════════════════════════════════════════════════════════════════════════════════════════════════════

Code sample

Code Sample

//ignore_for_file: prefer_const_constructors, prefer_const_literals_to_create_immutables

import 'package:flutter/material.dart';

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

const _title = 'SegmentedButton overflows (flutter/flutter#140426)';

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

  @override
  Widget build(BuildContext context) =>
      MaterialApp(title: _title, theme: ThemeData.dark(), home: DemoPage());
}

enum Options { a, b }

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

  @override
  State<DemoPage> createState() => _DemoPageState();
}

class _DemoPageState extends State<DemoPage> {
  var _state = CrossFadeState.showFirst;
  var _selected = {Options.a};

  @override
  Widget build(BuildContext context) {
    return Scaffold(
        appBar: AppBar(title: Text(_title)),
        body: AnimatedCrossFade(
            crossFadeState: _state,
            duration: Duration(milliseconds: 1000),
            // Shadow clips weirdly; separate issue.
            // Workaround: wrap with `ClipPath`
            firstChild: ClipPath(
                clipper: ShapeBorderClipper(shape: StadiumBorder()),
                child: ElevatedButton(
                    onPressed: _onPressed, child: Text('Click Me'))),
            secondChild: SegmentedButton(
                selected: _selected,
                onSelectionChanged: _onSelectionChanged,
                segments: [
                  ...Options.values.map((v) => ButtonSegment<Options>(
                        value: v,
                        label: Text(v.name),
//                       icon: Icon(Icons.abc),
                      ),
                ])));
  }

  void _onPressed() => setState(() {
        _state = CrossFadeState.showSecond;
      });

  void _onSelectionChanged(Set<Options> selected) => setState(() {
        _selected = selected;
        // Throws: "A RenderFlex overflowed by 2.9 pixels on the right."
        _state = CrossFadeState.showFirst;
      });
}

Screenshots or Video
No response
Logs
No response
Flutter Doctor output
Doctor output
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.16.4, on LMDE 6 (faye) 6.5.0-0.deb12.4-amd64, locale en_US.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Chrome - develop for the web
[✓] Linux toolchain - develop for Linux desktop
[✓] Android Studio (version 2023.1)
[!] Android Studio (version unknown)
    ✗ Unable to determine Android Studio version.
[✓] IntelliJ IDEA Ultimate Edition (version 2023.3)
[✓] Connected device (3 available)
[✓] Network resources

! Doctor found issues in 1 category.

Reproducible using the code sample provided above.

flutter doctor -v
[✓] Flutter (Channel stable, 3.16.4, on macOS 14.1.2 23B92 darwin-arm64, locale en-GB)
   • Flutter version 3.16.4 on channel stable at /Users/nexus/dev/sdks/flutter
   • Upstream repository https://github.com/flutter/flutter.git
   • Framework revision 2e9cb0aa71 (9 days ago), 2023-12-11 14:35:13 -0700
   • Engine revision 54a7145303
   • Dart version 3.2.3
   • DevTools version 2.28.4

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0-rc1)
   • Android SDK at /Users/nexus/Library/Android/sdk
   • Platform android-34, build-tools 34.0.0-rc1
   • Java binary at: /Users/nexus/Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
   • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
   • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.0)
   • Xcode at /Applications/Xcode-15.0.0-Release.Candidate.app/Contents/Developer
   • Build 15A240d
   • CocoaPods version 1.13.0

[✓] Chrome - develop for the web
   • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.3)
   • Android Studio at /Users/nexus/Applications/Android Studio.app/Contents
   • Flutter plugin can be installed from:
     🔨 https://plugins.jetbrains.com/plugin/9212-flutter
   • Dart plugin can be installed from:
     🔨 https://plugins.jetbrains.com/plugin/6351-dart
   • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)

[✓] IntelliJ IDEA Ultimate Edition (version 2023.2.5)
   • IntelliJ at /Users/nexus/Applications/IntelliJ IDEA Ultimate.app
   • Flutter plugin version 76.3.4
   • Dart plugin version 232.10072.19

[✓] VS Code (version 1.85.1)
   • VS Code at /Applications/Visual Studio Code.app/Contents
   • Flutter extension version 3.78.0

[✓] Connected device (5 available)
   • Pixel 7 (mobile)     • 28291FDH2001SA            • android-arm64  • Android 14 (API 34)
   • Nexus (mobile)       • 00008020-001875E83A38002E • ios            • iOS 17.2 21C62
   • Dean’s iPad (mobile) • 00008103-000825C811E3401E • ios            • iOS 17.1.2 21B101
   • macOS (desktop)      • macos                     • darwin-arm64   • macOS 14.1.2 23B92 darwin-arm64
   • Chrome (web)         • chrome                    • web-javascript • Google Chrome 120.0.6099.109

[✓] Network resources
   • All expected network resources are available.

• No issues found!

[!] Flutter (Channel master, 3.18.0-14.0.pre.31, on macOS 14.1.2 23B92 darwin-arm64, locale en-GB)
    • Flutter version 3.18.0-14.0.pre.31 on channel master at /Users/nexus/dev/sdks/flutters
    ! Warning: `flutter` on your path resolves to /Users/nexus/dev/sdks/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/nexus/dev/sdks/flutters. Consider adding /Users/nexus/dev/sdks/flutters/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/nexus/dev/sdks/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /Users/nexus/dev/sdks/flutters. Consider adding /Users/nexus/dev/sdks/flutters/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 62d699961f (4 hours ago), 2023-12-19 20:59:27 -0800
    • Engine revision c70f0a495a
    • Dart version 3.3.0 (build 3.3.0-244.0.dev)
    • DevTools version 2.31.0-dev.0
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0-rc1)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0-rc1
    • Java binary at: /Users/nexus/Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.0)
    • Xcode at /Applications/Xcode-15.0.0-Release.Candidate.app/Contents/Developer
    • Build 15A240d
    • CocoaPods version 1.13.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.3)
    • Android Studio at /Users/nexus/Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)

[✓] IntelliJ IDEA Ultimate Edition (version 2023.2.5)
    • IntelliJ at /Users/nexus/Applications/IntelliJ IDEA Ultimate.app
    • Flutter plugin version 76.3.4
    • Dart plugin version 232.10072.19

[✓] VS Code (version 1.85.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.78.0

[✓] Connected device (5 available)
    • Pixel 7 (mobile)     • 28291FDH2001SA            • android-arm64  • Android 14 (API 34)
    • Nexus (mobile)       • 00008020-001875E83A38002E • ios            • iOS 17.2 21C62
    • Dean’s iPad (mobile) • 00008103-000825C811E3401E • ios            • iOS 17.1.2 21B101
    • macOS (desktop)      • macos                     • darwin-arm64   • macOS 14.1.2 23B92 darwin-arm64
    • Chrome (web)         • chrome                    • web-javascript • Google Chrome 120.0.6099.109

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

https://dartpad.dev/?id=6a7307c9420f338bf0ef77f9ede1750c

I tried this link and no error was thrown when clicking the button. Is this supposed to reproduce in dartpad?

Hi @goderbauer, my apologies for not providing the clear reproducible steps
Kindly see the video below for the effect
https://github.com/flutter/flutter/assets/88313112/14a570e3-d0f7-45da-94b4-4e754a613ac8
══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════
The following assertion was thrown during layout:
A RenderFlex overflowed by 2.9 pixels on the right.

Widget creation tracking is currently disabled. Enabling it enables improved error messages. It can
be enabled by passing `--track-widget-creation` to `flutter run` or `flutter test`.

The overflowing RenderFlex has an orientation of Axis.horizontal.
The edge of the RenderFlex that is overflowing has been marked in the rendering with a yellow and
black striped pattern. This is usually caused by the contents being too big for the RenderFlex.
Consider applying a flex factor (e.g. using an Expanded widget) to force the children of the
RenderFlex to fit within the available space instead of being sized to their natural size.
This is considered an error condition because it indicates that there is content that cannot be
seen. If the content is legitimately bigger than the available space, consider clipping it with a
ClipRect widget before putting it in the flex, or using a scrollable container rather than a Flex,
like a ListView.
The specific RenderFlex in question is: RenderFlex#f1d13 relayoutBoundary=up1 OVERFLOWING:
  creator: Row ← _TextButtonWithIconChild ← Align ← Padding ← IconTheme ← Builder ← Listener ←
    RawGestureDetector ← GestureDetector ← Semantics ← DefaultSelectionStyle ← Builder ← ⋯
  parentData: offset=Offset(0.0, 6.0) (can use size)
  constraints: BoxConstraints(0.0<=w<=23.1, 0.0<=h<=32.0)
  size: Size(23.1, 20.0)
  direction: horizontal
  mainAxisAlignment: start
  mainAxisSize: min
  crossAxisAlignment: center
  textDirection: ltr
  verticalDirection: down
◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤
════════════════════════════════════════════════════════════════════════════════════════════════════
Another exception was thrown: A RenderFlex overflowed by 2.9 pixels on the right.
Another exception was thrown: A RenderFlex overflowed by 2.9 pixels on the right.
Another exception was thrown: A RenderFlex overflowed by 2.9 pixels on the right.

https://dartpad.dev/?id=6a7307c9420f338bf0ef77f9ede1750c

I tried this link and no error was thrown when clicking the button. Is this supposed to reproduce in dartpad?

Tap "Click Me" to cross-fade to the SegmentedButton.
Tapping "b" to cross-fade back reproduces the error.

Thanks for the great (DartPad!) example, it's easy to see the problem. Unfortunately, https://api.flutter.dev/flutter/widgets/AnimatedCrossFade-class.html has a serious constraint:
"This widget is intended to be used to fade a pair of widgets with the same width."
It would be useful to relax that constraint. I'm only labeling this P3 because we don't have plans to do so in the near term. We'd welcome a PR of course.


Add PostgreSQL Examples with Flex Shapes

Please work in adding examples using Flex Shapes with different combinations such as single master, 1 standby and 2 standby options.

@Matt-Mcl can you work on this example pls?

This should all already be possible @dralquinta by modifying values of variables. I'll test this now however.

Ah - there is a problem. Working on this now.


Create release for O3DE 2409

Commit c272ed6 on the development branch is the one working with the latest O3DE release. This PR merges this commit to the main branch to create RGL release for O3DE 2409.x.
Note: it should be merged only after #64 to get the updated documentation. The tags listed in the PR #64 will be added after PRs are merged.

Closed in favor of #67


Support “output” plugins

The idea is to not inly tag EC2 instances but to do more things like “tag K8s pod as dirty if someone has used kubectl exec to go into it”

This sounds great.  Will work in plan


Odd behaviour of Nested type fields vs other types

I expect an attribute that is not set to raise an error (preferably an AttributeError) when it is called directly, e.g.  my_instance.some_attribute
...
However, with the following class:
class TestUser(DocType):
    email = String(index="not_analyzed")
    friends = Nested(properties={
                        "email": String(index="not_analyzed"),
                        "name": String()
    })
    class Meta:
        index = "testing"
        doc_type = "test_users"

If I instantiate, without setting any attribute, and then call each attribute I get a surprising result:
>>> test_user = TestUser()
>>> test_user.to_dict()
{}
>>> test_user.friends
[]
>>> test_user.email
Traceback (most recent call last):
  File "/Users/Nicolas/my_project/flask/lib/python3.3/site-packages/elasticsearch_dsl-0.0.4.dev0-py3.3.egg/elasticsearch_dsl/utils.py", line 103, in __getattr__
KeyError: 'email'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/Nicolas/my_project/flask/lib/python3.3/site-packages/elasticsearch_dsl-0.0.4.dev0-py3.3.egg/elasticsearch_dsl/document.py", line 89, in __getattr__
  File "/Users/Nicolas/my_project/flask/lib/python3.3/site-packages/elasticsearch_dsl-0.0.4.dev0-py3.3.egg/elasticsearch_dsl/utils.py", line 399, in __getattr__
  File "/Users/Nicolas/my_project/flask/lib/python3.3/site-packages/elasticsearch_dsl-0.0.4.dev0-py3.3.egg/elasticsearch_dsl/utils.py", line 106, in __getattr__
AttributeError: 'TestUser' object has no attribute 'email'
>>> test_user.to_dict()
{'friends': []}

Is this the expected behaviour?

Yes, this is an expected behavior (though I have failed in documenting it so far). The rationale here is that nested will always be a list so people should be able to just .append to it if they want to add a nested document.
It occurs to me now that we should expose (and document!) this for other fields as well, perhaps by exposing multiple=False option for all fields - if set to True (which will be the default for nested) then this behavior will manifest.
Does that make sense to you?
Thanks!

OK...
Yes, I do think that it would be better to have it as an option, as it is a bit counter intuitive to the expected Python behaviour (I think, please correct me if I'm mistaken)...
Also, having it as an option for all types of fields would make it consistent across the range of Fields, and being able to do that is kind of neat too :)


DatetimeParseException for date expression

Hello,
i use the faker plugin in flink-sql-client within my standalone-cluster.
I created the following table:
CREATE TEMPORARY TABLE server_logs (
    client_ip STRING,
    client_identity STRING,
    userid STRING,
    user_agent STRING,
    log_time TIMESTAMP(3),
    request_line STRING,
    status_code STRING,
    size INT,
    WATERMARK FOR log_time AS log_time - INTERVAL '15' SECONDS
) WITH (
  'connector' = 'faker',
  'fields.client_ip.expression' = '#{Internet.publicIpV4Address}',
  'fields.client_identity.expression' =  '-',
  'fields.userid.expression' =  '-',
  'fields.user_agent.expression' = '#{Internet.userAgentAny}',
  'fields.log_time.expression' =  '#{date.past ''15'',''5'',''SECONDS''}',
  'fields.request_line.expression' = '#{regexify ''(GET|POST|PUT|PATCH){1}''} #{regexify ''(/search\.html|/login\.html|/prod\.html|cart\.html|/order\.html){1}''} #{regexify ''(HTTP/1\.1|HTTP/2|/HTTP/1\.0){1}''}',
  'fields.status_code.expression' = '#{regexify ''(200|201|204|400|401|403|301){1}''}',
  'fields.size.expression' = '#{number.numberBetween ''100'',''10000000''}'
);

Adding was successfull, but then i just wanted to select from this table
SELECT * FROM server_logs

But then the following error occured:
Flink SQL> select * from server_logs;
[ERROR] Could not execute SQL statement. Reason:
java.time.format.DateTimeParseException: Text 'Mon Dec 14 17:29:11 CET 2020' could not be parsed at index 2

The dateformat shown there is the recommeded from your README, so what is the failure?

That's odd. I just ran another test with Flink 1.12. and it is running.

While Flink Version?
Are you sure you pulled the latest commit of this repository? I added DataTimeParsing quite late.
Does it happen immediately on the first row?

Flink version 1.11.2
downloaded jar form releases page (0.1.0) to /lib directory of sql-client
It happens immediately

Thanks for your quick response :+1:

Here is the stack trace:
org.apache.flink.runtime.JobException: Recovery is suppressed by NoRestartBackoffTimeStrategy
	at org.apache.flink.runtime.executiongraph.failover.flip1.ExecutionFailureHandler.handleFailure(ExecutionFailureHandler.java:116)
	at org.apache.flink.runtime.executiongraph.failover.flip1.ExecutionFailureHandler.getFailureHandlingResult(ExecutionFailureHandler.java:78)
	at org.apache.flink.runtime.scheduler.DefaultScheduler.handleTaskFailure(DefaultScheduler.java:192)
	at org.apache.flink.runtime.scheduler.DefaultScheduler.maybeHandleTaskFailure(DefaultScheduler.java:185)
	at org.apache.flink.runtime.scheduler.DefaultScheduler.updateTaskExecutionStateInternal(DefaultScheduler.java:179)
	at org.apache.flink.runtime.scheduler.SchedulerBase.updateTaskExecutionState(SchedulerBase.java:503)
	at org.apache.flink.runtime.jobmaster.JobMaster.updateTaskExecutionState(JobMaster.java:386)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.apache.flink.runtime.rpc.akka.AkkaRpcActor.handleRpcInvocation(AkkaRpcActor.java:284)
	at org.apache.flink.runtime.rpc.akka.AkkaRpcActor.handleRpcMessage(AkkaRpcActor.java:199)
	at org.apache.flink.runtime.rpc.akka.FencedAkkaRpcActor.handleRpcMessage(FencedAkkaRpcActor.java:74)
	at org.apache.flink.runtime.rpc.akka.AkkaRpcActor.handleMessage(AkkaRpcActor.java:152)
	at akka.japi.pf.UnitCaseStatement.apply(CaseStatements.scala:26)
	at akka.japi.pf.UnitCaseStatement.apply(CaseStatements.scala:21)
	at scala.PartialFunction$class.applyOrElse(PartialFunction.scala:123)
	at akka.japi.pf.UnitCaseStatement.applyOrElse(CaseStatements.scala:21)
	at scala.PartialFunction$OrElse.applyOrElse(PartialFunction.scala:170)
	at scala.PartialFunction$OrElse.applyOrElse(PartialFunction.scala:171)
	at scala.PartialFunction$OrElse.applyOrElse(PartialFunction.scala:171)
	at akka.actor.Actor$class.aroundReceive(Actor.scala:517)
	at akka.actor.AbstractActor.aroundReceive(AbstractActor.scala:225)
	at akka.actor.ActorCell.receiveMessage(ActorCell.scala:592)
	at akka.actor.ActorCell.invoke(ActorCell.scala:561)
	at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:258)
	at akka.dispatch.Mailbox.run(Mailbox.scala:225)
	at akka.dispatch.Mailbox.exec(Mailbox.scala:235)
	at akka.dispatch.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
	at akka.dispatch.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
	at akka.dispatch.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
	at akka.dispatch.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
Caused by: java.time.format.DateTimeParseException: Text 'Mon Dec 14 17:29:11 CET 2020' could not be parsed at index 2
	at java.time.format.DateTimeFormatter.parseResolved0(DateTimeFormatter.java:1949)
	at java.time.format.DateTimeFormatter.parse(DateTimeFormatter.java:1777)
	at com.github.knaufk.flink.faker.FakerUtils.stringValueToType(FakerUtils.java:47)
	at com.github.knaufk.flink.faker.FlinkFakerSourceFunction.generateNextRow(FlinkFakerSourceFunction.java:93)
	at com.github.knaufk.flink.faker.FlinkFakerSourceFunction.run(FlinkFakerSourceFunction.java:49)
	at org.apache.flink.streaming.api.operators.StreamSource.run(StreamSource.java:100)
	at org.apache.flink.streaming.api.operators.StreamSource.run(StreamSource.java:63)
	at org.apache.flink.streaming.runtime.tasks.SourceStreamTask$LegacySourceFunctionThread.run(SourceStreamTask.java:213)

It somehow seems to be related to your environment. I only found this SO question [1] that seems related, although the root cause differs. Maybe this helps in debugging. If there is anything I can do to help you debug this, let me know.
[1] https://stackoverflow.com/questions/56976974/datetimeparseexception-fails-on-one-host-works-on-another-same-jdk

Thanks for the research. This is a really weird problem. Unfortunately, neither the installation of AdoptOpenJDK hotspot  (version 8 and 11) nor the downgrade of the rpm package tzdata/tzdata-java did anything. Maybe you can reproduce it in a Centos environment.

I reproduced it in Flink1.12 with the following code:
CREATE TEMPORARY TABLE timestamp_example (
  `timestamp1` TIMESTAMP(3),
  `timestamp2` TIMESTAMP(3)
)
WITH (
  'connector' = 'faker',
  'fields.timestamp1.expression' = '#{date.past ''15'',''SECONDS''}',
  'fields.timestamp2.expression' = '#{date.past ''15'',''5'',''SECONDS''}'
);

SELECT * FROM timestamp_example;

I reproduced it in Flink1.12 with the following code:
CREATE TEMPORARY TABLE timestamp_example (
  `timestamp1` TIMESTAMP(3),
  `timestamp2` TIMESTAMP(3)
)
WITH (
  'connector' = 'faker',
  'fields.timestamp1.expression' = '#{date.past ''15'',''SECONDS''}',
  'fields.timestamp2.expression' = '#{date.past ''15'',''5'',''SECONDS''}'
);

SELECT * FROM timestamp_example;

maybe due to timezone?

maybe due to timezone?

Which operation system / Java JRE do you use for the sql-client and flink cluster env @appleyuchi ?

Which operation system / Java JRE do you use for the sql-client and flink cluster env @appleyuchi ?

Which operation system / Java JRE do you use for the sql-client and flink cluster env @appleyuchi ?

Environment
version

System
Ubuntu20.04

Flink
1.12

JDK
1.8.0_131

Which operation system / Java JRE do you use for the sql-client and flink cluster env @appleyuchi ?

Environment
version

System
Ubuntu20.04

Flink
1.12

JDK
1.8.0_131

If you have time ,you  can control my computer via TeamViewer to reproduce it.

If you have time ,you  can control my computer via TeamViewer to reproduce it.

Hi @appleyuchi, @O1lpunch3r,
thanks for the continued interested in this issue. I was still not able to reproduce it (neither with Flink 1.12/11 or OpenJDK 8/11). Anyway, I have a guess that https://github.com/knaufk/flink-faker/tree/datetimeparsing might fix it. Could you check out this branch, mvn clean package and re-try your queries?
Thanks,
Konstantin

Hi @appleyuchi, @O1lpunch3r,
thanks for the continued interested in this issue. I was still not able to reproduce it (neither with Flink 1.12/11 or OpenJDK 8/11). Anyway, I have a guess that https://github.com/knaufk/flink-faker/tree/datetimeparsing might fix it. Could you check out this branch, mvn clean package and re-try your queries?
Thanks,
Konstantin

I'll try it right now.

I'll try it right now.

Now everything is ok.
This is tested in China.
https://github.com/knaufk/flink-faker/tree/datetimeparsing
However,before you close this issue,
Tell us you'll merge it in to the https://github.com/knaufk/flink-faker or NOT,please.
Thanks for your help

Now everything is ok.
This is tested in China.
https://github.com/knaufk/flink-faker/tree/datetimeparsing
However,before you close this issue,
Tell us you'll merge it in to the https://github.com/knaufk/flink-faker or NOT,please.
Thanks for your help

If this also fixes it for @O1lpunch3r, I would merge to master and include it in the next release.

If this also fixes it for @O1lpunch3r, I would merge to master and include it in the next release.

Great! It is working now. I have tested the example code of @appleyuchi and mine. Both are working with yout fix. Thank you @knaufk for fixing this. This connector is so great for testing.

Great! It is working now. I have tested the example code of @appleyuchi and mine. Both are working with yout fix. Thank you @knaufk for fixing this. This connector is so great for testing.

Thank you both for your help. I quickly released 0.1.1 with this fix included.

Thank you both for your help. I quickly released 0.1.1 with this fix included.


Test Pull Request actions

Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

/retest

/retest

/retest

/retest


Add method to SearchController to refresh suggestions

Use case
I use SearchAnchor in my app. I catch any errors in suggestionsBuilder and instead show an error widget with a "Retry" button:

However, when I went to implement the "Retry" button, I found out that there aren't any methods for that on SearchController, and instead I had to use this somewhat hacky code:
final text = controller.text;
controller.text = '';
controller.text = text;

Proposal
It would be nice if there was a method on SearchController to directly achieve that. That method could probably do nothing more than calling notifyListeners() to cause a refresh, though I haven't tested if this actually works.

Looking at the source code, it seems that there is one and only one circumstance for the suggestions to refresh—the text of the SearchController should change and the old next must not be equal to the new text. The method that triggers the refresh is (additional comments added for emphasis):
/// This method is registered as a listener to the `SearchController` and called in the `onChanged` callback
/// of the internal `SearchBar`.
Future<void> updateSuggestions() async {
    if (searchValue != _controller.text) {  // New text must be different from old to trigger the update
      searchValue = _controller.text;
      final Iterable<Widget> suggestions = await widget.suggestionsBuilder(context, _controller);
      if (mounted) {
        setState(() {
          result = suggestions;
        });
      }
    }
  }

The only way to trigger a manual refresh currently is to change the text of the controller. But there is a cleaner workaround for this. The sole purpose of changing the text in this scenario is to force a rebuild, so it must not be changed (at least not appear to change) for the user. The Unicode zero-width space character (ZWSP) U+200B can come in handy here. Adding this character to the string will not cause a visible change in the string for the user but is enough to trigger the updateSuggestions. In Dart, this character can be represented as:
const String _zeroWidthSpace = '\u200B';

A refreshSuggestions can be implemented as:
void _refreshSuggestions() {
  final previousText = _searchController.text;
  _searchController.text = '$_zeroWidthSpace$previousText'; // This will trigger updateSuggestions and call `suggestionsBuilder`.
 _searchController.text = previousText;
}

It is very common for apps to have search that does not only depend on the text. For example, a search category filter which would require the suggestions to rebuild every time the user selects a category.  It's a shame that a built-in widget for a fundamental feature like search requires a workaround.  I hope to see this fixed soon.

Other alternatives include avoiding SearchAnchor for now and using showSearch with a SearchDelegate. Or rolling your own search view (it is not that difficult and much more flexible). See this StackOverflow answer where I describe how to do it.


Fix/issue 14 b tree

Implementation a custom B+Tree (a tree with larger and horizontally connected nodes).
This may be more efficient than the currently used std::map.
See issue #14

Benchmark report
2022-03-BPlusTree.txt


image(all): added ability to specify recursion when getting all images

Similarly to #551, being able to specify recursion when getting images would be useful to speedier requests when creating scripts that need to pull information like aliases for images
>>> for image in client.images.all(recursion=1):
...   print(image.aliases)
...
[{'name': 'example/image/01', 'description': ''}]
[{'name': 'example/image/02', 'description': ''}]
[{'name': 'example/image/03', 'description': ''}]
[{'name': 'example/image/04', 'description': ''}]

Just to make sure I fully understand, this is related to the -0.19% decrease in test coverage and needing to update the tests for both this PR and the last to ensure the % is covered?

Just to make sure I fully understand, this is related to the -0.19% decrease in test coverage and needing to update the tests for both this PR and the last to ensure the % is covered?

I believe so yes. Here is the commit which which fixed it for instances after we fixed the workflow branch https://github.com/canonical/pylxd/pull/554/commits/2a6c7feaa54ac6a5c712911bc826dbe48b7c77ec


v2.0.0-rc.8 IE/Edge select fix regression

Related to:
https://github.com/vuejs/vue/issues/3689
https://github.com/vuejs/vue/pull/3719
Unfortunately reverting nextTick  to use microtask semantics causes the IE/Edge select fix to only partially work. IE/Edge remembers the selected value after page refresh (but is OK after a hard refresh)
I was wondering why using just nextTick in my PR didn't work when I did for you, then I saw that nextTick had changed implementation so must have been taking that little bit longer before it executed.
 I guess we'll go with the no flicker version of it (they can share the same callback) - PR welcome.


How to add the video codecs?

How to add the video codecs or can improve the video quality?

Hi @AshishYadav01 ,
Sorry for the late reply.
I don't know how to add additional codecs to WebRTC, I suggest to read the documentation or get help from the WebRTC community. If your video quality is not good, it may be because a bad connection or the quality of the camera itself, it worth checking this out as well.

H.264 only, because ios using  H.264 hardware accelerated encoding only

Thanks OwnerStasel,
I will checked it out. If you have a solution of mirroring, when using a front camera during calling then please let me know how I can handle it in my project.

maybe its help https://gist.github.com/lyokato/d041f16b94c84753b5e877211874c6fc

Thanks SimonTheCat,
I go through the Implementation but it didn't resolve a mirroring issue.


graphql-server-lambda does not able to config CORS origin

While serving GraphQL on AWS Lambda via API Gateway,
the graphql-server-lambda not able to response with access-control-allow-origin in header
This makes the  graphql-server-lambda unable to serve CORS.

The graphql-server does not create CORS requests for any integration you have to handle them yourself.
For API gateway you should be able to enable CORS following the instructions here:
http://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-cors.html
I have not tested this myself so I'm not 100% sure if it will append the correct header on output. I think it will create the OPTIONS method endpoint.
If you want to change the headers that are sent from graphql-server-lambda you can do so like this:
exports.graphqlHandler = function(event, context, callback)  {
    const callbackFilter = function(error, output) {
        output.headers[' Access-Control-Allow-Origin'] = '*';
        callback(error, output);
    }
    server.graphqlLambda({ schema: myGraphQLSchema })(event, context, callbackFilter);
};

Let me know if you have any problems.

@soda0289
In API Gateway, when I enable the CORS to the endpoint, it helps me to create an OPTION method which mock to response http 200 with CORS header.
However, for the actual request to lambda, the corresponding CORS header should be set by the lambda function.
the code block provided by you works for me. And I think this solution is good to be documented in packages/graphql-server-lambda/README.md
I could help on this in the coming weekend.

I will look into updating the documentation. There have been a couple questions on how to read and modify headers from the handler. We might want to add CORS as a feature of server itself but that could be out of the scope of this project.

@soda0289 Thanks for linking me over -- I missed this issue in my initial search for information.  I think your sample above is a good solution, as it keeps the signature as simple as possible for those not worried about custom headers.
Before I posted in the other issue, I read through most of the developer documentation and saw only a few indirect references to CORS support in the current versions of graphql-server and apollo-client.  I remember there being a better run-down in a past version of the documentation (probably eight or nine months ago) and I think it would be a good idea to restore a good guide to setting up GraphQL across origins.
Particularly with Lambda, with which setting up a Gateway on the same domain as the web server is a practical nightmare, I think there is room for improvement in the docs.  Can I be of assistance in updating the documentation with your above code and a brief explanation of CORS setup?

@jangerhofer Sure if you have some free time I'd be happy to review an update to the documentation. Are you thinking to update the graphql-sever-lambda README or the https://github.com/apollographql/tools-docs ?

@kkpoon @jangerhofer
I finally got around to updating the AWS Lambda README.
https://github.com/apollographql/graphql-server/pull/330
Let me know if you think we need more details. We still might need some more documentation on the tools website but I don't have time this week to do an update.

Since in Node 8.X runtime the callback parameter is removed; how the output headers can be modified?

@cesargdm
graphql-server-lambda uses the expressjs CORS options
ie:
export const graphQl = server.createHandler({
  cors: {
    origin: '*',
    methods: 'POST',
    allowedHeaders: [
      'Content-Type',
      'Origin',
      'Accept'
    ]
  }
});

Hope this helps!


Add suggested COPYRIGHT file (may need tweaking)

This is just a suggestion since the community is asking for a license for mcm.
Based ever-so-slightly on the similar work I had to do for Adélie Linux.

Ping.


Review Issue #2: Events Card, Browse Events by Category and Events Collection

Overview
Ensuring the event card and browse events by category meet everything needed and ensuring no other data is needed or wanted for the event creation or event card component. The events collection should be reviewed alongside the events card.
Please pay attention too:

Javascript issues
React components

Review Branch
main
Files to review

EventCard.jsx
BrowseOpportunities.jsx

Checklists

Architecture
Design
JS
React
UI

Due date
Tuesday, Feb. 8 12:00pm
For more information
The review process is documented at: http://courses.ics.hawaii.edu/ics414s21/morea/review/reading-idpm-review.html

EventCard.jsx
UI-03: we may want to render on the card a logo indicating if the event is outside/inside
Note: This may be where we want our add to calendar or share on twitter action? Like directly on the card?
BrowseEvents.jsx
UI-01: render three random cards but use a dropdown selector for category choice? Radio Field to indicate special skills or do we bring those from the user profile and apply automatically?
UI-03: what categories would we like to browse by? Indoor/Outdoor and Labor Intensive categories might seem logical for event creation?
UI-03: in the event creation, we will want both the category of event and what special skills it caters to because there is no link between those at the moment. Should we just automatically render cards that relate to special skills?

EventCard.jsx
Arch-01: Camel case lettering for the name
UI-07: page generated a console log error
BrowseOpportunities.jsx
Arch-01: Camel case lettering for the name
Design-05: Comments seem to be confusing, not clear. Code in the comments
UI-01: Have a way to search for opportunities based on category or filters
UI-03: Have the entire card move upon hover or something to indicate that the card can be clicked on, or make the links easily visible

EventCard.jsx:
JS-08: Unnecessary JSDoc comment.
BrowseOppurtunity.jsx:
Design-04: Eliminate large comment blocks
Design-05: Unnecessary comments. Commented out code on lines 26-29.

Event Card.jsx
JS-08: Should use regular comment (not JSDoc) and the comment is wrong.
UI-03: The link in Card Header is not obvious
Arch-01: Camel Case
BrowseOpportunities.jsx
L26-32 excluding 30: Code in comments
L10: Container ID is wrong
Arch-01: Camel Case
*Need to decide how each collection is structured to make this page better

BrowseOpportunities.jsx:
Arch-01: titles should follow the same naming convention
UI-03: clickable link needs to be obvious.
UI-03: organization name are interactive but hard to tell and doesn't do anything.

EventCard.jsx:
L6: Typo in line 8, remove the equals sign
L11: "/eprofile" could possibly change it to something more descriptive
BrowseOpportunities.jsx:
Design-08: Double check with ESLint. Certain spacing between lines are not there.

UI-02: Event card touch footer

EventCard.jsx
L6: Why are you talking about Stuff?
L8: What is the =?
L11: Is /eprofile the right route?
L21: You end up with a trailing ','
L41: event._id isn't used.
BrowseOpportunities.jsx
L13: index is not a good key. You can use event._id.
L34: The individual events don't have an _id field.


About section edit access

Hi there @mgrover1 or @ktyle or @brian-rose, I misspelled Pythia in the About section of this repo. I don't seem to have the right credentials to change this. Any chance someone with higher level permissions can update Pithia -> Pythia?
Thanks!

@norlandrhagen can you try again? You should be an admin

Thanks @mgrover1! All is fixed.


remove unnecessary imports

map and byte imports were peristed across files when detected due to
module level state.

Codecov Report

Merging #152 (15ae839) into main (4309abd) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #152   +/-   ##
=======================================
  Coverage   86.36%   86.36%
=======================================
  Files          14       14
  Lines        1437     1437
  Branches      459      460    +1
=======================================
  Hits         1241     1241
  Misses        196      196

Impacted Files
Coverage Δ

src/autogenerate/index.ts
97.30% <100.00%> (ø)

Continue to review full report at Codecov.

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


Reformat project using nixfmt-rfc-style

afaik the rfc style formatter is still pretty rough around the edges, personally I still use the nixpkgs-fmt but I also see alejandra quite a bit too

Nixpkgs is already enforcing its usage for some files: https://github.com/NixOS/nixpkgs/pull/326407
Here is the formatter tracking issue, it seems that they are planning on reformatting the whole nixpkgs repo in the near future: https://github.com/NixOS/nixfmt/issues/153


Withdrawal on KAVA only withdraws rewards, no commission

Describe the bug
The withdraw button only withdraws the rewards, without the commissions.
To Reproduce
Visit the account page
Expected behavior
After pressing the 'withdraw' button and signing in the Ledger, all rewards and commissions should be withdrawn.

fixed in #381


"Object.keys called on non-object" error on 'ember build' with v1.1.0

With v1.1.0, I'm getting the error below when I run ember build.  If I downgrade the dependency to<EMAIL_ADDRESS>the error does not happen.
Object.keys called on non-object
TypeError: Object.keys called on non-object
    at Function.keys (native)
    at LESSPlugin.toTree (/vagrant/www/client/node_modules/ember-cli-less/index.js:17:22)
    at /vagrant/www/client/node_modules/ember-cli/lib/preprocessors.js:99:26
    at Array.forEach (native)
    at processPlugins (/vagrant/www/client/node_modules/ember-cli/lib/preprocessors.js:98:11)
    at module.exports.preprocessCss (/vagrant/www/client/node_modules/ember-cli/lib/preprocessors.js:70:10)
    at EmberApp.styles (/vagrant/www/client/node_modules/ember-cli/lib/broccoli/ember-app.js:693:25)
    at EmberApp.toArray (/vagrant/www/client/node_modules/ember-cli/lib/broccoli/ember-app.js:878:10)
    at EmberApp.toTree (/vagrant/www/client/node_modules/ember-cli/lib/broccoli/ember-app.js:896:30)
    at Object.<anonymous> (/vagrant/www/client/Brocfile.js:43:22)

Which ember-cli version you running?

@colinhoernig is a colleague, this is with version 1.8.

@stkrzysiak which ember-cli version? (latest is 0.1.7).
The outputPaths option will be there regardless if the user wanted to customize it since version 0.0.45.

Sorry about that, ember-cli 0.1.2.

@stkrzysiak I was able to reproduce on that old ember-cli version.  I just fixed the compatibility in the latest version.  I'd encourage everyone to upgrade ember-cli if they can.


More clarification

There was confusion if the license is not assigned to the user. Updated the information.
Problem: https://github.com/MicrosoftDocs/windows-itpro-docs/issues/9161

@JohanFreelancer9 - kindly do the copy editor review for this PR. Thanks.

@Dansimp PR has been copyedited and is ready for final review, could you please check and merge? Thanks!

@joinimran : Thank you for recreating your PR in the new repository. This PR will be ready to merge as soon as the suggested change has been committed.


UCP: Support customizing URL prefix

Description
When Dashboard is running under a reverse proxy, it is very likely that the user want to customize the URL prefix of the UI, instead of keeping the default prefix /dashboard.
Goals:

Support customizing the prefix (the prefix shall be stored in PD)
Modifying Webpack configuration, as well as Dashboard UI logic, to accept dynamic prefix. The prefix should be passed to the UI from the backend.

Score

1680

Mentor(s)

@breeswish

Contact the mentors: #tidb-challenge-program channel in TiDB Community  Slack Workspace
Recommended Skills

Webpack
Etcd API

/pick-up-challenge


[WFRP4e System] Encumbrance effects are no longer applied when overencumbered

To reproduce:

Add trappings to an actor until they become Encumbered.
The Encumbrance 1 effect is no longer instantly added to Temporary Effects.From: thefirst5foundry: 11.308wfrp4e: 7.0.2wfrp4e-altdorf: 4.0.1wfrp4e-archives1: 4.0.1wfrp4e-archives2: 4.0.1wfrp4e-core: 4.0.1wfrp4e-dotr: 4.0.1wfrp4e-eis: 4.0.1wfrp4e-horned-rat: 4.0.1wfrp4e-middenheim: 4.0.1wfrp4e-pbtt: 4.0.1wfrp4e-rnhd: 4.0.1wfrp4e-up-in-arms: 4.0.1wfrp4e-wom: 4.0.1Active Modules: about-face, dd-import, drag-ruler, easy-target, fast-flip, forien-armoury, foundryvtt-simple-calendar, fxmaster, lib-wrapper, popout, quick-insert, smalltime, socketlib, stairways, times-up, token-action-hud-core, token-action-hud-wfrp4e, token-z, wfrp4e-gm-toolkit, forge-vtt

For what it's worth, I've dug deeper, and the steps to reproduce are more complicated:
Have an actor that is assigned to a user with player permissions
Log in as GM and log in as the player
While the GM and player are both connected, the actor sheet does not create/delete the encumbrance effect
If the player logs out, the actor sheet works as intended.
No errors in the console log. Tested on a newly created actor.


[add-on] Drama Very obselete

The website dramavery.com has expired. Do you have the source for the add-on used so that I might take a look into it?
Edit: Nevermind I just figured the url used for the add-on repo is provided within the app...

Issues like this belong in the repository of the respective addon


Add docs for the authorized Apps v2 API

Content in https://github.com/wso2/docs-is/pull/2209 is applicable for 5.11.0 as well.

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


String conversion error: Partial byte sequence encountered in the input and questions

Hi ! Sorry to bother you but i am a very beginner in unity ! ^^ I need your help about that error and GPU use in unity :

I cloned the repository in my project.
So i end up with 2 folders in my Asset folder named : "Samples" and "StreamingAssets"
Until there. All was good.
I have installed Gpt4all on my computer with the "installer for windows" downloaded on their website.
I cloned llama.ccp repository and used w64devkit to build it.
I downloaded ggml-gpt4all-j-v1.3-groovy.bin and placed it in StreamingAssets\Gpt4All
I launched the unity project to see what happen and all worked.
But when the chat moves towards the "enter text" in unity, the LLM stops writing its answer in mid-sentence.
And I get this error :

ExecutionEngineException: String conversion error: Partial byte sequence encountered in the input.
(wrapper native-to-managed) Gpt4All.LlmWrapper.ResponseCallbackStatic(int,intptr)
Gpt4All.LlmWrapper.Prompt (System.String promptText, Gpt4All.LlmPromptContext context) (at Packages/com.gpt4all.unity/Scripts/LlmWrapper.cs:85)
Gpt4All.LlmWrapper+<>c__DisplayClass17_0.b__0 () (at Packages/com.gpt4all.unity/Scripts/LlmWrapper.cs:99)
System.Threading.Tasks.Task`1[TResult].InnerInvoke () (at :0)
System.Threading.Tasks.Task.Execute () (at :0)
--- End of stack trace from previous location where exception was thrown ---
Gpt4All.LlmWrapper.PromptAsync (System.String promptText, Gpt4All.LlmPromptContext context) (at Packages/com.gpt4all.unity/Scripts/LlmWrapper.cs:100)
Gpt4All.LlmManager.Prompt (System.String rawPrompt) (at Packages/com.gpt4all.unity/Scripts/LlmManager.cs:133)
Gpt4All.Samples.ChatSample.SendToChat (System.String prompt) (at Assets/Samples/1 - Chat/ChatSample.cs:43)
System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.b__7_0 (System.Object state) (at :0)
UnityEngine.UnitySynchronizationContext+WorkRequest.Invoke () (at :0)
UnityEngine.UnitySynchronizationContext.Exec () (at :0)
UnityEngine.UnitySynchronizationContext.ExecuteTasks () (at :0)
Do you have an idea of what it is ?
Did I download and install things correctly ?
And finally, do you know how to use GPU instead of CPU ?
Thanks in advance Macoron !

Do you have an idea of what it is ?

Looks like you have found a bug in a string conversation. Could you provide prompt that you typed into input field?
I suspect problem is that LLM returned non-English text. I fixed similar bug in https://github.com/Macoron/whisper.unity/pull/34, but I want to double check it with your prompt.

do you know how to use GPU instead of CPU ?

Sadly, this bindings doesn't support GPU yet.

I think, I fixed that with #8. Reopen if you still has this issue on some prompt.

Sorry for late answer dude ^^ I didn't think you were this reactive ! I was speaking French when I got that error ^^ ! So yep, i'll check #8 ! That's a shame that it doesn't support GPU yet XD. I hope it will be the case in the future !


Client Crash due to QFAPI non-parity to FAPI on Content Registries v0

Context:
Mod crashing: mcdw 5.0.1 1.19.2 (Minecraft Dungeons Weapons)
QFAPI: 4.0.0-beta.30+0.76.0-1.19.2
Sub-API of concern: Quilted Fabric Content Registries (v0): 4.0.0-beta.30+0.76.0-1.19.2
Player is seeing a crash on right clicking a block. Almost immediately, the culprit of AxeItemAccessor jumps out. After a short github repo search it seems like QFAPI doesn't have this accessor at all. Digging a little further, it seems that there are several missing accessors actually. While these are marked as "internal", I don't see any strong logic behind not having parity in impl here to avoid random issues like this (on the accessors at least; the mixins aren't useful in secondary contexts).

Mixins are not part of api, they are implementation.

Ragardless, it causes an easily avoidable issue that can be added (and indeed is in FAPI)

The issue is that not even Fabric API wants that class to be used; It's an implementation detail, it's only meant to be used for making the API work and nothing else; Fabric mods aren't supposed to use it! Their devs get mad at that! They don't apply the same "support the legacy thing forever" approach that they have for some of their APIs, the mod's going to be broken because of the implementation detail that it has been using has been either altered or deleted, and they aren't going to warn people about that
Unless an accessor ends being a massive issue widespread across many mods (and we do have few), it is better for the mod to fix their issue in the end, it's good practice in the end and makes the mod resilient to whatever the heck Fabric API ends doing behind its scenes

@EnnuiL Ah, thank you for that clarification! I've made it a point to make an insulated accessor rather than using the one in the FAPI and that solved the issue that people were experiencing with MCDW :)


Add the ONTOLOGY_HOSTNAME param to the compose file

Allows to switch between the localhost and the deployment host during
the image build phase.
Closes #1 with help of @likelion.
Signed-off-by: Andrew Berezovskyi<EMAIL_ADDRESS>

Overall, I'm happy with the update!

Build failure due to #6

@likelion, RUN cat cliopatria is now commented out. Shall we merge this PR?


podman run is broken

Whenever I try to do a sudo podman run myimage it fails with a broken pipe error.
$ sudo podman run minimal-image ls
[conmon:e] Container name not provided. Use --name
Error: write child: broken pipe
$ sudo podman run -it minimal-image sh
Error: write child: broken pipe
$ sudo podman run --name myctr fedora ls
[conmon:e] Container name not provided. Use --name
Error: write child: broken pipe

/kind bug
Additional information you deem important (e.g. issue happens only occasionally):
Output of podman version:
Version:            1.3.2-dev
RemoteAPI Version:  1
Go Version:         go1.11.7
Git Commit:         ce84c3afdbaad69599a67da80ba3e51f1b91c6ad
Built:              Sun May 19 12:47:39 2019
OS/Arch:            linux/amd64

Additional environment details (AWS, VirtualBox, physical, etc.):
Doing this on fedora 29

Nevermind, I think my conmon was messed up. It works now.


LandingPage_iphone:  text boxes need set parameters at certain media queries in order to maintain design

the spacing between lines is pretty brutal in some places. I think we need to either set the dimensions of text divs (so they are designed with parameters + content in mind, making sure content doesn't grow with the site being resized breaking format) or change from justify to a most left aligned text approach (not as nice but quicker).
otherwise it looks unprofessional an messy :/

again lets wait for the website push after next week


feat: targetTranslation audio url support

PR raised in order to add this functionality into the raycast extension :)
https://user-images.githubusercontent.com/27580836/217337850-1b17b3be-5bd1-4d32-9fe3-e2363cab6845.mov

TASK
What I did
Add to the translations object the property targetTranslationAudioUrl
How to test

Go to dict.cc, play audio, intercept the requests and check if the url is the same

PS: I just noticed that the video doesn't include audio :( sorry for that, .mov audio codec, always being annoying


How to use Let's encrypt for implement ssl

Hello..
i have a vps with directadmin implementation.
deployed this package on a special host and subdomain and use "Free & automatic certificate from Let's Encrypt" option for ssl certificate.
there is a private key and certificate generated on ssl tab.
can i use this data for the laravel websocket server ssl config?
if not .. how should i config the server?
i have install certbot but im not sure how can i use that..
please help me ..

I try to archive the same thing via nginx, sadly no luck so far.
WebSocket is closed before the connection is established.
here is my nginx config, any hints are highly appreciated.
 server {
    listen 443 ssl;
    server_name socket.server.com;
    ssl_certificate /etc/letsencrypt/live/socket.server.com/fullchain.pem; # managed by Certbot
    ssl_certificate_key /etc/letsencrypt/live/socket.server.com/privkey.pem; # managed by Certbot
    include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
    ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot

    location / {
      proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
      proxy_set_header Host $host;

      proxy_pass https://ws-backend;

      proxy_ssl_certificate      /etc/letsencrypt/live/socket.server.com/fullchain.pem;
      proxy_ssl_certificate_key /etc/letsencrypt/live/socket.server.com/privkey.pem;

      proxy_http_version 1.1;
      proxy_set_header Upgrade $http_upgrade;
      proxy_set_header Connection "upgrade";
    }
  }
  upstream ws-backend {
    # enable sticky session based on IP
    #ip_hash;

    server localhost:6002;
  }


Add Show Difference From Mean Vis Mode

Resolves #192

This seems to work for me, though I'm not quite sure what the colors mean.  I wonder if (in a different PR) we could make it so when you switch the stdev slider we don't erase the previous view until the new view is drawn.  This would reduce the time it is black between sliding and make it easier to see the differences between slider positions on the geometry.


Spyder console unresponsive after long running training tasks

Issue Report Checklist

[x] Searched the issues page for similar reports
[x] Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
[x] Reproduced the issue after updating with conda update spyder (or pip, if not using Anaconda)
[x] Could not reproduce inside jupyter qtconsole (if console-related)
[x] Tried basic troubleshooting (if a bug/error)

[x] Restarted Spyder
[x] Reset preferences with spyder --reset
[x] Reinstalled the latest version of Anaconda
[x] Tried the other applicable steps from the Troubleshooting Guide

[x] Completed the Problem Description, Steps to Reproduce and Version sections below

Problem Description
What steps reproduce the problem?

What is the expected output? What do you see instead?
Paste Traceback/Error Below (if applicable)

PASTE TRACEBACK HERE

Versions

Spyder version:
Python version:
Qt version:
PyQt version:
Operating System name/version:

Dependencies

PASTE DEPENDENCIES HERE

I use Spyder 5.1.5 on windows 10 and connect to cloud ubuntu GPU instance via spyder_kernels 2.3.1, when i increase number of epochs in a deep learning model, when training finishes, Ipython console is un-responsive and i have to close the console and reopen existing console, is there anyway to fix this problem?
Many Thanks

Hi @mfruzan thank you for the feedback! Could you update Spyder on your local machine to see if that helps? For that, if you are using the Anaconda distribution, you will need to create a new env using the conda-forge channel. So from an Anaconda prompt run something like:
conda create -n spyder-cf -c conda-forge spyder
conda activate spyder-cf
spyder

To install Spyder 5.3.1 or the latest Spyder to test you can also donwload the standalone Windows installer at our release page: https://github.com/spyder-ide/spyder/releases/latest
Let us know if something of the above helps!

I installed Spyder 5.3.1, but problem still exists. Could it be related to a setting in windows 10 (powershell ssh.exe) that controls timeout?
Many Thanks

Thanks for the info @mfruzan , then I'm not sure what could be happening, sorry :/
Pinging @ccordoba12 and @impact27 (maybe them have some other ideas in order to debug this)

We fixed the problem by updating ClientAliveInterval, TCPKeepAlive and ClientAliveCountMax at Linux server (where spyder_kernel is running. )

Ok, thanks for letting us know about it. Closing then.


Add CashAccount support

Summary
Bitcoin Cash's alias/address system that is designed to meet the expectations of normal users. It allows for human readable account names.
Add CashAccount support to Badger.
https://www.cashaccount.info/

Should I update the link on the cashaccount.info website to point here, instead of to https://github.com/BadgerWallet/badger/issues/15 ?
Also, volunteering to the best of my ability to help out if there's anything that needs to be done to speed up the process of getting the support merged.

implemented


Html5 not working

Describe your bug here.
it not working
Command Prompt/Terminal logs (if existing)
lime test html5 -release
source/WeekData.hx:11: characters 8-19 : You cannot access the sys package while targeting js (for sys.io.File)
source/editors/WeekEditorState.hx:34: characters 8-16 :     referenced here
source/editors/MasterEditorMenu.hx:119: characters 37-52 :     referenced here

Are you modding a build from source or with Lua?
Source
What is your build target?
HTML5
Did you edit anything in this build? If so, mention or summarize your changes.
nothing

Yeah I have the same issue.
I am pretty sure it's caused by mod pack support. It sorta makes sense you can't use it in html5.
It's an issue exclusive to psyche engine versions 0.4.0+ i think


Request to add support for border-opacity-* classes

I'm exploring NativeWind for a possible migration from twrnc, unfortunately it seems like NativeWind doesn't support border-opacity-* classes. 😔
Example: <View className="border-t border-white border-opacity-10 android:pb-2" />

You can just use /the specified opacity scale you want.
For example your example would be border-white/10.
https://tailwindcss.com/docs/border-color

NativeWind only supports Tailwind 3. border-opacity- is from Tailwind v2


288 support wicked pdf

Summary
This PR aims to solve conflicts with other gems also monkey-patching the ActionView and ActionController render method by giving users an option config to disable the monkey patch and instead of using the render method in view component templates to use the render_component helper.
When setting config.view_component.render_monkey_patch_enabled = false render_component gets included in ActionView and users can render view components in the following way:
<%= render_component Component.new(message: "bar") %>

The method render_component and render_component_to_string also get included in ActionController
Related Issue
https://github.com/github/view_component/issues/288

@johannesengl thanks for the PR! I've marked it as ready for review. Would you be willing to resolve the merge conflicts?

@johannesengl thanks for the PR! I've marked it as ready for review. Would you be willing to resolve the merge conflicts?

Sure no problem. I just resolved the conflicts.
When should I open a PR in draft mode and when should it be set to ready for review? The current PR introduces two new tests that are failing and I opened the PR so we could discuss how to solve this issue:
https://github.com/github/view_component/pull/358#discussion_r433748970

Disclaimer: This is totally not a big deal and I'm happy to stick with Joel's preference for this project.
IMHO, the draft PR state indicates "not ready for merge" (which GitHub helpfully enforces!) but doesn't make a claim about whether it can/should be reviewed; since it's possible to explicitly request a review on a draft PR, that action is the indication that you'd like a review on the PR as it currently stands.

Looks good! Can you add an entry to CHANGELOG and update the README to include your info?

Sure. Just updated the CHANGELOG and README: 685d40273a9178b17ff3f915a2b664a601475407

@joelhawksley
I would love to discuss a bit more in detail how we would like to setup a second dummy app in our test suit.
Do we want to have only one process running our test suite and then in the test_helper initialize two dummy apps?
I tried this out and pushed a new branch: https://github.com/johannesengl/view_component/tree/second-dummy-app-same-process/test
This approach fails at the point of initializing the second rails application. When executing Dummy2::Application.initialize! I get an error wrong argument type NilClass (expected Proc/Method/UnboundMethod) (TypeError)
Another option would be to invoke two rake tasks and have two folders for reach app including test files. I tried this approach and pushed it to this branch:
https://github.com/johannesengl/view_component/tree/second-dummy-app/test
This issue here is that we also have unexpected behavior when running tests and passing a specific path to a test file. Furthermore, the second run will override the first test coverage reports.
Also happy to jump on a call to discuss this further.

Furthermore, the second run will override the first test coverage reports.

SimpleCov declares support for merging of coverage across test suites. Have we tried this setup:
https://github.com/colszowka/simplecov/blob/v0.18.5/README.md#using-simplecov-for-centralized-config

@johannesengl this is a tricky one! I paired with my colleague @seejohnrun on this, and he recommended that we look into using the build_app pattern Rails uses to test similar functionality:
https://github.com/rails/rails/blob/e4b6c719cd1df3dd2bf16645dbe7780dd541ec78/railties/test/isolation/abstract_unit.rb#L99
Perhaps you could look into going that route? Let me know what you think.
Just a note: I'm going to be away from my computer for the next week, so I'll plan to catch up on this PR on or around June 29th 😄

@johannesengl this is a tricky one! I paired with my colleague @seejohnrun on this, and he recommended that we look into using the build_app pattern Rails uses to test similar functionality:
https://github.com/rails/rails/blob/e4b6c719cd1df3dd2bf16645dbe7780dd541ec78/railties/test/isolation/abstract_unit.rb#L99
Perhaps you could look into going that route? Let me know what you think.
Just a note: I'm going to be away from my computer for the next week, so I'll plan to catch up on this PR on or around June 29th 😄

@joelhawksley Welcome back. I hope you had a nice break :) Lets maybe align on what we want to archive and also rethink different options.
Option always include render_component
We decided to only add the render_component helper if render_monkey_patch_enabled = false. If we would be willing to add render_component in any case we could test the functionality without the need for a second dummy app.
However, we would still not be able to write a test making sure that the render monkey patches are not included if render_monkey_patch_enabled config is set to false. What do you think regarding this option?
Option several rake tasks
Current issues:

Combine simplecov reports
Find fix for making it still possible on passing a TEST parameter to test rake task

Option Booting up new rails app based on abstract_unit.rb used in rails testing
Just to clarify. We want to boot up a second rails app in the same process using the build_app pattern right?
I played around with the abstract_unit code. What it does is it boots up rails from an empty state by including some modules in ActiveSupport::TestCase. This opposes from what we have since we already initialized one dummy rails app.
The build_app method actually invokes the rails new generator. I assume more fitting for us would be the make_basic_app  method. I was able to archive that the view component engine got executed a second time with the new config options which led to including render_component. However the render monkey patches were still included in ActionView and ActionCntroller.
I was able to run the following test case in isolation successfully. When running the entire test suit other tests however failed.
  test "rendering component using the render_component helper" do
    make_basic_app do |app|
      app.config.view_component.render_monkey_patch_enabled = false
    end

    assert !Rails.application.config.view_component.render_monkey_patch_enabled

    get "/render_component"
    assert_includes last_response.body, "bar"

    get "/controller_inline_render_component"
    assert_includes last_response.body, "bar"

    get "/controller_to_string_render_component"
    assert_includes last_response.body, "bar"
  end

I would love to maybe pair with someone on this to move this PR forward.

Option always include render_component

I would support always providing render_component. Being explicit and using render_component would offer a minor optimization since it jumps straight to https://github.com/rails/rails/blob/cf1881237a3b40c6232cb321bed4f03ccc897cf5/actionview/lib/action_view/helpers/rendering_helper.rb#L43 without evaluating the case or the if, so it could be useful even in Rails 6.1.

I would support always providing render_component. [...]

I'm wary of going this route. I care a lot about the APIs we provide by default, and I'd much prefer that we use the Rails render call stack in 6.1.

Option Booting up new rails app based on abstract_unit.rb used in rails testing

This looks directionally correct. Let's pair on getting this resolved ❤

I would support always providing render_component. [...]

I'm wary of going this route. I care a lot about the APIs we provide by default, and I'd much prefer that we use the Rails render call stack in 6.1.

Option Booting up new rails app based on abstract_unit.rb used in rails testing

This looks directionally correct. Let's pair on getting this resolved ❤

After having paired on the Option of booting up new rails app based on abstract_unit.rb with @joelhawksley we decided not to further pursue this direction but rather always include render_component in < rails 6.1.
The option of rendering components via render_component is only given for better backward compatibility and therefore does not justify are more complex test setup using the build_app pattern from rails.

@johannesengl thank you SO much for your work on this PR! I look forward to your next PR :)

@johannesengl thank you SO much for your work on this PR! I look forward to your next PR :)

@joelhawksley It was my pleasure. I really enjoyed the collaboration with you. Thanks for making this a great first open-source experience! :)


By default ignore Co-authored-by footers on preparing Release Notes

Need to ensure that following footers are ignored by default, when running badabump-ci prepare_release ...,
Co-authored-by: playpauseandstop <...>

Ouch. Invalid request, it happens only when tags cannot be fetched and commit message used instead.


Cannot change / reset password

I am currently unable to change or reset my password.  I have tried the "Forgot your password?" link numerous times with my email address and username, but never receive a password reset link by email.  I have checked my spam folder.  I have also tried on different devices (iOS phone and Windows laptop), and tried clearing cookies.  I continue to be able to log in with my old password, but would like to change it for security reasons.
I was able to successfully reset my password on thronesdb.com.

our logs show that your server rejected these messages with an error: Sender verify failed
we use mailgun for our mail delivery and it's fine from the perspective of major email providers.