Feature Request: Tool to generate standalone html (similar to catapult's trace2html)

Hi, I have been enjoying using perfetto. Thanks a lot for working on this tool.
I was wondering if there are plans (or if it is even possible) to generate a standalone html for perfetto UI.
The reason I was asking is because of the trace2html tool found in catapult/tracing which is a neat tool to serve trace data.
Since perfetto can run on a server, maybe the alternative is to have the ability to share profiling data right?
Thank you.

There are no plans to support that feature. vulcanizing data+code into a html file opens the door to too many extra problems:

many web platform API don't work with file:// schemes and require https://
it creates a versioning issue where the UI for those traces will stay behind forever, hence after a while those traces will be impossible to open (Browsers keep evolving in breaking ways, whether we like it or not).

In essence it would be yet another surface to test and maintain and that extra cost is not worth the benefit.
What's the reason why this use case is necessary? Today there are various ways you can achieve a one-click solution using ui.perfetto.dev:

If the file is hosted on GCS, just use the ?url= arg, i.e. https://ui.perfetto.dev/#!?url=https://commondatastorage.googleapis.com/bucket_name/file_name (note that the bucket config needs CORS settings for allowing ui.perfetto.dev to fetch)
If not, you can build your own bridge that pushes traces into ui.perfetto.dev via window.open (Example here). See also related discussion in https://github.com/google/perfetto/issues/14 .

Thank you for the explanation. Now i understand the cons of having html files.
What's the reason why this use case is necessary? -> The reason I wanted this was to have the ability to share profiles with a link and also to serve these files from a web server. Looks like the ways you listed are much better. I'll try serving trace files from our own server. Would be better if it could be shared with a sharable link (Looks like #14 has some discussions and will try those).
Want to say thanks again for a cool tool.


prisma.$graphql could accept not only string, but also graphql-taged object

Is your feature request related to a problem? Please describe.
In prisma.$graphql(query, variables) now query could only be string, not query object generated via graphql-tag.
Describe the solution you'd like
It would be nice to be able to do this:
import gql from 'graphql-tag'
const QUERY = gql`
  query.....
`
prisma.$graphql(query)

Hi @beeplin,
Can you tell me a use case of supporting the graphql tag here? If you are concerned about syntax highlighting you can do that in regular strings using a simple comment like so:
const QUERY = /* GraphQL */`
  query.....
`
prisma.$graphql(query)

@pantharshit00 Thank you for the quick response.
It's not only for syntax highlighting but also for linting. For example, with eslint-plugin-graphql  + vscode eslint extension, we could lint errors (graphql syntax errors, non-existing fields, etc.) in graphql-tagged strings:

But this linting by default cannot detect raw strings even we have /* GraphQL */ before them.
And also, sometimes we need to use the same query, or mutation, or especially a fragment, in both an apollo/graphql-request api (which require a graphql-tagged object) and a prisma.$graphql api (which requires a raw string). Currently for this situation I could only define two versions of the same thing, which seems quite ugly and awkward:
import gql from 'graphql-tag'

export const JOB_FOR_LOCK_CHECK_STRING = /* GraphQL */ `
  id
  requiredJobs {
    id
    title
    userJobRecords(where: { userId: $userId }) {
      id
      userId
      jobId
      score
    }
  }
`

export const JOB_FOR_LOCK_CHECK = gql([`fragment JobForLockCheck on Job { ${JOB_FOR_LOCK_CHECK_STRING} }`])

Am I right that  this will also support *.graphql files where you can benefit from other things like #import ... etc.


Update jena-fuseki-main to 3.17.0

Updates org.apache.jena:jena-fuseki-main from 3.16.0 to 3.17.0.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.apache.jena", artifactId = "jena-fuseki-main" } ]

labels: test-library-update, semver-minor

Codecov Report

Merging #128 (de47a22) into master (d5bdca1) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #128   +/-   ##
=======================================
  Coverage   28.62%   28.62%
=======================================
  Files          41       41
  Lines        1729     1729
  Branches       33       33
=======================================
  Hits          495      495
  Misses       1234     1234

Continue to review full report at Codecov.

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


Markush structures are wrongly depicted

Steps to Reproduce

Go to https://lifescience.opensource.epam.com/KetcherDemoSA/index.html
Click on 'Open' --> 'Paste from clipboard'
Paste the following SMILES string: C1=C(C(=C(C(=C1)N)[R1])[R2])[R]

Expected behavior
I would expect a markush structure with the three R groups 'R', 'R1' and 'R2' as depicted here:

Actual behavior
For some reason, the R groups are interpreted as amino groups:

Desktop (please complete the following information):

OS: Windows 11
Browser: Tested with Chrome and Firefox

Ketcher version

Version: In our web app, we have embedded the latest release (2.5.2) and the same problem occurs there.

Thank you in advance!
Otto

I was able to build a workaround for my web application by generating a mol block with coordinates using the CDK in the background and feeding that to the Ketcher Frame eventually. The molecule that is interpreted wrongly as a SMILES is read without problems as a mol block.


Release v0.2.0 PR

Description
This PR prepares the repo for the v0.2.0 release.

Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

[x] Targeted PR against correct branch (master)
[x] Linked to Github issue with discussion and accepted design OR have an explanation in the PR that describes this work.
[x] Re-reviewed Files changed in the Github PR explorer

N/A:

[ ] Wrote unit tests
[ ] Updated relevant documentation in the code
[ ] Added a relevant changelog entry to the Pending section in CHANGELOG.md

@ValarDragon You may want to do a final pass.

I'm surprised this worked with keywords having a space in it, that didn't work for me on the other repo's

Oh, thats what the next two PRs were haha


custom cell how to set delegate?

New issue checklist

[1 ] I have read the README, documentation, and FAQ.
[ 1] Contributing guidelines confirmation: ____
[ 1] I have searched existing issues and this is not a duplicate.

General information

JSQMessagesViewController version: 7.3.4
iOS version: 10
Devices/Simulators: iPhone
Reproducible in the demo project? (Yes/No):
Any related issues:

What happened?
I create my own custom cell and shows correctly
in viewDidLoad
self.collectionView.register(UINib(nibName: "CustomUrlMessageCellIncoming", bundle: nil), forCellWithReuseIdentifier: "CustomUrlMessageCellIncoming")

and
let cell = collectionView.dequeueReusableCell(withReuseIdentifier: "CustomUrlMessageCellIncoming", for: indexPath) as!
                CustomUrlMessageCellIncoming

but override function can't work.
override func collectionView(_ collectionView: JSQMessagesCollectionView!, didTapMessageBubbleAt indexPath: IndexPath!)

I don't know where delegate set , it always nil
it's my customCell class
import Foundation
import JSQMessagesViewController

class CustomUrlMessageCellIncoming: JSQMessagesCollectionViewCellIncoming {
    @IBOutlet weak var urlView: UrlView!
    // MARK: - Overrides
    @IBOutlet weak var urlImgView: UIImageView!
    @IBOutlet weak var messageTextView: UITextView!
    @IBOutlet weak var containerView: UIView!
    @IBOutlet weak var title: UILabel!
    @IBOutlet weak var desc: UILabel!
    @IBOutlet weak var avatarImage: UIImageView!
    @IBOutlet weak var avatarContainer: UIView!

    required init?(coder aDecoder: NSCoder) {
        super.init(coder: aDecoder)
    }

    override class func nib() -> UINib {
        return UINib (nibName: "CustomUrlMessageCellIncoming", bundle: Bundle.main)
    }

    override class func cellReuseIdentifier() -> String {
        return "CustomUrlMessageCellIncoming"
    }

    override class func mediaCellReuseIdentifier() -> String {
        return "CustomUrlMessageCellIncoming"
    }

    override func awakeFromNib() {
        super.awakeFromNib()
        messageBubbleTopLabel.textAlignment = .left
        cellBottomLabel.textAlignment = .left
        let tap = UITapGestureRecognizer(target: self, action: #selector(self.jsq_handleTapGesture))
        addGestureRecognizer(tap)
//        tapGestureRecognizer = tap

    }

    func jsq_handleTapGesture(_ tap: UITapGestureRecognizer) {
        let touchPt: CGPoint = tap.location(in: self)
        if avatarContainer.frame.contains(touchPt) {
            self.delegate.messagesCollectionViewCellDidTapAvatar(self)
            print("ava")
        }
        else if containerView.frame.contains(touchPt) {
            self.delegate.messagesCollectionViewCellDidTapMessageBubble(self)
            print("mess")
        }
        else {
            self.delegate.messagesCollectionViewCellDidTap(self, atPosition: touchPt)
            print("other")
        }
    }
}

@pig12301230, are you talking about the Collection View or the Cell? If latter, it should something like self.delegate(self is an instance of a cell class).

@Lucashuang0802, I hope that my custom cell can do  as well as  JSQMessageViewCell can
tap avatarImageView, tap messageBubble something like this
but I have no idea where  to set delegate for my own cell , because the origin cell.delegete has been set at super.collectionView(collectionView, cellForItemAt: indexPath) as! JSQMessagesCollectionViewCell
thank you for help

@pig12301230, if I understand correctly, you are trying to detect a gesture and perform some tasks on it. There are a lot of gesture recognizer classes you can use to enable tapping on a UIView instance as well as pinching, rotating etc. As for what you showed, that is the method to get a specific cell from a given NSIndexPath. There is nothing to do with cell.delegate.
As this is not a library-related issue, I would suggest you to go to read some general iOS programming stuff like https://developer.apple.com/library/content/documentation/General/Conceptual/DevPedia-CocoaCore/Protocol.html
Hope it helps.

@Lucashuang0802, my question is when I do incoming/outgoing custom cell.
My cell is copy from origin cell and subclass.
and I add gesture on cell and it can work. but how to call
self.delegate.messagesCollectionViewCellDidTapAvatar(self)
self.delegate.messagesCollectionViewCellDidTapMessageBubble(self)

because my own cell does't get JSQMessagesCollectionViewCellDelegate

@pig12301230, I see what you are saying. The delegate object is set through JSQMessagesCollectionViewCell. You can search JSQMessagesCollectionViewCell on Xcode to locate the class and delegate object. Normally, you should be able to set by cell.delegate = self.

@Lucashuang0802, thanks
 override func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {
        let msg = messages[indexPath.item]
        if let urlmedia = msg.media as? UrlMediaItem{
            if (msg.senderId != senderId) {
                let cell = collectionView.dequeueReusableCell(withReuseIdentifier: "CustomUrlMessageCellIncoming", for: indexPath) as! CustomUrlMessageCellIncoming
                cell.delegate = self as! JSQMessagesCollectionViewCellDelegate

and it will show error:
Could not cast value of type 'ChatRoomViewController' (0x1097d2010) to 'JSQMessagesCollectionViewCellDelegate' (0x10abdec40)

In your class declaration for ChatRoomViewController, I assume you are extending JSQMessagesViewController like this
class ChatRoomViewController : JSQMessagesViewController
But the error means you are not i plementing the required protocol you are teying to cast to, so add the protocol like such:
class ChatRoomViewController : JSQMessagesViewController, JSQMessagesCollectionViewCellDelegate
Then implement all the requires functions.
I dont have my computer in front of me, so I cannot confirm if this is he correct solution, as I am basing it inly on the error message, and the provided code snipet.  Additionally, my Swift is getting rusty.
For any required functions from the delegate protocol, if you dont want to modify the default behavior, then you should be able to call the super class function, if it inplementa the protocol, otherwise, do nothing in your functions that you dont want to implement from the delegate protocol.

Hello everyone!
I'm sorry to inform the community that I'm officially deprecating this project. 😢 Please read my blog post for details:
http://www.jessesquires.com/blog/officially-deprecating-jsqmessagesviewcontroller/
Thus, I'm closing all issues and pull requests and making the necessary updates to formally deprecate the library. I'm sorry if this is unexpected or disappointing. Please know that this was an extremely difficult decision to make. I'd like to thank everyone here for contributing and making this project so great. It was a fun 4 years. 😊
Thanks for understanding,
— jsq


v1.2.0 proposal

Hi all,

@coreyhaines: Taking as a base your PR with customEvents I have moved the pym-initialized event to pym and also added a pym-loaded event on the pym-loader.
@quickhand: #146 to make  safe universal rendering is on this PR too.
@AlainVagner: #147 to override parentUrl is on this PR too.
@benlk: #120 to make the parentUrl configurable is on this PR too.

I have included more tests to add coverage for the new functionality and examples to run locally.
@coreyhaines, My idea is to write some documentation and publish next week, let me know if you see any issues.

So, we're leaving the loading events on the pym-loader, it appears? Just adding a pym-initialized to pym?

@coreyhaines Yeah, I thought that leaving the pym-loaded on the loader made sense....any issue with that?

Other than the comments about the name, this looks 👍


(BUG) Drawer border radius in Material3 in an RTL locale is on the wrong side

Drawer in M3 Mode Does Not Use Directionality
The Drawer in MaterialApp when used in MaterialApp.drawer and MaterialApp.endDrawer should have a rounded edge on the visible side in Material 3 design.
This works correctly in locale with LTR, but if you use a locale with RTL directionality, the edge rounding is drawn on the wrong side.
Expected results
Expect to get M3 rounded drawers like this in LTR:

Drawer LTR
End Drawer LTR

Actual results

Drawer RTL
End Drawer RTL

Issue demo code
Requires adding
  flutter_localizations:
    sdk: flutter

under dependencies: to pubspec yaml.

Code sample
// MIT License
//
// Copyright (c) 2022 Mike Rydstrom
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in all
// copies or substantial portions of the Software.
 IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.

import 'package:flutter/material.dart';
import 'package:flutter_localizations/flutter_localizations.dart';

// A seed color for M3 ColorScheme.
const Color seedColor = Color(0xff386a20);

// Example theme
ThemeData demoTheme(Brightness mode, bool useMaterial3) {
  // Make an M3 ColorScheme.from seed
  final ColorScheme scheme = ColorScheme.fromSeed(
    brightness: mode,
    seedColor: seedColor,
  );
  return ThemeData.from(
    colorScheme: scheme,
    useMaterial3: useMaterial3,
  );
}

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

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

  @override
  State<IssueDemoApp> createState() => _IssueDemoAppState();
}

class _IssueDemoAppState extends State<IssueDemoApp> {
  bool useMaterial3 = true;
  ThemeMode themeMode = ThemeMode.light;
  TextDirection textDirection = TextDirection.ltr;

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      themeMode: themeMode,
      locale: textDirection == TextDirection.ltr
          ? const Locale('en')
          : const Locale('ar'),
      localizationsDelegates: const [
        GlobalMaterialLocalizations.delegate,
        GlobalWidgetsLocalizations.delegate,
        GlobalCupertinoLocalizations.delegate,
      ],
      supportedLocales: const [
        Locale('en', ''), // English, no country code
        Locale('ar', ''), // Arabic, no country code
      ],
      theme: demoTheme(Brightness.light, useMaterial3),
      darkTheme: demoTheme(Brightness.dark, useMaterial3),
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Drawer M3 RTL Issue'),
          actions: [
            IconButton(
              icon: useMaterial3
                  ? const Icon(Icons.filter_3)
                  : const Icon(Icons.filter_2),
              onPressed: () {
                setState(() {
                  useMaterial3 = !useMaterial3;
                });
              },
              tooltip: "Switch to Material ${useMaterial3 ? 2 : 3}",
            ),
            IconButton(
              icon: themeMode == ThemeMode.dark
                  ? const Icon(Icons.wb_sunny_outlined)
                  : const Icon(Icons.wb_sunny),
              onPressed: () {
                setState(() {
                  if (themeMode == ThemeMode.light) {
                    themeMode = ThemeMode.dark;
                  } else {
                    themeMode = ThemeMode.light;
                  }
                });
              },
              tooltip: "Toggle brightness",
            ),
            Builder(builder: (context) {
              return IconButton(
                icon: const Icon(Icons.menu),
                onPressed: () {
                  Scaffold.of(context).openEndDrawer();
                },
              );
            }),
          ],
        ),
        body: HomePage(
          textDirection: textDirection,
          onChanged: (TextDirection value) {
            setState(() {
              textDirection = value;
            });
          },
        ),
        drawer: const Drawer(
          child: Center(child: Text('Drawer')),
        ),
        endDrawer: const Drawer(
          child: Center(child: Text('End Drawer')),
        ),
      ),
    );
  }
}

class HomePage extends StatelessWidget {
  const HomePage({super.key, this.textDirection, this.onChanged});
  final TextDirection? textDirection;
  final ValueChanged<TextDirection>? onChanged;

  @override
  Widget build(BuildContext context) {
    final String materialType =
        Theme.of(context).useMaterial3 ? "Material 3" : "Material 2";
    return ListView(
      padding: const EdgeInsets.symmetric(horizontal: 16),
      children: [
        const SizedBox(height: 8),
        Text(
          'Issue Demo - $materialType',
          style: Theme.of(context).textTheme.headlineSmall,
        ),
        const SizedBox(height: 16),
        const Text('Toggle to RTL locale in M3 and check Drawer'),
        const SizedBox(height: 16),
        LocaleButtons(
          textDirection: textDirection,
          onChanged: onChanged,
        ),
        const SizedBox(height: 16),
        const Text('The M3 edge border radius is on wrong side'),
      ],
    );
  }
}

class LocaleButtons extends StatelessWidget {
  const LocaleButtons({
    super.key,
    this.textDirection,
    this.onChanged,
  });
  final TextDirection? textDirection;
  final ValueChanged<TextDirection>? onChanged;

  @override
  Widget build(BuildContext context) {
    final List<bool> isSelected = <bool>[
      textDirection == TextDirection.rtl,
      textDirection == TextDirection.ltr,
    ];
    return ToggleButtons(
      isSelected: isSelected,
      onPressed: onChanged == null
          ? null
          : (int newIndex) {
              onChanged?.call(TextDirection.values[newIndex]);
            },
      children: const <Widget>[
        Padding(
          padding: EdgeInsets.symmetric(horizontal: 16.0),
          child: Text('RTL'),
        ),
        Padding(
          padding: EdgeInsets.symmetric(horizontal: 16.0),
          child: Text('LTR'),
        ),
      ],
    );
  }
}

Flutter version
Channel master, 3.7.0-13.0.pre.104

Flutter doctor
 flutter doctor -v
[!] Flutter (Channel master, 3.7.0-13.0.pre.104, on macOS 13.0.1 22A400 darwin-arm64, locale en-US)
    • Flutter version 3.7.0-13.0.pre.104 on channel master at /Users/rydmike/fvm/versions/master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 2783d31688 (2 hours ago), 2022-12-28 15:45:19 -0500
    • Engine revision 3655bf981d
    • Dart version 3.0.0 (build 3.0.0-70.0.dev)
    • DevTools version 2.20.0
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform
      update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/rydmike/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14C18
    • CocoaPods version 1.11.3

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

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

[✓] IntelliJ IDEA Community Edition (version 2022.3.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 71.2.6
    • Dart plugin version 223.8214.16

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

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-arm64   • macOS 13.0.1 22A400 darwin-arm64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 108.0.5359.124

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

ping @TahaTesser another M3 issue, this one with Drawer and RTL.

Issue is reproducible using the code sample provided above.
Possibly caused by https://github.com/flutter/flutter/blob/master/packages/flutter/lib/src/material/drawer.dart#L849-L859
Labeling for further investigation.

flutter doctor -v
[!] Flutter (Channel master, 3.7.0-13.0.pre.109, on macOS 13.1 22C65 darwin-arm64, locale en-GB)
    • Flutter version 3.7.0-13.0.pre.109 on channel master at /Users/nexus/dev/sdks/flutters
    ! Warning: `flutter` on your path resolves to /Users/nexus/dev/sdks/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/nexus/dev/sdks/flutters. Consider adding /Users/nexus/dev/sdks/flutters/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/nexus/dev/sdks/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /Users/nexus/dev/sdks/flutters. Consider adding /Users/nexus/dev/sdks/flutters/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision bdefebcf73 (2 hours ago), 2022-12-29 00:46:32 -0500
    • Engine revision 9b534a5f88
    • Dart version 3.0.0 (build 3.0.0-71.0.dev)
    • DevTools version 2.20.0
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14B47b
    • CocoaPods version 1.11.3

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

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

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

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-arm64   • macOS 13.1 22C65 darwin-arm64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 108.0.5359.124

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

! Doctor found issues in 1 category.

For reference, the topic of Drawer working when used in MaterialApp in drawer and endDrawer and used directionality, was also mentioned here: https://github.com/flutter/flutter/issues/103551#issuecomment-1166459379


[Bug]: Wallet errors not propagated to onboard promises

Current Behavior
Hey guys. I noticed something which makes handling errors impossible and lead to wrong/bad UX.
I only tested this with MetaMask and I can't confirm for other wallets but I suspect it's the same.
When using onboard.connectWallet({ autoSelect: { label: 'MetaMask', disableModals: true }, })
Case 1: User choose to connect with MetaMask, MM extension window is promped but user clicks outside of it so it gets hidden automatically. If the user tries to connect again, MetaMask fires this error MetaMask - RPC Error: Already processing eth_requestAccounts. Please wait. {code: -32002, message: 'Already processing eth_requestAccounts. Please wait.'} but the onboard.connectWallet Promise is not resolved so we can't show anything to the user and we actually don't know the current status of the "connectWallet" method.
Case 2: User choose to connect with MetaMask, MM extension is promped but user decides to cancel the connection. MM will fire this error MetaMask - RPC Error: User rejected the request. {code: 4001, message: 'User rejected the request.'} and the onboard.connectWallet will resolve with the currently connected wallets instead of rejecting with an error.
Expected Behavior
Wallet errors should propagate to web3-onboard Promises which caused them.
Steps To Reproduce
Steps to reproduce are described in the "Current Behavior" section.
What package is effected by this issue?
@web3-onboard/core
Is this a build or a runtime issue?
Runtime
Package Version
2.8.1
Node Version
16.14.2
What browsers are you seeing the problem on?
No response
Relevant log output
No response
Anything else?
No response
Sanity Check

[X] If this is a build issue, I have included my build config. If this is a runtime issue, I have included reproduction steps and/or a Minimal, Reproducible Example.

Hey @mario-iliev! Thank you for bringing this to our attention! Does this issue only occur for you when using: onboard.connectWallet({ autoSelect: { label: 'MetaMask', disableModals: true }, }) or does it also occur if simply calling: onboard.connectWallet()?

Hey @mario-iliev! Thank you for bringing this to our attention! Does this issue only occur for you when using: onboard.connectWallet({ autoSelect: { label: 'MetaMask', disableModals: true }, }) or does it also occur if simply calling: onboard.connectWallet()?
I'm building custom modal for the initial connection. Calling web3Onboard.connectWallet() is simply opening the original Blocknative modal. I tried to continue the flow and click to connect to MetaMask trough the original modal and then reject the connection, but still I don't receive the MM error in the web3Onboard.connectWallet().catch()

@mario-iliev yes usually the Onboard UI will handle all errors and direct the user on what to do next and so the connectWallet function will not ever throw an error, but in the case of autoselecting a wallet with the modal disabled we may need to throw the error instead.

@aaronbarnardsound I think that all wallet errors should propagate to the connectWallet Promise without special cases if we are using the "autoselecting" flag or not. Not being able to handle an error in a Promise caused by itself is causing a lot of problems.
Thank you for paying attention to this matter.

In the current design, the UI handles all of these errors, for example if the user rejects the connect attempt:

We handle the error and allow the user to re-trigger the request.
From the dev point of view this allows you to call the connect function and receive the updated (if a new one was connected) connected wallets and not have to worry about the UI state (ie is the modal still rendered, do I need to close the modal) and saves having to complicate the API by adding functions to manually control the state of the rendered modal.
In the edge case you mention above I do agree that we may need to implement some additional logic to handle it. My only concern is that it would be a breaking change as there would be apps that are not setup to catch the error.

@aaronbarnardsound I agree. So it's going to be great if the error is propagated if connectWallet  is used with disableModals: true because with this flag being true we should delegate the entire responsibility to the dev and he needs those errors.

Ok cool, we will take a look at getting a PR created that solves this soon.

@mario-iliev Let me take a look at that example as that sounds more like a bug in that case. The disableModals flag should just apply to the connectWallet call and if a user rejects the request to add the new network, then that should return false for the setChain call.

Ok cool, we will take a look at getting a PR created that solves this soon.

The problem persists.
Is there a plan underway to address this issue? There are frequent reports of problems related to this issue


Add Subsets using Bit Manipulation

Added an algorithm to generate subsets of a given integer array using bit manipulation.
Time: O(n * 2ⁿ)
Space: O(1)

Could you please add the link to the README file?

Done!


support chinese？

best way to know is to try it, but I think so. I have evaluate on chinese the paper but I think the token splitting (whitespace) may be suboptimal

DeBERTa has its own vocabulary. Does it need to be replaced?
At 2024-11-01 00:14:09, "Urchade Zaratiana" @.***> wrote:
best way to know is to try it, but I think so. I have evaluate on chinese the paper but I think the token splitting (whitespace) may be suboptimal
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>


ignore query parameters and send 404s for missing files

this adds enough checks for minigate to handle git clone.

fixes #3

Oh, thank you.


Creating Calculation Items with script

Daniel,  I see scripting support for creating a new Calculation Group, But I do not see support for creating Calculation Items. Am I missing something, or will that be a future enhancement?

This should do the trick:
var cg = Model.AddCalculationGroup("Time Intel");
var ci1 = cg.AddCalculationItem("YTD", "TOTALYTD(...)");
var ci2 = cg.AddCalculationItem("MTD", "TOTALMTD(...)");
// etc...

Daniel, Thanks!.  I see that AddCalculationItem() does the trick,  It is not exposed in the IntelliSense.


[BUG] Longhorn UI websockets fails when exposed via Ingress with Basic authentication

After applying what's described in Create an Ingress with Basic Authentication (nginx), it seems websocket connections fail with 401 status.

Version: v1.0.2

@khushboo-rancher can you check if you can reproduce the issue?

With MacOs, Chrome version 85.0.4183.121 and Firefox version 81.0.2, I'm not able to reproduce the issue.
In the past, there have been some issues around it as while opening a WebSocket connection which requires basic authentication, the header info gets eliminated causing the 401 failure. But those are fixed now.
https://bugs.chromium.org/p/chromium/issues/detail?id=123862
@mathieubodin Can you please let us know the OS and browser you're using? Also, can you update the browser or use other browsers to see if the error occurs?

@yasker Using Safari Version 14.0, I was able to reproduce the issue.

@yasker Using Safari Version 14.0, I was able to reproduce the issue.
In the console, the below logs can be seen. However, the basic functionality of UI is working.
WebSocket connection to 'ws://ui-url/v1/ws/1s/volumes' failed: Unexpected response code: 401
WebSocket connection to 'ws://ui-url/v1/ws/1s/settings' failed: Unexpected response code: 401
WebSocket connection to 'ws://ui-url/v1/ws/1s/engineimages' failed: Unexpected response code: 401
WebSocket connection to 'ws://ui-url/v1/ws/1s/nodes' failed: Unexpected response code: 401

That's exactly my case !

Thanks for confirming @mathieubodin . It is a browser issue for not sending authorization header over WebSocket, so I am afraid there isn't much we can do on our side. I will close this as won't fix .

I was getting 504 (Gateway Timeout) when accessing the UI in Opera GX. All works well in Chrome and Edge. Thanks for insight. I wouldn't notice this without reading this issue.


ptest for aktualizr

The needed CMake trickery is actually quite small!
But it copies the whole build and source directories on the device, which causes some rather long build times.
Tests are run under valgrind, with regular release compilation flags.
To run:

use these changes: https://github.com/advancedtelematic/aktualizr/pull/1119
add aktualizr-ptest and ptest-runner in IMAGE_INSTALL_append
build an image
run ptest-runner on the device

On my last run under qemu, the only error was:
[ RUN      ] fetcher.test_pause_ostree
created: /tmp/aktualizr-7819-b833-8d28-c0e1/dd1f-9831-dir
Bootstraping DB to version 18
...
Fetcher: nothing to pause
Fetcher: nothing to resume
Fetcher: already paused
client_pkey not present in db
client_cert not present in db
ca_cert not present
Fetcher: nothing to resume
ostree-pull: Receiving metadata objects: 1 outstanding: 1
progress callback: 0
ostree-pull: Writing objects: 1
ostree-pull: Writing objects: 1
Error while pulling image: Writing content object: fsetxattr(user.ostreemeta): Operation not supported
Downloaded 100MB in 8seconds
/usr/src/debug/aktualizr/1.0+gitAUTOINC+bd4318b562-7/git/src/libaktualizr/uptane/fetcher_test.cc:97: Failure
Value of: result.get()
  Actual: false
Expected: true
[  FAILED  ] fetcher.test_pause_ostree (13356 ms)

Coincidentally, I have the same problem on my local environment for some weeks now.
Would be curious to try on a raspberrypi as well!
I also had a problem with boost and dynamic linking at some point which got fixed by downgrading yocto's boost recipe. I'll try to dig a bit more into that, it might have been a transient issue that required a fresh rebuild of some recipes.

Forgot to check-in a new file... Fixed now.

Two annoying things holding us back now:

some weird linking error arises. It disappears when downgrading boost to the previous recipe in poky
ptests are built no matter what even if not deployed on images, which slows down image building by a noticeable amount

The raspeberrypi test run would still be interesting if I manage to get a working meta-raspberrypi revision...

Ok I've found a workaround for both of the problems: disable ptest in the recipe by default.
This additional step needs to be added to build the tests:
PTEST_ENABLED_pn-aktualizr = "1" in local.conf
Also confirmed that the build of the tests is broken on boost 1.69 but works on 1.68, for still obscure reasons. But since we can now disable building by default, I think we can merge safely :).

Progress on the linking issue: I've taken the compile command used for t_aktualizr-secondary-config which is one of the ones which fail and ported the yocto paths to regular host ones, also with boost 1.69.0:
/usr/bin/g++  -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-strong  -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security  -O2 -pipe -g -feliminate-unused-debug-types -fvisibility-inlines-hidden  -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-strong  -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security   -Wnon-virtual-dtor -DNDEBUG  -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-strong  -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security    -O2 -pipe -g -feliminate-unused-debug-types                                                                     -fvisibility-inlines-hidden  -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-strong  -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security   -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fstack-protector-strong -Wl,-z,relro,-z,now -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fstack-protector-strong -Wl,-z,relro,-z,now src/aktualizr_secondary/CMakeFiles/t_aktualizr_secondary_config.dir/aktualizr_secondary_config_test.cc.o src/aktualizr_secondary/CMakeFiles/t_aktualizr_secondary_config.dir/__/__/tests/test_utils.cc.o  -o src/aktualizr_secondary/t_aktualizr_secondary_config  src/libaktualizr/libaktualizr_static_lib.a /home/lbonn/opt/boost_1.69.0/lib/libboost_log_setup.so /home/lbonn/opt/boost_1.69.0/lib/libboost_log.so /home/lbonn/opt/boost_1.69.0/lib/libboost_filesystem.so /home/lbonn/opt/boost_1.69.0/lib/libboost_program_options.so /home/lbonn/opt/boost_1.69.0/lib/libboost_date_time.so /home/lbonn/opt/boost_1.69.0/lib/libboost_thread.so -lpthread /home/lbonn/opt/boost_1.69.0/lib/libboost_regex.so /home/lbonn/opt/boost_1.69.0/lib/libboost_chrono.so /home/lbonn/opt/boost_1.69.0/lib/libboost_atomic.so /usr/lib/x86_64-linux-gnu/libcurl.so /usr/lib/x86_64-linux-gnu/libssl.so /usr/lib/x86_64-linux-gnu/libcrypto.so -lpthread /usr/lib/x86_64-linux-gnu/libsodium.so /usr/lib/x86_64-linux-gnu/libostree-1.so -lgio-2.0 -lgobject-2.0 -lglib-2.0 /usr/lib/x86_64-linux-gnu/libsqlite3.so /usr/lib/x86_64-linux-gnu/libarchive.so /lib/x86_64-linux-gnu/libsystemd.so tests/gmock/gtest/libgtest.a tests/gmock/libgmock.a src/aktualizr_secondary/libaktualizr_secondary_static_lib.a /home/lbonn/opt/boost_1.69.0/lib/libboost_regex.so /home/lbonn/opt/boost_1.69.0/lib/libboost_chrono.so /home/lbonn/opt/boost_1.69.0/lib/libboost_atomic.so /usr/lib/x86_64-linux-gnu/libcurl.so /usr/lib/x86_64-linux-gnu/libssl.so /usr/lib/x86_64-linux-gnu/libcrypto.so /usr/lib/x86_64-linux-gnu/libsodium.so /usr/lib/x86_64-linux-gnu/libostree-1.so -lgio-2.0 -lgobject-2.0 -lglib-2.0 /usr/lib/x86_64-linux-gnu/libsqlite3.so /usr/lib/x86_64-linux-gnu/libarchive.so /lib/x86_64-linux-gnu/libsystemd.so tests/gmock/gtest/libgtest.a -pthread

When comparing with the command used to compile the same target on a host, I've made it succeed by removing -Wl,--as-needed and adding a -Wl,-rpath,/home/lbonn/opt/boost_1.69.0/lib. So there might be a way to solve that with CMake / Yocto tweaks.

The merge of https://github.com/advancedtelematic/aktualizr/pull/1127 fixed the linking issues! I've been able to run the suite on raspberrypi and qemu.

Annoying, my grep / sed horror does not work with the busybox versions of these tools...

Should be ready now, compiles and runs on qemu and raspberrypi + uses the output format expected by ptest.
Of course we have a lot of failures, including:

the ostree error described above
valgrind error in boost/filesystem, probably fixed here: bbe9d1771e5d679b3f10c42a58fc81f7e8c024a9. Could be potentially harmful in production?
false positives on rpi, unhandled insctruction in libcrypto: https://bugs.kde.org/show_bug.cgi?id=344802
a lots of failure on raspberrypi, also happening without valgrind. Would probably need investigating. Might be cause by too slow hardware

Sorry for changing it so often, it should be good to go now, with recently merged aktualizr PRs.
The core functionality, as well as the biggest errors are now fixed but it will need some continuous care of course.


chmod of mvnw causes GitLab CI build to fail

What happened?

What were you attempting to do?

I was trying to build a vanilla Spring Boot Initializr demo application with Maven using a basic creator based GitLab job:
stages:
  - build

default:
  tags:
    - linux
    - x86_64

build-image:
  stage: build
  image: paketobuildpacks/builder:base
  # Access to GitLab Container Registry for Paketo lifecycle
  before_script:
    - mkdir ~/.docker
    - echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_JOB_TOKEN\"}}}" >> ~/.docker/config.json
  script:
    - /cnb/lifecycle/creator
      -app=.
      $CI_REGISTRY_IMAGE:latest

What did you expect to happen?

Buildpacks to discover Spring Boot & maven app, build the OCI image and push it to my project's Container Registry.

What was the actual behavior? Please provide log output, if possible.

The job failed while trying to add an executable flag (chmod +x) to the mvnw binary. Probably due to dropping privileges to normal user which lost write access to the directory.
Paketo Maven Buildpack 6.5.2
  https://github.com/paketo-buildpacks/maven
  Build Configuration:
    $BP_MAVEN_BUILD_ARGUMENTS  -Dmaven.test.skip=true --no-transfer-progress package  the arguments to pass to Maven
    $BP_MAVEN_BUILT_ARTIFACT   target/*.[ejw]ar                                       the built application artifact explicitly.  Supersedes $BP_MAVEN_BUILT_MODULE
    $BP_MAVEN_BUILT_MODULE                                                            the module to find application artifact in
    $BP_MAVEN_DAEMON_ENABLED   false                                                  use maven daemon
    $BP_MAVEN_POM_FILE         pom.xml                                                the location of the main pom.xml file, relative to the application root
Paketo Maven Buildpack 6.5.2
  unable to chmod /builds/librarians/developer-experience/test-for-eks/mvnw
  chmod /builds/librarians/developer-experience/test-for-eks/mvnw: operation not permitted
ERROR: failed to build: exit status 1
Cleaning up project directory and file based variables
00:01
ERROR: Job failed: exit code 1

Build Configuration

What platform (pack, kpack, tekton buildpacks plugin, etc.) are you
using? Please include a version.
GitLab 14.10.1 calling the creator script from the paketobuildpacks/builder@sha256:eae726051f9e96855cdb8a393bc69eeb1dfc9670b4b59116eb5683f54191635a image

What buildpacks are you using? Please include versions.

What got auto-discovered, as I've provided no suggestions to the creator script:
Warning: Not restoring or caching layer data, no cache flag specified.
===> DETECTING
9 of 24 buildpacks participating
paketo-buildpacks/ca-certificates   3.2.2
paketo-buildpacks/bellsoft-liberica 9.3.4
paketo-buildpacks/syft              1.11.0
paketo-buildpacks/maven             6.5.2
paketo-buildpacks/executable-jar    6.2.3
paketo-buildpacks/apache-tomcat     7.3.3
paketo-buildpacks/liberty           1.1.0
paketo-buildpacks/dist-zip          5.2.3
paketo-buildpacks/spring-boot       5.10.0

What builder are you using? If custom, can you provide the output from pack inspect-builder <builder>?
Using docker image sha256:19ddf409a6cced9fb6447bdd1c23bc1ba6a47413f3b2915335ac7e6aaed0b87e for paketobuildpacks/builder:base with digest paketobuildpacks/builder@sha256:eae726051f9e96855cdb8a393bc69eeb1dfc9670b4b59116eb5683f54191635

Can you provide a sample app or relevant configuration (buildpack.yml,
nginx.conf, etc.)?

There is nothing specific about that. Plain Spring Boot Initializr app, so almost no source code, no buildpack.yml, just pom.xml and mvnw in repo.
Checklist

[x] I have included log output.
[x] The log output includes an error message.
[x] I have included steps for reproduction.

If I'm remembering correctly, we have to chmod that file because in some circumstances when you build from a Windows system it won't have the right permissions.
I suppose we could be more lenient with the error. If the chmod fails, we could just log a warning and attempt to continue on. Worst case if it's not executable, it'll fail when it tries to run mvnw.
This would be a good PR for a new contributor, if anyone is looking for an issue to help with.

Awesome, thanks! Feel free to ask questions here or on Slack. The code in question is here. FYI.
I think almost the same code exists for the Gradle buildpack as well. If you're up for submitting a PR there too.


Error when opening the game

when i try to open a error shows up mod is missing dependencies and the following mod has failed to load -Kitchen designer<PHONE_NUMBER>). I tried everything that's written in the dialog box and still its showing the same error please help.

my bad it was me sry.


Integration Test - Release - 2019/02/15 23:27:30

Auto create for integration test. AnotherAuthorUpdatedArticleFlow

@PRMergerTest2 : Thanks for your contribution! The author, @v-caxian, has been notified to review your proposed change.


Camera not display video

hello,
I followed the documentation to install the program but my cameras are not displayed.
when i do the test debug :
sudo omxplayer --no-keys --no-osd --avdict rtsp_transport:tcp rtsp://<IP_ADDRESS>:7447/YZvrRvq39eAmg5qN?enablertp --live -n -1 --timeout 30
the image is displayed correctly.
But with displaycameras I have :
Starting omxplayer for NE
Waiting for NE omxplayer startup 0
Waiting for NE omxplayer startup 1
Waiting for NE omxplayer startup 2
Waiting for NE omxplayer startup 3
Waiting for NE omxplayer startup 4
Waiting for NE omxplayer startup 5
NE failed playback
and no display video ..
Tanks for help !
displaycameras.conf.txt
layout.conf.default.txt
o

If that's true, then you didn't send me the default layout file at
/etc/displaycameras/ because this one shows more than one camera configured.
Male sure you are editing the correct files.
On Mon, Jun 27, 2022, 6:15 PM cabli @.***> wrote:

hello,
I followed the documentation to install the program but my cameras are not
displayed.
when i do the test debug :
sudo omxplayer --no-keys --no-osd --avdict rtsp_transport:tcp rtsp://
<IP_ADDRESS>:7447/YZvrRvq39eAmg5qN?enablertp --live -n -1 --timeout 30
the image is displayed correctly.
But with displaycameras I have :
Starting omxplayer for NE
Waiting for NE omxplayer startup 0
Waiting for NE omxplayer startup 1
Waiting for NE omxplayer startup 2
Waiting for NE omxplayer startup 3
Waiting for NE omxplayer startup 4
Waiting for NE omxplayer startup 5
NE failed playback
and no display video ..
Tanks for help !
displaycameras.conf.txt
https://github.com/Anonymousdog/displaycameras/files/8995934/displaycameras.conf.txt
layout.conf.default.txt
https://github.com/Anonymousdog/displaycameras/files/8995935/layout.conf.default.txt
o
—
Reply to this email directly, view it on GitHub
https://github.com/Anonymousdog/displaycameras/issues/116, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AHIYIKLT3GHOPSMY3LDH6LDVRIRZDANCNFSM52ABPYQQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

hello, yes this is the right file I want to display more than a camera. I tried to comment to show only one camera but the problem remains the same :
camera_feeds=( \
Mid-Res if your RPi can handle the load
"rtsp://xxx.xxx.xxx.xxx/yyyyy_1" \
Low-Res otherwise
"rtsp://xxx.xxx.xxx.xxx/yyyyy_2" \
#NE
#"rtsp://<IP_ADDRESS>:7447/IZ9UAMZR0yxq0boS?enablertp"
#SE
"rtsp://<IP_ADDRESS>:7447/YZvrRvq39eAmg5qN?enablertp"
#South
#"rtsp://<IP_ADDRESS>:7447/Lq9TlxRLezo8A7x9?enablertp"
#SW
#"rtsp://<IP_ADDRESS>:7447/Lq9TlxRLezo8A7x9?enablertp"
#West
#"rtsp://<IP_ADDRESS>:7447/Lq9TlxRLezo8A7x9?enablertp"
#Vestibule
#"rtsp://<IP_ADDRESS>:7447/Lq9TlxRLezo8A7x9?enablertp"
)

I can't explain how the script would produce failure for the same command
you are issuing to debug (because it's the same command [for omxplayer]).
All this package does is formulate desired RTSP URLs and window sizes
placement.
On Sun, Jul 3, 2022, 3:32 PM cabli @.***> wrote:

hello, yes this is the right file I want to display more than a camera. I
tried to comment to show only one camera but the problem remains the same :
camera_feeds=(
Mid-Res if your RPi can handle the load "rtsp://xxx.xxx.xxx.xxx/yyyyy_1" \ Low-Res
otherwise "rtsp://xxx.xxx.xxx.xxx/yyyyy_2" \
#NE
#"rtsp://<IP_ADDRESS>:7447/IZ9UAMZR0yxq0boS?enablertp"
#SE
"rtsp://<IP_ADDRESS>:7447/YZvrRvq39eAmg5qN?enablertp"
#South
#"rtsp://<IP_ADDRESS>:7447/Lq9TlxRLezo8A7x9?enablertp"
#SW
#"rtsp://<IP_ADDRESS>:7447/Lq9TlxRLezo8A7x9?enablertp"
#West
#"rtsp://<IP_ADDRESS>:7447/Lq9TlxRLezo8A7x9?enablertp"
#Vestibule
#"rtsp://<IP_ADDRESS>:7447/Lq9TlxRLezo8A7x9?enablertp"
)
—
Reply to this email directly, view it on GitHub
https://github.com/Anonymousdog/displaycameras/issues/116#issuecomment-1173158578,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHIYIKIJMJZLVOGXTGGMB6LVSHTF3ANCNFSM52ABPYQQ
.
You are receiving this because you commented.Message ID:
@.***>

Have you tried removing the "?enablertp" from each URL? When you change the port as you did, this part of the URL is no longer needed.

Looks like your using Unifi protect they have changed it the correct URL is
rtsp://<IP_ADDRESS>:7441/Lq9TlxRLezo8A7x9
remove s from rtsps change port to 7441 and remove ?enablertp


[DOC] Type of "metrics" of deep learning classifiers using keras could be improved

Describe the issue linked to the documentation
For example, the metrics argument of the LITETimeCLassifier (https://www.aeon-toolkit.org/en/stable/api_reference/auto_generated/aeon.classification.deep_learning.LITETimeClassifier.html#aeon.classification.deep_learning.LITETimeClassifier) states:

metricsstr or list[str], default=”accuracy”
The evaluation metrics to use during training. If a single string metric is provided, it will be used as the only metric. If a list of metrics are provided, all will be used for evaluation.

However, one can (and has to, if using more complicated metrics) directory use the Keras classes. For example,
        metrics=[
            keras.metrics.AUC(),
            keras.metrics.FBetaScore(average="macro", beta=4.0),
        ],

Suggest a potential alternative/fix
Keras uses the following wording:

List of metrics to be evaluated by the model during training and testing. Each of this can be a string (name of a built-in function), function or a keras.metrics.Metric instance.

thanks for that, would welcome a PR


Just stopped working with username...

Hi,
Thanks for this nice project!
The function just stopped working when it used with username on my website.
I checked on your documentation website and it's same issue.
Do you know what happened?
Thanks for your help,
Kind regards

This might be due to too many requests from one IP. Obviously, you are banned for 24 hours. This happened to me too, when I was actively working on my site. You can check your page through some proxy. I am sure it will be OK.

Oh ok, thanks a lot for your reply! Hope tomorrow it will be fine :)
Kind regards,

Exactly what @mahotilo said, you can find more info about this in #25


IP address change of provisioned VM

Is there a way to change ip_address of the created HyperV VM , such that we can RDP into it. Right now, the only way is to use 'connect' option and then go in there and change TCP/IPv4 using GUI only.
PS- I see a field "ip_addresses" in network adapters, but unable to change it, there is no method as such.
Urgently need it for doing RDP.
In short- how to assign ip address to the generated HyperV Virtual machine using fog-hyperV?

Hello,
Hyper-V doesn't actually handle IP addresses, it only supports reading the value that the operating system has assigned to the virtual adapter. There's no way for the hypervisor to set this value, only the OS.
You can read and change the MAC address, as that's the hardware address, but the IP is handled on the operating system level and there's no method for Hyper-V to interfere there.

Hello,
Hyper-V doesn't actually handle IP addresses, it only supports reading the value that the operating system has assigned to the virtual adapter. There's no way for the hypervisor to set this value, only the OS.
You can read and change the MAC address, as that's the hardware address, but the IP is handled on the operating system level and there's no method for Hyper-V to interfere there.

Hello ,
First of all, you've done an excellent job developing this library.
But what I want to do is - " After I create a VM, and attach all DVDs,
HDDs, RAM etc, and it starts (compute.start_vm), how to use RDP (remote
desktop protocol) to connect to the VM ? Right now we just click "connect"
on the hyperV interface, but I want to use the VM I created using RDP so
that an entire new window opens.
PS- for RDP, one needs IP address of the machine (the hyperV VM created),
Username and password (of the installed OS in the created VM)

All we have achieved till now is creating and starting the VM with an OS
(ex - MS server 2016) , but how to connect to it ??
If you could please help me with this it would be really helpful.
Thank you
On Sun, Jan 10, 2021, 7:46 PM ananace<EMAIL_ADDRESS>wrote:

Hello,
Hyper-V doesn't actually handle IP addresses, it only supports reading the
value that the operating system has assigned to the virtual adapter.
There's no way for the hypervisor to set this value, only the OS.
You can read and change the MAC address, as that's the hardware address,
but the IP is handled on the operating system level and there's no method
for Hyper-V to interfere there.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ananace/fog-hyperv/issues/22#issuecomment-757483229,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AM56VLT2RNTPQHIW3HA7MMDSZGZCHANCNFSM4VSYUSEQ
.

Hello ,
First of all, you've done an excellent job developing this library.
But what I want to do is - " After I create a VM, and attach all DVDs,
HDDs, RAM etc, and it starts (compute.start_vm), how to use RDP (remote
desktop protocol) to connect to the VM ? Right now we just click "connect"
on the hyperV interface, but I want to use the VM I created using RDP so
that an entire new window opens.
PS- for RDP, one needs IP address of the machine (the hyperV VM created),
Username and password (of the installed OS in the created VM)

All we have achieved till now is creating and starting the VM with an OS
(ex - MS server 2016) , but how to connect to it ??
If you could please help me with this it would be really helpful.
Thank you
On Sun, Jan 10, 2021, 7:46 PM ananace<EMAIL_ADDRESS>wrote:

Hello,
Hyper-V doesn't actually handle IP addresses, it only supports reading the
value that the operating system has assigned to the virtual adapter.
There's no way for the hypervisor to set this value, only the OS.
You can read and change the MAC address, as that's the hardware address,
but the IP is handled on the operating system level and there's no method
for Hyper-V to interfere there.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ananace/fog-hyperv/issues/22#issuecomment-757483229,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AM56VLT2RNTPQHIW3HA7MMDSZGZCHANCNFSM4VSYUSEQ
.

To connect to Hyper-V VMs before they have a running OS, you will RDP to the VM host and use the correct parameter for Hyper-V to pass the RDP connection on into the VM console.
https://superuser.com/questions/685968/directly-accessing-hyper-v-console-via-rdp - the answer contains information both for connecting with vmconnect and RDP on Windows, as well as FreeRDP otherwise.
If you - on the other hand - actually need to connect directly to the VM itself, then you will need to let it boot, have it install and run an operating system, let it get an IP address from your DHCP server, and then connect to that IP address.

To connect to Hyper-V VMs before they have a running OS, you will RDP to the VM host and use the correct parameter for Hyper-V to pass the RDP connection on into the VM console.
https://superuser.com/questions/685968/directly-accessing-hyper-v-console-via-rdp - the answer contains information both for connecting with vmconnect and RDP on Windows, as well as FreeRDP otherwise.
If you - on the other hand - actually need to connect directly to the VM itself, then you will need to let it boot, have it install and run an operating system, let it get an IP address from your DHCP server, and then connect to that IP address.

Thanks a ton, will check out the link you provided.
Actually I don't want to connect to the hyperV VM without installing OS.
I am totally fine using any OS installation, preferably ms server.
But the scenario is,
I want a user input of a static IP address he wants via frontend, and
somehow assign that IP address to my commissioned hyper VM, so that he can
then connect to it.
It's like how we provision VMs on Azure or VMware... We can set a static IP
and then connect to it right ...
On Sun, Jan 10, 2021, 8:20 PM ananace<EMAIL_ADDRESS>wrote:

To connect to Hyper-V VMs before they have a running OS, you will RDP to
the VM host and use the correct parameter for Hyper-V to pass the RDP
connection on into the VM console.
https://superuser.com/questions/685968/directly-accessing-hyper-v-console-via-rdp

the answer contains information both for connecting with vmconnect and
RDP on Windows, as well as FreeRDP otherwise.

If you - on the other hand - actually need to connect directly to the VM
itself, then you will need to let it boot, have it install and run an
operating system, let it get an IP address from your DHCP server, and then
connect to that IP address.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ananace/fog-hyperv/issues/22#issuecomment-757489026,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AM56VLXEWNLCEY2EQ7F6G4TSZG5EVANCNFSM4VSYUSEQ
.

Thanks a ton, will check out the link you provided.
Actually I don't want to connect to the hyperV VM without installing OS.
I am totally fine using any OS installation, preferably ms server.
But the scenario is,
I want a user input of a static IP address he wants via frontend, and
somehow assign that IP address to my commissioned hyper VM, so that he can
then connect to it.
It's like how we provision VMs on Azure or VMware... We can set a static IP
and then connect to it right ...
On Sun, Jan 10, 2021, 8:20 PM ananace<EMAIL_ADDRESS>wrote:

To connect to Hyper-V VMs before they have a running OS, you will RDP to
the VM host and use the correct parameter for Hyper-V to pass the RDP
connection on into the VM console.
https://superuser.com/questions/685968/directly-accessing-hyper-v-console-via-rdp

the answer contains information both for connecting with vmconnect and
RDP on Windows, as well as FreeRDP otherwise.

If you - on the other hand - actually need to connect directly to the VM
itself, then you will need to let it boot, have it install and run an
operating system, let it get an IP address from your DHCP server, and then
connect to that IP address.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ananace/fog-hyperv/issues/22#issuecomment-757489026,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AM56VLXEWNLCEY2EQ7F6G4TSZG5EVANCNFSM4VSYUSEQ
.

What you will want to do for your use-case would be to set the VM's MAC address in your DHCP server to give it a fixed IP address.
Hyper-V is a regular hypervisor, one that only deals with the virtualization of hardware. The IP address that a running machine acquires isn't able to be decided by the network hardware, it's done on the OS level - either with a client that talks DHCP to get a lease on an address, or by statically configuring an IP address on the interface. Either way, Hyper-V is only able to affect the virtualized hardware itself, and the network adapter hardware itself doesn't have any say in this particular regard.
If other providers - cloud or not - allow for configuring the IP on a virtual machine inside of them, it's most likely done by them running a DHCP server internally which the VM will end up receiving the IP from. Or they're relying on the installation of VM tools, which would let the virtual machine communicate directly with the hypervisor to read a requested IP config and apply it on the OS level.
For my foreman_hyperv plugin, your scenario is done by; the user entering an IP in the Foreman interface when creating a host, a VM is then created in Hyper-V, launched for a second, before then being killed again so that Hyper-V has to generate a MAC address for it, then reconfigured to have that MAC address assigned statically to the adapter. After that, the DHCP server has an entry orchestrated to fix the chosen address to the generated MAC address, which the VM will then pick up when it next boots and runs a DHCP request.

What you will want to do for your use-case would be to set the VM's MAC address in your DHCP server to give it a fixed IP address.
Hyper-V is a regular hypervisor, one that only deals with the virtualization of hardware. The IP address that a running machine acquires isn't able to be decided by the network hardware, it's done on the OS level - either with a client that talks DHCP to get a lease on an address, or by statically configuring an IP address on the interface. Either way, Hyper-V is only able to affect the virtualized hardware itself, and the network adapter hardware itself doesn't have any say in this particular regard.
If other providers - cloud or not - allow for configuring the IP on a virtual machine inside of them, it's most likely done by them running a DHCP server internally which the VM will end up receiving the IP from. Or they're relying on the installation of VM tools, which would let the virtual machine communicate directly with the hypervisor to read a requested IP config and apply it on the OS level.
For my foreman_hyperv plugin, your scenario is done by; the user entering an IP in the Foreman interface when creating a host, a VM is then created in Hyper-V, launched for a second, before then being killed again so that Hyper-V has to generate a MAC address for it, then reconfigured to have that MAC address assigned statically to the adapter. After that, the DHCP server has an entry orchestrated to fix the chosen address to the generated MAC address, which the VM will then pick up when it next boots and runs a DHCP request.

Thank you ananace for the insightful information. :)
Will definitely look into it.
On Sun, Jan 10, 2021 at 11:42 PM ananace<EMAIL_ADDRESS>wrote:

What you will want to do for your use-case would be to set the VM's MAC
address in your DHCP server to give it a fixed IP address.
Hyper-V is a regular hypervisor, one that only deals with the
virtualization of hardware. The IP address that a running machine acquires
isn't able to be decided by the network hardware, it's done on the OS level

either with a client that talks DHCP to get a lease on an address, or by
statically configuring an IP address on the interface. Either way, Hyper-V
is only able to affect the virtualized hardware itself, and the network
adapter hardware itself doesn't have any say in this particular regard.

If other providers - cloud or not - allow for configuring the IP on a
virtual machine inside of them, it's most likely done by them running a
DHCP server internally which the VM will end up receiving the IP from. Or
they're relying on the installation of VM tools, which would let the
virtual machine communicate directly with the hypervisor to read a
requested IP config and apply it on the OS level.
For my foreman_hyperv https://github.com/ananace/foreman_hyperv plugin,
your scenario is done by; the user entering an IP in the Foreman interface
when creating a host, a VM is then created in Hyper-V, launched for a
second, before then being killed again so that Hyper-V has to generate a
MAC address for it, then reconfigured to have that MAC address assigned
statically to the adapter. After that, the DHCP server has an entry
orchestrated to fix the chosen address to the generated MAC address, which
the VM will then pick up when it next boots and runs a DHCP request.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ananace/fog-hyperv/issues/22#issuecomment-757518917,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AM56VLVKMGGI5UNWNXPPCHLSZHUZLANCNFSM4VSYUSEQ
.

Thank you ananace for the insightful information. :)
Will definitely look into it.
On Sun, Jan 10, 2021 at 11:42 PM ananace<EMAIL_ADDRESS>wrote:

What you will want to do for your use-case would be to set the VM's MAC
address in your DHCP server to give it a fixed IP address.
Hyper-V is a regular hypervisor, one that only deals with the
virtualization of hardware. The IP address that a running machine acquires
isn't able to be decided by the network hardware, it's done on the OS level

either with a client that talks DHCP to get a lease on an address, or by
statically configuring an IP address on the interface. Either way, Hyper-V
is only able to affect the virtualized hardware itself, and the network
adapter hardware itself doesn't have any say in this particular regard.

If other providers - cloud or not - allow for configuring the IP on a
virtual machine inside of them, it's most likely done by them running a
DHCP server internally which the VM will end up receiving the IP from. Or
they're relying on the installation of VM tools, which would let the
virtual machine communicate directly with the hypervisor to read a
requested IP config and apply it on the OS level.
For my foreman_hyperv https://github.com/ananace/foreman_hyperv plugin,
your scenario is done by; the user entering an IP in the Foreman interface
when creating a host, a VM is then created in Hyper-V, launched for a
second, before then being killed again so that Hyper-V has to generate a
MAC address for it, then reconfigured to have that MAC address assigned
statically to the adapter. After that, the DHCP server has an entry
orchestrated to fix the chosen address to the generated MAC address, which
the VM will then pick up when it next boots and runs a DHCP request.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ananace/fog-hyperv/issues/22#issuecomment-757518917,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AM56VLVKMGGI5UNWNXPPCHLSZHUZLANCNFSM4VSYUSEQ
.


The pipe syntax does'nt work with function call from outside the app

Current behavior
I have a function where the method use is used.
When I call this function within my application, it does what it's supposed to do.
It changes the language in a template using the pipe syntax

Test {{'teststring' | translate}}

If I call the same function outside the application via a JavaScript file, then I can no longer use the pipe syntax.
Only the translation via the directive syntax works now.
Expected behavior
It should be possible to continue the translation with the Pipe syntax.
How do you think that we should fix this?
I'm not sure if this is a bug, but I can't find any information about the behavior.
Minimal reproduction of the problem with instructions
app.component.ts
export class AppComponent implements OnInit{

  defaultLanguage = getLanguage();

  constructor(private translate: TranslateService) {
    this.translate.setDefaultLang(this.defaultLanguage);
    this.translate.use(this.defaultLanguage);
    this.translate.addLangs(['en']);
  }

  ngOnInit() {
    // external ChangeLanguageListener with selectLang(lang) as my callback
    onChangeLanguage(this.selectLang.bind(this));
  }

  selectLang(lang) {
    this.translate.use(lang);
  }

app.component.html

teststringDirective

Test {{'teststringPipe' | translate}}

Environment

ngx-translate version: 10.0.2
Angular version: 6.1.7

Browser:
- [x] Chrome (desktop)
- [x] Firefox version

For Tooling issues:
- Node version: 10.7.0
- Platform:  Linux

I solved this problem with
// zone = NgZone from '@angular/core'
this.zone.run(() => {
        this.translate.use(lang);
    });

in selectLang.


feat/rollback to last irreversible block if detect fork at start time

LGTM.

Please close this PR since it introduces an unnecessary breaking change in the handleBlock function.


gettext 0.22.5

Checklist

[ ] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

@conda-forge/gettext @conda-forge/core This is ready for review. It is a major rework of this package and thus I would appreciate a good review. I have also set the target_channel to gettext_dev to build glib and similar libs first before pushing it to main as there have been problems before and I want to be extra sure to not break conda-forge with this.

Thanks @xhochy and @pkgw! BTW, don't wait for me to merge things like this. I will be "away" for a few weeks.


Informative status messages

It would be more helpful to print status messages for each command executed.

Hi @Temoto-kun , care to do this tedious task?

No problem. Kindly have this task assigned to me.


Forms not automatically scrolling to top upon submit

Affects: Indicator config modal forms
Upon submit, the form should scroll to top, the way it does for the collected data record.

unable to replicate


Added optional paramater to createChild - AppSettingsTreeItem.

Fix #297

Doesn't create any AppSetting:

Compile error from appservice:

Should I copy-paste this code in AppService then? Here I have exactly what I need and can't see any other way to run it


[DOCFIX] Add instructions to turn on UFS logging

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-PR-Builder/9785/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-PR-Builder/9787/
Test PASSed.

alluxio-bot, merge this please


how be clean to topics offets?

i can't stop koya and i want to clean to topics offets.

@mslee89 You should be able to stop koya by using yarn command

This project is now part of Slider: https://github.com/apache/incubator-slider/tree/develop/app-packages/kafka

can not initialize the offsets during the execution?


Failure to format comments in latest VS 2022

CommentsPlus does not seem to work at all (no comments are enhanced).

Same as #21 - looking into it.


spring cloud tutorial order

hello, I am a spring cloud newbie, I am wondering if you guys could reorganize spring cloud tutorials MD. so that it shows the prerequisites .thanks.

Hey @justStarNew,
Could you please send us an email about that<EMAIL_ADDRESS>Thanks!

ok


How to define the value of "specver" in register VERSION

Hi,
Several versions have been released, including v0.9.0, v0.9.1, v0.9.2-RC1, and v0.9.2-RC2.  How should these versions be represented in the VERSION.specver register?
Thanks

AFAIK, VERSION.specver is not defined currently. It will be defined in ratified version.


chore(main): release faro-shop 0.61.0

:robot: I have created a release beep boop
0.61.0 (2024-11-07)
Features

Bump app to 0.40.9 (#949) (15dd5d8)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

faro-shop-0.61.0
:sunflower:


add example and a test on using specific chunk sizes in from_array()

[ ] Closes #xxxx
[x] Tests added / passed
[x] Passes black dask / flake8 dask

I recently found a need to convert a numpy 2D array into a 2-chunk Dask Array with exactly-specified, different sized chunks. I consulted the documentation at https://docs.dask.org/en/latest/array-api.html#dask.array.from_array but couldn't understand how to do this correctly, which led to me opening #7310. The way this works was explained to me in #7310 and that issue was closed.
Based on my experience with this feature of Dask Array, in this PR I'd like to propose two small changes:

an example in the documentation for from_array() that shows how to explicitly control chunk sizes
a unit test on the behavior of explicitly controlling task sizes (there are not currently any such tests in this repo, as far as I can tell, based on git grep from_array dask/tests)

Thanks for your time and consideration.

Thanks for opening this @jameslamb! I think the docstring change is definitely an improvement, but the test case is already covered, most of the tests for arrays are nested within the array dir. You can persuade yourself that the error case is being tested (this is what I just did) by changing ValueError to KeyError here
https://github.com/dask/dask/blob/fb544144611b25a6f23d90637038a93f93153f8f/dask/array/core.py#L2761
and running pytest -k array -n auto to see the failures.

oh! I did not realize that that tests were spread across multiple directories so I only checked with git grep from_array dask/tests.
removed in https://github.com/dask/dask/pull/7330/commits/c1dcb56dde305e22117f37ab5ebdfc3b3b1e75db


Supported pecl extensions list

Fixes #135

Some extensions marked as "deprecated" can be provided by a custom repository if PIE can support #110
Sometimes, the extension does not need a new version to use with the latest PHP version.


High CPU usage when switching user

On Windows 10 (possibly others too), when switching to a different user (without signing out) if Toggl Desktop is running, the app will start using 100% of available CPU (though only a single core it appears).

Interestingly, during this time, almost nothing happens in the log file.
This definitely needs some more detailed looking at.

Profiling shows that the windows message loop runs hot during the times in question (instead of running idle, like one would expect). It seems that something may cause the window to continuously redraw itself. Need to investigate what messages are being received.

I have confirmed that when being logged into another user, the application is spammed with the WM_PAINT message which indicates that the window should be redrawn.

The same behaviour occurs in a completely new WPF app with just a single empty window.
Most likely this is a bug in WPF. For now, a workaround is to minimize the app before switching users.

This problem has since been fixed by Microsoft. See here:
https://connect.microsoft.com/VisualStudio/feedback/details/2390593/wpf-apps-use-a-lot-of-cpu-time-when-logged-into-different-user

Jep Microsoft is to blame.


GEOD-6 - Create RadioInterference Orika mapper

I did my own TimePeriodType and EffectiveDates converter though realised you may have already done one.  Let me know and I'll change this to use yours.
Similarly I did my own Date parsing (updated GMLDateUtils) and I think you were in the process of doing something different so I'll change to that also.

Feedback commit.  Date handling improved.

Hold off on merging this.  I should be able to fix up the Converters.

I've updated it to use the same code Heya used in one of her mappers.  Simpler.  Tests are still quite extensive but pass of courses.  I changed to use Hamcrest in tests.

Ok good to go now.  It now includes some Sonar requested changes.

NOPE, forgot to incoropate into the larger mapper!

Closing and doing a new PR


[Linux][0.1.3] Build failed with error

When I run app, those errors shows up and causes build failed.
I add include <string> in local_notifier_plugin.cc , the error disappeared and works. But I am not sure if this is the right fix.
/home/stonegate/Flutter/jenkins-board/linux/flutter/ephemeral/.plugin_symlinks/local_notifier/linux/local_notifier_plugin.cc:20:10: error: no member named 'string' in namespace 'std'; did you mean 'stdin'?
/home/stonegate/Flutter/jenkins-board/linux/flutter/ephemeral/.plugin_symlinks/local_notifier/linux/local_notifier_plugin.cc:20:15: error: template argument for template type parameter must be a type
/home/stonegate/Flutter/jenkins-board/linux/flutter/ephemeral/.plugin_symlinks/local_notifier/linux/local_notifier_plugin.cc:125:17: error: no member named 'string' in namespace 'std'; did you mean 'stdin'?
/home/stonegate/Flutter/jenkins-board/linux/flutter/ephemeral/.plugin_symlinks/local_notifier/linux/local_notifier_plugin.cc:125:22: error: template argument for template type parameter must be a type

Can you please have a check?
Thanks!

Thanks, I have fixed it, please update to 0.1.4


feat: Optimizes animation commands

fixes godot-escoria/escoria-issues#56
fixes godot-escoria/escoria-issues#57

Look good to me :) Thanks a lot!


Debug and Info logs are not shown

Describe the bug / error
When log using info level proxywasm.LogInfof("hello!") is not shown in console, but when using warn or error it's displayed properly. Log level of my istio is INFO already,
What is your Envoy/Istio version?
Istio 1.20
What is the SDK version?
0.23
What is your TinyGo version?
0.31.2
URL or snippet of your code including Envoy configuration
package main

import (
	"github.com/tetratelabs/proxy-wasm-go-sdk/proxywasm"
	"github.com/tetratelabs/proxy-wasm-go-sdk/proxywasm/types"
)

type vmContext struct {
	// Embed the default VM context here,
	// so that we don't need to reimplement all the methods.
	types.DefaultVMContext
}

type loggerPluginContext struct {
	// Embed the default plugin context here,
	// so that we don't need to reimplement all the methods.
	types.DefaultPluginContext
}

type loggerHttpContext struct {
	// Embed the default http context here,
	// so that we don't need to reimplement all the methods.
	types.DefaultHttpContext
}

func main() {
	proxywasm.SetVMContext(&vmContext{})
}

// Override types.DefaultVMContext.
func (*vmContext) NewPluginContext(contextID uint32) types.PluginContext {
	return &loggerPluginContext{}
}

// Override types.DefaultPluginContext.
func (ctx *loggerPluginContext) NewHttpContext(contextID uint32) types.HttpContext {
	return &loggerHttpContext{}
}

// Override types.DefaultHttpContext.
func (ctx *loggerHttpContext) OnHttpResponseHeaders(numHeaders int, endOfStream bool) types.Action {

	proxywasm.LogInfof("not displayed")
	proxywasm.LogWarnf("displayed ok")

	return types.ActionContinue
}

I encountered the same problem

same problem.
for me, seems like the beheavior is not linear, some lines of logging are executed, while the others are not.

Any update on this? Facing the same problem that only Warning logs are visible

I did it a go by adding a test that prints logs: https://github.com/tetratelabs/proxy-wasm-go-sdk/compare/main...M4tteoP:proxy-wasm-go-sdk:logs_levels.
With a standalone envoy, everything seems to be working as expected:
▶ envoy --version
envoy  version: 816188b86a0a52095b116b107f576324082c7c02/1.30.1/Distribution/RELEASE/BoringSSL
▶ make run name=logs_levels
[...]
wasm log: It's<PHONE_NUMBER>872354000: random value:<PHONE_NUMBER>7141755441
wasm log: OnTick called with LogInfof
wasm log: OnTick called with LogDebug
wasm log: OnTick called with LogInfo
wasm log: OnTick called with LogWarn
wasm log: OnTick called with LogError
wasm log: OnTick called with LogCritical

Based on istio doc, Envoy 1.28 is the one used in Istio 1.20:
▶ envoy --version
envoy  version: b5ca88acee3453c9459474b8f22215796eff4dde/1.28.0/Distribution/RELEASE/BoringSSL
▶ make run name=logs_levels
[...]
wasm log: It's<PHONE_NUMBER>020451000: random value:<PHONE_NUMBER>932656402
wasm log: OnTick called with LogInfof
wasm log: OnTick called with LogDebug
wasm log: OnTick called with LogInfo
wasm log: OnTick called with LogWarn
wasm log: OnTick called with LogError
wasm log: OnTick called with LogCritical

Are you all facing the issue in Istio 1.20 or can you reproduce it on a standalone envoy?

I am having logs issue only after applying the WASM filter to the istio ingress gateway. Standalone envoy when ran as docker container worked fine with emitting info logs and debug when -l is set.

I don't think this is a SDK specific issue, please ask in either Istio or Envoy slack instead.


[GUI NX] - dojot icon does not appear in the Page tab

The dojot icon does not appear in the browser tab.

Please tell us about your environment:

Version: GUI NX
Environment: [docker-compose]
Operating system: [Ubuntu 16.04]

Test performed on version ( v-guinx-19-05-22 )


Document local development setup

Add to contributing

running from IntelliJ with Docker Compose
any config to use "real" services we might need

https://trello.com/c/1Ag53ZUK


Add Missing Include stddef.h in bt_hal_manager.h

bt_hal_manager.h uses size_t type but doesn't include stddef.h
Description
Add stddef.h include to bt_hal_manager.h
Checklist:

[ x] I have tested my changes. No regression in existing tests.
[ x] My code is Linted.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/bot run checks

/bot run checks

/bot run checks

/cbmc run checks

/bot run checks

/bot run checks

/bot run checks

/bot run checks

/bot run checks


PGADMIN4 end to end SSL behind AGIC is working

**Describe **
PGADMIN4 end to end SSL behind AGIC is working
This might help anyone else.
We have pgadmin4 running inside AKS and behind AGIC with end to end SSL.
Things to take care.
1.You need to add all chain of certificate in cert file.
add all server,root and intermediate.
2. used below.
annotations:
kubernetes.io/ingress.class: azure/application-gateway
appgw.ingress.kubernetes.io/backend-protocol: "https"
appgw.ingress.kubernetes.io/backend-hostname: "pgadmin.xxxxxx.ca"
appgw.ingress.kubernetes.io/cookie-based-affinity: "true"
appgw.ingress.kubernetes.io/appgw-trusted-root-certificate: "xxxxxxx-root-cert1"
3.From PGADMIN side make sure add below else donet work.
- name: PGADMIN_CONFIG_ENHANCED_COOKIE_PROTECTION
value: "False"
4. Also have used azure file for data persistent.
volumes:
- name: pgadmin-var
persistentVolumeClaim:
claimName: pvc-azurefile-pgadmin-var
- name: pgadmin-cert
secret:
secretName: pgadmin-ssl-key
To Reproduce
Steps to reproduce the behavior:
Ingress Controller details

Output of kubectl describe pod <ingress controller> . The  pod name can be obtained by running helm list.
Output of `kubectl logs .
Any Azure support tickets associated with this issue.

create detail document
https://github.com/niteenkole/pgadmin4

Thanks @niteenkole , would you mind to help contribute your writings to agic how-tos?

Sure

Thanks @niteenkole .Closing the issue.


Add a Content-Security-Policy

Should fix #538.
Only the first commit (3686e8ae33ec47eac2b9e24f02c84ffd40e2dfff) is strictly necessary - the next one (6009d1534a63f5f9feba257f0672c16176d14fcb) tries to remove the duplicated source urls between the CSP & the layout template, but I don't know that the extra indirection is worth it - see what you think.
I was getting fun errors testing this in docker-compose on an M1 mac (eg Mongo failing with runtime: failed to create new OS thread) so updated that too.

@jdelStrother thanks! Really appreciate this. I'm running the CI workflows now and should be merging this soon.
I've been giving www.flippercloud.io credits to people who contribute, so if you want to check it out beyond the trial, let me know and I'll spot you several months or more.
Lastly, if you don't mind, I would love to know what you are using flipper for as well and how it is working out for you (what went well, what was hard other than what you mentioned here).
If you aren't comfortable leaving that information here in a public comment, feel free to email me directly<EMAIL_ADDRESS>I'm just always curious. :)

Thanks! We've only just started experimenting with it for audioboom.com, but will let you know.


Update egress rules user guide with user scope ui

Fixes firezone/product#408

@akrousset Ahh, sorry I meant the text in the product UI under the Egress Rules title


signInputByScriptSig scriptSig size check is imprecise

Legacy script sig size limit must calculate including redeem script, but it doesn't.

resolved as 7af29743e437d0bae44835a5a0f229fa8d41055b


Unable to download data [SSL: CERTIFICATE_VERIFY_FAILED]

I followed instructions to install biomedicus v3 on both my Mac and a clean Ubuntu VM. Both produced the same error below. I tried every suggestion I found online:

pip3 install certifi
running Install Certificates.command in Mac
running Update Shell Profile.command

Nothing seems to help.
`alex@labrat:~$ biomedicus deploy --download-data
No existing data folder.
Starting download:  https://nlpie.umn.edu/downloads/open/biomedicus-3.0b6-standard-data.zip
Traceback (most recent call last):
File "/usr/lib/python3.8/urllib/request.py", line 1326, in do_open
h.request(req.get_method(), req.selector, req.data, headers,
File "/usr/lib/python3.8/http/client.py", line 1240, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/lib/python3.8/http/client.py", line 1286, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/lib/python3.8/http/client.py", line 1235, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/lib/python3.8/http/client.py", line 1006, in _send_output
self.send(msg)
File "/usr/lib/python3.8/http/client.py", line 946, in send
self.connect()
File "/usr/lib/python3.8/http/client.py", line 1409, in connect
self.sock = self._context.wrap_socket(self.sock,
File "/usr/lib/python3.8/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/usr/lib/python3.8/ssl.py", line 1040, in _create
self.do_handshake()
File "/usr/lib/python3.8/ssl.py", line 1309, in do_handshake
self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/alex/.local/bin/biomedicus", line 8, in
sys.exit(main())
File "/home/alex/.local/lib/python3.8/site-packages/biomedicus/cli.py", line 77, in main
f(conf)
File "/home/alex/.local/lib/python3.8/site-packages/biomedicus/deployment/deploy_biomedicus.py", line 101, in deploy
check_data(conf.download_data)
File "/home/alex/.local/lib/python3.8/site-packages/biomedicus/deployment/deploy_biomedicus.py", line 71, in check_data
download_data_to(download_url, data)
File "/home/alex/.local/lib/python3.8/site-packages/biomedicus/deployment/deploy_biomedicus.py", line 86, in download_data_to
urllib.request.urlretrieve(download_url, filename=temporary_file.name,
File "/usr/lib/python3.8/urllib/request.py", line 247, in urlretrieve
with contextlib.closing(urlopen(url, data)) as fp:
File "/usr/lib/python3.8/urllib/request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib/python3.8/urllib/request.py", line 525, in open
response = self._open(req, data)
File "/usr/lib/python3.8/urllib/request.py", line 542, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
File "/usr/lib/python3.8/urllib/request.py", line 502, in _call_chain
result = func(*args)
File "/usr/lib/python3.8/urllib/request.py", line 1369, in https_open
return self.do_open(http.client.HTTPSConnection, req,
File "/usr/lib/python3.8/urllib/request.py", line 1329, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)>
alex@labrat:~$
`

Hello, as a manual workaround could you try downloading that linked file (https://nlpie.umn.edu/downloads/open/biomedicus-3.0b6-standard-data.zip) and unzipping the contents to ~/.biomedicus/data. I'll work on replicating and debugging this.

Yes, that was indeed the workaround I came to last night. I had to manually update the file name to b6 because it wasn’t listed on the downloads page.
I appreciate the response!

On Aug 24, 2020, at 11:06 AM, Ben Knoll<EMAIL_ADDRESS>wrote:
Hello, as a manual workaround could you try downloading that linked file (https://nlpie.umn.edu/downloads/open/biomedicus-3.0b6-standard-data.zip https://nlpie.umn.edu/downloads/open/biomedicus-3.0b6-standard-data.zip) and unzipping the contents to ~/.biomedicus/data. I'll work on replicating and debugging this.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/nlpie/biomedicus3/issues/69#issuecomment-679183688, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABB6YSF6PCJCWXRM76EKFS3SCJ6W5ANCNFSM4QI54ASA.


Add install instructions for Fedora

https://github.com/IonicaBizau/cli-github/pull/23#issuecomment-125929721  – no problem :)

:cake: :+1:


New operators: trigonometric functions

New trigonometric function operators: EventSet.sin(), .cos(), .tan(), .arcsin(), .arccos(), .arctan().
Implementation should be factored with base classes so that each operation only needs to define the numpy method it needs to call.
Can possibly be implemented by extending temporian/core/operators/unary.py.
See numpy's definitions of these functions for reference. cos for example.
See https://github.com/google/temporian/blob/main/CONTRIBUTING.md#developing-a-new-operator for guidance.
Questions or requests for additional guidance from possible contributors more than welcome!

Interested in adding this functionality!

All yours @akshatvishu!
As said in the issue's description, all of these operators that only receive and return floats, without altering the input's schema, can be implemented using the BaseUnaryOperator (see temporian/core/operators/unary.py). See the operator contribution guide linked in the description anyway since most steps still apply.
Hit me up for help or clarifications. Thanks!


Support for P1 energy meter

Does this plugin support the Homeward P1 meter?

Hi @owenselles , unfortunately no. I couldn't find a use case for the P1 Meter within HomeKit, as HomeKit offers no power usage insights, which is the main purpose of the P1 Meter.
Or do you have a use case you think is worth exploring?

Was thinking of showing the current usage or something like that. Still
Hoping for the day when Apple does add power graphs

Yeah hoping that too! Apple's Home App sometimes just feels too basic.


update german translations

What's new
The en_US file has gained a lot of new keys since the last German translation, this PR adds translations for said new keys.
What's fixed
Several keys were improperly translated (e.g. informal capitalization, "sie" -> "Sie"), these have been fixed.

Thank you!


Compilation fails on Linux

When attempting to run a flutter app that uses flutter_media_metadata on Linux, the compilation of the application fails.

flutter run -d linux
Launching lib/main.dart on Linux in debug mode...
[/home/abitofevrything/Programming/music_player/linux/flutter/ephemeral/.plugin_symlinks/flutter_media_metadata/cxx/utils.hpp:108:12](): warning: variable 'last_index' set but not used [-Wunused-but-set-variable]
[/home/abitofevrything/Programming/music_player/linux/flutter/ephemeral/.plugin_symlinks/flutter_media_metadata/cxx/metadata_retriever.cpp:56:16](): warning: variable 'size' set but not used [-Wunused-but-set-variable]
[/home/abitofevrything/Programming/music_player/linux/flutter/ephemeral/.plugin_symlinks/flutter_media_metadata/cxx/metadata_retriever.cpp:57:16](): warning: variable 'header' set but not used [-Wunused-but-set-variable]
clang-13: error: linker command failed with exit code 1 (use -v to see invocation)
Exception: Build process failed

flutter doctor -v
[✓] Flutter (Channel stable, 2.10.2, on Artix Linux 5.16.10-artix1-1, locale en_GB.UTF-8)
    • Flutter version 2.10.2 at /opt/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 097d3313d8 (12 days ago), 2022-02-18 19:33:08 -0600
    • Engine revision a83ed0e5e3
    • Dart version 2.16.1
    • DevTools version 2.9.2

[✗] Android toolchain - develop for Android devices
    ✗ ANDROID_HOME = /opt/android-sdk
      but Android SDK not found at this location.

[✓] Chrome - develop for the web
    • CHROME_EXECUTABLE = chromium

[✓] Linux toolchain - develop for Linux desktop
    • clang version 13.0.1
    • cmake version 3.22.2
    • ninja version 1.10.2
    • pkg-config version 1.8.0

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

[✓] Connected device (2 available)
    • Linux (desktop) • linux  • linux-x64      • Artix Linux 5.16.10-artix1-1
    • Chrome (web)    • chrome • web-javascript • Chromium 98.0.4758.102 Arch Linux

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

! Doctor found issues in 2 categories.

After some looking around, this was caused by me not having the mediainfo library installed. It would be nice to mention in the README that that is a prerequisite,


Is this project abandonned?

There doesn't seem to be any answer from the maintainer(s) to either issues or pull requests.
Is this project abandonned?

For me: https://github.com/pugjs/pug-cli/issues/61#issuecomment-307604421

@TimothyGu, would you be willing to add some people to the repo so they could work on it?

fwiw, @anduh/pug-cli now exists as fork with updated dependencies, but ideally something where to be done with the main package.


[Bug]: ObservableAsPropertyHelper uses the wrong scheduler for winforms by default

Describe the bug 🐞
ReactiveUI's ObservableAsPropertyHelper uses System.Reactive.Concurrency.CurrentThreadScheduler.Instance as the default scheduler (source). In a Windows Forms application however, this scheduler does not seem to work. The property value despite calculated is never updated and the value changed event never raised.
Step to reproduce

Create a Windows Forms application
dotnet new winforms

Create a new class with the following code

public class TestViewModel : ReactiveObject
{
    private string text;
    private readonly ObservableAsPropertyHelper<bool> empty;

    public TestViewModel()
    {
        empty = this.WhenAnyValue(x => x.Text)
            .Select(x => string.IsNullOrEmpty(x))
            .ToProperty(this, x => x.Empty);

         // The following code instead would work
         // .ToProperty(this, x => x.Empty, RxApp.MainThreadScheduler);
    }

    public string Text
    {
        get => text;
        set => this.RaiseAndSetIfChanged(ref text, value);
    }

    public bool Empty => empty.Value;
}

Edit Form1.cs

public partial class Form1 : Form
{
    public Form1()
    {
        InitializeComponent();
        var viewModel = new TestViewModel();
        viewModel.PropertyChanged += (sender, e) => System.Diagnostics.Debug.WriteLine($"{e.PropertyName} changed");
        Shown += (sender, e) => viewModel.Text = "Hello World!";
    }
}

Run this application
In the logs you will see Text changed but you won't see Empty changed

Expected behavior
The value of an ObservableAsPropertyHelper should always be updated and the property changed event raised when the underlying value changed even when no scheduler is explicitly configured.
IDE
Visual Studio 2022
Operating system
Windows 10 Pro
Version
10.0.19044.1889
Runtime
.NET SDK 6.0.400
ReactiveUI Version
18.3.1
Additional information ℹ
If changing the default scheduler will break other applications, it would be extremely helpful to throw an exception stating that a scheduler has to be specified in .ToProperty() when running on Windows Forms.

Are you including the reactiveui.winforms nuget package?

In my project the view model resides in a library which targets net6.0 and does not include ReactiveUI.WinForms. The windows forms project with the view targets net6.0-windows10.0.19041.0 and has a dependency on ReactiveUI.WinForms.

I ran some tests with my code provided here and can't reproduce this issue. Even with the view-model in a different library everything works fine.
Vocup, the real application where I ran into this issue has a way more complicated startup. If get to isolate this bug, I will open a new issue.