Error connecting to the service protocol: No Flutter view is available on Linux.

I am on latest Master branch after using Flutter upgrade I am getting this error
Error connecting to the service protocol: No Flutter view is available on Linux.

zafar@home:~/projects/dart/restock$ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, 1.18.0-9.0.pre.101, on Linux, locale en_US.UTF-8)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[✓] Chrome - develop for the web
[✓] Linux toolchain - develop for Linux desktop
[!] Android Studio (version 2.3)
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
[✓] VS Code (version 1.44.2)
[✓] Connected device (3 available)

! Doctor found issues in 1 category.

Hi @ansarizafar
Can you please give more details? Are you trying app on emulator or devoice?
Is this a Flutter app or existing app with Flutter module?
can you please provide your flutter doctor -v and if Flutter app flutter run --verbose?
Also, to better address the issue, would be helpful
if you could post a minimal code sample to reproduce the problem
Thank you

Are you trying app on emulator or devoice?
Is this a Flutter app or existing app with Flutter module?

I am trying to run a new app on Linux (Ubuntu). I am not using emulator. Here are the commands I am using.
flutter create myapp
flutter run -d Linux

flutter doctor -v
zafar@home:~/projects/dart/restock$ flutter doctor -v
[✓] Flutter (Channel master, 1.18.0-9.0.pre.98, on Linux, locale en_US.UTF-8)
    • Flutter version 1.18.0-9.0.pre.98 at /home/zafar/flutter
    • Framework revision a32c8e84bd (25 hours ago), 2020-05-03 05:54:01 -0400
    • Engine revision e3cb6812ed
    • Dart version 2.9.0 (build 2.9.0-5.0.dev c3ce873556)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /usr/local/opt/android-sdk-linux
    • Platform android-28, build-tools 28.0.3
    • ANDROID_HOME = /usr/local/opt/android-sdk-linux
    • Java binary at: /home/zafar/softwares/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_112-release-b06)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at google-chrome

[✓] Linux toolchain - develop for Linux desktop
    • clang++ 9.0.0
    • GNU Make 4.1

[!] Android Studio (version 2.3)
    • Android Studio at /home/zafar/softwares/android-studio
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_112-release-b06)

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

[✓] Connected device (3 available)
    • Linux      • Linux      • linux-x64      • Linux
    • Web Server • web-server • web-javascript • Flutter Tools
    • Chrome     • chrome     • web-javascript • Google Chrome 76.0.3809.100

! Doctor found issues in 1 category.

flutter run --verbose
zafar@home:~/projects/dart/restock$ flutter run --verbose
[  +16 ms] executing: [/home/zafar/flutter/] git -c log.showSignature=false log -n 1
--pretty=format:%H
[  +67 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] a32c8e84bda53ea763373c6d801cb9a48620c2b2
[   +2 ms] executing: [/home/zafar/flutter/] git tag --contains HEAD
[ +245 ms] Exit code 0 from: git tag --contains HEAD
[   +4 ms] executing: [/home/zafar/flutter/] git describe --match *.*.*-*.*.pre --first-parent
--long --tags
[ +189 ms] Exit code 0 from: git describe --match *.*.*-*.*.pre --first-parent --long --tags
[        ] 1.18.0-8.0.pre-98-ga32c8e8
[  +13 ms] executing: [/home/zafar/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[   +8 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/master
[        ] executing: [/home/zafar/flutter/] git ls-remote --get-url origin
[  +10 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +94 ms] executing: [/home/zafar/flutter/] git rev-parse --abbrev-ref HEAD
[  +15 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] master
[  +86 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +5 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +36 ms] executing: /usr/local/opt/android-sdk-linux/platform-tools/adb devices -l
[  +90 ms] List of devices attached
[  +12 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[  +37 ms] executing: unzip -t -qq
/home/zafar/flutter/bin/cache/downloads/storage.googleapis.com/flutter_infra/flutter/e3cb6812ed6d
a882663fc3d3bfb46464726ee61c/flutter-web-sdk-linux-x64.zip
[  +88 ms] Downloading Web SDK...
[  +19 ms] Downloading:
https://storage.googleapis.com/flutter_infra/flutter/e3cb6812ed6da882663fc3d3bfb46464726ee61c/flu
tter-web-sdk-linux-x64.zip
[+1707 ms] Received response from server, collecting bytes...
[+41474 ms] Downloading Web SDK... (completed in 43.2s)
[        ] executing: unzip -o -q
/home/zafar/flutter/bin/cache/downloads/storage.googleapis.com/flutter_infra/flutter/e3cb6812ed6d
a882663fc3d3bfb46464726ee61c/flutter-web-sdk-linux-x64.zip -d
/home/zafar/flutter/bin/cache/flutter_web_sdk
[ +588 ms] Exit code 0 from: unzip -o -q
/home/zafar/flutter/bin/cache/downloads/storage.googleapis.com/flutter_infra/flutter/e3cb6812ed6d
a882663fc3d3bfb46464726ee61c/flutter-web-sdk-linux-x64.zip -d
/home/zafar/flutter/bin/cache/flutter_web_sdk
[+1532 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[ +128 ms] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +80 ms] More than one device connected; please specify a device with the '-d <deviceId>' flag,
or use '-d
           all' to act on all devices.
[  +79 ms] Linux      • Linux      • linux-x64      • Linux
[   +1 ms] Web Server • web-server • web-javascript • Flutter Tools
[        ] Chrome     • chrome     • web-javascript • Google Chrome 76.0.3809.100
[   +5 ms] "flutter run" took 45,925ms.

#0      throwToolExit (package:flutter_tools/src/base/common.dart:14:3)
#1      RunCommand.validateCommand (package:flutter_tools/src/commands/run.dart:334:7)
<asynchronous suspension>
#2      FlutterCommand.verifyThenRunCommand
(package:flutter_tools/src/runner/flutter_command.dart:776:11)
<asynchronous suspension>
#3      FlutterCommand.run.<anonymous closure>
(package:flutter_tools/src/runner/flutter_command.dart:693:33)
<asynchronous suspension>
#4      FlutterCommand.run.<anonymous closure>
(package:flutter_tools/src/runner/flutter_command.dart)
#5      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:29)
#6      _rootRun (dart:async/zone.dart:1184:13)
#7      _CustomZone.run (dart:async/zone.dart:1077:19)
#8      _runZoned (dart:async/zone.dart:1619:10)
#9      runZoned (dart:async/zone.dart:1539:10)
#10     AppContext.run (package:flutter_tools/src/base/context.dart:149:18)
#11     FlutterCommand.run (package:flutter_tools/src/runner/flutter_command.dart:683:20)
#12     CommandRunner.runCommand (package:args/command_runner.dart:197:27)
#13     FlutterCommandRunner.runCommand.<anonymous closure>
(package:flutter_tools/src/runner/flutter_command_runner.dart:339:21)
#14     _rootRunUnary (dart:async/zone.dart:1192:38)
#15     _CustomZone.runUnary (dart:async/zone.dart:1085:19)
#16     _FutureListener.handleValue (dart:async/future_impl.dart:141:18)
#17     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:686:45)
#18     Future._propagateToListeners (dart:async/future_impl.dart:715:32)
#19     Future._completeWithValue (dart:async/future_impl.dart:526:5)
#20     _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:36:15)
#21     _completeOnAsyncReturn (dart:async-patch/async_patch.dart:303:13)
#22     FlutterVersion.checkFlutterVersionFreshness (package:flutter_tools/src/version.dart)
#23     _rootRunUnary (dart:async/zone.dart:1192:38)
#24     _CustomZone.runUnary (dart:async/zone.dart:1085:19)
#25     _FutureListener.handleValue (dart:async/future_impl.dart:141:18)
#26     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:686:45)
#27     Future._propagateToListeners (dart:async/future_impl.dart:715:32)
#28     Future._completeWithValue (dart:async/future_impl.dart:526:5)
#29     Future._asyncCompleteWithValue.<anonymous closure> (dart:async/future_impl.dart:560:7)
#30     _rootRun (dart:async/zone.dart:1184:13)
#31     _CustomZone.run (dart:async/zone.dart:1077:19)
#32     _CustomZone.runGuarded (dart:async/zone.dart:979:7)
#33     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1019:23)
#34     _microtaskLoop (dart:async/schedule_microtask.dart:43:21)
#35     _startMicrotaskLoop (dart:async/schedule_microtask.dart:52:5)
#36     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118:13)
#37     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:169:5)

I think the issue is related to hot reload as the app runs without error If I use --no-hot option. I don't want to use emulator on my machine, A quick fix is badly needed.

@jonahwilliams you think this could be fixed by https://github.com/flutter/flutter/pull/56387 and friends?

Yes, this should be fixed as of 9b7b9d795edfdd12c6ad8dd6495bed789c1bac05. @ansarizafar it would be super helpful if you could checkout this version and verify.

An FYI, I used flutter run -d pixel to test an app on my Pixel 3a and ran into a similar problem:
$ flutter run -d pixel
Launching lib/main.dart on Pixel 3a in debug mode...
Running Gradle task 'assembleDebug'...
Running Gradle task 'assembleDebug'... Done                         3.9s
✓ Built build/app/outputs/flutter-apk/app-debug.apk.
Installing build/app/outputs/flutter-apk/app.apk...                 7.2s
Error connecting to the service protocol: No Flutter view is available on Pixel 3a.

I pulled in the latest master branch and retested and it worked:
$ flutter run -d pixel
Launching lib/main.dart on Pixel 3a in debug mode...
Running Gradle task 'assembleDebug'...
Running Gradle task 'assembleDebug'... Done                         2.6s
✓ Built build/app/outputs/flutter-apk/app-debug.apk.
Waiting for Pixel 3a to report its views...                         10ms
Syncing files to device Pixel 3a...                                291ms

Flutter run key commands.
r Hot reload. 🔥🔥🔥
R Hot restart.
h Repeat this help message.
d Detach (terminate "flutter run" but leave application running).
c Clear the screen
q Quit (terminate the application on the device).
An Observatory debugger and profiler on Pixel 3a is available at: http://<IP_ADDRESS>:33659/AiRaEubv-hE=/

Thanks @winksaville !

@jonahwilliams I confirm its working now. Thanks for the quick fix.

Thanks all, sorry for the trouble!
Fixed by  #56387


Added Carthage Support

Removed last remnants of Result framework. Removed BrightFutures project in the workspace as it's provided by carthage already built. Added carthage copy-frameworks scripts so it will pull in the correct carthage provided BrightFutures framework for each platform.

Codecov Report

Merging #101 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #101   +/-   ##
=======================================
  Coverage   94.62%   94.62%
=======================================
  Files          46       46
  Lines        1543     1543
=======================================
  Hits         1460     1460
  Misses         83       83

Continue to review full report at Codecov.

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

@wmcginty / @tylermilner - Between the two travis builds all platforms build and pass. 😄 Plus the previous build passed and I only updated the README. Is there a way to rebuild? Or is it good to go?

There should be a way - if you go to the 'details' of the build - then the top right should have a 'restart build' button.

@wmcginty / @tylermilner We're passing now. Good for review.


MB Cluster test cases

Purpose
Automate cluster test case scenarios for kill, shutdown, start, restart functionalities
Goals
Make sure the broker node functionalities work properly in the cluster environment

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

This repository is no longer maintained.
Issue reports and pull requests will not be attended.


[Merged by Bors] - feat: 0 < fract a ↔ a ≠ ⌊a⌋

Match https://github.com/leanprover-community/mathlib/pull/18317

bors merge

Oh wait, the SHA was not updated, was it?


mediainfo crash

program version: MediaInfo_GUI_0.7.83_Windows.exe
OS version: Microsoft Windows 10 Enterprise 64-bit (10.0.10586)
issue:
MediaInfo constantly crashes. Sometimes, upon system restart, it will work for 30 seconds before crashing. After this, any launch of the program will result in an immediate crash (whether starting the executable or starting from the context menu of a media file). I have reinstalled the application several times. The only window displayed is this:

Compatibility modes in Windows do not fix this issue. Running the program as administrator does not fix this issue.
I can't find a crash log in MediaInfo's program folder and don't know how to debug it. From the symptoms it seems like conflict with another program, but I have no way of knowing what application that could be. I do have Corsair Link, MSI Afterburner & D3DGear installed, as well as Nvidia Graphics Drivers and the Geforce Experience software.

this has not been fixed with v0.7.84
still crashes extremely often whenever opened. any way to trace?

For the moment, I don't have more reports about stability issues like this one, looks like "local" to this machine, so I (the main developer) don't plan to debug it for the moment.
In case there are more people with this issue, I'll implement some debug functionalities (there is nothing for debugging such random crash for the moment)


Apply labels to GH issues based on AI scan results

Minimal working GH App that creates and applies labels based on the "entity detection" scan results from the Azure AI Language service. Adds the GitHub ClientManager type and associated methods in a new golang package ("pkg/client/gh"). Reworks existing code to use the ClientManager in place of the githubapp.ClientCreator, which is ClientManager implements.

Testing a comment just for fun.


Make linter rules of strict compile time checks?

Since we'll be depending on OPA anyway, it would be useful to include all of the strictness checks from OPA but in the form of linter checks. These would naturally not be described in Rego, but would be displayed as other linter violations without requiring the use of another command (opa check, opa eval, ...) and would have links back to our documentation portal like the other linter rules do.

Given how most of the strict checks will be made default in OPA 1.0, I don't think there's any point in having them included in Regal at this point. The two rules that will remain checked only in strict mode are "unused imports" and "unused local assignment". While I would like to have both of those included as Regal linter checks, the API for the OPA compiler wrt strictness checks currently leaves a lot to be desired (as previously mentioned).
I doubt that these two rules have dependencies among them (i.e. that unused local assignment depends on the unused imports check) so perhaps they could be made independent checks exposed via some API. But until that day, this is on hold.

Reading this blog helped me understand that making compilation mandatory / opt-out would mean Regal would fail on many policies we're currently able to lint.

Finally, regarding the linter, although a syntax check command called opa check is provided as standard, there are issues with the Rego code executed with Conftest provided by OPA , such as errors occurring when using Conftest's own parse_config function because the syntax cannot be understood.

The reason opa check fails here is of course the custom built-in the command is unaware of. regal lint won't care about that though as long as we're able to parse the file. Both commands allow providing capabilities to help with this, but that's not likely an option new users will be aware of.
This makes me think compilation should be opt-in for regal lint. The language server OTOH should probably make it opt-out, as these are errors most would likely want to have surfaced in their editor without having to run external commands, "check on save", or whatnot.
Either way, in order for us to provide compilation even as an optional feature, we'll most likely need to look into configuration options for defining multiple bundle roots, rather than assuming that we can treat the whole workspace as a bundle.


Added the CORTX workspace count

Signed-off-by: Venkatesh K<EMAIL_ADDRESS>Describe your changes in brief
Changes

[ ] Why is this change required? What problem does it solve?
[ ] If proposing a new change then please raise an issue first

How Has This Been Tested? (Optional)

[ ] Please describe in detail how you tested your changes.
[ ] Include details of your testing environment, and the tests you ran to
[ ] How your change affects other areas of the code, etc.

Screenshots (if appropriate)
Checklist

[ ] tested locally
[ ] added new dependencies
[ ] updated the docs
[ ] added a test

@venkuppu-chn , I can't merge this because there are conflicts in the pickle which can't be resolved using the GUI.  Can you please resolve the conflicts and fix this PR?  Sorry for the hassle.

@venkuppu-chn, do resolve the conflicts

@venkuppu-chn, do resolve the conflicts,

I'm closing this PR as I've created new PR as mentioned below.
https://github.com/Seagate/cortx/pull/902


[HELP] Running Cilium in k3d (bpf-mount)

What did you do

How was the cluster created?

k3d cluster create test --k3s-server-arg="--flannel-backend=none"

What did you do afterwards?

From here: https://docs.cilium.io/en/v1.8/gettingstarted/kind/
helm install cilium cilium/cilium --version 1.8.3 \
   --namespace kube-system \
   --set global.nodeinit.enabled=true \
   --set global.kubeProxyReplacement=partial \
   --set global.hostServices.enabled=false \
   --set global.externalIPs.enabled=true \
   --set global.nodePort.enabled=true \
   --set global.hostPort.enabled=true \
   --set config.bpfMasquerade=false \
   --set global.pullPolicy=IfNotPresent \
   --set config.ipam=kubernetes

Or from here: https://docs.cilium.io/en/v1.8/gettingstarted/k3s/
kubectl create -f https://raw.githubusercontent.com/cilium/cilium/v1.8/install/kubernetes/quick-install.yaml

Error:
kubectl describe pod -nkube-system cilium-5hq8g
kubelet, k3d-test-server-0  Error: failed to generate container "90be1c0c5cf1ed67b8529b5112e1411c22b0a4c86e087442f0873c173a2deb46" spec: path "/sys/fs/bpf" is mounted on "/sys" but it is not a shared or slave mount

What did you expect to happen
Cilium install should become healthy (it works in k3s: https://docs.cilium.io/en/v1.8/gettingstarted/k3s/)
Which OS & Architecture

MacOS 10.15.6

Which version of k3d
$ k3d version
k3d version v3.0.0
k3s version latest (default)

Which version of docker
$ docker version
Client: Docker Engine - Community
 Azure integration  0.1.15
 Version:           19.03.13-beta2
 API version:       1.40
 Go version:        go1.13.14
 Git commit:        ff3fbc9d55
 Built:             Mon Aug  3 14:58:48 2020
 OS/Arch:           darwin/amd64
 Experimental:      true

Server: Docker Engine - Community
 Engine:
  Version:          19.03.13-beta2
  API version:      1.40 (minimum version 1.12)
  Go version:       go1.13.14
  Git commit:       ff3fbc9d55
  Built:            Mon Aug  3 15:06:50 2020
  OS/Arch:          linux/amd64
  Experimental:     true
 containerd:
  Version:          v1.2.13
  GitCommit:        7ad184331fa3e55e52b890ea95e65ba581ae3429
 runc:
  Version:          1.0.0-rc10
  GitCommit:        dc9208a3303feef5b3839f4323d9beb36df0a9dd
 docker-init:
  Version:          0.18.0
  GitCommit:        fec3683

docker info
Client:
 Debug Mode: false
 Plugins:
  app: Docker Application (Docker Inc., v0.8.0)
  buildx: Build with BuildKit (Docker Inc., v0.3.1-tp-docker)
  scan: Docker Scan (Docker Inc., v0.3.3)

Server:
 Containers: 4
  Running: 3
  Paused: 0
  Stopped: 1
 Images: 25
 Server Version: 19.03.13-beta2
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Native Overlay Diff: true
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 7ad184331fa3e55e52b890ea95e65ba581ae3429
 runc version: dc9208a3303feef5b3839f4323d9beb36df0a9dd
 init version: fec3683
 Security Options:
  seccomp
   Profile: default
 Kernel Version: 4.19.76-linuxkit
 Operating System: Docker Desktop
 OSType: linux
 Architecture: x86_64
 CPUs: 4
 Total Memory: 5.811GiB
 Name: docker-desktop
 ID: V4NV:VJJA:NWL6:JSNI:4XLR:5R2M:CCCY:MMV6:476A:TCM5:4BOO:2YYT
 Docker Root Dir: /var/lib/docker
 Debug Mode: true
  File Descriptors: 69
  Goroutines: 80
  System Time: 2020-09-30T22:07:53.2873526Z
  EventsListeners: 4
 HTTP Proxy: gateway.docker.internal:3128
 HTTPS Proxy: gateway.docker.internal:3129
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: true
 Insecure Registries:
  <IP_ADDRESS>/8
 Live Restore Enabled: false
 Product License: Community Engine

Hi, thanks for opening this issue :+1:
What you're experiencing here is not actually a bug in k3d, but rather caused by the fact, that you're running k3s inside a container, which is not exactly the same as running it plain on the host.
I guess the step that's affecting you is this one: https://docs.cilium.io/en/v1.8/gettingstarted/k3s/#mount-the-bpf-filesystem
What you could try to solve it, is creating your cluster with a bind-mount of /sys or just /sys/fs/bpf, like e.g. k3d cluster create test --k3s-server-arg="--flannel-backend=none" --volume /sys/fs/bpf:/sys/fs/bpf (Note: this may require you to run k3d as root).

@iwilltry42 Thanks for looking into this. The install should work without mounting (for non-production use-case), it will get auto-mounted when cilium pod is started.
I am also on a mac, don't know if that could work (I also tried just in case and the error is the same).
The cilium install works out of the box with kind, so I expected for k3s to also work.

I diffed docker insect of both clusters, could this difference be the cause?
"seccomp=unconfined",
"apparmor=unconfined",

I diffed docker insect of both clusters, could this difference be the cause?
"seccomp=unconfined",
"apparmor=unconfined",

Nice finding!
I'm not 100% familiar with those settings, but from what I see in kind's code, it could very well be... Let me create a test release that you can test with :+1:

Sorry @iwilltry42, this is not it, might be needed but does not solve the current issue.
Started investigating now, might be the issue with the base image (k3s), will share the results.

@arjantop-cai , damn.. but it was worth a try :thinking:
Thanks for investigating :+1:

Shouldn't it be: --volume /sys/fs/bpf:/sys/fs/bpf:shared ? like in the csi case?

@blaggacao I don't think its that simple, I am running on a mac, there is no /sys/fs/bfp, if I mount anything (with docker for mac) it will try to mount from the host machine, not from linux VM that docker is running in.
If I run the command it (as expected) does not work, but now already fails during k3d startup, not when installing cilium:
WARN[0000] Failed to stat file/directory/named volume that you're trying to mount: '/sys/fs/bpf' in '/sys/fs/bpf:/sys/fs/bpf:slave' -> Please make sure it exists
ERRO[0001] Error response from daemon: path /sys/fs/bpf is mounted on /sys but it is not a shared or slave mount

Oh, sorry, I overlooked you where working on a Mac. In sone time from now I might be conducting experiments with cillium as well on linux. So I might come back with more insight.

After doing some quick research, I'm afraid we won't be able to resolve this properly on k3d side.
Please check out https://github.com/cilium/cilium/issues/10516 and consequently https://github.com/docker/for-mac/issues/4454

Hey,
I've been able to fix the k3d issue like this:
k3d cluster create foo --agents 1 \
    --k3s-server-arg "--disable=servicelb" --k3s-server-arg "--disable=traefik"  --no-lb \
    --k3s-server-arg "--disable-network-policy" --k3s-server-arg "--flannel-backend=none" \
     --k3s-agent-arg "--no-flannel"

docker ps

docker exec -it k3d-foo-agent-0 mount bpffs /sys/fs/bpf -t bpf
docker exec -it k3d-foo-agent-0 mount --make-shared /sys/fs/bpf

docker exec -it k3d-foo-server-0 mount bpffs /sys/fs/bpf -t bpf
docker exec -it k3d-foo-server-0 mount --make-shared /sys/fs/bpf

Then, it does not fail anymore with the problem of accessing the bpf FS. It does not run through yet; but maybe it helpf anybody else :)
All the best,
Sebastian

Hey @iwilltry42 @arjantop-cai @blaggacao ,
I figured out how you can run Cilium with k3s / k3d on docker for mac. See https://sandstorm.de/de/blog/post/running-cilium-in-k3s-and-k3d-lightweight-kubernetes-on-mac-os-for-development.html for the full explanation :-) Feel free to re-use the content for your documentation or so :-)
All the best,
and keep up the great work,
Sebastian

@skurfuerst So the only reason why it is not working is that image does not have bash installed?
Should k3d base image have it installed for compatibility?

@arjantop-cai IMHO that would help, but AFAIK this is the k3s image, not the k3d image. And this is based on Busybox; so it might be more difficult to use Bash here.
IMHO it would actually be better to rewrite the Script on the Cilium side to only use /bin/sh. The script is quite simple, and AFAICS no bash features are used there.
All the best,
Sebastian

Hey @skurfuerst great work! Thanks for sharing your insights and the content!
I'd love to accept a PR for the docs on k3d.io, if you want to share something there :)

Hey @skurfuerst great work! Thanks for sharing your insights and the content!
I'd love to accept a PR for the docs on k3d.io, if you want to share something there :)


Add RichText Widget implementation

RichText Widget implementation needs to be added to the Widget Catalog. Make sure that it is properly implemented under the Implementation tab and try to showcase all its properties. Description of the widget also needs to be added under the Description tab. Please share the screenshots of your work once done.

I would like to take this up.

I would like to take this up.

Sure, good luck!

The PR for this issue is https://github.com/ACM-VIT/fludget/pull/60


Don't Merge! PR real time test for webhook case

Docs Build status updates of commit 0f0adc1:
:clock10: Pending: waiting for processors (18 builds ahead of you)
:warning: Docs Build is busy, currently there are 18 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit 0f0adc1:
:clock10: Full build: the average full build time is 7 min(s) 49 sec(s), this is based on the last 30 build(s) for this repository.

Docs Build status updates of commit 0f0adc1:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-conceptual/testing.md
:white_check_mark:Succeeded
View (azure-cli-latest) View (azure-cli-2017-03-09-profile) View (azure-cli-2018-03-01-hybrid)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Issue with Armor Class import

Hi Zach,
Apparently there is an issue with the armor class import, someone posted about it here:
https://www.reddit.com/r/Pathfinder2e/comments/q4dxfn/foundry_pathfinder_2e_module_update_messed_up_acs/
Thanks!
Dave

I think this was fixed a while back. Either way, it's not currently relevant so I'll close this out for now.


Need to make Store REST API errors customizable

Description:
When extension points in WSO2 API Manager are used, there are situations where error response codes and error messages are required to be customized depending on the error thrown in the custom extension implementation.
This can be done by extending the GlobalThrowableMapper class when using the REST API.
When using the Store REST API, when Internal server errors are encountered, we need to have a proper way to backtrack the original exception/error thrown.
In the current implementation, a generic Internal server error is passed to the GlobalThrowableMapper level when such exceptions are thrown. This makes it impossible to track the original exception from the extended GlobalThrowableMapper.
Requirements :

We should have a mechanism to pass the original error message to the GlobalThrowableMapper level.
All exceptions extending the WebApplicationException class does not go through the GlobalThrowableMapper when handling errors. Ex: MethodNotAllowedException, InternalServerErrorException etc. Hence if an Exception is required to be caught by the GlobalThrowableMapper, it shouldn't extend WebApplicationException. Unless we will need to specifically configure the selection order of the ExceptionMappers through a property in beans.xml.

Affected Product Version:
APIM 2.1.0

Closing this issue since this has been improved in latest versions of APIM.


Update coursier to 2.0.0-RC6-4

And warn at start-up if ~/.coursier/cache is found (see the discussion in https://github.com/coursier/coursier/pull/1691 and https://github.com/coursier/sbt-coursier/pull/222).

Just wanted to know, is a new release of sbt in the works? I'd love for more people to get the new warning, prior to cutting coursier 2.0.0 final. And users will likely get this warning via a new release of sbt if they don't use the coursier CLI.

I'll work on 1.3.11 soon. I need to make a few more fixes, but hopefully this week?

Cool, that would work! I'll probably release a new lm-coursier version in the mean time.


Make sure build_doc only builds target version

build_doc attempts to try building the passed version as well as master, resulting in two builds.
The target of this script is to build only exactly one version - the passed tag OR the master. The current design is not able to handle multiple builds as "make docs" pollutes the directory. While it might be feasible to clean it up, I don't think it's necessary because this script only build the target version and nothing else.

Due to this being a release blocker, I'm executing a self merge


svtplay-dl: 1.9.11 -> 2.1

Bump

Success on aarch64-linux (full log)
Attempted: svtplay-dl
Partial log (click to expand)
/nix/store/fxh66i14dkkz5qy16wpsq3b98nwysgj6-svtplay-dl-2.1

Success on x86_64-linux (full log)
Attempted: svtplay-dl
Partial log (click to expand)
mv -f lib/svtplay-dl .
install -d /nix/store/0v4mgasb8yqalpn3vkyiwbavsbw3zq8a-svtplay-dl-2.1/bin
install -m 755 svtplay-dl /nix/store/0v4mgasb8yqalpn3vkyiwbavsbw3zq8a-svtplay-dl-2.1/bin
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/0v4mgasb8yqalpn3vkyiwbavsbw3zq8a-svtplay-dl-2.1
strip is /nix/store/vcc4svb8gy29g4pam2zja6llkbcwsyiq-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/0v4mgasb8yqalpn3vkyiwbavsbw3zq8a-svtplay-dl-2.1/bin
patching script interpreter paths in /nix/store/0v4mgasb8yqalpn3vkyiwbavsbw3zq8a-svtplay-dl-2.1
checking for references to /build in /nix/store/0v4mgasb8yqalpn3vkyiwbavsbw3zq8a-svtplay-dl-2.1...
/nix/store/0v4mgasb8yqalpn3vkyiwbavsbw3zq8a-svtplay-dl-2.1


[ENH] Clarify that BIDS specification is in American English

"Explicit is better than implicit." and the question of the spelling and syntax does come up from time to time, and ATM I observe BEPs prepared by European Colleagues are using British English in their documents.
Making it explicit would help to minimize possible tensions and required later work to prepare contributions into acceptable state.
I placed it first in the common principles since IMHO it is the shortest and most "basic" principle to agree upon before going into which words to use etc.

Was this agreed by the SC? Could we get one more approval @guiomar @robertoostenveld @CPernet?
Along with #1444, it seems these could go in either the spec or the contributing guide. I'm slightly in favor of having spec-writing "principles" in the contributing guide as they have no effect on the interpretation of the spec or a dataset, but I would not attempt to block this.

''I observe BEPs prepared by European Colleagues are using British English in their documents.'' yeh, if that was up to me I take British anytime ... but since you guys have way more contribution and besides India, the rest of Asia uses American English I guess you win -- SC has not discuss it, but it has my vote, so just need one more

I have a crazy suggestion: can we have it in both? (I usually don't like duplication but I may make an exception for this one.)

I would vote strongly against transfer since that would invalidate the purpose of formalizing the language of the specification (as we have already for some special WORDS), and would vote "ok" for both.


"display_name" overwrites language files.

The "Display Name" Item Component causes language file overwrites resulting in other language files not being able to load Item Names in the write Language.

lmao this was fixed but forgot to close


If my string contains '' it skips translation?

Thank you for a great plugin.
I have problems with some of my translations being skipped. All my strings where the string contains "yada the translations just defaults to the original html.
Do you have any idea why this is happening? Can the class parameter not come before the href parameter, could this affect things?
Please let me know if you need more information.
I hope you can help. Thanks!

Sorry. It just escaped my html. It was supposed to say:
All my strings where the string contains an a href with a class:
link
it skips the translation. I have seemed to find that it is overtime there is a class in the a href inside the string, then it skips translation.
I would love your input. Thanks :)

Hey @maggerbo, happy to help. Any chance you're able to provide a repo url or test case?

https://bitbucket.org/Aggerbo/smartplan-international - it's the features/translation branch.
To come around the problem I had to extract  tags as well. My problem with this is that my  tags are often inside  tags, this means the translation extracts the same thing twice.
I really appreciate your help! Thanks!

A great example of this is in the contact.html. There is a string that says:

Smartplan is free for the first 30 days, no credit card or contracts needed. This easy to use scheduling software is used every day around the world by bars, shops, security companies and many more. If you have any questions, feel free to contact us here.

This string isn't translated because of the here inside the string.
I hope this makes sense...

Hey @bitjson ,
Just wanted to check in to hear if you had the chance to have a look at this?
Please let me know if I'm unclear or if I can do anything! Any help is appreciated! :)

Hi @maggerbo, sorry for silence. I just checked out the project to take a look – it seems like that string is being extracted for localization now (hash 01cf6033)? Did you manage to figure out the issue?
If not, it would be great if we could boil the issue down to a single test case for s18n. For quick testing, you might want to try the s18n CLI example. If you could paste an original.html and the relevant extract options here to reproduce, I can write a test and try to get it passing. Thanks!


add info about Deconvolution networks

https://handong1587.github.io/deep_learning/2015/10/09/visulize-cnn.html
video:
https://ipam.wistia.com/medias/zd0qnekkwc
presentation:
https://mathinstitutes.org/videos/videos/3295

Thanks!


chore(main): release 0.2.1

:robot: I have created a release beep boop
0.2.1 (2024-08-16)
Bug Fixes

support private ecr registry validation with a per rule aws env vars (#268) (42a5610)

Other

only add auth and pubkeys when they're not empty (#260) (5b21888)

Dependency Updates

deps: update github.com/awslabs/amazon-ecr-credential-helper/ecr-login digest to d4ae6cf (#265) (1c4f7f2)
deps: update module github.com/validator-labs/validator to v0.1.3 (#258) (4161664)
deps: update module github.com/validator-labs/validator to v0.1.5 (#263) (a5fc455)
deps: update module sigs.k8s.io/cluster-api to v1.8.0 (#261) (9847a0a)
deps: update module sigs.k8s.io/controller-runtime to v0.18.5 (#262) (e2f73a2)
deps: update module sigs.k8s.io/controller-runtime to v0.19.0 (#267) (eaa40aa)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v0.2.1
:sunflower:


Add preview gif to README.md

As a new user I want to see an example of the components directly within the README.md


Avoid accidental clashes between names in grammar and infrastructure

Items in an alternative may be named, and the names may be referenced in actions. But there are some "forbidden" names. E.g. don't name an item p, because (when generating C code) every rule parsing function has an argument named p. There are other possible name clashes too: res and mark are always local variables. And there are many helper functions, with names like is_memoized or singleton_seq. And of course anything that's a C reserved word (e.g. if) cannot be used either. Also there are systematic generated names like *_var, *_type and *_rule.
It's easy to rename p, mark and res in the generated code to start with an underscore (by convention, rule names don't start with _, and maybe we should make this a hard requirement). I'm not sure we need to worry about the others, though we may have to warn about them in the docs.
When generating Python code there are other possible clashes, e.g. self, mark and cut. We can handle these the same way.

Moved to https://github.com/we-like-parsers/cpython/issues/125.


Add the createDependency parameter to ModalRoute.of

Added createDependency parameter to ModalRoute.of, which allows developer to freely choose to use dependOnInheritedWidgetOfExactType or getElementForInheritedWidgetOfExactType to obtain ModalRoute.
Releated issue:

https://github.com/flutter/flutter/issues/145387
https://github.com/flutter/flutter/issues/145136

Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is test-exempt.
[x] I followed the breaking change policy and added Data Driven Fixes where supported.
[x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@goderbauer Hello, will you continue to review it?
If you do not accept the changes in this PR, can you please indicate how to solve unnecessary rebuild caused by use ModalRoute.of(context)?.settings.arguments? This is very important to us, thank you!

@goderbauer How does it look? This issue is kinda blocking our update of flutter.

@goderbauer Hello, will you continue to review it?
If you do not accept the changes in this PR, could you please indicate how to solve unnecessary rebuild caused by use ModalRoute.of(context)?.settings.arguments? This is very important to us, thank you!

Have you found any other solution yet?

Have you found any other solution yet?

@ioma8 We temporarily solve this issue by modifying the flutter source code.
# Enter your local flutter directory
cd /Users/lxf/fvm/versions/3.19.3

# Download patch
curl -O https://raw.githubusercontent.com/LinXunFeng/flutter_assets/main/patch/01_rollbak_3_19_routes_change/0001-Roll-back-changes-to-routes.dart.patch

# Apply patch
git apply 0001-Roll-back-changes-to-routes.dart.patch

Related article: Flutter - 升级3.19之后页面多次rebuild？🤨

This issue is blocking us to upgrade to Flutter 3.19.x
The widget tree rebuild issue make performance terrible. @goderbauer Can you continue to review it or put another solution to this issue.

My temporary solution: replace all instances of ModalRoute.of(context) with MyModalRoute.of(context).
/// replace ModalRoute.of(context)
class MyModalRoute {

  static ModalRoute<dynamic>? of(BuildContext context) {
    ModalRoute<dynamic>? route;
    context.visitAncestorElements((element) {
      if(element.widget.runtimeType.toString() == '_ModalScopeStatus') {
        dynamic widget = element.widget;
        route = widget.route as ModalRoute;
        return false;
      }
      return true;
    });
    return route;
  }
}

Close when no one care about this issue =)). LOL

真的没人在乎么，我很在乎呀，我这个该死的强迫症

My temporary solution: replace all instances of ModalRoute.of(context) with MyModalRoute.of(context).
/// replace ModalRoute.of(context)
class MyModalRoute {

  static ModalRoute<dynamic>? of(BuildContext context) {
    ModalRoute<dynamic>? route;
    context.visitAncestorElements((element) {
      if(element.widget.runtimeType.toString() == '_ModalScopeStatus') {
        dynamic widget = element.widget;
        route = widget.route as ModalRoute;
        return false;
      }
      return true;
    });
    return route;
  }
}

It is working for me. Thanks for the temporary solution.

runtimeType

Is there also a solution when the code is obfuscated? Since the _ModalScopeStatus class is renamed by obfuscation this check doesn't work on an obfuscated release build.

This PR should be reopened.


Fix dnvm use using same temp file

@pakrym @dougbu @pranavkm

:shipit:

Shouldn't you be updating dnvm?

+1 to @pranavkm's comment. Home has the rc1-15532 version of dnvm.ps1 while Universe is back at rc1-15523 and lacks a few real fixes. So it's time for a Universe update anyhow.
That said, this looks like the correct fix for the CI concurrency problem.

Moving to dnvm


The ability to configure custom plant placement

Been loving this mod so far but is it possible to configure the way the plant is placed? I'd like to make a custom seagrass but I prefer it to stay still on the same spot each time I place it like vanilla's seagrass. Greenery's custom plants get placed on random spots like flowers.

Do you mean with bonemeal?

Here's a comparison between Subaquatic's Seagrass and Greenery's Watermilfoil. The placement is more random on the right and I was wanting to make it more like Subaquatic on the left.

While agree with the ability to change it for maximum customization; wouldn't it actually look better if Subaquatic added the ability for block offset to make plants look more organic?

Ah, this. I can easily add a configuration for that.

In v4.6, add "hasOffset": false to the submerged plant .json configs to disable and then run /greenery reload.
The blocks must be updated to take effect, though.

Wonderful! Thank you for the swift response!


Formatting stops working with specific code structure

VS Code
rustlang.rust v0.3.1051
The following code does not format (using the format command has no effect).
Removing the println line completely seems to make the code format again.
Is this a bug within rustfmt?
use std::thread;

enum Switch1 {
    Option1,
    Option2,
}

enum MassiveSwitch {
    Cmd1,
}

struct Worker {
    id: i32,
}

impl Worker {
    pub fn start(self) {
        let switch: MassiveSwitch = MassiveSwitch::Cmd1;
        let switch1 = Switch1::Option1;

        let _ = thread::Builder::new()
            .name(format!("Worker {}", self.id))
            .spawn(move || {
                if true {
                    match switch1 {
                        Switch1::Option1 => match switch {
                            MassiveSwitch::Cmd1 => {

                                // TODO: the white lines here should be deleted by rustfmt on save (or format command)
                                // TODO: removing this line causes rustfmt to work again. Commenting it out doesn't work, have to delete the line complete to get rust fmt to work
                                println!("Shard worker {}: received shutdown signal, exiting loop...", 5);

                                let test = "test";
                            }
                        },
                        Switch1::Option2 => todo!(),
                    }
                }
            })
            .expect("Can't spawn");
    }
}

fn main() {
    let worker = Worker { id: 3 };

    worker.start();
}

Hi @l3utterfly Thanks for reaching out. If you're on nightly you can try setting version=Two or format_strings=True. I just checked and both options should allow rustmt to format the println! call vertically.
The issue is that the nested println! call exceeds the default max line width of 100. You can try setting the max width to some sufficiently large value like 110, and rustfmt will then be able to reformat the code.
I'm pretty sure this is a duplicate of #3416, and #3863

Thank you, this works now

I'm glad to hear that! Out of curiosity, which approach did you take to resolve your issue?

I used both. I changed "max_width" to 200 which is about my editor screen length. But I still have some strings which are even longer than that, so had to add the "format_strings" flag as well.

Incidentally, I need to set version=Two AND format_strings=True to get it to work

Got it! I'm glad that we were able to find a solution for your issue!


[BUG] S3SingleDriverLogStore.listFrom takes a long time for large _delta_logs

Bug
Describe the problem
Reading from a Delta table with a large Delta log takes a long time using S3SingleDriverLogStore. When calculating a snapshot of a Delta table S3SingleDriverLogStore will list all files within the _delta_log key prefix. This can be expensive for Delta logs with many commits. This frequently happens when a streaming job is writing to a table.
To keep reads and writes fast the Delta Log Protocol creates checkpoints of the delta log, typically every 10th commit. To calculate a snapshot of a Delta table we look at the latest checkpoint, together with the commits which have happened since the latest checkpoint. This is done using the listFrom(path: Path) method of the LogStore interface. However, the existing implementation of listFrom in the S3SingleDriverLogStore will list all keys within the _delta_log prefix, and filter the result to only include lexicographic greater keys, see https://github.com/delta-io/delta/blob/fab016e874532cad4de17f1077dbdc860548be9a/storage/src/main/java/io/delta/storage/S3SingleDriverLogStore.java#L228. Listing the entire directory can be time consuming when the table contains many commits.
It is possible to avoid listing all keys under a given key prefix by using the startKey parameter of the S3 ListObjects V2 API. We have applied a patch with this fix in https://github.com/jkylling/delta/commit/ec998ee9bc62b65c0f4be5ae8f38a5c5753b443c.
For the sample tables we tested the patch with this brought the read time down from 20-30 seconds to around 5 seconds with some occasional reads at 15 seconds. The reads at 15 seconds seemed to be related to processing of new checkpoints, as we were streaming to the tables at the same time as we were reading.
I have not tested this for the other LogStore implementations, but by looking at the code they seem to be affected by the same issue.
Steps to reproduce

Create delta table
Read from the delta table, note time
Fill delta log with files (either junk or real commits)
Read from delta table, note time

The below tests can be used for the above steps. See also this commit.
  val bucket = "s3a://your-s3-bucket"

  test("1. create table") {
    spark
      .sparkContext
      .hadoopConfiguration
      .set(
        "fs.s3a.aws.credentials.provider",
        "com.amazonaws.auth.profile.ProfileCredentialsProvider"
      )

    spark.sql(s"CREATE TABLE delta_log_performace_test1 (value LONG) USING DELTA LOCATION '${bucket}_0'").collect()
    spark.sql(s"CREATE TABLE delta_log_performace_test1 (value LONG) USING DELTA LOCATION '${bucket}_1'").collect()
    spark.sql(s"CREATE TABLE delta_log_performace_test2 (value LONG) USING DELTA LOCATION '${bucket}_2'").collect()
  }

  test("2. fill bucket 2 _delta_log with garbage") {
    println(
      s"""
        |# In a shell run:
        |for i in {1..100000}; do touch .$$i.txt; done
        |aws s3 cp . ${bucket.replace("s3a://", "s3://")}_2/_delta_log/ --recursive
        |""".stripMargin)
  }

  test("3. time selects") {
      spark
        .sparkContext
        .hadoopConfiguration
        .set(
          "fs.s3a.aws.credentials.provider",
          "com.amazonaws.auth.profile.ProfileCredentialsProvider"
        )

    spark.sql(s"select * from delta.`${bucket}_0`") // warmup

    val start0 = System.currentTimeMillis()
    spark.sql(s"select * from delta.`${bucket}_1`")
    println(s"d1 = ${System.currentTimeMillis() - start0}")

    val start1 = System.currentTimeMillis()
    spark.sql(s"select * from delta.`${bucket}_2`")
    println(s"d2 = ${System.currentTimeMillis() - start1}")
    }

A sample run of the "time selects" tests gives
d1 = 1955
d2 = 12034

That is, reading identical tables takes 10 seconds longer when the delta log contains more files. The same happens if the delta log contains commits instead of junk files.
After applying the patch to S3SingleDriverLogStore we get
d1 = 1922
d2 = 1938

Observed results
Reading from a Delta table with many files takes a really long time.

Expected results
Reading from a Delta table with a _delta_log with many files should take the same amount of time as reading from a _delta_log with few files. That is, the time to get a snapshot should not be proportional to the number of files in the _delta_log.

Further details
The issue can be partially mitigated by setting the delta.stalenessLimit option to a large value. However, I believe the write path would still be affected by this issue, as it seems to force an update of the snapshot before every write.
The same issue can be observed on a local file system by filling the _delta_log directory with junk (or several commits). This issue might affect all LogStores with naive implementations of listFrom.

Environment information

Delta Lake version: 1.3.0
Spark version: 3.2.1
Scala version: 2.12

Willingness to contribute
The Delta Lake Community encourages bug fix contributions. Would you or another member of your organization be willing to contribute a fix for this bug to the Delta Lake code base?

[ ] Yes. I can contribute a fix for this bug independently.
[x] Yes. I would be willing to contribute a fix for this bug with guidance from the Delta Lake community.
[ ] No. I cannot contribute a bug fix at this time.

I would be happy to contribute to get this issue fixed.The suggested patch might need some work, as it digs quite deep in the AWS Hadoop API.

Hi @jkylling, thanks for this issue? We will look into this and get back to you.

Hi @jkylling, this approach LGTM. Want to make an official PR?

Hi @scottsand-db . Thanks for looking into this. I'll open a PR.

This seems to be enforcing s3a, breaks EMRFS or other Hadoop FileSystems ?

@shenavaa This only works for S3A file system, yup. If you are using EMRFS, then you shouldn't enable this feature.

No option to disable and it's already in 2.3.0 milestone!

Closed by https://github.com/delta-io/delta/commit/c156c9814156dcdbc0524f6e1101accc265fb1b9

@shenavaa the feature is automatically disabled by default. You have to explicitly enable it using delta.enableFastS3AListFrom?


foreman start in dev Unknown switches '-w'

I trying this React on Rails Basic Tutorial. But in the step "foreman start -f Procfile.dev" I got this error:
00:25:16 web.1    | started with pid 27599
00:25:16 client.1 | started with pid 27600
00:25:18 client.1 | ReactOnRails: Set generated_assets_dir to default: public/webpack/development
00:25:18 web.1    | => Booting Puma
00:25:18 web.1    | => Rails 5.1.4 application starting in development
00:25:18 web.1    | => Run `rails server -h` for more startup options
00:25:18 web.1    | ReactOnRails: Set generated_assets_dir to default: public/webpack/development
00:25:18 web.1    | Puma starting in single mode...
00:25:18 web.1    | * Version 3.10.0 (ruby 2.4.2-p198), codename: Russell's Teapot
00:25:18 web.1    | * Min threads: 5, max threads: 5
00:25:18 web.1    | * Environment: development
00:25:18 web.1    | * Listening on tcp://localhost:3000
00:25:18 web.1    | Use Ctrl-C to stop
00:25:18 client.1 | Unknown switches '-w'
00:25:19 client.1 | exited with code 15
00:25:19 system   | sending SIGTERM to all processes
00:25:19 web.1    | - Gracefully stopping, waiting for requests to finish
00:25:19 web.1    | === puma shutdown: 2017-10-14 00:25:19 +0700 ===
00:25:19 web.1    | - Goodbye!
00:25:19 web.1    | Exiting
00:25:19 web.1    | terminated by SIGTERM

I using gem and have Procfile.dev like in the Tutorial:
#Gemfile
gem 'react_on_rails', '9.0.0'

#Procfile.dev
web: rails s -p 3000
# Next line runs a watch process with webpack
client: sh -c 'rm -rf public/packs/* || true && bundle exec rake react_on_rails:locale && bin/webpack -w'

I have the same problem. I've been starting my server without the -w.

@heavenlypeach If we remove -w or --watch the watcher won't work right ?
Change bin/webpack -w to webpack -w solved my problem
I don't know what different between bin/webpack and webpack ?
Is it about gem and global webpack ?

@thanhnha1103 it all depends on if you're using the rails binstubs for rails/webpacker. If not, then you're using the real Webpack command.

Thank @justin808,
I just followed the tutorial above step by step, and get error: Unknown switches '-w' when I try foreman start -f Procfile.dev help me explain this.
I still don't understand why.
Thank you again.

See https://github.com/rails/webpacker/issues/959
3.0.2 broke this...
PR anybody?

@thanhnha1103 Can you link me to an example repository? Because I'm having trouble reproducing your issue. See https://github.com/Judahmeek/ror-test for a working example.

@Judahmeek,
I just reproduced this and push code to new repository https://github.com/thanhnha1103/test-react-on-rails
Thank you,

@thanhnha1103 Please see if v10, just shipped, fixes the issue!

@justin808 Thank you and Team for helping me.
After retried many times with 9. versions, @Judahmeek example and v10.
I think there are something from bundler 1.16.0.pre.3
Because when I tried with same version 1.15.4 as @Judahmeek example every versions above worked!
Thank you.

I ran into the same issue with latest versions of rails (5.1.4), react_on_rails (10.0.0) and bundler (1.16.0.pre.3). This is related to the way Bundler generates the binstubs.
To get around this problem:

Downgrade Bundler to 1.15.4
Delete the binstubs bin/webpack and bin/webpack-dev-server
Run rails webpacker:install and rails webpacker:install:react commands again (Bundler will generate new working binstubs)
Upgrade Bundler back to 1.16.0.pre.3

No more Unknown switches '-w' error message!
Hope this helps.

@pguegan 's workaround resolved the error for me. Thanks!

This is caused by Bundler 1.16.0 - I've raised an issue with them https://github.com/bundler/bundler/issues/6149.
For some reason, 1.16.0 adds the following two lines to the top of all generated binstubs:
https://github.com/bundler/bundler/blob/01fe509b27b317dd4d640beb9140ab31331ea349/lib/bundler/templates/Executable#L11-L12
This seems to prevent command line arguments being proxied to the underlying executable. I'm not sure why they're needed, because simply removing those lines fixes the behaviour.
@justin808 Fyi, while webpacker did remove command line arguments in 3.0.2, it was only for the webpack dev server, the webpack runner still proxies arguments through.

Ok a solution that works without downgrading Bundler is as follows:
rm ./bin/webpack ./bin/webpack-dev-server && bundle binstub webpacker --standalone
This re-generates the binstubs without the 2 extra lines at the start which eat your command line arguments.

@johnmcdowall, this changes my bin/webpack to:
load File.expand_path "../../../../../../../../home/jim/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/webpacker-3.2.0/exe/webpack", path.realpath
which works locally but obviously Heroku does not like it..

"For now, the fix is to run bundle binstubs bundler --force"
rails/rails#31193
This changes bin/bundler vs the webpack stuff and works for me now both locally and on Heroku


Output WHY a package wasn't updated to the latest version

See https://github.com/tpetricek/FSharp.Formatting/issues/301#issuecomment-94270140

following repro:
source https://www.nuget.org/api/v2/

nuget FAKE  3.37.1

then run paket update nuget FAKE.
We expect FAKE to be still on 3.37.1 but we want to see a message/warning that this not the latest since it's pinnend in the dependencies file.

And we should do the same for all packages when running paket update.

I'm wondering how we should output that.
I believe we should be a little more verbose on update but I'm not sure if it should be the default or we should have a flag for that.
This is a WIP:
Paket version <IP_ADDRESS>
Updating Ninject.Extensions.Logging.Log4Net in D:\Projects\paket-test\paket.dependencies
Resolving packages:
 Resolving Ninject.Extensions.Logging.Log4Net  (from D:\Projects\paket-test\paket.dependencies)
 - Ninject.Extensions.Logging.Log4Net 3.2.3
 Resolving Ninject.Extensions.Logging >= <IP_ADDRESS> < <IP_ADDRESS> (from Ninject.Extensions.Logging.Log4Net 3.2.3)
 - Ninject.Extensions.Logging 3.2.3
  Ninject >= <IP_ADDRESS> < <IP_ADDRESS> (from Ninject.Extensions.Logging 3.2.3)
  Conflicts with:
    Ninject >= <IP_ADDRESS> < <IP_ADDRESS> (from Ninject.Extensions.Interception <IP_ADDRESS>)
 - Ninject.Extensions.Logging 3.2.2
  Ninject >= <IP_ADDRESS> < <IP_ADDRESS> (from Ninject.Extensions.Logging 3.2.2)
  Conflicts with:
    Ninject >= <IP_ADDRESS> < <IP_ADDRESS> (from Ninject.Extensions.Interception <IP_ADDRESS>)
 - Ninject.Extensions.Logging 3.2.1
  Ninject >= <IP_ADDRESS> < <IP_ADDRESS> (from Ninject.Extensions.Logging 3.2.1)
  Conflicts with:
    Ninject >= <IP_ADDRESS> < <IP_ADDRESS> (from Ninject.Extensions.Interception <IP_ADDRESS>)
 - Ninject.Extensions.Logging 3.2.0
  Ninject >= <IP_ADDRESS> < <IP_ADDRESS> (from Ninject.Extensions.Logging 3.2.0)
  Conflicts with:
    Ninject >= <IP_ADDRESS> < <IP_ADDRESS> (from Ninject.Extensions.Interception <IP_ADDRESS>)
 - Ninject.Extensions.Logging.Log4Net 3.2.2
  Ninject >= <IP_ADDRESS> < <IP_ADDRESS> (from Ninject.Extensions.Logging 3.2.3)
  Conflicts with:
    Ninject >= <IP_ADDRESS> < <IP_ADDRESS> (from Ninject.Extensions.Interception <IP_ADDRESS>)
  Ninject >= <IP_ADDRESS> < <IP_ADDRESS> (from Ninject.Extensions.Logging 3.2.2)
  Conflicts with:
    Ninject >= <IP_ADDRESS> < <IP_ADDRESS> (from Ninject.Extensions.Interception <IP_ADDRESS>)
  Ninject >= <IP_ADDRESS> < <IP_ADDRESS> (from Ninject.Extensions.Logging 3.2.1)
  Conflicts with:
    Ninject >= <IP_ADDRESS> < <IP_ADDRESS> (from Ninject.Extensions.Interception <IP_ADDRESS>)
  Ninject >= <IP_ADDRESS> < <IP_ADDRESS> (from Ninject.Extensions.Logging 3.2.0)
  Conflicts with:
    Ninject >= <IP_ADDRESS> < <IP_ADDRESS> (from Ninject.Extensions.Interception <IP_ADDRESS>)
 - Ninject.Extensions.Logging.Log4Net 3.2.1
  Ninject >= <IP_ADDRESS> < <IP_ADDRESS> (from Ninject.Extensions.Logging 3.2.3)
  Conflicts with:
    Ninject >= <IP_ADDRESS> < <IP_ADDRESS> (from Ninject.Extensions.Interception <IP_ADDRESS>)
  Ninject >= <IP_ADDRESS> < <IP_ADDRESS> (from Ninject.Extensions.Logging 3.2.2)
  Conflicts with:
    Ninject >= <IP_ADDRESS> < <IP_ADDRESS> (from Ninject.Extensions.Interception <IP_ADDRESS>)
  Ninject >= <IP_ADDRESS> < <IP_ADDRESS> (from Ninject.Extensions.Logging 3.2.1)
  Conflicts with:
    Ninject >= <IP_ADDRESS> < <IP_ADDRESS> (from Ninject.Extensions.Interception <IP_ADDRESS>)
  Ninject >= <IP_ADDRESS> < <IP_ADDRESS> (from Ninject.Extensions.Logging 3.2.0)
  Conflicts with:
    Ninject >= <IP_ADDRESS> < <IP_ADDRESS> (from Ninject.Extensions.Interception <IP_ADDRESS>)
 - Ninject.Extensions.Logging.Log4Net 3.2.0
  Ninject >= <IP_ADDRESS> < <IP_ADDRESS> (from Ninject.Extensions.Logging 3.2.3)
  Conflicts with:
    Ninject >= <IP_ADDRESS> < <IP_ADDRESS> (from Ninject.Extensions.Interception <IP_ADDRESS>)
  Ninject >= <IP_ADDRESS> < <IP_ADDRESS> (from Ninject.Extensions.Logging 3.2.2)
  Conflicts with:
    Ninject >= <IP_ADDRESS> < <IP_ADDRESS> (from Ninject.Extensions.Interception <IP_ADDRESS>)
  Ninject >= <IP_ADDRESS> < <IP_ADDRESS> (from Ninject.Extensions.Logging 3.2.1)
  Conflicts with:
    Ninject >= <IP_ADDRESS> < <IP_ADDRESS> (from Ninject.Extensions.Interception <IP_ADDRESS>)
  Ninject >= <IP_ADDRESS> < <IP_ADDRESS> (from Ninject.Extensions.Logging 3.2.0)
  Conflicts with:
    Ninject >= <IP_ADDRESS> < <IP_ADDRESS> (from Ninject.Extensions.Interception <IP_ADDRESS>)
 - Ninject.Extensions.Logging.Log4Net 3.0.1
 - Ninject.Extensions.Logging 3.0.1
  Ninject >= <IP_ADDRESS> < <IP_ADDRESS> (from Ninject.Extensions.Logging 3.0.1)
  Conflicts with:
    Ninject >= <IP_ADDRESS> < <IP_ADDRESS> (from Ninject.Extensions.Interception <IP_ADDRESS>)
 - Ninject.Extensions.Logging.Log4Net <IP_ADDRESS>
 - Ninject.Extensions.Logging <IP_ADDRESS>
 Resolving Ninject >= <IP_ADDRESS> < <IP_ADDRESS> (from Ninject.Extensions.Logging <IP_ADDRESS>)
 - Ninject <IP_ADDRESS>
 Resolving log4net >= 1.0.4 (from Ninject.Extensions.Logging.Log4Net <IP_ADDRESS>)
 - log4net 2.0.3
Paket failed with:
        Could not update package: ninject.extensions.logging.log4net
    Ninject >= <IP_ADDRESS> < <IP_ADDRESS> (from Ninject.Extensions.Logging 3.2.3)
      Ninject >= <IP_ADDRESS> < <IP_ADDRESS> (from Ninject.Extensions.Interception <IP_ADDRESS>)

    Ninject >= <IP_ADDRESS> < <IP_ADDRESS> (from Ninject.Extensions.Logging 3.0.1)
      Ninject >= <IP_ADDRESS> < <IP_ADDRESS> (from Ninject.Extensions.Interception <IP_ADDRESS>)

Note that this is as verbose as it can be. The regular use case probably won't be that verbose.
This is what has been added:
Before listing the package and version, it outputs why it's resolving that. For example:
From paket.dependencies:
 Resolving Ninject.Extensions.Logging.Log4Net  (from D:\Projects\paket-test\paket.dependencies)
From a top-level package:
 Resolving Ninject.Extensions.Logging >= <IP_ADDRESS> < <IP_ADDRESS> (from Ninject.Extensions.Logging.Log4Net 3.2.3)
Everytime it finds a conflict, it outputs the package it's trying to resolve and the package it has conflicted to:
  Ninject >= <IP_ADDRESS> < <IP_ADDRESS> (from Ninject.Extensions.Logging 3.2.3)
  Conflicts with:
    Ninject >= <IP_ADDRESS> < <IP_ADDRESS> (from Ninject.Extensions.Interception <IP_ADDRESS>)

This one is a warning (yellow) output.
In case it can't update anything, it will fail with:
Paket failed with:
        Could not update package: ninject.extensions.logging.log4net
    Ninject >= <IP_ADDRESS> < <IP_ADDRESS> (from Ninject.Extensions.Logging 3.2.3)
      Ninject >= <IP_ADDRESS> < <IP_ADDRESS> (from Ninject.Extensions.Interception <IP_ADDRESS>)

    Ninject >= <IP_ADDRESS> < <IP_ADDRESS> (from Ninject.Extensions.Logging 3.0.1)
      Ninject >= <IP_ADDRESS> < <IP_ADDRESS> (from Ninject.Extensions.Interception <IP_ADDRESS>)

Note that the failing message will only be shown if the paket.lock has not been changed (no package has been updated at all). In addition, it will now show all conflicts but one conflict per package/version pair.
However, if a package is updated but not to the lastest version, it will be reported as a warning conflict but paket will not fail.
Let me know what you think and how I should proceed from there.

Hey @forki, do you have any thoughts on my previous comment?

we already have -v flag for verbose mode. We should only trace the most useful information during normal runs.


Translation nl

added some translations to dutch | nl

gotta resolve the conflicts I guess

will do more later on

please follow the proper pattern for commit messages (💡TIP: you can use yarn commit or yarn commit:signed and answer the questions asked to generate a properly formatted one for you!)
to fix your most recent commit you can run the command git commit --amend -m "properly formatted commit message here"
to fix your older/multiple commits please take a look at this article

stale pr, gonna close


deps: update gRPC to 1.14.0

Signed-off-by: Lizan Zhou<EMAIL_ADDRESS>Description:
Risk Level: Low
Testing: CI
Docs Changes: N/A
Release Notes: N/A

@lizan the CI tests fail, seems to be related to deps and envoy-filter-example. Can you investigate? Also, can you add to the commit comment any special motivation we have (e.g. is there a specific set of functions/features we're after, security rationale or just generally tracking latest?). Thanks.

LGTM


FLUID-5977: The documentation for UIO integration is not complete

Updated node.js link, clarified file directions and reworded documentation

Please note: I couldn't change the name of my branch back to the original name of alychow/FLUID-5977


Update gcloud.md.erb

add usage of BUILDKITE_GS_APPLICATION_CREDENTIALS_JSON

Thanks @GaryPWhite! (For the docs update, and for the associated Agent update 😄) I've added in some Agent version info too 👌🏻


Secondary windows are closed when primary window navigates to another page

Description
I'm using nativefier for various web apps like JIRA and occasionally need to view multiple windows of the same app side by side. I open a second window with Command + Click. The second window works fine until I navigate to another page in the first window. This causes the second window to close instantly.
Steps to reproduce issue

Create a new nativefier app with the command below (or use any other website)
Command + Click on a link to open a second window
Put both windows side by side
Verify that you can navigate in the second window without affecting the first window
Click on a link in the first window and watch the second window disappear

Details

Are you nativefying a public website? Yes
Feature request? No
Full nativefier command used to build your app: nativefier https://www.nytimes.com
Version of Nativefier (run nativefier --version): v7.5.4
Version of node.js (run node --version): v6.11.0
OS: macOS 10.13.1

Note: This issue does not occur when I open a new window with right click => Open in new window. However, I've noticed that some web pages (like JIRA) don't load properly when using this method.

Hi @Felixll, thanks for the feedback. Closing as duplicate of #439, feel free to discuss and follow up there.


Setting contentPadding offset the cameraPosition

Hi,
When adding a contentPadding to the Google map, the map's cameraPosition is never centered on the screen :

The default marker is the position given to the map and the little work icon is at the center of the screen with the same map paddings.
Environment details
Android Maps Compose version : 2.2.1
Code example
val bottomSheetPadding = remember { PaddingValues(bottom = 40.dp) }
val cameraPositionState = rememberCameraPositionState {
    position = CameraPosition.fromLatLngZoom(LatLng(0.0, 0.0), 17f)
}
GoogleMap(
    modifier = modifier.fillMaxSize(),
    cameraPositionState = cameraPositionState,
    contentPadding = bottomSheetPadding
) {
    Marker(state = rememberMarkerState(position = LatLng(0.0, 0.0)))
}

Image(
    painter = painterResource(ic_work),
    contentDescription = null,
    modifier = Modifier
        .align(Center)
        .padding(bottomSheetPadding)
        .padding(bottom = 24.dp) // Icon size /2
        .size(48.dp)
)

Thanks!

@HugoAlberto Hey. Have you find a solution?

The best solution I have found is to run this whenever the padding has changed:
  suspend fun onMapPaddingChanged() {
    cameraPositionState.animate(
      CameraUpdateFactory
        .newCameraPosition(
          cameraPositionState.position
        ),
      durationMs = 250
    )
  }


Issue1673 Marks Graders react table

This is an early pull request so users can benefit from the update. I still need to go back and remove the files that are no longer used. I also noticed that the controller doesn't provide the most helpful error messages so I can fix that up. And last the check all check boxes stay checked (this seems to be an issue on other tables as well)

@spring-ryanc Nice work. The conflict seems to be coming from divergent versions of the schema, but that's fine - when you do a pull from master, you can run a rake db:migrate to generate the file.


#164694229 Implement favoriting an article

What does this PR do?

Add favourite an article functionality

How this can this manually tests.

Start up the server locally by running command python manage.py runserver
Log in with verified credentials.
to favourite an article use PUT /api/articles/:slug/favorite/ endpoint
to get favourited articles use GET /api/articles/favorites/ endpoint

Related pivotal tracker stories.
#164694229
Relevant screenshots.

Fetch favorited articles

Favorite an article

Unfavorite an article

Coverage decreased (-0.2%) to 96.575% when pulling 01a4bd837e91e2464ceb6953c00c0494ba511a5a on ft-favorite-an-article-164694229 into 9baf5840096296b255fb24acffd97cf41e787523 on develop.

@Rhytah , rebase with develop


Request cookie header should be semi-colon delimitated

Thanks for fixing #29!
Just one little bug left, cookies in the request header should be separated by semi-colons instead of commas.

This is now published in<EMAIL_ADDRESS>(No need to update the Terraform module version).
Thanks for the contribution!

This is now published in<EMAIL_ADDRESS>(No need to update the Terraform module version).
Thanks for the contribution!


LWJGL backend parent file path not correctly resolving

I am unsure if this is the intended design, but I have found that relative path parents do not behave as I would expect them to on the LWJGL backends. See here plus the matching sibling class for LWJGL 2.
Now imagine the following snippet and directory structure:
new Lwjgl3FileHandle("tilemap.tmx", FileType.Internal).parent().parent()

- A
-> tileset.png
-> B (working dir)
--> tilemap.tmx
--> my-game.jar

I would expect this to return the A directory which is two parents above tilemap.tmx. In reality, it does not resolve the absolute path and stops at B as an effectively empty path. Is there any rationale I am missing for not using file.getAbsoluteFile().getParentFile() inside of parent?

Internal files are inside the JAR on desktop releases and inside the APK on Android. On GWT, the A folder doesn't exist at all. If you want to look outside the JAR or APK, use FileType.Local or FileType.External, with the last one needing extra permissions on Android but it's probably what you would need.

Note on desktop Internal prefers a file in the working directory, else it looks in the classpath. Be careful it doesn't pick the wrong file if you wanted it from the classpath!
I think it makes sense for all FileHandles that are Absolute to use File getAbsoluteFile for their file field. After all, it has absolute in the name. Changing it probably doesn't affect existing code negatively, as absolute is already seldom used.
On desktop it seems like both Local and External could be absolute, but it's not clear how badly this might break existing code. Due to that, I would suggest not changing them. Internal can't be absolute, because it resolves to either the filesystem or the classpath as late as possible.
On other platforms I am not sure when it makes sense for the path to be absolute. Someone who makes more use of those platforms could say, otherwise I would leave them as is.

I am going to close this. It would be nice to have references to files in parent directories, but it is easily avoidable. Upon testing I have found that there is no quick fix without harming existing code.


Make the search section sticky at top of page, except on mobile.

Can the dark blue portion scroll so just the input controls are pinned? The big "let's get.." text takes up quite a bit of space.

@drwestco had to do a bit of refactoring, but I think I got it.

Ah, good catch @nburt!
I'm not sure there's a good way to accomplish all the above goals (although there's a good chance I'm just missing an obvious answer):

To get the thing to have position sticky, it has to be within the same container as the stuff it's sticking relative to (ie the instructions at the top and the list)
Which means the map has to go in a different container, which puts it at the bottom in mobile

Questions for y'all:

Am I missing a way to do this? Maybe some flexbox cleverness that I didn't think of?
If not, are we okay with the top part "Let's get our PPE ..." also sticking to the top? Then we can go back to the old way of a flexbox with direction: row

Ah, good catch @nburt!
I'm not sure there's a good way to accomplish all the above goals (although there's a good chance I'm just missing an obvious answer):

To get the thing to have position sticky, it has to be within the same container as the stuff it's sticking relative to (ie the instructions at the top and the list)
Which means the map has to go in a different container, which puts it at the bottom in mobile

Questions for y'all:

Am I missing a way to do this? Maybe some flexbox cleverness that I didn't think of?
If not, are we okay with the top part "Let's get our PPE ..." also sticking to the top? Then we can go back to the old way of a flexbox with direction: row

Do you mind asking this in #ux-design? I think that I'm OK with 2 for now and then we should have real v2 mobile designs soonish and we can follow up then.

@drwestco @nburt I think I found a way to make it so that not all the big font sticks at the top AND the map shows up in the right place on mobile!

Hey @sikakkar, I don't see any change in behavior, what should I be looking for here? The header still scrolls for me when I test the heroku deploy

Can you have it clip the instructional text too? Seems strange to have it stick here:

@saikatbhadra what screen size are you using? I set it to this to restrict it to desktop:
@media screen and ( min-width: 992px ) and ( min-height: 768px )

@drwestco I can, but unfortunately that messes up the placement on bigger screens where the text takes up 1 line instead of two

Yeah, it may be impossible to get it exactly right with just CSS. Might have to add some script to measure the header. Not sure what's worth the effort, though.

Ah ok. @sikakkar I'm using a macbook air and on the default size and my height is 689 pixels. You might want to loosen up the height restriction

@saikatbhadra adjusted the media queries for width and height!


Bridge components aren't always registered

After debugging a few new Hotwire Native apps I've noticed a common issue. Hotwire.registerBridgeComponents() must be called before a Navigator instance is created. Otherwise, the bridge components never register for the web view.
The quick fix is to defer creation of the Navigator via a lazy variable, like so in the getting started guide:
import HotwireNative
import UIKit

let rootURL = URL(string: "https://hotwire-native-demo.dev")!

class SceneDelegate: UIResponder, UIWindowSceneDelegate {
    var window: UIWindow?

-   private let navigator = Navigator()
+   private lazy var navigator = Navigator()

    func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
+       Hotwire.registerBridgeComponents([...])
        window?.rootViewController = navigator.rootViewController
        navigator.route(rootURL)
    }
}

However, it isn't clear why this has to occur and isn't documented anywhere.
I don't think we can ever get registerBridgeComponents() to work after a URL has been routed. The user agent can't be changed after the request is made and that is what signifies which bridge components are registered. However, having a warning or error if you try to register after a URL has been routed could go a long way in stopping these issues.
I'm also open to other suggestions if folks have ideas!

After debugging a few new Hotwire Native apps I've noticed a common issue. Hotwire.registerBridgeComponents() must be called before a Navigator instance is created. Otherwise, the bridge components never register for the web view.

What do you think about this https://github.com/hotwired/hotwire-native-ios/pull/41?
In https://github.com/hotwired/hotwire-native-ios/pull/41, all Navigators will subscribe to a .didRegisterBridgeComponents notification that registerBridgeComponents() posts when it's called. Once this notification is received, the navigator will initialize the bridge in both root and modal web views and update its user agent. This will not fix any requests that are in-flight or done so we may need to force a refresh, but it should work in theory.
Could you take that for a spin in one of your projects to see if it works for you?

This works great! I swapped out lazy var for a let in the demo app's Navigator and added a bridge component to the index page - worked flawlessly. I added one commit to the PR cleaning up some whitespace.
In-flight requests, as expected, do not correctly register their bridge components. You can replicate with the code below. But I'm OK with not addressing that - what do you think?
import HotwireNative
import UIKit

let rootURL = URL(string: "http://localhost:45678")!

class SceneDelegate: UIResponder, UIWindowSceneDelegate {
    var window: UIWindow?

    private let navigator = Navigator()

    func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
        window?.rootViewController = navigator.rootViewController
        navigator.route(rootURL)
        Hotwire.registerBridgeComponents([FormComponent.self])
    }
}

final class FormComponent: BridgeComponent {
    override class var name: String { "form" }

    // ...
}

OMG, thanks for posting this. I have been trying to get bridge components working for hours, tried so many weird things, but it turns out I just needed to register the components earlier. I was going to suggest updating the documentation to mention this, but if there is a potential fix on the way maybe it's best to just ship the fix sooner.

This was addressed in https://github.com/hotwired/hotwire-native-ios/pull/55. It'll be available in an upcoming v1.1 and we'll update the site documentation to specify that all global configuration should occur in the AppDelegate before Navigator instances are created.


Investigate why the ActiveJob for refreshing materialized views doesn't work in tests

Oddly enough, the job works fine in dev mode. For an example of it failing in tests, try running  this tests: https://github.com/TechAndCheck/zenodotus/blob/master/test/models/unified_user_test.rb#L3-L9
To see it working in dev, in the console try:
original_length = UnifiedUser.all.length
Sources::Tweet.create_from_url "https://twitter.com/kairyssdal/status/1415029747826905090"
assert_equal original_length +1, UnifiedUser.all.length

Resolved. See https://github.com/TechAndCheck/zenodotus/pull/82#issuecomment-920053709


use new nzshm-model

Are there new features in nzshm-model (specifically LT functionality) that should be leveraged by THP?

done?


feat: support anthropic engine

Describe Your Changes

support anthropic engine

Fixes Issues

Closes #
Closes #

Self Checklist

[ ] Added relevant comments, esp in complex areas
[ ] Updated docs (for bug fixes / features)
[ ] Created issues for follow-up changes or refactoring needed

NICE 🚀


Sideloaded add-ins on mac have to be re-added after each restart

Groing through the instructions on a mac to sideload a manifest (that already works as expected on pc), I notice that every time I close and re-open Excel my add-ins disappear. I have to go to the Insert ribbon, click on the my add-ins drop down menu, and re-select my developer add-in. Is this expected behavior?
On pc, if I add my custom ribbon manifest, it stays there for good, across restarts. Can this be achieved on a mac?
System details:
Excel 16.24 Office 365
Mac OS 10.14.4

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 589820d2-9925-dc5e-76a7-83921a569137
Version Independent ID: ab8bde36-096f-81f3-f4d1-9b25fc69e6ee
Content: Sideload Office Add-ins on iPad and Mac for testing - Office Add-ins
Content Source: docs/testing/sideload-an-office-add-in-on-ipad-and-mac.md
Product: non-product-specific
Technology: add-ins
GitHub Login: @o365devx
Microsoft Alias: o365devx

Hi @misaunde - Thanks for taking the time to read our docs and try out Office Add-ins! Sorry to hear you are having trouble with sideloading on Mac. I am not sure if this is a known issue or not, but I will check with folks over here and get back to you. I'd love to be able to give you an answer right away but as many engineers are very busy due to the upcoming //build conference this may get resolved after the weekend. Thanks for your patience!

New Issue in office-js repo: https://github.com/OfficeDev/office-js/issues/507


lstpu README update

In the below documention , the binary location mentioned as bazel-output, but I think the binary is inside bazel-bin
cpp/examples/lstpu/README.md
Target //:lstpu up-to-date:
bazel-bin/lstpu

@avrdct thanks for watching out, the binary is actually in multiple locations but it's also in:
bazel-out/k8-opt/bin/lstpu

as specified in our makefile rule


A table wrapped in a breakable figure block does not repeat headers on a page break.

Per discussion on Discord, it appears as if a sufficiently long table, wrapped in a #figure in order to apply captioning, and with the block set to breakable, does not correctly discover the table has been broken across page boundaries and does not then repeat the header.
Example code:
#import "@preview/tablex:0.0.6": *

= Definitions and Acronyms
#show figure: set block(breakable: true)
#figure(
    tablex(
        columns: (1fr, 4fr),
        header-rows: 1,
        repeat-header: true,
        fill: (col, _) => if col==0 {luma(225)} else {white},

        [*Acronym*],  [*Description*],
        hlinex(stroke: 2pt),
        [*ADC*], 	    [Analog to Digital Converter],
        [*AM*],	    [Amplitude Modulation],
        [*BMS*],	    [Business Management System],
        [*BPSK*],	    [Binary Phase Shift Keying],
        [*CSS*], 	    [Configuration Sub System],
        [*D&I*],	    [Design and Implementation],
        [*DAC*],	    [Digital to Analog Converter],
        [*EMAC*],	    [Ethernet Media Access Control],
        [*FAB*],	    [Factory Application Board],
        [*FM*],	    [Frequency Modulation],
        [*FPGA*],	    [Field Programmable Gate Array],
        [*FSK*],	    [Frequency Shift Keying],
        [*G-S*],	    [Glide Slope],
        [*HPS*],	    [Hard Processor System],
        [*HW*],	    [Hardware],
        [*JTAG*],	    [Joint Task Action Group],
        [*LOC*],	    [Localizer],
        [*MAC*],	    [Media Access Control],
        [*MRD*],	    [Marketing Requirements Document],
        [*NAND*],	    [Not AND (in the logic sense and the memory type sense)],
        [*NSE*],      [Network and Service Enablement],
        [*OOK*],	    [On-Off Keying],
        [*PAM*],	    [Pulse Amplitude Modulation],
        [*PDP*],	    [Product Development Process],
        [*PLM*],	    [Product Line Management (often referred to as “Marketing”)],
        [*QSPI*],	    [Quad Serial Peripheral Interface],
        [*R&D*],	    [Research and Development],
        [*RAM*],	    [Random Access Memory],
        [*RGMII*],    [Reduced Gigabit Media Instruction Interface],
        [*RMII*],	    [Reduced Media Instruction Interface],
        [*ROM*],	    [Read-only Memory],
        [*RTCA*],	    [Radio Technical Commission for Aeronautics],
        [*RTL*],	    [Register-Transfer Level],
        [*SD/MMC*],   [Secure Digital/MultiMedia Card],
        [*SELCAL*],   [Selective Calling],
        [*SPI*],	    [Serial Peripheral Interface],
        [*SW*],	    [Software],
        [*SoC*],	    [System on Chip],
        [*USB*],	    [Upper Side Band],
        [*VCS*],	    [Version Control System],
        [*VHDL*],	    [VHSIC Hardware Description Language],
        [*VHSIC*],    [Very High Speed Integrated Circuit],
        [*VOR*],	    [VHF Omnidirectional Range],
        [*XPDR*],	    [Transponder],
    ),
    caption: [This is a caption.],
)

Related: #67 , #2


[9.x] Added magic method for WhereRelation

This PR allows you to where on relation  in that way out of convenience, if a name of method start with whereRelation and after it mentions relation name then will proxy to whereRelation mehtod.
User::whereRelationPosts('viewed', '>', 9)->get()
User::whereRelationPosts('publushed',  true)->get()

No more magic methods to eloquent please


Rework android device allocation framework

Description
Genymotion-cloud work tech debt (#2429): Avoid returning complex values from Android device allocation helpers onto the drivers, by pushing all responsibility onto the helper classes (rather than have it split between the two).
This cleans up driver code, simplified contracts and increases unit test coverage.

@noomorph, 'not going to wait for a review with this one - it's all based on your feedback, basically. Obviously if you're into it as a sport, I would appreciate it.

@noomorph, 'not going to wait for a review with this one - it's all based on your feedback, basically. Obviously if you're into it as a sport, I would appreciate it.


Fix config error

You can take this PR or leave it.  All that is really needed to get this extension working again is to add:
config: () => { return { }; },

In src/getUtilities.ts a config function needs to be added to the plugin functions arguments object.  I added experimental and future but these are not needed.  the config function should return an object.  An empty object is fine.

Awesome work - thanks for contributing a fix. I'll get it published.


feature removed?

解锁屏幕刷新率 在最新的<IP_ADDRESS>版本中消失了?
手动设置超过60帧时这个功能很重要。
I can't find "Unlock monitor refresh rate" in the latest version(<IP_ADDRESS>)
It's important when gaming over 60fps with a high refresh rate screen

It was removed in this commit 348f9eba556e207b132e6c0997d665dbf5f158be

Why? I think this feature is useful.

Was it?

Yes.
75 or higher FPS is a challenging goal and thprac is the tool to adjust FPS.
For example, I use a 144 Hz monitor to play a game at 90FPS.
If this feature was enabled , my graphics card will output 90 frames per second.
Otherwise it will only output 60 frames per second and cause partial frame missing.

So, will you add this feature back in a future version?


Updating all SDKs after changes to API_Specs

Apparently there are more changes coming very soon, so I'm canceling this API update.


Check for new commits while user is in the editing mode in TurtleEditor

Check for new commits while is in the editing mode in TurtleEditor to make user aware of possible overwriting changes

This feature was included in the new version of Vocol.


Unable to run test script on local machine

Hi Mr. Zhang,
I was trying to recreate the results on my local machine, but I encountered the following error:

Traceback (most recent call last):
File "/Users/ifrit/Library/Python/3.9/bin/simuleval", line 33, in
sys.exit(load_entry_point('simuleval', 'console_scripts', 'simuleval')())
File "<my streamspeech directory>/SimulEval/simuleval/cli.py", line 47, in main
system, args = build_system_args()
File "<my streamspeech directory>/SimulEval/simuleval/utils/agent.py", line 131, in build_system_args
system = system_class.from_args(args)
File "<my streamspeech directory>/SimulEval/simuleval/agents/agent.py", line 161, in from_args
return cls(args)
File "<my streamspeech directory>/agent/speech_to_speech.streamspeech.agent.py", line 117, in init
self.load_model_vocab(args)
File "<my streamspeech directory>/agent/speech_to_speech.streamspeech.agent.py", line 356, in load_model_vocab
utils.import_user_module(state["cfg"].common)
File "<my streamspeech directory>/fairseq/fairseq/utils.py", line 481, in import_user_module
raise FileNotFoundError(module_path)
FileNotFoundError: /data/zhangshaolei/SimulS2S/reasearchs/ctc_unity

I changed all the config files as necessary, but this issue remains. I looked into the code a bit, and I believe it's due to the state of the loaded checkpoint file:

> print(state['cfg'].common.user_dir)
- /data/zhangshaolei/SimulS2S/reasearchs/ctc_unity

My solution is to add a line changing the user_dir before the import_user_module call in line 356 in speech_to_speech.streamspeech.agent.py, and it's working fine for me now.

    state = checkpoint_utils.load_checkpoint_to_cpu(filename)
    state["cfg"].common.user_dir = 'reasearchs/ctc_unity/'
    utils.import_user_module(state["cfg"].common)

I'm not sure if it's due to me missing any config changes, but I think it's unlikely as it seems written into the pretrained weights. I've only tested Simultaneous S2ST on fr-en, but I guess similar errors will happen in other scenarios.
Thank you so much!

Thanks for your reminder, it is possible that some paths are saved in the model. We will fix this issue soon.


feat(guide): Collection of Custom Formats - HDR Formats - Improve description

Pull Request
Purpose

Improve and update the Custom Formats Collection Description.
Approach

Improve and update the Custom Formats Collection Description.
Review the existing descriptions
Open Questions and Pre-Merge TODOs

===[Radarr]===

[x] Radarr Collection of Custom Formats HDR Formats

===[Sonarr]===

[x] Sonarr Collection of Custom Formats HDR Formats

Requirements

[x] These changes meet the standards for contributing.
[x] I have read the code of conduct.

proposed changes, most grammatical but a few additions of information to be complete
also I'm questioning the existence of DV SDR format?

DV profile 8.2 is DV with SDR fallback.

proposed changes, most grammatical but a few additions of information to be complete
also I'm questioning the existence of DV SDR format?

DV profile 8.2 is DV with SDR fallback.

Well let me rephrase, i didn't doubt it was something that existed as much as its existence in the context of needing a CF and being released....
poor wording on my part.

And to be honest I never have seen a single DV HLG or DV SDR


feat(ctl): support for compaction score query

I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
With this PR, we can query the current compaction score of the given compaction group.

The score is calculated on demand and for display use only. It won't result in any compaction tasks.
Therefore, it's not straightforward to implement it in rw_catalog. So only risectl is supported.

ctl hummock get-compaction-score  --compaction-group-id  3

+--------------+--------------+--------+-------+
| Select Level | Target Level | Type   | Score |
+==============================================+
| 0            | 0            | Tier   | 101   |
|--------------+--------------+--------+-------|
| 0            | 0            | Intra  | 0     |
|--------------+--------------+--------+-------|
| 0            | 6            | ToBase | 1     |
+--------------+--------------+--------+-------+

Checklist

[ ] I have written necessary rustdoc comments
[ ] I have added necessary unit tests and integration tests
[ ] I have added fuzzing tests or opened an issue to track them. (Optional, recommended for new SQL features #7934).
[ ] My PR contains breaking changes. (If it deprecates some features, please create a tracking issue to remove them in the future).
[ ] All checks passed in ./risedev check (or alias, ./risedev c)
[ ] My PR changes performance-critical code. (Please run macro/micro-benchmarks and show the results.)

[ ] My PR contains critical fixes that are necessary to be merged into the latest release. (Please check out the details)

Documentation

[ ] My PR needs documentation updates. (Please use the Release note section below to summarize the impact on users)

Release note
If this PR includes changes that directly affect users or other significant modifications relevant to the community, kindly draft a release note to provide a concise summary of these changes. Please prioritize highlighting the impact these changes will have on users.

How about cherry-pick to v1.3-rc ?


Automatic naming of uppercase acronyms

The automatic naming for acronyms seems to be in an unexpected format, in my opinion.
Consider the following POCO:
public class Car
{
    public string EAN { get; set; }
}

The schema generated for this POCO is as below.
type Car {
    eAN: String!
}

I don't know how the automatic naming works for fields but just eAN looks weird :) The best naming would probably be ean.
I will go ahead and use the GraphQLName attribute to fix the issue on my behalf but thought opening an issue for further discussion might be a good idea.

Hi @CoskunSunali
You can override this behaviour in two ways :)
You can change it globally:
https://hotchocolate.io/docs/conventions#__docusaurus
Or just for a property with descriptor attributes :)

Hi @PascalSenn
Thank you for the suggestions :) I am actually aware of them but still, thanks again.
The reason I created the issue was that maybe you might want to solve the issue on your end for other consumers of your library :)
Please feel free to close the issue if it is not a concern for you.
Thanks again!

@CoskunSunali you are right we could easily test if it is acronym.
IO => io
IOFile => ioFile
and so on ....

@CoskunSunali do you want to do a PR?


Data racing in core/lib/channel/channel_trace.cc

What version of gRPC and what language are you using?
v1.62.2, C++
What operating system (Linux, Windows,...) and version?
Linux
What runtime / compiler are you using (e.g. python version or version of gcc)
clang 18.1.4
What did you do?
In a standalone thread, I periodically (at 1Hz) poll data from grpc_channelz_get_top_channels, and walk through the result by calling grpc_channelz_get_subchannel and grpc_channelz_get_socket to get detailed information.
What did you expect to see?
Do not crash.
What did you see instead?
I experienced SEGSEGV fault with callstack like below (callstack sanitized with removing proprietary info）
grpc_core::channelz::ChannelTrace::RenderJson()
FailureSignalHandler()
(unknown)
grpc_core::channelz::ChannelTrace::RenderJson()
grpc_core::channelz::SubchannelNode::RenderJson()
grpc_channelz_get_subchannel
my_app::CollectGrpcDianosticInfo()
...
start_thread

The crash happens at grpc_core::channelz::ChannelTrace::RenderJson(), which is called from grpc_core::channelz::SubchannelNode::RenderJson().   Look at https://github.com/grpc/grpc/blob/ba78e4ff475550e1fa3fd09fbcee326c3c6dfd5a/src/core/lib/channel/channel_trace.cc#L161 the member variable of the ChannelTrace is accessed without proper synchronization. A mutex object is created at https://github.com/grpc/grpc/blob/ba78e4ff475550e1fa3fd09fbcee326c3c6dfd5a/src/core/lib/channel/channel_trace.cc#L66 but it is never used.
As of now, I am setting up the GRPC_ARG_MAX_CHANNEL_TRACE_EVENT_MEMORY_PER_NODE to 0 (since channel trace is not something I am interested in anyways). But the data racing problem should be fixed.
See TROUBLESHOOTING.md for how to diagnose problems better.
Anything else we should know about your project / environment?

Thanks for reporting this!  Can you please try out #36434 and see if it fixes the problem?  Thanks!

Thank you. The merge looks good and should  be able to address the problem!
The error happens pretty infrequently 1-2 times in the past 7 days on my server) and I have not got a chance to create a stable reproduce experiment. I have since disabled the event tracing on my server and moved on so currently I do not have a good validation environment.


Arch review

What does this PR do?
(Please set a descriptive PR title. Use this space for additional explanations.)
Towards https://github.com/giantswarm/giantswarm/issues/27555
Adapt architecture page to Platform concept
What does it look like?
(If this is more than a textual change, a screenshot can help in some cases to speed up the review process.)
Any background context you can provide?
(Please link public issues or summarize if not public.)
What is needed from the reviewers?
Have you maintained the front matter?
(Please bump the last_review_date in case this qualifies as a review for an entire page. Provide user_questions which should be answered in the page. Provide a meaningful description.)

@stone-z thx for all feedback, you got the right tone!