Add Axify to servers

General:

[ ] The pull request title is descriptive. (ex. Added Lunar Network, not Updated metadata.json)
[ ] The pull request does not contain any unrelated commits. (ex. commits from previous pull requests)

Mapping Additions or Updates:

[ ] Folder with appropriate name has been created / updated (must not include any non-alpha characters or whitespace).
[ ] No changes were made to the file's formatting (4 spaces per tab).
[ ] There are no syntax errors.
[ ] There is no pre-existing mapping matching my id (check if there is an existing folder).
[ ] My field values match your requirements.
You can view our patterns here: metadata.schema.json, or take a look below and complete the field checklist:

[ ] id: a lowercase string, which should match the folder name (ex. myserver)
[ ] name: a string (ex. MyServerPvP)
[ ] description: hook between 16 and 80 characters (ex. Home of Competitive Minecraft PvP)
[ ] addresses: an array with lowercase strings (ex. ["my.server", "your-server.com"])

You do not need to specify subdomains, Lunar Client services automatically detect them.

[ ] primaryAddress: the primary address that people connect to with (please include the subdomain if required) (ex. mc.my.server)
[ ] minecraftVersions: an array with Minecraft versions as strings _(ex. ["1.18._", "1.19.2"] - Must be versions or subversions supported by Lunar Client)*
[ ] primaryMinecraftVersion: a Minecraft version as a string (ex. 1.19.2 - Must be a subversion supported by Lunar Client)
[ ] primaryColor: a hexademical color code that primarily distinguishes the server (ex. #00FFFF)
[ ] secondaryColor: a hexademical color code that accompanies the primaryColor of the server (ex. #FF0000)
[ ] primaryRegion: the primary region where your server operates in (ex. NA)
[ ] regions: a list of regions where you have servers located that service your players (ex. ["NA", "EU", "AS"])
[ ] gameTypes: a list of games that describe the content on your server, must be a max of 3 listed (ez. ["PVP", "UHC", "HCF"])
[ ] crossplay: whether the server has support for Bedrock Edition players (through proxies such as GeyserMC)
[ ] (optional) presentationVideo: YouTube video ID (in slug) to server trailer / introduction (ex. 7EV4cPuJvXE)
[ ] (optional) website: url of server website, must include URL schema (http:// or https://) (ex. https://www.your-server.com)
[ ] (optional) store: url of server store, must include URL schema (http:// or https://) (ex. https://store.your-server.com)

Socials

[ ] (optional) twitter: username of twitter account without the @ (ex. MyServer)
[ ] (optional) discord: invite link to discord (ex. https://discord.com/invite/4ceEJuH)
[ ] (optional) youtube: slug or username of youtube channel (ex. MyServer)
[ ] (optional) instagram: username of instagram account (ex. MyServer)
[ ] (optional) twitch: username of twitch account (ex. MyServer)
[ ] (optional) telegram: slug of telegram group (ex. MyServer)
[ ] (optional) reddit: slug of subdreddit wtih 'r/' (ex. MyServer)
[ ] (optional) tiktok: username of tiktok account (ex. MyServer)
[ ] (optional) facebook: slug of facebook page (ex. MyServer)

Compliance

[ ] (optional) privacyPolicy: url to your Privacy Policy (ex. https://www.lunar.gg/privacy)
[ ] (optional) termsOfService: url to your Terms of Service (ex. https://www.lunar.gg/terms)
[ ] (optional) rules: url to your Rules (ex. https://www.lunar.gg/rules)

Media:
Logo

[ ] My logo is a png file.
[ ] I have uploaded my logo to my server folder (ex. lunarnetwork) and named it logo.png.
[ ] My logo has a transparent background and is square (1:1 aspect ratio).
[ ] My logo is 512 pixels in width and height.
[ ] My logo is my own property and complies with relevant copyright/privacy laws.

Background

[ ] My background is a png file.
[ ] I have uploaded my background to my server folder (ex. lunarnetwork) and named it background.png.
[ ] My background has an aspect ratio of 16:9.
[ ] My background is atleast 1920 pixels in width and 1080 pixels in height (can be bigger, but must remain the same aspect ratio).
[ ] My background contains relevant content pertaining to the server, is my own property, and complies with relevant copyright/privacy laws.
[ ] My background doesn't contain any markings, text, or logos (unless part of a build).

The background doesn't fit the aspect ratio The addresses you added are all the same and you only need to have "axifynetwork.xyz"

The aspect ratio is appropriate for the background; it is 1920x1080.

The png file might be but your image isn't........

The png file might be but your image isn't........

How do I fix that?

It's needed now, just put the image in something like photoshop and line it up

It's needed now, just put the image in something like photoshop and line it up

What do you mean line it up? I thought it already was 1920x1080 so if I cut anything off it won't be 1920x1080 anymore?

I replaced the background.png with that

Mate I was pointing out the problem, can you not see the transparent background on the top and bottom?!

Mate I was pointing out the problem, can you not see the transparent background on the top and bottom?!

The transparent background is in the image you sent, not the one I originally had. The image I originally provided fits the requirements of being 1920x1080. I also wasn't sure what you meant when saying the image is 1920x1080 but not the background. They are the same thing. That full image is the full background. Does there have to be a frame around the background? I do not understand why in your photo to show me the issue there is a white frame and then two parts that are transparent, when none of that is necessary for my background to be 1920x1080, it already matches the criteria.

Mate I was pointing out the problem, can you not see the transparent background on the top and bottom?!

Is there any way you can explain the problem more clearly, in my picture there is no transparent background and it is 1920x1080 in every website I put it into so I do not understand what is wrong.

Mate I was pointing out the problem, can you not see the transparent background on the top and bottom?!

Is there any way you can explain the problem more clearly, in my picture there is no transparent background and it is 1920x1080 in every website I put it into so I do not understand what is wrong.

im pretty sure they mean you can't have any transparent parts on your image, your file is 1920x1080 but the image inside is not

Fixed it


Updated package dependencies with 'npm audit fix'

This includes some very odd changes to the package.json. Maybe clean it up a bit? I even saw a local path in there...
Also, it seems like you've changed major versions on a lot of dependencies, yet I don't see any code changes. Did you test anything after making these changes?


Replace Gson with Json in Old Vault

https://github.com/vultisig/vultisig-android/issues/863

have you tested that with old vault shares?

Yes, I have tested it.


Theme spacing has no effect on MuiListItem padding

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Steps to reproduce 🕹
Make a set of list items:
  <List>
    <ListItem>1</ListItem>
    <ListItem>2</ListItem>
    <ListItem>3</ListItem>
  </List>

Couldn't be simpler, right?
Then, in the theme overrides:
const themeOverrides: ThemeOptions = {
  spacing: 1,
  components: {
    MuiList: {
      defaultProps: {
        disablePadding: true,
      },
    },
    MuiListItem: {
      defaultProps: {
        disableGutters: true,
      },
    },
  },
};

Current behavior 😯
spacing in the theme overrides has no effect on the top- and bottom padding of each ListItem. It seems hardcoded to 8px, or 4px when dense=true.
Expected behavior 🤔
spacing dictates every spacing ratio across all components.
Context 🔦
Yes, sure, I can override the padding. That's not the point. The sx prop is not an option for me either btw, but that too is not the point. The point is that spacing in theme overrides has no effect on padding.
Your environment 🌎

npx @mui/envinfo
  System:
    OS: Windows 10 10.0.19045
  Binaries:
    Node: 18.15.0 - C:\Program Files\nodejs\node.EXE
    Yarn: Not Found
    npm: 9.6.3 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Chrome: 112.0.5615.50
    Edge: Spartan (44.19041.1266.0), Chromium (112.0.1722.39)
  npmPackages:
    @emotion/react:  11.10.6
    @emotion/styled:  11.10.6
    @mui/base:  5.0.0-alpha.124
    @mui/core-downloads-tracker:  5.11.16
    @mui/material:  5.11.16
    @mui/private-theming:  5.11.13
    @mui/styled-engine:  5.11.16
    @mui/system:  5.11.16
    @mui/types:  7.2.3
    @mui/utils:  5.11.13
    @types/react:  18.0.34
    react:  18.2.0
    react-dom:  18.2.0
    typescript:  4.9.5

I'm using Firefox 112.

Quick followup. If I replace the theme override for MuiListItem by this:
    MuiListItem: {
      defaultProps: {
        disableGutters: true,
      },
      styleOverrides: {
        root: {
          padding: `${theme.spacing(2)}`,
        },
        gutters: {
          padding: `${theme.spacing(2)} 0`,
        },
      },
    },

Then the correct padding is applied, finally, but disableGutters is ignored, even though the corrected style for gutters has been added as well. Looking into the DOM, it appears that the MuiListItem-gutters class isn't being added to each item, even though disableGutters is applied, as you can see in defaultProps. This is how it should work according to the documentation for this. What's more, the MuiListItem-padding class is applied, even though the disablePadding prop is not added anywhere.

Hey,
If all you need is to disable the inline padding - what about something like that?
const themeOverrides = createTheme({
  spacing: 1,
  components: {
    MuiListItem: {
      styleOverrides: {
        root: ({ theme }) => ({
          padding: `${theme.spacing(2)} 0`,
        }),
      },
    },
  },
});

As for the class names - it looks like they are added according to the docu you referenced. E.g. for gutters rule name -

Styles applied to the inner component element unless disableGutters={true}.

To me it sounds like
'disableGutters === true ? gutters have no effect'
same for padding

@thany Please share a CodeSandbox that reproduces the issue.


(RS-W1203) Using .join(..) with empty string

Description
Using slice::join with an empty string literal is equivalent to slice::concat. The latter is more readable and generally more performant. Consider using .concat() over .join("").
Occurrences
There is 1 occurrence of this issue in the repository.
See all occurrences on DeepSource → deepsource.io/gh/tari-project/gh-pilot/issue/RS-W1203/occurrences/

Fixed in #43


imageVersions returning errors

I'm trying to generate different versions of my image using the imageVersions property but i'm getting an error.
imageVersions	: { thumbnailBig: {width: 400, height: 300}, thumbnailSmall: {width: 200, height: 100} },

W20150122-00:31:00.040(11)? (STDERR)
W20150122-00:31:00.041(11)? (STDERR) events.js:72
W20150122-00:31:00.041(11)? (STDERR)         throw er; // Unhandled 'error' event
W20150122-00:31:00.041(11)? (STDERR)               ^
W20150122-00:31:00.041(11)? (STDERR) Error: spawn ENOENT
W20150122-00:31:00.041(11)? (STDERR)     at errnoException (child_process.js:1001:11)
W20150122-00:31:00.041(11)? (STDERR)     at Process.ChildProcess._handle.onexit (child_process.js:792:34)

Removing the option works fine.
FYI: I have installed imagemagick sudo npm install imagemagick -g
Any idea?

The npm version of imagemagick is only wrapper for the binary version. You need to intstall the image magic on your server via macports or brew. Check first if it is working by trying to convert an image in the terminal. If it does so, I'm pretty sure it will work in upload control as well.

I'll close this issue, reopen if necessary.

Sorry. Had forgot to reply.
I had imagemagick installed through npm like i mentioned above, but i will look it up about installing with brew or port. Thanks for the help.

When you publish the project to meteor.com, does that supports imagemagick?

I am almost positive that it does not. You need your dedicated server :/

I was afraid so! :) thanks

Whew. This issue took me quite some time to track down! Is the ImageMagick dependency documented anywhere? Maybe there's a better way to fail than ENOENT...

I have updated the documentation. Thanks.


Consider putting "Metrics" and "SpanData" under one directory "Export"

Pros:

Metrics and SpanData have very similar exporting mechanism.
Makes it clear that everything under Export directory is for exporting.
Similar layout to api, impl-core and impl (where we have tags, stats and tracing in one artifact).

Cons (from @sebright ):

Metrics and SpanData are more descriptive as artifact names.
There are APIs for reporting pre-aggregated values in Metrics.
Each exporter would only need to depend on one of Metrics or SpanData.
It could be confusing to have both export and exporters directories.

FYI, the new export service proto put span and metrics together: https://github.com/census-instrumentation/opencensus-proto/pull/60. If this is the standard for other language, Java should probably do the same.

just mentioning that coupling is easy to do and hard to undo. one of the
big attractions of census vs other libraries is that there is clean
separation between tracing and metrics. this allows opt-in vs force-in on
both consumer and service provider side (export). Let's keep this in
foreground.
If we decide to remove the feature of decoupling in either side directly or
indirectly.. let that be a very distinct act which effects messaging and
maybe even the web site.

@adriancole is not about coupling the APIs is about having one artifact for the exporters. The disadvantage is that users will depend on more artifacts. Don't know if that is a problem.

my response was to the comment about the tie-in to the proto change.. sorry
threading didn't work as I expected.
the change as defined here looks mostly like organization. anyway carry on
and thanks.

This is not going to happen right now.


Enhance rebalancer to also log segments removed

In addition to tracking segments added for each server, also log segments removed from each server

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 55.33%. Comparing base (59551e4) to head (1d2bcf9).
Report is 1150 commits behind head on master.

:exclamation:  There is a different number of reports uploaded between BASE (59551e4) and HEAD (1d2bcf9). Click for more details.
HEAD has 53 uploads less than BASE

Flag
BASE (59551e4)
HEAD (1d2bcf9)

integration
7
0

integration2
3
0

temurin
12
1

java-21
7
1

skip-bytebuffers-true
3
1

skip-bytebuffers-false
7
0

unittests
5
1

unittests1
2
1

java-11
5
0

unittests2
3
0

integration1
2
0

custom-integration1
2
0

Additional details and impacted files
@@             Coverage Diff              @@
##             master   #14180      +/-   ##
============================================
- Coverage     61.75%   55.33%   -6.42%
- Complexity      207      697     +490
============================================
  Files          2436     2066     -370
  Lines        133233   108917   -24316
  Branches      20636    17238    -3398
============================================
- Hits          82274    60274   -22000
+ Misses        44911    43834    -1077
+ Partials       6048     4809    -1239

Flag
Coverage Δ

custom-integration1
?

integration
?

integration1
?

integration2
?

java-11
?

java-21
55.33% <ø> (-6.29%)
:arrow_down:

skip-bytebuffers-false
?

skip-bytebuffers-true
55.33% <ø> (+27.61%)
:arrow_up:

temurin
55.33% <ø> (-6.42%)
:arrow_down:

unittests
55.33% <ø> (-6.41%)
:arrow_down:

unittests1
55.33% <ø> (+8.44%)
:arrow_up:

unittests2
?

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Ionic Cordova Run Android - Java Error

I'm submitting a ...

[ ] question
[X ] any problem or bug report

OS:  (check one with "x")

[X ] Android
[ ] iOS

cordova information:
cordova-android-play-services-gradle-release 1.4.3 "cordova-android-play-services-gradle-release"
cordova-plugin-compat 1.2.0 "Compat"
cordova-plugin-device 2.0.2 "Device"
cordova-plugin-geolocation 2.4.3 "Geolocation"
cordova-plugin-googlemaps 2.3.10 "cordova-plugin-googlemaps"
cordova-plugin-inappbrowser 3.0.0 "InAppBrowser"
cordova-plugin-ionic-keyboard 2.1.2 "cordova-plugin-ionic-keyboard"
cordova-plugin-ionic-webview 2.0.2 "cordova-plugin-ionic-webview"
cordova-plugin-nativestorage 2.3.2 "NativeStorage"
cordova-plugin-splashscreen 5.0.2 "Splashscreen"
cordova-plugin-whitelist 1.3.3 "Whitelist"

If you use @ionic-native/google-maps, please tell the package.json (only @ionic-native/core and @ionic-native/google-maps are fine mostly)
@ionic-native/core : ^4.11.0
@ionic-native/google-maps : ^4.9.1

Current behavior:

Run the command "ionic cordova run android" (The error occurs when I run the command to build to a device or emulator).
Expected behavior:

The APP should build to the android device without error.
Screen capture or video record:

This is already fixed issue. Please reinstall the plugin from the multiple_maps branch.

Hi
I installed the multi maps version "cordova plugin add
https://github.com/mapsplugin/cordova-plugin-googlemaps#multiple_maps". and
still get the same error. Please advise
Quick install

Stable version(npm)

$> cordova plugin add cordova-plugin-googlemaps
--variable API_KEY_FOR_ANDROID="..."
--variable API_KEY_FOR_IOS="..."

Development version(beta version)

$> cordova plugin add
https://github.com/mapsplugin/cordova-plugin-googlemaps#multiple_maps

--variable API_KEY_FOR_ANDROID="..."
--variable API_KEY_FOR_IOS="..."
Kind Regards
Shaun
On Mon, Aug 13, 2018 at 9:40 PM Masashi Katsumata<EMAIL_ADDRESS>wrote:

This is already fixed issue. Please reinstall the plugin from the
multiple_maps branch.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mapsplugin/cordova-plugin-googlemaps/issues/2394#issuecomment-412638992,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AP9YXcO8Z4HKnu7XXBFx_9a5IjaonTU8ks5uQdY6gaJpZM4V7FAh
.

what's error?

Hi
The same error as before. Please see attached screenshot.
Kind Regards
Shaun
On Mon, Aug 13, 2018 at 10:01 PM Masashi Katsumata<EMAIL_ADDRESS>wrote:

what's error?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mapsplugin/cordova-plugin-googlemaps/issues/2394#issuecomment-412644600,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AP9YXVQMA5m0lN5-etgM-iCNQ0k3X1mBks5uQdsTgaJpZM4V7FAh
.

It means you don't install the plugin from the multiple_maps branch.

Hi
Please forgive me if I don't understand, but do I run the following command
to install the multi maps branch? (This is the command that I run. Please
see below. Sorry to waist your time. Thank you for your support.)
$> cordova plugin add
https://github.com/mapsplugin/cordova-plugin-googlemaps#multiple_maps

--variable API_KEY_FOR_ANDROID="..."
--variable API_KEY_FOR_IOS="..."
On Mon, Aug 13, 2018 at 10:05 PM Masashi Katsumata<EMAIL_ADDRESS>wrote:

It means you don't install the plugin from the multiple_maps branch.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mapsplugin/cordova-plugin-googlemaps/issues/2394#issuecomment-412645848,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AP9YXc24QjxJdB7U73n1eqoF_m81aEFeks5uQdwbgaJpZM4V7FAh
.

Hi
If you could please indicate which command I should run that would be
appreciated greatly.
On Mon, Aug 13, 2018 at 10:08 PM Shaun Thomson<EMAIL_ADDRESS>wrote:

Hi
Please forgive me if I don't understand, but do I run the following
command to install the multi maps branch? (This is the command that I run.
Please see below. Sorry to waist your time. Thank you for your support.)
$> cordova plugin add https://github.com/mapsplugin/cordova-plugin-googlemaps#multiple_maps
--variable API_KEY_FOR_ANDROID="..."
--variable API_KEY_FOR_IOS="..."
On Mon, Aug 13, 2018 at 10:05 PM Masashi Katsumata <
<EMAIL_ADDRESS>wrote:

It means you don't install the plugin from the multiple_maps branch.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mapsplugin/cordova-plugin-googlemaps/issues/2394#issuecomment-412645848,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AP9YXc24QjxJdB7U73n1eqoF_m81aEFeks5uQdwbgaJpZM4V7FAh
.

If you can't solve the problem by yourself, please share your project files on github, like this repo.
https://github.com/mapsplugin/HelloGoogleMap

Do you think I miss final?
https://github.com/mapsplugin/cordova-plugin-googlemaps/blob/92f897617cf4957d86bcb35f36a034296508b17b/src/android/plugin/google/maps/PluginGroundOverlay.java#L420

Hi Masashi
Then it might be me who is a noob because it was still not final on my side
I had to add it. Thus this means I did not install the correct version.
I sincerely apologize to you from my side.
I will double check the install version and get back to you.
Kind Regards
Shaun
On Mon, Aug 13, 2018 at 10:29 PM Masashi Katsumata<EMAIL_ADDRESS>wrote:

Do you think I miss final?
https://github.com/mapsplugin/cordova-plugin-googlemaps/blob/92f897617cf4957d86bcb35f36a034296508b17b/src/android/plugin/google/maps/PluginGroundOverlay.java#L420
[image: screen shot 2018-08-13 at 1 29 23 pm]
https://user-images.githubusercontent.com/167831/44056382-ed8aa7e6-9efc-11e8-948e-7f1baec15dd7.png
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mapsplugin/cordova-plugin-googlemaps/issues/2394#issuecomment-412652925,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AP9YXRQq3qtYep3XtaALpw4sbkOJSaQ6ks5uQeG6gaJpZM4V7FAh
.

I just published new version as v2.3.11. Please try v2.3.11.

Hi Masashi
I installed the "
https://github.com/mapsplugin/cordova-plugin-googlemaps.git#multiple_maps"
repo plugin, and cannot build android. Now getting another error which
after debugging it seems to be a Cradle error as if the plugin requires a
specific version of gradle. I have gathered as much information for you as
possible if it would assist you.
When I remove your plugin then android builds without error. When I add
your plugin again it fails with the same error.
Error Example:
/////////////////////////////////////////////////////
BUILD START
/////////////////////////////////////////////////////

cordova run android
Android Studio project detected
ANDROID_HOME=C:\development\android-sdk\sdk
JAVA_HOME=C:\Program Files\Java\jdk1.8.0_111
studio
Subproject Path: CordovaLib
Subproject Path: app
publishNonDefault is deprecated and has no effect anymore. All variants are
now published.
Configuration 'compile' in project ':app' is deprecated. Use
'implementation' instead.
The Task.leftShift(Closure) method has been deprecated and is scheduled to
be removed in Gradle 5.0. Please use Task.doLast(Action) instead.
at
build_1ej6fmeb94pnvci9snzvj7grm.run(C:\APPS\iyeza-express-Rider-app\platforms\android\app\build.gradle:144)
:CordovaLib:preBuild UP-TO-DATE
:CordovaLib:preDebugBuild UP-TO-DATE
:CordovaLib:compileDebugAidl UP-TO-DATE
:CordovaLib:compileDebugRenderscript UP-TO-DATE
:CordovaLib:checkDebugManifest UP-TO-DATE
:CordovaLib:generateDebugBuildConfig UP-TO-DATE
:CordovaLib:prepareLintJar UP-TO-DATE
:CordovaLib:generateDebugResValues UP-TO-DATE
:CordovaLib:generateDebugResources UP-TO-DATE
:CordovaLib:packageDebugResources UP-TO-DATE
:CordovaLib:platformAttrExtractor UP-TO-DATE
:CordovaLib:processDebugManifest UP-TO-DATE
:CordovaLib:processDebugResources UP-TO-DATE
:CordovaLib:generateDebugSources UP-TO-DATE
:CordovaLib:javaPreCompileDebug UP-TO-DATE
:CordovaLib:compileDebugJavaWithJavac UP-TO-DATE
:CordovaLib:processDebugJavaRes NO-SOURCE
:CordovaLib:transformClassesAndResourcesWithPrepareIntermediateJarsForDebug
UP-TO-DATE
:app:preBuild UP-TO-DATE
:app:preDebugBuild UP-TO-DATE
:app:compileDebugAidl UP-TO-DATE
:CordovaLib:packageDebugRenderscript NO-SOURCE
:app:compileDebugRenderscript UP-TO-DATE
:app:checkDebugManifest UP-TO-DATE
:app:generateDebugBuildConfig UP-TO-DATE
:app:prepareLintJar UP-TO-DATE
:app:generateDebugResValues UP-TO-DATE
:app:generateDebugResources UP-TO-DATE
:app:mergeDebugResources UP-TO-DATE
:app:createDebugCompatibleScreenManifests UP-TO-DATE
:app:processDebugManifest UP-TO-DATE
:app:splitsDiscoveryTaskDebug UP-TO-DATE
:app:processDebugResources UP-TO-DATE
:app:generateDebugSources UP-TO-DATE
:app:javaPreCompileDebug UP-TO-DATE
:app:compileDebugJavaWithJavac UP-TO-DATE
:app:compileDebugNdk NO-SOURCE
:app:compileDebugSources UP-TO-DATE
:CordovaLib:mergeDebugShaders UP-TO-DATE
:CordovaLib:compileDebugShaders UP-TO-DATE
:CordovaLib:generateDebugAssets UP-TO-DATE
:CordovaLib:mergeDebugAssets UP-TO-DATE
:app:mergeDebugShaders UP-TO-DATE
:app:compileDebugShaders UP-TO-DATE
:app:generateDebugAssets UP-TO-DATE
:app:mergeDebugAssets
:app:transformClassesWithStackFramesFixerForDebug UP-TO-DATE
:app:transformClassesWithDesugarForDebug UP-TO-DATE
:app:transformClassesWithDexBuilderForDebug UP-TO-DATE
:app:transformDexArchiveWithExternalLibsDexMergerForDebug UP-TO-DATE
:app:transformDexArchiveWithDexMergerForDebug UP-TO-DATE
:CordovaLib:compileDebugNdk NO-SOURCE
:CordovaLib:mergeDebugJniLibFolders UP-TO-DATE
:CordovaLib:transformNativeLibsWithMergeJniLibsForDebug UP-TO-DATE
:CordovaLib:transformNativeLibsWithStripDebugSymbolForDebug UP-TO-DATE
:CordovaLib:transformNativeLibsWithIntermediateJniLibsForDebug UP-TO-DATE
:app:mergeDebugJniLibFolders UP-TO-DATE
:app:transformNativeLibsWithMergeJniLibsForDebug UP-TO-DATE
:app:transformNativeLibsWithStripDebugSymbolForDebug FAILED

FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task
':app:transformNativeLibsWithStripDebugSymbolForDebug'.

A problem occurred starting process 'command
'C:\development\android-sdk\sdk\ndk-bundle\toolchains\mips64el-linux-android-4.9\prebuilt\windows-x86_64\bin\mips64el-linux-android-strip''

Try:
Run with --stacktrace option to get the stack trace. Run with --info or
--debug option to get more log output.

Get more help at https://help.gradle.org

BUILD FAILED in 12s
45 actionable tasks: 2 executed, 43 up-to-date
(node:15616) UnhandledPromiseRejectionWarning: Error: cmd: Command failed
with exit code 1 Error output:
FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task
':app:transformNativeLibsWithStripDebugSymbolForDebug'.

A problem occurred starting process 'command
'C:\development\android-sdk\sdk\ndk-bundle\toolchains\mips64el-linux-android-4.9\prebuilt\windows-x86_64\bin\mips64el-linux-android-strip''

Try:
Run with --stacktrace option to get the stack trace. Run with --info or
--debug option to get more log output.

Get more help at https://help.gradle.org

BUILD FAILED in 12s
at ChildProcess.whenDone
(C:\APPS\iyeza-express-Rider-app\platforms\android\cordova\node_modules\cordova-common\src\superspawn.js:169:23)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at maybeClose (internal/child_process.js:925:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
C:\APPS\iyeza-express-Rider-app>
/////////////////////////////////////////////////////
BUILD END
/////////////////////////////////////////////////////
[image: cordova-plugin-googlemaps Gradle Error Multi Maps Branch.PNG]
Kind Regards
Shaun
On Mon, Aug 13, 2018 at 11:22 PM Shaun Thomson<EMAIL_ADDRESS>wrote:

Hi Masashi
Thank you so much I will try now and let you know.
Kind Regards
Shaun
On Mon, Aug 13, 2018 at 11:17 PM Masashi Katsumata <
<EMAIL_ADDRESS>wrote:

I just published new version as v2.3.11. Please try v2.3.11.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mapsplugin/cordova-plugin-googlemaps/issues/2394#issuecomment-412667657,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AP9YXdz9f0pOPZE32ElCkIaS5hmHgAtOks5uQezagaJpZM4V7FAh
.

https://github.com/mapsplugin/cordova-plugin-googlemaps-doc/blob/master/troubleshootings/mips64el-linux-android-strip/README.md

Hi Masashi
I made the changes that were in the readme file link you sent me and also
had to change thecordova distribution URL in the StudioBuilder.js file.
Now it is building!
I just wanted to thank you so much for assisting me all the way.

Kind Regards
Shaun
On Tue, Aug 14, 2018 at 10:54 PM Masashi Katsumata<EMAIL_ADDRESS>wrote:

https://github.com/mapsplugin/cordova-plugin-googlemaps-doc/blob/master/troubleshootings/mips64el-linux-android-strip/README.md
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mapsplugin/cordova-plugin-googlemaps/issues/2394#issuecomment-413012624,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AP9YXXLFddwXJ55u9f_LkxcDGHi8_gUyks5uQzkIgaJpZM4V7FAh
.


Ashlynnpai fulfillment view

I rule and have completed some work on Case Manager that's ready for review!
Launches off @ashlynnpai 's outstanding work in #741
Quick brain dump on some potential issues due to time constraints:

Would be ideal here to create the fulfillment at the time we need it, rather than creating an empty object that we won't use most of the time
A showstopper: Integration test is dying; need to straighten out dates in the fulfillment view

@ashlynnpai and @lomky can you take a look? ( @ashlynnpai I'll hold on merging until I get your signoff, since you've done the bulk of the work on this and know the problem best)

Integration test lines 162 and 168 both query Procedure Date but one has a typo:

   assert has_field? 'Procedure_date',

                     with: 2.days.from_now.strftime('%m/%d/%Y')

   assert_equal '12 weeks',

                find('#patient_fulfillment_gestation_at_procedure').value

   assert has_field? 'Abortion care $', with: 100

   assert has_field? 'Check #', with: '444-22'

   assert has_field? 'Procedure date',

                     with: 2.weeks.from_now.strftime('%m/%d/%Y')

A showstopper: Integration test is dying; need to straighten out dates in the fulfillment view

The CircleCI tests show:
FAIL["test_0001_should alter the information", #<Class:0x00000008185a58>, 33.96100428199861]
 test_0001_should alter the information#UpdatePatientInfoTest::changing fulfillment information (33.96s)
        Expected false to be truthy.
        test/integration/update_patient_info_test.rb:162:in `block (3 levels) in <class:UpdatePatientInfoTest>'
        test/integration/update_patient_info_test.rb:160:in `block (2 levels) in <class:UpdatePatientInfoTest>'

This definitely looks like it's from the bug @ashlynnpai pointed out.

Current coverage is 96.91% (diff: 80.00%)

Merging #789 into master will increase coverage by <.01%

@@             master       #789   diff @@
==========================================
  Files            34         34
  Lines           711        713     +2
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits            689        691     +2
  Misses           22         22
  Partials          0          0

Powered by Codecov. Last update 62c2a57...af6fdb3

Current coverage is 96.91% (diff: 80.00%)

Merging #789 into master will increase coverage by <.01%

@@             master       #789   diff @@
==========================================
  Files            34         34
  Lines           711        713     +2
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits            689        691     +2
  Misses           22         22
  Partials          0          0

Powered by Codecov. Last update 62c2a57...af6fdb3

I think we should punt on creating fulfillment objects at more opportune times, since empty objects are pretty much free and we won't be up against db space constraints for a stupidly long time -- we're basically six months into production and only taking up ~25mb (which, with our db plan, gives us a LOT of overhead).
Thanks very much @ashlynnpai and @lomky for your extra set of eyes! Got this resolved SIGNIFICANTLY faster because of you both, and you both nailed it exactly.
@ashlynnpai to reiterate from the other PR thread, this is outstanding work, thank you so much! This is one of the final Core Pieces left and is going to make for a very happy accountant I think!

I think we should punt on creating fulfillment objects at more opportune times, since empty objects are pretty much free and we won't be up against db space constraints for a stupidly long time -- we're basically six months into production and only taking up ~25mb (which, with our db plan, gives us a LOT of overhead).
Thanks very much @ashlynnpai and @lomky for your extra set of eyes! Got this resolved SIGNIFICANTLY faster because of you both, and you both nailed it exactly.
@ashlynnpai to reiterate from the other PR thread, this is outstanding work, thank you so much! This is one of the final Core Pieces left and is going to make for a very happy accountant I think!

Note that when we merge we'll want to backfill, and we can do that with the following ruby cmd:
Patient.all.each { |pt| pt.build_fulfillment(created_by: User.find_by(email: 'c3flemin@gmail.com').save }
Slating for merge tomorrow, for the prod deployment.

Note that when we merge we'll want to backfill, and we can do that with the following ruby cmd:
Patient.all.each { |pt| pt.build_fulfillment(created_by: User.find_by(email: 'c3flemin@gmail.com').save }
Slating for merge tomorrow, for the prod deployment.


Crash on Mac with Intel HD Graphics 530

Godot version:

3.0 stable
OS/device including version:

Mac OS
Issue description:

crashed
report.txt
Steps to reproduce:
Minimal reproduction project:

runner.zip

Can you give a little bit more explanation? What were you doing when the crash happened?

very tolerant and nice commnuity imo. run by great leadership skills, you should be proud juan and akien for leading this great floss project!

It mostly crashed when I try to click  the open in editor menu for Player. But not always.

From the log it seems that you have an Intel HD Graphics 530.
Thus, it's probably related to #16576.

@alexzheng May be relevant, may be not: Which Mac OS X version are you using?

10.13.3 (17D47)
Yes, I have Radeon Pro 460 4 GB and Intel HD Graphics 530 1536 MB

@alexzheng Can you still reproduce this bug in Godot 3.2.1 or 3.2.2beta4?

Closing due to lack of response. Please comment if you can still reproduce this bug.
PS: If no minimal reproduction project was included in the original bug report, please upload one as well to ease troubleshooting.


Can we delete Gamemode

Can we delete the American and japanes gamemode to let only the 9 and the 8 ball game mode?

Delete the buttons from the menu if you do not want them in the world. ATM the game modes are badly written and hard to refactor. We will be making them more modular when we revisit that area of the code late this year, after the physics rework.


fix for add company search

This work involves:

updating the search used on /company/add-step-2/ to work with the new search api.
adding markup to display Private/Limited companies
updating tests and adding test data fixtures

Of Note

I have moved a portion of the simple logic into the template away from the controller
There are parts of this code that I am not happy with and need to be addressed at a future point.
In particular the tests are just testing that methods have been called and could do with a refactor
I would like to approach this in a middleware fashion similar to work from @tyom

I would like to approach this in a middleware fashion similar to work from @tyom

I think this is looking like a nice approach that we can start to use for features/sections of the site. It will also address issue #74.

Should we remove the left-hand column in search results?

Should we remove the left-hand column in search results?

@tyom yes I was thinking this with the main results also. There are filters coming in in the left column but it would be nice to have search full width all over. Maybe not part of this PR though?


Saving a file BLOWS UP MY JSX CODE.  What is happening!?!?!

I have uninstalled VS code, reinstalled it, disabled all plugins and this still happens.   It's like a bad dream...  Thankfully I have ATOM but i would really like to use VS CODE what the heck is going on?

VSCode Version: Most recent as of 12_21_2017
OS Version: Windows 10

Steps to Reproduce:

Open a file with some nicely formatted jsx code
Hit 'ctrl' + save

Reproduces without extensions: Yes
Before hitting save:
import PropTypes from 'prop-types'
import '../../stylesheets/Menu.scss'

const options = {
    date: "SORTED_BY_DATE",
    title: "SORTED_BY_TITLE",
    rating: "SORTED_BY_RATING"
}

const SortMenu = ({ sort="SORTED_BY_DATE", onSelect=f=>f}) =>

Sort Colors

        {Object.keys(options).map((item, i) =>
             {
                    e.preventDefault()
                    onSelect(options[item])
                }}>{item}
        )}

SortMenu.propTypes = {
    sort: PropTypes.string,
    onSelect: PropTypes.func
}

export default SortMenu

AFTER HITTING SAVE
import PropTypes from 'prop-types'
import '../../stylesheets/Menu.scss'

const options = {
    date: "SORTED_BY_DATE",
    title: "SORTED_BY_TITLE",
    rating: "SORTED_BY_RATING"
}

const SortMenu = ({ sort = "SORTED_BY_DATE", onSelect = f => f }) =>

 Sort Colors
 {
        Object.keys(options).map((item, i) =>
            <
            a key = { i }
            href = "#"
            className = {
                (sort === options[item]) ? "selected" : null }
            onClick = {
                e => {
                    e.preventDefault()
                    onSelect(options[item])
                }
            } > { item }
        )
    } <
    /nav>

SortMenu.propTypes = {
    sort: PropTypes.string,
    onSelect: PropTypes.func
}

export default SortMenu

This type of problem is usually caused by an extension. Are you sure you have disabled all extensions and then restarted vscode? You can also launch code with the --disable-extensions flag from the command line


Links to Docs are broken

https://nf-co.re/rnafusion/rnafusion//usage.md
That link is listed here:
https://nf-co.re/rnafusion/docs
EDIT:
All links to the pipeline docs in the Documentation tabs are broken:
cf:
https://nf-co.re/rnaseq/docs
https://nf-co.re/rnafusion/docs
https://nf-co.re/sarek/docs

Good spot! Yes the table of contents links in the box are fine, this is a markdown rendering issue - those links will work on GitHub, just need to get them to work on the website as well..


Weightlessness effects the golden shielded enemies projectiles as well...

Maybe this is intended behaviour, but it was a little surprising and frustrating for me the first time I encountered it.
Details: I buy the ritual "weightlessness", and keep playing till I encounter the ememies with the golden shields that fire yellow/golden projectiles. Their projectiles will now cross the entire screen, and cause me to lose health.
I'm not 100% sure, but I have the feeling when this happens, it also causes the bug I mentioned in the licence issue, which is I lose all health, but continue play (seems fair considering the projectiles being fired all the way across the screen, but probably not intended either :P  - guess I should issue a seperate bug for that...).

Initially the shields would bounce projectiles back towards Norman, but this ended up way too powerful (easy for Norman to one shot himself, or afflict himself with bleed, or knockback etc) so instead, I made the reflected projectile a separate type that did fixed damage.
I also noticed the death bug just before I submitted the game, and spotted the same connection between weightlessness and the guards with shields. However, I didn't have time to diagnose it, and I haven't really revisited the codebase since then.
If you figure out what's going on, feel free to send a PR.

I was about to write, now that the licence is clear, I'll have a look I think :).
(I'll have to figure out how to get it to run first though, I don't have much experience with web tech).
Thanks for all the pointers though !

Fairly easy to get it running in a code sandbox if you want to play around with the codebase without going through any local installations. https://codesandbox.io/s/github/danprince/norman-the-necromancer

Thanks, that kinda helped, even if installing wasn't my issue (but rather, knowing what to install :P.
Ended up looking into the "package.json" file, and (though I'm not much of a coder), I can read/use the command line, so I understood I need to look for "Vite" :P.
Just had it running (and played through) on my local machine, so next will be looking into this issue and other stuff !

PR'd:

https://github.com/danprince/norman-the-necromancer/pull/5

Should be fixed as of #5. Feel free to re-open if you see otherwise during gameplay though!

Well FWIW  #5 fixed the ghosty not dying bug, but not the weightlessness behaviour - whether that's a desired outcome or not. I kinda think it's an interesting side-effect, because weightless is too OP so there needs to be some kind of footgun to it.

@AshSimmonds yeah, the royal guards are supposed to be the counter to some of the OP spells, so that you have to be a bit careful to shoot when they're walking.
The whole game just needs a ton of balancing though, but the only problem that was actually bothering me was being able to win after dying, as described above.

@AshSimmonds , nice, thanks for fixing :) !
On the weightlessness - I understand now that's intended behaviour, so yes, a question of either balance or gameplay mechanics, rather than a real bug.
Talking of which :P ... on the question of balance, I've been spending most of my free time the last days either playing or modding the game, so I was going to ask if there's any place that's more convenient if I'd like to ask some questions / discuss stuff (eg, are you on any Discord or Matrix servers I could head over to @danprince ?).

Started a Discord server for anyone who's interested: https://discord.gg/deQq84tcEJ


Submariner looks like it is in working condition, but ping from one pod is not going to other site pod

ISSUE DESCRIPTION
The submariner looks fine with the show-all and diagnose all commands.
However, when we tried pinging a pod of the remote site from the local site pod, it was not pinging, we got 100% packet loss
Setup:
Site 1: OCP upgrade from 4.13 to 4.14 is in progress
Site 2: OCP 4.12
Submariner version: v0.16.3
Outputs collected:
show all and diagnose all command outputs for Site 1
sh-4.4$ /root/.local/bin/subctl show all --kubeconfig /tmp/local-kubeconfig
Cluster "local-config"
✓ Detecting broker(s)
NAMESPACE               NAME                COMPONENTS                        GLOBALNET   GLOBALNET CIDR   DEFAULT GLOBALNET SIZE   DEFAULT DOMAINS
submariner-k8s-broker   submariner-broker   service-discovery, connectivity   no          <IP_ADDRESS>/8      65536

✓ Showing Connections
GATEWAY                          CLUSTER   REMOTE IP      NAT   CABLE DRIVER   SUBNETS                        STATUS      RTT avg.
control-1-ru2.ydc-xxxxx  site2     <IP_ADDRESS>   no    libreswan      <IP_ADDRESS>/16, <IP_ADDRESS>/14   connected   737.086µs

✓ Showing Endpoints
CLUSTER   ENDPOINT IP    PUBLIC IP      CABLE DRIVER   TYPE
site1     <IP_ADDRESS>   <IP_ADDRESS>   libreswan      local
site1     <IP_ADDRESS>   <IP_ADDRESS>   libreswan      local
site1     <IP_ADDRESS>   <IP_ADDRESS>   libreswan      local
site2     <IP_ADDRESS>   <IP_ADDRESS>   libreswan      remote

✓ Showing Gateways
NODE                             HA STATUS   SUMMARY
control-1-ru2.odc-xxxxx  passive     There are no connections
control-1-ru3.odc-xxxxx  passive     There are no connections
control-1-ru4.odc-xxxxx active      All connections (1) are established

✓ Showing Network details
    Discovered network details via Submariner:
        Network plugin:  OVNKubernetes
        Service CIDRs:   [<IP_ADDRESS>/16]
        Cluster CIDRs:   [<IP_ADDRESS>/14]

✓ Showing versions
COMPONENT                       REPOSITORY           CONFIGURED   RUNNING                     ARCH
submariner-gateway              quay.io/submariner   0.16.3       release-0.16-58e6b641a736   amd64
submariner-routeagent           quay.io/submariner   0.16.3       release-0.16-58e6b641a736   amd64
submariner-metrics-proxy        quay.io/submariner   0.16.3       release-0.16-03f30315107e   amd64
submariner-operator             quay.io/submariner   0.16.3       release-0.16-133b18e07a09   amd64
submariner-lighthouse-agent     quay.io/submariner   0.16.3       release-0.16-487f6296ce9b   amd64
submariner-lighthouse-coredns   quay.io/submariner   0.16.3       release-0.16-487f6296ce9b   amd64

sh-4.4$ /root/.local/bin/subctl diagnose all --kubeconfig /tmp/local-kubeconfig
Cluster "local-config"
✓ Checking Submariner support for the Kubernetes version
✓ Kubernetes version "v1.27.13+fd36fb9" is supported

✓ Non-Globalnet deployment detected - checking that cluster CIDRs do not overlap
✓ Checking DaemonSet "submariner-gateway"
✓ Checking DaemonSet "submariner-routeagent"
✓ Checking DaemonSet "submariner-metrics-proxy"
✓ Checking Deployment "submariner-lighthouse-agent"
✓ Checking Deployment "submariner-lighthouse-coredns"
✓ Checking the status of all Submariner pods
✓ Checking that gateway metrics are accessible from non-gateway nodes

✓ Checking Submariner support for the CNI network plugin
✓ The detected CNI network plugin ("OVNKubernetes") is supported
✓ Checking OVN version
✓ The ovn-nb database version 7.1.0 is supported
✓ Checking gateway connections
✓ Checking Submariner support for the kube-proxy mode
✓ Cluster is running with "OVNKubernetes" CNI which internally implements kube-proxy functionality
✓ Checking that firewall configuration allows intra-cluster VXLAN traffic

✓ Checking that services have been exported properly

Skipping inter-cluster firewall check as it requires two kubeconfigs. Please run "subctl diagnose firewall inter-cluster" command manually.

show all and diagnose all command outputs for Site 2
sh-4.4$ /root/.local/bin/subctl show all --kubeconfig /tmp/local-kubeconfig
Cluster "local-config"
✓ Detecting broker(s)
✓ No brokers found

✓ Showing Connections
GATEWAY                          CLUSTER   REMOTE IP      NAT   CABLE DRIVER   SUBNETS                        STATUS      RTT avg.
control-1-ru4.odc-xxxxx  site1     <IP_ADDRESS>   no    libreswan      <IP_ADDRESS>/16, <IP_ADDRESS>/14   connected   853.339µs

✓ Showing Endpoints
CLUSTER   ENDPOINT IP    PUBLIC IP      CABLE DRIVER   TYPE
site2     <IP_ADDRESS>   <IP_ADDRESS>   libreswan      local
site1     <IP_ADDRESS>   <IP_ADDRESS>   libreswan      remote
site2     <IP_ADDRESS>   <IP_ADDRESS>   libreswan      local
site2     <IP_ADDRESS>   <IP_ADDRESS>   libreswan      local

✓ Showing Gateways
NODE                             HA STATUS   SUMMARY
control-1-ru2.ydc-xxxxx   active      All connections (1) are established
control-1-ru3.ydc-xxxxx  passive     There are no connections
control-1-ru4.ydc-xxxxx  passive     There are no connections

✓ Showing Network details
    Discovered network details via Submariner:
        Network plugin:  OVNKubernetes
        Service CIDRs:   [<IP_ADDRESS>/16]
        Cluster CIDRs:   [<IP_ADDRESS>/14]

✓ Showing versions
COMPONENT                       REPOSITORY           CONFIGURED   RUNNING                     ARCH
submariner-gateway              quay.io/submariner   0.16.3       release-0.16-58e6b641a736   amd64
submariner-routeagent           quay.io/submariner   0.16.3       release-0.16-58e6b641a736   amd64
submariner-metrics-proxy        quay.io/submariner   0.16.3       release-0.16-03f30315107e   amd64
submariner-operator             quay.io/submariner   0.16.3       release-0.16-133b18e07a09   amd64
submariner-lighthouse-agent     quay.io/submariner   0.16.3       release-0.16-487f6296ce9b   amd64
submariner-lighthouse-coredns   quay.io/submariner   0.16.3       release-0.16-487f6296ce9b   amd64

sh-4.4$ /root/.local/bin/subctl diagnose all --kubeconfig /tmp/local-kubeconfig
Cluster "local-config"
✓ Checking Submariner support for the Kubernetes version
✓ Kubernetes version "v1.25.16+a4e782e" is supported

✓ Non-Globalnet deployment detected - checking that cluster CIDRs do not overlap
✓ Checking DaemonSet "submariner-gateway"
✓ Checking DaemonSet "submariner-routeagent"
✓ Checking DaemonSet "submariner-metrics-proxy"
✓ Checking Deployment "submariner-lighthouse-agent"
✓ Checking Deployment "submariner-lighthouse-coredns"
✓ Checking the status of all Submariner pods
✓ Checking that gateway metrics are accessible from non-gateway nodes

✓ Checking Submariner support for the CNI network plugin
✓ The detected CNI network plugin ("OVNKubernetes") is supported
✓ Checking OVN version
✓ The ovn-nb database version 7.0.4 is supported
✓ Checking gateway connections
✓ Checking Submariner support for the kube-proxy mode
✓ Cluster is running with "OVNKubernetes" CNI which internally implements kube-proxy functionality
✓ Checking that firewall configuration allows intra-cluster VXLAN traffic

✓ Checking that services have been exported properly

Skipping inter-cluster firewall check as it requires two kubeconfigs. Please run "subctl diagnose firewall inter-cluster" command manually.

The issue is resolved now by reinstalling the submariner.
But some questions arise here:

As you can see the outputs are showing all green, still there was a connection issue. We identify this by trying to communicate between the pods using the ping utility. Is there any other way?
If the communication is not good, why can't we see that error on the show all or diagnose all command outputs?

@BhavaniYalamanchili You can run subctl diagnose which does a much more thorough diagnostic. subctl show mostly provides high level information about deployment, it can not torubleshoot end to end connectivity.
We also recommend running subctl verify which runs submariner E2E tests which covers all scenarios inculding pod to pod datapath.

Thanks @vthapar for the reply
We will try to run this command and share the results and issues if found any.

@BhavaniYalamanchili Hope that helped, can we close this issue?

Hi @dfarrell07
We didn't get a chance to test out the subctl verify. It will take time for us to set up the racks and test. This issue can be closed now if I can reopen the issue if I find any issue with subctl verify command.


[BUG] void-function org-outline-overlay-data

Describe the issue
Start with a brief 1 or 2 sentence summary of issue.
in org file, when i run er/expand-region, it can't work, error message:
Debugger entered--Lisp error: (void-function org-outline-overlay-data)   org-outline-overlay-data(t)   er/save-org-mode-excursion(#f(compiled-function () #<bytecode 0x484774c5>))   er--expand-region-1()   er/expand-region(1)   funcall-interactively(er/expand-region 1)   call-interactively(er/expand-region nil nil)   command-execute(er/expand-region)
System information

- OS: darwin (x86_64-apple-darwin18.2.0)
- Shell: /bin/zsh
- Emacs: 26.2 (Apr 22, 2019)
- Doom: 2.0.9 (HEAD -> develop, upstream/develop, _upgrade/develop c99c184f 2019-07-09 23:30:59 +0200)
- Graphic display: t (daemon: nil)
- System features: JPEG RSVG IMAGEMAGICK GLIB NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES THREADS LCMS2
- Details:
  ```elisp
  env bootstrapper: nil
  elc count: 0
  uname -a:  Darwin 18.6.0 Darwin Kernel Version 18.6.0: Thu Apr 25 23:16:27 PDT 2019; root:xnu-4903.261.4~2/RELEASE_X86_64 x86_64
  modules:   (:completion company (ivy +childframe) :ui workspaces vc-gutter doom doom-dashboard modeline hl-todo nav-flash ophints treemacs (popup +all +defaults) window-select :editor evil file-templates snippets rotate-text :emacs vc dired electric :term eshell term :tools lookup eval ein editorconfig gist flyspell flycheck magit :term vterm :tools reference pdf :lang lsp rest data (python +conda) ess (latex +latexmk +zathura) (org +attach +babel +capture +present) (org-private +todo +babel +capture +latex +export +style) emacs-lisp (java +meghanada) javascript markdown sh web :app sx rss :email mu4e :app write :config default)
  packages:  (helpful esup (dired-k :disable t) (flycheck-popup-tip :disable t) (flycheck-pos-tip :disable t) (ob-mongo :disable t) (ob-sql-mode :disable t) (ob-translate :disable t) (prettify-utils :recipe (prettify-utils :fetcher github :repo Ilazki/prettify-utils.el :files (*))) prescient company-prescient flycheck-posframe ov evil-collection shr-tag-pre-highlight orgit org-kanban alert pinentry zmq websocket simple-httpd academic-phrases ivy-yasnippet tldr ess electric-operator (emacs-snippets :recipe (emacs-snippets :fetcher github :repo hlissner/emacs-snippets :files (*))) lispy lispyville sed-mode function-args snakemake-mode deadgrep)
  exec-path: (/usr/local/bin /usr/bin /bin /usr/sbin /sbin /Applications/VMware Fusion.app/Contents/Public /Library/TeX/texbin /opt/X11/bin /Applications/Wireshark.app/Contents/MacOS /usr/local/Cellar/emacs-plus/26.2/libexec/emacs/26.2/x86_64-apple-darwin18.2.0)
  ```

I cannot reproduce this. Could you reproduce this in vanilla Doom? i.e.

SPC h E (or M-x doom/sandbox)
Type in

(require 'expand-region)
(require 'org)

(find-file "some/org/file.org")

C-c C-p to launch vanilla Doom (minus your config)
M-x er/expand-region

If you cannot reproduce it, then the issue is likely in your private config. Do you have a link to your config?

Hi, i use https://github.com/syl20bnr/spacemacs/issues/12099#issuecomment-490600059 to solve it.

I cannot reproduce this. Could you reproduce this in vanilla Doom? i.e.

SPC h E (or M-x doom/sandbox)
Type in

(require 'expand-region)
(require 'org)

(find-file "some/org/file.org")

C-c C-p to launch vanilla Doom (won't load your config)
M-x er/expand-region

If you cannot reproduce it, then the issue is likely in your private config. Do you have a link to your config?

i cannot reproduce it.

Hi, i use syl20bnr/spacemacs#12099 (comment) to solve it.

Ah, that makes sense. In the future, doom compile :plugins will re-byte-compile plugins. Thanks for letting me know!


SG test.

Also we might want to update CONTRIBUTING.md, and just put a link to the contribution section in there. I think that's better than removing the file entirely.


[jruby] XML::Schema#validate does not work when provided a path

Found when I added tests related to #1351, see https://github.com/sparklemotion/nokogiri/commit/ebdb95b7543ac90cd439985c7e0cef6a499348c0
This fails because ParserContext's setInputSource() method thinks it's receiving string data, and not a path to a file.
Would love if someone comfortable with JRuby would fix this quickly, as the failing test is on master.
/cc @jvshahid @yokolet

Sure, i'll take a look at it.

@jvshahid - We received a PR that addresses this, which I just merged. No worries!


Store listing layout breaks for long API names

long API names breaks the layout In all of APIM Store's listings.

Also related to the issue raised at https://github.com/wso2/product-iots/issues/1156

Fixed with https://github.com/wso2/carbon-apimgt/pull/4488
The names will be truncated when exceeding the bounding box and replaced with an ellipsis.
Full text will be visible on hover

Also fixed for prototyped and history API listing.

Closed as the PR is merged


Only trim whitespace for html content

:disappointed: Third time's a charm?
Looks like I keep swinging and missing on this solution.  Turns out there were more use cases for the trimming than I was aware.  While the prior PR fixed scenarios where we have whitespace at the beginning of a line like so:
    <% items.each do |item| %>

...it doesn't account for whitespace at the beginning of a line that outputs actual content.  For example:
    <%= "test" %>

In the above scenario, Markdown would still interpret the 4 spaces at the beginning of the line and improperly modify the structure of the html.
As far as I can tell, we have 2 options.  Either (a) we have a separate renderer for markdown content vs. html content or (b) we only trim html content.
I've put together an implementation for solution (b).  Would love to hear your thoughts.
@gjtorikian

No worries! Thanks for the commitment to a fix!


Added observe-js definition

Added the definition file for https://github.com/Polymer/observe-js.

@herrmanno Thanks mate!


Correct title on Youtube

Just like if it can't figure out the title we can write it ourselves, when it gets the wrong data we would be able to correct it.
And possibly store this information in a local database based on video ID?

@NathanWatson @david-sabata By local database, was it meant that the corrected track info would be permanently stored for future plays of the same video?


ENH: A very fast algorithm for computing matrix rank

🚀 Feature
I have devised an LUP based matrix rank computing algorithm that outperforms significantly the standard Numpy's matrix_rank function and PyTorch's GPU accelerated matrix_rank algorithm for most cases. For instance, for UAR generated 15000 x 15000 matrices, it offers a speedup of about 25 times over Numpy's matrix_rank. See the benchmarks. Unlike the LU factorization, LUP is stable in practice and I have thoroughly tested the correctness of my implementation.
Motivation
Computing the matrix rank using Numpy's matrix_rank function can be rather slow, particularly if one deals with large matrices and needs to run multiple times for at least tens of times. This motivated me to come up with a much faster approach than the SVD method used in Numpy's matrix_rank.
Pitch
I would like to consider the prospect of implementing this as a Scipy function. My implementation uses scipy's LUP function and a couple of Cython optimized functions along with the standard Numpy matrix operations.
Let me know if you need to know more about the algorithm's specifics and testing/benchmarks.

Hi @touqir14 that's great that you are working on this. The immediate next step is actually to validate the results based on precision and not so much about the speed itself.
The main issue with matix-rank and for all other upper/lower-semicontinuous functions for that matter is that they have to be correct at exactly very precise points. Hence while reaping the speed benefits of LU as opposed to an SVD decomposition it should not loose precision which is I am a bit skeptical about since their comparison has been pretty well-established in terms of precision elsewhere.

Also, is there any literature on this method?

Hi @ilayn , I agree with your point. I am not trying to propose a method that matches the precision of SVD or even beats it. Having said that, I have carried various tests on this algorithm and the one case where this method has some likelihood of failing is when the spectrum of the singular values of the input matrix is quite large. For instance, I have been randomly generating rank-deficient matrices which have the ratio of the largest singular value to the smallest non-zero singular value to be at least as large as 10^11 and thats pretty much the breaking point. Below 10^11, at 10^10, there are cases of failure that are rather rare. For a matrix of shape 100 x 100, after carrying out 1000 runs I could notice a couple of failures (SVD rank and LUP rank do not match up). Also, the mismatches were usually by a gap of 1. For a larger matrix of size 1000 x 1000, there does not seem to be any failure from 1000 runs. Below 10^10, the results seemed to be fine. I believe this algorithm is appropriate for real world cases where it is unlikely to come across matrices with a very large singular value spectrum.  The SVD matrix_rank method's breaking point is probably close to 10^13. Do let me know if you are looking for results on some particular tests that you think may add validity. I have also carried out tests on random matrices from various distributions and they all were fine.
Hi @rgommers , from my literature survey it seems like the literature on rank revealing LUP is quite small. Smaller than other rank revealing techniques like RRQR. Here is an algorithm https://core.ac.uk/download/pdf/82771231.pdf that uses full pivoting. My algorithm uses partial pivoting and from what I know, partial pivoting offers the same precision as full pivoting while being faster than the later. To the best of my knowledge, my algorithm is not present in the literature. The principle behind my algorithm, briefly speaking, is that the partial pivoted LU factorization breaks the input matrix A into PA = LU. The rank of PA is the same as rank of A.  Since L is a unit diagonal matrix, it is a full rank matrix. This leaves us to U which reflects the rank deficiency of A. Thus the problem gets reduced to computing the rank of U. U is not necessarily in a Row Reduced Echelon (REF) form. The crux of the algorithm is to perform successive LUP factorizations on the sub-matrices of U in a particular way to convert it into its REF form and from there the rank can be easily computed.

Ref the same proposal to PyTorch: https://github.com/pytorch/pytorch/issues/41622

The GPU accelerated algorithm uses PyTorch's LUP function and my benchmarks show that this algorithm significantly outperforms PyTorch's GPU accelerated matrix rank function.

How about adding a graph on precision like percentage failures as a function of ratio of smallest to largest singular value, for np.linalg.matrix_rank and your LUP-based function?

That would be good. I will post that.

I have slightly modified the algorithm for better precision. I have written a post comparing the success rates of LUP-rank-computer and numpy.linalg.matrix_rank

Can you please also add how you generate these matrices?
One thing I might warn about these benchmarks is that it is very hard to get rank-deficient matrices through random generators (other than the obvious A @ A.T for rectangular A). You are not necessarily generating problematic rank-deficient matrices but mostly ill-conditioned matrices.
The ill-conditioned matrices are kind of OK for SVD and not-so-much for LU (there is much literature about this) but matrices in the form of
A = np.array([[1., 1.],
              [1., 1+eps]])

are the actual enemies as eps approaches 0. If you even use this matrix you would get an idea of precision differences.
Moreover the success/fail should be predictable and extendable. In other words, there must be a way to shrink/increase tolerance values as in np.linalg.matrix_rank. I don't think this possible for LU based approaches since the elimination is hidden from user.

I have added a subsection in that post detailing how I created those random matrices.
I can see that the actual rank may not be the same as the intended rank but I think thats only the case for a very large target ratio of the largest singular value to the smallest non-zero singular value, like at least 1e13. For those cases I can definitely test by creating random rectangular matrices of condition number = t^0.5 whereas t is the target ratio of the final matrix since doing  A @ A.T squares the condition number of A.
Your example highlights the weakness of LU factorization when used for solving systems of equations. The LUP matrix computer works fine upto eps=1e-12 while numpy.linalg.matrix_rank works fine upto eps=1e-14. This accuracy gap between SVD's rank algorithm and my LUP based rank computer has already been highlighted in the experiments since eps=1e-12 corresponds to a condition number almost 1e12 while eps=1e-14 corresponds to 1e14.
The tolerance value that I am using as of now is not chosen based on theoretical grounds as in numpy.linalg.matrix_rank and I am in search for one. Can the bound (page 22, theorem 9.3) in https://who.rocq.inria.fr/Laura.Grigori/TeachingDocs/UPMC_Master2/Slides_Spr2016/DenseLU.pdf be used to compute a tolerance?

@ilayn , changing the random matrix generation process to A @ A.T does degrade the success rate of LUP method for those ranges of condition number where it previous had a 100% success rate such that for most condition numbers, at least a couple of cases out of a 1000 pop up where the LUP method fails. The success rate of SVD remains almost unchanged over all condition numbers. Slightly changing the tolerance level of the LUP method allows it to achieve a 100% success rate for those condition numbers where it achieved a 100% success rate using the previous random matrix generation method. I think the focus should go towards finding a principled way of tuning the tolerance level.

I don't have too much hope to get equivalent performance from LUP to be honest. Even if there is a sensible tolerance machinery as long as it cannot match the SVD results it would still be inferior.
The performance should also worsen as the matrices gets taller instead of squares.

Even if it is stays inferior to SVD, don't you think it still has utility as long as it works for most cases? I was not hoping to match the SVD results in the first place. The original motivation was to provide an algorithm that works quite fast compared to SVD based matrix_rank algorithm when the later (possibly over multiple runs) can take hours for large matrices. For most of the failed cases, the matrix rank was off by 1. There are algorithms that even require the use of approximate rank.

Oh don't get me wrong I think this is still a valuable result but matrix rank is notoriously problematic and expensive hence often we try to avoid computing it and try to resort to other means to work around it. Many commercial software do the same.
To gain more speed and to approximate the rank, often people resort to iterative methods or randomized methods. For dense arrays and algebraic methods, a wrong result is not acceptable unfortunately. For the latter approaches that's perfectly fine. But then your opponents are https://arxiv.org/abs/1503.07157 and alike.

Can you recommend me any approximate computational algorithm that comes with scipy? I know the interpolative decomposition comes with an approximate rank computational method in scipy and it can be a good candidate to compare with. Also, can the LUP rank algorithm be considered an addition to scipy as an approximate rank computational algorithm like the ID's approximation rank computational algorithm if it is a better competitor than the existing approximate rank computational algorithms in scipy?

On second thoughts, ID's rank computational method will be a poor competitor. See https://github.com/scipy/scipy/issues/12593

@ilayn , I have added experimental results comparing the LUP-rank-computer with the https://arxiv.org/abs/1503.07157 approximate rank computational algorithm here. The LUP-rank-computer seems to be superior. I don't think they have mentioned how the tolerance parameter can be set.

I will check as soon as I can spare some time but another thing to note

One such case is when the input matrix has a very wide spectrum of singular values i.e when the ratio of the largest singular value to the smallest singular value is quite big.

That's true for every rank-deficient matrix. Because sigma_min is always 0. for a rank deficient matrix. That's actually what you are trying to figure out. Hence sigmamax/sigmamin comparison is not an indicator of anything. If sigmamax = 100 (which is pretty common) and sigmamin is 1e-15 (which is roughly the size for rank deficiency) you get an artificial 1e-17 which is just noise.

Actually, I meant the smallest non-zero singular value.

That's a problem for every algorithm so LUP is no exception.


How to set the foreground image from the controller.

First of all thanks for this plugin.
I have a list of images and i am able to use this plugin to some extent. I have a need that i should be able to set the foreground image dynamically from the code.
Let's say i have an array of images $scope.arr = [{1},{2},{3},{4}]. So here the default image will be the first item ({1}) in the array. But i want to change the first image, which will show as a foreground image to the {3} from the code dynamically, without changing the order of the objects in the array.
And also the images in the array are showing from middle to left and then to right. Can we show the images in the following order?
middle, right, right+1, left+1, left etc..
How can i do that? could you please guide me on this?

Hi,
Start slide option was OK few days ago, but right not is not working as I see. Tomorrow I can fix problem with startSlide option. Then you will be able to set start slide. Feel free to contribute if you have ides.
currentIndex is present inside Service and I think that's not big job.
For different rendering try to define "dir" option parameter. Right now default is 'ltr' and and that is affecting on rendering order. If you pass anything else as "dir"  parameter, rendering will be from right to left.
I can spend some time during the weekend on this if you don't find solution.
Cheers

Thanks for your reply. The direction issue is resolved and working fine with the property as you mentioned. And also if you get a chance to make the startslide option in working mode, please let me know.

Hi,
Sorry for bit late response, I had sprint delivery previous week.
Code is updated and you can pull changes from master.
startSlide property will resolve problem with start slide.
If everything is OK can you please close the issue, or If you have any more questions feel free to ask.

I pulled the latest code. Checking it. Once it works i will close this issue.

Getting an error TypeError: Cannot read property 'attr' of undefined@ line # 206, while trying to play with the new version which is pulled from master. Because of that i am unable to see the images at all.

Hi,
I updated demo page with latest changes and everything works fine.
http://vladimirbujanovic.com/angular-carousel-3d/demo/demo.html
Now on demo page you can set carousel direction (orientation) and you can set Start slide (first is 0)
I'm not using jquery on demo, but I'm sure that this plugin works with or without jquery.
Can you please check again your pull requests. It should be ok.


Backlight Control TV WebOS 3.0

My LG OLED running WebOS 3.0 backlight control does not work. It will actually pause or play the content on my Apple TV instead. My other LG OLED running WebOS 4.0 works flawlessly with the same setup.

I would guess that WebOS 3.0 does not support that feature. You could also enable the debug log https://github.com/merdok/homebridge-webos-tv?tab=readme-ov-file#troubleshooting
and post the debug log from when you try to use that switch so we can see what is actually happening.


dub: 1.14.0 -> 1.22.0

Motivation for this change
Update to latest upstream
Things done
stop relying on deprecated build.sh script
remove tests that rely on network access or local maven

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

[X] NixOS
[ ] macOS
[ ] other Linux distributions

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

/nix/store/9hyfma4siw4wkwhrpx30xgrla9p3laa5-dub-1.14.0	  692104968
/nix/store/r1v73npv5qr17wa8ws1dwvrdzhk3xpf2-dub-1.22.0	  692290624

nixpkgs-review passes after fixing Literate for the current version of dmd in Nixpkgs.
Literate is already broken in the current Nixpkgs master. 🤷♀

Fixed after https://github.com/NixOS/nixpkgs/pull/96978 is merged to unbreak Literate

@mklca please fix the merge conflict.

@mklca please fix the merge conflict.


prevent

The LinkedIN API requires this in the head
<script type="text/javascript" src="//platform.linkedin.com/in.js">
	api_key: 729biipibhlozn
	onLoad: readyLinkedIN
	authorize: true
</script>

But Beautify adds a space in the api key
<script type="text/javascript" src="//platform.linkedin.com/in.js">
	api_key: 729 biipibhlozn
	onLoad: readyLinkedIN
	authorize: true
</script>

Is there config option to prevent this?
tnx

The output looks correct.  The problem is that the provided text is parsed as JavaScript because it is inside a script tag instead of being parsed as HTML plain text content.  This content is, however, not syntactically valid JavaScript.  To be valid JavaScript these things should happen:

The content should be wrapped in curly braces since it appears to be an object literal
The items need to be comma separated
The values need to be wrapped in quotes since they are probably string literals and not variable references


404 "database is locked" on parallel requests

Hi
First thanks for your work, I'm really enjoying pocketbase so far!
I am experiencing random query failures when doing parallel queries.
For example when making a Promise.all() on multiple getOne() requests. In the dashboard I can see the error code is 404 with
{ "errorDetails": "database is locked (5) (SQLITE_BUSY)", "errorMessage": "The requested resource wasn't found."}
I found it a bit counter-intuitive to have a 404 not found when it's more of a server problem.
From what I understand the database is locked on writing but here my request is a reading one. So the logging mechanism could be the bottleneck?
Here my test case is a couple hundred of parallel queries with random ID, collection contains 30k records and hardware is a Raspberry PI 4
I understand that I'm pushing against the limit with "big" parallel requests, but what are the limits ?
Can this happen with any big load on the database ?

What version of PocketBase are you using - v0.7.9 or v0.8.0-rc?
That's definitely strange and shouldn't happen on reads. SQLite in WAL mode supports multiple readers and a single writer so SQLITE_BUSY errors are generally expected only on heavy concurrent writes. Log writes happen in a separate database (log.db) in their own goroutine so it shouldn't be the reason for the error. Something else is going on here but I'm not sure what exactly.
I'll try to test it later today and will see if I can reproduce it.

I was able to reproduce the error (even on <1k parallel GET requests).
I'm still not sure what exactly is causing it (I double checked that we are executing only SELECT queries), but it seems related to modernc.org/sqlite driver that we use by default. When switching to the mattn/go-sqlite3 cgo driver the error doesn't happen.
With the cgo driver you may get "too many open files" error but that's expected because every network connection is a file descriptor and the default OS limits are usually ~1024 (you can check them with ulimit -n), but after increasing the limits (eg. ulimit -n 50000) the mattn/go-sqlite3 driver works fine.

I'll try to create MRE and file an issue in the upstream cznic/sqlite repo, but for the meantime I would suggest to batch your parallel get queries to limit the number of concurrent requests and/or manually build PocketBase with the mattn/go-sqlite3  driver enabled (aka. CGO_ENABLED=1):

Install go (if you haven't already)
Download/clone the repo
Navigate to examples/base
Run GOARCH=arm64 GOOS=linux CGO_ENABLED=1 go build main.go

Just for info, I've opened an issue in the upstream repo with a minimal reproducible example - https://gitlab.com/cznic/sqlite/-/issues/115.

I built with your latest commit from the rc branch, it seems to work fine now.
Thank you for the quick fix! 🙏

@tinawng Yes, the latest commit in the rc branch do 2 things:

defines the busy_timeout as the first pragma because the connection needs to be set to block on busy before WAL mode
sets explicit db pool limits to avoid starving the open file descriptors and reduce the max memory usage

The underlying problem though is still not exactly clear why it is happening and it may be just an implementation detail how the noncgo driver works - https://gitlab.com/cznic/sqlite/-/issues/115#note_1156310378
But for now, the above workarounds should help with the SQLITE_BUSY errors on heavy concurrent load.


unit testing

So i have implemented the Reapcha successfully. was wondering how can i mock google reCaptcha? My testing tools are
Jest,Enzyme

Thank you.

http://demo.dirbs.net/dvs/#/checkimei
So this is where i used reaptcha. After receiving response i enable the button and send API call. I am not able to mock the API call unless Google recaptcha response is received.

@shahzadcacf This is not enough information to know what's the real problem. Maybe show me your failing test.

I'm late to the party but struggled with it a bit.
Here is what I came up with https://gist.github.com/Bartuz/baa4cb3cff45286a519acc5ad0313bd7
happily tested my component that way :)

@Bartuz Exactly what I was talking about! You just need to mock window.recaptcha and you're ready to go 😄

@sarneeh betweenjust and mock there was an hour or so inverstigraging which parts of window.grecaptcha shall I mock to cause Reaptcha component to fire specific events. Definitely not just "just" :D Thanks anyway <3


Long press doesn't work in Firefox mobile

Great library! I'm excited to try it out! I noticed in testing it on my mobile device, however, that the long-press does not work to open the contextmenu in Firefox. Long-press does work in Chrome on mobile, though. Is this a browser issue, and Chrome just handles long-press as a right-click (but Firefox doesn't)? Or does the library itself handle the long-press?

Hey @mstenta would you be able to debug this one? :)

Perhaps! Question though: does the library have code to specifically handle a long mouse click? Or do you think it is Chrome that is handling that and interpreting it as a right click?
If it's Chrome, then I think this would be a feature request for the library, not a bug report, because the library does not currently handle long-press clicks itself (correct?)

Correct. We're not handling this "event" at all. As far as I know there's no such event, you gotta play with setInterval and setTimeout and trigger the menu.
What do you think?

Maybe something like this?
https://github.com/ittus/vue-long-click/blob/master/src/directives/longclick.js

Closing due to inactivity.


How to use "loopCompletionBlock" in Swift 3.0

Hello,
I have successfully integrated "FLAnimatedImage" Objective-C code to my application. I want to display a gif image as a splash screen. So the objective is image should animated for one time only and then the main view controller should open.
The image is animated perfectly now but it is in loop. It is animating in infinite loop. I have tried to change loopCount property by 1 and the image stopped animation but I was unable to get any call back for the completion of this operation.
I have also tried to call 'loopCompletionBlock' but I am unable to call this as it gives me the following error always:
'Cannot call value of non-function type ((UInt) _> Void)!'
Please guide me that How can I use this call back upon completion of the animation for the first time.

Hey, tried this?
imageView.loopCompletionBlock = { _ in
            print("loop completed")
 }

Thanks for the replay Kean and it worked for me. Thank you once again..!!

Thread 1: Fatal error: Unexpectedly found nil while unwrapping an Optional values


Be able to change first weekday

You can only change weekStart from calendar-heatmap.js. I would love to see an option for this for the function, like this:
var chart1 = calendarHeatmap().data(chartData).selector('#chart-one').weekStart(1);

@ghost
Can you elaborate on how to have changed the first weekday in the sourcecode ?
Thanks.


Don't connect to central maven when repositories are configured in pom.xml

Package manager/ecosystem
maven
Manifest contents prior to update
any pom.xml with internal repositories
Updated dependency
any
What you expected to see, versus what you actually saw

In enterprise environment, the connection to central maven could be blocked. In this case,
i) either don't connect to central maven at all
ii) or if the connection to central maven is not successful, don't raise exception, just move on to other repositories
currently i see below exception
/vendor/ruby/2.6.0/gems/excon-0.76.0/lib/excon/socket.rb:285:in `select_with_timeout': connect_write timeout reached (Excon::Error::Timeout)

please correct me if i'm wrong

I have found a workaround to avoid this problem. And after looking into the dependabot code, I think this behaviour is by design and will never be modified. so closing this.

@ilam-natarajan Could you share your workaround?


Killing Terminal causes failed assertion in winpty.dll and process exit code: 3

Killing any terminal using the UI trash icon causes the following error window:

In Visual Studio Code, a notification shows:

VSCode Version: Code - Insiders 1.18.0-insider (098bb776d2e5fdf3cc9ea27a233754acf4309857, 2017-11-04T04:43:03.436Z)
OS Version: Windows_NT x64 10.0.16299
Extensions:

Extension
Author (truncated)
Version

csharp
ms-
1.12.1

PowerShell
ms-
1.5.0

vscode-docker
Pet
0.0.20

elm
sbr
0.15.1

Steps to Reproduce:

Open integrated terminal window.
Press "Kill Terminal" trash icon.

Reproduces without extensions: Yes

Same here for me in release version 1.18.0.

VSCode Version: Code 1.18.0 (dcee2202709a4f223185514b9275aa4229841aa7, 2017-11-08T21:19:36.079Z)
OS Version: Windows_NT ia32 6.1.7601
Extensions:
Extension|Author (truncated)|Version
---|---|---
Bookmarks|ale|0.17.0
Gradle|caz|1.1.2
java-decompiler|dgi|0.0.1
githistory|don|0.2.3
gitlens|eam|6.0.0
code-runner|for|0.8.3
intellij-idea-keybindings|k--|0.2.16
debugger-for-chrome|msj|3.5.0
java|red|0.13.0
sass-indented|rob|1.4.5
vscode-java-debug|vsc|0.2.0
vscode-java-pack|vsc|0.2.0
vim|vsc|0.10.2
local-history|xyz|1.6.1

The same
VSCode 1.19.0-insiders
Win10

Same problem after updating to 1.18 release.
Might be worth noting that this problem only happens when I use WSL's terminal instead of CMD/Powershell (i.e. by adding   "terminal.integrated.shell.windows": "C:\\WINDOWS\\system32\\wsl.exe" to user settings). Using CMD or Powershell does not exhibit this behavior.

VSCode Version: Code 1.18.0 (dcee2202709a4f223185514b9275aa4229841aa7, 2017-11-08T21:22:49.932Z)
OS Version: Windows_NT x64 10.0.16299
Extensions:

Extension
Author (truncated)
Version

vscode-eslint
dba
1.4.3

prettier-vscode
esb
0.24.0

auto-close-tag
for
0.5.3

vscode-auto-open-markdown-preview
hnw
0.0.4

typelens
kis
1.5.0

vscode-autoprefixer
mrm
2.1.2

csharp
ms-
1.13.0

debugger-for-chrome
msj
3.5.0

vscode-icons
rob
7.17.0

code-settings-sync
Sha
2.8.5

html5-boilerplate
sid
1.0.1

quokka-vscode
Wal
1.0.77

vscode-todo-highlight
way
0.5.11

blade-runner
yuk
1.0.0

Reproduces without extensions: Yes

@HenryLie I'm using Powershell in the build/configuration for my bug report.

@jmlane Ah, I see you have powershell extension on your list. Didn't notice that before.
I'm curious because I tested in three Windows 10 PCs (work, home, and colleague's PC) and the behavior is quite similar. On my home and work PC, the error ocurred when I close bash.exe/wsl.exe's terminal window, but does not trigger when I changed my terminal to cmd/powershell. Meanwhile on the colleague's PC which does not have WSL installed, he can also close the terminal window without any problem. That's what leads me to think the problem might be WSL related.
By any chance, do you have WSL feature turned on, even though you're using powershell as vscode's shell?

the same bug only when using WSL as terminal

@HenryLie I can also replicate that behaviour: WSL is enabled on the host that is described in my the issue, however on another host with a similar environment but without WSL, I cannot replicate the winpty.dll assertion error.

The same exception happens with "Tasks: Terminate Task" command.
v.1.18.0

This doesn't happen to me when I close the terminal with the default terminal settings (Powershell), but it does happen when the integrated terminal is set to bash.exe, I open bash.exe with -c and /usr/bin/zsh. I have also set the terminal font to a powerline font.

Occurring on 1709 (16299.64) also, i.e. non-insiders build.
FYI I use shell launcher to launch different shells
Like @pkeuter above, I also have Zsh, with wsl.exe, but I also have another shell option with bash.exe (launches WSL bash without zsh)

Can anyone confirm whether this still occurs in v1.19?

@Tyriar I have 1.18.1 and everything is ok

👍


CRD usage of pointers vs non-pointers

Changes
We were not following the pointer vs non-pointer fields for custom resource definitions having required and optional fields.
Fixes #397
Update required custom resource fields to non-pointer
Update optional custom resource fields that do not have a built-in nil value to pointers
Submitter Checklist

[ ] Includes tests if functionality changed/was added
[ ] Includes docs if changes are user-facing
[x] Set a kind label on this PR
[x] Release notes block has been filled in, or marked NONE

See the contributor guide
for details on coding conventions, github and prow interactions, and the code review process.
Release Notes
action required: We have cleaned up our APIs to provide a consistent representation of optional fields in Go. If you consume our Go types, many optional field types have been converted to pointers.

@adambkaplan @gabemontero @HeavyWombat Looking for other opinions on optional fields. Imo we should use pointers for objects and fields where we must distinguish the "default value (""/false/0) and nil. In other cases we should use omitempty.

@SaschaSchwarze0 Thanks.

we ask that pointers always be used with optional fields that do not have a built-in nil value

I saw this line in api-conventions and decided to use the pointers for primitive types as well.

@adambkaplan @gabemontero @HeavyWombat Looking for other opinions on optional fields. Imo we should use pointers for objects and fields where we must distinguish the "default value (""/false/0) and nil. In other cases we should use omitempty.

@SaschaSchwarze0 Thanks.

we ask that pointers always be used with optional fields that do not have a built-in nil value

I saw this line in api-conventions and decided to use the pointers for primitive types as well.

I see. Okay. Let's wait for further feedback and if needed bring it up in next Monday's community meeting.

/hold
Adding hold so that we merge this after the 0.7.0 release. We should merge this then soon and do the necessary changes in the CLI.

/unhold
@shahulsonhal this needs a rebase

drat...this PR needs to be rebased.
@shahulsonhal will you be able to do this? If not I can clone this PR and submit a new one.

We decided to merge this after the v0.8 release so that we have enough time to adopt the CLI and test things there.


Service Actions

On AIS, there will be a new property called actions which is an object of the following structure:
interface Actions {
    [id: string]: Action
}

interface Action {
    name: string
    description: string
    allowedStatuses: AppStatus[]
}

Below Properties, there should be a button called "Actions".
When clicked, it should show a list of available actions, showing the name attribute of each action on the actions object.
If the app is not in one of the allowedStatuses grey the action out.
If one of those actions is selected, show a confirmation dialog with the description of the action.
If they select ok, POST to /v0/apps/${appId}/actions with a JSON RPC 2.0 request:
request:
{
    "jsonrpc": "2.0",
    "id": 0, // can be anything
    "method": "reset-password" // the key associated with the action
}

respose:
{
    "jsonrpc": "2.0",
    "id": 0, // same id as in request
    "result": "Your new password is: \"abcdefg\"" // a response to show in an alert
}

OR
{
    "jsonrpc": "2.0",
    "id": 0, // same id as in request
    "error": {
        code: 1,
        message: "Password could not be reset."
    }
}

I think it might be better to have a tool tip (question mark) to explain the action before clicking it. Then a confirm dialog after click, (ie "are you sure you want to ")

Sure, but I want to make sure the description gets read if they perform the action. It could have important information. I'm fine with also adding the tooltip though.

Can we flatten the types?
I don't see any reason for the FE to be doing id lookups, but a list is convenient for how we're displaying
Actions = Action[]
Action {
id: string,
name: string,
description: string,
allowedStatuses: AppStatus[]
}

yeah, happy to do that


Backupstore file locks

Proposal
The idea is to implement a locking mechanism that utilizes the backupstore,
to prevent the following dangerous cases of concurrent operations.

prevent backup deletion during backup restoration
prevent backup deletion while a backup is in progress
prevent backup creation during backup deletion
prevent backup restoration during backup deletion

The locking solution shouldn't unnecessary block operations, so the following cases should be allowed.

allow backup creation during restoration
allow backup restoration during creation

The locking solution should have a maximum wait time for lock acquisition,
which will fail the backup operation so that the user does not have to wait forever.
The locking solution should be self expiring, so that when a process dies unexpectedly,
future processes are able to acquire the lock.
The locking solution should guarantee that only a single type of lock is active at a time.
The locking solution should allow a lock to be passed down into async running go routines.
Implementation Overview
Conceptually the lock can be thought of as a RW lock,
it includes a Type specifier where different types are mutually exclusive.
To allow the lock to be passed into async running go routines, we add a count field,
that keeps track of the current references to this lock.
type FileLock struct {
	Name         string
	Type         LockType
	Acquired     bool
	driver       BackupStoreDriver
	volume       string
	count        int32
	serverTime   time.Time
	refreshTimer *time.Ticker
}

To make the lock self expiring, we rely on serverTime updates which needs to be refreshed by a timer.
We chose a LOCK_REFRESH_INTERVAL of 60 seconds, each refresh cycle a locks serverTime will be updated.
A lock is considered expired once the current time is after a locks serverTime + LOCK_MAX_WAIT_TIME of 150 seconds.
Once a lock is expired any currently active attempts to acquire that lock will timeout.
const (
	LOCKS_DIRECTORY       = "locks"
	LOCK_PREFIX           = "lock"
	LOCK_SUFFIX           = ".lck"
	LOCK_REFRESH_INTERVAL = time.Second * 60
	LOCK_MAX_WAIT_TIME    = time.Second * 150
	LOCK_CHECK_INTERVAL   = time.Second * 10
	LOCK_CHECK_WAIT_TIME  = time.Second * 2
)

Lock Usage

create a new lock instance via lock := lock.New()
call lock.Lock() which will block till the lock has been acquired and increment the lock reference count.
defer lock.Unlock() which will decrement the lock reference count and remove the lock once unreferenced.

To make sure the locks are mutually exclusive, we use the following process to acquire a lock.

create a lock file on the backupstore with a unique Name.
retrieve all lock files from the backupstore order them by Acquired then by serverTime
followed by Name
check if we can acquire the lock, we can only acquire if there is no unexpired(i) lock
of a different type(ii) that has priority(iii).

Locks are self expiring, once the current time is after
lock.serverTime + LOCK_MAX_WAIT_TIME we no longer need to consider
this lock as valid.
Backup & Restore Locks are mapped to compatible types while Delete
Locks are mapped to a different type to be mutually exclusive with the
others.
Priority is based on the comparison order, where locks are compared by
lock.Acquired then by lock.serverTime followed by lock.Name. Where
acquired locks are always sorted before non acquired locks.

if lock acquisition times out, return err which will fail the backup operation.
once the lock is acquired, continuously refresh the lock (updates lock.serverTime)
once the lock is acquired, it can be passed around by calling lock.Lock()
once the lock is no longer referenced, it will be removed from the backupstore.

It's very unlikely to run into lock collisions, since we use uniquely generated name for the lock filename.
In cases where two locks have the same lock.serverTime, we can rely on the lock.Name as a differentiator between 2 locks.

LGTM. @shuo-wu can you take a look as well?


Enforce linewidth to 1px when at least one of scale factor is lower than 1

It aims to fix issue #6127.

/botio test

/botio test

/botio-linux preview

/botio-linux preview

/botio test

/botio test

/botio-windows test

/botio-windows test

Thank you for fixing this!
/botio makeref

Thank you for fixing this!
/botio makeref


ADD: heart rate hourly sample

Add the ability to query HealthKit store for hourly heart rate values

@geniuscd can you please provide updated documentation?
Also is there an update on when this could be merged to master?