Please share the source code for the views in the demo vwConcurencyMonitor and vwRcAssignments

Azure documentation issue guidance
Thanks for opening an issue in the Azure technical documentation repository.
We use GitHub issues as the primary channel for customer and community feedback about the Azure documentation.
Creating an issue
We prefer that you create documentation feedback issues using the Feedback link on the published article - the feedback control on the doc page creates an issue that contains all the article details so you can focus on the feedback part.
You can also create a feedback issue here in the repo. If you do this, please make sure your issue lists:

[ ] The relevant Azure service or technology.
[ ] A link to the published documentation article that you have feedback about.
[ ] Clear, specific feedback that the author can act on.

Pull requests and article contributions
If you know the change that is needed in an article, we encourage you to submit the changes directly using a pull request. If the change is large, or if you want to contribute an entire article, follow these guidelines:

[ ] Don't surprise us with a big pull request or a pull request with a new article! Submit an issue that describes the details of the proposed large change or new article.
[ ] Include the service or technology area.

We'll route the issue to the appropriate content team for review and discussion.
Tech support and product feedback
If you would like to contact Microsoft about other things, such as product feedback or tech support, please review these guidelines:

If you need technical support using Azure, the paid and free support options are described here: https://azure.microsoft.com/support/options/.

Each article in the Azure technical documentation contains a product feedback button - it's best to submit product feedback directly from a relevant article. Otherwise, you can submit product feedback for most Azure products in the following product feedback forum: https://feedback.azure.com/forums/34192--general-feedback.

@masilva-uei Could you please share the doc that you are referring to?

@masilva-uei Just following up here... A doc would allow us to direct your query to the appropriate team.

@masilva-uei Since we have not heard back from you we will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.
Please feel to provide doc feedback at the bottom of the specific doc that you are referring to.


E3002 Invalid Property Resources//Properties/FilterName error for AWS::Logs::SubscriptionFilter

CloudFormation Lint Version
cfn-lint 0.72.2
What operating system are you using?
macOS Ventura 13.2
Describe the bug
Adding a AWS::Logs::SubscriptionFilter resource with a FilterName property in the cft template results in invalid property error
E3002 Invalid Property Resources/<Logical Id>/Properties/FilterName
Expected behavior
The FilterName property should be a valid property for AWS::Logs::SubscriptionFilter resource. Please refer to this aws cloudformation resource reference. https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-subscriptionfilter.html#cfn-logs-subscriptionfilter-filterpattern
Reproduction template

  LogicalId:
    Type: AWS::Logs::SubscriptionFilter
    Properties:
      DestinationArn: arn:aws:logs:us-east-1:1234567890:destination:subscription-destination
      FilterName: "Custom Filter Name"
      FilterPattern: " "
      LogGroupName:  /aws/lambda/HelloWorldFunction

Issue is resolved. I upgraded cfn-lint to 0.72.10 and it recognizes FilterName as a valid property. I had two versions of cfn-lint installed via pip & brew and only the older pip version was being used.


fix: 🐛 (input) use event's isComposing && v-model default behavior

use event's isComposing && v-model default behavior
Please make sure these boxes are checked before submitting your PR, thank you!

[x] Make sure you follow Element's contributing guide (中文 | English | Español | Français).
[x] Make sure you are merging your commits to dev branch.
[x] Add some descriptions and refer relative issues for you PR.
https://github.com/ElemeFE/element/pull/14402
https://github.com/ElemeFE/element/issues/14330
https://github.com/ElemeFE/element/issues/14779

I agree that isComposing is the future. But it is not supported by some browsers (notably Safari and IE. not sure about MS Edge). https://developer.mozilla.org/zh-CN/docs/Web/API/KeyboardEvent/isComposing
@iamkun @island205
It's probably not for 2.x (or as long as we supports Safari).

This pr does not make el-input a controlled component. More work is needed.


Horizontal views stuck in between, index not whole numbers

I'm creating an app with Swiper used in horizontal, with Views (wrapping normal Scrollviews) as children. So when swiping left/right, you get a sequence of 10 Views.
Problem is, once those Views are loaded with text in child scrollviews, swiping left/right rapidly sometimes result in views stuck between horizontally adjacent views. I've logged state of the Swiper component onMomentumScrollEnd, and state.index I see is 1.9999999999999991, 2.9999999999999991, etc. after this occurred.
This is pretty jarring on UX, and is a bug likely to affect other scenarios.
Not sure if I can easily post an exacting reproducible case, but am I the only one seeing this? Looks like #140 has similar issue with non-whole number index. (I know, he should type in English)

Fixed, closing.

Will test after I get back in town but good stuff!


Live table: add additional columns

The toy example had only the first six. Add the remainder.

Closed by #19


Allow .write and .write_dict with TrainResult.

🚀 Feature
Allow .write and .write_dict with TrainResult.
Motivation

Can be used to check the results generated by GAN (generator) over the course of an epoch to visualize and check the learning process of the generator.

Pitch
Similar to that with EvalResult.
Let me know what you guys think. :)

It'll be even better if batched writing is allowed. It seems like the actual writing happens after all the inference is finished, which can blow GPU memory when the output is huge (e.g. embeddings)

is it good to add this feature now?


Pin typing-extensions 4.2.0 to python>=3.7

Deals with an issue raised in/caused by https://github.com/conda-forge/typing_extensions-feedstock/pull/30
I'm not 100% sure if I composed this correctly, so feedback is very much welcome.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@chrisburr -- Thanks for the review. I wasn't aware of the _replace_pin, so that's good to know. Is it just a cleaner version of what I wrote originally (based on other fixes I saw), or does it do something different?

Is it just a cleaner version of what I wrote originally (based on other fixes I saw), or does it do something different?

Pretty much (though it allows the pin to be missing so technically either of my suggestions would be have fixed it):
https://github.com/conda-forge/conda-forge-repodata-patches-feedstock/blob/e0582db8619d5a4515311317ff186d4eecb6e04b/recipe/gen_patch_json.py#L1484-L1490
The diff looks good so LGTM 👍
+ python show_diff.py
Downloading: https://conda.anaconda.org/conda-forge/noarch/repodata_from_packages.json.bz2
Downloading: https://conda.anaconda.org/conda-forge/noarch/repodata.json.bz2
noarch::typing_extensions-4.2.0-pyha770c72_0.tar.bz2
-    "python >=3.6"
+    "python >=3.7"
Downloading: https://conda.anaconda.org/conda-forge/linux-64/repodata_from_packages.json.bz2
Downloading: https://conda.anaconda.org/conda-forge/linux-64/repodata.json.bz2
Downloading: https://conda.anaconda.org/conda-forge/linux-armv7l/repodata_from_packages.json.bz2
Downloading: https://conda.anaconda.org/conda-forge/linux-armv7l/repodata.json.bz2
Downloading: https://conda.anaconda.org/conda-forge/linux-aarch64/repodata_from_packages.json.bz2
Downloading: https://conda.anaconda.org/conda-forge/linux-aarch64/repodata.json.bz2
Downloading: https://conda.anaconda.org/conda-forge/linux-ppc64le/repodata_from_packages.json.bz2
Downloading: https://conda.anaconda.org/conda-forge/linux-ppc64le/repodata.json.bz2
Downloading: https://conda.anaconda.org/conda-forge/osx-64/repodata_from_packages.json.bz2
Downloading: https://conda.anaconda.org/conda-forge/osx-64/repodata.json.bz2
Downloading: https://conda.anaconda.org/conda-forge/osx-arm64/repodata_from_packages.json.bz2
Downloading: https://conda.anaconda.org/conda-forge/osx-arm64/repodata.json.bz2
Downloading: https://conda.anaconda.org/conda-forge/win-32/repodata_from_packages.json.bz2
Downloading: https://conda.anaconda.org/conda-forge/win-32/repodata.json.bz2
Downloading: https://conda.anaconda.org/conda-forge/win-64/repodata_from_packages.json.bz2
Downloading: https://conda.anaconda.org/conda-forge/win-64/repodata.json.bz2


Strange interlacing issue

For some reason the video either plays with a ton of stutter or it does this weird interlace appearing thing. Here is a video:
https://youtu.be/nJl3MXMr4Ho
I am on a MacBook Pro 2017 15" OSX High Sierra

@CalebKierum There seems to be a glitch with the High Sierra drivers for Intel chips on certain models. People are discussing it here #377 .
Closing this as a duplicate.


Update topologies.rst to fix broken link

Fixed link to Storm/Kafka documenation.

Coverage remained the same at 45.417% when pulling d220fd36e136838325f1786122a98c4e275808a9 on gallamine:patch-1 into f66794f9810e4e511d3409b508b82ee3c8631822 on Parsely:master.

Coverage decreased (-0.3%) to 45.166% when pulling 73c6e5effcbda3c9d52d525ee065476c9edfcb30 on gallamine:patch-1 into f66794f9810e4e511d3409b508b82ee3c8631822 on Parsely:master.

I think you have the honor of being my first open source contribution :-D

:party:


Only load data required for certain queries

Done?

File-based granularity can be improved to selectively load attributes and build indexes.


Feat(Resolver)/Create resolver

Replaced by https://github.com/iotaledger/identity.rs/pull/45

Replaced by https://github.com/iotaledger/identity.rs/pull/45


Be kotlin multiplatform compliant

For now the project was not targeted for kotlin multiplatform. Here is an exhaustive list of tasks to accomplish to make this project KMP ready:

[ ] Remove use of jvm specific classes (IDN, etc)
[ ] Wait for okhttp 5.x to be KMP ready work is in progress on okhttp side or abstract http layer and switch to ktor for kmp
[ ] Remove retrofit and Proxy implementation for a custom annotation parser and generated classes
[ ] Use kotlinx serialization instead of Gson
[ ] Reorganize the modules to be either mutliplatform or jvm dependent

Need KMP before really implementing wallet otherwise I'll do the job twice. Let's go!


stderr: [object Promise] in production

At the end of this issue @logaretm and I had a quick message about an error https://github.com/nuxt/nuxt.js/issues/1201#issuecomment-318866458
For me I only see this in my production environment and my NuxtJS app does not work. While @logaretm sees the error in dev as well it seems but it doesn't stop the app working until it is in production.
This is what I get in my apache log:
[Sun Jul 30 01:02:36.550592 2017] [ssl:info] [pid 3744:tid<PHONE_NUMBER>73216] [client <IP_ADDRESS>:51670] AH01964: Connection to child 24 established (server default-31_193_2_47:443) [ 2017-07-30 01:02:36.6153 3721/7fa88a48e700 Ser/Server.h:994 ]: [Client 3-5] Disconnecting client with error: error parsing app response chunked encoding: unexpected end-of-stream App 4364 stderr: [object Promise]

We are both using the nuxt-express template it seems but I don't know if this is an issue that should be raised there, or if the root cause is in the main NuxtJS repo. Happy to move it if needs be.
The output sent to a user for me is
Cannot GET / where / is the path requested.
Are you able to point us in the right direction?
P.s. we mention a NuxtJS/pws module error, but in mine I've disabled workbox for now as that module has an error deleting the old js files in the static folder after they have been created now. Probably just a file path issue with the latest rc breaking changes.

Really embarassing  when I raise these issues and it's actually OK. I updated to latest NodeJS but hadn't cleared my cache. I think it was a NodeJS version issue because I opened dev tools with cache disabled and the site works.

@silverbackdan I'm now mostly confused, The error didn't happen when I was applying my app on top of the new template base. and for whatever reason after some tinkering it stopped happening on the original app codebase, but again there is the #1214.
but now when I was attempting to produce  #1214 I produced this issue instead 😕
Basically all was working fine up until I added the pwa preset.
Do you mind confirming?
https://github.com/logaretm/nuxt-object-promise

@silverbackdan nvm, It needed to install es6-promise manually.


Can we add a link to packagist.org on GitHub?

I mean in this block:

Link to https://packagist.org/packages/shirokovnv/innkeeper

Sounds like a good idea. Added.

Thanks!


 We can always implement a GPU copy later on to optimize peformance, but for now handling MANAGED as we do SYSTEMMEM seems to do the trick and fixes #66 (which has bugged me for quite some time).

Without PR

With PR

DEFAULT->MANAGED doesn't seem to be a very hot path, but there are games out there that will hit it occasionally.

I've also taken the liberty to make CopyRects logging more verbose, since we ideally would want to see these sort of problems in the logs that people send us.


Multilanguage interface

@Superfly-Inc
Thanks a lot for your program.
Could you please consider if you ccan enable multi-language GUI?.
I can help translating it in italian.

Thanx for your feedback and offer.
I will add a language resource to the project. I do get a lot of non-English feedback at the Store.
I will keep you posted when I have a Preview version available for testing.

@Superfly-Inc
Thanks for this news.
Please post when you will have a preview version that can be localized.
Thanks.

@bovirus
I uploaded a multi-lingual version - only supports English and Italian for now.
Please check the linguistics in the enclosed .xlf file and will appreciate you replying with the corrections (I resorted to Google translate as Microsoft's auto translate didn't work for me)
It can be edited with this tool https://developer.microsoft.com/en-us/windows/downloads/multilingual-app-toolkit/
BTW the huge size is due to it being a .Net Core 3.1 app. now (self contained includes the required runtimes for portability) Version <IP_ADDRESS>00 is compiled with 64-bit .Net Core 3.1 runtime.
Thanx.

Thanks for the new multilanguage version.
I will check ASAP.
Note: I'm the Italian translator for Multilangual App Toolkit by MS. :-)

@Superfly-Inc
ShowKeyPlusPreview_it-IT.zip
I revised the Italian language.
I attached the language to the post.
I believed that I can see the chanegs directly but it seems that your .exe didn't read external .lif file.

@bovirus
Thanx, nice work!
I have included your corrections in build <IP_ADDRESS>000 - note this is the smaller exe without the embedded runtime - please install the appropiate runtime before testing.
(I hope it compiled correctly as I note it's even smaller that the Framework version.)
Regarding on-the-fly language changes, I'm not aware of that - I'm not a huge fan of external ini file type configs. This uses an it-IT folder with a compiled language dll - much like Windows' MUI files I guess.

@Superfly-Inc
Thanks for the new version.
I will test it.
Thanks.


README.md: Neovim now supports focus events

refs https://github.com/neovim/neovim/pull/3488

I think the info it works with neovim (and this plugin is not required) and from which version number would be much more useful info.

I think the info it works with neovim (and this plugin is not required) and from which version number would be much more useful info.

Sure, I added that, but what do you mean that this plugin is not required? Without this plugin, Neovim doesn't automatically reload files if they change.

Hmm.. you're right about the autoread feature. However, you can now get that in NeoVim with this one-liner:
au FocusGained * if &autoread | silent checktime | endif

Okay, it's not really a one liner: the special handling for reloading files when the cursor is in vim's command line is missing..
Still I think NeoVim users should not need this plugin anymore, because its main focus is restoring FocusGained and FocusLost for vim within tmux.
Thoughts?
You wanna test and be a maintainer of a neovim-only plugin if we extracted the autoread feature out?

Still I think NeoVim users should not need this plugin anymore, because its main focus is restoring FocusGained and FocusLost for vim within tmux.
Thoughts?

I think you're right. I've just replaced the use of this plugin in my config with that one-liner you provided (thanks!).

You wanna test and be a maintainer of a neovim-only plugin if we extracted the autoread feature out?

The aforementioned one-liner works for the vast majority of use cases I have, so no thanks.

If you want, I can update this PR to add a notice saying something like "Neovim users don't need this plugin, use this autocmd instead".


[bug]  Unnecessary menu items and menu name..?

Describe the bug
I made the first menu items(up to quit). however, I did not do the remaining 3 and they appeared on their own

And...
and maybe I didn't understand something, but I kind of wanted to name the menu as "help", and it was called "knigi" - the name of the application
Reproduction
by using this example https://docs.rs/tauri/2.0.0-beta.22/tauri/menu/struct.SubmenuBuilder.html
i made
fn main() {
    use tauri::menu::*;
    tauri::Builder::default()
        .setup(move |app| {
            let handle = app.handle();
            let menu = Menu::new(handle)?;
            let submenu = SubmenuBuilder::new(handle, "Help")
                .item(&MenuItem::new(handle, "MenuItem 1", true, None::<&str>)?)
                .items(&[
                    &CheckMenuItem::new(handle, "CheckMenuItem 1", true, true, None::<&str>)?,
                    // &IconMenuItem::new(handle, "IconMenuItem 1", true, Some(icon1), None::<&str>)?,
                ])
                .separator()
                .cut()
                .copy()
                .paste()
                .separator()
                .text("item2", "MenuItem 2")
                .check("checkitem2", "CheckMenuItem 2")
                .icon(
                    "iconitem2",
                    "IconMenuItem 2",
                    app.default_window_icon().cloned().unwrap(),
                )
                .quit()
                .build()?;
            menu.append(&submenu)?;
            let _ = app.set_menu(menu);
            Ok(())
        })
        .plugin(tauri_plugin_shell::init())
        .invoke_handler(tauri::generate_handler![greet])
        .run(tauri::generate_context!())
        .expect("error while running tauri application");
}

and here .quit() is last menu item, but in fact i got copy last 3 items in edit standart menu

Expected behavior
No response
Full tauri info output
❯ cargo tauri info
WARNING: no lock files found, defaulting to npm

[✔] Environment
    - OS: Mac OS 14.4.0 X64
    ✔ Xcode Command Line Tools: installed
    ✔ rustc: 1.76.0 (07dca489a 2024-02-04)
    ✔ cargo: 1.76.0 (c84b36747 2024-01-18)
    ✔ rustup: 1.26.0 (5af9b9484 2023-04-05)
    ✔ Rust toolchain: stable-aarch64-apple-darwin (environment override by RUSTUP_TOOLCHAIN)
    - node: 21.7.3
    - npm: 10.5.0

[-] Packages
    - tauri [RUST]: 2.0.0-beta.22
    - tauri-build [RUST]: 2.0.0-beta.17
    - wry [RUST]: 0.40.1
    - tao [RUST]: 0.28.1
    - tauri-cli [RUST]: 2.0.0-beta.13
    - @tauri-apps/api : not installed!
    - @tauri-apps/cli [NPM]: 2.0.0-beta.13

[-] App
    - build-type: bundle
    - CSP: unset
    - frontendDist: ../dist
    - devUrl: http://localhost:1420/

Stack trace
❯ cargo tauri dev
    Running BeforeDevCommand (`trunk serve`)
2024-06-21T21:50:15.910987Z  INFO 🚀 Starting trunk 0.19.1
2024-06-21T21:50:15.913573Z  INFO 📦 starting build
    Finished dev [unoptimized + debuginfo] target(s) in 0.17s
Browserslist: caniuse-lite is outdated. Please run:
  npx update-browserslist-db@latest
  Why you should do it regularly: https://github.com/browserslist/update-db#readme

Rebuilding...

Done in 95ms.
2024-06-21T21:50:16.887884Z  INFO applying new distribution
2024-06-21T21:50:16.891263Z  INFO ✅ success
2024-06-21T21:50:16.891561Z  INFO 📡 serving static assets at -> /
2024-06-21T21:50:16.891602Z  INFO 📡 server listening at:
2024-06-21T21:50:16.891604Z  INFO     🏠 http://<IP_ADDRESS>:1420/
2024-06-21T21:50:17.063227Z  INFO ⏫ Found an update of trunk: 0.19.1 -> 0.20.2
    Info Watching /Users/smir-ant/VSCodeProjects/tauri/knigi/src-tauri for changes...
    Info Watching /Users/smir-ant/VSCodeProjects/tauri/knigi/src-tauri for changes...
   Compiling knigi v0.0.0 (/Users/smir-ant/VSCodeProjects/tauri/knigi/src-tauri)
warning<EMAIL_ADDRESS>cargo:rustc-check-cfg requires -Zcheck-cfg flag
warning<EMAIL_ADDRESS>cargo:rustc-check-cfg requires -Zcheck-cfg flag
warning<EMAIL_ADDRESS>cargo:rustc-check-cfg requires -Zcheck-cfg flag
    Finished dev [unoptimized + debuginfo] target(s) in 3.42s

Additional context
tauri beta + leptos stack, tailwind(by using leptos) yet
chip: m1 pro
your product: amazing ❤ heh

ah, damn, i found Some(interesting)... I  i lost this 3 menu item without .copy() method.
=> .copy() add autofill, dictation and emojis yet..?

To my knowledge, there are some macOS status bar menu rules. For example, the first menu will always become the application menu (with your application name), and it will modify the items in the menu with a specific name, such as Help; I guess they also did something to the copy item and it's out of our control.

I experience the same issue regarding de additional items Autofill, Start Dictation, Emojis....
It looks like these three items are present by default in many OSX apps, so my assumption is that these are added by default under the Edit menu by an OSX specific library. However, if you know a way to remove them, let me know...


Question. Best way to set title bar hidden after app start

Hello author. I have a problem. I want the app to be shown on start (default behavior) without WaitUntilWindowReadyToShow.then(_) (i have some troubles that the window is not always properly paints by another library when using this). When i try to call it in main windowManager.setTitleBarStyle('hidden')  i reseive "not responding" error. When I call it somewhere after the app is rendered it works well. So. What is the best place to call this instead of main (or in main but with some trick)?

setTitleBarStyle('hidden') is no longer used, please upgrade to version 0.2.1 and change the code to setTitleBarStyle(TitleBarStyle.hidden)

Enums (and maby some inner changes you have made) have not changed the described behavior. So to let this thing work I found a nice solution. For main stateful widget (some page that renders after start )  in initState I added PostFrameCallback in which I call windowManager.setTitleBarStyle. This solution helps to prevent "not responding" Windows error.

Interesting. I have encountered this "not responding" error before, which happens only when setTitlebarstyle is called. I'll try to remember what I did wrong and how I fixed it. Have you tried flutter clean and is the project made with the latest Flutter SDK version?

Also,
May I know what is this other library you are using?
Is the "not responding" error still there if you use the window_manager only, without the other library?

I found something.
In my case, the app won't crash if:

Calling window manager functions before calling runApp without using await

  WidgetsFlutterBinding.ensureInitialized();
  await windowManager.ensureInitialized();
  windowManager.setSize(const Size(1000, 500));
  runApp(const MyApp());

Calling window manager functions after calling runApp

  WidgetsFlutterBinding.ensureInitialized();
  await windowManager.ensureInitialized();
  runApp(const MyApp());
  await windowManager.setSize(const Size(1000, 500));

Calling window manager functions on WidgetsBinding.addPostFrameCallback

  WidgetsBinding widgetsBinding = WidgetsFlutterBinding.ensureInitialized();
  await windowManager.ensureInitialized();
  widgetsBinding.addPostFrameCallback((_) {
    await windowManager.setSize(const Size(1000, 500));
  });
  runApp(const MyApp());

Calling window manager functions on waitUntilReadyToShow

  WidgetsFlutterBinding.ensureInitialized();
  await windowManager.ensureInitialized();
  windowManager.waitUntilReadyToShow().then((_) async {
    await windowManager.setSize(const Size(1000, 500));
  });
  runApp(const MyApp());

So, I guess, do one of those that works for you.

Thank you for your reply. I see this too. (I spent a few days setting up my app). And this works as you described. But instead of one function. setTitleBarStyle(TitleBarStyle someStyle) not working when calling it in main. only in WaitUntilWindowsReadyToShow or in PostFrameCallback. So that`s why I opened this issue to ask if any interesting solutions are available. Anyway, you showed all of them. So I think this issue can be closed. Thanks.


Bug Report: Error: Source path "D:/HaxeToolkit/haxe/lib/extension-webm/git/ndll/Windows64/extension-webm.ndll" does not exist

you need to do lime rebuild extension-webm windows on cmd (if you dont use windows replace "windows" with "macos" or "linux")

didnt work, came as an error
Error: ExternalInterface.cpp
D:\HaxeToolkit\haxe\lib\hxcpp\4,2,1\include\hx\OS.h(59): fatal error C1083: Cannot open include file: 'stddef.h': No such file or directory

idk then, what i said worked for me

look-

Extension-webm not found
haxelib git extension-webm github.com/KadeDev/extension-webm
lime rebuild extension-webm windows

I put the commands in a new terminal and it keeps coming out"Error: Source path "C:/HaxeToolkit/haxe/lib/extension-webm/git/ndll/Windows64/extension-webm.ndll" does not exist"
send help pls


fix: remove the companyId parameter

Jira: BUN-2871
What/Why?
remove the companyId parameter
Rollout/Rollback
undo pr
Testing

could you elaborate on the "why"? eg. we are deprecating companyId in the API. / It is no longer necessary / It was added by mistake...?


Android build failure: The number of method references in a .dex file cannot exceed 64K

Describe the bug
Attempting to integrate Detox for Android tests. detox build -c android.emu.debug fails with a dex merge error
* What went wrong:
Execution failed for task ':instabug-reactnative:mergeDexDebugAndroidTest'.
> com.android.build.api.transform.TransformException: java.lang.RuntimeException: java.lang.RuntimeException: com.android.builder.dexing.DexArchiveMergerException: Error while merging dex archives:
  The number of method references in a .dex file cannot exceed 64K.
  Learn how to resolve this issue at https://developer.android.com/tools/building/multidex.html

The strange thing is that I have multiDex enabled and everything builds fine for my debug and release builds. It only fails in the Detox debugAndroidTest configuration.
To Reproduce

[ X ] I have tested this issue on the latest Detox release and it still reproduces

Steps to reproduce:

Follow integration instructions for Detox in a RN 0.61.5 project that also uses instabug-react-native

Expected behavior
The build should use multidex as configured and not fail with the 64k dex limit error
Device and Verbose Detox Logs
N/A this is a build error
Environment (please complete the following information):

Detox: 15.2.2
React Native: 0.61.5
Node: 12.10.0
Device: N/A
OS: MacOS 10.15.3
Test-runner: Jest+jest-circus

build.gradle
// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
    ext {
        buildToolsVersion = "28.0.3"
        minSdkVersion = 18
        compileSdkVersion = 29
        targetSdkVersion = 29
        supportLibVersion = "28.0.0"
        googlePlayServicesAuthVersion = "16.0.1"
        //Fix facebook sdk version to work around bug
        //https://github.com/facebook/react-native-fbsdk/issues/701#issuecomment-581701551
        facebookSdkVersion = "5.15.1"

        kotlinVersion = '1.3.41'
    }
    repositories {
        google()
        jcenter()
        maven {
                    url 'https://maven.fabric.io/public'
                }
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:3.4.2'
        classpath 'com.google.gms:google-services:4.2.0'
        classpath 'io.fabric.tools:gradle:1.28.1'
        classpath 'com.google.firebase:firebase-plugins:1.1.5'
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

allprojects {
    repositories {
        mavenLocal()
        google()

        maven {
            // // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
            // url("$rootDir/../node_modules/react-native/android")
            // Replace AAR from original RN with AAR from react-native-v8
            url("$rootDir/../node_modules/react-native-v8/dist")
        }
        maven {
            // prebuilt libv8android.so
            url("$rootDir/../node_modules/v8-android/dist")
         }
        maven {
            // Android JSC is installed from npm
            url("$rootDir/../node_modules/jsc-android/dist")
        }
        maven {
            // All of Detox' artifacts are provided via the npm module
            url "$rootDir/../node_modules/detox/Detox-android"
        }

        jcenter()
        maven {
            url "https://sdk.smartlook.com/android/release"
        }
    	maven {
      	    url "https://sdks.instabug.com/nexus/repository/instabug-cp"
       	}

      }
}

    //TODO: HAX added to make it build per https://stackoverflow.com/questions/50574492/react-native-error-resource-androidstyle-textappearance-material-widget-butto
subprojects {
    afterEvaluate {project ->
    // force libs to use recent buildtools
        if (project.hasProperty("android")) {
            android {
                compileSdkVersion = 29  // change to match your desired version
                buildToolsVersion = "29.0.3" // ....
            }
        }
    }
}

** app/build.gradle **
apply plugin: "com.android.application"
apply plugin: "com.google.firebase.firebase-perf"
apply plugin: "io.fabric"

import com.android.build.OutputFile

project.ext.react = [
        entryFile: "index.js",
        bundleAssetName: "index.android.bundle",
        bundleInAlpha: true,
        bundleInBeta: true,
        bundleInDebug: true,
        bundleInRelease: true,
        enableHermes: false //can't enable hermes because it's missing features (Proxy) needed for mobx
        //https://github.com/facebook/react-native/issues/25740
]
apply from: "../../node_modules/react-native/react.gradle"
apply from: "../../node_modules/react-native-code-push/android/codepush.gradle"
/**
 * Set this to true to create two separate APKs instead of one:
 *   - An APK that only works on ARM devices
 *   - An APK that only works on x86 devices
 * The advantage is the size of the APK is reduced by about 4MB.
 * Upload all the APKs to the Play Store and people will download
 * the correct one based on the CPU architecture of their device.
 */
def enableSeparateBuildPerCPUArchitecture = false

def jscFlavor = 'org.webkit:android-jsc:+'
/**
 * Run Proguard to shrink the Java bytecode in release builds.
 */
def enableProguardInReleaseBuilds = false

def enableHermes = project.ext.react.get("enableHermes", false);

android {

    //release linter crashes for no reason https://stackoverflow.com/questions/49286268/error-execution-failed-for-task-app-lintvitalrelease-any-one-can-solve-it
   lintOptions {
        checkReleaseBuilds false
    }

    //Fix OOM exception on build https://stackoverflow.com/questions/33075646/getting-out-of-memory-issue-after-updating-buildtoolsversion-23-0-1-in-android
    dexOptions {
        // incremental true
        javaMaxHeapSize "4g"
    }

    compileSdkVersion rootProject.ext.compileSdkVersion

    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }

    defaultConfig {
        applicationId "com.my.app"
        minSdkVersion rootProject.ext.minSdkVersion
        targetSdkVersion rootProject.ext.targetSdkVersion
        versionCode<PHONE_NUMBER>
        versionName "1.1.10"
        multiDexEnabled true
        testBuildType System.getProperty('testBuildType', 'debug')  // This will later be used to control the test apk build type
        testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
    }
    signingConfigs {
        releaseStaging {
            if (project.hasProperty('MYAPP_STAGING_STORE_FILE')) {
                storeFile file(MYAPP_STAGING_STORE_FILE)
                storePassword MYAPP_STAGING_STORE_PASSWORD
                keyAlias MYAPP_STAGING_KEY_ALIAS
                keyPassword MYAPP_STAGING_KEY_PASSWORD
            }
        }
        release {
            if (project.hasProperty('MYAPP_RELEASE_STORE_FILE')) {
                storeFile file(MYAPP_RELEASE_STORE_FILE)
                storePassword MYAPP_RELEASE_STORE_PASSWORD
                keyAlias MYAPP_RELEASE_KEY_ALIAS
                keyPassword MYAPP_RELEASE_KEY_PASSWORD
            }
        }
    }
    splits {
        abi {
            reset()
            enable enableSeparateBuildPerCPUArchitecture
            universalApk false  // If true, also generate a universal APK
            include "armeabi-v7a", "x86", "arm64-v8a", "x86_64"
        }
    }
    buildTypes {
        debug {
            buildConfigField "String", "CODEPUSH_KEY", '""'
            // applicationIdSuffix ".debug"
            applicationIdSuffix "staging"
        }
        releaseStaging {
            buildConfigField "String", "CODEPUSH_KEY", '"mike"'
            applicationIdSuffix "staging"
            signingConfig signingConfigs.releaseStaging
            // Note: It is a good idea to provide matchingFallbacks for the new buildType you create to prevent build issues
            // Add the following line if not already there
            matchingFallbacks = ['release']
        }
        release {
            buildConfigField "String", "CODEPUSH_KEY", '"mykey"'
            minifyEnabled enableProguardInReleaseBuilds
            proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
            signingConfig signingConfigs.release
        }
    }
    // applicationVariants are e.g. debug, release
    applicationVariants.all { variant ->
        variant.outputs.each { output ->
            // For each separate APK per architecture, set a unique version code as described here:
            // http://tools.android.com/tech-docs/new-build-system/user-guide/apk-splits
            def versionCodes = ["armeabi-v7a": 1, "x86": 2, "arm64-v8a": 3, "x86_64": 4]
            def abi = output.getFilter(OutputFile.ABI)
            if (abi != null) {  // null for the universal-debug, universal-release variants
                output.versionCodeOverride =
                        versionCodes.get(abi) * 1048576 + defaultConfig.versionCode
            }
        }
    }

   //for v8 instead of JSC to fix random crashes on JSC 64bit
   //https://github.com/Kudo/react-native-v8
   //https://github.com/facebook/react-native/issues/25494
    packagingOptions {
       // Make sure libjsc.so does not packed in APK
        exclude "**/libjsc.so"
    }

}

dependencies {
    implementation project(':react-native-screens')
    implementation project(':react-native-vector-icons')
    implementation 'androidx.appcompat:appcompat:1.1.0-rc01'
    implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0-alpha02'

    androidTestImplementation('com.wix:detox:+') {
        transitive = true
        exclude group: 'org.jetbrains.kotlin', module: 'kotlin-stdlib'
    }
    androidTestImplementation 'junit:junit:4.12'

    // work around version checker issue https://github.com/Microsoft/react-native-code-push/issues/1448
    components.all {
        allVariants {
        withDependencies { deps ->
            deps.each { dep ->
            if (dep.group == 'net.minidev' && dep.name =='json-smart') {
                dep.version {
                    prefer "2.3"
                }
                dep.because "resolving dependencies issue"
            }
            }
        }
        }
    }

    implementation fileTree(dir: "libs", include: ["*.jar"])
    implementation "com.android.support:appcompat-v7:${rootProject.ext.supportLibVersion}"
    implementation "com.facebook.react:react-native:+"  // From node_modules
    // Add v8-android - prebuilt libv8android.so into APK
    implementation 'org.chromium:v8-android:+'

    implementation project(":react-native-google-signin")
    implementation "com.google.firebase:firebase-core:16.0.8"
    implementation "com.google.firebase:firebase-firestore:18.2.0"
    implementation "com.google.firebase:firebase-functions:16.3.0"
    implementation "com.google.firebase:firebase-auth:16.2.1"
    implementation "com.google.firebase:firebase-messaging:17.5.0"
    //for badge on notifications
    implementation 'me.leolin:ShortcutBadger:1.1.21@aar'
    implementation('com.crashlytics.sdk.android:crashlytics:2.9.9@aar') {
        transitive = true
      }
    implementation "com.google.firebase:firebase-perf:16.2.5"

    implementation 'com.clevertap.android:clevertap-android-sdk:3.6.0'
    implementation 'com.google.android.gms:play-services-base:16.0.1'
    implementation 'com.google.android.exoplayer:exoplayer:2.8.4' //Optional for Audio/Video
    implementation 'com.google.android.exoplayer:exoplayer-hls:2.8.4' //Optional for Audio/Video
    implementation 'com.google.android.exoplayer:exoplayer-ui:2.8.4' //Optional for Audio/Video
    implementation 'com.github.bumptech.glide:glide:4.9.0' //Mandatory for App Inbox
    implementation 'com.android.support:design:28.0.0' //Mandatory for App Inbox
    implementation 'com.android.support:multidex:1.0.3'

}

// Run this once to be able to run the application with BUCK
// puts all compile dependencies into folder libs for BUCK to use
task copyDownloadableDepsToLibs(type: Copy) {
    from configurations.compile
    into 'libs'
}

task upload_sourcemap(type: Exec) {
    environment "INSTABUG_APP_TOKEN", "token"
    commandLine 'sh', './upload_sourcemap.sh'
}

apply plugin: 'com.google.gms.google-services'

//import fonts for react native vector icons
apply from: "../../node_modules/react-native-vector-icons/fonts.gradle"
//Do this because apps will conflict over google services version even when they work fine
//https://github.com/microsoft/react-native-code-push/issues/1640
com.google.gms.googleservices.GoogleServicesPlugin.config.disableVersionCheck = true
apply from: file("../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesAppBuildGradle(project)

Fixed in the instabug-react-native package https://github.com/Instabug/Instabug-React-Native/issues/455

Wow, crazy stuff.


fix: ECS tries to pull a non-existent image on certain slices

Related to #238--what is the intended behavior for when slices are built, tagged, and pushed? If none of the services named in the integration secret belong to the profile defined by the slice, it seems that ECS looks to pull an image for a tag that doesn't get pushed and consequently hangs. Would it make sense to just push all services defined in docker-compose just so ECS at least finds something and doesn't hang?

There is an implicit/undocumented assumption that only services with a build key are actually built and assumed part of a "remote/ecs service". Any docker-compose service without a build key is assumed to be only useful for local development.


Tilt integration

Could you work with Tilt (Generic interface to multiple Ruby template engines) team to add pug-ruby to community supported template.
I also asked at their side. https://github.com/rtomayko/tilt/issues/346
Thanks
This project is awesome! I always dream of being able to use pug in ruby because all template languages in Ruby sucks, only Slim has similar syntax but does not ship all the features of pug.

Hi @noraj,
Thanks for your issue.
I will take a look later once I have more free time.
Keep in mind Jade/Pug is not a replacement for Slim, you will not be able to use Ruby in Jade/Pug template. It is designed be used as JST client side templates.

Pug native Case, Conditionals, Includes, Inheritance, Iteration, Mixins should be enough to not have to use Ruby code in most case.


ErrorException in CanFilterByUser.php line 12: Trying to get property of non-object

First Time After deploying it runs well , but then i get that error? anyone else run in?

I am not familiar with laravel and even i redeploy , it is still error


Heavily Updated Sheet for Imperium Maledictum (imports all the values from old sheet)

Submission Checklist
Required

[X] The pull request title clearly contains the name of the sheet I am editing.
[X] The pull request title clearly states the type of change I am submitting (New Sheet/New Feature/Bugfix/etc.).
[X] The pull request makes changes to files in only one sub-folder.
[X] The pull request does not contain changes to any json files in the translations folder (translation.json is permitted)

New Sheet Details

The name of this game is: <   >  (i.e. Dungeons & Dragons 5th Edition, The Dresden Files RPG)

The publisher of this game is: <   > (i.e. Wizards of the Coast, Evil Hat)

The name of this game system/family is: <   > (i.e. Dungeons & Dragons, FATE)

[ ] I have followed the Character Sheets Standards when building this sheet.

[ ] I have authorization from the game's publisher to make this an official sheet on Roll20 with their name attached.
[ ] This game is not a traditionally published game, but a copy of the game rules can be purchased/downloaded/found at: <   >
[ ] This sheet is for an unofficial fan game, modification to an existing game, or a homebrew system.

Changes / Description
Rollers have been heavily updated, the graphics have been vastly improved.  Most repeating fields now have +add buttons so they are dynamically expandable now.  A new NPC sheet has been added.

Character Sheet Info Roll20 Internal Use only.

Hey @clgarret
This looks fantastic, really well done.  I have one tiny request before I merge this:  I see you've kept the sheet.json from what I'm presuming is an alternate sheet you're merging in, under sheet2.json?  If you wouldn't mind either removing that file or renaming it to something a bit more descriptive, or placing it in an 'old sheet' folder, etc, that'd be appreciated.   If it's not named sheet.json exactly, it won't affect the sheet, so you're good there, but I can foresee its current name being a point of confusion on our end or future collaborators for the sheet.
Thanks!

I removed sheet2.json as requested.


WAR throwing Error 500 in Tomcat 8

After building the WAR with:
jruby -S warble war

The Tomcat server would unpack the WAR, and display this in the Tomcat Console.
20-Jan-2016 08:34:46.519 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version:        Apache Tomcat/8.0.21
20-Jan-2016 08:34:46.519 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built:          Mar 23 2015 14:11:21 UTC
20-Jan-2016 08:34:46.519 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server number:         <IP_ADDRESS>
20-Jan-2016 08:34:46.519 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name:               Windows 7
20-Jan-2016 08:34:46.519 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version:            6.1
20-Jan-2016 08:34:46.519 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture:          amd64
20-Jan-2016 08:34:46.519 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home:             C:\Program Files\Java\jre1.8.0_66
20-Jan-2016 08:34:46.519 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version:           1.8.0_66-b1820-Jan-2016 08:34:46.519 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor: Oracle Corporation
20-Jan-2016 08:34:46.519 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE:         C:\apache\tomcat-8.0.21
20-Jan-2016 08:34:46.519 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME:         C:\apache\tomcat-8.0.21
20-Jan-2016 08:34:46.519 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=C:\apache\tomcat-8.0.21\conf\logging.properties
20-Jan-2016 08:34:46.519 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote
20-Jan-2016 08:34:46.519 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.port=1099
20-Jan-2016 08:34:46.519 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.ssl=false
20-Jan-2016 08:34:46.519 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.authenticate=false
20-Jan-2016 08:34:46.519 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
20-Jan-2016 08:34:46.519 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.endorsed.dirs=C:\apache\tomcat-8.0.21\endorsed
20-Jan-2016 08:34:46.519 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=C:\apache\tomcat-8.0.21
20-Jan-2016 08:34:46.519 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=C:\apache\tomcat-8.0.21
20-Jan-2016 08:34:46.519 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=C:\apache\tomcat-8.0.21\temp
20-Jan-2016 08:34:46.519 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded APR based Apache Tomcat Native library 1.1.33 using APR version 1.5.1.
20-Jan-2016 08:34:46.519 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
20-Jan-2016 08:34:47.351 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized(OpenSSL 1.0.1m 19 Mar 2015)
20-Jan-2016 08:34:47.431 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-apr-8080"]
20-Jan-2016 08:34:47.431 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-apr-8009"]
20-Jan-2016 08:34:47.441 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 1126 ms
20-Jan-2016 08:34:47.471 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service Catalina
20-Jan-2016 08:34:47.471 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.0.21
20-Jan-2016 08:34:47.541 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive C:\apache\tomcat-8.0.21\webapps\jruby_hello_world.war
20-Jan-2016 08:34:50.952 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
io/console not supported; tty will not be manipulated
20-Jan-2016 08:34:55.235 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive C:\apache\tomcat-8.0.21\webapps\jruby_hello_world.war has finished in 7,694 ms
20-Jan-2016 08:34:55.245 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive C:\apache\tomcat-8.0.21\webapps\myapp-0.1-dev.war
20-Jan-2016 08:34:56.625 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
20-Jan-2016 08:34:56.635 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive C:\apache\tomcat-8.0.21\webapps\myapp-0.1-dev.war has finished in 1,390 ms
20-Jan-2016 08:34:56.645 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory C:\apache\tomcat-8.0.21\webapps\docs
20-Jan-2016 08:34:57.900 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
20-Jan-2016 08:34:57.910 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory C:\apache\tomcat-8.0.21\webapps\docs has finished in 1,265 ms
20-Jan-2016 08:34:57.920 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory C:\apache\tomcat-8.0.21\webapps\examples
20-Jan-2016 08:34:59.614 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
20-Jan-2016 08:34:59.674 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory C:\apache\tomcat-8.0.21\webapps\examples has finished in 1,754 ms
20-Jan-2016 08:34:59.684 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory C:\apache\tomcat-8.0.21\webapps\host-manager
20-Jan-2016 08:35:01.014 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
20-Jan-2016 08:35:01.024 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory C:\apache\tomcat-8.0.21\webapps\host-manager has finished in 1,340 ms
20-Jan-2016 08:35:01.024 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory C:\apache\tomcat-8.0.21\webapps\manager
20-Jan-2016 08:35:02.224 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
20-Jan-2016 08:35:02.244 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory C:\apache\tomcat-8.0.21\webapps\manager has finished in 1,220 ms
20-Jan-2016 08:35:02.244 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory C:\apache\tomcat-8.0.21\webapps\ROOT
20-Jan-2016 08:35:03.464 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
20-Jan-2016 08:35:03.484 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory C:\apache\tomcat-8.0.21\webapps\ROOT has finished in 1,240 ms
20-Jan-2016 08:35:03.494 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-apr-8080"]
20-Jan-2016 08:35:03.544 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-apr-8009"]
20-Jan-2016 08:35:03.544 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 16105 ms
io/console not supported; tty will not be manipulated

Then when the web page is loaded using http://localhost:8080/jruby_hello_world the following error is presented:

Internal Server Error (500)
Request Method: 	GET
Request URL: 	http://localhost:8080/jruby_hello_world/

no such file to load -- jruby_hello_world/version from org/jruby/RubyKernel.java:1040:in
  `require' from /C:/apache/tomcat-8.0.21/webapps/jruby_hello_world/WEB-INF/lib/jruby-stdlib-1.7.23.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:54:in
  `require' from C:/apache/tomcat-8.0.21/webapps/jruby_hello_world/WEB-INF/lib/jruby_hello_world.rb:1:in
  `(root)' from org/jruby/RubyKernel.java:1040:in
  `require' from /C:/apache/tomcat-8.0.21/webapps/jruby_hello_world/WEB-INF/lib/jruby-stdlib-1.7.23.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:1:in
  `(root)' from /C:/apache/tomcat-8.0.21/webapps/jruby_hello_world/WEB-INF/lib/jruby-stdlib-1.7.23.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:54:in
  `require' from org/jruby/RubyBasicObject.java:1594:in `instance_eval' from C:\apache\tomcat-8.0.21\webapps\jruby_hello_world\WEB-INF\config.ru:5:in
  `(root)' from C:/apache/tomcat-8.0.21/webapps/jruby_hello_world/WEB-INF/gems/gems/rack-1.6.4/lib/rack/builder.rb:55:in
  `initialize'

You're seeing this error because you use JRuby::Rack::ErrorApp::ShowStatus.

After commenting out require 'jruby_hello_world/version' from jruby_hello_world.rb, and rebuilding the WAR, I now get this output.
20-Jan-2016 09:01:30.721 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version:        Apache Tomcat/8.0.21
20-Jan-2016 09:01:30.721 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built:          Mar 23 2015 14:11:21 UTC
20-Jan-2016 09:01:30.721 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server number:         <IP_ADDRESS>
20-Jan-2016 09:01:30.721 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name:               Windows 7
20-Jan-2016 09:01:30.721 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version:            6.1
20-Jan-2016 09:01:30.721 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture:          amd64
20-Jan-2016 09:01:30.721 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home:             C:\Program Files\Java\jre1.8.0_66
20-Jan-2016 09:01:30.721 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version:           1.8.0_66-b18
20-Jan-2016 09:01:30.721 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:            Oracle Corporation
20-Jan-2016 09:01:30.721 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE:         C:\apache\tomcat-8.0.21
20-Jan-2016 09:01:30.721 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME:         C:\apache\tomcat-8.0.21
20-Jan-2016 09:01:30.721 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=C:\apache\tomcat-8.0.21\conf\logging.properties
20-Jan-2016 09:01:30.721 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote
20-Jan-2016 09:01:30.721 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.port=1099
20-Jan-2016 09:01:30.721 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.ssl=false
20-Jan-2016 09:01:30.721 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.authenticate=false
20-Jan-2016 09:01:30.721 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
20-Jan-2016 09:01:30.721 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.endorsed.dirs=C:\apache\tomcat-8.0.21\endorsed
20-Jan-2016 09:01:30.721 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=C:\apache\tomcat-8.0.21
20-Jan-2016 09:01:30.721 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=C:\apache\tomcat-8.0.21
20-Jan-2016 09:01:30.721 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=C:\apache\tomcat-8.0.21\temp
20-Jan-2016 09:01:30.721 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded APR based Apache Tomcat Native library 1.1.33 using APR version 1.5.1.
20-Jan-2016 09:01:30.721 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
20-Jan-2016 09:01:31.671 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized (OpenSSL 1.0.1m 19 Mar 2015)
20-Jan-2016 09:01:31.761 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-apr-8080"]
20-Jan-2016 09:01:31.771 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-apr-8009"]
20-Jan-2016 09:01:31.771 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 1274 ms
20-Jan-2016 09:01:31.801 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service Catalina
20-Jan-2016 09:01:31.811 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.0.21
20-Jan-2016 09:01:31.841 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive C:\apache\tomcat-8.0.21\webapps\jruby_hello_world.war
20-Jan-2016 09:01:34.957 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
io/console not supported; tty will not be manipulated
20-Jan-2016 09:01:39.663 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive C:\apache\tomcat-8.0.21\webapps\jruby_hello_world.war has finished in 7,822 ms
20-Jan-2016 09:01:39.663 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive C:\apache\tomcat-8.0.21\webapps\myapp-0.1-dev.war
20-Jan-2016 09:01:39.693 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive C:\apache\tomcat-8.0.21\webapps\myapp-0.1-dev.war has finished in 30 ms
20-Jan-2016 09:01:39.693 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory C:\apache\tomcat-8.0.21\webapps\docs
20-Jan-2016 09:01:39.723 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory C:\apache\tomcat-8.0.21\webapps\docs has finished in 20 ms
20-Jan-2016 09:01:39.723 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory C:\apache\tomcat-8.0.21\webapps\examples
20-Jan-2016 09:01:40.023 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory C:\apache\tomcat-8.0.21\webapps\examples has finished in 300 ms
20-Jan-2016 09:01:40.023 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory C:\apache\tomcat-8.0.21\webapps\host-manager
20-Jan-2016 09:01:40.053 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory C:\apache\tomcat-8.0.21\webapps\host-manager has finished in 30 ms
20-Jan-2016 09:01:40.053 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory C:\apache\tomcat-8.0.21\webapps\manager
20-Jan-2016 09:01:40.083 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory C:\apache\tomcat-8.0.21\webapps\manager has finished in 30 ms 20-Jan-2016 09:01:40.083 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory C:\apache\tomcat-8.0.21\webapps\ROOT
20-Jan-2016 09:01:40.113 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory C:\apache\tomcat-8.0.21\webapps\ROOT has finished in 30 ms
20-Jan-2016 09:01:40.123 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-apr-8080"]
20-Jan-2016 09:01:40.133 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-apr-8009"]
20-Jan-2016 09:01:40.133 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 8359 ms
io/console not supported; tty will not be manipulated

and the webpage now displays a different error.

Internal Server Error (500)
Request Method: 	GET
Request URL: 	http://localhost:8080/jruby_hello_world/

Server handler (trinidad,puma,reel,HTTP,webrick) not found. from C:/apache/tomcat-8.0.21/webapps/jruby_hello_world/WEB-INF/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:1781:in `detect_rack_handler'
from C:/apache/tomcat-8.0.21/webapps/jruby_hello_world/WEB-INF/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:1437:in `run!'
from C:\apache\tomcat-8.0.21\webapps\jruby_hello_world\WEB-INF\config.ru:7:in `(root)'
from org/jruby/RubyBasicObject.java:1594:in `instance_eval'
from C:/apache/tomcat-8.0.21/webapps/jruby_hello_world/WEB-INF/gems/gems/rack-1.6.4/lib/rack/builder.rb:55:in `initialize'
from C:\apache\tomcat-8.0.21\webapps\jruby_hello_world\WEB-INF\config.ru:1:in `(root)'

You're seeing this error because you use JRuby::Rack::ErrorApp::ShowStatus.

After commenting out require 'jruby_hello_world/version' from jruby_hello_world.rb

your app is the mixture of config.ru rackup app and gem. that's why it seems as a messy .war and you need to mangle with setting default executables. if you remove .gemspec and declare dependencies in Gemfile (e.g. gem 'sinatra' instead of gemspec than bundle install) the warble generated .war should detect config.ru (and not built a self-executable .jar instead).
you're also mixing up bundler's gems with gems configured to be included via warble.rb you should not use the two - either use Bundler or declare gems needed to be included with config.gems +=  ...
second by the time you're hitting require 'jruby_hello_world/version' (which is coming from config.ru 's require './lib/jruby_hello_world') lib is not on the LOAD_PATH which is clear if you look at tomcat's logs:
--- $LOAD_PATH:
/opt/server/tomcat-8.0.30/webapps/sinatra/WEB-INF
/opt/server/tomcat-8.0.30/webapps/sinatra/WEB-INF/gems/gems/rack-1.5.5/lib
file:/opt/server/tomcat-8.0.30/webapps/sinatra/WEB-INF/lib/jruby-stdlib-1.7.24.jar!/META-INF/jruby.home/lib/ruby/1.9/site_ruby
file:/opt/server/tomcat-8.0.30/webapps/sinatra/WEB-INF/lib/jruby-stdlib-1.7.24.jar!/META-INF/jruby.home/lib/ruby/shared
file:/opt/server/tomcat-8.0.30/webapps/sinatra/WEB-INF/lib/jruby-stdlib-1.7.24.jar!/META-INF/jruby.home/lib/ruby/1.9

22-Jan-2016 06:58:51.954 SEVERE [localhost-startStop-2] org.apache.catalina.core.ApplicationContext.log ERROR: initialization failed
 org.jruby.rack.RackInitializationException: no such file to load -- jruby_hello_world/version
	from org/jruby/RubyKernel.java:1040:in `require'
	from /opt/server/tomcat-8.0.30/webapps/sinatra/WEB-INF/lib/jruby-stdlib-1.7.24.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:54:in `require'
	from /opt/server/tomcat-8.0.30/webapps/sinatra/WEB-INF/lib/jruby_hello_world.rb:1:in `(root)'
	from org/jruby/RubyKernel.java:1040:in `require'
	from /opt/server/tomcat-8.0.30/webapps/sinatra/WEB-INF/lib/jruby-stdlib-1.7.24.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:1:in `(root)'
	from /opt/server/tomcat-8.0.30/webapps/sinatra/WEB-INF/lib/jruby-stdlib-1.7.24.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:54:in `require'
	from org/jruby/RubyBasicObject.java:1594:in `instance_eval'
	from /opt/server/tomcat-8.0.30/webapps/sinatra/WEB-INF/config.ru:5:in `(root)'
	from /opt/server/tomcat-8.0.30/webapps/sinatra/WEB-INF/gems/gems/rack-1.5.5/lib/rack/builder.rb:55:in `initialize'

you either add it or use absolute paths for files under lib

If I wanted to keep the gemspec, then would I just use the command:
jruby -S bundle exec warble war

to build the WAR, or is my only option to remove the gemspec and fill in the Gemfile?

Adding the following to the config.ru in the gem's base directory allowed the WAR to be built, and ran in Tomcat
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)


Rpc between 2 machines

I am trying to use rpc between 2 different machines. Trying to connect the 2 machines by rabbitmq shovels. Nameko is not able to find the remote method.  Is there a way to do rpc on a different machine?

Answered on the forum


Implemented the post message cap to 500 characters

Description
This PR allows to cap the post message length to 500 characters, fixing #67
Checklist

[x] Targeted PR against correct branch.
[x] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
[x] Wrote tests.
[ ] Added an entry to the CHANGELOG.md file.
[ ] Re-reviewed Files changed in the Github PR explorer.

Codecov Report

Merging #70 into master will increase coverage by 0.28%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #70      +/-   ##
==========================================
+ Coverage   75.36%   75.65%   +0.28%
==========================================
  Files          17       17
  Lines         759      768       +9
==========================================
+ Hits          572      581       +9
  Misses        176      176
  Partials       11       11

Impacted Files
Coverage Δ

x/posts/internal/types/msgs.go
100% <100%> (ø)
:arrow_up:

x/posts/internal/types/post.go
95.65% <100%> (+0.24%)
:arrow_up:

Continue to review full report at Codecov.

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

I'd like to have @kwunyeung reviewing this PR too if possible :smile:


az ad app permission admin-consent --id  $appid Forbidden Message

Describe the bug
az ad app permission admin-consent --id  $appid
is giving me a Forbidden error.
Forbidden({"ClassName":"Microsoft.Portal.Framework.Exceptions.ClientException","Message":"Graph call failed with httpCode=Forbidden, errorCode=Authorization_RequestDenied, errorMessage=This operation can only be performed by an administrator.
To Reproduce
I am following in Azure sample:
https://github.com/Azure-Samples/azure-cli-samples/blob/master/aks/azure-ad-integration/azure-ad-integration.sh
The failure occurs on line 59.
Expected behavior
I expect to be able to consent to permissions for my application ID have registered in active directory.
Environment summary
Run WSL / Ubuntu on Windows. Following the example here:
https://github.com/Azure-Samples/azure-cli-samples/blob/master/aks/azure-ad-integration/azure-ad-integration.sh
Additional context
Here is an image of the error:

I may also be locked down as I am using the MS Tenant:

az ad

az ad

Ok, it worked from another subscription that I owned, not MS. Makes more sense.
az ad app permission grant --id 6efcb928-a0ac-49f7-90e4-211377cd1234 --api 00000003-0000-0000-c000-000000000000
{
"clientId": "aaaaa1-cc95-4600-b8f9-cf979ab2369e",
"consentType": "AllPrincipals",
"expiryTime": "2022-01-05T00:11:44.372243",
"objectId": "cfsadfsadfAEa4-c-XmrI2nsJ5wvaAC05OnOnzUdX1TXc",
"odata.metadata": "https://graph.windows.net/ade82855-7143-4a84-950e-c9007506f8bb/$metadata#oauth2PermissionGrants/@Element",
"odatatype": null,
"principalId": null,
"resourceId": "f6c279c2dsaffd9ce9-f351d5f54d77",
"scope": "user_impersonation",
"startTime": "2021-01-05T00:11:44.372243"
}

Ok, it worked from another subscription that I owned, not MS. Makes more sense.
az ad app permission grant --id 6efcb928-a0ac-49f7-90e4-211377cd1234 --api 00000003-0000-0000-c000-000000000000
{
"clientId": "aaaaa1-cc95-4600-b8f9-cf979ab2369e",
"consentType": "AllPrincipals",
"expiryTime": "2022-01-05T00:11:44.372243",
"objectId": "cfsadfsadfAEa4-c-XmrI2nsJ5wvaAC05OnOnzUdX1TXc",
"odata.metadata": "https://graph.windows.net/ade82855-7143-4a84-950e-c9007506f8bb/$metadata#oauth2PermissionGrants/@Element",
"odatatype": null,
"principalId": null,
"resourceId": "f6c279c2dsaffd9ce9-f351d5f54d77",
"scope": "user_impersonation",
"startTime": "2021-01-05T00:11:44.372243"
}


io.netty.util.collection is not exist in source code

Expected behavior
Actual behavior

Steps to reproduce
Minimal yet complete reproducer code (or URL to code)
Netty version
4.1
JVM version (e.g. java -version)
java version "1.8.0_321"
Java(TM) SE Runtime Environment (build 1.8.0_321-b07)
Java HotSpot(TM) 64-Bit Server VM (build 25.321-b07, mixed mode)
OS version (e.g. uname -a)

It's generated at build time. Do a test-compile with Maven, and Intellij should be able to pick up the generated sources.


Explicitly convert assignable nil interface values

The reflect package has a bug (golang/go#22143).
Let R and T both be interface types and R be assignable to T.
Let F be a function that takes T as its argument.

Currently, reflect allows you to call F with a nil T,
but panics when calling F with a nil R. To avoid this panic,
we explicitly check for the condition where a value:
* is an interface type
* is nil
* is not exactly same as type T
and re-create the value as a nil interface of type T.

The reflect package has a bug (golang/go#22143).

Fun observation, the GopherJS implementation of reflect package (a custom one) does not have this bug. https://gopherjs.github.io/playground/#/bRzJ0dQ_0W prints 4 trues, as expected.


Duplicate canonical

The canonical url of the pages is printed in duplicate. Everything indicates that this is due to the use of the jekyll-seo-tag plugin. Plus the included "code" to generate the canonical URL.
This error occurs both in the template and in your personal blog. And obviously it also happened on my website.

I have commented <link rel="canonical" href="{{ page.url | replace:'index.html','' | absolute_url }}">in the file _includes/head.html. I guess I could delete it
But. I do not know. If exactly it will be the best formula to solve it. But for now. This has been corrected.

P.D.: On your personal blog @sylhare the canonical url is shown with two final slashes. I don't know if that affects performance at all. But it looks a bit strange. I think it is the fault of the final slash of the "base" url of the config page in your site config.
S2 🤗

Yup I will take a look into it . ;)

So after checking, it is indeed part of the jekyll SEO plugin, so I will be removing the manual one that will resolve the duplication.


[SQL] Check if need add repartition through project

Why are the changes needed?

Avoid unnecessary shuffle
How was this patch tested?
Add test

As 1.2.0 has not released, it's better to merge into branch-1.2 : )

Codecov Report

Merging #715 (9b14677) into master (cd32e4a) will increase coverage by 0.01%.
The diff coverage is 86.66%.

:exclamation: Current head 9b14677 differs from pull request most recent head 5942320. Consider uploading reports for the commit 5942320 to get more accurate results

@@            Coverage Diff             @@
##           master     #715      +/-   ##
==========================================
+ Coverage   80.52%   80.53%   +0.01%
==========================================
  Files         122      122
  Lines        4730     4743      +13
  Branches      572      574       +2
==========================================
+ Hits         3809     3820      +11
- Misses        600      601       +1
- Partials      321      322       +1

Impacted Files
Coverage Δ

...rg/apache/kyuubi/engine/spark/SparkSQLEngine.scala
68.51% <66.66%> (-0.72%)
:arrow_down:

...g/apache/kyuubi/engine/spark/KyuubiSparkUtil.scala
90.90% <80.00%> (-3.21%)
:arrow_down:

...in/scala/org/apache/kyuubi/config/KyuubiConf.scala
93.96% <100.00%> (+0.08%)
:arrow_up:

...uthentication/LdapAuthenticationProviderImpl.scala
92.00% <100.00%> (+0.33%)
:arrow_up:

Continue to review full report at Codecov.

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

Thanks, merged for v1.2.0 and v1.3.0


Check maybe undefined behavior

https://github.com/itpplasma/libneo/blob/d55908cc0b827707874e5ffea7e6ad500869a2b8/src/magfie/field_divB0.f90#L914
Zw and Rw are never initialized and it is not obviously guaranteed that the branches that do this will be hit in any case.

Maybe skip the re-interpolation to 360 elements entirely?


PT Run interface does not scale correctly in high DPI screens

Microsoft PowerToys version
0.76.0
Installation method
PowerToys auto-update
Running as admin
Yes
Area(s) with issue?
PowerToys Run
Steps to reproduce

Have PowerToys + PT Run enabled and running in the background
Change the monitor resolution to something higher than 100% (in this case, 150%)

✔ Expected Behavior
The PT Run interface to scale itself correctly, just like the PowerToys settings interface.
❌ Actual Behavior
It does not. Windows then resorted to using its high DPI scaling fix, which is difficult, or at the very least, lengthy to override.

Other Software
No response

FYI @niels9001

I'm experiencing this as well on 0.78, on a desktop environment with three monitors at 100% scaling and one at 125%. My primary monitor is one of the 100% ones, so when PowerToys run opens on the 125% monitor, it is blurry.

/dup https://github.com/microsoft/PowerToys/issues/8949


oui.txt fails to download

Describe the bug
The oui.txt file is downloaded multiple times during the install process. Occasionally, the download will fail for an unknown reason (eg rate limit exceeded)
Expected behavior
The oui.txt file will be downloaded just once and then distributed to required containers

oui.txt is now only downloaded where necessary, using the correct link


Add more details to getting started description

This PR enhances the description in getting-started section.

Let's merge once green (don't see why it shouldn't be).


neptune.ai logger produces lots of errors when logging "training/epoch"

Bug description
Neptune logger gives a lot of errors like "[neptune] [error  ] Error occurred during asynchronous operation processing: X-coordinates (step) must be strictly increasing for series attribute: training/epoch. Invalid point: 34.0"
Those are actually false positives, the "training/epoch" curve in the neptune UI looks fine.
similar to https://github.com/Lightning-AI/pytorch-lightning/issues/2946
What version are you seeing the problem on?
v2.2
How to reproduce the bug
setup NEPTUNE_API_TOKEN and NEPTUNE_PROJECT first for a proper connection to neptune.ai

import os

import lightning as lit
import torch
from lightning.pytorch.loggers import NeptuneLogger
from torch.utils.data import Dataset, DataLoader

class DummyDataset(Dataset):
    def __init__(self):
        pass

    def __len__(self):
        return 100

    def __getitem__(self, item):
        return {"image": torch.rand(3, 16, 16), "label": torch.randint(0, 100, (1,))}

class DummyModel(lit.LightningModule):
    def __init__(self):
        super().__init__()
        self.model = torch.nn.Linear(3 * 16 * 16, 100)
        self.epoch_identifier = "dummy"

    def forward(self, x):
        return self.model(x)

    def training_step(self, batch, batch_idx):
        x, y = batch["image"], batch["label"]
        x = x.view(x.size(0), -1)
        y = y.view(-1)
        logits = self.model(x)
        loss = torch.nn.functional.cross_entropy(logits, y)
        self.log("train_loss", loss, on_step=True, on_epoch=True, prog_bar=True, logger=True)
        return loss

    def configure_optimizers(self):
        optimizer = torch.optim.Adam(self.parameters(), lr=1e-3)
        return optimizer

    def validation_step(self, batch, batch_idx):
        x, y = batch["image"], batch["label"]
        x = x.view(x.size(0), -1)
        y = y.view(-1)
        logits = self.model(x)
        loss = torch.nn.functional.cross_entropy(logits, y)
        self.log("val_loss", loss, on_step=True, on_epoch=True, prog_bar=True, logger=True)

    def test_step(self, batch, batch_idx):
        return self.validation_step(batch, batch_idx)

def main():
    wlogger = NeptuneLogger(log_model_checkpoints=False)
    output_dir = "temp_lit"
    os.makedirs(output_dir, exist_ok=True)

    trainer = lit.Trainer(
        devices=1,
        default_root_dir=output_dir,
        logger=wlogger,
        max_epochs=5,
        enable_progress_bar=False,
        log_every_n_steps=5,
    )
    model = DummyModel()
    dataset = DummyDataset()
    train_loader = DataLoader(dataset, batch_size=16, num_workers=4)
    val_loader = DataLoader(dataset, batch_size=16, num_workers=4)
    trainer.fit(model, train_loader, val_loader)

if __name__ == "__main__":
    main()

### Error messages and logs

GPU available: True (cuda), used: True
TPU available: False, using: 0 TPU cores
IPU available: False, using: 0 IPUs
HPU available: False, using: 0 HPUs
[neptune] [info   ] Neptune initialized. Open in the app: https://app.neptune.ai/ [...]
LOCAL_RANK: 0 - CUDA_VISIBLE_DEVICES: [0,1]
| Name  | Type   | Params
0 | model | Linear | 76.9 K
76.9 K    Trainable params
0         Non-trainable params
76.9 K    Total params
0.308     Total estimated model params size (MB)
[neptune] [error  ] Error occurred during asynchronous operation processing: X-coordinates (step) must be strictly increasing for series attribute: training/epoch. Invalid point: 6.0
[neptune] [error  ] Error occurred during asynchronous operation processing: X-coordinates (step) must be strictly increasing for series attribute: training/epoch. Invalid point: 13.0
[neptune] [error  ] Error occurred during asynchronous operation processing: X-coordinates (step) must be strictly increasing for series attribute: training/epoch. Invalid point: 20.0
[neptune] [error  ] Error occurred during asynchronous operation processing: X-coordinates (step) must be strictly increasing for series attribute: training/epoch. Invalid point: 27.0
Trainer.fit stopped: max_epochs=5 reached.
[neptune] [info   ] Shutting down background jobs, please wait a moment...
[neptune] [info   ] Done!
[neptune] [info   ] Waiting for the remaining 17 operations to synchronize with Neptune. Do not kill this process.
[neptune] [error  ] Error occurred during asynchronous operation processing: X-coordinates (step) must be strictly increasing for series attribute: training/epoch. Invalid point: 34.0
[neptune] [error  ] Error occurred during asynchronous operation processing: X-coordinates (step) must be strictly increasing for series attribute: training/epoch. Invalid point: 34.0
[neptune] [info   ] All 17 operations synced, thanks for waiting!
[neptune] [info   ] Explore the metadata in the Neptune app: https://app.neptune.ai/ [...]

### Environment

<details>
  <summary>Current environment</summary>

* CUDA:
	- GPU:
		- NVIDIA GeForce GTX 1070 Ti
		- Quadro P400
	- available:         True
	- version:           12.1
* Lightning:
	- lightning:         2.2.1
	- lightning-utilities: 0.11.0
	- pytorch-lightning: 2.2.1
	- torch:             2.2.1
	- torchaudio:        2.2.1
	- torchmetrics:      1.3.2
	- torchvision:       0.17.1
* Packages:
	- aiohttp:           3.9.3
	- aiosignal:         1.3.1
	- arrow:             1.3.0
	- async-timeout:     4.0.3
	- attrs:             23.2.0
	- boto3:             1.34.66
	- botocore:          1.34.66
	- bravado:           11.0.3
	- bravado-core:      6.1.1
	- brotli:            1.0.9
	- certifi:           2024.2.2
	- charset-normalizer: 2.0.4
	- click:             8.1.7
	- filelock:          3.13.1
	- fqdn:              1.5.1
	- frozenlist:        1.4.1
	- fsspec:            2024.3.1
	- future:            1.0.0
	- gitdb:             4.0.11
	- gitpython:         3.1.42
	- gmpy2:             2.1.2
	- idna:              3.4
	- isoduration:       20.11.0
	- jinja2:            3.1.3
	- jmespath:          1.0.1
	- jsonpointer:       2.4
	- jsonref:           1.1.0
	- jsonschema:        4.21.1
	- jsonschema-specifications: 2023.12.1
	- lightning:         2.2.1
	- lightning-utilities: 0.11.0
	- markupsafe:        2.1.3
	- mkl-fft:           1.3.8
	- mkl-random:        1.2.4
	- mkl-service:       2.4.0
	- monotonic:         1.6
	- mpmath:            1.3.0
	- msgpack:           1.0.8
	- multidict:         6.0.5
	- neptune:           1.9.1
	- networkx:          3.1
	- numpy:             1.26.4
	- oauthlib:          3.2.2
	- packaging:         24.0
	- pandas:            2.2.1
	- pillow:            10.2.0
	- pip:               23.3.1
	- psutil:            5.9.8
	- pyjwt:             2.8.0
	- pysocks:           1.7.1
	- python-dateutil:   2.9.0.post0
	- pytorch-lightning: 2.2.1
	- pytz:              2024.1
	- pyyaml:            6.0.1
	- referencing:       0.34.0
	- requests:          2.31.0
	- requests-oauthlib: 1.4.0
	- rfc3339-validator: 0.1.4
	- rfc3986-validator: 0.1.1
	- rpds-py:           0.18.0
	- s3transfer:        0.10.1
	- setuptools:        68.2.2
	- simplejson:        3.19.2
	- six:               1.16.0
	- smmap:             5.0.1
	- swagger-spec-validator: 3.0.3
	- sympy:             1.12
	- torch:             2.2.1
	- torchaudio:        2.2.1
	- torchmetrics:      1.3.2
	- torchvision:       0.17.1
	- tqdm:              4.66.2
	- triton:            2.2.0
	- types-python-dateutil: <IP_ADDRESS>40316
	- typing-extensions: 4.9.0
	- tzdata:            2024.1
	- uri-template:      1.3.0
	- urllib3:           2.1.0
	- webcolors:         1.13
	- websocket-client:  1.7.0
	- wheel:             0.41.2
	- yarl:              1.9.4
* System:
	- OS:                Linux
	- architecture:
		- 64bit
		- ELF
	- processor:         x86_64
	- python:            3.10.13
	- release:           5.4.0-172-generic
	- version:           #190-Ubuntu SMP Fri Feb 2 23:24:22 UTC 2024

</details>

### More info

_No response_

You can follow updates to this issue here: https://github.com/neptune-ai/neptune-client/issues/1702
Be assured, though, that this "error" does not lead to data loss. It is merely caused by the training and validation loops trying to log the epoch number to the same namespace. Since it is already logged, and Neptune always expects the "step" to be increasing, the duplicate epoch value at the same step is dropped.
More details about this error here: https://docs.neptune.ai/help/error_step_must_be_increasing/


[ODS-5745] ResourceClaimMetadata changes for multi-version support

Rebased main with ODS-5714 and added the test fixes in this PR
To test, checkout branch ODS-5714 from [Ed-Fi-Databases]  and run DbDeploy with the following parameters
For MsSql
deploy --engine SqlServer -d Security --connectionString "Server=localhost; Database=EdFi_Security_Test; Integrated Security=True; Application Name=EdFi.Db.Deploy;" --filePaths "../../../../../../Ed-Fi-ODS/Application/EdFi.Ods.Standard","../../../../../../Ed-Fi-Ods/","../../../../../../Ed-Fi-ODS-Implementation/"  --standardVersion 4.0.0
For PgSql
deploy --engine PostgreSql -d Security --connectionString "Host= localhost; Port=5432; Database=EdFi_Security_Test; username=postgres; Application Name=EdFi.Db.Deploy;" --filePaths "../../../../../../Ed-Fi-ODS/Application/EdFi.Ods.Standard","../../../../../../Ed-Fi-Ods/","../../../../../../Ed-Fi-ODS-Implementation/" --standardVersion 4.0.0

I did not removed any DataStandard.sql from the Artifacts folder, because there are other scripts that also modify values that are initially added by the ResourceClaimMetadata scripts

"commandLineArgs": "deploy --engine PostgreSql -d Security --connectionString "Host=localhost; Port=5432; Database=EdFi_Security_Test; username=postgres; Application Name=EdFi.Db.Deploy;" --filePaths "../../../../../../Ed-Fi-ODS/Application/EdFi.Ods.Standard"  "../../../../../../Ed-Fi-Ods/" "../../../../../../Ed-Fi-ODS-Implementation/"  --standardVersion 4.0.0"
PostgresSql is failing again
2023-03-27 21:59:07,015 [1] INFO  PostgresUpgradeEngineFactory - Executing Database Server script 'EdFi.Ods.Standard.Standard.4.0.0.Artifacts.PgSql.Data.Security.0001-ResourceClaimMetadata_generated.sql'
2023-03-27 21:59:07,023 [1] INFO  PostgresUpgradeEngineFactory - Checking whether journal table exists..
2023-03-27 21:59:07,316 [1] INFO  PostgresUpgradeEngineFactory - Npgsql exception has occured in script: 'EdFi.Ods.Standard.Standard.4.0.0.Artifacts.PgSql.Data.Security.0001-ResourceClaimMetadata_generated.sql'
2023-03-27 21:59:07,317 [1] ERROR PostgresUpgradeEngineFactory - Script block number: 0; Block line 1953; Position: 0; Message: 23502: null value in column "claimsetid" of relation "claimsetresourceclaimactions" violates not-null constraint
DETAIL: Detail redacted as it may contain sensitive data. Specify 'Include Error Detail' in the connection string to include this information.
2023-03-27 21:59:07,401 [1] ERROR PostgresUpgradeEngineFactory - Npgsql.PostgresException (0x80004005): 23502: null value in column "claimsetid" of relation "claimsetresourceclaimactions" violates not-null constraint
DETAIL: Detail redacted as it may contain sensitive data. Specify 'Include Error Detail' in the connection string to include this information.
at Npgsql.Internal.NpgsqlConnector.g__ReadMessageLong|211_0(NpgsqlConnector connector, Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage)
at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)
at Npgsql.NpgsqlDataReader.NextResult()
at Npgsql.NpgsqlCommand.ExecuteReader(CommandBehavior behavior, Boolean async, CancellationToken cancellationToken)
at Npgsql.NpgsqlCommand.ExecuteReader(CommandBehavior behavior, Boolean async, CancellationToken cancellationToken)
at Npgsql.NpgsqlCommand.ExecuteNonQuery(Boolean async, CancellationToken cancellationToken)
at Npgsql.NpgsqlCommand.ExecuteNonQuery()
at DbUp.Support.ScriptExecutor.ExecuteNonQuery(IDbCommand command)
at DbUp.Postgresql.PostgresqlScriptExecutor.ExecuteCommandsWithinExceptionHandler(Int32 index, SqlScript script, Action executeCommand)
Exception data:
Severity: ERROR
SqlState: 23502
MessageText: null value in column "claimsetid" of relation "claimsetresourceclaimactions" violates not-null constraint
Detail: Detail redacted as it may contain sensitive data. Specify 'Include Error Detail' in the connection string to include this information.
Where: SQL statement "WITH DistrictHostedSisVendorClaims AS (
select ac.ActionId, claim_set_id as ClaimSetId, ResourceClaimId, cast(null as int) as ValidationRuleSetNameOverride
from dbo.ResourceClaims
inner join lateral
(select ActionId
from dbo.Actions
where ActionName IN ('Read')) as ac on true
where ResourceName IN ('types', 'systemDescriptors', 'educationOrganizations', 'localEducationAgency')
un

@simpat-jesus Fix Codegen and Fix All Extension including new parameter standardVersion ,then run Database Template build to update all package version

"commandLineArgs": "deploy --engine PostgreSql -d Security --connectionString "Host=localhost; Port=5432; Database=EdFi_Security_Test; username=postgres; Application Name=EdFi.Db.Deploy;" --filePaths "../../../../../../Ed-Fi-ODS/Application/EdFi.Ods.Standard" "../../../../../../Ed-Fi-Ods/" "../../../../../../Ed-Fi-ODS-Implementation/" --standardVersion 4.0.0"
PostgresSql is failing again
2023-03-27 21:59:07,015 [1] INFO PostgresUpgradeEngineFactory - Executing Database Server script 'EdFi.Ods.Standard.Standard.4.0.0.Artifacts.PgSql.Data.Security.0001-ResourceClaimMetadata_generated.sql' 2023-03-27 21:59:07,023 [1] INFO PostgresUpgradeEngineFactory - Checking whether journal table exists.. 2023-03-27 21:59:07,316 [1] INFO PostgresUpgradeEngineFactory - Npgsql exception has occured in script: 'EdFi.Ods.Standard.Standard.4.0.0.Artifacts.PgSql.Data.Security.0001-ResourceClaimMetadata_generated.sql' 2023-03-27 21:59:07,317 [1] ERROR PostgresUpgradeEngineFactory - Script block number: 0; Block line 1953; Position: 0; Message: 23502: null value in column "claimsetid" of relation "claimsetresourceclaimactions" violates not-null constraint DETAIL: Detail redacted as it may contain sensitive data. Specify 'Include Error Detail' in the connection string to include this information. 2023-03-27 21:59:07,401 [1] ERROR PostgresUpgradeEngineFactory - Npgsql.PostgresException (0x80004005): 23502: null value in column "claimsetid" of relation "claimsetresourceclaimactions" violates not-null constraint
DETAIL: Detail redacted as it may contain sensitive data. Specify 'Include Error Detail' in the connection string to include this information. at Npgsql.Internal.NpgsqlConnector.g__ReadMessageLong|211_0(NpgsqlConnector connector, Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage) at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken) at Npgsql.NpgsqlDataReader.NextResult() at Npgsql.NpgsqlCommand.ExecuteReader(CommandBehavior behavior, Boolean async, CancellationToken cancellationToken) at Npgsql.NpgsqlCommand.ExecuteReader(CommandBehavior behavior, Boolean async, CancellationToken cancellationToken) at Npgsql.NpgsqlCommand.ExecuteNonQuery(Boolean async, CancellationToken cancellationToken) at Npgsql.NpgsqlCommand.ExecuteNonQuery() at DbUp.Support.ScriptExecutor.ExecuteNonQuery(IDbCommand command) at DbUp.Postgresql.PostgresqlScriptExecutor.ExecuteCommandsWithinExceptionHandler(Int32 index, SqlScript script, Action executeCommand) Exception data: Severity: ERROR SqlState: 23502 MessageText: null value in column "claimsetid" of relation "claimsetresourceclaimactions" violates not-null constraint Detail: Detail redacted as it may contain sensitive data. Specify 'Include Error Detail' in the connection string to include this information. Where: SQL statement "WITH DistrictHostedSisVendorClaims AS ( select ac.ActionId, claim_set_id as ClaimSetId, ResourceClaimId, cast(null as int) as ValidationRuleSetNameOverride from dbo.ResourceClaims inner join lateral (select ActionId from dbo.Actions where ActionName IN ('Read')) as ac on true where ResourceName IN ('types', 'systemDescriptors', 'educationOrganizations', 'localEducationAgency') un

Can you share the steps to reproduce this issue?


Security Groups - Unrestricted Access

Several security groups have unrestricted access.
mojo-production-nac-radius-container	tcp	2083	Red	<IP_ADDRESS>/0
mojo-production-nac-radius-container	udp	1812	Red	<IP_ADDRESS>/0
According to AWS security advisory report, these security groups need better IP restrictions.

@emileswarts please update @mTouhid

Hey team! Please add your planning poker estimate with ZenHub @ASTRobinson @bagg3rs @kyphutruong @mitchdawson1982 @moontune @mTouhid @wanieldilson

We accept this as is. Make sure this is ignored in AWS Trusted advisories and then close this issue.

Excluded from TA


Upgrade IBM JMS Client to <IP_ADDRESS>

Thanks @jamesnetherton - is there any changelog of IBM MQ client? I just wonder if there is a chance to revisit the native issue

https://github.com/apache/camel-quarkus/issues/4924

Thanks @jamesnetherton - is there any changelog of IBM MQ client? I just wonder if there is a chance to revisit the native issue

I struggled to find any specific changelog notes for the Java client. Only these general docs:
https://www.ibm.com/docs/en/ibm-mq/9.4?topic=mq-whats-new-changed-in-940
From what I understand 9.4 is backwards compatible with older MQ versions (going back to 6.x).
Native support is still broken. The javax package usage is fixed but there are failures due to JMX usage. It could probably be solved, but I wonder if doing it in this project is the right place.

Yeah, it could be good to have a quarkiverse extension for IBM MQ client. See

https://github.com/quarkusio/quarkus/issues/15655


Missing step - bot must be multi tenant

When initially creating the Azure bot, you must choose the Multi Tenant app type - otherwise the Open in Bot Composer link is not available.

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

ID: 0ac570c6-8532-b972-be2f-8e655ef34db2
Version Independent ID: f01007a1-bf5b-92c6-7178-1963b052e5dc
Content: Create a bot in Azure - Bot Framework Composer
Content Source: composer-docs/quickstart-create-bot-with-azure.md
Service: bot-composer
GitHub Login: @emgrol
Microsoft Alias: v-eolshefski

Thanks for letting us know about this @GraemeMalcolm. This is a duplicate and will be updated shortly.
related: https://github.com/MicrosoftDocs/composer-docs/issues/182


[Feature Request] Generate  a diagram as a pptx file

Request
Currently, awsdac generates a diagram as a image file.
If you also get results in pptx format, you can manually rearrange the figures based on it.

To generate PPTX file need to export as a vector graphics, so wait until export as svg is implemented #99. move to Pending


unwrap panic in graph.rs, edge_by_screen_pos

edge_by_screen_pos panics if you are clicking and holding a node while extending the graph.
Seems to be because self.g.edge_endpoints(e.id()) returns None.
The following seems to work as a fix, but not sure if this is a bigger bug.
    pub fn edge_by_screen_pos(&self, meta: &Metadata, screen_pos: Pos2) -> Option<EdgeIndex<Ix>> {
        let pos_in_graph = meta.screen_to_canvas_pos(screen_pos);
        for (idx, e) in self.edges_iter() {
            let (idx_start, idx_end) = match self.g.edge_endpoints(e.id()) {
                Some((start, end)) => (start, end),
                None => continue,
            };
            let start = self.g.node_weight(idx_start).unwrap();
            let end = self.g.node_weight(idx_end).unwrap();
            if e.display().is_inside(start, end, pos_in_graph) {
                return Some(idx);
            }
        }

        None
    }

I am not sure if this is reproducable during the intended usage.