Flutter : Build failed on linux from last two releases on DEV channel.

I am facing build failed issue from last two releases and here are the details.
flutter doctor -v
[✓] Flutter (Channel dev, 2.4.0-0.0.pre, on Ubuntu 18.04.5 LTS 5.4.0-62-generic, locale en_GB.UTF-8)
    • Flutter version 2.4.0-0.0.pre at /home/ravi/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 96bbcd006f (5 days ago), 2021-06-30 03:43:41 -0400
    • Engine revision c633b2a6a0
    • Dart version 2.14.0 (build 2.14.0-258.0.dev)

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

[✓] Linux toolchain - develop for Linux desktop
    • clang version 6.0.0-1ubuntu2 (tags/RELEASE_600/final)
    • cmake version 3.10.2
    • ninja version 1.8.2
    • pkg-config version 0.29.1

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

[✓] VS Code (version 1.56.2)
    • VS Code at /usr/share/code
    • Flutter extension version 3.24.0

[✓] Connected device (1 available)
    • Linux (desktop) • linux • linux-x64 • Ubuntu 18.04.5 LTS 5.4.0-62-generic

Error Logs :
[ +174 ms] [  +31 ms] /home/ravi/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev
/home/ravi/flutter/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.snapshot --sdk-root
/home/ravi/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --target=flutter --no-print-incremental-dependencies -DFLUTTER_WEB_AUTO_DETECT=true
-Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation --packages /home/ravi/unoplayer/.dart_tool/package_config.json
--output-dill /home/ravi/unoplayer/.dart_tool/flutter_build/c1dfb8ca6bad497237f68ada164d9a47/app.dill --depfile
/home/ravi/unoplayer/.dart_tool/flutter_build/c1dfb8ca6bad497237f68ada164d9a47/kernel_snapshot.d package:signageplayer/main.dart
[   +1 ms] [+11596 ms] ../flutter/.pub-cache/hosted/pub.dartlang.org/wakelock_platform_interface-0.2.0/lib/messages.dart:100:17: Error: The method
'setMockMessageHandler' isn't defined for the class 'BasicMessageChannel<dynamic>'.
[   +2 ms] [   +2 ms]  - 'BasicMessageChannel' is from 'package:flutter/src/services/platform_channel.dart'
('../flutter/packages/flutter/lib/src/services/platform_channel.dart').
[        ] [        ] Try correcting the name to the name of an existing method, or defining a method named 'setMockMessageHandler'.
[        ] [        ]         channel.setMockMessageHandler(null);
[        ] [        ]                 ^^^^^^^^^^^^^^^^^^^^^
[        ] [   +2 ms] ../flutter/.pub-cache/hosted/pub.dartlang.org/wakelock_platform_interface-0.2.0/lib/messages.dart:102:17: Error: The method
'setMockMessageHandler' isn't defined for the class 'BasicMessageChannel<dynamic>'.
[        ] [        ]  - 'BasicMessageChannel' is from 'package:flutter/src/services/platform_channel.dart'
('../flutter/packages/flutter/lib/src/services/platform_channel.dart').
[        ] [        ] Try correcting the name to the name of an existing method, or defining a method named 'setMockMessageHandler'.
[        ] [        ]         channel.setMockMessageHandler((dynamic message) async {
[        ] [        ]                 ^^^^^^^^^^^^^^^^^^^^^
[        ] [        ] ../flutter/.pub-cache/hosted/pub.dartlang.org/wakelock_platform_interface-0.2.0/lib/messages.dart:114:17: Error: The method
'setMockMessageHandler' isn't defined for the class 'BasicMessageChannel<dynamic>'.
[        ] [        ]  - 'BasicMessageChannel' is from 'package:flutter/src/services/platform_channel.dart'
('../flutter/packages/flutter/lib/src/services/platform_channel.dart').
[        ] [        ] Try correcting the name to the name of an existing method, or defining a method named 'setMockMessageHandler'.
[        ] [        ]         channel.setMockMessageHandler(null);
[        ] [        ]                 ^^^^^^^^^^^^^^^^^^^^^
[        ] [        ] ../flutter/.pub-cache/hosted/pub.dartlang.org/wakelock_platform_interface-0.2.0/lib/messages.dart:116:17: Error: The method
'setMockMessageHandler' isn't defined for the class 'BasicMessageChannel<dynamic>'.
[        ] [        ]  - 'BasicMessageChannel' is from 'package:flutter/src/services/platform_channel.dart'
('../flutter/packages/flutter/lib/src/services/platform_channel.dart').
[        ] [        ] Try correcting the name to the name of an existing method, or defining a method named 'setMockMessageHandler'.
[        ] [        ]         channel.setMockMessageHandler((dynamic message) async {
[        ] [        ]                 ^^^^^^^^^^^^^^^^^^^^^
[        ] [+7986 ms] Persisting file store
[        ] [  +19 ms] Done persisting file store
[        ] [   +3 ms] Target kernel_snapshot failed: Exception
[        ]            #0      KernelSnapshot.build (package:flutter_tools/src/build_system/targets/common.dart:229:7)
[        ]            <asynchronous suspension>
[        ]            #1      _BuildInstance._invokeInternal (package:flutter_tools/src/build_system/build_system.dart:836:9)
[        ]            <asynchronous suspension>
[        ]            #2      Future.wait.<anonymous closure> (dart:async/future.dart)
[        ]            <asynchronous suspension>
[        ]            #3      _BuildInstance.invokeTarget (package:flutter_tools/src/build_system/build_system.dart:774:32)
[        ]            <asynchronous suspension>
[        ]            #4      FlutterBuildSystem.build (package:flutter_tools/src/build_system/build_system.dart:603:16)
[        ]            <asynchronous suspension>
[        ]            #5      AssembleCommand.runCommand (package:flutter_tools/src/commands/assemble.dart:314:32)
[        ]            <asynchronous suspension>
[        ]            #6      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1126:27)
[        ]            <asynchronous suspension>
[        ]            #7      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
[        ]            <asynchronous suspension>
[        ]            #8      CommandRunner.runCommand (package:args/command_runner.dart:196:13)
[        ]            <asynchronous suspension>
[        ]            #9      FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:284:9)
[        ]            <asynchronous suspension>
[        ]            #10     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
[        ]            <asynchronous suspension>
[        ]            #11     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:232:5)
[        ]            <asynchronous suspension>
[        ]            #12     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
[        ]            <asynchronous suspension>
[        ]            #13     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
[        ]            <asynchronous suspension>
[        ]            #14     main (package:flutter_tools/executable.dart:91:3)
[        ]            <asynchronous suspension>
[        ] [  +12 ms] "flutter assemble" took 21,102ms.
[        ] [   +6 ms]
[        ]            #0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
[        ]            #1      AssembleCommand.runCommand (package:flutter_tools/src/commands/assemble.dart:331:7)
[        ]            <asynchronous suspension>
[        ]            #2      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1126:27)
[        ]            <asynchronous suspension>
[        ]            #3      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
[        ]            <asynchronous suspension>
[        ]            #4      CommandRunner.runCommand (package:args/command_runner.dart:196:13)
[        ]            <asynchronous suspension>
[        ]            #5      FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:284:9)
[        ]            <asynchronous suspension>
[        ]            #6      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
[        ]            <asynchronous suspension>
[        ]            #7      FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:232:5)
[        ]            <asynchronous suspension>
[        ]            #8      run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
[        ]            <asynchronous suspension>
[        ]            #9      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
[        ]            <asynchronous suspension>
[        ]            #10     main (package:flutter_tools/executable.dart:91:3)
[        ]            <asynchronous suspension>
[        ] [ +234 ms] ensureAnalyticsSent: 232ms
[        ] [   +2 ms] Running shutdown hooks
[        ] [        ] Shutdown hooks complete
[        ] [        ] exiting with code 1
[        ] ninja: build stopped: subcommand failed.
[  +24 ms] Building Linux application... (completed in 59.3s)
[   +2 ms] Exception: Build process failed
[   +3 ms] "flutter run" took 60,079ms.
[   +6 ms]
           #0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
           #1      RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:671:9)
           <asynchronous suspension>
           #2      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1126:27)
           <asynchronous suspension>
           #3      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #4      CommandRunner.runCommand (package:args/command_runner.dart:196:13)
           <asynchronous suspension>
           #5      FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:284:9)
           <asynchronous suspension>
           #6      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #7      FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:232:5)
           <asynchronous suspension>
           #8      run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
           <asynchronous suspension>
           #9      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #10     main (package:flutter_tools/executable.dart:91:3)
           <asynchronous suspension>

[ +254 ms] ensureAnalyticsSent: 252ms
[   +1 ms] Running shutdown hooks
[        ] Shutdown hooks complete
[        ] exiting with code 1

HI @unoravi
Can you please try the following
flutter clean
flutter pub upgrade
flutter pub get
flutter run -d linux -v

@TahaTesser
Issue resolved..
Thanks


Python pulsar-client schema support for pulsar function's output

Is your enhancement request related to a problem? Please describe.
As the python pulsar client is currently written, I don't think pulsar functions output schema can be configured
Describe the solution you'd like
The user should be able to specify the output schema when deploying a function
Describe alternatives you've considered
I could write my functions like the following but would then have to separately apply the schema using a mock consumer or producer.
from pulsar.schema import *
from pulsar.functions.function import Function

class MyRecord(Record):
    id = Integer()
    another_key = String()

class MyFunction(Function):

    def __init__(self):
        self.schema = JsonSchema(XG)

    def process(self, message, context):
        return self.schema.encode(XG(id=message['id'], another_key=message['another_key']))

Additional context
I also took a look at https://github.com/apache/pulsar/blob/334dffdb95035349cc0fdbc9f84a15d2422a825b/pulsar-functions/instance/src/main/python/python_instance.py#L319-L334 and see that no schema is set when creating the producer.

I did something similar myself here, if it helps: https://github.com/pandio-com/pulsar-python-functions/blob/master/functions/python-schema/src/PythonSchema.py

Closed as stale.
The development of the Python client has been permanently moved to https://github.com/apache/pulsar-client-python. If it's still relevant, please open an issue there.


[BUG] [WEB] unable to load from storage after F5 page refresh

Unable to load from storage after F5 page refresh. Tested in debug mode.
Immediate loading after saving works well.

Hey @tms-dmitrii - Are there any other details you can provide? (Which OS are you using? Which browser? Which version of Flutter? Which version of flutter_secure_storage?)
Do any errors or messages appear in your developer console when experiencing this issue?
Thanks

same issue happening for me, empty value for flutter web secure storage

Same happening for me on 9.2.2
The error in the debugger is
Rejecting promise with error: TypeError: Cannot read properties of undefined (reading 'FlutterSecureStorageWeb')


How to reduce the Y axis grid lines

I'm looking to graph up to 86,000 values on a line chart.
Chartist is automatically determining the horizontal lines.   Is there a way to control that?

HTML

JS
`    var ChartOptions_Temp = {
width:  600,
height: 200,
showPoint: false
};
$.getJSON("/history?cid=5&key=temp", function(json) {
new Chartist.Line('.ct-chart1', json, ChartOptions_Temp);
}, 10000);

you can increase the scaleMinSpace in option
`` var ChartOptions_Temp = {
width: 600,
height: 200,
showPoint: false,
axisY: {
scaleMinSpace: 100 // default is 20px
}
};`

you can override labelInterpolationFnc() to decide only display the ticks if the value match certain values

width: 600,
height: 200,
showPoint: false,
 axisY: {
   labelInterpolationFnc: function labelInterpolationFnc(value, index) {
      if(value % 100 === 0) return value;
      return null;
   }
};`
`

Although this is 5 months after the original posting, I'm hoping it helps someone in future (if not the original poster).
I'm assuming you're referring to the thick grey "horizontal" lines. You can get rid of them entirely, if you wish, by adding
options = {
   axisX: {
      showGrid: false
   }
}

This might seem counter-intuitive (that it's axisX and not axisY) but actually these are dotted vertical line segments that are squished together because you have so many (eighty six thousand) data points in a small space, hence appearing to be horizontal lines.
For this reason, you cannot control the spacing between them, but you can get rid of them.
Hope this helps.


Added SlowOperationMapTest

Added SlowOperationMapTest to trigger slow operation logs in Hazelcast 3.5 or newer. This test is a fulfillment for the Hogging Partition Thread feature for Hazelcast 3.5.
Here is a sample worker.log from a successful run:
https://gist.github.com/Donnerbart/20cc7c6b77e252c567f5
If you run the test with an older version (or rather a version without the SlowOperationDetector) the test will through an assert: java.lang.AssertionError: This test needs Hazelcast 3.5 or newer

Can you also add a property file?

Done.


Added the swap even and odd bits algorithm in python.

Swap Even and Odd Bits is added to the python folder.
Code path added in readme.md file of Bit-Manipulation folder.
Issue Number: #1201
Language Used : Python
@rish-singhal @plazzy99 @tarun26091999 , I request to please check my PR once.
Please let me know if any changes are required.
Thank you

There are some conflicts, please resolve it.

@rish-singhal Please review my changes.
Thank you

If possible truncate the explanation part or add a reference?

I have already reduced a lot of explanation earlier, further reduction in description might make the understanding part difficult.
@rish-singhal

If possible truncate the explanation part or add a reference? Otherwise it's good to go

Okay then


Don't diagnose accesses to global/static variables within the same module

When SE-0412 (strict concurrency for global variables) is enabled, each
global or static mutable variable will be diagnosed if it isn't
explicitly on a global actor or nonisolated(unsafe).
Suppress diagnostics for references to such global variables when they
are in the same module as the declaration of the global variable
itself. While these diagnostics are technically correct, they are not
strictly necessary since we've already diagnosed the global variable
itself (with more actionable advice), and they tend to pile on the
developer in a manner that is not helpful.

@swift-ci please smoke test

GitHub failed to stack PRs despite no differences; this already passed all PR testing.


Write the version of the grammer being used by the extension somewhere

It would be nice to have the version of the grammar in use to be written into a log somewhere.
It would be useful to be able to troubleshoot issues in the syntax highlighting.

Good idea, I'll add that.

Grammar version number is written in the "ABL" log output:


[v2 Feedback request] Resolving conflicts over extensions

After waaay too long, I'm rolling out a v2 to address some long-standing issues with this module.  One of which is how to resolve the occasional conflict where more than one type is associated with an extension.
mime-types has a partial solution for this, but this doesn't resolve all conflicts.  In v2, I'm planning to do use this approach when compiling type maps to insure they're consistent.
 Yes, the mime-types method is rudimentary :) I'll try to take a closer look, but from what I recall of the changes it makes a lot of sense.

v2 is out. closing.


Questions

Does OpenJsCad require anything but a webserver to run or does it rely on something? (eg node, frameworks, etc.)
And I also wish to know, which of these features are supported?
drawing units
draw lines/ellipses/elliptical arc/rectangles/polygon/polyline/spline/donuts/points
erasing objects
layers
translate/rotate/scale objects
adding text
filling with hatches/patterns/gradients/textures
referencing objects
printing and plotting
importing and exporting geometry
Thanks in advance for any help.
Bye, Ivano.

@berserk82 Welcome
OpenJSCAD.org is the website UI, which runs in browsers such as Safari, Firefox, Chrome. You can run online at www.openjscad.org or use your own webserver to host the pages.
You can also open index.html directly. However, there are limitations when opening files, which come from browser security "features".
I suggest that you try some of the examples that come with OpenJSCAD.org. That should provide some idea as to what is and what is not available.
These are not available

drawing units
erasing or referencing objects
text rendering
textures/gradients/textures/etc
printing / plotting (but browsers can print what's being viewed)

Thanks a lot.

Full text rendering is being talked about now. This may be implemented in the next couple of releases.

Ok, what about the rest?

@berserk82 there is no 'official' list of planned features : this is an open source project, everyone contributes to the best of their time/ability/needs :)
If you want to contribute the features you need the most, please do , a lot of people are grateful for any new features & improvements


libclang dependency no longer available in unstable

It seems the libclang-6.0-dev that was previously available in all three Debian versions used to build the delta package is no longer available for in unstable. This was uncovered when building the new package version after fixing #1 .
2020-06-08T22:58:24.3124511Z Selecting previously unselected package delta-diff-build-deps.
2020-06-08T22:58:24.3214750Z (Reading database ... 29250 files and directories currently installed.)
2020-06-08T22:58:24.3225888Z Preparing to unpack delta-diff-build-deps_0.1.1-2_all.deb ...
2020-06-08T22:58:24.3241172Z Unpacking delta-diff-build-deps (0.1.1-2) ...
2020-06-08T22:58:24.9495240Z Reading package lists...
2020-06-08T22:58:25.1056814Z Building dependency tree...
2020-06-08T22:58:25.1061642Z Reading state information...
2020-06-08T22:58:25.1329699Z Starting pkgProblemResolver with broken count: 1
2020-06-08T22:58:25.1562486Z Starting 2 pkgProblemResolver with broken count: 1
2020-06-08T22:58:25.1587726Z Investigating (0) delta-diff-build-deps:amd64 < 0.1.1-2 @iU mK Nb Ib >
2020-06-08T22:58:25.1588164Z Broken delta-diff-build-deps:amd64 Depends on libclang-6.0-dev:amd64 < none @un H >
2020-06-08T22:58:25.1588498Z   Removing delta-diff-build-deps:amd64 because I can't find libclang-6.0-dev:amd64
2020-06-08T22:58:25.1608729Z Done

libclang-8-dev could be a suitable replacement but is only available in the  buster-backports repository.

We could also not enforece a version at all and use libclang-dev as a dependency.

Resolved in v0.1.1-2


Feat/autosave for editor

Description
This PR adds the feature of auto saving the opened files.
Also, it fixes an issue with the BreadCrumbs class when the path is empty (commit:8aa052c)
What type of PR is this? (check all applicable)

[x] 🍕 Feature
[x] 🐛 Bug Fix
[ ] 📝 Documentation Update
[ ] 🎨 Style
[x] 🧑💻 Code Refactor
[ ] 🔥 Performance Improvements
[ ] ✅ Test
[ ] 🤖 Build
[ ] 🔁 CI
[ ] 📦 Chore (Release)
[ ] ⏩ Revert

Related Tickets & Documents

Fixes #134
Added tests?

[ ] 👍 yes
[x] 🙅 no, because they aren't needed
[ ] 🙋 no, because I need help

Added to documentation?

[ ] 📜 README.md
[ ] 📓 docs.opensauced.pizza
[ ] 🍕 dev.to/opensauced
[ ] 📕 storybook
[x] 🙅 no documentation needed

Really clean implementation!
also nice fix done in breadcrumbs xd ❤
I will document the process more so that it will be easy for everyone to read the code.


Microsoft.Python.LanguageServer causing uncontrolled high CPU load

I updated Visual Studio Code to version 1.83.1 (which is currently the most recent version). I'm running this on a Linux notebook. Today suddenly multiple processes named Microsoft.Python.LanguageServer were consuming all CPU power available. After letting it run for maybe 5 minutes I killed the processes as they seemed to utilize all CPU cores available with all negative consequences involved: Generating an intense amount of heat in the CPU - and the CPU fan went crazy as it probably never has done before.
I can only guess whatever the root cause for this behaviour is as I don't know how to debug Visual Studio Code. This might be a duplicate to issue #2664. This issue is marked as "resolved" in 2018 - which apparently is not the case.
Whatever the root cause might be, this needs to be seen as a bug. It is unacceptable that a simple IDE makes use of such an extensive amount of CPU power, especially in such a way, that the user has not direct control about this.

Sorry the Microsoft language server had a performance issue for you. You can try using Jedi instead by setting "python.jediEnabled": true. Otherwise unfortunately we need more details to try and diagnose what aspect of your code is causing issues (and you can directly report the issues to the Microsoft language server at https://github.com/microsoft/python-language-server).


memory access outbounds

In XP and using Visual Studio 2010, videosrc using dshow and video display using sdl2, but when
vidconv(vidconv.c)----->rgb32_to_yuv420p failed
in file vidconv.c there are following lines the ys2 increasing but
for (y=0; yh; y+=2) {
yd  = y + r->y;
	ys  = (unsigned)(y * rh);
	ys2 = (unsigned)((y+1) * rh);

	lineh(r->x, r->w, rw, yd, ys, ys2,
	      dd0, dd1, dd2, lsd,
	      ds0, ds1, ds2, lss);
}

but in function rgb32_to_yuv420p following two lines outbounds of ds0
x2 = *(uint32_t *)(void )&ds0[xs  + ys2lss];
x3 = *(uint32_t *)(void )&ds0[xs2 + ys2lss];

Baresip version is 0.4.20,SDL2 version is SDL-release-2.0.5

Baresip version is 0.4.20,SDL2 version is SDL-release-2.0.5

hello @cnscns thanks for your report,
from your info I am assuming that your program is crashing due to memory access ?
the vidconv code in librem is quite robust and has been tested on many platforms.
I am guessing that the issue could be one of:

unaligned access to memory
corrupt input frame from dshow
some other bug in vidconv

Could you please try one of the following:

replace dshow with another vidsrc such as fakevideo.so and see if the problem persist
check for any compiler warnings during the build
use a very small resolution such as 16x16, add some debug printf in vidconv,
and then halt the program after 1 frame.
build retest for the same platform, which will verify that libre and librem is working properly,
run retest with -r

Hi @cnscns I have not heard back from you regarding this issue, so I will close
the ticket for now. Please re-open it if you have more info :)


I can't set the loadBalancerIP using the milvus-operator

I need to set a static ip address for the LoadBalancer. I am using the annotations for my cloud provider for creating a LoadBalancer:
apiVersion: milvus.io/v1beta1
kind: Milvus
metadata:
spec:
  mode: cluster
  components:
    proxy:
      replicas: 1
      serviceAnnotations:
        provider.cloud/load-balancer-type: internal
        provider.cloud/subnet-id: e2l5v7pklni9pesf30b2
      serviceType: LoadBalancer

but I cannot set the parameter loadBalancerIP.
I've tried to do this, but it doesn't work:
  config:
    service:
      loadBalancerIP: <IP_ADDRESS>

Please tell me how I can set loadBalancerIP?

@iurii-stepanov  but it's not supported to configure loadBalancerIP for built in service by milvus-operator. You can created another service to specify loadBalancerIP.


fix(notify): addTopicChineseName

What this PR does / why we need it:

[ ] Smoke testing completed
[ ] Unit test written

Does this PR need to be backport to the previous release branch?:
If don't know, write "UNKNOWN", and let the reviewer decide.
If yes, write the release branches name in the below format and submit the related cherry-pick PR:

release/3.10

Take a look at "https://www.cloudpods.org/en/docs/contribute/contrib/" to learn how to submit a cherry-pick PR.
/cc @ioito @zexi @swordqiu

这个中文还是英文不是在 模版 里面确定的吗？应该不用单独加在数据库里面吧
$ find build/notify/root/opt/yunion/share/
build/notify/root/opt/yunion/share/
build/notify/root/opt/yunion/share//local-templates
build/notify/root/opt/yunion/share//local-templates/content@cn
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>build/notify/root/opt/yunion/share//local-templates/title@cn
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>build/notify/root/opt/yunion/share//local-templates/content@en
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>build/notify/root/opt/yunion/share//local-templates/title@en
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>build/notify/root/opt/yunion/share//local-templates/title@en/USER_LOCK copy.tmpl
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>build/notify/root/opt/yunion/share//template
build/notify/root/opt/yunion/share//template/content@cn
build/notify/root/opt/yunion/share//template/content@cn/USER_LOGIN_EXCEPTION
<EMAIL_ADDRESS>build/notify/root/opt/yunion/share//template/content@cn/IMAGE_ACTIVED
build/notify/root/opt/yunion/share//template/title@cn
build/notify/root/opt/yunion/share//template/title@cn/USER_LOGIN_EXCEPTION
<EMAIL_ADDRESS>build/notify/root/opt/yunion/share//template/title@cn/IMAGE_ACTIVED
build/notify/root/opt/yunion/share//template/content@en
build/notify/root/opt/yunion/share//template/content@en/USER_LOGIN_EXCEPTION
<EMAIL_ADDRESS>build/notify/root/opt/yunion/share//template/content@en/IMAGE_ACTIVED
build/notify/root/opt/yunion/share//template/title@en
build/notify/root/opt/yunion/share//template/title@en/USER_LOGIN_EXCEPTION
<EMAIL_ADDRESS>build/notify/root/opt/yunion/share//template/title@en/IMAGE_ACTIVED

/hold


improve type comparison

fixes #92, #93

Works great, thanks! 🙌

Upgraded to new version in https://github.com/upleveled/security-vulnerability-examples-next-js-postgres/pull/35
Simplified types in https://github.com/upleveled/security-vulnerability-examples-next-js-postgres/commit/df48c4f68c311342d870af134604831e3373925d


curl: (60) SSL certificate problem: unable to get local issuer certificate

[x] ran a brew command and reproduced the problem with multiple formulae?  YES.
[x] ran brew update and can still reproduce the problem?
[ ] ran brew doctor, fixed all issues and can still reproduce the problem?
[ ] ran brew config and brew doctor and included their output with your issue?

To help us debug your issue please explain:

What you were trying to do (and why)
Install eigen

What happened (include command output)
It can't download bottled version and start installing from source (which fails, but it's different issue)

~ brew install eigen
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (caskroom/cask).
No changes to formulae.

==> Downloading https://homebrew.bintray.com/bottles/eigen-3.3.4.high_sierra.bottle.tar.gz

curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: https://curl.haxx.se/docs/sslcerts.html

curl performs SSL certificate verification by default, using a "bundle"
 of Certificate Authority (CA) public keys (CA certs). If the default
 bundle file isn't adequate, you can specify an alternate file
 using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
 the bundle, the certificate verification probably failed due to a
 problem with the certificate (it might be expired, or the name might
 not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
 the -k (or --insecure) option.
HTTPS-proxy has similar options --proxy-cacert and --proxy-insecure.
Error: Failed to download resource "eigen"
Download failed: https://homebrew.bintray.com/bottles/eigen-3.3.4.high_sierra.bottle.tar.gz
Warning: Bottle installation failed: building from source.
sudo: unknown uid 328822266: who are you?
==> Downloading https://bitbucket.org/eigen/eigen/get/3.3.4.tar.bz2
Already downloaded: /Users/amotsjonov/Library/Caches/Homebrew/eigen-3.3.4.tar.bz2

What you expected to happen
The botteled version installed.

~ brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!

Warning: "config" scripts exist outside your system or Homebrew directories.
`./configure` scripts often look for *-config scripts to determine if
software packages are installed, and what additional flags to use when
compiling and linking.

Having additional scripts in your path can confuse software installed via
Homebrew if the config script overrides a system or Homebrew provided
script of the same name. We found the following "config" scripts:
  /anaconda/bin/icu-config
  /anaconda/bin/freetype-config
  /anaconda/bin/xslt-config
  /anaconda/bin/libpng16-config
  /anaconda/bin/python3.6m-config
  /anaconda/bin/libpng-config
  /anaconda/bin/xml2-config
  /anaconda/bin/python3-config
  /anaconda/bin/curl-config
  /anaconda/bin/python3.6-config

Warning: Some installed formulae are missing dependencies.
You should `brew install` the missing dependencies:
  brew install gd graphviz libidn2 webp

Run `brew missing` for more details.

~ brew config
HOMEBREW_VERSION: 1.5.4-75-g14d54ed
ORIGIN: https://github.com/Homebrew/brew
HEAD: 14d54ed4b6b61c99abc4517d73d2b35079febdc7
Last commit: 4 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 86d3edd6ff536bf435254d74539b8d1033dccebe
Core tap last commit: 2 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_DEV_CMD_RUN: 1
HOMEBREW_GITHUB_API_TOKEN: set
CPU: octa-core 64-bit kabylake
Homebrew Ruby: 2.3.3 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/bin/ruby
Clang: 9.0 build 900
Git: 2.14.3 => /Library/Developer/CommandLineTools/usr/bin/git
Curl: 7.54.0 => /usr/bin/curl
Perl: /usr/bin/perl
Python: /usr/local/opt/python/libexec/bin/python => /usr/local/Cellar/python/2.7.13_1/Frameworks/Python.framework/Versions/2.7/bin/python2.7
Ruby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby
Java: 1.8.0_131
macOS: 10.13.3-x86_64
Xcode: N/A
CLT: <IP_ADDRESS>.1.1510905681
X11: N/A

I am getting this certificate problem for many other things

Having additional scripts in your path can confuse software installed via
Homebrew if the config script overrides a system or Homebrew provided
script of the same name. We found the following "config" scripts:

Try to remove this from your PATH.

I am getting this certificate problem for many other things

Things outside Homebrew? We can still help you here but this is an issue with your machine so: closing this.

Thanks @MikeMcQuaid fixing brew doctor problem (+ restarting computer - not sure what helped more) helped.
https://hashrocket.com/blog/posts/keep-anaconda-from-constricting-your-homebrew-installs
I've removed (at least for the sake of testing) /anaconda/bin from my $PATH


[Docs] Convert mdx to mdc

Converts mdx to mdc for documentation content files.
Description
Currently the docs pages under '/components' were all copied from radix. What we need to do first is we need to convert from the current mdx syntax to mdc. We have converted the Alert Dialog as an example to be applied to every other components.
Related Issue
https://github.com/radix-vue/radix-vue/issues/172

@DennisSmuda how good are you with css/tailwind?

@khairulhaaziq I personally would prefer yaml syntax for the table data, what do you think?

@DennisSmuda appreciate the work! But please see discord. We should work on new docs instead of this which is the old docs

based off of docs instead of new-docs 🔥


perf(storage): improve scanning with GLSN

What this PR does
This pull request enhances the performance of scanning with GLSN by using a
pebble iterator to retrieve written data instead of calling Get for each key.
goos: darwin
goarch: amd64
pkg: github.com/kakao/varlog/internal/storage
cpu: Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz
                       │    base     │                diff                 │
                       │   sec/op    │   sec/op     vs base                │
Storage_ScanWithGLSN-8   2.149m ± 1%   1.021m ± 1%  -52.51% (p=0.000 n=20)

                       │     base     │                diff                 │
                       │     B/op     │     B/op      vs base               │
Storage_ScanWithGLSN-8   32.12Ki ± 0%   31.73Ki ± 0%  -1.21% (p=0.000 n=20)

                       │    base     │                diff                │
                       │  allocs/op  │  allocs/op   vs base               │
Storage_ScanWithGLSN-8   2.004k ± 0%   2.006k ± 0%  +0.10% (p=0.000 n=20)

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

Current dependencies on/for this PR:

#715  👈
#714
main

This stack of pull requests is managed by Graphite.


CMake requirements: Make-style order-only dependencies, restat rules

This series implements the two remaining features required by the CMake Ninja generator: Make-style order-only dependencies and restat rules.

This patch looks good to me as well, but I am a little nervous to pull it when I'm not around to fight any potential fires in the Chrome build.  I'm considering the really unsatisfactory option of waiting until I return to work (in January) to experiment with it.  :(  Maybe I will ask on the list for help.


Refactor code for streamlined collection handling and conditional checks

Summary
This PR refactors various parts of the codebase to improve readability and maintainability. Key updates include replacing index-based access with more readable collection methods, simplifying conditional checks, and leveraging streams for concise collection manipulation.
Changes
SliderWithoutPopup.java

Updated conditional checks for special keys using Stream.of.

Document.java

Replaced index-based access with getFirst in getPageNonNull and getLastCursorOverPageObject.

Edition.java and SkillTableElement.java

Utilized Stream.of for counting sections and checking cursor types.

GradeElement.java

Refactored sorting using method references for better readability.

SkillTableGridPane.java and TextElement.java

Improved readability of collection manipulation using getFirst.

PDFPagesEditor.java

Replaced index-based element access with getFirst.
Streamlined PDF page addition with getFirst.

PDFPagesRender.java and PageRenderer.java

Simplified pending render queue handling and page element access with getFirst.

ExportWindow.java

Utilized getFirst for setting initial directory and file name text field.

AutoHideNotificationPane.java

Refactored notification handling to use addFirst and getFirst.

AutoTipsManager.java

Replaced explicit loops with streams for tip handling.

AlternativeWindow.java

Utilized addFirst for button and info box handling.

MainWindow.java

Replaced index-based screen access with getFirst.

BookletEngine.java

Simplified element access with getFirst.

GalleryWindow.java

Updated filter item addition with addFirst.

TR.java

Used Stream.of for settings version code checks.

SettingGroupPane.java

Utilized addFirst for icon container handling.

SplitEngine.java

Replaced index-based access with getFirst.

MainScreen.java

Simplified file handling with getFirst.

SideBar.java

Updated sidebar handling with addFirst.

FileTab.java

Replaced index-based file access with getFirst.

GradeCopyGradeScaleDialog.java

Streamlined grade elements string building with Collectors.joining.

GradeTab.java and GradeTreeItem.java

Improved readability by using getLast and getFirst for tree item access.

GradeTreeView.java

Simplified initial grade item access with getFirst.

GradeExportRenderer.java

Streamlined rows content building with Collectors.joining.

ListPane.java

Utilized addFirst and removeFirst for sort panel handling.

SACocheParser.java and SACocheWriter.java

Replaced explicit loops with streams for skill and student handling.

TextTreeSection.java

Improved readability with addFirst and removeFirst for sort cell handling.

FilesChooserManager.java

Used getFirst for setting path from sync variable.

ErrorAlert.java

Simplified error message check with Stream.of.

KeyCodeCombinaisonInputAlert.java

Refactored key code combination check using Stream.of.

LockMessage.java

Replaced index-based type access with getFirst.

Impact
These changes will improve the maintainability and readability of the codebase without affecting existing functionality. Potential side effects are minimal, as the core logic remains unchanged.

That's all good, thanks!


Slack integration uses legacy Attachment functionality, should be updated to use Block Kit

The message building code in slack/service.go uses attachments for formatting, which is now considered legacy functionality and should be reworked to use blocks.

Are you experiencing user-visible effects of this that you believe could be resolved by moving to the block kit format? From the same docs:

While we aren't deprecating them, you should understand that they might change in the future, in ways that reduce their visibility or utility.

Unfortunately it is not possible to move to blocks and keep the same formatting (with the red/yellow/green colour bar) that the slack notifications currently have. I'm not sure it is a good idea to globally change alert formatting just to use the latest API.

Attaching a patch to move to blocks in case we need to come back to this, but closing for now.
Patch: https://gist.github.com/lesam/bca46ad159c73655229cc684fa399a90


BUG: Tolerance on conservative check

Arbitrarily chosen tolerance value (1e-6)

Pull Request Test Coverage Report for Build 91

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 89.625%

Totals

Change from base Build 90:
0.0%

Covered Lines:
299

Relevant Lines:
335

💛  - Coveralls

Could you give a bit more context as to the bug you're fixing (nothing long, just some rationale / how the bug is manifesting)? Also, might be worth pulling out the magic (arbitrarily chosen) constant out to the module level, so that it can at least be monkey patched (and named)

Hi @pelson .  Sorry, your quite right.
This issue relates to floating point precision of input coordinates.  One example manifestation might be that the source vertical coordinate (altitude) has been defined explicitly from NetCDF, but the target coordinates have have been derived (hybrid height coordinates) from pp.  In this case, if the target upper and/or lower extend matches the source extent, then this issue might present due to precision differences.
I uncovered this accidentally going from an 'identical' source and target coordinates.
Now that I think about it, I should also make stratify avoid doing any calculations where the source and target coordinates are the same (within precision) I think.
What do you think? - I was going to put this logic in our calling code but I don't see benefit in anyone using stratify having their own check for source-target equality.

...pulling out the magic... constant out to the module level, so that it can at least be monkey patched (and named)

Good idea!
I'm going to change this value to 1e-10 too (this would be in line with floating point tolerance we use elsewhere in our project and is likely safer).

Do you have any ideas on how to implement the model level tolerance constant?
I was thinking it should be part of the python module stratify._bounded_vinterp.py (which calls _conservative.pyx) or potentially even stratify.__init__.py.  This would mean it could readily be monkey-patched.  Unfortunately, this would then require circular imports as far as I can tell :(
I think I'm being a little dim here - perhaps I'm being too strict or I'm missing something obvious?
Thanks @pelson

@cpelley Why not just keep things simple and make it a local constant within _conservative.pyx?
That provides a sufficient hook to monkey-patch for those that want to, right?

@cpelley Why not just keep things simple and make it a local constant within _conservative.pyx?
That provides a sufficient hook to monkey-patch for those that want to, right?

Oh I did wonder if I was missing a trick - I didn't think this would work since the cython was compiled so didn't think it would pick-up/allow objects (even if Python ones) within that module namespace!
I'm sure you're right.  I'll have a play.
Thanks @bjlittle

I'm afraid I couldn't get this working :(
Couldn't see the variable from python
cpdef FLOAT_TOLERANCE = 1e-10
My limited knowledge of cython could be the trouble??
In either case, monkey patching the variable - would this would effect the performance of the cython code? (not being strictly a C variable).

My limited knowledge of cython could be the trouble??

Define the constant as a Python variable in the module (no need for cpdef). Define a float variable inside apply_weights, and assign it from the Python constant. Use the float variable inside the loop. You get a runtime definition of the constant, but only pay the cost of the cast once. Hopefully that should do the trick 🤞

Thanks @pelson works now.
I have also added an associated test to convince myself that it works as intended and can indeed be monkey-patched.
Cheers

@cpelley This is still needed?

Thanks for the ping @bjlittle.  I'm afraid I am no longer involved in the work that motivated this issue so I couldn't be sure, though I would suspect that it is.
I'll close for now and ping @hdyson, @arjclark in case they want to pick this up again.


Add option to consider empty slices as zero-values

Mergo has a similar notion. The idea behind it is that for most users, an empty slice is intuitively considered nil, and thus should be treated as a nil slice.

Fixed by #15.


Allowed PHP memory exhausted before query execution

Hi there!
I have a very simple set of types that are related (A User has a list of List types, and a List has a User type).
class UserType extends ObjectType
{
  public function __construct()
  {
    parent::__construct([
      'fields' => [
        'id' => Type::id(),
        'username' => Type::string(),
        'lists' => Type::listOf(Types::list())
      ]
    ]);
  }
}

class ListType extends ObjectType
{
  public function __construct()
  {
    parent::__construct([
      'fields' => [
        'id' => Type::id(),
        'title' => Type::string(),
        'user' => Types::user() // <- Removing this line
      ]
    ]);
  }
}

Omitting the commented line in ListType ('user' => Types::user()) works absolutely fine, and consumes around 2Mb of memory within the PHP script. and everything works lovely with the connection to my MariaDB and MongoDB interfaces, and queries work perfectly within GraphiQL and a simple test application. However, if that line remains, then it appears that graphql-php gets stuck in some sort of infinite loop where it quickly exhausts all available script memory. I have increased my PHP memory allowance to 1Gb and the issue remains and it quickly exhausts the entire 1Gb memory allowance. It doesn't even seem to be a query issue, as the issue persists even if a blank query ({ }) is sent in the POST body.
The PHP error message is not always the same (it can change between executions), but is usually
Fatal error: Allowed memory size of 134217728 bytes exhausted
(tried to allocate 262144 bytes) in /var/www/public/vendor/webonyx/graphql-php/src/Type/Definition/Type.php on line 32

Thanks for reading, I will keep having a play around with this, as it is probably something I am doing wrong as I am quite new to working with GraphQL in PHP.
Note: I have removed resolvers and field resolvers from the above examples for clarity (as they have no effect on the issue).
All the best.
👍

My apologies. I realise now after talking through the issue with a friend that when GraphQL is 'parsing' the Schema, it must pick one of the two types to 'parse' first, and at this point the other type does not yet exist. It seems some sort of loop then gets entered where GraphQL is constantly trying to create the necessary schema data and keeps going between the two types until it consumes all of the script memory.
For anyone else running into a similar issue, it is simply a case of defining the fields property of the Type configuration as a callable function, which I found here in the documentation.
class UserType extends ObjectType
{
  public function __construct()
  {
    parent::__construct([
      'description' => 'A user',
      // Fields is now a callable, that returns the original object with a resolver shown
      'fields' => function () {
        return [
          'id' => Type::id(),
          'username' => Type::string(),
          'lists' => [
            'type' => Type::listOf(Types::list()),
            'resolve' => function ($value, $args, $root) {
              return $root['db']->getUserLists($value['id']);
            }
          ]
        ];
      }
    ]);
  }
}

This all works perfectly now, of course it was my own fault 🤣 .
👍
TL;DR I should have RTFM.


run_batch override for association loads

It would be really nice if we could override batch loading for associations.
Imagine a fusebox with fuses. In my absinthe schema, I specify:
field :fuses, resolve: dataloader(Fusebox)

I can specify a base query in the context module:
defmodule Fusebox
  def dataloader_source() do
    Dataloader.Ecto.new(Repo, query: &dataloader_query/2)
  end

  defp dataloader_query(Fuse, %{} = _params) do
    Fuse |> Fuse.Query.base()
  end
end

However, imagine that later, we decide that for our domain model, a fusebox cannot contain zero fuses, so if none are found for a given Fusebox, we should return a single default fuse. I would now like to override run_batch to override the way this association is loaded, but there is no facility to do that. So this cannot be done from within the context module without changing the API offered to the schema resolvers. Instead I have to change the schema to something like this:
field :fuses, resolve: fn fusebox, _args, %{context: %{loader: loader}} ->
  Dataloader.load(loader, Fusebox, {:one, Fusebox.Fuse}, fusebox: fusebox)
  |> on_load(fn loader ->
    Dataloader.get(loader, Fusebox, {:one, Fusebox.Fuse}, fusebox: fusebox)
  end)
end

Which will then use the "standard" implementation of run_batch that will delegate to the run_batch hook in the context module. This seems like an important limitation of the "magic" association data loading functionality, pushing a change that should affect only the domain logic into the schema layer. If I need to change the way I load the data in order to modify the loading behaviour in the context, it makes me wary of using the association shortcut magic at all :(

Hi @giddie,
You should be able to do this by leveraging the callback option of the dataloader helper.

Hi @tlvenn. Thanks, but that's the problem - it pushes responsibility for a domain logic concern right down into the schema resolution layer. This really should be handled in the context module.
For now I've decided to bypass the magic association helper in the schema and use Dataloader directly, handling all association batch loading at the context level (with some generic helpers). That way the context module can have the final say over all data flow.
I definitely feel that @jfrolich was onto something here: https://github.com/absinthe-graphql/dataloader/issues/25#issuecomment-374890495

I would now like to override run_batch to override the way this association is loaded

You can do this:

  def run_batch(Fusebox.Fuse, query, :fuses, fuse_boxes, repo_opts) do
    # run batch boilerplate to load things by association

    # return a [default_goes_here] for each `fuse_box` that returns no items.
  end

  def run_batch(queryable, query, col, inputs, repo_opts) do
    Dataloader.Ecto.run_batch(Repo, queryable, query, col, inputs, repo_opts)
  end


Unhandled Exception

I getting this error Unhandled Exception: 'package:date_range_picker/date_range_picker.dart': Failed assertion: line 1280 pos 10: '!initialLastDate.isAfter(lastDate)': initialDate must be on or before lastDate and the dialog won't show up. Any help would appreciated. :pray:
This is my code :
Future<List<DateTime>> _showDateRangePicker() async {
    final List<DateTime> pickedDateRange = await DateRangePicker.showDatePicker(
      context: context,
      initialFirstDate: new DateTime(2020, 1, 1),
      initialLastDate: new DateTime(2020, 4, 1),
      firstDate: new DateTime(2015),
      lastDate: new DateTime(2020)
    );

    if(pickedDateRange == null && pickedDateRange.length < 2) {
      return [];
    }

    return pickedDateRange;
  }

Hi @McSam94,
I had the same error ,
the problem is between initialFirstDate &  lastDate
when you initiate the lastSAte like this: new DateTime(2020), you'll have the same date as the initialFirstDate I think so that's why it caught that exception:

Try this
    final List<DateTime> pickedDateRange = await DateRangePicker.showDatePicker(       context: context,       initialFirstDate: new DateTime(2020, 1, 1),       initialLastDate: new DateTime(2020, 4, 1),       firstDate: new DateTime(2015),       lastDate: (new DateTime.now()).add(new Duration(days: 7))     );

I think the problem is caused by lastDate: new DateTime(2020) is not greater than initialLastDate: new DateTime(2020, 4, 1)

@arutkayb true


wip: Add support for postcss with rtlcss and autoprefixer

What this PR does / why we need it:
Add support for postcss, rtlcss and autoprefixer
Which issue this PR fixes:
fixes #115
Special notes for your reviewer:
WIP
Release note:

Closing this as we want to move this into documentation instead and PostCSS is enabled within the purgecss PR.


Note package.json boundary still applies

I'm not sure I've got the wording quite right on this one - perhaps you can think of a better way of doing this one.
But if we are dealing with the ".js" handling then the property must behave as a boundary flag equally I think.
Happy to discuss further.

We can merge this but I should note that I just removed the format lookup section. But I think it's still a worthwhile forward-looking statement with regards to https://github.com/nodejs/modules/pull/160.


Flickering of updates for animated feature

While looking at the new KML Track code, I noted flickering of the highlighted "Feature Info" row (e.g. the green highlight on the "Altitude (m)" row in the example below).

It appears to flicker at the frame rate, even if the related row isn't actually changing.

@schmidtk I assume the geometry changes are kicking off the update listener.

Each timeline frame updates the track and calls changed, which will trigger a feature info update. We should avoid firing the event if the track didn't actually change. plugin.track.updateCurrentLine returns early if no updates need to be made, and could return a boolean so the remaining updates (distance/duration calculations) are also skipped.


Allow the user to define a preconditioner

Currently the Python bindings defaults to preconditioning using a full LU solve which pretty much defeats the whole purpose of using the iterative solvers. We should allow the user to specify a preconditioner as a python callback (and perhaps also give the user the option to use e.g. the block diagonal preconditioner included in sundials).

This had occurred to me too...I think it's a good idea


Time stamp for Statistics is missing

Proposed Solution:

Adding a VlanInterfaceStatus::timeStamp : DateTime attribute

VlanInterfaceStatus::timeStamp added


Introduction of new Liqo Agent version

Description
This PR introduces the new version of Liqo Agent, presenting the features ready to be interconnected with other Liqo components.

START/STOP Liqo: turn on/off Liqo according to connection and working mode requirements.

CHANGE LIQO MODE: set AUTONOMOUS or TETHERED mode according to peerings requirements (number and
type)

ABOUT LIQO: link to Liqo website

NOTIFICATIONS SETTINGS: this option has been promoted to a menu item to simplify the graphic interface

AVAILABLE PEERS: refactoring of the "show advertisements" action, with automatic start/stop
according to Liqo status and new option for manual addition of a remote peer

introduction of the Status component that shows some useful information about the status of both
the Agent and the framework.

How Has This Been Tested?

unit tests

/rebase


how to npm start with production environment

Hi, i've tried to do 'npm start --config-env prod / production / Production.. many options with no luck.
How can I start with the production ENV ?

for production run gulp build.prod

how to build with production run on Xampp Server and how to config in https://domainname.com/project_path ?

We don't use xampp server and don't know more about it.
For production you may need .htaccess file, for that copy following code and paste it in .htaccess file

  RewriteEngine On
  RewriteBase /
  RewriteRule ^index\.html$ - [L]
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule . /index.html [L]


Support custom inline snapshot matchers

Fix #8181.
Summary
Supports custom inline snapshot matchers, currently using them isn't possible.
Test plan
const { toMatchInlineSnapshot } = require("jest-snapshot");

expect.extend({
  toMatchCustomInlineSnapshot(received, ...args) {
    return toMatchInlineSnapshot.call(this, received, ...args);
  }
});

test("inline snapshots", () => {
  expect({ apple: "original value" }).toMatchCustomInlineSnapshot();
  // Will inject snapshot to
  expect({ apple: "original value" }).toMatchCustomInlineSnapshot(`
    Object {
      "apple": "original value",
    }
  `);
});

How
The implementation is a bit of a hack, I'm not sure if it's suitable for production but it's the only better way I can think of for now.

To summarize the issue to those who is not familiar with how inline snapshots works, here is a simplified breakdown.

snapshots stack trace is generated upon runtime call, by calling new Error().stack
In saveSnapshotsForFile function, it takes the snapshots coming from the previous step and the sourceFilePath

expect(something).toMatchInlineSnapshot();

It inserts the snapshots if necessary to the source file in createInsertionParser

expect(something).toMatchInlineSnapshot(`"SNAPSHOT...
NEXT LINE"`);

It formats the source file with the added snapshots with prettier

expect(something).toMatchInlineSnapshot(`
"SNAPSHOT...
NEXT LINE"
`);

The indention is not yet correct, so it indents the snapshots to make them look good with the source again in createFormattingParser

expect(something).toMatchInlineSnapshot(`
  "SNAPSHOT...
  NEXT LINE"
`);

It formats the source file yet again to make the overall indention looks good

expect(something).toMatchInlineSnapshot(`
  "SNAPSHOT...
  NEXT
  LINE"
`);

It overrides the file when done

There's a tweet mentioned in the original issue stating that we should need to be able to figure out that the call is coming from a custom matcher and skip those frames in order for this to work. So this is exactly what I've done. I create a no-op trap for every external matcher, wrapping them with a function call so that it would show up in the stack trace.
The next step is to modify the logic where we get the top frame. We remove all stack trace lines before the trap function we just made (if it exists), so that when we try to get the top frame it won't get the native toMatchInlineSnapshot but the custom toMatchCustomInlineSnapshot.
We also have to update the babel traverse logic in createFormattingParser, or else it won't correctly indent the snapshots. Currently it only looks for matcher named toMatchInlineSnapshot, I modify it to record all the matcher names we've seen in the stack traces, and check them one by one in the parser.

I added an e2e test case to demonstrate the feature, please tell me if you have any other idea for tests, or edge cases I'm missing.
I'm also aware of that #7792 is near to be finished, this PR takes it into account and should be able to work just fine when it landed.
I'll update the CHANGELOG file once if you think it's a good idea :)

@SimenB Awesome! Thanks a lot! Should I also update the doc?

A docs update would be wonderful, yes!

/cc @azz

Thanks so much for fixing this @kevin940726 🥇

This looks amazing, It's been on my watchlist for a year!


Add Github ribbon

https://github.blog/2008-12-19-github-ribbons/
Let's go with the red one, I think.
On both basic and neural ones. Neural href should redirect to this repo. Basic should redirect to https://github.com/castorini/anserini/blob/master/docs/experiments-covid.md

Hmm... I think we should get more opinions on this 😛

I don't think these fit in with the site and they're pretty outdated. I'd rather put a Github logo + button in the navbar like https://huggingface.co/

Works for me. Just responding to @rodrigonogueira4 's comment that we should make link to GitHub obvious...
Once again, I've shown my age...


Performance optimizations

The engine has become quite slow, especially the renderer. It should be profiled thorougly and optimized.

Concurrency is indeed possible, but only for physics, but afaik Rapier physics engine has built-in fork-join parallelism support, which makes manual offtreading of physics almost useless.
draw_recursively cannot be source of performance issues in the editor only because it is "redefined each call", it just a local function, it just has smaller scope, thats it.

In the meantime there is already 2x performance boost 🎉 . I'm thoroughly going through hot paths that profiler shows and optimizing them (with various degree of success). For example 3rd_person example was ~58-64 FPS before optimizations, now it is ~114-120 FPS. There is still lots possible optimizations that I want to do, for example - use uniform buffers, use octree for scene nodes to speed up culling (including culling in shadow mapping), and so on.

very cool.
yeah i realized local definition does not diminish performance, but i thought it still would be useful for the readability (still very readable as it is)

I noticed a huge performance improvement in my toy project, too! Great work! I dropped most of my local changes because they actively made some things worse and didn't really help that much with performance compared to what you did. E.g. I previously changed the BatchStorage to only include meshes that are in the camera visibility cache, but that will break shadows and causes geometry to be uploaded to the GPU lazily, leading to freezes when lots of new geometry becomes visible.
I only have one remaining local change that really helps in my project because I don't use skeletal animations: Using a Vec<Matrix4<f32>> for bone matrices in the batch storage surface instance instead of ArrayVec<Matrix4<f32>, 64>. I guess the ArrayVec is collected from the iterator into a 0-length ArrayVec on the stack with 4K bytes as a buffer, and then moved into the batch storage on the heap through memmove or similar, which apparently adds up to a millisecond or two per frame for my project.
When collecting into a Vec, there should be no heap allocation for the 0 bones case and one heap allocation for every other case, but moving the Vec object from the stack into the struct should be fast because it's small. Anyway, this change reduced avg frame time in my benchmark from ~8ms to ~6ms in release mode. I'm not sure if this would kill performance for scenes with lots of meshes that use skeletal animation.


[Question] How do I get the "Choose a file" dialog boxes

I'm trying to implement this feature:

I want to choose:

A single file (Save As)
A single file (Open)
Multiple files
A folder

I don't have a problem creating the button.
My problem is, how do I show the dialog box that's show when you press the button and how do you get back the results?
I would like to get 3 flavors of this dialog box:

Oh, I just noticed this code that I did not see last night!
This seems to be in the right direction!
    def open_fileselection_dialog(self, widget):
        self.fileselectionDialog = gui.FileSelectionDialog('File Selection Dialog', 'Select files and folders', False,
                                                           '.')
        self.fileselectionDialog.confirm_value.connect(
            self.on_fileselection_dialog_confirm)

        # here is returned the Input Dialog widget, and it will be shown
        self.fileselectionDialog.show(self)

Ooooo ooo oooo... I'm getting closer.
I was able to get a popup dialog by including this widget in my layout:
remi.gui.FileUploader('./', width=200, height=30, margin='10px')
Clearly a lot to learn, like how to use my own buttons with it so that it doesn't look like this in my layout:

Hello @MikeTheWatchGuy ,
This reddit thread will help you on how to show your custom button.
https://www.reddit.com/r/RemiGUI/comments/bl1nr5/how_should_i_parse_files_via_the/
Let me know if you find problems. ;-)

All I want this button to do is show one of the 4 Windows File/Folder dialog boxes that I showed at the start of the Issue.  I don't want to upload anything, I just want to choose a file or folder from the local filesystem.
Does that Reddit thread still apply to this?

@MikeTheWatchGuy ok so you need a FileSelectionDialog widget. An example about its usage in the example/widgets_overview_app.py


Wrap Uint8Array in a Buffer

base-x is throwing an Exception due to it being passed a Uint8Array instead of a Buffer. This will simply wrap it in a Buffer.
Fixed #264

BEGIN BLOCK
This is to confirm that I agreed to and accepted the BigchainDB Individual Contributor Agreement at https://www.bigchaindb.com/cla/ and to represent and warrant that I have authority to do so.
sM1f2z6H1Dd4I5gMxYYkwCQrNWjZFHISi2jRNin99To8tPiQ7AFkbqBEquzINXA
END BLOCK

Thanks @DavidEdwards that completes the CLA step. I asked @jernejpregelj to review your PR.

Hi, @DavidEdwards can you provide more information about environment where you integrating bigchaindb-driver to get this error?


Add RSS feed

A feed of latest benches.

Some questions:

How many benches should the feed contain?
Should the XML be generated on each request, or by a cronjob every N $timeunits?

How about something like this
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet title="XSL_formatting" type="text/xsl" href="/shared/bsp/xsl/rss/nolsol.xsl"?>
<rss  version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>OpenBenches.org</title>
    <description>An open data repository for memorial benches</description>
    <link>https://openbenches.org/</link>
    <image>
      <url>https://openbenches.org/images/icons/icon-512x512.png</url>
      <title>OpenBenches.org</title>
      <link>https://openbenches.org/</link>
    </image>
    <atom:link href="https://openbenches.org/rss" rel="self" type="application/rss+xml" />
    <lastBuildDate>Thu, 25 Oct 2018 19:30:54 GMT</lastBuildDate>
    <language>en-gb</language>
    <item>
       <title>Bench 9441</title>
       <description><![CDATA[IN LOVING MEMORY OF
DAISY HARRIS
FROM HER FAMILY
"ENJOY THIS VILLAGE"
<img src="https://openbenches.org/image/d736e13fe8376eed0267e87d2b2cdcd7ae87206a/400"
</description>
       <link>https://openbenches.org/bench/9441</link>
       <guid isPermaLink="true">https://openbenches.org/bench/9441</guid>
       <pubDate>Wed, 24 Oct 2018 16:59:41 GMT</pubDate>
    </item>
  </channel>
</rss>

It validates at https://validator.w3.org/feed/ It looks like this in Firefox:

like this in FeedReder (which displays the UNIX epoch date for every item in every feed for some reason)

like this in Liferea

Imagine that I remembered to include the location.
I have never made an RSS feed. Possibly this is evident to people who have :smile: I cobbled the above together by hand as an experiment, I don't have code for it. But
select * from benches order by added desc limit 20;
Iterate the results and build up the XML. Once you know what XML you want, how hard can it be… (I have never made an RSS feed) :smile:

If there's a built in PHP function to generate RSS I can't find it.

It is entirely possible that I hallucinated it...


libwebp: update from v0.5.1 to v0.6.1

Based on Nico his work in https://github.com/apache/incubator-pagespeed-mod/issues/1753
Thanks @nberlee!

checkin tests failed at https://github.com/apache/incubator-pagespeed-mod/blob/c78d8e85622fe8d451ef29d21f89c68f21067fe6/pagespeed/automatic/system_tests/image_resize.sh#L79:
FAILed Input: /tmp/mod_pagespeed_test.oschaaf/apache/fetched_directory/wget/xPageSpeedAnimationSmall.gif.pagespeed.ic.*.webp : 7222 -ge 7232

I'm guessing the test needs to be adjusted, as far as I can tell functionally all looks good and this actually looks like a small improvement in file size.


Resolving the missing reference to the technology fingerprints to the last snapshot

As discussed here: https://github.com/projectdiscovery/wappalyzergo/issues/57
The repository where the fingerprints were pulled from has become private. I've just copied the fingerprints into a dedicated repository and referenced it accordingly.

@BBerastegui I'm closing this PR as most likely we will continue with the approach mentioned in https://github.com/projectdiscovery/wappalyzergo/issues/59 - Thanks!


docs: Correct reference module implementation names to be unique in v20 upgrade guide

Description

Correct reference module implementation names to be unique in v20 upgrade guide

Motivation and Context

https://github.com/terraform-aws-modules/terraform-aws-eks/issues/3136#issuecomment-2398327975

Breaking Changes

No

How Has This Been Tested?

[ ] I have updated at least one of the examples/* to demonstrate and validate my change(s)
[ ] I have tested and validated these changes using one or more of the provided examples/* projects

[ ] I have executed pre-commit run -a on my pull request

This PR is included in version 20.25.0 :tada:


The ar camera won't turn on due to a firebase issue.

While using the arcore geospatial api service with ios
Due to the fix, the following error occurs when running again, and the camera does not turn on.
The default Firebase app has not yet been configured. Add FirebaseApp.configure() to your application initialization. This can be done in in the App Delegate's application(_:didFinishLaunchingWithOptions:) (or the @main struct's initializer in SwiftUI). Read more: https://goo.gl/ctyzm8.`
I have never used Firebase before, so I am using it as below in the pod file.
 # Pods for remoshot_forest   pod 'AFNetworking', '~> 4.0'   pod 'ORStackView', '~> 3.0.1'   pod 'SwiftyJSON', '~> 4.0'   pod 'Kingfisher', '~> 7.0'   pod 'CoreGPX'   pod 'ARCore/Geospatial', '~> 1.33.0'
How do I resolve that error?

Firebase has nothing to do with the camera. Did you start an ARKit session and get the camera permission?
I believe you can safely ignore the warning message "The default Firebase app has not yet been configured."


Wifi Modul Crashes

Unfortunately, the wifi modul crashes regularly, is not reachable then and has to be restarted at least one time per day when using your plugin. Do you know if anybody else is experiencing this problem or do you have an idea how to fix ist?

Hmm - that's not good. Let me describe what the plugin does, which might
help diagnose the problem.
On startup it connects to the Spa Wifi module, and sends something like
5-10 messages over the following few minutes to gather key data on the
Spa's configuration. It sounds as if this is NOT a problem for you.
After that the Spa's wifi module itself proactively sends state information
to this plugin every second or so. The plugin simply receives that and
passes on anything that has changed to homekit. So if this is causing the
problem, there's unfortunately nothing the plugin can do to resolve, since
it is a passive recipient.
Apart from that, every 10 minutes the plugin sends 1 message to the Spa to
check on any faults.
No other messages are sent to the Spa unless:

You use Homebridge/Homekit/Siri/etc to control the spa - then obviously
messages are sent.
The Spa's wifi module drops off the network/disconnects. In that case the
plugin tries to reconnect every 20 seconds or so. My own Spa does this
"occasionally" - hard to say how often, but perhaps once few days, and it
takes anywhere from a few minutes to a few hours before connection is
re-established. No idea why this happens, and given it is rare and the
plugin successfully reconnects in the end, it has not been a significant
problem for me (and, frankly, nothing I can do about it).  This process is
very visible in the homebridge log, so, worth looking for that. In my own
case I never have to manually restart the Spa.

My early googling before the creation in this plugin did show that some
people definitely have flaky wifi-modules that are always
dropping-off/crashing, and some people had even rigged up mechanisms to
automate the restart you describe. And others talked about how a "more
recent" wifi module was much more reliable. So one question to ask is what
specific wifi module you have and is it "recent" (whatever that means
exactly) vs old, and if there's anything to be done in terms of updating
the module's firmware perhaps?
Appreciate the above might not be the most helpful - is there anything that
shows up in the homebridge log (perhaps when running in debug mode) that
might help clarify?
I'm not aware of anyone else with this problem - from the plugin download
numbers there are at least hundreds of people using it, perhaps even a
thousand, and so far no other reports...
On Fri, 12 Jun 2020 at 13:15, dantrecht<EMAIL_ADDRESS>wrote:

Unfortunately, the wifi modul crashes regularly, is not reachable then
and has to be restarted at least one time per day when using your plugin.
Do you know if anybody else is experiencing this problem or do you have an
idea how to fix ist?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

https://community.smartthings.com/t/balboa-hot-tub-wifi-module-integration/56640/116
"I was informed that that balboa did release a wifi module version that addresses the reconnect issue. If your wifi module is 50350 -06 it is the new version that will auto reconnect. It must have the -06."

Closed, given no response.


Add specs; minor changes to some commands

Added specs for all currently supported commands. (Mostly just copied from atom/vim-mode#762)

:tabedit now works as an alias to :edit with a path and
as an alias to :tabnew without.
:tabnew is a new command that opens a new tab with a new file if used
without a path and works as an alias to :tabedit with one.
:tabclose now works as a proper alias to :quit (i.e. passes the arguments)
:edit now works more like before - it opens a given path in a new tab.
It also doesn't do anything if the file was modified since the last commit,
unless forced by using :edit! - I know I've been arguing against that in #48, but rethinking it, it is probably worse if a buffer user loses his buffer than if a tab user gets an extra tab.
:write works properly again and doesn't overwrite files, unless forced by
using :write!
:xit is now called :xit and not just :x
:substitute now properly replaces multiple groups (:s/(a)b(c)/X\1\2X\0)

@lloeki: Would be great if you could also add Travis CI integration :smile:

This is awesome, thanks a bunch. I'll be sure to add Travis CI right after this is merged.

Ok I'm merging this right now. That's too important to quibble over details.


snowflake_pipe error creating.  This session does not have a current database.

Provider Version
0.25.0
Terraform Version
0.14.10
Describe the bug
snowflake_pipe resource can not be created. The following error received:
Error: error creating pipe xxxx_PIPE: 090105 (22000): Cannot perform operation. This session does not have a current database. Call 'USE DATABASE', or use a qualified name.

  on input_health_snowpipe.tf line 50, in resource "snowflake_pipe" "xxxxx":
  50: resource "snowflake_pipe" "xxxxxx" {

Expected behavior
Snowpipe should be created
Code samples and commands
resource "snowflake_pipe" "xxx" {
  name              = "xxxx"
  database          = "testo"
  schema            = "testo_dev"
  comment           = "Ingestion pipe events."
  copy_statement    = "copy into testo.testo_dev.xxxx from @xstage"
  auto_ingest       = true
  aws_sns_topic_arn = "arn::"
}

Additional context
The SQL query created by snowflake TF provider works if use the worksheet in Snowflake console.

resource "snowflake_pipe" "xxx" {
name              = "xxxx"
database          = "testo"
schema            = "testo_dev"
comment           = "Ingestion pipe events."
copy_statement    = "copy into testo.testo_dev.xxxx from @xstage"
auto_ingest       = true
aws_sns_topic_arn = "arn::"
}

If you need a workaround in the meantime, just fully-qualify the stage, i.e., @DATABASE.SCHEMA.xstage. That got it working for me.
Original: https://github.com/chanzuckerberg/terraform-provider-snowflake/issues/135#issuecomment-667178472

still seeing this bug, fully qualifying the stage name works... but it would be nice to not need to do that.

It also causes another bug when you have a file format that didn't use the fully qualified name, because then you'll get the error.
So you have to fully qualify all things that stage depends on because otherwise they might not work.
SQL compilation error: File format 'MY_JSON' does not exist or not authorized.

Closing as deprecated. Please use newer versions of the provider and create a new issue if the error persist there.


Sourcemap does not include JSON model files

The title is self-explanatory. Basically, sourcemap will not include files which are model files. I have found a temporary fix where you add the model into the sourcemap.json and turn off generate sourcemap but this isn't ideal.
{
	"name": "Hover",
	"className": "Sound",
	"filePaths": [
		"src\\shared\\Assets\\SFX\\Hover.model.json"
	]
}

What do you store in your Hover.model.json? If there are no scripts you need to run sourcemap command with the --non-scripts option.

What do you store in your Hover.model.json? If there are no scripts you need to run sourcemap command with the --non-scripts option.

The model is just a Sound instance and nothing else. Also, pretty sure that the VSCode extension does not have "Include non scripts" when serving.

Also, pretty sure that the VSCode extension does not have "Include non scripts" when serving.

Nor does the CLI.

Do feel like it could be a tidy bit better if there was a non-scripts option in the serve.

If you want to customize how sourcemap is generated you should run two Argon instances - serve and sourcemap. I won't add the --non-scripts option for serve and build commands as it's unrelated to them and the CLI will get too messy. Not to mention I would also have to add other sourcemap options.

Understand the concern. Thanks for the answer!


Sliders inside tab content where in aria-hidden is true is broken

Hi, thanks for your great slider. I tried to initialize sliders on the first load of my page and there are sliders on different tab content. As I toggle other tabs and slide the slider on mobile view, it get stucked and my browser freezes. autoplay is false.
var sliderOptions = {
    container: '',
    items: 1,
    autoplay: false,
    nav: false,
    slideBy: 1,
    gutter: 10,
    edgePadding: 20,
    controls: false,
    animateIn: true,
    lazyload: true,
    mouseDrag: true,
    responsive: {
      760: {
        disable: true
      }
    }
  };

Tiny-slider version:   Latest
Browser name && version:   Chrome latest
OS name && version:   Yosemite

Could you make a demo if possible?

@ganlanyuan This one: https://jsfiddle.net/v0vmLvtf/1/
So when you view it greater than 760, the slider is disabled. Then drag down the window to mobile view (because it's the common UX on how to view mobile). You can see the slider still works but when I open a new tab and drag one item, it's not working anymore.

As I continue to test, it only exists with the mousedrag function. When I turn on the navigation and display the slider on hidden tab, then click prev/next button. it works. So the problem is on the mousedrag function where in you need to reselect the current index shown. Any possible ideas how to solve this one?  @ganlanyuan  Thanks again for your amazing slider

An error was printed:

Just figured out what's going wrong here.
The sliders are inside display: none blocks which makes the viewport of the sliders 0. This commit should fix this issue.

Added in v2.6.0

This is great. Thanks @ganlanyuan solid work

using the latest version of tns. it doesn't work. still the height 0.
isn't there a way to refresh the slider while switching between tabs


UI on composing breaks when post is longer than screen space

This is mostly against #25 , which contains some changes to how the editor is styled. (it did however not work before either)
@RichardLitt Could you have a look if you could get the main textbox to flex to the whole height, and also have its own scrollbar?

This is my first time working with basic-web-components, but it looks like this is actually supposed to happen, since you're using basic-autosize-textarea. To fix this, we'd need to not use this component.
Why are we using it, and not just a large enough textarea box to fill screen?


Fix some typos in README features section

This PR just fixes a few typos I noticed in the README. Notably

that built Uses TypeScript :arrow_right: built using TypeScript

alternative: that is built using TypeScript

stuffs :arrow_right: stuff: The plural of "stuff" is also "stuff"
staff :arrow_right: stuff
is wrote :arrow_right: is written

Because the changes in this PR are small, I don't know if the changelog should be updated.

Looks like some of the typos were recently fixed :laughing:
rebased conflicts


BeakerX not displaying pandas tables when timestamps are columns

I have a pandas dataframe setup as the following:
<class 'pandas.core.frame.DataFrame'>
RangeIndex: 28 entries, 0 to 27
Data columns (total 9 columns):
instance_name          28 non-null object
node_name              28 non-null object
counter_name           28 non-null object
x_label                28 non-null object
2019-05-06 06:38:00    28 non-null float64
2019-05-06 06:43:00    28 non-null float64
2019-05-06 06:48:00    28 non-null float64
2019-05-06 06:53:00    28 non-null float64
2019-05-06 06:58:00    28 non-null float64

When I try to display the dataframe, nothing displays.  I see the following error in JavaScript console:
Uncaught (in promise) TypeError: Cannot read property 'index' of undefined
    at selectors.ts:123
    at index.js:76
    at index.js:36
    at index.js:90
    at index.js:36
    at ColumnPosition.getColumnByPosition (ColumnPosition.ts:108)
    at DataGridResize.setInitialSectionWidth (DataGridResize.ts:113)
    at DataGridResize.setInitialSectionWidths (DataGridResize.ts:104)
    at DataGridResize.setInitialSize (DataGridResize.ts:66)
    at BeakerXDataGrid.init (BeakerXDataGrid.ts:113)
    at new BeakerXDataGrid (BeakerXDataGrid.ts:91)
    at new DataGridScope (DataGridScope.ts:42)
    at TableDisplayView.initDataGridTable (TableDisplay.ts:84)
    at TableDisplay.ts:49
  | (anonymous) | @ | selectors.ts:123
-- | -- | -- | --
  | (anonymous) | @ | index.js:76
  | (anonymous) | @ | index.js:36
  | (anonymous) | @ | index.js:90
  | (anonymous) | @ | index.js:36
  | getColumnByPosition | @ | ColumnPosition.ts:108
  | setInitialSectionWidth | @ | DataGridResize.ts:113
  | setInitialSectionWidths | @ | DataGridResize.ts:104
  | setInitialSize | @ | DataGridResize.ts:66
  | init | @ | BeakerXDataGrid.ts:113
  | BeakerXDataGrid | @ | BeakerXDataGrid.ts:91
  | DataGridScope | @ | DataGridScope.ts:42
  | initDataGridTable | @ | TableDisplay.ts:84
  | (anonymous) | @ | TableDisplay.ts:49
  | Promise.then (async) |   |
  | render | @ | TableDisplay.ts:42
  | (anonymous) | @ | manager-base.js:97
  | Promise.then (async) |   |
  | (anonymous) | @ | manager-base.js:91
  | Promise.then (async) |   |
  | ManagerBase.create_view | @ | manager-base.js:90
  | ManagerBase.display_model | @ | manager-base.js:71
  | (anonymous) | @ | extension.js:120
  | Promise.then (async) |   |
  | render | @ | extension.js:119
  | append_mime | @ | extension.js:145
  | OutputArea.append_mime_type | @ | outputarea.js:696
  | OutputArea.append_display_data | @ | outputarea.js:659
  | OutputArea.append_output | @ | outputarea.js:346
  | OutputArea.handle_output | @ | outputarea.js:257
  | output | @ | codecell.js:395
  | Kernel._handle_output_message | @ | kernel.js:1196
  | i | @ | jquery.min.js:2
  | Kernel._handle_iopub_message | @ | kernel.js:1223
  | Kernel._finish_ws_message | @ | kernel.js:1015
  | (anonymous) | @ | kernel.js:1006
  | Promise.then (async) |   |
  | Kernel._handle_ws_message | @ | kernel.js:1006
  | i | @ | jquery.min.js:2

Other dataframes in the same ipynb work just fine...it's just ones with timestamps as column headers.  Using BeakerX 1.4.1.

Hi @kenmencher
Can you provide an example(.ipynb) which would help us to reproduce the problem?

See attached ipynb & pickle file...
Archive.zip


Default audio track can't be reselected while playing with AirPlay

Have you read the FAQ and checked for duplicate open issues?
Yes.
What version of Shaka Player are you using?
3.0.7
Can you reproduce the issue with our latest release version?
Yes
Can you reproduce the issue with the latest code from master?
If https://nightly-dot-shaka-player-demo.appspot.com is master, then yes.
Are you using the demo app or your own custom app?
Custom app
If custom app, can you reproduce the issue using our demo app?
Yes, on the https://nightly-dot-shaka-player-demo.appspot.com demo app.
What browser and OS are you using?
macOS 10.15.7/Safari 14.0.2
For embedded devices (smart TVs, etc.), what model and firmware version are you using?
Apple TV 4k is the AirPlay target.
What are the manifest and license server URIs?
https://nightly-dot-shaka-player-demo.appspot.com/demo/#audiolang=en;textlang=en;uilang=en;asset=https://storage.googleapis.com/shaka-demo-assets/angel-one-hls/hls.m3u8;panel=ALL_CONTENT;panelData=HLS;build=uncompiled
What did you do?

Load an HLS clip on the nightly shaka demo app - https://nightly-dot-shaka-player-demo.appspot.com/demo/#audiolang=en;textlang=en;uilang=en;asset=https://storage.googleapis.com/shaka-demo-assets/angel-one-hls/hls.m3u8;panel=ALL_CONTENT;panelData=HLS;build=uncompiled
Start playback on Safari
Start the AirPlay playback on an Apple TV 4k
Change the audio language from English to a non-English track (such as Deutsch) from the Shaka player in Safari (as in, not from the Apple TV remote)
When playback resumes, try to change the audio language back to English (note that this example has two English tracks, but the default audio track appears to be at the bottom, and that's the one I'm attempting to switch back to)

What did you expect to happen?
I expected after switching the audio track to Deutsch, selecting English would switch the audio track to English.
What actually happened?
The audio track remained on Deutsch and did not switch back to English. When playing in Safari without AirPlay, Safari can change back to this track without any issues. If I copy the HLS manifest (https://storage.googleapis.com/shaka-demo-assets/angel-one-hls/hls.m3u8) into a new Safari tab, AirPlay from this player can switch between all audio tracks with no issues.
It's worth noting that when AirPlay-ing our own content on Shaka Player v3.0.7, our content only has one English track, which simplifies reproducing this error. The demo app doesn't support AirPlay on Shaka 3.0.7, as the change that added support is only in master (thus the use of the nightly demo app).
Also, I see some instability in playback on the nightly after switching audio tracks that I'm not seeing in our v3.0.7 app. It gets stuck buffering, from what I can tell. Seeking around the video can "fix" it.
There's also some other weirdness I've seen that may be worth creating their own issue for. Changing languages on the Apple TV do not report the change back, and the variantchanged event doesn't fire (not sure if that's even fixable). Also, I've seen times in the demo player where the video is playing on the Apple TV, but the progress bar in Safari doesn't progress along with it until you interact with the player. I've also seen the player sit after initializing AirPlay, and stays there until you click pause/play (either on the Apple TV or on Safari).

Start the AirPlay playback on an Apple TV 4k

Unfortunately, we don't have an Apple TV we can test with.
Also, it's worth noting here that AirPlay and language changes in Safari are both handled by Safari.  If we're calling some browser method incorrectly, that could cause the changes not to go through to the remote side.  But we don't actually interact with AirPlay directly.
Player's selectAudioLanguage() in src= playback on Safari will use the video element's audioTracks member to find a matching track, then set track.enabled = true to activate it.  So the way we pick a track is dirt-simple.  You may want to debug in selectAudioLanguage() and the private method switchHtml5Track_() to see what selection is made, and how we make it.  If you find an issue with that, please let us know.
The only way I can see that this could go wrong is if:

selectAudioLanguage() chose the wrong track to enable somehow
selectAudioLanguage() couldn't find a match and did nothing

@joeyparrish, I may have narrowed it down. Inside of switchHtml5Track_(), there is an assumption that track.enabled = true; will set all of the other audioTracks enabled value to false. When playing on a MacBook Pro with Safari 14.1, this is a correct assumption. However, while AirPlaying, the other tracks are not set to false leaving the audioTracks array with multiple enabled tracks. If you change the language 4 times to unique languages, you'd have 4 enabled tracks, for example.
In some limited testing on Shaka 3.1.0, changing switchHtml5Track_() to disable the currentTrack did seem to fix it, but I'm not sure if that's going to break other things, if the order of changing enabled matters, or if looping over the entire audioTracks to clean up any track other than the new track is needed.
    // This will reset the "enabled" of other tracks to false.
    track.enabled = true;
    currentTrack.enabled = false; // I added this line

For what it's worth, while debugging, I noticed I had a new AirPlay device on my network, which is a TCL Roku TV. I was able to recreate this behavior when AirPlaying to the TV as well as the Apple TV 4K, so it may be reproducible if you have any AirPlay capable devices.

Joey, I'm still waiting to hear back from my company if I'm allowed to sign the CLA. If it makes sense for you or for someone else to make the change in the meantime, that'd probably be good.
And for what it's worth, I agree, we'd want to be sure that currentTrack != track.


PLACEHOLDER:  Test the FHIR Engine Output of Submitted HL7 File (NOOP)

Acceptance Criteria:

When an HL7 file is submitted it should be put on a queue for the FHIR engine
The FHIR engine takes the file off of the queue and compares it to itself (output should match the input)
This is not running in Prod
Successful smoke test of FHIR Engine


WL-4922 Add option to display nodes in the hierarchy of a site in ent…

…ity broker.

Changes made Matthew, can you check again pls?