fix: add @id for identifier of Person and Org type in EML strategy

Add the missing @id to the identifier property of the Person and Organization types in the EML strategy to ensure correct graph representation.
Related to #199

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 96.27%. Comparing base (0c7729f) to head (d4ffad1).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff              @@
##           development     #201   +/-   ##
============================================
  Coverage        96.26%   96.27%
============================================
  Files                5        5
  Lines              482      483    +1
============================================
+ Hits               464      465    +1
  Misses              18       18

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


[#2618] fix(doc): Remove description field in fileset openapi doc

What changes were proposed in this pull request?
Remove the "description" field in Fileset related APIs.
Why are the changes needed?
Because the description field does not exist in the related APIs, it should be removed, otherwise, it will lead to an issue.
Fix: #2618
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Manually verification.

@coolderli would you please help to review? Thanks.

@jerryshao LGTM. My fault. How did you discover this issue？Do you have any testing processes based on OpenAPI documentation？

@coolderli we're building the fileset UI, based on this yml file generated APIs we do some tests and find the issue.

@coolderli we're building the fileset UI, based on this yml file generated APIs we do some tests and find the issue.

@jerryshao Thanks. Got it.


Add EstimatorV2

Summary
Add EstiamtorV2
This PR includes base classes and StatevectorEstimator (reference implementation).
Details and comments
This PR is based on the following RFCs:
https://github.com/Qiskit/RFCs/blob/master/0015-estimator-interface.md
https://github.com/Qiskit/RFCs/blob/master/0018-primitive-options-type.md
TODOs:

[x] Implement PrimitiveResult and DataBin (https://github.com/Qiskit/RFCs/blob/master/0017-base-primitive-unification.md)
[ ] More documentation
[ ] Release note

Items not included in this PR:

Estimation for non-Pauli observables
SamplerV2
Deprecation of V1

Note: I might do a force push.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
We've detected an issue with your CI configuration that might affect the accuracy of this pull request's coverage report.
To ensure accuracy in future PRs, please see these guidelines.
A quick fix for this PR: rebase it; your next report should be accurate.

469 of 509 (92.14%)  changed or added relevant lines in 13 files are covered.
377 unchanged lines in 37 files lost coverage.
Overall coverage decreased (-1.0%) to 85.942%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

qiskit/primitives/base/base_task.py
10
11
90.91%

qiskit/primitives/statevector_estimator.py
71
72
98.61%

qiskit/primitives/base/base_estimator.py
24
26
92.31%

qiskit/primitives/base/estimator_task.py
39
41
95.12%

qiskit/primitives/base/object_array.py
29
31
93.55%

qiskit/primitives/base/options.py
12
14
85.71%

qiskit/primitives/base/base_primitive.py
21
25
84.0%

qiskit/primitives/base/shape.py
44
49
89.8%

qiskit/primitives/base/observables_array.py
94
103
91.26%

qiskit/primitives/base/bindings_array.py
106
118
89.83%

Files with Coverage Reduction
New Missed Lines
%

crates/qasm2/src/lex.rs
1
91.41%

qiskit/circuit/library/blueprintcircuit.py
1
92.24%

qiskit/circuit/library/evolved_operator_ansatz.py
1
85.12%

qiskit/opflow/state_fns/operator_state_fn.py
1
80.22%

qiskit/opflow/state_fns/state_fn.py
1
81.88%

qiskit/primitives/backend_sampler.py
1
98.84%

qiskit/primitives/utils.py
1
87.8%

qiskit/providers/backend.py
1
81.76%

qiskit/providers/basicaer/basicaerprovider.py
1
94.34%

qiskit/quantum_info/operators/symplectic/pauli_list.py
1
83.16%

Totals

Change from base Build<PHONE_NUMBER>:
-1.0%

Covered Lines:
66375

Relevant Lines:
77232

💛  - Coveralls

How about moving bindings_array.py, ovservables_array, and shape.py to a new directory qiskit.primitives.containers?

Will you implement DataBin defined by https://github.com/Qiskit/RFCs/blob/master/0017-base-primitive-unification.md#databin?

Sure. It's in the TODO list in the issue comment. I am waiting for internal discussions for DataBin.

Do you plan to deprecate public methods in qiskit.primitives.utils? I think they are not used when qiskit.algorithms and PrimtiivesV1 are removed.

Do you plan to deprecate public methods in qiskit.primitives.utils? I think they are not used when qiskit.algorithms and PrimtiivesV1 are removed.

IMO, at the same time with PrimitiveV1, so 0.46?

How about making a directory test/python/primitives/containers to organize the test files?

@ihincks | may not be used in Python 3.8 instead of Union in some case, e.g. type alias (A = B | C is invalid). Whether it is Optional or A | None can be either, and there is no fixed rule, at least in Qiskit. So I'm fine with using A | None.

Mergeable?

Unfortunately, I can't import the latest commit of this branch without pydantic:
From qiskit/primitives/containers/dataclasses.py:35
     32 from dataclasses import dataclass
     34 mutable_dataclass = dataclass(frozen=False)
---> 35 frozen_dataclass = dataclass(frozen=True, slots=True)

TypeError: dataclass() got an unexpected keyword argument 'slots'

Is there agreement in the lead (@ihincks, @jyu00, @chriseclectic, @mtreinish) that this PR should not be included in 1.0.0b1? I'm wondering if there have been any offline discussions.
I will fix as much as possible up to Quantum Summit (PF). I hope main branch if merged else this branch will be used.

@ikkoham after some back and forth, those you mentioned decided that we'd prefer to wait until some issues are ironed out, rather than releasing it right now. We are very close.

OK, I labeled on hold because this PR waits for https://github.com/Qiskit/qiskit/issues/7107. But any comments and suggestions are welcome.

OK, I remove Options, but it's originally user's request for V1. We may get the request again, and let's discuss then.

As class name is StatevectorEstimator, it would be nice to rename the test file name with test_statevector_estimator.py.


Background color on hover 'doesn't drag'

I have the following css:
#myList > div:hover {
background-color: rgba(50,50,140,0.25);
}
When I click and drag this div on Chrome, the position of this div stays highlighted, not the div itself, which causes confusion. For example, if I have a list of
DIV1
DIV2
DIV3
And I click and drag DIV3 upwards, DIV2 goes to previous DIV3 place, and it looks like DIV2 is highlighted. It happens all the time on Chrome, and sometimes on FF.
I'm not saying this is a problem with the library, I'm just looking for a way to solve this.
I've tried the following solution:
$('.myList').css({'pointer-events': 'none'})
which on Chrome makes both divs highlighted. In the example above DIV3 (the one being dragged) and DIV2 (the one that slides in to the old DIV3 place) are highlighted.

Could you provide a JSBin example?

https://jsfiddle.net/jusfiddle/L6db4uy1/

Ok, this is a non-issue, I missed that there's sortable-ghost for this.

I'm afraid I closed the issue too soon. I've temporarily solved the problem by losing div:hover css, and using only .sortable-ghost, however I still need the div to be highlighted when hovering mouse over.
There is a way to solve this by enabling forceFallback: true, however animation becomes choppy and doesn't really look good.
So I'm still asking for help, is there a way to have divs changing background color on hover, and use HTML5 DND on Chrome?

@JusNos This appears to be a feature/bug of HTML5. I can't find a solution for your question unless you want to use JavaScript events, and replace the :hover class with another class that you give to elements on mouseover or dragover.

@owen-m1 could you provide an example of what you have in mind? Been struggling to achieve the desired effect here as well.

@JusNos https://jsfiddle.net/npj05yb3/

Thank you. There are couple issues still:
TypeError: document.getElementById(...).children.forEach is not a function
And so after dropping the element sometimes some part of the  stays highlighted.
Would Sortable library's "onEnd" option be useful in this situation?
Also, I think we could use Zepto (jQuery) selector, like $('#foo > div') (since I will not know child div className). I am playing around right now, however can't fully understand why some parts stay highlighted no matter what.

@JusNos https://jsfiddle.net/jm8hs5oa/
Should be fixed.


Make the issues templates point to the project "soujava/3"

Tasks:

Convert the markdown issues templates to the YAML format;
Make the issues templates point to the project "soujava/3". e.g.: https://github.com/soujava/pom-editor-maven-plugin/blob/main/.github/ISSUE_TEMPLATE/bug_report.yaml;

I will work on it

@gmessiasc do you are still working on it?


Call set method for private member

Hi,
first thing first, you did a great job! Thanks!
I have some enhancement to propose.
When you use a private member it is mainly because you want to process some stuff in the set (or get) method.
By mapping directly the value to the private member you miss all this stuff.
So it will be great to call the set method if it exists, otherwise you set directly the class member.
My 2 cents.

You are right. The problem is that you can only use json2typescript with properties right now, not with getters and setters. If you do that, how can json2typescript know the actual name of the setter and getter? Of course, most people use the conventional _property and get property() naming. But if you use another naming scheme, we have no way to connect those.
On the other hand, is it really necessary to process json that comes from a server with a setter? Shouldn't be the data coming from a server already "sanitized"?
I just had this discussion with my colleague @tobiasschweizer and I am not sure yet how to proceed.

@andreas-aeschlimann Sometimes you want to update other component or variable when you set the value, for example make visible a div if the property has a special value.
In my opinion it is very useful to use a setter.

You are right. The problem is that you can only use json2typescript with properties right now, not with getters and setters. If you do that, how can json2typescript know the actual name of the setter and getter? Of course, most people use the conventional _property and get property() naming. But if you use another naming scheme, we have no way to connect those.
On the other hand, is it really necessary to process json that comes from a server with a setter? Shouldn't be the data coming from a server already "sanitized"?
I just had this discussion with my colleague @tobiasschweizer and I am not sure yet how to proceed.

You could search for set _property() then set property() (with public visibility by example) and throw an error if you could not find any of them.
You will force the user to follow your practice but it is already the case with setting ùndefined` value to property.
Regarding your second point: your client application consume some APIs (and you probably don't owned these APIs) and receive data that may not match with your model or the way you want to provide them to your users.

Thumbs up for this idea. In some of my data classes, I have calls to other private functions after data is set. This worked great using Object.assign, because it calls your setter methods. Now that my data is just being set into the variable, I've lost that functionality.


🐛 Fix detection of changed datasets

I've written a summary of this issue in https://github.com/owid/etl/issues/2733, feel free to edit it.


[PE-D] Bugs on show command

The file is successfully saved with

but fails with

Labels: severity.Medium type.FunctionalityBug
original: eltonyeh/ped#7

Seems like I didn't add a check to check if the directory exists and make the directory if it didn't


Is it possible to query string length?

I'm trying to perform a query on an index that needs to compare string lengths. I've tried x.Length and x.Count() but none seem to work...
// Object reference not set to an instance of an object. (at some point it also tried to get AliasPart.Length property...)
var query = session.Query<ContentItem, AliasPartIndex>(idx =>
  idx.Alias != null && idx.Alias.Replace("/", "").Length == idx.Alias.Length
);

// Not supported method: Count
var query = session.Query<ContentItem, AliasPartIndex>(idx =>
  idx.Alias != null && idx.Alias.Replace("/", "").Count() == idx.Alias.Count()
);

Should this be even possible?

It's not supported right now, but it should be doable with a custom extension method like we do for "IsIn". Then also update the dialects to define how to map this to SQL for all db providers.
But a better option, for perf and simplicity might be to add this length in the index. Though in that case you would need you own indexx since this is not something that should be added to the AliasIndex or OC.


No signature of method

My issue is about [Mobile]
I cloned the project and ran it directly without making any changes, resulting in the following error.
I roughly know that there should be a problem with the "build. gradle" file,I commented everything under 'Android',
only 'compileSdkVersion' was retained, and it is still this error.
how to solve the problem?
No signature of method: build_b7zqlle2w8l2vmk413563vu9j.android() is applicable for argument types:
(build_b7zqlle2w8l2vmk413563vu9j$_run_closure2) values: [build_b7zqlle2w8l2vmk413563vu9j$_run_closure2@34ac80b6]

is it from sample app?

is it from sample app?

Yes,run the example as soon as it is cloned, nothing has changed

Not sure. Can you ask chatGpt?

I changed it casually and now it’s fine, i’m not sure where the problem is :(


[Bug][ChatExcel]  bug ,  Error parsing csv, incorrect header, and unable to draw ，chat excel csv error，cannot generate chart

Search before asking

[X] I had searched in the issues and found no similar issues.

Operating system information
Linux
Python version information

=3.11

DB-GPT version
latest release
Related scenes

[ ] Chat Data
[X] Chat Excel
[ ] Chat DB
[ ] Chat Knowledge
[ ] Model Management
[ ] Dashboard
[ ] Plugins

Installation Information

[ ] Installation From Source

[X] Docker Installation

[ ] Docker Compose Installation

[ ] Cluster Installation

[ ] AutoDL Image

[ ] Other

Device information
v100  32G
Models information
LLM: chatglm3
embedding: bge-large-zh
What happened
使用chat excel 过程中，upload的csv 表格解析不成功，我的表头 是

学号 ，姓名，性别，班级编号，入学日期，但是解析upload之后 怎么会多了 ‘专业’  这一列的信息？
并且我需要他绘图展示，也无法做到，为什么？

请教各位大佬~~~~
What you expected to happen
给我一个解决 chat excel  中正确解析csv并绘制统计图的方法
How to reproduce
see error
Additional context
No response
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

也有类似的画图要求


Title: New JS Project [Playing With Probability]

Is your feature request related to a problem? Please describe.
The feature isn't related to any problem. It's a new project I want to add.
Describe the solution you'd like.
This project can calculate the probability of a sum of the numbers appearing on the top of two unbiased die, when they are thrown randomly.
Describe alternatives you've considered.
NA
Add any other context or screenshots about the feature request here.

@Sara1428 Thank you for providing your insight but it is not required as of now


BIRD dataset: missing columns in DB file.

These columns could not be found in the corresponding database (.sqlite file).

DB
Table
Column in csv
Column in DB (May be?)

legislator
historical-terms
caucus
?

retail_world
Categories
Picture
?

Customers
ContactTitle
ContactName?

Region
?

Fax
?

Phone
?

Column
?

Employees
TitleOfCourtesy
?

Title
?

Address
?

HireDate
?

City
?

Region
?

PostalCode
?

Extension
?

Country
?

HomePhone
?

ReportsTo
?

PhotoPath
Photo?

Salary
?

OrderDetails
UnitPrice
?

Discount
?

Orders
RequiredDate
?

ShippedDate
?

ShipVia
?

Freight
?

ShipName
?

ShipAddress
?

ShipCity
?

ShipRegion
?

ShipCountry
?

ShipPostalCode
?

Products
QuantityPerUnit
?

Suppliers
ContactTitle
?

Region
?

HomePage
?

Fax
?

For example, in the train.json file, in the case of the retail_world database, the HireDate column appears 13 times, but there is no column named HireDate in the database data/train_databases/retail_world/retail_world.sqlite.

Hi I just ran into those issues, is there an update, will this be fixed in the future?


[BACKPORT][v1.2.x][IMPROVEMENT] Purging a volume before rebuilding starts

https://github.com/longhorn/longhorn/issues/4183

Verified passed on v1.2.x-head (longhorn-manager 5917653) by manually executing the test steps.


Why path scaling transform moves the original path?

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce

Create a CustomPainter which draws a simple circle using Path (actually the path if complex).
Use Path.transform method to scale (increase or decrease) original path.
The result path is scaled and shifted but I expected only scaling because I used scale matrix.

I don't know if this is a bug or feature? If it is feature so how to just scale the path of any kind?
Expected results
I expected that my circle become less but centered as the original one.

Actual results
But I received this result:

Code sample
Code sample
import 'package:flutter/material.dart';

void main() {
  runApp(
    CustomPaint(painter: CirclePainter()),
  );
}

class CirclePainter extends CustomPainter {
  @override
  void paint(Canvas canvas, Size size) {
    final sourcePath = Path()
      ..addOval(Rect.fromCircle(
          center: Offset(size.width / 2, size.height / 2), radius: 100));

    canvas.drawPath(
      sourcePath,
      Paint()
        ..color = Colors.grey
        ..style = PaintingStyle.fill,
    );

    final scalingMatrix = Matrix4.identity()..scale(0.95);
    final targetPath = sourcePath.transform(scalingMatrix.storage);

    canvas.drawPath(
      targetPath,
      Paint()
        ..color = Colors.red.withOpacity(0.5)
        ..style = PaintingStyle.fill,
    );
  }

  @override
  bool shouldRepaint(covariant CustomPainter oldDelegate) => true;
}

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
[√] Flutter (Channel stable, 3.13.7, on Microsoft Windows [Version 10.0.19045.3570], locale ru-RU)
    • Flutter version 3.13.7 on channel stable at D:\Programs\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 2f708eb839 (3 weeks ago), 2023-10-09 09:58:08 -0500
    • Engine revision a794cf2681
    • Dart version 3.1.3
    • DevTools version 2.25.0

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
    • Android SDK at D:\Programs\Android\sdk
    • Platform android-33, build-tools 33.0.1
    • Java binary at: D:\Programs\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[!] Visual Studio - develop Windows apps (Visual Studio Professional 2019 16.11.17)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional
    • Visual Studio Professional 2019 version 16.11.32630.194
    X Visual Studio is missing necessary components. Please re-run the Visual Studio installer for the "Desktop development with C++" workload, and include these components:
        MSVC v142 - VS 2019 C++ x64/x86 build tools
         - If there are multiple build tool versions available, install the latest
        C++ CMake tools for Windows
        Windows 10 SDK

[√] Android Studio (version 2021.2)
    • Android Studio at D:\Programs\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)

[√] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.19045.3570]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 118.0.5993.118
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 118.0.2088.76

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

I can see the issue on the latest Flutter stable/master channels. Verified on Web/Android/MacOS platforms.

web
android

flutter doctor -v (stable and master)
[✓] Flutter (Channel stable, 3.13.9, on macOS 14.0 23A344 darwin-x64, locale en-VN)
    • Flutter version 3.13.9 on channel stable at /Users/huynq/Documents/GitHub/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision d211f42860 (7 hours ago), 2023-10-25 13:42:25 -0700
    • Engine revision 0545f8705d
    • Dart version 3.1.5
    • DevTools version 2.25.0

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

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

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

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

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

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

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 14.0 23A344 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 118.0.5993.117

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

• No issues found!

[!] Flutter (Channel master, 3.16.0-18.0.pre.91, on macOS 14.0 23A344 darwin-x64, locale en-VN)
    • Flutter version 3.16.0-18.0.pre.91 on channel master at /Users/huynq/Documents/GitHub/flutter_master
    ! Warning: `flutter` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision e12d1a798c (6 hours ago), 2023-10-29 15:00:30 -0700
    • Engine revision 84dcb4fb93
    • Dart version 3.3.0 (build 3.3.0-71.0.dev)
    • DevTools version 2.28.1
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

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

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

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

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

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

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

[✓] Connected device (3 available)
    • iPhone (mobile) • d9a94afe2b649fef56ba0bfeb052f0f2a7dae95e • ios            • iOS 15.7.9 19H365
    • macOS (desktop) • macos                                    • darwin-x64     • macOS 14.0 23A344 darwin-x64
    • Chrome (web)    • chrome                                   • web-javascript • Google Chrome 118.0.5993.117

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

! Doctor found issues in 1 category.

This is just the way that matrix operations work. If you want your circular path to be centered, you'll need to translate it as well.
See e.g. https://stackoverflow.com/questions/71806150/on-canvas-scale-shape-from-its-center


Flick action doesn't work with selenium server

Output of gemini --version: 4.13.0
Contents of .gemini.yml file:
rootUrl: http://localhost/cartis/
sessionRequestTimeout: 60000
screenshotsDir: './screens'
browsers:
  chrome-ios:
    rootUrl: http://localhost/mobile/ios
    screenshotsDir: './screens/ios'
    desiredCapabilities:
      browserName: 'chrome'
      chromeOptions:
        mobileEmulation:
          userAgent: 'Mozilla/5.0 (iPhone; CPU iPhone OS 8_0 like Mac OS X) AppleWebKit/600.1.3 (KHTML, like Gecko) Version/8.0 Mobile/12A4345d Safari/600.1.4'
          deviceMetrics:
            width: 375
            height: 667
            pixelRatio: 1
system:
    plugins:
      json-reporter:
        reportFile: ./gemini/report.json

Test source code:
gemini.suite('Testing', (suite) => {
    suite.setUrl('/')
        .capture('delete with swipe', (actions, find) => {
            el = find('.swipeout:first-child');
            actions.flick({ x: 1000, y: 1000 }, 2, el);
        })
});

Command used to run the test:
gemini test --reporter html --reporter vflat

Result:
[flick({"ELEMENT":"11"},1000,1000,2)] Error response status: 13, UnknownError - An unknown server-side error occurred while processi
ng the command. Selenium error: java.util.HashMap cannot be cast to java.lang.String

Expected behaviour:
Swipe occurs instead of the error.

Yep! It is a bug :(
Unfortunately, I can not promise that it will be fixed really soon, so pull requests are welcome :)

Am I right this bug is in gemini-selenium layer? Or where is the problem in which component?

It is a problem in gemini.
Flick works in wd, it is a bug in gemini –> https://github.com/gemini-testing/gemini/blob/master/lib/tests-api/actions-builder.js#L294-L309

https://github.com/gemini-testing/gemini/blob/master/lib/tests-api/actions-builder.js#L301
I tried to change this code
return browser.flick(elem, offsets.x, offsets.y, speed); on
return browser.flick(elem.value, offsets.x, offsets.y, speed);
These changes work in chromedriver, but do not work in selenium. I do not understand what's the matter.

sorry, but what do you mean by "selenium"? what browser and environment?


question: determine route string from router, url, method

Problem
I have a need to get the text repr of the route, say: /foo/:bar/baz given a chi.Router and an http.Request.
We've been running on an httprouter fork w/ this functionality:
_, handledPath, _, _ := rm.Router.LookupRoute(r.Method, r.URL.Path)
see: https://github.com/jehiah/httprouter/commit/f17f1397d64b8510e22d980c7093c355880358ef
Question
Is there currently a way to do this with pressly/chi, I'm not seeing anything obvious. If no, would you be open to adding this (would be happy to do it myself)?

Hey @kpurdon yea definitely something that comes in handy. The support we have is the RoutePattern and RoutePatterns values on the routing context. You'll want to concat the RoutePatterns for the full thing. The only downside with current implementation is we build the pattern as the request passes through the handler chain, so just keep that in mind.
Btw, what are you using it for? I hope it fits for you

@pkieltyka thanks for the response, I'll take a look. We (Bitly) are currently doing some prototyping to determine if we want to switch to chi. This specific feature is used in middleware that publishes API request metrics.
Thanks again. I'll report back if this approach doesn't work out for us.

yea, exactly, its a good use for metric tracking - we do the same thing at Pressly

it would be awesome to have Bitly on board as well :) good luck and I hope it ends up working out

btw here is an example middleware
func main() {
	r := chi.NewRouter()

	r.Use(middleware.RequestID)
	r.Use(middleware.Logger)
	r.Use(middleware.Recoverer)
	r.Use(middleware.TrackRoute)

	r.Get("/users", userHandler)

	http.ListenAndServe(":3333", r)
}

func TrackRoute(next http.Handler) http.Handler {
	return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
		next.ServeHTTP(w, r)
		rctx := chi.RouteContext(r.Context())
		routePattern := strings.Join(rctx.RoutePatterns, "")
		fmt.Println("route:", routePattern)
	})
}


testing framework

A reference point for the need to keep tests passing...as well as  a reminder that this repository needs to be wired into a sensible CI test framework.

Testing via Jenkins now being provided here. This needs formalizing, documentation, merging to irods namespace. Or maybe we replace it with something better!


i have no idea why the backround isnt working, ive set everything up even putting the "White" in the images

Describe your bug here.
null object reference despite it has everything it needs to load
https://github.com/user-attachments/assets/7161da58-75cf-4790-be11-133ebe7763a7
Command Prompt/Terminal logs (if existing)
No response
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
no

can you send the stage json

can you send the stage json

s


Fix example for creating cluster

/sig multicluster

/ok-to-test

/lgtm
/approve
Thanks for your contribution! Apologies for the slow review.


Feature branch

created a repo
cloned it to my local machine
configured the linters
added the html,css and js files
added the codes to create a telephone number validator

@S-BLH good job!
your codes are clean
great style
no linters error
now mention teacher for thier review
good Job! keep it up sumita jan

@ahzamir ostad please review my project


⚠ Bofrost.es has degraded performance

In 0d3c5fe, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1650 ms

Resolved: Bofrost.es performance has improved in 3f7d008 after 20 minutes.


AsyncEnumerable ToAsyncEnumerable starts new thread

The ToAsyncEnumerable method starts a new thread for converting an IEnumerable to async.
https://github.com/Reactive-Extensions/Rx.NET/blob/master/Ix.NET/Source/System.Interactive.Async/AsyncEnumerable.Conversions.cs#L24
Converting this to the AsyncEnumeratorAdapter, which is synchronous, causes one/some of the tests to deadlock, probably due to a Wait().
Question for @bartdesmet  and @mattpodwysocki: should this avoid creating a new thread and we need to identify/fix the hanging test(s) or leave it as-is?

This behavior is intentional to prevent blocking, which is the whole point of conversion to async. Originally we had a dependency on IScheduler to allow for configuration of concurrency, but we did away with this at some point.

It could do it on one thread with signaling logic to the async MoveNext calls, provided the background thread does not run ahead of the requested enumeration calls (and with proper support for cancellation etc.). I'd suggest to defer to a subsequent release though given it may be non-trivial and error-prone.

All for deferring this one, but I'll keep the issue open to track it.

I've added an AsAsyncEnumerable method (note As vs To) which does a same-thread conversion of an enumerable in my PR (#170) - see here.
Am I missing something? Seems pretty trivial to me. It is missing cancellation support but a call to ct.ThrowIfCancellationRequested() should do the trick.

The thing that's really bugging me is that async is all about idiomatically managing callbacks and not about threading per se. In my opinion, ToAsyncEnumerable shouldn't start running my enumerator on a background thread; it should just provide a facade with Task.FromResult and ignore the cancellation token. Even code that you await typically blocks for CPU unless there's something massively heavy being calculated.
I keep seeing new[] { 1, 2, 3, 4, 5 }.ToAsyncEnumerable() in the test code and knowing that each element access is wrapped in Task.Run just makes me cringe. That's way too granular to be queuing up work on the thread pool. Also asyncified sync is always a design smell. And what happens if the enumerator is on a non-threadsafe list, like... every mutable list that has an enumerator?
So I suppose what I'm saying is I'm highly skeptical of ToAsyncEnumerable in the first place as anything more than a facade. If there is a version that Task.Runs every single MoveNext, it's probably a design flaw on the user's part. If the user is unable to fix it and it's a common situation, or it's too hard to do manually in a less granular fashion, a ToThreadPoolAsyncEnumerable spells the danger more clearly. As it is, I would probably have used ToAsyncEnumerable without reading the docs, never suspecting that my enumerator was running cross-thread.
I'm still new to this scene so I could be way off base, but my suggestion: If you need to enumerate something where blocking takes too long, use IAsyncEnumerable all the way down just like you are supposed to use async all the way down. Otherwise, there still is a need for an interface adapter from IEnumerable to IAsyncEnumerable which adapts an interface where its MoveNext will block and will not cancel which is fine for collection enumerators or generators with light CPU, something like:
private sealed class AsyncEnumerableSampleImplementation<T> : IAsyncEnumerator
{
    public Task<bool> MoveNext(CancellationToken cancellationToken)
        => Task.FromResult(enumerator.MoveNext);
}

Fixed as part of #237


Some changes in the project.

Values of 0 shouldn't have units specified.

I made some changes to your code, based on the code climate issues. I added an alternative to javascript alert in generator.js file instead of removing the alert. I hope it was helpful.


Adding quit and version commands in text and binary protocols

Adds a quit and version command in text as well as version, quit, and quit quiet in binary world.
Closes #1 and #42

cc @smadappa, @senugula, and @vuzilla for review


❓ Delete cached images/snapshots from cache

Question
Is there any way to clear/delete cached images/snapshots from cache? I used rn-fetch-blob but I am curious if is there any other solutions?
What I tried
No response
VisionCamera Version
2.15.2
Additional information

[ ] I am using Expo
[X] I have read the Troubleshooting Guide
[X] I agree to follow this project's Code of Conduct
[X] I searched for similar questions in the issues page as well as in the discussions page and found none.

Hi! No, using a library that can perform file IO to delete those files is recommended. Either way, VisionCamera writes to cache so the files should be deleted (maybe after a phone restart)


English Character converted to Chinese character automatically issue in Spring Data with R2dbc MSSQL.

Bug Report

Versions

Driver:      r2dbc-mssql - 0.8.4.RELEASE
Spring Boot Version : 2.3.1.RELEASE
Database: MSSQL
Java: 1.8
OS: Windows/Linux

Current Behavior
We have a simple schema in database table like below.
 ID        Email_Account                                               Domain
 594	   emilia.halpert<EMAIL_ADDRESS>       tekcly.com
 598	   leanne.ashton<EMAIL_ADDRESS>         dd-pub.com

When we are inserting new record in production database , email account column is inserted with correct data. But while i am selecting record through R2dbc MSSQl driver, Email_Account column value changing automatically like below and giving Chinese characters. This is a serious bug. English language automatically converted to Chinese.
This is what we are getting while we are selecting record from DB through R2DBC MSSQL driver.
emilia.halpert@tekcly.com,olivia.goldman�䀀渀攀眀猀甀渀搀攀爀猀琀愀渀搀椀渀最⸀挀漀洀�

Stack trace
emilia.halpert@tekcly.com,olivia.goldman�䀀渀攀眀猀甀渀搀攀爀猀琀愀渀搀椀渀最⸀挀漀洀�

Table schema

Input Code
-- CREATE TABLE [dbo].[domains_info](
	[id] [int] IDENTITY(1,1) NOT NULL,
	[domain_name] [nvarchar](100) NOT NULL,
	[email_accounts] [nvarchar](max) NOT NULL,
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO

SET ANSI_PADDING OFF
GO

Steps to reproduce

Input Code

@ToString
@Data
@Table("domains_info")
public class EcmDomainInfo {

	@Id
	@Column("id")
	private Integer id;

	@Column("domain_name")
	private String domain;

	@Column("email_accounts")
	private String emailAccounts;

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		EcmDomainInfo other = (EcmDomainInfo) obj;
		if (domain == null) {
			if (other.domain != null)
				return false;
		} else if (!domain.equals(other.domain))
			return false;
		return true;
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((domain == null) ? 0 : domain.hashCode());
		return result;
	}

}

 @Repository
public interface EcmDomainInfoRepository extends R2dbcRepository<EcmDomainInfo, Integer> {

	@Query("SELECT * FROM ECM_DOMAINS_INFO WHERE DOMAIN_NAME IN (:domainList)")
	public Flux<EcmDomainInfo> findAllByDomain(Set<String> domainList);

}
Set<String>domainSet=list.stream().map(t -> t.getDomain()).collect(Collectors.toSet());

Context.getBean(EcmDomainInfoRepository.class).findAllByDomain(domainSet).doOnNext(existing->log.info("Existing email account is {}",existing.getEmailAccounts())).doOnError(t -> log.error("{}", t)).cache().collectList().map(lists -> ResponseEntity.ok(lists));

Result is returned to UI. We are using Spring webflux.

Expected behavior/code
English character should not change to Chineese. What i am saving in database , at the time of select i should get the same data.

Possible Solution

Additional context

Hi Team,
I have observed issue is only occurring if the column datatype is nvarchar(max). If i am changing to varchar(5000) then issue is not reproducible.

Fixed with #171. However, we need to apply the same fix to CLOB object streaming.


Add homebrew install method

Description
Adds install instructions with homebrew on macOS
Additonally

[x] If this is the first time you are contributing to ffuf, add your name to CONTRIBUTORS.md.
The file should be alphabetically ordered.
[x] Add a short description of the fix to CHANGELOG.md

Thanks for contributing to ffuf :)

Cool, thanks for the PR!
One small thing, I would love to keep the CONTRIBUTORS.md sorted alphabetically, so if you could fix that small part of the PR, thanks!

Awesome I resolved that issue!

Sorry for the looong wait here, LGTM, and merging.


Support Phantomjs 2.0

Hi!
Is there any support for Phantomjs 2.0 upcoming?
Kind regards
Kristof

The node wrapper for PhantomJS is still deferring the release because of issues with the binaries on Linux and OSX (Medium/phantomjs#288).
Given from the changelog there has not been a breaking change. I've installed the binaries via homebrew and tested phridge against PhantomJS 2.0 and everything was working fine (though I had to adjust a test because an error message has changed).
I've even experienced a huge performance increase of about 400-500% (at least on OSX).

expect 2.0！

+1

+1

:+1:

+1
@jhnns Can you explain how to use the phantomJS 2.0 binary instead of the bundled one? Thanks.

1. Install phantomjs 2.0 (via homebrew)
brew install phantomjs
2. Replace binary inside phridge
rm -rf node_modules/phridge/node_modules/phantomjs/lib/phantom/bin/phantomjs
ln /usr/local/bin/phantomjs node_modules/phridge/node_modules/phantomjs/lib/phantom/bin/phantomjs

PhantomJs 2.1 was release a few days ago. Can we update this now?

phridge 2.0.0 with PhantomJS 2.1.3 shipped today


build(go): update Golang to 1.21

Welcome to Cryostat! 👋
Before contributing, make sure you have:

[ ] Read the contributing guidelines
[ ] Linked a relevant issue which this PR resolves
[ ] Linked any other relevant issues, PR's, or documentation, if any
[ ] Resolved all conflicts, if any
[ ] Rebased your branch PR on top of the latest upstream main branch
[ ] Attached at least one of the following labels to the PR: [chore, ci, docs, feat, fix, test]
[ ] Signed all commits: git commit -S -m "YOUR_COMMIT_MESSAGE"

Fixes: #776
Description of the change:
Updates Golang from 1.20 to 1.21.
Motivation for the change:
Golang 1.20 is now EOL. The CI is also failing with the referenced bug.
How to manually test:

Do a local build

/build_test

Any particular reason for 1.21 instead of 1.22?

Any particular reason for 1.21 instead of 1.22?

Just for what's available downstream at the moment. We can still bump to 1.22 before release if needed.

Looks like the CI is still using 1.20 until this gets merged.

@Mergifyio backport cryostat3


Add search in government website list page

What
Since the list can be long and finding a specific government website can be hard, we will need to add a search bar in the goverment websites page
How
The package fuse.js has been already added, need to implement search using this package.

[!IMPORTANT]
"threshold" should be set to 0.3
"ignoreLocation" should be set to true

I'd like to work on this issue.

Sure, assigning the issue to you @susanhsrestha


docker-compose does not work with alonzo-white-1.4

We do not have image for tag 11.0 here , there is only image for:
inputoutput/cardano-db-sync:alonzo-white-1.4
sudo docker-compose up -d && docker-compose logs -f
[sudo] password for artur:
Pulling cardano-db-sync (inputoutput/cardano-db-sync:11.0.0)...

Closing this. The docker-compose,yaml file should only bet tested on released branches.


Stable 2.0.android

Backport #7550

@ccpp could you check that with this pr you can build it without failure?

Testing. Can't promise to have results until next week ;)

@akallabeth please see report here: https://gitlab.com/c7np6r/fdroiddata/-/jobs/1979788158 (building d09ea1e).

I´ve used /opt/Android/Sdk/ndk/21.3.6528147


Tests are broken

I get: Error: Cannot find module '../src/core'
Thanks for setting this demo up!

You're welcome.
The scripts in tests directory are merely demos. Being very busy with tracking Angular2 releases I abandoned this repo as a whole (it runs on an old Inferno version)
But if there's some interest I'd update the scripts.
Regards,

If there's a way for you to restore that missing file, I believe the tests would run just fine. Even if you don't plan to update this anymore, it might be nice to have it in a working state as it is a nice example of a basic Inferno setup.

So, the updated version + tests are available now.
Regards,


notebooks now unstable

Issue Type: Bug
since last night's update I have been having trouble using the notebooks. It appears that ctrl+c and ctrl+v functionality has been affected:

Paste either pastes double of what was copied or blank space
Copy occasionally erases highlighted characters (as if it was cut)

Identical files to before, no changes whatsoever but for the update
VS Code version: Code 1.47.0 (d5e9aa0227e057a60c82568bf31c04730dc15dcd, 2020-07-09T08:02:06.629Z)
OS version: Windows_NT x64 10.0.18362

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-1035G4 CPU @ 1.10GHz (8 x 1498)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: enabledrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_off_okwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
7.60GB (1.96GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (1)

Extension
Author (truncated)
Version

python
ms-
2020.6.91350

I have a Windows 10 home edition build 19041 version 2004 with 4GB RAM and Intel i5 8265U CPU, visual studio version 1.47 and having same issue pasting twice a piece of code copied and happens in notebooks.

I am also getting the same issue where every paste into a notebook is duplicated.  One thing to note is that the undo buffer seems to have the duplicate paste as a separate action.  So to paste correctly I have to press Ctrl-V then Ctrl-Z to remove the duplicate paste.  This is really frustrating and adding bugs to my code when I forget to remove the duplicate paste each time.

Here's a little Autohotkey script that I am using as a workaround for now.  It will send a Ctrl-Z if you press Ctrl-V and all of these are true:

The active window's executable is named Code.exe
"Visual Studio Code" is in the title of the window
".ipynb" is in the title of the window (not case sensitive)

#IfWinActive, ahk_exe Code.exe
~^v Up::
  WinGetTitle, WindowTitle, A
  If InStr(WindowTitle, "Visual Studio Code") AND InStr(WindowTitle, ".ipynb")
    Send, ^z
Return
#If

Use at your own risk. There is a slight race condition in that the Ctrl-Z is sent to whatever window is active, so if somehow your active window changes in the very short time the If statement takes to evaluate, the Ctrl-Z could be sent to an unintended window.

Teasing bot. Knows the other issue but doesn't tell.


Fix a json serialization problem during LDAP integration

What's the purpose of this PR
Fix a json serialization problem during LDAP integration
Which issue(s) this PR fixes:
Fixes #4536

Codecov Report

Merging #4556 (3db727b) into master (85bc77d) will increase coverage by 0.02%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #4556      +/-   ##
============================================
+ Coverage     53.37%   53.40%   +0.02%
- Complexity     2705     2707       +2
============================================
  Files           492      492
  Lines         15390    15390
  Branches       1596     1596
============================================
+ Hits           8215     8219       +4
+ Misses         6615     6611       -4
  Partials        560      560

Impacted Files
Coverage Δ

...work/apollo/biz/message/DatabaseMessageSender.java
64.58% <0.00%> (+8.33%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


ntp: 4.2.8p10 -> 4.2.8p11

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/ntp/versions.
These checks were done:

built on NixOS
/nix/store/ib7i3wijfdx2h24aswazaqivr6hfrbip-ntp-4.2.8p11/bin/calc_tickadj passed the binary check.
/nix/store/ib7i3wijfdx2h24aswazaqivr6hfrbip-ntp-4.2.8p11/bin/ntp-wait passed the binary check.
/nix/store/ib7i3wijfdx2h24aswazaqivr6hfrbip-ntp-4.2.8p11/bin/ntptrace passed the binary check.
Warning: no invocation of /nix/store/ib7i3wijfdx2h24aswazaqivr6hfrbip-ntp-4.2.8p11/bin/update-leap had a zero exit code or showed the expected version
/nix/store/ib7i3wijfdx2h24aswazaqivr6hfrbip-ntp-4.2.8p11/bin/sntp passed the binary check.
/nix/store/ib7i3wijfdx2h24aswazaqivr6hfrbip-ntp-4.2.8p11/bin/ntpd passed the binary check.
Warning: no invocation of /nix/store/ib7i3wijfdx2h24aswazaqivr6hfrbip-ntp-4.2.8p11/bin/ntpdate had a zero exit code or showed the expected version
/nix/store/ib7i3wijfdx2h24aswazaqivr6hfrbip-ntp-4.2.8p11/bin/ntpdc passed the binary check.
/nix/store/ib7i3wijfdx2h24aswazaqivr6hfrbip-ntp-4.2.8p11/bin/ntpq passed the binary check.
/nix/store/ib7i3wijfdx2h24aswazaqivr6hfrbip-ntp-4.2.8p11/bin/ntp-keygen passed the binary check.
Warning: no invocation of /nix/store/ib7i3wijfdx2h24aswazaqivr6hfrbip-ntp-4.2.8p11/bin/ntptime had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/ib7i3wijfdx2h24aswazaqivr6hfrbip-ntp-4.2.8p11/bin/tickadj had a zero exit code or showed the expected version
8 of 12 passed binary check by having a zero exit code.
0 of 12 passed binary check by having the new version present in output.
found 4.2.8p11 with grep in /nix/store/ib7i3wijfdx2h24aswazaqivr6hfrbip-ntp-4.2.8p11
directory tree listing: https://gist.github.com/643849ae077bac0514537c8aa923dd6d
du listing: https://gist.github.com/1b2abf7cee80b022945ff72be1eb7070

meta.description for ntp is: '"An implementation of the Network Time Protocol"'.
cc @edolstra for testing.

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: ntp
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Attempted: ntp
Partial log (click to expand)
shrinking /nix/store/ib7i3wijfdx2h24aswazaqivr6hfrbip-ntp-4.2.8p11/bin/sntp
shrinking /nix/store/ib7i3wijfdx2h24aswazaqivr6hfrbip-ntp-4.2.8p11/bin/ntpdate
shrinking /nix/store/ib7i3wijfdx2h24aswazaqivr6hfrbip-ntp-4.2.8p11/bin/ntpdc
shrinking /nix/store/ib7i3wijfdx2h24aswazaqivr6hfrbip-ntp-4.2.8p11/bin/ntp-keygen
gzipping man pages under /nix/store/ib7i3wijfdx2h24aswazaqivr6hfrbip-ntp-4.2.8p11/share/man/
strip is /nix/store/j75dgadrff2d1fyc4fczmcgqkid2imdx-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/ib7i3wijfdx2h24aswazaqivr6hfrbip-ntp-4.2.8p11/libexec  /nix/store/ib7i3wijfdx2h24aswazaqivr6hfrbip-ntp-4.2.8p11/bin  /nix/store/ib7i3wijfdx2h24aswazaqivr6hfrbip-ntp-4.2.8p11/sbin
patching script interpreter paths in /nix/store/ib7i3wijfdx2h24aswazaqivr6hfrbip-ntp-4.2.8p11
checking for references to /build in /nix/store/ib7i3wijfdx2h24aswazaqivr6hfrbip-ntp-4.2.8p11...
moving /nix/store/ib7i3wijfdx2h24aswazaqivr6hfrbip-ntp-4.2.8p11/sbin/* to /nix/store/ib7i3wijfdx2h24aswazaqivr6hfrbip-ntp-4.2.8p11/bin

Success on aarch64-linux (full log)
Attempted: ntp
Partial log (click to expand)
shrinking /nix/store/d2bf34fd49ggym2fy0d767hvkhlmr8vz-ntp-4.2.8p11/bin/ntpdate
shrinking /nix/store/d2bf34fd49ggym2fy0d767hvkhlmr8vz-ntp-4.2.8p11/bin/ntpd
shrinking /nix/store/d2bf34fd49ggym2fy0d767hvkhlmr8vz-ntp-4.2.8p11/bin/sntp
gzipping man pages under /nix/store/d2bf34fd49ggym2fy0d767hvkhlmr8vz-ntp-4.2.8p11/share/man/
strip is /nix/store/jk6j4lh9v5mvjdbdc35sj0zffhhf6s56-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/d2bf34fd49ggym2fy0d767hvkhlmr8vz-ntp-4.2.8p11/libexec  /nix/store/d2bf34fd49ggym2fy0d767hvkhlmr8vz-ntp-4.2.8p11/bin  /nix/store/d2bf34fd49ggym2fy0d767hvkhlmr8vz-ntp-4.2.8p11/sbin
patching script interpreter paths in /nix/store/d2bf34fd49ggym2fy0d767hvkhlmr8vz-ntp-4.2.8p11
checking for references to /build in /nix/store/d2bf34fd49ggym2fy0d767hvkhlmr8vz-ntp-4.2.8p11...
moving /nix/store/d2bf34fd49ggym2fy0d767hvkhlmr8vz-ntp-4.2.8p11/sbin/* to /nix/store/d2bf34fd49ggym2fy0d767hvkhlmr8vz-ntp-4.2.8p11/bin
/nix/store/d2bf34fd49ggym2fy0d767hvkhlmr8vz-ntp-4.2.8p11

Contains CVE fixes:  https://support.ntp.org/bin/view/Main/SecurityNotice#February_2018_ntp_4_2_8p11_NTP_S

Backported in 78d4a1e3ea294ef5f1dcba110825831c02f3a46c


panicked at 'Can't narrow load'

Thanks for opening a bug report on Cranelift! Please answer the questions below
if they're relevant and delete this text before submitting.

What are the steps to reproduce the issue? Can you include a CLIF test case,
ideally reduced with the bugpoint clif-util command?

test compile
set is_pic
target x86_64-unknown-linux-gnu

function u0:0(i64, i64, i64) system_v {
; symbol _ZN4core9core_arch3x864sse212_mm_add_epi817h36feb8477a42339bE

    ss0 = explicit_slot 16
    ss1 = explicit_slot 16
    ss2 = explicit_slot 16
    ss3 = explicit_slot 16
    ss4 = explicit_slot 16
    sig0 = (i64, i64) system_v
    sig1 = (i64, i64) system_v
    fn0 = colocated u0:257 sig0
    fn1 = colocated u0:257 sig1

                                ebb0(v0: i64, v1: i64, v2: i64):
                                    v3 = load.i64x2 v1
                                    v5 -> v3
                                    v4 = load.i64x2 v2
                                    v9 -> v4
                                    jump ebb1

                                ebb1:
@0001                               v6 = stack_addr.i64 ss3
@0001                               store.i64x2 v5, v6
@0001                               v7 = stack_addr.i64 ss3
@0001                               v8 = stack_addr.i64 ss1
@0001                               call fn0(v8, v7)
@0001                               jump ebb2

                                ebb2:
@0004                               v10 = stack_addr.i64 ss4
@0004                               store.i64x2 v9, v10
@0004                               v11 = stack_addr.i64 ss4
@0004                               v12 = stack_addr.i64 ss2
@0004                               call fn1(v12, v11)
@0004                               jump ebb3

                                ebb3:
@0000                               v13 = stack_addr.i64 ss1
@0000                               v14 = load.i8x16 v13
@0000                               v15 = stack_addr.i64 ss2
@0000                               v16 = load.i8x16 v15
@0000                               v17 = iadd v14, v16
@0000                               v18 = stack_addr.i64 ss0
@0000                               store v17, v18
@0000                               jump ebb4

                                ebb4:
@0008                               v19 = stack_addr.i64 ss0
@0008                               v20 = load.i64 aligned v19
@0008                               store aligned v20, v0
@0008                               v21 = load.i64 aligned v19+8
@0008                               store aligned v21, v0+8
@0008                               jump ebb5

                                ebb5:
@0008                               nop
@000a                               return
}

What do you expect to happen? What does actually happen? Does it panic, and
if so, with which assertion?

Expected successful compilation. Got:
thread 'rustc' panicked at 'Can't narrow load', src/libcore/option.rs:1188:5
stack backtrace:
[...]
  14: core::option::expect_failed
             at src/libcore/option.rs:1188
  15: core::option::Option<T>::expect
             at /rustc/9ae6cedb8d1e37469be1434642a3e403fce50a03/src/libcore/option.rs:348
  16: cranelift_codegen::legalizer::narrow_load
             at /home/bjorn/.cargo/git/checkouts/cranelift-e5a6a40e8f744a9d/722a345/cranelift-codegen/src/legalizer/mod.rs:604
  17: cranelift_codegen::legalizer::narrow
             at ./target/debug/build/cranelift-codegen-a4c45f6e6e5e34c4/out/legalizer.rs:2298
  18: cranelift_codegen::legalizer::narrow_flags
             at ./target/debug/build/cranelift-codegen-a4c45f6e6e5e34c4/out/legalizer.rs:2416
  19: cranelift_codegen::isa::x86::enc_tables::x86_narrow
             at ./target/debug/build/cranelift-codegen-a4c45f6e6e5e34c4/out/legalize-x86.rs:1514
  20: cranelift_codegen::legalizer::legalize_inst
             at /home/bjorn/.cargo/git/checkouts/cranelift-e5a6a40e8f744a9d/722a345/cranelift-codegen/src/legalizer/mod.rs:120
  21: cranelift_codegen::legalizer::legalize_function
             at /home/bjorn/.cargo/git/checkouts/cranelift-e5a6a40e8f744a9d/722a345/cranelift-codegen/src/legalizer/mod.rs:170
  22: cranelift_codegen::context::Context::legalize
             at /home/bjorn/.cargo/git/checkouts/cranelift-e5a6a40e8f744a9d/722a345/cranelift-codegen/src/context.rs:277
  23: cranelift_codegen::context::Context::compile
             at /home/bjorn/.cargo/git/checkouts/cranelift-e5a6a40e8f744a9d/722a345/cranelift-codegen/src/context.rs:144
  24: cranelift_module::module::Module<B>::define_function
             at /home/bjorn/.cargo/git/checkouts/cranelift-e5a6a40e8f744a9d/722a345/cranelift-module/src/module.rs:552

Which Cranelift version / commit hash / branch are you using?

722a345ff6ee00ade5de87eef0a605711a88e8ec

If relevant, can you include some extra information about your environment?
(Rust version, operating system, architecture...)

x86_64. No SIMD related flags modified.

With the removal of the old style backends, the vast majority of the legalizer has been removed, including the code that panicked here. Closing.


doc: enhance a string of problems to improve UE

Main change

in hubble page(cn), title level of the #### 2 部署 is wrong

@VGalaxies could also check the PR~

Good job! Consider using autocorrect plugin to improve the formatting. 🚀


New release

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


OpenSceneGraph port

OSG is a render engine used widely in geospatial area. The tools and plugins are installed into tools directory.

@saedrna,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by Microsoft. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

Thanks for the PR!
During the merge, I rebased out the FindTBB patch in favor of simply specifying the missing cache variables directly.


#5230 Fix port receiving in local debugging

Just try to put a breakpoint to the following procedure. If you get no "Unable to rcv port number" message, it works.

Verified


 Thanks for going through it.
I'm only still having trouble with the delete spec - I'm pretty sure deleting works as I checked it with a curl request, but the tests are still not happy. Will come back to it after looking at something else for a bit.


hides placeholder

1.当行如果有不是placeholder的日期能不能不隐藏改行的placehoder。
2.如果只有四行或者5行的情况，能不能总高度跟6行一样，只是拉大行间距呢？
望能解决上述俩问题。不知道怎么上传图片。

你好，这个需求暂时没有想好。是否能把问题用英文或者设计图表达以便让国外的朋友也能看懂这个问题？

for example, one week 29 30 1 2 3 4 5 ,the 29 30 is placeholder, i want them not be hide.  only hide the row which all days of the week are placeholder .
adjust the row spacing which month only 4 or 5 row, not adjust the calendar height.

Two pictures are uploaded. can you solve the two problem? 3Q.

I'll think this over. Thanks for reporting this.

I am expecting to hear good news.

@WenchaoD still have the same problem

Sorry for the late. Will fix this in next version.

for example, one week 29 30 1 2 3 4 5 ,the 29 30 is placeholder, i want them not be hide. only hide the row which all days of the week are placeholder .

This is fixed, use
calendar.placeholderType = FSCalendarPlaceholderTypeFillHeadTail;


Slg46826 c type import

Adds C header with bits & bytes defined as per SLG46826 layout which can be used in C code but we also want to import it and use as is into Python.
Adds class SLG46826Reg with minimal use/test case.
Adds SLG header parser helper, for extracting fields & using them, dynamically.
This code does not affect any of the current greenpak library code.

@zapta
We building some test scripts (console so far) where we would like to use this.   We think it should benefit the greenpak library in general
Please review.

Can you create an issue that explain what this feature is supposed to do?
A few question

I see C codes, will this require users to have a C compiler or is it just an off line computation thing as part of the developement of this feature?

If I got it correctly, you parse the bits/regs specification which is currently in .h format. How about making the parser emitting some nicely structured definition of the registers, e.g. in json?  This definition can then be used in many ways, including generation of python code to access/manupulate specific registers.

In sum: the C header is imported, and the C type is the directly usable -i.e., its fields/variables inside - from Python as in SLG46826Reg class. No compiler required if only that class is used.

If one wants to got a bit over, as with the parsing example provided, one may need to have C GCC compiler,  as per line in that script, but it could be optional if pre-processed header used. Idea was to provide it as options to be available.
For us, we just want some test scripts which would use the C type shared with C code base, and we want to use it in the Python with greenpak lib to do some external testing which would involve interacting with the Gp devices. Displaying live values is an example.
I'm cleaning up some script which would use those modules in this PR, but they all Linux & SMBus layer based, unsure how much you would be able to try them.

Yes you may do it, but is outside of scope at the moment for this work.  If you or anyone would like to do something as you describe, it would be great. We just have no need or didn't think of it, at this day.

As you saw, the parsing already enables us from python get all the fields/regs from file into list, initialize runtime SLG class instance with raw bytes, and then access those fields vales using the list of names extracted.
At the moment we would like to use just that, to build simple test scripts.  And take further as needed.

I don't have yet a clarity yet where this is going, so can you put it for
now under src/greenpak/experimental/reg, and put it there with a read file
that clarifies its status.
On Tue, Feb 27, 2024 at 10:37 PM dry-75 @.***> wrote:

In sum: the C header is imported, and the C type is the directly
usable -i.e., its fields/variables inside - from Python as in SLG46826Reg
class. No compiler required if only that class is used.

If one wants to got a bit over, as with the parsing example provided, one
may need to have C GCC compiler, as per line in that script, but it could
be optional if pre-processed header used. Idea was to provide it as options
to be available.
For us, we just want some test scripts which would use the C type shared
with C code base, and we want to use it in the Python with greenpak lib to
do some external testing which would involve interacting with the Gp
devices. Displaying live values is an example.
I'm cleaning up some script which would use those modules in this PR, but
they all Linux & SMBus layer based, unsure how much you would be able to
try them.

Yes you may do it, but is outside of scope at the moment for this
work. If you or anyone would like to do something as you describe, it would
be great. We just have no need or didn't think of it, at this day.

As you saw, the parsing already enables us from python get all the
fields/regs from file into list, initialize runtime SLG class instance with
raw bytes, and then access those fields vales using the list of names
extracted.
At the moment we would like to use just that, to build simple test
scripts. And take further as needed.
—
Reply to this email directly, view it on GitHub
https://github.com/zapta/greenpak/pull/7#issuecomment-1968326202, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAQVMQKGLCO5GMJEXSQKOZ3YV3GBJAVCNFSM6AAAAABD5IBPCCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRYGMZDMMRQGI
.
You are receiving this because you were mentioned.Message ID:
@.***>


Design tile layout

As a project developer, I want to predefine the set of tiles that should be displayed visually, so that project developers can build the necessary supporting queries

[ ] Design doc created that outlines the list of telemetry signals that should be displayed in a dashboard
[ ] Dashboard layout documented

Mentioned in #414


Added backgroundColor,itemColor properties which is missed to SinglePickerMaterialDialog.

Added backgroundColor property which is missed.

please fix it.


Add new default config to 'current weather' module

The idea is to configure the size of the current weather module by passing 'tableClass' config.

Could create a PR for https://github.com/MichMich/MagicMirror-Documentation as well? Thanks!


URGENT :: (Presence) UPDATED in Whatsapp Web which we need to follow in  go-whatsapp

Deal all.
As you know, go-whatsapp did not return the last seen when you order Presence
certainly  go-whatsapp return the following:
 ["Presence",{"id":"163933209505@c.us","type":"available","deny":true}]
Without any timestamp of the last seen.
But Whatsapp Chorme return the following :
["Presence", {id<EMAIL_ADDRESS>type: "unavailable", t:<PHONE_NUMBER>, deny: false}]
Note the timestamp!
Now I sow the Presence call, it is identical
{"action", "presence", "subscribe", jid}
I am not sure if we need to update the binary files or something! but this indicates that a lot of things have to be updated!

FIXED


Typo fix in Readme.md

Thanks for your work!
I have a very very minor typo fix to submit : don't know if it was intended, but two commas are missing from the Webpack example.
I foolishly copy / pasted the example before realizing it, figure that it could happen to someone else too.

Very welcome PR. Thanks!


loads of lambada functions left after app delete  ( i think)

Before opening, please confirm:

[X] I have checked to see if my question is addressed in the FAQ.
[X] I have searched for duplicate or closed issues.
[X] I have read the guide for submitting bug reports.
[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.

App Id
part of the problem, don't know which relate to
Region
No response
Amplify Console feature
Not applicable
Describe the bug
I have a load of lambda function that seem to be there,  I actually have no clue what they are for and I'm guessing that they are left over from app that have been deleted, there is no way to cross reference what app they "belong" to, so I cant safely delete them, as I don't know if they will break anything.  There seems to be a ref number at the end, but it doesn't tie to any app id

Expected behavior
If they are related to an app and the app is deleted , they should also be deleted, or you end up with endless "junk" functions
Reproduction steps
I think its triggered by making an app, then deleting an app
Build Settings
No response
Additional information
No response

anyone actually work here, that can tell me whats going on with this?

Hi @spormeon 👋🏽 thank you for raising this issue. Those amplify-login functions are created when you enable the Admin UI for your application. We are currently looking into a workaround to be able to track which applications are associated to these functions. I will report back once we have a solution. Thank you for your patience!


fix type mismatch

not sure why this error popped up for me, but submitting PR in case it needs fixing

I got this error too with gcc-4.7.. Using gcc-4.8 fixed it. I lost track of which version we're using now.. @LorenzMeier ?
CXX:     /Users/ada/UAV/src/Firmware/src/drivers/px4io/px4io.cpp
/Users/ada/UAV/src/Firmware/src/drivers/px4io/px4io.cpp: In member function 'void PX4IO::task_main()':
/Users/ada/UAV/src/Firmware/src/drivers/px4io/px4io.cpp:1012:49: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
compilation terminated due to -Wfatal-errors.
cc1plus: all warnings being treated as errors
make[2]: *** [px4io.cpp.o] Error 1
make[1]: *** [/Users/ada/UAV/src/Firmware/Build/px4fmu-v2_default.build//Users/ada/UAV/src/Firmware/src/drivers/px4io/module.pre.o] Error 2


OnHovered event for button (and textbox?)

This probably needs an OnUnHovered too

Done in https://github.com/BadMagic100/HollowKnight.MagicUI/commit/a35db2a03499657cd866e49e5f153b0455d02673


Regression test target should recompile every time it's run

In cl_manycore when make regression is run the tests should be recompiled.
This has the benefit of testing compilation in addition to functionality.

Fixed in #256?

Definitely fixed


Keep RX Streams as "Pure" as Possible?

At the moment, there are some places in which streams and so called "side effects" (operations that use some value from the stream but don't modify the stream's contents i.e. aren't operations like map, and co.)  are intermingled. For example, the addFeatureDialogFragment.show function:
Observable<Feature> featureStream =
        showFeatureDialogRequests.flatMapMaybe(
            fragmentManager -> addFeatureDialogFragment.show(fragmentManager));

does two things: it calls show on the fragmentManager, and returns an entirely new PublishSubject:
public Maybe<Feature> show(FragmentManager fragmentManager) {
    addFeatureRequestSubject = MaybeSubject.create();
    show(fragmentManager, TAG);
    return addFeatureRequestSubject;
  }

This obfuscates the semantics somewhat and makes reading some functions difficult. For example, I would expect show to be "effectful" only, and not to return a new Maybe.
Instead we can refactor this to use RX semantics to achieve the same thing.
Observable<Feature> featureStream =
        showFeatureDialogRequests.doOnNext(fragmentManager -> show(fragmentManager, TAG)).flatMapMaybe(__ -> addFeatureDialogFragment.toSubject());

An approach like this keeps side effects and transformations separate and immediately obvious when reading the sequence of stream operations. This way we can essentially keep data transformations and ui actions 'distinct'.
This is preferential of course, so please let me know if you disagree!

@gino-m @navinsivakumar

The idea here was that the Maybe returned to show() would complete with the outcome of the dialog. The fact we create a new Subject every time is probably a smell, or at least an incorrect implementation.
To your point about not changing the streams, this particular example does, in fact; it starts out with just a click, and then ends up with a new Feature created by the new feature dialog selector (also probably incorrect; if anything it should return a FeatureType.
I think to model this particular case correctly, we'd probably just need to fix the smells/bugs mentioned above. I don't know if using a side effect, then joining the outcome of that side effect to the main stream is the right approach either...

Ahhhhh, I see. I misunderstood Dialog.show() --I missed the crucial reference to this in its body. So, you're right, this wouldn't work in this case since it'd actually reference the wrong fragment, but Dialog.show() happens to have meaningful effects on the stream contents in this case because of calls to onCreate etc. that do all the work to kick off transformations/initialization.
Agreed that the particular case can be refactored as well. I wonder whether it makes more sense to return data streams from ViewModel's only, limiting, as much as possible, fragments to "action" streams (clicks, triggers, and what nots). In this particular case we'd have to point both fragments (home screen and dialog) to a shared VM and return data to the fragments as needed from there. In this case we'd need to rig something up so that the Fragment is not longer returning a MaybeSubject, but instead kicking off a process in the VM that returns the MaybeSubject (or simply emits on it, which the necessary fragments would then subscribe to).

It looks like the Android docs recommend using a shared viewmodel for precisely this sort of parent/child fragment relation: https://developer.android.com/topic/libraries/architecture/viewmodel.html#sharing.
I think(?) this should  work here. We cold give that a try. Alternatively we could take the HomeScreen/MapContainer approach. Both take a dataRepository and have separate references to the active project (as of now the active project is the only this the addFeatureDialog fragment needs from the HomeScreenFragment).

I wouldn't spend too much time on this particular case, since we'll probably end up rewriting the add feature flow once our new volunteer Interaction Designer gets done with it. But yes, a separate shared view model does sounds like a valid alternative. Would it be possible to continue with the subscription fixes as you've been doing and revisiting once we redesign this piece?

Okay, sounds good! Yes, it's definitely possible to keep going, this isn't a blocker, just something I wanted to open to consideration. I'll close this for now.


Update component_info.json

Description
This PR fixes #
Notes for Reviewers
Signed commits

[ ] Yes, I signed my commits.

LGTM

lgtm

lgtm


BXMSPROD-944 GA build-chain pull-request flow

https://issues.redhat.com/browse/BXMSPROD-944
related PRs:

https://github.com/kiegroup/kogito-apps/pull/535
https://github.com/kiegroup/kogito-cloud-operator/pull/653
https://github.com/kiegroup/kogito-examples/pull/452
https://github.com/kiegroup/kogito-images/pull/281
https://github.com/kiegroup/kogito-runtimes/pull/887

Many thanks for submitting your Pull Request :heart:!
Please make sure that your PR meets the following requirements:

[ ] You have read the contributors guide
[ ] Pull Request title is properly formatted: KOGITO-XYZ Subject
[ ] Pull Request title contains the target branch if not targeting master: [0.9.x] KOGITO-XYZ Subject
[ ] Pull Request contains link to the JIRA issue
[ ] Pull Request contains link to any dependent or related Pull Request
[ ] Pull Request contains description of the issue
[ ] Pull Request does not include fixes for issues other than the main ticket

@mareknovotny @radtriste @danielezonca can you please review it again since kiegroup/github-action-build-chain#108 is already implemented

All the GH builds are failing, we never built using Windows so it is sort of expected but the linux one is failing because of a wrong configuration
2020-11-19T12:45:50.6756075Z Caused by: org.apache.maven.plugin.MojoExecutionException: Not authorized. Please check the properties sonar.login and sonar.password.
@radtriste @mareknovotny any idea?

All the GH builds are failing, we never built using Windows so it is sort of expected but the linux one is failing because of a wrong configuration
2020-11-19T12:45:50.6756075Z Caused by: org.apache.maven.plugin.MojoExecutionException: Not authorized. Please check the properties sonar.login and sonar.password.
@radtriste @mareknovotny any idea?

@danielezonca @radtriste @mareknovotny
it would be possible to use an env variable like
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

but not for a pull_reques event since the only available secret to use is GITHUB_TOKEN. Anway i've been invesigating and it seem there is a chance to use pull_request_target https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows#pull_request_target
Let me test it

guys, I added -Dsonar.login=$SONAR_TOKEN to mvn validate -Psonarcloud-analysis command https://github.com/Ginxo/kogito-runtimes/blob/27654a3086661674c48a24f5bee62c1aaf70c847/.ci/pull-request-config.yaml#L12
I would need from you to update SONAR_TOKEN from kogito-runtimes' project. Just relaunch the job whenever you update it

guys, I added -Dsonar.login=$SONAR_TOKEN to mvn validate -Psonarcloud-analysis command https://github.com/Ginxo/kogito-runtimes/blob/c2e5addac8757726aaff9a077d81b9ba09335fb7/.ci/pull-request-config.yaml#L12
I would need from you to update SONAR_TOKEN from kogito-runtimes' project. Just relaunch the job whenever you update it

@radtriste @mareknovotny
Can you please help to finalize the configuration? ^

I didn't notice up to now, I updated the token so relaunching the jobs

@Ginxo
Same error
2020-12-11T19:33:41.9305995Z [ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:<IP_ADDRESS>8:sonar (default) on project integration-tests-kogito-plugin: Not authorized. Please check the properties sonar.login and sonar.password. -> [Help 1]
2020-12-11T19:33:41.9315566Z org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:<IP_ADDRESS>8:sonar (default) on project integration-tests-kogito-plugin: Not authorized. Please check the properties sonar.login and sonar.password.
2020-12-11T19:33:41.9323620Z     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
2020-12-11T19:33:41.9327741Z     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
2020-12-11T19:33:41.9329747Z     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
2020-12-11T19:33:41.9335784Z     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
2020-12-11T19:33:41.9339910Z     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
2020-12-11T19:33:41.9343223Z     at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)

not sure why, but i saw on Sonarcloud it was never used, so I did once more generating new token and set it for kogito-runtimes repository a launched jobs again

so there is wrong env property SONARCLOUD_TOKEN instead of SONAR_TOKEN at https://github.com/kiegroup/kogito-runtimes/blob/master/kogito-build-parent/pom.xml#L1263 which should eliminate that addition of -DSONAR_TOKEN. But the question is probably what user is used by github actions as the Sonar permission Execute Analysis needs to be assigned to it. I tried to assign that permission to Anyone, but here you can see it didn't work.

GH build failing with
2021-04-23T13:46:26.3475624Z [INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ kogito-cloud-workitems ---
2021-04-23T13:46:26.3476334Z [INFO]
2021-04-23T13:46:26.3476932Z [INFO] -------------------------------------------------------
2021-04-23T13:46:26.3477378Z [INFO]  T E S T S
2021-04-23T13:46:26.3477977Z [INFO] -------------------------------------------------------
2021-04-23T13:46:27.5018687Z [INFO] Running org.kie.kogito.cloud.workitems.service.discovery.KubernetesServiceDiscoveryTest
2021-04-23T13:46:28.8008271Z 13:46:28.779 [main] WARN  io.fabric8.kubernetes.client.Config - Error reading service account token from: [/var/run/secrets/kubernetes.io/serviceaccount/token]. Ignoring.
2021-04-23T13:46:28.8084188Z Apr 23, 2021 1:46:28 PM okhttp3.mockwebserver.MockWebServer$2 execute
2021-04-23T13:46:28.8085476Z INFO: MockWebServer[33329] starting to accept connections
2021-04-23T13:46:28.8471854Z 13:46:28.846 [main] WARN  io.fabric8.kubernetes.client.Config - Error reading service account token from: [/var/run/secrets/kubernetes.io/serviceaccount/token]. Ignoring.
2021-04-23T13:46:28.9974155Z Apr 23, 2021 1:46:28 PM okhttp3.mockwebserver.MockWebServer$3 execute
2021-04-23T13:46:28.9976263Z INFO: MockWebServer[33329] connection from /<IP_ADDRESS> failed: javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake
2021-04-23T13:46:28.9977609Z Apr 23, 2021 1:46:28 PM okhttp3.mockwebserver.MockWebServer$2 acceptConnections
2021-04-23T13:46:28.9978527Z INFO: MockWebServer[33329] done accepting connections: Socket closed
2021-04-23T13:46:29.0345779Z 13:46:29.033 [main] WARN  io.fabric8.kubernetes.client.Config - Error reading service account token from: [/var/run/secrets/kubernetes.io/serviceaccount/token]. Ignoring.
2021-04-23T13:46:29.0354597Z Apr 23, 2021 1:46:29 PM okhttp3.mockwebserver.MockWebServer$2 execute
2021-04-23T13:46:29.0355723Z INFO: MockWebServer[42327] starting to accept connections
2021-04-23T13:46:29.0406873Z 13:46:29.040 [main] WARN  io.fabric8.kubernetes.client.Config - Error reading service account token from: [/var/run/secrets/kubernetes.io/serviceaccount/token]. Ignoring.
2021-04-23T13:46:29.0537755Z Apr 23, 2021 1:46:29 PM okhttp3.mockwebserver.MockWebServer$2 acceptConnections
2021-04-23T13:46:29.0539122Z INFO: MockWebServer[42327] done accepting connections: Socket is closed
2021-04-23T13:46:29.0550392Z Apr 23, 2021 1:46:29 PM okhttp3.mockwebserver.MockWebServer$3 execute
2021-04-23T13:46:29.0551719Z INFO: MockWebServer[42327] connection from /<IP_ADDRESS> failed: java.net.SocketException: Socket is closed
2021-04-23T13:46:29.0670297Z 13:46:29.066 [main] WARN  io.fabric8.kubernetes.client.Config - Error reading service account token from: [/var/run/secrets/kubernetes.io/serviceaccount/token]. Ignoring.
2021-04-23T13:46:29.0677725Z Apr 23, 2021 1:46:29 PM okhttp3.mockwebserver.MockWebServer$2 execute
2021-04-23T13:46:29.0678964Z INFO: MockWebServer[47729] starting to accept connections
2021-04-23T13:46:29.0721071Z 13:46:29.071 [main] WARN  io.fabric8.kubernetes.client.Config - Error reading service account token from: [/var/run/secrets/kubernetes.io/serviceaccount/token]. Ignoring.
2021-04-23T13:46:29.0777970Z Apr 23, 2021 1:46:29 PM okhttp3.mockwebserver.MockWebServer$2 acceptConnections
2021-04-23T13:46:29.0779179Z INFO: MockWebServer[47729] done accepting connections: Socket is closed
2021-04-23T13:46:29.0793061Z Apr 23, 2021 1:46:29 PM okhttp3.mockwebserver.MockWebServer$3 execute
2021-04-23T13:46:29.0794337Z INFO: MockWebServer[47729] connection from /<IP_ADDRESS> failed: java.net.SocketException: Socket is closed
2021-04-23T13:46:29.0955905Z 13:46:29.091 [main] WARN  io.fabric8.kubernetes.client.Config - Error reading service account token from: [/var/run/secrets/kubernetes.io/serviceaccount/token]. Ignoring.
2021-04-23T13:46:29.0958136Z 13:46:29.092 [main] WARN  io.fabric8.kubernetes.client.Config - Error reading service account token from: [/var/run/secrets/kubernetes.io/serviceaccount/token]. Ignoring.
2021-04-23T13:46:29.0981791Z Apr 23, 2021 1:46:29 PM okhttp3.mockwebserver.MockWebServer$2 execute
2021-04-23T13:46:29.0982891Z INFO: MockWebServer[49119] starting to accept connections
2021-04-23T13:46:29.0992616Z Apr 23, 2021 1:46:29 PM okhttp3.mockwebserver.MockWebServer$2 acceptConnections
2021-04-23T13:46:29.0993783Z INFO: MockWebServer[49119] done accepting connections: Socket is closed
2021-04-23T13:46:29.1118769Z 13:46:29.111 [main] WARN  io.fabric8.kubernetes.client.Config - Error reading service account token from: [/var/run/secrets/kubernetes.io/serviceaccount/token]. Ignoring.
2021-04-23T13:46:29.1132082Z 13:46:29.112 [main] WARN  io.fabric8.kubernetes.client.Config - Error reading service account token from: [/var/run/secrets/kubernetes.io/serviceaccount/token]. Ignoring.
2021-04-23T13:46:29.1201640Z Apr 23, 2021 1:46:29 PM okhttp3.mockwebserver.MockWebServer$2 execute
2021-04-23T13:46:29.1202828Z INFO: MockWebServer[58237] starting to accept connections
2021-04-23T13:46:29.1234837Z Apr 23, 2021 1:46:29 PM okhttp3.mockwebserver.MockWebServer$2 acceptConnections
2021-04-23T13:46:29.1236259Z INFO: MockWebServer[58237] done accepting connections: Socket is closed
2021-04-23T13:46:29.1354756Z [ERROR] Tests run: 5, Failures: 0, Errors: 5, Skipped: 0, Time elapsed: 1.626 s <<< FAILURE! - in org.kie.kogito.cloud.workitems.service.discovery.KubernetesServiceDiscoveryTest
2021-04-23T13:46:29.1375994Z [ERROR] findSingleEndpoint  Time elapsed: 1.494 s  <<< ERROR!
2021-04-23T13:46:29.1377750Z io.fabric8.kubernetes.client.KubernetesClientException: Operation: [create]  for kind: [Service]  with name: [null]  in namespace: [mockns]  failed.
....
2021-04-23T13:46:29.3317479Z Caused by: java.net.ConnectException: Connection refused (Connection refused)

I think the problem is with MockWebServer, no idea 🤔
2021-04-23T13:46:29.0993783Z INFO: MockWebServer[49119] done accepting connections: Socket is closed

The Linux check has failed. Please check the logs.

@Ginxo
Can you please rebase from master this and the other PRs?

Please add OptaPlanner in the chain ( https://github.com/kiegroup/optaplanner ): it depends on kogito-runtimes and both kogito-apps and kogito-examples depends on it

The Linux check is successful.

The Linux check is successful.

The Linux check is successful.

@Ginxo failed with
2021-05-03T16:13:20.9421474Z Caused by: java.lang.IllegalStateException: Check failed: Docker environment should have more than 2GB free disk space
Do you have any suggestion about possible cleanups?

@Ginxo failed with
2021-05-03T16:13:20.9421474Z Caused by: java.lang.IllegalStateException: Check failed: Docker environment should have more than 2GB free disk space
Do you have any suggestion about possible cleanups?

FYI this is the cleanup we use in Jenkins: https://github.com/kiegroup/jenkins-pipeline-shared-libraries/blob/master/vars/cloud.groovy#L38
Is there a way to do that after each mvn clean install ?

The Linux check is successful.


HEX Value received is not what is expected

In my sketch I am sending values over BLE and the HEX value received is not what it should be. It is sending two additional zeros on the end of the HEX value. Below is a portion of my code for testing. The last couple lines are my set value commands, I put it in loop with a delay so you can see it change.
`#include <BLE2902.h>
#include <NimBLEDevice.h>
NimBLECharacteristic* pCharacteristic = NULL;
NimBLECharacteristic* pCharacteristic2 = NULL;
bool deviceConnected = false;
bool oldDeviceConnected = false;
int ledPin = 2;
int ledState = LOW;
static NimBLEServer* pServer;
class ServerCallbacks: public NimBLEServerCallbacks {
void onConnect(NimBLEServer* pServer) {
deviceConnected = true;
NimBLEDevice::startAdvertising();
};
void onConnect(NimBLEServer* pServer, ble_gap_conn_desc* desc) {
    pServer->updateConnParams(desc->conn_handle, 24, 48, 0, 60);
};
void onDisconnect(NimBLEServer* pServer) {
    //Serial.println("Client disconnected - start advertising");
    deviceConnected = false;
    NimBLEDevice::startAdvertising();
};
void onMTUChange(uint16_t MTU, ble_gap_conn_desc* desc) {
};

};
/** Handler class for descriptor actions /
class DescriptorCallbacks : public NimBLEDescriptorCallbacks {
void onWrite(NimBLEDescriptor pDescriptor) {
std::string dscVal((char*)pDescriptor->getValue(), pDescriptor->getLength());
};
void onRead(NimBLEDescriptor* pDescriptor) {
};

};
void setup() {
Serial.begin(115200);
pinMode(2, OUTPUT);
digitalWrite(2, LOW);
/** sets device name */
NimBLEDevice::init("ESP32");

/** Optional: set the transmit power, default is 3db */
//NimBLEDevice::setPower(ESP_PWR_LVL_P6); /** +6db */

pServer = NimBLEDevice::createServer();
pServer->setCallbacks(new ServerCallbacks());

NimBLEService* pService = pServer->createService("331F1570-8A00-9A28-CBE1-E1D4212D53EB");
pCharacteristic = pService->createCharacteristic("331F1571-8A00-9A28-CBE1-E1D4212D53EB",
         NIMBLE_PROPERTY::READ | NIMBLE_PROPERTY::NOTIFY);

pCharacteristic2 = pService->createCharacteristic("331F1572-8A00-9A28-CBE1-E1D4212D53EB",
         NIMBLE_PROPERTY::WRITE_NR);
pService->start();

NimBLEAdvertising* pAdvertising = NimBLEDevice::getAdvertising();

pAdvertising->addServiceUUID(pService->getUUID());
pAdvertising->setScanResponse(true);
pAdvertising->start();

}
void reset()
{
}
void loop() {
//FLASH LED IF 1 SECOND HAS PASSED
{
if (deviceConnected == false){
if(ledState == LOW){
ledState = HIGH;
}
else{
ledState = LOW;
digitalWrite(ledPin, ledState);
Serial.println(ledState);
delay(1000);
}
}
else{
ledState = HIGH;
digitalWrite(ledPin, ledState);
Serial.println(ledState);
pCharacteristic->setValue("3.6@");pCharacteristic->notify(); delay(2500);
pCharacteristic->setValue("5.6@");pCharacteristic->notify(); delay(2500);
}
}
}`

setValue("5.6@")

Try this by wrapping the value in a std::string construction.
setValue(std::string("5.6@"));

perfect, thanks for the assist.

You're welcome. In the future this will not be needed as I have created a new class for handling values.

New class implemented in master branch. Closing this now as resolved.


Fix duplicate brief location options

Matching location options generate an invalid schema, since we set
uniqueItems on the checkboxes property.
Copying the location list from service questions.

:+1:

This is also fixed in #189...


DNSPolicy is ClusterFirst but should be ClusterFirstWithHostNet

Bug report

General Information

Cilium version 1.9.9
AWS EKS AMI 1.19.6-20210720
Kubernetes 1.20 and 1.19 (haven't tried other versions)
Link to relevant artifacts (policies, deployments scripts, ...)
Generate and upload a system zip:

curl -sLO https://git.io/cilium-sysdump-latest.zip && python cilium-sysdump-latest.zip

How to reproduce the issue
I was using a kubernetes 1.20 cluster provisioned with EKS, with cilium set up in aws-vpc-cni chaining mode when I came across this issue. I haven't tried with another setup.

Install cilium using the helm chart, with etcd.managed = true and etcd.k8sService = true. This installs the cilium agent with dnsPolicy = ClusterFirst.
Run kubectl exec -ti -n cilium-system ds/cilium -- cilium kvstore get --recursive cilium/state/nodes/v1/. This will fail with the error Error while dialing dial tcp: lookup cilium-etcd-client.cilium-system.svc on <IP_ADDRESS>:53: no such host
Edit the cilium agent daemonset to have dnsPolicy = ClusterFirstWithHostNet
Run kubectl exec -ti -n cilium-system ds/cilium -- cilium kvstore get --recursive cilium/state/nodes/v1/ again. This time it should succeed.

Looking at the DNS section of the kubernetes docs also indicates that this should be ClusterFirstWithHostNet, as the cilium agent has HostNetwork = true

I started digging into this, because I thought it would be an easy fix, but now I'm second guessing.
It looks like this commit deliberately set the DNS to the kubelet default (ClusterFirst in this case) to avoid a dependency on CoreDNS being available for Cilium to run. In this case it means setting the ClusterFirstWithHostNet is not the desired fix.
https://github.com/cilium/cilium/commit/293fcd590474f7addfa6e080a82c0f430058a6cd#diff-f9c3b5155abfef2594685cb416c1bb4004e9d94870bb94abbd2014f5e8606044
I don't have immediate access to EKS, but assuming that the cluster is up and healthy and it's just the kvstore commands that don't work, I suspect the actual problem is that the CLI commands are not programmatically determining the etcd service IP like the daemon, operator, and preflight do.
https://github.com/cilium/cilium/search?q=initkvstore
Sorry, I'm beyond my ability at this point. Someone from the project (or least someone who knows the code better), will have to chime in from here, but I wanted to share my findings.

Thanks for looking! I'm also a bit out of my depth, as I'm not 100% sure what ClusterFirstWithHostNet changes in the networking - from the name it seems like it would make the same decisions as ClusterFirst, just routed differently. The k8s documentation isn't super clear on this.
I wasn't aware that the daemon, operator and preflight programmatically determine the etcd service IP - that would explain why the cilium agent itself was healthy, despite the CLI command failures.

I realize this is a bit late, but etcd-operator is no longer supported by the upstream team (see https://github.com/coreos/etcd-operator) and so we have deprecated the options to configure it in Cilium for a few releases now. I don't know if this is still relevant to you, but I would suggest following the latest Cilium documentation on deploying Cilium with dedicated etcd instances or even using CRD mode rather than using etcd.managed=true.

This issue has not seen any activity since it was marked stale. Closing. Feel free to re-open a new issue if it is still persisting. Thank you.


Flutter-web: add annotation/semantics to indicate button opens a pop-up (like aria-haspopup)

Use case
We have a collection of menu and non-menu buttons in a custom on-screen keyboard. Each button opens a grid of options. In the process of making a custom menu button and testing it on Flutter web, we noticed that the button provides no indication that activating it pops up a menu. On native web, we would supply an aria-haspopup attribute (with value "true", "menu", "list", "grid", etc.) on the button and the screen reader would surface that to the end user (e.g., by vocalizing, e.g., "has popup" after the menu button label). There doesn't seem to be an equivalent annotation in Flutter.

None of these Flutter UI semantics seem to apply.
Looking at the implementation of Flutter UI's PopupMenuButton, I couldn't find any way to indicate that the button will open a pop-up when activated.

Proposal
Please add some semantics analogous to the one on Web as typically for accessible UIs, it's considered an antipattern to add widget type or metadata ("has popup") to the label; instead, the screen reader does its own custom vocalization based on user verbosity settings.
cc: @goderbauer who suggested I file this here.

/cc @chunhtai @nbayati

We should also check if mobile operating systems have similar options - although I don't remember seeing them in the past...


I don't have a Cursor or textures folder in my content folder[BUG]

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.

What problem did you encounter?
I don't have a Cursor or textures folder in my content folder

if i accidently deleted it is there a way to get it back please try sending a textures content folder

You need to make the folders.
https://github.com/pizzaboxer/bloxstrap/wiki/Adding-custom-mods


Link to CloudCover episode 177 is broken

Under  Example using policy expressions the link to the video is broken. I think it should link to https://channel9.msdn.com/Shows/Cloud+Cover/Episode-177-More-API-Management-Features-with-Vlad-Vinogradsky

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 181c69b0-e136-426b-02f5-4a1a8f0f419d
Version Independent ID: 2e57c2f1-fc01-17c9-cd94-920b582e6aa2
Content: Azure API Management caching policies
Content Source: articles/api-management/api-management-caching-policies.md
Service: api-management
GitHub Login: @dlepow
Microsoft Alias: danlep

Hi @alanta, Thanks for your feedback! We will review and update this doc accordingly.

Thanks again for the feedback! I have submitted a PR to update the doc, the change is merged internally and will go-live in the public docs shortly.


  It capitalizes every word in street, street type, city, and unix prefix.  This also means roads that come in ALL CAPS will be standardized to 'All Caps'.

@schwern, your input please

I Think This Is A Great Idea.


NOTICE: BX has been rewritten. This repo is no longer maintained. (https://github.com/richrd/bx2)

Please use BX2 at https://github.com/richrd/bx2 .

Has BX/2 been abandoned entirely?