Strange bars appear when text overflows. “WEB ONLY“

Is there an existing issue for this?
Yes #92283

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

Steps to reproduce
Define a font in pubspec.yaml
use it in the Text widget style: TextStyle(fontFamily: 'Inter')
if the text overflows, strange bars come up in Flutter Web
Expected results
Text should overflow Overfl.... like this
Actual results

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

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

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

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

  final String title;

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

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

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

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            /////Issue causing widget
           const SizedBox(
              width: 150,
              child:  Text(
                'You have pushed the button this many times:',
                overflow: TextOverflow.ellipsis,
                maxLines: 1,
                style: TextStyle(fontFamily: 'Inter')
              ),
            ),
            Text(
              '$_counter',
              style: Theme.of(context).textTheme.headline4,
            ),
          ],
        ),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: _incrementCounter,
        tooltip: 'Increment',
        child: const Icon(Icons.add),
      ),
    );
  }
}

name: weboverflowissue
description: A new Flutter project.

# The following line prevents the package from being accidentally published to
# pub.dev using `flutter pub publish`. This is preferred for private packages.
publish_to: 'none' # Remove this line if you wish to publish to pub.dev

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

environment:
  sdk: '>=2.18.4 <3.0.0'

# Dependencies specify other packages that your package needs in order to work.
# To automatically upgrade your package dependencies to the latest versions
# consider running `flutter pub upgrade --major-versions`. Alternatively,
# dependencies can be manually updated by changing the version numbers below to
# the latest version available on pub.dev. To see which dependencies have newer
# versions available, run `flutter pub outdated`.
dependencies:
  flutter:
    sdk: flutter

  # The following adds the Cupertino Icons font to your application.
  # Use with the CupertinoIcons class for iOS style icons.
  cupertino_icons: ^1.0.2

dev_dependencies:
  flutter_test:
    sdk: flutter

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

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

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

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

  # To add assets to your application, add an assets section, like this:
  # assets:
  #   - images/a_dot_burr.jpeg
  #   - images/a_dot_ham.jpeg

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

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

  # To add custom fonts to your application, add a fonts section here,
  # in this "flutter" section. Each entry in this list should have a
  # "family" key with the font family name, and a "fonts" key with a
  # list giving the asset and other descriptors for the font. For
  # example:
  fonts:
    - family: Inter
      fonts:
        - asset: assets/fonts/Inter-Thin.ttf
          weight: 100
        - asset: assets/fonts/Inter-ExtraLight.ttf
          weight: 200
        - asset: assets/fonts/Inter-Light.ttf
          weight: 300
        - asset: assets/fonts/Inter-Regular.ttf
          weight: 400
        - asset: assets/fonts/Inter-Medium.ttf
          weight: 500
        - asset: assets/fonts/Inter-SemiBold.ttf
          weight: 600
        - asset: assets/fonts/Inter-Bold.ttf
          weight: 700
        - asset: assets/fonts/Inter-ExtraBold.ttf
          weight: 800
        - asset: assets/fonts/Inter-Black.ttf
          weight: 900
  #
  # For details regarding fonts from package dependencies,
  # see https://flutter.dev/custom-fonts/#from-packages

Screenshots or Video

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.3.7, on macOS 13.4 22F66 darwin-x64, locale en-GB)
    • Flutter version 3.3.7 on channel stable at /Users/shrirangasb/Developer/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision e99c9c7cd9 (10 months ago), 2022-11-01 16:59:00 -0700
    • Engine revision 857bd6b74c
    • Dart version 2.18.4
    • DevTools version 2.15.0

[!] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/shrirangasb/Library/Android/sdk
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.

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

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

[!] Android Studio (version 2022.3)
    • Android Studio at /Applications/Android Studio.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
    ✗ Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

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

[✓] Connected device (3 available)
    • macOS (desktop)             • macos
    • Chrome (web)                • chrome

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

Hi @ShrirangaB, this is a duplicate of https://github.com/flutter/flutter/issues/76473 which has already been fixed in newer versions of flutter.
You are using an older version of flutter. Kindly upgrade to the latest version of flutter stable (3.13.1).
Closing from here as this has already been fixed in the latest versions of flutter.
If you still face this issue after upgrading to the latest versions of flutter stable, kindly leave a comment below and I will reopen this.
Thank you

Thank you @danagbemava-nc for the quick response, Ill upgrade to latest version and check.

Hi @danagbemava-nc,It works with the latest flutter stable (3.13.1).
Thank you


Ubuntu CI

Basic CI for Ubuntu including (partial) tests as discussed in #114.
This uses Swiftshader CPU implementation as Vulkan ICD. The precompiled binaries are downloaded from Dropbox, for a long term solution you might want to store them somewhere else.
Only tests that don't require GLSL are run because Swiftshader does not support it.

So fast - looks great, really interesting how simple the setup looks! This is very good, a couple of thoughts / questions:

Instead of the dropbox link is there a more formal package/source, or could we just add this binary into the repo?
I see you are currently running the tests that don't require the shader compilation, I think we can merge this initial first, but do you think installing shaderc could be enough to address this in the image?
Is there a way to run this github action in this PR before merging? Or is that something that will only run once merged?
Thanks!

So fast - looks great, really interesting how simple the setup looks! This is very good, a couple of thoughts / questions:

Instead of the dropbox link is there a more formal package/source, or could we just add this binary into the repo?
I see you are currently running the tests that don't require the shader compilation, I think we can merge this initial first, but do you think installing shaderc could be enough to address this in the image?
Is there a way to run this github action in this PR before merging? Or is that something that will only run once merged?
Thanks!

I could not find official binaries so I've compiled them myself on my device and uploaded to DropBox. Compiling takes quite a long time
I'm not familiar with shaderc so I don't know.

I could not find official binaries so I've compiled them myself on my device and uploaded to DropBox. Compiling takes quite a long time
I'm not familiar with shaderc so I don't know.

Works like a charm 👍 awesome contribution @alexander-g

Works like a charm 👍 awesome contribution @alexander-g

Glad to help

Glad to help


suggestion: Check Variant in ABAPGit while staging - should'nt it just check only those objects to be added into Commit?

While working on #4835 I set up my local enviroment to run a specific CI variant

and when trying to commit a specific serializer for that SOBJ then abapGit scans all objects

wouldn't it be easier if that check was executed only for those objects that were selected to be commited?

as if not, then it is not really interesting "blocking commits" if errors found but also time spend checking objects not interested in.

you make the assumption that changes impact only the changed object(s). however, they can certainly impact other objects, too (even objects outside of your package/repo).
in general, your check variant would apply to the complete repo. so checking all objects is the way to go. it's worth the few seconds it takes to run.


[CCI] Create document lifecycle guide

Description

[x] Create document lifecycle guide

Issues Resolved

resolves #352

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Hello @Nicksqain, please merge all the commits into a single commit. Thanks.

@dblock Yes, I'll be sure to add the necessary changes on a free day!

Superseded with https://github.com/opensearch-project/opensearch-py/pull/559.


[SPARK-17316][Tests]Fix MesosCoarseGrainedSchedulerBackendSuite

What changes were proposed in this pull request?
The master is broken because #14882 didn't run mesos tests.
How was this patch tested?
Jenkins unit tests.

/cc @vanzin

Test build #64732 has started for PR 14902 at commit c3a2c9f.

Test build #3241 has started for PR 14902 at commit c3a2c9f.

Test build #3241 has finished for PR 14902 at commit c3a2c9f.

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

Test build #64732 has finished for PR 14902 at commit c3a2c9f.

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

Merged build finished. Test PASSed.

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

Merging to master and 2.0


Update README.md

Scan submitted to Checkmarx

Checkmarx SAST - Scan Summary & Details
Cx-SAST Summary
Total of 61 vulnerabilities 9 High 17 Medium 35 Low 0 Info
Violation Summary
No policy violation found

closed


Bump version in Yew docs to 0.19.3

Since 0.19.0 through 0.19.2 are yanked, the docs should reflect this.
#2312

@allan2 Thank you for your concern.
I checked the docs, we don't specify minor version anywhere in the docs.
As in its 0.19 not 0.19.0 everywhere.
So when you type in 0.19 in your cargo.toml, rust will automatically select the minor version.

@voidpumpkin see this
https://github.com/yewstack/yew/blob/e1b51218ec01e10de15a18c8deb019b93e34e66b/website/versions.json#L1-L4
The version number is 0.19.0. Changing it now is annoying but we should not add the patch version in the future

@hamza1311 Thanks, indeed my bad.
Reopening because we should change them to only include major versions

Major and minor versions. We just need to exclude the patch version

Closing this as 0.20 has superseded it


Does it work with perspectiveCamera and world space canvas?

?

If you plan to scale the canvas like 0.001 then no it won't play well. It shouldn't be problem as long as you keep it around scale 1

is there a reason why it is designed to be dependent on canvas scale?

Reason is the unity EventSystem and how it handles pointer events, pixel per unit etc. I'm not sure and haven't tested but you may tweak the canvas settings in your case and see if it works for you.


Question: how to import a single sub library in NodeJs

in NodeJs you would, to get the full library
var code = require('jsbarcode');
What is the way to import only one sub library? Code128 only for example

You can't. But what is the reason for it? Do you want to minimize the size? Then use some sort of tree shaking like webpack + minification like uglify.

During development I thought I could reduce the amount of code imported but it turned out the difference in size isn't huge anyway


First implementation of the Hypnogram class

Hi,
This PR introduces a first working implementation of the yasa.Hypnogram class, which will be the new standard way to deal with hypnograms in YASA moving forward, as discussed in #105.
This should greatly simplify with implementation of the performance evaluation pipeline (#78).
Remaining tasks

[ ] Unit tests for 3, 4 and 5-stages hypnogram
[ ] Implement the Hypnogram.plot_hypnogram function. Here I'm not sure if we should re-implement from scratch, or instead use the existing yasa.plot_hypnogram function and add support to 2, 3 and 4-stages hypnograms. The latter will require adding the parameter n_stages to the function however.
[ ] Add compatibility with other YASA functions (e.g. detection). For now, users can simply use Hypnogram.as_int() to get a NumPy array with integer values.

@remrama I would appreciate your review on this (but no rush!). Let me know if you see any ideas for improvements and/or new class methods or properties that may be useful.
Thanks,
Raphael

Codecov Report
Base: 91.70% // Head: 91.57% // Decreases project coverage by -0.12% :warning:

Coverage data is based on head (b48c02d) compared to base (8f807e0).
Patch coverage: 89.61% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #116      +/-   ##
==========================================
- Coverage   91.70%   91.57%   -0.13%
==========================================
  Files          22       23       +1
  Lines        2748     2979     +231
==========================================
+ Hits         2520     2728     +208
- Misses        228      251      +23

Impacted Files
Coverage Δ

yasa/hypno.py
91.05% <85.79%> (-6.17%)
:arrow_down:

yasa/tests/test_hypnoclass.py
100.00% <100.00%> (ø)

yasa/detection.py
97.85% <0.00%> (+0.11%)
:arrow_up:

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

Btw, you're call but I would support merging this as-is and then adding "full functionality" in a separate PR. I'm not sure how big of a project that is, but if just the base class was in master I'd start some PRs with it.

Suggested method:
class Hypnogram:
    ...
    def summary(self): # or .get_dataframe
        """
        Return a pandas DataFrame summarizing epoch-level information.

        Column order and names are compliant with BIDS events files [BIDSevents]_
        and MNE events/annotations dataframes [MNEannotations]_.

        Returns
        -------
        summary : :py:class:`pandas.DataFrame`
            A dataframe containing epoch onset, duration, stage, etc.

        References
        ----------
        .. [BIDSevents] https://bids-specification.readthedocs.io/en/stable/04-modality-specific-files/05-task-events.html
        .. [MNEannotations] https://mne.tools/stable/glossary.html#term-annotations
        """
        data = {
            "onset": self.timedelta.total_seconds(),
            "duration": 1 / self.sampling_frequency,
            "value": self.as_int().to_numpy(),
            "description": self.hypno.to_numpy(),
            "epoch": 1 + np.arange(self.n_epochs),
        }
        if hypno.scorer is not None:
            data["scorer"] = hypno.scorer
        return pd.DataFrame(data)

@remrama agreed for the new method! What do you think about calling it Hypnogram.as_annotations() or Hypnogram.as_mne_annotations()?
Also, when start is not None, should onset be the actual datetime, or is it better to always have self.timedelta.total_seconds()? I'm guessing the latter is the standard MNE/BIDS format?
I'll wait for your reply, add this new method and then request your final approval before merging 🎉 !

What do you think about calling it Hypnogram.as_annotations() or Hypnogram.as_mne_annotations()?

Either are cool with me, although it's probably more of a BIDS/events emphasis than an MNE/annotation emphasis.

Also, when start is not None, should onset be the actual datetime, or is it better to always have self.timedelta.total_seconds()? I'm guessing the latter is the standard MNE/BIDS format?

Ya good question. Definitely want to always have the onset column as seconds from start (ie, self.timedelta.total_seconds()), because this is the BIDS-standard which I think takes precedent. MNE is a bit more ambiguous (as far as I can tell), and sometimes returns onset as seconds or timestamps.
I think in this case, if the Hypnogram includes timestamp info it should be added as an additional column rather than replacing onset. It's not totally clear to me what this would be called, according to BIDS docs, this might be "sample" but I'm not sure. If unclear, I think we could just call it "timestamp".

In the future, maybe we could go even one step further and add an output_type="mne" parameter to this method, which could be either "mne" (returns a mne.Annotations object), or "dataframe" (default BIDS-like dataframe, which is also compatible with EDFBrowser).
Question: why start epoch at 1 and not 0?
{"epoch": 1 + np.arange(self.n_epochs)}

If unclear, I think we could just call it "timestamp".

After second thought, I think that for the initial implementation I would only include onset in seconds, and not the actual timestamps.

Maybe epoch could be set as the index of the resulting dataframe? Would that break things w.r.t to BIDS/MNE annotations format?
>>> from yasa import Hypnogram
>>> hyp = Hypnogram(["W", "W", "LIGHT", "LIGHT", "DEEP", "REM", "WAKE"], n_stages=4)
>>> hyp.as_annotations()
       onset  duration  value description
epoch
1        0.0      30.0      0        WAKE
2       30.0      30.0      0        WAKE
3       60.0      30.0      2       LIGHT
4       90.0      30.0      2       LIGHT
5      120.0      30.0      3        DEEP
6      150.0      30.0      4         REM
7      180.0      30.0      0        WAKE

Love the output_type idea!

Question: why start epoch at 1 and not 0?

Ya you called me out on this :)  Start it at 0. I wasn't sure about that one, it's just that technically it is the 1st epoch, and the Python indexing can be confusing for new users. But you're right, submit to Python indexing.

I think that for the initial implementation I would only include onset in seconds, and not the actual timestamps.

Yep that's good. If someone really wants timestamp that can add it trivially with one more line.

Maybe epoch could be set as the index of the resulting dataframe?

That looks great! It won't break things, neither BIDS or MNE expect that column. It's not an incredibly useful column anyways, it's really just a row number... Leave it starting at 0 and so basically we're just renaming that axis to epoch.

Ready for your final review @remrama !

Merged to master. Thanks so much for your help on this! The next release is going to be 🔥


introduce dotenv, add header and footer

This PR contains

Files and folder restructure
Code revamp
Introduction to dotenv file
Introduction to composer

@akashvyavhare the PR was in the draft status and was not supposed to merge to the main branch.


Broken link on download page

The download page has a broken link.
The link for "Tetrate Istio Distro Install and Update Page" currently points to:
/getmesh-cli/install-and-update-of-getistio

but should (I think) point to:
/getmesh-cli/install/install-and-update/

Yes, I fixed this issue.


New package: LargeMovieReviewDataset v0.1.0

Registering package: LargeMovieReviewDataset
Repository: https://github.com/dellison/LargeMovieReviewDataset.jl
Created by: @dellison
Version: v0.1.0
Commit: 56f1c6817a725fc884417062674cf7d11d3738d3
Reviewed by: @dellison
Reference: https://github.com/dellison/LargeMovieReviewDataset.jl/issues/1#issuecomment-511630779

Needs compat at least for Julia itself.

Thanks! Project.toml now includes a [compat] section


WIP: Support GHCJS

Depends on

https://github.com/bos/math-functions/pull/55
https://github.com/bos/statistics/pull/153 or/and https://github.com/bos/statistics/pull/154

A "proof" that it works:

(and is 20x or so slower than GHC, for what it's worth)

I made some changes, but in general lost interest in getting this done. If someone needs this too, feel free to continue.


Flutter App Crash on new Xcode 14.0 and iOS 16

Hi friends,
Before I used Xcode 13.4.1 no problems, after upgrade to xCode 14.0, my app crashes after build, I don't know why :( I get these errors:
UnityFramework`::InitializeMemory():
    0x10ce33f08 <+0>:   stp    x20, x19, [sp, #-0x20]!
    0x10ce33f0c <+4>:   stp    x29, x30, [sp, #0x10]
    0x10ce33f10 <+8>:   add    x29, sp, #0x10
    0x10ce33f14 <+12>:  adrp   x8, 7435
    0x10ce33f18 <+16>:  add    x8, x8, #0xa28            ; guard variable for MemoryManager::InitializeMemory()::s_initializeMemory
    0x10ce33f1c <+20>:  ldarb  w8, [x8]
    0x10ce33f20 <+24>:  tbz    w8, #0x0, 0x10ce33f88     ; <+128> at MemoryManager.cpp:528:5
    0x10ce33f24 <+28>:  adrp   x0, 7435
    0x10ce33f28 <+32>:  add    x0, x0, #0x9e0            ; MemoryManager::InitializeMemory()::s_initializeMemory
    0x10ce33f2c <+36>:  bl     0x10d3f14c4               ; ::Lock() at Mutex.cpp:61:5
    0x10ce33f30 <+40>:  adrp   x19, 7589
    0x10ce33f34 <+44>:  ldr    x8, [x19, #0xa40]
    0x10ce33f38 <+48>:  cbnz   x8, 0x10ce33f70           ; <+104> [inlined] ~AutoLock at Mutex.h:34:31
    0x10ce33f3c <+52>:  adrp   x8, 7324
    0x10ce33f40 <+56>:  ldr    x0, [x8, #0xb18]
    0x10ce33f44 <+60>:  mov    w9, #0x8330
    0x10ce33f48 <+64>:  movk   w9, #0x4, lsl #16
    0x10ce33f4c <+68>:  add    x9, x0, x9
    0x10ce33f50 <+72>:  str    x9, [x8, #0xb18]
    0x10ce33f54 <+76>:  adrp   x8, 7435
    0x10ce33f58 <+80>:  add    x8, x8, #0x9e0            ; MemoryManager::InitializeMemory()::s_initializeMemory
    0x10ce33f5c <+84>:  cmp    x9, x8
    0x10ce33f60 <+88>:  b.hi   0x10ce33ffc               ; <+244> [inlined] ~AutoLock + 20 at Mutex.h
    0x10ce33f64 <+92>:  bl     0x10ce34c4c               ; ::MemoryManager() at MemoryManager.cpp:834
    0x10ce33f68 <+96>:  str    x0, [x19, #0xa40]
    0x10ce33f6c <+100>: bl     0x10ce34008               ; ::InitializeFallback() at MemoryManager.cpp:892
    0x10ce33f70 <+104>: adrp   x0, 7435
    0x10ce33f74 <+108>: add    x0, x0, #0x9e0            ; MemoryManager::InitializeMemory()::s_initializeMemory
    0x10ce33f78 <+112>: bl     0x10d3f14cc               ; ::Unlock() at Mutex.cpp:68:5
    0x10ce33f7c <+116>: ldp    x29, x30, [sp, #0x10]
    0x10ce33f80 <+120>: ldp    x20, x19, [sp], #0x20
    0x10ce33f84 <+124>: ret
    0x10ce33f88 <+128>: adrp   x0, 7435
    0x10ce33f8c <+132>: add    x0, x0, #0xa28            ; guard variable for MemoryManager::InitializeMemory()::s_initializeMemory
    0x10ce33f90 <+136>: bl     0x10e5c48f0               ; symbol stub for: __cxa_guard_acquire
    0x10ce33f94 <+140>: cbz    w0, 0x10ce33f24           ; <+28> [inlined] AutoLock at Mutex.h:33:59
    0x10ce33f98 <+144>: adrp   x0, 7435
    0x10ce33f9c <+148>: add    x0, x0, #0x9e0            ; MemoryManager::InitializeMemory()::s_initializeMemory
    0x10ce33fa0 <+152>: bl     0x10d3f1474               ; ::Mutex() at Mutex.cpp:46
    0x10ce33fa4 <+156>: adrp   x0, 1470
    0x10ce33fa8 <+160>: add    x0, x0, #0x49c            ; ::~Mutex() at Mutex.cpp:47
    0x10ce33fac <+164>: adrp   x1, 7435
    0x10ce33fb0 <+168>: add    x1, x1, #0x9e0            ; MemoryManager::InitializeMemory()::s_initializeMemory
    0x10ce33fb4 <+172>: adrp   x2, -323
    0x10ce33fb8 <+176>: add    x2, x2, #0x0
    0x10ce33fbc <+180>: bl     0x10e5c48a8               ; symbol stub for: __cxa_atexit
    0x10ce33fc0 <+184>: adrp   x0, 7435
    0x10ce33fc4 <+188>: add    x0, x0, #0xa28            ; guard variable for MemoryManager::InitializeMemory()::s_initializeMemory
    0x10ce33fc8 <+192>: bl     0x10e5c48fc               ; symbol stub for: __cxa_guard_release
    0x10ce33fcc <+196>: b      0x10ce33f24               ; <+28> [inlined] AutoLock at Mutex.h:33:59
    0x10ce33fd0 <+200>: mov    x19, x0
    0x10ce33fd4 <+204>: adrp   x0, 7435
    0x10ce33fd8 <+208>: add    x0, x0, #0xa28            ; guard variable for MemoryManager::InitializeMemory()::s_initializeMemory
    0x10ce33fdc <+212>: bl     0x10e5c48e4               ; symbol stub for: __cxa_guard_abort
    0x10ce33fe0 <+216>: b      0x10ce33ff4               ; <+236> [inlined] ~AutoLock + 12 at Mutex.h
    0x10ce33fe4 <+220>: mov    x19, x0
    0x10ce33fe8 <+224>: adrp   x0, 7435
    0x10ce33fec <+228>: add    x0, x0, #0x9e0            ; MemoryManager::InitializeMemory()::s_initializeMemory
    0x10ce33ff0 <+232>: bl     0x10d3f14cc               ; ::Unlock() at Mutex.cpp:68:5
    0x10ce33ff4 <+236>: mov    x0, x19
    0x10ce33ff8 <+240>: bl     0x10e5c4380               ; symbol stub for: _Unwind_Resume
->  0x10ce33ffc <+244>: brk    #0x1
    0x10ce34000 <+248>: bl     0x10ccfb884               ; __clang_call_terminate
    0x10ce34004 <+252>: bl     0x10ccfb884               ; __clang_call_terminate

I'm stuck for 3 days now :( I tried a lot of fixes nothing works :( any guidance, help or suggestions will be much appreciated!

Hi @RoyalCoder88,
Can you please provide your flutter doctor -v and flutter run --verbose logs, and a minimal complete reproducible code sample?
Please also provide your pubspec.yaml, Podfile,  and Podfile.lock files.
Thank you

Hi @danagbemava-nc
It's not a particular issue it's a big problem, also on Unity's forum
Regarding my project here you go:
flutter doctor:

[✓] Flutter (Channel stable, 3.3.1, on macOS 12.6 21G115 darwin-arm, locale en-GB)
• Flutter version 3.3.1 on channel stable at /Users/razvanu/Documents/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 4f9d92fbbd (3 weeks ago), 2022-09-06 17:54:53 -0700
• Engine revision 3efdf03e73
• Dart version 2.18.0
• DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
• Android SDK at /Users/razvanu/Library/Android/sdk
• Platform android-33, build-tools 32.0.0
• Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 14.1)
• Xcode at /Applications/Xcode-14.1.0-Beta.2.app/Contents/Developer
• Build 14B5024i
• CocoaPods version 1.11.3
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2020.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.10+0-b96-7249189)
[✓] VS Code (version 1.71.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.48.0
[✓] Connected device (2 available)
• Buraca’s iPhone (mobile) • 00008110-001645D43C8A801E • ios            • iOS 16.0 20A362
• Chrome (web)             • chrome                    • web-javascript • Google Chrome 105.0.5195.125
[✓] HTTP Host Availability
• All required HTTP hosts are available
• No issues found!
flutter run --verbose:
verbose.txt

sample code:
sampleCode_Main.txt

pubspec.yaml:
pubspec.yaml.txt

Podfile:
Podfile.txt

Podfile.lock:
Podfile.lock.txt
Thanks in advance!

Hi @RoyalCoder88, given that this issue is coming from Unity I'm not sure there's anything for the flutter team to do with regards to this.
As such I'm going to have to close this issue as this is not a flutter issue.
Thank you


Fix/tree sitter parsing expression failure

🤔 What's changed?
A helper function stripBlacklistedExpressions to help with tree-sitter's parsing in certain edge cases where parsing is currently erroneous.
⚡ What's your motivation?
We're currently using playwright-bdd so that we can use playwright as our test runner and cucumber for BDD. Unfortunately, the language server is currently not working for the decorator syntax for playwright-bdd which can be found here.
The reason for this seems to be that the version of tree-sitter that is used by @cucumber/language-service is unable to parse TypeScript files that contain decorators for classes. This PR is an interim fix for that until either tree-sitter addresses the issue (if the issue is on their behalf - I'm not sure) or until @cucumber/language-service changes the tree-sitter parsing to work as expected.
🏷 What kind of change is this?

:bug: Bug fix (non-breaking change which fixes a defect)

♻ Anything particular you want feedback on?

📋 Checklist:

[x] I agree to respect and uphold the Cucumber Community Code of Conduct
[x] I've changed the behaviour of the code

[ ] I have added/updated tests to cover my changes.

[x] Users should know about my change

[x] I have added an entry to the "Unreleased" section of the CHANGELOG, linking to this pull request.

This text was originally generated from a template, then edited by hand. You can modify the template here.

Is anyone going to review this? As it stands right now Helgard's unofficial cucumber extension on VSCode marketplace is the only one that works for our project.

@helgardferreira, the here link appears to be broken. Would you be able to provide an updated link or according example?

@kieran-ryan Oh sorry, I think the docs might have gotten updated. I've updated the link which can be found here: https://vitalets.github.io/playwright-bdd/#/writing-steps/decorators

@kieran-ryan Oh sorry, I think the docs might have gotten updated. I've updated the link which can be found here: https://vitalets.github.io/playwright-bdd/#/writing-steps/decorators

Cheers, those examples appear to work for me; is there perhaps a variation of other code combined with these decorators that's causing the issue; if any examples? Would be great to get the different cases added to the unit tests as a test data source.

I can definitely make examples. The current specific issue we're running into is in a proprietary codebase but I'll create an environment to demonstrate the issue 🙂


reconsturction 3d mesh room

is it possible to provide many images taken for a room  and reconstruct 3d indoor scene mesh and enhance it using prompts , like respect the layout in the images and depth

Yes that's an interesting idea and should be possible :)


Place nearby search

Hi,
Is place nearby search implemented?

I could not implement this feature because it requires an API key unlike
others.
If you have a good idea, please let me know.
https://developers.google.com/places/webservice/search?hl=en
https://maps.googleapis.com/maps/api/place/nearbysearch/*output*?*parameters*
On Fri, Aug 21, 2015 at 10:51 AM, Tolotra Ramahatoraka <
<EMAIL_ADDRESS>wrote:

Hi,
Is place nearby search implemented?
—
Reply to this email directly or view it on GitHub
https://github.com/allenhwkim/angularjs-google-maps/issues/277.

I don't have right now but let me check it when i get at home.

Closing for inactivity


Improved support for frontmatter

Description

This PR addresses #294; and improves the support for Markdown Frontmatter.
MDSvex already provides any frontmatter to the component (in this case, +page.md), so this PR primarily addresses adding things like a page title, description, and opengraph information.
Because this touches preprocess, I took the opportunity to split it up into several files, functionality should not be impacted, but it makes things a little easier to reason with when looking at a specific part of the pipeline.
Checklist

[ ] ~For UI or styling changes, I have added a screenshot or gif showing before & after~
[x] I have added a changeset

Fixed the 2 listed issues;
With regard to #85, I think there will need to be a little more clarity on the goal and use-cases. In theory it could be handled either at build-time or at run-time, as the logic to extract the frontmatter will be basically the same (e.g. regex match on --- and then parse the yaml content).

This looks really good.

We'll need docs: I'd add this to the markdown reference page, and I'd include a sentence or two on the core-concepts/pages with a link over to the reference.
I really like the open graph support. I think in a future iteration of that it'd be great to default back to an image of the first chart on the page. This is beyond the scope of this frontmatter issue though, so I'll open something separate for that.

Hey @ItsMeBrianD, while I've been testing the standalone SQL files PR, I've run into an issue (or at least a thing that worked unexpectedly)
A pretty common pattern in templated pages is to add a title named after the parameter.
ie if you have
|-- index.md
`-- [categories] /
       `-- index.md

Then you title it like this
# {$page.params.category}

Some other content

I assumed this would work in the frontmatter like this
---
title: {$page.params.category}
---

Some other content

which actually gives:

I assume the js object is being converted into a string before it reaches the page somehow?

This also brings up a more general question about js support in frontmatter. (We do not have to sovle this now, just thoughts)
It would be great if we can eliminate as much of the need for people to add <script> tags as possible.
Should we support arbitrary js in frontmatter?
I quite often end up getting an associated field from a table like this.
<script>
  let company_id = companies.filter(d=>d.company===$page.params.company)[0].company_id
<script>

---
company_id: companies
- filter: company
- equals: {$page.params.company}
- column: company_id
- row: 0
---

or just
---
company_id:  {companies.filter(d=>d.company===$page.params.company)[0].company_id}
---

This could be a bad idea for reasons I have not thought of!

Regarding the title; that might work with this syntax:
---
title: $page.params.category
---

If it doesn't then this probably isn't supported right now (but could be), worth exploring for sure.
Adding variables / filters in the frontmatter could be nice; but might get a little wonky - we'll have to explore. This probably deserves it's own issue to make sure that we can have the discussion and nail it down before writing the code.


ROX-11986: Minimum access role cannot be updated.

Description
A detailed explanation of the changes in your PR.
Feel free to remove this section if it is overkill for your PR, and the title of your PR is sufficiently descriptive.
Checklist

[ ] Investigated and inspected CI test results
[ ] Unit test and regression tests added
[ ] Evaluated and added CHANGELOG entry if required
[ ] Determined and documented upgrade steps
[ ] Documented user facing changes (create PR based on openshift/openshift-docs and merge into rhacs-docs)

If any of these don't apply, please comment below.
Testing Performed
TODO(replace-me)
Use this space to explain how you tested your PR, or, if you didn't test it, why
you did not do so. Valid reasons include, for example, "CI is sufficient",
"No testable changes". Feel free to attach JSON snippets, curl commands,
screenshots.
In addition to reviewing your code, reviewers must also review your testing
instructions and make sure they are sufficient.

Current dependencies on/for this PR:

master

PR #2529   👈

This comment was auto-generated by Graphite.

/retest

/retest

/retest

/retest

@pedrottimark feel free to leave additional comments, if you have any. I'll make sure to address those post-merge!


perf(diff/controller): remove reference from writerTask to unstructured object

Description

If each writerTask references the entire unstructured object, OOM will happen very quickly.
Related issues

Special notes for your reviewer:

Codecov Report
Patch coverage has no change and project coverage change: -0.19 :warning:

Comparison is base (7c45396) 35.91% compared to head (821d928) 35.73%.

:exclamation: Current head 821d928 differs from pull request most recent head 9e8aecd. Consider uploading reports for the commit 9e8aecd to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #94      +/-   ##
==========================================
- Coverage   35.91%   35.73%   -0.19%
==========================================
  Files          32       32
  Lines        2336     2348      +12
==========================================
  Hits          839      839
- Misses       1435     1447      +12
  Partials       62       62

Impacted Files
Coverage Δ

pkg/util/object_ref.go
0.00% <0.00%> (ø)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Impossible to manually type more than one character when a date is already chosen (Windows only)

react-dates version
e.g<EMAIL_ADDRESS>Describe the bug
Can be reproduced in the storybook playground:
https://airbnb.io/react-dates/?path=/story/sdp-input-props--default
When manually typing in the input field, the focused is moved away for every character, making it impossible to fully type a date. This does not happen on Chrome on Mac.
Source code (including props configuration)
https://airbnb.io/react-dates/?path=/story/sdp-input-props--default
Steps to reproduce the behavior: (code taken from sdp-input-props story (default))
onDateChange(date) {
    this.setState({ date });
  }

 onFocusChange({ focused }) {
    this.setState({ focused });
  }

<SingleDatePicker
        id="date_input"
        date={date}
        initialDate={moment().add(3, 'days')}
        focused={focused}
        onDateChange={this.onDateChange}
        onFocusChange={this.onFocusChange}
      />

Screenshots/Gifs
If applicable, add screenshots or gifs to help explain your problem.
Desktop (please complete the following information):

OS: Windows only
Browser: Chrome, Edge
Version: Chrome 87.0.4280.88

Is the issue reproducible in Storybook?
https://airbnb.io/react-dates/?path=/story/sdp-input-props--default
Additional context
Add any other context about the problem here.

The focus changes to the chosen date in the datematrix:
(Same thing happens here https://airbnb.io/react-dates/?path=/story/sdp-input-props--default)

The focus changes to the chosen date in the datematrix:
(Same thing happens here https://airbnb.io/react-dates/?path=/story/sdp-input-props--default)


clustered ehcache events; server driven

The two integration tests had obvious race conditions as they expected the events right after the operations, which is incorrect in async mode. I introduced awaitility which should hopefully fix the observed erratic failures.


calico 3.19 busy loop on Failed to synchronise routes error=netlink update operation failed

We have calico 3.19.0 running on EKS and on some nodes, the node process runs into a busy loop with following messages in the log:
2021-05-17 13:20:34.225 [WARNING][52] felix/route_table.go 670: Failed to add route error=file exists ifaceName="vxlan.calico" ifaceRegex="^vxlan.calico$" ipVersion=0x4
2021-05-17 13:20:34.225 [WARNING][52] felix/route_table.go 670: Failed to add route error=file exists
...
2021-05-17 13:20:34.225 [INFO][52] felix/route_table.go 417: Trying to connect to netlink
2021-05-17 13:20:34.225 [WARNING][52] felix/route_table.go 1118: Failed to access interface but it appears to be up error=netlink update operation failed ifaceName="vxlan.calico" ifaceRegex="^vxlan.calico$" ipVersion=0x4 link=&netlink.Vxlan{LinkAttrs:netlink.LinkAttrs{Index:31, MTU:1450, TxQLen:0, Name:"vxlan.calico", HardwareAddr:net.HardwareAddr{0x66, 0x6e, 0xd9, 0xf, 0x51, 0xfd}, Flags:0x13, RawFlags:0x11043, ParentIndex:0, MasterIndex:0, Namespace:interface {}(nil), Alias:"", Statistics:(*netlink.LinkStatistics)(0xc000d7dc80), Promisc:0, Xdp:(*netlink.LinkXdp)(0xc000d4f1e0), EncapType:"ether", Protinfo:(*netlink.Protinfo)(nil), OperState:0x0, NetNsID:0, NumTxQueues:1, NumRxQueues:1, GSOMaxSize:0x10000, GSOMaxSegs:0xffff, Vfs:[]netlink.VfInfo(nil), Group:0x0, Slave:netlink.LinkSlave(nil)}, VxlanId:4096, VtepDevIndex:25, SrcAddr:net.IP{0xac, 0x11, 0x0, 0x1}, Group:net.IP(nil), TTL:0, TOS:0, Learning:false, Proxy:false, RSC:false, L2miss:false, L3miss:false, UDPCSum:true, UDP6ZeroCSumTx:false, UDP6ZeroCSumRx:false, NoAge:false, GBP:false, FlowBased:false, Age:300, Limit:0, Port:4789, PortLow:0, PortHigh:0}
2021-05-17 13:20:34.225 [WARNING][52] felix/route_table.go 555: Failed to sync routes to interface even after retries. Leaving it dirty, requiring a full sync. ifaceName="vxlan.calico" ifaceRegex="^vxlan.calico$" ipVersion=0x4
2021-05-17 13:20:34.225 [WARNING][52] felix/route_table.go 568: Some interfaces still out-of sync. ifaceRegex="^vxlan.calico$" ipVersion=0x4
2021-05-17 13:20:34.225 [WARNING][52] felix/int_dataplane.go 1763: Failed to synchronize routing table, will retry...

This results in dns resolution failures against coredns service in the pods running on the impacted node.
Expected Behavior
Processes running in the pod should be able to resolve dns names
Current Behavior
DNS resolution fails.
Possible Solution
I can't find any workarounds.
Steps to Reproduce (for bugs)

Install EKS with calico networking (follow docs here
Run dnsutils container in a pod and try resolving any dns.

As this is intermittent, I don't know what actually triggers this issue.
Your Environment

Calico version : 3.19.0
Orchestrator version (e.g. kubernetes, mesos, rkt): kubernetes
Operating System and version: Amazon Linux and 5.4.110-54.189.amzn2.x86_64

Just wanted to add another note for others who may come across the same issue -
We are using kubernetes cluster for gitlab runners and one of these runners was setup to mount docker socket. I suspect that when we created more containers using dind on the same node it messed up networking for calico and calico started having issues with syncing the routes. I haven't looked too much in detail but once we removed the runner which was using docker socket, the issue disappeared.


Facing issue while computing embeddings

I have used the code for computing embeddings. But it is showing the error.
dna = "ACGTAGCATCGGATCTATCTATCGACACTTGGTTATCGATCTACGAGCATCTCGTTAGC"
inputs = tokenizer(dna, return_tensors = 'pt')["input_ids"]
hidden_states = model(inputs)[0] # [1, sequence_length, 768]
embedding with mean pooling
embedding_mean = torch.mean(hidden_states[0], dim=0)
print(embedding_mean.shape) # expect to be 768
embedding with max pooling
embedding_max = torch.max(hidden_states[0], dim=0)[0]
print(embedding_max.shape) # expect to be 768
after running this piece of code, I got error:
AssertionError                            Traceback (most recent call last)
 in <cell line: 3>()
1 dna = "ACGTAGCATCGGATCTATCTATCGACACTTGGTTATCGATCTACGAGCATCTCGTTAGC"
2 inputs = tokenizer(dna, return_tensors = 'pt')["input_ids"]
----> 3 hidden_states = model(inputs)[0] # [1, sequence_length, 768]
4
5 # embedding with mean pooling
12 frames
~/.cache/huggingface/modules/transformers_modules/zhihan1996/DNABERT-2-117M/81ac6a98387cf94bc283553260f3fa6b88cef2fa/flash_attn_triton.py in _flash_attn_forward(q, k, v, bias, causal, softmax_scale)
779     assert q.dtype in [torch.float16,
780                        torch.bfloat16], 'Only support fp16 and bf16'
--> 781     assert q.is_cuda and k.is_cuda and v.is_cuda
782     softmax_scale = softmax_scale or 1.0 / math.sqrt(d)
783
AssertionError:
Please let me know what should I do?

Can you try to install triton with pip install triton==2.0.0.dev20221202? Or for simplicity, you may disable triton with pip uninstall triton


Houston crashing when using IronRouter

After installing Houston for the simple-todo tutorial app, a message appear in the application:
" Oops, looks like there's no route on the client or the server for url: "http://localhost:3000/." "
To solve this, I installed IronRouter and defined the "/" route as home. After that, when I went to houston admin again, the admin system does work anymore.

Yes, I also get this error using FlowRouter as my main router. I get this "Oops" error in every address outside the /admin. Any solution?


Update cw20-tokens.ts

Summary by CodeRabbit

New Features

Added KIRA token to the token list, including details such as name, logo, symbol, decimals, and creator information.

Already updated and live.


Is Markdown.tmlanguage included in this package?

I could not find Markdown.tmlanguage in the zip file or set syntax to Markdown in ST3 after this package installed.
I have to install Markdown Extend to enable build system or the build system is bind to plain text.
PS: is there any syntax highlighting package recommanded?
Markdown Extend highlight nearly nothing...
Markdown Edit goes too far and Markdown Light only performs light theme.

Nope, this is a plugin for previewing markdown in HTML.  There is no general support for syntax highlighting contained in this package.
Highlighting is provided by the default Markdown plugin included with sublime or by some other 3rd part plugin you download from package control.


Elasticsearch time_zone setting does not work for cast datetime expressions

My time zone is CST, not UTC. Based on some best practices of ES, when we store data, we convert CST time to UTC time for storage, and the corresponding conversion is done by time zone when querying.
When I was using superset, I found two problems

elasticsearch-dbapi does not support passing the time_zone parameter, I tried to fix it and submitted a PR https://github.com/preset-io/elasticsearch-dbapi/pull/69,  currently waiting for a review, but I can fix it temporarily by pip install <my_github_repo>. It's equivalent to hitting a patch to circumvent the issue.
Once the problem was solved, I found another problem, the time_zone I set didn't work for filtering datetime type fields, but it worked for HISTOGRAM("@timestamp", INTERVAL 1 DAY), I found the reason by checking the ES-SQL documentation,  https://www.elastic.co/guide/en/elasticsearch/reference/current/sql-search-api.html#sql-search-api-request-body

(Optional, string) ISO-8601 time zone ID for the search. Several SQL date/time functions use this time zone. Defaults to Z (UTC).

Several SQL date/time functions use this time zone very important!
superset on ES datatime field query, is the use of CAST ('date' AS DATETIME),
https://github.com/apache/superset/blob/cc1c6c1bb60b6357348028209062772927fd39ca/superset/db_engine_specs/elasticsearch.py#L62-L65
time_zone on CAST this way of conversion does not work, only date related functions work, to solve this problem, should use DATETIME_PARSE ('date', '{pattern}') to deal with, time_zone on this function works.
Here are some examples of my steps to demonstrate this in kibana

PUT /library/_bulk?refresh
{"index":{"_id": "Leviathan Wakes"}}
{"name": "Leviathan Wakes", "author": "James S.A. Corey", "release_date": "2021-09-17T13:24:19Z", "page_count": 561}
{"index":{"_id": "Hyperion"}}
{"name": "Hyperion", "author": "Dan Simmons", "release_date": "2021-09-17T19:24:19Z", "page_count": 482}
{"index":{"_id": "Dune"}}
{"name": "Dune", "author": "Frank Herbert", "release_date": "2021-09-18T09:24:19Z", "page_count": 604}

# UTC -> CST
# 2021-09-17T13:24:19Z => 2021-09-17T21:24:19+08:00
# 2021-09-17T19:24:19Z => 2021-09-18T03:24:19+08:00
# 2021-09-18T09:24:19Z => 2021-09-18T17:24:19+08:00

# should be return 2 ,but 1, **because time_zone does not work for CAST**
GET /_sql?format=txt
{
  "query": """
  SELECT * FROM "library" where release_date > CAST('2021-09-17T21:24:19' AS DATETIME)
  """,
  "time_zone": "Asia/Shanghai"
}

    author     |     name      |  page_count   |        release_date
---------------+---------------+---------------+-----------------------------
Frank Herbert  |Dune           |604            |2021-09-18T17:24:19.000+08:00

## return 2, work!!

GET /_sql?format=txt
{
  "query": """
  SELECT * FROM "library" where release_date > DATETIME_PARSE('2021-09-17 21:24:19', 'yyyy-MM-dd HH:mm:ss')
  """,
  "time_zone": "Asia/Shanghai"
}

    author     |     name      |  page_count   |        release_date
---------------+---------------+---------------+-----------------------------
Dan Simmons    |Hyperion       |482            |2021-09-18T03:24:19.000+08:00
Frank Herbert  |Dune           |604            |2021-09-18T17:24:19.000+08:00

The above example should have illustrated the problem, the essence is that CAST this way for the time zone settings do not take effect, this is important for non-UTC users, I think we need to solve it, at present I can think of is

change to DATETIME_PARSE, but there is no such function before ES 7.8.
superset database add global time_zone parameter, the datetime object for filtering should carry the corresponding time zone information, and the format should also carry the time zone information. This way I found by looking at the code that the scope is too wide and will affect other data sources.

If we have to be compatible with users before ES7.8, a compromise solution is to create a separate db_engine_spec for ES7.8 and above, which can be implemented in elasticsearch-dbapi as a separate sqlalchemy ESDialect, the name of which may require some careful thought.
new db_engine_spec
@classmethod
    def convert_dttm(cls, target_type: str, dttm: datetime) -> Optional[str]:
        if target_type.upper() == utils.TemporalType.DATETIME:
            return f"""DATETIME_PARSE('2019-10-13 00:08:00', 'yyyy-MM-dd HH:mm:ss')"""
        return None

This is the solution I have thought of so far, what do you think?
cc @dpgaspar

thank you for the contribution! @aniaan
I'm not sure if you opened the PR in the correct repo? @dpgaspar can you confirm?

I can, looking good, thank you @aniaan


Support for adding "implements Interface"/"extends Superclass" to generated code

Is there a way to have the generated Java classes implement an interface and/or extend a superclass?

I'd also like to see this feature for three main reasons.  First, maintaining two definitions is error prone.  Second, although there are alternatives there's no workaround, it's impossible for codec classes to inherit from a class or implement an interface.  Last, and I'm hesitant to argue performance with this group, double allocation doesn't seem to align well with relevant efficiency goals.  True they're small objects, but seems like a significant amount of garbage for something like an event system processing 1m/sec.
Most importantly, thank you for the brilliant encoding software, immensely valuable and sincerely appreciated.

Thanks! Glad you like it!
I'm not following the double allocation point. SBE usage is to reuse the codec objects. So, if you are allocating one on each event, that is a lot of unnecessary work being done.
I agree on the error prone aspect of multiple definitions.
As it has been a while since this was discussed, my memory is a bit rusty...
What would be the concrete proposal here? Is it to optionally have generated classes simply add "implements interface" and/or "extends superclass" on the line? Without adding any specific code within the class to make it correct/compilable?

It seems I have had this same discussion with folks for years regarding relationships between business classes such order or execution and the objects used to serialize or persist them. First, I would say that an execution message does not have an IS A relationship with an execution. So inheritance or realization of an interface is not appropriate. Furthermore, an execution can be associated to multiple objects, such a message encoder and also a persistence class for storing an execution in a database table.
My recommendation is to use a strategy pattern for associating an event to a message when needed or associating to a database persister in another case.

@donmendelson +1

Thanks for all the responses and suggestions.  I didn’t consider that the buffers were reused in terms of the double allocation point.  After reading the comments and rereading the FIX SBE blog entry the suggested approach makes sense, I’ll go that route.


🌱  Move generic provider interface to API package

What this PR does / why we need it:
This PR moves generic provider interface into API package. This allows to drop wrapper objects from internal package.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #

/test pull-cluster-api-operator-test-main

/test pull-cluster-api-operator-test-main

/retest

/retest

/approve

Hmm... I tried to do something similar, but @JoelSpeed wanted to keep api package as simple as possible.  I'll let him leave a comment.

/retest

This change does not bring additional API dependencies from the currently used set.

/retest

/retest


[fix][doc] Update docs for Partition increase command

Fixes #17878
Motivation
The Pulsar documentation currently states that partition update works only for non-global topics. This statement seems to be incorrect as per the below PR:
#5306
Modifications
Updated the code comments as well as modified the API documentation for the swagger generation.
Verifying this change

[ ] Make sure that the change passes the CI checks.

(Please pick either of the following options)
This change is a trivial rework / code cleanup without any test coverage.
Does this pull request potentially affect one of the following parts:

If the box was checked, please highlight the changes

[ ] Dependencies (add or upgrade a dependency)
[ ] The public API
[ ] The schema
[ ] The default values of configurations
[ ] The threading model
[ ] The binary protocol
[ ] The REST endpoints
[ ] The admin CLI options
[ ] The metrics
[ ] Anything that affects deployment

Documentation

[x] doc
[ ] doc-required
[ ] doc-not-needed
[ ] doc-complete

Matching PR in forked repository
PR in forked repository:

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@8c50a6c). Click here to learn what that means.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@            Coverage Diff            @@
##             master       #1   +/-   ##
=========================================
  Coverage          ?   72.84%
  Complexity        ?    31497
=========================================
  Files             ?     1861
  Lines             ?   137290
  Branches          ?    15118
=========================================
  Hits              ?   100014
  Misses            ?    29324
  Partials          ?     7952

Flag
Coverage Δ

inttests
24.40% <0.00%> (?)

systests
24.93% <0.00%> (?)

unittests
72.14% <0.00%> (?)

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


string2float: de-DE locale + MacVim from Finder = E806

Describe the bug
The string2float function in src/eval.c expects the LC_NUMERIC locale to be set to "C" so that the dot is used as decimal separator. Vim tries to ensure this by calling setlocale(LC_NUMERIC, "C"); on startup, which seems to work fine when running Vim from the terminal.
However, if I start Vim on macOS through the Finder (via MacVim), this does not work. Instead, if the macOS system language is set to German (Germany), any attempt to parse a floating-point number - even a floating-point literal in a Vim script - results in E806: Float used as String.
To Reproduce

Run LANG=de_DE.UTF-8 vim in a terminal
Execute :language, observe it's set to de_DE.UTF-8/.../C/...
Execute :echo 0.5, should work as expected
Set macOS system language to German (maybe just setting the decimal separator in the region settings is enough)
Start MacVim through Finder
Execute :echo 0.5 again

Expected Behavior

Output of :language should indicate the C locale for numbers.
0.5 should be echoed.

Actual Behavior

The output of :language is just de_DE.UTF-8.
The echo causes E806: Float used as String to be printed.

Environment (please complete the following information):

Vim version 8.2.1719 (MacVim)
OS: macOS 10.15.6
Terminal: GUI

Remark / Workaround
Curiously, running :language de_DE.UTF-8 in MacVim fixes the issue; subsequent calls of :language will yield de_DE.UTF-8/.../C/... as when running from the terminal.

can you test, if this happens with a regular latest vim? This looks more or less like a macvim problem.

I also suspect it may be a MacVim issue; however, the matching issue on the MacVim side has been closed years ago: https://github.com/macvim-dev/macvim/issues/11
I'm not sure how I would test this on regular Vim. How would I open it in GUI mode from Finder without MacVim?

I don't have any clues about Apple and MacOS. But I believe MacVim is the gui for Vim. If this issue only occurs in MacVim, than it should be reported there. I don't think this is something we can fix here.
ping @ychin

The GTK GUI had a similar problem, which was solved by setting LC_NUMERIC in gui_mch_init().  MacVim may need to do the same.

I think this is actually a common Vim bug. I can't test it right now but @denisw can try to test by doing the following in a new terminal:
unset LANG
vim

It should trigger the same bug too. The src/os_mac_conv.c code has functionality (in mac_lang_init) to detect that if LANG is non-existent (which will be the case if MacVim is launched from the Dock or it was manually unset from the environment like the above example), then it would manually reset the locale. I think (not sure though, need to debug it) that code may be run after init_locale which manually sets the LC_NUMERIC locale to "C".
An easy fix would just be to change mac_lang_init to set LC_NUMERIC too, or see if we should re-order the initialization (seems more risky).
I have been meaning to submit a PR to port MacVim's change in related area (https://github.com/macvim-dev/macvim/pull/1036/) over to Vim anyway so I can take a look.

Indeed, unset LANG triggers the problem even if running Vim from the terminal. Thanks for tracking that down @ychin!

I think this is actually a common Vim bug. I can't test it right now but @denisw can try to test by doing the following in a new terminal:
unset LANG
vim

It should trigger the same bug too. The src/os_mac_conv.c code has functionality (in mac_lang_init) to detect that if LANG is non-existent (which will be the case if MacVim is launched from the Dock or it was manually unset from the environment like the above example), then it would manually reset the locale. I think (not sure though, need to debug it) that code may be run after init_locale which manually sets the LC_NUMERIC locale to "C".
An easy fix would just be to change mac_lang_init to set LC_NUMERIC too, or see if we should re-order the initialization (seems more risky).
I have been meaning to submit a PR to port MacVim's change in related area (https://github.com/macvim-dev/macvim/pull/1036/) over to Vim anyway so I can take a look.

You mean a patch like this:
*** ../vim-8.2.1734/src/os_mac_conv.c	2020-08-11 21:58:12.581968226 +0200
--- src/os_mac_conv.c	2020-09-23 22:03:57.649064086 +0200

*** 580,585 ****
--- 580,589 ----
ifdef HAVE_LOCALE_H
    setlocale(LC_ALL, "");

endif

if defined(FEAT_FLOAT) && defined(LC_NUMERIC)

  // Make sure strtod() uses a decimal point, not a comma.

  setlocale(LC_NUMERIC, "C");

endif
}
}
}

--
The acknowledged parents of reengineering are Michael Hammer and James Champy.
When I say they're the "parents" I don't mean they had sex - and I apologize
for making you think about it.  I mean they wrote the best-selling business
book Reengineering the Corporation, which was published in 1993.
Businesses flocked to reengineering like frat boys to a drunken
cheerleader.  (This analogy wasn't necessary, but I'm trying to get my mind
off that Hammer and Champy thing.)
(Scott Adams - The Dilbert principle)
/// Bram Moolenaar --<EMAIL_ADDRESS>-- http://www.Moolenaar.net   \
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \
\\  an exciting new programming language -- http://www.Zimbu.org        ///
\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

@brammool Yeah basically. I think that will fix this.
I can do my other PR separately if you want to just commit this now.

FYI, I can provide code for vim_strtod on public-domain or vim-license.
https://gist.github.com/mattn/1890186


The Hessian computation does not work for graphs using tf.gather.

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes.
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux Ubuntu 16.04.
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary): Binary.
TensorFlow version (use command below): v1.4.0-19-ga52c8d9 1.4.1
Python version: '3.6.5 (default, Mar 29 2018, 03:28:50) \n[GCC 5.4.0 20160609]'
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version:
GPU model and memory:
Exact command to reproduce:

import tensorflow as tf
import numpy as np
theta = tf.get_variable('theta', shape=[10], dtype=tf.float32, initializer=tf.zeros_initializer)
indices = tf.placeholder(tf.int64, shape=(None, 3))
Y = tf.gather(theta, indices)
loss = tf.reduce_sum(tf.square(Y))
grads = tf.gradients(loss, theta)
with tf.Session() as sess:
   print(sess.run(grads, feed_dict={theta: np.arange(10), indices: np.array([[1,3,6], [2,4,5]])}))

hess = tf.hessians(loss, theta)
with tf.Session() as sess:
   print(sess.run(hess, feed_dict={theta: np.arange(10), indices: np.array([[1,3,6], [2,4,5]])}))

Describe the problem
When trying to compute Hessians with a graph that uses tf.gather, it throws a TypeError: 'IndexedSlices' object is not subscriptable. This I believe is because the gradients are returned as IndexedSlice objects whereas Tensorflow is expecting them to be a normal array.
What I would expect is a sort of 2D IndexedSlice object for hess such that hess.values[i, j] is the second partial derivative of loss with respect to the theta indices hess.indices[i] and hess.indices[j].
Source code / logs
The traceback:
<ipython-input-11-b8b35a8e0799> in <module>()
----> 1 hess = tf.hessians(loss, theta)

~/Documents/Ravenholm/citadel/citadel_env/lib/python3.6/site-packages/tensorflow/python/ops/gradients_impl.py in hessians(ys, xs, name, colocate_gradients_with_ops, gate_gradients, aggregation_method)
    999           lambda j, result: (j + 1,
   1000                              result.write(j, gradients(_gradient[j], x)[0])),
-> 1001           loop_vars
   1002       )
   1003

~/Documents/Ravenholm/citadel/citadel_env/lib/python3.6/site-packages/tensorflow/python/ops/control_flow_ops.py in while_loop(cond, body, loop_vars, shape_invariants, parallel_iterations, back_prop, swap_memory, name)
   2814     loop_context = WhileContext(parallel_iterations, back_prop, swap_memory)  # pylint: disable=redefined-outer-name
   2815     ops.add_to_collection(ops.GraphKeys.WHILE_CONTEXT, loop_context)
-> 2816     result = loop_context.BuildLoop(cond, body, loop_vars, shape_invariants)
   2817     return result
   2818

~/Documents/Ravenholm/citadel/citadel_env/lib/python3.6/site-packages/tensorflow/python/ops/control_flow_ops.py in BuildLoop(self, pred, body, loop_vars, shape_invariants)
   2638       self.Enter()
   2639       original_body_result, exit_vars = self._BuildLoop(
-> 2640           pred, body, original_loop_vars, loop_vars, shape_invariants)
   2641     finally:
   2642       self.Exit()

~/Documents/Ravenholm/citadel/citadel_env/lib/python3.6/site-packages/tensorflow/python/ops/control_flow_ops.py in _BuildLoop(self, pred, body, original_loop_vars, loop_vars, shape_invariants)
   2588         structure=original_loop_vars,
   2589         flat_sequence=vars_for_body_with_tensor_arrays)
-> 2590     body_result = body(*packed_vars_for_body)
   2591     if not nest.is_sequence(body_result):
   2592       body_result = [body_result]

~/Documents/Ravenholm/citadel/citadel_env/lib/python3.6/site-packages/tensorflow/python/ops/gradients_impl.py in <lambda>(j, result)
    998           lambda j, _: j < n,
    999           lambda j, result: (j + 1,
-> 1000                              result.write(j, gradients(_gradient[j], x)[0])),
   1001           loop_vars
   1002       )

TypeError: 'IndexedSlices' object is not subscriptable

@rmlarsen can you please respond or reassign to someone who knows this code?

Nagging Assignee @rmlarsen: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @rmlarsen: It has been 29 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @rmlarsen: It has been 44 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @rmlarsen: It has been 59 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @rmlarsen: It has been 74 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @rmlarsen: It has been 89 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

@rwolst
Can you try with TF version 1.15 and see if the error still persists.I am not seeing any issue with with TF version 1.15.Please, find the gist here.Please, verify once and close the issue.Thanks!

@ravikyram That works for me now with 1.15. I'll close the issue, however I do think in an ideal world the result should be a 2D index slice matrix.
If the size of the gathered indices is much smaller than the total number of indices, this would provide a large performance benefit. This would of course be an enhancement as it is no longer a bug.


How to send image binary to dali in triton?

Hi, I am trying to send data through the triton sdk with BYTES data how ever I got 400 error with the following message
[/opt/dali/dali/operators/decoder/nvjpeg/nvjpeg_decoder_decoupled_api.h:546] [/opt/dali/dali/image/image_factory.cc:89] Assert on "CheckIsPNG(encoded_image, length) + CheckIsBMP(encoded_image, length) + CheckIsGIF(encoded_image, length) + CheckIsJPEG(encoded_image, length) + CheckIsTiff(encoded_image, length) + CheckIsPNM(encoded_image, length) + CheckIsJPEG2k(encoded_image, length) == 1" failed: Encoded image has ambiguous format

It seems like the image format was not recognised correctly. Would you mind to point out what's wrong?
The following are code I used to test. I changed the type to type_string so that BYTES data could be send through the triton sdk.
 import nvidia.dali as dali

 pipe = dali.pipeline.Pipeline(batch_size=256, num_threads=4, device_id=0)
 with pipe:
     images = dali.fn.external_source(device="cpu", name="DALI_INPUT_0")
     images = dali.fn.image_decoder(images, device="mixed")
     images = dali.fn.resize(images, resize_x=224, resize_y=224)
     pipe.set_outputs(images)

 pipe.serialize(filename="/models/dali/1/model.dali")

triton model repository
models
├── dali
│   ├── 1
│   │   └── model.dali
│   └── config.pbtxt

config.pbtxt
name: "dali"
backend: "dali"
max_batch_size: 256
input [
    {
     name: "DALI_INPUT_0"
     data_type: TYPE_STRING
     dims: [ -1 ]
    }
]

output [
    {
     name: "DALI_OUTPUT_0"
     data_type: TYPE_FP32
     dims: [ 224, 224, 3 ]
    }
]

predict.py
import tritonclient.http as httpclient
import numpy as np

if __name__ == "__main__":
    img_bytes = open("sample.jpg", "rb").read()

    img_data = np.array([img_bytes], dtype=bytes)
    img_data = np.stack([img_data], axis=0)

    infer_input = httpclient.InferInput("DALI_INPUT_0", img_data.shape, "BYTES")
    infer_input.set_data_from_numpy(img_data, binary_data=True)
    triton_client = httpclient.InferenceServerClient(url="localhost:8000", verbose=True)

    result = triton_client.infer("dali", [infer_input])
    print(result)

sample.jpg

Hi,
I just checked and this file works fine. Are you sure you downloaded the image, not the html page that includes it (the link you provided leads to a page, not the image itself)?


Icon does not align in the middle of the Notification Bar

The app icon does not show up at the correct spot for me.


Sanitation strategy sce fails with fallback language

Sanitation strategy sce fails with fallback language
When using a fallback language in conjuction with the sanitation strategy sce a type error is thrown when the string to translate is only available in the fallback language file.
Demo: https://plnkr.co/edit/iWdsq62cnGAY3mdN3aTM?p=preview
The fallbackTranslationInstant function expects a string as result but it gets a TrustedValueHolderType object.
typeError: result.substr is not a function
    at getFallbackTranslationInstant (angular-translate.js:1791)
    at resolveForFallbackLanguageInstant (angular-translate.js:1893)
    at fallbackTranslationInstant (angular-translate.js:1924)
    at determineTranslationInstant (angular-translate.js:2019)
    at Function.$translate.instant (angular-translate.js:2551)
    at translateFilter (angular-translate.js:3620)
    at fn (eval at compile (angular.js:14817), <anonymous>:4:97)
    at oneTimeInterceptedExpression (angular.js:16046)
    at oneTimeWatch (angular.js:15984)
    at Scope.$digest (angular.js:17515)

Your environment

version of angular-translate: 2.12.1
version of angular: 1.5.8
which browser and its version: Chrome 53.0.2785.143 m

Steps to reproduce

Two languages
Set one langauge as fallback for another
Set sanitation strategy to sce
Translate a string via a filter

Demo: https://plnkr.co/edit/iWdsq62cnGAY3mdN3aTM?p=preview
Expected behaviour
Everything should be nicely translated
Actual behaviour
TypeError: TrustedValueHolderType object instead of expected string

Hm, did you have missed saving something in the demo? I guess, at least there is one missing file (angular-sanitize).

Sorry the translation had to be done via filters in order to get the error, I updated the plnkr:
https://plnkr.co/edit/iWdsq62cnGAY3mdN3aTM?p=preview

Ok, demo working!
Well, looks like sce does not working together with the linking feature (string based).

@knalli are you planning on creating a fix for this? If so, when will it be released you think?

@MarijnMensinga It will take some days. If you can make a PR fixing the issue, it will faster.

I've created a PR #1630
This fixes my problems.. I'm not 100% sure this is enough for a permanent fix in the entire library?

Fix: aaaa972


Flush calls onEvicted

I have some finalization code in my onEvicted which is needed to call on all cached objects when the application terminates. I've found the Flush function that cleans the cache, but it did not call onEvicted.
Now it does, when onEvicted handler is set.

Found this fork: https://github.com/arp242/zcache


[bug] DragDropEvent payload position is incorrect

Describe the bug
I'm using getCurrentWebview().onDragDropEvent() and event.payload.position. I'm using  HTMLDivElement.getBoundingClientRect() to check if the pointer is over a div. It's possible I'm doing this incorrectly.
It does appear that the div is reporting it's own coordinates correctly when I enable the rulers in devtools.
The y position is off (value is too small), so it appears that the pointer is over the div when it's a bit above the top of the div, and not over it when it's a bit above the bottom.
Probably not coincidentally, it appears to align with the bottom of the pointer icon, i.e. the bottom of the green + in the icon image:

I'm on OSX 14.3.1, M1 chipset.
Reproduction
A minimal example is here: https://github.com/lendle/dragndrop
I created the app with npm create tauri-app@latest -- --rc and made the following changes:

enabled the "core:event:default" permission
Removed a couple plugins that aren't necessary for the example
Added a div and handlers in +page.svelte

I've found that it's off by about 28 pixels, and if I adjust the y position by that amount, things work as expected. I have that commented out in the example.
Expected behavior
The y position of the drag event position should align with the pointy end of the pointer.
Full tauri info output
><EMAIL_ADDRESS>tauri
> tauri info

[⚠] Environment
    - OS: Mac OS 14.3.1 X64
    ✔ Xcode Command Line Tools: installed
    ✔ rustc: 1.79.0 (129f3b996 2024-06-10) (Homebrew)
    ✔ cargo: 1.79.0
    ⚠ rustup: not installed!
      If you have rust installed some other way, we recommend uninstalling it
      then use rustup instead. Visit https://rustup.rs/
    ⚠ Rust toolchain: couldn't be detected!
      Maybe you don't have rustup installed? if so, Visit https://rustup.rs/
    - node: 22.5.1
    - npm: 10.8.2

[-] Packages
    - tauri [RUST]: 2.0.0-rc.6
    - tauri-build [RUST]: 2.0.0-rc.6
    - wry [RUST]: 0.42.0
    - tao [RUST]: 0.29.1
    - @tauri-apps/api [NPM]: 2.0.0-rc.3
    - @tauri-apps/cli [NPM]: 2.0.0-rc.7

[-] App
    - build-type: bundle
    - CSP: unset
    - frontendDist: ../build
    - devUrl: http://localhost:1420/
    - framework: Svelte
    - bundler: Vite

Stack trace
No response
Additional context
No response

Yes, I see the same. the y coordinate is negative

@shi-yan Your issue is different. In your case the devtools window is for some reason messing with the coordinates. If you close it the coordinates should be correct, apart from the 28px talked about here of course.

yes, you are right. it was the debugger.

I also notice the there is a small y offset of the drop position.
the offset value is equal to the height of the window's title bar.
i.e. the drop position's origin is the top-left of the window, not the top-left of the webview.

I also notice the there is a small y offset of the drop position.
the offset value is equal to the height of the window's title bar.
i.e. the drop position's origin is the top-left of the window, not the top-left of the webview.

Oh! Your answer clarified my doubts. I'm using a borderless window, and every time I drag a file into an input box, the y value from getBoundingClientRect is always slightly off (it turns out the retrieved Rect is always higher), causing the detection of my drag position to be misaligned with the input box. It seems that the mouse position retrieved in the onDragDropEvent is always relative to the web viewport, while getBoundingClientRect is relative to the entire window, even though the title bar does not exist.


Add showAll option to show all  data

I am using axios to update my listentries. I am searching a database with names. Sometimes i want to be able to search for part of the names e.g. "FirstNa LastNa" returns "FirstName Lastname" also. But it does not Match the querystring in the inputfield anymore, so typeahead does not display the (valid) response. I added an option "showAll" which is false as default. When switched "on" typeahead will display all responses in the list.
hope this helps somebody if needed.

👍

I merged this into my fork (https://github.com/mattzollinhofer/vue-typeahead-bootstrap) of this project and published it to npm rebranded as vue-typeahead-bootstrap (to avoid collisions). https://www.npmjs.com/package/vue-typeahead-bootstrap. I hope this helps other to continue to use this tool. Thanks for the PR!


Azure Synapse Spark pools- % run command to run 1 notebook from anothar

Azure documentation issue guidance
Thanks for opening an issue in the Azure technical documentation repository.
We use GitHub issues as the primary channel for customer and community feedback about the Azure documentation.
Creating an issue
We prefer that you create documentation feedback issues using the Feedback link on the published article - the feedback control on the doc page creates an issue that contains all the article details so you can focus on the feedback part.
You can also create a feedback issue here in the repo. If you do this, please make sure your issue lists:

[ ] The relevant Azure service or technology.
[ ] A link to the published documentation article that you have feedback about.
[ ] Clear, specific feedback that the author can act on.

Pull requests and article contributions
If you know the change that is needed in an article, we encourage you to submit the changes directly using a pull request. If the change is large, or if you want to contribute an entire article, follow these guidelines:

[ ] Don't surprise us with a big pull request or a pull request with a new article! Submit an issue that describes the details of the proposed large change or new article.
[ ] Include the service or technology area.

We'll route the issue to the appropriate content team for review and discussion.
Tech support and product feedback
If you would like to contact Microsoft about other things, such as product feedback or tech support, please review these guidelines:

If you need technical support using Azure, the paid and free support options are described here: https://azure.microsoft.com/support/options/.

Each article in the Azure technical documentation contains a product feedback button - it's best to submit product feedback directly from a relevant article. Otherwise, you can submit product feedback for most Azure products in the following product feedback forum: https://feedback.azure.com/forums/34192--general-feedback.

@Manishjpradhan Unfortunately, there is no magic command available called "%run".
For more details, refer "Azure Synapse Analytics - magic commands"
You can use familiar Jupyter magic commands in Azure Synapse Studio notebooks. Review the following list as the current available magic commands. Tell us your use cases on GitHub so that we can continue to build out more magic commands to meet your needs.
Available line magics: %lsmagic, %time, %time it

Available cell magics: %%time, %%timeit, %%capture, %%writefile, %%sql, %%pyspark, %%spark, %%csharp

Hope this helps.

Thanks @CHEEKATLAPRADEEP-MSFT . Is there any alternative to call 1 notebook from anothar ? We have a lot of common functions which we will need to replicate in all notebooks instead of keeping them in 1 notebook and call it from others.

@Manishjpradhan I’m working with the product team and get back to you when I have more information.

@Manishjpradhan Product Team has confirmed that there is no way to call a notebook from another and they are actively working on it and it will be available soon.
I will update once the feature is available.
We will now proceed to close this thread. If there are further questions regarding this matter, please comment and we will gladly continue the discussion.

Hi Product Team, I was wondering is it possible yet to call a synapse notebook from another using mssparkutils

Hi Product Team, I was wondering is it possible yet to call a synapse notebook from another?

I believe you are looking for this https://learn.microsoft.com/en-us/azure/synapse-analytics/spark/apache-spark-development-using-notebooks#notebook-reference


oauth2client Depreciated

Any ideas for how to convert oauth2client to google-auth-client ?
from googleapiclient.discovery import build
from google_auth_oauthlib.flow import InstalledAppFlow
from google.auth.transport.requests import Request

Fixed in 1.0.0. Thanks.

Thank you very much ...
Great job ...