AppLifecycleState.resumed error in iOS Flutter hybrid development

Error
In iOS Flutter hybrid development, after push or present a FlutterViewController, you will receive the AppLifecycleState.resumed state. This is wrong.

There is no such problem in the Android Flutter hybrid development, and the pure Flutter project runs on the iOS simulator.

Steps to Reproduce
git clone https://github.com/klaus01/iOS_Flutter.git
cd iOS_Flutter/my_flutter
flutter pub get
cd ..
pod install
open iOS_Flutter.xcworkspace

Run in the iOS simulator, click present flutterVC or push flutterCV.
Expected results:
Like Android, only initState is displayed, push FlutterViewController should not receive AppLifecycleState.resumed
Actual results:
After pushing FlutterViewController, I received initState and AppLifecycleState.resumed
$ flutter doctor -v
[✓] Flutter (Channel stable, 1.22.3, on macOS 11.0.1 20B50, locale zh-Hans-CN)
    • Flutter version 1.22.3 at /usr/local/Caskroom/flutter/1.22.3/flutter
    • Framework revision 8874f21e79 (5 weeks ago), 2020-10-29 14:14:35 -0700
    • Engine revision a1440ca392
    • Dart version 2.10.3

[✓] Android toolchain - develop for Android devices (Android SDK version
    30.0.2)
    • Android SDK at /Users/klaus01/Library/Android/sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.2, Build version 12B45b
    • CocoaPods version 1.10.0

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin installed
    • Dart plugin version 201.9245
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)

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

[✓] Proxy Configuration
    • HTTP_PROXY is set
    • NO_PROXY is localhost,<IP_ADDRESS>
    • NO_PROXY contains <IP_ADDRESS>
    • NO_PROXY contains localhost

[✓] Connected device (1 available)
    • iPod touch (7th generation) (mobile) •
      DDFB0068-51F1-49BD-BF4A-7A1A47E1C003 • ios •
      com.apple.CoreSimulator.SimRuntime.iOS-14-2 (simulator)

Issue replicable on latest stable.

iOS:

Android:

flutter doctor -v
[✓] Flutter (Channel stable, 1.22.4, on Mac OS X 10.15.4 19E2269 darwin-x64,
    locale en-IN)
    • Flutter version 1.22.4 at /Users/dhs/documents/Fluttersdk/flutter
    • Framework revision 1aafb3a8b9 (3 weeks ago), 2020-11-13 09:59:28 -0800
    • Engine revision 2c956a31c0
    • Dart version 2.10.4

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.0)
    • Android SDK at /Users/dhs/Library/Android/sdk
    • Platform android-30, build-tools 30.0.0
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.0.1, Build version 12A7300
    • CocoaPods version 1.9.3

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 46.0.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)

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

[✓] Connected device (2 available)
    • sdk gphone x86 arm (mobile)         • emulator-5554
      • android-x86 • Android 11 (API 30) (emulator)
    • iPhone SE (2nd generation) (mobile) • 6C85835D-FBFD-4AB3-8DE8-B4FAD35E5367
      • ios         • com.apple.CoreSimulator.SimRuntime.iOS-14-0 (simulator)

• No issues found!

any updates on this?

This issue is reproducible on the latest stable and master channels.
Updated sample code for compatibility with new Flutter versions: iOS_Flutter.zip

flutter doctor -v (stable and master)
[✓] Flutter (Channel stable, 3.7.11, on macOS 13.0.1 22A400 darwin-x64, locale en-VN)
    • Flutter version 3.7.11 on channel stable at /Users/huynq/Documents/GitHub/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision f72efea43c (31 hours ago), 2023-04-11 11:57:21 -0700
    • Engine revision 1a65d409c7
    • Dart version 2.19.6
    • DevTools version 2.20.1

[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-33, build-tools 32.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)
    • All Android licenses accepted.

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

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

[✓] Android Studio (version 2022.1)
    • 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.15+0-b2043.56-8887301)

[✓] IntelliJ IDEA Community Edition (version 2022.1.1)
    • IntelliJ at /Users/huynq/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/221.5591.52/IntelliJ IDEA CE.app
    • 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

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

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

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

• No issues found!

[!] Flutter (Channel master, 3.10.0-4.0.pre.25, on macOS 13.0.1 22A400 darwin-x64, locale en-VN)
    • Flutter version 3.10.0-4.0.pre.25 on channel master at /Users/huynq/Documents/GitHub/flutter_master
    ! Warning: `flutter` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision b95b86f820 (3 hours ago), 2023-04-12 23:39:38 +0000
    • Engine revision 372946ec7e
    • Dart version 3.0.0 (build 3.0.0-431.0.dev)
    • DevTools version 2.23.1
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-33, build-tools 32.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)
    • All Android licenses accepted.

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

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

[✓] Android Studio (version 2022.1)
    • 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.15+0-b2043.56-8887301)

[✓] IntelliJ IDEA Community Edition (version 2022.1.1)
    • IntelliJ at /Users/huynq/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/221.5591.52/IntelliJ IDEA CE.app
    • 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

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

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

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

! Doctor found issues in 1 category.

Removing a: platform-views label as it doesn't seem relevant in this case.


some data are not showing

I use zimbra multi server (LDAP, MTA, Mailbox) and one grafana server
I have installed telegraph on the MTA server, but some data are not showing (ZCS Version Received Megabytes, Zimbra Queues, Operatios Initiated, and Read and Writes waiters), is there anything that needs to be changed in checkzimbraversion.sh and grafana-zimbra-collaboration -dashboard.json ?

I have one 'old' dashboard of this that is working, but if I download this one, if shows no data ...
Strange ...


Mac OSX GUI closes on calibrate or segmentation

I'm trying to run the GUI from a conda environment created using your environment.yml file on Mac OS X 10.15.7.
When I do so, I'm able to launch the GUI and load an image. However, when I try to either calibrate the cell size or run a segmentation, the GUI window closes and the following error message prints to the terminal:
OMP: Error #15: Initializing libiomp5.dylib, but found libomp.dylib already initialized. OMP: Hint This means that multiple copies of the OpenMP runtime have been linked into the program. That is dangerous, since it can degrade performance or cause incorrect results. The best thing to do is to ensure that only a single OpenMP runtime is linked into the process, e.g. by avoiding static linking of the OpenMP runtime in any library. As an unsafe, unsupported, undocumented workaround you can set the environment variable KMP_DUPLICATE_LIB_OK=TRUE to allow the program to continue to execute, but that may cause crashes or silently produce incorrect results. For more information, please see http://www.intel.com/software/products/support/. zsh: abort      python -m cellpose
I did some googling on the error message and found a suggestion to install nomkl https://github.com/dmlc/xgboost/issues/1715. That does work to stop the GUI window from closing abruptly and I can get segmentation results, but I don't really know why it works or if there's a better solution. Thanks!
computer specs:

Hmm that nomkl package may disable the mkl installed with anaconda so that python uses the preinstalled OMP libraries? I'm not sure if it will be as fast, but hopefully it is. They also recommend as a potential solution on macOS Catalina
conda install -c intel mkl

You could try this as well and see if it fixes the problem.

Thanks! The conda install -c intel mkl didn't work for me to solve the problem - the gui still closed abruptly on trying to calibrate or segment.
After using conda install nomkl I can segment my images only a few seconds per image, which is fast enough for me. Hopefully others won't have the same error w/ their conda env!

oh actually it is erroring for me on windows too with a fresh install. I changed the environment file so that numpy (and numba) are installed with pip so they don't depend on MKL as the conda build does. I don't think this error always happened, I'm not sure what changed.

Thanks @carsen-stringer! The new environment.yml file works for me to create an environment that runs the GUI without closing.


Density at an infinite sequence

This is a little unintuitive for me. So testvalue, which is I think a point on the sample space of Chain, cannot be passed to the logdensity function without some processing. Would it make more sense for Chain to be a family of measures that must be conditioned on a fixed number of steps (here, 10), in order to uniquely define a measure?
Originally posted by @sethaxen in https://github.com/cscherrer/MeasureTheory.jl/pull/137#discussion_r688925975
My original response:

I agree it's unintuitive, but I think it's more a difficulty of the math than a problem with the implementation. It's a little like working with irrational numbers. Everything is well-defined, but you can never look at or do computations with the full set of decimal digits. Or even better a Gaussian process - the GP itself is a continuous function, but we can only ever evaluate it on a finite set of values.

Thinking some more about this, given a continuous function f on the reals, we usually compute (approximate, really) f(π) by looking at f on values near π. And we can compute the log-density of a GP on some continuous function using integration.
We can't have an empirically observed infinite sequence, but we can define things like this programmatically. And yet as currently implemented, the density of a Chain on any infinite sequence converges to zero.
This leads to the question, are we really implementing this correctly? @mschauer you've had helpful insights on similar problems, any thoughts on this?

My guess is that the distinction here might be like the different between a direct sum and a direct product in some contexts, where the former needs to be zero on all but a finite subset of the indices. But we should confirm this by checking universal properties, or even better find a reference that goes through this in detail.


Null error that has to do with context

Hello,
I am getting an error when trying to use your code.
The getter 'modalBarrierDismissLabel' was called on null. Receiver: null Tried calling: modalBarrierDismissLabel
I used a Builder to get a new context but that did not help. I think the line that is causing the problem is MaterialLocalizations.of(context).modalBarrierDismissLabel, and perhaps that does not work because I am not using a MaterialApp (I am using CupertinoApp). Is that right?
Do you have any suggestions on how to proceed?

sorry, this package is designed to use MaterialApp, I think wrap a MaterialLocalizations or something else may solve this issue, but I didn't try. If you've solved this issue, please share to me, thanks


CI: Test & Coverage and Add Coverage Badge

CI: Test & Coverage and Add Coverage Badge

Welcome to Codecov :tada:
Once merged to your default branch, Codecov will compare your coverage reports and display the results in this comment.
Thanks for integrating Codecov - We've got you covered :open_umbrella:


Build and test in CI

Now that we have a few tests, let's set up CI with GitHub actions. To start, we can do just ubuntu-latest and macos-latest images, and build with GCC.

Done by #15 #16 #17


Fix GitHub release note link

Description
For patch releases, the release note link should be: https://docs.projectcalico.org/$(RELEASE_STREAM)/release-notes/
For minor releases, it should be: https://docs.projectcalico.org/release-notes/

Related issues/PRs

Todos

[ ] Tests
[ ] Documentation
[ ] Release note

Release Note

None required

Deploy preview for calico ready!
Built with commit 8c42d3a0e9cbd4655d2c1390723018f2c5557c5e
https://deploy-preview-3217--calico.netlify.com

Not needed anymore now that we have the latest docs also published at /${RELEASE_STREAM}


Please Do a Bugfix Release

Sadly the current version of pipenv available in homebrew has broken support for pyenv. While it's possible to install pipenv from master, it would still be a good idea to release a new version as soon as possible. Otherwise you risk that people who try pipenv for the first time might get a misleading first impression. Additionally even seasoned pipenv users suffer from having to do a web search to find a workaround to fix their work environment.

It also seems it's time to have a proper regular Next Release according to the Project Board:
https://github.com/pypa/pipenv/projects/8
The only issue in the project board not in the Done column has already been closed: https://github.com/pypa/pipenv/issues/2359
We've not had a release since Nov 26, 2018 and it's end of March 2019 (4 months). I suspect enough things have been improved/fixed since then that many people are still running into trouble they could be avoiding with just the latest release 🤔
Thank you for your work 🙇

To be fair, I have no idea what that project is -- apologies for the delay on this but we had significant delays getting CI builds passing with updates to pip, piptools, and other resolver issues.  Each delay has added up to over a week at a time and this is a project that happens in our free time -- and it is super complicated to push a release with so many moving parts coming together.  I will get one out this week, which is about a week or two behind when I actually planned to cut a release.

Thanks for the hard work @techalchemy. Also looking forward to restoring pyenv support. ❤

Hi wonderful contributors! Is there any chance this is in the works, or could use some help getting things ready for release?

Related: https://github.com/pypa/pipenv/issues/3742

why you no?

@amir-barkal -- it's very likely you meant the image in a jovial fashion (it's a funny meme, I like it too), but it's easy to misread people on the internet, and the maintainers of the repository might feel as if you're demanding they do something (which isn't pleasant).
In the future, a comment like this accompanying with a comment below saying something like "thank you for your hard work 🙇♂" would remove the ambiguity 😉

Apologies to anyone if I have offended them, that was never my intention.
@whyboris I’ve edited the comment as per your kind advice. Thank you.

Redirect #3742


Add note about PNG files to Image static resources

@kmagiera can you make sure this is accurate?

Not sure if that's a correct workaround, maybe @frantic will know as he was commenting on the original issue

We are working on a better asset system that will hopefully solve this problem for good. Meanwhile I'm okay with adding this note, however:

You probably don't need isStatic attribute.
After renaming require('image!..) syntax still doesn't work?

You're right, isStatic is not necessary.
I'm pretty sure that is what I did at first (and it was working), but for some reason, my tests now seem to be producing an error with require(): Requiring unknown module "image!my-icon"...

I figured it out, I was doing the "bad" example and trying to load an array of images with:
var PREF_IMAGES = [
  // 'beer', 'breakfast', 'coffee', 'cycling', 'ice-cream', 'pie',
  'snowboarding', 'steak', 'sushi', 'tea', 'veggies', 'wine'
];

var Thumb = React.createClass({
  shouldComponentUpdate: function(nextProps, nextState) {
    return false;
  },
  render: function() {
    return (
      <View style={styles.row}>
        <Image style={styles.image} source={require('image!pref-' + this.props.uri)} />
        <Text style={styles.imageCaption}> {this.props.uri} </Text>
      </View>
    );
  }
});
var createThumbRow = (uri, i) => <Thumb key={i} uri={uri} />;

Then in my main component:
// ...
<View>
        {PREF_IMAGES.map(createThumbRow)}
</View>
// ...

This works fine when using the source={{ uri: 'pref-' + this.props.uri }} method.


Fix for broken (JS error) install (see #262)

See discussion in #262 ...

👍 There are two more leaflet packages prefixed with the carot ^ in there - should we change them, too, and be explicit about dependency versions?

yes, good idea - done above - ready for merge I think

Thanks for pinning deps here :bow: and sorry we didn't follow up quicker.


Implement a global count for status code to avoid weird DIY sums between different levels on a route

Somehow fixed by https://github.com/numberly/flask-graphite/commit/72caa4db095a8f22171b2a06eea4a5b023fcdf0e


Create GIDProfileDataFetcher protocol, implementation and fake

GIDProfileDataFetcher extracts an GIDProfileData out of an OIDAuthState object.  It  either extracts an ID token out of the OIDAuthState object or fetches user profile data through GIDHTTPFetcher.

@Alex-4-Git is this PR still relevant?

I will close this one.


Jenkins pipeline update

fixed jenkins node labels
updated image tag to be 4.5.0-alpha-${env.GIT_HASH}
added minimal health check after docker swarm CD
updated to use prod image for performance and integration tests

retest this please


[TypeError: main() missing required positional argument request ]

I am getting this error while following a youtube Django tutorial and I know that this is not the plate for Django issues so I went to Django git-hub but there I can't open an issue so I came here for help. The error says that I am missing an argument for the main function that returns the HttpResponse in that I have included request but it says that I haven't. This error occurred while I was making the migrations for my project. Al I want is to get the link to view the server or web and fix this. Kindly help me, it will benefit me.. I am following Tech with Tim's youtube course for Django and React Js I also asked him thrice but there was no reply.

Could you please post the full error stack trace and the code you are using?

Closing the issue since there has been no reply in two weeks. Hope you found a solution :)


Optimize coregistration module performance for Xarray/Raster objects

We have a lot of steps that extract the NumPy array/transform from a Raster/Xarray dataset, and then re-build the object in the fit function to be able to apply the Raster API consistently. This takes extra memory and computing time.
I see 2 solutions to remedy this issue:

Switch to using Raster and Xarray objects directly in the fit_rst, never going transforming to a NumPy array (just passing the one contained),
Make the Raster API available as separate functions from the class.

We (wisely) decided to not do 1. initially because we did not know if the Raster class was going to be a success. But given that we'll be able to use an Xarray object the same way now, that should not be a problem anymore.
It would still be valuable to have 2. available for some instances.
Minimal changes would be needed for 2., but would make the code harder to read in the Coreg class (calling non-public GeoUtils functions with volatile metadata).

This is now done in #530 and thanks to https://github.com/GlacioHack/geoutils/pull/560. The functions that required building a new Raster were interp_points, _coords, _res, etc. Those are now available through the GeoUtils non-public API.


[V1] Status Light

https://spectrum.adobe.com/page/status-light/

Isn't our small badge basically a status light?


add TLS SNI (server name indicator) to the output

It is useful to check if the client send correct SNI to the server.

That looks useful, thanks.  Didn't know you could show that.


Is there any way to create lexer without using Enum ?

For example, the regex is being read from an external file at runtime.

The logos-derive crate (which is really what makes it all work) is resolving all the regex into a state machine at compile time. To make it work at runtime without enums would take it into an entirely different direction than what it's target use is currently :).


fix: don't discard error in client

This resolves #9
The main issue is that the client tries to use serverError from useState and ignores the error from useAsyncData.
I'm not exactly sure how serverError is populated. I assume it has something to do with SSR. However in case without SSR the returned error is always null.
The proposed solution is to use the error from useAsyncData as initial value for useState.
const serverError = useState<TError | null>(`error-${key}`, () => error.value)

I'll test this locally. Thanks!


[DOCS] Update Indexing page with all index types and file layout page

Change Logs
Update indexing page and file layout page
Impact
Docs changes
Risk level (write none, low medium or high below)
Low
Documentation Update
Describe any necessary documentation update if there is any new feature, config, or user-facing change

The config description must be updated if new configs are added or the default value of the configs are changed
Any new feature or user-facing change requires updating the Hudi website. Please create a Jira ticket, attach the
ticket number here and follow the instruction to make
changes to the website.

Contributor's checklist

[ ] Read through contributor's guide
[ ] Change Logs and Impact were stated clearly
[ ] Adequate tests were added if applicable
[ ] CI passed

Tested the page locally

After splitting the configs into spark based and flink based ones he page looks locally like this:


Startup crash

Logs:
latest.log
Crash report:
crash-2021-01-05_11.43.50-client.txt

You must manually install Geckolib (for fabric) to play with the aether mod.

You must manually install Geckolib (for fabric) to play with the aether mod.

I did have geckolib installed in my production modpack, however it's 2.0.0 due to incompatibility with Ars Theurgia with 3.0.0

I did have geckolib installed in my production modpack, however it's 2.0.0 due to incompatibility with Ars Theurgia with 3.0.0

Update: Loads now with Geckolib 2.0 and 3.0 in the same instance. Closing this issue.

Update: Loads now with Geckolib 2.0 and 3.0 in the same instance. Closing this issue.


Request: re-add automatic id / anchor for headings within tabs

The fix for removing headings from the table of contents within tab sections removes automatic id from all headings used within tabs.
While this simplifies the table of contents by removing those tab-specific elements from the page navigation, it also disables functionality like easily adding a mini tab-specific TOC to link to headers within the tab.  It would be useful to still include the anchors for the headings, even if they aren't automatically added to the side table of contents.
For example, what I'd like to be able to do is this:
<Tabs items={['First tab', 'Second tab']}>

<Tabs.Tab>
You can do two things here:

* [First thing specific to tab 1](#first-thing-specific-to-tab-1)
* [Second thing specific to tab 1](#second-thing-specific-to-tab-1)

### First thing specific to tab 1

Content

### Second thing specific to tab 1

Content

</Tabs.Tab>
<Tabs.Tab>
You can do two other things here:

* [First thing specific to tab 2](#first-thing-specific-to-tab-2)
* [Second thing specific to tab 2](#second-thing-specific-to-tab-2)

### First thing specific to tab 2

Content

### Second thing specific to tab 2

Content

</Tabs.Tab>
</Tabs

Currently, I'm able to work around this by manually adding the same types of anchors that it generates for non-tab headings:
### First thing specific to tab 1

However, this is less than ideal and feels very fragile.  It'd be great if the anchors could be automatically generated for headers within tabs, even if they aren't going to be used within the generated table of contents.
Hope that makes sense.

See https://github.com/shuding/nextra/issues/1191#issuecomment-1373077810
There’s no reason to add headings for dynamic content such as tabs, since if you copy the heading inside second tab, on first load you’ll not jump to it

To me, there's value in having the anchor even if it doesn't function across reloads.  It helps the reader quickly find the information they're looking for without having to scroll down too far.
If that's not a use case you want to support, I understand, but I don't think it's accurate to say that there's no reason to have them.


[Spark] Support property filter pushdown by utilizing payload file formats

This PR is about C++ SDK for OSPP 2023
Issue number: https://github.com/alibaba/GraphAr/issues/98.
You can find more detail about this feature here

[x] C++ SDK: https://github.com/alibaba/GraphAr/pull/178
[ ] Spark SDK: https://github.com/alibaba/GraphAr/pull/221

Proposed changes
Now we support filter pushdown for spark
Types of changes
What types of changes does your code introduce to GraphAr?
Put an x in the boxes that apply

[ ] Bugfix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation Update (if none of the other choices apply)

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[x] I have read the CONTRIBUTING doc
[x] I have signed the CLA
[ ] Lint and unit tests pass locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (if appropriate)

cc @lixueclaire @acezen. Currently, reading a single property group is easy to push down:
    val property_group = vertex_info.getPropertyGroup("gender")

    // test reading a single property chunk
    val single_chunk_df = reader.readVertexPropertyChunk(property_group, 0)
    assert(single_chunk_df.columns.length == 3)
    assert(single_chunk_df.count() == 100)
    val cond = "gender = 'female'"
    var df_pd = single_chunk_df.select("firstName", "gender").filter(cond)
    df_pd.explain()
    df_pd.show()

== Physical Plan ==
*(1) Filter (isnotnull(gender#2) AND (gender#2 = female))
+- *(1) ColumnarToRow
   +- BatchScan[firstName#0, gender#2] GarScan DataFilters: [isnotnull(gender#2), (gender#2 = female)], Format: gar, Location: InMemoryFileIndex(1 paths)[file:/home/simple/code/cpp/GraphAr/spark/src/test/resources/gar-test/l..., PartitionFilters: [], PushedFilters: [IsNotNull(gender), EqualTo(gender,female)], ReadSchema: struct<firstName:string,gender:string>, PushedFilters: [IsNotNull(gender), EqualTo(gender,female)] RuntimeFilters: []
2

+------------+------+
|   firstName|gender|
+------------+------+
|         Eli|female|
|      Joseph|female|
|        Jose|female|
|         Jun|female|
|       A. C.|female|
|       Karim|female|
|        Poul|female|
|       Chipo|female|
|       Dovid|female|
|       Ashin|female|
|         Cam|female|
|        Kurt|female|
|Daouda Malam|female|
|       David|female|
|      Batong|female|
|       Zheng|female|
|     Gabriel|female|
|       Boris|female|
|        Jose|female|
|    Fernando|female|
+------------+------+

But it is difficult to push down for reading multiple property groups:
    val vertex_df_with_index = reader.readAllVertexPropertyGroups()
    assert(vertex_df_with_index.columns.length == 5)
    assert(vertex_df_with_index.count() == 903)
    df_pd = vertex_df_with_index.filter(cond).select("firstName", "gender")
    df_pd.explain()
    df_pd.show()

== Physical Plan ==
*(1) Project [firstName#196, gender#198]
+- *(1) Filter (isnotnull(gender#198) AND (gender#198 = female))
   +- *(1) Scan ExistingRDD[_graphArVertexIndex#194L,id#195L,firstName#196,lastName#197,gender#198]
2

+------------+------+
|   firstName|gender|
+------------+------+
|         Eli|female|
|      Joseph|female|
|        Jose|female|
|         Jun|female|
|       A. C.|female|
|       Karim|female|
|        Poul|female|
|       Chipo|female|
|       Dovid|female|
|       Ashin|female|
|         Cam|female|
|        Kurt|female|
|Daouda Malam|female|
|       David|female|
|      Batong|female|
|       Zheng|female|
|     Gabriel|female|
|       Boris|female|
|        Jose|female|
|    Fernando|female|
+------------+------+

Because different property groups are actually stored in different parquet.
What do you think about extending this APIs for reading multiple property groups?

cc @lixueclaire @acezen. Currently, reading a single property group is easy to push down:
    val property_group = vertex_info.getPropertyGroup("gender")

    // test reading a single property chunk
    val single_chunk_df = reader.readVertexPropertyChunk(property_group, 0)
    assert(single_chunk_df.columns.length == 3)
    assert(single_chunk_df.count() == 100)
    val cond = "gender = 'female'"
    var df_pd = single_chunk_df.select("firstName", "gender").filter(cond)
    df_pd.explain()
    df_pd.show()

== Physical Plan ==
*(1) Filter (isnotnull(gender#2) AND (gender#2 = female))
+- *(1) ColumnarToRow
   +- BatchScan[firstName#0, gender#2] GarScan DataFilters: [isnotnull(gender#2), (gender#2 = female)], Format: gar, Location: InMemoryFileIndex(1 paths)[file:/home/simple/code/cpp/GraphAr/spark/src/test/resources/gar-test/l..., PartitionFilters: [], PushedFilters: [IsNotNull(gender), EqualTo(gender,female)], ReadSchema: struct<firstName:string,gender:string>, PushedFilters: [IsNotNull(gender), EqualTo(gender,female)] RuntimeFilters: []
2

+------------+------+
|   firstName|gender|
+------------+------+
|         Eli|female|
|      Joseph|female|
|        Jose|female|
|         Jun|female|
|       A. C.|female|
|       Karim|female|
|        Poul|female|
|       Chipo|female|
|       Dovid|female|
|       Ashin|female|
|         Cam|female|
|        Kurt|female|
|Daouda Malam|female|
|       David|female|
|      Batong|female|
|       Zheng|female|
|     Gabriel|female|
|       Boris|female|
|        Jose|female|
|    Fernando|female|
+------------+------+

But it is difficult to push down for reading multiple property groups:
    val vertex_df_with_index = reader.readAllVertexPropertyGroups()
    assert(vertex_df_with_index.columns.length == 5)
    assert(vertex_df_with_index.count() == 903)
    df_pd = vertex_df_with_index.filter(cond).select("firstName", "gender")
    df_pd.explain()
    df_pd.show()

== Physical Plan ==
*(1) Project [firstName#196, gender#198]
+- *(1) Filter (isnotnull(gender#198) AND (gender#198 = female))
   +- *(1) Scan ExistingRDD[_graphArVertexIndex#194L,id#195L,firstName#196,lastName#197,gender#198]
2

+------------+------+
|   firstName|gender|
+------------+------+
|         Eli|female|
|      Joseph|female|
|        Jose|female|
|         Jun|female|
|       A. C.|female|
|       Karim|female|
|        Poul|female|
|       Chipo|female|
|       Dovid|female|
|       Ashin|female|
|         Cam|female|
|        Kurt|female|
|Daouda Malam|female|
|       David|female|
|      Batong|female|
|       Zheng|female|
|     Gabriel|female|
|       Boris|female|
|        Jose|female|
|    Fernando|female|
+------------+------+

Because different property groups are actually stored in different parquet. What do you think about extending this APIs for reading multiple property groups?

Hi, @Ziy1-Tan, thanks for your proposal. Currently, it is OK for me. We do not intend to propose a method to support filter pushdown between different parquet files. In GraphAr's design, properties are encouraged to be in the same group if they are accessed together, thus pushdown is supported as well.

cc @lixueclaire @acezen. Currently, reading a single property group is easy to push down:
    val property_group = vertex_info.getPropertyGroup("gender")

    // test reading a single property chunk
    val single_chunk_df = reader.readVertexPropertyChunk(property_group, 0)
    assert(single_chunk_df.columns.length == 3)
    assert(single_chunk_df.count() == 100)
    val cond = "gender = 'female'"
    var df_pd = single_chunk_df.select("firstName", "gender").filter(cond)
    df_pd.explain()
    df_pd.show()

== Physical Plan ==
*(1) Filter (isnotnull(gender#2) AND (gender#2 = female))
+- *(1) ColumnarToRow
   +- BatchScan[firstName#0, gender#2] GarScan DataFilters: [isnotnull(gender#2), (gender#2 = female)], Format: gar, Location: InMemoryFileIndex(1 paths)[file:/home/simple/code/cpp/GraphAr/spark/src/test/resources/gar-test/l..., PartitionFilters: [], PushedFilters: [IsNotNull(gender), EqualTo(gender,female)], ReadSchema: struct<firstName:string,gender:string>, PushedFilters: [IsNotNull(gender), EqualTo(gender,female)] RuntimeFilters: []
2

+------------+------+
|   firstName|gender|
+------------+------+
|         Eli|female|
|      Joseph|female|
|        Jose|female|
|         Jun|female|
|       A. C.|female|
|       Karim|female|
|        Poul|female|
|       Chipo|female|
|       Dovid|female|
|       Ashin|female|
|         Cam|female|
|        Kurt|female|
|Daouda Malam|female|
|       David|female|
|      Batong|female|
|       Zheng|female|
|     Gabriel|female|
|       Boris|female|
|        Jose|female|
|    Fernando|female|
+------------+------+

But it is difficult to push down for reading multiple property groups:
    val vertex_df_with_index = reader.readAllVertexPropertyGroups()
    assert(vertex_df_with_index.columns.length == 5)
    assert(vertex_df_with_index.count() == 903)
    df_pd = vertex_df_with_index.filter(cond).select("firstName", "gender")
    df_pd.explain()
    df_pd.show()

== Physical Plan ==
*(1) Project [firstName#196, gender#198]
+- *(1) Filter (isnotnull(gender#198) AND (gender#198 = female))
   +- *(1) Scan ExistingRDD[_graphArVertexIndex#194L,id#195L,firstName#196,lastName#197,gender#198]
2

+------------+------+
|   firstName|gender|
+------------+------+
|         Eli|female|
|      Joseph|female|
|        Jose|female|
|         Jun|female|
|       A. C.|female|
|       Karim|female|
|        Poul|female|
|       Chipo|female|
|       Dovid|female|
|       Ashin|female|
|         Cam|female|
|        Kurt|female|
|Daouda Malam|female|
|       David|female|
|      Batong|female|
|       Zheng|female|
|     Gabriel|female|
|       Boris|female|
|        Jose|female|
|    Fernando|female|
+------------+------+

Because different property groups are actually stored in different parquet. What do you think about extending this APIs for reading multiple property groups?

Hi, @Ziy1-Tan, thanks for your proposal. Currently, it is OK for me. We do not intend to propose a method to support filter pushdown between different parquet files. In GraphAr's design, properties are encouraged to be in the same group if they are accessed together, thus pushdown is supported as well.

Got it. I'm going to test the performance improvement based on spark filter pushdown.

It seems that testing/ldbc and testing/modern_graph only contain metadata and not actual chunk data.
Where can I find these data? Does the performance comparison need to be incorporated into the current documentation?

cc @lixueclaire @acezen. Currently, reading a single property group is easy to push down:
    val property_group = vertex_info.getPropertyGroup("gender")

    // test reading a single property chunk
    val single_chunk_df = reader.readVertexPropertyChunk(property_group, 0)
    assert(single_chunk_df.columns.length == 3)
    assert(single_chunk_df.count() == 100)
    val cond = "gender = 'female'"
    var df_pd = single_chunk_df.select("firstName", "gender").filter(cond)
    df_pd.explain()
    df_pd.show()

== Physical Plan ==
*(1) Filter (isnotnull(gender#2) AND (gender#2 = female))
+- *(1) ColumnarToRow
   +- BatchScan[firstName#0, gender#2] GarScan DataFilters: [isnotnull(gender#2), (gender#2 = female)], Format: gar, Location: InMemoryFileIndex(1 paths)[file:/home/simple/code/cpp/GraphAr/spark/src/test/resources/gar-test/l..., PartitionFilters: [], PushedFilters: [IsNotNull(gender), EqualTo(gender,female)], ReadSchema: struct<firstName:string,gender:string>, PushedFilters: [IsNotNull(gender), EqualTo(gender,female)] RuntimeFilters: []
2

+------------+------+
|   firstName|gender|
+------------+------+
|         Eli|female|
|      Joseph|female|
|        Jose|female|
|         Jun|female|
|       A. C.|female|
|       Karim|female|
|        Poul|female|
|       Chipo|female|
|       Dovid|female|
|       Ashin|female|
|         Cam|female|
|        Kurt|female|
|Daouda Malam|female|
|       David|female|
|      Batong|female|
|       Zheng|female|
|     Gabriel|female|
|       Boris|female|
|        Jose|female|
|    Fernando|female|
+------------+------+

But it is difficult to push down for reading multiple property groups:
    val vertex_df_with_index = reader.readAllVertexPropertyGroups()
    assert(vertex_df_with_index.columns.length == 5)
    assert(vertex_df_with_index.count() == 903)
    df_pd = vertex_df_with_index.filter(cond).select("firstName", "gender")
    df_pd.explain()
    df_pd.show()

== Physical Plan ==
*(1) Project [firstName#196, gender#198]
+- *(1) Filter (isnotnull(gender#198) AND (gender#198 = female))
   +- *(1) Scan ExistingRDD[_graphArVertexIndex#194L,id#195L,firstName#196,lastName#197,gender#198]
2

+------------+------+
|   firstName|gender|
+------------+------+
|         Eli|female|
|      Joseph|female|
|        Jose|female|
|         Jun|female|
|       A. C.|female|
|       Karim|female|
|        Poul|female|
|       Chipo|female|
|       Dovid|female|
|       Ashin|female|
|         Cam|female|
|        Kurt|female|
|Daouda Malam|female|
|       David|female|
|      Batong|female|
|       Zheng|female|
|     Gabriel|female|
|       Boris|female|
|        Jose|female|
|    Fernando|female|
+------------+------+

Because different property groups are actually stored in different parquet. What do you think about extending this APIs for reading multiple property groups?

Hi, @Ziy1-Tan, thanks for your proposal. Currently, it is OK for me. We do not intend to propose a method to support filter pushdown between different parquet files. In GraphAr's design, properties are encouraged to be in the same group if they are accessed together, thus pushdown is supported as well.

Got it. I'm going to test the performance improvement based on spark filter pushdown.

It seems that testing/ldbc and testing/modern_graph only contain metadata and not actual chunk data.
Where can I find these data? Does the performance comparison need to be incorporated into the current documentation?

We do not provide the complete data of LDBC to reduce the size of testing repo. @acezen , could you please give Ziyi a guideline of how to use the LDBC data?
Regarding the documentation, you can create another pull request to update the documentation and include the performance comparison. It would be helpful to provide a brief description of your evaluation methodology and the results of the performance comparison. You can refer to the GraphScope page as an example of how the documentation can be structured.

cc @lixueclaire @acezen. Currently, reading a single property group is easy to push down:
    val property_group = vertex_info.getPropertyGroup("gender")

    // test reading a single property chunk
    val single_chunk_df = reader.readVertexPropertyChunk(property_group, 0)
    assert(single_chunk_df.columns.length == 3)
    assert(single_chunk_df.count() == 100)
    val cond = "gender = 'female'"
    var df_pd = single_chunk_df.select("firstName", "gender").filter(cond)
    df_pd.explain()
    df_pd.show()

== Physical Plan ==
*(1) Filter (isnotnull(gender#2) AND (gender#2 = female))
+- *(1) ColumnarToRow
   +- BatchScan[firstName#0, gender#2] GarScan DataFilters: [isnotnull(gender#2), (gender#2 = female)], Format: gar, Location: InMemoryFileIndex(1 paths)[file:/home/simple/code/cpp/GraphAr/spark/src/test/resources/gar-test/l..., PartitionFilters: [], PushedFilters: [IsNotNull(gender), EqualTo(gender,female)], ReadSchema: struct<firstName:string,gender:string>, PushedFilters: [IsNotNull(gender), EqualTo(gender,female)] RuntimeFilters: []
2

+------------+------+
|   firstName|gender|
+------------+------+
|         Eli|female|
|      Joseph|female|
|        Jose|female|
|         Jun|female|
|       A. C.|female|
|       Karim|female|
|        Poul|female|
|       Chipo|female|
|       Dovid|female|
|       Ashin|female|
|         Cam|female|
|        Kurt|female|
|Daouda Malam|female|
|       David|female|
|      Batong|female|
|       Zheng|female|
|     Gabriel|female|
|       Boris|female|
|        Jose|female|
|    Fernando|female|
+------------+------+

But it is difficult to push down for reading multiple property groups:
    val vertex_df_with_index = reader.readAllVertexPropertyGroups()
    assert(vertex_df_with_index.columns.length == 5)
    assert(vertex_df_with_index.count() == 903)
    df_pd = vertex_df_with_index.filter(cond).select("firstName", "gender")
    df_pd.explain()
    df_pd.show()

== Physical Plan ==
*(1) Project [firstName#196, gender#198]
+- *(1) Filter (isnotnull(gender#198) AND (gender#198 = female))
   +- *(1) Scan ExistingRDD[_graphArVertexIndex#194L,id#195L,firstName#196,lastName#197,gender#198]
2

+------------+------+
|   firstName|gender|
+------------+------+
|         Eli|female|
|      Joseph|female|
|        Jose|female|
|         Jun|female|
|       A. C.|female|
|       Karim|female|
|        Poul|female|
|       Chipo|female|
|       Dovid|female|
|       Ashin|female|
|         Cam|female|
|        Kurt|female|
|Daouda Malam|female|
|       David|female|
|      Batong|female|
|       Zheng|female|
|     Gabriel|female|
|       Boris|female|
|        Jose|female|
|    Fernando|female|
+------------+------+

Because different property groups are actually stored in different parquet. What do you think about extending this APIs for reading multiple property groups?

Hi, @Ziy1-Tan, thanks for your proposal. Currently, it is OK for me. We do not intend to propose a method to support filter pushdown between different parquet files. In GraphAr's design, properties are encouraged to be in the same group if they are accessed together, thus pushdown is supported as well.

Got it. I'm going to test the performance improvement based on spark filter pushdown.

It seems that testing/ldbc and testing/modern_graph only contain metadata and not actual chunk data.
Where can I find these data? Does the performance comparison need to be incorporated into the current documentation?

We do not provide the complete data of LDBC to reduce the size of testing repo. @acezen , could you please give Ziyi a guideline of how to use the LDBC data?
Regarding the documentation, you can create another pull request to update the documentation and include the performance comparison. It would be helpful to provide a brief description of your evaluation methodology and the results of the performance comparison. You can refer to the GraphScope page as an example of how the documentation can be structured.

Now we don't have big scale ldbc dataset yet. I can generate a copy of ldbc-sf30, ldbc-100 to OSS for performance test.

We do not provide the complete data of LDBC to reduce the size of testing repo. @acezen , could you please give Ziyi a guideline of how to use the LDBC data?
Regarding the documentation, you can create another pull request to update the documentation and include the performance comparison. It would be helpful to provide a brief description of your evaluation methodology and the results of the performance comparison. You can refer to the GraphScope page as an example of how the documentation can be structured.

We don't have large scale ldbc dataset yet. I can generate a copy of ldbc-sf30, ldbc-100 to OSS for performance test.

Got it. Can't wait to test the performance improvement.

We do not provide the complete data of LDBC to reduce the size of testing repo. @acezen , could you please give Ziyi a guideline of how to use the LDBC data?
Regarding the documentation, you can create another pull request to update the documentation and include the performance comparison. It would be helpful to provide a brief description of your evaluation methodology and the results of the performance comparison. You can refer to the GraphScope page as an example of how the documentation can be structured.

We don't have large scale ldbc dataset yet. I can generate a copy of ldbc-sf30, ldbc-100 to OSS for performance test.

Got it. Can't wait to test the performance improvement.

hi, @Ziy1-Tan, the large scale ldbc dataset has been publish to oss, you can download it to test the performance.

hi, @Ziy1-Tan ,code format for scala and java has been merge into main, you can rebase and apply the format withmvn spotless:apply


Demonstrate a "governor" to control the speed or pause ingestion.

See https://github.com/Senzing/stream-loader/issues/74

Pull Requests

https://github.com/Senzing/docker-compose-demo/pull/49
https://github.com/Senzing/docker-compose-demo/pull/50
https://github.com/Senzing/docker-compose-demo/pull/56
https://github.com/Senzing/docker-compose-demo/pull/70


Added function to completely power off the Lux Plug and an example sketch to demonstrate this.

modified:   Ports.h
new file:   examples/Ports/lux_poweroff/lux_poweroff.ino

Thanks for the additions. I'd like to check this in, but there are some commits on the original branch since then. Can you pull the latest HEAD from master into your fork and then re-submit the pull request? I think that'll help merge things properly.

It's ready in a new pull request!
On 11-02-12 12:10, Jean-Claude Wippler wrote:

Thanks for the additions. I'd like to check this in, but there are some commits on the original branch since then. Can you pull the latest HEAD from master into your fork and then re-submit the pull request? I think that'll help merge things properly.

Reply to this email directly or view it on GitHub:
https://github.com/jcw/jeelib/pull/11#issuecomment-3920083


GEODE-3083: New protocol should record statistics

Statistics implemented: connections, connection starts, connection termination,
bytes/second received bytes/second sent, authorization violations
Thank you for submitting a contribution to Apache Geode.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[x ] Is there a JIRA ticket associated with this PR? Is it referenced in the commit message?

[x ] Has your PR been rebased against the latest commit within the target branch (typically develop)?

[x ] Is your initial contribution a single, squashed commit?

[ x] Does gradlew build run cleanly?

[ x] Have you written or updated unit tests to verify your changes?

[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and
submit an update to your PR as soon as possible. If you need help, please send an
email to<EMAIL_ADDRESS>

@pivotal-amurmann please review


fix(theme): emoji collide in DocCard

if the title already contains a starting emoji the default emoji is not displayed
before:

after the fix:

other overview without emojis(still working):

Pre-flight checklist

[x] I have read the Contributing Guidelines on pull requests.
[x] If this is a code change: I have written unit tests and/or added dogfooding pages to fully verify the new behavior.

how can i restart the CLA Check ? i did it 👍

@ReneWerner87 Neat PR!
One design consideration: I would imagine a lot of devs would appreciate an option (or even default behavior) where if there's no emoji supplemented, the cards just show the title and description.
That would make it a bit more clean IMO and I'm surprised Docusaurus adds icons by default.

Neat PR!
One design consideration: I would imagine a lot of devs would appreciate an option (or even default behavior) where if there's no emoji supplemented, the cards just show the title and description.
That would make it a bit more clean IMO and I'm surprised Docusaurus adds icons by default.

we can do with pleasure, but only in the next pull request

thanks for the feedback
unfortunately i don't have the knowledge, insight and time(have to maintain my own opensource project - gofiber) to create a bigger feature there yet
the fix should only fix the senseless collision of 2 consecutive icons
because the support in the discord channel said he gets this question how to remove the icons in the generated overview often

i had created the part which i adjusted by the "swizzling" as a pull request, because i assumed that it doesn't bring any aggravation and removes here an unwanted behavior(without much effort)
but clearly, this pull request is a bit too naive and should be fixed with a feature to leave no unsightly code -> closed

Thanks, we'll keep this in mind and add a more general feature to solve it, and try to reduce the amount of code to swizzle


Execute any services on an event

Maybe you could add a function to execute each service/action on an event (new homework) instead of just sending notifications. For example, it would be easy to call the service "todo.add_item" for new homework and add the new homework to a todo list!

+1

Isn't that the same as https://github.com/JonasJoKuJonas/homeassistant-WebUntis/issues/84 ?


Wasm Support

Feature Description
Can you support WASM?
Problem it Solves
Being able to support Wasm would open the door for alot of potential.
Proposed Solution
Please see my PR: https://github.com/aallam/openai-kotlin/pull/345

@aallam I trying to use openai-kotlin in KMP, really hope you can support WASM.

Hey, wasm will be supported once ktor v3 stable release is out :)

if you want to use it now, you can, you just need to check out my branch and publish to maven local.


There are some typos

Please see https://github.com/szepeviktor/typos-on-you/actions/runs/5551173399/jobs/10137023895
Warning: "Managment" should be "Management".
Warning: "continous" should be "continuous".
Warning: "powerfull" should be "powerful".
Warning: "relly" should be "really".

// build/docs/base.md
Warning: "Managment" should be "Management".
Warning: "continous" should be "continuous".
Warning: "powerfull" should be "powerful".
Warning: "relly" should be "really".

typos could be ran in CI.

A copy of README an all of its typos is in build/docs/base.md.

You are right, I placed a comment about the build step in the README itself. 😄


Decode results in MyXQL.Query.decode/3

This way DBConnection.LogEntry.decode_time will accurately represent how much time was spent on that.

@fishcakez btw, are there other benefits to decoding in protocol function? I believe part of rationale was not to block the connection process on decoding; however, last time I checked, both handle_execute and Query.decode were running in the same process.

We're already decoding while receiving packets, so moving decoding to the protocol function could actually be performance regression. Closing for now.


Improved customstyles.css by highlighting footer section

This change is

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/f1e1e18c9e0add1f42ceee30935213045f78e3fb/


add browser_userdata to config, to set puppeteer's userDataDir

Otherwise, two --user-data-dir are sent to Chrome, which has unexpected effects.
On reflection, adding this to update_games wouldn't be smart, since the updater should be able to run just fine while you're idling streams. You can't have two Chrome sesssions with the same user data directory, and thus you can't have two puppeteers accessing the same Chrome profile.

I'm pretty sure just passing --user-data-dir=/whataver/dir to browser_args should work so we don't need a separate option for it. However, I just tried it and it seems Puppeteer is overwriting it anyways. (Actually it adds its own --user-data-dir option in addition to mine but since that one comes first I guess it has priority). The weird thing is I've seen many stack overflow answers saying that it should work.
Anyways if you want to merge this PR, I think it would be better to do the following instead of the current solution: Check if config.browser_args contains a --user-data-dir option. If it does, then remove it (maybe?) from browser_args and pass it directly to puppeteer.launch(). That way we don't need to add another option to the config.

It's your design decision if you prefer exposing more of Puppeteer's API via config or not. I didn't add it to the config example in the README because indeed people generally don't need to see it.
Educationally it's worse your way, as users will be left thinking that adding --user-data-dir to Puppeteer Chrome args works as all those Stack Overflow users seem to accept.
While on the topic of API exposure, could also imagine someone wanting to play with https://pptr.dev/api/puppeteer.launchoptions.ignoredefaultargs (but that's vastly less useful than the already not that must-have user-data-dir setting)
My hope with this feature was to be able to install a extension from Chrome Web Store and get Puppeteer to not wipe it on startup, but my puppet-fu is low. (Any idea?)
I'm not sure if it's a useful PR at this point (also depends on the resolution of #212 / integrity woes).

I did some more digging and it turns out that adding --user-data-dir to args does work, however the stealth plugin has a dependency on the user-data-dir plugin, which doesn't check for this arg and just sets a temp dir directly via Puppeteer's API. Seems like an oversight in that plugin.
Given that, I would still prefer my suggestion to not expose any Puppeteer API if we don't have to. I've also been experimenting with manually launching the browser process and then attaching to it with Puppeteer, and in that case it makes more sense to have --user-data-dir as part of the browser_args
I haven't tried using extensions with Puppeteer so not sure how that works. I think it's still a useful PR since its looking like having a consistent user data dir can help avoid detection so we need to allow users to set the location.


Refactor: better code-splitting structure

Refactor: better code-splitting structure
Refactor: eliminate anonymous components

Coverage decreased (-8.5%) to 91.549% when pulling 49119f4fd99c622e4feb0b4d9f3ce29a761d0bff on feature/better-code-splitting into dde0f493d76a5e43b77478efaec6d1eefc5f3f08 on master.


Setup webhook for new issues to go to Discord beta-testers channel

testing the webhook with a comment

done and working


dbeaver continually crashes

Description
I have been experiencing a number of crashes that started last week when I was doing a lot of work with ERDS -- and selecting tables to include in the ERD.
Now when I try to switch to other tabs, the whole things crashes.
DBeaver Version
Community 23.3.5
Operating System
Ubuntu 22.04.4
Database and driver
Postgres 12
jdbc
Steps to reproduce
Open dbeaver
select SQL editor tab

hs_err_pid281098.log
Additional context
No response

Extracted from dump:
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [libgobject-2.0.so.0+0x3dfc1]  g_type_check_instance_is_fundamentally_a+0x11
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
J 10363  org.eclipse.swt.internal.gtk.OS.g_object_set(J[BJJ)V (0 bytes) @ 0x00007f87dd1413fb [0x00007f87dd1413a0+0x000000000000005b]
J 9888 c1 org.eclipse.swt.widgets.Tree.cellDataProc(JJJJJ)J (486 bytes) @ 0x00007f87d6256cf4 [0x00007f87d6256560+0x0000000000000794]
in /snap/dbeaver-ce/285/gnome-platform/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 at 0x00007f87c045b000

Now dbeaver won't even start... I am going to nuke it and reinstall.

Please let us know if reinstall helps

It's been a while since no update here. If the issue is still actual please let me know and provide additional information.


Use full URLs in template identifiers

Since only full URL's are guaranteed to be unique within the given domain, we must change GLUE2EntityName to reflect this.

Invalid. This pull request will break other providers different than OpenStack


tries to install a non-existent package called babel-plugin-babel-root-import via npm

If I have in .babelrc:
   "plugins": [       "babel-root-import"     ]
it tries to install 'babel-plugin-babel-root-import'. See the attached log and the following terminal output:
`> NODE_ENV=development node server.js
Installing babel-plugin-babel-root-import...
npm ERR! Darwin 15.5.0
npm ERR! argv "/Users/nch/.nvm/versions/node/v6.1.0/bin/node" "/Users/nch/.nvm/versions/node/v6.1.0/bin/npm" "install" "babel-plugin-babel-root-import"
npm ERR! node v6.1.0
npm ERR! npm  v3.9.1
npm ERR! code E404
`
If I take out the plugins and don't use '~/' anywhere it's fine. Also it still runs ok even with the errors.
npm-debug.log.zip

Same issue as #23 ..
I close this issue, lets discuss in the other
thx


publish v1

I cannot publish v1 of bevy-vello, since there are unpublished dependencies.

vello (see https://github.com/linebender/vello/issues/302)
vellottie (dependent on vello)
vello_svg (dependent on vello)

FYI: Currently trying to give the whole process a push. Though obviously I can't promise anything.

Quick update: I'm hoping we'll get it done within two weeks. All the major blockers are gone, what remains is small tweaks and administrative stuff to figure out.

Quick update: I'm hoping we'll get it done within two weeks. All the major blockers are gone, what remains is small tweaks and administrative stuff to figure out.

Thanks, Oliver! No rush.

Fixed


Initial progress on using holograph enabled drops for the tests in HolographERC721Drop.t.sol

Describe Changes

Updated HolographERC721Drop tests to use deployHolographableContract
Added more notes / cleaned up some confusing code
Switch from dummy metadata render to mock metadata renderer for tests
Optimize filter registry performance for mint

Checklist before requesting a review

[ ] I have performed a self-review of my code
[ ] Code styles have been enforced
[ ] All Hardhat tests are passing

@ACC01ADE feel free to merge this whenever you're done reviewing and then you can branch any new work off of the feature/drops-contract-flattening


Fix display mode option starting with full screen regardless of actual display mode

Currently, when the Options menu is opened, the "Display mode" option always starts with "Full screen" regardless of whether the game is running in full screen or not. If the user is running the game in a window and applies options changes without changing anything, the game will switch to full screen.
This seems to happen because the code used to get the user's current display mode does not account for borderless window support not existing in Source SDK 2013. A hack which accounts for this can already be found in FlushPendingResolution(), and this PR just extends that to GetCurrentDisplayMode().

Thanks for catching this. I don't have much time to work on this project anymore, but I'll merge this over since it's a very small patch.


Do something about AppGet, which is now defunct

Just a comment to do something about AppGet which is now defunct; we and plenty of others used AppGet, and with it down, and WinGet not up, we are left with Chocolatey which doesn't work for us due to how it does things...  we can get it to work, and we have, but AppGet was a much smoother easier alternative.
Thanks ...

I've just enabled GitHub Discussions. I'm converting this Issue to a Discussion.


prod: move sandbox-cli rbac to infra-deployments

This is another PR part of the transition of all manifests from sandbox-sre into infra-deployments. This time it's about user-management manifests generated by sandbox-cli for production environment.
Sandbox-cli generates the manifests based on sandbox-config.yaml file for the given environment. In the context of Konflux, it's mainly about ServiceAccounts that are used by the admins to easily approve signups, move workspaces between the clusters, etc..
Please, be aware that this is "move only"! These manifests are already present in the clusters, so it's about moving the management of the manifests.
The following PRs can limit the number of users with the given permissions.
see the PR for stage: https://github.com/redhat-appstudio/infra-deployments/pull/3373
cc @mfrancisc @dperaza4dustbit @sadlerap @filariow @alexeykazakov @xcoulon

/lgtm


Integrate OETH with DefiLlama

This is done and has been live since the last weekend

Reopening this since DefiLlama seem to have changed the category from "Liquid Staking" to "Yield", this has removed OETH from their LSD page. Here's the commit that made the change

Closing because this is out of our hands at the moment 🦙


Bump KerbinSide epoch

Somewhere in the past KerbinSide made a v0.41.1 release, but all its other releases didn't have a trailing 'v'. It's now up to 1.0.3, but clients on the v0.41.1 release won't auto-upgrade to that.
This change bumps the KerbinSide epoch so that existing users will get the upgrades automatically, without having to uninstall and reinstall.
Thanks to Blu3wolf for helping me spot this.

Needs a comma on line 6

D'oh

Re-pushed with corrections. :)


Slightly improve image compression

TODO:

[ ] Switch parcel, vite and webpack logos to SVG (anyone up to it feel free to do it and I will drop the changes from here)

Switch parcel, vite and webpack logos to SVG (anyone up to it feel free to do it and I will drop the changes from here)

See https://github.com/twbs/bootstrap/pull/37199.
Note: I haven't found a SVG version for Parcel logo


Make: move the end-to-end tests from Bazel to Make with the new commands "make e2e-setup" and "make e2e"

This PR is part of the effort 'moving away from Bazel' tracked in #4712

To report issues with the new make flow, feel free to reach out on the Kubernetes Slack, channel #cert-manager-dev.
To test this PR, you don't need any Kind cluster. Run this:
make -j e2e-setup

Take a look a the beautiful help:
make

Run the end-to-end tests:
make e2e

For the "fresh" first run, it takes a bit less than 1 minute and 15 seconds to create the kind cluster, download everything, and install cert-manager and the addons:
$ rm -rf bin
$ make -j e2e-setup
make -j e2e-setup  54.47s user 14.15s system 61% cpu 1:15.25 total

Re-building cert-manager and re-installing all the addons takes 28 seconds:
$ make clean
$ make -j e2e-setup
make -j e2e-setup  13.30s user 3.24s system 58% cpu 28.234 total

Re-creating the whole cluster is faster after the first time since bin/ contains all the cached images. This is more true on slow connections (in my case, the connection is not the limiting factor).
⚠ I have decided to replace the root Makefile with what used to be make/Makefile. This won't break any existing Bazel job: the root Makefile's targets weren't used anywhere. ⚠
/kind cleanup
NONE

Yes!!!

I went a bit further and I reworked the help. I also moved make/Makefile to Makefile since Makefile is useless at this point.
I know I should split in multiple PRs, but I haven't had the time to get around to that. 😥

Currently:
make: *** Waiting for unfinished jobs....
./hack/util/checkhash.sh bin/scratch/tools/helm-v3.8.0-darwin-amd64.tar.gz 532ddd6213891084873e5c2dcafa577f425ca662a6594a3389e288fc48dc2089
./hack/util/hash.sh: line 22: sha256sum: command not found
make: *** [bin/scratch/tools/helm-v3.8.0-darwin-amd64] Error 127

Even if sha256sum is installed e.g. in /opt/homebrew/bin/sha256sum, it doesn't work.
That's because the makefile uses a restricted PATH (to avoid polluted PATH, to make sure we don't pick up system binaries). I'll think of something

/test pull-cert-manager-make-test
/test pull-cert-manager-make-e2e-v1-23

/test pull-cert-manager-make-test
/test pull-cert-manager-make-e2e-v1-23

/test pull-cert-manager-make-test
/test pull-cert-manager-make-e2e-v1-23

/test pull-cert-manager-make-test
/test pull-cert-manager-make-e2e-v1-23

/test pull-cert-manager-make-test
/test pull-cert-manager-make-e2e-v1-23

@SgtCoDFish Everything is ready! The JUnit display isn't totally there yet (artifact/test-ci.xml should be renamed to junit_0.xml and it should work). I struggled a lot up to now; would it be possible for me to fix the JUnit UI display in a later PR?

/test pull-cert-manager-make-test
/test pull-cert-manager-make-e2e-v1-23

/test pull-cert-manager-make-test
/test pull-cert-manager-make-e2e-v1-23

/test pull-cert-manager-make-test
/test pull-cert-manager-make-e2e-v1-23

/test pull-cert-manager-make-e2e-v1-23

/test pull-cert-manager-make-e2e-v1-23
/test pull-cert-manager-make-test

/test pull-cert-manager-make-e2e-v1-23
/test pull-cert-manager-make-test

/retest pull-cert-manager-make-e2e-v1-23

/test pull-cert-manager-make-e2e-v1-23

/lgtm
Thank you for your persistence on this!


Update homebrew formula to use version 2.0

Just a quick update to the homebrew formula to reflect the new driver version. I tested it here:
brew install https://raw.githubusercontent.com/pmcfadin/cpp-driver/master/packaging/homebrew/cassandra-cpp-driver.rb
Works great.

Looks good. Thanks for updating!


新下载的Tusimple的结构和示例的结构不一样，怎么办？

As long as you have the following files, everything should work fine:
•	$TUSIMPLEROOT/clips
•	$TUSIMPLEROOT/lable_data_0313.json
•	$TUSIMPLEROOT/lable_data_0531.json
•	$TUSIMPLEROOT/lable_data_0601.json
•	$TUSIMPLEROOT/test_tasks_0627.json
•	$TUSIMPLEROOT/test_label.json
If the issue has not been resolved, please share the file structure of your newly downloaded TuSimple dataset so I can help verify that everything is set up correctly. Let me know if you have any further questions!


Review handling of task cancellation

The current implementation usually swallows cancellations when it's close enough to terminating a connection.
@cjerdonek checked the docs and suggests this isn't right, see https://github.com/aaugustin/websockets/issues/142#issuecomment-326834792.
(Writing down the reasoning would be useful because I worked on that before, but I don't remember all the details.)

This would even be a good opportunity to write down an explanation of the software design, with the worker task and the message queue.
Then we'll have a clearer view of what tasks can be waiting on, how they can get cancelled, and what the proper course of action is.


Document subtle interaction between inhabit() and setup() in P5Visualizer

          There's a subtlety in using `inhabit()` for this: if you set variables in `inhabit()` that are used in `setup()`, you have to do that before the call to `super.inhabit()`, which calls setup. Once I realized this, I decided to remove `inhabit()` from the template...

So in sum, what's wrong in the context of this tutorial of just picking some nice CSS color names like 'DarkBlue' and 'CornflowerBlue' or something like that and using those?

As you said, a tutorial sets the tone for how people make visualizers, and beauty is a core goal. I'd like to set the example of choosing colors with care. If the CSS stuff is too confusing, maybe we could use "magic numbers" with comments explaining that they're chosen to match the page style?
Originally posted by @Vectornaut in https://github.com/numberscope/frontscope/pull/293#discussion_r1577251515

I think this is now moot as people writing p5 visualizers with the framework as it now is in ui2 are not writing their own inhabit() function. Closing.


[Bug] [local dev env] unable to login with Ory

Description of Bug:
I followed the setup steps from https://github.com/source-cooperative/source.coop/blob/main/README.md. But after logging in successfully with Ory, I'm not logged in the local source.coop.
Maybe I overlooked some Ory configuration step.
Steps to Reproduce:
I created an account in https://ory.sh.
I created a new workspace called source.coop:

I selected the "Development" environment and confirmed:

Inside the workspace, I created a project:

I called it "localauth":

I selected the "development" environment

and confirmed

Then, I went to the "Project settings" tab, then the "API keys" sub menu entry, and clicked "Create new API key"

I called it localauthkey and set the expiration to 90 days

then copied the new API key

I pasted this key to the .env file:
ORY_ACCESS_TOKEN=ory_pat_xxxxxxx

then I went to the "Project settings" tab and "Overview" sub menu entry and copied the API URL:

I pasted this URL to the .env file:
ORY_SDK_URL=https://quirky-caxxxxxxxx.projects.oryapis.com

In my browser I deleted the cookies for http://localhost:3000/.
Then I ran
npm run dev

And went to http://localhost:3000/
There, I clicked "Sign in / register", and signed up with an email and a new password.
Screencast From 2024-11-21 14-46-18.webm
But nothing happened, and I looped in the same state, without being logged in, or being able to try to login again, or having an error that explains what happens.
Expected Behavior:
I would be logged in after signing up.
Or, alternatively, I would get an error that explains why I cannot be logged in.
Actual Behavior:
I'm not logged in after registering a new user, and I have no error in the UI, and nothing in the logs either.
Logs
><EMAIL_ADDRESS>dev
> scripts/db_start.sh && next dev

Checking if the S3 container is already running...
Container 'source-s3' is already running.
S3 is running at http://localhost:5050
Checking if the DynamoDB container is already running...
Container 'source-dynamodb' is already running.
DynamoDB is running at http://localhost:8000
Initializing tables...
(node:292812) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:292824) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
ready - started server on <IP_ADDRESS>:3000, url: http://localhost:3000
info  - Loaded env from /home/severo/dev/source-cooperative/source.coop/.env.local
info  - Loaded env from /home/severo/dev/source-cooperative/source.coop/.env
event - compiled client and server successfully in 740 ms (659 modules)

After opening http://localhost:3000/, and before and after signing up, I got occurrences of:
[14:42:05.698] ERROR (292824): You are not authorized to perform this action
    err: {
      "type": "UnauthorizedError",
      "message": "You are not authorized to perform this action",
      "stack":
          UnauthorizedError: You are not authorized to perform this action
              at whoamiHandler (webpack-internal:///(api)/./src/pages/api/v1/whoami.ts:21:15)
              at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
              at async eval (webpack-internal:///(api)/./src/api/middleware/index.ts:20:13)
              at async Object.apiResolver (/home/severo/dev/source-cooperative/source.coop/node_modules/next/dist/server/api-utils/node.js:372:9)
              at async DevServer.runApi (/home/severo/dev/source-cooperative/source.coop/node_modules/next/dist/server/next-server.js:488:9)
              at async Object.fn (/home/severo/dev/source-cooperative/source.coop/node_modules/next/dist/server/next-server.js:751:37)
              at async Router.execute (/home/severo/dev/source-cooperative/source.coop/node_modules/next/dist/server/router.js:253:36)
              at async DevServer.run (/home/severo/dev/source-cooperative/source.coop/node_modules/next/dist/server/base-server.js:384:29)
              at async DevServer.run (/home/severo/dev/source-cooperative/source.coop/node_modules/next/dist/server/dev/next-dev-server.js:741:20)
              at async DevServer.handleRequest (/home/severo/dev/source-cooperative/source.coop/node_modules/next/dist/server/base-server.js:322:20)
      "name": "UnauthorizedError"
    }

Screenshots:
Additional Context:
$ npm --version
10.9.0
$ node --version
v22.9.0
$ nvm --version
0.40.1
$ docker --version
Docker version 27.3.1, build ce12230
$ uname -a
Linux msi 6.11.0-9-generic #9-Ubuntu SMP PREEMPT_DYNAMIC Mon Oct 14 13:19:59 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 24.10
Release:        24.10
Codename:       oracular

Note also that I confirmed my email, and that I'm able to log in https://quirky-xxxxxxxx.projects.oryapis.com/ui/sessions and see my session.

OK, the bug was unrelated to Ory. AWS CLI had to be installed and configured. See #40.


Improvepipelining

Coverage increased (+0.2%) to 73.431% when pulling d6288a80af407f6ee980ff30eb618e4462fc4ed6 on improvepipelining into fbf420143eae236f8e46c0804d5cc839945b94ef on master.


hs-prelude library

The repository is here with the main information.

Migrated on another repository to handle global projects

Migrated on another repository to handle global projects


[BUG] connect_transport_exception - connect_timeout[30s]

Describe the bug
I have 2 opensearch clusters in different kubernetes regions (i.e. one in North Europe and the other in West Europe). When they're in the same region, they synchronise. When they're in different regions, I get connection timeouts.
To Reproduce
Steps to reproduce the behavior:

Set a leader OpenSearch instance in a kubernetes cluster in one region (e.g. North Europe)
Set a follower OpenSearch instance in a kubernetes cluster in one region (e.g. West Europe)
On the follower cluster, create a leader alias
On the leader cluster, create a leader index
On the follower OpenSearch cluster, start Cross Cluster Replication
After taking a while this error is produced
{
"error" : {
"root_cause" : [
{
"type" : "connect_transport_exception",
"reason" : "[opensearch-cluster-master-0][<IP_ADDRESS>:9300] connect_timeout[30s]"
}
],
"type" : "connect_transport_exception",
"reason" : "[opensearch-cluster-master-0][<IP_ADDRESS>:9300] connect_timeout[30s]"
},
"status" : 500

Expected behavior
This should be output
{
"status" : "SYNCING",
"reason" : "User initiated",
"leader_alias" : "opensearch-leader-alias",
"leader_index" : "opensearch-leader-index-01",
"follower_index" : "opensearch-rep-01",
"syncing_details" : {
"leader_checkpoint" : -1,
"follower_checkpoint" : -1,
"seq_no" : -1
}
}
Plugins
opensearch-alerting
opensearch-anomaly-detection
opensearch-asynchronous-search
opensearch-cross-cluster-replication
opensearch-index-management
opensearch-job-scheduler
opensearch-knn
opensearch-ml
opensearch-observability
opensearch-performance-analyzer
opensearch-reports-scheduler
opensearch-security
opensearch-sql
Host/Environment (please complete the following information):

OS: [Kubernetes 1.21.9 & Helm 3.8.0]
OpenSearch Version [1.3.1]

Additional context
Is there a way of increasing the timeouts?
Any thoughts anyone?
@rohin
@saikaranam-amazon

Looks like the the leader cluster isn't reachable from follower cluster. Can you please verify that

the IP is correct.
Networking is configured correctly so that the leader's IP is reachable from follower cluster's nodes.

Hi @ankitkala ,
Thanks for your response.

The IP is correct
The network between leader and follower is reachable (i.e. I can telnet from either side).

Kind regards,
Bankole.

Hello,
I've got very similar problem (just in the same region) and it seems for me that OS is translating what is in the configuration to the pod IP - which is wrong because follower cluster don't know pod internal IP.
On the follower I made:
curl -XPUT -H 'Content-Type: application/json' 'http://localhost:9200/_cluster/settings?pretty' -d "
         {
         \"persistent\": {
             \"cluster\": {
             \"remote\": {
                 \"my-connection-alias\": {
                 \"seeds\": [\"${_leader_ip}\"]
                 }
             }
             }
         }
         }"

where leader_ip is <IP_ADDRESS>:30093:

<IP_ADDRESS> is my k8s internal node IP
30093 is my nodePort svc configuration

So when I'm curling to this address everything is OK:
curl <IP_ADDRESS>:30093
This is not an HTTP port

But when I'm starting sync then I've got this:
curl -XPUT -H 'Content-Type: application/json' 'http://localhost:9200/_plugins/_replication/follower-01/_start?pretty' -d '
         {
             "leader_alias": "my-connection-alias",
             "leader_index": "leader-cluster-01",
             "use_roles":{
                 "leader_cluster_role": "all_access",
                 "follower_cluster_role": "all_access"
             }
         }'
{
  "error" : {
    "root_cause" : [
      {
        "type" : "connect_transport_exception",
        "reason" : "[opensearch-cluster-master-0][<IP_ADDRESS>:9300] connect_timeout[30s]"
      }
    ],
    "type" : "connect_transport_exception",
    "reason" : "[opensearch-cluster-master-0][<IP_ADDRESS>:9300] connect_timeout[30s]"
  },
  "status" : 500
}

As you can see in the error message I don't have what I configured earlier (<IP_ADDRESS>:30093) but I've got the leader cluster pod internal IP (also port changed) <IP_ADDRESS>:9300 (and follower is not able to connect to this IP)
So it seems that:

connection between 2 clusters is working
but there is some strange translation of IP address after connectiong

Are you able to help with that?

hi i have the same problem
can anyone tell me how to configure
I am using image ver 1.3.8 , and helm chart ver 2.10.0

ping @mariusz-gomse-centra
I don't know if you have solved the above problem, can you guide me?
Thank you

@tu170591 unfortunately not I didn't solve it. For now I tested it only on DigitalOcean (description of my test you can see higher). I've got in my plan to test it on some other cloud provider (or locally with kind) to be 100% sure that problem is somewhere in the OS.
However now I'm 95% sure that problem is with translations. I tried to find it in the OS code but without success for now :(
Will be great if anybody will support us here 😄

@mariusz-gomse-centra @tu170591 not sure if it still relevant to use but when remote connection is configured by default it uses sniff mode which requires cluster to be able to reach every seed node in the remote cluster. And that's when it transforms the url but if on registration of node you set mode:proxy and specify proxy_address instead of seed. It won't require connectivity to all of the nodes.
As always opensearch documentation was very helpful and I had to find it in the elasticsearch's one https://www.elastic.co/guide/en/elasticsearch/reference/current/remote-clusters.html#proxy-mode

@mariusz-gomse-centra
I am also having the same setup as you exactly, I am running into the same problem.
I have been trying to resolve this from last few days but still unable to bypass this "connect_transport_exception". If you are able to debug this and want to provide any leads here.


<EMAIL_ADDRESS>hash check failed

~\programs λ scoop install spotify-latest
WARN  Scoop uses 'aria2c' for multi-connection downloads.
WARN  Should it cause issues, run 'scoop config aria2-enabled false' to disable it.
Installing 'spotify-latest' (<IP_ADDRESS>8.gf13cde74) [64bit]
Starting download with aria2 ...

Checking hash of SpotifyFullSetup.exe ... ERROR Hash check failed!
App:         spotify/spotify-latest
URL:         https://download.spotify.com/SpotifyFullSetup.exe
First bytes: 4D 5A 90 00 03 00 00 00
Expected:    77c953863c5882ba78796c192044cbea3841dbdab02a4b2b9237793991e17285
Actual:      0c34185f5521a0adb63f327ac15eeba88ab4a0f3d515a4045d1868dd0166cd8b

Please try again or create a new issue by using the following link and paste your console output:
https://github.com/TheRandomLabs/Scoop-Spotify/issues/new?title=spotify-latest%4<IP_ADDRESS>8.gf13cde74%3a+hash+check+failed

Scoop's up to date, same hash on 3-4 attempts now, even downloaded from browser and hashed manually. It looks like for some reason the version I'm getting is <IP_ADDRESS>8.gda5638a6, according to the Details tab in Explorer?

I've had to disable autoupdate for Spotify because a feature I need hasn't been merged into the master branch of Scoop yet. I'll fix this now.

Ah, nice, thank you! 💜

Fixed! Thanks for letting me know. :)


Generated python code with various errors

Using the generated code:
Traceback (most recent call last):
  File "/Users/estahn/src/clipsal/sungrow-python-sdk/test.py", line 5, in <module>
    from generated.sungrow_python_sdk.client import EstahnApi
  File "/Users/estahn/src/clipsal/sungrow-python-sdk/generated/sungrow_python_sdk/client.py", line 23
    def (self, *, appkey: str, lang: typing.Optional[str] = OMIT, sys_code: typing.Optional[str] = OMIT, user_account: str, user_password: str) -> Response:
        ^
SyntaxError: invalid syntax

Generated code:
class EstahnApi:
    def __init__(self, *, environment: EstahnApiEnvironment = EstahnApiEnvironment.DEFAULT
    , content_type: str):
        self._environment = environment
        self.content_type = content_type
    def (self, *, appkey: str, lang: typing.Optional[str] = OMIT, sys_code: typing.Optional[str] = OMIT, user_account: str, user_password: str) -> Response:

^^ Missing function name for example.

RTFM: https://buildwithfern.com/docs/spec/extensions#sdk-method-names

@estahn thanks for making this issue -- the fern cli should validate that all endpoints have names. Would you be up to share the OpenAPI spec that you used to generate this invalid code?

@dsinghvi Seems this was resolved in 0.11, or at least I can't reproduce it anymore. Thanks though!

@dsinghvi I was just about to move on, but here we go.
The schema in question has operationId: '' on one of the methods. This was generated by Stoplight Studio. Adding a value to this will fix the issue. Nonetheless code in being generate either way, just that the code doesn't work.

Thanks! If the operationId is "" then we should default to using the url.

@estahn this should be fixed in the latest version of the CLI. If the operationId is '' then we rely on the path of the endpoint to generate the method name (even if its ugly)


运行报错

Launching lib/main.dart on iPhone 8 in debug mode...
Running pod install...
CocoaPods' output:
↳
Preparing
Analyzing dependencies

Inspecting targets to integrate
  Using `ARCHS` setting to build architectures of target `Pods-Runner`: (``)

Fetching external sources
-> Fetching podspec for `Flutter` from `Flutter`
-> Fetching podspec for `flutter_blue` from `.symlinks/plugins/flutter_blue/ios`

Hi @jj89757hhb,
Can you elaborate on the issue you are facing?
I have just commited a fix that might affect you, please try by targeting the master branch of flutter_blue in your pubspec.yaml:
dependencies:
  flutter_blue:
    git: git://github.com/pauldemarco/flutter_blue.git


Ability to include an API key for Google Maps Business users

Add the ability to pass in an API key for those who are using Google Maps for Business.

Fixed


Splitting tests to make Travis happy

Let's see if this will work better

The first attempt is still building, but it'll probably fail: https://travis-ci.org/pybee/voc/builds/176356641
I've split datatypes even further, which will turn into a huge matrix, but at least the build should go faster.

good news, it worked!
and finished in under one hour. :)

@eliasdorneles I wonder if it might still work if 42c7f17 is reverted (i.e. -q is re-enabled)? Then we can see if the 10 min timeout actually requires newlines (or if travis_wait works)!

I have some concerns about this one - It's clearly an improvement (because the tests are... you know... passing :-) ) but the mechanism for running the tests is now different between "normal user" and "CI system". That means there is a risk that end-users will add a test block, but it won't be added to the CI system, and so the tests won't be run.
As an immediate workaround this is worth doing; but we need a better long-term solution (preferably, one that lets the test suite just run faster in the first place).

Right, I share the same concern.
One way around it could be simply to split the tests in a smarter way.
We can customize further the test running and define parameters for the build matrix like "datatypes_scalar", "datatypes_multiple" that define a hardcoded subset of tests and then have another "datatypes_other" that would run all other datatype tests excluding from the hardcoded subsets.

I'm not sure I follow - how are these build matrices being defined and invoked?

Basically, Travis will run the build script once for each combination of python versions and env variables.
So, it will run the build command python setup.py test -q -s $TEST_SUITE once for each entry in the env block here: https://github.com/pybee/voc/blob/master/.travis.yml#L6-L26 in each Python version.
The way it's split currently merely uses the existing tests module structure, because it was the only way I knew how to run a subset using python setup.py test. But we can customize the way the tests run to split in a smarter way.

@freakboy3742 The so-called "build matrix" is just the result of the different combination versions X envs. :point_up_2:

I think @eliasdorneles is suggesting to implement a "catchall" test runner that will run all the tests that are not run by the other jobs. It seems that will lead to even more duplication of the list of how Travis is partitioning the tests, unless it will read and parse .travis.yml?

Of course, the ideal solution is to speed up the test suite entirely, but as it continues to grow we may need to keep this sharding/partitioning approach.
I was looking at the Knapsack rubygem for some inspiration, it is a little overkill but I think we can take the core idea: pass a parameter to the test runner to tell it to run "x/y" fraction of the tests.

Instead of specifying specific test modules or submodules (not sure what is the correct term for tests.datatypes.test_bool), just define say 10 jobs in Travis, and each job has parameters 1 10, 2 10, 3 10... The second test runner instance will determine what is the second 10% of the tests, and be responsible for running it.
That is a naive approach that avoids the need to commit and update 'cache' or 'index' files, but at the expense of having every test runner job recompute the full list of tests, in order to determine which is its 10% shard of the tests. No issue with missing newly-added tests with this approach.

If we don't mind having to update some form of cache, then we can store a list of tests, and each test runner job will just read it and find its 10% shard. There will need to be special handling to catchall all the newly added tests which are not in the cache.

A more advanced and efficient implementation to handle tests of significantly varying durations will be to do what knapsack does, and store the estimated duration of each test, and use that to distribute work across the jobs instead of the number of tests.

At this point I'm hoping someone more familiar with the Python ecosystem chimes in to say that this has already been implemented in a library or tool!
(@freakboy3742 Should we move this discussion to a new issue, since this PR has been merged? It might get lost in ongoing activity if we do not hang on to the email threads.)

@eliasdorneles Oh - sure - I understood that much. I was wondering how you envisaged the test splitting working (but it sounds like that's the bit where you're <arms waving>and we do something</arms waving> :-) )
@cflee It has, and it's called py.test, and VOC already supports it :-)
The catch is that it runs multithreaded in a single process, not multiple independent processes. Unfortunately, that doesn't map to what Travis does, which is independent processes.
As for moving this discussion to another ticket - that's probably a good idea. There's at least two underlying tickets here:

Make the tests run faster
Change how tests are run to support faster parallel builds and burst traffic (such as that seen at sprints)

Right, I should've been more specific.
Yes, @cflee, parsing .travis.yml is a good idea!
All we need is a way to say "DON'T run these tests", which is the bit I was handwaving I suppose. =)
We can have a special for value for TEST_SUITE like:
- TEST_SUITE=all-the-rest

And for the test command, we can use a script like:
if [ $TEST_SUITE = "all-the-rest" ]; then
    # here we'd run all the tests, but the ones explicitly declared in .travis.yml
    tests_to_ignore=$(grep TEST_SUITE= .travis.yml | grep -v all-the-rest | sed 's/^.*=//' | paste -d\| -s)
    TEST_COMMAND --ignore $tests_to_ignore
else
    TEST_COMMAND $TEST_SUITE
fi

The problem with using python setup.py test as TEST_COMMAND is that it doesn't have an option to ignore tests, it only has the option to tell which tests we want to run.
I think we can do this with py.test, but haven't tried it yet.
What do you think?


[Header] Incorrect alignment of header on screen resolution 1440px. 1024px, 768px, 576px, 320px.

Environment: Firefox Version 78.0.2 (64-bit) / Windows 10 Home 1903
Reproducable: always
Build found: commit  e1be472
Steps to reproduce

Go to GreenCity https://ita-social-projects.github.io/GreenCityClient/#/welcome
Log into the system.
Click on 'Eco news' link in the header.
Click F12;
Change screen resolution on 1440px, 1024px, 768px, 576px, 320px.

Actual result
1440
Location of logo on the  header doesn't meet to mock up. Header should be a static and doesn't change due-to scrolling.

1024

768

576

320

Expected result
The position of the logo on the header must be in sync with the main page.

User story and test case links
User story #354

The error has not been fixed. At 1440px and 1024px resolution. The exact distance cannot be measured, because there is no logo image.

Bug was not fixed.
Actual result
Logo image has incorrect size (94px x 24px)  when resolution 576px.

Expected result
Logo image has to size (136px x 36px) when resolution 576px

The size of the logo does not coincide with the mock up. The logo in application consists of one part and has the size 136x36 in all resolutions. Logo in mock up is divided into two parts and has size : 36x36 and 94x12 on 1440px,1024px, 768px, 576px  resolutions

and 24x24 and 66x8 on 320px  resolution


verifylib test fixes

This pull request contains two commit with suggestions to fix tests failures in verifylib.rs.

Thanks, @danbev!


Feature/71 gpt as data source

Adding the GPT summarizer capability, as well as a more robust call to the detailed places API, formatted in the google_places step.
Issue #105: Business type has been able to be retrieved, but is not comprehensive. Refer to issue for further info.
Pull request #109: This pull request might conflict. #109 calls the detailed Google API again.

Added all requested changes :) @felix-zailskas


CLOUD-58083 fixed ordering

@mhmxs review pls

Jenkins build finished, all tests passed.
Refer to this link for build results: http://ci.sequenceiq.com/job/cloudbreak-pull-request/2491/