uutils-coreutils: 0.0.22 -> 0.0.24

Diff: https://github.com/uutils/coreutils/compare/0.0.22...0.0.24
Description of changes

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

Result of nixpkgs-review pr 286799 run on aarch64-darwin 1

2 packages built:

uutils-coreutils
uutils-coreutils-noprefix

Done in #298605.


Implement Edit SV Tool

Should be able to scale already placed SVs by a constant amount or linearly, or increase/decrease SV values by a constant amount

Will not add because lazy and function already exists in the iceSV plugin with the range editor or linear cross multiplier to do such things.


Extended User Model can't log in.

I have an extended user model called Person, and when I try to log in using /People/login First, I get a problem with FilterExpression being empty, so I had to ad a condition
if (FilterExpression.length > 0)  ....
Once this was resolved, The login endpoint never returns anything - it just times out.
Working on a Pull request for this. Any ideas?

Closing this because version has been far superseded.


MAINT: SciPy 1.7.2 prep/backports

With Python 3.10 coming out early next week, backport PRs with the appropriate label, update release notes, and see where we are with the CI, etc.
Backports included so far:

gh-14207
gh-14316
gh-14323
gh-14478
gh-14618
gh-14672
gh-14333
gh-14605

The 32-bit Linux build now ends in:
numpy.distutils.system_info.NotFoundError: No BLAS/LAPACK libraries found.

gh-14333 may indeed resolve that

Updated with the two additional backports, release notes with those backports and more inclusive author list, and typo fix in azure config comment.
Note gh-14605 had pretty substantial merge conflicts--I tried to use caution, but we'll see how it goes.

the remaining test failure is gh-14732; we've just been busy I think--that one still exists on master as well


lib: posix: eventfd: fix read/poll after multiple writes

So far semaphore was used with possible values in range 0 to
UINT32_MAX. Each write resulted in semaphore increment. As an example
after two writes and single read eventfd counter was correctly zeroed,
but semaphore counter was not. This means that poll() signalled at this
stage POLLIN (semaphore counter was > 0), but it clearly should
not (eventfd counter == 0). Blocking version of read() was also
returning immediately, returning 0 as previous eventfd counter.
Change read_sem to be a binary semaphore, which counter represents
eventfd counter being zero (when semaphore counter == 0) or
non-zero (when semaphore counter == 1). Try to take the semaphore in
eventfd read() and decrement eventfd counter when semaphore was ready.

Thanks @mniestroj for the patch.
@tsvehagen: I'd give you first turn in reviewing this, as you're more familiar with the code. Thanks.

@pfalcon Could you revisit? Thanks!


Using values.yml

Expected Behaviour
Using values.yaml file in the cluster-agent module.
Path to this file or loading into TF should be relative (no absolute paths)
Actual Behaviour
Value is currently not used, namespace configuration is passed as an helm_chart argument.

Refer to:
https://github.com/CiscoDevNet/terraform-appd-cluster-agent-install/blob/284920fd2aafd5f6cb36b16ff7f556ee9a99ace7/terraform-appd-cluster-agent.tf#L95
for an example


PeerManager updates

I made some updates to PeerManager and PeerDb to implement some missing basic parts.
PeerManager will now load IPs from DNS seeds on first start and gracefully reconnect to peers.
Added two separate inbound and outbound peer limits (inbound limit is configurable).
I also removed error reporting from PeerManager functions where possible to simplify things.
This PR depends on https://github.com/mintlayer/mintlayer-core/pull/727.

If this PR depends on #727, then please base it on #727... otherwise we see both changes in one PR.

The PR looks fine to me, except that it depends on the disputed #727.
I also would like to ask @stanislav-tkach also to review it.

The PR looks fine to me, except that it depends on the disputed #727.

I switched to using tokio::time::Instant (like we do in other p2p parts) and rebased the PR to the master branch for now.
We can decide what to do with tokio::time::Instant later.


As a non-engineer community member, I want to suggest a new idea for a dataset, so that I can participate in the data pipeline

Description
We should create a means for non-engineer community members to suggest new ideas for a dataset, using tools familiar to them.
Solution
To make it easy for non-engineer members of the public and advisory bodies such as the WHEJAC to submit suggestions for data sets, we will configure a Google Form that maps to the schema of the data set files. It probably makes the most sense to autogenerate the Google Form out of the Yamale schema for data set descriptions and the accompanying field description file; this will help keep the schema and the Google Form in sync.
This will enable members of the public to fill out a simple form suggesting data without needing to understand Github or other engineering concepts.
At first, these responses can just go into a resulting Google Sheet and be manually copied and converted into data set description files. Later, we can write a script that converts new entries in the Google Sheet automatically into data set file descriptions and opens a pull request. That work is tracked in this ticket
Tasks

[x] Setup official Google Sheet with appropriate schema, share publicly
[x] Create a Google Form to capture additional responses

Definition of "Done"

[x] Sheet created and circulated
[x] Form public

Gotchas

[ ] Ensure we're compliant with PRA restrictions

Status: Google script that generates the form is done. In the future we will work on a way to automatically update the form from the YAML schema (and ensure the URL stays the same).

Next steps for QA: Get team feedback, review for PRA compliance. @KameronKerger is the QAer.

Public Form lives here
Google Sheet (public for comments, auth for editing) here

Please read the following caveats below:

The Google Form is generated by running this script on a Google Apps Script on the Justice 40 Google Drive. I haven't found a way that we can run this script programmatically from Github Actions.
Each time the script is run, a new form (and a new URL) is created as well a new Google Sheet with a random UUID. If changes are made to the script, we would need to be aware of the previous sheets contents

Existing descriptions for fields here: https://github.com/usds/justice40-tool/blob/main/data-roadmap/data_roadmap/data_set_description_field_descriptions.yaml

To do: Write a description to go at the top of the form explaining what the form is, how to use it, how it will be used, and a link to the spreadsheet where you'll see your submission populate. We should also ask people here to look at the spreadsheet first to make sure the dataset hasnt been submitted yet.
I can do this Monday morning around 9am. If anyone has time and wants to do this beforehand, go for it!

Here are my thoughts:
name: A short name for the data set.
source: The URL / website where this data set can be found.
relevance_to_environmental_justice: Reason(s) why this data set is important for the environmental justice community (e.g. helps identify an EJ community)
spatial_resolution: How specific does this data set get?
public_status: Has this data set gone through a public release process?
[add a 'Not Sure' option]
sponsor: Who is providing and maintaining this data? (e.g. a federal agency, a specific organization)
subjective_rating_of_data_quality: Has this data set been vetted?
estimated_margin_of_error: Estimated margin of error on measurement, if known.
known_data_quality_issues: Are there any known issues with this data set?
geographic_coverage_percent: What percentage of the United States and US territories does this data set cover? This can be an estimate.
geographic_coverage_description: Tell us more about the geographic coverage.
data_formats: [can you add an 'Not Sure' option?]
last_updated_date: When was the data last updated or refreshed? (Use format YYYY-MM-DD. If exact date is not known, use YYYY-01-01.)
frequency_of_updates: How often is this data updated?
documentation: Please include any links to documentation.
[Can it be relabeled as 'Can data go in the cloud?']
data_can_go_in_cloud: Some datasets can not legally go in the cloud
[Can this be relabeled as 'Additional Information'?]
discussion: Please include additional information around peer review, data availability (is it available from multiple sources?), any legal considerations, accreditation, etc.

Jane's recos are great!
To go along with Jane's reco :
subjective_rating_of_data_quality: Has this data set been vetted?
I think for now this is good, and can answer options be "Yes", "Somewhat", "No", "Not sure"?
For this one I'd say instead "Can his data go into cloud data storage? Sometimes there are restrictions on what can be stored in the cloud.'
data_can_go_in_cloud: Some datasets can not legally go in the cloud

Thanks for the descriptions, y'all!
So, this is my understanding of what we need to do today, by 5pm ET latest (OSG chat) but ideally by 2pm ET so we can show this workflow to Cecilia.

[ ] Add field descriptions to form
[ ] Add form description to top of form
[ ] Move existing backlog spreadsheet to the new spreadsheet
[ ] Remove “required” from all fields except name and URL
[ ] Add optional “email address of submitter” field
[ ] Test out workflow

Is that accurate? Anything else?

Description draft for top of form:

Thank you for participating in the Justice40 open data roadmap! Use this form to submit individual data sets to be considered for the data roadmap of the Justice40 Climate and Environmental Justice Screening Tool. Once the data set is submitted, you can view it in our submission tracking spreadsheet here (link).
Please try to fill out as many of the details below as possible for the data set you are submitting. If you do not know the value for a given field, you can leave it blank, and someone from our team or from the open source community will help research to figure it out and will update the spreadsheet accordingly. Instructions for suggesting updates to the spreadsheet are available in the second tab of the spreadsheet. Once a data set has been fully researched, the White House Environment Justice Advisory Council (WHEJAC) will vote on whether and how to prioritize the data set for inclusion in the tool.
If you have any questions, please email us at<EMAIL_ADDRESS>

Draft text for the "How to contribute" tab in the google sheet:
How to contribute to this spreadsheet
Thanks for your interest in helping us grow the data roadmap for the Justice40 Climate and Environmental Justice Screening Tool! We could use your help in adding and updating data set submissions to be considered for our roadmap. Once a data set is added and fully investigated (i.e. all quantitative columns have been filled out for it in this spreadsheet), the White House Environmental Justice Advisory Council (WHEJAC) will vote on whether and how to prioritize the dataset in inclusion in the tool.
1. Adding a data set
Please use this Google Form to submit a data set to this spreadsheet: (link)
2. Updating a data set
If you see a data set that has one or more empty values for a column (for example, there is no value for "Spatial Resolution"), you can help us research and fill this out. This may involve downloading a data set and looking at it directly to get an answer, or reading through the data set's documentation. Once you've found the value of the field you're investigating, leave a comment on the specific cell in the spreadsheet with the value. A Justice40 team member will review the comments on a daily basis and update the cell directly with the value you've left in your comment.

@switzersc-usds - re: your checklist, if we remove "required" from all those other fields, we'll also need to update the Yamale schema, since we're essentially maintaining the schema twice here. That sounds fine to me I just want to make sure we're tracking it.

And to @lucasmbrown-usds point, is it okay if I update the descriptions above in the data field descriptions YML file, since it's the source of truth @switzersc-usds?

is it okay if I update the descriptions above in the data field descriptions YML file

That sounds valuable to me @esfoobar-usds !

Rachel has been emailed. We should probably modify and include some of the USDS consent language here.
Thanks for taking the time to speak with us! You have been asked to participate in a feedback session conducted by the U.S. Digital Service. This form explains how we might use the information that you provide in this feedback session. Signing this form and participating in this session is entirely voluntary. You may stop the session at any time. Please read this form carefully and ask any questions you may have before agreeing to participate.
We might use or share things we learn during this session in reports, online, and in presentations.
Consent
By signing this form, I give my permission for the U.S. Digital Service to use (please check all that apply):
Written notes of verbal statements
My real name
Recorded voice
Screen recordings
Pictures of me participating in the session
Video recording of the interview
Statement of consent I consent to take part in this session and to have any information I provide be used in the manner described above. I understand that I will receive no compensation and waive all claims for compensation from the U.S. government in exchange for my participation in this research. I expressly release the U.S. Digital Service from and against any and all claims that I have or may have for invasion of privacy, defamation, or any other cause of action arising out of the production, distribution, display, or publication of the results of the project, so long as they are used in the manner indicated above. I have read the above information and received answers to any questions I have asked.


Support pressure stall information

How to test:
youki create -b your_bundle_path psi
youki start psi
youki events --stats psi

Result:
...
    "psi": {
      "some": {
        "avg10": 50.89,
        "avg60": 22.64,
        "avg300": 11.27
      },
      "full": {
        "avg10": 18.83,
        "avg60": 13.78,
        "avg300": 12.61
      }
    }

This needs https://github.com/containers/youki/pull/1401


Consider rule for fluent interface / method chaining

Particularly in py-data, we often use long method chains - aka fluent programming
The 'best' approach to grouping items in a chained statement is by method, including any arguments that method takes. By 'best', I mean groups of items which are self-contained - i.e. the items within a group influence other items in their group, but don't influence items outside of their group
But at the moment black is splitting methods from their arguments, while grouping methods where possible. Take a case:
     result = (
-        data_set
-        .round(0)
-        .isin([0])
-        .sel(dim2=0, dim3='a')
-        .isel(dim1=[0, 1])
-        .drop(['time', 'dim3', 'dim2', 'numbers'])
-        .squeeze()
+        data_set.round(0).isin([0]).sel(dim2=0, dim3='a').isel(
+            dim1=[0, 1]
+        ).drop(
+            ['time', 'dim3', 'dim2', 'numbers']
+        ).squeeze()
     )

Here, .isel(dim1=[0, 1]) is a self-contained group of information; you can see that and know what's happening. dim1=[0, 1] is not - you need to know the method that it's being applied to
I realize this would probably be a branching in black's logic, since often splitting on args is reasonable. But I'm also fairly confident that black does not handle this specific case well.
Is there a synthesis here that adds this without complication?
FWIW I've recently starting using Rust, and rustfmt does this well.
Operating system:MacOS
Python version:3.6.4
Black version:black, version 18.3a4
Does also happen on master:Y

This was discussed in #67 and I still think this is a rather foreign syntax to Python where with significant indentation this form isn't even valid unless additional parentheses are used.
Since this comes up again and again, I recognize that a large population probably wants it so I'll reopen the initial issue.


Publish to NPM or guide on how to setup?

Hi, I'm trying to use this tool but I can't see a clear way of installing it

I think you have to place it inside your monorepo, set it up as a project in rush.json, and run it from there. Personally I just placed a symlink at the root of the monorepo to the index.js and run it like that.


Double-Checked Locking

https://github.com/Meituan-Dianping/Leaf/blob/5c409fbf111b7747e5a32424394d7ac07b0fa9d8/leaf-core/src/main/java/com/sankuai/inf/leaf/segment/SegmentIDGenImpl.java#L130-L132
Double-Checked Locking is widely cited and used as an efficient method for implementing lazy initialization in a multithreaded environment.
Unfortunately, it will not work reliably in a platform independent way when implemented in Java, without additional synchronization.

updateSegmentFromDb(key, buffer.getCurrent());
logger.info("Init buffer. Update leafkey {} {} from db", key, buffer.getCurrent());
unsafe.putOrderedObject(this, valueOffset, null); //防止重排序
buffer.setInitOk(true);


[HELP] Connection disconnected when running query

Hello, everyone!
I am running the query to retrieve data from odbc database.
It works well for first some queries, but after a while, I got following error.

Here is the connection string;
DRIVER={iSeries Access ODBC Driver};SYSTEM=???;DATABASE=???;UID=???;PWD=???

Anybody who knows how to fix this, please help me.
Thanks.

It's saying that the remote (IBM i) side disconnected. Could be a socket timeout or network blip or something. You could try enabling TCP keepalive with cwbcopwr. May need to do some investigation from the IBM i side, though I don't have any pointers for that unfortunately.

@kadler Thanks for your reply.
Can I connect to odbc every time when I am running query?
I am running query on webhooks, means I can run query twice at the same time.

There's no method for connect/query/disconnect all in one, but you could do that yourself if you wanted. If you are using the Pool interface, you may want to switch away from that. ODBC also has its own connection pooling interface, below node-odbc and you may want to check if that is enabled and leading to these issues as well.


Added heart icons in settings and synced heart icon state with star rating changes

Does not fully fulfill requirements stated in #763
Hello Boris!
Thank you for your support so far.
This pull request contains the following:

added 'show favorites' setting into the view settings page
heart icon lits up properly upon changing the star ratings, and vice versa Only on details view
On other views like thumbnail or filmstrip, the interactive change between star and heart does not work

If you have insights on why it is not working for other views, we would like to know!
Thank you!

Sorry for the delay -- I'll try to find some time this week (before 2022 is over) to merge in your code ❤
Have an excellent winter break ❄

Thank you again for the code addition 🙇
I'm aiming to have a release at the end of February, so I'll merge this in and fix anything that's left over 🤝
Cheers 😊

🙇  thank you for the code contribution -- I've merged it into heart-favorite branch so as to resolve merge conflicts (and update a few minor things before merging into main) 🤝
Your code should appear in the 5th anniversary release happening later today 🙌  Cheers!


added "details.usage.---" to i18n excludes

These keys are used with variable style statements.
examples:
src/pages/details/components/usageChart/usageChart.tsx
{t(details.usage.${reportType}_requests_unused_label)}
const hasRequest = hasTotal && report.meta.total.request && report.meta.total.request !== null;

Codecov Report

Merging #1790 (e93a665) into master (becbd23) will increase coverage by 1.19%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1790      +/-   ##
==========================================
+ Coverage   75.90%   77.10%   +1.19%
==========================================
  Files         298      298
  Lines        4914     5363     +449
  Branches      946     1233     +287
==========================================
+ Hits         3730     4135     +405
- Misses       1081     1209     +128
+ Partials      103       19      -84

Impacted Files
Coverage Δ

src/components/i18n/i18nProvider.tsx
57.14% <0.00%> (-9.53%)
:arrow_down:

src/pages/state/maintenance/maintenanceState.tsx
66.66% <0.00%> (-8.34%)
:arrow_down:

src/store/common.ts
81.81% <0.00%> (-7.08%)
:arrow_down:

...ponents/reports/reportSummary/reportSummaryAlt.tsx
52.94% <0.00%> (-7.06%)
:arrow_down:

src/api/reports/reportUtils.ts
27.77% <0.00%> (-6.71%)
:arrow_down:

src/api/forecasts/forecastUtils.ts
28.57% <0.00%> (-6.22%)
:arrow_down:

src/api/exports/exportUtils.ts
29.16% <0.00%> (-5.84%)
:arrow_down:

src/api/tags/tagUtils.ts
30.00% <0.00%> (-5.30%)
:arrow_down:

src/utils/permissionsComponent.tsx
30.76% <0.00%> (-4.02%)
:arrow_down:

...d/azureCloudDashboard/azureCloudDashboardCommon.ts
32.43% <0.00%> (-3.06%)
:arrow_down:

... and 94 more

Continue to review full report at Codecov.

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

Codecov Report

Merging #1790 (e93a665) into master (becbd23) will increase coverage by 1.19%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1790      +/-   ##
==========================================
+ Coverage   75.90%   77.10%   +1.19%
==========================================
  Files         298      298
  Lines        4914     5363     +449
  Branches      946     1233     +287
==========================================
+ Hits         3730     4135     +405
- Misses       1081     1209     +128
+ Partials      103       19      -84

Impacted Files
Coverage Δ

src/components/i18n/i18nProvider.tsx
57.14% <0.00%> (-9.53%)
:arrow_down:

src/pages/state/maintenance/maintenanceState.tsx
66.66% <0.00%> (-8.34%)
:arrow_down:

src/store/common.ts
81.81% <0.00%> (-7.08%)
:arrow_down:

...ponents/reports/reportSummary/reportSummaryAlt.tsx
52.94% <0.00%> (-7.06%)
:arrow_down:

src/api/reports/reportUtils.ts
27.77% <0.00%> (-6.71%)
:arrow_down:

src/api/forecasts/forecastUtils.ts
28.57% <0.00%> (-6.22%)
:arrow_down:

src/api/exports/exportUtils.ts
29.16% <0.00%> (-5.84%)
:arrow_down:

src/api/tags/tagUtils.ts
30.00% <0.00%> (-5.30%)
:arrow_down:

src/utils/permissionsComponent.tsx
30.76% <0.00%> (-4.02%)
:arrow_down:

...d/azureCloudDashboard/azureCloudDashboardCommon.ts
32.43% <0.00%> (-3.06%)
:arrow_down:

... and 94 more

Continue to review full report at Codecov.

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


[web] SelectableText is not working with multiple text selection

SelectableText is not working with multiple text selection for Flutter Web, but it works in Linux Desktop.
In Flutter web only the word itself is selectable.
Steps to Reproduce
$ flutter create newapp
$ cd newapp
$ # replace the Text widget with SelectableText

Code sample

import 'package:flutter/material.dart';

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

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key, required this.title});
  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  int _counter = 0;

  void _incrementCounter() {
    setState(() {
      _counter++;
    });
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: SelectableText(widget.title),
      ),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            const SelectableText(
              'You have pushed the button this many times:',
            ),
            Text(
              '$_counter',
              style: Theme.of(context).textTheme.headline4,
            ),
          ],
        ),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: _incrementCounter,
        tooltip: 'Increment',
        child: const Icon(Icons.add),
      ),
    );
  }
}

Flutter Doctor

❯ flutter doctor -v
[✓] Flutter (Channel stable, 3.3.1, on Ubuntu 20.04.3 LTS 5.15.0-46-generic, locale en_US.UTF-8)
    • Flutter version 3.3.1 on channel stable at /opt/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 4f9d92fbbd (5 days ago), 2022-09-06 17:54:53 -0700
    • Engine revision 3efdf03e73
    • Dart version 2.18.0
    • DevTools version 2.15.0

[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/docs/get-started/install/linux#android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.

[✓] Chrome - develop for the web
    • Chrome at google-chrome

[✓] Linux toolchain - develop for Linux desktop
    • clang version 10.0.0-4ubuntu1
    • cmake version 3.16.3
    • ninja version 1.10.0
    • pkg-config version 0.29.1

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/linux#android-setup for detailed instructions).

[✓] VS Code (version 1.64.0)
    • VS Code at /usr/share/code
    • Flutter extension version 3.40.0

[✓] VS Code (version 1.65.0-insider)
    • VS Code at /usr/share/code-insiders
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (2 available)
    • Linux (desktop) • linux  • linux-x64      • Ubuntu 20.04.3 LTS 5.15.0-46-generic
    • Chrome (web)    • chrome • web-javascript • Google Chrome 103.0.5060.134

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 2 categories.

Hello @reza-ebrahimi. From your code sample, I see everything working as expected. Can you please describe the bug you are facing in more detail?

@exaby73 Selecting more than one word is not working in the web, The following is Linux Desktop screenshot, in web we cannot do this:

It's working as expected for me. You have to start the drag on the Y.

It's not working for me on the web, on Linux Desktop it's fine.
I also updated my google chrome to the latest version, but it is still the same.

Running on Linux (on web) works as expected. I cannot reproduce this issue. Can you share a screen recording?

Sure.
Screencast from 09-14-2022 02:03:00 PM.webm

I cannot seem to reproduce this issue. Do you get any crash logs while running the app? Also, are you using a trackpad or mouse?

I'm using mouse, but tested with my laptop touchpad too, and still not working,
No crash. This is the log from console:
Launching lib/main.dart on Chrome in debug mode...
lib/main.dart:1
This app is linked to the debug service: ws://<IP_ADDRESS>:43627/fpgtZlx_Qdo=/ws
Debug service listening on ws://<IP_ADDRESS>:43627/fpgtZlx_Qdo=/ws
💪 Running with sound null safety 💪
Connecting to VM Service at ws://<IP_ADDRESS>:43627/fpgtZlx_Qdo=/ws
Flutter Web Bootstrap: Programmatic

Could you try running it on another device? For example, opening it on your mobile phone in Chrome and observe whether you can select or not. Also, have you considered using SelectableArea instead?

Unfortunately due to networking problems cannot test on mobile, but I tested SelectableArea:
1- On Chrome still not working.
2- On Firefox working fine.
3- On Opera working fine.
Even on Chrome, the mouse cursor is not changing.

Code sample

import 'package:flutter/material.dart';

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

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

  static const String _title = 'Flutter Code Sample';

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: _title,
      home: SelectionArea(
        child: Scaffold(
          appBar: AppBar(title: const Text(_title)),
          body: Center(
            child: Column(
              mainAxisAlignment: MainAxisAlignment.center,
              children: const <Widget>[
                Text('This is a long text to select'),
                Text('This is a long text to select'),
                Text('This is a long text to select'),
              ],
            ),
          ),
        ),
      ),
    );
  }
}

Screencast from 09-14-2022 11:44:21 PM.webm

This is stumping me... I cannot reproduce it. I'll label the issue so that we may get some further insights from the team.

Also, could you confirm if the same issue occurs with the HTML renderer. You can test it by running flutter run -d chrome --web-renderer html

Also, could you confirm if the same issue occurs with the HTML renderer. You can test it by running flutter run -d chrome --web-renderer html

Results are the same.
To have a wrap-up:
SelectableText:

Single Text Selection:

Works on Chrome, Firefox, and Opera.

Multi Text Selection:

Works on Firefox, and Opera.
Not working on Chrome.

SelectableArea:

Single Text Selection:

Not working on Chrome, Firefox, and Opera.

Multi Text Selection:

Works on Firefox, and Opera.
Not working on Chrome.

Okay thank you for the information :)

Similar issue #111497

@chunhtai

Removing the web label for now, since this looks like a pure framework issue.

@chunhtai


OpenSim crash when using excitation editor

OpenSim4.4 4.3 will crash when editting excitations in the excitation editor. no crash information show when crashing.

I had no crash but the layout looked messed up on hi-res monitor/screen. Layout issue is duplicate of one reported on osx.


https://tinkerbell.org/setup should be updated to point to latest docs

https://tinkerbell.org/setup currently points to Packet specific documentation.
Let's instead update this page to the latest docs.
This looks like a good start: https://github.com/tinkerbell/tink/issues/49
I'd love to embed these videos if they are up to date: https://github.com/tinkerbell/tink/pull/62 (If we do this let's make a reminder to update them whenever the instructions change)

Current known environments used for Tinkerbell (to take into consideration):

Vagrant with Ubuntu 18.04

I use VirtualBox with the following Vagrantfile for machine running tinkerbell:

Vagrant.configure("2") do |config|
  config.vm.box = "ubuntu/bionic64"
  # config.disksize.size = '30GB'
  config.vm.provider :virtualbox do |v|
    v.check_guest_additions = false
    v.functional_vboxsf     = false
    v.cpus                  = 2
    v.memory                = 2048
    v.customize ['modifyvm', :id, '--paravirtprovider', 'kvm']
  end
  config.vm.network "private_network", ip: "<IP_ADDRESS>", auto_config: false
end

2nd machine (worker) is just manually created and assigned to the same network as controller node.
Stack is set up using setup.sh script (before recent changes, I didn't update to the latest for now, as I work on something else)

qemu-kvm with CentOS 7

I am using qemu-kvm for my development purposes, I have a provisioner running on virtual machine with centos7 and another vm, attached to the same network as provisioner through linux bridge,  configured to boot from pxe and to use qemu uefi as a bootloader. Next the plan is to connect raspberries pies version 4 to the laptop through switch and bridged physical interface,  and create a workflow which will setup kubernetes cluster on them.  So far, I managed to almost successfully execute the-first-good-workflow, almost because the created ubuntu 18.04 disk is not booted by qemu uefi, although all partitions and its content looks ok

@kdeng3849 Here is Alex Ellis' request for this: https://github.com/tinkerbell/tink/issues/70

We could do with having this updated to prevent confusion. A project-level API token is the best option for restricted permissions, however it only partially works then gives "access denied", therefore, I would suggest strongly we amend the language to:
"You must use a Packet User API Token, and not a project API token"

And also this - a clear split with headings for both of the approaches (manual or automated server creation):

The default location of SJC1 - West Coast is less than ideal for latency, how about using a region in the middle? Between the West Coast and Europe like EWR1?

@gauravgahlot we have an inconsistency now between the docs and setup.sh - if this is an "automated" install into a known configuration, then the user shouldn't have to guess what inputs to enter or be promoted at all.
I would suggest that we either:

Provide the sample prompts in the docs
Or include the sample env-vars / answer in the terraform bundle / git repo

I set values according to this comment, however there were confusing warnings, that I think we need to silence or fix:

WARNING: The PACKET_API_AUTH_TOKEN variable is not set. Defaulting to a blank string.
WARNING: The PACKET_API_URL variable is not set. Defaulting to a blank string.

Should these be set? Why are we warning about that? Does it need to be added into the setup docs page to configure these or should we silence the warning?

Glad to see the feedback was integrated @gauravgahlot, however, can you fix the \n appearing in the output? Perhaps a second echo would be easier?

Do we still need to run those instructions given that the image appears to have been set up already? (perhaps by setup.sh?)

Pushing hardware data into database

Exec into the deploy_tink-cli_1 container.
Create a file containing the hardware data (in json format), replacing <worker_mac_addr> with the actual worker MAC.

If this is a step-by-step guide, you'll need to provide exact commands. This should be an easy fix for you.

docker exec -ti deploy_tink-cli_1 /bin/sh

@gauravgahlot could you fix?

Step 3.
Replace vi with something you can paste easily:
with:
export MAC="98:03:9b:30:1f:ee"
cat > /tmp/hardware.json<<EOF
{
  "id": "373324c8-7fb5-11ea-9227-0242ac120004",
  "arch": "x86_64",
  "allow_pxe": true,
  "allow_workflow": true,
  "ip_addresses": [
    {
     "address": "<IP_ADDRESS>",
     "address_family": 4,
     "enabled": true,
     "gateway": "<IP_ADDRESS>",
     "management": true,
     "netmask": "<IP_ADDRESS>",
     "public": false
    }
  ],
  "facility_code": "ewr1",
  "network_ports": [
    {
      "data": {
      "mac": "$MAC"
      },
      "name": "eth0",
      "type": "data"
    }
  ]
}
EOF


How do i install it to linux?

Can someone help me getting it to linux or do i just have to use wine to run it?

I guess binary linux releases would be nice

Build it on linux.


[Bug Report] Upload file didn't trigger the on-change event when we use element ui with npm

Element UI version
1.2.9
OS/Browsers version
chrome
Vue version
2.3.0
Reproduction Link
https://github.com/ElemeFE/element/blob/dev/packages/upload/src/index.vue
Steps to reproduce
use the lastest element in cdn or in npm , can not trigger the on-change event，i find the source code was different from the code in github ( the last line in handleStart method ),  i am not sure if you have fixed this bug and have not released ?

We haven't released this yet. Wait another hour please.


Fix logaddexp low pcc

Fix low pcc issue for logaddexp problems
@tt-aho @eyonland For logaddexp, logaddexp2 we are getting low pcc issue when one of the datatype is bf8, for this issue updated the

interim buffer format to bf16
output tensor dtype to bf16 (hardcoded it to bf16 , instead of getting if from input tensors)

Kindly review and share the comments

Is the issue due to bfp8 not being accurate enough for these ops? Or some bug with mixed precision?

Bf8 is not accurate for these ops when one of the input I bf8. It's working fine when both inputs are bf16

One of the test case used "system_memory" as one of the input config which throws the following error
Cannot get a device tensor from host storage. Hence updated the config

Closing this PR due to infra changes


⚠ Bofrost.de has degraded performance

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

HTTP code: 200
Response time: 1280 ms

Resolved: Bofrost.de performance has improved in 29e8f8e.


ParserQuery should not have "undefined" in the type

The ParserQuery type allows a key to have an "undefined" value. This appears to be an error, as there is no way for a query-string to specify an "undefined" value. It could be a "null", or an empty string, but undefined doesn't make sense.
export interface ParsedQuery<T = string> {
	[key: string]: T | T[] | null | undefined;
}

This is causing me trouble now as we're trying to interop with JSON types which cannot contain an undefined value.

FWIW, I'm in the opposite boat (relying on undefined support), and 16.3.2 breaks my code.
Probably should have been a major version bump for this.

I guess stringifyUrl  should still allow a type that allows undefined. Is that what is causing the trouble? The input type can be more lenient than the output type.

I guess stringifyUrl should still allow a type that allows undefined. Is that what is causing the trouble?

Yeah. Building up an object to pass to it.


network policy is not addictive

Environmental Info:
K3s Version: v1.20.6+k3s1

Node(s) CPU architecture, OS, and Version:
1 node Fedora CoreOS
Cluster Configuration:
1 node as master
Describe the bug:
According to https://kubernetes.io/docs/concepts/services-networking/network-policies/

Network policies do not conflict; they are additive. If any policy or policies select a pod, the pod is restricted to what is allowed by the union of those policies' ingress/egress rules. Thus, order of evaluation does not affect the policy result.

However, it is not the cases in my setup.
Steps To Reproduce:
NP for mariadb:
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
  name: mariadb-network-policy
spec:
  podSelector:
    matchLabels:
      app: mariadb
  policyTypes:
  - Ingress
  - Egress
  ingress: []
  egress: []

NP for wordpress
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
  name: wordpress-network-policy
spec:
  podSelector:
    matchLabels:
      app: wordpress
  policyTypes:
  - Ingress
  - Egress
  ingress:
  - from:
    - namespaceSelector: {}
      podSelector:
        matchLabels:
          app.kubernetes.io/name: ingress-nginx
          app.kubernetes.io/instance: ingress-nginx
          app.kubernetes.io/component: controller
    ports:
    - port: 80
      protocol: TCP
  egress:
  - to:
    - namespaceSelector: {}
      podSelector:
        matchLabels:
          k8s-app: kube-dns
    ports:
    - port: 53
      protocol: UDP
    - port: 53
      protocol: TCP
  - to:
    - namespaceSelector: {}
      podSelector:
        matchLabels:
          app: mariadb
    ports:
    - port: 3306
      protocol: TCP
  - to:
    - ipBlock:
        cidr: <IP_ADDRESS>/0
        except:
        - <IP_ADDRESS>/8
        - <IP_ADDRESS>/12
        - <IP_ADDRESS>/16

Expected behavior:
With both NP, wordpress can access mariadb.
Actual behavior:
wordpress can access mariadb only if NP for mariadb is deleted.

We embed the network policy controller from kube-router: https://github.com/cloudnativelabs/kube-router#network-policy-controller----run-firewall - you might consider opening an issue there as well?

Sure. Will do. Thanks for the link.

I think you might be misreading the documentation though.

Network policies do not conflict; they are additive. If any policy or policies select a pod, the pod is restricted to what is allowed by the union of those policies' ingress/egress rules. Thus, order of evaluation does not affect the policy result.

This is saying that policies for a specific pod are additive. They are not collectively additive, as is made clear in the very next paragraph:

For a network flow between two pods to be allowed, both the egress policy on the source pod and the ingress policy on the destination pod need to allow the traffic. If either the egress policy on the source, or the ingress policy on the destination denies the traffic, the traffic will be denied.

Oh, if so, then maybe they fixed the bug recently.
It used to work and became broken suddenly after upgrading my k3s cluster 1 month ago (just find some time to file the bug now).

That's quite possible. I recently (#2867) upgraded the kube-router network policy code, before that we hadn't updated it in about a year and a half.

@brandond yeah. I guess that is the case. Thanks for your work👍! Let me fix my configuration then.


Datum performance improvements

🚀 Pull Request
Description
#4704 introduced a performance regression in the load process (see #4728) as the globe and cartopy crs of a GeogCS were being made at the time it was created, even if they were never used. This PR aims to restore performance by delaying the creation of those objects.
Additionally, @jamesp pointed out that setting attributes on GeogCS objects wasn't well handled by the implementation in #4704. I've now handled attribute setting in a manner that emulates the existing behaviour:

Setting semi_major_axis or semi_minor_axis will change the globe and CRS returned by as_cartopy_globe and as_cartopy_crs.
Setting inverse_flattening will not have an effect on anything except the value of that attribute.

I've also extended the behaviour so that setting the datum or a value that conflicts with the datum doesn't lead to an internally inconsistent GeogCS:

Setting datum will cause the semi_major_axis, semi_major_axis and inverse_flattening to match the datum's values.
Setting a semi_major_axis or semi_major_axis that conflicts with the datum's values will remove the datum.

Based on a suggestion by @rcomer, I've changed the stacklevel of the FutureWarning so users can tell where in their code it originated, not where in ours.
Question for reviewer:

Currently there's no indication that setting the inverse_flattening is largely irrelevant. This matches existing behaviour, but should we improve it?

Closes #4728

Consult Iris pull request check list

Comparison back to before first datum branch merged
       before           after         ratio
     [66205e78]       [c38ce7bd]
       10.5±0.4ms      10.3±0.09ms     0.98  load.LoadAndRealise.time_load((1280, 960, 5), False, 'FF')
      11.2±0.04ms      11.3±0.09ms     1.01  load.LoadAndRealise.time_load((1280, 960, 5), False, 'PP')
       10.7±0.4ms       10.1±0.2ms     0.95  load.LoadAndRealise.time_load((1280, 960, 5), True, 'FF')
      11.0±0.06ms      11.2±0.07ms     1.02  load.LoadAndRealise.time_load((1280, 960, 5), True, 'PP')
       1.72±0.01s       1.69±0.01s     0.98  load.LoadAndRealise.time_load((2, 2, 1000), False, 'FF')
       1.86±0.03s       1.86±0.02s     1.00  load.LoadAndRealise.time_load((2, 2, 1000), False, 'PP')
       1.71±0.03s       1.68±0.01s     0.99  load.LoadAndRealise.time_load((2, 2, 1000), True, 'FF')
       1.85±0.01s          1.87±0s     1.01  load.LoadAndRealise.time_load((2, 2, 1000), True, 'PP')
      4.46±0.03ms      4.59±0.06ms     1.03  load.LoadAndRealise.time_load((2, 2, 2), False, 'FF')
      4.75±0.01ms       4.81±0.3ms     1.01  load.LoadAndRealise.time_load((2, 2, 2), False, 'PP')
      4.49±0.07ms      4.44±0.05ms     0.99  load.LoadAndRealise.time_load((2, 2, 2), True, 'FF')
      4.81±0.06ms      4.92±0.09ms     1.02  load.LoadAndRealise.time_load((2, 2, 2), True, 'PP')
      10.2±0.06ms       10.4±0.2ms     1.02  load.STASHConstraint.time_stash_constraint((1280, 960, 5), 'FF')
       11.4±0.3ms       11.3±0.2ms     0.99  load.STASHConstraint.time_stash_constraint((1280, 960, 5), 'PP')
       1.73±0.01s       1.73±0.01s     1.00  load.STASHConstraint.time_stash_constraint((2, 2, 1000), 'FF')
       1.90±0.01s       1.89±0.02s     0.99  load.STASHConstraint.time_stash_constraint((2, 2, 1000), 'PP')
      4.55±0.09ms      4.75±0.08ms     1.04  load.STASHConstraint.time_stash_constraint((2, 2, 2), 'FF')
      4.84±0.04ms       4.99±0.1ms     1.03  load.STASHConstraint.time_stash_constraint((2, 2, 2), 'PP')
      9.98±0.03ms       10.4±0.2ms     1.05  load.StructuredFF.time_structured_load((1280, 960, 5), False)
       1.67±0.01s       1.71±0.02s     1.03  load.StructuredFF.time_structured_load((2, 2, 1000), False)
      4.60±0.07ms       4.54±0.1ms     0.99  load.StructuredFF.time_structured_load((2, 2, 2), False)
      4.28±0.06ms      4.11±0.08ms     0.96  load.StructuredFF.time_structured_load((2, 2, 2), True)
          175±3ms          175±3ms     1.00  load.TimeConstraint.time_time_constraint(20, 'FF')
          190±1ms          192±3ms     1.01  load.TimeConstraint.time_time_constraint(20, 'PP')
       35.8±0.4ms       35.3±0.6ms     0.99  load.TimeConstraint.time_time_constraint(3, 'FF')
       36.8±0.6ms       37.6±0.4ms     1.02  load.TimeConstraint.time_time_constraint(3, 'PP')

Quite a lot of the GeogCS.__init__ code has reverted to how it was before the previous PR, fyi


Untracked effect?

When implementing form, found some cases that will want some parts of side effect to not be tracked.
2 possible approaches:

Add an outside function
Add second param to effect that accepts a callback, which is run together with 1st callback but excluded from tracking

Not 100% sure how absolute should this "exclude from observers" be, will put in icebox first

Implemented but won't publish yet, focus on GC benchmarking first.


.Net: JSON parsing issue when you use HandlebarsPlanner

Describe the bug
I have a sample project which uses Semantic Kernel which includes 3 plugins:

A plugin with two native functions, which are used to retrieve statistical data about the United States
A plugin with a prompt function, which is used to generate a business mail

I'm trying to use the HandlebarsPlanner to generate a plan that can satisfy the following ask:
Write a mail to share the population of the United States in 2015. Make sure to include the number of people who identify themselves as male.
This is my code:
var planner = new HandlebarsPlanner(new HandlebarsPlannerConfig()
{
    AllowLoops = true
});

string ask = "Write a mail to share the population of the United States in 2015. Make sure to include the number of people who identify themselves as male.";

var plan = await planner.CreatePlanAsync(kernel, ask);
var result = plan.Invoke(kernel, new KernelArguments());
Console.WriteLine(result);

By exploring the result, I can see that the generated plan looks correct. In the custom helpers section, in fact, I can see that it picked up my 3 functions: GetPopulation, GetMalePopulation and WriteBusinessMail.
<system~>## Instructions
Explain how to achieve the user's goal with the available helpers with a Handlebars template.

## Example
If the user wanted you to generate 10 random numbers and use them in another helper, you could answer with the following.</system~>
<user~>Please show me how to write a Handlebars template that achieves the following goal.

## Goal
I want you to generate 10 random numbers and send them to another helper.
</user~>
<assistant~>Here's the Handlebars template that achieves the goal:
```handlebars
{{!-- Step 1: Initialize the count --}}
{{set
  "count"
  10
}}
{{!-- Step 2: Loop using the count --}}
{{#each
  (range
    1
    (get
      "count"
    )
  )
}}
  {{set
    "index"
    this
  }}
  {{!-- Step 3: Create random number --}}
  {{set
    "randomNumber"
    (Example-Random
      seed=(get
        "index"
      )
    )
  }}
  {{!-- Step 4: Call example helper with random number and print the result to the screen --}}
  {{json
    (Example-Helper
      input=(get
        "randomNumber"
      )
    )
  }}
{{/each}}
```</assistant~>
<system~>Now let's try the real thing.</system~>
<user~>Please show me how to write a Handlebars template that achieves the following goal with the available helpers.

## Goal
Write a mail to share the population of the United States in 2015

## Out-of-the-box helpers
The following helpers are available to you:
- `{{#if}}{{/if}}`
- `{{#unless}}{{/unless}}`
- `{{#each}}{{/each}}`
- `{{#with}}{{/with}}`

## Loop helpers
If you need to loop through a list of values with `{{#each}}`, you can use the following helpers:
- `{{range}}` – Generates a sequence of integral numbers within a specified range, inclusive of last value.
- `{{array}}` – Generates an array of values from the given values.

IMPORTANT: `range` and `array` are the only supported data structures. Others like `hash` are not supported. Also, you cannot use any methods or properties on the built-in data structures, such as `array.push` or `range.length`.

## Math helpers
If you need to do basic operations, you can use these two helpers with numerical values:
- `{{add}}` – Adds two values together.
- `{{subtract}}` – Subtracts the second value from the first.

## Comparison helpers
If you need to compare two values, you can use the `{{equal}}` helper.
To use the math and comparison helpers, you must pass in two positional values. For example, to check if the variable `var` is equal to number `1`, you would use the following helper like so: `{{#if (equal var 1)}}{{/if}}`.

## Variable helpers
If you need to create or retrieve a variable, you can use the following helpers:
- `{{set}}` – Creates a variable with the given name and value. It does not print anything to the template, so you must use `{{json}}` to print the value.
- `{{get}}` – Retrieves the value of a variable with the given name.
- `{{json}}` – Generates a JSON string from the given value; no need to use on strings.
- `{{concat}}` – Concatenates the given values into a string.

## Custom helpers
Lastly, you also have the following Handlebars helpers that you can use:

### `{{UnitedStatesPlugin-GetPopulation}}`
Description: Get the United States population for a specific year
Inputs:
    - year: Int32 - The year (required)
Output: String

### `{{UnitedStatesPlugin-GetMalePopulation}}`
Description: Get the United States population who identifies as male for a specific year
Inputs:
    - year: Int32 - The year (required)
Output: String

### `{{MailPlugin-WriteBusinessMail}}`
Description: Write a business mail
Inputs:
Output: string

IMPORTANT: You can only use the helpers that are listed above. Do not use any other helpers that are not listed here. For example, do not use `{{log}}` or any `{{Example}}` helpers, as they are not supported.</user~>
<system~>## Tips and tricks
- Add a comment above each step to describe what the step does.
- Use the `{{set}}` and `{{get}}` helpers to save and retrieve the results of another helper so you can use it later in the template without wasting resources.
- There are no initial variables available to you. You must create them yourself using the `{{set}}` helper and then access them using `{{get}}`.
- Do not make up values. Use the helpers to generate the data you need or extract it from the goal.
- Keep data well-defined. Each variable should have a unique name. Create and assign each variable only once.
- Be extremely careful about types. For example, if you pass an array to a helper that expects a number, the template will error out.
- Avoid using loops. Try a solution without before you deploy a loop.
- There is no need to check your results in the template.
- Do not nest sub-expressions or helpers because it will cause the template to error out.
- Each step should contain only one helper call.

## Start
Now take a deep breath and accomplish the task:
1. Keep the template short and sweet. Be as efficient as possible.
2. Do not use helpers or functions that were not provided to you, and be especially careful to not assume or make up any helpers or operations that were not explicitly defined already.
3. If none of the available helpers can achieve the goal, respond with "Additional helpers may be required".
4. The first steps should always be to initialize any variables you need.
5. The template should use the {{json}} helper at least once to output the result of the final step.
6. Don't forget to use the tips and tricks otherwise the template will not work.
7. Don't close the ``` handlebars block until you're done with all the steps.</system~>

However, when I try to execute the plan by calling InvokeAsync(), I'm getting the following exception:
System.Text.Json.JsonException: 'The JSON value could not be converted to System.Threading.Tasks.Task`1[System.String]. Path: $ | LineNumber: 0 | BytePositionInLine: 66.'

To Reproduce
You can use the following sample code to reproduce the problem: https://github.com/qmatteoq/SemanticKernel-Demos/blob/rc/SemanticKernel.Planner/Program.cs
Expected behavior
The plan is executed successfully.
Platform

OS: Windows
IDE: Visual Studio 2022 (17.8.3)
Language: C#
Source: NuGet package version RC3

This appears to be an issue with how the Handlebars planner handles async methods. Given a plugin that looks like the following...
public class UnitedStatesPlugin
{
      [KernelFunction, Description("Get the United States population for a specific year")]
      public async Task<string> GetPopulation([Description("The year")] int year)
      {
          return "124,000";
      }

      [KernelFunction, Description("Get the United States population who identifies as male for a specific year")]
      public async Task<string> GetMalePopulation([Description("The year")] int year)
      {
          return "61,000";
      }
  }

An error is thrown because somewhere the returned string is trying to be converted into a Task<string>

This should be fixed with this PR: https://github.com/microsoft/semantic-kernel/pull/4017

Closing this as a dupe of https://github.com/microsoft/semantic-kernel/issues/4157


fix misprint in output_context

Fix misprint in examples/remux.rs in output_context
Signed-off-by: Aleksandrov Vladimir<EMAIL_ADDRESS>

Nevermind, this is wrong. There is no timeline in result file if change input_path_cstr to output_path_cstr in avformat_alloc_output_context2. No idea why

Hmm, actually I was wrong when close this PR :)

No problem. Thanks for your contribution! 🙂


Ag fix vre vis

I had to do some small changes so that the visualisations produced by the summary workflow are visible in the VRE. The main change is that in the results/{challenge_id} directory there will be as many {challenge_id}.json files as aggregations. To be accurate, the first one will be {challenge_id}.json and the rest will have a number after the {challenge_id}.json. The VRE will visualise the results in the first JSON only, this will be fixed in the future.
Checklist

[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have updated corresponding READMEs (if applicable)
[ ] My code follows the templates/style guidelines of the repository
[ ] In- and output formats comply with APAeval specifications
[ ] No parameters or file names are hardcoded
[x] Results, logs or other output is not commited to the repository
[x] I have tested my code

Hi @AsierGonzalez, thank you for the fixes!
I tested the workflow with local docker images (rebuilt as described in the readme) and offline=1. This generated your mentioned files in results: Qx.json and Qx-1.json.
Using offline=0 leaves the results/ empty. I think this is because no file is available on the DB and the templates are not used from there. Would we not want to use the template aggregation_template_Q.json if no previous aggregation object from the OEB DB? Do you get the same output?
If I remove Qx.json (previous aggregation) and set offline=1, the template is used and I get the aforementioned files in results/.
I think once this question is solved, it can be merged.

After discussion with @AsierGonzalez and @ninsch3000 , this behaviour is still missing, i.e. using template when empty DB. It will be fixed in the merging branch #227. Thus, these fixes can be merged as is.


D/skia: — Failed to create image decoder with message 'unimplemented'

Hi,
when i capture image i am getting D/skia: --- Failed to create image decoder with message 'unimplemented' in console and The captured image not sets to imageview in Android P.
also when i am testing same app in Android Q i am getting below error.
2020-02-05 11:32:23.668 9270-9270/? E/ReviewScreenImpl: onClickOKButton() - Fail to decode captured picture
Can someone please help on above issues.

Also working on this need some time

Hi folks, is there any update on this issue?


.NET interactive Save notebook saves as .dib

Create a .ipynb using the .NET Interactive command
Run the command:  .NET Interactive Save notebook as...
The default file extension is .dib, instead of .ipynb

This matches the behavior in VS Code, so this one isn't a bug.


Updating tests and material finding method to h5py

not ready yet but this pr won't be needed if a few more prs get merged into openmc

We have the ability to get materials and volumes in openmc but not the connection between the two. e.g. volume 2 is filled with material 1 ...
This hasn't been looked into yet using a pure h5py solution


fix ios cannot load queries issue

Separated iOS file path into different sections

I knew I was being lazy when making this. Thank you so much!


[Compile]:

Operating System
Windows 11
Plugin
connectivity_plus
Version
6.0.5
Flutter SDK
3.22.2
Compilation command
Execution failed for task ':connectivity_plus:compileDebugJavaWithJavac'.

Could not resolve all files for configuration ':connectivity_plus:androidJdkImage'.
Failed to transform core-for-system-modules.jar to match attributes {artifactType=_internal_android_jdk_image, org.gradle.libraryelements=jar, org.gradle.usage=java-runtime}.
Execution failed for JdkImageTransform: C:\Users\dhili\AppData\Local\Android\sdk\platforms\android-34\core-for-system-modules.jar.
Error while executing process C:\Program Files\Android\Android Studio\jbr\bin\jlink.exe with arguments {--module-path C:\Users\dhili.gradle\caches\transforms-3\72f109696607c2a2e011467aa233cdad\transformed\output\temp\jmod --add-modules java.base --output C:\Users\dhili.gradle\caches\transforms-3\72f109696607c2a2e011467aa233cdad\transformed\output\jdkImage --disable-plugin system-modules}

Dart Dependencies
name: restart_tagxi
description: "A new Flutter project."
# The following line prevents the package from being accidentally published to
# pub.dev using `flutter pub publish`. This is preferred for private packages.
publish_to: 'none' # Remove this line if you wish to publish to pub.dev

# The following defines the version and build number for your application.
# A version number is three numbers separated by dots, like 1.2.43
# followed by an optional build number separated by a +.
# Both the version and the builder number may be overridden in flutter
# build by specifying --build-name and --build-number, respectively.
# In Android, build-name is used as versionName while build-number used as versionCode.
# Read more about Android versioning at https://developer.android.com/studio/publish/versioning
# In iOS, build-name is used as CFBundleShortVersionString while build-number is used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
# In Windows, build-name is used as the major, minor, and patch parts
# of the product and file versions while build-number is used as the build suffix.
version: 1.0.0+1

environment:
  sdk: '>=3.4.1 <4.0.0'

# Dependencies specify other packages that your package needs in order to work.
# To automatically upgrade your package dependencies to the latest versions
# consider running `flutter pub upgrade --major-versions`. Alternatively,
# dependencies can be manually updated by changing the version numbers below to
# the latest version available on pub.dev. To see which dependencies have newer
# versions available, run `flutter pub outdated`.
dependencies:
  cupertino_icons: ^1.0.2
  dio: ^5.4.0
  dartz: ^0.10.1
  flutter:
    sdk: flutter
  flutter_localizations:
    sdk: flutter
  get_it: ^7.6.4
  intl: ^0.19.0
  shared_preferences: ^2.2.3
  meta: ^1.12.0
  google_fonts: ^4.0.4
  fluttertoast: ^8.2.2
  flutter_svg: ^2.0.10+1
  carousel_slider: ^4.2.1
  pin_code_fields: ^8.0.1
  equatable: ^2.0.5
  cached_network_image: ^3.3.1
  image_picker: ^1.1.2
  permission_handler: ^11.3.1
  page_transition: ^2.1.0
  share_plus: ^9.0.0
  url_launcher: ^6.3.0
  webview_flutter: ^4.8.0
  audioplayers: ^6.0.0
  path_provider: ^2.1.4
  uuid: ^3.0.7

  # State Management
  bloc: ^8.1.4
  flutter_bloc: ^8.1.6

  # Maps & Location
  google_maps_flutter: ^2.7.0
  geocoding: ^3.0.0
  flutter_map: ^7.0.1
  location: ^7.0.0
  geolocator: ^12.0.0
  latlong2: ^0.9.1
  flutter_google_places_sdk: ^0.3.7

  # localNotificaion
  flutter_local_notifications: ^17.2.1+1

  # Firebase
  firebase_auth: ^5.1.0
  firebase_core: ^3.1.0
  firebase_database: ^11.0.1
  firebase_messaging: ^15.0.1

  #shimmer
  shimmer: ^3.0.0

  #clipboard
  clipboard: ^0.1.3

  #contacts
  contacts_service: ^0.6.3

  #connectivity
  connectivity_plus: ^6.0.4

  # packageInfo
  package_info_plus: ^4.1.0

  # bottomsheet
  # modal_bottom_sheet: ^3.0.0

  # mapAnimation
  vector_math: ^2.1.4
  flutter_animarker: ^3.4.0-beta.1

  # draggable_bottom_sheet: ^1.0.2

dev_dependencies:
  flutter_test:
    sdk: flutter

  # The "flutter_lints" package below contains a set of recommended lints to
  # encourage good coding practices. The lint set provided by the package is
  # activated in the `analysis_options.yaml` file located at the root of your
  # package. See that file for information about deactivating specific lint
  # rules and activating additional ones.
  flutter_lints: ^3.0.0

# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec

# The following section is specific to Flutter packages.
flutter:

  # The following line ensures that the Material Icons font is
  # included with your application, so that you can use the icons in
  # the material Icons class.
  uses-material-design: true
  generate: true

  # To add assets to your application, add an assets section, like this:
  assets:
    - assets/
    - assets/images/
    - assets/svg/
    - assets/audio/

  # An image asset can refer to one or more resolution-specific "variants", see
  # https://flutter.dev/assets-and-images/#resolution-aware

  # For details regarding adding assets from package dependencies, see
  # https://flutter.dev/assets-and-images/#from-packages

  # To add custom fonts to your application, add a fonts section here,
  # in this "flutter" section. Each entry in this list should have a
  # "family" key with the font family name, and a "fonts" key with a
  # list giving the asset and other descriptors for the font. For
  # example:
  # fonts:
  #   - family: Schyler
  #     fonts:
  #       - asset: fonts/Schyler-Regular.ttf
  #       - asset: fonts/Schyler-Italic.ttf
  #         style: italic
  #   - family: Trajan Pro
  #     fonts:
  #       - asset: fonts/TrajanPro.ttf
  #       - asset: fonts/TrajanPro_Bold.ttf
  #         weight: 700
  #
  # For details regarding fonts from package dependencies,
  # see https://flutter.dev/custom-fonts/#from-packages

Native dependencies
No response
Compilation Error
Execution failed for task ':connectivity_plus:compileDebugJavaWithJavac'.
> Could not resolve all files for configuration ':connectivity_plus:androidJdkImage'.
   > Failed to transform core-for-system-modules.jar to match attributes {artifactType=_internal_android_jdk_image, org.gradle.libraryelements=jar, org.gradle.usage=java-runtime}.
      > Execution failed for JdkImageTransform: C:\Users\dhili\AppData\Local\Android\sdk\platforms\android-34\core-for-system-modules.jar.
         > Error while executing process C:\Program Files\Android\Android Studio\jbr\bin\jlink.exe with arguments {--module-path C:\Users\dhili\.gradle\caches\transforms-3\72f109696607c2a2e011467aa233cdad\transformed\output\temp\jmod --add-modules java.base --output C:\Users\dhili\.gradle\caches\transforms-3\72f109696607c2a2e011467aa233cdad\transformed\output\jdkImage --disable-plugin system-modules}

Flutter Doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.22.2, on Microsoft Windows [Version 10.0.22631.4317], locale en-IN)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[√] Chrome - develop for the web
[X] Visual Studio - develop Windows apps
    X Visual Studio not installed; this is necessary to develop Windows apps.
      Download at https://visualstudio.microsoft.com/downloads/.
      Please install the "Desktop development with C++" workload, including all of its default components
[√] Android Studio (version 2024.2)
[√] Connected device (4 available)
[√] Network resources

Checklist before submitting a bug

[X] I searched issues in this repository and couldn't find such bug/problem
[X] I Google'd a solution and I couldn't find it
[X] I searched on StackOverflow for a solution and I couldn't find it
[X] I read the README.md file of the plugin
[X] I'm using the latest version of the plugin
[X] All dependencies are up to date with flutter pub upgrade
[X] I did a flutter clean
[X] I tried running the example project

This has been asked already multiple times, please use the search function


Add unit tests for publisher stub factory

Add any context about the cleanup here.

Closed by https://github.com/googleapis/google-cloud-cpp/pull/12739


Tween null check missing

fixes the null check for tween
Resolves #45399

Pull requests (especially ones that break backwards compatibility) should be opened against the master branch instead of 3.2. This is because feature development occurs in the master branch. We can then cherry-pick specific PRs to the 3.2 branch if they don't break backwards compatibility.

Pull requests (especially ones that break backwards compatibility) should be opened against the master branch instead of 3.2. This is because feature development occurs in the master branch. We can then cherry-pick specific PRs to the 3.2 branch if they don't break backwards compatibility.

Thanks for opening a pull request 🙂
Pull requests (especially ones that break backwards compatibility) should be opened against the master branch instead of 3.2. This is because feature development occurs in the master branch. We can then cherry-pick specific PRs to the 3.2 branch if they don't break backwards compatibility.

ah my bad :D

Thanks for opening a pull request 🙂
Pull requests (especially ones that break backwards compatibility) should be opened against the master branch instead of 3.2. This is because feature development occurs in the master branch. We can then cherry-pick specific PRs to the 3.2 branch if they don't break backwards compatibility.

ah my bad :D

Superseded by https://github.com/godotengine/godot/pull/45438.

Superseded by https://github.com/godotengine/godot/pull/45438.


powerlevel10k not working on startup

[x] I've checked the existing issues and I'm not duplicating a report.
[x] I'm using the latest version of zimfw.
[x] I've checked the Changelog and I'm not being affected by documented changes.
[x] I've checked the 📢 Announcements and I'm not being affected by announced changes.
[x] I was able to reproduce the issue with a clean installation of Zim.
[x] I've pasted the output of zimfw info below.

Describe the bug
OS: ubuntu 18.04
powerlevel10k not working on startup, while this problem won't happen using oh my zsh
Steps to reproduce
open a new terminal -> powerlevel10k not working
Screenshots

powerlevel10k works fine after hitting "enter"
zimfw info
zimfw version: 1.6.2 (built at 2021-11-21 19:40:05 UTC, previous commit is a5fb148)
ZIM_HOME:      /home/test/.zim
Zsh version:   5.4.2
System info:   Linux AiUbuntu 5.4.0-91-generic #102~18.04.1-Ubuntu SMP Thu Nov 11 14:46:36 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Can you please provide steps on how to reproduce it in a clean Zim installation?
I've tried the following and it worked for me:

cd ${$(mktemp -d):A}
ZDOTDIR=${PWD} HOME=${PWD} ZIM_HOME=${PWD}/.zim exec zsh
curl -fsSL https://raw.githubusercontent.com/zimfw/install/master/install.zsh | zsh
exec zsh
Edit the .zimrc file, commenting out these lines:#zmodule duration-info
#zmodule git-info
#zmodule asciiship

and adding this line:zmodule romkatv/powerlevel10k --use degit

zimfw install
exec zsh
Follow the P10K configuration wizard, enabling instant prompt, and choosing to update the .zshrc file at the end.
exec zsh

Then the prompt appears as expected.

thank you for your reply.
I created a virtual machine installed ubuntu 18.04 to produce the bug, but everything went well, powerlevel10k works fine.
then I copied the .zshrc to my original system, and no bug occurs.
I found out the following lines caused the problem:
# Set up the prompt

autoload -Uz promptinit
promptinit
prompt adam1

setopt histignorealldups sharehistory

# Use emacs keybindings even if our EDITOR is set to vi
bindkey -e

# Keep 1000 lines of history within the shell and save it to ~/.zsh_history:
HISTSIZE=1000
SAVEHIST=1000
HISTFILE=~/.zsh_history

# Use modern completion system
autoload -Uz compinit
compinit

zstyle ':completion:*' auto-description 'specify: %d'
zstyle ':completion:*' completer _expand _complete _correct _approximate
zstyle ':completion:*' format 'Completing %d'
zstyle ':completion:*' group-name ''
zstyle ':completion:*' menu select=2
eval "$(dircolors -b)"
zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS}
zstyle ':completion:*' list-colors ''
zstyle ':completion:*' list-prompt %SAt %p: Hit TAB for more, or the character to insert%s
zstyle ':completion:*' matcher-list '' 'm:{a-z}={A-Z}' 'm:{a-zA-Z}={A-Za-z}' 'r:|[._-]=* r:|=* l:|=*'
zstyle ':completion:*' menu select=long
zstyle ':completion:*' select-prompt %SScrolling active: current selection at %p%s
zstyle ':completion:*' use-compctl false
zstyle ':completion:*' verbose true

zstyle ':completion:*:*:kill:*:processes' list-colors '=(#b) #([0-9]#)*=0=01;31'
zstyle ':completion:*:kill:*' command 'ps -u $USER -o pid,%cpu,tty,cputime,cmd'

what are these codes for ?

These lines are setting up the "adam1" prompt that is bundled with Zsh. You don't need this since you're not using this prompt.
See these previously reported issues in the powerlevel10k repository: here and here


Issues with the quill editor on Flutter Web 2.0

I am currently experiencing issues with the quill editor on Flutter 2.0. If I use the basic QuillEditor example from https://github.com/singerdmx/flutter-quill/blob/master/example/main.dart I can only type a few letters before the editor freezes. Unfortunately there are no console logs out of the ordinary I could post here, the editor just becomes unresponsive.
To reproduce the issues I am experiencing just run the example code (https://github.com/singerdmx/flutter-quill/blob/master/example/main.dart) in Flutter 2.0 on Chrome.
Flutter Doctor output:
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.0.0, on Linux, locale en_US.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
[✓] Chrome - develop for the web
[!] Android Studio (not installed)
[✓] IntelliJ IDEA Community Edition (version 2020.3)
[✓] Connected device (1 available)

Don't use example
use app

Use https://github.com/singerdmx/flutter-quill/blob/master/app/lib/main.dart
Reopen if there is still issue


Release v0.33.0

Internal Changes:

Add helper function to get header fields (#822).
Add Int64 to header type injection (#819).

API Changes:

Changed Update method for w.LakehouseMonitors workspace-level service with new required argument order.
Added w.OnlineTables workspace-level service.
Removed AssetsDir field for catalog.UpdateMonitor.
Added catalog.ContinuousUpdateStatus.
Added catalog.DeleteOnlineTableRequest.
Added catalog.FailedStatus.
Added catalog.GetOnlineTableRequest.
Added catalog.OnlineTable.
Added catalog.OnlineTableSpec.
Added catalog.OnlineTableState.
Added catalog.OnlineTableStatus.
Added catalog.PipelineProgress.
Added catalog.ProvisioningStatus.
Added catalog.TriggeredUpdateStatus.
Added catalog.ViewData.
Added ContentLength field for files.DownloadResponse.
Added ContentType field for files.DownloadResponse.
Added LastModified field for files.DownloadResponse.
Changed LastModified field for files.GetMetadataResponse to files.LastModifiedHttpDate.
Added files.LastModifiedHttpDate.
Removed Config field for serving.ExternalModel.
Added Ai21labsConfig field for serving.ExternalModel.
Added AnthropicConfig field for serving.ExternalModel.
Added AwsBedrockConfig field for serving.ExternalModel.
Added CohereConfig field for serving.ExternalModel.
Added DatabricksModelServingConfig field for serving.ExternalModel.
Added OpenaiConfig field for serving.ExternalModel.
Added PalmConfig field for serving.ExternalModel.
Removed serving.ExternalModelConfig.
Added MaxProvisionedThroughput field for serving.ServedEntityInput.
Added MinProvisionedThroughput field for serving.ServedEntityInput.
Added MaxProvisionedThroughput field for serving.ServedEntityOutput.
Added MinProvisionedThroughput field for serving.ServedEntityOutput.

OpenAPI SHA: cdd76a98a4fca7008572b3a94427566dd286c63b, Date: 2024-02-19

Codecov Report
Attention: 94 lines in your changes are missing coverage. Please review.

Comparison is base (6846045) 18.67% compared to head (fbfcc1d) 18.60%.

Files
Patch %
Lines

service/catalog/model.go
0.00%
43 Missing :warning:

service/catalog/api.go
0.00%
25 Missing :warning:

service/catalog/impl.go
0.00%
21 Missing :warning:

experimental/mocks/mock_workspace_client.go
16.66%
5 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #823      +/-   ##
==========================================
- Coverage   18.67%   18.60%   -0.08%
==========================================
  Files         117      117
  Lines       21668    21763      +95
==========================================
+ Hits         4047     4048       +1
- Misses      17370    17464      +94
  Partials      251      251

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


Feature/integrate with cc tools

What this PR does / why we need it:
This PR adds a tutorial on how to integrate with cc-tools project, specially using the cc-tools-demo project
Which issue(s) this PR fixes:

Fixes the LFX mentorship project Hyperledger Fabric CC-Tools Support for Fabric Private Chaincode

@osamamagdy I think you can tell staticcheck to ignore the deprecated use issue and thus make CI passing.
You find the documentation here: https://staticcheck.dev/docs/configuration/#ignoring-problems


Image thumbnail is darker than the orignal file

Tested versions

Reproducible in all 4.x versions, also tested in 3.6.

System information
Godot v4.4.dev (75ce4266c) - Windows 10 (build 19045) - Multi-window, 2 monitors - Vulkan (Forward+) - dedicated AMD Radeon RX 580 2048SP (Advanced Micro Devices, Inc.; 31.0.21921.1000) - AMD Ryzen 5 3600 6-Core Processor (12 threads)
Issue description
As can be seen in the image bottom, Godot generates a thumbnail much more darker than the original file, only the thumbnails seems to be affected. I didn't noticed this behavior in other .webp files.

Steps to reproduce
Open the mrp or download the image and import in your project.
Minimal reproduction project (MRP)
test_thumbnail.zip
image.zip

If this helps programmers, I opened the project in Godot 4.3 stable and 4.4 dev 7 and it's normal for me. It appears to be something related to your processor or video card.
The settings tested on my PC:
NVIDIA-NVIDIA GeForce RTX 3070
Intel(R) Core(TM) i3-10100 CPU @ 3.60 GHz 3.60 GHz
Windows 11 64-bit operating system.

This is a convenient coincidence that happens because of nearest-neighbor or bilinear filtering. You can achieve the same effect by carefully shrinking the image on your editor of choice:

Indeed in some level of shriking this can happen but also as @Saulo-de-Souza show is possible to work as expected. IMO this should be treated a bug, ofc far from be something problematic, but still a bug.

It's not a bug. In the screenshots provided, the thumbnails are just the right size where this oddity does not occur. The nearest-neighbor filtering is still the same between both Godot versions.
Again, you can achieve the same effect by shrinking this image using the nearest-neighbor filter. The original image contains many dark pixels which, on specific sizes, are picked to be displayed when the image is shrunk.


PHP Notice in example

Unknown bug in Exar or PhpParser, message: PHP Notice:  Undefined property: PhpParser\Node\Stmt\Use_::$stmts in .../lib/Exar/Aop/Weaver.php on line 93

Seems to be an issue within PhpParser class. Could you give a concrete example which causes this PHP notice?


Cleanup LSTM and RNN activation functions

Align and add check for valid number of activation functions in LSTM and RNN parser
Cleanup LSTM and RNN operator calls with invalid number of activation functions

Resolves: https://github.com/migraphx-benchmark/AMDMIGraphX/issues/160

@TedThemistokleous  Additional tests have been added to improve coverage.

lgtm now too. had to rekick ci for jenkins


Sticky header groups overlap each other

Steps to reproduce
Just scroll down in the sample and the second header will overlap the firs.
Sample here
Current behavior
Both headers stick to the upper container edge and overlap each other
Expected behavior
The group as a whole should stick to the top and not each individual header so they wont overlap.
I did some testing and noticed that each TableRow in the header sticks to top: 0 and the TableHead scrolls away. My expectation would be that the hole Group sticks to the top instead of each individual row. I also did some testing in the devtools and it looked like adding top: 0 to the TableHead would solve the problem.
Looking forward to hear back from you guys! :)
Context
I'm currently working on a larger table with sticky header groups. Where the Bottom one will overlap the top one so the information displayed is not visible.
Your environment
System:
OS: Windows 10 10.0.19045
Binaries:
Node: 20.11.1 - ~\scoop\apps\nodejs-lts\current\node.EXE
npm: 10.2.4 - ~\scoop\apps\nodejs-lts\current\npm.CMD
pnpm: 8.15.4 - ~\scoop\apps\nodejs-lts\current\bin\pnpm.CMD
Browsers:
Chrome: 124.0.6367.119
Edge: Chromium (123.0.2420.97)
Search keywords: Sticky header groups overlapping

add the position: sticky and top: 0 styles to the  component, the entire table header will stick to the top of the container, preventing the overlap issue

Can you update the example to show what you want to achieve after applying the fix? Maybe there is already a way to get that.

Sample is updated to show what i would expect.
Basicly I would expect to still be able to see both headers after scrolling.

it appears that the issue arises because both header rows are using position: sticky with the same top: 0 value, causing them to overlap when scrolling. To fix this maybe we can adjust the top values for each header row to ensure they stack properly without overlapping. Here's a CSS suggestion:
TableHead {
.MuiTableCell-root {
position: sticky;
top: 0; // Keep this for the first header row
z-index: 10; // Ensures this row stays on top when scrolling
}
.MuiTableRow-root:first-of-type .MuiTableCell-root {
top: 0; // First header row
}
.MuiTableRow-root:last-of-type .MuiTableCell-root {
top: 56px; // Adjust this value based on the actual height of your first header row
}
}

Context
I'm currently working on a larger table with sticky header groups. Where the Bottom one will overlap the top one so the information displayed is not visible.

What's the use case for having two header groups (sticky or non-sticky) in your application?
The same issue is discussed in this StackOverflow thread, which suggests using top: 0 in the table head. This can be applied by the developer in their custom CSS. I don't think we should apply it by default in the TableHead component.


Add properties to blazorwasm debug configuration.

Fixes dotnet/aspnetcore#30977.
Property definition taken directly from https://github.com/dotnet/aspnetcore-tooling/blob/c866a4bce578412c78443988c957fccacf5494cd/src/Razor/src/Microsoft.AspNetCore.Razor.VSCode.Extension/package.json#L68.

/cc @captainsafia

@JoeRobich Looks like this needs a review from you.
This contributor is submitting a PR to update the extension config with some properties I forgot to update during the last insertion.

Merging this PR is currently blocked on https://github.com/microsoft/vscode/issues/119822


Crashing over and over

Version of Boardwalk: 4.0
Version of Android: I forgot
Device model: RCA
Description of the problem: Crashing over and over

Please give a better description of the problem.

Well I Tryed Playing Boardwalk But each time it crashes and the backround
is messed up alot could u fix it?
On Fri, May 15, 2015 at 11:05 AM, RandomAltThing<EMAIL_ADDRESS>wrote:

Please give a better description of the problem.
—
Reply to this email directly or view it on GitHub
https://github.com/zhuowei/Boardwalk/issues/184#issuecomment-102424273.


Auth in Docker

I use PytubeFix in docker container and i can not complete auth.

I use it in AWS Lambda and again I can't complete manual auth. Did Youtube change anything, as this lib was working flawlessly last week or so.

Same problem. Now I can't use my app in Lambda. I use oauth2 to authenticate with Youtube API with google_auth_oauthlib.flow and google.oauth2.credentials. It would be nice if I could use my credentials with pytubefix.

Im getting an error that might be related:

hello, test this pre-release version pip install pytubefix==6.13rc1 and do the tests if you have any questions, see here #190

All working fine. Thanks


TypeError in function routes get swallowed in _execute_route

If I implement a function view for a route which raises a TypeError for some reason, it seems to be caught by line 328 of responder/api.py (inside _execute_route), and the server returns 200 OK, with a json null body.
@api.route('/raise_me_up')
def raiser1(req, resp):
    raise TypeError

$ curl -v http://localhost:5001/raise_me_up
*   Trying ::1...
* TCP_NODELAY set
* Connection failed
* connect to ::1 port 5001 failed: Connection refused
*   Trying <IP_ADDRESS>...
* TCP_NODELAY set
* Connected to localhost (<IP_ADDRESS>) port 5001 (#0)
> GET /raise_me_up HTTP/1.1
> Host: localhost:5001
> User-Agent: curl/7.54.0
> Accept: */*
>
< HTTP/1.1 200 OK
< server: uvicorn
< date: Mon, 05 Nov 2018 11:10:13 GMT
< content-type: application/json
< transfer-encoding: chunked
<
* Connection #0 to host localhost left intact

Meanwhile the server log looks like this:
INFO: ('<IP_ADDRESS>', 65440) - "GET /raise_me_up HTTP/1.1" 200
If however another type of exception is raised, the result is a 500 error:
@api.route('/raise_something')
def raiser2(req, resp):
    raise Exception("This is just another exception")

$ curl -v http://localhost:5001/raise_something
*   Trying ::1...
* TCP_NODELAY set
* Connection failed
* connect to ::1 port 5001 failed: Connection refused
*   Trying <IP_ADDRESS>...
* TCP_NODELAY set
* Connected to localhost (<IP_ADDRESS>) port 5001 (#0)
> GET /raise_something HTTP/1.1
> Host: localhost:5001
> User-Agent: curl/7.54.0
> Accept: */*
>
< HTTP/1.1 500 Internal Server Error
< server: uvicorn
< date: Mon, 05 Nov 2018 11:11:31 GMT
< content-length: 21
< content-type: text/plain; charset=utf-8
<
* Connection #0 to host localhost left intact

And the server log contains the stack trace:
INFO: ('<IP_ADDRESS>', 65482) - "GET /raise_something HTTP/1.1" 500
ERROR: Exception in ASGI application
Traceback (most recent call last):
  File "/Users/ses/w/responder-test/venv/lib/python3.6/site-packages/uvicorn/protocols/http/httptools_impl.py", line 387, in run_asgi
    result = await asgi(self.receive, self.send)
  File "/Users/ses/w/responder-test/venv/lib/python3.6/site-packages/uvicorn/middleware/debug.py", line 80, in __call__
    await asgi(receive, self.send)
  File "/Users/ses/w/responder-test/rpt/lib/middleware/sqla.py", line 9, in __call__
    await self.inner(receive, send)
  File "/Users/ses/w/responder-test/venv/lib/python3.6/site-packages/starlette/exceptions.py", line 69, in app
    raise exc from None
  File "/Users/ses/w/responder-test/venv/lib/python3.6/site-packages/starlette/exceptions.py", line 61, in app
    await instance(receive, sender)
  File "/Users/ses/w/responder-test/venv/lib/python3.6/site-packages/responder/api.py", line 227, in asgi
    req, scope=scope, send=send, receive=receive
  File "/Users/ses/w/responder-test/venv/lib/python3.6/site-packages/responder/api.py", line 306, in _dispatch_request
    await self._execute_route(route=route, req=req, resp=resp, **options)
  File "/Users/ses/w/responder-test/venv/lib/python3.6/site-packages/responder/api.py", line 328, in _execute_route
    await r
  File "/Users/ses/w/responder-test/venv/lib/python3.6/site-packages/responder/background.py", line 45, in __call__
    return await loop.run_in_executor(None, fn)
  File "/Users/ses/.pyenv/versions/3.6.6/lib/python3.6/concurrent/futures/thread.py", line 56, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/Users/ses/w/responder-test/server.py", line 48, in raiser2
    raise Exception("This is just another exception")
Exception: This is just another exception

I'd like to fix this myself (and also dig into why I'm not seeing the stacktrace in my curl output, since the ExceptionMiddleware is hooked up since #157) but I'm not sure why a TypeError would be raised in this block:
https://github.com/kennethreitz/responder/blob/master/responder/api.py#L321-L328
My first thought was that this happens if the view isn't a function, in which case I wonder why the route.is_function in line 319 evaluates to true.  I'd like to understand more before I attempt to fix this (probably by not relying on exceptions for control flow).

This is by design, currently.

Since I seem to make a lot of mistakes resulting in TypeError when I'm developing, this afternoon I wrote a little hack/workaround to trap&wrap view originated TypeErrors.  I'm sharing it here in case anyone else could benefit, and on the off chance @kennethreitz or someone here has some good feedback:
# errortmp.py
import traceback

class RouteTypeError(Exception):
    pass

class TypeErrorWrapper:
    def __init__(self, fn):
        self._real_fn = fn

    def _error_is_from_view(self, stack_entry):
        if stack_entry.name == "__call__" and stack_entry.filename == __file__:
            return False
        return True

    def __call__(self, *args, **kwargs):
        try:
            return self._real_fn(*args, **kwargs)
        except TypeError as e:
            summary = traceback.extract_tb(e.__traceback__)
            if self._error_is_from_view(summary[-1]):
                raise RouteTypeError(e).with_traceback(e.__traceback__)
            else:
                raise e

    def __getattribute__(self, attr):
        if attr in ['_real_fn', '_error_is_from_view']:
            return object.__getattribute__(self, attr)
        return getattr(object.__getattribute__(self, '_real_fn'), attr)

def route_patcher(api):
    original = api.route

    def route(*args, **kwargs):
        decorator = original(*args, **kwargs)

        def inner(f):
            return decorator(TypeErrorWrapper(f))
        return inner

    api.route = route

The way I use this:
# api.py

import responder
from myapp.lib.errortmp import route_patcher

api = responder.API(title="my app api", vversion="1.0", secret_key=os.environ['SECRET_KEY'])
route_patcher(api)

In my routes I import the api object from api.py, and the patcher has replaced the route decorator function with the one which injects theTypeErrorWrapper around the view function/endpoint.


Simplify moveHandler (#186)

Hi @rsimon! Wanted to pass along a fix for #186 working locally in my application. This PR likely needs more careful attention than my other ones since it changes a core drawing functionality and might not work outside of my context.
Notes:

I'm only testing this with the polygon and rectangle tool in a specific application where we've disabled clicking on the canvas after you finish a drawing (until you save or cancel it), so it's possible this is broken in any other context.
I wasn't certain what the purpose of firstDragDone was, but I needed to remove the one check for it to get this working. Maybe that breaks something else!
Like I mentioned in #186, evt.buttons seems to always be 1 whenever I'm able to fire this event.
Though none of the Annotorious 2.x tools have dragstart or dragend event handlers, I left them in just in case it's meant for other tool implementations.

Thanks! I'll test this. But at first glance this looks worryingly similar to this one: https://github.com/annotorious/annotorious-openseadragon/pull/165 I.e. I fear it might break in other ways.
(Event handling in Annotorious is a pile of Spagetti, frankly. Probably won't be able to fix this anymore, since v3 is almost ready to go.)

@rsimon Thanks, I didn't see that one! I do think removing the check for evt.buttons entirely fixes the problem you noted in the comments, but it's entirely possible I'm missing other ways this breaks.
Do you remember what the original thinking was behind firstDragDone?
(Hoping I can fix this for the Princeton Geniza Project without needing to upgrade them to v3 yet, but no worries if that ends up being the case!)

That firstDragDone thing... I remember removing it multiple times - and then later re-adding it back in when I realized what it did :-D
Once again, I don't remember off the top of my head. But I believe it's only relevant when using the polygon tool. (I really need to write a code comment the next time I realize what breaks when removing it...)

@rsimon Thanks to Git Blame, I was able to find the original commit that added this: https://github.com/annotorious/annotorious-openseadragon/commit/cb5b9e5feb7594486785e7486e38e154e334ec08
It looks like that's intended to add the one behavior that we don't allow in Geniza, which is dragging to pan the canvas around while also in the middle of drawing. I also found the release notes that included this change; not sure if it's related to the crosshair bug mentioned there, but I would presume that's mostly referring to 5cb72b87d3aa633fd14f92a90ad311fad3cb5d5a.
Going to try testing this further by disabling that part of geniza and allowing clicks outside the drawing, and see what happens…

This was the only difference I was able to observe. First is the examples page, second is with my implementation. I'm wondering if the original behavior is intended? To me the new behavior makes more sense, but maybe there was a particular use case for this.
https://github.com/annotorious/annotorious-openseadragon/assets/7234006/6d51a597-a137-40ee-b961-e15376c0d44f
https://github.com/annotorious/annotorious-openseadragon/assets/7234006/04102f24-aa4f-4aac-aeeb-f11c3bf87f8a

Ah, of course. Yes, that was the point I introduced the firstDragDone flag. (It's unrelated to the crosshair issue, though.)
The use case for this was deliberate. Users were tracing large polygons. In order to annotate precisely, the wanted to zoom so much that the polygon exceeded the viewer area. In other words: they wanted to start annotating, but still be able to shift the view while they were drawing. IMO this makes sense, otherwise you have no way of annotating things larger than your viewing area.
FWIW: Annotorious 3 will have two different drawing modes you can choose from. A drag mode will lock the image and start drawing on drag. A click mode will work mostly like the above, with drawing starting with a single click, and the image remaining moveable by mouse drag.

Thanks, @rsimon! That makes a lot of sense.
I think I've reintroduced the correct behavior with firstDragDone. It seems the keys to solving the original bug were the following:

firstDragDone was being set on every mouse release, rather than only after a shape had started to be drawn. So it was set true when shift-clicking on the canvas once without dragging, and because the tool complete event wasn't fired, it never got set back to false.
When firstDragDone was true, the tool's onMouseMove and the startSelection event were not firing. As far as I can tell, the only actual behavior we want to disable is when firstDragDone is false, the event should not propagate so that the panning does not happen during the initial line drawing.

Wow - yes, I think this did the trick. Thanks for figuring out this puzzle!

I'll try to roll a new release tomorrow, in case you need this fix urgently?

@rsimon That would be great, thank you so much!

Done - new release is out!

https://github.com/annotorious/annotorious-openseadragon/releases/tag/v2.7.17
https://www.npmjs.com/package/@recogito/annotorious-openseadragon


Remove self references with a flag

Title says it all

Needs tests.
We also need to change TestHelpers.CreateSimpleWorkspace to add each document to 2 different projects to mimic what happens with AspNet5.

I'll get on that now

I'll close this PR until I have everything else ready, this is a bigger task than I thought originally. (see #85 for reference)


Add Data Gathering Script for Kubernetes Pods

This pull request adds a new script (scripts/data-gather.sh) that fetches logs from all containers within a specified Kubernetes namespace.
The script takes a namespace as an argument and creates a directory named logs to store the fetched logs. It then retrieves the list of pods in the given namespace and iterates over each pod. For each pod, it fetches the list of containers and iterates over each container.

 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.fabio-caputo 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.


Clicking on expired signup confirmation link does not show error

Describe the bug

To Reproduce
Steps to reproduce the behavior:

create user
wait for email
go to supabase dashboard, delete that pending user under the Auth tab
click on link in email
see login page with no error message
url of page looks like https://new.afterclass.io/account/auth/login#error=access_denied&error_code=403&error_description=Email+link+is+invalid+or+has+expired

Expected behavior

should see some message indicating the corresponding error message
see https://supabase.com/docs/guides/auth/debugging/error-codes for list of error codes

related to #95


Add info to CONTRIBUTORS.md and PROFILES.md

resolve the conflicts , please sync your fork

I would suggest to do seperate pulls for these, not together

Looks good