Version 2 Upgrade on Laravel 11

I found some issues after the version 2 upgrade on Laravel 11:

Config inject_assets doesn't affect the rendering.
Config timeout is no longer working and I have to set it for every request
The option for replacing Laravel default flash is removed, and can't be changed unlike version 1, while the only way to skip this is by using other flash names except (success, error, warning, and info) which means changing a lot of code for existing apps.
Changing flash_bag in the config doesn't override the default bags but adds new values to the default array.
When using the Laravel default flash with the bags (success, error, warning, info) the php-flasher fires after reloading the page (after the flash expires).

If version 2 main concept is to replace the default Laravel flash without an option to disable it, I know that downgrading should be the proper solution but unfortunately, this also will not be a good solution because version 1 with Laravel 11 disables the default flash option entirely and also have to rewrite a lot of code to change it to php-flasher and that why I upgraded to version 2 in the first place.

Hi Ahmed,
Thank you for your detailed feedback on the upgrade to v2 of PHPFlasher. I truly appreciate the time you took to analyze and list these issues.
I apologize for the inconvenience these issues have caused. It’s clear that the transition could have been smoother. I plan to address these concerns over the weekend.
If you have time and are interested, your contribution to resolving these issues would be awesome.
Best regards,
Younes

Hi Yoeunes,
Thank you so much for this release that fixes the addressed issues, now everything is working great for me.
The other issue of the flash message being rendered after the second refresh when we use the default config to replace the default flash system as you said aligns with Laravel's session, I found that the problem is that the response is an instance of the Symfony response, not the Laravel one.
so the session middleware would be
namespace Flasher\Laravel\Middleware;

use Flasher\Laravel\Http\Request;
use Flasher\Laravel\Http\Response;
use Flasher\Prime\Http\RequestExtensionInterface;
use Illuminate\Http\Request as LaravelRequest;
use Symfony\Component\HttpFoundation\JsonResponse;
use Symfony\Component\HttpFoundation\Response as SymfonyResponse;

final readonly class SessionMiddleware
{
    public function __construct(private RequestExtensionInterface $requestExtension)
    {
    }

    public function handle(LaravelRequest $request, \Closure $next): mixed
    {
        $response = $next($request);

        if ($response instanceof JsonResponse || $response instanceof SymfonyResponse) {
            $this->requestExtension->flash(new Request($request), new Response($response));
        }

        return $response;
    }
}

and of course, changing the response type in the Response file to SymfonyResponse.

use Flasher\Prime\Http\ResponseInterface;
use Illuminate\Http\JsonResponse as LaravelJsonResponse;
use Illuminate\Http\Response as LaravelResponse;
use Symfony\Component\HttpFoundation\JsonResponse as SymfonyJsonResponse;
use Symfony\Component\HttpFoundation\Response as SymfonyResponse;

final readonly class Response implements ResponseInterface
{
    public function __construct(private SymfonyResponse|SymfonyJsonResponse $response)
    {
    }

Reverting those two files to version 1 can be another solution, I didn't want to make a pull request because I didn't know which one you would recommend according to your coding style and future development plan.
I would be happy to share our thoughts to fix this and find the proper solution.
Best Regards,
Ahmed

Hi Ahmed,
Thanks for the detailed breakdown and the suggested modifications. I will delve into this tonight or tomorrow to evaluate both your proposed solution and the potential implications of reverting to the version 1 approach.
I’ll keep you posted on my progress and might reach out if I need further input.
Best regards,
Younes

Hi Ahmed 👋🏼,
I’ve addressed the issues you mentioned in the latest release. Since everything is working now, I’ll close this issue.
If you have any more problems, feel free to open a new issue.
Thanks 🙏🏼.


⚠ Telly has degraded performance

In 8e81ac8, Telly ($TLY) experienced degraded performance:

HTTP code: 200
Response time: 1082 ms

Resolved: Telly performance has improved in 91d5705.


Can't build app

I can't build Frachise using "yarn build" (as explained here). This errors do show up:

Error running command: UglifyJs Plugin Invalid Options
options['compress'] is an invalid additional property
options['output'] is an invalid additional property

After commenting out lines 26 to 31 from nwb.config.js this error disappears, but others do show up and Franchise can't be built to static files.

Looks good, after disabling uglify in nwb.config.js now I'm able to build the app. Thanks!
But for now I can't open any file. Firefox complains with this error in WebAssembly.Module):
RuntimeError: index out of bounds
And Chrome directly crashes...

Great, now it seems to work!


Add type anntations

Pull Request Checklist

[ ] 🧪 Added tests for changed code.
[x] 🛠 All tests pass when run locally (run tox or make test to find out!).
[ ] 📚 Updated documentation for changed code.
[x] ⏩ Code is up-to-date with the master branch.

Description of Changes
Added type annotations to all non test codes.
Used python stub file format to annotation for compatibility of Python 2.
mypy -p arrow -2 --strict and mypy -p arrow --strict both returns Success: no issues found in 10 source files (mypy: 0.750)
Did not test with pyre and pytype because they both can not handle python 3.8 code.

Codecov Report

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

@@          Coverage Diff          @@
##           master   #740   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           9      9
  Lines        1678   1678
  Branches      283    283
=====================================
  Hits         1678   1678

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 5395fbb...3e17ca8. Read the comment docs.

Hi @isac322, thanks for putting in the time and effort to work on this. Adding type annotations to Arrow has been on my mind for a while.
That said, I have a couple of comments: I worry that adding the interface (.pyi) files may become unmaintainable as future contributors contribute to Arrow since type annotations are pretty new to Python and not many people may be familiar with them. I think it might be better to take an inline approach as shown here so that users are more enticed to update them when they change code. The only problem with this is that Python 3.5+ is required unless we take the commenting approach specified here.
That begs the question: should we wait until Arrow drops Python 2 support before adding the Python 3.5+ style type annotations, especially considering that Python 2 is approaching EOL in a few weeks (https://github.com/crsmithdev/arrow/issues/739). Or should we go ahead with the commenting approach to maintain backward compatibility with Python 2.
I do agree though that adding type annotations is a great step for Arrow and will help reduce future bugs.
Once again, thanks for the solid work, I just wanted to start a discussion about the changes.

Hi @isac322, just wanted to check in on this PR. @systemcatch and I discussed these changes and we decided that it is best to integrate type annotations once Arrow has officially dropped support for Python 2.7 since this will allow us to include more maintainable, inline type annotations.
Since Python 2.7 reached EOL today, we plan on dropping Python 2 support from Arrow in a future v0.16.0 release. We would love to integrate inline type annotations for that release and we were wondering if you would be able to help with that.
Let us know! Thanks!

Hi @jadchaar, first of all, I'm sorry for the delay and thank you for the discussion. Because my company use Python 2 and 3 both yet, personally, it would be good if type annotation stored in separate files 😅.
But since Python 2 is officially dropped, I agree with your decision and I think I can help with the integration.
Please mention me on this PR after dropping Python 2, so I can annotate type on function and local variable too.
Thanks!

Let's close this for now and once python 2 support is dropped we can move towards inline type checking.


Possible to publish full cargo package version as environment variable?

Currently cargo publishes CARGO_PKG_VERSION_MAJOR, CARGO_PKG_VERSION_MINOR and CARGO_PKG_VERSION_PATCH', and optionally CARGO_PKG_VERSION_PRE`.
Would it be possible to just access the full version via something like CARGO_PKG_VERSION_FULL or CARGO_PKG_VERSION? This would eliminate the need for code like this: https://github.com/rust-lang/cargo/blob/master/src/cargo/lib.rs#L226 in projects using these environment variables, as projects could just use one env!() macro instead of a format and four env macros.

Awesome, thanks!


Confusion when the window is about the same width and height

So in my project I do MediaQueries to get if the device is in portrait mode or landscape. But there's a certain way on Desktop to be in neither of those states. I'm using a 1080p monitor and when I take only half the screen, both portait and landscape mediaqueries fail. It's amusing for me since it's probably never going to happen on the final product since it's on mobile devices, but nonetheless is there a reason for that?
If you want me to give you a piece of code that will reproduce this, I'll do it, but let's just talk for now.

That might be why on desktop it has weird behaviour. Anyway cool package you got there and have a beautiful day my good sir.


Add example for throttler behind a proxy

This looks like a great addition! Would you like to add it to the docs as well?

Yes, I'll make a PR later :)

Just found out that the example also works with fastify.

https://github.com/nestjs/docs.nestjs.com/pull/2045


Hide all masthead links inside the hamburger icon on mobile devices

Issue filled on theme repo. - https://github.com/mmistakes/minimal-mistakes/issues/1945

Issue closed on theme. Some helpful links -

https://github.com/mmistakes/minimal-mistakes/issues/1301#issuecomment-336577815


docs: fix import

Description
I believe the examples intended to use the broadcastTransaction function, but instead are using the the broadcastResponse function, which doesn't seem to exist.
Type of Change

[ ] New feature
[ ] Bug fix
[x] API reference/documentation update
[ ] Other

Does this introduce a breaking change?
no
Are documentation updates required?
no
Testing information
n/a
Checklist

[x] Code is commented where needed
[x] Unit test coverage for new or modified code paths
[x] npm run test passes
[ ] Changelog is updated
[x] Tag 1 of @yknl or @zone117x for review

Tagging @yknl for review. Not sure how to update the changelog, let me know if this PR requires further work.

Thanks, good catch! 🙏


TextField obscure: true crashed on iOS

On iOS the app is crashing, if we have the TextField with the property obscure: true.
Related issue: https://github.com/flutter/flutter/issues/62501

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

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

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  MyHomePage({Key key, this.title}) : super(key: key);

  final String title;

  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: Padding(
        padding: const EdgeInsets.all(10.0),
        child: Column(
          children: [
            Text(
                "Focus on the Password field and then click on done button from the Keyboard.\nThe app will crash."),

            // Text Field
            TextField(
              decoration: InputDecoration(
                hintText: "Password field",
              ),
              obscureText: true,
              textInputAction: TextInputAction.done,
            ),
          ],
        ),
      ),
    );
  }
}

flutter doctor -v
[✓] Flutter (Channel dev, 2.1.0-10.0.pre, on Mac OS X 10.15.6 19G2021
    darwin-x64, locale en-US)
    • Flutter version 2.1.0-10.0.pre at /Library/flutter
    • Framework revision cc9b78fc5c (2 weeks ago), 2021-02-25 13:26:03 -0800
    • Engine revision a252ec09b7
    • Dart version 2.13.0 (build 2.13.0-77.0.dev)

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

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

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

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)

[✓] IntelliJ IDEA Community Edition (version 2019.3.3)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

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

[✓] Connected device (2 available)
    • iPhone 11 Pro Max (mobile) • FCD33A06-2942-4D0A-823B-3DA28CB6BDAD • ios
      • com.apple.CoreSimulator.SimRuntime.iOS-14-4 (simulator)
    • Chrome (web)               • chrome                               •
      web-javascript • Google Chrome 88.0.4324.192

• No issues found!

Crash Report from the App:
Crashed: com.apple.main-thread
0  libobjc.A.dylib                0x7fff5129d40b objc_msgSend + 11
1  Flutter                        0x108b42cf5 -[TextInputSemanticsObject setSemanticsNode:] + 344
2  Flutter                        0x108b401d3 flutter::AccessibilityBridge::UpdateSemantics(std::__1::unordered_map<int, flutter::SemanticsNode, std::__1::hash<int>, std::__1::equal_to<int>, std::__1::allocator<std::__1::pair<int const, flutter::SemanticsNode> > >, std::__1::unordered_map<int, flutter::CustomAccessibilityAction, std::__1::hash<int>, std::__1::equal_to<int>, std::__1::allocator<std::__1::pair<int const, flutter::CustomAccessibilityAction> > >) + 547
3  Flutter                        0x108b4a4e6 flutter::PlatformViewIOS::UpdateSemantics(std::__1::unordered_map<int, flutter::SemanticsNode, std::__1::hash<int>, std::__1::equal_to<int>, std::__1::allocator<std::__1::pair<int const, flutter::SemanticsNode> > >, std::__1::unordered_map<int, flutter::CustomAccessibilityAction, std::__1::hash<int>, std::__1::equal_to<int>, std::__1::allocator<std::__1::pair<int const, flutter::CustomAccessibilityAction> > >) + 80
4  Flutter                        0x108ee965a std::__1::__function::__func<flutter::Shell::OnEngineUpdateSemantics(std::__1::unordered_map<int, flutter::SemanticsNode, std::__1::hash<int>, std::__1::equal_to<int>, std::__1::allocator<std::__1::pair<int const, flutter::SemanticsNode> > >, std::__1::unordered_map<int, flutter::CustomAccessibilityAction, std::__1::hash<int>, std::__1::equal_to<int>, std::__1::allocator<std::__1::pair<int const, flutter::CustomAccessibilityAction> > >)::$_37, std::__1::allocator<flutter::Shell::OnEngineUpdateSemantics(std::__1::unordered_map<int, flutter::SemanticsNode, std::__1::hash<int>, std::__1::equal_to<int>, std::__1::allocator<std::__1::pair<int const, flutter::SemanticsNode> > >, std::__1::unordered_map<int, flutter::CustomAccessibilityAction, std::__1::hash<int>, std::__1::equal_to<int>, std::__1::allocator<std::__1::pair<int const, flutter::CustomAccessibilityAction> > >)::$_37>, void ()>::operator()() + 108
5  Flutter                        0x108e691ba fml::MessageLoopImpl::FlushTasks(fml::FlushType) + 160
6  Flutter                        0x108e6df38 fml::MessageLoopDarwin::OnTimerFire(__CFRunLoopTimer*, fml::MessageLoopDarwin*) + 26
7  CoreFoundation                 0x7fff23da2414 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20
8  CoreFoundation                 0x7fff23da20ae __CFRunLoopDoTimer + 1038
9  CoreFoundation                 0x7fff23da170a __CFRunLoopDoTimers + 282
10 CoreFoundation                 0x7fff23d9c35e __CFRunLoopRun + 1950
11 CoreFoundation                 0x7fff23d9b8a4 CFRunLoopRunSpecific + 404
12 GraphicsServices               0x7fff38c05bbe GSEventRunModal + 139
13 UIKitCore                      0x7fff49372964 UIApplicationMain + 1605
14 Agenda BOA                     0x107eea0ab main + 5 (AppDelegate.swift:5)
15 libdyld.dylib                  0x7fff5211c1fd start + 1

Fatal Exception: NSInvalidArgumentException
-[MTLSimCommandBuffer backingTextInputAccessibilityObject]: unrecognized selector sent to instance 0x7fc723c1fc20

Fatal Exception: NSInvalidArgumentException
0  CoreFoundation                 0x7fff20421ae6 (Missing)
1  libobjc.A.dylib                0x7fff20177e78 objc_exception_throw
2  CoreFoundation                 0x7fff204306f7 (Missing)
3  CoreFoundation                 0x7fff20426036 (Missing)
4  CoreFoundation                 0x7fff20428068 (Missing)
5  Flutter                        0x11059acf5 (Missing)
6  Flutter                        0x1105981d3 (Missing)
7  Flutter                        0x1105a24e6 (Missing)
8  Flutter                        0x11094165a (Missing)
9  Flutter                        0x1108c11ba (Missing)
10 Flutter                        0x1108c5f38 (Missing)
11 CoreFoundation                 0x7fff20390c57 (Missing)
12 CoreFoundation                 0x7fff2039072a (Missing)
13 CoreFoundation                 0x7fff2038fcdd (Missing)
14 CoreFoundation                 0x7fff2038a35e (Missing)
15 CoreFoundation                 0x7fff203896d6 (Missing)
16 GraphicsServices               0x7fff2c257db3 (Missing)
17 UIKitCore                      0x7fff24696cf7 (Missing)
18 UIKitCore                      0x7fff2469bba8 (Missing)
19 Agenda BOA                     0x10f7b013b main + 5 (AppDelegate.swift:5)
20 libdyld.dylib                  0x7fff2025a3e9 (Missing)
21 ???                            0x1 (Missing)

https://user-images.githubusercontent.com/14223997/110835591-00e35a00-82c5-11eb-8d72-23cdc06ca3a1.mov

Verified this on all latest channels and observed that, this crash occurs only on dev and master using simulator. The same code works properly if we run it on physical device (tested on iPhone 6s, iOS 14.3) with no crash.
Simulator : iphone 12 pro max : 14.3

Latest master using device:

https://user-images.githubusercontent.com/67046386/110923491-f8336800-8346-11eb-8ef5-201fd9af93b0.MP4

Latest stable using simulator:

https://user-images.githubusercontent.com/67046386/110923539-06818400-8347-11eb-8031-2419b704887f.mov
@deepak786
Try to use a device on same channel and you shouldn't see the crash.
Cc: @LongCatIsLooong for further insights.

latest master and dev flutter doctor -v
[✓] Flutter (Channel master, 2.1.0-11.0.pre.227, on Mac OS X 10.15.4 19E2269
    darwin-x64, locale en-GB)
    • Flutter version 2.1.0-11.0.pre.227 at
      /Users/dhs/documents/Fluttersdk/flutter
    • Framework revision 66768f8c5b (6 hours ago), 2021-03-11 19:55:02 -0800
    • Engine revision 1b68503bc8
    • Dart version 2.13.0 (build 2.13.0-125.0.dev)

[!] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    ! CocoaPods 1.9.3 out of date (1.10.0 is recommended).
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin
        code that responds to your plugin usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To upgrade see
      https://guides.cocoapods.org/using/getting-started.html#installation for
      instructions.

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

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

[✓] Connected device (3 available)
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729 • ios
      • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                               •
      web-javascript • Google Chrome 89.0.4389.82

! Doctor found issues in 1 category.

[✓] Flutter (Channel dev, 2.1.0-10.0.pre, on Mac OS X 10.15.4 19E2269
    darwin-x64, locale en-GB)
    • Flutter version 2.1.0-10.0.pre at /Users/dhs/documents/Fluttersdk/flutter
    • Framework revision cc9b78fc5c (2 weeks ago), 2021-02-25 13:26:03 -0800
    • Engine revision a252ec09b7
    • Dart version 2.13.0 (build 2.13.0-77.0.dev)

[!] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    ! CocoaPods 1.9.3 out of date (1.10.0 is recommended).
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin
        code that responds to your plugin usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To upgrade see
      https://guides.cocoapods.org/using/getting-started.html#installation for
      instructions.

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

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

[✓] Connected device (3 available)
    • Darshan's iphone (mobile) • 21150b119064aecc249dfcfe05e259197461ce23 • ios
      • iOS 14.2
    • macOS (desktop)           • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)              • chrome                                   •
      web-javascript • Google Chrome 89.0.4389.82

! Doctor found issues in 1 category.

@darshankawar I don't have the iOS device so I'm not able to test it on the real device.
According to your findings, the issue is only on the simulator and with only the master and dev channel, right?

@deepak786
I updated my previous comment to following:
You may switch to latest beta or stable to continue with your work, where you can use the simulator.

looks like a duplicate of #77139


Allow for defining plugin dependencies primary to allow auth

Following up on my issue, this allows the user to define plugin dependencies for this plugin, and pushes the route and method registration to the after hook, which allows for more robust plugin and server composition.

Coverage remained the same at 100.0% when pulling a7ec8dc274c399fb0ce0716181990cbe2dc6b6ca on mshick:master into a3f6ad99d75a269c10929c7b4031b6c0b8e29343 on franzip:master.

@mshick Thanks for the PR and sorry for the long wait, for some reason I had notifications turned off...


Reference the bin

:tada: This PR is included in version 1.1.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


vSphere cluster machine provisioning encountered Cilium error: Dead loop on virtual device cilium_geneve

What happened:
vSphere cluster machine provisioning encountered Cilium error: Dead loop on virtual device cilium_geneve
What you expected to happen:
Machine and cluster provisioning pass
How to reproduce it (as minimally and precisely as possible):
Provision a vSphere cluster by following the EKS Anywhere instruction.
https://anywhere.eks.amazonaws.com/docs/getting-started/vsphere/vsphere-getstarted/
Anything else we need to know?:
How can we find logs related to this error? Please refer to the attached screenshot.

Environment:

EKS Anywhere Release: v0.16.0
EKS Distro Release: N/A

Hi all - any suggestion on how to debug and mitigate this issue?

@ph-armada can you share your cluster config?

Hi @jonathanmeier5 - I used the default setup as follows:
apiVersion: anywhere.eks.amazonaws.com/v1alpha1
kind: Cluster
metadata:
  name: mgmt8
spec:
  clusterNetwork:
    cniConfig:
      cilium: {}
    pods:
      cidrBlocks:
      - <IP_ADDRESS>/16
    services:
      cidrBlocks:
      - <IP_ADDRESS>/12
  controlPlaneConfiguration:
    count: 2
    endpoint:
      host: "<IP_ADDRESS>"
    machineGroupRef:
      kind: VSphereMachineConfig
      name: mgmt8-cp
  datacenterRef:
    kind: VSphereDatacenterConfig
    name: mgmt8
  externalEtcdConfiguration:
    count: 3
    machineGroupRef:
      kind: VSphereMachineConfig
      name: mgmt8-etcd
  kubernetesVersion: "1.27"
  managementCluster:
    name: mgmt8
  workerNodeGroupConfigurations:
  - count: 2
    machineGroupRef:
      kind: VSphereMachineConfig
      name: mgmt8
    name: md-0
...

@ph-armada were you able to resolve this? I am getting the same error and my configuration matches yours.

I understood from a Container Architect from Amazon that this issue occurs when the Pod CIDRS and node endpoints are in the same network. I changed my Pod CIDR to a different network and was able to overcome the issue.

Thanks @vparisa for the hint. May I know if you can share a bit more details on the other network, so I can refer to it?
I tried to put it under <IP_ADDRESS>/16 or <IP_ADDRESS>/20 etc.. The Cilium error was gone but the CNI isn't up:
Jul 06 20:28:34 mgmt16-fq5dn kubelet[1496]: E0706 20:28:34.682171    1496 pod_workers.go:965] "Error syncing pod, skipping" err="network is not ready: container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:Network plugin returns error: cni >
Jul 06 20:28:34 mgmt16-fq5dn kubelet[1496]: E0706 20:28:34.758994    1496 secret.go:192] Couldn't get secret kube-system/csi-vsphere-config: object "kube-system"/"csi-vsphere-config" not registered
Jul 06 20:28:34 mgmt16-fq5dn kubelet[1496]: E0706 20:28:34.759360    1496 nestedpendingoperations.go:348] Operation for "{volumeName:kubernetes.io/secret/fecc20ea-24a7-4a3c-937e-4dc99512e84a-vsphere-config-volume podName:fecc20ea-24a7-4a3c-937e-4dc99512e84a nodeName:}" failed. >
Jul 06 20:28:35 mgmt16-fq5dn kubelet[1496]: E0706 20:28:35.882463    1496 kubelet.go:2373] "Container runtime network not ready" networkReady="NetworkReady=false reason:NetworkPluginNotReady message:Network plugin returns error: cni plugin not initialized"
Jul 06 20:28:36 mgmt16-fq5dn kubelet[1496]: E0706 20:28:36.682651    1496 pod_workers.go:965] "Error syncing pod, skipping" err="network is not ready: container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:Network plugin returns error: cni >
Jul 06 20:28:38 mgmt16-fq5dn kubelet[1496]: E0706 20:28:38.683277    1496 pod_workers.go:965] "Error syncing pod, skipping" err="network is not ready: container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:Network plugin returns error: cni >
Jul 06 20:28:40 mgmt16-fq5dn kubelet[1496]: E0706 20:28:40.680896    1496 pod_workers.go:965] "Error syncing pod, skipping" err="network is not ready: container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:Network plugin returns error: cni >
Jul 06 20:28:40 mgmt16-fq5dn kubelet[1496]: E0706 20:28:40.884373    1496 kubelet.go:2373] "Container runtime network not ready" networkReady="NetworkReady=false reason:NetworkPluginNotReady message:Network plugin returns error: cni plugin not initialized"
Jul 06 20:28:42 mgmt16-fq5dn kubelet[1496]: E0706 20:28:42.681036    1496 pod_workers.go:965] "Error syncing pod, skipping" err="network is not ready: container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:Network plugin returns error: cni

@ph-armada
I used this configuration
pods:
cidrBlocks:
- <IP_ADDRESS>/16
services:
cidrBlocks:
- <IP_ADDRESS>/12
controlPlaneConfiguration:
count: 2
endpoint:
host: <IP_ADDRESS>

@ph-armada Try recreating the cluster with non-overlapping IP ranges. Closing the issue but we can continue the conversation.


issue #191: log cabin cannot start if open segment is full of 0s

(linking this PR to issue #191)

Travis CI is failing because of scons check:
./Storage/SegmentedLog.cc:997:  Lines should be <= 80 characters long  [whitespace/line_length] [2]

ah, scons check. i couldn't remember/find the command to run the linter without doing the PR (i admit I didn't look that hard). will re-push

as an aside, i've been using clang-format, you can drop a .clang-format file at the root of your tree and it will format everything for you adequately.

unit tests pre/post:
[hardtnf@nate-maipo (11:35 AM) ((detached): test] $ ./test
[==========] Running 601 tests from 67 test cases.
2016-08-25 18:35:34.248180 Storage/SegmentedLog.cc:998 in loadOpenSegment() ERROR[4446:thread 1]: Segment version read from open-90 was 0, but this code can only read version 1 Exiting...
Aborted
[hardtnf@nate-maipo (11:35 AM) ((detached): test] $ ./test
[==========] Running 601 tests from 67 test cases.
[==========] 601 tests from 67 test cases ran. (1204 ms total)
[  PASSED  ] 601 tests.

Thanks @nhardt, merged.


eds: split advanced LB stats and assignment streams.

This significantly simplifies EDS implementation in Envoy, as we can
have EDS updates propagates in the same way and with the same
gRPC/REST/filesystem watch infrastructure we use for LDS/RDS/CDS.

@amb67 As discussed offline, here's the split. Can you take a pass at this? Thanks.

@amb67 Friendly ping.

Great, sounds like this is ready to ship. @mattklein123 Can I get an approval?


Log date formatter changed with the latest build

Thanks for updating/fixing the logging in the latest build.
The format changed for me, though
2019-11-25T20:45Z [INFO] [survival] <frebib> (quact)
2019-12-08T15:17Z [INFO] [survival] <frebib> zzzzzzz
22:27:04 [INFO] [creative] <frebib> test
22:27:04 [INFO] [creative] <frebib> hi
22:27:05 [INFO] [creative] <frebib> sup

Our Bungeecord instances uses a different date format specified at runtime:
https://github.com/spritsail/bungeecord/commit/b79e9f89ad5d6559180c12e17216fc98cbb8eb4d
The ConciseFormatter that was used before reads that variable, and defaults to HH:mm:ss:
https://github.com/SpigotMC/BungeeCord/blob/master/log/src/main/java/net/md_5/bungee/log/ConciseFormatter.java#L17
Could this override be re-added, please

Better still, it looks like the ConciseFormatter can still be used, but using one of the Lombok constructors, as upstream does here: https://github.com/SpigotMC/BungeeCord/commit/bf673c5d8b965a035ab55753cfbc6038f8a4cfbb#diff-bb12962309e5cb9baadb0b934fd0f074R29
The empty constructor is Protected, which is why it throws nasty warnings
2020-02-25T12:06Z [WARNING] Exception encountered when loading plugin: gChat
java.lang.IllegalAccessError: tried to access method java.util.logging.Formatter.<init>()V from class me.lucko.gchat.GChatPlugin
    at me.lucko.gchat.GChatPlugin.loadLogger(GChatPlugin.java:208)
    at me.lucko.gchat.GChatPlugin.loadConfig(GChatPlugin.java:183)
    at me.lucko.gchat.GChatPlugin.onEnable(GChatPlugin.java:87)
    at net.md_5.bungee.api.plugin.PluginManager.enablePlugins(PluginManager.java:250)
    at net.md_5.bungee.BungeeCord.start(BungeeCord.java:280)
    at net.md_5.bungee.BungeeCordLauncher.main(BungeeCordLauncher.java:62)
    at net.md_5.bungee.Bootstrap.main(Bootstrap.java:15)

https://docs.oracle.com/javase/8/docs/api/java/util/logging/Formatter.html#Formatter--

Will accept a PR for this


ci: Use GitHub Actions for CI

macOS jobs on Travis CI sometimes get stuck in the "Queued" status.

@bors try

bors try

bors try

bors merge


Bugfix: queries with retry=True return None when rate-limited

Because bool is a subclass of int, isinstance(retry, int) returns True and the
decrement results in retry=0, terminating the while loop. Patches 73a242d.

Well caught, thanks. ping @bbolli


Add an error message for invalid size of contextualize's result

Also very useful. Sorry these pull requests took me so long to merge! Thanks again!


Improvement to collect_blobs in command_modules/storage/util.py

Environment summary
Install Method (e.g. pip, interactive script, apt-get, Docker, MSI, edge build) / CLI version (az --version) / OS version / Shell Type (e.g. bash, cmd.exe, Bash on Windows)

az --version
azure-cli (2.0.31)

storage (2.0.31)
Python (Windows) 3.6.1 (v3.6.1:69c0db5, Mar 21 2017, 17:54:52) [MSC v.1900 32 bit (Intel)]

Primary Issue : Very slow batch download of blobs from Azure Storage using CLI when we attempt an az storage blob download-batch on a container with a very large number of blobs. The enumeration of matching blobs is very slow
Reviewing the collect_blobs function it appears that we perform the pattern matching locally since the service cannot handle wildcards. So we land up listing the entire container contents to match with the pattern.
We can improve the situation quite a bit by leveraging the blob prefix search in BaseBlobService.list_blobs. However, for this we need to extract the blob prefix from the pattern.

Alternative solution: asynchronous list and downloading.

The azcopy download command is in our storage-preview extension now. Let us know if you are satisfied with the performance.
Try that like:
az storage azcopy blob download
-c containerName
--account-name accountName
-s virtual_directory/path
-d download/path
--recursive


fix downstream builds, add wstring split UTIL

Moves declaration of Vector_FindAndRemove to occur after #include <algorithm> which currently breaks builds downstream (for Open Fortress, for example).
Adds a UTIL function for splitting std::wstring into a vector which is 1-to-1 with the std::string split util. Could make this templated instead, open to feedback there.

Ty!!


Deliver transcript.txt to users

Separated from #1004 Not of high priority, but urrently we have .sos/transcript.txt a hidden "feature". It is useful to me from time to time in debugging my code. However we might want to improve it (lock-protect, add step names) and formally present to users. Making it part of the report is not convenient because by default i do not generate reports: it takes a while to plot those DAGs.

For the report comment, it is easy to include it to reports, and it can be useful to let users know what exactly has been run. There are two caveats though:

Transcript is not available for remote tasks, and those are arguably the most interesting ones. I do feel a need to include trascripts in task files, because these reflects host-specific scripts and are very useful for debugging.

Transcript can be very long if we apply a script to thousands of files. A walkaround is to log only __index=0.

Transcripts are far less weight than DAG, and this is why DAG is only included with option -d.

Transcript added to workflow report. At some place we might want to say that the transcripts are not complete transcripts of all scripts executed.


Rethink the -Werror decision.

Currently Hadrian fails in spectacular ways to build ghc for anything but the CI targets. This is mostly due to -Werror, yes I can go in and add the -Wno-xxx flags to Warnings.hs, but that puts the burden on me, and doesn't guarantee that a bump of a library won't break a specific build again.
While I do see the value in no-warnings, it means builds that run over night to produce a multitude of cross compilers just fail after some time, even though they could have (and did with the make base build system) built just fine.

I agree, the few times I tried to use Hadrian it always failed due to a -Werror. But the make based one worked fine, I didn't expect -Werror to even be on for --flavour=devel2 unless I'm doing something wrong.
In general I think it should just do what the make based system did to ease transition and then we can talk later about changing the defaults.

@angerman @Mistuke Sure, I'm fine with removing -Werror from defaults. It's something that can be easily added back later. Also, it may be the reason behind this recent issue #483.

In general I think it should just do what the make based system did to ease transition and then we can talk later about changing the defaults.

I've already forgotten what the Make's default is. When does it add -Werror? If you can create a PR to do The Right Thing I'd be happy to review and merge!

@snowleopard Unless I'm mistaken, the make version only enables -Werror for validate builds. https://github.com/ghc/ghc/blob/master/mk/flavours/validate.mk#L29
Anything else doesn't have it.

@Mistuke Aha, I see. I think we can simply drop -Werror for now, and bring it back when resolving the issue with validation #299. I can take care of this.

IIRC I've seen errors coming from warnings in plain make for stage2. I
almost never use validate.
On Mon, Dec 4, 2017 at 11:16 PM, Andrey Mokhov<EMAIL_ADDRESS>wrote:

@Mistuke https://github.com/mistuke Aha, I see. I think we can simply
drop -Werror for now, and bring it back when resolving the issue with
validation #299 https://github.com/snowleopard/hadrian/issues/299. I
can take care of this.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/snowleopard/hadrian/issues/485#issuecomment-349124830,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABQFBrhjtC59cwdmCvQZ_6jzvjLHuFvRks5s9G81gaJpZM4Q0Rr8
.

@snowleopard Yeah, I think that's the right thing to do. I think #483 should be "solved" too then. I suspect #483 is an issue with GHC, as the buildbots have been broken for ages so people have committed code that don't pass validation. Also a normal development build often has warnings as you haven't cleaned up the code yet :)
@ggreif well, ideally you should be running validate before you push a patch. We consider anything that doesn't pass a validate build as broken. That's how issues like #483 happen. And sometimes the warnings do point to a real issue.

Done in #487.

Thanks @snowleopard !

@Mistuke Thanks for your help :)


typo

second bullet
"Your will..."-->"You will..."

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

ID: 6c2e431c-e5ab-e733-ef58-8d9c450c0d75
Version Independent ID: c3bbe2ec-5b6a-71f8-e465-e0bd760b66d5
Content: Bot review guidelines - Bot Service
Content Source: articles/bot-service-review-guidelines.md
Service: bot-service
GitHub Login: @Kaiqb
Microsoft Alias: kamrani

Thanks for pointing out the typo. Fixing in PR 1828

Closing this issue because it is fixed. Thanks!


Got "TypeError: must be convertible to a buffer, not bytearray" in PyPy

PyPy version: 4.0.1 with GCC 4.8.4 on linux2
System: Ubuntu 15.04 x84 64bit
Error line: ./site-packages/redis/connection.py line 360 self._reader.feed(self._buffer, 0, bufflen)
Find where define attribute _reader: line 314 self._reader = hiredis.Reader(**kwargs)
self._buffer's type: line 293 self._buffer = bytearray(socket_read_size)
I tried to change self._reader's type, do like this: self._reader.feed(buffer(self._buffer), 0, bufflen), but if i do this, process would crash.

Not directly a hiredis issue, but a problem with hiredis-py.
Looks like hiredis-py is just not compatible wiht PyPy. As I have never used it nor am I a Python dev I have no idea how to fix it and rely on external contributions only.

Thanks for your help.


acl support hot reload and acl http api

acl now change need to restart the server, can make it like tailscale, have a api to edit acl file and hot reload it?

duplicate of #582


SpaceBetweenParens raised unexpected error / undefined method `[]' for nil:NilClass'

Wondering if anyone can point me in the right direction why this error would occur for the following code;
$default-font-family : "Helvetica Neue", Helvetica, Arial, "Hiragino Sans GB", "冬青黑体", STHeiti, "华文黑体", "Microsoft YaHei", "微软雅黑", sans-serif;

I'm guessing scss-lint may not be recognising the Chinese characters?

Hey @s10wen,
I can't reproduce your issue. When I paste the above code and run it against the latest version of scss-lint (0.47.0 at time of writing), it correctly reports:
test.scss:1 [W] SpaceAfterVariableName: Variable names should be followed immediately by a colon

Are you running the latest version of SCSS-Lint?

Thanks @sds turns out I wasn't on the latest release sorry! I saw: https://rubygems.org/gems/scss-lint/versions/0.38.0 and thought the latest release was 0.38.0 I've updated to 0.47.1 and it works now, thanks.


Cannot invoke initializer for type 'Height' with an argument list of type '(Int)'

What is the proper way to pass an int/float/double variable to Height()/Width()/etc Attributes?
I get the following error:
Cannot invoke initializer for type 'Height' with an argument list of type '(Int)'

Hi @r-a-o 👋
You need to cast those values to CGFloat. Like this:
let myInteger: Int = 10
Width(CGFloat(myInteger))

Hope it helps!

CGFloat works.
I tried Float, Double and gave up.
Thanks.


mpd: 0.22.5 -> 0.22.6

Motivation for this change
update mpd to v0.22.6
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 114444 at 09fe0bf3 run on x86_64-linux 1

2 packages built:

mpd
mpd-small

2 suggestions:

warning: unclear-gpl
gpl2 is a deprecated license, check if project uses gpl2Plus or gpl2Only and change meta.license accordingly.
Near pkgs/servers/mpd/default.nix:176:9:
    |
176 |         license     = licenses.gpl2;
    |         ^

warning: unnecessary-parallel-building
Meson, CMake and qmake already set enableParallelBuilding = true by default so it is not necessary.
Near pkgs/servers/mpd/default.nix:152:7:
    |
152 |       enableParallelBuilding = true;
    |       ^


Trips: Display Table v2

Only when connected
Status on lines depending on completion
Hover popup on disabled buttons saying "you have to be the driver to do this"
UI improvements on the form (depending on ideas/feedback)

Remove back trips


[GOBBLIN-1670] Remove rat tasks and unneeded checkstyles blocking build pipeline

Dear Gobblin maintainers,
Please accept this PR. I understand that it will not be reviewed until I have checked off all the steps below!
JIRA

[ ] My PR addresses the following Gobblin JIRA issues and references them in the PR title. For example, "[GOBBLIN-XXX] My Gobblin PR"

https://issues.apache.org/jira/browse/GOBBLIN-1670

Description

[x] Here are some details about my PR, including screenshots (if applicable):
Github Actions seems to have changed some settings under the hood which caused issues in the pipeline.

Gradle task :rat  seems to fail due to not finding an xml to build the rat report. Since it's not useful in CI/CD easiest path forward is to disable the task
Checkstyle is now checking generated code, but this should be disabled as well

Tests

[x] My PR adds the following unit tests OR does not need testing for this extremely good reason:

Commits

[x] My commits all reference JIRA issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

Codecov Report

Merging #3529 (1d1243b) into master (7aad1f9) will decrease coverage by 3.19%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #3529      +/-   ##
============================================
- Coverage     46.61%   43.41%   -3.20%
+ Complexity    10409     2041    -8368
============================================
  Files          2081      405    -1676
  Lines         81449    17524   -63925
  Branches       9090     2141    -6949
============================================
- Hits          37965     7608   -30357
+ Misses        39973     9067   -30906
+ Partials       3511      849    -2662

Impacted Files
Coverage Δ

...org/apache/gobblin/iceberg/GobblinMCEProducer.java
32.50% <0.00%> (-16.22%)
:arrow_down:

.../gobblin/iceberg/writer/IcebergMetadataWriter.java
72.10% <0.00%> (-0.04%)
:arrow_down:

...ava/org/apache/gobblin/runtime/MultiConverter.java

...ce/modules/orchestration/AzkabanAjaxAPIClient.java

.../destination/DestinationDatasetHandlerService.java

...ava/org/apache/gobblin/runtime/util/GsonUtils.java

...bblin/compaction/mapreduce/avro/AvroKeyMapper.java

...rquet/JsonIntermediateToParquetGroupConverter.java

.../management/copy/replication/DataFlowTopology.java

...gobblin/runtime/spec_store/MysqlBaseSpecStore.java

... and 1672 more


using other algorithm

hi i want to know hot to use JPS algorithm in this python simulator? or could you explain how to use other algorithm? thank you

Hi, sorry I don't check my Github anymore. You might want to just directly adapt this implementation of JPS (https://github.com/sahibdhanjal/Path-Planning-Simulator/blob/master/Python Simulator/Frontier Exploration/JPS.py) for your usecase. This was originally written to work with the Turtlebot and ROS


Remove batchmanager and default FlushMode related feature gates

The following 2 PRs:

https://github.com/microsoft/FluidFramework/pull/7071 (related https://github.com/microsoft/FluidFramework/issues/4048)
https://github.com/microsoft/FluidFramework/pull/7178 (related https://github.com/microsoft/FluidFramework/issues/3788)

are shipping 2 related features behind a feature gate.
We need to ensure that enabling the feature gate does not break existing clients, provide guidance about how to use the APIs to go around any issues and to ultimately remove the feature-gate and the old code. This issue tracks that work.
Acceptance criteria:

figure out what/where breaks by enabling the feature gate
fix/follow-up fixes for eventual issues found
remove feature gate and unused code (such as the BatchManger)

The config management feature has been merged. It needs to be wired in Bohemia first, then we can properly enable this and roll it out.


Expose cargo-lambda "include" option

It would be nice if this construct exposes the include function that was added to cargo-lambda in https://github.com/cargo-lambda/cargo-lambda/pull/650

I think you can use build flags for that: https://github.com/cargo-lambda/cargo-lambda-cdk?tab=readme-ov-file#cargo-lambda-build-flags
But if you want a specific attribute, feel free to open a PR, it can be more useful for other people.

This is awesome, I didn't realise it was so easy to pass build flags! That works for me now.
This is probably not the right place to ask, but I'll try anyway since it might be relevant for other people in the future: do you know if something similar (build flags) is supported also with SAM?
Thanks once more!

do you know if something similar (build flags) is supported also with SAM?

it’s not supported in the SAM cli. I built the adapter and I don’t think it’s been touched ever since 😅 It should not be hard to implement, if you want to look into it.
I’m going to close this issue as completed, but feel free to start a discussion if you want to discuss this and other features further.


[Feature Enhancement] Dark Mode for Blog Page (GSSoC'23)

Is your feature request related to a problem? Please describe.
The problem is that the blog page of a website is currently in white mode and not compatible with dark mode. The navbar, changes to dark mode but the background of the blog page doesn't.
Describe the solution you'd like
I would like the blog page of the website to be compatible with dark mode. This means changing the background color and font color of the blog page to a dark color that is suitable for viewing in dark mode.
Describe alternatives you've considered
One alternative solution would be to manually change the background color of the blog page to a dark color using custom CSS styles. Another alternative would be to use a CSS framework or library that provides built-in support for dark mode and can easily apply the necessary styles to the blog page.
Additional context
Dark Mode only changes the Navbar color

@akshitagupta15june Kindly assign this issue to me for gssoc'23!

I would like to work on this issue. Please assign me under GSSOC'23.


extend the list of supported libvirt OSes to Ubuntu-14.04 and Ubuntu-16.04

SSIA
depends on:

https://github.com/kubernetes/contrib/pull/1698
https://github.com/kubernetes/contrib/pull/1700

Once merged, both version of Ubuntu can be used.

This change is

@sttts @valentin-krasontovitsch @kovvik feel free to review

Tested locally setting OS_IMAGE to ubuntu14 and ubuntu16.

Why not use ubuntu/trusty64(32) and ubuntu/xenial64(32)?

@lynic since I wanted to extend the Vagrant with any Ubuntu-14/16 that can be used for testing.
Do you have a link to all four vagrant boxes?

@ingvagabund here it is https://atlas.hashicorp.com/ubuntu .
you can use following codes for different architecture
       if ENV["PROCESSOR_ARCHITECTURE"] == "x86"
         config.vm.box = "ubuntu/xenial32"
       else
         config.vm.box = "ubuntu/xenial64"
       end

recomputing cla status...

I signed it!

Why not use ubuntu/trusty64(32) and ubuntu/xenial64(32)?

Both are for virtual box, not for libvirt provider.

@eparis the patch has been tested many times with both ubuntu14 and ubuntu16. Can you TAL?


[GHSA-8843-m7mw-mxqm] Buffer overflow in Pillow

Updates

Affected products
References

Comments
Add patch link related to CVE-2020-10379.

Hi @sunSUNQ, I'm not merging this commit because https://github.com/python-pillow/Pillow/commit/c00fdc7e30675e5d4d85b8acd206a827da62a0fd, https://github.com/python-pillow/Pillow/commit/b8d4ce1a591beda18c2d5c80a9f5a5e4856f6beb, https://github.com/python-pillow/Pillow/commit/6e7c0ced684842eb560043790c45dfab560eddf2, https://github.com/python-pillow/Pillow/commit/6b842f4ec001b12a9348e95854e02bbd10a84e20, and https://github.com/python-pillow/Pillow/commit/2092801e71f008fa3d50cec7afc3ab50a11a14dc contain the same changes as https://github.com/python-pillow/Pillow/commit/46f4a349b88915787fea3fb91348bb1665831bbb, which is already in the advisory references. Thank you for your interest in GHSA-8843-m7mw-mxqm.


Ground should use the cached information and algorithm for scrolling

Currently the ground scrolls for a duration of groundFlow.Width / 2 per iteration. It should read from the cached scrolling info and use its scrolling algorithm.
Been working on this but for some reason the ground scrolls a bit faster than the hit object container, here's the logic I used:
private double? startTime;

protected override void UpdateAfterChildren()
{
    base.UpdateAfterChildren();

    if (!startTime.HasValue)
        startTime = Time.Current;

    groundFlow.X = scrolling.Algorithm.PositionAt(0f, Time.Current, scrolling.TimeRange.Value, DrawWidth) % (groundFlow.Width / 2f);
}

The logic you have works. The reason why it was fast is the width of the ground is not equal to the width of the Lanes, and the algorithm assumes that the leftmost edge is offset 0. Given that the ground is about 240 units bigger, it makes it seem a bit faster.
Adding a left padding of HIT_TARGET_OFFSET * 2 here will correct the problem.

I would eventually like the ground to have barline markers.  Not sure how we do this outside of placeholder HitObjects (which is how mania does barlines).


Yandex Cloud: some resource types are not found, blocks are marked as unknown

Prerequisites

[x] Ensure you have latest version of plugin installed
[x] Search for possible issue duplicates

Installation details

[PHPStorm 2021.3.2] IDE version (Help->About->Copy to Clipboard)
[0.7.15] intellij-hcl plugin version (Settings->Plugins)
[1.1.5] Terraform version (terraform -v)

Terraform Configuration Files
resource "yandex_alb_virtual_host" "host" {
  name           = "my-virtual-host"
  http_router_id = yandex_alb_http_router.default
  route {
    name = "my-route"
    http_route {
      http_route_action {
        backend_group_id = yandex_alb_backend_group.group
      }
    }
  }
}

Expected Behavior
Should allow to autocomplete blocks and provide basic validation. The same goes to all new Yandex Cloud objects related to Application Load Balancer for instance.
Actual Behavior
Does not autocomplete neither yandex_alb_virtual_host resource type, nor route block inside it. terraform validate says all green.

Looks like we have a bunch of "duplicates" here:
https://github.com/VladRassokhin/intellij-hcl/issues/351
https://github.com/VladRassokhin/intellij-hcl/issues/380
https://github.com/VladRassokhin/intellij-hcl/issues/392
https://github.com/VladRassokhin/intellij-hcl/issues/341


How does on-negotiation-needed work?

Looking at this code:
 def start_pipeline(self):
        self.pipe = Gst.parse_launch(PIPELINE_DESC)
        self.webrtc = self.pipe.get_by_name('sendrecv')
        **self.webrtc.connect('on-negotiation-needed', self.on_negotiation_needed)**
        self.webrtc.connect('on-ice-candidate', self.send_ice_candidate_message)
        self.webrtc.connect('pad-added', self.on_incoming_stream)
        self.pipe.set_state(Gst.State.PLAYING)

How does the webrtc pipeline get any information about its peers?
I see that it has the on_negotiation_needed callback but its unclear where the element variable comes from? I looked here: http://blog.nirbheek.in/2018/02/gstreamer-webrtc.html and I am still confused as to how this negotiation works? From what I understand there are 2 (or more) peers and both of them must connect to the signaling server, then one of them has to create an offer.
This is what I assume what the on_negotiation_needed callback does?

It works the same as described in the W3C specification: https://www.w3.org/TR/webrtc/

@ystreet thanks


Assertion failure in Cupertino Route when using CupertinoPages with TabPage (not CupertinoTabBar) and deep linking

This is the assertion error thrown:
The following assertion was thrown building _BackLabel(dirty):
Cannot read the previousTitle for a route that has not yet been installed
'package:flutter/src/cupertino/route.dart':
Failed assertion: line 105 pos 7: '_previousTitle != null'

it looks like didChangePrevious(Route) was not called. This produces visual error: Anything left of CupertinoBackButton would be clipped out of the  screen.
Steps to reproduce:

Create RouteMap with only CupertinoPages, 2 tabs using TabBar and some stack pages within those tabs
Run app, navigate between tabs
Deep link into some tab's stack
Switch tabs
Deep link into the same tab (as in step 3.) again
Assertion is hit

PLEASE NOTE: Using CupertinoTabBar instead of TabBar fixes the issue.
I do believe the the library should be robust enough to handle mix of page types (MaterialPage and CupertinoPage), so TabBar should be able to handle CupertinoPages seamlessly. If not, it should be very well documented that the TabBar may not be used with CupertinoPages.

Sorry, I haven't been able to reproduce this from your instructions. Any chance of an example app?
Not sure how anything in Routemaster would prevent mixing CupertinoPage with TabBar, I would guess this is a Flutter bug.

Might very well be a Flutter bug (probably Navigator 2.0 related). I am only judging that it is Routemaster issue from the fact that replacing TabBar by CupertinoTabBar fixes the issue. Have to run now, will try to provide minimal example (or a test case) tomorrow.


confusion about signed-extend scalar operand when xlen<sew

according to the spec, if sew>XLEN，the scalar operand taken from the scalar x register should be signed-extend to SEW bits。However, if the operation is unsigned , signed-extend may change the data (like unsigned 0xffffcccc to unsigned 0xffffffffffffcccc). It seems zero-extend is more reasonable for unsigned operations?

Hi @trista12, You are right. In case of unsigned operation, zero-extension is used.
Normally when SEW > XLEN, we are already expecting the maximum precision of XLEN. So in the results, XLEN wide precision would be considered effective but again zero extending is an error proof option.
Can you please mention the reference from the spec for us to figure out more effectively?


style problem

There is some thing wrong in your style sheet

Does the Datepicker plugin from https://angular-ui.github.io/bootstrap/ work for you?

@zhaber: Yes sir.

Are you using the same bootstrap template version in both cases http://angular-ui.github.io/bootstrap/ui-bootstrap-tpls-0.13.0.js (as in http://plnkr.co/edit/2JByf4?p=preview)? The CSS applied on top of date and time pickers is pretty simple: http://zhaber.github.io/datetimepicker/datetimepicker.css Try to remove the datetimepicker.css import and see whether the calendar is still broken, if it's not, apply rules from datetimepicker.css one by one and find which one of them breaks the widget.


Work on a single package at time

When calling packit if working on a monorepo sub-package related job then use job_config.package
Related to packit-service monorepo fixes
Merge after packit/packit#1947

recheck

recheck


files.put operation does not work with IO-like objects

Description of the bug
The files.put operation says it can "Upload a local file, or file-like object, to the remote system.", argument src can be "filename or IO-like object to upload". I can't get it to work though. In the operation, it does:
 if assume_exists and not os.path.isfile(local_file):
    local_sum = None
else:
    local_sum = get_file_sha1(src)

src and local_file are always the same once you get here. Either os.path.isfile is called, which gives
TypeError: stat: path should be string, bytes, os.PathLike or integer, not _io.StringIO

or we try to get_file_sha1 which expects a path not an IO-like object, so it eventually fails with
  File "/..../.venv/lib/python3.8/site-packages/pyinfra/facts/files.py", line 223, in process
    regex = regex % re.escape(self.path)
  File "/usr/lib/python3.8/re.py", line 277, in escape
    pattern = str(pattern, 'latin1')

TypeError: decoding to str: need a bytes-like object, PosixPath found

To Reproduce
Try to files.put anything that is not a file on your local system.
Expected behavior
This should work with IO-like objects, or the documentation should state it is only intended to work with on-disk files and src should be a path.
Meta

Include output of pyinfra --support.

System: Linux
      Platform: Linux-5.13.0-44-generic-x86_64-with-glibc2.29
      Release: 5.13.0-44-generic
      Machine: x86_64
    pyinfra: v2.2
    Executable: ~/code/project/.venv/bin/pyinfra
    Python: 3.8.10 (CPython, GCC 9.4.0)

How was pyinfra installed (source/pip)?
pip

Thanks for reporting this @bouke-sf, looks like an issue specific to combining assume_exists and a IO-like object; I've pushed out a quick fix in https://github.com/Fizzadar/pyinfra/commit/689316761d888721f9d07e28eaa6759dc7926e4b just in time for v2.3 release :)


.sdfcli.json error message when accidentally clicking empty entry box for environment

Steps to reproduce:

Click SDF bottom left hand corner

Click the empty entry box.

Error message pops up, the SDF environment is reverts to plain SDF.

Confirmed and reproduced.


At some angles, the material 'disappear'

While orbiting, there seem to some kind of bug, in relation to above-and-below 180 degrees as threshold.
As such; at some angles, the material 'disappear'?
Video example: https://www.youtube.com/watch?v=JJbjtlTFTWA
Previously, from time to time, If have been subject to the same issue at other projects.
I am using Chrome browser

CF: https://github.com/playcanvas/engine/issues/4268 as well

Off hand from the video, it looks like a transparency rendering order issue. Difficult to tell without having a build to look at. Would you be able to share a build link?

From the two issues (this and https://github.com/playcanvas/engine/issues/4268), I will focus on this and close the other for now, as that for sure will require sharing-the-open-project + this minor one might help the larger (if lucky).
Ok, the 'Layers' area of the engine+editor may appear quite simple to most developers, but I am not sure I fully understand the inner workings 100% (do get that 'Transparency' is needed to execute 'opacity effect', and for some months ago, I got the 'assignment of layers to objects'-routine).
But I am still not fully into 'how the layers' (at set in the editor/settings) inflict on each other, in regards settings-order.
For instance - here is how I have set the various layers in the editor in my project -> will two consecutive 'Transparency' layers affect the render (and the same in regards to 'two consecutive Opaque Layers')?

PS: As this is no longer a direct 'Bug issue', I am partially transferring it to the Forum: https://forum.playcanvas.com/t/layers-and-affect-of-the-order/25855

Responded in the forums with an overview on how the rendering pipeline works: https://forum.playcanvas.com/t/solved-layers-and-affect-of-the-order/25855/7?u=yaustar


localeSubPath with trailingSlash throws a 404

Describe the bug
Define localeSubpaths and set the trailingSlash to true in next.config.js. Then the server-side routing only works for index route. It breaks for every other route. If you navigate from index to any other route, it works through the router but refreshing the page will throw a 404.
Occurs in next-i18next version
Happens in v6.0 and above
Steps to reproduce
It can be reproduced in the example/simple project.  Use the following as next.config.js
const { nextI18NextRewrites } = require('next-i18next/rewrites')
const localeSubpaths = {
  'de': 'german',
  'en': 'english'
};
module.exports = {
  rewrites: async () => nextI18NextRewrites(localeSubpaths),
  publicRuntimeConfig: {
    localeSubpaths,
  },
  trailingSlash: true
}

Navigate to localhost:3000/english/. It works fine. Try navigating to second-page, it also works fine.
Try refreshing the page or going directly to localhost:3000/english/second-page/ throws a 404.
Set trailingSlash to false in next.config.js and everything works as expected.
Expected behaviour
Routing should work with or without trailingSlash.
OS (please complete the following information)

Device: [ MBP 2019 15"]
Browser: [All browsers]

Additional context

Actually, next-i18next already enforces trailing slashes, and has done so long before NextJs offered it as a config option. This conflict here will be handled in #869.

I don't know if the beta branch in #869 could, as of now, fix this issue?
I'd be very pleased if someone could point to me how. I have exactly the same problem as @ynaveed .
Thanks!

I don't know if the beta branch in #869 could, as of now, fix this issue?
I'd be very pleased if someone could point to me how. I have exactly the same problem as @ynaveed .
Thanks!


Should vec_push_front / vec_pop_front host functions exist?

These functions don't exist right now, but are actually as efficient as vec_push_back / vec_pop_back in im_rc. For context, see im_rc::Vector::push_front.

If they're efficient yup. +1

+1. I can add these.


Extract solana-cluster-slots-service crate from solana-core

Problem
solana-core is a big crate and is very slow to compile. Moving things out will help
Summary of Changes
Rip out a solana-cluster-slots-service crate from solana-core. Update all code in repo to use this crate instead of solana-core where applicable

yeah i was sick of how long CI was taking and was trying to find anything that can be pulled out of core. Not so easy to find things


skywalking 8.5.0 collector.backend_service can multiple IPs be configured to support load balancing?

Please answer these questions before submitting your issue.

Why do you submit this issue?
[x] Question or discussion
[ ] Bug
[ ] Requirement
[ ] Feature or performance improvement

Question

What do you want to know?
skywalking 8.5.0 collector.backend_service can multiple IPs be configured to support load balancing?

I think https://github.com/apache/skywalking/issues/6844 is very clear. Why are you keeping asking?

I think #6844 is very clear. Why are you keeping asking?

1、because i think config multiple IPs may only support cluster failover mechanism but not support load balancing.
2、Also, since OAP backen supports a central registry cluster（like nacos）, can the Agent client get the list of services directly from the registry
3、Also I wonder why the server information of log collection connection needs to be configured separately?Is it to be separate from trace and metric collection?
thanks

1、because i think config multiple IPs may only support cluster failover mechanism but not support load balancing.

I explained to you, why this is not required.

2、Also, since OAP backen supports a central registry cluster（like nacos）, can the Agent client get the list of services directly from the registry

Because agent and backend typically are not in one VPC, even region. Things like Nacos is pointless. And with today's k8s DNS driven and service mesh, implementing this client-side service discovery is a really old fashion thing. OAP could work with many register central, agent can't and shouldn't work with all options.

3、Also I wonder why the server information of log collection connection needs to be configured separately?Is it to be separate from trace and metric collection?

Because logs could be collected by other agents, fluentd, filebeat, etc. The thing you are seeing today on the release is just a very small piece of SkyWalking's landscape. So it is being defined as a plugin and reporter only.
SkyWalking project is expanding in the last 5 years, many things are upgrading.


[Feature]: Improve documentation for snowflake_grant_privileges_to_account_role

Use Cases or Problem Statement
This is not a huge deal, but could the documentation for snowflake_grant_privileges_to_account_role be improved?  Specifically, there needs to be better documentation for how to migrate from the deprecated snowflake_procedure_grant resource to snowflake_grant_privileges_to_account_role.
When migrating from the snowflake_procedure_grant resource, it was not at all obvious as to where to put the argument_data_types.  After a lot of searching, I found the answer in issue #2375 and on the CREATING_ISSUES page.  Since there is a solution available, it would make sense to document it in the appropriate places.
Category
category:other
Object type(s)
No response
Proposal
An example for migrating from the snowflake_procedure_grant should be added to the MIGRATION_GUIDE.  Additionally, an example like the one here should be added to the Terraform registry page for snowflake_grant_privileges_to_account_role.
How much impact is this issue causing?
Low
Additional Information
No response
Would you like to implement a fix?

[ ] Yeah, I'll take it 😎

Hi @bdumford-OM1 👋 Thanks for the feedback. These things can be added to our docs. Currently we're reworking essential objects on our road to v1. We welcome community contributions based on our contribution guide.
MIGRATION_GUIDE is updated manually, and snowflake_grant_privileges_to_account_role  example is located in examples/resources/snowflake_grant_privileges_to_account_role/resource.tf.

Hi, we've released v0.96.0, which adjusts the documentation.
We've added an example to https://registry.terraform.io/providers/Snowflake-Labs/snowflake/latest/docs/guides/identifiers. Also, we've decided not to include a separate example in snowflake_grant_privileges_to_account_role because now we highly recommend using <resource_name>.fully_qualified_name to reference other objects. All of the examples were adjusted to use this field and we added an entry to the migration guide about this change. But we left a note below that instead of using this new field, IDs can be constructed manually by hand, like before.
Let us know if this works for you!

Closing the issue due to inactivity. Please create a new one if you have more suggestions.


TypeError in test files

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): No
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Windows 10
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: N/A
TensorFlow installed from (source or binary): Source
TensorFlow version (use command below): 1.13.1
Python version: 3.7
Bazel version (if compiling from source): 0.21.0
GCC/Compiler version (if compiling from source): N/A
CUDA/cuDNN version: N/A
GPU model and memory: N/A

I encountered these when running tests after building tensorflow using bazel on Windows:
======================================================================
ERROR: testLossesForwarded (__main__.ListTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "%PREFIX%\lib\site-packages\tensorflow\python\framework\test_util.py", line 946, in decorated
    f(self, *args, **kwargs)
  File "%PREFIX%\lib\site-packages\tensorflow\python\framework\test_util.py", line 1105, in decorated
    f(self, *args, **kwargs)
  File "\\?\C:\Users\nwani\AppData\Local\Temp\Bazel.runfiles_iqsmzf36\runfiles\org_tensorflow\py_test_dir\tensorflow\python\training\checkpointable\data_structures_test.py", line 128, in testLossesForwarded
    model = HasList()
  File "\\?\C:\Users\nwani\AppData\Local\Temp\Bazel.runfiles_iqsmzf36\runfiles\org_tensorflow\py_test_dir\tensorflow\python\training\checkpointable\data_structures_test.py", line 60, in __init__
    list(sequence=[core.Dense(11)]) + [core.Dense(12)]))
TypeError: list() takes no keyword arguments

======================================================================
ERROR: testTracking (__main__.ListTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "%PREFIX%\lib\site-packages\tensorflow\python\framework\test_util.py", line 946, in decorated
    f(self, *args, **kwargs)
  File "%PREFIX%\lib\site-packages\tensorflow\python\framework\test_util.py", line 1105, in decorated
    f(self, *args, **kwargs)
  File "\\?\C:\Users\nwani\AppData\Local\Temp\Bazel.runfiles_iqsmzf36\runfiles\org_tensorflow\py_test_dir\tensorflow\python\training\checkpointable\data_structures_test.py", line 78, in testTracking
    model = HasList()
  File "\\?\C:\Users\nwani\AppData\Local\Temp\Bazel.runfiles_iqsmzf36\runfiles\org_tensorflow\py_test_dir\tensorflow\python\training\checkpointable\data_structures_test.py", line 60, in __init__
    list(sequence=[core.Dense(11)]) + [core.Dense(12)]))
TypeError: list() takes no keyword arguments

@nehaljwani Could you provide more details on the issue and context? Could you check whether it is persisting with the TF.20? Thanks!

What is TF.20 ?

I am curious, do you folks not test your builds before releasing making a release/releasing wheels?
This is what I ran:
bazel --batch test -c opt $BUILD_OPTS -k --test_output=errors \
  --define=no_tensorflow_py_deps=true --test_lang_filters=py \
  --build_tag_filters=-no_pip,-no_windows,-no_oss --build_tests_only \
  --test_timeout 9999999 --test_tag_filters=-no_pip,-no_windows,-no_oss \
  -- //${PY_TEST_DIR}/tensorflow/python/... \
     //${PY_TEST_DIR}/tensorflow/contrib/... \

@nehaljwani Sorry for the typo. I meant TF 2.0. We do lot of testing before releasing. Thanks!

@nehaljwani Thanks for the report.
While we ran the tests, we sometimes skip such issues as this is only a bug in the test because of a recent change in python 3.7. Our larger scale tests showed that this does not affect any of the production code paths in tensorflow, so we decided to fix it after.
If you like to contribute a fix, we would be happy to accept.

@nehaljwani I took a look at the master branch. It seems the issue has been fixed. I will close the issue for now but feel free to reopen if the issue persists.

Thank you very much!


feat: add check for scale 0 to avoid crash the app

Summary
Fixes #2421
The application crashes when applying a style with a scaling parameter equal to zero.
Test Plan
The example is available in the test-examples app as Test2421
Compatibility

OS
Implemented

Android
✅

Closing in favor of #2424


How is sentence embedding derived?

word embedding are from Levy and Goldberg (2014)
How is the embedding of a phrase/sentence derived?

It's just an average of the word vectors.

This is probably a really basic question.
If I want to use information from the POS Tagger and then filter the sentence to get rid of the 'stop words' (determinants, conjunctions, ...)
How do I join the resulting Array of Tokens back into a Doc or sentence representation? Does this action even make sense?
Is there plans to improve embedding of phrases/sentences

What you want to do makes sense, but I think the best strategy for it probably depends on exactly what you're going to use the doc for.
Btw, I've answered this here, but in future it's better to be opening new threads, since that will make the issue tracker easier for others to use/
First, to do literally what you asked: you can create a Doc object with a list of (orth, has_space) tuples:
import spacy
from spacy.tokens.doc import Doc

nlp = spacy.load('en')
doc = nlp(u'A phrase with extras...')
tokens_we_want = (doc[1], doc[2], doc[3])
new_doc = Doc(nlp.vocab, orths_and_spaces=[(t.text, bool(t.whitespace_) for t in tokens_we_want])

This new_doc object won't have any of the annotations that were attached to the original doc object --- no POS tags, syntactic structure, or named entities. To get those, we can create a numpy array with the annotations, and use new_doc.from_array() to attach them. In future, spaCy will make this a bit easier, by allowing you to set the attributes directly onto the Token objects. But for now, from_array is the easiest way to manually set annotations.
An alternative would be to write a class which would hold the original Doc object, and proxy the API to it:

class NewDoc:
    def __init__(self, doc):
        self.source_doc = doc

    def __iter__(self):
        for word in self.source_doc:
            if not word.is_stop:
                yield word

This approach would allow you to maintain multiple views of the document, in case you want to use the stop words in some contexts, but not others.

Is there plans to improve embedding of phrases/sentences

Yes, definitely. We've got our eye on this paper:
A Fast Unified Model for Parsing and Sentence Understanding
http://arxiv.org/pdf/1603.06021.pdf
However, other development targets are currently a higher priority. We need to get the German model pushed, and we'll likely work on Chinese afterwards. We also need to improve the named entity recognition model.
If you're in a position to sponsor some development, we could consider reprioritising, and getting this paper implemented sooner. Their results are very impressive --- I think it'll make a big difference for sentence embedding.


DDT-392: Ignore facility code when locating TransportCalls

The facility code is not a part of the (logical) transport call as
clarified today with Nicolas and Charles (see DDT-392) when
negotiating timestamps. For a given "Port of Call", a vessel can move
between different facilities and it should still be considered the
same TransportCall.
Signed-off-by: Niels Thykier<EMAIL_ADDRESS>

mmm, let me just come back to you on this one.


Uploading to team folder

Hi!
I'm using the upload example and it works great for large files.
https://github.com/dropbox/dropbox-sdk-js/blob/main/examples/javascript/upload/index.html
How can I upload to a Team/Business folder?
Do I need to make code changes?
Where do I create the team token?

Yes, you can upload files to team folders/spaces using the Dropbox API. That may require changes to the code, depending on the scenario. I recommend reading the Team Files Guide for information on this. For reference, to set the 'Dropbox-API-Path-Root' header mentioned there using the JavaScript SDK, you would use the pathRoot parameter on the Dropbox constructor.
You can use the same user-linked access tokens to upload to team spaces/folders. A team-linked access token is not strictly required. You can find more information in the OAuth Guide.

Yes, you can upload files to team folders/spaces using the Dropbox API. That may require changes to the code, depending on the scenario. I recommend reading the Team Files Guide for information on this. For reference, to set the 'Dropbox-API-Path-Root' header mentioned there using the JavaScript SDK, you would use the pathRoot parameter on the Dropbox constructor.
You can use the same user-linked access tokens to upload to team spaces/folders. A team-linked access token is not strictly required. You can find more information in the OAuth Guide.


Replace sprockets with webpacker

https://app.asana.com/0/1142794766483633/1187208358171573
Cherry-picked from fraxx:

Remove sprockets.

To avoid having different versions of bootstrap in javascript and ruby.

Remove app/assets

Move app/assets/fonts to app/javascript/fonts

// Uncomment to copy all static images under ../images to the output folder and reference
// them with the image_pack_tag helper in views (e.g <%= image_pack_tag 'rails.png' %>)
// or the `imagePath` JavaScript helper below.
//
// const images = require.context('../images', true)
// const imagePath = (name) => images(name, true)

will add a app/javascript/images/.keep for even easier use good catch @prrrnd 👍

In config/webpacker.yml you can specify source_path: app/frontend to change the default name if you find it odd to nest non-js under a js directory.

We did consider this. We decided to keep the default path in an attempt to not open the door for a discussion about where to put things.


⚠ PrivateHD has degraded performance

In 6f67d68, PrivateHD ($PHD) experienced degraded performance:

HTTP code: 200
Response time: 6169 ms

Resolved: PrivateHD performance has improved in 2d89d3e.


Disabling immersive mode from haxe side?

Is there any way to disable immersive mode from haxe side?
For example, if I want system UI to be shown again if player press some button.

Do you mean like the extension wasn't included? the extension allows you to
show the ui when the user triggers it (for example, sliding down the top of
the screen) and hides it automatically a few seconds after if there's no
more interactions with it.
2015-12-04 14:23 GMT-03:00 Yuri K<EMAIL_ADDRESS>
Is there any way to disable immersive mode from haxe side?
For example, if I want system UI to be shown again if player press some
button.
—
Reply to this email directly or view it on GitHub
https://github.com/SempaiGames/extension-android-immersive/issues/2.

Not exactly. I need to use custom trigger from my UI, not the default sliding down the top of
the screen and so on.

i don't know if that's possible since that events are handled by the
android os... anyway, you can look at the code of this library to see how
the events are handled, and try to implement a library for handling custom
triggers, or send a pull request to this library adding that functionality
2015-12-08 8:46 GMT-03:00 Yuri K<EMAIL_ADDRESS>
Not exactly. I need to use custom trigger from my UI, not the default
sliding down the top of
the screen and so on.
—
Reply to this email directly or view it on GitHub
https://github.com/SempaiGames/extension-android-immersive/issues/2#issuecomment-162859181
.


ManagerRegistry::resetManager does not reset the inner EntityManager

Hi,
when I want to reset the entity manager via ManagerRegistry::resetManager, only the decorator gets recreated, the inner EntityManager stays the same.
I guess the solution would be to remove the orm.entityManager service altogether and create it via DI Statement:
In OrmExtension::loadEntityManagerConfiguration()
		// Entity Manager
		$original = new Statement(DoctrineEntityManager::class . '::create', [
			$builder->getDefinitionByType(Connection::class), // Nettrine/DBAL
			$this->prefix('@configuration'),
		]);

		// Entity Manager Decorator
		$builder->addDefinition($this->prefix('entityManagerDecorator'))
			->setFactory($entityManagerDecoratorClass, [$original]);

In generated DI container:
	public function createServiceOrm__entityManagerDecorator(): Nettrine\ORM\EntityManagerDecorator
	{
		return new Nettrine\ORM\EntityManagerDecorator(Doctrine\ORM\EntityManager::create(
			$this->getService('dbal.connection'),
			$this->getService('orm.configuration'),
			$this->getService('dbal.eventManager')
		));
	}

If this approach is OK (or if you suggest another approach), I would gladly prepare a PR. (I know this conflicts with open PR #47, I can wait until it is merged.)

Looks good to me, you can prepare a PR + covered this issue with tests. Then we can test it.


chore(styles): remove unused node_module "glob"

Preview environments are getting posted here, as soon as they are ready!


chore(docs): update TOC (release/next-v1.0.0 -> master)

Base PullRequest
Release/next v1.0.0 (#1)
Command results

Details:

Run doctoc
changed:
  - /home/runner/work/imi-moji-converter/imi-moji-converter/README.md
unchanged:

Changed files

Changed file:

README.md

:octocat: Repo | :memo: Issues | :department_store: Marketplace

Command results

Details:

Run doctoc
changed:
  - /home/runner/work/imi-moji-converter/imi-moji-converter/README.md
unchanged:

Changed files

Changed file:

README.md

:octocat: Repo | :memo: Issues | :department_store: Marketplace


Cross-compile ES6

We don't currently support running any compilation before we package up our AMD modules, but we .gitignored tmp/for a reason. We should add ES6 for the following items for sure:

arrow functions
spread and destructuring
for-of

Eventually, we will switch over to ES6 modules (cross-compiling to AMD) with this as well.
All transpilation is dependent on making it fast. If development slows down when transpiling, we stick with ES5.

I'm going to close this, since we've been using 6to5 for a few projects now (thanks, @thejameskyle!). It's not something that we'll probably build in by default, but we've done it enough that I feel like I've got a good grasp on how to bring it in and use it successfully.


Device Sim won't start correctly

Type of issue

[X] Bug
[ ] New feature
[ ] Improvement

Description
I've been trying to deploy locally for a few days now following this guide but have had very little luck, whilst the services start in visual studio fine I have the following errors on the webservices:
DeviceTelemtry: Diagnostics
IsHealthy false
Message "Status code: 0; Response: An error occurred while sending the request. - A connection with the server could not be established"

ASAManager:Config
IsHealthy false
Message "DeviceSimulation check failed"

Config:
DeviceSimulation
IsHealthy false
Message "ERROR:Unable to use Storage"

The Device sim also appears to be ignoring the env-vars set in both device and docker-compose.yml and had a few errors that I'd managed to rectify by setting a few additional env-vars but is still reporting the following:
devicesimulation_1 | [ERROR][2019-04-10 14:14:36.151][WebService.8955e47b-82f3-4f18-8085-a1c323102c29][AuthMiddleware:InitializeTokenValidationAsync] Failed to setup OpenId Connect, {"e":{"ExceptionFullName":"System.InvalidOperationException","ExceptionMessage":"IDX10803: Unable to obtain configuration from: '.well-known/openid-configuration'.","StackTrace":" at Microsoft.IdentityModel.Protocols.ConfigurationManager1.<GetConfigurationAsync>d__24.MoveNext()\n--- End of stack trace from previous location where exception was thrown ---\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\n at Microsoft.Azure.IoTSolutions.DeviceSimulation.WebService.Auth.AuthMiddleware.<InitializeTokenValidationAsync>d__15.MoveNext() in /home/azureiotpcs/vsts-agent/_work/46/s/WebService/Auth/AuthMiddleware.cs:line 204","Source":"Microsoft.IdentityModel.Protocols","Data":{},"InnerException":{"ExceptionFullName":"System.ArgumentException","ExceptionMessage":"IDX10108: The address specified is not valid as per HTTPS scheme. Please specify an https address for security reasons. If you want to test with http address, set the RequireHttps property on IDocumentRetriever to false.\nParameter name: .well-known/openid-configuration","StackTrace":" at Microsoft.IdentityModel.Protocols.HttpDocumentRetriever.<GetDocumentAsync>d__8.MoveNext()\n--- End of stack trace from previous location where exception was thrown ---\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\n at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1.ConfiguredTaskAwaiter.GetResult()\n at Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectConfigurationRetriever.<GetAsync>d__3.MoveNext()\n--- End of stack trace from previous location where exception was thrown ---\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\n at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1.ConfiguredTaskAwaiter.GetResult()\n at Microsoft.IdentityModel.Protocols.ConfigurationManager1.<GetConfigurationAsync>d__24.MoveNext()","Source":"Microsoft.IdentityModel.Protocols","Data":{},"InnerException":null}},
Screenshot

Steps to reproduce

Follow the deploy locally guide

Expected behavior
Local deployment including device simulator starts and runs correctly
Current behavior
Device Simulator doesnt appear to be starting correctly and isn't linking up with the other microservices correctly during local deployment
Known workarounds
...
Possible solution
Possible missing information on the deploy locally guide or missing environment variables
Context and Environment

Operating System: Windows 10
GitHub branch: default
.NET Runtime: ...

@sushilraje Can you please take a look?

This is an error if auth is not enabled. It is perfectly ok.


Store default_app in .asar archive

This pull request stores the default_app in a .asar archive when built instead of in a folder.
Couple (minor) advantages to this:

Smaller size
Fewer files in Electron.app
Changes to default_app are now picked up when running a local build
Easier to remove (just one file vs. a folder)

/cc @zcbenz @zeke @jlord thoughts?

I am wholly unfamiliar with asar. Just looking into it now. I will defer to the others to give meaningful input. :see_no_evil:

I'm not an asar pro, but it sounds like a good move to me 👍

👍


API active_effects

For front-end stats too?

Together with "disabled_potion_effects"

Also check what's "paused_effects"? maybe while in dungeons?

active effects do not give stat boots: have to hardcode

yeah we need to hardcode the potion@tier = stats bonus :/


bunny: 1.1 -> 1.2

Motivation for this change
There is a new bunny version, with mostly semantic changes
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[x] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build bunny

Success on x86_64-linux (full log)
Attempted: bunny
Partial log (click to expand)
cp -r src/backend \
        "//nix/store/www9bkq1jpnwn15p5xy8c9v11c0xdxba-bunny-1.2/share/bunny/"
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/www9bkq1jpnwn15p5xy8c9v11c0xdxba-bunny-1.2
strip is /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/www9bkq1jpnwn15p5xy8c9v11c0xdxba-bunny-1.2/bin
patching script interpreter paths in /nix/store/www9bkq1jpnwn15p5xy8c9v11c0xdxba-bunny-1.2
/nix/store/www9bkq1jpnwn15p5xy8c9v11c0xdxba-bunny-1.2/bin/bunny: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/czx8vkrb9jdgjyz8qfksh10vrnqa723l-bash-4.4-p23/bin/bash"
checking for references to /build in /nix/store/www9bkq1jpnwn15p5xy8c9v11c0xdxba-bunny-1.2...
/nix/store/www9bkq1jpnwn15p5xy8c9v11c0xdxba-bunny-1.2

Success on aarch64-linux (full log)
Attempted: bunny
Partial log (click to expand)
cp -r src/backend \
        "//nix/store/kj80kipfc9c57h3mn6c9hkz559xmbwmi-bunny-1.2/share/bunny/"
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/kj80kipfc9c57h3mn6c9hkz559xmbwmi-bunny-1.2
strip is /nix/store/y4ymnvgxygpq05h03kyzbj572zmh6zla-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/kj80kipfc9c57h3mn6c9hkz559xmbwmi-bunny-1.2/bin
patching script interpreter paths in /nix/store/kj80kipfc9c57h3mn6c9hkz559xmbwmi-bunny-1.2
/nix/store/kj80kipfc9c57h3mn6c9hkz559xmbwmi-bunny-1.2/bin/bunny: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/fqm2x6kiay1q4vg7pqp4wp17bdijlyc3-bash-4.4-p23/bin/bash"
checking for references to /build in /nix/store/kj80kipfc9c57h3mn6c9hkz559xmbwmi-bunny-1.2...
/nix/store/kj80kipfc9c57h3mn6c9hkz559xmbwmi-bunny-1.2

Success on x86_64-darwin (full log)
Attempted: bunny
Partial log (click to expand)
        "//nix/store/kazn5np66kaz17ilxydr55bqrllci0dh-bunny-1.2/bin/bunny"
mkdir -p "//nix/store/kazn5np66kaz17ilxydr55bqrllci0dh-bunny-1.2/share/bunny"
cp -r src/backend \
        "//nix/store/kazn5np66kaz17ilxydr55bqrllci0dh-bunny-1.2/share/bunny/"
post-installation fixup
strip is /nix/store/df6k4mgdjxciy0f637lryp7c9ln7n1m3-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/kazn5np66kaz17ilxydr55bqrllci0dh-bunny-1.2/bin
patching script interpreter paths in /nix/store/kazn5np66kaz17ilxydr55bqrllci0dh-bunny-1.2
/nix/store/kazn5np66kaz17ilxydr55bqrllci0dh-bunny-1.2/bin/bunny: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/cblfnvb5rmhd2z231mqasn0brzh1hhv4-bash-4.4-p23/bin/bash"
/nix/store/kazn5np66kaz17ilxydr55bqrllci0dh-bunny-1.2


Support query auto timeout cancel on thriftserver

Why are the changes needed?

Manual cherry-pick some Spark patch into Kyuubi.

Support query auto timeout cancel on thriftserver
Add config to control if cancel invoke interrupt task on thriftserver

In order to keep backward with early Spark version, we hard code the config key instead of refer to Spark SQLConf.
Note that, the exists timeout of operator (kyuubi.operation.idle.timeout) is to cancel that client has no access with engine. That said if a query run a long time and the client is alive, the query would not be cancelled. Then the new added config spark.sql.thriftServer.queryTimeout can handle this case.
How was this patch tested?
Add new test.

cc @pan3793 @yaooqinn

a local test run is needed when new configs are comming

After the refector, provide some summary for reviewer:

Add the query timeout at Kyuubi Server and that can be modified by session global config and statement query tiemout.
Engine side just receive the query timeout and to do the timeout check.
Add a interrupt flag to Spark local property with true default that is also a session global config.
In order to add engine test in one class eaily, add a new class IndividualSparkSuite and change some related test code place.

thanks, merged to master for v1.2.0 and branch 1.1 for v1.1.1


Appstudio update test-component-pac-jyug

Pipelines as Code configuration proposal

Pipelines as Code CI/test-component-pac-jyug-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
6 seconds
init

✅ Succeeded
19 seconds
clone-repository

✅ Succeeded
30 seconds
build-container

✅ Succeeded
17 seconds
deprecated-base-image-check

✅ Succeeded
46 seconds
clamav-scan

✅ Succeeded
3 minutes
clair-scan

✅ Succeeded
16 seconds
sanity-inspect-image

✅ Succeeded
16 seconds
sbom-json-check

✅ Succeeded
7 seconds
sanity-label-check

✅ Succeeded
6 seconds
sanity-optional-label-check

✅ Succeeded
12 seconds
show-summary

Pipelines as Code CI/test-component-pac-jyug-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
7 seconds
init

✅ Succeeded
12 seconds
clone-repository

✅ Succeeded
24 seconds
build-container

✅ Succeeded
11 seconds
deprecated-base-image-check

✅ Succeeded
9 seconds
clair-scan

✅ Succeeded
10 seconds
sanity-inspect-image

✅ Succeeded
29 seconds
clamav-scan

✅ Succeeded
7 seconds
sbom-json-check

✅ Succeeded
9 seconds
sanity-label-check

✅ Succeeded
9 seconds
sanity-optional-label-check

✅ Succeeded
5 seconds
show-summary


Android Basics: Dogglers app - issue on androidTest

URL of codelab
Project: Doggler app
In which task and step of the codelab can this issue be found?
While running my test cases
Describe the problem
There are four test cases

ButtonTests - which has no issue
The rest three has one issue on checkFirstPosition function

Actual code:
 fun checkFirstPosition() {
        hasListItemContent("Tzeitel", "7", "sunbathing",
            R.drawable.tzeitel)
    }

But the function should be:
 fun checkFirstPosition() {
        hasListItemContent("Tzeitel", "Age: 7", "Hobbies: sunbathing",
            R.drawable.tzeitel)
    }

In the colab it has age and hobbies before the actual content
So I think the checkFirstPosition test case is wrong
Steps to reproduce?

Go to  androidTest
Run any test case except ButtonTests such as HorizontalListTests
See error...

Seems this has been fixed, but it is not part of the ZIP file that gets downloaded


golem.de not working

Hello,
can anyone fix the recipe for golem.de, because it does not work anymore.
I can not find any "rss.feedsportal.com" with "golem0Bde0C" in the Feed (http://rss.golem.de/rss.php?feed=ATOM1.0) there are only "www.golem.de/news" URLs.
The articles between  ...

everything changes from time to time. better learn to adjust recipes.
i use this since some weeks and it works good for me.
"golem.de": {
    "type": "xpath",
    "xpath": "article",
    "multipage": {
        "xpath": "ol\/li\/a[contains(@id, 'atoc_')]",
        "append": true
    },
    "reformat": [
        {
            "type": "replace",
            "search": "-rss.html",
            "replace": ".html"
        }
    ],
    "cleanup": [
        "a[@class='golem-gallery2-nojs']",
        "ol[@id='list-jtoc']",
        "table[@id='table-jtoc']",
        "div[@class='htmlinline']",
        "div[@class='iqadcenter']",
        "div[@id='iqadtile4']"
    ]
}


Failed to find provider com.google.android.gms.phenotype for user 0

Hi!
In Android 9 tablet emulator (Genymotion) and in physical device (Galaxy Tab Android 9) I can't make it work.
In Android 8 works fine, but in 9 I get this error:
Message: Failed to find provider com.google.android.gms.phenotype for user 0; expected to find a valid ContentProvider for this authority
E/flutter ( 1989): [ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception: QRReaderException(Uninitialized QRReaderController, startScanning was called on uninitialized QRReaderController)

@martflu @dragosholban @philipgiuliani @jpeiffer
Can you help me with this?
Thanks!

I thins the error was Google Play no installed, when I install Google Play works fine.
Thanks!


inventory: add new solaris sparc machines

Adds support for Solaris Sparc in our playbooks
Checklist

[x] commit message has one of the standard prefixes
[ ] FAQ.md updated if appropriate
[ ] other documentation is changed or added (if applicable)
[ ] playbook changes run through VPC or QPC (if you have access)
[x] for inventory.yml changes, bastillion/nagios/jenkins updated accordingly

Also added the TCK machine to the JCK Jenkins in https://github.com/eclipse-cbi/jiro/pull/166

@sxa could you please check this one :)

@sxa your key is on the machines, please try again

I know this is after-the-fact, but yep! The Nagios stuff looks good. I remember there was an issue that I can't currently find, that made reference to the fact that the Nagios home was different for Solaris, which has been reflected here, so all good! :+1: