ad refactoring, adding in-content ad to loadout setting

Describe your changes
Refactor ads

add in-layout ad to loadout setting (next to empty space next to "equipped build") with different dataAdSlot id for experiment
fake ads better fill up the ad space
Allow full-width ads (header/footer banner ads)

Issue or discord link

Testing/validation

IRL ad:

Checklist before requesting a review (leave this PR as draft if any part of this list is not done.)

[ ] I have commented my code in hard-to understand areas.
[ ] I have made corresponding changes to README or wiki.
[ ] For front-end changes, I have updated the corresponding English translations.
[ ] I have run yarn run mini-ci locally to validate format and lint.
[ ] If I have added a new library or app, I have updated the deployment scripts to ignore changes as needed

More? The current ones already feel a bit intrusive and change the feel of the site tbh

More? The current ones already feel a bit intrusive and change the feel of the site tbh

The mid-page ad is probably more important to have than "border ads" that have been implemented, That's why there is a separate ad id for this one, to compare the RPM across different ad units. In terms of your concern of intrusiveness, I understand what you mean, This is using up a space that is otherwise empty.

It's less about the space and more about the glaring white bg

It's less about the space and more about the glaring white bg
Can't really do too much with actual ads, since those are either an image or iframed.
For the GO-ads, I don't like the white color either.


ALIASES in ZCL_ABAPGIT_HTML

looks like the aliases can be removed or made private, the usages should be changed to via the interfaces

will wait a bit to work more on this, there are 2 large PRs in the GUI area ongoing


Command expects virtual network to be in same resource group as private endpoint

During execution of command with create option using --vnet-name, the command errors out since it tries to locate vnet in same resource group specific for creation of private endpoint.
If we can highlight same that'll be helpful. If vnet resource group is different than private endpoint than we need to use subnet ID.

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

ID: 8911e94f-9496-a68d-50c0-b5d536a375a4
Version Independent ID: cc37b77b-0fa2-991b-e16b-fcdbbf183853
Content: az network private-endpoint
Content Source: src/azure-cli/azure/cli/command_modules/network/_help.py
Service: virtual-network
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

add to S169

@AjKundnani Hi. It's a quite common design in Azure CLI and exists for a quite long time. I don't want to change the help message for vnet-name. But I agree with your point and I think we can output extra warning logs. I will improve this part later.


Perfect matching

@aaustin @shortstuffsushi note this is a PR to add to ios-9-content-discovery, not to master. pings 1x every 30 days to avoid too much server load but also to keep up with rotating IDFA's or cleared browser cookies

@dmitrig01 if you're bored look at this too

my extensive ios leads me to believe there is a fatal flaw here. just can't quite trace down where....

*ios knowledge

Once you modify that thing ^ :+1:


Hallucination

While the pdf generation is excellent and fast, i realized some minor error, the book was about crop diseases, and somewhere in the middle the books switched to human diseases for a few pages then back to animal diseases,is it a possible issue with the model or maybe my prompt was not clear enough

You can try switching the model to experiment. Based on what you described, it sounds like the outline generated included an irrelevant section about human and animal diseases. Therefore, try swapping the outline generation model under the custom settings on the left sidebar.  Additionally as you mentioned, you can provide more precise content for the models, which will also improve output.


Added autocomplete and image upload support to compose

Resolves #61

@Megha-Dev-19  Could this be configured to work with the existing Markdown editor? Was there any specific motivation to use SimpleMDE?

I think we could copy the pattern from mob.near/widget/MainPage.N.Compose.Common -- notice how this Common "wrapper" is able to take in a custom markdown editor (our current) from props, and then passes these functionalities to it.
Feel free to fork this pattern.
For context, the goal is that we can use these features in whatever editor we plan to swap it out for. The implementation should be style agnostic. Also see #83 and #82

hey @elliotBraem, the reason I moved to SimpleMDE, the current editor doesn't capture the change in text when it's done outside it's scope, so if I update the post (by using autocomplete), the state is updated but not visible in markdown, since it takes the state only in initial render, but now if I think about it I believe I can move certain things from SimpleMDE code to the existing one to make it work.
do you want to have the editor similar to near.social without the icons for the markdown.?
or do you want to keep them as is?

@Megha-Dev-19 Ahhh I see, ya I think this is a similar issue @itexpert120 is running into for #81.
If it's not too much work, I think it's worth the exploration. Ideally, we should be able to swap between the two editors (any editor) with no change in the behavior or extra configuration. Being able to update content would solve #78, too

do you want to have the editor similar to near.social without the icons for the markdown.?

On near.social, there's this special icon that gets clicked and shows the "advanced" markdown editor.

We can keep the editor as it is now, but I like the pattern in mob.near/widget/MainPage.N.Common.Compose; you can swap out whichever editor  you use via a widgetSrc in props and it'll work the same

@elliotBraem I have forked the mob.near/widget/MarkdownEditorIframe and made some changes to it to show changes to content when it's down outside it's own component, it works now, let me know if there is any other change required
cc: @itexpert120, this should unblock your issues as well


pypreprocessor does not work with pytables

Hi!
I'm unsure if this is the right place to complain. Maybe this issue is better addressed at the pytables community. So I will open an according issue there, too.
Assume the following code:
import tables
from pypreprocessor import pypreprocessor
pypreprocessor.parse()

class ErrorData(tables.IsDescription):
     timestamp = tables.UInt32Col(pos=1)

It will result in:
Traceback (most recent call last):
  File "/local/lib/python2.7/site-packages/pypreprocessor/__init__.py", line 221, in on_the_fly
    exec(open(self.output,"rb").read())
  File "<string>", line 5, in <module>
  File "test_tables_preprocess.py", line 6, in ErrorData
NameError: name 'tables' is not defined

pytables is installed correctly and works as expected:
volker@runner:~$ python
Python 2.7.9 (default, Mar  1 2015, 12:57:24)
[GCC 4.9.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import tables
>>> class ErrorData(tables.IsDescription):
...      timestamp = tables.UInt32Col(pos=1)

Since pypreprocessor runs fine with e.g. numpy I have the feeling that this is a pytabes problem?
Any help appreciated.
Volker

It's hard to tell, pypreprocessor shouldn't cause any issue there but pytables may use it's own 'magic'.
Here's how pypreprocessor works:

it hits the parse() call skips the rest of the source
the loads the entire source file into memory
the code is processed to handle any preprocessor tags
the import is overridden with the new source contained in memory
the second call to pypreprocessor.parse() is ignored
the code is executed as normal

There is a considerable amount of 'magic' taking place but it shouldn't affect the call to pytables unless it's contained within a #ifdef-#endif or #exclude-#endexclude tags.
The only possible issue I see is the python compiler may attempt to import tables twice. Just as a test for a possible bug. Try moving the import tables below the pypreprocessor.parse() statement.


implement Math.abs pipe

Coverage remained the same at 100.0% when pulling f5920cd38dd9fc76fe78a512a644fa32cc24ea19 on baso10:abs into 13a09fe57e841fd9a5b4f2130cf755ed3561d126 on fknop:master.


add nodePort option for extraPorts

I noticed that unlike other instances in the charts to expose services, you cannot specify a specific nodePort, if required, on the extraPorts service collection.  I had to edit the svc in kubernetes to specify this directly.  This PR will allow you to specify that in the values.yaml and avoid that direct edit in the kubernetes manifests to be overridden.

Can you also bump the minor version on the two charts? That's what the verification is failing on.

Oops, there's now merge conflicts, I'm guessing because the chart version got bumped by other PRs.

Oops, there's now merge conflicts, I'm guessing because the chart version got bumped by other PRs.

Thanks!  Resolved conflicts


Use mobile as the default rendering method on mobile when Vulkan is supported

This fixes an oversight from https://github.com/godotengine/godot/pull/65541. When I renamed the project settings I forget to set the default mobile renderer to the mobile renderer. This resulted in an unexpected performance decrease for mobile users as they are suddenly using the clustered renderer without warning.

You forgot the docs ;

It's worth noting that this probably won't work for the Android editor and Web editor due to this: https://github.com/godotengine/godot/issues/64100
But I think I'll fix #64100 eventually even if reduz believes overrides shouldn't be applied in the editor, I think we have enough proof that they're needed.

Thanks!


[Feat]: API REST-Endpoint for question delete

Thank you for your commitment to contributing your own ideas. Please complete the form below as accurately as possible to help us understand your request.
😒 Is your feature request related to a problem? Please describe.
As a user, I would like to be able to delete questions that I have created myself.
🤔 Describe the solution you'd like
When deleting a question, you must check at the back-end whether the question belongs to you, as only questions you have created yourself can be deleted.

@all-contributors please add @Eric-Schubert for infrastructure and code


#new Method for Built-In Classes

Currently the #new method only works for classes users create. It does not work for built-in classes like String, Integer, or Hash.
The following is an error message from executing String.new:

I'm not planning support this now. But I think we should provide a more friendly error message.

Now this kind of usages should return error likeUnsupportedMethodError: Unsupported Method #new for <Class:String>. See: https://github.com/goby-lang/goby/commit/f35bc12b7e37560531c315d73647391faa6eb537

Looks good. It works from my side.

@adlerhsieh Then I'm closing this~


Create hull-college

Create the domain file for hull-college.ac.uk domains.
An example IT related course can be found at https://www.hull-college.ac.uk/course/level-3-digital-design-and-software-development--Xi18

@LiterallySolar lib/domains/uk/ac/hull-college: this request has an incorrect file path format, please ensure that you are familiar with     this repository rules located at the bottom of this page and change     your request accordingly. If you don't know how to change request, close it and open a new one.     If you are not able to make the pull request according the instructions, please send us an email to<EMAIL_ADDRESS>Please mention this request URL in the message.

@LiterallySolar First stage of verification passed, official domain is hull-college.ac.uk as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@LiterallySolar Thank you for your patience while waiting for a review and processing your request. Pull request merged.


This doesn't work any more

It seems like chats are no longer stored in Local Storage. If I run:
for (let i = 0; i < localStorage.length; i++) {
  const key = localStorage.key(i);
  console.log(key);
}

There are no keys that start with chat- and no keys that contain the UUID of my current chat.

The extension no longer functions and is missing from the Chrome extension library after updating to Chrome Version 130.0.6723.92 (Official Build) (arm64) on my MacBook Pro. This isn’t an isolated incident; several other extensions have also disappeared.


Comments can end up displaying inside og:description

Have you read the Contributing Guidelines on issues?

[X] I have read the Contributing Guidelines on issues.

Prerequisites

[X] I'm using the latest version of Docusaurus.
[X] I have tried the npm run clear or yarn clear command.
[X] I have tried rm -rf node_modules yarn.lock package-lock.json and re-installing packages.
[ ] I have tried creating a repro with https://new.docusaurus.io.
[X] I have read the console error message carefully (if applicable).

Description
Issue: My .md or .mdx files are loading comments into the content of the meta property og:description
<meta property="og:description" content="<!-- This comment WILL NOT be ignored:" data-react-helmet="true">
Steps to reproduce
Example code structure to replicate this issue:
slug: /link_here
title: Title text here
---

<!--
  This comment will be ignored:
-->
<head>
  <meta name="description" content="This description will work correctly" />
</head>

<!-- This comment WILL NOT be ignored:
 - Point 1
 - Point 2
 -  etc -->

Page text here, lorem ipsum etc etc etc

## h2, etc etc etc

Expected behavior
og:description should not be pulling comments in to fill its text
Actual behavior
og:description seems to pull the first text after  even if it's a comment?
No log messages output.
Your environment

Docusaurus version used: 2.0.0-beta.13, & 2.0.0-beta.9
Environment name and version (e.g. Chrome 89, Node.js 16.4): Edge Version 96.0.1054.57 (Official build) (64-bit)
Operating system and version (e.g. Ubuntu 20.04.2 LTS): Windows 10 Pro - 21H2

I have already fixed this issue in prod on our site's affected page, https://docs.domination.finance/liquidity_providers, by manually overriding the meta tag for og:description
Reproducible demo
No response
Self-service

[ ] I'd be willing to fix this bug myself.

Can reproduce and confirmed it's not an MDX problem 👍 Will look into this

Haha, @jmynes I know what's wrong.

The default description generator just takes the first line from the text and tries to sanitize it into plain text. However, comments aren't ignored (bug here!).
When you manually specify the description meta, that property gets overriden successfully. However, it's not synced with og:description.
Still, I'm unsure why you are getting content="<!-- This comment WILL NOT be ignored:". I'm getting content="<!--" because that's literally the first line in the text. Could you confirm that's the case and you just made a mistake in making the demo?

So I'm going to fix this by trying to ignore multiline comments.

@slorber I'm quite tired of patching the Markdown parsing logic here and there. Could we just make a Remark plugin to do this? The same goes for #5659.

Hey,
I'm sorry but I don't really understand this issue, it seems a bit messy to me.
Please be aware that a meta description from your content is only a best-effort, and it's preferable that you use an explicit description.
Now you can do that in 2 ways:

provide a description: my description frontmatter (sync to both description + og:description
create/override your own metas, but you'll have to declare all of them, not just description:

<head>
  <meta name="description" content="This description will work correctly" />
  <meta property="og:description" content="This description will work correctly" />
</head>

@Josh-Cena this isn't really worth it to invest fixing the default, we should mostly recommend to always use a description frontmatter for better SEO control. We try to provide good defaults but ultimately it will never be perfect.

No, the problem is:

We have a very complicated Markdown parsing logic for the file path -> URL linkification + generating description already.
This is ultimately very ad-hoc and never addresses all edge cases because we just use simple regex tests.
We already have run into some troubles that led to us essentially needing to re-implement remark (#5670).

My proposal is that we get rid of the makeshift markdownParser entirely and build everything as part of the MDX loading process. e.g. we can simply export the plain description string as another MDX export and render it client-side.

But yes, @jmynes I failed to mention that you can set a front matter instead of using the <head> metadata tag for the description, which will be applied for both description and og:description. However, the issue that this bug report surfaces is legitimate.

My proposal is that we get rid of the makeshift markdownParser entirely and build everything as part of the MDX loading process. e.g. we can simply export the plain description string as another MDX export and render it client-side.

That wouldn't really allow being more compatible with CommonMark. export const description wouldn't be usable by users that opt out of MDX on purpose.

In the end, using content as SEO description can't work in all situations. Even if we have the perfect code to skip comments, ultimately the first sentence may not be a good text for this use-case. We could as well totally disable this fallback and always ask users for an explicit description.
Not handling comments correctly can be considered as a bug, but it's a low priority one considering using description inference is not the best idea in the first place and we should encourage to use an explicit description. Still, if you find a way to improve the inference, why not, but for me the workarounds are good enough

That wouldn't really allow being more compatible with CommonMark. export const description wouldn't be usable by users that opt out of MDX on purpose.

It's not about CM compatibility. It's about ridding the pain to support a custom Markdown parser that falls apart on many edge cases.
I agree with two things:

The default impl doesn't have to be perfect, maybe not even have to make sense;
We should encourage users to provide SEO information explicitly.

However, we can easily refactor this into a remark plugin. I would probably raise a POC later

However, we can easily refactor this into a remark plugin. I would probably raise a POC later

Agree that reading things from content with Regexp is not the best. A remark plugin can be nice to extract that description (and blog excerpts probably too).
In which case it's probably a nice idea to ensure that we don't parse the whole doc as AST and the visitor can bail-out asap, for perf reasons. I don't know if this remark plugin could run as part of mdx-loader (it means description wouldn't be part anymore of doc metadatas)

Mmm, we can certainly use Remark outside of MDX. But we'll see if we run into any trouble with the lack of description as metadata

@slorber I've spun up a PoC in https://github.com/facebook/docusaurus/pull/5670. This would solve both the linkification and excerpt problem.


The Desktop application worked with HTML, CSS, and JS.

Proposed title of article
The Desktop application worked with HTML, CSS, and JS.
Proposed article introduction
A running Electron.js app maintains two types of processes, the Main process, and one or more Renderer processes. The entry point is the Main process. The Main process is responsible for creating web pages. It does this by creating a new instance of the Electron.js BrowserWindow object. This creates a new web page that runs in its own Renderer process. The Main process can create more than one web page each running in its own Renderer process. Typically, Electron.js applications boot up with a default web page which is the app’s startup screen. You can then create more screens if your application requires it. Each Renderer process manages its own web page and is completely isolated from other Renderer processes and the Main process itself. Thus, if one Renderer process terminates, it does not affect another Renderer process. A Renderer process can also be terminated from the Main process by destroying its BrowserWindow instance. Out of the box, the Renderer process only has access to browser APIs like the window and document objects.
Key takeaways

By the end of this article, the following is expected;

Structure of an Electron.js App
Create a Simple Task List System
Limitations

Article quality
This article will be on point, simple to understand, well formatted and I'm sure users will be able to learn the procedure of building a Desktop app with html, css, and js. The code snippets in this article will be simple to understand and implement. I hope we will have a good ride all along.
References
N/A

Good afternoon and thank you for submitting your topic to the EngEd program.
After some careful consideration it struck us that this topic may be a bit over saturated throughout other blog sites and official documentations. We typically refrain from publishing content that is covered widely on the net or other blogs. We're more interested in original, practitioner-focused content that takes a deeper dive into programming-centric concepts.
But in order to approve the topic it has to serve value to the larger developer community at large. Please feel free to suggest an alternate topic to explore. 🚀
An option and a great way to write this as an in-depth article and make it more add value to the greater developer community at large would be to walk the reader through the USE of methods and functions by building a unique, different, useful project.

https://www.google.com/search?q=Desktop+application+worked+with+HTML%2C+CSS%2C+and+JS&rlz=1C1CHBF_enUS891US891&sourceid=chrome&ie=UTF-8


TextField and TextFormField in SliverMainAxisGroup scroll the screen up when in focus

Steps to reproduce

Create a Custom ScrollView and put a TextField in it at such a distance that you need to scroll the screen down to it.
Click, highlight, or change something inside the TextField

Expected results
Changing data inside a textfield
Actual results
Changing data inside a textfield + screen will scroll up on every change
Code sample
Code sample
import 'package:flutter/material.dart';

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

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      home: const MyHomePage(),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key});

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: CustomScrollView(
        slivers: [
          SliverMainAxisGroup(
            slivers: [
              SliverToBoxAdapter(
                child: Container(
                  color: Colors.blue,
                  height: 500,
                ),
              ),
              SliverToBoxAdapter(
                child: Container(
                  color: Colors.red,
                  height: 500,
                ),
              ),
              const SliverToBoxAdapter(child: TextField()),
              SliverToBoxAdapter(
                child: Container(
                  color: Colors.green,
                  height: 500,
                ),
              ),
            ],
          )
        ],
      ),
    );
  }
}

Screenshots or Video

Screenshots / Video demonstration
https://github.com/flutter/flutter/assets/66907532/67a92ecf-d596-42ed-9d38-54c0fd32e937

Logs
No response
Flutter Doctor output
Doctor output
molchanovia@Air-Igor Projects % flutter doctor -v

[✓] Flutter (Channel stable, 3.16.7, on macOS 14.2.1 23C71 darwin-arm64, locale
    ru-RU)
    • Flutter version 3.16.7 on channel stable at
      /opt/homebrew/Caskroom/flutter/3.13.8/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ef1af02aea (4 days ago), 2024-01-11 15:19:26 -0600
    • Engine revision 4a585b7929
    • Dart version 3.2.4
    • DevTools version 2.28.5

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/molchanovia/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: /Applications/Android
      Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      17.0.6+0-17.0.6b829.9-10027231)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15C500b
    • CocoaPods version 1.13.0

[✓] Android Studio (version 2022.3)
    • 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
      17.0.6+0-17.0.6b829.9-10027231)

[✓] VS Code (version 1.83.1)
    • VS Code at /Users/molchanovia/Downloads/Visual Studio Code 2.app/Contents
    • Flutter extension version 3.81.20231227

[✓] VS Code (version 1.83.1)
    • VS Code at /Users/molchanovia/Downloads/Visual Studio Code.app/Contents
    • Flutter extension version 3.81.20231227

[✓] Connected device (1 available)
    • iPhone 15 (mobile) • 99881AD8-A92E-4FFF-B463-BFCA1D46274C • ios •
      com.apple.CoreSimulator.SimRuntime.iOS-17-0 (simulator)

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

• No issues found!

Thanks for the report. I do see the same behavior as reported using the code sample provided.
I tried using pinned: true from SliverPersistentHeader but it didn't seem to make difference.

 stable, master flutter doctor -v
[!] Flutter (Channel stable, 3.16.7, on macOS 12.2.1 21D62 darwin-x64, locale
    en-GB)
    • Flutter version 3.16.7 on channel stable at
      /Users/dhs/documents/fluttersdk/flutter
    ! Warning: `flutter` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/flutter, which is not inside
      your current Flutter SDK checkout at
      /Users/dhs/documents/fluttersdk/flutter. Consider adding
      /Users/dhs/documents/fluttersdk/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/dart, which is not inside your
      current Flutter SDK checkout at /Users/dhs/documents/fluttersdk/flutter.
      Consider adding /Users/dhs/documents/fluttersdk/flutter/bin to the front
      of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ef1af02aea (3 days ago), 2024-01-11 15:19:26 -0600
    • Engine revision 4a585b7929
    • Dart version 3.2.4
    • DevTools version 2.28.5
    • If those were intentional, you can disregard the above warnings; however
      it is recommended to use "git" directly to perform update checks and
      upgrades.

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

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

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

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

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

! Doctor found issues in 1 category.

[!] Flutter (Channel master, 3.19.0-5.0.pre.46, on macOS 12.2.1 21D62
    darwin-x64, locale en-GB)
    • Flutter version 3.19.0-5.0.pre.46 on channel master at
      /Users/dhs/documents/fluttersdk/flutter
    ! Warning: `flutter` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/flutter, which is not inside
      your current Flutter SDK checkout at
      /Users/dhs/documents/fluttersdk/flutter. Consider adding
      /Users/dhs/documents/fluttersdk/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/dart, which is not inside your
      current Flutter SDK checkout at /Users/dhs/documents/fluttersdk/flutter.
      Consider adding /Users/dhs/documents/fluttersdk/flutter/bin to the front
      of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision b45cd23173 (13 hours ago), 2024-01-15 10:53:24 -0500
    • Engine revision f20657354d
    • Dart version 3.4.0 (build 3.4.0-24.0.dev)
    • DevTools version 2.31.0
    • If those were intentional, you can disregard the above warnings; however
      it is recommended to use "git" directly to perform update checks and
      upgrades.

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

[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 13C100
    • CocoaPods version 1.11.2

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

[✓] IntelliJ IDEA Ultimate Edition (version 2021.3.2)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 65.1.4
    • Dart plugin version 213.7228

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

[✓] Connected device (3 available)
    • Darshan's iphone (mobile) • 21150b119064aecc249dfcfe05e259197461ce23 • ios
      • iOS 15.3.1 19D52
    • macOS (desktop)           • macos                                    •
      darwin-x64     • macOS 12.2.1 21D62 darwin-x64
    • Chrome (web)              • chrome                                   •
      web-javascript • Google Chrome 109.0.5414.119

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

! Doctor found issues in 1 category.

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

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

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

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

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

! Doctor found issues in 1 category.


path_imglist of mx.io.ImageRecordIter

I noticed that path_imglist is one of those parameters of mx.io.ImageRecordIter, which comes from ImageRecParserParam. But, I can't find where path_imglist is useful at.
I don't understand why path_imglist is here.

Proposed Label - "Question"

Can you please ask usage related questions at - https://discuss.mxnet.io/
Please feel free to reopen if you encounter any issues.


Fetching collections from Model

In some situations I don't really need to create my own collection, I just want to take the base collection and apply a model to it. I've been using a very simple plugin to do that for the time being, but I think it would be a good addition to the core (or even the core plugin set, whatever works).
module.exports = function (Bookshelf) {
    Bookshelf.Model.all = function () {
        var collection = Bookshelf.Collection.extend({ model: this });
        return collection.forge.apply(collection, arguments);
    };
};

So I can do something like the following without having to extend my own collection class:
Book.all({ category_id: categoryId }).fetch().then(function (books) {
    // books will be an array of books
});

Helping to clean up my own tickets. This is covered by Model.collection() now.


I cant set custom path for other button than A,B,X and Y in relaunch gui.

Please, add this!
Tank you ^_^

I will eventually, thanks for your interest in Relaunch!

there it is, I hope it compiles and doesn't do any guru errors

merged, atm it isnt testable as the filemenu is a bit broken, but i think Pk11 will fix it


[CELEBORN-1254] PartitionFilesSorter seeks to position of each block and does not warm up for non-hdfs files

What changes were proposed in this pull request?
Introduce celeborn.worker.sortPartition.reservedMemory.enabled to support that PartitionFilesSorter seeks to position of each block and does not warmup for non-hdfs files.
Why are the changes needed?
File sorting includes three steps: reading files, sorting MapIds, and writing files. The default block of Celeborn is 256k, and the number of blocks is about 1000, so the sorting process is very fast, and the main overhead is file reading and writing. There are roughly three options for the entire sorting process:

Memory of the file size is allocated in advance, the file is read in as a whole, MapId is parsed and sorted, and Blocks are written back to the disk in MapId order.
No memory is allocated, seek to the location of each block, parse and sort the MapId, and transfer the Blocks of the original file to the new file in the order of MapId.
Allocate a small block of memory (such as 256k), read the entire file sequentially, parse and sort the MapId, and transfer the block of the original file to the new file in the order of MapId.

From an IO perspective, at first glance, solution 1 uses sufficient memory and there is no sequential reading and writing; solution 2 has random reading and random writing; solution 3 has random writing; intuitively solution 1 has better performance. Due to the existence of PageCache, when writing a file in solution 3, the original file is likely to be cached in PageCache. PartitionFilesSorter support solution3 with PageCache at present, which has better performance especially HDD disk. It's better to support solution2 with switch config that seeks to position of each block and does not warm up for non-hdfs files especially SDD disk.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
GA and cluster.

Hi, @SteNicholas Have you compared the performance of celeborn.worker.sortPartition.reservedMemory.enabled=true/false on an SSD?

@cfmcgrady, I'm testing the performance in internal cluster. I will update the performance on SSD later.

solution 3 has random writing;

Had an offline discussion with @waitinfuture. actually, solution 3 is sequential writing.

Merged into main(v0.5.0).


spin login when cloud API returns non-200 status code

spin login when using the first 'Sign in with GitHub option' appears to return/print the page contents even when the response code is not 200 (I imagine this is fine for 2xx and perhaps redirects?)
I'd expect it not to print the page contents when the intended url returns any other status code, and that it print some generic error message, etc.
For example:
$ spin login --url https://my-cloud-url
What authentication method does this server support?

1. Sign in with GitHub
2. Sign in with a username and password

Enter a number: 1
Error: Bad Gateway

Or, a more decorated error page might be returned, in which case raw html will be printed:
$ spin login --url https://my-cloud-url
What authentication method does this server support?

1. Sign in with GitHub
2. Sign in with a username and password

Enter a number: 1
Error: <!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><title>Not Found...

Looks like we return error content here.
https://github.com/fermyon/spin/blob/f94e397a7c5f83a753e3333ec3d9eed2a440261a/crates/cloud/src/client.rs#L289
We can get this content in format_response_err. Do you prefer to return the error status code?

Thanks @FrankYang0529.  Yes, I think it might be wiser to print the status code instead and perhaps include some generic "failed to login to the server" message.  WDYT?


[JS] Schema file is missing RichTextBlock interface

Target Platforms
NodeJS
SDK Version
2.9.0
Application Name
SharePoint
Problem Description
There is no IRichTextBlock interface in schema.ts: https://github.com/microsoft/AdaptiveCards/blob/main/source/nodejs/adaptivecards/src/schema.ts
For the schema.ts to correctly correspond to the schema.json, we'd need something like:
export declare type TextType = 'default' | 'monospace';

export declare type Inline = string | ITextRun;

export interface IRichTextBlock extends ICardElement {
  type: 'RichTextBlock';
  inlines: Inline[];
}

export interface ITextRun {
  type: 'TextRun';
  text: string;
  color?: TextColor;
  fontType?: TextType;
  highlight?: boolean;
  isSubtle?: boolean;
  italic?: boolean;
  selectAction?: IAction;
  size?: TextSize;
  strikethrough?: boolean;
  underline?: boolean;
  weight?: TextWeight;
}

export interface IAdaptiveCard extends ICardElement {
  type: 'AdaptiveCard';
  version?: string;
  backgroundImage?: IBackgroundImage | string;
  body?: (ITextBlock | **IRichTextBlock** | IImage | IImageSet | IFactSet | IColumnSet | IContainer)[];
  actions?: (ISubmitAction | IOpenUrlAction | IShowCardAction)[];
  speak?: string;
}

Screenshots
No response
Card JSON
n/a

Sample Code Language
No response
Sample Code
No response

Addressing this issue is not currently on our roadmap, so closing. Please feel free to continue the conversation in this issue for future consideration.


Eledger-102:Create Transaction history model and entity

please create transaction history model and entity for eledger.

Created transaction model and entity


"Signature verification failed" error when trying to login as a user from the admin area of a BC store

Please fill out this template to help us diagnose and address your issue effectively.
Type: (Select one)

[X] Bug Report
[ ] Feature Request

Summary:

Briefly describe the issue or feature request.
Platform is BigCommerce (not headless). Login as user not working for the open source version of Buyer portal.
Expected Behavior:

Describe what you expect to happen under normal circumstances.
Logging in as a user via the admin area should allow you to navigate the website as if you had logged in normally as that user.
Actual Behavior:
From the BC admin go to the customers section and login as a user. You will see it's not possible to login.

Describe what is actually happening.
Cant access buyer portal pages after logging in as a user from the BC admin.

Steps to Reproduce (Bug Reports Only):

List the specific steps necessary to reproduce the bug.

1 -Build the buyer portal code as instructed in the read me. Then deploy to the store's webdav.
2 - Try to login as a user via the admin area.
3- The app produces a blank loading screen and gets stuck
Additional Information:

Include any other relevant details that might help us understand the issue.
Tested using chrome and firefox on windows.

Backend Request Information (Optional):
There's a graphQL request that comes back with an error when you attempt to log in as a user. We found that the same error comes up if you open a new tab and attempt to open to buyer portal.

If the issue involves interaction with a backend API, please provide details about the request:

API endpoint URL
-https://api-b2b.bigcommerce.com/graphql

HTTP method (GET, POST, PUT, DELETE, etc.)
Post

Request body (if applicable)
{
"query": "mutation {\n\tauthorization(authData: {\n\t\tbcToken: "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJjdXN0b21lciI6eyJpZCI6MTEsImVtYWlsIjoic3RraXR6cm93QGJyaWxsaWFuY2V3ZWIuY29tIiwiZ3JvdXBfaWQiOiIxIn0sImlzcyI6ImJjL2FwcHMiLCJzdWIiOiJsemQzaGwxdXhjIiwiaWF0IjoxNzE3NTg4NjE0LCJleHAiOjE3MTc1ODk1MTQsInZlcnNpb24iOjEsImF1ZCI6InF4dmFwd2xrNGZiYjlkeW9nZGN4azlvNTBkOWpxam8iLCJhcHBsaWNhdGlvbl9pZCI6InF4dmFwd2xrNGZiYjlkeW9nZGN4azlvNTBkOWpxam8iLCJzdG9yZV9oYXNoIjoibHpkM2hsMXV4YyIsIm9wZXJhdGlvbiI6ImN1cnJlbnRfY3VzdG9tZXIifQ.oEKTnF3hl45TiTZCTaU5f2O8C2O_YikAg6Jvge4hPIr1Qv1JMl6LvwrUe8t7EneUYObN_TQ3Ch1C0QaZVRtukA"\n\t\tchannelId: 1\n\t}) {\n\t\tresult {\n\t\t\ttoken\n\t\t\tloginType\n\t\t}\n\t}\n}"
}

Request response:

{
"message": "Signature verification failed",
"locations": [
{
"line": 2,
"column": 2
}
],
"path": [
"authorization"
]
}
Version:

Specify the version of your project you are using.
A slightly modified version of the latest code in master. And we also tried a slightly modified version of the 2.0.0 tag
Screenshots/Screen Recordings (Optional):

Attach any screenshots or screen recordings that illustrate the issue.

Thank you for your report! We appreciate your contribution to improving our project.

@cjsanchezBW do you have any updates with your issue?

@bc-marco We tried what you suggested and it worked. We were able to move forward. Thanks.

closing.


[Windows] prisma2 init endless spinner

When installing Prisma2 using Cmder, then running prisma2 init and doing Blank project > SQLite > Photon + Lift > Javascript > Demo Script I get an endless spinner on this output state:
E:\Projects\throwaway\prisma2_483<EMAIL_ADDRESS>λ prisma2 init

Preparing your demo script (JavaScript) ...

✔  Downloading the demo script from GitHub ...
⠇  Extracting content to ./ ...
3  Installing dependencies with: `npm install` ...
4  Preparing your database ...

Note: Another user gets a different error: https://github.com/prisma/prisma2/issues/483

This does not happen any more 🚀


Add migration task to switch direction of collection membership

for upgrade path from sufia 7.3
@projecthydra-labs/hyrax-code-reviewers

@hackmastera once merged, would you mind adding a reference to this rake task in the 1.0.0 release notes?

Sure thing.
@mjgiarlo You may want to re-assert approval since I used the nuclear option on rubocop.

@jcoyne I'm inclined to merge. Do you have druthers?

@mjgiarlo @hackmastera should this merge to the 1-0-stable branch, or should we backport after merging to master?

It's in cc already, so maybe just 1.0? That would mean people can't use an alternate upgrade path (i.e. must go first to cc2). Not sure if it's worth having in master just in case a cc person wants to do it differently.

closing to move to 1-0-stable branch


[ksqlDB.RestApi.Client]: add identifier formatting

Some identifiers are reserved words and cause an error when used in a statement. This commit adds the option to escape identifiers using backticks. Three options are available:

Never - identifiers will not be escaped and statements can fail
Keywords - identifieres will be espaped when they are reserved
Always - identifiers will always be escaped

#57

Hello @mrt181,
if you wish to be included on the Contributors list, it's likely necessary for you to address this issue:

The email address you used to author the commits isn't connected to your account on GitHub.


Date range picker

Okay a couple of small bugs/questions
1°) When selecting a range, then another one after it (but on the same line, though), the end day is not colored properly (see http://recordit.co/OINvgWtxex)
2°) When the last day preset is selected (the default on wiki), the calendar shows two days selected, probably because of this inclusive/exclusive thing. However when you click twice on the same day in the calendar, it selects also a single day (which is legit). Those two approaches produce the same result in terms of time range but don't look the same in the UI.
3°) If you select days over two months (http://recordit.co/VRGnvZHYEW) there are some greyed out days that might be difficult to read (good job on handling this case though)
4°) More of a general note, the preview label at the bottom of the presets section doesn't look quite right when hovering ranges smaller than a day (http://recordit.co/ODqCOvMdwt). Sometimes it reads Sep 12 - Sep 13, 2015 12:01am, sometimes it jumps on two lines and bleeds outside the popup, etc...

1°) Ah yes, a bug in my logic in checking whether or not a selection is a single date, should be fixed.
2°) So I think these two cases (clicking one day and latest 1D preset) don't actually produce the same result in terms of time range. The default preset is latest 1D which just subtracts 24 hours from the latest data point timestamp whereas selecting one day on the calendar should produce the same result as the D preset in the "current" row of the picker (which is effectively midnight to midnight (exclusive) on that particular day). (Although actually they don’t perfectly correspond because of the relative vs absolute thing) Could be mistaken though.. @asherbitter @vogievetsky
3°) Yeah currently I have "beyond max time" being darker gray and spillover dates being super light gray which is kind of a bad placeholder intermediary I decided on. I had a brief initial discussion with ofir about this and I think there are a couple ways to deal with this: hide spillover dates or denote spillover dates in another way? I guess if spillover dates are hidden it would not be easy to select between months? @asherbitter
4°) Hm yeah, this is actually a thing that happens when preview range includes two double digit hours plus a year, which usually occurs with static datasets because year is only shown when it’s not current year (reproducible on towel)  @asherbitter, @vogievetsky

LGTM but this needs to be tested as soon as we have a goo infrastructure to do so, especially the UI components and their interactions. Otherwise some bugs that have been fixed will come back eventually.

gr 🎱


Update b6 submission space

rejected:B6
reason:logs are missing

rejected:B6
reason:logs are missing


trace fails, requests recorder object

TypeError: Cannot read properties of undefined (reading 'previousTraces')
    at SimpleTaskDefinition.action (./node_modules/hardhat-tracer/src/tasks/trace.ts:151:26)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Environment._runTaskDefinition (./node_modules/hardhat/src/internal/core/runtime-environment.ts:359:14)
    at async Environment.run (./node_modules/hardhat/src/internal/core/runtime-environment.ts:192:14)
    at async main (./node_modules/hardhat/src/internal/cli/cli.ts:323:7)

this appears to be the line
    debug("printing trace");
    await print(recorder.previousTraces[recorder.previousTraces.length - 1], {
      artifacts: hre.artifacts,
      tracerEnv: hre.tracer,
      provider: hre.ethers.provider,
    });

is there a peer dependency that is needed besides hh>2.22.5?

Thanks for reporting. I want to reproduce and fix this asap.

Which chain network is this?
It does appear, but just to confirm are you using latest hardhat (2.22.5) and hardhat-tracer (3.0.1)?
Can you share the trace command?

and yes, those are the versions i am using

i will investigate more and see if it is a piece of configuration that i am missing.

If your repo is public I can try having a quick look.


[1.5.0] remove anchor point is not working? + remove anchor button + delete key?

In the README it says alt + d to remove an anchor point. Working on Windows in Chrome this isn't working here. After selecting an editor and an anchor point on the curve the point is not deleted with alt + d. Neither with ctrl + d or shift + d. Am I missing something, or is this an issue?

In most graphical software I use deleting anchor points happens with the DEL-key. Could this shortcut be added as an additional keyboard shortcut? To me that would be a lot more descriptive and intuitive then a double keystroke for something we use a lot.

It would be nice to have a delete-button in the curve-editor interface too. Working with a lot of different software it's hard to remember all different shortcuts and keys aren't always the prefered way to me. Having a key to remove an anchor point would not only be convenient for graphical use, but could also show the shortcut key on the tooltip, so you get to know the shortcut after use more often. Instead of having to go to the github readme.
That said, very impressive workflow like this and beautiful layout of both the curve editor as the player. Thanks a lot for all the effort you obviously put into all of this! It's a lot of fun using mo.js! I like it a lot. Keep up the great work! :)

Need to to some browser testing. It works fine on Firefox 67 on a Mac at least.

2 and 3. Good ideas. We'll add it in the backlog.


Add marko feature functionality

marko functionality allows marking an order as paid and/or delivered with the -p and -d flag respectively.
In order to support flagging in user input, I have added a new FlagTokenizer class. Both Flag and Prefix extends ArgumentToken. This is to allow flexibility in the type of argument tokens that can be stored in ArgumentMultimap.
Added test cases for the following classes:

MarkOrderCommandParser
MarkOrderCommand
FlagTokenizer

This PR does not support inventory checking functionality before marking completed. I will create a separate PR for that!
#90

Codecov Report

Merging #118 (46232f0) into master (a35423d) will increase coverage by 1.61%.
The diff coverage is 80.00%.

@@             Coverage Diff              @@
##             master     #118      +/-   ##
============================================
+ Coverage     46.34%   47.95%   +1.61%
- Complexity      433      464      +31
============================================
  Files           101      106       +5
  Lines          2106     2200      +94
  Branches        239      252      +13
============================================
+ Hits            976     1055      +79
- Misses         1050     1061      +11
- Partials         80       84       +4

Impacted Files
Coverage Δ

src/main/java/tracko/commons/core/Messages.java
0.00% <ø> (ø)

...va/tracko/logic/commands/item/EditItemCommand.java
0.00% <0.00%> (ø)

src/main/java/tracko/logic/parser/Prefix.java
91.66% <ø> (ø)

...rc/main/java/tracko/logic/parser/TrackOParser.java
42.85% <0.00%> (-1.59%)
:arrow_down:

src/main/java/tracko/ui/ItemCard.java
0.00% <0.00%> (ø)

.../tracko/logic/commands/order/MarkOrderCommand.java
45.45% <45.45%> (ø)

src/main/java/tracko/model/item/Item.java
62.96% <50.00%> (ø)

src/main/java/tracko/logic/parser/Flag.java
91.66% <91.66%> (ø)

...cko/logic/parser/order/MarkOrderCommandParser.java
91.66% <91.66%> (ø)

...c/main/java/tracko/logic/parser/FlagTokenizer.java
97.56% <97.56%> (ø)

... and 8 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Artifacting on Navi10

I've been experiencing extreme artifacting and garbled output when using AMDVLK-2018.Q3.3 with a Navi10 5700 XT.
The artifacting happens even with the most simple of demo triangle applications, but, (with LLVM 9 and latest mesa git) RADV works fine.
System Specs

Processor: AMD Ryzen 9 3900X
Motherboard: ASUS ROG STRIX x570-F gaming
RAM: G.Skill Ripjaws 3200
Kernel: amd-staging-drm-next.
libdrm: Latest git as of 10am 20190805 Mountain Time.

Other things tried

5.3-rc3 kernel
latest dev versions of amdvlk
Stable libdrm (segfaults)
drm-fixes-5.3 kernel
AMDVLK-2019.Q3.2 update (first to support Navi10).
super aggressive fan curve (100%), via this kernel patch and sysfs/hwmon
Binary-distributed version of AMDVLK-2019.Q3.{2,3}

It seems that the documentation indicates that support is getting there, and other people are reporting better results than I'm getting, so I"m thinking either I must be doing something wrong, or there's still something pretty busted, as even simple triangle demos won't work.
Thanks in advance for any help you can offer.

As a starting place, is the expected (i.e. y'all know it's not ready yet), or am I experiencing an unexpected issue?

What do the artifacts look like?
Can this be related?

@VadikLeshy They look slightly different from that. In fact, they're almost identical to what I was seeing with mesa 19.2 git RADV up until a few weeks back.
It could be similar though, I'll try to get a screenshot when I get home tonight.

I can confirm this behaviour for all games I tested using DXVK(1.3.2). Here are some screenshots.
I don't have any artifacting when using the vulkan-radeon-git driver.
Hardware Infos
I'm using

navi10 firmware (26.08.2019)
latest amd-staging-drm-next
mesa-git
latest amdvlk-git
latest llvm-git
latest xf86-video-amdgpu-git

I have the same problem with AMDLVK. I'll also add that extracting the AMDGPU-PRO Vulkan driver (19.30-855429) and running it on top of the Mesa stack (I haven't tested the full pro stack), results in the same bug. So there may be something in common there.

On my APU Ryzen 5 2400G (Raven Ridge) I have a problem very similar (judging by the screenshots) to the @MadByteDE 's one.
https://github.com/GPUOpen-Drivers/AMDVLK/issues/106

@aqxa1 mesa has fixed this if you pull from the latest git master.
I still experience the issue with AMDVLK. It's a real bummer to be honest. I have yet to find a single person for whom the AMDVLK driver is currently working on their navi10 card

Here are some screenshots.

Yep. This is the exact problem that I'm having as well @MadByteDE

It's also worth noting that 2019.Q3.5 works for me for my RX 590, but not the 5700XT.

Just tried again with linux-5.3rc7, and even on that amdgpu driver I'm still getting the same issue(s).

@MadByteDE @UnicornsOnLSD Do either of you have the 5700 non-XT? Wondering if this is isolated to the 5700 XT or gfx10_0 as a whole

@mcoffin I have the 5700 XT

I hope at some point we can get a confirmation from one of the AMD devs that they can at least duplicate this problem

After a lot of work patching llpc to use upstream LLVM 9 (with only the needed intrinsics patches from GPUOpen-Drivers/llvm), I can now confirm that all my work was for naught because the issue still persists.
This leads me to believe that one of the following three options is the case.

the AMD devs aren't testing against the open source amdgpu driver, and there's an interaction issue there.
There's a bug in the gfx10-specific code
There is something wrong with NGG for AMDVLK, because it doesn't seem to obey the settings option to disable it, so there may be something funky going on there.

@mcoffin Thanks for having a look, I hope AMD looks into this soon and confirms that it is a bug.

Honestly, just hearing back from the AMD devs saying that they can replicate the problem would go a LONG way at this point. I've spent literally every waking second of the last two days trying to fix it, and while I learned a ton about GPU driver design, and the whole AMDVLK ecosystem in general, I still wasn't able to get it working.
I did however manage to update the LLVM version in AMDVLK to be rebased off of the latest LLVM, which is kinda nice.

Also, if anyone here knows what this kind of corruption even LOOKS like, I'd appreciate any info you can guess at since I'm trying to fix this right now.

Here are the images from my issue, GTA V's artifacting is fullscreen, I just had the graphics settings done incorrectly.

Judging by this website, it kind of looks like VRAM artifacting but that's a pretty uneducated guess. Good luck on your endeavours, @mcoffin :)

Honestly looks a bit like

Thanks all for reporting the issue, We are checking it.

I checked the upstream drivers for Navi10, it seems works fine on my ubuntu 18.04.2 system.
I test the vulkaninfo, vkcube, and steam games, like F1 2017, Mad Max, and The Talos Principle.
I will try the DXVK later.
System:
Processor:	Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz
Motherboard:	Z77 Extreme4
RAM:		G.Skill DDR3-1600 12GB
Kernel:		v5.3-rc8
AMDVLK:	amdvlk_2019.Q3.5
libdrm:		libdrm-amdgpu1 2.4.99+git1909070630.10cd9c~oibaf~b
libllvm:	        libllvm9 1:9~+rc2-1~exp1~oibaf~b
Steps:
1 install ubuntu18.04.2
apt-get update
apt-get dist-upgrade
2 Copy Navi10 firmware into /lib/firmware/amdgpu, you can get firmware from
https://people.freedesktop.org/~agd5f/radeon_ucode/navi10/
Install kernel, you can get kernel v5.3rc8 at
https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.3-rc8/
install AMDVLK driver, get it at
https://github.com/GPUOpen-Drivers/AMDVLK/releases/download/v-2019.Q3.5/amdvlk_2019.Q3.5_amd64.deb
Reboot system and choose 5.3rc8 kernel.
3 Add PPA and update the latest libllvm, libdrm and so on.
add-apt-repository ppa:oibaf/graphics-drivers
apt-get update
apt-get dist-upgrade (will install libllvm9, update libdrm-amdgpu...)
Reboot system.

I am also running those running nearly those identical specs @qiaojbao. What's different with that libdrm version (libdrm-amdgpu1), compared to just libdrm-2.4.99?
That's the only difference I see in our setups at a first glance.
Lastly, the libllvm version shouldn't matter, given that (by default, without overriding XGL_LLVM_SRC_PATH) AMDVLK should be using it's own LLVM version, yes? Some of llpc doesn't even compile with the upstream LLVM due to the validator not liking the pre-inlined functions.

libllvm is only used by MesaGL, not by AMDVLK.
AMDVLK uses its own LLVM version in amd-vulkan-dev or amd-vulkan-master branch

Thanks all for this issue.


BrowserWindow.prototype.setMenu should accept null

I believe this is the way to hide the menu bar in an application:
mainWindow.setMenu(null)

However the types don't think null is a valid paramter.

In the latest typings this should be Menu | null 👍


Information in readme about installing Azure.Communication.CallingServer SDK and deserialization of SubscriptionValidationEventData and AcsRecordingFileStatusUpdatedEventData using Azure.Messaging SDK

…lingServer SDK.
Purpose

...

Does this introduce a breaking change?

[ ] Yes
[ ] No

Pull Request Type
What kind of change does this Pull Request introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:

How to Test

Get the code

git clone [repo-address]
cd [repo-name]
git checkout [branch-name]
npm install

Test the code

What to Check
Verify that the following are valid

...

Other Information

you retargeted the version of .net core to 5.0 please update the readme as well for that


Await NDrawer close animation

This function solves the problem (这个功能解决的问题)
I want to handle event, when drawer close animation finish, but with current API i can't
We have show property and we can watch on this state change, but it isn't  what need
Expected API (期望的 API)
I think, we need API like in NModal component with event on-after-leave

Thank you! Amazing, fast PR!


update object is reused for all events?..

hey there :wave:
thanks for the helpful module :pray:
i assume this was done on purpose but i'd be curious about the rationale - the update object is mutated in-place and emitted in its current state with each progress event (source).
this threw me a bit as i was hanging on to these objects in my tests only to discover that once an operation had completed i just had a bunch of references to the same object, all reflecting the final state (e.g. percentage: 100).

@busticated Sorry for the late reply. I can't exactly remember the reasoning behind it. But as the module would potentially emit very often, reusing the object could be an optimisation compared to creating a new object before every emit (I am not sure if this was the case, nor am I sure if this is still valid). Whether or not that was my reasoning back then I am not too sure.


machine mac-18 lost external connect phone device.

Type of Request
bug
Infrastructure Environment
LUCI, Github, Cocoon scheduler, Autosubmit, etc...
What is happening?
machine mac-18 lost external connect phone device.

Steps to reproduce
Step 1:
Step 2:
..
Step n:
Expected results
I expect to see X when Y is finished.

Rebooting phone device to clear the error.


Created Feature card 1 black #1700

Closes #1700
Here is the component I have built.
Here is a screenshot of that.
 ScreenShot

ok


Reference counting for custom FFI data types

Allow FFI libraries to define their own data types and collect garbage of them through reference counting.
We can simply use variant types in MIR for those custom data types.

Closed by #163


⚠ ClamAV has degraded performance

In 712a9da, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 74 ms

Resolved: ClamAV performance has improved in 0c0f006 after 6 minutes.


Storybook >Elements>Feed> Select dark theme star color is not change.

Describe the bug

Elements>Feed> Select dark theme star color is not change.
Components>Feeds>Long Feed> Select dark theme star color is not change.

To Reproduce
Steps to reproduce the behavior:

Go to 'Elements'
Click on 'Feed'
Click on 'Feed'

Screenshots
Element-

Component-

Desktop (please complete the following information):
-OS: [Windows 10 Enterprise]
-Browser [ edge]
-Version [ 125.0.2535.92]
Smartphone (please complete the following information):NA

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

Components>Feeds>Long Feed> Select dark theme star color is not change.

Completed -


dbeaver/dbeaver#19671 improve time handling for MySQL5 and MySQL8

Closes dbeaver/dbeaver#19671
Now MySQL will handle Time as java.sql.Time by default, in the case of MySQL 8, if the value in the field is bigger than 24h, it will be handled as String, MySQL 5 will still fail for values bigger than 24h but now handles other values in java.sql.Time. No changes for MariaDB because it works as expected.

verified


Update Az PowerShell to 9.3.0

Tool name
Az PowerShell 9.3.0
Tool license
N/A
Add or update?

[ ] Add
[X] Update

Desired version
9.3.0
Approximate size
No response
Brief description of tool
No response
URL for tool's homepage
No response
Provide a basic test case to validate the tool's functionality.
No response
Platforms where you need the tool

[X] Azure DevOps
[ ] GitHub Actions

Runner images where you need the tool

[ ] Ubuntu 18.04
[ ] Ubuntu 20.04
[ ] Ubuntu 22.04
[ ] macOS 11
[ ] macOS 12
[X] Windows Server 2019
[X] Windows Server 2022

Can this tool be installed during the build?
No response
Tool installation time in runtime
No response
Are you willing to submit a PR?
No response

Currently, Az 9.2.0 has an issue where spaces are removed when using Set-AzPolicyDefinition and other PolicyDefinition cmdlets. This was fixed in Az 9.3.0. Up until yesterday, my customer was able to use the win-2019 runner as it still had 9.0.1, but now that has been updated to 9.2.0 so they are unable to continue using any pipelines for policy creation.

Will be deployed next week

Has this been deployed? We are trying to understand if we can remove the pinned PS Azure module version from our pipelines at this point.

It should be available for everyone!


Ctrl-C in visual mode terminates some lua execution

Neovim version (nvim -v | head -n1)
NVIM v0.10.0-dev-2062+ga7550a20e
Operating system/version
Ubuntu 22.04
How to reproduce the issue
When I type CTRL-C on Visual mode, I sometimes see error message below. It doesn’t happen always and I can’t reproduce immediately with same visual selection, so it’s really hard to reproduce. But it happens often enough to notice as a bug. (I’m not sure it’s issue of nvim-ufo side or neovim itself)
I usually use CTRL-C to quit Visual mode and I encountered this issue several times.
Expected behavior
Ctrl-C should not interrupt any internal nvim-ufo code.
Vim should go back to Normal mode instead of printing errors.
Actual behavior
Here are errors I’ve encountered when I press Ctrl-C in visual mode.
Error in decoration provider ufo.end:
Error executing lua: Keyboard interrupt
stack traceback:
        [C]: in function 'foldClosed'
        ...tu/.local/share/nvim/lazy/nvim-ufo/lua/ufo/decorator.lua:188: in function 'computeFoldedPairs'
        ...tu/.local/share/nvim/lazy/nvim-ufo/lua/ufo/decorator.lua:77: in function 'winCall'
        ...tu/.local/share/nvim/lazy/nvim-ufo/lua/ufo/decorator.lua:76: in function <...tu/.local/share/nvim/lazy/nvim-ufo/lua/ufo/decorator.lua:66>

Error in decoration provider ufo.end:
Error executing lua: Keyboard interrupt
stack traceback:
        [C]: in function 'foldClosed'
        ...tu/.local/share/nvim/lazy/nvim-ufo/lua/ufo/decorator.lua:181: in function 'computeFoldedPairs'
        ...tu/.local/share/nvim/lazy/nvim-ufo/lua/ufo/decorator.lua:77: in function 'winCall'
        ...tu/.local/share/nvim/lazy/nvim-ufo/lua/ufo/decorator.lua:76: in function <...tu/.local/share/nvim/lazy/nvim-ufo/lua/ufo/decorator.lua:66>

I’ve seen other error messages but they all have Error executing lua: Keyboard interrupt in common.
Edit: add more error message

xnoremap <C-c> <Esc> remap should work.

You are genius. I'll try that for a while and see if problem disappears.
I think this behavior should be prevented by default though.

@boltlessengineer @kevinhwang91 for what it's worth, I already have c-c mapped too esc in insert mode and this happens randomly to me too. At the same time it also will make my entire gutter column filled with random vimscript jargon of like v:lua.StatusCol() or something. I'd take a screenshot of it but it bothered me so much that it happened constantly that I removed nvim-ufo from my configuration

https://github.com/Sam-programs/cmdline-hl.nvim/issues/2

I removed the xnoremap c-c <esc> after this issue get closed, but I’m facing similar issue on C-c keypress on visual mode.
Error in decoration provider ufo.end:
Error executing lua: Keyboard interrupt
stack traceback:
        [C]: in function 'error'
        ...tu/.local/share/nvim/lazy/nvim-ufo/lua/ufo/decorator.lua:141: in function <...tu/.local/share/nvim/lazy/nvim-ufo/lua/ufo/decorator.lua:138>

I removed the xnoremap <C-c> <esc> after this issue get closed, but I’m facing similar issue on <C-c> keypress on visual mode.
Error in decoration provider ufo.end:
Error executing lua: Keyboard interrupt
stack traceback:
        [C]: in function 'error'
        ...tu/.local/share/nvim/lazy/nvim-ufo/lua/ufo/decorator.lua:141: in function <...tu/.local/share/nvim/lazy/nvim-ufo/lua/ufo/decorator.lua:138>

https://github.com/kevinhwang91/nvim-ufo/blob/2296dbb8939c4050c222f4eb24889540ef8acd76/lua/ufo/decorator.lua#L140
debug yourself.


Fixing the session identifier for non-default apps

This fixes an issue with https://github.com/firebase/firebase-ios-sdk/commit/6e00706604c3452ad44fc401e4195e0462da1db1.

Shoot sorry about that. Thanks for fixing!


The value assignment for the new span

When creating a span, the value selection window/dropdown should open automatically without additional click on the span.
Currently it only works for the very first span created in the document or created after deleting the other one.

Data tab opens correctly for every created annotation without additional click. Please test

Fixed


(fix) Use .in_time_zone to avoid any timezone issues with dates

Trello card URL:
https://trello.com/c/uFwUkNWe/540-bug-make-sure-time-zone-is-correctly-used-in-performanceplatform-rake-task
Changes in this PR:
Use .in_time_zone qualifier on calls to Date, to ensure we don't have any date conflicts as per https://github.com/rails/rails/issues/30870

 Bug: Make sure time zone is correctly used in performance_platform rake task


Allow Plugins to be enabled/disabled through environment variables.

What if, at the time of Jenkinsfile.init(), we check for environment variables corresponding to each of the plugins. If the variable is "enabled", then the plugin is automatically pulled in. That would be a SUPER simple (also super "magical" - not necessarily a good thing) way to enable/disable functionality.
Eg: TERRAFORM_PIPELINE_PARAMETER_STORE_EXEC_ENABLED=true <-- set this as a global property in Jenkins, and automagically, every pipeline gets parameter-store-exec added.

Not sure whether or not we should do this. It's a little "magical".

This feels too magical . Closing this.


If a checklist or select is required it's not processed in the validation

Current :
When a select or a checklist is required and if nothing is checked / selected, the @validated isValid value is true and no error message is displayed.
Expected :
The isValid should be setted to false and error should contain the errors, and some error message should appear bellow saying that it's required.

Nevermind i found a work arround...
So to have the required state checked :

for the checklist you have to use

min: 1,
validator: VueFormGenerator.validators.array,

for the select you have to use

min: 1,
validator: VueFormGenerator.validators.string,

The problem is that the required validator is a bit "simple", in that it only checks if the value being passed in isNil (null || undefined) or is an empty string.  An empty array is neither of these, and so passes the required validation.
We can probably make the required validator a bit more intelligent... where it can check to see if the value being passed in is an array, and if so, test it's length.

I could not run required for the select object.
I think that the problem is caused by not setting the default option.
I use it this:
{type: "select",label: "theLabel", model: "theSelectId",                                     selectOptions: {hideNoneSelectedText: true, value: "id",name: "name" },                                     values: function() {                                         return [ { id: 1, name: "A" }, { id: 2, name: "B" },{ id: 3, name: "C" },{ id: 4, name: "D" },{ id: 5, name: "E" }];                                     },                                                                         required: true,                                     validator: VueFormGenerator.validators.required,                                     styleClasses: "col-md-6"                                 }
Thanks for your help.
Thanks for library.


⚠ Bofrost.es has degraded performance

In 4a2552a, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1645 ms

Resolved: Bofrost.es performance has improved in b88b1f7 after 6 minutes.


Added support for authentication using PFX file solving #1030

Added support for authentication using PFX file solving #1030

Coverage decreased (-0.006%) to 99.994% when pulling 688b6b1802b5e54516754e2b9ad8775de6bae37d on VelinGeorgiev:auth-withCertAndPass into 8664b121122e331c27943f3039b240a38c313fff on pnp:dev.

Merged manually


<EMAIL_ADDRESS>Problem if Path is Github zip location

I my project I am having "Sankey": "https://github.com/tamc/Sankey/archive/master.zip",
This give "Could not find the End of Central Directory Record" error ..in<EMAIL_ADDRESS>but when i downgrade bower to 1.7.0 it worked fine

Works for me.. Can you provide your platform details?

Works here as well :whale:

node @ v0.12.4
npm @2.10.1
MAC OS X 10.10.5

Same issue here when using a Github ZIP path.
<EMAIL_ADDRESS><EMAIL_ADDRESS>OSX 10.11.2

@Utsav2 I think it might be https://github.com/bower/bower/commit/cdf45239f4853ce7d9ccd6b146ea84194bcf52fa
Could you verify it on node 0.12 on osx?

That commit wasn't merged till yesterday, so it's not a part of 1.7.1, and the issue is something else.

Hmm. Right

I can confirm that reverting to 1.7.0 fixed this issue for me.

Could you all help to pinpoint the issue? It's either one of commits since 1.7.0 or updated dependency (Bower bundles dependencies on releases)

I've spent about 4 hours trying to figure out our missing bower packages and discovered it to be related to 1.7.1.  It seems to be randomly downloading and extracting gitHub packages in a weird way.  It is excluding content, mainly the .bower config "main" param.  This results in our gulp process NOT moving any files to the build directory and thus breaking our build.  Rolling our bower version back to 1.7.0 seems to have fixed this.

I've confirmed that it's an issue with node 0.12 and bower 1.7.1. I was able to successfully bower install with the latest version of 0.10, 4 and 5.

can confirm this with 1.7.1 too

What's weird is that I can reproduce the bug when I do npm install -g bower, but if I checkout 87cf578 (1.7.1 tagged release) and npm install -g, it works perfectly fine, making it impossible to debug. My guess is something went wrong with a bundled dependency.
If someone who had this issue can try this:
npm uninstall -g bower
git clone https://github.com/bower/bower.git
git checkout 87cf578
npm install -g
And see if it solves it?
git diff  338ac99..87cf578 -- lib/* (between 1.7.0 and 1.7.1) doesn't seem to show any change which should break unzipping files.

@Utsav2 I tried installing bower directly as you suggested and branch 87cf578 does not have this issue.  I did verify this issue again though and can consistently produce the error when using 1.7.1 installed with NPM.

Shot in the dark: could it be related to this: https://github.com/bower/bower/commit/cdf45239f4853ce7d9ccd6b146ea84194bcf52fa
Can someone try without gzip / old request?

Just to reiterate #2108. I have a project with maybe 15 packages (Polymer). Once I discovered that cache is corrupt, I cleaned cache and re-downloaded. Every time I did so, different package(s) become corrupt. So the error was intermittent. After 4 or 5 retry, I finally got to the state where my project gave no errors. But I still have no confidence that all packages are correct, maybe more errors are just waiting :(

Could you write tests to reproduce? Or something to reproduce?

Unfortunately I do not know what happen, thus I don't know what unit test needs to do.
As pointed by @BenMann, there is a check in the code for ContentLength field. This could be unit tested. But I am not sure what would happen if http would use chunked transfer encoding. There is no content-length http field in this case. Also it is potential possibility that for whatever reason server would cache incomplete package body...

It is unit tested: https://github.com/bower/bower/blob/master/test/util/download.js#L160-L176
Maybe the issue is in extractor?

@sheerun check out the mine and @tgrux's comments above, it doesn't seem like an issue in bower's code, and it's hard to debug, as it tends to disappear if we install bower from the repo directly.

Ok, new info. I managed to reproduce it and compared bower_components folders.
As you can see, 2 files are incomplete and there is a bunch of missing. But it puzzle me even more. If it was premature https stream termination, than just one file would be incomplete.
diff -ru bower_components.bad/paper-behaviors/demo/paper-radio-button.html bower_components.good/paper-behaviors/demo/paper-radio-button.html
--- bower_components.bad/paper-behaviors/demo/paper-radio-button.html	2015-12-17 18:49:10.000000000 -0800
+++ bower_components.good/paper-behaviors/demo/paper-radio-button.html	2015-11-20 16:48:00.000000000 -0800
@@ -37,4 +37,84 @@
     position: absolute;
     top: 0px;
     left: 0px;
-
\ No newline at end of file
+    width: 12px;
+    height: 12px;
+    border-radius: 50%;
+    border: solid 2px;
+    border-color: black;
+    transition: border-color 0.28s;
+  }
+
+  #onRadio {
+    position: absolute;
+    top: 4px;
+    left: 4px;
+    width: 8px;
+    height: 8px;
+    border-radius: 50%;
+    background-color: red;
+    -webkit-transform: scale(0);
+    transform: scale(0);
+    transition: -webkit-transform ease 0.28s;
+    transition: transform ease 0.28s;
+  }
+
+  :host([disabled]) {
+    opacity: 0.3;
+    pointer-events: none;
+  }
+
+  :host([pressed]) #offRadio,
+  :host([active]) #offRadio {
+    border-color: red;
+  }
+
+  :host([pressed]) #onRadio,
+  :host([active]) #onRadio {
+    -webkit-transform: scale(1);
+    transform: scale(1);
+  }
+
+  #ink {
+    position: absolute;
+    top: -16px;
+    left: -16px;
+    width: 48px;
+    height: 48px;
+  }
+
+  </style>
+
+  <template>
+

+

+

+

+  </template>
+
+
+
+</dom-module>
Only in bower_components.good/paper-behaviors: index.html
Only in bower_components.good/paper-behaviors: paper-button-behavior.html
Only in bower_components.good/paper-behaviors: paper-checked-element-behavior.html
Only in bower_components.good/paper-behaviors: paper-inky-focus-behavior.html
Only in bower_components.good/paper-behaviors: paper-ripple-behavior.html
Only in bower_components.good/paper-behaviors: test
diff -ru bower_components.bad/paper-ripple/paper-ripple.html bower_components.good/paper-ripple/paper-ripple.html
--- bower_components.bad/paper-ripple/paper-ripple.html	2015-12-17 18:49:10.000000000 -0800
+++ bower_components.good/paper-ripple/paper-ripple.html	2015-11-18 10:22:06.000000000 -0800
@@ -459,4 +459,299 @@
          * @default 0.25
          */
         initialOpacity: {
-          t
\ No newline at end of file
+          type: Number,
+          value: 0.25
+        },
+
+        /**
+         * How fast (opacity per second) the wave fades out.
+         *
+         * @attribute opacityDecayVelocity
+         * @type number
+         * @default 0.8
+         */
+        opacityDecayVelocity: {
+          type: Number,
+          value: 0.8
+        },
+
+        /**
+         * If true, ripples will exhibit a gravitational pull towards
+         * the center of their container as they fade away.
+         *
+         * @attribute recenters
+         * @type boolean
+         * @default false
+         */
+        recenters: {
+          type: Boolean,
+          value: false
+        },
+
+        /**
+         * If true, ripples will center inside its container
+         *
+         * @attribute recenters
+         * @type boolean
+         * @default false
+         */
+        center: {
+          type: Boolean,
+          value: false
+        },
+
+        /**
+         * A list of the visual ripples.
+         *
+         * @attribute ripples
+         * @type Array
+         * @default []
+         */
+        ripples: {
+          type: Array,
+          value: function() {
+            return [];
+          }
+        },
+
+        /**
+         * True when there are visible ripples animating within the
+         * element.
+         */
+        animating: {
+          type: Boolean,
+          readOnly: true,
+          reflectToAttribute: true,
+          value: false
+        },
+
+        /**
+         * If true, the ripple will remain in the "down" state until `holdDown`
+         * is set to false again.
+         */
+        holdDown: {
+          type: Boolean,
+          value: false,
+          observer: '_holdDownChanged'
+        },
+
+        /**
+         * If true, the ripple will not generate a ripple effect
+         * via pointer interaction.
+         * Calling ripple's imperative api like `simulatedRipple` will
+         * still generate the ripple effect.
+         */
+        noink: {
+          type: Boolean,
+          value: false
+        },
+
+        _animating: {
+          type: Boolean
+        },
+
+        _boundAnimate: {
+          type: Function,
+          value: function() {
+            return this.animate.bind(this);
+          }
+        }
+      },
+
+      get target () {
+        var ownerRoot = Polymer.dom(this).getOwnerRoot();
+        var target;
+
+        if (this.parentNode.nodeType == 11) { // DOCUMENT_FRAGMENT_NODE
+          target = ownerRoot.host;
+        } else {
+          target = this.parentNode;
+        }
+
+        return target;
+      },
+
+      keyBindings: {
+        'enter:keydown': '_onEnterKeydown',
+        'space:keydown': '_onSpaceKeydown',
+        'space:keyup': '_onSpaceKeyup'
+      },
+
+      attached: function() {
+        // Set up a11yKeysBehavior to listen to key events on the target,
+        // so that space and enter activate the ripple even if the target doesn't
+        // handle key events. The key handlers deal with `noink` themselves.
+        this.keyEventTarget = this.target;
+        this.listen(this.target, 'up', 'uiUpAction');
+        this.listen(this.target, 'down', 'uiDownAction');
+      },
+
+      detached: function() {
+        this.unlisten(this.target, 'up', 'uiUpAction');
+        this.unlisten(this.target, 'down', 'uiDownAction');
+      },
+
+      get shouldKeepAnimating () {
+        for (var index = 0; index < this.ripples.length; ++index) {
+          if (!this.ripples[index].isAnimationComplete) {
+            return true;
+          }
+        }
+
+        return false;
+      },
+
+      simulatedRipple: function() {
+        this.downAction(null);
+
+        // Please see polymer/polymer#1305
+        this.async(function() {
+          this.upAction();
+        }, 1);
+      },
+
+      /**
+       * Provokes a ripple down effect via a UI event,
+       * respecting the `noink` property.
+       * @param {Event=} event
+       */
+      uiDownAction: function(event) {
+        if (!this.noink) {
+          this.downAction(event);
+        }
+      },
+
+      /**
+       * Provokes a ripple down effect via a UI event,
+       * *not* respecting the `noink` property.
+       * @param {Event=} event
+       */
+      downAction: function(event) {
+        if (this.holdDown && this.ripples.length > 0) {
+          return;
+        }
+
+        var ripple = this.addRipple();
+
+        ripple.downAction(event);
+
+        if (!this._animating) {
+          this.animate();
+        }
+      },
+
+      /**
+       * Provokes a ripple up effect via a UI event,
+       * respecting the `noink` property.
+       * @param {Event=} event
+       */
+      uiUpAction: function(event) {
+        if (!this.noink) {
+          this.upAction(event);
+        }
+      },
+
+      /**
+       * Provokes a ripple up effect via a UI event,
+       * *not* respecting the `noink` property.
+       * @param {Event=} event
+       */
+      upAction: function(event) {
+        if (this.holdDown) {
+          return;
+        }
+
+        this.ripples.forEach(function(ripple) {
+          ripple.upAction(event);
+        });
+
+        this.animate();
+      },
+
+      onAnimationComplete: function() {
+        this._animating = false;
+        this.$.background.style.backgroundColor = null;
+        this.fire('transitionend');
+      },
+
+      addRipple: function() {
+        var ripple = new Ripple(this);
+
+        Polymer.dom(this.$.waves).appendChild(ripple.waveContainer);
+        this.$.background.style.backgroundColor = ripple.color;
+        this.ripples.push(ripple);
+
+        this._setAnimating(true);
+
+        return ripple;
+      },
+
+      removeRipple: function(ripple) {
+        var rippleIndex = this.ripples.indexOf(ripple);
+
+        if (rippleIndex < 0) {
+          return;
+        }
+
+        this.ripples.splice(rippleIndex, 1);
+
+        ripple.remove();
+
+        if (!this.ripples.length) {
+          this._setAnimating(false);
+        }
+      },
+
+      animate: function() {
+        var index;
+        var ripple;
+
+        this._animating = true;
+
+        for (index = 0; index < this.ripples.length; ++index) {
+          ripple = this.ripples[index];
+
+          ripple.draw();
+
+          this.$.background.style.opacity = ripple.outerOpacity;
+
+          if (ripple.isOpacityFullyDecayed && !ripple.isRestingAtMaxRadius) {
+            this.removeRipple(ripple);
+          }
+        }
+
+        if (!this.shouldKeepAnimating && this.ripples.length === 0) {
+          this.onAnimationComplete();
+        } else {
+          window.requestAnimationFrame(this._boundAnimate);
+        }
+      },
+
+      _onEnterKeydown: function() {
+        this.uiDownAction();
+        this.async(this.uiUpAction, 1);
+      },
+
+      _onSpaceKeydown: function() {
+        this.uiDownAction();
+      },
+
+      _onSpaceKeyup: function() {
+        this.uiUpAction();
+      },
+
+      // note: holdDown does not respect noink since it can be a focus based
+      // effect.
+      _holdDownChanged: function(newVal, oldVal) {
+        if (oldVal === undefined) {
+          return;
+        }
+        if (newVal) {
+          this.downAction();
+        } else {
+          this.upAction();
+        }
+      }
+    });
+  })();
+</script>
Only in bower_components.good/paper-ripple: test

My project:
{
  "name": "test1",
  "version": "0.0.0",
  "authors": [
    "Vadim Chekan"
  ],
  "description": "test",
  "keywords": [
    "test"
  ],
  "license": "test",
  "ignore": [
    "**/.*",
    "node_modules",
    "bower_components",
    "test",
    "tests"
  ],
  "dependencies": {
    "polymer": "Polymer/polymer#^1.2.0",
    "paper-toolbar": "PolymerElements/paper-toolbar#~1.1.2",
    "paper-icon-button": "PolymerElements/paper-icon-button#~1.0.6"
  }
}

Maybe the issue is in extractor?

Just what I thought next, after checking the downloader.
We use three libraries in the extractor that seem relevant: zlib, tar-fs and our own repo decompress-zip.. none of those changed in the last release and I think their dependencies didn't either. What I thought could be relevant is changes to the node streaming API, which we maybe didn't account for.. BUT all this seems irrelevant as @Utsav2 pointed out, cause it all works fine if you checkout https://github.com/bower/bower/commit/87cf578ba82e3d0eca4e5869469be85c4669cd23.
Right now I cannot reproduce this and I'd be highly interested how anyone of you actually get's to that point. Different people have different versions of node AND npm and still get the same result. No matter which setup of the above I try to emulate with my versions, I cannot reproduce. :persevere:

I really can't reproduce it.. Also I've checked and there's literally no difference between version published on npm and 1.7.1 tag, including dependencies.

@it-sumanp @green-arrow @vchekan Maybe you could prepare Docker image that reproduces?

Can anyone remind me HOW one REVERTS a bower update using NPM, or downgrades to an earlier stable version?
I made the mistake of updating Bower to 1.7.1 when the "update available" message came through.  (This is why we tend to get paranoid about updating things)  "bower install" now refuses to install the latest Polymer Starter Kit 1.0 bower components.  Bower seems to fail on trying to unpack a .gz zip file on Windows.  It may be looking for the file in the wrong place?
I am running on Windows 7.
I am running npm version 2.7.4
I am running bower version 1.7.1 (latest)

events.js:85
throw er; // Unhandled 'error' event
^
Error: ENOENT, rename 'C:\Users\pkosenko\AppData\Local\Temp\peter-kosenko-pkosenko\bower\c2d88334ceaa31e4b9aaa450cbde234e-836-znV3zB\archive.tar.gz.3582844010'
at Error (native)

Other bower components are NOT in a "peter-kosenko-pkosenko" subfolder.  No such folder exists, and it doesn't make sense, since we are already in the user temp folder anyway.  If Bower1.7.1 is actually trying to look there, it has a MAJOR bug.

@pkosenko you can run the following to install a specific version:
npm install -g<EMAIL_ADDRESS>

Yes, thanks . . . I looked that one up before you posted.  I don't do npm revert a lot.

I reverted to 1.6.8, which was working fine for me, and the error went away.  So . . . it is definitely a bug in version 1.7.1.  I'll have to try 1.7.0 later.

I am reproducing it seemingly jumping between bower versions 1.7.1, 1.7.0, 1.6.8, etc I am uninstalling and reinstalling each new version but the issue persists, the only thing I have found that works for me is the solution @Utsav2 of cloning the repo/checking out a branch/npm install -g
node 0.12.9
npm 2.14.9
OS X 10.11.2

Here's a simple bower.json which causes the issue for me every time: https://gist.github.com/mmelvin0/d4588ccabebe3b32ecc6
Bower: 1.7.1 (problem goes away after npm install -g<EMAIL_ADDRESS>Node: 0.12.9 (from homebrew/versions/node012)
NPM: 2.14.15
OS: Mac OS X 10.11.2
Here's the stack trace:
Error: Could not find the End of Central Directory Record
    at DecompressZip.findEndOfDirectory (/usr/local/lib/node_modules/bower/node_modules/decompress-zip/lib/decompress-zip.js:165:15)
    at _fulfilled (/usr/local/lib/node_modules/bower/node_modules/q/q.js:834:54)
    at self.promiseDispatch.done (/usr/local/lib/node_modules/bower/node_modules/q/q.js:863:30)
    at Promise.promise.promiseDispatch (/usr/local/lib/node_modules/bower/node_modules/q/q.js:796:13)
    at /usr/local/lib/node_modules/bower/node_modules/q/q.js:604:44
    at runSingle (/usr/local/lib/node_modules/bower/node_modules/q/q.js:137:13)
    at flush (/usr/local/lib/node_modules/bower/node_modules/q/q.js:125:13)
    at process._tickCallback (node.js:355:11)

Can someone confirm?

Can someone confirm?

I was able to successfully run bower install with 1.7.2 with the same setup that fails with 1.7.1.
node v0.12.8
npm 3.5.1
osx 10.11.2

It seems resolved then in 1.7.2 :) Please comment if it is not true

For those who find this thread because of issues during Visual Studio Online builds, VSO has pre-installed bower version 1.7.1 (as of time of posting) which has this issue. Make sure to either run "npm install bower -g" or specify bower as a dependency in the npm config file for the project (with version > 1.7.1).


Tabset is merged to the left on resize

A tabset is merged on the left whenever I try to resize it horizontally, BUT it's happening only on non-primary displays.
Behaviour first seen on:
Light Table version 0.8.0-alpha
Binary version 0.31.1
Wasn't happening on:
Light Table version 0.7.2
Binary version 0.8.6
Three-headed display with primary display located on the left
OS: Linux 4.2.0-1-amd64 SMP Debian stretch 4.2.5-1 (2015-10-27) x86_64 GNU/Linux
Graphics card: GeForce GTX 750 Ti
NVIDIA Driver Version: 340.93
Example image

If it can help I've noticed this (best explained with an animation):

Apparently the distance between the left margin of the window and the left margin of display is erroneously added the the expected position; and on overflow the tabsets are merged.

Also on Win7 Pro (64 bit), LT v 0.7.2 (binary v 0.11.1-pre).

I was able to reproduce this just now with a recent source build (more recent than 0.8.0-alpha) on a Windows 7 computer.
I was able to confirm, via lt.objs.console.log calls, that the MouseEvent object being passed to the reaction function for the behavior ::set-width-final! in src/lt/objs/tabs.cljs has a clientX property that's greater than the same property for the supplied MouseEvent object passed to the reaction function for the behavior ::width!.
Here are the relevant MouseEvent properties, logged via (.log js/console e). The final event of the ::width! behavior reaction function:
altKey: false
bubbles: true
button: 0
buttons: 1
cancelBubble: false
cancelable: true
charCode: 0
clientX: 871
clientY: 374
ctrlKey: false
currentTarget: null
dataTransfer: DataTransfer
defaultPrevented: false
detail: 0
eventPhase: 0
fromElement: null
keyCode: 0
layerX: 8
layerY: 344
metaKey: false
movementX: 0
movementY: 0
offsetX: 9
offsetY: 364
pageX: 871
pageY: 374
path: Array[10]
relatedTarget: null
returnValue: true
screenX: 1189
screenY: 456
shiftKey: false
srcElement: div.vertical-grip
target: div.vertical-grip
timeStamp:<PHONE_NUMBER>140
toElement: div.vertical-grip
type: "drag"
view: Window
webkitMovementX: 0
webkitMovementY: 0
which: 1
x: 871
y: 374
__proto__: MouseEvent

The event for the ::set-width-final! behavior reaction function call:
altKey: false
bubbles: true
button: 0
buttons: 0
cancelBubble: false
cancelable: true
charCode: 0
clientX: 1189
clientY: 436
ctrlKey: false
currentTarget: null
dataTransfer: DataTransfer
defaultPrevented: false
detail: 0
eventPhase: 0
fromElement: null
keyCode: 0
layerX: 326
layerY: 406
metaKey: false
movementX: 0
movementY: 0
offsetX: 327
offsetY: 426
pageX: 1189
pageY: 436
path: Array[10]
relatedTarget: null
returnValue: true
screenX: 1189
screenY: 456
shiftKey: false
srcElement: div.vertical-grip
target: div.vertical-grip
timeStamp:<PHONE_NUMBER>242
toElement: div.vertical-grip
type: "dragend"
view: Window
webkitMovementX: 0
webkitMovementY: 0
which: 1
x: 1189
y: 436
__proto__: MouseEvent

I am also currently affected by this. Exact issue. Only on my secondary monitor.
Ubuntu 14.04
Light Table 0.8.0-alpha
Binary Version 0.31.1

@tvanden Only on your secondary monitor? That's surprising. What's the monitor/display configuration you're using? If the screen coordinates aren't even consistent between or among multiple monitors, I'm not sure how we can fix this.

@kenny-evitt
Not sure what monitor/display configuration it is? Or how to check that. it is a default ubuntu 14.04 install. Just using the display manager they provide.

Hello,
I can confirm that I'm also having this issue. My configuration is exactly that of of @tvanden:
Ubuntu 14.04
Lighttable 0.8.0-alpha
Binary version: 0.31.1
And as he mentioned it also happens only if I plug-in a secondary screen. If there is only one screen then the resizing happens without a problem. Also this behavior is new, as with the 0.7.x version that I had before this was never an issue.
My screen sizes are 14 inch (primary/laptop) and 19 inch (secondary screen)
PS: I just re-tested the behaviour and found out that it only happens if Lighttable is on my primary screen (laptop), but if I put it on the secondary screen then it the resize happens correctly (no bug). Thus I guess that Lighttable is somehow taking the biggest screen size and deciding if it should close the tabset when there is a resize.
Hope it helps

Windows 7 Pro 64bit, LightTable v 0.8.0, single monitor. LightTable starts fullscreen mode (workspace tree open), opening 2 or more tabsets. After going to windowed-resized mode and by changing the size of the tabset the tabset-border jumps always to left or the tabsets are merged together.
Same behavior on Manjaro linux KDE, LightTable 0.8.0-alpha, single monitor.

Everyone, please download the (non-alpha) 0.8.0 release version and confirm whether you can reproduce this with that version. We upgraded the main framework LT uses – Electron – and the new version fixed other graphics issues.

@kenny-evitt
Hey, sorry to disappoint. on version 0.8.0 binary 0.34.5 I am still having this issue. On my primary screen (farthest left, if anyone else is noticing that)  everything seems to be working fine. My two other monitors to the right of it still collapse on resize.

@tvanden Thanks for testing.

I can also confirm that the bug is still present on the 0.8.0 version.

What actually is the purpose of set-width-final! in lt/objs/tabs.cljs?
I am asking this because it looks like removing it entirely fixed the bug. I don't know clojure enough to be sure of what I'm doing so I'll not send a pull request for now.

@geusebi My guess is that it's supposed to perform the final adjustment after you stop dragging the tabset. If it seems like removing it fixes this bug, create a PR and I'll test it out too. If it doesn't seem to break anything else, we can ask others to review the change as well. You're certainly not really any less of an expert about this code than I!

Sorry, totally forgot to create the pull request.
If you can test it, I would appreciate it.


Multi-region, single-region writes WITHOUT AZ not in table?

The availability zone support table does not include data for Multi-region, single-region writes without AZs. Is there a reason for this?

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

ID: 139a721d-cf90-8b72-f344-9bdf9b2f9738
Version Independent ID: b2afbc24-ebfc-b225-ee4a-8eaa27838cd0
Content: High availability in Azure Cosmos DB
Content Source: articles/cosmos-db/high-availability.md
Service: cosmos-db
GitHub Login: @markjbrown
Microsoft Alias: mjbrown

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

Thanks for reporting. Yes, that table should include multi-region w/o AZ's. Added it to the table. Should publish by this afternoon.
thanks again.
#please-close


YAML as a result format instead of JSON

Is there an easy way to override the serializer to return YAML instead of JSON?

How about this script
import yaml
yaml.dump(<json obj>)

@devArtoria I know how to dump YAML :) Whal elements of Flask-GraphQL should I override to paste your code in?

GraphQLView is works as view function for graphql endpoint, and GraphQLView's dispatch_request is dispatch request. it uses get_response to make response with json_encode. if you want GraphQLView  return YAML, just edit get_response to user your own yaml_encode

@alexander-myltsev  Could I close this?

Yes, thanks.