video_player ios PlatformException(VideoError, Failed to load video: 操作停止, null)

Flutter (Channel stable, v1.12.13+hotfix.8, on Mac OS X 10.14.6 18G4032, locale zh-Hans-CN)
• Flutter version 1.12.13+hotfix.8 at /Users/iosappjingda/Documents/flutter
• Framework revision 0b8abb4724 (7 weeks ago), 2020-02-11 11:44:36 -0800
• Engine revision e1e6ced81d
• Dart version 2.7.0
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at /Users/iosappjingda/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-29, build-tools 29.0.2
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 11.3.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 11.3.1, Build version 11C504
• CocoaPods version 1.8.4
[✓] Android Studio (version 3.6)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 44.0.2
• Dart plugin version 192.7761
• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
video_player :0.10.8+1
cant play video on ios,but android(http & https) is ok,
i had set
<dict> 		<key>NSAllowsArbitraryLoads</key> 		<true/> 		<key>NSAllowsArbitraryLoadsInWebContent</key> 		<true/> 	</dict>
but it showed PlatformException(VideoError, Failed to load video: 操作停止, null)

Hi @xuwankang
Are you sure you're proper video link?
 PlatformException(VideoError, Failed to load video: 操作停止, null)

This doesn't look like a link
can you please provide your flutter run --verbose?
Also, to better address the issue, would be helpful if you could post a minimal code sample to reproduce the problem
Thank you

I have see this similar error, which is caused by the video url can't verified in server.
In my case that's because video token which have different encrypt result in iOS and Android, if this is the same case for you, just check the encrypt lib or function you use.

@TahaTesser
you can try
`import 'package:flutter/cupertino.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:video_player/video_player.dart';
class VideoScreen extends StatefulWidget {
final String videoUrl;
final String thumbnailUrl;
VideoScreen({
Key key,
this.videoUrl,
this.thumbnailUrl,
}) : super(key: key);
@override
State createState() {
return VideoScreenState();
}
}
/// 入口页状态
class VideoScreenState extends State {
VideoPlayerController _videoPlayerController;
@override
void initState() {
super.initState();
videoPlayerController = VideoPlayerController.network('http://home.jingda.cn/api/imageView/profile/file/2020/03/24/3c11a4da31f01d67c16922166e285cbb.mp4')
..initialize().then(() {
print('&&&&&*&');
setState(() {});
_videoPlayerController.play();
}).catchError((e) {
print(e);
});
}
@override
void dispose() {
if (_videoPlayerController.value.initialized) {
_videoPlayerController.pause();
_videoPlayerController.dispose();
}
super.dispose();
}
@override
Widget build(BuildContext context) {
return _videoPlayerController.value.initialized
? AspectRatio(
aspectRatio: _videoPlayerController.value.aspectRatio,
child: VideoPlayer(_videoPlayerController),
)
: Container();
}
}
`

its our server's problem,fixed it already


FEATURE | Add the exit option in the installation script.

FEATURE
Description
Add the exit option to the installation script. As a user, I want to select an option to exit rather than do the “hacked” or “technical exit” with CTR+C.
Output
Please select an option:
1) Install
2) Re-install
3) Uninstall
Enter your choice [1-3]: CTR+c

Expected
Please select an option:
1) Install
2) Re-install
3) Uninstall
4) Exit
Enter your choice [1-4]: 4

Done, thank you.

Hi @airvzxf! Thanks for adding this feature to the install script. It makes it more accessible and less hacky.


Licensing of lecture slides

Hello! I wanted to add licensing information to my lecture slides before sharing them with the students (and possibly online at a later point). Actually, I have several questions:

Can you recommend a license for this specific purpose?
If I use images from books and "the internet" how does that affect my options for selecting a license?
I am wondering if this Wiki should contain a recommendation section where we can document the findings of this issue?

Hi,
Speaking based on obervation (not legal knowledge):
When I have seen licences on presentations (e.g. on open science workshops/conferences) it exclusively was CC-BY 4.0. I think it is more or less the go to licences for open access (as for example by the JIE open access papers).
Ad 2): Just add "unless otherwise noted" or "except figures on ..."
Ad 3): We can summary the points gathered here when we close the issue in the wiki


Detect keyboard shortcuts

The readme states:

The plugin is using simulation of keyboard event to insert the doc comments for you. So it is depending the keyboard shortcut of Xcode. These two kinds of operation are being used:

Delete to Beginning of the Line (⌘⌫)
Paste (⌘V)

You should be able to read the keyboard shortcuts out of ~/Library/Developer/Xcode/UserData/KeyBindings.
And you could read the default Mac keyboard shortcuts out of ~/Library/Preferences/.GlobalPreferences.plist.
For more on how keyboard shortcuts are stored in preference files, you may find this blog post that I wrote helpful.
This isn't an issue that affects me, so I don't know if it's a priority, but it occurred to me that this would be a way to avoid the limitation of requiring standard keyboard shortcuts for those commands.

It could be a great improvement!
Thanks for pointing it out. I will read it and update soon.

It seems if users are using a customized set of keybindings, a new file with {set-name}.idekeybindings will be generated in the ~/Library/Developer/Xcode/UserData/KeyBindings. That means we should know which set is currently used. I guess there would be a way to get it from Xcode private framework. I will check it later when I have time.

It turns out too hack to do it, and currently VVDocumenter does not importing any private framework. If we want to add this feature, we have to rely on private framework, which is a high risk action. So I decide not to add it.


DIP14 version bytes do not match the human readable prefixes

For cases where the last child number of a derivation path is a 256 bit integer, the version bytes are given here (https://github.com/dashpay/dips/blob/master/dip-0014.md#serialization-format) are:
4 byte: version bytes (mainnet: 0X0EECEFC5 public, 0x0EECF02E private; testnet: 0x0EED270B public, 0x0EED2774 private)

Later in the document the human readable representations are given as:
Because of the choice of the version bytes, the Base58 representation will start with dpms (dashpay mainnet secret) or dpmp (dashpay mainnet public) on mainnet, dpts (dashpay testnet secret) or dptp (dashpay testnet public) on testnet or devnets.

However, to get the prefix to match dptp for instance, I had to use version byte values from this table.
On DashJ, these have not been used to do a round trip test from a deterministic key to serialized to deterministic key.
dpms - 0x0eecf02e
dpmp - 0x0eecefc6
dptp - 0x0eed270b
dpts - 0x0eed2774

What is strange though, is that long ago when Dash used dpub instead of xpub, then these version bytes do start with 0x02fd.  Perhaps the length of the serialization has influence over the version bytes.
# mainnet - digit boundary after prefix
dpub8Du2vbh7JUQr  0x02fda923
dprv3hCznBesA6jB  0x02fda4e8

# mainnet - mostly uppers after prefix
dpubZ9169KDAEUny  0x02fda926
dprvLJcNFzfZn6yw  0x02fda4ea

Further info in a related PR: https://github.com/dashpay/dips/pull/84

This issue was already addressed in #81.  Confusion resulted in this matter because #84 was not rebased after #81 was merged and the DIP14 document in the commit history of that PR was used to check the test vectors.


Please Fix ASAP I really enjoy the datapack

The problem is that the tin ore copper ore etc will crash your game upon spawning in if its in a ocean im playing on a survival island so theres more water then land this also happened on regular worlds aswell if your in the ocean long enough. Here's my crash log and yes ive tried removing my other datapack that has to do with submarines to see if it was the problem which it wasn't and I also removed the texture pack either way it still crashes. So I decided to use only your data pack and then see if it crashes and it does and when I remove your data pack it no longer crashes
crash-2018-06-02_16.30.00-client.txt
I'm sure I can fix by not allowing the heads to spawn in water or by changing it to a different block if Mojang would have make it where renamed items don't default back to their normal names when you break them. Even though I may be able to fix this I figured I should inform you so that you can have it fixed for others when they download your incredible datapack

I was able to replicate the crash, but I'm uncertain as to the specific cause so it warrants further investigation. It appears to be a bug with Minecraft itself, so once I have sufficient information I'll open a mojang bug report.

ok the bot might say it allredy there since i was the first to make it
~Darkspyro911
On 6/2/18, ImCoolYeah105<EMAIL_ADDRESS>wrote:

I was able to replicate the crash, but I'm uncertain as to the specific
cause so it warrants further investigation. It appears to be a bug with
Minecraft itself, so once I have sufficient information I'll open a mojang
bug report.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/ImCoolYeah105/Mechanization/issues/3#issuecomment-394130383

--
Marc-Andre Maurice
<EMAIL_ADDRESS>

I'm not certain but I believe it has to do with the ores trying to be loaded into water because if I'm on land nothing happens. If its possible try adding a line of code to prevent your ores from being spawned in water and if that works let me know. If not I really appreciate your time that you've put into developing. One last thing in the future can you make the titanium armor have a texture instead of using the diamond armor texture. Thanks for your support.

I'm really sorry about this but the 1.13 pre release snapshot has been released and I tried playing your datapack on it and it still crashes when I go in the ocean the reason I wanted to let you know is because its a 1.13 pre release snapshot so I was wondering if you can submit a bug to Mojang about what's happening before the next release because I belive the next release is going to be the official 1.13 update

I've made some changes to the world gen that should make this crash far less common. I was unable to make the crash occur post-changes, though I imagine it is still possible (just very rare). A patch will be released shortly.


Remove Cpp11 dependent libs.

The goal:

AST --> C++ code gen --> a header file + an implementation file.
remove dependencies of flex generated scanner and bison/xpressive.

Generated entries(source code, library, and so on) should be independent to the project. Nonetheless, keeping the CMake function for C++ project still make sense.

Plan:

implement a cmake project template.
use __FILE__ to locate the template.
use system('mkdir brbrb') to generate cmake project.


Tests

Since I am probably going to use the library now more and send some more patches in case I will find some real/potential problems (like #133 ) I think it may be usefull to add some autotests to the library.
So far it covers the following cases:

CUDA kernel

forward pass.
Basically this test see the model next-token-predictions on some phrase:

check the most probable next token for every current token is the same as some canonical sequence
check if most probable next token scores are similar to some canonical range
so it checks if model output in all states is the same as once-recorded standard attention + disabled "faster" mode
Attention types:

(covered) Standard one
(covered) Flash attention
(not-covered) XFormers

Act/no act order models:

(covered) act order models
(not covered) no-act order models

"Faster" matmul4bit modes

(covered) disable
(covered) old_faster
(covered) faster

finetuning.
Basically, here I just check if I can succesfully overfit LoRA model to remember some phrase much better than the original LLaMA model

Attention types

(covered) Standard
(not covered) Flash attention (since flash-attn can not compute backward pass for such a models using customer-grade GPUs like my 2080Ti - I can not test if the test will work now)
(not covered) XFormers
Act/no act order models:

(covered) act order models
(not covered) no-act order models

"Faster" matmul4bit modes

(covered) disable
(covered) old_faster
(covered) faster

(not covered) Triton kernel. Since I am using Windows system now I can't check if triton kernels will give the same result as CUDA ones

So what drawbacks may be improved in the future patches (but probably it may be useful in the current state):

Triton kernel tests, I will probably do it using WSL a few days later
All attention types
It depends on the fact https://huggingface.co/TheBloke/orca_mini_7B-GPTQ/tree/main exists on huggingface hub
Act-order model tests

So, now to run these tests you need to do something like
python -m pip install . # To rebuild native stuff and generally reinstall the package
python -m pytest # To run tests

not sure what is the best way to make pytest run installation before tests (or is it good idea at all)

Thanks for your contribution!


Feature: $_FILES in Http\Request

Implementation of fetch files from the superglobal variable $ _FILES in Http\Request
Sample:
$_FILES = array('file' => 'value');

$request->files(); // returning array('file' => 'value')
$request->files('file'); // returning 'value'
$request->files('wrong') // returning null

Closing. Master branch is not accepting any new major changes. However, I do need to implement this in the develop branch soon. Let me know if you want to work on that.


shipper: Be strict about upload order unless it's specified so.

This is actually a quite real case for potential overlaps in Thanos system, so fixing before 0.13.
Fixes https://github.com/thanos-io/thanos/issues/2753
Thanks @gburek-fastly for all pointers, it helped us to narrow this down :muscle:
Signed-off-by: Bartlomiej Plotka<EMAIL_ADDRESS>

I mentioned this in flag help. Why I created an option to still enable it:

In case if you don't have the persistent disk you kind of wants to upload as soon as possible. Also this allows you to have block with malformed metadata and it will be just ignored if you set this flag to true (well ignored + error log, metric). Also with upload-compacted you might want best effort upload as soon as possible.
For all those releases we were allowing out of order uploads, so someone might have rely on it (?)

Those arguments are not strong I agree, I am happy to reconsider this... Maybe moving this flag to Hidden for now?
Also technically we should do rc.3 with this not full release. Thoughts?

Also technically we should do rc.3 with this not full release. Thoughts?

Yes I think rc.3 is the right thing to do here.
I think a hidden flag for now sounds good.


Chore: update analytics lib versions

this updates the segment Analytics lib to use the latest version on both iOS and Android. it also specifies the Android version explicitly, rather than allowing anything within v4 (its pinned to the latest, and having the :4+ as they did is a lint/correctness issue according to android)

wrong base!


403 Forbidden: For Post Requets : Call Secured Azure aPI from SPO

Category

[ Bug]: When we are making POST request using SPO auth cookie approach, getting a 403 Forbidden response. HTTP "GET" request is working fine. I have follwed the below blog to make it work for "GET" methods. Any insight for this issue?
https://stephaneeyskens.wordpress.com/2015/05/18/consuming-azure-hosted-web-api-from-sharepoint-online-using-javascript-and-office-365-identities/

Steps to Reproduce
Followed the same steps as explained in this artcile. GET method is returning the correct result.
POST method is retruning 403 error.
https://stephaneeyskens.wordpress.com/2015/05/18/consuming-azure-hosted-web-api-from-sharepoint-online-using-javascript-and-office-365-identities/
$.ajax({
url: "API URL",
type: 'POST',
dataType: 'json',
contentType: "application/json; charset=utf-8",
crossDomain: true,
xhrFields: {
'withCredentials': true
}

That article is from 2015 and there have been some changes to the model. We would recommend following the updated guidance from following article - https://docs.microsoft.com/en-us/sharepoint/dev/spfx/use-aadhttpclient-enterpriseapi. This shows the recommended pattern with SharePoint Framework.


Helm repo has been modified

As per Microsoft docs
Add the Kured Helm repository
helm repo add kubereboot https://kubereboot.github.io/charts/
Update your local Helm chart repository cache
helm repo update
Create a dedicated namespace where you would like to deploy kured into
kubectl create namespace kured
Install kured in that namespace with Helm 3 (only on Linux nodes, kured is not working on Windows nodes)
helm install kured kured/kured --namespace kured --set nodeSelector."kubernetes.io/os"=linux
PAGE NEED TO BE MODIFIED BELOW THESE (Only installation part need to be changed)
helm install my-release kubereboot/kured  --namespace kured --set nodeSelector."kubernetes.io/os"=linux
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: eadf3bc9-bea3-b51f-1477-8f76ccfce7da
Version Independent ID: 12d0be59-8947-e0a2-d73a-8834f2e5f8b2
Content: Handle Linux node reboots with kured - Azure Kubernetes Service
Content Source: articles/aks/node-updates-kured.md
Service: container-service
GitHub Login: @MGoedtel
Microsoft Alias: magoedte

@Tushar5525
Thanks for your feedback! We will investigate and update as appropriate.

@MGoedtel
Thanks for your feedback! I've assigned this issue to the author who will investigate and update as appropriate.

@Tushar5525 - Thanks for bringing this to our attention. I've created a bug to fix that syntax error with the helm-install command and try to update the article by the end of this week. #please-close


WidgetSpan on first line of TextField is positioned incorrectly

Steps to Reproduce
Consider the following 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(
        // This is the theme of your application.
        //
        // Try running your application with "flutter run". You'll see the
        // application has a blue toolbar. Then, without quitting the app, try
        // changing the primarySwatch below to Colors.green and then invoke
        // "hot reload" (press "r" in the console where you ran "flutter run",
        // or simply save your changes to "hot reload" in a Flutter IDE).
        // Notice that the counter didn't reset back to zero; the application
        // is not restarted.
        primarySwatch: Colors.blue,
      ),
      home: Scaffold(
        appBar: AppBar(
          // Here we take the value from the MyHomePage object that was created by
          // the App.build method, and use it to set our appbar title.
          title: Text("Test"),
        ),
        body: Column(
          children: [
            Expanded(
                child: Container(
                  color: Colors.blue,
                )),
            Expanded(
                child:
                // Extended
                TextField(
                  minLines: null,
                  maxLines: null,
                  expands: true,
                  textAlignVertical: TextAlignVertical.top,
                  keyboardType: TextInputType.multiline,
                  controller: MyTextEditingController(),
                  //specialTextSpanBuilder: MySpecialTextSpanBuilder(),
                ))
          ],
        ), // This trailing comma makes auto-formatting nicer for build methods.
      ),
    );
  }
}

class MyTextEditingController extends TextEditingController {
  @override
  TextSpan buildTextSpan(
      {required BuildContext context,
        TextStyle? style,
        required bool withComposing}) {
    return TextSpan(
      children: [
        // TextSpan(text: '1'),
        WidgetSpan(
          child: Container(
            height: 1000,
            color: Colors.red,
          ),
        )
      ],
    );
  }
}

Run it as is and see that the red Container is positioned above the TextField it's supposed to be contained in.
Uncomment the first TextSpan with text '1' and see that the Container now moves into the TextField like it's supposed to and you can scroll down in the TextField.

Expected results:
Container should be inside the TextField.
Actual results:
Container above TextField.

Logs
flutter doctor -v
[√] Flutter (Channel stable, 2.8.0, on Microsoft Windows [Version 10.0.22000.376], locale en-CA)
    • Flutter version 2.8.0 at D:\Portable Programs\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision cf44000065 (4 weeks ago), 2021-12-08 14:06:50 -0800
    • Engine revision 40a99c5951
    • Dart version 2.15.0

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

[√] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.11.5)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.11.31729.503
    • Windows 10 SDK version 10.0.19041.0

[√] Android Studio (version 4.0)
    • Android Studio at C:\Program Files\Android\Android Studio
    • 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-b01)

[√] IntelliJ IDEA Ultimate Edition (version 2021.2)
    • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA 2021.1.3
    • Flutter plugin version 63.0.3
    • Dart plugin version 212.5632

[√] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.22000.376]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 96.0.4664.93
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 96.0.1054.29

! Doctor found issues in 1 category.

Originally from https://github.com/fluttercandies/extended_text_field/issues/130#issuecomment-1004549179.

Hi @Zarainia, Thanks for filing the issue. I ran your code sample and I don't see containers overlapping either on windows or Mac or Linux.

flutter doctor -v
[✓] Flutter (Channel stable, 2.8.1, on macOS 12.1 21C52 darwin-arm, locale en-GB)
    • Flutter version 2.8.1 at /Users/mahesh/Documents/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 77d935af4d (3 weeks ago), 2021-12-16 08:37:33 -0800
    • Engine revision 890a5fca2e
    • Dart version 2.15.1

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.10.2

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

[✓] Android Studio (version 4.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 60.1.4
    • Dart plugin version 212.5080.8

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

[✓] Connected device (4 available)
    • Redmi K20 Pro (mobile) • <IP_ADDRESS>:5555                     • android-arm64  • Android 11 (API 30)
    • iPhone 13 Pro (mobile) • 0FA2FB93-2A89-4FDB-8293-DF66188F1E54 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-15-0
      (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64   • macOS 12.1 21C52 darwin-arm
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 96.0.4664.110

• No issues found!

Can you please recheck the code sample you have shared I am seeing a different output.

In your screenshot the red Container is not visible at all, which is also a problem. I see what you see when I make the window smaller. When I maximize it, I see the red Container overlapping as in my screenshot. If you have it maximized you may need to use a device with a larger screen.

Thanks for the info @Zarainia, I am able to reproduce the same behavior as you the containers are overlapping. The red container should be visible in lower half of the screen within the TextField as per the below code sample.

on Adding another TextSpan widgets are correctly layed out.

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: Scaffold(
        appBar: AppBar(
          title: const Text("Test"),
        ),
        body: Column(
          children: [
            Expanded(
                child: Container(
              color: Colors.blue,
            )),
            Expanded(
                child: TextField(
              minLines: null,
              maxLines: null,
              expands: true,
              textAlignVertical: TextAlignVertical.top,
              keyboardType: TextInputType.multiline,
              controller: MyTextEditingController(),
              //specialTextSpanBuilder: MySpecialTextSpanBuilder(),
            ))
          ],
        ), // This trailing comma makes auto-formatting nicer for build methods.
      ),
    );
  }
}

class MyTextEditingController extends TextEditingController {
  @override
  TextSpan buildTextSpan(
      {required BuildContext context,
      TextStyle? style,
      required bool withComposing}) {
    return TextSpan(
      children: [
        // const TextSpan(text: '1'), // Adding this textspan fixes the issue
        WidgetSpan(
          child: Container(
            height: 1000,
            color: Colors.red,
          ),
        )
      ],
    );
  }
}

flutter doctor -v
[✓] Flutter (Channel stable, 2.8.1, on macOS 12.1 21C52 darwin-arm, locale en-GB)
    • Flutter version 2.8.1 at /Users/mahesh/Documents/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 77d935af4d (3 weeks ago), 2021-12-16 08:37:33 -0800
    • Engine revision 890a5fca2e
    • Dart version 2.15.1

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.10.2

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

[✓] Android Studio (version 4.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 60.1.4
    • Dart plugin version 212.5080.8

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

[✓] Connected device (4 available)
    • Redmi K20 Pro (mobile) • <IP_ADDRESS>:5555                     • android-arm64  • Android 11 (API 30)
    • iPhone 13 Pro (mobile) • 0FA2FB93-2A89-4FDB-8293-DF66188F1E54 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-15-0
      (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64   • macOS 12.1 21C52 darwin-arm
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 96.0.4664.110

• No issues found!

[✓] Flutter (Channel master, 2.9.0-1.0.pre.224, on macOS 12.1 21C52 darwin-arm, locale en-GB)
    • Flutter version 2.9.0-1.0.pre.224 at /Users/mahesh/Documents/flutter_master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision a0f8937b7c (2 days ago), 2022-01-03 04:15:18 -0500
    • Engine revision 8f53bbfde0
    • Dart version 2.16.0 (build 2.16.0-134.0.dev)
    • DevTools version 2.9.2

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.10.2

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

[✓] Android Studio (version 4.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 60.1.4
    • Dart plugin version 212.5080.8

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

[✓] Connected device (4 available)
    • Redmi K20 Pro (mobile) • <IP_ADDRESS>:5555                     • android-arm64  • Android 11 (API 30)
    • iPhone 13 Pro (mobile) • 0FA2FB93-2A89-4FDB-8293-DF66188F1E54 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-15-0
      (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64   • macOS 12.1 21C52 darwin-arm
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 96.0.4664.110

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

• No issues found!


Developer Authenticated Identities

Are there plans to support Developer Authenticated Identities?
http://docs.aws.amazon.com/cognito/latest/developerguide/developer-authenticated-identities.html
LambdaAuth does this, but it would be nice to have it as a serverless plugin
https://github.com/danilop/LambdAuth

This is a good feature to include to the boilerplate, at least as an example implementation. I'll look into this.

I'll close this one and let's continue the conversation in this issue https://github.com/laardee/serverless-authentication-boilerplate/issues/30


rubycop.yml StyleDocumentation Enabled not working

Hey
Using rubocop v 0.58.2 (using Parser <IP_ADDRESS>, running on ruby 2.5.1 x86_64-darwin17)
I'm getting a lot of hits from the documentation cop regarding top-level module and class documentation.
I would expect this from my .rubocop.yml to disable that cop, but that made no difference.
Style/Documetation:
  Enabled: false

I have written this spec in documentation_spec.rb in my clone of the project, which also fails to pass:
context 'with globally disabled Style/Documentation' do
  let(:config) do
    RuboCop::Config.new('Style/Documentation' => {
                          'Enabled' => false
                        })
  end

  %w[class module].each do |keyword|
    it "accepts non-namespace #{keyword} without documentation" do
      expect_no_offenses(<<-RUBY.strip_indent)
        #{keyword} Test
          def method
          end
        end
      RUBY
    end
  end
end

I can see some old issues talking about this also, but they're from 2013 and talks about the Style/Documentation being a top-level configuration in the .rubocop.yml.
Thanks,
Emil

Hi, @ekampp.
Style/Documetation:
  Enabled: false

There's a typo here. Documetation is missing an "n". Please check whether this is the problem.

Hi @Drenmi,
Thanks for getting back to me.
That was a typo in the bug report. my actual .rubocop.yml doesn't have the spelling error. As you can see, I can reproduce the problem with a spec as well, and that doesn't have the typo.

@ekampp Disabling a cop in the cop specific spec file doesn't work, unfortunately. You have to put those kinds of tests in cli_spec.rb. You need something like this:
  context 'with globally disabled Style/Documentation' do
    before do
      create_file('.rubocop.yml', <<-YAML.strip_indent)
        Style/Documentation:
          Enabled: false
      YAML
    end

    %w[class module].each do |keyword|
      it "accepts non-namespace #{keyword} without documentation" do
        create_file('file.rb', <<-RUBY.strip_indent)
          #{keyword} Test
            def method; end
          end
        RUBY
        expect(cli.run(%w[--format simple])).to eq(0)
        expect($stdout.string)
          .to eq(['', '1 file inspected, no offenses detected', ''].join("\n"))
      end
    end
  end

And that example passes for me. I wonder if you might inherit from some other configuration file where Style/Documentation is enabled. Run with the --debug flag to see which configuration files are loaded.
Do you get any warnings from rubocop, by the way?

@jonas054 that's unexpected, but thanks for investigating.
Which branch are you on?

What I meant was that you can add an example like
diff --git a/spec/rubocop/cli_spec.rb b/spec/rubocop/cli_spec.rb
index dacda64..a9faa61 100644
--- a/spec/rubocop/cli_spec.rb
+++ b/spec/rubocop/cli_spec.rb
@@ -736,6 +736,28 @@ RSpec.describe RuboCop::CLI, :isolated_environment do
       RuboCop::ConfigLoader.default_configuration = nil
     end

+    context 'with globally disabled Style/Documentation' do
+      before do
+        create_file('.rubocop.yml', <<-YAML.strip_indent)
+          Style/Documentation:
+            Enabled: false
+        YAML
+      end
+
+      %w[class module].each do |keyword|
+        it "accepts non-namespace #{keyword} without documentation" do
+          create_file('file.rb', <<-RUBY.strip_indent)
+            #{keyword} Test
+              def method; end
+            end
+          RUBY
+          expect(cli.run(%w[--format simple])).to eq(0)
+          expect($stdout.string)
+            .to eq(['', '1 file inspected, no offenses detected', ''].join("\n"))
+        end
+      end
+    end
+
     context 'when a value in a hash is overridden with nil' do
       it 'acts as if the key/value pair was removed' do
         create_file('.rubocop.yml', <<-YAML.strip_indent)

on the latest master to demonstrate that disabling the Style/Documentation cop does indeed disable it. So there's nothing special with that cop. There must be something wrong with your configuration.


refactor: SQL formatter

Feature or Bugfix

Refactoring

Detail

refactor SQL formatter

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

AWS CodeBuild CI Report

CodeBuild project: GitHubCodeBuild8756EF16-4rfo0GHQ0u9a
Commit ID: d837af2bac27f56eefb63a77005a3e30d41f613a
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubDistributedCodeBuild6-jWcl5DLmvupS
Commit ID: d837af2bac27f56eefb63a77005a3e30d41f613a
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubCodeBuild8756EF16-4rfo0GHQ0u9a
Commit ID: ad34d397c540b059cf951aaf34bd9b036ae726f7
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubDistributedCodeBuild6-jWcl5DLmvupS
Commit ID: ad34d397c540b059cf951aaf34bd9b036ae726f7
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubCodeBuild8756EF16-4rfo0GHQ0u9a
Commit ID: 7d6f811704e6bf446092f3de32fb84de9b7b5aa9
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubDistributedCodeBuild6-jWcl5DLmvupS
Commit ID: 7d6f811704e6bf446092f3de32fb84de9b7b5aa9
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubCodeBuild8756EF16-4rfo0GHQ0u9a
Commit ID: be869c1a1f21ebe490cf72906b32aef3fc33f7d5
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubDistributedCodeBuild6-jWcl5DLmvupS
Commit ID: be869c1a1f21ebe490cf72906b32aef3fc33f7d5
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubCodeBuild8756EF16-4rfo0GHQ0u9a
Commit ID: d4dd45499466b307391e68f4e7c8d51a747315b7
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubDistributedCodeBuild6-jWcl5DLmvupS
Commit ID: d4dd45499466b307391e68f4e7c8d51a747315b7
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubCodeBuild8756EF16-4rfo0GHQ0u9a
Commit ID: 78c86d69c593416e9f18db9aaa8553bf31165756
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubCodeBuild8756EF16-4rfo0GHQ0u9a
Commit ID: 5224f4ab4cf2b67f30c7ea0f6d2aed410822ace7
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubDistributedCodeBuild6-jWcl5DLmvupS
Commit ID: 78c86d69c593416e9f18db9aaa8553bf31165756
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubDistributedCodeBuild6-jWcl5DLmvupS
Commit ID: 5224f4ab4cf2b67f30c7ea0f6d2aed410822ace7
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository


is it possible to order a many-to-many field?

When using autocomplete-light in django admin, it is natural to give them orders. (The first item we add is the first item in order)
Is there a way to persist that information somehow so that when querying the field, I can get data in the order I intended.
(User might reorder the field by deleting and adding items).

I guess I can make through table, and assign count as index.

oh. shouldn't have been so hasty to close it.
When I have through parameter, django admin won't show the many-to-many field, and neither autocomplete_light form will show up..

Well now that autocomplete-light keeps the order the user selected items in, there should be no problem for you to save the order in a form save() method or something.
It would be awesome if I could reproduce this, see http://django-autocomplete-light.readthedocs.org/en/stable-2.x.x/faq.html#how-to-ask-for-help

autocomplete-light keeps the order the user selected items in, it was really hard since we have to generate raw SQL that would work in EVERY project and weird cases ^^
Closing, please re-open if you have questions.


pip install, how do you run it ?

Sorry for the totaly noob question, I have installed the script via pip, but how do you run it ?
"docker-compose-swarm-mode" just gives me "zsh: command not found: docker-compose-swarm-mode"

It should've been installed in /usr/local/bin/
Usually this dir is listed in the PATH environment variable so running the script using just docker-compose-swarm-mode works fine.
Does /usr/local/bin/docker-compose-swarm-mode file exist on your system?

No the file is not present in /usr/local/bin/
pip seems to have installed docker-compose-swarm-mode, but I have no idea where :)
if I rerun the pip install command I get the following :
Requirement already satisfied (use --upgrade to upgrade): docker-compose-swarm-mode in /home/donovan/.local/lib/python2.7/site-packages
Requirement already satisfied (use --upgrade to upgrade): yodl>=1.0.0 in /home/donovan/.local/lib/python2.7/site-packages (from docker-compose-swarm-mode)
Requirement already satisfied (use --upgrade to upgrade): PyYAML>=3.09 in /home/donovan/.local/lib/python2.7/site-packages (from yodl>=1.0.0->docker-compose-swarm-mode)

The system is an Ubuntu 16.04

It looks like you've run pip under your user, not under root. So the script hasn't been installed system-wide. In this case I have no idea where to find it too :)
Please install it once again using sudo pip ...

[faceplam]
Thanks, Now it works, I needed the -H flag though
sudo -H pip install docker-compose-swarm-mode


FacetPaletteOptions colorMapping

The prop colorMapping was recently added to the FacetPaletteOptions component as a way to map standard colors to alternative CSS color values - but prop test and documentation are missing.

Merged into templates branch.


xdg-desktop-portal: 0.11 -> 0.99

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/xdg-desktop-portal/versions.
meta.description for xdg-desktop-portal is: '"Desktop integration portals for sandboxed apps"'.
Release on GitHub
Compare changes on GitHub

Checks done (click to expand)

built on NixOS

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 0.99 with grep in /nix/store/99x899angfv3bgd1ww4fx89b5717q936-xdg-desktop-portal-0.99

directory tree listing: https://gist.github.com/a7399ec7ec75eabc40d1b6a637d8e763

du listing: https://gist.github.com/69f6239c88594ad04e45ca33a1b2dad1

Test this build with Cachix (click to expand)

One time setup in nixpkgs Git checkout:
cachix use r-ryantm
git remote add r-ryantm https://github.com/r-ryantm/nixpkgs.git

Test this build:
git fetch r-ryantm && git checkout 6b1eaf9b5edb1911f4a56421acceeb28f678cf78 && nix-shell --pure -I nixpkgs=. -p xdg-desktop-portal

cc @jtojnar for testing.

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: xdg-desktop-portal
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Attempted: xdg-desktop-portal
Partial log (click to expand)
stripping (with command strip and flags -S) in /nix/store/bsg5xrw9w3mxnxrkqcbd8ci0ws29495c-xdg-desktop-portal-0.99/lib  /nix/store/bsg5xrw9w3mxnxrkqcbd8ci0ws29495c-xdg-desktop-portal-0.99/libexec
patching script interpreter paths in /nix/store/bsg5xrw9w3mxnxrkqcbd8ci0ws29495c-xdg-desktop-portal-0.99
checking for references to /build in /nix/store/bsg5xrw9w3mxnxrkqcbd8ci0ws29495c-xdg-desktop-portal-0.99...
shrinking RPATHs of ELF executables and libraries in /nix/store/r2gnk3sfilw1ivixiq7kl2fj0ylxl6g6-xdg-desktop-portal-0.99-installedTests
shrinking /nix/store/r2gnk3sfilw1ivixiq7kl2fj0ylxl6g6-xdg-desktop-portal-0.99-installedTests/libexec/installed-tests/xdg-desktop-portal/testdb
shrinking /nix/store/r2gnk3sfilw1ivixiq7kl2fj0ylxl6g6-xdg-desktop-portal-0.99-installedTests/libexec/installed-tests/xdg-desktop-portal/test-doc-portal
strip is /nix/store/1hi76hr87bd1y1q1qjk0lv8nmcjip1c8-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/r2gnk3sfilw1ivixiq7kl2fj0ylxl6g6-xdg-desktop-portal-0.99-installedTests/libexec
patching script interpreter paths in /nix/store/r2gnk3sfilw1ivixiq7kl2fj0ylxl6g6-xdg-desktop-portal-0.99-installedTests
checking for references to /build in /nix/store/r2gnk3sfilw1ivixiq7kl2fj0ylxl6g6-xdg-desktop-portal-0.99-installedTests...

Success on aarch64-linux (full log)
Attempted: xdg-desktop-portal
Partial log (click to expand)
patching script interpreter paths in /nix/store/lrsvx9s71asb0v31y883d9r7ksiv7pa2-xdg-desktop-portal-0.99
checking for references to /build in /nix/store/lrsvx9s71asb0v31y883d9r7ksiv7pa2-xdg-desktop-portal-0.99...
shrinking RPATHs of ELF executables and libraries in /nix/store/f4s0h1rj9cchyf06i3fli823qc0cqh68-xdg-desktop-portal-0.99-installedTests
shrinking /nix/store/f4s0h1rj9cchyf06i3fli823qc0cqh68-xdg-desktop-portal-0.99-installedTests/libexec/installed-tests/xdg-desktop-portal/test-doc-portal
shrinking /nix/store/f4s0h1rj9cchyf06i3fli823qc0cqh68-xdg-desktop-portal-0.99-installedTests/libexec/installed-tests/xdg-desktop-portal/testdb
strip is /nix/store/zrs21zqcchgyabjf4xfimncdq16njizc-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/f4s0h1rj9cchyf06i3fli823qc0cqh68-xdg-desktop-portal-0.99-installedTests/libexec
patching script interpreter paths in /nix/store/f4s0h1rj9cchyf06i3fli823qc0cqh68-xdg-desktop-portal-0.99-installedTests
checking for references to /build in /nix/store/f4s0h1rj9cchyf06i3fli823qc0cqh68-xdg-desktop-portal-0.99-installedTests...
/nix/store/lrsvx9s71asb0v31y883d9r7ksiv7pa2-xdg-desktop-portal-0.99

@GrahamcOfBorg test xdg-desktop-portal

Failure on aarch64-linux (full log)
Attempted: tests.xdg-desktop-portal
Partial log (click to expand)
cannot build derivation '/nix/store/mn3g5rbq3v16r5363hb8nan4w9wka1hq-etc.drv': 7 dependencies couldn't be built
cannot build derivation '/nix/store/wmppv44pkjmm9wn35dhk3wmx13z1cmj2-stage-1-init.sh.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/550xclag2xqbrl0xppwhf9bnbfypn9nd-initrd.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/rjjnv01bkhminl9iq76nsd58a70lrd5h-nixos-system-machine-18.09.git.aa37d95.drv': 6 dependencies couldn't be built
cannot build derivation '/nix/store/3lqynaxsb1s57xg99c7s18w9nzg7w4yw-closure-info.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/jzps1v3v2bqral6b2l4ar1v58zi6yizs-run-nixos-vm.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/3m2lyd3h61krrfiy1pk47fpbkdayfxrj-nixos-vm.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/rxvy99xz06y1wbv1b1sdwcbyzdlxcnwj-nixos-test-driver-xdg-desktop-portal.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/5xs5zgfhd5vrl861rzzlj403dzgdlwwn-vm-test-run-xdg-desktop-portal.drv': 1 dependencies couldn't be built
error: build of '/nix/store/5xs5zgfhd5vrl861rzzlj403dzgdlwwn-vm-test-run-xdg-desktop-portal.drv' failed

Failure on x86_64-linux (full log)
Attempted: tests.xdg-desktop-portal
Partial log (click to expand)
building '/nix/store/07jzpq87923aqx40w6sjlkcfc6wnyny2-system-units.drv'...
cannot build derivation '/nix/store/6cngp5wkhwz589dri4b0695wn301y5xy-etc.drv': 1 dependencies couldn't be built
building '/nix/store/avbxwsqh44qvc1sxzwx6q0h7nwi047vy-users-groups.json.drv'...
cannot build derivation '/nix/store/hvwsk2x9cw6x12c5pnqycwq4fm0h0krb-nixos-system-machine-18.09.git.5dbef12.drv': 5 dependencies couldn't be built
cannot build derivation '/nix/store/svjlirqliv1f0fww0jjabllplalk9qsq-closure-info.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/bgyqgicx8kg2n7lic2l49kgln6d7rpcv-run-nixos-vm.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/iw2gs9b8g49gihcxiimas8bcxdl2dav0-nixos-vm.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/rggr4ganihy96vjbh167plyc4pccpj6j-nixos-test-driver-xdg-desktop-portal.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/zz9k1lgwqx5a073lq9vgkycm6hxnwiy4-vm-test-run-xdg-desktop-portal.drv': 1 dependencies couldn't be built
error: build of '/nix/store/zz9k1lgwqx5a073lq9vgkycm6hxnwiy4-vm-test-run-xdg-desktop-portal.drv' failed

Test passes locally.


WIP: DO NOT MERGE v1.6.0 updates

Based on https://github.com/kubernetes-incubator/bootkube/pull/365
Bump 1.6.0-rc.1 to 1.6.0.

--- FAIL: bootkube.selfetcd.scale (757.54s)
        scale.go:34: scaling up: Waited 150 seconds for etcd to scale: expected 3 etcd pods got 2: [Running Pending]
harness: test suite failed
FAIL

Going to debug this manually. cc @xiang90 @hongchaodeng

rktbot run test

rktbot run tests

From https://jenkins-tectonic.prod.coreos.systems/job/bootkube-dev/541/ :
--- FAIL: bootkube.selfetcd.scale (867.04s)
        scale.go:29: cannot detect all nodes in kubectl output
map[<IP_ADDRESS>:{} <IP_ADDRESS>:{} <IP_ADDRESS>:{}]

Having issue with client-go library conflict:

bootkube is vendoring 1.6.1 k8s which vendors client-go latest
etcd-operator is vendoring client-go 2.0.0.

We either need to bump etcd-operator to vendor newer client-go, or stop vendoring kubernetes.

rktbot run conformance tests

rktbot run checkpointer tests

Conformance test looks good https://jenkins.coreos.systems/job/bootkube-development/156/console

rktbot run checkpointer tests

rktbot run checkpointer tests

rktbot run conformance tests


[Bug] Error on upload: 'The language does not exist !'

Hi there,
thanks for the plugin. I got two apps. One supports multiple languages including Russian and I had no problems uploading that app with this plugin. The other app only supports German and is only whitelisted for German users in the App Gallery.

* What went wrong:
Execution failed for task ':app:publishHuaweiAppGalleryMyAppRelease'.
> Update App File Info is failed. Response: UpdateAppFileInfoResponse(ret=Ret(code=204144650, msg=[AppGalleryConnectPublishService]The language does not exist !))

I am not certain what the problem is but I suspect the hardcoded lang="ru-RU" query paramter in HuaweiServiceImpl.
Could this be the problem? Would it help not the send the language since it's optional for apk files? Alternativly it could be possible to set the language via gradle.

I got the same problem, tried to change the lang to supported one, it worked. @henningBunk

Its an easy fix, please .)

Hi @henningBunk, @nqnhat1988 . I deleted language parameter. Could you reproduce your problem on 1.0.2-SNAPSHOT version?

For now, Huawei publishing is on hold for me so I wont be able to test this soon. Sorry.

I have the same issue but it looks like the current snapshot version does not even do the upload, since most the code is commented out. It just logs some information. Can you update the snapshot version with the working one?

@MindaugasVarkalys I've uploaded the new 1.0.2-SNAPSHOT version. Check it please.

@cosic I still experience the same issue. I don't think you've uploaded the new version. Nexus Repository Manager says it was updated on September 15th.

@MindaugasVarkalys Sorry, you right. I'd uploaded wrong version. Please check 1.0.2-SNAPSHOT again.

Great! It works now!

Fixed at v1.1.0


Improve Developer Experience for the library.

What is the feature you would like to see?
The goal of this issue to make usage of the library more developer friendly. This task includes:

[ ] Improving documentation;
[ ] Perfect scenario is that anyone can use the template for Stylus smart contract and use our library by just adding them to Cargo.toml, like:    [dependencies]
    openzeppelin-stylus = "=v0.1.0"
    openzeppelin-crypto = "=0.1.0"

    [dev-dependencies]
    motsu = "=v0.1.0"

Contribution Guidelines

[X] I agree to follow this project's Contribution Guidelines

@bidzyyys  can we mark this as closed after #373 and release 0.1.1? Or was there anything else you had in mind?

Nope, we can close it with #373


MessageMeta trait for Any::type_url

As far as I understand Prost does not store any details about the message itself, such as the message name that was used to generate it, and the package name that was defined in the proto file. This information can be useful though. For example, when "packing" a message into an Any type, the type_url usually takes the form of type.googleapis.com/package_name.message_name.
For example, in one of our java projects, we have a proto file as follows:
syntax = "proto3";

import "google/protobuf/any.proto";

package my.project;

message ServerRequest {
    string requestId = 1;
    google.protobuf.Any payload = 2;
}

message Query {
    string key = 1;
}

When using the Java Any API, when you "pack" the Query message into an Any, it will generate a type_url as type.googleapis.com/my.project.Query.
To support a similar "pack" API as the Java, C++ and Python implementations have, perhaps each Message struct can implement a MessageMeta trait with the following:
pub trait MessageMeta {
    fn name(&self) -> &'static str;
    fn package_name(&self) -> &'static str;
}

The "pack" and "unpack" API could then look something as follows:
#[test]
fn test_well_known_types_any() {
    let msg = Foo {
        null: ::prost_types::NullValue::NullValue.into(),
        timestamp: Some(::prost_types::Timestamp {
            seconds: 99,
            nanos: 42,
        }),
    };
    let any = Any::pack(msg);
    println!("{:?}", any);
    let unpacked = any.unpack(Foo::default()).unwrap();
    println!("{:?}", unpacked);
}

I got this working in my cloned repo (see branch pb-any) and so far it seems to work ok. Downside of course is that each message now implements a trait called MessageMeta, but I suppose this can be turned on/off by defining it as a feature.

Addressed in pull request .#255

Closed in favour of #277.


Add in-line documentation for files under semantic-kernel/text

Closing so we can create new issues for docs later


Custom branding check is invoked each time

Version Info
latest
Describe the bug
Each time a connection to the branding container is attempted when the marketplace is accessed. The connection result is not cached.
How to Reproduce
Access the marketplace and obsove the network connection monitor.
Observed behavior
As described above.
Expected behavior
Connection is attempted one time only for the first access and the result is cached in session.
Screenshots
N/A
Additional context
Ask me.

Fixed in servicecatalog/oscm-core:latest


Optional mods

So I don't see this anywhere else so I want to know about seeing if for Solder enabled packs, can have optional mods that can be installed while installing a pack. I do realise that this would have to have changes on all levels (website, launcher, solder) but this could really be helpful for mods that we(The modpack creators) don't have permission to distribute. Like fastcraft or Mo'Creatures for example.

This, 1000%!
The staff of our server toyed with the idea of just including a folder inside the root minecraft directory with the included optional mods so they could be added manually, but one of our staff argued that it would be too much work for the players; So we soon scrapped that idea.

This, 1000%!
The staff of our server toyed with the idea of just including a folder inside the root minecraft directory with the included optional mods so they could be added manually, but one of our staff argued that it would be too much work for the players; So we soon scrapped that idea.

This is what I do at the moment.
On 1 Jan 2015 07:36, Francis Sayer<EMAIL_ADDRESS>wrote:This, 1000%!
The staff of our server toyed with the idea of just including a folder inside the root minecraft directory with the included optional mods so they could be added manually, but one of our staff argued that it would be too much work for the players; So we soon scrapped that idea.
—Reply to this email directly or view it on GitHub.

This is what I do at the moment.
On 1 Jan 2015 07:36, Francis Sayer<EMAIL_ADDRESS>wrote:This, 1000%!
The staff of our server toyed with the idea of just including a folder inside the root minecraft directory with the included optional mods so they could be added manually, but one of our staff argued that it would be too much work for the players; So we soon scrapped that idea.
—Reply to this email directly or view it on GitHub.

I currently use Solder which lets you make different versions of packs. For My Recommended build it just has basic mods. The Latest branch is the same as basic but with extra mods and runs harder on the pcs. And for testing the new versions (The way the latest builds are supposed to work) I can just manually select them. But that still just installs the extra mods I want to add and not the ones they want to have.

I currently use Solder which lets you make different versions of packs. For My Recommended build it just has basic mods. The Latest branch is the same as basic but with extra mods and runs harder on the pcs. And for testing the new versions (The way the latest builds are supposed to work) I can just manually select them. But that still just installs the extra mods I want to add and not the ones they want to have.

I think it's a great idea and I wanted to suggest it myself. It can make a whole new world of modpacks. There are a lot of mods that are controversial (Iguana Tweaks for a different game style, ICBM for a half-stable mod, Better Dungeons for an RPG experience, OreSpawn for craziness, etc): Now we can give the option for some different people to have the exact modpack they wish without changing stuff manually and getting it deleted everytime the modpack updates.

This is pretty much the only thing forbidding us from including FastCraft (since it require it to be optionally available, not forced upon without easy opt-out).

+1
Caveat: Permissions from mod authors have been approved and authorized beforehand.
Optifine is one of the optional mods that falls into this discussion.
For example - for laptop users they use the Light/HD edition
for desktop users they use HD/Ultra

This is basically all that I want. a way to point the client where to download a file from, and what folder to place it into. If this can be done, then modpack with technic solder would be allowed to use Journemap in their modpack.

Caveat: Permissions from mod authors have been approved and authorized beforehand.

I think this can actually be solved with minimal effort thanks to this

The only problem that I can think of with getting this to work is the strict mod structure Solder is using.

Personally I've never encountered a mod that's distributed in a Solder-format ZIP file, so I think the easiest solution is to add an "officialrepo" column to the mod table which would point at the author's repo.  Consent could be implied by the fact that there's a repo formatted exactly how it needs to be or could be made explicit by requiring a specifically named file be in the root.
Return an "officialurl" value on the /api/mod w modversion response that points there alongside the normal "url" value and make the client try there first before failing through to the other repo.
I think that would be a win-win, mod authors who want downloads coming from their server get what they want but the mirror is still maintained in case their web site goes down or whatever.

Personally, I am not sure I really care as much about a global optional mods.
but I would rather have them per pack, it would be nice if in solder, you could add a mod to the mod list, then have a box you can check that says:
[] Optional Mod
then another box that says:
[] Enabled by default
If a mod is checked as optional, then on the client, it would show up in the launchers pack options. Users could then disable ones that come enabled by default, or enable ones that are not enabled by default. (Also might be nice if it cached which ones they enabled/disabled when doing an update)
This would fix the permissions issue, since packs would still need permission to have their mods in a modpack, they would just be easy and optional to the user.
It would also mean the optional mods would be set up and tested properly with the modpack (configs) and recommended to be used if your computer can handle it.
Now pair this with #388 and limitless possibilities for modpacks.
Side note: If there is more than one optional Map mod, or just any mod that shouldn't be used at the same time as another mod. Should be able to specify that, if this mod is enabled, it disables other mod/mods that conflict with newly checked mod.

It's also worth noting that depending on your web server config you can create a /api/mod// tree under the "public" directory and just make files named version numbers containing the MD5 and the outside URL.  It'll override the response from Solder and should cause the client to download from the other URL instead.  Obviously this would need to be manually updated, but if your mod author is cooperative this should work for now.
Doing this does result in the HTTP Content Type being application/octet-stream rather than application/json which means browsers will treat it as a download rather than something to display when checking it.  No idea if that matters to the actual Technic client, I haven't tested doing this in a real modpack yet.
That part is easy to solve if it actually matters though, just drop this in your nginx config:
location /api/ {
    default_type application/json;
}

This would be great for mods like optifine, not everyone needs or wants it but you can give the option to the players on slower computers who may not know how to download and install it themselves

Has a good way to do this been found? One way to do it would be to have a file ending in .external or something containing some meta info about where to find the file, whether it is optional etc. and then have the launcher resolve it when the modpack is installed. The benefit of this is that it wouldn't require additions to solder, and it would make a seamless experiance.


Mission Page Styling

Add an array of hard code with the name of myList to render in the page
Render myList in Missions.js file
Create a separate component for each mission in the list
add style for Mission page
fix linter error

Nice job! I have no other thing to say than it's time to merge


Eliminate some filter which was pushed down

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
I found there are some filter was pushed down, but it's still in the logicplan.
 explain select c1, c2 from test where c3 = true and c2 = 0.000001;

+---------------+-------------------------------------------------------------------------------------------------------------------------------------+
| plan_type     | plan                                                                                |
+---------------+-------------------------------------------------------------------------------------------------------------------------------------+
| logical_plan  | Projection: #test.c1, #test.c2                                                                                |
|               |   Filter: #test.c3                                                                                |
|               |     Filter: #test.c2 = Float64(0.000001)                                                                                |
|               |       TableScan: test projection=Some([0, 1, 2]), filters=[#test.c3, #test.c2 = Float64(0.000001)]                                  |
| physical_plan | ProjectionExec: expr=[c1@0 as c1, c2@1 as c2]                                                                                |
|               |   CoalesceBatchesExec: target_batch_size=4096                                                                                |
|               |     FilterExec: c3@2                                                                                |
|               |       CoalesceBatchesExec: target_batch_size=4096                                                                                |
|               |         FilterExec: c2@1 = 0.000001                                                                                |
|               |           RepartitionExec: partitioning=RoundRobinBatch(8)                                                                          |
|               |             CsvExec: files=[/home/jakevin/code/arrow-datafusion/datafusion/tests/aggregate_simple.csv], has_header=true, limit=None |
|               |                                                                                |
+---------------+-------------------------------------------------------------------------------------------------------------------------------------+

 Filter   is included in the TableScan filters=[#test.c3, #test.c2 = Float64(0.000001)]
Maybe we can eliminate it. How do you think about it ? @alamb @Dandandan
Describe the solution you'd like
Correct the push down filter in the optimizer
Describe alternatives you've considered
Additional context
In PG
create table scientist (id integer, firstname varchar(100), lastname varchar(100));
insert into scientist (id, firstname, lastname) values (1, 'albert', 'einstein');
insert into scientist (id, firstname, lastname) values (2, 'isaac', 'newton');
insert into scientist (id, firstname, lastname) values (3, 'marie', 'curie');
explain select id, firstname from scientist where lastname = 'einstein' and id > 2;

 explain select id, firstname from scientist where lastname = 'einstein' and id > 2;
                           QUERY PLAN
----------------------------------------------------------------
 Seq Scan on scientist  (cost=0.00..12.55 rows=1 width=222)
   Filter: ((id > 2) AND ((lastname)::text = 'einstein'::text))

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
I found there are some filter was pushed down, but it's still in the logicplan.
 explain select c1, c2 from test where c3 = true and c2 = 0.000001;

+---------------+-------------------------------------------------------------------------------------------------------------------------------------+
| plan_type     | plan                                                                                |
+---------------+-------------------------------------------------------------------------------------------------------------------------------------+
| logical_plan  | Projection: #test.c1, #test.c2                                                                                |
|               |   Filter: #test.c3                                                                                |
|               |     Filter: #test.c2 = Float64(0.000001)                                                                                |
|               |       TableScan: test projection=Some([0, 1, 2]), filters=[#test.c3, #test.c2 = Float64(0.000001)]                                  |
| physical_plan | ProjectionExec: expr=[c1@0 as c1, c2@1 as c2]                                                                                |
|               |   CoalesceBatchesExec: target_batch_size=4096                                                                                |
|               |     FilterExec: c3@2                                                                                |
|               |       CoalesceBatchesExec: target_batch_size=4096                                                                                |
|               |         FilterExec: c2@1 = 0.000001                                                                                |
|               |           RepartitionExec: partitioning=RoundRobinBatch(8)                                                                          |
|               |             CsvExec: files=[/home/jakevin/code/arrow-datafusion/datafusion/tests/aggregate_simple.csv], has_header=true, limit=None |
|               |                                                                                |
+---------------+-------------------------------------------------------------------------------------------------------------------------------------+

 Filter: #test.c2 = Float64(0.000001)   is included in the TableScan
Maybe we can eliminate it. How do you think about it ? @alamb @Dandandan
Describe the solution you'd like
Correct the push down filter in the optimizer
Describe alternatives you've considered
Additional context
In PG
create table scientist (id integer, firstname varchar(100), lastname varchar(100));
insert into scientist (id, firstname, lastname) values (1, 'albert', 'einstein');
insert into scientist (id, firstname, lastname) values (2, 'isaac', 'newton');
insert into scientist (id, firstname, lastname) values (3, 'marie', 'curie');
explain select id, firstname from scientist where lastname = 'einstein' and id > 2;

 explain select id, firstname from scientist where lastname = 'einstein' and id > 2;
                           QUERY PLAN
----------------------------------------------------------------
 Seq Scan on scientist  (cost=0.00..12.55 rows=1 width=222)
   Filter: ((id > 2) AND ((lastname)::text = 'einstein'::text))

Pushing down the filter to table scan doesn't mean the filter can be removed from the plan. For example, parquet data doesn't support exact filtering: it returns more rows than those matching the predicates based onstatistics in the file. Another filter needs to filter out those rows not matching the predicate.
PostgreSQL has a different way of scanning data: it will read rows one by one and apply the filter directly to the rows.
What can be done I think in terms of optimizing is combining the two filters in one FilterExec (FilterExec: c2@1 = 0.000001 AND c3@2).
I guess that could be in some cases faster than having two filters.
Another optimization could be to apply the most selective filter expressjon first and/or the most expensive expression (such as a complex regex or case-when expression) last.

I got it. Thanks your reply. @xudong963 @Dandandan .

combining the two filters

Yes, I'm try to add a merge_adjacent_project rule to enhance our optimizer. It was during my attempts that I discovered this problem.

I wonder if we could/should change the DataFusion explain plans to make it clearer that the predicate / filter in the scan may be inexact / partially applied
In other words, if TableProvider:: supports_filter_pushdown returns TableProviderFilterPushDown::Inexact
https://github.com/apache/arrow-datafusion/blob/d31c1579fdc2ad060bc46c4fcfef14cc7676da6b/datafusion/src/datasource/datasource.rs#L116-L123
https://github.com/apache/arrow-datafusion/blob/d31c1579fdc2ad060bc46c4fcfef14cc7676da6b/datafusion/src/datasource/datasource.rs#L54-L67

I wonder if we could/should change the DataFusion explain plans to make it clearer that the predicate / filter in the scan may be inexact / partially applied
In other words, if TableProvider:: supports_filter_pushdown returns TableProviderFilterPushDown::Inexact
https://github.com/apache/arrow-datafusion/blob/d31c1579fdc2ad060bc46c4fcfef14cc7676da6b/datafusion/src/datasource/datasource.rs#L116-L123
https://github.com/apache/arrow-datafusion/blob/d31c1579fdc2ad060bc46c4fcfef14cc7676da6b/datafusion/src/datasource/datasource.rs#L54-L67

I will have a try  😊  and familiarize the explain path.

Filed https://github.com/apache/arrow-datafusion/issues/2021 to track -- thanks @Ted-Jiang !


fix(dots): set markdown for LICENSE file

Thanks!

sorry, I was too quick. LICENSE is not always markdown


update to accommodate differing numbers of stains/channels

stain_# columns can now be added or removed.
can also use n/a or empty cells to indicate no stain
README is updated

Closes #38
TODO:

[x] run a case with single stain to see if any downstream bugs need to be fixed..

also exposed more options for bigstitcher steps, in case these are needed to fine-tune performance..


*: add engine filter to exclude special stores

Signed-off-by: nolouch<EMAIL_ADDRESS>
What problem does this PR solve?
Fix https://github.com/pingcap/pd/issues/2423
AvaiableStore() always returns flash nodes, so the tikv nodes cannot be used.
Release note

Fix the issue that presplit not work within tiflash cluster.

/run-all-tests

/rebuild

/rebuild

/approve

/approve

/merge

/merge

/rebuild

/merge

/merge

It's about dashboard, merge it firstly.


Case insensitive match

Hi, thanks for the great workflow. One suggestion: I think this workflow should match candidates in a case-insensitive manner rather than case-sensitive manner (the current behavior). It would be more convenient to kill some macOS apps because most of the applications would start with a Capital letter (e.g., /Application/Google Chrome.app, should be matched by chrome)

Thank you for bringing this to my attention. I agree that this should have been the correct behaviour.
Fixed in 19fceb3ba462413af40eaa0cb18a83db381b054f


Feature/okn 1785

Remove social icon list vertical with shape and rename variants and remove the footer pattern

Simon suggested to just remove the social icons, what do you think about that?

We agreed yesterday on keeping it, since the horizontal list is used in the new footer of Oslo kommune.

Ok


feat(network): add get blocks inbound response logic

Pull Request type
Please check the type of change your PR introduces:

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no API changes)
[ ] Build-related changes
[ ] Documentation content changes
[ ] Other (please describe):

What is the current behavior?

Issue Number: N/A
What is the new behavior?

Does this introduce a breaking change?

[ ] Yes
[ ] No

Other information

This change is

Current dependencies on/for this PR:

main

PR #1130

PR #1123

PR #1131   👈

This comment was auto-generated by Graphite.


Give user opportunity to modify the filetype backlist, which can prevent ALE linters running.

Use g:ale_filetype_blacklist if user has defined it.

This is already supported via the g:ale_linters option. There should be only one way to do this. See :help g:ale_linters.


dask.dataframe.map_partitions enforce_metadata not checking for dtypes

It looks like map_partitions(enforce_metadata=True) is not checking dtypes.
The following code should raise because we provide a int64 meta while the mapped function returns strings only.
import dask
import pandas as pd

dd = dask.datasets.timeseries()

def func(df):
    # Force returning strings dtype('O')
    return df.astype(str)

# Should raise dtype('O') != int64
dask.dataframe.map_partitions(func, dd, enforce_metadata=True, meta=dd._meta.astype('int64')).compute()

On the other side, from_delayed(verify_meta=True) is raising:
import dask
import pandas as pd

df = dask.datasets.timeseries().head(compute=True)

@dask.delayed
def func():
    # Force returning strings dtype('O')
    return df.astype(str)

# Raise dtype('O') != int64
dask.dataframe.from_delayed([func()], meta=df.head(0).astype('int64')).compute()

I am wondering if this behavior is intended or not? I know enforcing dtypes would be very chalenging when mixing partitions with integers and floats that may easily be upcasted or even with mixed categories....
Environment:

Dask version: 2022.8.0
Python version: 3.9.12
Operating System: Windows 10
Install method (conda, pip, source): pip

Thanks for the issue @epizut - I agree that the behavior of enforce_metadata seems to differ from the description in the docstring. More specifically, the apply_and_enforce function that is used to wrap the user-defined function only checks that the output column names and ordering match with meta.  The docstring, however, clearly states that mismatched types will lead to an error.

I am wondering if this behavior is intended or not? I know enforcing dtypes would be very chalenging when mixing partitions with integers and floats that may easily be upcasted or even with mixed categories....

My intuition is that enforcing strict dtype matching would indeed be difficult. Pandas' casting rules are just a bit too complex to capture with the synthetic meta that dask-dataframe typically uses to emulate type evolution.  Therefore, my personal suggestion is that we update the map_partitions docstring to more-accurately describe the current behavior of enforce_metadata.

Works for me!
Looks like map_overlap() should be updated too.

@epizut Would you be interested in opening a PR to fix these docs?

@epizut Would you be interested in opening a PR to fix these docs?

Sure,


Chroma core/chrome 536

Description of changes
Please let me know if anything needs to be changed or done differently! We can certainly continue to make efforts to make our JS client more structured and maintainable.
Summary:

Improvements & Bug fixes

Broke client/js/src/index.ts down and put them in separate files
Created IEmbeddedFunction interface to improve the maintainability and extensibility of the client code, making it easier to add new embedding function types in the future
Replaced CallableFunction with IEmbeddingFunction

Closes #536
New functionality

None

Test plan
Refactored tests
Note: the Collection tests have been failing on main when I run using yarn test, did we know about this?
Documentation Changes
Not sure, couldn't find anything?

@jeffchuber Please take a look and lmk if I need to change anything🫡

@suitedaces try yarn test:run instead -- letting the tests run here too. there has been some flakiness with tests on github which may not be your problem, im looking into this separately

@jeffchuber - tried that too on both branches, and all the Collection jest tests are failing because of an unrelated reason. Seems to be an issue caused by a problem within the OpenAPI Generated code, refactoring which is not recommended...
When was the last time we ran the tests here? Are we planning to make the client tests a part of the build in the future?

@jeffchuber can you branch into mine and try running the tests? the tests fail even on main for me so it likely has something with my local setup..

@suitedaces tests run as a normal part of the CI process, in fact you can see that the test passed here -- All checks have passed, 35 successful checks - so i think everything is ok there.
I will do a review now

Great! I'd be happy to incorporate your suggested changes into the pull request.

I meant I'd be happy to do them for you 😝

@suitedaces =D thanks for the help!

@jeffchuber done!

@jeffchuber just pushed those 2 things!

@jeffchuber my bad was distracted with other work lol, is there anything else?


Fixed video link

https://github.com/MicrosoftDocs/OfficeDocs-SkypeForBusiness/issues/4034

@JohanFreelancer9 Copy editing is needed for this PR. Thanks.


Add  more option on navbar

@HimanshuNarware Add more option related to the website

@HimanshuNarware please review and merge

@HimanshuNarware please label it Gssoc 2024

Which issue are you fixing @pandeyji711 ?

@PSS2134 #40  please add label Gssoc 2024

@pandeyji711 This issue #40 is about adding icons , which cannot be seen ?

@PSS2134 Now added fabicon and more options
https://github.com/HimanshuNarware/CareerZunction_Intern/assets/154527778/4b15d1d5-d47b-4042-91c5-b6ddff879575

Ensure there is adequate space between the icon and the text.

@Shubh942 fixed spacing

please review and merge with Gssoc24 and level tag

add some space between icon and text and also align them at same level  horizotally @pandeyji711

add some space between icon and text and also align them at same level horizotally

@PSS2134 fixed

@HimanshuNarware please review and merge

@pandeyji711 this is not responsive and effecting the responsiveness of the Web that why closing this PR


[Violation] Added non-passive event listener to a scroll-blocking 'wheel' event.

I have 10,000 markers on my map and each one generates an error message in my browser console:

[Violation] Added non-passive event listener to a scroll-blocking 'wheel' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952

Because of this, it takes a few minutes for the page to load. Is there a way to avoid generating these messages?

Leaflet version I'm using: 1.2.0
Browser (with version) I'm using: 63.0.3239.84
OS/Platform (with version) I'm using: macOS 10.13.1

@queeniema would you mind adding a quick comment showing why you closed this?

@queeniema Got the same problem here, how did you solve the problem ?

Same here

Hi @Itemshopp and @bobmoff,
If you need help on using Leaflet, you should rather ask on Stack Overflow or GIS Stack Exchange.
If you are really sure that this is a bug in Leaflet, please open a new issue (and provide all requested information) rather than commenting an old closed thread.
Given OP's description "I have 10,000 markers on my map", I suspect the issue is not related to Chrome's warning, but rather to the browser struggling with the 10k DOM elements from the Markers.
This is a known limitation of Leaflet, see e.g. https://github.com/Leaflet/Leaflet/issues/6346#issuecomment-424242337 or this post on SO: https://stackoverflow.com/questions/43015854/large-dataset-of-markers-or-dots-in-leaflet/43019740#43019740
If you are in a different situation than OP's, then either ask on SO or open a new ticket if you are sure there is a bug in Leaflet.

Thanks for your answer, this isn't related to 10 0000 markers you're right.
I'll create a new issue about it.


TextInput ref prop

Ask your Question
Hi, nice lib!
Is there any option to pass a ref object into the TextInput? I need a was to focus / blur the input programatically on demand.

Hey, @Fortidude thank's for this issue. I'm working to fix it right now. I will release it as soon as possible.


Update release script to support pre-releases

Description of Problem:
If you want to tag a pre-release the release script does not accept, for example, the version number 1.10.0a1. It just supports 1.10.0-alpha1. Also the release script deletes all changelog files and update the CHANGELOG.rst file. This should not happen on a pre-release. We want to keep those updates for the next minor release.
Overview of the Solution:
Add support for pre-release versions, such as 1.10.0a1.
Skip updating the CHANGELOG.rst file for pre-releases.

@tabergma I'm taking a look at this one and I don't see what you mean by "it just supports 1.10.0-alpha1", because to me, it doesn't even support this:
https://github.com/RasaHQ/rasa/blob/c4d5302e3e9d6d4f442d15b42f1ad585f0d90d88/scripts/release.py#L33-L37

When you execute make release it ask you for the next version
? What is the version number you want to release ('major', 'minor', 'patch' or valid version number)?

If you type in 1.10.0-alpha1, it will fail.

ok so it doesn't work at all for alpha. I was confused by what you wrote in the desc, because you said that "It just supports 1.10.0-alpha1"

Sorry my bad. Yes, the version 1.10.0-alpha1 works, but 1.10.0a1 fails.

1.10.0a1 is not following the semver spec. But 1.10.0-a1 or 1.10.0-alpha1 would.

Yes. However, the idea was to nevertheless support it. We could maybe just internally map 1.10.0a1 to 1.10.0-a1 or 1.10.0-alpha1 and print a warning for the user.

but why diverge from semver?

@tmbo mentioned we should support it

But we should definitely not just fail if a version number is not supported, but rather print a useful error message.

ok on that note we can definitely display what a valid version number looks like


Add cupy.nanvar and cupy.nanstd

This PR partially resolves #2295.
I have float16 deviation problem for cupy.nanvar and cupy.nanstd same as in #2319.

pfnCI, test this please.

Jenkins CI test (for commit 8e904887701bd402c1ba6bdbc217d41fb2e17fd5, target branch master) failed with status FAILURE.

Jenkins failure seems unrelated to this PR. LGTM.
Thank you for the PR!


Old versioned jars are not deleted

Hi,
if i update a library (controlsfx-8.40.13 -> controlsfx-8.40.14) the old jar files are not deleted.
With maven i build the new app.xml which contain the tag for controlsfx-8.40.14.jar.
I copy the new controlsfx-8.40.14.jar to the URL and delete controlsfx-8.40.13.jar.
But after using fxlauncher I have both files on the client:
controlsfx-8.40.13.jar (not deleted)
controlsfx-8.40.14.jar (new downloaded)
Is there a possibility to delete the fiels that are not in app.xml with fxlauncher?
King regards,
Boris

No you can't but it will not be dynamically loaded onto the JVM if it
is not present in the manifest.
if you really want, your artifacts should not have a version string so
newer will overwrite older. In case it's already released, rename the
new version to match the older.

Thanks @mordechaim - I agree. We could have added a feature to delete old artifacts, but that's a bit dangerous, and since we can remove the need for it by simply removing version numbers that's a safer approach IMO.

@mordechaim: that's right, but then you have a lot of garbage files, if the artifacts have new versions.
@edvin: if you remove the version number, you can't see on client site if there is the right versions of the artifacts.
Maybe in a later version of fxlauncher there is a parameter for "--remove-old-artifacts".

That's would be pretty cool :+1:

You will have to add more entries in the manifest, namely 'deletes'.
Otherwise how would we know what's an old artifact?
Do you think it's still in the scope of this framework? One could
easily do the deletes theirselves in the actual app; it doesn't need
to be done anywhere before the launch process. Just my opinion.

We'd have to have a designated artifacts-folder so it would be safe for FXLauncher to delete any files not mentioned in the manifest. This could be done after the new version has been downloaded successfully.


frameit: Why do the localised .strings file need to be in UTF-16 BE as the code converts them to UTF-8?

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description
The frameit docu at https://docs.fastlane.tools/actions/frameit/ shows:

Note: These .strings files MUST be utf-16 encoded (UTF-16 BE with BOM). They also must begin with an empty line. If you are having trouble see issue #1740

However, the first thing that Class strings_parser.rb does is converting the file to UTF-8 encoding:
https://github.com/fastlane/fastlane/blob/48ad2fae84e10c3c89402b702f8dd6bdc2f71660/frameit/lib/frameit/strings_parser.rb#L12-L13
We've got a struggle to maintain UTF-16 BE encoding for these .strings files in Xcode over commits.
Often it falls back to some format (WINDOWS-1252 according to uchardet ) that destroys special characters in locales, like French.
We don't have this problem with the app specific locale .strings files, because they all have default UTF-8 encoding.
So what is the reason these frameit specific .strings files should have UTF-16 BE encoding?
What is needed to support UTF-8 encoding?

@joshdholtz Thanks for this excellent fix.
One action still remains, updating of the frameit docu as it stil refers to UTF-16 BE:
https://github.com/fastlane/fastlane/blob/master/fastlane/lib/fastlane/actions/docs/frame_screenshots.md#strings-files

Ah, good call! Will update 👍


Fix data race in server_test.go

This fixes the data race between gRpc and the logging code in server_test.go

Also shuffling the code slightly to reduce the likelihood of reintroducing the issue again.

Fixes #2745

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: guptasu
Assign the PR to them by writing /assign @guptasu in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

mixer/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ozevren: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-presubmit.sh
439f144a1f8bf3b772eccdfeed71de720460439c
link
/test istio-presubmit

prow/istio-unit-tests.sh
e63052d153f0ad911d1f418d359f04e8d208b309
link
/test istio-unit-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Cost of central production units (coal etc.) of producers in business case?

I was wandering wether or not the cost for central produced electricity is included in de business case as cost for producers?

I was wandering wether or not the cost for central produced electricity is included in de business case as cost for producers?

Interesting point! In principle, the merit order price can be though of as the cost of produced electricity. This 'price' is based on the 'marginal cost' which includes fuel cost, CO2-cost and variable operation and maintenance cost. The subtlety, however, is that the merit order price represents the marginal cost of the most expensive plant that is running to satisfy the demand at a given time. So, it is an upper limit for the marginal cost of the production park as a whole.
Investment cost and fixed O&M cost are not included in the marginal cost. It is possible to include the investment cost in the depreciation cost section of the financial balance. Perhaps we can do this next year?

If you want to do this, assign the top-most node to the "producer" stakeholder, and set up your market model like so:

Here's an example LES.

I'll try. For now I could also determine in another calculation the investment cost and fixed operational cost of central producers and make a transfer in the market model (customer to producer euros per connection).

For now I could also determine in another calculation the investment cost and fixed operational cost of central producers and make a transfer in the market model (customer to producer euros per connection).

:+1:


Unit conversion code is messy

Unit conversion code is full of magic values and duplicated unit definitions

Closing, we can reopen when we tackle this back


Test work

Validating results of existing tests
Adding tests for new features
Cleaning up rethink afterwards (and isolating cases)

Coverage decreased (-17.6%) to 82.353% when pulling 2ef9351377f520e9b1bba42155bf887086c279ad on kav:master into cf71de88c0ca0556938ea19bb867b38386ef68a2 on ChrisCates:master.

Coverage remained the same at 100.0% when pulling 67f41dcbbde4b7bdd0bf9d78c47b24aadd514a34 on kav:master into cf71de88c0ca0556938ea19bb867b38386ef68a2 on ChrisCates:master.

Coverage remained the same at 100.0% when pulling 8fd6491337db4a085faca8bca736ea51b91eb18f on kav:master into cf71de88c0ca0556938ea19bb867b38386ef68a2 on ChrisCates:master.


Add markdown css to

Coverage remained the same at 33.119% when pulling 4f7874bf7d0dde8968bdc20c5de819a18dc53953 on Kiloutre:patch-58 into cc8b2fcbc4bd4ea31bf6517bca77e672b417cde5 on NyaaPantsu:dev.


Page Not Found on .: https://docs.perl6.org/routine/.:<prefix>

the link to .: can be found in the search box, which direct to a 404 page.
does we really have a subroutine &prefix:<.>? when i try to find it in REPL, i get:
> &prefix:<.>
===SORRY!=== Error while compiling:
Undeclared routine:
prefix:<.> used at line 1. Did you mean 'prefix:<!>', 'prefix:<+>', 'prefix:<−>', 'prefix:<->', 'prefix:<~>'?

then i find #1592 with quite similar problem
it seems like in the dir doc we don't have a folder named routine
so where is the source code of page https://docs.perl6.org/routine/*

i found someone mention similar but more common problem in #1542
so i close this issue and will keep track in #1542


Problematic: Tabs::new

Here a few thoughts, I would like to discuss, before I continue implementing #128.
The new function of Tabs as well as of TabBar is kind of unsafe.
This is due to the fact that after you call it, there's no tab/tab_label setup, which could be active.
Example:
Tabs::new(123, |x|{})

This can go wrong since there's no idx 123 setup at the moment.
I'll think about it, let me know when you have an idea on your own.

I think the best way is to set the system up to use Option for returns on anything that uses this so people can set a default or ignore it if nothing is found. same internally. Result I would avoid unless there was some sort of Actual Error that we would want to show, in most case's its more of this doesn't Exist so lets set it to 0 or default and when a tab does get added then we just act as if that was the main tab since its first.

OK, I choose to setup a separate function for it.


RTC Watchdog triggered after reset

Hi
When I press reset, i always encounter a RTCWDT_RTC_RESET, what reason could it be to get this kind of reset, i have the wroom dev kit with the 1.0 release of the sdk
ets Jun  8 2016 00:22:57
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
ets Jun  8 2016 00:22:57
rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0x00
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:QIO, clock div:2
load:0x3ffc0008,len:0
load:0x3ffc0008,len:20
ho 0 tail 12 room 4
load:0x40078000,len:2680
ho 0 tail 12 room 4
load:0x40080000,len:260
entry 0x40080034
Could be connected to #113 but i don't get the read error and it happens all the time

It is a silicon error, as documented here: http://espressif.com/sites/default/files/documentation/eco_and_workarounds_for_bugs_in_esp32_en.pdf
Apart from slowing boot times slightly, it is harmless. It will be fixed in the new revision of the ESP32 chip, which is expected to come out around february.

Thanks to the quick reply! That explains it, just an inconvenience that you can't get the real reset reason or is there an work around to get that?

This happens only after power-on reset and after deep sleep reset. For deep sleep reset, we have a workaround which prevents this (so you get correct reset behavior). For the power-on reset, unfortunately there is no workaround, so you indeed get incorrect reset reason.

rst:0x10 (RTCWDT_RTC_RESET),boot:0x1f (SPI_FAST_FLASH_BOOT)
flash read err, 1000
ets_main.c 371
I am getting this error in my esp32 devkit v1
How to solve it?
I am using arduino IDE for programming the esp32.


Community 23.x compatibility

Hi there,
Is it possible to make this compatible to ACS Community 23.x?

Yes, this would be possible.  I'll try to set some time aside to do this this weekend.  There maybe a PR already to do this...

hi jottley, any news about this?