hyprcursor: 0.1.7 -> 0.1.8

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for hyprcursor is: The hyprland cursor format, library and utilities
meta.homepage for hyprcursor is: https://github.com/hyprwm/hyprcursor
meta.changelog for hyprcursor is: https://github.com/hyprwm/hyprcursor/releases/tag/v0.1.8
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.1.8 with grep in /nix/store/d6dmmbc1h9fyablr55nzyi2q8azgi8c7-hyprcursor-0.1.8
found 0.1.8 in filename of file in /nix/store/d6dmmbc1h9fyablr55nzyi2q8azgi8c7-hyprcursor-0.1.8

Rebuild report (if merged into master) (click to expand)

11 total rebuild path(s)

11 package rebuild(s)

First fifty rebuilds by attrpath

grimblast
hdrop
hyprcursor
hyprland
hyprlandPlugins.hy3
hyprshade
hyprshot
nwg-panel
waybar
xdg-desktop-portal-hyprland

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/d6dmmbc1h9fyablr55nzyi2q8azgi8c7-hyprcursor-0.1.8 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A hyprcursor https://github.com/r-ryantm/nixpkgs/archive/62bdc46f3aa7486f1b6efa04a9fa791002c0b1ee.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/62bdc46f3aa7486f1b6efa04a9fa791002c0b1ee#hyprcursor

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/d6dmmbc1h9fyablr55nzyi2q8azgi8c7-hyprcursor-0.1.8
ls -la /nix/store/d6dmmbc1h9fyablr55nzyi2q8azgi8c7-hyprcursor-0.1.8/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

16 packages built:

grimblast
hdrop
hyprcursor
hyprcursor.dev
hyprcursor.lib
hyprland
hyprland.dev
hyprland.man
hyprlandPlugins.hy3
hyprshade
hyprshade.dist
hyprshot
nwg-panel
nwg-panel.dist
waybar
xdg-desktop-portal-hyprland

Maintainer pings
cc @iynaix for testing.

@NixOS/nixpkgs-merge-bot merge

@NixOS/nixpkgs-merge-bot merge


put the theme we actually use as a dependency

cf: https://github.com/mne-tools/mne-python/issues/12789

Ideally I think the requirements_doc.txt, pyproject.toml, and .circleci (whatever it uses if not one of those) would be deduplicated at some point, but this is already a good enough fix :+1:


Add the ability to use custom analyzers in bungiesearch.

In the past, bungiesearch did not support the ability to use custom analyzers. When you plugged a custom analyzer into the index fields, you would get a SerializationError, because the Custom Analyzer was a class. Now, the indices will return the custom analyzer name in the mapping, while the settings for the field will be directly changed to reflect the use of the analyzer. The collect_analysis function borrows liberally from elasticsearch_dsl, and the mechanism for changing the settings is also a reflection of the elasticsearch_dsl implementation.

Thanks for yet another good contribution! I haven't had time to play around with the ES-dsl custom analyzers yet, but this gives me the opportunity to do so.


Debug "HRESULT : 0xC00CE508" exception on Win8

I'm not entirely agreeing with myself about this, but I feel this issue is due to a misuse on gulp-notifys part (piping in terminal coloured text), and should maybe not be compensated in this library. There are probably many other characters that can break / crash toaster as well. Or what do you think?

This library is the closest to "toast.exe" and I think it's its role to prevent errors from incoming characters, independently of what people sent to notifier.
As example, this code generate an error:
notify.onError('Error: <%= error.message %>')({
    message: String.fromCharCode(27)
})

I thought about it and I agree. Thanks for your PR!


"from path import Path" in convert_shapenet10.py

Hi:
Great job! however, i encounter a mistake in convert_shapenet10.py, "path" can't be found.

Hi,
From what I've read your path.py version may be outdated. I would suggest upgrading your path.py module:
sudo pip uninstall path.py
sudo pip install path.py
or just
sudo pip install path.py --upgrade
let me know if that pixes the problem

@EdwardSmith1884 , what's the version of python and tensorflow that you used ? I  think  the problem may be the python3 i used

@brotherNanNan
Ah yes,
I used python2 when I wrote this. That is probably the issue.
Just for your information the tensorflow version this code is written for is 1.2.1


Open folder does not work

Issue Type: Bug
I click in Open->Folder and this does not work
VS Code version: Code 1.43.2 (0ba0ca52957102ca3527cf479571617f0de6ed50, 2020-03-24T07:34:57.037Z)
OS version: Darwin x64 19.4.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz (12 x 2200)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_off_okwebgl: enabledwebgl2: enabled

Load (avg)
3, 2, 1

Memory (System)
16.00GB (0.02GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions: none

I had this on Linux with 1.43.2, but downgrading to 1.43.1 fixed it.
For me the folder selector dialog comes up but selecting a folder does nothing.

I have the same issue:
Version: 1.43.2
Commit: 0ba0ca52957102ca3527cf479571617f0de6ed50
Date: 2020-03-24T07:34:57.037Z
Electron: 7.1.11
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Darwin x64 19.4.0

I think this also applies to supplying a folder on the command line e.g.
Running this:
code . --verbose

Now fails to open the current folder. This is the console output in code:
/usr/share/code/reso…otstrap-window.js:5 [uncaught exception]: Error: ENOENT: no such file or directory, uv_cwd

Error: ENOENT: no such file or directory, uv_cwd
    at process.cwd (internal/process/main_thread_only.js:42:25)
    at process.cwd (/usr/share/code/resources/app/node_modules.asar/graceful-fs/polyfills.js:10:19)
    at Q.resolveSingleFolderWorkspaceInitializationPayload (file:///usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:6694:534)
    at Q.resolveWorkspaceInitializationPayload (file:///usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:6693:850)
    at Q.initServices (file:///usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:6693:310)
    at Q.open (file:///usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:6691:20)
    at Object.t.main (file:///usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:6696:17)
    at file:///usr/share/code/resources/app/out/vs/code/electron-browser/workbench/workbench.js:8:763
    at processTicksAndRejections (internal/process/task_queues.js:85:5)
/usr/share/code/reso…otstrap-window.js:6 Error: ENOENT: no such file or directory, uv_cwd

Error: ENOENT: no such file or directory, uv_cwd
    at process.cwd (/usr/share/code/reso…n_thread_only.js:42)
    at process.cwd (/usr/share/code/reso…-fs/polyfills.js:10)
    at Q.resolveSingleFolderWorkspaceInitializationPayload (/usr/share/code/reso…esktop.main.js:6694)
    at Q.resolveWorkspaceInitializationPayload (/usr/share/code/reso…esktop.main.js:6693)
    at Q.initServices (/usr/share/code/reso…esktop.main.js:6693)
    at Q.open (/usr/share/code/reso…esktop.main.js:6691)
    at Object.t.main (/usr/share/code/reso…esktop.main.js:6696)
    at workbench.js:8
    at processTicksAndRejections (/usr/share/code/reso…s/task_queues.js:85)
    at /usr/share/code/reso….desktop.main.js:46
```

Version info:

Version: 1.43.2
Commit: 0ba0ca52957102ca3527cf479571617f0de6ed50
Date: 2020-03-24T07:52:11.516Z
Electron: 7.1.11
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Linux x64 5.3.0-45-generic

@duncanawoods I think this happens when you:

start VSCode on a folder
delete this folder
try to open another instance of VSCode

@bpasero
Nope, nothing to do with deleted folders. For the example log above, I was in my home directory. I can understand that this bug is making code believe there is a problem with the folder when there isn't.
I have downgraded to 1.43.1 and code <path> works again as it used to.

@sandy081 adding you fyi since you last touched this area I think (resolveSingleFolderWorkspaceInitializationPayload)
I see we have a try/catch block around it that is still there, so process.cwd() should not cause the opening to fail. But the fact that this works in the current stable version is a bit scary.

@duncanawoods to clarify, you see this with insiders but not stable? So you do code-insiders <path> and it fails? Does it fail when no other instance is running?

I see we have a try/catch block around it that is still there, so process.cwd() should not cause the opening to fail. But the fact that this works in the current stable version is a bit scary.

We just log the error and open an empty window.
@duncanawoods Can you please let us know if an empty window is being opened for you?

1.43.2 stable. Version info is in the comment above if you want to double-check I haven't installed the wrong thing!

@sandy081
It opens the app with the doc pane and explorer. The exporer window says something along the lines of "no folder open" and has a blue button to open a folder that then does nothing.

I had to restart my PC (Mac) and the error stop, previously I closed an opened VS Code and the log just show the message "endpoint for listener 'com.apple.view-bridge': Connection interrupted" once.
I installed again VS Code, deleted all .vs-code folders and nothing worked.

Ok there is no crash and empty window opens and as user claims it happens on 1.43.2.

@duncanawoods how about opening a folder from within VSCode, does that work? File > Open?

@deepak1556 for thoughts, especially given https://github.com/microsoft/vscode/issues/94475#issuecomment-609497865

@bpasero
Previously, yes, the menu did not work.
However, I have now reinstalled 1.43.2 to double-check and get you more logs... and there is now no longer any issue. Gah!

OK, maybe other people can try to reinstall, reboot and check if things are getting back to normal?

I can say that the problem persisted across reboots for me, but not across downgrade/upgrade (no reboot).

Closing as it seems related to the OS and not VSCode. If someone can find reproducible steps we can revisit this issue.


Could you add LICENSE file?

Though I could find MIT license setting in "package.json", it's not easy to find and github is suggesting to include the license file.
https://help.github.com/articles/licensing-a-repository/
And "sidebar-menu" is based on "AdminLTE", so copyright notice and permission notice of "AdminLTE" are also needed to be included.
It's required.
Please check following lines in "AdminLTE" license file.
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

https://github.com/almasaeed2010/AdminLTE/blob/master/LICENSE
You can reference following URL for including copyright notice and permission notice.
https://opensource.stackexchange.com/questions/5484/how-to-use-mit-license-in-a-project#answer-5488
I'm sorry if you feel I'm pointing too much in detail, but I'd like to use "sidebar-menu" in better legal status.

@BlueSkyDetector Thanks for your advise. LICENSE file is add.
This component just inspire of the AdminLTE, add some different feature, so maybe we do not need include
Also AdminLTE is base no bootstrap, the license do not include bootstrap license.

Thank you. :+1:


mask current time step doesn

I just realized that in the SingleHeadAttention the current time step is also masked (unlike attention paper where only future times are masked)
This will lead to mask being 0 everywhere and filled by -inf. And the softmax would be nan.
Doesn't this problematic?

For the stories paper, we always used self-attention with the zero vector as well, so if the model did not want to attend to any timesteps it would attend to the zero vector.


Accomodate accuracy computation in Subscriber framework

Need to think about how to funnel labels to subscribers in the correct order and the network's final output (maybe finally use tag property to tag the layer's messages?). This is necessary for emitting accuracy measures.

Fixed by introducing new message types for network_output, input_data, input_labels…


Listen for back button press

Back handling code copied from stock widgets like AutoCompleteTextView. Removes the need to listen for onBackPressed in the Activity. Sample updated to reflect this. Fixes #10.

This is not working properly. Overriding onBackPressed at the Activity level. Closing for now.


Adding HoloCoin Token

Please note: This repository is being rebuilt to accept the new volume of token additions and modifications. PR merges will be delayed.

I agree to not ping anybody on Discord/Twitter/email about this pull request. Instead I will inquire by posting a new comment in the pull request if needed.

PRs are reviewed in bulk and and can take up to two weeks to be merged.
This repository is managed using an auto merge action. Please ensure your PR has no deleted lines, and it will be merged.
Please provide the following information for your token.
Please include change to the src/tokens/solana.tokenlist.json file in the PR.
DON'T modify any other token on the list.
At minimum each entry should have

Token Address:
Token Name:
Token Symbol:
Logo: (logo should be uploaded under assets/mainnet//*.<png/svg>)
Link to the official homepage of token:
Coingecko ID if available (https://www.coingecko.com/api/documentations/v3#/coins/get_coins__id_):

Auto merge requirements
Your pull request will be automatically merged if the following conditions are met:

Your pull request only adds new tokens to the list. Any modification to existing
tokens will require manual review to prevent unwanted modifications.

Your pull request does not touch unrelated code. In particular, reformatting changes to unrelated
code will cause the auto merge to reject your PR.

Any asset files added correspond to the token address you are adding. Asset files
must be PNG, JPG or SVG files.

Your change is valid JSON and conforms to the schema. If your change failed validation,
read the error message carefully and update your PR accordingly.

No other tokens shares the same name, symbol or address.

For example, this change would be rejected due to unrelated changes:

The bot runs every 60 minutes and bulk-merges all open pull requests to prevent conflicts.
This means that you need to wait up to 60 minutes for your pull request to be merged or reprocessed.

I may have to submit another PR for this issue, and if so that is ok. But I made a spelling error in the json. It should be HoloCoin. not HoloCoing. If needed I will edit the JSON and submit a second PR.,


Change output type from 'pareto' functions

Currently, the pareto functions output a tuple of arrays to describe the mapped pareto frontier. Consider making the output a class, say ParetoFrontier that contains this data. This class can provide plotting functionality to visually plot the frontier.

Latest update to this is to rename the pareto method to mosolve and change the output to a SelectionSolution type output. There can be additional plotting methods associated with this class or this class can have a method to output a ParetoFrontier object to create a plot.


Is there a way to change the default tooltip classes

Right now when providing a custom template, the 'tooltip' class must be maintained. Is there a way to change that class name to something else? The current name is very generic and can conflict with other potential tooltip classes on a page

Changing the tooltip template is the way to go: here is an example.


Catch and log ValueError exceptions

Found that there are ValueError exceptions when validating results using 3 different classifiers. Added try/exception block to catch these errors, and to log these errors.
Modified logger class to have support an exception method, which is standard when using default python loggers.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: darindf sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

Hi @darindf, Thanks for your contribution!

Please add unit tests for the updated code
Please make sure the pytest, flake8 and pylint complete successfully (see the contribution guidelines here: https://github.com/microsoft/presidio/blob/master/CONTRIBUTING.md#how-to-test)
Otherwise the build won't succeed and we will not be able to approve the PR.


Coefficients differ when using absorb with analytic weights

Coefficients differ when using absorb with analytic weights. The issue is replicated in the code below. The change in coefficients is minor here, but it is nontrivial in the dataset I am using. Thanks!
sysuse auto
reghdfe price weight [aweight = mpg], a(turn) // coef = 4.320956
ivreg2 price weight i.turn [aweight = mpg], partial(i.turn) small // coef = 4.320956
ivreghdfe price weight i.turn [aweight = mpg] // coef = 4.320956
ivreghdfe price weight [aweight = mpg], a(turn) // coef = 4.367747

Thanks for the report.
Running ivreghdfe with the verbose option shows the problem:
ivreghdfe price weight [aweight = mpg], a(turn) verbose(2)

# Passing main options to Mata

    - HDFE.absvars = `"turn"'
    - HDFE.tousevar = `"__000003"'
    - HDFE.weight_type = `""'
    - HDFE.weight_var = `""'
    - HDFE.technique = `"map"'

So it seems that the info is not being passed on correctly; should be an easy fix over the next hours.

Wonderful, thanks for looking into it so quickly!

Should be working now; let me know if you spot anything!


ISPN-15657 NullPointerException in MBeans without getters

Includes a fix for ISPN-14330 (NullPointerException)
https://issues.redhat.com/browse/ISPN-14330
https://issues.redhat.com/browse/ISPN-15657

I think the FootprintIT failure is related, it should just be a case of increasing the upper bound:
[Loaded class count]
Expecting actual:
  11225
to be between:
  [11120, 11220]

Thank you @ryanemerson , I've updated by 10 the lower and upper bound.

Thanks @pruivo


Wrapping text around an image

First, thanks for the awesome tool.
I have been inserting images into my docs and positioning them in various ways. However, I haven't figured out how to wrap text around an image.
I have cut out my images so they have transparent backgrounds, leaving the border irregular as oppose to rectangular, but now I want the text to "fill in the gaps" (see pg. 125 in PHB).
Any code help would be appreciated. Thanks.
Additional Details
Share Link :
or
Brew code to reproduce : Click to expand
PASTE BREW CODE HERE

Haven't actually figured out how to add multiple spaces (or, like, a horizontal in-line spacer) myself, so I'll admit to leaving a comment here in part for selfish reasons in case anyone does.
What I can tell you, however, is that you can add line breaks without spaces in front (along the lines of https://i0.wp.com/www.critical-hits.com/wp-content/uploads/2014/08/Bulette.jpg), just by adding a double space at the end of a line.
So just like this with two spaces over there -->
And then this show up without the customary spaces in front. Note that this is on the next line, not two lines down - I only pressed the Enter key once, so to speak, not twice.

Thanks. This helps for aligning images on one side of text, so it is s start.

Hell yeah, found it.
  adds a single space, and you can just keep adding 'em. It'll look ugly on code ('cause you need to keep adding it, so two spaces would be    and three    ) but it works.

    like this

The solution you really want for this is CSS's shape-outside. Here's an example of how to do it:
http://homebrewery.naturalcrit.com/share/Hkgyq2eJ-

This report could be turned into an enhancement with a bit of javascript and a CSS class:
$(".wrap-image").each(function() {
    if ($(this).attr("src")) {
        $(this).css("shape-outside", "url("+$(this).attr("src")+")");
    }
});

This will set the 'shape image' of any image to its image, and thus automatically do what I did in the previous post.

This might be a candidate for a snippet... or possibly added to the FAQ.

Linking to FAQ issue #810

Tagging as #help-wanted to get a tute/faq written, untagging as #feature.

Just in case that example brew by @Biotronic goes away or gets broken, this is what the source brew is:

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

The pertinent bit is adding style="shape-outside: url('the-image-url'); float: right;" inside the  tag.
The effect can also be done with  and some clever selector targeting.

Just in case that example brew by @Biotronic goes away or gets broken, this is what the source brew is:

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

The pertinent bit is adding style="shape-outside: url('the-image-url'); float: right;" inside the  tag.
The effect can also be done with  and some clever selector targeting.

Using


Need help in implementation as I am unable to stop screen capture

I have tried to implement your library as per documentation instructions.
But When I use your demo app , I am unable to capture screen and also any screen recorder app don't capture app screen , just black screen AS it should be.
But In my app it never works.
Please guide me what step I am missing.
My code :
void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MultiProvider(
        providers: [
          ChangeNotifierProvider.value(
            value: ProviderCall(),
          ),
        ],
        child: Consumer<ProviderCall>(
            builder: (ctx, auth, _) => MaterialApp(
                  title: AllStrings.appName,
                  theme: new ThemeData(
                    primaryColor: Colors.deepPurple,
                    primarySwatch: Colors.deepPurple,
                    primaryColorDark: Colors.deepPurple,
                    hintColor: Colors.blue,
                  ),
                  debugShowCheckedModeBanner: false,
                  home: SecureApplication(
                      nativeRemoveDelay: 800,
                      onNeedUnlock: (secureApplicationController) async {},
                      child: MyHomePage(title: 'My  App')),
                )));
  }
}

class MyHomePage extends StatefulWidget {
  MyHomePage({Key key, this.title}) : super(key: key);
  final String title;

  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  var valueNotifier ;
  void initState() {
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    valueNotifier = SecureApplicationProvider.of(context);
    return PickupLayout(
        scaffold: Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: SecureGate(
          blurr: 0,
          opacity: 0,
          child: new Center(
            child: new Column(
              mainAxisAlignment: MainAxisAlignment.center,
              children: <Widget>[
                new Row(
                  mainAxisAlignment: MainAxisAlignment.spaceEvenly,
                  children: <Widget>[
                    new RaisedButton(
                      padding: const EdgeInsets.all(8.0),
                      textColor: Colors.white,
                      color: Colors.blue,
                      onPressed: () => secure(context),
                      child: new Text("Secure"),
                    ),
                    new RaisedButton(
                      onPressed: () => open(context),
                      textColor: Colors.white,
                      color: Colors.red,
                      padding: const EdgeInsets.all(8.0),
                      child: new Text(
                        "Open",
                      ),
                    ),
                  ],
                ),
              ],
            ),
          )),
    ));
  }

  void secure(BuildContext context) {
      valueNotifier.secure();
  }

  void open(BuildContext context) {
    valueNotifier.open();
  }
}

As per my understanding of your library , I want to secure the screen and don't want to lock the screen.
I guess I am missing some step.
Plese guide me to solution.

What is the behavior you are expecting when back in app?

I am just expecting when user is in MyHomePage, user should not be able to capture screen shot or any screen recorder app should not be able to create video of that screen.
As per documentation, I have used SecureApplication and SecureGate in my app but I am able to capture screen shot as well as video of MyHomePage screen.
I think I am missing some step.
Please guide me to solution.

Reason FLAG_SECURE was not working in my application was missing following in AndroidManifest application tag:
 <meta-data
            android:name="flutterEmbedding"
            android:value="2" />

With your library it started "could not capture screen shot"
but still any screen recorder app is recording the app video and
was getting error like "getter secureData called on null" in some dynamic scenario.
I have reverted back to native implementation for now for android.

Sorry I missed the part where you said that it was in the demo app that it was working.
Tbh I never tried without v2 embedder but it shroud work as I also have the v1 register method:
companion object {
    @JvmStatic
    fun registerWith(registrar: Registrar) {
      val channel = MethodChannel(registrar.messenger(), "secure_application")
      channel.setMethodCallHandler(SecureApplicationPlugin())
    }
  }

I will try to test with old embedding to try to reproduce your issue.
FYI on Android I also use native for app switcher / screenshot protection:
https://github.com/neckaros/secure_application/blob/a2ecc9bd10c6f9587b5afe07b7a1007447fa0b20/android/src/main/kotlin/org/jezequel/secure_application/SecureApplicationPlugin.kt#L83

I understand that you have also use native method.
But somehow , I could shed light on this , something I am doing in creating scaffold or widgets , as this is my first flutter project but I had to set following line to make it work in my app where any screen recorder could not record my screen.
((SurfaceView)surfaceView).setSecure(true);
I really liked your library and simplicity of it to use.
I am sure it will save hours of work for many developers especially starters like me.
Thanks for your work.


workaround instead of adding files to /

addresses issues where build on the hub fails, such as #1209
uses workaround based on docker/hub-feedback#811

Thanks @cglewis :heart:
I don't understand why it fails, but I do trust that it's better this way. :+1:


Feature: Add in the API the possibility to add custom tags

Is your feature request related to a problem? Please describe.
After a talk with @audserraCGI, it seems the current command available for creating/updating custom tags is deleting/purging all the previously created custom tags.
Describe the solution you'd like
I would like to have a command that allow me add a new custom tags without deleting the previous one.
Describe alternatives you've considered
Currently, I can push every tag I need every time I want to do an update.
Additional context
Current available command :

Saw in PBR :

[ ] Add a PATCH method to add or update existing tags
[ ] Add a DELETE method to delete existing tags

Tags should be unique by name, so the name will be considered as the identifier.


version 3.0.1 targets .net standard

I can't install v3.0.1 on my PCL project, i believe it targets now .net standard. Please it would be nice to mention that on the readme..

Thanks for mentioning it. I have added it to the readme file.


Update Boilerplate

:warning: Getting some inconsistancies with the dependencies paths.
Output:	["/home/rob/jstransformer-less/test/import/imported.less"]
Expected:	["test/import/imported.less"]
✗ less.render() (18ms)
   AssertionError: [ '/home/rob/jstransformer-less/test/import/imported.less' ] deepEqual [ 'test/import/imported.less' ]

Can we rebase these "update to boilerplate" pull requests down to a short list of commits that actually show what's changed.  Looking at the changed files it looks like it could just be:

Update .gitignore
Add more platforms to .travis.yml
Add change log in HISTORY.md
Update LICENSE formatting
Update description in package.json and README
Update README with API example usage
Update dependencies in package.json
Use test-jstransformer for testing
Add "files" array to package.json
Add code coverage & badge

Can we rebase these "update to boilerplate" pull requests down to a short list of commits that actually show what's changed.

Did a rebase, and was getting a lot of conflicts through the transition. Would there be an easier way to get this in?

Squash, or merge, the commits so that there's no history.


Bot read from last message

Hi threre,
So my bot knows how to read messages but, if my bit application stops because of fail I would like my bot restart at the last message read. I don't see how I can do that.

I assume you're using the call_on_each_message API?  You can just track that last message ID that you received and store that in a file, and then on starting, do a get_messages call for messages after that message ID.  And then once caught up, start the call_on_each_message again.

Hi,
I spent a couple of time to understand the API, and I think something is missing.
I use 2 streams, one for my application logs and one for the zulip anchor
So, the algo :
//get last message form anchor
1 - GET https://<IP_ADDRESS>:4430/api/v1/messages?stream=Anchor&type=stream&anchor=1000000000&num_before=1&num_after=1
anchor = response.message.content
//if I don't find any anchor message
IF anchor == nil
    // create a new queue id
    2 - POST https://<IP_ADDRESS>:4430/api/v1/events
    anchor.last-event-id = response. last-event-id
    anchor.queue-id = response.queue-id
    //write the new queue id in the anchor stream
    3 - POST  https://<IP_ADDRESS>:4430/api/v1/message?content=jsonify(anchor)&to=Anchor&subject=Anchor&type=stream

while true
    //get events from logs stream
    4 - GET https://<IP_ADDRESS>:4430/api/v1/events?queue_id=anchor.queue-id&last_event_id=anchor.last-event-id
    fetch-events()
    anchor.last-event-id = response.last-event-id
    //update anchor with the last event id
    5 - POST  https://<IP_ADDRESS>:4430/api/v1/message?content=jsonify(anchor)&to=Anchor&subject=Anchor&type=stream

It's work fine, but if my bot fail. when I restart the bot at the 1 return the last message, it's probably a message from logs stream and not anchor stream.
Why the get message return the last message of any stream and not the message of the specified stream ?

Sorry for the slow reply!  This question somehow got lost in the shuffle.
The problem here is that GET /api/v1/messages doesn't support the stream= argument type; those are used for sending messages.  You instead want to specify a narrow.  See the API examples in github.com/zulip/python-zulip-api for example code that does this properly.


Multi-domain reverse proxy

Hello,
I want to use single IPv4 to make proxy for 2 domains, but on defining 2 servers as on example - get certificate mismatch
server "betahowto.duckdns.org" {
	listen on <IP_ADDRESS> port 1965
	cert "/home/gmid/betahowto.duckdns.org/cert.pem"
	key "/home/gmid/betahowto.duckdns.org/key.rsa"

	proxy {
		relay-to 301:5eb5:f061:678e::b port 1965
		verifyname off
	}
}

server "kevachat.duckdns.org" {
	listen on <IP_ADDRESS> port 1965
	cert "/home/gmid/kevachat.duckdns.org/cert.pem"
	key "/home/gmid/kevachat.duckdns.org/key.rsa"

	proxy {
		relay-to 201:23b4:991a:634d:8359:4521:5576:15b7 port 1965
		verifyname off
	}
}

Hello, thanks for the report.
The configuration seems correct to me.
I believe the certificate error comes from the upstream server, the one listening at the IPv6 addresses.  When using a IP address (v4 or v6 doesn't matter) in a relay-to directive, the SNI (the remote server name) is missing and should be specified in the configuration file.  I should point this out in the documentation.
Do you still get errors when specifying the remote server name using the sni directive in the proxy block, for e.g.:
proxy {
	relay-to 301:5eb5:f061:678e::b port 1965
	verifyname off
	sni "remote-server-name"
}

verifyname off only applies to gmid-the-proxy itself, it won't complain if the certificate used by the upstream server doesn't match what it expects, but doesn't stop the upstream server from complaining that there's a missing SNI.

Happy to know that it worked :)  I'll try to make the documentation more clear in this regard.
Thanks

Not sure, as I never really considered this use-case, but maybe something like:
server "*" {
	# certs, key omitted
}


Build: Could not find net.mamoe.yamlkt:yamlkt-mingwx64:0.9.0.

   > Could not find net.mamoe.yamlkt:yamlkt-mingwx64:0.9.0.
     Searched in the following locations:
       - https://repo.maven.apache.org/maven2/net/mamoe/yamlkt/yamlkt-mingwx64/0.9.0/yamlkt-mingwx64-0.9.0.pom
     Required by:
         project : > net.mamoe.yamlkt:yamlkt:0.9.0

The issue seems to be that the artifacts are published on maven in yamlkt-mingwX64 instead of yamlkt-mingwx64.

Reproduced with 0.9.0, but failed to reproduce with 0.10.0-dev-1 (a test version based on master).

Seems this is because of a change included in Kotlin 1.5. Updating yamlkt to the incoming 0.10.0 will resolve this problem.


[build] Fix generated header files in standalone overlay builds.

@swift-ci please test

@compnerd, does your build workflow still work after this?

I'll try it out to verify, but, I suspect that this should be fine.

Doesn't seem to break for incremental at least, thanks for the heads up though!


Fix priorityClassName

It should be under spec not containers 😅

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Hey @giskou thanks for fixing it good catch :D could you please also fix it for the gateway?
In your last PR your also added it on the gateway deployment https://github.com/camunda-community-hub/camunda-cloud-helm/issues/67 :)

Right, forgot about that.
I'll add it to this PR

@Zelldon there you go :)


[UI]Wanted to make a unified nav for home and other routes

Description
The proposed change in the title will bring uniformity in the look of the app
Current Behavior
Different Navbars/UI's for home routes and other routes
Proposed Behavior
Home Navbar to other routes
Screenshots
Self-implied in the website.
Additional Context
#Making the UI better
Impact
A more appealing UI/UX
Related Issues
#185
I want to work on this - @Vignesh025

Hey @omkar861856 , someone is already working on this issue. Feel free to explore the project and raise any new issues!


ERROR in ./node_modules/angularfire2/angularfire2.js Module not found: Error: Can't resolve 'rxjs/scheduler/queue' in 'G:\TestProjects\NavTast\New folder\node_modules\angularfire2'

here is my package.json
"dependencies": {
"@angular/animations": "^6.0.0",
"@angular/common": "^6.0.0",
"@angular/compiler": "^6.0.0",
"@angular/core": "^6.0.0",
"@angular/forms": "^6.0.0",
"@angular/http": "^6.0.0",
"@angular/platform-browser": "^6.0.0",
"@angular/platform-browser-dynamic": "^6.0.0",
"@angular/router": "^6.0.0",
"@angular/upgrade": "^6.0.0",
"@nguniversal/express-engine": "^6.0.0",
"@nguniversal/module-map-ngfactory-loader": "^6.0.0",
"angular-in-memory-web-api": "^0.6.0",
"angularfire2": "^5.0.0-rc.7.2-next",
"core-js": "^2.5.4",
"express": "^4.16.3",
"firebase": "^5.0.2",
"rxjs": "^6.0.0",
"zone.js": "^0.8.24"
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.6.0",
"@angular/cli": "^6.0.0",
"@angular/compiler-cli": "^6.0.0",
"@angular/platform-server": "^6.0.0",
"@types/jasmine": "~2.8.0",
"@types/jasminewd2": "^2.0.3",
"@types/node": "^6.0.45",
"jasmine-core": "~2.99.1",
"jasmine-spec-reporter": "~4.2.1",
"karma": "~1.7.1",
"karma-chrome-launcher": "~2.2.0",
"karma-coverage-istanbul-reporter": "~1.4.2",
"karma-jasmine": "~1.1.1",
"karma-jasmine-html-reporter": "^0.2.2",
"karma-phantomjs-launcher": "^1.0.2",
"lodash": "^4.16.2",
"phantomjs-prebuilt": "^2.1.7",
"protractor": "~5.3.0",
"ts-node": "^5.0.1",
"tslint": "^5.9.1",
"typescript": "2.7.2",
"ts-loader": "^4.2.0",
"webpack-cli": "^2.0.1
}
I am trying to implement  firebase with Angular v6

any suggestion ?

Did you try npm install --save rxjs-compat?

rxjs-compat is indeed the answer here as they both moved the path and renamed queue to queueScheduler in 6. We're working on rxjs 6 support now and should are hoping to cut a new RC Monday.

Fixed in angularfire2@next

What I have to write to install angularfire2@next


Use of the plugin with nuxt

Have you tried using this plugin with nuxt?
I've created the following plugin file:
/plugins/stripeCheckOut.js
import Vue from 'vue'
import VueStripeCheckout from 'vue-stripe-checkout'

// base/global options
// these options can be overridden
// by the options in the .open(options)
// function.
const options = {
  key: process.env.stripePublishableKey
}

Vue.use(VueStripeCheckout, options)

I've added the plugin to the nuxt.config.js file:
module.exports = {
plugins: ['~/plugins/stripeCheckOut.js']
}

And, as soon as I try to invoke it I recevie the following error:
2018-05-02T06:13:48.358Z nuxt:render Rendering url /_nuxt/d8f891abb4bf2182ee5d.hot-update.json
[1] { C:\Users\juan.pablo.perez\OneDrive\Training\Vue.js\NodeWithVuejsFullStackWebDevelopment\server\client\node_modules\vue-stripe-checkout\index.js:1
[1] (function (exports, require, module, __filename, __dirname) { import VueStripeCheckout from './dist';
[1]                                                               ^^^^^^
[1]
[1] SyntaxError: Unexpected token import
[1]     at new Script (vm.js:51:7)
[1]     at createScript (vm.js:138:10)
[1]     at Object.runInThisContext (vm.js:199:10)
[1]     at Module._compile (module.js:624:28)
[1]     at Object.Module._extensions..js (module.js:671:10)
[1]     at Module.load (module.js:573:32)
[1]     at tryModuleLoad (module.js:513:12)
[1]     at Function.Module._load (module.js:505:3)
[1]     at Module.require (module.js:604:17)
[1]     at require (internal/module.js:11:18)
[1]     at r (C:\Users\juan.pablo.perez\OneDrive\Training\Vue.js\NodeWithVuejsFullStackWebDevelopment\server\client\node_modules\vue-server-renderer\build.js:8330:16)
[1]     at Object.<anonymous> (server-bundle.js:3939:18)
[1]     at __webpack_require__ (webpack:/webpack/bootstrap 62983f5897d401670f09:25:0)
[1]     at Object.<anonymous> (plugins/stripeCheckOut.js:1:0)
[1]     at __webpack_require__ (webpack:/webpack/bootstrap 62983f5897d401670f09:25:0)
[1]     at Object.<anonymous> (.nuxt/index.js:1:0) statusCode: 500, name: 'SyntaxError' }

Any help it would be highly appreciated.
Thanks,
Juan

Hello @peelmicro can you try using ~/plugins/../dist/index.js. Use the transpiled version in the dist folder.

Hi @jofftiquez,
Thank you very much for the response. I've modified the /plugins/stripeCheckOut.js plugin file putting
import VueStripeCheckout from '../node_modules/vue-stripe-checkout/dist'
instead of
import VueStripeCheckout from 'vue-stripe-checkout'
with no success. The same error is thrown.
I've also tried to follow what is suggested in:

Import vue plugin correctly (unexpected token import) #1896
SyntaxError: Unexpected token import #2739
Unexpected token import #2392

With no success either.
It seems they are working on it: Automatic handling, simplified handling or more explicit docs for handling ssr-issues with community components #3192
I'm not sure why this error happens. Any idea?
Anyway, thanks for your help.
Regards,
Juan

Hello @peelmicro
Disclaimer: I haven't use nuxt yet so I might say irrelevant things, please correct me if I'm wrong.
The error Unexpected token import... is happening because I think you are not using ES6 in your project. So I suggest that you use the index.js inside the dist folder.
Another solution that might help you is by using polyfill.
If those things didn't work, I will try to create a build that's compatible with nuxt. Let me know :)
Cheers

Hi @jofftiquez,
I can confirm that I'm currently using ES6.
Just to be sure, I've added babel polyfill, but with no success.
I think the issue is related to the links I put in the previous post.
Let me know if you need my help with anything.
Regards,
Juan

Hello @peelmicro
Alright, thanks for the inputs. I'll see what I can do. :)

I am using this in a nuxt plugin with
import Vue from 'vue'; // eslint-disable-line import/no-extraneous-dependencies
import VueStripeCheckout from 'vue-stripe-checkout';

const { STRIPE_TOKEN } = process.env;
const options = {
  key: STRIPE_TOKEN,
  locale: 'auto',
  currency: 'USD',
};

if (STRIPE_TOKEN) Vue.use(VueStripeCheckout, options);

with no problem

FYI nodejs does not support import keyword by default, you need a transpiler

@williamchong007 thanks for the input. I was wondering what was wrong coz my code here is already transpiled to es5.

Closing because of inactivity. Just re-open or comment for further issues.

Hi,
I have the same issue, did you find a solution ?

@chicoboymax I haven't tried this on nuxt myself coz I always use prerendering. Maybe one of these days I'll try to reproduce the issue. However the code was already in es5, here so there should be no Unexpected token import error.

@peelmicro I missed something in your code. It says that the error was in /plugins/stripeCheckOut.js that you created. Instead of using import could you try to try const VueStripeCheckout = require('vue-stripe-checkout').

@jofftiquez @peelmicro @chicoboymax I have found the solution and it requires multiple steps. Part 1 is how to include this package in nuxt and part 2 is a broad solution allowing you to use import in all your nuxt plugins, because why shouldn't they be transpiled with babel and webpack just like your main code?
Part 1: load your plugin - after creating a file in the plugins directory (see @williamchong007's example above), you must tell nuxt to load it. The key here is to disable SSR because vue-stripe-checkout uses import internally and cannot be rendered on the server. That is ok since this is purely client side and doesn't display any UI on page load. In nuxt.config.js add:
plugins: [
    { src: '~/plugins/stripe-checkout', ssr: false },
],

Note the object syntax rather than the simple string format so we can disable ssr.
Part 2:
We must tell nuxt to process the file we created in the plugins directory so the imports in this new external file will work properly. This was the original problem @peelmicro was having in this issue.
As noted in https://github.com/nuxt/nuxt.js/issues/2392 nuxt now has a transpile option: https://nuxtjs.org/api/configuration-build#transpile. I added this to the build section of my nuxt.config.js and now I can @williamchong007's example code with no problems:
build: {
 ...
 transpile: [
   '/plugins',
 ],
}

Note this will transpile all files in the plugins folder. You can limit this to a single file or specific regex pattern if you wanted.
After adding these two sections to your config Stripe Checkout works perfectly in nuxt!

@emkman wow thanks! This is helpful.

@emkman do you mind sharing your component code using the plugin?
I am still receiving errors like property method "currency" is not defined and such (which is clearly documented as Prop) and the modal keeps opening in a new tab (even on desktop). ... I just can't get it to work properly in nuxt! :/

@kristraeger my code is super simple so I doubt it will help. I have a button with a click handler that calls:
checkout() {
  this.$checkout.open({
    name: 'Tesla Arbitration Opt Out',
    email<EMAIL_ADDRESS>    currency: 'USD',
    amount: this.total * 100,
    token: (token) => {
      this.purchase(token.id);
    }
  });
},

My guess is your issue is the plugin file, which I don't describe in my comment but rather reference a comment above: https://github.com/jofftiquez/vue-stripe-checkout/issues/14#issuecomment-386541631

This is my plugin file, it's a bit specific to my webpack setup:
import Vue from 'vue'; // eslint-disable-line import/no-extraneous-dependencies
import VueStripeCheckout from 'vue-stripe-checkout';

const STRIPE_PUBLISHABLE_KEY = CONFIG.Stripe.publishableKey; //use config-webpack notation on client side
const options = {
  key: STRIPE_PUBLISHABLE_KEY,
  locale: 'auto',
  currency: 'USD',
};

if (STRIPE_PUBLISHABLE_KEY) {
  Vue.use(VueStripeCheckout, options);
}

thank you so much! I tried putting it to work when:
*1. re: plugin file *
the issue i am running into is that i can only initiate VueStripeCheckout via
Vue.use(VueStripeCheckout, 'my stripe key') i.e. passing in the key
string directly instead of an options object
const options = {
key: 'my stripe key',
locale: 'auto',
currency: 'USD',
};
Vue.use(VueStripeCheckout, options);
throws a mismatching type error for 'key', receiving an object instead of a
string
*2. re: click handler *
Component:
<vue-stripe-checkout
ref="checkoutRef
:image="image"
:allow-remember-me= "true"
:auto-open-modal= "false"

<button @click="checkout" >Pay ${{totalCost}}
Script:
checkout() {
this.$checkout.open({
name: 'Tesla Arbitration Opt Out',
email<EMAIL_ADDRESS>currency: 'USD',
amount: this.total * 100,
token: (token) => {
this.purchase(token.id);
}
});
},
throws: Cannot read property 'open' of undefined

unless i set '':auto-open-modal= "true"  in which case the modal opens on
page load instead of button click :(

[image: Mailtrack]
https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&
Sender
notified by
Mailtrack
https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&
01/03/19,
11:59:12 AM
On Wed, Jan 2, 2019 at 8:17 PM Ethan Kravitz<EMAIL_ADDRESS>wrote:

This is my plugin file, it's a bit specific to my webpack setup:
import Vue from 'vue'; // eslint-disable-line import/no-extraneous-dependencies
import VueStripeCheckout from 'vue-stripe-checkout';
const STRIPE_PUBLISHABLE_KEY = CONFIG.Stripe.publishableKey; //use config-webpack notation on client side
const options = {
key: STRIPE_PUBLISHABLE_KEY,
locale: 'auto',
currency: 'USD',
};
if (STRIPE_PUBLISHABLE_KEY) {
Vue.use(VueStripeCheckout, options);
}
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jofftiquez/vue-stripe-checkout/issues/14#issuecomment-451052712,
or mute the thread
https://github.com/notifications/unsubscribe-auth/APimBrZ1nGd5IepTz6TYnm2KFLXPO3FCks5u_YRZgaJpZM4Tu6Uh
.

--
Kristina Traeger
txt: +1<PHONE_NUMBER>
T|I: @kristinatraeger
kristinawritesco.de
LinkedIn https://www.linkedin.com/in/kristinatraeger/
Twitter https://twitter.com/kristinatraeger
Check out my podcast:
Kristina, Kati, Kalifornia https://kristinakatikalifornia.com/

DUH! checkout works using the async await function i found in the docs :)
async checkout () {
// token - is the token object
// args - is an object containing the billing and shipping address if
enabled
const { token, args } = await this.$refs.checkoutRef.open(options);
},
[image: Mailtrack]
https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&
Sender
notified by
Mailtrack
https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&
01/03/19,
12:50:27 PM
On Thu, Jan 3, 2019 at 12:01 PM Kristina Traeger<EMAIL_ADDRESS>wrote:

thank you so much! I tried putting it to work when:
*1. re: plugin file *
the issue i am running into is that i can only initiate VueStripeCheckout via
Vue.use(VueStripeCheckout, 'my stripe key') i.e. passing in the key
string directly instead of an options object
const options = {
key: 'my stripe key',
locale: 'auto',
currency: 'USD',
};
Vue.use(VueStripeCheckout, options);
throws a mismatching type error for 'key', receiving an object instead of
a string
*2. re: click handler *
Component:
<vue-stripe-checkout
ref="checkoutRef
:image="image"
:allow-remember-me= "true"
:auto-open-modal= "false"

<button @click="checkout" >Pay ${{totalCost}}
Script:
checkout() {
this.$checkout.open({
name: 'Tesla Arbitration Opt Out',
email<EMAIL_ADDRESS>currency: 'USD',
amount: this.total * 100,
token: (token) => {
this.purchase(token.id);
}
});
},
throws: Cannot read property 'open' of undefined

unless i set '':auto-open-modal= "true"  in which case the modal opens
on page load instead of button click :(

[image: Mailtrack]
https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5& Sender
notified by
Mailtrack
https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5& 01/03/19,
11:59:12 AM
On Wed, Jan 2, 2019 at 8:17 PM Ethan Kravitz<EMAIL_ADDRESS>wrote:

This is my plugin file, it's a bit specific to my webpack setup:
import Vue from 'vue'; // eslint-disable-line import/no-extraneous-dependencies
import VueStripeCheckout from 'vue-stripe-checkout';
const STRIPE_PUBLISHABLE_KEY = CONFIG.Stripe.publishableKey; //use config-webpack notation on client side
const options = {
key: STRIPE_PUBLISHABLE_KEY,
locale: 'auto',
currency: 'USD',
};
if (STRIPE_PUBLISHABLE_KEY) {
Vue.use(VueStripeCheckout, options);
}
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jofftiquez/vue-stripe-checkout/issues/14#issuecomment-451052712,
or mute the thread
https://github.com/notifications/unsubscribe-auth/APimBrZ1nGd5IepTz6TYnm2KFLXPO3FCks5u_YRZgaJpZM4Tu6Uh
.

--
Kristina Traeger
txt: +1<PHONE_NUMBER>
T|I: @kristinatraeger
kristinawritesco.de
LinkedIn https://www.linkedin.com/in/kristinatraeger/
Twitter https://twitter.com/kristinatraeger
Check out my podcast:
Kristina, Kati, Kalifornia https://kristinakatikalifornia.com/

--
Kristina Traeger
txt: +1<PHONE_NUMBER>
T|I: @kristinatraeger
kristinawritesco.de
LinkedIn https://www.linkedin.com/in/kristinatraeger/
Twitter https://twitter.com/kristinatraeger
Check out my podcast:
Kristina, Kati, Kalifornia https://kristinakatikalifornia.com/

throws a mismatching type error for 'key', receiving an object instead of a
string

Cannot read property 'open' of undefined

@kristraeger I think you're using an old version. May I know what version are you using? Kindly check the docs. Thanks.

hi @emkman  i'm trying your solution but i'm getting this error any idea why
ERROR  Failed to compile with 1 errors
This dependency was not found:

vue-runtime-helpers/dist/normalize-component.js in ./node_modules/vue-stripe-checkout/dist/index.js

Hi, thank you for all the information provided first.
Now I am trying this in nuxt and got the same problem with @Bubacarr .
Did you fix this already?
@emkman @jofftiquez
I am following @emkman's solution by the way.
Any idea how to fix this error?
(I can't directly install the vue-runtime-helpers/ dependency.)

@benben994 try named import instead i.e.
import { StripeCheckout } from 'vue-stripe-checkout'

Hi @williamchong007 , thanks for your reply.
I've try the way you mentioned, but I got Unknown custom element <vue-stripe-checkout> - did you register the component correctly?
I've try   etc in local .vue, but the error is showing anyway.

Hi @benben994,
I think your code is for v1. Try to register the component.
import Vue from 'vue'
import { StripeCheckout } from 'vue-stripe-checkout'

Vue.component('stripe-checkout', StripeCheckout)

vue.runtime.esm.js?2b0e:5106 Uncaught TypeError: Cannot read property 'install' of undefined
    at Function.Vue.use (vue.runtime.esm.js?2b0e:5106)
    at eval (stripe.ts?f790:10)
    at Module../client/plugins/stripe.ts (app.js:526)
    at __webpack_require__ (runtime.js:790)
    at fn (runtime.js:151)
    at eval (index.js:55)
    at Module../.nuxt/index.js (app.js:131)
    at __webpack_require__ (runtime.js:790)
    at fn (runtime.js:151)
    at Module.eval (client.js:63)

Is anyone getting this following @williamchong007's instruction?

Hi @benben994,
I think your code is for v1. Try to register the component.
import Vue from 'vue'
import { StripeCheckout } from 'vue-stripe-checkout'

Vue.component('stripe-checkout', StripeCheckout)

I am getting this error
vue.runtime.esm.js?2b0e:619 [Vue warn]: Unknown custom element: <vue-stripe-checkout> - did you register the component correctly? For recursive components, make sure to provide the "name" option.

found in

---> <Client/pages/checkout.vue> at client/pages/checkout.vue
       <Nuxt>
         <VContent>
           <VApp>
             <Default> at client/layouts/default.vue
               <Root>

plugin file
import Vue from 'vue'
import VueStripeCheckout from 'vue-stripe-checkout'

Vue.component('vue-stripe-checkout', VueStripeCheckout)

nuxt
    { src: '~/plugins/stripe', ssr: false }

Really helped this.
And my sprite-checkout.js file looks like this.
import Vue from 'vue';
import { StripeElements } from 'vue-stripe-checkout';

Vue.component('stripe-elements', StripeElements);

I'm getting a  render function or template not defined in component: anonymous . This is my setup:
nuxt: 2.14.6
vue-stripe-checkout: 3.5.10
nuxt.config.js:
plugins: [
    { src: '~/plugins/vue-stripe-checkout', ssr: false }
],

build:{
    transpile: [
     'vue-stripe-checkout'
    ]
  },

plugins/vue-stripe-checkout.js:

import Vue from 'vue'
import { VueStripeCheckout } from 'vue-stripe-checkout';

Vue.component('vue-stripe-checkout', VueStripeCheckout);

Any clue about this? Thanks in advance!

@Jesus82 The only time I am encountering this is when my component doesn't have a <template> section. But the checkout component has it.
This line here import { VueStripeCheckout } from 'vue-stripe-checkout';, you are already importing VueStripeCheckout as a vue component. You don't really need to register it globally. I don't about nuxt approach on this but try to import the component directly into the consuming component.

Hey guys,
I've just posted an error on StackOverFlow referring to this discussion.
Here is the link: https://stackoverflow.com/questions/64008295/implementing-stripe-on-nuxt-app-stripecheckout-not-found-in-vue-stripe-checko
I failed to use this package/plugin all day. If someone has a solution :).
Thanks a lot

@Jesus82 The only time I am encountering this is when my component doesn't have a <template> section. But the checkout component has it.
This line here import { VueStripeCheckout } from 'vue-stripe-checkout';, you are already importing VueStripeCheckout as a vue component. You don't really need to register it globally. I don't about nuxt approach on this but try to import the component directly into the consuming component.

I've tried several ways:
When declaring like this in plugins/
import Vue from 'vue'
import VueStripeCheckout from 'vue-stripe-checkout'

Vue.component('vue-stripe-checkout', VueStripeCheckout)

It fails right after I declare in the component:
components: {
    StripeCheckout
  },

If I import it directly to the component, it fails after I declare the import (not even the component). The error is always the same ( render function or template not defined in component: anonymous)

@Jesus82 I'll try to reproduce this error.


classical vs fine-grained github tokens

What are you changing in this pull request and why?

Having some confusion with customers re: this recent (breaking) fix: https://docs.getdbt.com/docs/dbt-versions/release-notes/dec-2022/private-packages-clone-git-token
Have had some customers claim that they require user and some that do not require user. I think it is because of classical vs fine-grained personal access tokens: https://stackoverflow.com/questions/74532852/github-clone-repo-with-fine-grained-personal-access-tokens-pat

This customer did not need to use the username field
This customer did need to use the username field
slack discussion
Checklist

[ ] Review the Content style guide and About versioning so my content adheres to these guidelines.
[ ] Add a checklist item for anything that needs to happen before this PR is merged, such as "needs technical review" or "change base branch."

Adding new pages (delete if not applicable):

[ ] Add page to website/sidebars.js
[ ] Provide a unique filename for the new page

Removing or renaming existing pages (delete if not applicable):

[ ] Remove page from website/sidebars.js
[ ] Add an entry _redirects
[ ] Ran link testing to update the links that point to the deleted page

hey @patkearns10 thanks so much for opening this up - great addition! i recently removed the username in this pr: #2797 but it seems username is required for fine grained permissions then right?

@mirnawong1 - I thought username was not required at the time you made that initial PR. But we have since learned it is because of fine-grained personal access tokens.
All good on my end with the tweaks. TY!


Can't use an uninitialized repository

If you create but do not initialize a repository, then sync won't work

Added documentation of the limitation here: 1e8717c
I've not worked out how to create/initialize an existing repository using the github API (rather than pushing a git repository using the git protocol to actually fix this. Suggestions welcome.


Migration guide: update for 5.0 and 5.1

Related issues
Linked to #901.
Description
Update the migration guide according to what's missing in there.
Motivation & Context
Help people have a better migration.
Types of change

New feature (non-breaking change which adds functionality)

Live previews

https://deploy-preview-1633--boosted.netlify.app/migration

Checklist

[x] I have read the contributing guidelines
[x] My code follows the code style of the project (using npm run lint)
[x] My change introduces changes to the documentation
[x] My change introduces changes to the migration guide
[x] I have updated the documentation accordingly
[x] I have added tests to cover my changes
[x] All new and existing tests passed

Note for future self: propagate this change in gh-pages for versions 5.0 and 5.1.


Additional Cons/Pcons

Why aren't pumpkin cookies, honeycombs, clovers and other DP removal/Morale boost items available in the PCONS panel?

id rather the pcons panel not span down my entire screen

My reason for never implementing those is that unlike other pcons, it's not obvious what you want to do, as there are many possibilities, and toolbox might potentially fail and do harm.
For example, you may want to:

boost yourself to +10%
boost morale, but without reaching +10% in order to benefit from a powerstone if one is used
only remove death penalty

For all of those, you may want to use either party-wide or personal boosts, depending on what you are doing.
However for speedclears you never want to use party-wide boosts, and cookies are by far the best and most widespread pcon used. Why? They allow non-random control over your own morale only, allowing you to go to positive morale without reaching +10, and they are cheap and easily available.
The typical use case is dying (-15%), using two cookies for +20% -> +5% morale, and now you have more hp/energy while still being able to use a pstone.
If you automate this process, it can happen that toolbox detects death penalty and uses a cookie, at the same time as mobs are dying. The server will process mob death, give you experience thus removing DP, and then applying the cookie, thus resulting in +10% morale, which is really bad for some SCs.
So overall I always decided against implementing this feature.


Formulary Plasma Parameter Calculator

Create a Jupyter Notebook interface with inputs to calculate a range of plasma parameters given various input values.
Example: Return Alfven speed given magnetic field and density.
Ideal Final version: Put in all inputs and have calculator return all possible calculated components.
Example: If I put in a magnetic field and a density, calculator will return Alfven Speed, plasma frequency, gyrofrequncy, but not ion speed (since T is not given).

Has any work been done in this regard?
Also, apart from having a Jupyter Notebook, how do we feel about also having a GUI for such purpose?
I was thinking of creating a simple user interface which can be developed using tkinter

Ideas for plasma-calculator

Add Coulomb logarithm
Parameters for low-temperature unmagnetized plasmas (maybe by adding a flag to the plasmapy-calculator command?)


Rollback user meltdown

Please either restore original titles and descriptions for these Katas else remove them.
https://www.codewars.com/kata/search?q=user7973646

Wow. Thanks for letting us know. That was really unfortunate. I rolled back the description/title and retired each kata.


Fix recorder crash for long state string - enforce at core level

Description:
Updated:
Recorder thread throws exception and stop recording for external DB engines (PostgreSQL, etc.), when state string is longer than 255 characters.
Fix long state of persistent notification: https://github.com/home-assistant/home-assistant/pull/9967
Breaking change: State value of entities is limited to 255 characters.
Related issue (if applicable): fixes #9366
Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.github.io#<home-assistant.github.io PR number goes here>
Checklist:
If user exposed functionality or configuration variables are added/changed:

N/A [ ] Documentation added/updated in home-assistant.github.io

If the code does not interact with devices:

[x] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[x] Tests have been added to verify that the new code works.

A state should be not bigger as 255 characters. I don't know what should be the best solution. Maybe we trim it before we write it into state table... @balloob ?

Yes, 255 characters is very long for normal sensors etc. There are components, which allow long state text properly - for example Persistent notification, which I am using to simulate this problem. And probably others, like weather alerts, forecasts, etc.

I don't want to increase the column length over 255 characters. Instead we should update persistent notification to store the message in the attributes.

I don't like this fix either. Silently failing is bad, we should probably enforce this at the core level.

Yes, this first commit is not intended as permanent and systematic fix and is not a good way to solve it. Just try to avoid first recorder thread stop by workaround and open a discussion. Exception is not completely silenced - errors are still logged.
It is question, how many components are cause of long states - some are mentioned in linked issues

I had also reported this. https://github.com/home-assistant/home-assistant/issues/9092

Hi @pvizeli
discovering core module, please confirm this is right place (State object) to check and enforce state length
https://github.com/home-assistant/home-assistant/blob/0de2266a722712c407991e421e205952e4536008/homeassistant/core.py#L527
If longer than 255, we should truncate it to 255 and log warning (or error ?) or throw exception ?
Thanks

We should throw an exception in the State constructor if a state is too long. However, we should first update the persistent_notification component to no longer set long states.

Sorry for mess in commits - I was confused by merges and reverts :wink:
@balloob please advise regarding persistent_notification - should it be redesigned to store message in attributes (will require GUI changes also ?) ? What should de stored in persistent_notification state then ?
Thank you

Hi,
make some progress regarding fixes:

implemented core changes
created PR for Persistent notification (+ GUI change)

Sorry for the delay in getting back to you. Other PR is great approach. Will close this PR as the other one is the proper fix.

This fix is ok

Can be merged after #9967 has been merged.

Thanks for review.
Because this can break components which set "invalid" state, it could be helpful to warn users / developers in release notes to report / fix these components.

That's what the breaking change tag is for 👍
Thanks for the PR! 🐬

This change will break getting weather alerts from WUnderground and a list of similar things documented in https://github.com/home-assistant/home-assistant/issues/9366.  For the record, I think this is the wrong direction and the column should be made larger instead.

@ahknight It will truncate values larger than 255 chars, so it should not break anything. Let us know if you have tried out this fix. 255 chars is already long.

@arsaboo @ahknight
Conclusion of this discussion with owner is to throw an exception for long (invalid) state. Long text should be stored in entity attributes - not state. Persistent notification component is already changed and PR https://github.com/home-assistant/home-assistant/pull/9967merged accorditg to this.

The weather component does not write alerts as state. If this is about a weather related platform for a different component, they should all be moved to weather component or move value to attribute


Added 'Common > Language-independent > Use C stdint.h or C++ cstdint for Plain Old Data Types'

Problem
Issue #2402 and pull request #2408 are a strong indicator that there is recognition and acceptance of "Use C stdint.h or C++ cstdint for Plain Old Data Types" as a generally agreed-upon and non-bot/-automatically enforceable convention in Project CHIP.
Summary of Changes
Adds text to Common > Language-independent > Use C stdint.h or C++ cstdint for Plain Old Data Types describing the guideline and its motivation and rationale.
Fixes #2410

@jelderton @saurabhst @BroderickCarlin


Aspire.Hosting.Testing: Improve error message when loading

.. launchsettings fails. This matches the code in
DistributedApplicationFactory.GetLaunchSettings.

[playground] Fix CosmosEndToEnd.AppHost's launchsettings.json - trailing comma

Microsoft Reviewers: Open in CodeFlow

Should GetLaunchSettings be shared between Aspire.Hosting, and Aspire.Hosting.Testing? Most of it is the same.

Should GetLaunchSettings be shared between Aspire.Hosting, and Aspire.Hosting.Testing? Most of it is the same.

Yes. Can you log an issue to combine these implementations into 1?

Should GetLaunchSettings be shared between Aspire.Hosting, and Aspire.Hosting.Testing? Most of it is the same.

Yes. Can you log an issue to combine these implementations into 1?

https://github.com/dotnet/aspire/issues/5231


Upgrade security on switch case

If I enter a letter instead of an integer in a switch:

Infinite loop
Last integer sent

UI doesn't exist anymore


Feature Request: savvy-cli build --for-cran

It would be helpful to have a command in savvy-cli that simplifies the process of preparing an R source package for CRAN. Currently, getting a savvy-using package ready for CRAN involves additional steps like vendoring Rust dependencies, updating Makevars, configuring cargo settings, and generating an authors file.
A build --for-cran command could help by automating these extra steps while keeping the standard package development process with savvy straightforward.

In general, I'm strongly against encouraging innocent users to submit their Rust-powered package to CRAN, which leads them to a lot of troubles. To be clear, it's totally possible to use Rust in CRAN packages, but I believe it's expert-only. For example, typical problems they face are

the size of the vendored source code is too huge
it cannot be compiled with a bit older version of Rust toolchain installed in the CRAN machines (currently, 1.69)

Both cannot be automatically fixed by such a command. So, it's inappropriate to advertise "CRAN-ready".
That said, I'm curious why you wanted this feature. If you want to vendor the source on building the package, prqlr's setup might help.
https://github.com/PRQL/prqlc-r

Closing this for now. Please let me know if you need some specific feature to get your package on CRAN!

Thanks! Sorry for not getting back to you sooner. I will need this eventually and will be happy to work on it when that time comes.


Add license headers

There seem to be a lot of files having no header. Somebody should go through and add those.

Yup.


Link to spec-core-team is 404 if you aren't in the matrix-org organization

The link to "Meet the members of the Core Team" on https://matrix.org/docs/spec/proposals is 404 if you aren't in the organization so it isn't that helpful.
Is there a way to make the team public or should a separate page be set up that lists the members of the core team?
Introduced here: https://github.com/matrix-org/matrix-doc/commit/8121bef771c97c83953148afd2e9ac431d9e2580#diff-587ffef8f8d50dd2caa2a1c06a5697b1R19

Duplicate of https://github.com/matrix-org/matrix.org/issues/283


Need to Fix Unit Test Code for Some JavaScript Problems of HumanEval-X

Case 1: Missing unit test function call
Problems 32, 119, and 151 have no unit test function call in their "test" code.
For example, the "test" code of Problem 32 is as follows. (Note that there is no function call for the testfindZero function)
const testfindZero = () => {
  const getRandomIntInclusive = (min = 0, max = 9) => {
    min = Math.ceil(min)
    max = Math.floor(max)
    return Math.floor(Math.random() * (max - min + 1)) + min
  }

  for (let i = 0; i < 100; i++) {
    let ncoeff = 2 * getRandomIntInclusive(1, 4);
    let coeffs = [];
    for (let j = 0; j < ncoeff; j++) {
      let coeff = getRandomIntInclusive(-10, 10);
      if (coeff === 0)
        coeff = 1;
      coeffs.push(coeff);
    }
    let solution = findZero(coeffs);
    console.assert(Math.abs(poly(coeffs, solution)) < 1e-4);
  }
}

Problems are always regarded as passed problems if there is no unit test function call.
Please add the unit test function call at the end of "test" code for problems 32, 119, and 151.
Case 2: Typo in the unit test
The problem 112 has typo in its unit test code.
Currently, the "test" code of problem 112 is as follows. (Note the position of the third closing parenthesis)
const testReverseDelete = () => {
  console.assert(JSON.stringify(reverseDelete('abcde', 'ae'))) ===
    JSON.stringify(['bcd', false])
  console.assert(JSON.stringify(reverseDelete('abcdef', 'b'))) ===
    JSON.stringify(['acdef', false])
  console.assert(JSON.stringify(reverseDelete('abcdedcba', 'ab'))) ===
    JSON.stringify(['cdedc', true])
  console.assert(JSON.stringify(reverseDelete('dwik', 'w'))) ===
    JSON.stringify(['dik', false])
  console.assert(JSON.stringify(reverseDelete('a', 'a'))) ===
    JSON.stringify(['', true])
  console.assert(JSON.stringify(reverseDelete('abcdedcba', ''))) ===
    JSON.stringify(['abcdedcba', true])
  console.assert(JSON.stringify(reverseDelete('abcdedcba', 'v'))) ===
    JSON.stringify(['abcdedcba', true])
  console.assert(JSON.stringify(reverseDelete('vabba', 'v'))) ===
    JSON.stringify(['abba', true])
  console.assert(JSON.stringify(reverseDelete('mamma', 'mia'))) ===
    JSON.stringify(['', true])
}
testReverseDelete()

The problem 112 is always regarded as passed due to the wrong position of the closing parenthesis.
You should move the third closing parenthesis to the end of the sentence for each unit test code.
Case 3: There is no tuple in JavaScript
Problems 107, 136, 155 use tuple syntax of Python in their unit test.
However, there is no tuple syntax in JavaScript, which leads to unexpected behaviors (e.g., all unit tests fail)
For example, the "test" code of problem 107 is as follows.
const testEvenOddPalindrome = () => {
  console.assert(
    JSON.stringify(evenOddPalindrome(123)) === JSON.stringify((8, 13))
  )
  console.assert(
    JSON.stringify(evenOddPalindrome(12)) === JSON.stringify((4, 6))
  )
  console.assert(
    JSON.stringify(evenOddPalindrome(3)) === JSON.stringify((1, 2))
  )
  console.assert(
    JSON.stringify(evenOddPalindrome(63)) === JSON.stringify((6, 8))
  )
  console.assert(
    JSON.stringify(evenOddPalindrome(25)) === JSON.stringify((5, 6))
  )
  console.assert(
    JSON.stringify(evenOddPalindrome(19)) === JSON.stringify((4, 6))
  )
  console.assert(
    JSON.stringify(evenOddPalindrome(9)) === JSON.stringify((4, 5))
  )
  console.assert(
    JSON.stringify(evenOddPalindrome(1)) === JSON.stringify((0, 1))
  )
}

testEvenOddPalindrome()

You need to use list instead of tuple.

In addition, you need to avoid JSON.stringify when comparing two lists.
JSON.stringify cannot distinguish null and undefined.
For example, runing the following code:
console.log(JSON.stringify([null, 1]));
console.log(JSON.stringify([undefined, 1]));
console.log(JSON.stringify([null, 1]) === JSON.stringify([undefined, 1]));

will print:
"[null,1]"
"[null,1]"
true

I recommend to compare two lists in JavaScript like in the following way:
const comp = (a, b) => a.length === b.length && a.every((e, i) => e === b[i]);
console.assert( comp(largestSmallestIntegers([2, 4, 1, 3, 5, 7]), [null, 1]) )

Unit test of the problem 136 should be fixed like above.

Hi! Thanks very much for your feedback. I'll check and fix the errors in HumanEval for JS.

Hi, @Stanislas0. Could you reupload the docker image (rishubi/codegeex:latest) after you fix the errors? Thanks.

Hi, @Stanislas0. Could you reupload the docker image (rishubi/codegeex:latest) after you fix the errors? Thanks.

Hi, problem has been fixed and the docker is updated https://hub.docker.com/repository/docker/codegeex/codegeex/general.

Hi, @Stanislas0. Could you reupload the docker image (rishubi/codegeex:latest) after you fix the errors? Thanks.

Hi, problem has been fixed and the docker is updated https://hub.docker.com/repository/docker/codegeex/codegeex/general.

Thank you for the update!
I verified that all three cases are fixed in the docker file,
but also found that 'null' and 'undefined' are still undistinguishable.
Since 'null' and 'undefined' are not distinguishable,
a function that returns 'undefined' can pass the unit test of the problem 136.
Therefore, I insist that the unit test of the problem 136 should be fixed like below.
const comp = (a, b) => a.length === b.length && a.every((e, i) => e === b[i]);
console.assert( comp(largestSmallestIntegers([2, 4, 1, 3, 5, 7]), [null, 1]) )

Also, please change the instruction about docker from
You can directly pull the image from Docker Hub:
docker pull rishubi/codegeex:latest

to
You can directly pull the image from Docker Hub:
docker pull codegeex/codegeex

in codegeex/benchmark/README.md
Best,


bugfix, in touchmode map does not allow to draw Circle or Rectangle

... it stops right after start, when touchend fires.
i am not actually sure why
L.DomEvent.on(document, 'touchstart', L.DomEvent.preventDefault);
is not working, but line below helps
document.addEventListener('touchstart', L.DomEvent.preventDefault);
is that is Leaflet bug which prevents native events assignment, for touch events? Should we create an issue in Leaflet?

fixes problem for new chrome

LGTM. Tested against Leaflet 1.0.3, Draw 0.4.9, and Chrome 58.0.3029.83 for Android.

I see the same issue in MS Edge on a Surface Pro--any ideas?

Sorry I've not been up to date on this as I should have been. @skalb is edge on pro erroneous with with this patch?

Correct, I suspect there may be a weird interaction with the Leaflet Map Draggable class.
I was able to successfully draw rectangles by:

disabling dragging on the map during initialization
leaving drag enabled while drawing

Clearly neither of those options would work in practice.

Cool. Is there any analogous fix for edit? (or was there ever a problem w/ touch with edit to begin with?)

Bump.  Any updates on whether this pull request will be incorporated?

@skalb Were you ever able to get this working in MS Edge on Surface Pro? We just ran across the same issue and I wanted to check before I get too far into it.

@dougshamoo No, I was not.

@dougshamoo Can confirm this merge into master does not work with MS Edge. (I'm using MS Edge 40.15063.674.0 with a touch screen on Windows 10, on a desktop computer.)
I would be very interested if you make any progress on this!


Sample: Use slashes instead of underscores in PHP namespaces for nested enums and messages

PTAL

We don't usually enforce that... but it does seem the changes in this PR could use some more testing. I'll see if I can reach the target code coverage.

PTAL

In this example, the second Hello will be used by its full name.
Added a test to show this logic too.

Fixes https://github.com/googleapis/gapic-generator/issues/2141

@michaelbausor Thanks for the catch! Fixed and also added a test. PTAL


vscode settings to exclude files from sidebar

Definitely questionable whether a specific editor's settings should be committed to the repo.
But it will make it a bit easier for me to switch between my home mac and the windows server for twitch streaming, so I don't have to reconfigure both.

I'm fine with that.


[proposed feature request] Support private Azure registry

We need to expand support for private registries and build on top of supporting just docker registry. Proposing feature request to support Azure private registry:
https://docs.microsoft.com/en-us/rest/api/containerregistry/
Azure registry has a REST API support thus it would be require a wrapper for new registry type. Usage would entail specifying registry source with the same AuthConfig that specifies auth parameters.

Maybe I need to look into it more but can you provide more info. This API is for registry management as far as I can tell which is a separate area of concern from Docker API's itself. I would assume (possibly incorrectly) that as far as docker login, pull, push is concerned it would expose the same API correct? So what needs to be custom? Just Authentication?

Thanks Justin.
In the documentation, under the "Create an image by pulling from Docker Registry", the code "pulls fedora/memcached image to your Docker instance using your Docker Hub account".
Was wondering if we can add support to specify the url of the registry to pull the image from. In this scenario it would be a private registry hosted on Azure. The feature could be expanded to support private registries in general (instead of always interfacing with docker registry). The AuthConfig could still be used for authenticating to whichever registry we want to point to.
I didn't see any example of this being possible so I could be wrong. Let me know if that makes sense :)

@masroorhasan, like @jterry75 mentioned there are 2 APIs:

Docker CLI/Client/API -> login, pull, push -> We already have it. However, I think we still miss Registry v2 APIs and there is and issue (#165) which should be tackle sometime in the future.
Docker Registry Management API -> That is out of scope of the client. I think that maybe if @jterry75 want, we could add an extra class (not codegenerated) to talk to it.

In all cases, we support "private registries" already.

@galvesribeiro -  I am almost done with 1. #165 but need a few more days to test.

@jterry75 @galvesribeiro Thanks for the responses - I'll try to hook it up with Azure registry and let you know. I think this issue can be close since it looks like a duplicate of #165 :)


Basic voting "hide abstain" option

Fixes #1120
Hub PR: https://github.com/snapshot-labs/snapshot-hub/pull/203

hideAbstain = false

hideAbstain = true

Using multiple strategies (2x eth-balance) to see the split progress bar.

How to set 'hide abstain' in space settings?

How to set 'hide abstain' in space settings?

Currently only in db. Shall I add a checkbox or something on the settings page @bonustrack?

@mktcode Yes we should have a checkbox in the settings page, can you add it?

This is ready for a review? Seems the option in settings is still missing

Added the option now:

Requires snapshot.js update: https://github.com/snapshot-labs/snapshot.js/pull/441
(here and in the hub)

Snapshot.js is updated. Anything else left?

@mktcode We will merge it soon, Bancor team is still testing it


The interactive messages in slack will disappear automatically after a period of time

Question: As shown in the figure above, when I click the 'Yes' button, a message will appear under the button, but after a period of time, the message will disappear automatically. Why? How to solve this problem? I want this message to never disappear.
The code is as follows:
// when a user clicks a button in the actions block
app.blockAction("button-action", (req, ctx) -> {
  String value = req.getPayload().getActions().get(0).getValue(); // "button's value"
  if (req.getPayload().getResponseUrl() != null) {
    // Post a message to the same channel if it's a block in a message
    ctx.respond("You've sent " + value + " by clicking the button!");
  }
  return ctx.ack();
});

Hi @fu1212, thanks for asking the question!
The default mode of messages posted by respond, which sends a reply using response_url in a payload, is "ephemeral" mode. Refer to https://api.slack.com/messaging/managing#ephemeral for more details of ephemeral messages.

I want this message to never disappear.

You can customize the behavior this way:
ctx.respond(r -> r.responseType("in_channel").text("your message here"))

I hope this helps!

@seratch Thank you for your answer.


Swiper not SEO friendly

HI
your swiper works great .... buuuuut it is not really SEO because Google Search & Co don't really have an img-tag to crawl. So all the images in the swiper are not registered by google.
The current output is e.g.:

    : Stadtkind 1

So how can I improve the SEO in this case?
thx. bearskin.
PS: I also posted this question on stackoverflow (http://stackoverflow.com/questions/34204661/how-can-the-images-in-swiper-from-idangnero-us-be-made-seo)

There is no magic here. Just use  then inside of slide


test: Quarantine TLS test for now

TLS test is flaking so quarantine it again until a fix is available.
Related-to: #22404
Signed-off-by: Jarno Rajahalme<EMAIL_ADDRESS>

Merging as soon as it compiles in CI.


Soften box-shadow

Default :

After :

any thoughts of changing the box-shadow of form-control and button to soften out.
*ignore the change in color value and icon
I can submit pull request to change it all around .
the link to example is given below
https://jsfiddle.net/ashfahan/sxz72ay8/

Thanks, but we'll be leaving it as-is for now.


Wilmington, NC - letter to Mayor and City Council Members

<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Subject: Defunding the Wilmington Police Department
Message:
Dear Mayor Saffo and Wilmington City Council Members,
My name is [YOUR NAME] and I am a resident of [NEIGHBORHOOD/CITY].
I am demanding you reallocate funds from the Wilmington City Police department and invest them into social services that would directly improve the well-being of Wilmington citizens.
The budget for 2019 was $35,097,295, and the recommended budget for 2020 is $36,546,488. This is a 13% increase from 2019 to 2020 and an almost 20% increase from 2018 to 2020. That money could be better spent on supporting affordable housing, educational opportunities, healthcare, and community outreach programs that are more successful at promoting safe and stable communities than law enforcement. I demand more aggressive financial support be directed to those areas.
I am demanding long term and sustainable change. I am demanding that the city of Wilmington’s budget be better spent on quality of life for all. In particular for those in our Black and Brown communities, who are more than likely to be directly affected by police brutality and violence. I also urge the Wilmington City Council to enact legislation that holds police accountable and to overturn policies that allow police to engage in unlawful behavior with impunity.
People are marching in the streets because they know that these actions will result in a healthier, more just society. I implore you to please listen to the needs of your constituents and take immediate action to address their concerns. Can I count on you to consider an alternative budget that puts a focus on social service programs?
Thank you,
[YOUR NAME]
[YOUR ADDRESS]
[YOUR EMAIL]
[YOUR PHONE NUMBER]

Editing notes: I removed a duplicate email address, tightened up some small areas of copy, and reworded the first sentence to emphasize the demand for defunding. Department budget figures confirmed here: https://www.wilmingtonnc.gov/home/showdocument?id=10786
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Subject: Defunding the Wilmington Police Department
Message:
Dear Mayor Saffo and Wilmington City Council Members,
My name is [YOUR NAME] and I am a resident of [NEIGHBORHOOD/CITY].
I am demanding you defund the Wilmington Police Department and reallocate funds to invest in social services that would directly improve the well-being of Wilmington citizens.
The 2019 police budget was $35,097,295, and the recommended budget for 2020 is $36,546,488. This is a 13% increase from 2019 to 2020 and an almost 20% increase from 2018 to 2020. That money could be better spent on supporting affordable housing, educational opportunities, health care, and community outreach programs that are more successful at promoting safe and stable communities than law enforcement has been. I demand that more aggressive financial support be directed to those areas.
I am demanding long-term, sustainable change. I am demanding that the city of Wilmington’s budget be better spent on quality of life for all, particularly for those in our Black and Brown communities, who are more than likely to be directly affected by police brutality and violence. I also urge the Wilmington City Council to enact legislation that holds police accountable and to overturn policies that allow police to engage in unlawful behavior with impunity.
People are marching in the streets because they know that these actions will result in a healthier, more just society.  Can I count on you to consider an alternative budget that puts a focus on social service programs?
Thank you,
[YOUR NAME]
[YOUR ADDRESS]
[YOUR EMAIL]
[YOUR PHONE NUMBER]

on it now

@daliadalili -- if my math is right, it looks like the 13% figure came from the Adopted Budget ($32,302,549) vs. Adjusted Budget ($35,097,295) for 2019. I'm going to go ahead and change the 2019 budget number to $32,302,549 to be consistent with the 13% figure (change from Adjusted Budget is 4%), but let me know if you object. Thanks!


Add wallet address support to ltc+doge.

Adds wallet address support (for balance updates) for Litecoin and Dogecoin too.  Also using Blockcypher.  Refactored code very slightly so the Blockcypher promise logic was reusable cleanly.
LTC+Dogecoin are the remaining two cryptos supported by Blockcypher so it made sense to add them (I only care about LTC but hey, every doge has it's day too).
Testing: using my personal capital account.  Set balances and prices to 0 and verified they updated for BTC+ETH as well as LTC (for my wallet) and Doge (using their example wallet).

Looks great! Thanks


noice

Coverage remained the same at 83.533% when pulling 9a775a611c30a9c6ca05aaa854ac665e27d34b71 on StefanBranch into b6a6a7c0d7457a58187a1ae9d3eea8a1e911624b on master.

Coverage remained the same at 83.533% when pulling 50948d27ed1861486d015c5e56aea07e10c56e7a on StefanBranch into b6a6a7c0d7457a58187a1ae9d3eea8a1e911624b on master.

Coverage decreased (-0.2%) to 83.338% when pulling 50948d27ed1861486d015c5e56aea07e10c56e7a on StefanBranch into b6a6a7c0d7457a58187a1ae9d3eea8a1e911624b on master.


can this be used to connect to a UDP server over the internet?

can this be used to connect to a UDP server over the internet? If so, can you make an example

Hi @CraigZych,
yes, just adapt the provided examples to use an USB instance instead of the Serial one in CheckSerial and in MQTTSN_serial_send functions.


Fix selected issues found by Ameba

Followup to #6055, hopefully this one will get accepted.

@straight-shoota Done - I've opened #10233 for that.

@straight-shoota Done - I've opened #10233 for that.

@bcardiff GTG?

@bcardiff GTG?

On the same note, I don't really want to review this PR again. I've done so before and then new substantial changes were pushed again and again.
This should've either been designated a draft or later changes added in their own PRs. Possibly both.
Now this is clearly to big for comfortably approving it as non-semantic change.

On the same note, I don't really want to review this PR again. I've done so before and then new substantial changes were pushed again and again.
This should've either been designated a draft or later changes added in their own PRs. Possibly both.
Now this is clearly to big for comfortably approving it as non-semantic change.

Also this code cleanup is valuable, but if there is a chance for it to break something then it's better to wait a bit more. After all this has zero impact on users of the language

Also this code cleanup is valuable, but if there is a chance for it to break something then it's better to wait a bit more. After all this has zero impact on users of the language

This PR is broadly outdated. Some of improvements based on ameba lints have been merged recently in compact PRs focusing on individual rules.
We should continue that way with smaller, more manageable scopes.


use proxy if http_proxy is available

@hgw77, after second thoughts I realized that we could go leave ENV to the params and at same time provide support for proxy's user and password. Please let me know if you're facing any issues with it.
Thanks!

ok thank you 👍


Auto-Completion Feature with Hyperlinks

We currently have an auto-completion feature for strings which start with: "TM(type,sub-type)" (TM Report) and "TC(type,sub-type)" (Telecommand). If possible, I would like to extend it such that the string returned by the auto-completion is "TM(type,sub-type)" or  "TM(type,sub-type)" is hyperlinked and, when the user hovers over this string, he sees the TM or TC description and its unique identifier.

Hovering tips over auto-completion strings are now available.


Decide how to deal with 0.0 entries that are actually N/A

No survey in 20/21. NA values displaying as 0.0 but we need to correct this to N/A. Might be a note in the result of the API we can include.

HBAI uses 3 year averages, and the guidance says to omit 2020/21 from these calculations.

I will write a function to create a 3 year averaged table.

Looking at the example, the function needs to calculate the average for the year chosen plus the next two years ahead of it.


Not finding.... anything

Describe the bug
It finds all my installed Steam Games and other games, but the import page is completely blank
To Reproduce
Steps to reproduce the behavior:

Go to 'Import Games'
Empty page

Expected behavior
A list of games from EGS perhaps? Or an option to choose where to look? There's no documentation I can find
Operating System

Windows 10 Pro, Version 10.0.19042

Installed Launchers

Epic Games Launcher
Steam
itch.io /s

Screenshots

Log
[2021-06-12 14:47:35.179] [info] Got Steam path: f:/program data/steam
[2021-06-12 14:47:35.191] [info] Found 1 Steam libraries
[2021-06-12 14:47:35.409] [warn] Error while parsing appmanifest_250820.acf: SyntaxError: VDF | Parse: Invalid syntax on line 1
[2021-06-12 14:47:35.789] [info] Fetched 49 Steam games
[2021-06-12 14:47:35.791] [info] Got Steam user: 147406151
[2021-06-12 14:47:43.031] [info] Import: Started uplay
[2021-06-12 14:47:43.205] [info] Import: Completed uplay
[2021-06-12 14:47:57.292] [info] Found 1 Steam libraries
[2021-06-12 14:47:57.296] [warn] Error while parsing appmanifest_250820.acf: SyntaxError: VDF | Parse: Invalid syntax on line 1
[2021-06-12 14:47:57.303] [info] Fetched 49 Steam games
[2021-06-12 14:47:59.090] [info] Import: Started uplay
[2021-06-12 14:47:59.272] [info] Import: Completed uplay
[2021-06-12 14:49:53.861] [info] Found 1 Steam libraries
[2021-06-12 14:49:53.865] [warn] Error while parsing appmanifest_250820.acf: SyntaxError: VDF | Parse: Invalid syntax on line 1
[2021-06-12 14:49:53.871] [info] Fetched 49 Steam games
[2021-06-12 14:49:59.259] [info] Found 1 Steam libraries
[2021-06-12 14:49:59.262] [warn] Error while parsing appmanifest_250820.acf: SyntaxError: VDF | Parse: Invalid syntax on line 1
[2021-06-12 14:49:59.269] [info] Fetched 49 Steam games
[2021-06-12 14:52:01.912] [info] Started SGDB Manager 0.4.2
[2021-06-12 14:52:05.123] [info] Got Steam path: f:/program data/steam
[2021-06-12 14:52:05.131] [info] Found 1 Steam libraries
[2021-06-12 14:52:05.134] [warn] Error while parsing appmanifest_250820.acf: SyntaxError: VDF | Parse: Invalid syntax on line 1
[2021-06-12 14:52:05.142] [info] Fetched 49 Steam games
[2021-06-12 14:52:05.144] [info] Got Steam user: 147406151
[2021-06-12 14:53:15.068] [info] Started SGDB Manager 0.4.2
[2021-06-12 14:53:18.595] [info] Got Steam path: f:/program data/steam
[2021-06-12 14:53:18.605] [info] Found 1 Steam libraries
[2021-06-12 14:53:18.610] [warn] Error while parsing appmanifest_250820.acf: SyntaxError: VDF | Parse: Invalid syntax on line 1
[2021-06-12 14:53:18.620] [info] Fetched 49 Steam games
[2021-06-12 14:53:18.623] [info] Got Steam user: 147406151
[2021-06-12 14:54:59.717] [info] Started SGDB Manager 0.4.2
[2021-06-12 14:55:02.997] [info] Got Steam path: f:/program data/steam
[2021-06-12 14:55:03.005] [info] Found 1 Steam libraries
[2021-06-12 14:55:03.009] [warn] Error while parsing appmanifest_250820.acf: SyntaxError: VDF | Parse: Invalid syntax on line 1
[2021-06-12 14:55:03.018] [info] Fetched 49 Steam games
[2021-06-12 14:55:03.019] [info] Got Steam user: 147406151

Additional context
I have everything installed on a secondary hard drive

did you have a look at appmanifest_250820.acf ?
is the file recent/current or is it a leftover?

Where can I find that file?
Also, I installed GOG recently, and that works properly

I guess in f:/program data/steam ?
Or search for it using UltraSearch or similar tool


[#1047] improvement(core): Fix the issue of StringIdentifier in metalake property

What changes were proposed in this pull request?
Remove the stringId from metalake property map.
Why are the changes needed?
gravitino.identifier is generated internally and should not be visible to users.
Fix: #1047
Does this PR introduce any user-facing change?
N/A
How was this patch tested?
Existing UTs can cover it.

@jerryshao
Pleas take a good again. Thank you.