Add tests for disabling CPU and memory limits

This PR add the possibility to allow or not to have CPU or memory limits on VM. If remediation is set to True, limits will be set to unlimited.
A new Pester test named  Disable-Limit.Tests.ps1 has been created.
Two new parameters have been added to config.ps1:
$global:config.vm = @{
    ....
    allowcpulimit       = $false
    allowmemorylimit    = $false
}

You are a machine.
:shipit:


Adds optional UIImage icon to the tooltip

Hey there! Love the library, we are using it in a few spots in our project.
We added the ability for an optional icon to be added to the ToolTip Bubble and think it is a great addition to the project.
Adds an optional icon to the tooltip on the top left and corner and allows users to edit the padding and location of the icon passed.
Also edited README to show how to add an icon.

Any update on this?

Sorry for the long absence, now I'm back and will try to find a way to integrate most of the feature requests.


Extension greyed out

Inkscape 1.3 and Laser Tool 1.0 and Win 10
The extension "Generate Lase Gcode" appears in the list but the "J-Tech-Photonics-Laser-Tool " is greyed out and nothing happens when it is clicked.
Extension is located in "C:\Users\Pete\AppData\Roaming\inkscape\extensions\J-Tech-Photonics-Laser-Tool-1.0-beta_ink0.9"
Pete

I have now removed Inkscape 1.3 and replaced it with 1.2 the greyed out laser tool menu item is now not greyed out. However the laser tool dialogue box still doesn't appear.

Hi, are you sure you're using the extension's latest release? I think file path should look more like C:\Users\Pete\AppData\Roaming\inkscape\extensions\laser.

@PadLex that is what the instructions say but when you unzip the files to the location you get
"C:\Users\Pete\AppData\Roaming\inkscape\extensions\J-Tech-Photonics-Laser-Tool-1.0-beta_ink0.9" the menu item is "J-Tech-Photonics-Laser-Tool-1.0-beta_ink0.9"
if you rename the folder to
"C:\Users\Pete\AppData\Roaming\inkscape\extensions\laser" you still get "J-Tech-Photonics-Laser-Tool-1.0-beta_ink0.9" as the menu item
I have now tried it with 1.02 and the menu item is greyed out so I have gone back to 1.2 where the menu item is not greyed out and with the folder name chnged to laser. Still the extension doesn't open

I have now found the debug bat file and get this at startup. However Inkscape starts and appear to work but the menu laser menu item does not work but no further debug messages
Launching Inkscape, please wait...
warning: onecore\base\appmodel\runtime\winrt\lib\windows.applicationmodel.package.cpp(1008)\Windows.ApplicationModel.dll!00007FF9E508F63F: (caller: 00007FF9E507C5BC) ReturnHr(1) tid(35d8) 80070002 The system cannot find the file specified.
warning: onecore\base\appmodel\runtime\winrt\lib\windows.applicationmodel.package.cpp(512)\Windows.ApplicationModel.dll!00007FF9E508F4B1: (caller: 00007FF9ABC1BDE3) ReturnHr(2) tid(35d8) 80070002 The system cannot find the file specified.

Could the extension be nested in another folder? What's the absolute path to laser.py and the svg_to_gcode folder?

@PadLex  Thanks that got me looking and I don't have an SVG-to-Gcode. appart from a casual mention in a requirements.txt file their is no reference to needing it in the README.mdso I hadn't installed it. But Github has many versions available. Which one?

@Padlex Another look in Github and realise you have a copy of svg-to-gcode available I have done the pip install svg-to gcode and I got
Installing collected packages: svg-to-gcode
Successfully installed svg-to-gcode-1.5.4

But still nothing. I have no idea whet svg-to-gcode ended up but laser.py is in " C:\Users\Pete\AppData\Roaming\inkscape\extensions\laser"
So I copied the "laser" folder to C:\Program "Files\Inkscape\share\inkscape\extensions\laser" and now I get the J-Tech popup window. But clicking "Apply" gives me

Amongst other things I am getting this in the extension-errors.log when Inkscape opens up
Extension "J Tech Photonics Laser Tool" failed to load because a dependency was not met.
Dependency:
type: file
location: extensions
string: inkex.py
The main extension folder for inkex exists here "C:\Program Files\Inkscape\share\inkscape\extensions" but there is no inkex.py file only inx.py

Because of this message in "C:\Users\Pete\AppData\Roaming\inkscape\extension-errors.log
Extension "J Tech Photonics Laser Tool" failed to load because a dependency was not met.
Dependency:
type: file
location: extensions
string: inkex.py
I put a dummy inkex.py into "C:\Users\Pete\AppData\Roaming\inkscape\extensions" and the message went away so is laser.py looking in the wrong place?
I have nothing in my Windows paths that points to any of this stuff so should I have and what should it be?

This only works with Inkscape V1.1.2 (not 1.0 or 1.2 or 1.3)


Backup & Restore from zk state

Subtasks

Note: This issue has been migrated to https://jira.mesosphere.com/browse/MARATHON-1739. For more information see https://groups.google.com/forum/#!topic/marathon-framework/khtvf-ifnp8.


High level interfaces should probably pass dictionaries of DataFrames or tables, rather that just DataFrames

E.g.,  the Creator model is passing back a single dataframe, but say, in cases that we are trying to mock up the behavior of multilevel esimates we might want to pass back a few differently shaped tables.
Creator.get_posterior(self, data: pd.DataFrame, column: str, grid: np.ndarray)
def sample(         self,         n_samples: int,         seed: int = None,         include_pdf: bool = False,         pz_grid: np.ndarray = None,     ):
returns pd.DataFrame
Conversely the estimator class expects dictionaries.    However, we probably want to distinguish between  str -> array dictionaries an  str -> table cases.
I think it might be useful to discuss possible implementations.  Here are some options.

We could say that you can pass around whatever you want and hope that "duck typing" doesn't cause too much havoc.
We could say that you have to pass around dict or OrderedDict of tables and provide a little utility function to make sure that is in fact what people are passing around
We could writing a simple wrapper class for and OrderedDict of tables and pass those around.

This is overtaken by events with the move to ceci


Forward ports to both public and private agents

@cmaloney I think this should stop the spurious failures of VPC integration tests

:ship:


:sparkles: page user add

Closes #333, Closes #319
This PR includes the following things:

accept a user when he was registered himself.
update region and function of a specific user.
View additional data of the users.

@renevds

Can you make the text of disabled fields (like name and stuff) a lighter colour.

I already tried to make it a lighter colour, but the other possible options was to light.

I can add a new colour to fix this?

A new colour sounds good to me!

@renevds
I tried adding a new colour:


Some Updates

Thanks, but I think the file you've edited is out dated. There's now a generic file that is used to produce the md and notebook files.

Nah Sir...
I've forked your latest md file (100_Numpy_exercises_with_hints_with_solutions.md) and it still doesn't work on NumPy (my version 1.18.5).
But I haven't try it on latest version (1.19) updated on Jun 29 though. Hope it works now ^^
------------------ Original ------------------
From: "Nicolas P<EMAIL_ADDRESS>Date: Mon, Jun 29, 2020 11:14 PM
To<EMAIL_ADDRESS>Cc: "骆轶凡 (Yifan Luo)"<yifan-luo<EMAIL_ADDRESS>Subject: Re: [rougier/numpy-100] Some Updates (#127)
@rougier commented on this pull request.
In 100_Numpy_exercises_with_hints_with_solutions.md:
> @@ -463,7 +463,7 @@ for dtype in [np.float32, np.float64]:  hint: np.set_printoptions    ```python -np.set_printoptions(threshold=np.nan) +np.set_printoptions(threshold=float("inf"))
I think is has been fixed but for some reason it does not appear in this file.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Sorry, I was not clear. You need to modify this file: https://github.com/rougier/numpy-100/blob/master/source/exercises100.ktx and make sure your copy is up to date (your PR has conflict). Then you can modify the inf/nan problem (I was referring to your other fix in your PR).


support reading from process.env.PORT

currently we need to define which port next should start to with -p

next start -p $PORT ?

-p $PORT works for me in the current release (1.2.3).

yes, but shouldn't it be the default?

Explicit > implicit right?

Can we rethink this? It would be much more elegant if process.env.PORT was respected as a default.

I am having issues with the recommended approach when process.env.PORT is populated by a .env file: https://github.com/zeit/next.js/issues/1799.


Prevent dropDown from hiding when hiding the virtual keyboard

bug
What is the current behavior?
When using autocomplete on a mobile device, be it iOS or Android :

Type in some search terms
The dropDown results appear
Press "Ok" (iOS) to hide the virtual keyboard
=> The dropDown hides

What is the expected behavior?
The dropDown should stay open when closing the virtual keyboard, as the user most probably did that to get a better view at the results.
Possible solutions
http://stackoverflow.com/questions/27975462/prevent-blur-event-on-keyboard-close

This is an annoying issue to solve, but there's a workaround: debug: true in the options will not blur the input after closing the keyboard.

@gbelorgey Hi thanks for the issue, I am reopening it since you sent us a support message on<EMAIL_ADDRESS>(thanks).
Could you provide us a live url for us to see the problem and debug it ?
We recently did some commits to try to solve that. Are you using the latest version of autocomplete.js?
Thanks.

@vvo
Thanks for reopening the issue.
I'm going to update autocomplete.js and mail you an access to our staging environment for debugging purposes.

Hello @gbelorgey,
I've looked into your issue on your staging env, when you say you press "Ok" button on the keyboard, is it the "Search" button on the bottom right side of the keyboard?
If yes, it looks like more it comes from your DOM because your autocomplete input is wrapped into a <form> element with an action=. When you press "Search" it triggers a submit event which will POST the form and reload the page, that's why you loose the keyboard.
What you should do is listening to the form submit event and prevent it 👍

Hello @iam4x
Sorry, somehow I missed the notification about your answer.
Here is a screenshot of the issue :

On this screenshot, "Rechercher" (sorry, it's in french) will submit the form and trigger a real product search. This is the expected behavior in our case.
But, the "done" button doesn't reload the page (as expected) and only closes the keyboard (so far so good). The issue we are dealing with is that when you tap "done", the keyboard goes away and the autocomplete goes away too
Thanks for your help !

In that case, I think we'll need to add a listener to the form, and on "submit", preventDefault() as well as keep the input focused

@Haroenv That's different I think, "done" does not submits the form, it blurs the input I think and thus hides autocomplete menu. What should we do in this case? Maybe provide an option to avoid doing so?

Hey @gbelorgey, you can already prevent that behaviour with debug: true in the options as shown in line 3 of this codepen:
var myAutocomplete = autocomplete('#search-input', {hint: false, debug: true}, [

https://codepen.io/team/algolia/pen/dREJNe?editors=1010


gocyclo: 2015-02-08 -> 0.4.0

Motivation for this change
Updating.
We're pulling from a random fork, so switch to the actual upstream.
Also change to use buildGoModule instead of buildGoPackage.
Should supersede https://github.com/NixOS/nixpkgs/pull/145102.
@stackshadow I can add Co-Authored-By: if you'd like.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Would be cool, i didn't had the time yet to maintain my last PR for this package. Was a very busy month 😄

@ofborg build gocyclo

Okay ther is nothing changed according to the "old" cli-interface.
But the calulation is different 🤔


Dkim Update

Description
This PR adds the ability to specify the DKIM selector. If not provided, it falls back to the until now default mail. Also this fixes #408 aswell.
In Addition, the OPENDKIM_KEY_LENGTH environment variable has been changed to DKIM_KEY_LENGTH to match the new DKIM_SELECTOR. For backwards compatibility it falls back to OPENDKIM_KEY_LENGTH if not defined (which again defaults to 1024).
With this PR the location of the DKIM keys has changed (with automatic migration). They are in the same folder but are now named selector.private.key and selector.public.key. So its not a breaking change, but if someone is automatically using the keys somewhere else, this might need adjustment to the new key names.
Fixes # (issue)

Until now the DKIM selector was always mail and could not be changed.
Now the DKIM selector can be changed and falls back to mail for backwards compatibility

Type of change
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)

Status

[x] Ready
[ ] In development
[ ] Hold

Todo List
How has this been tested ?
This has been tested with the (updated) internal test suite.

Oh, I forgot the following: To be able to restrict access to the DKIM keys, I had to change the dkim folder from vmail to _rspamd user.

The selector is the first part in the DNS txt record used in DKIM: In case of s1024._domainkey.yourdomain.tld s1024 would be the selctor, _domainkey is a static keyword defined by DKIM and yourdomain.tld would be your actual domain. The selector is just an arbitary string to define the location of your key. The idea is that you can have multiple keys in multiple txt records and with the selector you tell the target mailserver which key to use.
This can be used e.g. if you have multiple mailservers for one domain, each with their own key. Or if you use a new key, maybe with a larger bitlength, you still want the old key to be accessible, to be able to validate older mails aswell.
So its often recommended to use the date of key creation in your selector, for example like s20191105 but other examples list mta1, mta2 etc.
Until now this was fixed to mail which could not be changed. But this is a completly arbitary decision as there is no "default" or "common" selector.

Awesome! Thank you for the explanation. I am going to approve it.


Develop job runner infrastructure for paradigm

Has no use case in present or upcoming work, so closed without doing.


Add Govbase view embed

This embedded view shows which Projects in Govbase are supported by Gateway.

I'm not seeing anything when I build the docs. Can you send me a screenshot of what it looks like for you?

Hi @notchia, the embed is working for me but the formatting is weird - it's got zero padding above and too much padding below.
Also, it would be good to add a sentence or two beforehand explaining what the embed is showing.
Finally, it might make sense to stick this here: https://docs.metagov.org/en/latest/design.html#metagov-plugins  (Rather than on the home page)


Bug 1989710: Prune unused ClusterServiceVersion fields from catalog's informer.

The catalog operator watches both copied and original
ClusterServiceVersions in order to perform dependency resolution and
to check for API ownership conflicts during installation, but it only
reads a small subset of fields. Pruning those fields as CSVs are read
from the wire can substantially reduce heap size on clusters with a
significant total number of CSVs across all namespaces (for example,
when operators target all namespaces on a cluster with thousands of
namespaces).

/lgtm


Feature request: different icon for maximize and unmaximize a window

Windows has two icon for maximize and unmaximize a window

winbox has just one icon

why don't use two different icon?
Actually the workaround is:
.winbox:not(.max) .wb-max {
  background-image: url("maximize.svg") !important;
}

Thanks! your lib is awersome!

This is easily solved with CSS (as stated in the original post) so this issue should be closed.


Navbar toggle?

Not sure if it is a bug or not... But I cant get navbar toggle to work on small screens. Is there an example for this? I tried:
   <button class="navbar-toggler hidden-sm-up" type="button" data-toggle="collapse" data-target="#exCollapsingNavbar2" aria-controls="exCollapsingNavbar2" aria-expanded="false" aria-label="Toggle navigation">
     ☰
   </button>

same problem. navbar component is useless without toggling


Expo 50 build not working on Android

Describe the bug
Building Android with Java 17 (default build envrionment on Expo for 50), is giving this error when using Expo 50:
To Reproduce
Steps to reproduce the behavior:

Install lib
Install expo-build-properties to up the minSdkVersion to 26 as Expo 50 by default has 23 - see https://github.com/stripe/stripe-terminal-react-native/issues/584#issuecomment-1848922273
Build Android and it fails

Expected behavior
Android build should work
Execution failed for task ':stripe_stripe-terminal-react-native:compileDebugKotlin'.

> 'compileDebugJavaWithJavac' task (current target is 17) and 'compileDebugKotlin' task (current target is 1.8) jvm target compatibility should be set to the same Java version.

  Consider using JVM toolchain: https://kotl.in/gradle/jvm/toolchain

* Try:

> Run with --stacktrace option to get the stack trace.

> Run with --info or --debug option to get more log output.

> Run with --scan to get full insights.

> Get more help at

https://help.gradle.org.

BUILD FAILED in 5m 31s

I already used expo-build-properties to up the minSdkVersion to 26 and tried the solution shared here - https://github.com/stripe/stripe-terminal-react-native/issues/584#issuecomment-1848922273 so my plugin is like this:
      [
        "expo-build-properties",
        {
          "android": {
            "minSdkVersion": 26,
            "compileSdkVersion": 34,
            "targetSdkVersion": 34,
            "buildToolsVersion": "34.0.0",
            "packagingOptions": {
              "exclude": ["org/bouncycastle/x509/CertPathReviewerMessages*"]
            }
          }
        }
      ],

Screenshots
Please see error logs
Stripe Terminal React Native SDK version
"@stripe/stripe-terminal-react-native": "^0.0.1-beta.15",
Smartphone (please complete the following information):
Not applicable
Additional context
No

I think this might be related to improperly upgrading to Expo 50.

Correct, I upgraded improperly, closing.

Actually I'm wrong, it's not due to Expo 50 upgrade. Here's the error, will edit it up in the first post:
Execution failed for task ':stripe_stripe-terminal-react-native:compileDebugKotlin'.

> 'compileDebugJavaWithJavac' task (current target is 17) and 'compileDebugKotlin' task (current target is 1.8) jvm target compatibility should be set to the same Java version.

  Consider using JVM toolchain: https://kotl.in/gradle/jvm/toolchain

* Try:

> Run with --stacktrace option to get the stack trace.

> Run with --info or --debug option to get more log output.

> Run with --scan to get full insights.

> Get more help at

https://help.gradle.org.

BUILD FAILED in 5m 31s

Re-opening, I tried everything, and can't get this to build on Expo 50.

I have exactly the same problem. No solution found.

I had the same problem, the only solution that i found is downgrading to Expo 49. Do not hesitate to test my projet, i created a simpler Tap to Pay React Native app in order to test the stripe terminal SDK. https://github.com/RambokDev/stripe-tap-to-pay-react-native

I had the same problem, the only solution that i found is downgrading to Expo 49. Do not hesitate to test my projet, i created a simpler Tap to Pay React Native app in order to test the stripe terminal SDK. https://github.com/RambokDev/stripe-tap-to-pay-react-native

Thanks very much I will try that. I had downgraded expo to 49 but it wasn't building on expo pipeline. Did you try that? You used beta 15 of lib?

I had the same problem, the only solution that i found is downgrading to Expo 49. Do not hesitate to test my projet, i created a simpler Tap to Pay React Native app in order to test the stripe terminal SDK. https://github.com/RambokDev/stripe-tap-to-pay-react-native

Thanks very much I will try that. I had downgraded expo to 49 but it wasn't building on expo pipeline. Did you try that? You used beta 15 of lib I see which is very interesting. I thought I tried expo 49 and beta 15 but expo build cloud wouldn't work.
 I might have to try expo 49, terminal beta 14, and use a non 17 image for Expo build.

I managed to build on expo server with this image : ubuntu-22.04-jdk-17-ndk-r21e.
You can change the image in eas.json by adding the following in a profile :
"android": {         "image": "ubuntu-22.04-jdk-17-ndk-r21e"       }

I had the same problem, the only solution that i found is downgrading to Expo 49. Do not hesitate to test my projet, i created a simpler Tap to Pay React Native app in order to test the stripe terminal SDK. https://github.com/RambokDev/stripe-tap-to-pay-react-native

Thanks very much I will try that. I had downgraded expo to 49 but it wasn't building on expo pipeline. Did you try that? You used beta 15 of lib I see which is very interesting. I thought I tried expo 49 and beta 15 but expo build cloud wouldn't work.
 I might have to try expo 49, terminal beta 14, and use a non 17 image for Expo build.

I managed to build on expo server with this image : ubuntu-22.04-jdk-17-ndk-r21e.
You can change the image in eas.json by adding the following in a profile : "android": { "image": "ubuntu-22.04-jdk-17-ndk-r21e" }

Yes, this worked for me also :)

Hey ! the build.gradle file needs some updates in order to follow Expo 50 migration directions. In the changelog they say :
If you maintain any Expo Modules:
For Android: update your library build.gradle to match the changes in [this diff](https://gist.github.com/brentvatne/61cd1a938fb4ba8869bc490647aa52e8). You may also now remove the JVM target version configuration, [as explained in this FYI page](https://expo.fyi/expo-modules-gradle8-migration#error-task-current-target-is-17-and-compilereleasekotlin-task-current-target-is-11-jvm-target-compatibility-should-be-set-to-the-same-java-version).
For iOS: update the platform deployment target field from '13.0' to '13.4', matching the changes in [this diff](https://gist.github.com/brentvatne/87ac1b2c402be415972231a73ba3a695).

For those who are interested, in the meantime, here is the patch file :
<EMAIL_ADDRESS>diff --git<EMAIL_ADDRESS><EMAIL_ADDRESS>index eacd4f6..f31dc04 100644
---<EMAIL_ADDRESS>+++<EMAIL_ADDRESS>@@ -50,12 +50,16 @@ android {
     lintOptions {
         disable 'GradleCompatible'
     }
-    compileOptions {
-        sourceCompatibility JavaVersion.VERSION_1_8
-        targetCompatibility JavaVersion.VERSION_1_8
-    }
-    kotlinOptions {
-        jvmTarget = "1.8"
+    def agpVersion = com.android.Version.ANDROID_GRADLE_PLUGIN_VERSION
+    if (agpVersion.tokenize('.')[0].toInteger() < 8) {
+        compileOptions {
+            sourceCompatibility JavaVersion.VERSION_11
+            targetCompatibility JavaVersion.VERSION_11
+        }
+
+        kotlinOptions {
+            jvmTarget = JavaVersion.VERSION_11.majorVersion
+        }
     }
 }

Thank you for that! I downgraded to 49 for now as I was getting a crash on initialize on ios. But will try this out if I can get past that, thank you!

@nazli-stripe Could you please take a look and give some advice on how to handle this issue?

This issue is currently blocking our org. Hoping for a quick resolution.

If you're blocked I recommend downgrading to Expo 49, but I understand it's a problem. When downgrade many libs don't build anymore. I created a new project and removed things like FlashList.

Obviously downgrading to Expo v49 is an option, but Stripe is a for-profit company and it seems like a small ask to support Java 17. The patch diff is very small and this fix should frankly be released ASAP. cc @nazli-stripe

I understand. Expo v49 isn't an option for everyone. I had to sacrifice other libraries, and lost stuff I needed, but Stripe was core functionality so I made the trade off.

@ianlin-bbpos Can we get an official response?

We recently merged https://github.com/stripe/stripe-terminal-react-native/pull/616 to address compatibility issues for Java 17. We are trying to get a new release out as soon as possible, and will address the Expo issues in that. I will update this issue with any new information.

@nazli-stripe Thanks!

@nazli-stripe
Hi.
Are there any updates on new release date?
Thanks.

Hello @nazli-stripe,
any update?
Thanks!

So, "as soon as possible" means more than three weeks?

Any update on the next release.  Running into the issue (non-Expo project).  Tried downgrading to 13 and get different error

Try this. https://github.com/christian-unwrittenhair/stripe-terminal-react-native

hey everyone, we just released a new version that should address compatibility issues for Java 17: https://github.com/stripe/stripe-terminal-react-native/releases/tag/v0.0.1-beta.16
let us know if you are still running into issues

Hey @nazli-stripe!
I'm not an expert in maintaining 3rd party packages but after bumping to v0.0.1-beta.16 I'm getting error:
TS2307: Cannot find module @stripe/stripe-terminal-react-native or its corresponding type declarations.
I noticed that the new version is missing the lib folder which contains the typescript configuration. (Checked it also in a new fresh project and the result is the same.)
Any thoughts?
Best

I had same issue as @dakkor71

hey @isaachinman sorry i missed the discussion on this post, repeating the response on the new issue for specific Expo bug on beta.16 https://github.com/stripe/stripe-terminal-react-native/issues/650:
we are aware of this issue and have merged https://github.com/stripe/stripe-terminal-react-native/pull/652 to address it. We are targeting a release this week to fully resolve it

we just released https://github.com/stripe/stripe-terminal-react-native/releases/tag/v0.0.1-beta.17 to address this issue

closing this as Expo 50 now works with beta.17, feel free to open a new one if people are still running into issues

@nazli-stripe I can confirm that beta.17 works well with EXPO50. Thanks!


Expose index status as a command

For those working on a large repository, it takes time for VS code to index, it's common to take tens or a couple of tens seconds before the CTRL+P would meaningfully work (return the proper result) .
So could we expose the index status through a command (attaching what Sublime Text provides)

We don't index the repo, we use ripgrep under the hood. So if there are performance issues on startup particularly, this might have to do with the fact that search uses the extension host, which might be bogged down by all of the extensions starting up.

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


MessageService methods

void DumpObjcMethods(Class clz) {

    unsigned int methodCount = 0;
    Method *methods = class_copyMethodList(clz, &methodCount);

    printf("Found %d methods on '%s'\n", methodCount, class_getName(clz));

    for (unsigned int i = 0; i < methodCount; i++) {
        Method method = methods[i];

        printf("\t'%s' has method named '%s' of encoding '%s'\n",
               class_getName(clz),
               sel_getName(method_getName(method)),
               method_getTypeEncoding(method));

        /**
         *  Or do whatever you need here...
         */
    }

    free(methods);
}

    Class ms = objc_getClass("MessageService");
    DumpObjcMethods(ms);
    NSObject* foo = [[ms alloc] init];
    NSLog(@"%@foo", foo);

Found 189 methods on 'MessageService'
	'MessageService' has method named 'onServiceInit' of encoding 'v16@0:8'
	'MessageService' has method named 'onServiceClearData' of encoding 'v16@0:8'
	'MessageService' has method named 'GetMsgData:localId:' of encoding '@28@0:8@16I24'
	'MessageService' has method named 'onImgMsgSendFinish:msgData:' of encoding 'v32@0:8@16@24'
	'MessageService' has method named 'onAppMsgSendFinish:msgData:' of encoding 'v32@0:8@16@24'
	'MessageService' has method named 'ForwardMessage:withReaderWrap:toUser:' of encoding '@40@0:8@16@24@32'
	'MessageService' has method named 'ForwardMessage:toUser:errMsg:' of encoding '@40@0:8@16@24^@32'
	'MessageService' has method named 'SendAppURLMessageFromUser:toUsrName:withTitle:url:description:thumbUrl:' of encoding '@64@0:8@16@24@32@40@48@56'
	'MessageService' has method named 'isPreviewImageMsgDownloading:' of encoding 'c24@0:8@16'
	'MessageService' has method named 'updateUploadAndDownloadStatusInDBWithMessage:' of encoding 'c24@0:8@16'
	'MessageService' has method named 'RecallMsgWithChatName:msgData:erroHandler:' of encoding 'c40@0:8@16@24@?32'
	'MessageService' has method named 'DelMsg:msgList:isDelAll:isManual:' of encoding 'v40@0:8@16@24c32c36'
	'MessageService' has method named 'ResendMsg:toUser:' of encoding 'v32@0:8@16@24'
	'MessageService' has method named 'notifyAppMsgUploadProgress:msgData:uploadedBytes:totalBytes:' of encoding 'v40@0:8@16@24i32i36'
	'MessageService' has method named 'ModifyMsgDataField:msgData:bitSet:' of encoding 'v36@0:8@16@24I32'
	'MessageService' has method named 'onRecordMsgUploadCDNModMsgByBitSet:MsgWrap:BitSet:' of encoding 'v36@0:8@16@24I32'
	'MessageService' has method named 'ModifyMsgDataInDBWithMessage:chatName:' of encoding 'v32@0:8@16@24'
	'MessageService' has method named 'updateVoiceTextInDBWithMessage:' of encoding 'c24@0:8@16'
	'MessageService' has method named 'notifyModMsgOnMainThread:msgData:' of encoding 'v32@0:8@16@24'
	'MessageService' has method named 'GetLastMsg:' of encoding '@24@0:8@16'
	'MessageService' has method named 'GetUnReadCount:' of encoding 'I24@0:8@16'
	'MessageService' has method named 'm_hasClearData' of encoding 'c16@0:8'
	'MessageService' has method named 'SendStickerStoreEmoticonMsgFromUsr:toUsrName:md5:productID:' of encoding '@48@0:8@16@24@32@40'
	'MessageService' has method named 'SendEmoticonMsgFromUsr:toUsrName:md5:emoticonType:' of encoding '@44@0:8@16@24@32I40'
	'MessageService' has method named 'SendNamecardMsgFromUser:toUser:containingContact:' of encoding '@40@0:8@16@24@32'
	'MessageService' has method named 'SendGifAppMsgFromUsr:toUser:gifFilePath:' of encoding '@40@0:8@16@24@32'
	'MessageService' has method named 'SendGifFileMsgFromUsr:toUser:gifFileName:gifFilePath:' of encoding '@48@0:8@16@24@32@40'
	'MessageService' has method named 'SendFileAppMsgTo:fileName:filePath:' of encoding '@40@0:8@16@24@32'
	'MessageService' has method named 'SendImgMessage:toUsrName:thumbImgData:midImgData:imgData:imgInfo:' of encoding '@64@0:8@16@24@32@40@48@56'
	'MessageService' has method named 'SendVideoMessage:toUsrName:videoInfo:msgType:refMesageData:' of encoding '@52@0:8@16@24@32I40@44'
	'MessageService' has method named 'UpdateVideoMsg:' of encoding 'v24@0:8@16'
	'MessageService' has method named 'GetMsgList:arrFTSMessageData:' of encoding '@32@0:8@16@24'
	'MessageService' has method named 'GetMsgListWithChatName:fromCreateTime:limitCnt:hasMore:messageTypes:sortAscend:' of encoding '@52@0:8@16I24I28^c32@40c48'
	'MessageService' has method named 'GetMsgListWithChatName:minCreateTime:limitCnt:' of encoding '@32@0:8@16I24I28'
	'MessageService' has method named 'notifyCheckQQ' of encoding 'v16@0:8'
	'MessageService' has method named 'notifyUpdateVideoStatus:msgData:' of encoding 'v32@0:8@16@24'
	'MessageService' has method named 'filterAddMsg:' of encoding '@24@0:8@16'
	'MessageService' has method named 'processStatusNotifyMsg:dicMsgStatus:' of encoding 'v32@0:8@16@24'
	'MessageService' has method named 'processVoipInviteMsg:' of encoding 'v24@0:8@16'
	'MessageService' has method named 'isCanAddToDB:' of encoding 'c24@0:8@16'
	'MessageService' has method named 'fillMsg:toAddDbDic:' of encoding 'v32@0:8@16@24'
	'MessageService' has method named 'processMsgListAddToDB:dicNotify:' of encoding 'v32@0:8@16@24'
	'MessageService' has method named 'notifyAddMsg:isFirstSync:' of encoding 'v28@0:8@16c24'
	'MessageService' has method named 'doMsgStatusNotify:' of encoding 'v24@0:8@16'
	'MessageService' has method named 'notifyMsgStatus:' of encoding 'v24@0:8@16'
	'MessageService' has method named 'processNewXMLMsg:' of encoding 'v24@0:8@16'
	'MessageService' has method named 'processYoMsg:' of encoding 'v24@0:8@16'
	'MessageService' has method named 'getMsgDB:' of encoding '@24@0:8@16'
	'MessageService' has method named 'isMsgSpecialProcess:' of encoding 'c24@0:8@16'
	'MessageService' has method named 'isFilterMsg:' of encoding 'c24@0:8@16'
	'MessageService' has method named 'genMsgDataFromAddMsg:' of encoding '@24@0:8@16'
	'MessageService' has method named 'AddRevokePromptMsg:msgData:' of encoding 'v32@0:8@16@24'
	'MessageService' has method named 'processStatusNotifyOpCode:userName:msgData:dicStatusNofity:' of encoding 'v44@0:8I16@20@28@36'
	'MessageService' has method named 'addEnterSession:setEnterSession:inDic:' of encoding 'v40@0:8@16@24@32'
	'MessageService' has method named 'addMarkRead:createTime:inDic:' of encoding 'v36@0:8@16I24@28'
	'MessageService' has method named 'addQuitSession:setQuitSession:inDic:' of encoding 'v40@0:8@16@24@32'
	'MessageService' has method named 'addChatList:inDic:' of encoding 'v32@0:8@16@24'
	'MessageService' has method named 'getMsgDBWithIdentifier:' of encoding '@24@0:8@16'
	'MessageService' has method named 'addMsgList:toDb:dicNotify:' of encoding 'v40@0:8@16@24@32'
	'MessageService' has method named 'addNewSyncMsg:chatName:msgDb:' of encoding 'c40@0:8@16@24@32'
	'MessageService' has method named 'StartDownloadVoice:' of encoding 'v24@0:8@16'
	'MessageService' has method named 'markChatRead:dicNotify:' of encoding 'v32@0:8@16@24'
	'MessageService' has method named 'handleMarkFunction:dicNotify:' of encoding 'v32@0:8@16@24'
	'MessageService' has method named 'statusCommand:dicNotify:' of encoding 'v32@0:8@16@24'
	'MessageService' has method named 'notifyAddMsgOnMainThread:msgData:' of encoding 'v32@0:8@16@24'
	'MessageService' has method named 'notifyAddMsgListForSessionOnMainThread:setUsrNames:' of encoding 'v32@0:8@16@24'
	'MessageService' has method named 'OnSyncBatchAddFunctionMsgs:isFirstSync:' of encoding 'v28@0:8@16c24'
	'MessageService' has method named 'OnSyncModMsgStatus:' of encoding 'v24@0:8@16'
	'MessageService' has method named 'processMacHelperCommandIfNeeded:' of encoding 'v24@0:8@16'
	'MessageService' has method named 'addMarkFunction:createTime:inDic:' of encoding 'v36@0:8@16I24@28'
	'MessageService' has method named 'updateImageSizeWithMessage:' of encoding 'c24@0:8@16'
	'MessageService' has method named 'onVideoMsgSendFinish:msgData:' of encoding 'v32@0:8@16@24'
	'MessageService' has method named 'SendAppURLMessageFromUser:toUsrName:withTitle:url:description:thumbnailData:' of encoding '@64@0:8@16@24@32@40@48@56'
	'MessageService' has method named 'onTextMsgSendFinish:msgData:' of encoding 'v32@0:8@16@24'
	'MessageService' has method named 'StartDownloadAppMsg:msgData:' of encoding 'v32@0:8@16@24'
	'MessageService' has method named 'setM_hasClearData:' of encoding 'v20@0:8c16'
	'MessageService' has method named 'updateMsgGapBy:' of encoding 'v24@0:8@16'
	'MessageService' has method named 'getMsgGapsFrom:to:chat:' of encoding '@32@0:8I16I20@24'
	'MessageService' has method named 'deleteMsgGapEarlierThan:' of encoding 'v20@0:8I16'
	'MessageService' has method named 'deleteMsgGapBy:' of encoding 'v24@0:8@16'
	'MessageService' has method named 'ForwardFavoritesItem:toUserName:' of encoding '@32@0:8@16@24'
	'MessageService' has method named 'ForwardFavoritesItem:withThumbnailData:thumbnailSize:imageData:toUserName:' of encoding '@64@0:8@16@24{CGSize=dd}32@48@56'
	'MessageService' has method named 'isVideoMsgDownloading:' of encoding 'c24@0:8@16'
	'MessageService' has method named 'isPreviewVideoMsgDownloading:' of encoding 'c24@0:8@16'
	'MessageService' has method named 'GetImgOrAppLastMsg:FromID:CreateTime:Limit:' of encoding '@36@0:8@16I24I28I32'
	'MessageService' has method named 'GetImgOrAppNextMsg:FromID:CreateTime:Limit:' of encoding '@36@0:8@16I24I28I32'
	'MessageService' has method named 'GetImgOrVideoLastMsg:FromID:CreateTime:Limit:' of encoding '@36@0:8@16I24I28I32'
	'MessageService' has method named 'GetImgOrVideoNextMsg:FromID:CreateTime:Limit:' of encoding '@36@0:8@16I24I28I32'
	'MessageService' has method named 'notifyUploadProgress:msgData:' of encoding 'v32@0:8@16@24'
	'MessageService' has method named 'updateFileInformationInDBWithMessage:' of encoding 'c24@0:8@16'
	'MessageService' has method named 'cancelDownloadAppMsg:msgData:' of encoding 'v32@0:8@16@24'
	'MessageService' has method named 'cancelUploadAppMsg:msgData:' of encoding 'v32@0:8@16@24'
	'MessageService' has method named 'SendAppMusicMessageFromUser:toUsrName:withTitle:url:description:thumbnailData:' of encoding '@64@0:8@16@24@32@40@48@56'
	'MessageService' has method named 'SendLocationMsgFromUser:toUser:withLatitude:longitude:poiName:label:' of encoding '@64@0:8@16@24d32d40@48@56'
	'MessageService' has method named 'sendWebStreamVideoMessage:toUsrName:' of encoding '@32@0:8@16@24'
	'MessageService' has method named 'SendRecordAppMsgTo:withFavoritesItem:' of encoding '@32@0:8@16@24'
	'MessageService' has method named 'SendNoteAppMsgTo:withFavoritesItem:' of encoding '@32@0:8@16@24'
	'MessageService' has method named 'searchWithKeyword:chatName:minMesLocalID:limitCount:' of encoding '@40@0:8@16@24I32I36'
	'MessageService' has method named 'getMaxLocalIdMsg:' of encoding '@24@0:8@16'
	'MessageService' has method named 'GetMsgList:mesLocalIDs:' of encoding '@32@0:8@16@24'
	'MessageService' has method named 'GetMsgListWithChatName:minMesLocalId:limitCnt:' of encoding '@32@0:8@16I24I28'
	'MessageService' has method named 'updateVideoInformationInDBWithMessage:' of encoding 'c24@0:8@16'
	'MessageService' has method named 'cancelUploadVideoMsg:msgData:' of encoding 'v32@0:8@16@24'
	'MessageService' has method named 'OnSyncBatchBakChatMsg:sender:message:msgGap:' of encoding 'v48@0:8@16@24@32@40'
	'MessageService' has method named 'addMsgGapForSessions:startTime:endTime:' of encoding 'v32@0:8@16I24I28'
	'MessageService' has method named 'sendChatSyncNewXml:startTime:endTime:sessionName:identifier:limit:' of encoding 'v52@0:8@16I24I28@32@40I48'
	'MessageService' has method named 'setupMacHelperOnMainThread' of encoding 'v16@0:8'
	'MessageService' has method named 'setIsMacHelperHasNewChanges:' of encoding 'v20@0:8c16'
	'MessageService' has method named 'checkUploadStatus:' of encoding 'v24@0:8@16'
	'MessageService' has method named 'checkDownloadStatus:' of encoding 'v24@0:8@16'
	'MessageService' has method named 'isImgMsgUploading:' of encoding 'c24@0:8@16'
	'MessageService' has method named 'isVideoMsgUploading:' of encoding 'c24@0:8@16'
	'MessageService' has method named 'isTextMsgUploading:' of encoding 'c24@0:8@16'
	'MessageService' has method named 'isEmojiMsgUploading:' of encoding 'c24@0:8@16'
	'MessageService' has method named 'isAppMsgUploading:' of encoding 'c24@0:8@16'
	'MessageService' has method named 'isAppMsgDownloading:' of encoding 'c24@0:8@16'
	'MessageService' has method named 'revokingMessages' of encoding '@16@0:8'
	'MessageService' has method named 'setRevokingMessages:' of encoding 'v24@0:8@16'
	'MessageService' has method named 'notifyDelAllMsgOnMainThread:' of encoding 'v24@0:8@16'
	'MessageService' has method named 'cleanDownloadTask:' of encoding 'v24@0:8@16'
	'MessageService' has method named 'notifyDelMsgOnMainThread:msgData:' of encoding 'v32@0:8@16@24'
	'MessageService' has method named 'notifyMsgDeletedForSessionOnMainThread:' of encoding 'v24@0:8@16'
	'MessageService' has method named 'notifyUnreadCntChangeOnMainThread:' of encoding 'v24@0:8@16'
	'MessageService' has method named 'AddShortVideoMsg:ToUsr:VideoInfo:isKFSession:' of encoding 'v44@0:8@16@24@32c40'
	'MessageService' has method named 'getEmoticonMsgContentWithMD5:emoticonType:' of encoding '@28@0:8@16I24'
	'MessageService' has method named '_getWWNamecardMsgContentForContact:' of encoding '@24@0:8@16'
	'MessageService' has method named '_getNamecardMsgContentForContact:' of encoding '@24@0:8@16'
	'MessageService' has method named 'addAppMsgToSendQueue:toUserName:scene:' of encoding 'v36@0:8@16@24I32'
	'MessageService' has method named 'reportFileLog:isForward:' of encoding 'v28@0:8@16c24'
	'MessageService' has method named 'forwardVideoMessage:toUser:extType:errMsg:' of encoding '@44@0:8@16@24i32^@36'
	'MessageService' has method named 'forwardTextMessage:toUser:errMsg:' of encoding '@40@0:8@16@24^@32'
	'MessageService' has method named 'forwardImageMessage:toUser:errMsg:' of encoding '@40@0:8@16@24^@32'
	'MessageService' has method named 'forwardEmojiMessage:toUser:errMsg:' of encoding '@40@0:8@16@24^@32'
	'MessageService' has method named 'forwardAppImageMessage:toUser:errMsg:' of encoding '@40@0:8@16@24^@32'
	'MessageService' has method named 'forwardAppFileMessage:toUser:errMsg:' of encoding '@40@0:8@16@24^@32'
	'MessageService' has method named 'forwardAppEmojiMessage:toUser:errMsg:' of encoding '@40@0:8@16@24^@32'
	'MessageService' has method named 'forwardAppMsgMessage:toUser:errMsg:' of encoding '@40@0:8@16@24^@32'
	'MessageService' has method named 'creatNewMessage:withUserName:' of encoding '@32@0:8@16@24'
	'MessageService' has method named 'notifyUIAndSessionOnMainThread:withMsg:' of encoding 'v32@0:8@16@24'
	'MessageService' has method named 'ensureCreateImageThumb:thumbPath:' of encoding 'v32@0:8@16@24'
	'MessageService' has method named 'notifyAddRevokePromptMsgOnMainThread:msgData:' of encoding 'v32@0:8@16@24'
	'MessageService' has method named 'notifyImgMsgSendFinishOnMainThread:msgData:' of encoding 'v32@0:8@16@24'
	'MessageService' has method named 'notifyImgUploadProgressOnMainThread:msgData:' of encoding 'v32@0:8@16@24'
	'MessageService' has method named 'notifyCheckQQOnMainThread' of encoding 'v16@0:8'
	'MessageService' has method named 'translatingMessages' of encoding '@16@0:8'
	'MessageService' has method named 'setTranslatingMessages:' of encoding 'v24@0:8@16'
	'MessageService' has method named 'updateTranslateStatusInDBWithMessage:' of encoding 'c24@0:8@16'
	'MessageService' has method named 'asyncCompressVideoInGlobalQueue:videoDataInfo:toUsrName:' of encoding 'v40@0:8@16@24@32'
	'MessageService' has method named 'ensureCreateVideoThumb:thumbPath:' of encoding 'v32@0:8@16@24'
	'MessageService' has method named 'onVoiceDowloadFinished:isSuccess:isNeedSave:offset:' of encoding 'v40@0:8@16c24c28Q32'
	'MessageService' has method named 'onFailedToParseXMLWhenDownloading:' of encoding 'v24@0:8@16'
	'MessageService' has method named 'onVoiceUploadCanceledWhenDownloading:' of encoding 'v24@0:8@16'
	'MessageService' has method named 'onEmoticonMsgSendFinish:msgData:' of encoding 'v32@0:8@16@24'
	'MessageService' has method named 'onEmoticonMsgSendFailed:msgData:' of encoding 'v32@0:8@16@24'
	'MessageService' has method named 'GetAllMsgWithChatName:messageType:' of encoding '@28@0:8@16I24'
	'MessageService' has method named 'CheckMessageStatus:' of encoding 'v24@0:8@16'
	'MessageService' has method named 'AddShortVideoMsg:ToUsr:VideoInfo:' of encoding 'v40@0:8@16@24@32'
	'MessageService' has method named 'sendChatSyncAppMsg:' of encoding 'v24@0:8@16'
	'MessageService' has method named 'AddTestMsg:msgData:' of encoding 'v32@0:8@16@24'
	'MessageService' has method named 'TranslateMsg:withCompletion:' of encoding 'v32@0:8@16@?24'
	'MessageService' has method named 'RemoveTranslationForMessage:' of encoding 'v24@0:8@16'
	'MessageService' has method named 'isMacHelperHasNewChanges' of encoding 'c16@0:8'
	'MessageService' has method named 'parseAndSortSyncMsgList:' of encoding '@24@0:8@16'
	'MessageService' has method named 'getFilterUnSupportMessage:' of encoding '@24@0:8@16'
	'MessageService' has method named 'getFilterDeleteMessage:chatName:toDB:' of encoding '@40@0:8@16@24@32'
	'MessageService' has method named 'isInMessageException:chatName:toDB:sender:' of encoding 'c48@0:8@16@24@32@40'
	'MessageService' has method named 'getAdjustMessage:chatName:toDB:oldMsgList:' of encoding '@48@0:8@16@24@32@40'
	'MessageService' has method named 'insertMsgList:chatName:toDB:oldMsgList:' of encoding 'c48@0:8@16@24@32@40'
	'MessageService' has method named 'updateSession:chatName:toDB:' of encoding 'v40@0:8@16@24@32'
	'MessageService' has method named 'genMsgDataFromBakChatMsgItem:' of encoding '@24@0:8@16'
	'MessageService' has method named 'shouldFilterMsg:' of encoding 'c24@0:8@16'
	'MessageService' has method named 'canAddToDB:' of encoding 'c24@0:8@16'
	'MessageService' has method named 'notifyChatSyncMsgsOnMainThread:msgList:' of encoding 'v32@0:8@16@24'
	'MessageService' has method named 'notifyChatSyncMessagesMergedOnMainThread:' of encoding 'v24@0:8@16'
	'MessageService' has method named 'getOldMsg:oldMsgList:' of encoding '@32@0:8q16@24'
	'MessageService' has method named 'changeType:oldMsg:' of encoding 'i32@0:8@16@24'
	'MessageService' has method named 'movePathsFromOldMessage:toNewMessage:' of encoding 'v32@0:8@16@24'
	'MessageService' has method named 'getMsgDBWithIdentifier:withChatName:' of encoding '@32@0:8@16@24'
	'MessageService' has method named 'notifyMsgResendOnMainThread:msgData:' of encoding 'v32@0:8@16@24'
	'MessageService' has method named 'SendTextMessage:toUsrName:msgText:atUserList:' of encoding '@48@0:8@16@24@32@40'
	'MessageService' has method named 'GetMsgData:svrId:' of encoding '@32@0:8@16Q24'
	'MessageService' has method named 'hasMsgInChat:' of encoding 'c24@0:8@16'
	'MessageService' has method named 'FFToNameFavChatZZ:' of encoding 'v24@0:8@16'
	'MessageService' has method named 'FFImgToOnFavInfoInfoVCZZ:isFirstSync:' of encoding 'v28@0:8@16c24'
	'MessageService' has method named 'AddLocalMsg:msgData:' of encoding 'v32@0:8@16@24'
	'MessageService' has method named 'ClearUnRead:FromCreateTime:ToCreateTime:' of encoding 'c32@0:8@16I24I28'
	'MessageService' has method named 'GetMsgListWithChatName:fromCreateTime:limitCnt:hasMore:sortAscend:' of encoding '@44@0:8@16I24I28^c32c40'
	'MessageService' has method named 'init' of encoding '@16@0:8'
	'MessageService' has method named '.cxx_destruct' of encoding 'v16@0:8'
(lldb)


UserGuide update. add preface, reorder some, add logo

Pull Request Test Coverage Report for Build 452

0 of 0 (NaN%) changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 88.046%

Totals

Change from base Build 448:
0.0%

Covered Lines:
2217

Relevant Lines:
2518

💛  - Coveralls


ip2c.org is slow

the requests to ip2c.org are quite slow, so it doesn't show any flage for 4-5 seconds.

still now changed in this endpoint?


Revert "branched evars"

This reverts commit 4c9d80922e15d107ceb5125b39ef447c24b4db04.

now that there are v3.9.0 tags this is no longer necessary


'npm install --save puppeteer' doesn't work on Ubuntu-Server 16.04

Steps to reproduce
sudo npm install --save puppeteer
Returns:
`><EMAIL_ADDRESS>install /home/ifm/NodeProjects/node_modules/puppeteer
> node install.js
ERROR: Failed to download Chromium r549031! Set "PUPPETEER_SKIP_CHROMIUM_DOWNLOAD" env variable to skip download.
{ Error: EACCES: permission denied, mkdir '/home/ifm/NodeProjects/node_modules/puppeteer/.local-chromium'
errno: -13,
code: 'EACCES',
syscall: 'mkdir',
path: '/home/ifm/NodeProjects/node_modules/puppeteer/.local-chromium' }
npm WARN enoent ENOENT: no such file or directory, open '/home/ifm/NodeProjects/package.json'
npm WARN NodeProjects No description
npm WARN NodeProjects No repository field.
npm WARN NodeProjects No README data
npm WARN NodeProjects No license field.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>install: node install.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR!     /home/ifm/.npm/_logs/2018-04-16T14_08_27_047Z-debug.log`
Tell us about your environment:

Puppeteer version:
1.3.0
Platform / OS version:
Ubuntu-Server 16.04
Node.js version:
v8.11.1

What steps will reproduce the problem?
sudo npm install --save puppeteer
What is the expected result?
For puppeteer to be installed and working
What happens instead?
The following error occurs:
`><EMAIL_ADDRESS>install /home/ifm/NodeProjects/node_modules/puppeteer
> node install.js
ERROR: Failed to download Chromium r549031! Set "PUPPETEER_SKIP_CHROMIUM_DOWNLOAD" env variable to skip download.
{ Error: EACCES: permission denied, mkdir '/home/ifm/NodeProjects/node_modules/puppeteer/.local-chromium'
errno: -13,
code: 'EACCES',
syscall: 'mkdir',
path: '/home/ifm/NodeProjects/node_modules/puppeteer/.local-chromium' }
npm WARN enoent ENOENT: no such file or directory, open '/home/ifm/NodeProjects/package.json'
npm WARN NodeProjects No description
npm WARN NodeProjects No repository field.
npm WARN NodeProjects No README data
npm WARN NodeProjects No license field.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>install: node install.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR!  This has been discussed a lot on the bugtracker.


Fix dpi scaling

This is an attempt at fixing the dpi scaling of the renderer.

@duvallj would you be up for trying this branch? It fixes dpi scaling on my machine

@duvallj would you be up for trying this branch? It fixes dpi scaling on my machine

@Kethku sure! Just tried it now in fact, and can confirm it works on my machine as well to fix #424
Doesn't fix #436 yet, though..

@Kethku sure! Just tried it now in fact, and can confirm it works on my machine as well to fix #424
Doesn't fix #436 yet, though..

Im gonna merge this because I think its an improvement, but I'm going to think some more about how to fix the other issue

Im gonna merge this because I think its an improvement, but I'm going to think some more about how to fix the other issue


Use of undeclared type 'AuthDataResult'

Swift:
iOS version: 13.2
FirebaseUI version: 8.4.2
CocoaPods Version: 1.9.0

I am getting this error when trying to use the delegate function:
func authUI(_ authUI: FUIAuth, didSignInWith authDataResult: AuthDataResult?, url: URL?, error: Error?)

You need to import the FirebaseAuth module.

When I try import FirebaseAuth I only get…. Pods_FirebaseAuth.
I wonder if it’s because I called my project FirebaseAuth and that is conflicting.

On Mar 3, 2020, at 4:28 PM, Morgan Chen<EMAIL_ADDRESS>wrote:
You need to import the FirebaseAuth module.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/firebase/FirebaseUI-iOS/issues/840?email_source=notifications&email_token=AATN5PTQ7VOICUJRDQZGNDLRFVY6PA5CNFSM4LATJK4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENVHCBI#issuecomment-594178309, or unsubscribe https://github.com/notifications/unsubscribe-auth/AATN5PUL2KNYAPRDRT2RCMTRFVY6PANCNFSM4LATJK4A.

Yeah, I'm not sure what will happen if you name your project module the same thing as one of your dependency's modules but it can't possibly be good.
Also, are you setting use_frameworks! in your Podfile?

Yes I am.  I made a new project and it works fine, didn’t realize my project module was the same and when I did I figured that had to be the issue.
Thanks for your help.
Joe

On Mar 3, 2020, at 4:59 PM, Morgan Chen<EMAIL_ADDRESS>wrote:
Yeah, I'm not sure what will happen if you name your project module the same thing as one of your dependency's modules but it can't possibly be good.
Also, are you setting use_frameworks! in your Podfile?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/firebase/FirebaseUI-iOS/issues/840?email_source=notifications&email_token=AATN5PTMPQCSVPPRE54NECDRFV4ULA5CNFSM4LATJK4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENVKOFA#issuecomment-594192148, or unsubscribe https://github.com/notifications/unsubscribe-auth/AATN5PXVR2LGM6WI4ABIIFLRFV4ULANCNFSM4LATJK4A.


YAML code highlighting highlights much less than prismjs demo site

Have you read the Contributing Guidelines on issues?

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

Prerequisites

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

Description
We use Docusaurus with a dark theme and the Dracula theme for code highlighting. We also use CommonMark for MD files, not MDX.
We've enabled code highlighting for some languages, including YAML.
Comparing the output Docusaurus produces vs. prismjs.com demo page ( https://prismjs.com/test.html#language=yaml ), it looks like Docusaurus doesn't highlight much.
Sample YAML is a reusable workflow, I removed the reusable workflow part as it points to an internal repo of ours.
Comparison
GitHub
name: Analyze templates using PSrule

on:
  workflow_dispatch:
  schedule:
    - cron: "0 10 * * 0"

permissions:
  id-token: write
  contents: read
  security-events: write
  actions: read

Prismjs.com demo page using the "Twilight" theme

Docusaurus

Reproducible demo
No response
Steps to reproduce

Use provided YAML, put it inside a markdown file like so

```yaml
<code here>
```

Compare what Docusaurus outputs vs. the prismjs.com demo.
Expected behavior
The same parts should be highlighted, but colors are decided by the theme.
Actual behavior
Docusaurus highlight almost nothing.
Your environment
No response
Self-service

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

This is a theming issue.
The expected class are there token key atrule similar to the prism playground, but no style gets applied because the theme doesn't configure style for that kind of token.
We don't maintain the Dracula theme so it's not really a Docusaurus bug.
It works on the Docusaurus site:
https://docusaurus.io/docs/markdown-features#front-matter

As far as I remember we had the problem on our own website, and has to "extend" a bit the dracula theme to fix it:
/**
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */

import {themes, type PrismTheme} from 'prism-react-renderer';

const baseTheme = themes.vsDark;

export default {
  plain: {
    color: '#D4D4D4',
    backgroundColor: '#212121',
  },
  styles: [
    ...baseTheme.styles,
    {
      types: ['title'],
      style: {
        color: '#569CD6',
        fontWeight: 'bold',
      },
    },
    {
      types: ['property', 'parameter'],
      style: {
        color: '#9CDCFE',
      },
    },
    {
      types: ['script'],
      style: {
        color: '#D4D4D4',
      },
    },
    {
      types: ['boolean', 'arrow', 'atrule', 'tag'],
      style: {
        color: '#569CD6',
      },
    },
    {
      types: ['number', 'color', 'unit'],
      style: {
        color: '#B5CEA8',
      },
    },
    {
      types: ['font-matter'],
      style: {
        color: '#CE9178',
      },
    },
    {
      types: ['keyword', 'rule'],
      style: {
        color: '#C586C0',
      },
    },
    {
      types: ['regex'],
      style: {
        color: '#D16969',
      },
    },
    {
      types: ['maybe-class-name'],
      style: {
        color: '#4EC9B0',
      },
    },
    {
      types: ['constant'],
      style: {
        color: '#4FC1FF',
      },
    },
  ],
} satisfies PrismTheme;


High memory consumption

I have noticed that the tzinfo gem generate many string objects.
Links to problematic lines:

https://github.com/tzinfo/tzinfo/blob/master/lib/tzinfo/zoneinfo_timezone_info.rb#L131
https://github.com/tzinfo/tzinfo/blob/master/lib/tzinfo/zoneinfo_timezone_info.rb#L137
https://github.com/tzinfo/tzinfo/blob/master/lib/tzinfo/zoneinfo_timezone_info.rb#L143
https://github.com/tzinfo/tzinfo/blob/master/lib/tzinfo/zoneinfo_timezone_info.rb#L150

Maybe good idea will be using freezing strings (e.g. 'NN'.freeze) or storing strings as constants.
Below are memory profiling results for one of request in my application
Results before freezing strings:

allocated memory by gem [bytes]
allocated objects by gem
allocated memory by class [bytes]
allocated objects by class

5519372  tzinfo-1.2.2
181142  tzinfo-1.2.2
29220995  String
324131  String

Results after freezing strings:

allocated memory by gem [bytes]
allocated objects by gem
allocated memory by class [bytes]
allocated objects by class

32160  tzinfo-1.2.2
1044  tzinfo-1.2.2
27375064  String
263417  String

Thank you for reporting this. A change to freeze the strings you have identified has been merged as part of #57.

The fix for this issue has now been released in version 1.2.3.


Project lookup

I'm completely unfamiliar with the existing functionalities of the curse api, but would it be possible to add support for searching for projects? By name, author, even a hash of an existing file. As it stands, it looks like you need to know the project ID before you can do anything.
Great work so far, I look forward to using this.

The Curse Services I'm wrapping don't currently provide a way to search for projects as far as I can tell. Maybe there's something I'm missing though.
The official Curse Client for Windows uses a separate json feed of all the available projects. See: https://github.com/amcoder/Curse.RestProxy/wiki/Curse-Project-Feed
The goal of this project is only to provide a thin wrapper around the Curse WCF services since they are hard to use from a non-.NET environment. The full project feed is a pretty simple json file any client can download, so I was thinking that everyone can use that to get their initial list of projects, then use this to handle the details.

Perfect, thanks for writing that up for me.


Gh 691 share issue public

Summary

Adds a "share" button to the ephemeral messages about jira issues (when viewed or created with slash commands) so that the user can press it and instantly share it with everyone on the channel.
Ticket Link

Fixes https://github.com/mattermost/mattermost-plugin-jira/issues/691

Hello @hectorgabucio,
Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.

Codecov Report

Merging #704 into master will decrease coverage by 0.10%.
The diff coverage is 28.37%.

@@            Coverage Diff             @@
##           master     #704      +/-   ##
==========================================
- Coverage   32.08%   31.97%   -0.11%
==========================================
  Files          52       52
  Lines        5270     5319      +49
==========================================
+ Hits         1691     1701      +10
- Misses       3385     3424      +39
  Partials      194      194

Impacted Files
Coverage Δ

server/command.go
15.51% <0.00%> (ø)

server/http.go
25.36% <0.00%> (-0.25%)
:arrow_down:

server/issue.go
23.38% <15.78%> (-1.58%)
:arrow_down:

server/issue_parser.go
69.01% <85.71%> (+5.68%)
:arrow_up:

Continue to review full report at Codecov.

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

@hectorgabucio Is this PR still in draft mode or ready for review?

@mickmister I would like to add some unit tests first to cover the new code, but I guess it's ready for review.

This PR has been automatically labelled "stale" because it hasn't had recent activity.
A core team member will check in on the status of the PR to help with questions.
Thank you for your contribution!
/cc @jasonblais @jfrerich @emilyacook

@DHaussermann, ping for review


Update coursier to 2.0.0-RC6-13

Updates io.get-coursier:coursier from 2.0.0-RC6-12 to 2.0.0-RC6-13.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "io.get-coursier", artifactId = "coursier" } ]

labels: library-update, semver-pre-release

Superseded by https://github.com/almond-sh/almond/pull/556.


1x1 Solar Panel

12V 1x1 solar panel. Solar panels top out at 150 watts per square meter, so since this isn't adjustable let's make it 100 watts max.

[ ] Solar panel has postive and negative sides and can be chained
[ ] model
[ ] texture
[ ] dimished solar performance with different angles of the sun that are not directly overhead

No rotation or other mechanics required, this will be handled in issues like #127 #118  and possibly others.

solar_panel_1x1.zip
Here's a solar panel model + texture I've made, hopefully it fits the description -Marcus Lee

Just need a texture for a solar panel now based on the model.
Then the code needs to be written.

Still need a texture for the device, and it will need to have some backing code written, right now I have it written as a voltage source in #186

The model for the solar panel needs to be rotated 90 degrees in the blockstate.

I have Knight20k making the updated solar panel texture. Needed some changes to the texture (smaller border, more accurate cell texture, etc.)


java-amber HoL - WSM ID 11192

WMS ID: 11192
General requirements

Information in the workshop is adequate and updated
Code is correct and working
Links are correct
Make sure you enter the help email link in your manifest.json
Please make sure WMS URLs are updated as needed after your PR is approved

Checklist - Refer to the QA document for the complete list
Please confirm that the following is completed before submitting your PR

[X] All filenames are lower case (including folders, images, files, etc.)
[X] Filenames are descriptive
[X] Your workshop folder structure should be similar to the one used in the sample workshop (https://github.com/oracle-livelabs/common/tree/main/sample-livelabs-templates/sample-workshop)
[NA] Are you using multiple versions (desktop/, sandbox/, tenancy/)? Make sure that each of them contains a manifest.json and an index.html
[X] Image references in markdown contain an alternate text

as discussed, please update manifest.json


Add "Show history" to dataset page

Right now we have this logic in src/routes/projects/[projectId]/datasets/[datasetId]/+page.svelte:
		{#if dataset && Object.keys(dataset.meta).length > 0}
			<button class="btn btn-light" data-bs-target="#datasetMetaModal" data-bs-toggle="modal">
				<i class="bi-arrow-up-right-square" />
				Show meta properties
			</button>
		{/if}

We should add a similar logic for the dataset.history property, as soon as this is part of a fractal-server release (issue: https://github.com/fractal-analytics-platform/fractal-server/issues/838).
In my view, we should not make these buttons (the ones for meta and history) disappear when the corresponding property is missing. I think they should always be present, since this provides a more consistent experience of the Dataset page. We can find simple ways of handling a null/empty property: we either disable the button, or we open the modal and say "this property is missing/empty/...".

2. In my view, we should not make these buttons (the ones for meta and history) disappear when the corresponding property is missing.

Fixed with https://github.com/fractal-analytics-platform/fractal-web/pull/310/commits/6cc0409b9e4cd864c1e02bad0196b389e339eec5.


[Question] IRC/group to discuss about the project?

I'm trying to implement my own VGA driver myself.
I made a simple solution using a macro, like the example given at the end of the chapter kmain, but I have a LOT of questions to perform myself in Rust :-)
Is an IRC/channel/group exists to discuss about that?
Thanks a lot!

@k0pernicus there is an #intermezzos channel on irc.freenode.net

Thanks @rjgoldsborough :-)

It can be quiet at times, but I'm on 24/7, and try to answer when I come back. #rust-osdev on Mozilla's IRC can also be helpful.
Giving it a close since your question was answered!


📝Update includes in docs/tutorial/fastapi/read-one.md

Part of https://github.com/fastapi/sqlmodel/issues/1150

Thanks for the effort! This was covered in another PR, so I'll close this one now. :coffee: :cake:


Custom Cookies Options

Can pass custom options to angular-cookie.

quick glance, and this looks good to me. there's a conflict though ... could you rebase against master please?

Yes! Done! Thanks...

thanks @dlanileonardo


Check users access based on contextid Powerbi

In castberg we check access for report, now with multiple contexts we have to check for the specific context


x/pkgsite:

What is the URL of the page with the issue?
<EMAIL_ADDRESS>What's the process on adding jfrog-cli v2.3.0 to pkg.go.dev? Needing for a project and wondering what steps to take in order to get this onto pkg.go.dev.
What is your user agent?

Screenshot

What did you do?

What did you expect to see?
What did you see instead?

Unlike many projects, the Go project does not use GitHub Issues for general discussion or asking questions. GitHub Issues are used for tracking bugs and proposals only.
For questions please refer to https://github.com/golang/go/wiki/Questions


Make legend slightly transparent.

I've made the legend slightly transparent on the bokeh scatterplot, so you can still see the datapoints underneath.
(It's a little harder to see the effect with the test data because there's only a few points, but this does make a biggish difference for larger datasets).
Closes https://github.com/microscopium/microscopium/issues/96

Coverage decreased (-0.06%) to 67.64% when pulling bb1e391c9b868b4f15ca40a15e698b7b86bfdb24 on GenevieveBuckley:issue-96 into 3f8da8dcfa4d3d5658726621414c15abec0c2064 on microscopium:master.


Does it work with the wifi gateway BRP069A78 ?

Hello,
Do you know if the API/integration is available with the wireless gateway BRP069A78 ? I put the IP into your wizard but it didnt work, not sure if that means its not available. The wifi gateway suggests in the app that it does the integrations with google and alexa but I'm not sure if the wired LAN adapter is the only way to access it locally?

To my knowledge, the wireless controller does not have a local API, therefore it does not work with this integration.

It does have a web page on its IP, but i cant get to any of the URLs documented and the python api stuff doesn't seem to work

@Jonnehs try this one instead: https://github.com/speleolontra/daikin_residential_altherma

@Jonnehs this issue has been raised few times. It seems that WIFI adapter does not expose any operation list. If you have time you can try to check the profile of the unit.
Go to config / custom_integration / daikin_altherma. Find the file __init__.py and change
    # Uncomment this if you want to store profile info in json files.
    #try:
    #    for profile in unit_profiles:
    #        filepath: str = os.path.join(hass.config.config_dir, f'daikin_altherma_{profile["idx"]}.json')
    #        with open(filepath, 'w') as f:
    #            f.write(json.dumps(profile['profile']))
    #except Exception as e:
    #    _LOGGER.warning(f'Failed to save profile state to file {filepath}. It does not affect the operation of the integration.', exc_info=True)

To
    # Uncomment this if you want to store profile info in json files.
    try:
        for profile in unit_profiles:
            filepath: str = os.path.join(hass.config.config_dir, f'daikin_altherma_{profile["idx"]}.json')
            with open(filepath, 'w') as f:
                f.write(json.dumps(profile['profile']))
    except Exception as e:
        _LOGGER.warning(f'Failed to save profile state to file {filepath}. It does not affect the operation of the integration.', exc_info=True)

Reboot HA and in your config folder check for files daikin_altherma_*.json
If you see the files and something interesting in it, you can share it here and maybe it is possible to do something about it, but I have my doubts about it.

@Jonnehs this issue has been raised few times. It seems that WIFI adapter does not expose any operation list. If you have time you can try to check the profile of the unit. Go to config / custom_integration / daikin_altherma. Find the file __init__.py and change
    # Uncomment this if you want to store profile info in json files.
    #try:
    #    for profile in unit_profiles:
    #        filepath: str = os.path.join(hass.config.config_dir, f'daikin_altherma_{profile["idx"]}.json')
    #        with open(filepath, 'w') as f:
    #            f.write(json.dumps(profile['profile']))
    #except Exception as e:
    #    _LOGGER.warning(f'Failed to save profile state to file {filepath}. It does not affect the operation of the integration.', exc_info=True)

To
    # Uncomment this if you want to store profile info in json files.
    try:
        for profile in unit_profiles:
            filepath: str = os.path.join(hass.config.config_dir, f'daikin_altherma_{profile["idx"]}.json')
            with open(filepath, 'w') as f:
                f.write(json.dumps(profile['profile']))
    except Exception as e:
        _LOGGER.warning(f'Failed to save profile state to file {filepath}. It does not affect the operation of the integration.', exc_info=True)

Reboot HA and in your config folder check for files daikin_altherma_*.json If you see the files and something interesting in it, you can share it here and maybe it is possible to do something about it, but I have my doubts about it.

It doesn't generate any files, suspect the local API isn't presented as you say. Annoying.
Guess I'll order the LAN adapter

@Jonnehs
I'm facing a similar issue and would like to control my heat pump within my local network. Have you purchased a LAN adapter, and did it work for you?

What model is your heatpump?

What model is your heatpump?

It is a Daikin Altherma EBBX11DF9W
Today I ordered a brp069a62 module.

There is something wrong with Daikin's technical support. I checked Installer reference guide for Daikin Altherma 3 R W and page 29 states that it can be combined.


[Bug] Only MySql connector support the schema change event right now

Search before asking

[X] I searched in the issues and found nothing similar.

Flink version
Flink1.18
Flink CDC version
master
Database and its version
Oracle, SQL server, and db2.
Minimal reproduce step
Here will check if it is a schema change event. But SCHEMA_CHANGE_EVENT_KEY_NAME = "io.debezium.connector.mysql.SchemaChangeKey", so this method only work valid for MySql connector.
Oracle's Schema.name() is "io.debezium.connector.oracle.SchemaChangeKey"
SQL server's Schema.name() is  "io.debezium.connector.sqlserver.SchemaChangeKey"
DB2's Schema.name() is "io.debezium.connector.db2.SchemaChangeKey",
What did you expect to see?
Oracle, SQL server, and DB2 Sources should emit the schema change events.
What did you see instead?
Update the SourceReordUtils.isSchemaChangeEvent() to work available for other connectors.
Anything else?
No response
Are you willing to submit a PR?

[X] I'm willing to submit a PR!

@leonardBang  @ruanhang1993  Do you have any idea about it?
If you agree with me, please assign it to me. I'll try to fix it.

@YesOrNo828 Greate catch for this, Feel free to fix it.

@YesOrNo828, I have also used to ask a issue to do it(https://github.com/ververica/flink-cdc-connectors/issues/2545), but seems someone else have already done it in https://github.com/ververica/flink-cdc-connectors/pull/2315.
It seems that this PR has existed for a long time and has not been merged yet


 Use the current website for reference material.  Use fewer pages (will result in longer pages).
Mark what should be removed or refactored with comments.

Content has been added, but not marked. Get client permission to cut content.


empty email is not accepted by git

Fix issue with git requesting an email to be set (see issue #37)

👍 Thanks!


feat: add --all to rm

add --all to rm,  rtx rm --all xxx is available when this is merged

closing in favor of #989