Cursor shows when focus is false in a disabled TextField

TextField display cursor after tap if himself is disabled.
Expected Result: don't show cursor if disabled
I copy code from https://stackoverflow.com/questions/44490622/disable-a-text-edit-field-in-flutter
Example:
class _MyHomePageState extends State<MyHomePage> {

  @override
  Widget build(BuildContext context) {
    ThemeData theme = Theme.of(context);

    return new Scaffold(
      appBar: new AppBar(),
      body: new FocusScope(
        node: new FocusScopeNode(),
        child: new TextField(
          decoration: const InputDecoration(labelText: "Server address"),
          style: theme.textTheme.subhead.copyWith(
            color: theme.disabledColor,
          ),
          controller: new TextEditingController(text: "http://example.com"),
        ),
      ),
    );
  }
}

Flutter Doctor
[✓] Flutter (on Mac OS X 10.13.1 17B1003, locale ru-RU, channel master)
    • Flutter at /Users/ik/Repositories/flutter
    • Framework revision 39c2521f29 (8 hours ago), 2017-12-19 16:59:35 -0800
    • Engine revision 1c46319677
    • Tools Dart version 1.25.0-dev.11.0
    • Engine Dart version 2.0.0-edge.102a3c8e728a5e92a913cace4553995f8421f3e5

[✓] Android toolchain - develop for Android devices (Android SDK 27.0.1)
    • Android SDK at /Users/ik/Library/Android/sdk
    • Android NDK at /Users/ik/Library/Android/sdk/ndk-bundle
    • Platform android-27, build-tools 27.0.1
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08)

[-] iOS toolchain - develop for iOS devices (Xcode 9.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 9.2, Build version 9C40b
    ✗ libimobiledevice and ideviceinstaller are not installed. To install, run:
        brew install --HEAD libimobiledevice
        brew install ideviceinstaller
    ✗ ios-deploy not installed. To install:
        brew install ios-deploy
    • CocoaPods version 1.3.1

[✓] Android Studio
    • Android Studio at /Applications/Android Studio 3.0 Preview.app/Contents
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b01)

[✓] Android Studio (version 3.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08)

[✓] IntelliJ IDEA Community Edition (version 2017.2.5)
    • Flutter plugin version 20.0.2
    • Dart plugin version 172.4343.25

[✓] Connected devices
    • Android SDK built for x86 • emulator-5554 • android-x86 • Android 4.4.2 (API 19) (emulator)

There is a work around to achieve the same, hope this might help some one.
Create AlwaysDisabledFocusNode and pass it to the focusNode property of a TextField.
class AlwaysDisabledFocusNode extends FocusNode {
  @override
  bool get hasFocus => false;
}

then
new TextField(
    focusNode: new AlwaysDisabledFocusNode(),
    ...
    ...
)

Issue still exist

flutter doctor -v
[✓] Flutter (Channel dev, v1.18.0-6.0.pre, on Mac OS X 10.15.4 19E287, locale
    en-GB)
    • Flutter version 1.18.0-6.0.pre at /Users/taha/Code/flutter_dev
    • Framework revision 84c84fb249 (3 days ago), 2020-04-20 21:35:01 -0400
    • Engine revision 2bde4f0ae4
    • Dart version 2.9.0 (build 2.9.0-1.0.dev a12c36dd97)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /Users/taha/Code/sdk
    • Platform android-29, build-tools 29.0.3
    • ANDROID_HOME = /Users/taha/Code/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_212-release-1586-b4-5784211)
    • All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 11.4.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.4.1, Build version 11E503a
    • CocoaPods version 1.9.1
[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 3.6)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 45.1.1
    • Dart plugin version 192.7761
    • Java version OpenJDK Runtime Environment (build
      1.8.0_212-release-1586-b4-5784211)
[✓] VS Code (version 1.44.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.9.1
[✓] Connected device (4 available)
    • Android SDK built for x86 • emulator-5554 • android-x86    • Android 10
      (API 29) (emulator)
    • macOS                     • macOS         • darwin-x64     • Mac OS X
      10.15.4 19E287
    • Chrome                    • chrome        • web-javascript • Google Chrome
      81.0.4044.122
    • Web Server                • web-server    • web-javascript • Flutter Tools
• No issues found!

@TahaTesser I would like to take this. But I'm unable to reproduce it. I copy/pasted the code and is working fine

Hi @pedromassango
I tried to reproduce with same steps as before and i also wasn't able to reproduce the issue even on stable, i remember it did has issue before before but not right now

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

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Material App',
      home: Home(),
    );
  }
}

class Home extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    ThemeData theme = Theme.of(context);

    return new Scaffold(
      appBar: new AppBar(),
      body: new FocusScope(
        node: new FocusScopeNode(),
        child: new TextField(
          decoration: const InputDecoration(labelText: "Server address"),
          style: theme.textTheme.subhead.copyWith(
            color: theme.disabledColor,
          ),
          controller: new TextEditingController(text: "http://example.com"),
        ),
      ),
    );
  }
}

flutter doctor -v
[✓] Flutter (Channel dev, 1.18.0-13.0.pre, on Mac OS X 10.15.4 19E287, locale
    en-GB)
    • Flutter version 1.18.0-13.0.pre at /Users/tahatesser/Code/flutter_dev
    • Framework revision 8fbfe1cfbf (35 hours ago), 2020-05-06 17:36:01 -0700
    • Engine revision d6aa099de7
    • Dart version 2.9.0 (build 2.9.0-5.0.dev 4da5b40fb6)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /Users/tahatesser/Code/SDK
    • Platform android-29, build-tools 29.0.3
    • ANDROID_HOME = /Users/tahatesser/Code/SDK
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_212-release-1586-b4-5784211)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.4.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.4.1, Build version 11E503a
    • CocoaPods version 1.9.1

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

[✓] Android Studio (version 3.6)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 45.1.1
    • Dart plugin version 192.7761
    • Java version OpenJDK Runtime Environment (build
      1.8.0_212-release-1586-b4-5784211)

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

[✓] Connected device (4 available)
    • SM M305F   • 32003c30dc19668f • android-arm64  • Android 10 (API 29)
    • macOS      • macOS            • darwin-x64     • Mac OS X 10.15.4 19E287
    • Web Server • web-server       • web-javascript • Flutter Tools
    • Chrome     • chrome           • web-javascript • Google Chrome
      81.0.4044.138

• No issues found!

Thank you for point it out


Erase by swap in filter.

From O(N^2) to O(N) but lost the order of elements (which we don't need in the modified executor in fact).

Emmm, we need implement the move constructor for logicalrows.

Emmm, we need implement the move constructor for logicalrows.


[BUG]: Error 4XX - 5XX Client has disconnected from local server

Issue/Experience
I have an error when entering any course. I followed all the steps and even run again from scratch and nothing.
I also checked the docker cache and cleaned.
Output of running node tooling/camper-info.js from the workspace root
root@4bb3d0f8b194:/workspace/web3-curriculum# cd . && NODE_ENV=production node ./.freeCodeCamp/tooling/server.js
🔵 INFO:  2022-10-27 00:03:22 Listening on port 8080
🔵 INFO:  2022-10-27 00:03:24 Watching for file changes on /workspace/web3-curriculum
🔵 INFO:  2022-10-27 00:03:32 Watching for file changes on /workspace/web3-curriculum
file:///workspace/web3-curriculum/.freeCodeCamp/tooling/parser.js:200
const mat = lesson.match(
^
TypeError: Cannot read properties of undefined (reading 'match')
at parseMarker (file:///workspace/web3-curriculum/.freeCodeCamp/tooling/parser.js:200:22)
at getLessonDescription (file:///workspace/web3-curriculum/.freeCodeCamp/tooling/parser.js:62:23)
at runLesson (file:///workspace/web3-curriculum/.freeCodeCamp/tooling/lesson.js:35:23)
at async FSWatcher. (file:///workspace/web3-curriculum/.freeCodeCamp/tooling/hot-reload.js:47:7)
Node.js v18.12.0

Also the camper info
🔵 INFO:   Project:  build-a-video-game-marketplace-blockchain
🔵 INFO:   Lesson Number:  1
🔵 INFO:   Curriculum Version:  0.1.1
🔵 INFO:   freeCodeCamp - Courses<EMAIL_ADDRESS>🔵 INFO:   Commit:  abb0cea chore(0.1.1): update freecodecamp-os to 1.6.5 (#63)
🔵 INFO:   OS Info:
Architecture: x64
Platform: linux
Release: <IP_ADDRESS>-microsoft-standard-WSL2
Type: Linux

Hello there,
I am unable to reproduce any issue with this curriculum.
Would you mind also running: node tooling/camper-info.js --history --directory and sharing the output.

Here is the output
root@cfe4c9fdfe28:/workspace/web3-curriculum# node tooling/camper-info.js --history --directory
🔵 INFO:   Project:  build-a-video-game-marketplace-blockchain
🔵 INFO:   Lesson Number:  1
🔵 INFO:   Curriculum Version:  0.1.1
🔵 INFO:   freeCodeCamp - Courses<EMAIL_ADDRESS>🔵 INFO:   Commit:  abb0cea chore(0.1.1): update freecodecamp-os to 1.6.5 (#63)
🔵 INFO:   OS Info:
Architecture: x64
Platform: linux
Release: <IP_ADDRESS>-microsoft-standard-WSL2
Type: Linux
🔵 INFO:   Command History:
🔵 INFO:   ||-- build-a-video-game-marketplace-blockchain
🔵 INFO:   |  |-- build-a-video-game-marketplace-blockchain/.tests
🔵 INFO:   |    |-- build-a-video-game-marketplace-blockchain/.tests/test1
🔵 INFO:   |      |-- .gitkeep
🔵 INFO:   |    |-- build-a-video-game-marketplace-blockchain/.tests/test10
🔵 INFO:   |      |-- .gitkeep
🔵 INFO:   |    |-- build-a-video-game-marketplace-blockchain/.tests/test2
🔵 INFO:   |      |-- .gitkeep
🔵 INFO:   |    |-- build-a-video-game-marketplace-blockchain/.tests/test3
🔵 INFO:   |      |-- .gitkeep
🔵 INFO:   |    |-- build-a-video-game-marketplace-blockchain/.tests/test4
🔵 INFO:   |      |-- .gitkeep
🔵 INFO:   |    |-- build-a-video-game-marketplace-blockchain/.tests/test5
🔵 INFO:   |      |-- .gitkeep
🔵 INFO:   |    |-- build-a-video-game-marketplace-blockchain/.tests/test6
🔵 INFO:   |      |-- .gitkeep
🔵 INFO:   |    |-- build-a-video-game-marketplace-blockchain/.tests/test7
🔵 INFO:   |      |-- .gitkeep
🔵 INFO:   |    |-- build-a-video-game-marketplace-blockchain/.tests/test8
🔵 INFO:   |      |-- .gitkeep
🔵 INFO:   |    |-- build-a-video-game-marketplace-blockchain/.tests/test9
🔵 INFO:   |      |-- .gitkeep
🔵 INFO:   |  |-- blockchain-helpers.js
🔵 INFO:   |  |-- blockchain.json
🔵 INFO:   |  |-- buy-item.js
🔵 INFO:   |  |-- example-blockchain.json
🔵 INFO:   |  |-- example-transactions.json
🔵 INFO:   |  |-- example-wallets.json
🔵 INFO:   |  |-- generate-wallet.js
🔵 INFO:   |  |-- get-address-info.js
🔵 INFO:   |  |-- gift-items.js
🔵 INFO:   |  |-- init-blockchain.js
🔵 INFO:   |  |-- items.json
🔵 INFO:   |  |-- mine-block.js
🔵 INFO:   |  |-- sell-item.js
🔵 INFO:   |  |-- transactions.json
🔵 INFO:   |  |-- wallets.json

t's not a "user" error, it's a client error; but yeah, that's a lousy label. The labels reflect the client-server architectural constraint, but it might be better to use labels that point more directly at the contents of the request, rather than the client (or the user).
In practice, it's a client error for the same reason that 404 is a client error; it is specifically calling attention to the target resource of the HTTP request.
In the context of the web, it does make some (imperfect) sense - the client followed a broken link (which could be a consequence of the server's current representations, but might also come from following links in stale representations, following stale bookmarks, a spelling error in a representation provided by a different server, etc).

I too am experiencing the same issue. Please help us out.
root@74fae7338539:/workspace/web3-curriculum# cd . && NODE_ENV=production node ./.freeCodeCamp/tooling/server.js
🔵 INFO:  2022-11-03 01:54:42 Listening on port 8080
🔵 INFO:  2022-11-03 01:54:46 Watching for file changes on /workspace/web3-curriculum
file:///workspace/web3-curriculum/.freeCodeCamp/tooling/parser.js:200
const mat = lesson.match(
^
TypeError: Cannot read properties of undefined (reading 'match')
at parseMarker (file:///workspace/web3-curriculum/.freeCodeCamp/tooling/parser.js:200:22)
at getLessonDescription (file:///workspace/web3-curriculum/.freeCodeCamp/tooling/parser.js:62:23)
at runLesson (file:///workspace/web3-curriculum/.freeCodeCamp/tooling/lesson.js:35:23)
Node.js v18.12.0
root@74fae7338539:/workspace/web3-curriculum# node tooling/camper-info.js --history --directory
🔵 INFO:   Project:  build-a-video-game-marketplace-blockchain
🔵 INFO:   Lesson Number:  1
🔵 INFO:   Curriculum Version:  0.1.1
🔵 INFO:   freeCodeCamp - Courses<EMAIL_ADDRESS>🔵 INFO:   Commit:  abb0cea chore(0.1.1): update freecodecamp-os to 1.6.5 (#63)
🔵 INFO:   OS Info:
Architecture: x64
Platform: linux
Release: <IP_ADDRESS>-microsoft-standard-WSL2
Type: Linux
🔵 INFO:   Command History:
🔵 INFO:   ||-- build-a-video-game-marketplace-blockchain
🔵 INFO:   |  |-- build-a-video-game-marketplace-blockchain/.tests
🔵 INFO:   |    |-- build-a-video-game-marketplace-blockchain/.tests/test1
🔵 INFO:   |      |-- .gitkeep
🔵 INFO:   |    |-- build-a-video-game-marketplace-blockchain/.tests/test10
🔵 INFO:   |      |-- .gitkeep
🔵 INFO:   |    |-- build-a-video-game-marketplace-blockchain/.tests/test2
🔵 INFO:   |      |-- .gitkeep
🔵 INFO:   |    |-- build-a-video-game-marketplace-blockchain/.tests/test3
🔵 INFO:   |      |-- .gitkeep
🔵 INFO:   |    |-- build-a-video-game-marketplace-blockchain/.tests/test4
🔵 INFO:   |      |-- .gitkeep
🔵 INFO:   |    |-- build-a-video-game-marketplace-blockchain/.tests/test5
🔵 INFO:   |      |-- .gitkeep
🔵 INFO:   |    |-- build-a-video-game-marketplace-blockchain/.tests/test6
🔵 INFO:   |      |-- .gitkeep
🔵 INFO:   |    |-- build-a-video-game-marketplace-blockchain/.tests/test7
🔵 INFO:   |      |-- .gitkeep
🔵 INFO:   |    |-- build-a-video-game-marketplace-blockchain/.tests/test8
🔵 INFO:   |      |-- .gitkeep
🔵 INFO:   |    |-- build-a-video-game-marketplace-blockchain/.tests/test9
🔵 INFO:   |      |-- .gitkeep
🔵 INFO:   |  |-- blockchain-helpers.js
🔵 INFO:   |  |-- blockchain.json
🔵 INFO:   |  |-- buy-item.js
🔵 INFO:   |  |-- example-blockchain.json
🔵 INFO:   |  |-- example-transactions.json
🔵 INFO:   |  |-- example-wallets.json
🔵 INFO:   |  |-- generate-wallet.js
🔵 INFO:   |  |-- get-address-info.js
🔵 INFO:   |  |-- gift-items.js
🔵 INFO:   |  |-- init-blockchain.js
🔵 INFO:   |  |-- items.json
🔵 INFO:   |  |-- mine-block.js
🔵 INFO:   |  |-- sell-item.js
🔵 INFO:   |  |-- transactions.json
🔵 INFO:   |  |-- wallets.json
root@74fae7338539:/workspace/web3-curriculum#

@sathwic97
Thank you for the details. Unfortunately, I am unable to reproduce any issue.

You should be able to run freeCodeCamp: Run Course to load it back up and it should work.

Hello ! Please help . i'm just do any step and this put out a blank page with freeCodeCamp logo , and then it's have a error Error 4XX - 5XX Client has disconnected from local server like tittle , i'm try run freeCodeCamp: shutdown course  and freeCodeCamp: Run Course like tutorial but not thing happend . That make me more than a day loop with . Please help


Error message not properly displayed in Tailwind integration page

In https://docs.astro.build/en/guides/integrations-guide/tailwind/#class-does-not-exist-with-apply-directives, the error message looks fine in the markdown code and in the markdown preview on Github, but doesn't look correct I think in the rendered website https://docs.astro.build/en/guides/integrations-guide/tailwind/#class-does-not-exist-with-apply-directives.

Thanks for pointing this out @DjebbZ! @BryceRussell tackled this for us!  :partying_face:


[Communication] - All - Add Identifier suffix to all CommunicationIdentifiers

Is the underlying swagger file changed? If so, should that be updated? Also some of the automated tests are changed. Should the saved replay json file be updated?

@juancamilor FYI: When this PR is merged into the master, your branch for Preview3 may need to be rebased from master to pick up this change.

Is the underlying swagger file changed? If so, should that be updated? Also some of the automated tests are changed. Should the saved replay json files be updated?

The swagger file is not changed

CallingApplication also inherits from CommunicationIdentifier. Should that be renamed as well?
public class CallingApplication extends CommunicationIdentifier

@minnieliu / all, I wonder if it may be better to do all these changes in the current feature branch instead so the merging for GA (or before) get easier ? (@DominikMe  @JianpingChen  @danielgerlag )

CallingApplication also inherits from CommunicationIdentifier. Should that be renamed as well?
public class CallingApplication extends CommunicationIdentifier

JP, it is already renamed :):

CallingApplication also inherits from CommunicationIdentifier. Should that be renamed as well?
public class CallingApplication extends CommunicationIdentifier

JP, it is already renamed :):

Great! Sorry for missing that. I was scanning through "jump to" file list and missed it.
As Camilo is suggesting in SDK channel, it is probably better to merge this into AzureCommunication feature branch.

@juancamilor master is the source of truth. Feature branches are short-lived and need to rebase on master to get the latest changes. Happy to chat more.


EventPropertiesLayoutRenderer - Support Json Format

Guess it makes most sense when combined with #2208 (Or #2244)

Updated the docs, feel free to change.

Codecov Report

Merging #2241 into master will decrease coverage by <1%.
The diff coverage is 93%.

@@           Coverage Diff           @@
##           master   #2241    +/-   ##
=======================================
- Coverage      82%     82%   -<1%
=======================================
  Files         304     304
  Lines       21126   21312   +186
  Branches     2531    2570    +39
=======================================
+ Hits        17275   17393   +118
- Misses       3216    3263    +47
- Partials      635     656    +21


fix(security): addresses vulnerability identified by snyk

Jira Ticket
https://kajabi.atlassian.net/browse/SAGE-421
Description
there was a security concern with the previous lodash version we were using. Needed to upgrade @babel/preset-env
to resolve

@Kajabi/ux-devs I asked you for your review here due to the changes in this commit. I had to fix the lint errors caused by the previous commit to override path-parse

LGTM.


fix: httpErr always non-nil

Decalre  httpErr using httpErr := new(echo.HTTPError) will cause it to be non-nil, which make following codeif httpErr != nil always true and will always log a error attribute, so we should decalre  httpErr using var httpErr *echo.HTTPError .

@samber hi, do you have time to review this pr?

Thanks for the fix !


Query timestamp in append mode yields incorrect result

What type of bug is this?
Incorrect result
What subsystems are affected?
Standalone mode
Minimal reproduce step

Create table with append mode:

create table t (
    ts timestamp time index,
    host string primary key,
    not_pk string,
    val double,
) with (append_mode='true', 'compaction.type'='twcs','compaction.twcs.max_active_window_files'='8','compaction.twcs.max_inactive_window_files'='8');

Insert 9 rows and flush

insert into t values
    (0, 'a', '🌕', 1.0),
    (1, 'b', '🌖', 2.0),
    (1, 'a', '🌗', 3.0),
    (1, 'c', '🌘', 4.0),
    (2, 'a', '🌑', 5.0),
    (2, 'b', '🌒', 6.0),
    (2, 'a', '🌓', 7.0),
    (3, 'c', '🌔', 8.0),
    (3, 'd', '🌕', 9.0);

admin flush_table('t');

Insert another 9 rows and flush

insert into t values
    (10, 'a', '🌕', 1.0),
    (11, 'b', '🌖', 2.0),
    (11, 'a', '🌗', 3.0),
    (11, 'c', '🌘', 4.0),
    (12, 'a', '🌑', 5.0),
    (12, 'b', '🌒', 6.0),
    (12, 'a', '🌓', 7.0),
    (13, 'c', '🌔', 8.0),
    (13, 'd', '🌕', 9.0);
admin flush_table('t');

Then select num of total rows and all timestamps

select count(ts) from t;

select ts from t;

What did you expect to see?

select count(ts) from t should give 18 since 18 rows are written

+-------------+
| COUNT(t.ts) |
+-------------+
| 18          |
+-------------+

select ts from t should list all inserted timestamps

+-------------------------+
| ts                      |
+-------------------------+
| 1970-01-01T00:00:00     |
| 1970-01-01T00:00:00.001 |
| 1970-01-01T00:00:00.002 |
| 1970-01-01T00:00:00.002 |
| 1970-01-01T00:00:00.010 |
| 1970-01-01T00:00:00.011 |
| 1970-01-01T00:00:00.012 |
| 1970-01-01T00:00:00.012 |
| 1970-01-01T00:00:00.001 |
| 1970-01-01T00:00:00.002 |
| 1970-01-01T00:00:00.011 |
| 1970-01-01T00:00:00.012 |
| 1970-01-01T00:00:00.001 |
| 1970-01-01T00:00:00.003 |
| 1970-01-01T00:00:00.011 |
| 1970-01-01T00:00:00.013 |
| 1970-01-01T00:00:00.003 |
| 1970-01-01T00:00:00.013 |
+-------------------------+

What did you see instead?

select count(ts) from t gives 18:

+-------------+
| COUNT(t.ts) |
+-------------+
| 18          |
+-------------+

But select ts from t only returns 9 rows:

+----------------------------+
| ts                         |
+----------------------------+
| 1970-01-01 00:00:00.010000 |
| 1970-01-01 00:00:00.011000 |
| 1970-01-01 00:00:00.012000 |
| 1970-01-01 00:00:00.012000 |
| 1970-01-01 00:00:00.011000 |
| 1970-01-01 00:00:00.012000 |
| 1970-01-01 00:00:00.011000 |
| 1970-01-01 00:00:00.013000 |
| 1970-01-01 00:00:00.013000 |
+----------------------------+
9 rows in set (0.07 sec)

What operating system did you use?
NA
What version of GreptimeDB did you use?
0.9.2
Relevant log output and stack trace
No response

This bug appears since ac574b66ab35cd4706bca972ff1ea2b3494d1aee


data_ptr

Hi,
Many thanks for this library - I really appreciate your work here.
I am doing some high-throughput video processing and would love for the Tensor::data_ptr function to be exposed so I can do some GPU->GPU copy to create a new Tensor. Any plans to add/expose this in the near term?
Cheers,
Paul

Added a pull request.

Closing now that #164 has been merged, thanks again for the PR.


Webgui SSL import does not check on root certificate

ISSUE TYPE

Bug Report

COMPONENT NAME

UI

CLOUDSTACK VERSION

<IP_ADDRESS>

CONFIGURATION

N/A
OS / ENVIRONMENT

N/A
SUMMARY

Uploading an invalid root certificate doesn't error out.
STEPS TO REPRODUCE

Using the portal -> Infrastructure -> Summary -> SSL Certificates.

Upload a root certificate but do not paste the:
-----END CERTIFICATE----

Fill in the rest correctly like the certificate and key.
Then Submit it.

It will try reloading the secondary storage and console proxy but the console proxy will never have it's agent connected again without the correct root certificate.

EXPECTED RESULTS

To get an error the root certificate is not correct.

ACTUAL RESULTS

It went through without errors, but mentioned an incomplete certfificate in the management log when the consoleproxy agent tries to connect.

Apr 29 12:25:48 v-144-VM _run.sh[58945]: 12:25:48,249 ERROR ConsoleProxySecureServerFactoryImpl:104 - java.lang.NullPointerException: null SSLContext
Apr 29 12:25:48 v-144-VM _run.sh[58945]: 12:25:48,227  INFO ConsoleProxySecureServerFactoryImpl:51 - No certificates passed, recheck global configuration and certificates
Apr 29 12:25:48 v-144-VM _run.sh[58945]: 12:25:48,227  INFO ConsoleProxySecureServerFactoryImpl:47 - Start initializing SSL
Apr 29 12:25:48 v-144-VM _run.sh[58945]: 12:25:48,226  INFO ConsoleProxySecureServerFactoryImpl:51 - No certificates passed, recheck global configuration and certificates
Apr 29 12:25:48 v-144-VM _run.sh[58945]: 12:25:48,225  INFO ConsoleProxySecureServerFactoryImpl:47 - Start initializing SSL
Apr 29 12:25:48 v-144-VM _run.sh[58945]: 12:25:48,222  INFO ConsoleProxyResource:104 - Receive ReadyCommand, response with ReadyAnswer

Hi Daan,
Afters hours I found out that it's certificate was incomplete, after uploading the correct one it started working, so uploading the correct one works as it should.

Thanks for sharing @pcfriek1987 there isn’t a functional issue though the certificate validation could have been improved.

@harikrishna-patnala For me it was only the root certificate, the other 2 we're already correct. Only the root certificate had the end certificate part missing.

Thanks @pcfriek1987 added a check for the root certificate in my PR, that should fix the issue.

fixed in #9255


fix a bug when warnings appear in the high version of swoole

version:
swoole 4.1
Message:
PHP Warning:  Declaration of Swoft\Testing\SwooleResponse::status($code) should be compatible with Swoole\Http\Response::status($http_code, $reason = NULL)

所有组件均由 swoft-component 来进行分发，请向 swoft-component 项目提交 PR


Child component responds to clicks

After setting the subcomponent click event, the ideal situation is that clicking the subcomponent can respond. In fact, the scrolling is temporarily suspended and cannot respond to clicks. You must click again before it resumes scrolling to respond correctly. Is there any way to improve it?

Hi @JGNS
Please check new version marqueer and see scrollablePointerIgnoring.
thanks for feedback.

Hi @JGNS
Please check new version marqueer and see scrollablePointerIgnoring. thanks for feedback.

It works perfectly and is better than any other similar ! Thanks!


How can a user create new icons?

Hi Jake,
I would like to make a new object with the mask, icon, and color properties.
Did you use Sketch? It seems that what I get with Photoshop does not play too nicely.
I would like to create an add a Reddit icon to the package.
Thanks for any tips.

Please add a CONTRIBUTING.md or augment README.md to outlines how to add icons. It seems like it involves adding keys to the exports in lib/_networks-db.js but beyond that I'm kinda lost.

Yes, if someone wants to add this, great.  There have been a few recent icon additions.  In the past, however, people have stumbled over this.  I haven't sourced any in a long time, and how to match the original set is lost to me at the moment.  If someone wants to research and add this to the readme or other docs as suggested, I'd welcome it.


Fix the PCB outline of chocolate

Could you describe this change?

Sorry, I updated the description

LGTM 👍


Add a label named needs-documentation

I suggest we add a label named needs-documentation in a similar way as we have a label named needs-changelog.

@nbp as collaborators on github, we can add our own labels. I just created one called needs-documentation. Feel free to change the color :smile:

Oh, I did not noticed that I had the right to do that.
Thanks.


test the checking logic of whether segment preloading is enabled for upsert table

Add a test on the checking logic of whether segment preloading is enabled for upsert table.
There was a bug in 1.2.0 that preloading was not disabled when there was no threads for preloading, as raised up by issue: https://github.com/apache/pinot/issues/14067. The bug got fixed by https://github.com/apache/pinot/pull/13747 but it's better to add a test case to keep checking on this.

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

Project coverage is 0.00%. Comparing base (59551e4) to head (27ed0e5).
Report is 1090 commits behind head on master.

:exclamation:  There is a different number of reports uploaded between BASE (59551e4) and HEAD (27ed0e5). Click for more details.
HEAD has 53 uploads less than BASE

Flag
BASE (59551e4)
HEAD (27ed0e5)

integration
7
1

integration2
3
1

temurin
12
1

java-21
7
1

skip-bytebuffers-true
3
1

skip-bytebuffers-false
7
0

unittests
5
0

unittests1
2
0

java-11
5
0

unittests2
3
0

integration1
2
0

custom-integration1
2
0

Additional details and impacted files
@@              Coverage Diff              @@
##             master   #14085       +/-   ##
=============================================
- Coverage     61.75%    0.00%   -61.76%
=============================================
  Files          2436        3     -2433
  Lines        133233        6   -133227
  Branches      20636        0    -20636
=============================================
- Hits          82274        0    -82274
+ Misses        44911        6    -44905
+ Partials       6048        0     -6048

Flag
Coverage Δ

custom-integration1
?

integration
0.00% <ø> (-0.01%)
:arrow_down:

integration1
?

integration2
0.00% <ø> (ø)

java-11
?

java-21
0.00% <ø> (-61.63%)
:arrow_down:

skip-bytebuffers-false
?

skip-bytebuffers-true
0.00% <ø> (-27.73%)
:arrow_down:

temurin
0.00% <ø> (-61.76%)
:arrow_down:

unittests
?

unittests1
?

unittests2
?

Flags with carried forward coverage won't be shown. Click here to find out more.

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


Add links to source code d3-brush

https://github.com/d3/d3/issues/2936

Let’s use “Source” instead of “Source Code”.
You’ve linked to https://github.com/Devinsuit/d3-brush rather than https://github.com/d3/d3-brush. I’ll fix this on merge.


don't throw an error if there is an extra "," at the end of summon NBT

This is also how Minecraft works ;D


Bug: cannot drop the currently open database

Versions

Node: 18.17.0
NPM: 9.6.7
Yarn: 1.22.19
OS: Linux 5.15 Zorin OS 16.2 (based on Ubuntu 20.04)
typeorm-extension: 2.8.1 (also same issue on 3.0.0-alpha.9)

Reproduction

Additional Details
This is used withing a NestJS project, where the relevant database definitions, schemas, seeding, etc... are defined in their own library
these are my relevant package.json scripts
{
	// ...
	"typeorm:cli": "ts-node -r tsconfig-paths/register ./node_modules/typeorm/cli",
	"typeorm-extension:cli": "ts-node -r tsconfig-paths/register ./node_modules/typeorm-extension/bin/cli.cjs -d libs/database/src/seeding/datasource.ts --initialDatabase dummydb",
	"db:create": "npm run typeorm-extension:cli db:create",
	"db:drop": "npm run typeorm-extension:cli db:drop",
	"db:seed": "npm run typeorm-extension:cli seed",
	// ...
}

Steps to reproduce
example data-source.ts
export const typeOrmDataSourceoptions: DataSourceOptions = {
    type: "postgres",

    host: "<IP_ADDRESS>",
    port: 5432,
    username: "admin",
    password: "dummypass",
    database: "dummydb",

    entities: [
      // entities ...
    ],

    synchronize: false,
    logging: true,
    useUTC: true,

    migrations: [__dirname + "/../migrations/*.{js,ts}"],
};

run the command
npm run db:drop

What is Expected?
The selected database to be dropped with no error
What is actually happening?
The command fails with this error
WARN  Failed to drop database.

ERROR  cannot drop the currently open database

 at Parser.parseErrorMessage (node_modules/.pnpm/pg-protocol@1.6.0/node_modules/pg-protocol/src/parser.ts:369:69)
 at Parser.handlePacket (node_modules/.pnpm/pg-protocol@1.6.0/node_modules/pg-protocol/src/parser.ts:188:21)
 at Parser.parse (node_modules/.pnpm/pg-protocol@1.6.0/node_modules/pg-protocol/src/parser.ts:103:30)
 at Socket.<anonymous> (node_modules/.pnpm/pg-protocol@1.6.0/node_modules/pg-protocol/src/index.ts:7:48)
 at Socket.emit (node:events:513:28)
 at Socket.emit (node:domain:489:12)
 at addChunk (node:internal/streams/readable:315:12)
 at readableAddChunk (node:internal/streams/readable:289:9)
 at Socket.Readable.push (node:internal/streams/readable:228:10)
 at TCP.onStreamRead (node:internal/stream_base_commons:190:23)

Proposed solution
The postgres database is always present by default in postgres, before connecting, change the initialDatabase to postgres and from there drop the desired database in context.database in here
https://github.com/tada5hi/typeorm-extension/blob/0d9bec3b0af2ba36d233bdee493c4543e9e80eb5/src/database/driver/postgres.ts#L114
I have tested this and it worked.
-    const connection = await createSimplePostgresConnection(driver, options, context);
+    const connection = await createSimplePostgresConnection(driver, options, { ...context, initialDatabase: "postgres" });

Shouldn't you also be able to specify the postgres database as initial database via cli? The problem I see in setting the postgres database as the default initial database is that the user (admin in your case) may not have permissions to connect to it.

I didn't take that into account, you have a good point, after trying with --initialDatabase postgres everything seems to work perfectly.
This doesn't need fixing, I'm closing this issue


Machine win-12 is dead.

Is there an existing issue for this?

[X] I have searched the existing infra issues

Type of Request
infra task
Infrastructure Environment
LUCI, Github, Cocoon scheduler, Autosubmit, etc...
What is happening?
Machine win-12 is dead.

Steps to reproduce
Step 1:
Step 2:
..
Step n:
Expected results
I expect to see X when Y is finished.

win-12 is back online and running, network adapter was disabled by itself due to lack on activities.


Concatenation of character<> into string<> missed if in subexpression

A regex like:
abcd

appears to generate string<a,b,c,d>
but*
abcd.?

generates
sequence<character<a>,character<b>,character<c>,character<d>,optional<any>>
as opposed to:
sequence<string<a,b,c,d>,optional<any>>
Bit of a trip up as I was trying to integrate #143 with a simple check to see if string<> was the first term.

Haven't updated yet, just curious, does this handle strings nested further in other sequence like things? EG: (((abc)def)ghi)?
Here's what I'm up to, I'm trying to combine some pattern analysis such that I could transform the above into something "StringLike". The idea being given something that is a series of CharacterLike atoms and a random accesss iterator we can do 1 bounds check, then massive unrolled series of character comparisons (nothing dependent on one another). Things like ()'s can have their ) end markers interleaved w/ the unrolled character comparisons or left at the end because StringLike must have matched for any of the other matches.

Did this with characters, but obviously the comparisons there could have just as easily been a set or negated set.

You should try it. About the strings, I'm not sure, for some iterators calculating the distance is costly (namely utf8_iterator), and doing *(current+N)... unpack would be costly.

Does the utf8 iterator work assuming the compressed format? If so then the bounds check could be based instead on the expected byte size instead...I think? And then the +'s could be increments as before...or I guess byte indexs. Assuming it's all a contiguous array anyway.

Don't know what you mean with the compressed format. Currently string<S...> can be used to compare agains all char types or even UTF-8 codepoint iterator, the comparison is always happening against UTF-32 code internally.

I guess the question is whether it'd be safe to assume that given a utf8 string if it'd be safe to use byte indexs / ignore the utf8 iterator temporarily.

@hanickadot I think I've worked out how to manage this with utf8, assuming tests pass. Probably went the longer way around since you likely have a utf8 encoding utility somewhere. I went about constructing a char8_t buffer from the string<String...> so that I could do the equivalent of the above. Should also save on some iterator++'s as well. Crossing fingers tests pass. Anyway, happy holidays!
https://github.com/hanickadot/compile-time-regular-expressions/pull/159


[web]: Canvaskit missing emojis for some glyphs

The following emojis are missing from canvaskit's Noto Color Emoji and use plain text:
☹,☠,❤,❣,✋,✌,☝,✊,✍ ⛷⛹♂⛹♀🕸☘⛰⛪⛲⛺⛽⛵⛴✈♨⌛⛩⏳⌚⏰⏱⏲☀☁⛅⛈☂⛱❄☃⛄☄✨⛳⛸⚽♠♥♣♦♟⛑✏✒✂⛏⚒✉⚔⚖⛓⚗⚰⚱⚠⛔☢↗➡↘↙↖↕↔↩↪⚛✡☸☯✝☦☪☮☮⏩⏯⏪⏮⏫⏬⏏⚧✖➕➖➗♾‼❓❔❕❗〰♻⚜✅☑✔❌❎➰➿✳✴❇⚫⚪▪
Steps to Reproduce

Create a new Flutter project.
Create a text widget and paste the emojis into text.
Run on Flutter web (canvaskit).
See which emojis are missing.

Demo gist: https://gist.github.com/wilsonowilson/75db747ae66d9f39f51ccb92316f44cd
flutter doctor -v
[✓] Flutter (Channel master, 2.4.0-1.0.pre.87, on macOS 11.4 20F71 darwin-arm, locale en-NG)
    • Flutter version 2.4.0-1.0.pre.87 at /Users/wilson/Developer/SDK/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 403d90330c (3 days ago), 2021-07-06 09:06:02 -0400
    • Engine revision 4c7467bb5a
    • Dart version 2.14.0 (build 2.14.0-282.0.dev)

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

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 13.0, Build version 13A5154h
    • CocoaPods version 1.10.1

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

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

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

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-arm64   • macOS 11.4 20F71 darwin-arm
    • Chrome (web)    • chrome • web-javascript • Google Chrome 91.0.4472.114

! Doctor found issues in 2 categories.

With canvaskit rendering:

And shows below message in console:
Could not find a set of Noto fonts to display all missing characters. Please add a font asset for the missing characters. See: https://flutter.dev/docs/cookbook/design/fonts

With html rendering:

Works as above (# 2) on mobile and desktop.

 flutter doctor -v
[✓] Flutter (Channel stable, 2.2.3, on Mac OS X 10.15.4 19E2269 darwin-x64,
    locale en-GB)
    • Flutter version 2.2.3 at /Users/dhs/documents/fluttersdk/flutter
    • Framework revision f4abaa0735 (4 days ago), 2021-07-01 12:46:11 -0700
    • Engine revision 241c87ad80
    • Dart version 2.13.4

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.1

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

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

[✓] Connected device (4 available)
    • SM G975F (mobile) • RZ8M802WY0X • android-arm64 • Android 10 (API 29)
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729 • ios
      • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                               •
      web-javascript • Google Chrome 91.0.4472.114

• No issues found!


[WIP] Add Babel 7

WIP

Closing this for a cleaner PR that doesn't apply prettier to refactored-out rewire code


Phantom run on android?

Is there any Option to run the Phantom application on Android?

no, but I think the Linux version can run on termux app on android but idk

@D4RKT33N There is no native Android app for Phantom as of yet, although I do hope to possibly work on this one day. For now, you can run it in Termux as @prestige2 said if you refer to this issue.

Is there any Option to run the Phantom application on Android?

Yes there is a app called "MC Server Connector" on android play store. It does the same thing anad even has a nice gui


Ignores ignore options

I cant seem to get it to ignore certain types of errors.  Here is my grunt task:
   spell: {
      all: {
        src: ['alpha/features/*'],
        options: {
          ignore: ['cliches', 'complex expression', 'passive voice']
        }
      }
    },

However, when I run the test, it still reports these types of errors.

Also not seeing ignore being used. Here is my task:
    spell: {
      files: ['build/text-only/**'],
      options: {
        ignore: grunt.file.readJSON('standards-array.json')
      }
    },

Oh, I see ignored is not for stop words, it is for the type of check to ignore.


Add cluster support, different software provisioning

allow cluster deployments on AWS

create and use a non-default VPC
allow to enable EBS encryption (fixes #8)
a cluster section has been added to the config file.  Some keywords
have changed (hostname -> controller_hostname).  See also a new
"Cluster" section in the AWS documentation

use the CML .pkg software distribution file instead of multiple .deb packages
(this is a breaking change -- you need to change the configuration and upload
the .pkg to cloud storage instead of the .deb. deb -> software
the PaTTY customization script has been removed.  PaTTY is included in the
.pkg. Its installation and configuration is now controlled by a new keyword
enable_patty in the common section of the config.
add a common script file which has currently a function to determine whether
the instance is a controller or not.  This makes it easier to install only
controller relevant elements and omit them on computes (usable within the
main cml.sh file as well as in the customization scripts).
explicitly disable bridge0 and also disable the virl2-bridge-setup.py script
by inserting exit() as the 2nd line.  This will ensure that service restarts
will not try to re-create the bridge0 interface.

I'll consolidate the typos and will test the Azure cloud-init/netplan interaction.  Also testing if I can add another ubuntu user to prevent the last cloud init module from failing (cosmetic...)

allow cluster deployments on AWS

this also now uses a non-default VPC (fixes No support for custom VPCs #9)

Hi @rschmied.  I wanted to clarify the request on No support for custom VPCs #9.  Deploying to an available (i.e. existing) custom VPC was the original request, as AWS enterprise users will likely have VPC compliance mechanisms in place and preassigned, in-use IP space they'll need to fit this into.
Not objecting to this change going in as-is, but again, just wanted to clarify the original request if this pull request is the proposed fix.

Thanks @orndor for the clarification. We’ll adjust. Either the “fixes” part or the code.

@amieczko-te Iast commit regarding network configuration seems to work OK for me, both on Azure as well as on AWS.  Removing the custom 00-cml2-base.yaml applies the configuration OK to the "physical" NIC.  As we're not using bridge0 in cloud, it's safe to remove it, afaict.


Email Log Page - remove checkobox option if it is not used in future

Describe the bug

https://www.berrycast.com/conversations/cd5711a2-7e94-5cff-978a-5e9fa8575732


Mining System

Summarize your proposal
Every Life mod has a Mining System, therefore we need one too
Describe the solution you'd like
The goal is to have an interaction option that is generically defined.
It should take the "result" resource as a parameter, so it can be reused for every kind of farming by just changing the reward.
The size of the reward and the time to farm should be parameters too.
Describe alternatives you've considered
Required Items and or Skills can be implemented at a later stage

I suggest that it's made slightly more interactive, For example, Altis life you just go to a location and action key. I think a better solution for reforger would be to go to a location and farm it from an actual rock.  Something like this.

The only problem ive ran into when trying to implement is how to delay a user from doing the same action again (want to force them to atleast somewhat more around to different "nodes")

@thebonbon yes exactly. These fall under the advanced mining category, so you should need a vehicle to be able to transport more than 2-5 ores.  The weight and volume would indeed be the way to go about this. Volume ensures that you can carry it in anything but a backpack on the player. Remember you need to be able to carry a tiny bit while mining so you can put it in the vehicle that might be parked a few meters away :)

Also take a look at #92 as @Kanf has already made ores

I suggest that it's made slightly more interactive, For example, Altis life you just go to a location and action key. I think a better solution for reforger would be to go to a location and farm it from an actual rock. Something like this.
The only problem ive ran into when trying to implement is how to delay a user from doing the same action again (want to force them to atleast somewhat more around to different "nodes")

Possibly you could remove(hide) the prefab after its used for a set amount of time.

Just tagging in here that @kanf is planning on making the pickaxe model & texture as well. Animations are still required though.


Unify Naming Structure for Telemetry Events

The naming conventions for telemetry across the different utilities is inconsistent. A unified structure will make it easier to track and organize events going forward.
Proposed Convention: Microsoft.PowerToys.[utility]_[event]
Ex:
Microsoft.PowerToys.SvgFileHandlerLoaded -> Microsoft.PowerToys.FileExplorer_SvgFileHandlerLoaded
Also, we should make sure [event] has a clear, easily understood label. I wouldn't know what the difference is between Microsoft.PowerToys.ImageResizer_Invoked and Microsoft.PowerToys.ImageResizer_InvokedRet as they're currently labeled without having to dig through the code.
Checklist:

[x] Color Picker (#10476)
[ ] FancyZones
[ ] File Explorer add-ons
[ ] Image Resizer
[ ] Keyboard Manager
[ ] Power Rename
[ ] PowerToys Run

[ ] PowerToys Run - Plugin Manager

[ ] Shortcut Guide
[ ] Runner
[ ] Installer

In 0.35 we added the functionality to allow to set the event name in C# projects and we used it for the Color Picker events.
In 0.37 we will apply it to the other modules.

@jaimecbernardo adding this to v0.53's release cycle along with https://github.com/microsoft/PowerToys/issues/10332.


Fix demo

Now the demo always works. (at least on my device)

What should be the main different of avoiding printf and using this puts function instead in libsu code?
Anyway i need to test it on my device this evening, before eventually merging

ctrulib console needs GSP events, which prevents from exploiting the kernel.

That's a point, and was already a problem when developing the exploit itself.
As i said just let me test today a bit and then it'll be merged. :)

Now, this can be still so unstable on N10.3U.

@idgrepthat As unstable as old one? How did you test?

Compile the changes and run demo. Crashes almost every time. Same as every other impementation of this sploit.

@idgrepthat When did it crash?

Always the bottom red screen at the beginning. Black at the top.

@idgrepthat The symptom implies that your device crashed before memchunkhax2.
Does the old version show anything?

The old suhax would always show text and occasionally work.

So gfx doen't work. Can you tell me the version of ctrulib and hax?

Red screen suggests hax 2.5 to me...

If so, it may be an issue of compatiblity with the ctrulib.
By the way, I'm using ninjhax 2.5, ctrulib d5931ee3366b98599c52111b58f319984010fb98.

latest ctrulib and hax2.5 and menuhax 2.1 (shuffles)

@idgrepthat Can you tell me the revision of ctrulib?

Same as yours. debug branch of 173210 suhax. here is the demo for reference
http://www75.zippyshare.com/v/PEQRrQUg/file.html

@idgrepthat Can you try this?
https://github.com/173210/SuperUserLib3DS/releases/tag/b0

This worked 3/5 times. Big improvment.

:)
So something in your build is wrong. Have you updated devkitPro?

I have. Don't know what could be wrong.

Your compiled version actually worked, but like @idgrepthat i cannot compile it properly.
I have the latest ctrulib and devkitpro, with devkitarm r45.
Is your setup different? @173210

I'm on an older ctrulib (after 1.0.0 but before 1.1.0) and I just built it. Had a few ctrulib related warnings, but it built. @173210 I won't break rxtools if I update my ctrulib, will I?

If facing problem when linking, says gfxConfigScreen undefined. Try use a nightly build of ctrulib.

I got a new PC and confirmed I can build with clean-installed devkitARM. Here is citation of dkarm-update.ini.
[devkitARM]
Version=45
File=devkitARM_r45-x86_64-linux.tar.bz2

[libctru]
Version=1.1.0
File=libctru-1.1.0.tar.bz2

4e981b4e78c6a5917e8cee8099080998700ff95f will achieve 100% success rate. However, APT_HardwareResetAsync sometimes doesn't work. Maybe the heap is corrupted?

"will achieve 100% success rate"
not until you build it and test it on other machines. then the failure rate is near 100%.

Really? Hmm...

Excluded 4e981b4e78c6a5917e8cee8099080998700ff95f.


Initial Format for Best Practices Deliverable

@peterbrightwell I noticed a fatal error in the CI linting job https://github.com/AMWA-TV/nmos-edid-connection-management/runs/1919126863#step:4:9 not sure if you can take a look when you have the chance


chinese characters within sqllab gets converted to question mark

[x] I have checked the superset logs for python stacktraces and included it here as text if any
[x] I have reproduced the issue with at least the latest released version of superset
[x] I have checked the issue tracker for the same issue and I haven't found one similar

Superset version
18.4, 18.5-alpha.3
SQLLab setup
I'm using pyhive, the sqlalchemy uri is hive://xxx.xxx.xxx.xxx:10000/?auth=NONE&username=hive
Expected results
this sql will execute correctly:
select * from rhllor_ods.subproduct where short_name like '%起泡%'

Actual results
while superset web server shows the correct sql:
2017-06-20 13:29:11,872:INFO:root:Parsing with sqlparse statement select * from rhllor_ods.subproduct where short_name like '%起泡%'

the actual sql that gets passed to superset worker is this:
[2017-06-20 13:29:12,139: INFO/Worker-1] Running query:
select * from rhllor_ods.subproduct where short_name like '%??%'

Steps to reproduce
run the above sql.

I've read some related issues including https://github.com/airbnb/superset/issues/485, https://github.com/airbnb/superset/issues/2473
these issues seems only related to mysql backends, not pyhive.

If it's mysql related please show your connection string, are you using a proper encoding?

I'm using pyhive @xrms

I'm planning on testing whether using py3 helps with that.

I'm using python 3, description has been updated. @mistercrunch

I have a similar on my remote server, which uses Ubuntu, but my local MacOS machine does not have this issue. Both machines use python 3.6. I suspect this is a mysql related problem. I've already converted both machines' mysql tables to utf8 charset.

Notice: this issue has been closed because it has been inactive for 283 days. Feel free to comment and request for this issue to be reopened.


test for failed case

Launchable Report
**:x: Test Session #2401387 failed!
**

:bell: 1 issue :heavy_multiplication_x: 1 test failed :heavy_check_mark: 150 passes

:x: Test Session #2401388 failed!

:bell: 1 issue :heavy_multiplication_x: 1 failed :heavy_check_mark: 150 passes

:x: Test Session #2401392 failed!

:bell: no issues :heavy_multiplication_x: 1 failed :heavy_check_mark: 150 passes

:x: Test Session #2401393 failed!

:bell: no issues :heavy_multiplication_x: 1 failed :heavy_check_mark: 150 passes

Passed test sessions
:white_check_mark: Test Session #2401394 passed
:white_check_mark: Test Session #2401395 passed

Build:<PHONE_NUMBER>
Commit: 5b10979a5593d2a0ce26beb9510fc2a0c579213d

Launchable Report
:x: Test Session Test Run 59 failed
:bell: 12 issues :heavy_multiplication_x: 18 failed :heavy_check_mark: 0 passes
:x: Test Session #193374 failed
:bell: 10 issues :heavy_multiplication_x: 50 failed :heavy_check_mark: 50 passes

Passed test sessions
:white_check_mark: Test Session #193376 passed
:white_check_mark: Test Session #193378 passed

Build: pr-573-72
Commit: 1bd97dae17d148254dd1a4963626a6834999a84e


remove, or made optional line numbers

Because, line numbers prevent simple copy paste of generated code!
 my 50 cents...

Makes sense to me, thanks, I'll change it.

Now that pygments is generating the html, I've got it putting the line numbers in its own table, so the code is still select-able on its own. This is in the develop branch, but is live on the bot. If this is good for you, please go ahead and close this issue.

I'm Not at home Now and Can't Test it by Myself. But my friend told me that QLabel can't handle new formatting :-(
I used QLabel and qtextedit to view html directly from telegram. You can see it under spoiler  in my 1 post.

Yes, QLabel/QTextEdit rendering completely broken :( Same code:

QLabel and QTextEdit are the only controls for html rendering in tdesktop for now :( It Will be very handful if we can view your files in tdesktop (with some modifications of course).
QLabel/QTextEdit supported HTML Subset.
But, IMHO, simple removing line numbers make all happy :)

I'd prefer to stick with pygments now than revert to highlight, so I'll see if I can fiddle with it and get a more compatible html output.
Is there a standalone command I can use to test html rendering with QLabel/QTextEdit?

Is there a standalone command I can use to test html rendering with QLabel/QTextEdit?

Sorry, I don't know :(
I Pushed last changes (not final) to my Fork of tdesktop.
If you can't compile it, here windows binary: Telegram_mod.zip
It open html file in QLabel, if it's size < 50 kb and resulting view fit in your screen resolution.

Why not use qwebengineview?
The initial reason for this issue, selecting and copying code without interference from line numbers, is resolved.
For another requirement, please open a new issue.

@AndydeCleyre

Why not use qwebengineview?

Because qwebengineview cannot be linked statically, so it's no way to use it in Tdesktop. But anyway, it's very monstrous and slow ...

@kirsan31 FYI the backend has been changed back to highlight, so the html may render better for you. Selection independent of line numbers seems to be working.


feat: "make all" command to run every check locally

This is a simple make rule to execute everything without writing a long command (make lint && make format && make check && make kudo).
The new command to run every check would be make all.

@NilsPonsard This should be covered with #49


feat: Sync from noir

Automated pull of development from the noir programming language, a dependency of Aztec.
BEGIN_COMMIT_OVERRIDE
feat: build releases for aarch64-unknown-linux-gnu target (https://github.com/noir-lang/noir/pull/5289)
fix: go to definition from use statement (https://github.com/noir-lang/noir/pull/5390)
feat: lsp rename struct (https://github.com/noir-lang/noir/pull/5380)
END_COMMIT_OVERRIDE

Benchmark results
No metrics with a significant change found.

Detailed results
All benchmarks are run on txs on the Benchmarking contract on the repository. Each tx consists of a batch call  to create_note and increment_balance, which guarantees that each tx has a private call, a nested private call, a public call, and a nested public call, as well as an emitted private note, an unencrypted log, and public storage read and write.
This benchmark source data is available in JSON format on S3 here.
Proof generation
Each column represents the number of threads used in proof generation.

Metric
1 threads
4 threads
16 threads
32 threads
64 threads

proof_construction_time_sha256_ms
5,721
1,551 (+1%)
711 (+1%)
745 (-3%)
776 (+1%)

proof_construction_time_sha256_30_ms
11,866 (+1%)
3,157 (+1%)
1,416 (+1%)
1,430 (-1%)
1,464

proof_construction_time_sha256_100_ms
43,863
11,788
5,482 (+1%)
5,448 (+1%)
5,396 (+1%)

proof_construction_time_poseidon_hash_ms
78.0 (+1%)
34.0
34.0
57.0 (-2%)
88.0

proof_construction_time_poseidon_hash_30_ms
1,514
416
200 (-1%)
229 (-1%)
265 (-3%)

proof_construction_time_poseidon_hash_100_ms
5,745
1,564
726
788
800 (+1%)

L2 block published to L1
Each column represents the number of txs on an L2 block published to L1.

Metric
4 txs
8 txs
16 txs

l1_rollup_calldata_size_in_bytes
1,412
1,412
1,412

l1_rollup_calldata_gas
9,476
9,470
9,476

l1_rollup_execution_gas
611,215
611,360
611,517

l2_block_processing_time_in_ms
758 (-1%)
1,437 (+1%)
2,725

l2_block_building_time_in_ms
20,787
41,660 (-1%)
83,334 (+2%)

l2_block_rollup_simulation_time_in_ms
20,786
41,659 (-1%)
83,334 (+2%)

l2_block_public_tx_process_time_in_ms
17,800
38,470 (-1%)
80,053 (+2%)

L2 chain processing
Each column represents the number of blocks on the L2 chain where each block has 8 txs.

Metric
3 blocks
5 blocks

node_history_sync_time_in_ms
7,136
10,064 (+1%)

node_database_size_in_bytes
12,247,120
16,162,896

pxe_database_size_in_bytes
16,254
26,813

Circuits stats
Stats on running time and I/O sizes collected for every kernel circuit run across all benchmarks.

Function
time_ms
bytecode_size_in_bytes

GasToken:_increase_public_balance
70.9 (+3%)
13,790

GasToken:set_portal
18.2 (+18%)
3,339

Token:constructor
91.8 (-3%)
23,692

FPC:constructor
63.9 (-10%)
13,592

GasToken:mint_public
52.3
10,158

Token:mint_public
506
19,034

Token:assert_minter_and_mint
55.7 (-6%)
12,925

AuthRegistry:set_authorized
30.4 (-1%)
7,812

FPC:prepare_fee
107 (-1%)
15,062

Token:transfer_public
42.2 (-2%)
31,218

FPC:pay_refund
130 (-5%)
25,260

Benchmarking:increment_balance
2,201
15,267

Token:_increase_public_balance
56.0
15,006

FPC:pay_refund_with_shielded_rebate
117 (-2%)
26,347

Public DB Access
Time to access various public DBs.

Function
time_ms

get-nullifier-index
0.161

Tree insertion stats
The duration to insert a fixed batch of leaves into each tree type.

Metric
1 leaves
16 leaves
64 leaves
128 leaves
256 leaves
512 leaves
1024 leaves

batch_insert_into_append_only_tree_16_depth_ms
10.4
16.8
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_count
16.8
31.7
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_ms
0.603
0.516
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_32_depth_ms
N/A
N/A
48.3
76.9 (+1%)
131 (-1%)
247 (+1%)
475

batch_insert_into_append_only_tree_32_depth_hash_count
N/A
N/A
95.9
159
287
543
1,055

batch_insert_into_append_only_tree_32_depth_hash_ms
N/A
N/A
0.493
0.472 (+1%)
0.451
0.447 (+1%)
0.443

batch_insert_into_indexed_tree_20_depth_ms
N/A
N/A
59.9
112
183
356 (+1%)
697

batch_insert_into_indexed_tree_20_depth_hash_count
N/A
N/A
109
207
355
691
1,363

batch_insert_into_indexed_tree_20_depth_hash_ms
N/A
N/A
0.505
0.503
0.484
0.482 (+1%)
0.478

batch_insert_into_indexed_tree_40_depth_ms
N/A
N/A
73.2
N/A
N/A
N/A
N/A

batch_insert_into_indexed_tree_40_depth_hash_count
N/A
N/A
133
N/A
N/A
N/A
N/A

batch_insert_into_indexed_tree_40_depth_hash_ms
N/A
N/A
0.520
N/A
N/A
N/A
N/A

Miscellaneous
Transaction sizes based on how many contract classes are registered in the tx.

Metric
0 registered classes
1 registered classes

tx_size_in_bytes
74,057
667,850

Transaction size based on fee payment method
| Metric |  |
| - |  |


Is it possible to add custom flags

For example can I add custom flags next to this Protected? I have some OS specific functions that works only on 1 os. For example test() function only works on Android. I want to point out this in docs. Is this correct way?

In the next minor (currently beta) version of TypeDoc, you could do this by adding a new modifier tag to the definitions, and then adding @android to the doc comment.

Do you mean like this? @Gerrit0

That's showing up because you haven't configured the comment parser, you need to set the modifierTags option to include everything inside it that you use today, and add @android, @ios, etc: https://github.com/TypeStrong/typedoc/blob/beta/src/lib/utils/options/sources/typedoc.ts#L355-L375
{
  "modifierTags": ["@android", "@ios"]
}

Alright I built beta branch and android & ios tag went missing on html.
  app.bootstrap({
    entryPoints: fileNames,
    sort: ['source-order', 'visibility'],
    excludePrivate: true,
    excludeNotDocumented: false,
    excludeInternal: true,
    pretty: true,
    categorizeByGroup: true,
    cleanOutputDir: true,
    emit: 'docs',
    includeVersion: true,
    modifierTags: ['@android', '@ios']
  });
  const project = app.convert();
  // Project may not have converted correctly
  if (project) {
    // Rendered docs
    return await app.generateDocs(project, OUTPUT_DIR);
  }

Oops... it works properly on non-functions... apparently however I rendered flags doesn't work correctly for signatures...

Fixed on beta branch:

Thank you!


added new  "code" button

Added a new button style under Special buttons called Code Button

Issue: Add New Buttons #1

Great thank you!
@all-contributors please add @tmott13 for code and idea


MTU Configuration and Data Transmission Challenges on Android and iOS

Currently, I have verified that setting the MTU on Android devices does not seem to take effect as expected. For iOS, further validation is required.
To send data successfully, I need to limit the size of the ByteArray to within 20 bytes. If the data is too large, it must be split into smaller packets, and an interval must be set between packets; otherwise, transmission fails.
Additionally, there is packet loss when receiving data. My Bluetooth device is configured to transmit data to the phone with a packet size of 247 bytes.
On Android, I configure the MTU using the following method, which works stably without any packet loss:
override fun onServicesDiscovered(gatt: BluetoothGatt, status: Int) {
    LogUtils.d("onServicesDiscovered", status)
    if (status == BluetoothGatt.GATT_SUCCESS) {
        gatt.requestMtu(MTU)
    }
}

In this callback, the MTU is set to 247, as my Bluetooth device supports a maximum MTU of 247.
Based on my research:
•	Android can set the MTU up to 512 bytes.
•	iOS devices, however, can only set the MTU up to a maximum of 185 bytes.

Using the same Android phone and the same Bluetooth device, I conducted tests by sending the same command:
A5 45 19 00 F0 1E 05 D0 07 00 00 64 00 00 00 0A A0 53 39 00 00 14 00 14 00 F4 01 DC 1E B4.
Observations with Android Native Code:
•	Sending a ByteArray larger than 20 bytes works perfectly fine.
•	For receiving data exceeding 1MB, each received packet size is 247 bytes, and all data is received successfully.
Observations with BlueFalcon:
•	When sending data, a ByteArray larger than 20 bytes requires splitting into smaller packets. However, if the ByteArray size is around 10 bytes, it works without issues.
•	For receiving data, due to the large amount of data, packet loss occurs consistently.
Testing Conditions:
•	The MTU was set in both cases.
•	Testing was performed under identical conditions.
With Android native code, everything works correctly, including both sending and receiving data. However, using BlueFalcon, issues arise when handling larger ByteArray sizes and when receiving large volumes of data.


Add formatting rules for newly introduced tags

The tags includes

@stack: https://edgejs.dev/docs/stacks
@dd and @dump: Yet to be documented in AdonisJS docs

Hey,
Exciting! I'll get these merged and released in next couple of hours when im at my laptop

Released in<EMAIL_ADDRESS>


datapath/linux/arp: avoid leaking sock fd if unix.SetNonblock fails in func listen

At this point, the sock fd is not yet wrapped in an *os.File, so it
needs to be closed explicitly on error.

test-me-please

BPF checkpatch is complaining about the commit subject length: https://github.com/cilium/cilium/pull/15646/checks?check_run_id=2322742643 All other tests passed and necessary reviews are in. Marking as ready to merge.


add(book): Adds a section on Regtest usage to the Zebra book

Motivation
We want to provide guidance on how to use Regtest with Zebra.
PR Author Checklist
Check before marking the PR as ready for review:

[x] Will the PR name make sense to users?
[x] Does the PR have a priority label?
[x] Have you added or updated tests?
[x] Is the documentation up to date?

For significant changes:

[x] Is there a summary in the CHANGELOG?
[x] Can these changes be split into multiple PRs?

If a checkbox isn't relevant to the PR, mark it as done.
Solution

Sets config.mempool.debug_enable_at_height to 0 when network is Regtest to simplify configuration requirements
Uses full network name in logs for Regtest and custom testnets
Adds a section to the Zebra book on how to use Regtest

Testing
Manually tested that the section's been added to the book with mdbook serve -o ./book
Review
Anyone can review.
Reviewer Checklist
Check before approving the PR:

[ ] Does the PR scope match the ticket?
[ ] Are there enough tests to make sure it works? Do the tests cover the PR motivation?
[ ] Are all the PR blockers dealt with?
PR blockers can be dealt with in new tickets or PRs.

And check the PR Author checklist is complete.

@Mergifyio refresh

@Mergifyio refresh

Need approval from someone else:
New changes require approval from someone other than oxarbitrage because they were the last pusher.
https://github.com/ZcashFoundation/zebra/pull/8526/checks?check_run_id=25136136941

I merged main into this PR, which restarted CI. Let's see if it merges.

I merged main into this PR, which restarted CI. Let's see if it merges.

@gustavovalverde it looks like this PR has troubles with the embarking.

@mergifyio requeue


Primitives 0.23

This issue serves as an index for all major updates to the primitives module towards Qiskit Terra 0.23.
Please visit the relevant issues and/or PRs for specific discussion on each topic, discussion here is reserved for general matters or themes affecting several features.
If a new issue/PR is open and needs indexing here for tracking, please mention this issue so that we can keep track of everything and we will try to update the index accordingly.
Issues:

[ ] Debate making all primitives protocols
[ ] Update signatures

[ ] Choose Sequence, Collection, or Iterable for all compound data types
[x] #8813
[ ] Disallow positional arguments beyond circuits, observables, and parameter_*
[ ] Upgrade Options to custom class (keep **kwargs in run and add them __init__)
[ ] Implement Options.to_dict() (and possibly Options.from_dict()) to avoid direct __dict__ access

[x] Normalize all observables to SparsePauliOp in run
[ ] Normalize input circuits to no measurements in BaseEstimator, and all measured if none provided in BaseSampler
[ ] Allow multi-circuit and single observable input, or vice-versa
[ ] Standardize (optional) transpilaiton stage definition in specification
[ ] Revisit caching for performance improvements
[x] #8100

[ ] Enforce tuple as the type for all data fields
[ ] Update statistical information (e.g. variance, std_deviation, std_error)
[ ] Enforce statistical information (e.g. variance = 0 if exact)
[ ] Add compose() constructor to BasePrimitiveResult
[ ] Add new Metadata type based on dict
[ ] Add utils to standardize result serialization (e.g. JSON)
[ ] Add Result to_dict() and from_dict()
[ ] Use defaultdict to report quasi-probabilities

[ ] Remove deprecated
[ ] Add _circuit_key util
[ ] Base _circuit_key in QASM representation
[ ] Refactor

PRs:

[ ] #8105
[ ] #8367
[x] #9065
[ ] #9074

Please, look out for previous work before picking anything up. Some PRs may address several issues.

I will note we have the mod_primitives label which we try to lable issues/PRs with to help manage/find the relevant ones etc.

I close this because the discussion is obsolete


The local API server creation fails

As the local API server has not been started, it was not listening to the API requests in fact.

Logs1.zip - Creation of the local API server fails (the further API requests were not be handled)
Logs2.zip - Creation of the local API server was successful (the further API requests were handled)

It might be fixed along with #698, as we are going to reuse one of service threads for the server.

core/pull-requests/1013


Respect gRPC stub deadline.

This adds support for the deadline option of a gRPC client stub. Now, if this is provided, for example by one of the gRPC integration tests, it is handled correctly at the client side - previously it only sort of worked because it would often be handled at the server side.
I also added an option, not available in usptream, to ignore a client-specified timeout in the server. I've always felt it unsafe that gRPC server uses a client header to determine timeout, and this flag can be used for situations without trusted clients (and unit tests :) ).
Fixes #2008

Forgot to update the server to match upstream logic. Added a commit to do so, based on https://github.com/grpc/grpc-java/blob/master/core/src/main/java/io/grpc/internal/ClientCallImpl.java#L666


GPU build improvements for NEURON integration

Improvemenets for GPU build integration with NEURON

create property CORENEURON_LIB_LINK_FLAGS with necessary LDFLAGS
to link coreneuron with neuron via nrnivmodl
suppress additional PGI warnings which are not necessary to emit
with old mod2c
minor change in nrn_setup.hpp : functions declarated as static
in the header result into warning as definitions are in .cpp file

Also include #372, should be merged after that.


Adds jobs endpoint protected by masterKey

Let serve define jobs on the /jobs/:jobName endpoint
Leverage the functions API so anything that applies to function applied to job
in the request params, functionName is jobName for job
A _JobStatus object is created upon starting a Job, the response include in the headers X-Parse-Job-Status-Id
in the response object, message, success and error functions are exposed. Those functions update the _JobStatus object
Jobs are only accessible through masterKey (unlike functions)
Jobs need an external scheduler.
Jobs may be killed by your stack if they take up too much time (the connection timeout is bumped to 15 minutes to mimic parse.com)

adresses discussions from #398

Current coverage is 92.16% (diff: 97.56%)

Merging #2560 into master will increase coverage by 0.07%

@@             master      #2560   diff @@
==========================================
  Files            97         97
  Lines         11924      11976    +52
  Methods        1457       1462     +5
  Messages          0          0
  Branches       1926       1937    +11
==========================================
+ Hits          10981      11038    +57
+ Misses          943        938     -5
  Partials          0          0

Powered by Codecov. Last update 9ab488b...43a1293

I'll go an extra step:

Create a _JobStatus object when starting the job (see below)
Response with X-Parse-Job-Status-Id header, containing the job ID
Make job run asynchronous (calling the endpoint won't wait till the job finishes)
Remove the timeout, so jobs can run longer
Let the res.message() update the message property of the _JobStatus object
Let res.success/res.error update the status of the job and report the completion date

_JobStatus
{
    "_id": "<10 chars ID>",
    "createdAt": {
        "$date": "" // creation date string
    },
    "jobName": "<jobName>",
    "description": "", // not used
    "source": "api", // always be API
    "status": "<running|succeeded|failed>",
    "message": "<last message>",
    "params": null, // params received when calling the job
    "expiresAt": null, // will be null as we don't schedule
    "finishedAt": {
        "$date": "" // completion date string
    }
}

@drew-gross what do you think?

@flovilmart updated the pull request - view changes

@flovilmart updated the pull request - view changes

@flovilmart updated the pull request - view changes

@flovilmart updated the pull request - view changes

@flovilmart updated the pull request - view changes

Code looks good, this will probably need an accompanying PR in docs, and ideally the dashboard as well.

You mean in the wiki?

no in https://github.com/ParsePlatform/docs

Alright! I'll work on it :)

@flovilmart updated the pull request - view changes

@drew-gross see: https://github.com/ParsePlatform/parse-dashboard/pull/514

@flovilmart updated the pull request - view changes

Looks good to me!


Output looks off in Camera_Undistort notebook

Please see the above image for issue.

Hi, I guess you are referring to the Camera undistort Colab notebook. Indeed it's not giving the original results reported in the blog post. I will take a look.

Thanks, will try a local build shortly.

It seems as if the newer versions of the GPU runtime in Colab do not support the Vulkan driver. When I try to enumerate the available Vulkan devices in a T4 GPU runtime, all I get is the CPU device (using the Mesa driver). I will investigate further how to get Vulkan to work again in Colab.

Related to this: https://github.com/googlecolab/colabtools/issues/3556
PR #160 solves the problem. The colab notebook works again.
Let me know if it works for you so I can close this issue.

Solved by #160


Update libjpeg to the latest version

Update libjpeg to v9d so that jpeg-asm incorporates latest changes in the library.

added a new branch: https://github.com/gchudnov/jpeg-asm/tree/1.1.0
if no problems, will be released next week.

implemented in #4


Add missing proptype I forgot to add

We forgot to add this in https://github.com/Expensify/App/pull/10080/files
Tests
None, just added a prop definition
QA Steps
No QA

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.


Access "Items" Moves Sidebar

In GitLab by @the_gneech on Dec 15, 2022, 09:54
I have created several moves as "Items," but when I open one, the sidebar shifts several pixels to the left, and stays there. If I open the item again (or open a different item), it shifts again. Eventually it shifts so far to the left that it reaches the inner limit of the rendering space and disappears, leaving me with just the scene background and no sidebar (or way to access the sidebar). Reloading the page brings the sidebar back, but then the process starts all over again.
This only appears to be happening in PbtA; my 5E worlds don't do this. I am currently on Forge v10, patch 6 (build 291), and the problem occurs in both Chrome and Firefox.

In GitLab by @Asacolips on Dec 19, 2022, 11:18
@the_gneech I can't reproduce this when testing on my dev environment, and I can't really think of anything I'm doing in the system that could potentially cause it. I'll keep this issue open for now in case you can do some more sleuthing to track down what's happening.

In GitLab by @the_gneech on Dec 20, 2022, 20:23
Additional bit of data: it appears to only happen when I open an item that has a roll stat assigned to it.
ETA: Actually, scratch that, it only happens on items I made last week. O.o Yeah, I have no idea what's going on here, but deleting and rebuilding those items might be the way to go. I'll close this, as it seems to just be some kind of ghost in the machine on my end.

In GitLab by @the_gneech on Dec 19, 2022, 13:33
I'll see if I can narrow it down. It might be one of my browser plugins or something crazy like that.


Add "next on monitor or empty" workspace parameter

Describe your PR, what does it fix/add?
Implements the following workspace parameter:
r+x/r-x (i.e. r+1): Behaves similar to the "m" parameter, but can also select empty workspaces and it doesn't wrap around
Example behaviour (Status: x[0-9] -> current workspace on mon [0-9]; o[0-9] -> open workspace on mon [0-9]; e -> empty workspace):
Initial workspaces:

ID
1
2
3
4
5

Status
o1
x1
e
x2
e

with "workspace r+1" on monitor 1:

ID
1
2
3
4
5

Status
o1
o1
x1
x2
e

with "workspace m+1" on monitor 1 (Notice the difference in "x1"):

ID
1
2
3
4
5

Status
x1
o1
e
x2
e

with "workspace r+2" on monitor 1:

ID
1
2
3
4
5

Status
o1
o1
e
o2
x1

Is there anything you want to mention? (unchecked code, possible bugs, found problems, breaking compatibility, etc.)
The "next or empty" equivalent for "e" is not implemented, since that is the same as +x/-x
Is it ready for merging, or does it need work?
Ready. Although I already tested it with multiple scenarios, further testing would probably be good.

I think I need something strong to read this one

@vaxerski Friendly request for review or NAK

Implemented a better version, that fixes any performance problems. The performance of the implementation is only dependant on the number of active workspaces plus workspace rules. Neither the magnitude of a workspace ID nor the magnitude of the dispatcher argument should impact the performance. Ridiculous parameters like r+300000 work without problems. The implementation now also respects the new(?) workspace rules.

this is my proposal
check if it works, and if you're happy with it. Cleaner IMHO.

nit with my method:
r-10 on 5 goes to 1. Probably better this way

Your implementation does not work as intended (Bug 1):
Take this configuration for example:

Green: Active on DP-1, Blue: Active on HDMI-2
$mainMod-N (r+1) on DP-1 results in no-op. Expected is WS 3

https://user-images.githubusercontent.com/43317083/236649889-c310f935-92a4-44c0-aa7c-a4c2009de7b7.mp4
gimme sec

Wait, I have more:
Bug 2:

r+1 on DP-1 goes to WS 5, expected WS 4
If you then call r-1 on DP-1 on WS 5, WS 2 on HDMI-A-2 is focused, expected WS 4

odd, created 2,3,4 like you, with 2 on a different mon and r+1 on 3 goes to 4 for me

odd, created 2,3,4 like you, with 2 on a different mon and r+1 on 3 goes to 4 for me

Works now on latest commit
But I still found at least 2 bugs again.
Is there anything particularly wrong with my version :disappointed: ?

not inherently, just bad readability. We can revert to it if mine is so buggy, I guess.

I can try to improve the readability, though the poor readability stems mostly from the many edge cases. I've merged my solution into my personal daily-driving branch (https://github.com/scorpion-26/Hyprland/tree/personalfixes) and I've yet to encounter any bugs.

feel free to revert my commits and I'll try to review this tomorrow

FYI: I've pushed your solution to the emptyrelws-vaxry branch on my fork, in case it is ever needed again.

splendid


Schema parse errors aren't correctly passed to javascript

When a schema implementing another schema fails to re-say that it has a field that a parent does, this is a MissingRequiredField Error (not sure why?) anyways, when this happens in the browser_based_querying repo, an uncaught exception: Object is thrown with no clear indication as to what went wrong. Anything more informative is better, I had to just copy my schema to the rust example and then the rust example happily spit out thread 'main' panicked at 'valid schema: MissingRequiredField("GithubPullRequest", "Webpage", "url", "String!")', trustfall/examples/hackernews/adapter.rs:19:59 which helped me find and fix the problem.

The WASM / Typescript bindings are more of a functional proof of concept than a polished package — that's why I haven't published them to npm, for example. Currently, they work well enough to produce a working playground site, and that's about it. The ergonomics leave a lot to be desired as your issue correctly points out.
Basically: too much surface area in the project, not enough time 😅
I'd welcome PRs to make it all better!
P.S.: Types must re-state the properties and edges they contain because of variance: the same property or edge might have a different (narrower) type on a child vertex type compared to the parent vertex type. For example: a parent vertex type may have value: String but a child type may declare it as value: String! instead. Variance can also exist without changing the type — it can be semantic, where the same edge means something more on a child than on the parent. This distinction would be explained with a docstring on the field. Because of all this, it's better from a design perspective to force this repetition, since there may be variations.

@obi1kenobi Could I take this one on if its still an issue? Never have worked with WASM before so it may be an interesting learning experience :)

Please do! Especially if you have JS experience, it would be great to have your help here. The playground is a bit held together by string and duct tape right now 😅

Perfect! I write typescript/javascript professionally so it's probably my most comfortable language :D

They are by far the ones I'm worst at, so if you'd like to co-maintain the Trustfall JS/TS integration, it's yours! 😅

Excellent - might need some context on where to start looking for this fix as well. I'm assuming its in the trustfall_wasm package?

I'd probably start by overhauling how trustfall_wasm does testing. It should have a proper TS test setup instead of the atrociously janky "inject hand-written inline javascript via Rust" approach the trustfall_wasm/tests directory currently has. Feel free to use your judgment about how to structure the tests or the APIs under test — I know next to nothing about TS/JS so your call is better than mine.
After replicating the basic functionality test there, I'd continue by adding more test coverage in trustfall_wasm over various edge case scenarios:

invalid schema
invalid query
invalid variables for the query
adapter written in TS throws an error in the middle of the iterator of one of its resolver methods
etc.

Then, after we're sure that all the various cases work fine in trustfall_wasm, either this issue will have been fixed, or the issue is somewhere in the playground's code.


terraform/aws/best-practices > tag_all_items

Thanks for putting together a nice set of tools comparison. Have some basic doubts
For tag_all_items, the support is provided by only  Indeni Cloudrail and Kics
Hope the test case is executed against the provided main.tf file and the result is shared, pls correct me
One of the below confusion, while checking for the test-cases/terraform/aws/best-practices/tag_all_items/ , the checkov_results.txt contains

Check: CKV_AWS_26: "Ensure all data stored in the SNS topic is encrypted"
Check: CKV_AWS_27: "Ensure all data stored in the SQS queue is encrypted"

In the case of a check, the checkov_results.txt does not indicate any pass/fail, the test cases CKV_AWS_26 & CKV_AWS_27 are totally different checks on AWS, in this context should this be included as part of the test case folder?
Additionally,
Does this indicate we need to just check if all resources provisioned in TF are associated with tags? some of the resources are not supported tags, how do we handle them by this validation?

The test is indeed run against the main.tf in that directory. Specifically, the expectation is that the tool will identify that the resources don't have tags (beyond the Name tag) and will highlight that as an issue. Checkov, at least when it was last tested, didn't do that.
The test case expects the issue highlighting to be only done for resources that support tags.

Thanks for the info, closing this one.


Spyder crashes on startup, producing large error message in terminal window.

Description
What steps will reproduce the problem?

I have just installed conda 4.5.0 and trying to launch spyder from Anaconda - kept crashing everytime
Ran spyder --reset as I saw this suggested as a common solution to the problem I was facing at the time.
Spyder continues to crash on start up. When spyder is run as command from the terminal, it now produces a large error message beginning with 'Fatal Python error: Cannot recover from stack overflow.'

What is the expected output? What do you see instead?
I expect spyder to open, but immediately as it opens its window, it crashes again before it can connect to kernel or proceed any further with startup.
Please provide any additional information below
File "/Users/josephryan/anaconda3/lib/python3.6/site-packages/spyder/plugins/ipythonconsole.py", line 950, in update_working_directory
shellwidget.get_cwd()
File "/Users/josephryan/anaconda3/lib/python3.6/site-packages/spyder/widgets/ipythonconsole/shell.py", line 128, in get_cwd
self.silent_exec_method(code)
File "/Users/josephryan/anaconda3/lib/python3.6/site-packages/spyder/widgets/ipythonconsole/shell.py", line 340, in silent_exec_method
local_uuid = to_text_string(uuid.uuid1())
File "/Users/josephryan/anaconda3/lib/python3.6/uuid.py", line 606, in uuid1
clock_seq_hi_variant, clock_seq_low, node), version=1)
File "/Users/josephryan/anaconda3/lib/python3.6/uuid.py", line 168, in init
raise ValueError('field 6 out of range (need a 48-bit value)')
ValueError: field 6 out of range (need a 48-bit value)
Version and main components

Spyder Version: 3.2.6
Python Version: 3.6.3
Qt Versions: 5.6.2, PyQt5 5.6 on Darwin

Dependencies
pyflakes >=0.6.0 :  1.6.0 (OK)
pycodestyle >=2.3:  2.3.1 (OK)
pygments >=2.0   :  2.2.0 (OK)
pandas >=0.13.1  :  0.22.0 (OK)
numpy >=1.7      :  1.14.2 (OK)
sphinx >=0.6.6   :  1.6.6 (OK)
rope >=0.9.4     :  0.10.7 (OK)
jedi >=0.9.0     :  0.11.1 (OK)
psutil >=0.3     :  5.4.3 (OK)
nbconvert >=4.0  :  5.3.1 (OK)
sympy >=0.7.3    :  1.1.1 (OK)
cython >=0.21    :  0.27.3 (OK)
qtconsole >=4.2.0:  4.3.1 (OK)
IPython >=4.0    :  6.2.1 (OK)
pylint >=0.25    :  1.8.2 (OK)

Thanks for reporting. This is a bug in Python 3.6 itself and you can fix it by following the instructions present on issue #6335.
If you don't understand how to do that, you have two options:

Create a conda environment with Python 3.5 and install Spyder there.
Wait until Python 3.6.5 is released.


Add Notification component in storybook

https://github.com/diplodoc-platform/components/issues/346
Add Storybook Implementation Notification Component.
Implemented story controls to allow interactive manipulation of component properties: type, title, content.

Description

Related issue: #(issue number)

Thank you, @AlexandraYA , for contribution!
PR was merged and will be release soon.


TransactionBuilder.add_input() throw  RuntimeError: unreachable

I was testing the sample from issue 14 to reproduce.
Then i had another error that was not part of the issue.
I just want to confirm if anyone has encounter the same error or is related to  issue 46

are you using a native script ? (otherwise it shouldn't be related to issue 46)
code to reproduce your error would be helpful

are you staking with a native script ? (otherwise it shouldn't be related to issue 46)
code to reproduce your error would be helpful
if you use a native script in general and there are some issues there might be some changes already done in dcSpark's repo, that need merging to the custom version of the multiplatform lib used in lucid

Staking with native script or any other native script combination should work already. I advanced the multiplatform myself to allow adding native scripts and plutus scripts to inputs, mints, certs and withdrawals, how the ledger allows it. I'm gonna test it myself. Maybe I forgot something

@zachyking I was testing the sample from issue 4, you can try it as well but i think running the matchingNumbers example  too throw the same error.
I was testing it using version 0.2.0.
Thanks @alessandrokonrad , I will try it again today , Maybe it from me.

@zachyking I was testing the sample from issue 4, you can try it as well but i think running the matchingNumbers example throw the same error. I was testing it using version 0.2.0. Thanks @alessandrokonrad , I will try it again today , Maybe it from me.

issue 4 works here. Try to share the code if it still persists.

RuntimeError: unreachable happens when you don't add datum to the utxos used in collectFrom

@zachyking Confirm that's true  unreachable happens when you don't add datum to the utxos used in collectFrom


[AutoRelease] t2-recoveryservicesbackup-2023-08-30-09528(can only be merged by SDK owner)

https://github.com/Azure/sdk-release-request/issues/4470
Live test success
https://dev.azure.com/azure-sdk/internal/_build?definitionId=1021
BuildTargetingString
azure-mgmt-recoveryservicesbackup
Skip.CreateApiReview
true

issue link:https://github.com/Azure/sdk-release-request/issues/4470


Path array definition and normal definitions defer

This is more of an improvement to support the single item case
When /a is given as string it doesnt fetch the path but ['/a'] would return the correct value.
console.log(R.path('/a', {'/a':{b:4}}))
console.log(R.path(['/a'], {'/a':{b:4}}))

http://ramdajs.com/repl/?v=0.22.1#?code=console.log(R.path('%2Fa'%2C {'%2Fa'%3A{b%3A4}}))
console.log(R.path(['%2Fa']%2C {'%2Fa'%3A{b%3A4}}))

looks to me like it is behaving as designed and documented http://ramdajs.com/docs/#path
this is an error: R.path('/a', {'/a':{b:4}}) You could argue it should blow up at that point. There's a good case to be made for that. But I don't see any reason to support Array or String for the first argument.

But I don't see any reason to support Array-or-String for the first argument.

Agreed.  There's already R.prop('/a', {'/a':{b:4}}) for that if you want it.


Dev small adjustements

Colors in the graph
Hinting in Utils.py
Using global variables in fooder.py

ok


feat: add TruncateText component

Closes https://github.com/patternfly/AI-infra-ui-components/issues/54

Preview: https://AI-infra-ui-components-pr-60.surge.sh

👍 Looking at the preview, this looks good to me.


Replace npm run with npx in Scully Docs

🗄 Docs report
Description
Update Scully docs to use npx instead of npm run when executing Scully commands.
So instead of
npm run scully

This becomes
npx scully

PS: I would like to tackle this update.

@aaronfrost In our docs, we have a mixture of 'npm run scully' and 'npx scully' and iirc a few other variants.
@mainawycliffe wants to go over, and update all of those. Are you happy with this too?
@mainawycliffe When you are going to do this, make sure you find all the different variants too.

@SanderElias i can start as soon as I get the go ahead.

@mainawycliffe I'm fairly sure @aaronfrost was kind of busy last week. IIRC he was hosting some conference ;)
If he doesn't respond by Tuesday, you can go ahead, and do it. I'm fine with this.


Minor fix

Fixed a display issue with #settingstab.
I updated the HTML of each resource only when the textContent changed. This should significantly reduce the page refresh process.
Fixed an issue with achievement messages.
Added "date" to promotion code.
The promotion code allows uppercase letters. The button text in Special Actions should work as is.
spoiler added octeracts per second.

I fixed more. sorry.

I forgot to write the update contents of ebb13ed
Fixed an issue where all cube upgrades would be initialized when reloading after singularity and before ascension
This was the cause of the loss of w1x7 earned in updateSingularityMilestoneAwards().
Added w1x7 with singularity 20. Added w1x10 in singularity 11.
Auto Ascend fixed an issue that could actually be done just by enabling the toggle.


Not generating all template files

Hi @jondot - awesome project! I love using Hygen and it's been a great tool for my team's workflow.
Right now, I'm just running into an issue I haven't experienced before.
In a new prompt generator called module, I have 7 template files. But when I run hygen module with-prompt, the only resulting files being generated are the index.js and model.js files.
Here's the directory structure for reference:

And the repo is available here: https://github.com/masiamj/apollo-server-express-example
Any input you have would be greatly appreciated. Thanks!

Thanks for providing a repo for reproducing, this makes it easier and even -- dare I say -- exciting to work on :)
I'll check it out within the day

Hi, if you look very deeply (I must admit it tricked me too!), you have:
---
to:  ..
--

Note only two dashes -- in closing frontmatter instead of three ---
:)
Fixing to three, on my end fixes the problem. I'll go ahead and close this one, but feel free to reopen if you feel something is still strange.
Thanks for the feedback, please don't hesitate to report issues :)

Thanks @jondot  for your quick response and great find!


Release 1.2

@davkal @foot @ekimekim @bowenli @jpellizzari @tomwilkie @abuehrle @pidster @errordeveloper @rade Please chip in by testing this release branch in the scenarios below and tick off what you tested afterwards (including your name at the end). Have a look at the CHANGELOG to prioritize your testing.
To make things  easier to test I have pushed the image weaveworks/scope:release-1.2-9e33e7e
Thanks!

[ ] Start a 2 node cluster and leave a UI connected, watch for performance regression
[x] Run a Scope cluster on ECS (mike)
[x] Run Scope on https://github.com/microservices-demo/microservices-demo/ (mike)
[x] Run Scope on Docker For Mac (Stuart)
[ ] Start and stop Scope in standalone mode

[x] Linux (mike)
[ ] docker-machine

[x] Connect probes from release candidate to Weave Cloud (fons)

[x] Local scope in probe-only mode connects to Weave Cloud and renders correctly

[x] dev
[x] prod

[x] Controls appear for containers and function correctly

[x] dev
[x] prod

[x] No new errors in logging or telemetry

[x] dev
[x] prod

[ ] UI integration

[ ] Hot-reloading cd client && npm i && npm start and open http://localhost:4042
[x] UI under prefix path  cd client && npm run build && npm start-production and open http://localhost:4043/scoped/
[x] URL parameters: Run previous release and click around, keep UI open, start new release, reload page

[x] UI features
(To test: clone microservices demo and run cd deploy/docker-compose && docker-compose up)

[x] General: switch between topologies, see nodes and edges, details panel (Stuart)
[x] Zoom and pan, switch between topologies
[x] Topology filters: namespaces, system containers, etc. (Stuart)
[x] Metrics on canvas, try pinning/unpinning (Stuart)
[x] Search

[x] by container name
[x] by usage cpu < 2%

[x] Terminal (fons)

[x] Attach to container to see logs
[x] Exec to container and type ls
[x] Pop out terminal

[x] Contrast mode (fons)
[x] Download report
[x] Pause button

Things to think about

ECS Integration
Kubernetes Integration
CPU and memory usage

@simon found #2207 and #2208 . I think #2207 should be fixed before the release.

I updated the probes in WeaveCloud dev to run weaveworks/scope:release-1.2-9e33e7e and I don't see any regressions in CPU persformance.
It's not great (50% CPU) but better than 1.0 (https://github.com/weaveworks/scope/pull/1985#issuecomment-258826860 )

I am just upgrading my environment with scope: scope:release-1.2-9e33e7e
Note also that there was an issue with Zipkin (tracer for microservices demo) hogging a fair share of resources as well: https://github.com/microservices-demo/microservices-demo/issues/598

Fixes https://github.com/weaveworks/scope/issues/2216

LGTM!

scope stop with docker for mac:  https://github.com/weaveworks/scope/issues/2219

lgtm

lgtm


Module translation not applying

Translations weren't released. Released on: https://github.com/anavel/gettext/releases/tag/0.1.2


Support admin authentication + CORS + OpenAPI for turms-gateway

We place this ticket in the next release because clients cannot access the port for metrics API (the port is only used in a private network), and turms-gateway only provide HTTP API for metrics

turms-gateway doesn't have such features because it didn't need because turms-gateway didn't have admin APIs,
and we need these features because we will add some admin APIs for turms-gateway like /plugins