"Process" widget: Don't show the title if it's meaningless (same as app title, or empty)

Some windows don't need to show a particularly meaningful title, so they display the application name instead.
These windows are shown in simple-bar as "WhatsApp / WhatsApp", or "Telegram / Telegram".
This PR simply shows the application name only (e.g. "WhatsApp" or "Telegram") in such cases.
This PR also does that if the title is empty (which happens for some app popups).
(The min-width property of .process:not(.process--all-windows) has been slightly decreased in order to allow 8-chars process names to be displayed without having an odd gap on the right of the process name. For some reason the text isn't centered when the min-width takes effect.)

Thanks, that's a nice addition!


Animations on Android do not respect the duration scale value

I'm getting some unexpected behaviour from the flutter app specially regarding the timer and animation.
Steps to reproduce
1- Go into developer settings
2- Set all scales to another value than 1x
Expected results
The Flutter example app should also change the speeds of the animations
Actual results
Animation speeds in the Flutter example app are the same.
Code sample
Code sample

import 'package:flutter/material.dart';

// Define the main function
void main() {
  runApp(MyApp());
}

// Create the MyApp class
class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: TestingScreen(),
    );
  }
}

// Create the MapScreen class
class TestingScreen extends StatefulWidget {
  @override
  _TestingScreenState createState() => _TestingScreenState();
}

class _TestingScreenState extends State<TestingScreen> {
  // Create the map widget
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('Map'),
      ),
      body: Container(
        width: double.infinity,
        height: double.infinity,
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          crossAxisAlignment: CrossAxisAlignment.center,
          children: [
            MaterialButton(
                color: Colors.red,
                onPressed: () {
                  Navigator.push(context,
                      MaterialPageRoute(builder: (c) => DummyScreen()));
                })
          ],
        ),
      ),
    );
  }
}

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

  @override
  State<DummyScreen> createState() => _DummyScreenState();
}

class _DummyScreenState extends State<DummyScreen>
    with TickerProviderStateMixin {
  late AnimationController _controller;
  int levelClock = 30;
  @override
  void initState() {
    // TODO: implement initState
    super.initState();
    _controller = AnimationController(
        vsync: this,
        duration: Duration(
            seconds:
                levelClock) // gameData.levelClock is a user entered number elsewhere in the applciation
        );

    _controller.forward();
  }

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

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Container(
        width: double.infinity,
        height: double.infinity,
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          crossAxisAlignment: CrossAxisAlignment.center,
          children: [
            PRowComponent(
              animation: StepTween(
                begin: levelClock, // THIS IS A USER ENTERED NUMBER
                end: 0,
              ).animate(_controller),
            )
          ],
        ),
      ),
    );
  }
}

class PRowComponent extends AnimatedWidget {
  PRowComponent({Key? key, required this.animation})
      : super(key: key, listenable: animation);
  Animation<int> animation;

  @override
  build(BuildContext context) {
    Duration clockTimer = Duration(seconds: animation.value);

    String timerText =
        '${clockTimer.inMinutes.remainder(60).toString()}:${clockTimer.inSeconds.remainder(60).toString().padLeft(2, '0')}';

    return Row(
      mainAxisAlignment: MainAxisAlignment.center,
      children: [
        TextWidgetWithScaleFactor(
          text: "${"resend_otp"} ",
          fontSize: 14,
        ),
        TextWidgetWithScaleFactor(
          text: timerText,
          fontWeight: FontWeight.w700,
          fontSize: 16,
        )
      ],
    );
  }
}

class TextWidgetWithScaleFactor extends StatelessWidget {
  TextWidgetWithScaleFactor(
      {super.key,
      required this.text,
      this.fontSize = 12,
      // this.fontColor = AppColors.blackColor,
      this.isUnderline = false,
      this.fontWeight = FontWeight.w400,
      this.textAlign = TextAlign.start,
      this.maxLines,
      this.textOverflow = TextOverflow.clip,
      this.litterSpacing = 0.0,
      this.wordSpacing,
      this.lineHeight,
      this.fontFamily});
  String text;
  double? fontSize;
  Color? fontColor;
  FontWeight? fontWeight;
  bool? isUnderline;
  TextAlign? textAlign;
  int? maxLines;
  TextOverflow? textOverflow;
  double? litterSpacing;
  double? wordSpacing;
  double? lineHeight;
  String? fontFamily;

  @override
  Widget build(BuildContext context) {
    return Text(
      text,
      textAlign: textAlign,
      maxLines: maxLines,
      overflow: textOverflow,
      textScaleFactor: 1.0,
      style: TextStyle(
          fontSize: fontSize,
          fontWeight: fontWeight,
          color: fontColor,
          height: lineHeight,
          letterSpacing: litterSpacing,
          decoration: isUnderline! ? TextDecoration.underline : null,
          decorationColor: Colors.transparent),
    );
  }
}

Logs
It's a production issue so i don't have any logs neither in crashlytics nor in other logging system.
Related Issues
Here's some issues that are almost like mine.
https://github.com/flutter/flutter/issues/10101
https://github.com/flutter/flutter/issues/60917
Flutter Doctor output
[✓] Flutter (Channel stable, 3.24.0, on macOS 14.4.1 23E224 darwin-arm64, locale en-QA)
• Flutter version 3.24.0 on channel stable at /Users/myMac/fvm/versions/3.24.0
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 80c2e84975 (3 weeks ago), 2024-07-30 23:06:49 +0700
• Engine revision b8800d88be
• Dart version 3.5.0
• DevTools version 2.37.2
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
• Android SDK at /Users/myMac/Library/Android/sdk
• Platform android-34, build-tools 34.0.0
• Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 15.3)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 15E204a
• CocoaPods version 1.15.2
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2022.2)
• Android Studio at /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.6b802.4-9586694)
[✓] VS Code (version 1.80.1)
• VS Code at /Users/User/Downloads/Visual Studio Code.app/Contents
• Flutter extension version 3.94.0
[✓] Connected device (4 available)
• sdk gphone64 arm64 (mobile)     • emulator-5554         • android-arm64  • Android 14 (API 34) (emulator)
• macOS (desktop)                 • macos                 • darwin-arm64   • macOS 14.4.1 23E224 darwin-arm64
• Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin         • macOS 14.4.1 23E224 darwin-arm64
• Chrome (web)                    • chrome                • web-javascript • Google Chrome 127.0.6533.120
! Error: Browsing on the local area network for Shadi’s iPhone. Ensure the device is unlocked and attached with a cable or associated with the same local area network as this
Mac.
The device must be opted into Developer Mode to connect wirelessly. (code -27)
[✓] Network resources
• All expected network resources are available.
• No issues found!

Based on this comment, it seems like there isn't a way for flutter to get these values so we can't really do much here https://github.com/flutter/flutter/issues/10101#issuecomment-398940831.
However, it has been a while since that comment was posted and I don't know if this has changed or not but given that this is a developer setting, it doesn't seem like this might have changed. As such, I'll be closing this based on that comment. If you know of an API that will enable us to change this, kindly leave a comment below and I will reopen this.
Thank you

Hi @danagbemava-nc ,
I figured it out it's problem with Animation no matter what ever animation i run it doesn't respect the time even though settings is normal one.


Sample Index Consideration?

First, thanks for the nice pipeline!!! The protocol considers barcode/UMI files and the cDNA.  Is it possible to also have the sample index considered to more quickly split responses of cells which were sequenced together? Any insights are appreciated.

This is currently not possible. I recommend doing the demultiplexing with bcl2fastq to generate separate fastqs for every sample. Out of curiosity and if we would consider this feature for an update: is the index barcode in a separate fastq?


[Question] - NPM performance

You posted a video on the nginx proxy manager comparing native SSL with NPM ssl, and showed differences in max speeds.
Did you find settings in the advanced section to tune these findings?

I am not that good in Linux Server Administration, Posted this in traefik forums, but didn't got any answers. Same for NPM. Maybe due to bad configuration or consumer grade hardware used, like pi and 3900XT.  now i am busy with some other works. After sometime i am planning to learn more "Linux" Stuff. Then i will write a documentation.


[BUG] [yurt-manager] Error: unknown flag: --leader-elect-resource-name

What happened:
Step 1. Installing yurt-manager refer to https://openyurt.io/zh/docs/installation/manually-setup#31-安装yurt-manager
Step 2. Exec kubectl get pod -n kube-system | grep yurt-manager and finds out yurt-manager's status is CrashLoopBackOff
Step 3. Get logs of yurt-manager and it says Error: unknown flag: --leader-elect-resource-name
What you expected to happen:
yurt-manager running successfully
How to reproduce it (as minimally and precisely as possible):
Refer to What happened
Anything else we need to know?:
Here's the whole logs of yurt-manager:
root@ubuntu:/home/ubuntu# kubectl logs -p yurt-manager-5458c7c5b5-s2vcw -n kube-system
Error: unknown flag: --leader-elect-resource-name
Usage:
  yurt-manager [flags]

Generic flags:

      --controllers strings                    A list of controllers to enable. '*' enables all on-by-default controllers, 'foo' enables the controller named 'foo', '-foo' disables the controller named 'foo'. (default [*])
      --disable-independent-webhooks strings   A list of webhooks to disable. '*' disables all webhooks, 'foo' disables the webhook named 'foo'.
      --enable-leader-election                 Whether you need to enable leader election. (default true)
      --feature-gates mapStringBool            A set of key=value pairs that describe feature gates for alpha/experimental features. Options are:
                                               AllAlpha=true|false (ALPHA - default=false)
                                               AllBeta=true|false (BETA - default=false)
                                               RavenL7Proxy=true|false (ALPHA - default=false)
      --health-probe-addr string               The address the healthz/readyz endpoint binds to. (default ":10272")
      --metrics-addr string                    The address the metric endpoint binds to. (default ":10271")
      --rest-config-burst int                  rest-config-burst. (default 50)
      --rest-config-qps int                    rest-config-qps. (default 30)
      --version                                Print the version information, and then exit
      --webhook-port int                       The port on which to serve HTTPS for webhook server. It can't be switched off with 0 (default 10273)
      --working-namespace string               The namespace where the yurt-manager is working. (default "kube-system")

Nodepool controller flags:

      --create-default-pool   Create default cloud/edge pools if indicated.

Yurtstaticset controller flags:

      --node-servant-image string   Specify node servant pod image used for YurtStaticSet upgrade. (default "openyurt/node-servant:latest")

Global flags:

      --add_dir_header                   If true, adds the file directory to the header of the log messages
      --alsologtostderr                  log to standard error as well as files
  -h, --help                             help for yurt-manager
      --log-flush-frequency duration     Maximum number of seconds between log flushes (default 5s)
      --log_backtrace_at traceLocation   when logging hits line file:N, emit a stack trace (default :0)
      --log_dir string                   If non-empty, write log files in this directory
      --log_file string                  If non-empty, use this log file
      --log_file_max_size uint           Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800)
      --logtostderr                      log to standard error instead of files (default true)
      --one_output                       If true, only write logs to their native severity level (vs also writing to each lower severity level)
      --skip_headers                     If true, avoid header prefixes in the log messages
      --skip_log_headers                 If true, avoid headers when opening log files
      --stderrthreshold severity         logs at or above this threshold go to stderr (default 2)
  -v, --v Level                          number for the log level verbosity (default 0)
      --vmodule moduleSpec               comma-separated list of pattern=N settings for file-filtered logging

Environment:

OpenYurt version:
Kubernetes version (use kubectl version): v1.28.4
OS (e.g: cat /etc/os-release): Ubuntu 22.04.3 LTS
Kernel (e.g. uname -a): Linux ubuntu 5.15.0-1043-raspi #46-Ubuntu SMP PREEMPT Mon Nov 13 15:08:58 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux
Install tools: helm
Others:

others
/kind bug

@herugen Thanks for raising issue, @rambohe-ch I think we need to update the image version in the charts as soon as possible, because currently the template is updated but the image is not.
https://github.com/openyurtio/openyurt/blob/4bd9e6174271f9415ed4d924432d6c3f80d694c2/charts/yurt-manager/values.yaml#L13-L17


Opening all mails with items and gold using TSM - no Mails were recognized

Please include as much of the following information as possible to help me fix the bug:
Brief Description of Bug
At first I thought at #73 that it was an error because the bag was full, now it happened with an empty bag it also wasn't recognized.
Could it be that I was using TSM MailUI to open all mails?
Or could some other addons that are intercepting it?
Will test the same with using the normal UI as well. and with less addons as well to be sure
Edit 1:
Tested it with way less addons, I could reproduce it.

Sending the Mail on Character 1

Gold is recognized
only first item is recognized in Journalator (but could be the Mail Name and not the Item that was sent I guess?)

Receiving Character 2

Opened all mails with TSM MailUI

neither Gold nor Items are recognized

Opening all mails with Native UI (TSM is loaded)

Gold and the first item (as mentioned above) is logged

Steps to Reproduce

Empty bag
4-5 Mails with full items + last (newest) mail with gold only
Use TSM MailUI to open all
Nothing recognized

Loaded Addons

Journalator
Auctionator
TradeSkillMaster

Back Trace (LUA Error Output)
You can get this through the use of !BugGrabber and BugSack addons.

That is expected behaviour because TSM opens the mails in a way it isn't possible to hook into to detect when it happens.

Is there anyway to correct the entry/manually add the mail entry in the files or via the addon to remedy this so that the log is accurate?


[Mem2Reg] Don't canonicalize undef.

They aren't the kind of values whose lifetimes are eligible for canonicalization.
rdar://113121424

@swift-ci please test source compatibility

@swift-ci please test


⚠ Bofrost.de has degraded performance

In d3dce36, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1391 ms

Resolved: Bofrost.de performance has improved in 35ffcad after 9 minutes.


[SPARK-19670] [SQL] [TEST] Enable Bucketed Table Reading and Writing Testing Without Hive Support

What changes were proposed in this pull request?
Bucketed table reading and writing does not need Hive support. We can move the test cases from sql/hive to sql/core. After this PR, we can improve the test case coverage. Bucket table reading and writing can be tested with and without Hive support.
How was this patch tested?
N/A

Test build #73180 has started for PR 17004 at commit 3ecf187.

Test build #73180 has finished for PR 17004 at commit 3ecf187.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/73180/
Test PASSed.

Merged build finished. Test PASSed.

cc @cloud-fan @tejasapatil

LGTM with a minor nit

retest this please

Test build #73239 has started for PR 17004 at commit 3ecf187.

Test build #73239 has finished for PR 17004 at commit 3ecf187.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/73239/
Test PASSed.

Thanks! Merging to master.


Bump WEEK_12 to v1.7.0, WEEK_4 to 1.8.1

WEEK_4: v1.8.1 2024-10-30 29 days ago
WEEK_12: v1.7.0 2024-09-05 84 days ago

Merge on or after Nov 28.

This is covered by #2651 I believe


Check for IPNeighbor without HW address in vppagent-dataplane and return error

Expected Behavior
#810 fixes an issue where a IPNeighbor without a HW Address was being returned from an NSE.
The vppagent-dataplane needs to properly detect and return an error should this happen in the future.
I suggest writing an IsValid for ConnectionContext, and ensuring that's being called in vppagent-dataplane.
A way to test this would be to imitate the issue that revealed #810, and feed it an IPNeighbor with an ip of ::1 and no HWAddress.
Current Behavior
Currently if an IPNeighbor does not have a HW Address, dataplane provisioning silently fails.
Failure Information (for bugs)

Steps to Reproduce

Step 1
Step 2
You get the idea...

Context

Kubernetes Version:
etc.

Failure Logs

@stepan-anokhin Is this bug resolved?  If so, by which PR?

@edwarnicke it's still pending. I hadn't had a chance to take a look yet.

In progress

Seems to me this can be closed


Updates the default styles to match asciidoctor-pdf output

Remove horizontal delimiters (1px borders)
Slightly reduce the top margin on titles
Add a white background on toc2 (this class is used when :toc: left or :toc: right is used)
Remove the max-width and padding rules on header, content, footnotes, and footer

Also, prevents the ToC from being put off-canvas.
resolves #307

For reference, here's a before/after:

Before
After

Please note that this pull request also fixes the issue when :toc: left (or :toc: right).
Previously the output was:

Thank you very much


Added react router in App.tsx

I didn't find any page to navigate so I just declared the element in Route to div

Thanks @Maaz4324! I'll take a look.

I had to go ahead and complete this issue in #412 @Maaz4324 since other issues depend on it. I used this PR as a reference though. Thank you and feel free to pick up another issue if you are interested!


Drawer header account footer secondary text type error

when using a variable instead of raw text for this part of the drawer component there is an error saying that  raw text should be in a  component
This example can reproduce the problem with this.state.text being a string variable
                            <Drawer.Header.Account
                                avatar={<Avatar text={'A'} />}
                                accounts={[
                                    { avatar: <Avatar text="B" /> },
                                    { avatar: <Avatar text="C" /> },
                                ]}
                                footer={{
                                    dense: true,
                                    centerElement: {
                                        primaryText: 'Reservio',
                                        secondaryText: this.state.test,
                                    },
                                    rightElement: 'arrow-drop-down',
                                }}
                            />

Using latest version of react-native-material-ui

What is the variable this.state.test set to initially?

@Cleanshooter a string value, like this.state = { test = '' }, I tested with an empty string and an initial value, same result.

Just for clarification you're setting the state in your constructor like this:
class App extends Component {
    constructor(){
    this.state = {
      test: ""
    };
  }
  ...
}

OR setting state in a non-constructor function like this:
this.setState({
  test: ""
});

Not this.state = {test = ""}  which would be improper syntax for React.
Reason that I ask is that typically when a developer experiences the error along the lines of "raw text should be in a component" it's because the variables isn't set to what they think it is... not an error in the component.  Could you provide the error message as well?

Sorry for the ambiguity, I am setting the state in the constructor and this is the error message

Please try
<Drawer.Header.Account
                                avatar={<Avatar text={'A'} />}
                                accounts={[
                                    { avatar: <Avatar text="B" /> },
                                    { avatar: <Avatar text="C" /> },
                                ]}
                                footer={{
                                    dense: true,
                                    centerElement: {
                                        primaryText: 'Reservio',
                                        secondaryText: {this.state.test},
                                    },
                                    rightElement: 'arrow-drop-down',
                                }}
                            />

still doesn't work


Snakemake gulp download Error

Hi,
I am getting the following error when I execute snakemake -p gulp_all

Command ' set -euo pipefail;
mkdir -p data/interim/rgb_train_segments/P14/P14_09
python -m epic_kitchens.preprocessing.split_segments           $(basename data/raw/rgb/P14/P14_09)           data/raw/rgb/P14/P14_09           data/interim/rgb_train_segments/P14/P14_09           data/processed/train_labels.pkl           rgb           --fps 60           --frame-format 'frame_%010d.jpg'           --of-stride 2           --of-dilation 3 ' returned non-zero exit status 1.
File "/epickitchens/epic/Snakefile", line 156, in __rule_segment_frames_for_video
File "/home/ec2-user/miniconda3/envs/epic/lib/python3.6/concurrent/futures/thread.py", line 56, in run
Removing output files of failed job segment_frames_for_video since they might be corrupted:
data/interim/rgb_train_segments/P14/P14_09
Shutting down, this might take some time.

Are there any python stack traces you can provide? Can you try running
$ mkdir -p data/interim/rgb_train_segments/P14/P14_09
$ python -m epic_kitchens.preprocessing.split_segments $(basename data/raw/rgb/P14/P14_09) data/raw/rgb/P14/P14_09 data/interim/rgb_train_segments/P14/P14_09 data/processed/train_labels.pkl rgb --fps 60 --frame-format 'frame_%010d.jpg' --of-stride 2 --of-dilation 3

from the root of the directory (you'll need to make sure data/raw/rgb/P14/P14_09 exists and has all the frames extracted from the corresponding tar file.

Hi WIll,
It seems to be working now. It was apparently some OpenCV error. Thanks for your help.


chore: improve retry conditions

This commit adds an extra status code check to the shouldRetry method.

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


derry 1.4.3 doesn't support Dart 3.0.0

I have update to flutter 3.10.0 and sdk to 3.0.0
Now i am getting error
derry 1.4.3 doesn't support Dart 3.0.0

I updated to 1.5.0 and it fixed my issue.


The blurred image is flipped vertically in Windows(Unity2017.2).

https://docs.unity3d.com/Manual/SL-PlatformDifferences.html
#if UNITY_UV_STARTS_AT_TOP
if (_MainTex_TexelSize.y < 0)
        uv.y = 1-uv.y;
#endif


当用户在pom.xml中配置了, testable-agent.log将不会生成

当用户在pom.xml中指定了Build folder时，com.alibaba.testable.agent.util.GlobalConfig#getBuildOutputFolder 将不能正确的获取当前build目录

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.jimcao seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Slack channel for cadence

Is there a slack channel for the cadence project to chat with other cadence users and maintainers?

This invite link is no longer active.
If you have an @paypal.com or @visa.com email address, you can still create an account.

Is there any way I can join slack channel.

Use this link.

Can anyone please share the slack invitation link? The last link has expired.

Link no longer works again.  Says you have to have an @visa.com email address.

For that I have to get employed at VISA. :-) Is there any other way around?

@mfateev  : please add new link for slack

Do we have a public slack channel for cadence

Yes, here's the address: https://uber-cadence.slack.com


Added updating nested context default value example

Small addition to https://github.com/reactjs/reactjs.org/pull/776
It was missing an example showing how the default value for the context needs to change to match the value passed to the provider.

Additionally it might be worthwhile to update the entire set of examples to instead show how to wrap the provider with a component holding its state and updaters instead of putting that in the App component...
Dunno if the added complexity makes that hard to understand to people 😕

ping @alexkrolick since you helped out with this the last time, have another look?

On second thought maybe it should just be toggleTheme: () => {}


Enable/disable image smoothing based on image interpolate value. (bug 1722191)

While some of the output looks worse to my eye, this behavior more
closely matches what I see when I open the PDFs in Adobe acrobat.
Fixes: #4706, #9713, #8245, #1344

/botio test

For example:

A lot more failures on the bots than locally.

/botio test

I'm looking into some heuristics. I was able to fix a few by following this comment, but there are still a few where acrobat seems to be doing some image smoothing in cases I wouldn't expect.

/botio test

This will still need some tweaks. On a high dpi monitor the output now looks very close to acrobat, but on a monitor with a device pixel ratio of 1, pdf.js looks much worse than acrobat. I thought it was maybe do to pdf.js trying to draw images at fractional pixels, but even when I align the image to whole pixel values it still looks worse. I wonder if they're using a different scaling algorithm.

I think I may have figured it out, instead of comparing the scale to 1 we have to take into account that css pixels per inch are different than pdf pixels per inch. Using that value for deciding when to smooth seems to match acrobats behavior.

/botio test

I need to look into why firefox-issue5549.pdf-page1 is blurry, locally (with lodpi and highdpi) it's getting smoothed in the viewer at 100%. I'm guessing something is different in test harness vs viewer.

The issue with firefox-issue5549.pdf-page1 was a float rounding error, the scale's were both 1.333... but slightly different.

/botio test

/botio-linux test

/botio-windows browsertest

/botio-linux preview

/botio makeref

/botio-linux makeref


x/website: SumNumbers depends on map iteration order with float64

What version of Go are you using (go version)?
Go 1.18 via playground.
What did you do?
I added extreme float64 values to the input of the SumNumbers function from https://go.dev/doc/tutorial/generics.
https://go.dev/play/p/aQ1cotOVsEc
What did you expect to see?
The function returns the same value consistently.
What did you see instead?
Across 4 runs:
0 62.97 35.98 0

Re-running this may provide different results.
The function works correctly with int64 because integer addition is associative. Addition is not associative with float64 values, so the map order changes the result dramatically.

On one hand, I agree the example is unfortunate, in that map iteration is not deterministic and thus in the float64 case the procedure exhibits numerical instability... on the other hand, it's supposed to be a quick introduction to type parameters. The kind of people that may care about the algorithm's numerical stability also probably understand that the example is not meant to be used in a numerical simulation in production.
I don't think it's worthwhile to add code to sort the map. Replacing a map with a slice would also fix the issue, but then we would lose the chance to also show what comparable is (it's used in the signature as K comparable).


[UI] Convert MesherySettings.js form Class-based to a functional component

Current Behavior
MesherySettings.js is a Class-based component
Desired Behavior
MesherySettings.js should be a  Class-based component.
Implementation
Here is a quick blog you can read : Link

Contributor Guides and Handbook

🎨 Wireframes and designs for Meshery UI in Figma (open invite)
🖥 Contributing to Meshery UI
🙋🏾🙋🏼 Questions: Discussion Forum and Community Slack

@Cvr421 Comment on this issue to get assigned.

I would like to work on this issue!

ok @Rajdip019 /assign


Need advisory about interconnected layers and models (Autoencoder)

Just done this guide -> https://blog.keras.io/a-ten-minute-introduction-to-sequence-to-sequence-learning-in-keras.html and the model saved successfully. Now i want to separate training phase from prediction. I know its possible to load a model again using load_model() function. In this tutorial you got on lstm for encoding, one for decoding, how to get the encoder/decoder again after successfully load the model?
In addition how to solve such a problem:
/usr/local/lib/python3.5/dist-packages/keras/engine/topology.py:2344: UserWarning: Layer lstm_2 was passed non-serializable keyword arguments: {'initial_state': [<tf.Tensor 'lstm_1/while/Exit_2:0' shape=(?, 366) dtype=float32>, <tf.Tensor 'lstm_1/while/Exit_3:0' shape=(?, 366) dtype=float32>]}. They will not be included in the serialized model (and thus will be missing at deserialization time).
So far i know it is necessary to have these weights/connection between encoder and decoder. Any idea?

First i named my lstm layers, then i tried the following, with bad results:
`trainedModel = load_model('s2s.h5')
Next: inference mode (sampling).
Here's the drill:
1) encode input and retrieve initial decoder state
2) run one step of decoder with this initial stateencoder_inputs = Input(shape=(10, 183))
decoder_inputs = Input(shape=(None, 183))
encoder_inputs = Input(shape=(10, 183))
encoder = trainedModel.get_layer("encoder")
encoder_outputs, state_h, state_c = encoder(encoder_inputs)
We discard encoder_outputs and only keep the states.
encoder_states = [state_h, state_c]
and a "start of sequence" token as target.
Output will be the next target token
3) Repeat with the current target token and current states
decoder_lstm = trainedModel.get_layer("decoder")
decoder_outputs, _, _ = decoder_lstm(decoder_inputs,
initial_state=encoder_states)
decoder_dense = Dense(183, activation='softmax')
decoder_outputs = decoder_dense(decoder_outputs)followed by this error:
Traceback (most recent call last):
File "predict.py", line 70, in
newlines = decode_sequence(chunks_train[2])
File "predict.py", line 54, in decode_sequence
predictedLogline, h, c = decoder_model.predict(states_value)
File "/usr/local/lib/python3.5/dist-packages/keras/engine/training.py", line 1730, in predict
check_batch_axis=False)
File "/usr/local/lib/python3.5/dist-packages/keras/engine/training.py", line 89, in _standardize_input_data
'...')
ValueError: Error when checking model : the list of Numpy arrays that you are passing to your model is not the size the model expected. Expected to see 3 array(s), but instead got the following list of 2 arrays: [array([[  4.84920815e-02,  -2.58697212e-01,   3.05500686e-01,
3.09119525e-04,  -4.98499274e-02,  -4.02525216e-01,
-9.96050686e-02,  -2.76536420e-02,   3.88025880e-01,
-5.6...
`
After all i tried another version loading all layers from model:
`trainedModel = load_model('s2s.h5')
Next: inference mode (sampling).
Here's the drill:
1) encode input and retrieve initial decoder state
2) run one step of decoder with this initial
decoder_inputs = trainedModel.get_layer('input_2')
encoder_inputs = trainedModel.get_layer('input_1')
encoder = trainedModel.get_layer("encoder")
encoder_outputs, state_h, state_c = encoder(encoder_inputs)
We discard encoder_outputs and only keep the states.
encoder_states = [state_h, state_c]
and a "start of sequence" token as target.
Output will be the next target token
3) Repeat with the current target token and current states
decoder_lstm = trainedModel.get_layer("decoder")
decoder_outputs, _, _ = decoder_lstm(decoder_inputs,
initial_state=encoder_states)
decoder_dense = trainedModel.get_layer('dense_1')
decoder_outputs = decoder_dense(decoder_outputs)with:  File "NDAE_predict.py", line 20, in
encoder_outputs, state_h, state_c = encoder(encoder_inputs)
File "/usr/local/lib/python3.5/dist-packages/keras/layers/recurrent.py", line 483, in call
return super(RNN, self).call(inputs, **kwargs)
File "/usr/local/lib/python3.5/dist-packages/keras/engine/topology.py", line 587, in call
self.assert_input_compatibility(inputs)
File "/usr/local/lib/python3.5/dist-packages/keras/engine/topology.py", line 432, in assert_input_compatibility
str(inputs) + '. All inputs to the layer '
ValueError: Layer encoder was called with an input that isn't a symbolic tensor. Received type: <class 'keras.engine.topology.InputLayer'>. Full input: [<keras.engine.topology.InputLayer object at 0x7f528618fc50>]. All inputs to the layer should be tensors.
`

Found my mistake, forgot to call the prediction with an empty that can be filled. Reverted to my first approach.

@CloudResearch did the Serialization Warning give you any problems later on?

Well i can't say that at the moment. i could predict something, but i don't know how it affects my prediction. Would be nice to know, what is not saved. As far as i understand the message output dimension of lstm1 won't get stored. So i decided to just load the layer from the model and connect all layer again. idk if that's a solution or if it slows down the process at all.

Hey guys, having the same problem! At first sight it looks that your fix of getting the encoder and decoder layers by name kindof fixes the problem. But I'm still getting the feeling that my accuracy is a lot lower when loading a model. Difficult to say for sure of course since everything is stochastic

Got the same problem, too.

me too..

I believe it's the callbacks that raise the non-serializable warning, but have no idea on how to fix it.

Hey ! I'm encountering the same problem too !
Can anybody here correctly save and load weights from their model after the "non-serializable keyword arguments" warning ?
I'm running on Keras 2.1.5 and every time I try loading my saved weights I get completely different results. This makes it impossible to resume training or start predictions after any kernel interruption.
I've tried model.save(), model.save_weights(), callbacks to a checkpointer with and without "save_weights_only=True", I just can't get around it.

Hi all,
I have the same issue here. Could someone reopen the issue? Thanks for any advice for suggestions?

Same problem for me. It seems that I can load it for inference but if I call the fit method then it seems to start from scratch, actually it starts making slower progress than if it was from scratch.

Is there any resolution to this issue or hints on how to fix it? Could someone reopen the issue?

Hey !
Coming back here because I think I have a way around. It's not really pretty, but it works for me.
To save the model I get the weights list  with model.get_weights() and serialize them on my disk. Then to reload them, I set the weights manually layer by layer. I've been able to resume training with this method.
My function to reload the weights  :
def reload_weights(model, weights_list):
k=0
for l in model.layers:
weights = l.get_weights()
n = len(weights)
if n > 0:
l.set_weights(weights_list[k:k+n])
k+=n
print("Poids chargés")
From this it should be easy to create a new callback that works, although I haven't had the time to try it yet.

@cibeah Have you had the chance to try and resume training or start predicting with your method? Currently having the same issues still in Keras 2.2.0. Did you pickle the weights_list to disk to reload it after?

@cibeah I tried doing the same you did and it didn't work. I even tried doing the same in a different way and it still didn't work. I even verified that the weights before and after saving matched (using both your method and mine) but it still performed poorly. I can only guess that something that should be getting saved is not.

The error actually comes from model.get_weights() - so attempts to save the weights and reload them using custom functions will also fail.

So, is there any solution to this problem yet? Anyone?

Got the same problem. Any solution??

The same problem, ask for solutions or workaround.


Fix print_info_message  issue

I ran into an issue when first using this plugin where the print_info_message function wasn't working correctly due to vim misinterpreting the <Esc> sequence in vim.command("normal \\<Esc>") as a series of individual characters rather than a single literal Escape character. This resulted in the characters 'c>' being inserted into the active buffer at the cursor location because the 's' in '<Esc>' was being interpreted as a normal mode 's', causing it to enter insert mode, and none of the info messages were being echoed properly. This was frustrating as it was not easy to figure out why my commands weren't working initially (turns out I hadn't configured my billing plan correctly, d'oh).
Fix this by using a more robust way of sending the <Esc> character to vim via vim.command('call feedkeys("\<Esc>")').
The usage of double quotes inside the feedkeys() call is important because it causes vim to treat the sequence as a proper escape sequence rather than a series of individual characters (see :h feedkeys).

I'll note that I'm not entirely sure what difference there is in my vim or python setup vs. others' that was causing this to happen, but the call feedkeys() way of doing this should work for everyone and will fix it for anyone else having the same issue.

Thanks for fixing the issue! This change should be safe to merge (even though it would be nice to know the root cause)


[v1.13] fix aws region being used twice

When backporting ca-west-1 region used twice in tested aws k8s versions
Also, ca-west-1 region is not supported by the eksctl tool used in testing
This PR replaces ca-west-1 regions with ca-central-1 and us-east-1
Action run (cluster provisioning works): https://github.com/cilium/cilium/actions/runs/8537420316

/ci-awscni

/test-backport-1.13

This is fallout from https://github.com/cilium/cilium/pull/30378, right?

Yes, it is

/test-backport-1.13


Fix mixed CDATA usage

Fixes #260

Thanks for your contribution! I'll let the tests run, and run it through myself. But it looks good for sure.

Done

Not sure what to do about this. I don't have Xcode 13.1 on macOS 11.0 available to me, so can't easily reproduce. Not sure why anyone would still use that either.

I agree with you @johankool , it's an old platform. And even the Xcode build is old for the specific platform. If you want, you can replace the target with a Ventura / Xcode 14 one to get the tests running. I'll make sure we'll also add Linux/5.7 and Linux/5.8 after that.

Actually, the latest tests (Xcode 14, macOS 12) never ran to begin with. So I do think there's something at play.

I feel like this is a github runner issue, so I've merged it.


Crashes Sketch 56.3

Loading Palettes just crashes Sketch

I just checked it out, and I was not able to reproduce the issue. Could you double-check you are using the latest versions of Sketch and the plugin? And if so, and you still have the issue, could you share the palette you are trying to load?

I'm going to close this, as I can't reproduce.

Yeah it seems like specific sketch palette.
Bach Mai
Graphic Designer
Red Branch Media
(402) 249-2828
Get the Branch Working for You! https://redbranchmedia.com/work-with-us/
http://blog.redbranchmedia.com/
https://www.linkedin.com/in/bach-mai-234608119/
https://redbranchmedia.com/
On Mon, Aug 12, 2019 at 10:23 AM Andrew Fiorillo<EMAIL_ADDRESS>wrote:

Closed #87 https://github.com/andrewfiorillo/sketch-palettes/issues/87.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/andrewfiorillo/sketch-palettes/issues/87?email_source=notifications&email_token=AM3JZMJR5AU5NP43K47JA5LQEF57FA5CNFSM4IKL6TS2YY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOTADNP5Y#event-2550585335,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AM3JZMN4HATTLP23OKCPLLDQEF57FANCNFSM4IKL6TSQ
.

Just wanted to mention that it was an issue with my google file stream and it
not fetching the file correctly and not the app itself. Sorry for the confusion!
Bach MaiGraphic Designer
Red Branch Media(402) 249-2828
Get the Branch Working for You!
Sent with Mixmax
On Mon, Aug 12, 2019 3:35 PM, Bach Mai<EMAIL_ADDRESS>wrote:
Yeah it seems like specific sketch palette.
Bach MaiGraphic Designer
Red Branch Media(402) 249-2828
Get the Branch Working for You!
On Mon, Aug 12, 2019 at 10:23 AM Andrew Fiorillo<EMAIL_ADDRESS>wrote:
Closed #87.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Increase the touch area

I couldn't find any documentation on how to increase the touch area of the DragScrollBar (it's pretty hard to catch it unless you make it pretty fat).
In the end, I've found a work around and thought I'd leave it here in case anyone was looking to do the same and would be looking here. Maybe add to the documentation ?
You can increase the touch zone by simultaneously increasing:
app:msb_barThickness
android:paddingRight
android:layout_marginRight
In my case, here are the settings I used:
<com.turingtechnologies.materialscrollbar.DragScrollBar
        android:id="@+id/DragScrollBar"
        android:layout_width="wrap_content"
        android:layout_height="match_parent"
        android:layout_alignParentEnd="true"
        android:layout_alignParentRight="true"
        android:paddingRight="16dp"
        android:paddingEnd="16dp"
        android:layout_marginRight="8dp"
        android:layout_marginEnd="8dp"
        app:msb_barColor="@color/Grey"
        app:msb_handleColor="@color/Green"
        app:msb_lightOnTouch="false"
        app:msb_barThickness="32dp"
        app:msb_recyclerView="@+id/RecyclerView"
        app:msb_textColor="@color/White" />

Triaged for a future release


Update workflows

Update versions of github actions
Narrow down permissions

coverage: 86.434%. remained the same
when pulling c78a1a5355952e3e39b98595a84b9e0db30d49d0 on update-workflows
into 9fe532252e51447d481d15e8cb1f9d208d1633e2 on master.


[Feature] Hide dock icon in OSX

I thought you could do this on the original repo but can't see an option for it anywhere?
Thanks!

Hello,
The icon in the dock is visible when the window is detached or is open, this is necessary for it to work properly when using alt + tab

Ah right, i didn't realise the icon went away.. Turns out if you hide the dropdown by clicking anywhere else the icon does not go, like it does when you click the menu bar item.

Hi,
Same problem here:

I cannot hide the dock icon
I solely use Home Assistant Desktop with the menu bar icon, never the dock icon (just adds clutter)

What I tried:

I edited the Info.plist file by adding the LSUIElement key and set to true: still not working (the dock icon is hidden at first, but shows up as soon as the menu bar icon is hovered/clicked, and the dock icon does not go away).

Question:
Is there a way to hide the dock icon for good ?
(like in Alfred, Bartender, BetterTouchTool; menu bar icon or spotlight is enough, no dock icon needed)


[Red Envelope] When withdraw coins again,the button color is inactive

When withdrawing coins again,the button color is inactive
Step:

make deposit
make catch Beam
make withdraw
repeat 3 steps

Expected; button "withdraw" in popup is active

If you repeat these steps 2 times, the envelope disappears and nothing is sent


Send request onecommit

Note that the fixes to the commented TODOs was included in the secondChannel branch, not pushed onto this one.

Overall, the codes seems good  to me. Several style and coding convention issues I pointed out. Some TODO comments are still exist. The test case for specification only covers the construction. It would be nice if we have test cases for each method although it is trivial.


Speeded up ETCD cluster bootstrap, removed public bootstrap token.

Coverage decreased (-0.6%) to 59.071% when pulling e462dba407088d3d0c693f3b8537581d83c0b904 on egopher:master into 86bdb8198df73899335a89429d9e0b709e13d73f on supergiant:master.

@egopher When spinning up a 5 master 4gb and 15 node 4gb on DO, the cluster failed due to:
time="2018-11-20T12:25:17-06:00" level=info msg="[createMachineDigitalOcean] - started" time="2018-11-20T12:25:19-06:00" level=info msg="[createMachineDigitalOcean] - failed: dropletService has returned an error in Run job: POST https://api.digital ocean.com/v2/droplets: 422 ba:e1:96:78:4b:88:9d:05:88:88:fc:f5:9b:73:4d:a0 are invalid key identifiers for Droplet creation."
When spinning up a 5 master m5.large and a 15 node t2.small the provisioning failed due to:
aws-ip-issue.log

@egopher I tried to spin up a 5 master 2 node cluster on DO and the final node failed due to:
time="2018-11-20T12:58:23-06:00" level=info msg="[docker] - success" time="2018-11-20T12:58:23-06:00" level=info msg="[cni] - started" time="2018-11-20T12:58:25-06:00" level=info msg="[cni] - success" time="2018-11-20T12:58:25-06:00" level=info msg="[etcd] - started" Created symlink from /etc/systemd/system/multi-user.target.wants/etcd.service to /etc/systemd/system/etcd.service. wait for etcd time="2018-11-20T13:08:25-06:00" level=info msg="[etcd] - failed: install etcd step: context deadline exceeded"


UAT | Scheduling hearing

Describe the bug
A clear and concise description of what the bug is.
"10 Hearings scheduled" doesn't change irrespective of the date I select.
To Reproduce
Steps to reproduce the behavior:

Go to 'Schedule Hearing' - custom hearing - from the Judge's dashboard.
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

@Beehyv-Vinod can you check if this is still present

Tested in QA, Counts are changing Based on hearings scheduled for the day,
Ref,
https://jam.dev/c/7297e5d1-e89d-43bc-ba2e-95bc319141d9


kube-lego: Make LEGO_EMAIL a required field

We've had users complaining that the default email address is not working for them when using kube-lego.
Given this field is required for the user to fill in, this PR makes config.LEGO_EMAIL a required field.
I'm unsure if this is the best way to implement this change in a backward compatible manner (via a comment in the deployment manifest) - alternatively, something like the below should work:
            - name: LEGO_EMAIL
              value: "{{ required "config.LEGO_EMAIL is a required field" .Values.config.LEGO_EMAIL }}"
          {{- range $key, $value := .Values.config }}
          {{- if not (eq $key "LEGO_EMAIL")) }}
            - name: "{{ $key }}"
              value: "{{ $value }}"
          {{- end }}
          {{- end }}

Thanks @munnerz, can you also bump the chart version?

Hey @prydonius - have done. Thanks 😄

@k8s-bot ok to test

@mgoodness seems Helm chart tests are still being run against 2.1.3. Is it a requirement that the charts in this repo support old Helm versions?

@k8s-bot ok to test


please include a file with the license text in the git repo and in published crates

There exist lots of variants of the "MIT" license. Without a license text in the repository, it is not clear which variant is applicable.
For example, the Fedora project recognises over 20 different variants: https://fedoraproject.org/wiki/Licensing:MIT
Please include a license text in this repo, and also add the file to the "include" array in Cargo.toml, so it will be included in the published crates as well.
This is a requirement for applying MIT-style licenses correctly (GitHub license page headers show this, for example here, and it's mentioned on choosealicense.com as well). Most Rust projects licensed under the terms of an MIT license seem to have chosen the MIT License variant that's used by the linked GitHub example (bitvec), which the Fedora Project categorizes as "Modern Style with sublicense".

Before I forget, the fact that readme = "README.md" is listed in Cargo.toml but the file is not included in published crates is confusing some tools, as well.

Thanks again! I will bump all of my crates before the end of the year.


Remove v from Perl version number

Get rid of a install warning.

Thanks for your work on the module :)


Remove duplicate property for spo list list

For the command spo list list (https://pnp.github.io/cli-microsoft365/cmd/spo/list/list-list), we introduce a duplicate property called Url at the root of the result that has the same value as RootFolder/ServerRelativeUrl.
Duplicate data is not useful at all, so let's get rid of it.

Since we have v8 branch we may now start working on it!
Let's get this 🚢
and Let's put CLI to the 🚀🌙

Can I work on it?

Can I work on it?

All yours

merged to v9


AddingPowerSupport_ContinuousIntegration/Testing

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Adding power support.
Adding power support ppc64le with Continues Integration/testing so that code remains architecture independent.
This is part of the Ubuntu distribution for ppc64le. This helps us simplify testing later when distributions are re-building and re-releasing. For more info tag @gerrith3.

A Gentle Nudge, Checking if you have any further queries on this PR.,

A gentle reminder to Let us know if you have any further queries on this PR?

Checking herewith if there are any further queries here?

A Gentle Nudge, are there any open queries on this PR?

@knqyf263 Are there any queries open on this PR?

@knqyf263 Do we have any open queries on this PR, looks like the changes got your approval already.
Thanks !!


Separator insets not adjusted when dismissing kb

Version: 1.2.0 (912)
Device: iPhone 7 Plus (iOS 10.3.2)

idk what this is anymore


chore(tests): add slack notifications

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


Unsupported types in alloca: Type=StructTyID

https://gitlab.com/the-language/the-language/blob/c661c4f3fc13026a80d57fef31cdcdd2422d7ba2/core/arch/c/lang.c
$ ./bin/lljvm-translator lang.bc
/home/1828_sandbox/src/github.com-maropu-lljvm-translator/lljvm-translator-master/bin/../target/lljvm-core_0.3.0-EXPERIMENTAL-with-dependencies.jar not found, so use pre-compiled /home/1828_sandbox/src/github.com-maropu-lljvm-translator/lljvm-translator-master/bin/../assembly/lljvm-core_0.3.0-EXPERIMENTAL-with-dependencies.jar
io.github.maropu.lljvm.LLJVMRuntimeException: Unsupported types in alloca: Type=StructTyID
	at io.github.maropu.lljvm.LLJVMNative.throwException(LLJVMNative.java:65)
	at io.github.maropu.lljvm.LLJVMNative.asJVMAssemblyCode(Native Method)
	at io.github.maropu.lljvm.LLJVMTranslator.main(LLJVMTranslator.java:50)

This project doesn't target a full-fledge transformation, so I feel its difficult to support the conversion in the example above....


[KBFS-1641] Add more logging to help track down races

Make kbfsblock, kbfscrypto, kbfshash packages, and
tlf.ID use pkg/errors to wrap errors. Annotate READMEs
with which packages (or portions) use pkg/errors.
Also make more tests in the packages above use
require/assert.
Make fewer functions use implicit returns.
Move some crypto tests from libkbfs to kbfscrypto.
Print errors out with "%+v" in more places, in particular,
key_manager_test.go.
Attach original errors to Need{Self,Other}RekeyError.


Added prefetch without PrefetchVirtualMemory to MADV_WILLNEED in madvise

MADV_WILLNEED in madvise failed when PrefetchVirtualMemory did not exist in kernel32.dll so prefetch without PrefetchVirtualMemory was added to MADV_WILLNEED in madvise.

I checked all the changes, and the changes work correctly.


[Bug]: Internal server error when loading run history with api

Describe the bug

WandB client version 0.17.9
I get an internal server error when trying to load a run's history, for example:
import wandb
import pprint

api = wandb.Api()
projects = [
    p.name for p in api.projects(entity='entity')
]
project_runs = {
    p: [
        r for r in api.runs(path=f"entity/{p}", per_page=500)
    ]
    for p in projects
}
for p, runs in project_runs.items():
    print(p)
    for run in runs:
        print(f"Loading run {run.entity}/{run.project}/{run.id}")
        history = run.history(samples=run.lastHistoryStep + 1)
        system = run.history(samples=run.lastHistoryStep + 1, stream="system")
        history = history.join(system, rsuffix="_system")
        files = run.files()

        import sys
        sys.exit()

This throws an internal server error
requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://api.wandb.ai/graphql

The error happens on run.history(samples=run.lastHistoryStep + 1)
I'm trying to export all my runs from all my projects and move them into a single project (not shown here).

Hi @smspillaz , thanks for sharing your use case.
If you are trying to move all the Runs from one project to another, the quickest way would be to select them from the Runs Table and use the Move option to move them across

Would that work for you or do you need to do this programmatically?

Hi @smspillaz , I wanted to follow up on this request. Please let us know if we can be of further assistance or if your issue has been resolved.

Hi @smspillaz , since we have not heard back from you we are going to close this request. If you would like to re-open the conversation, please let us know!


OWNERS: add @Xunzhuo to approvers

What type of PR is this?

What this PR does / why we need it:
I am the top3 contributors of i2gw: https://k8s.devstats.cncf.io/d/13/developer-activity-counts-by-repository-group?orgId=1&var-period_name=Last decade&var-metric=contributions&var-repogroup_name=All&var-repo_name=kubernetes-sigs%2Fingress2gateway&var-country_name=All
I started many initial works/design/ideas of i2gw: https://github.com/kubernetes-sigs/ingress2gateway/issues/21
I worked on refactoring/features/toolings/CI/documents of i2gw: https://github.com/kubernetes-sigs/ingress2gateway/pulls?q=is%3Apr+author%3AXunzhuo (As I got sick before, so I did not finish some of them, since big changes slowed down the reviews work)

/cc @robscott @shaneutt


grafana chart for kube-prometheus

Add a grafana chart for kube-prometheus, mainly from stable/grafana & prometheus-oprator/contrib/kube-prometheus/grafana, made some adjustment to fit into kube-prometheus.
This pr only adds the grafana chart, to included into kube-prometheus(add this to requrements.yaml), I must publish this chart into a helm repo (which I don't have), but I have test it use manual manage dependency.

I'm happy to review the Helm chart, but will defer to @brancz on the code changes.

Thanks for review my pr, after review I will squash the commit log, and open a new pr to include grafana into kube-prometheus helm chart.

Could you update all the other usages of the grafana image please? Such as in the original kube-prometheus manifests?

@brancz updated all the grafana image :)

The grafana-watcher changes all lgtm. @mgoodness the helm changes are now your call.
As soon as @mgoodness lgtm's this PR I will publish the new grafana-watcher images, and then merge the PR. Then @mgoodness can publish the chart in his repo.
Thanks a lot for your contributions and commitment, highly appreciated!

@weiwei04 could you just bump the version in these files:

contrib/grafana-watcher/Makefile
contrib/grafana-watcher/examples/grafana-bundle.yaml

I already pushed the new version of the image to the image repo on quay. Given your interest in continuing to maintain this chart, I'm happy to merge this as soon as you change the versions in those files.

@brancz bumped the version, should I squash commit before you merge?

Yes that would be great, thanks! Maybe all the helm related changes in one commit and all other changes in another commit. Thanks a lot for all your effort and thanks for baring with me :slightly_smiling_face: !

@brancz  squashed the commit message:)

Thanks for all your hard work! Looking forward to collaborating with you @weiwei04 ! :tada:

Has the chart been published to the opsgoodness repo yet?
I'm having an issue grabbing it directly, so I want to rule this out. Perhaps this is scheduled to happen when it is added as a dependency to kube-prometheus?
$ helm repo add opsgoodness http://charts.opsgoodness.com
"opsgoodness" has been added to your repositories

$ helm install opsgoodness/grafana -f grafana.yaml --namespace oss
Error: file "opsgoodness/grafana" not found

$ helm search opsgoodness
NAME                           	VERSION	DESCRIPTION
opsgoodness/alertmanager       	0.0.3  	Alertmanager instance created by the CoreOS Pro...
opsgoodness/cluster-autoscaler 	0.1.0  	Scales worker nodes within autoscaling groups.
opsgoodness/kube-prometheus    	0.0.1  	Manifests, dashboards, and alerting rules for e...
opsgoodness/kube2iam           	0.5.0  	Provide IAM credentials to pods based on annota...
opsgoodness/prometheus         	0.0.3  	Prometheus instance created by the CoreOS Prome...
opsgoodness/prometheus-operator	0.0.6  	Provides easy monitoring definitions for Kubern...
opsgoodness/service-template   	0.3.0  	A Service Template Helm chart for Kubernetes.

$ helm repo update
Hang tight while we grab the latest from your chart repositories...
...Skip local chart repository
...Successfully got an update from the "opsgoodness" chart repository
...Successfully got an update from the "stable" chart repository
...Successfully got an update from the "cloudposse" chart repository
Update Complete. ⎈ Happy Helming!⎈

$ helm search opsgoodness
NAME                           	VERSION	DESCRIPTION
opsgoodness/alertmanager       	0.0.3  	Alertmanager instance created by the CoreOS Pro...
opsgoodness/cluster-autoscaler 	0.1.0  	Scales worker nodes within autoscaling groups.
opsgoodness/kube-prometheus    	0.0.1  	Manifests, dashboards, and alerting rules for e...
opsgoodness/kube2iam           	0.5.0  	Provide IAM credentials to pods based on annota...
opsgoodness/prometheus         	0.0.3  	Prometheus instance created by the CoreOS Prome...
opsgoodness/prometheus-operator	0.0.6  	Provides easy monitoring definitions for Kubern...
opsgoodness/service-template   	0.3.0  	A Service Template Helm chart for Kubernetes.

$ cat  ~/.helm/repository/cache/opsgoodness-index.yaml  | grep grafana

I don't think so. @mgoodness ^ ?


🐛 [firebase_messaging] On new notification click on IOS 14 getting copied from Clipboard notification

Bug report
Describe the bug
Hi guys,
On Apple IOS 14, when the app is completely closed, if you click on a push notification, the app is open with the new IOS copied from clipboard warning notification,
Steps to reproduce

Close the app completely
Send a push notification to the app
Click the push notification from the Notification Center
you will see a new notification by IOS warning the app copied from clipboard

Expected behavior
The App should open without this warning

Additional context
I am using the plugin version firebase_messaging: ^7.0.3

Flutter doctor
Run flutter doctor and paste the output below:
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 1.22.2, on Mac OS X 10.15.7 19H2, locale en-GB)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 12.1)
[✓] Android Studio (version 4.0)
[✓] Connected device (2 available)

• No issues found!

Flutter dependencies
Run flutter pub deps -- --style=compact and paste the output below:
Dart SDK 2.10.2
Flutter SDK 1.22.2
app_name 1.1.3+1.1.3
dependencies:
- cached_network_image 2.3.3 [flutter flutter_cache_manager octo_image]
- connectivity 0.4.9+5 [flutter meta connectivity_platform_interface connectivity_macos connectivity_for_web]
- cupertino_icons 1.0.0
- device_info 0.4.2+9 [flutter device_info_platform_interface]
- file_picker 2.0.11 [flutter flutter_web_plugins flutter_plugin_android_lifecycle plugin_platform_interface]
- firebase_dynamic_links 0.6.0+2 [flutter firebase_core]
- firebase_messaging 7.0.3 [meta flutter firebase_core]
- flutter 0.0.0 [characters collection meta typed_data vector_math sky_engine]
- flutter_secure_storage 3.3.5 [meta flutter]
- fluttertoast 7.1.1 [flutter flutter_web_plugins]
- get_it 5.0.1 [async meta]
- http 0.12.2 [http_parser path pedantic]
- image_picker 0.6.7+12 [flutter flutter_plugin_android_lifecycle image_picker_platform_interface]
- path_provider 1.6.22 [flutter path_provider_platform_interface path_provider_macos path_provider_linux path_provider_windows]
- sprintf 5.0.0
- sqflite 1.3.1+2 [flutter sqflite_common path]
- syncfusion_flutter_gauges 18.3.44 [flutter syncfusion_flutter_core intl]
- url_launcher 5.7.8 [flutter url_launcher_platform_interface url_launcher_web url_launcher_linux url_launcher_macos url_launcher_windows]

dev dependencies:
- flutter_test 0.0.0 [flutter test_api path fake_async clock stack_trace vector_math async boolean_selector characters charcode collection matcher meta source_span stream_channel string_scanner term_glyph typed_data]

transitive dependencies:
- async 2.5.0-nullsafety.1 [collection]
- boolean_selector 2.1.0-nullsafety.1 [source_span string_scanner]
- characters 1.1.0-nullsafety.3
- charcode 1.2.0-nullsafety.1
- clock 1.1.0-nullsafety.1
- collection 1.15.0-nullsafety.3
- connectivity_for_web 0.3.1+2 [connectivity_platform_interface flutter_web_plugins flutter]
- connectivity_macos 0.1.0+5 [flutter]
- connectivity_platform_interface 1.0.6 [flutter meta plugin_platform_interface]
- convert 2.1.1 [charcode typed_data]
- crypto 2.1.5 [collection convert typed_data]
- device_info_platform_interface 1.0.1 [flutter meta plugin_platform_interface]
- fake_async 1.2.0-nullsafety.1 [clock collection]
- ffi 0.1.3
- file 5.2.1 [intl meta path]
- firebase 7.3.2 [http http_parser js]
- firebase_core 0.5.0+1 [firebase_core_platform_interface flutter quiver meta firebase_core_web]
- firebase_core_platform_interface 2.0.0 [flutter meta plugin_platform_interface quiver]
- firebase_core_web 0.2.0 [firebase firebase_core_platform_interface flutter flutter_web_plugins meta js]
- flutter_blurhash 0.5.0 [flutter meta]
- flutter_cache_manager 2.0.0 [flutter path_provider uuid http path sqflite pedantic clock file rxdart]
- flutter_plugin_android_lifecycle 1.0.11 [flutter]
- flutter_web_plugins 0.0.0 [flutter characters collection meta typed_data vector_math]
- http_parser 3.1.4 [charcode collection source_span string_scanner typed_data]
- image_picker_platform_interface 1.1.1 [flutter meta http plugin_platform_interface]
- intl 0.16.1 [path]
- js 0.6.2
- matcher 0.12.10-nullsafety.1 [stack_trace]
- meta 1.3.0-nullsafety.3
- octo_image 0.3.0 [flutter flutter_blurhash]
- path 1.8.0-nullsafety.1
- path_provider_linux 0.0.1+2 [path xdg_directories path_provider_platform_interface flutter]
- path_provider_macos 0.0.4+4 [flutter]
- path_provider_platform_interface 1.0.3 [flutter meta platform plugin_platform_interface]
- path_provider_windows 0.0.4+1 [path_provider_platform_interface meta path flutter ffi win32]
- pedantic 1.9.2 [meta]
- platform 2.2.1
- plugin_platform_interface 1.0.3 [meta]
- process 3.0.13 [file intl meta path platform]
- quiver 2.1.4+1 [matcher meta]
- rxdart 0.24.1
- sky_engine 0.0.99
- source_span 1.8.0-nullsafety.2 [charcode collection path term_glyph]
- sqflite_common 1.0.2+1 [synchronized path meta]
- stack_trace 1.10.0-nullsafety.1 [path]
- stream_channel 2.1.0-nullsafety.1 [async]
- string_scanner 1.1.0-nullsafety.1 [charcode source_span]
- syncfusion_flutter_core 18.3.44 [flutter pedantic]
- synchronized 2.2.0+2
- term_glyph 1.2.0-nullsafety.1
- test_api 0.2.19-nullsafety.2 [async boolean_selector collection meta path source_span stack_trace stream_channel string_scanner term_glyph matcher]
- typed_data 1.3.0-nullsafety.3 [collection]
- url_launcher_linux 0.0.1+3 [flutter]
- url_launcher_macos 0.0.1+8 [flutter]
- url_launcher_platform_interface 1.0.9 [flutter meta plugin_platform_interface]
- url_launcher_web 0.1.5 [url_launcher_platform_interface flutter flutter_web_plugins meta]
- url_launcher_windows 0.0.1+1 [flutter]
- uuid 2.2.2 [crypto convert]
- vector_math 2.1.0-nullsafety.3
- win32 1.7.3 [ffi]
- xdg_directories 0.1.2 [meta path process]

Hi @billymahmood
I could not repro this on the latest flutter master 1.24.0-4.0.pre.107 and firebase_messaging: ^7.0.3 using the official example on a physical device.

flutter doctor -v
[✓] Flutter (Channel master, 1.24.0-4.0.pre.107, on Mac OS X 10.15.7 19H2 darwin-x64, locale en-GB)
    • Flutter version 1.24.0-4.0.pre.107 at /Users/markus/development/flutter_master
    • Framework revision 35a94f70e1 (5 hours ago), 2020-10-27 23:47:04 -0700
    • Engine revision 64e6599910
    • Dart version 2.11.0 (build 2.11.0-260.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.1)
    • Android SDK at /Users/markus/Library/Android/sdk
    • Platform android-30, build-tools 30.0.1
    • Java binary at: /Users/markus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/201.6858069/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.1, Build version 12A7403
    • CocoaPods version 1.10.0

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

[✓] Android Studio (version 4.1)
    • Android Studio at /Users/markus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/201.6858069/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 1.8.0_242-release-1644-b3-6222593)

[✓] Connected device (5 available)
    • Nevercode’s iPhone (mobile) • b668e524315069f3db3661ac11ff1f66afafebdb • ios            • iOS 14.1
    • iPhone 12 Pro Max (mobile)  • 1C7EE787-1EC9-427C-AFEE-224EF736BBCA     • ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-1 (simulator)
    • macOS (desktop)             • macos                                    • darwin-x64     • Mac OS X 10.15.7 19H2 darwin-x64
    • Web Server (web)            • web-server                               • web-javascript • Flutter Tools
    • Chrome (web)                • chrome                                   • web-javascript • Google Chrome 86.0.4240.111
    ! Error: Nevercode’s iPhone is busy: Copying cache files from device. Xcode will continue when Nevercode’s iPhone is finished. (code -10)

• No issues found!

This is probably due to upstream https://github.com/flutter/flutter/issues/60145. Do you have anything in your app that would cause the mentioned issue?
Thank you

Hi @markusaksli-nc
On my landing page, I do not have any Text Inputs, nor am I copying or allowing users to paste any text into any fields.


Add support for relationships

Jura needs to be able to access/create relationships between concepts (relationships in the sense of the CTO). The acceptance of delivery template provides a simple example of that.

This require #10


Add a new crate feature strip-url-in-error

Related issue #297 and PR #1442.
A method without_url was added earlier, which is useful for removing URL from a single Error to prevent leaking secrets. But in a Rust binary, most functions probably return anyhow::Result<_> instead of Result<_, ConcreteError> - the concrete error type is converted to a display type. To ensure that secrets are not leaked, users need to call .map_err(|err| err.without_url()) for each Result<_, reqwest::Error>, which is inconvenient and easy to forget.
I propose to add a crate feature strip-url-in-error. when it is enabled, radically remove the url field from reqwest::Error, and remove the relevant methods (url_mut, with_url and without_url).

Crate features are supposed to be additive. That's because if one library were to enable this feature, and a separate dependency also depended on reqwest and used those methods, there would be a compilation error. So a feature cannot remove things from the public API.

So how about adding feature url-in-error and including it in default-features so that it's enabled by default?

In principle, that is more appropriate. But the addition of that features as a default is breaking change, since anyone that currently has default-feature = false would suddenly see the methods disappear. I could also imagine it being surprising to anyone who was using sensitive URLs, if another dependency enabled them being shown.
I think at this point I'm most inclined to just remove the URL from the error type entirely in the next breaking release.


Fix ignore paths for Check

Based on the docs, paths should be used for excluding only when it's also specifying which paths to include. Otherwise, paths-ignore should be used.

Manually cancelled Travis.


[1.0] Update to freeze osh images

Updated to use freezing osh and osh-infra images with date tag on 2019/06/13.
Changed RabbitMQ to also use opensuse image for db init.
Fixed libvirt chart to the overrides for image tag actully works to use
the freezing osh infra image tag.
(cherry picked from commit 6548d4509a5be98dde549f6deed341987391b613)

Tested on two dev dev. Let's merge and build a rpm for QE to verify.


Should provide a method to override device update locks

See: https://github.com/balena-io/resin-ui/blob/0e0a5c18642b772f3d03e1193731bb87bb6cc4ca/src/services/models/device-model-service.ts#L132-L139

Resolved by https://github.com/balena-io/balena-sdk/pull/636


Blend normal with opacity==1 and no opacityMap, should be blend as none.

If material blend is set to normal and opacity is 1.0 and there is no opacityMap set, it should blend it as none to prevent alpha sorting issues.

I'm not sure we need to change the blend for user. If I remember correctly, in the times of this issue, we were automatically changing the blend mode if opacity map is used. Currently you need to manually switch the blend from None to whatever, because you can use the map for alpha test. So if you then decide to remove map or change the slider, why should the blend change? It's an option you manually enabled, so you disable it back if needed.


add kafka to downstreams

I think this needs to be rebased so that it has feature.FromContext. Weird stuff with the downstream tests.


i'm contributing to auth-microapi as Joshua Okwara username joshcode …

i'm contributing to auth-microapi as Joshua Okwara username joshcode email<EMAIL_ADDRESS>

This branch has conflicts that must be resolved


App encounter ANR issue when using react-native-awesome-slider

I use this library in my app, which has three sliders on one screen. However, when the user interacts with the sliders on this screen and the app freezes, an ANR issue occurs.

could you share the code and video? I'll look at it.

@alantoa Thank for looking to it, below are my custom component wraps slider:
`import React, { useEffect, useState, useCallback, useMemo } from 'react';
import { StyleSheet, View, StyleProp, ViewStyle, Text } from 'react-native';
import { debounce as _debouce } from 'lodash';
import {
HapticModeEnum,
PanDirectionEnum,
Slider,
SliderThemeType,
AwesomeSliderProps,
} from 'react-native-awesome-slider';
import Animated, {
useAnimatedProps,
useSharedValue,
withTiming,
} from 'react-native-reanimated';
import ReactNativeHapticFeedback from 'react-native-haptic-feedback';
import { Colors, CommonSizes } from '@vibed-theme';
import { SParagraph, H4 } from '@vibed-components';
import { styles } from './styles';
import { getScreenWidth } from '@vibed-helpers';
interface Props {
min?: number;
max?: number;
leftText?: string;
rightText?: string;
steps?: number;
numberRange?: number[];
value?: number;
theme?: SliderThemeType;
onSlidingComplete?: ((value: number) => void) | undefined;
containerStyle?: StyleProp;
showBubble?: boolean;
}
export const CommonSlider: React.FC = props => {
const initialValue = useSharedValue(props?.value ?? 0);
const min = useSharedValue(props.min ?? 0);
const max = useSharedValue(props.max ?? 100);
const hapticFeedback = () => {
ReactNativeHapticFeedback.trigger('impactLight', {
enableVibrateFallback: true,
ignoreAndroidSystemSettings: false,
});
};
const totalWidth = useMemo(
() => (props.steps ? getScreenWidth() - 16 * 2 - 90 - 2 * 16 : undefined),
[props.steps],
);
return (
<View style={[styles.container, props.containerStyle]}>
{props.leftText ? (
{props.leftText}
) : undefined}

<Slider
theme={{
maximumTrackTintColor: Colors.light,
minimumTrackTintColor: Colors.main,
bubbleBackgroundColor: Colors.dark,
...(props.theme ?? {}),
}}
progress={initialValue}
style={{
flex: 1,
height: 10,
width: totalWidth
? (totalWidth / 8) * (props.steps ?? 8)
: undefined,
}}
minimumValue={min}
maximumValue={max}
// hapticMode={props.steps ? HapticModeEnum.STEP : undefined}
step={props.steps ?? undefined}
// onHapticFeedback={props.steps ? hapticFeedback : undefined}
onSlidingComplete={props.onSlidingComplete}
renderBubble={() => null}
renderThumb={() =>
props.value || !props.steps ? (
<View
style={{
height: 25,
width: 25,
backgroundColor: Colors.dark,
borderRadius: 25,
marginRight: 5,
}}
/>
) : null
}
/>
{props.numberRange ? (
<View
style={{
justifyContent: 'space-between',
alignItems: 'flex-start',
flexDirection: 'row',
marginTop: 2,
width: totalWidth
? (totalWidth / 8) * (props.steps ?? 8)
: undefined,
}}>
{props.numberRange.map((item, index) => (
<Text key={${item}} style={styles.rangeText}>
{item}

))}

) : undefined}

{props.rightText ? (
{props.rightText}
) : undefined}

);
};
`

your demo looks fine, are you following the react-native-reanimated and react-native-gesture-handler's docs?

@alantoa I believe I adhered to the guidelines for both libraries. I neglected to mention that the ANR problem occasionally affects the show and hide sliders rather than immediately following the first interaction.

@alantoa I could find out why, we are using the library for track player and made a mistake putting it on the parent component instead of extracting it to a component, which leads to the parent component re-rendering each second.
@everyone: Take a look on rendering rate of your  heavy component if you are facing the same problem.

@Vietvantue I believe it’s related to reanimated  2 issue: https://github.com/software-mansion/react-native-reanimated/issues/2812

@alantoa do you believe that we can get rid of useAnimatedReaction? The bug from reanimated mentioned above is bringing me at least 500 ANRs per month!


About GPT INT8 Support

In the changelog, there is an item:

Nov 2022
Initial support for w8a8 int8 mode with GPT (preview)

I am not able to find this commit in the main branch. How can we get access to that preview?
Thank you very much!

You can find reference on int8_mode in gpt_guide.md

Thank you very much! @byshiue


agent: apply CPU share constraint

This patch is to apply CPU share constraint to new containers
fixes #216
Signed-off-by: Julio Montes<EMAIL_ADDRESS>

lgtm


Show PNG image in template #184

We should be checking if file ends with .svg
Not where the file is added to assets. I have changed accordingly


Fix move history update after importing game

Related to #223
Update move history after importing a game with FEN or PGN.

ImportComponent.jsx

Import updateMoveHistory from useChessStore.
Call updateMoveHistory after setting FEN or PGN in handleImport.

useChessStore.js

Add updateMoveHistory function to update the move history state.
Call updateMoveHistory in loadPgn after loading the PGN.

For more details, open the Copilot Workspace session.

Add updateMoveHistory function to update move history state

Call updateMoveHistory in loadPgn after loading the PGN
Add loadFen function to load FEN and call updateMoveHistory after loading the FEN

For more details, open the Copilot Workspace session.


Fixed typo: applicate --> application

@RealLucasMeyer : Thanks for your contribution to the Azure documentation! The author, @douglaslMS, has been notified to review your proposed change.

@RealLucasMeyer Thanks for catching and fixing this typo!

#sign-off


missing Clinvar and dbSNP for 17:g.41276045_41276046del

17:g.41276045_41276046del is the most prevalent pathogenic germline mutation, but the links to ClinVar and dbSNP is missing. It is linked to gnomAD, which contains link to dbSNP and ClinVar.
Similarly: https://www.signaldb.org/variant/17:g.41209079_41209080insG

@jjgao We get ClinVar from MyVariantInfo, but they don't have ClinVar for this particular variant. Actually I already asked them about the same variant before: https://github.com/biothings/myvariant.info/issues/106. Haven't heard back from them yet.

@jjgao We get ClinVar from MyVariantInfo, but they don't have ClinVar for this particular variant. Actually I already asked them about the same variant before: https://github.com/biothings/myvariant.info/issues/106. Haven't heard back from them yet.

There might also be new updates to Ensembl's clinvar data so we might be able to use that over myvariant.info

https://grch37.ensembl.org/info/genome/variation/species/sources_documentation.html
GRCH37 ClinVar version: 12/2019

XML:

Pros: Full data
Cons: Too big to parse(15GB); Genomic coordinate is not unique; Hard to find a tool to do streaming parsing.

VCF:

Pros: Easy to parse
Cons: Missing clinical significance data.

API

Pros: Full data
Cons: Have access control(3 queries per second); Still need a tool to parse XML.

We decide to use VCF. We should be consistant with clinVar interpretation and have linkout to their website, therefor using VCF is better.


cli: consolidate how we set port and host. Fixes https://github.com/windmilleng/tilt/issues/3332

Hello @maiamcc,
Please review the following commits I made in branch nicks/ch7016:
f75c6a297f559ed016411376da721a6ea109511a (2020-05-14 18:49:56 -0400)
cli: consolidate how we set port and host. Fixes https://github.com/windmilleng/tilt/issues/3332
Code review reminders, by giving a LGTM you attest that:

Commits are adequately tested
Code is easy to understand and conforms to style guides
Incomplete code is marked with TODOs
Code is suitably instrumented with logging and metrics

i needed this for some other reasons...not super happy how it uses global state, but fixing one thing at a time!


Supplementary Material for the Paper

Hi there,
As mentioned in the paper, some details you mentioned in the paper are referred to supplementary material. However, I cannot find the supplementary material after the paper. Can you provide it?

Here, under ./paper


⚠ SceneTime has degraded performance

In ecb3d97, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 1130 ms

Resolved: SceneTime performance has improved in 74952bc after 6 minutes.


Calculation of derived coords points and bounds is always lazy.

Addresses #2586

Very recently made these changes ...

Yes, I also removed the line nd_values = np.array(nd_values).
Which is extremely important in this context !

Errors have come in because some factory calculations are not viable on dask arrays.
`- to be fixed, I'm on the case...

I think this is finally sorted.
There are many commits, and much to+fro getting this done and fixing outstanding problems it uncovered (!)
As a summary:

fixed basic factory _nd_points + _nd_bounds methods to always yield lazy arrays, even if core data is real : This is the key bit that was required to ensure deferred calculation of derived coords even with real source data, which caused some noticeable slownesses. :  LazyArrays used to do this for us, now use Dask, always, for same effect
rewrote some _derive methods to ensure all those calcs are now "dask capable"
added integration tests for OceanSigmaZFactory, covering various usage not handled by the existing unit testing : data with a time dimension; additional non-derived dimensions; awkward transpositions.
removed _shape and _dtype methods : no longer needed since Dask replaced LazyArray
fixed several usages of array.reshape(list(array.shape).append(1)) which was plain wrong (!!)
fixed behaviour testing for nbounds mismatch in iris.tests.test_hybrid, previously wrong due to the above bug
accepted a few more NaN-->masked changes in CMLs

Currently waiting a fix for testing problems since we provided numpy 1.13.
Will rebase when that is done.

@pp-mo See #2616 :wink:

Here's the performance demo.
First I generated some hybrid-height data regridded from iris.tests.stock.realistic_4d to 5* higher horizontal resolutions, getting a cube of dims (time:6, level=70, y=500, x=500).
(Not as easy as it sounded ! See : https://gist.github.com/pp-mo/f393cc2be06d0b457e5dd114a5d8b6e3 )
Then run :
import datetime
import sys

import iris

if __name__ == '__main__':
    # Get the data.
    file_path = 'big_hybrid_height_cube.nc'
    cube = iris.load_cube(file_path)

    print 'cube shape = ', cube.shape

    dependency_names = ('atmosphere_hybrid_height_coordinate',
                        'sigma',
                        'surface_altitude')

    def test():
        for coord_name in dependency_names:
            coord = cube.coord(coord_name)
            print '  {} coord is "{}"'.format(
                coord.name(),
                'lazy' if coord.has_lazy_points() else 'real')

        # Time the altitude calculation.
        start_time = datetime.datetime.now()
        alts = cube.coord('altitude')
        stop_time = datetime.datetime.now()
        time_taken = (stop_time - start_time).total_seconds()
        print '  TIMED: altitude coordinate fetch took {} secs.'.format(time_taken)

    print 'With lazy dependency coords ...'
    test()

    # Realise the aux data.
    for coord in cube.aux_coords:
        _ = coord.points
        _ = coord.bounds

    print 'With realised coords ...'
    test()

Results:
$ git checkout master
$ python hybrid_height_timing.py
cube shape =  (6, 70, 500, 500)
With lazy dependency coords ...
  atmosphere_hybrid_height_coordinate coord is "lazy"
  sigma coord is "lazy"
  surface_altitude coord is "lazy"
  TIMED: altitude coordinate fetch took 0.010326 secs.
With realised coords ...
  atmosphere_hybrid_height_coordinate coord is "real"
  sigma coord is "real"
  surface_altitude coord is "real"
  TIMED: altitude coordinate fetch took 0.752618 secs.

$ git checkout derived_coords_lazycalc
$ python hybrid_height_timing.py
cube shape =  (6, 70, 500, 500)
With lazy dependency coords ...
  atmosphere_hybrid_height_coordinate coord is "lazy"
  sigma coord is "lazy"
  surface_altitude coord is "lazy"
  TIMED: altitude coordinate fetch took 0.010303 secs.
With realised coords ...
  atmosphere_hybrid_height_coordinate coord is "real"
  sigma coord is "real"
  surface_altitude coord is "real"
  TIMED: altitude coordinate fetch took 0.014665 secs.

itpp@eld238: /home/h05/itpp/git/iris/iris_main
$

@pp-mo Okay, I'm done for now ... over to you!

@bjlittle thanks for all the attention !
I'm hoping the latest commit addresses all your earlier points.
It will presumably at least respinning, possibly rebasing, to get tests passing following #2616

@bjlittle just rebase once #2616 is merged

Done that, let's see if it passes ... :crossed_fingers:

"Python3 deprecation undermining warnings tests"

That was a bit nasty.
Test code like this was failing in Python 3.5 ...
msg = 'sample text'
with self.assertRaisesRegexp(UserWarning, msg):
    warnings.simple_filter('error')
    call()

... because assertRaisesRegexp() is deprecated in favour of assertRaisesRegex() (with no final "p").
So it was getting the deprecation warning instead of the intended warning.

At last it passes :clinking_glasses:
-after many, many, many re-spins for Travis failures :frowning_face:
@pelson are you happy with this, in absence of @bjlittle ?
I really don't want to have to touch this again!

@pp-mo - Given the spin-up cost, I honestly can't justify the effort of me merging this today. I completely appreciate your desire for it not to go stale, and am hopeful that @bjlittle will be able to merge tomorrow when he returns. If not, I'll clear a few hours and try to get the ball rolling on it myself in the next few days. Work for you?

@pp-mo I can review this.  Just give me a bit of time to check what you have done since I was last in.

@pp-mo What do you want me to do about this?  I am happy to merge, but I can leave it if you would like someone more qualified to check it over first.

Hi @corinnebosley sorry for slow response -- I've been at a meeting most of this morning.

I am happy to merge, but I can leave it if you would like someone more qualified to check it over first.

I think @bjlittle provisionally approved this anyway according https://github.com/SciTools/iris/pull/2604#pullrequestreview-46111947
That should cover everything except the latest commit, which fixed the warning/error testing bug.

@pp-mo I thought that might have been the case, but I checked over everything anyway and couldn't spot any issues.  Bearing that in mind, and given that the tests are passing, I will merge this in one hour (at 15:18) unless I get any objections in the meantime.

@pp-mo Boom!

@corinnebosley thanks !


Add testimonial

Is your feature request related to a problem? Please describe.
NA
Describe the solution you'd like
I want to add a testimonial page using html,css and js where users can check the reviews of other users .
Describe alternatives you've considered
NA
Additional context
No response

I want to work on this issue under JWOC


Cannot use npm install waterline latest version

Waterline version: 0.12.2
Node version: 6.2.1
NPM version: 3.9.3
Operating system: OSX
I can't install waterline latest version
npm install waterline

<EMAIL_ADDRESS>install /Users/golfapipol/Desktop/cg/wit-api/node_modules/microtime
node-gyp rebuild

CXX(target) Release/obj.target/microtime/src/microtime.o
../src/microtime.cc:10:32: error: unknown type name 'Arguments'; did you mean 'v8::internal::Arguments'?
static Handle Now(const Arguments &args) {
^~~~~~~~~
v8::internal::Arguments

microtime isn't a dependency or a child dependency of Waterline as far as I can tell. It could be coming from an adapter or something. Can you post the output of npm ls?

@particlebanana  please check the version of waterline.
it is 0.1.4.
not 0.12.4

@calidion whoa looks like the versioning got way off!

@calidion I'm not sure what happened, looks like there were 3 publishes all at the same time creating these versions. I've revoked and reset all tokens and set the version back to 0.12. I'm contacting NPM to see if they have any info. It was from an old npm account.

It seems dangerous to release an update on an old version.
Here is a discuss on how npm should be and how to properly tag a version.
https://github.com/npm/npm/issues/13112

@calidion this was an issue that I have contacted NPM support about. No one on our team published those, they weren't even actual publishes. The latest tag has been reset.
We backport occasional patches to previous versions of Waterline for people who may not be able to upgrade to the latest version. I always manage the latest tag to actually be the latest.
In this case something or someone else published these invalid versions. There was nothing malicious on the publishes (they were invalid) but the tag was screwed up. It has since been fixed.


adds tests for Conferences script

#379 was a good add but I'm noticing the change has set the values to null in #381.
This leads me to believe there is a bug in there somewhere that needs to be addressed. Can we create a test that validates this conferences script.
This can be added to our ci.

[ ] #385

@dragid10 - Did you want to take a look at this since you implemented the original fix?

Happily!

@dragid10 not intending to rush you on this. Simply checking in on if any assistance was needed in figuring this out?

Apologies, I haven't had a lot of bandwidth this past week to work on this. But I should have some bandwidth later today and tomorrow morning!

Looking at this now!

@kjaymiller if we're looking to test the conference parsing logic, I think it'd make sense to refactor parts of _conferences/_main_.py to be callable functions as opposed to having the logic be top-level.
I think doing this refactor would allow us to pass in dummy values to a function when testing, instead of always trying to get the current open issues in the repo.
Here's a loose example of what I'm thinking about:
from _conferences.__main__ import parse_conference_details

def test_conference_parsing_logic():
    test_issue: list[dict] = [{"body": "xyz", "title": "[conference] test title", ...}]

    # Function signature
    # parse_conference_details(issues: list[Issue]) -> list[dict]
    parsed_conferences = parse_conference_details(issues=test_issues)
    ...
    assert parsed_conferences[0]["name"] == "xyz"

I think one of the downsides of the parse_conference_details signature in the above example is that it makes the function dependent on the github.Issue.Issue PyGitHub object. Meaning that we'd likely have to mock that object in the test
Alternatively, we could just decouple the actual parsing logic from the github.Issue.Issue object. It could look something like this:
for issue in open_issues:
    if "conference" in [label.name for label in issue.labels]:
        # Function signature
        # parse_conference_details(issue_body: str) -> dict
        parsed_conference = parse_conference_details(issue_body=issue.body)
        ...

These are my initial thoughts, let me know if I'm drastically overthinking this!

Nope I think you're asking the right questions! This all sounds good and I think the decoupling would be fine here.\


dropDown button Added

Issue:

@VishakhaAwasthi01 can you please delete sbuttons.min.css as we don't have that anymore?

the whole file or just my part?
On Sat, Oct 3, 2020 at 12:34 AM Shahed Nasser<EMAIL_ADDRESS>wrote:

@VishakhaAwasthi01 https://github.com/VishakhaAwasthi01 can you please
delete sbuttons.min.css as we don't have that anymore?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/sButtons/sbuttons/pull/570#issuecomment-702907161,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKZ2EIBTTIXYMMK6VLCS4U3SIYP5FANCNFSM4SB7FGSQ
.

the whole file

I'm sorry @VishakhaAwasthi01 I'm trying to resolve the conflicts but they are too many. Can you please update your repo to the latest changes or refork it, add your changes to it then create a new PR?
I'm closing this now awaiting the new PR!


[Improved] Raffle participant feature performance

Hello, I hope you are good.
Changed Raffle Service with performance improvemens:

Including a participant in a raffle to use MongoDB $addToSet operator to not load the raffle in memory.
Remove a participant from a raffle to use MongoDB $pull operator to not load the raffle in memory

Added a GitHub workflow to compile and run tests automatically.
Have a wonderful day.

Hello, I hope you're good.
Thanks for your contribution to the project!
I've tested it with RaffleServiceTest and manually to check things out, it's working fine!
I think this fixes one of the worst implementations I ever did on the project lol
I'm merging this, have a nice one my friend!


pause all downloads and dispose

Hello,
do I need to worry about downloading states when I call dispose()?
I run the downloadManagerPro in the service. But the service can be stopped by the system. So in the onDestroy I want to pause all downloading files and then call dispose. But there is no listener for onPauseAllDownloads.
So my question is: Do I need to pause dowloads before dispose or can I omit the dispose function at all?
Thank you in advance.

No
dispose() method only disconnect your application from download manager db so no data corruption will be happening.


Using pre-request vars to insert numbers or booleans in a JSON body creates an escaped output

I have checked the following:

[X] I use the newest version of bruno.
[X] I've searched existing issues and found nothing related to my issue.

Describe the bug
When using pre-request vars in a JSON body it works fine if it is used inside a text. But if setting a number or boolean the output body becomes a text escaped to fit in a JSON string instead. Like so:
 "{\n \"test\": \"some text\", // test\n \"bool-test\": true\n}"
.bru file to reproduce the bug
meta {
  name: broken - insert boolean
  type: http
  seq: 5
}

post {
  url: https://echo.free.beeceptor.com
  body: json
  auth: none
}

body:json {
  {
    "test": "some text", // test
    "bool-test": {{the-value}}
  }
}

vars:pre-request {
  the-value: true
}

Screenshots/Live demo link
Bruno collection with different examples of this behavior
https://gist.github.com/kristofferpeterhansel/d6a3d9f1c07dbd8a2b92ef768bff912f

@kristofferpeterhansel
I see that the json body has a comment. Could you try again by removing it ?
should be this:

body:json {

  {

    "test": "some text",

    "bool-test": {{the-value}}

  }

}

You are right. I didn't test that permutation. That does work.
But interestingly in the linked examples I have a working example with a comment when the inserted value is a string.

I think this is a duplicate of #888

I think this is a duplicate of #888

Yeah. You might be right. I wasn't searching for the comment angle when I created this.

Looks like this was fixed in 1.20


get_true_argspec doesn't play nicely with webargs schema factories

Hi,
I'm having a problem trying to implement webargs schema factories with flask-classful, in order to make querying and PATCHing more pleasant. Something like:
# schemas/user.py:

class UserSchema(ma.ModelSchema):
    class Meta:
        model = User
        strict = True

    def make_user_schema(self, request):
        # Filter based on 'fields' query parameter
        only = request.args.get("fields", None)
        # Respect partial updates for PATCH requests
        partial = request.method == "PATCH"
        # Add current request to the schema's context
        return UserSchema(only=only, partial=partial, context={"request": request})

# models/user.py:

class UsersView(FlaskView):
    @use_args(UserSchema.make_user_schema)
    def patch(self, _id, args):
        # cool stuff

Results in TypeError: make_user_schema() missing 1 required positional argument: 'request'. The problem is in get_true_argspec, args is ['self', 'request'], generating a (useless) route of /users/<request>/.
In a more standard scenario e.g.
user_schema = UserSchema()

    @use_kwargs(user_schema.fields)
    def patch(self, _id, **kwargs):
        # cool stuff

get_true_argspec finds args to be ['self', '_id'], generating a (useful) route of /users/<_id>/.
Any ideas what might (not) be happening? (I've opened an issue on webargs as well, because it's not clear how request gets populated.)

If I move make_user_schema out of the class, import it from the module, and call it with @use_args(make_user_schema), I get a different error. This is the way that schema factories are created in the documentation, and is a simpler way to get to the bottom of the issue.
For the record, in that case, get_true_argspec fails on:
    if not hasattr(method, '__closure__') or method.__closure__ is None:
        raise DecoratorCompatibilityError

In summary:

I could / should have stopped the attempt to register the route as documented. But I didn't expect a method declared in a different class to be picked up by flask-classful's magic. ;)
However, it still didn't work even after adding excluded_methods = ['make_user_schema']. This is due to magic in get_true_argspec not handling the use case where the function is a parameter to the @use_args webargs decorator. I just submitted PR #377 which should fix this.

I'll test schema factory methods (as opposed to classes) later, but it's really not essential that the methods are part of a class, they can be functions at module-level, so it's not a deal-breaker. Comments welcome.