Bump plugin Android compileSdkVersions to 31

Bumps compileSdkVersion of the following plugins to 31: android_alarm_manager, android_intent, battery, connectivity, device_info, espresso, flutter_plugin_android_lifecycle, google_maps_flutter, google_sign_in, image_picker, in_app_purchase, local_auth, package_info, path_provider,  quick_actions, sensors, share, share_preferences, url_launcher,  video_player, webview_flutter, wifi_info_flutter.
Pre-launch Checklist

[x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
[x] I read the [Tree Hygiene] wiki page, which explains my responsibilities.
[x] I read and followed the [relevant style guides] and ran [the auto-formatter]. (Unlike the flutter/flutter repo, the flutter/plugins repo does use dart format.)
[x] I signed the [CLA].
[ ] The title of the PR starts with the name of the plugin surrounded by square brackets, e.g. [shared_preferences]
[ ] I listed at least one issue that this PR fixes in the description above.
[x] I updated pubspec.yaml with an appropriate new version according to the [pub versioning philosophy], or this PR is [exempt from version changes].
[x] I updated CHANGELOG.md to add a description of the change.
[ ] I updated/added relevant documentation (doc comments with ///).
[ ] I added new tests to check the change I am making, or this PR is [test-exempt].
[x] All existing and new tests are passing.

A couple of notes

The following deprecated plugins have been bumped (currently) and have unfixed deprecation warnings: android_alarm_manager, wifi_info_flutter, battery (relies on v1 Android embedding).
The following deprecated plugins have also been bumped (currently): android_intent, connectivity, device_info, package_info, sensors, share.

This will need a test exemption from @Hixie. I think this should qualify, because the motivation for this is a Flutter change that broke our tree and was temporarily reverted, so the test will be that we aren't broken when that re-lands.

my understanding is that the compileSdkVersion that's in the actual plugin's build.gradle actually has no effect on clients.

That is right. Although, Camille added a warning to the Flutter tool, so now it will show something.

my understanding is that the compileSdkVersion that's in the actual plugin's build.gradle actually has no effect on clients.

That is right. Although, Camille added a warning to the Flutter tool, so now it will show something.

Hm, do we actually want to bump those versions then? Or only the examples? Because if we change all the plugins to 31, that means we'll be pointlessly forcing plugin clients to update their SDK version, right?
Although I guess the counter-argument is that if our plugin lists, say, version 29, and the example builds with 31, then we could accidentally add a dependency on 30 or 31 in the build without clients getting a warning, right? (In which case we should have a check in the repo tooling that enforces that plugin and example versions match.)

Once https://github.com/flutter/engine/pull/29585 lands, every app will need to bump the compileSdkVersion.
I agree the bumping compileSdkVersion in the plugin's build.gradle isn't necessarily relevant, but I also don't see issues with bumping it.

test-exempt: already tested per @stuartmorgan's comment above


Add an async sleep to the trie node processing loop

What was wrong?
The loop which processes trie nodes can take a long time and none of the loop internals yield control to the event loop.
How was it fixed?
Added an asyncio.sleep(0) to the loop.  Local testing of this did not appear to have any significant effect on sync performance.
Cute Animal Picture

Fixes https://github.com/ethereum/py-evm/issues/1074

I did test a similar change yesterday as well, but I was seeing a lot more nodes timing out and being retried. I think I've found the cause but I want to test it a bit more. I also have a WIP for a proper fix to #1074 (i.e. making StateSync's APIs asynchronous), but that's going to be more involved

A similar change has been merged in another PR, closing


Roll engine 8b74cba20bb8..697e541a8d94 (1 commits)

https://github.com/flutter/engine/compare/8b74cba20bb8...697e541a8d94
git log 8b74cba20bb878d1e75747200f75dfaff5925bda..697e541a8d9475b504a2bd6f335b4f004775adf3 --no-merges --oneline
697e541a8 Add scripts that prepares our windows VM image (flutter/engine#8446)
The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
If the roll is causing failures, please contact the current sheriff (chinmaygarde@google.com), and stop
the roller if necessary.

Auto-roller completed checks. About to merge.


Column empty and not being processed when top row's cell is empty

Ref https://github.com/javascriptdata/danfojs/issues/593
Describe the bug
Column is not being pulled through into dataframe
When uploading an excel which has the topmost row empty for a given column, that column will not come throw
To Reproduce
Steps to reproduce the behavior:

Create an excel which has headers and the top most row for column X is empty
dfd.readExcel
console.log(df.columns)
See column missing

Expected behavior
The column should be there
Desktop (please complete the following information):

OS: MacOS
Browser Safari
Version 1.1.2

This is likely to be an issue with https://docs.sheetjs.com/docs/api/parse-options/

This can be resolved on the sheetjs level using this solution
https://stackoverflow.com/a/66859139
Danfo team - I would suggest extending the current ExcelInputOptionsBrowser object to include an object that can be spread out as args when calling this function
utils.sheet_to_json(worksheet)
I will raise a PR for this if I have time


refactor, chore(egen): refactors code as per new template guidelines, adds code to delete custom job and locally generated files

This PR includes the following updates:

Changes REGION to LOCATION.
Removes import os and os.getenv('IS_TESTING') in cleanup section.
Adds code to delete locally generated files and custom job in the cleanup section.
Re-orders Github and Workbench logos as per the notebook template.
Makes structural changes according to new notebook template.

REQUIRED: Fill out the below checklists or remove if irrelevant

If you are opening a PR for Official Notebooks under the notebooks/official folder, follow this mandatory checklist:

[x] Use the notebook template as a starting point.
[x] Follow the style and grammar rules outlined in the above notebook template.
[x] Verify the notebook runs successfully in Colab since the automated tests cannot guarantee this even when it passes.
[x] Passes all the required automated checks. You can locally test for formatting and linting with these instructions.
[ ] You have consulted with a tech writer to see if tech writer review is necessary. If so, the notebook has been reviewed by a tech writer, and they have approved it.
[ ] This notebook has been added to the CODEOWNERS file under the Official Notebooks section, pointing to the author or the author's team.
[x] The Jupyter notebook cleans up any artifacts it has created (datasets, ML models, endpoints, etc) so as not to eat up unnecessary resources.

/gcbrun

/gcbrun

/gcbrun


It's slow

My startup time was 0.5s before using straight.el; now it's 0.9s.

I think it got slower after the recent refactor. :'(

Can confirm - it's around 1-2 seconds slower for me. (My init time went from 2.5-ish seconds to 4.2-ish)

It's great to hear that it's not actually that much slower. My config has also gotten slower for other reasons that I haven't bothered to fix yet, so I haven't done profiling on straight.el specifically since I first added the build caching system.
See also #41, which should eliminate even the 100–300ms slowdown.
By the way, how many packages do you have? (You can get that number by evaluating (length (hash-table-keys straight--success-cache)).)

I'm pretty sure the symlinks are negligible. The slowdown should be almost entirely due to the fact that straight.el uses find(1) to check all of your packages for modifications on init. (With that in mind, you may be impressed that it is so fast!)

I have 173 packages, apparently. (Huh, I should probably revise this and get rid of the cruft) I :defer t most of that, I think, with probably around 10-ish packages actually loaded on init, 20-ish deferred with some time.

I believe that you are not in fact imagining things, and straight.el really is 1–2 seconds slower. I think the reason you are having trouble attributing it to straight.el is that the package modifications check (the part we expect to be slow, and the part that happens all at once) is about 300ms, but every other straight-use-package invocation is ever-so-slightly slower than it should be, which adds up to 1–2 seconds.
I'm finally going to get my Emacs config back to a <0.5s init, so I'm investigating this issue now.

Some profiling.
(benchmark 10 '(straight-use-package 'cider))

"Elapsed time: 4.143111s (0.600769s in 13 GCs)"

(benchmark 10000000 '(straight--convert-recipe 'cider))

"Elapsed time: 1.680602s"

(let ((recipe (straight--convert-recipe 'cider)))
  (benchmark 100000 '(straight--register-recipe recipe)))

"Elapsed time: 2.212280s (0.308168s in 8 GCs)"

(let ((recipe (straight--convert-recipe 'cider)))
  (benchmark 10000 '(straight--repository-is-available-p recipe)))

"Elapsed time: 0.904636s (0.244791s in 6 GCs)"

(benchmark 10000 '(file-exists-p "~/.emacs.d/straight/repos/cider/"))

"Elapsed time: 0.692318s (0.191917s in 5 GCs)"

(let ((recipe (straight--convert-recipe 'cider)))
  (benchmark 100000 '(straight--add-package-to-load-path recipe)))

"Elapsed time: 6.580693s (2.727027s in 71 GCs)"

(benchmark 1000 '(straight--load-build-cache))

"Elapsed time: 2.250950s (1.583563s in 44 GCs)"

(benchmark 100 '(straight--save-build-cache))

"Elapsed time: 4.071628s (0.470273s in 13 GCs)"

(let ((recipe (straight--convert-recipe 'cider)))
  (benchmark 1000 '(straight--package-might-be-modified-p recipe)))

"Elapsed time: 5.798578s (0.103037s in 2 GCs)"

(benchmark 10000000 '(straight--get-dependencies 'cider))

"Elapsed time: 1.157992s"

(let ((recipe (straight--convert-recipe 'cider)))
  (benchmark 1000 '(straight--activate-package-autoloads recipe)))

"Elapsed time: 2.689443s (0.944570s in 24 GCs)"

;; So it looks like the major bottlenecks are, in decreasing order of
;; severity: saving the build cache, loading the build cache, checking
;; for package modifications, and generating autoloads. The problem is
;; made significantly worse by repeated loading of dependencies, so we
;; can probably see the biggest immediate improvement by making sure
;; to only process a given package once within either a single
;; `straight-use-package' invocation or a single init-file load.

;; After replacing `pp' with `insert' when saving the build cache:

(benchmark 100 '(straight--save-build-cache))

;; was: "Elapsed time: 4.071628s (0.470273s in 13 GCs)"
"Elapsed time: 0.223231s (0.096819s in 2 GCs)"

;; So that's much better. Now we don't use pretty-printing anywhere. I
;; could probably optimize this further by hardcoding the printing
;; algorithm, but that shouldn't be too important since we already
;; optimize to do this once per init.

So is pretty printing necessary? Or what's the advantage of it?

Pretty-printing is nice since (1) you can read the build cache and (2) Emacs can edit it without choking on it being a single long line.
But the delay is too high a cost to pay, so pretty-printing is disabled now (once I push my performance-improving commits).

Ah it's a shame emacs chokes on it, I was thinking if anyone needs to read it, they can just pretty print it interactively from emacs. I'm not sure what the solution to that is then. :confused:

Maybe there could be a configuration option for it.

Emacs can perfectly well read and write it. It's just that if you try to edit the file interactively, there will be a fair bit of lag. And you're right that inspection of the value can also happen from within Emacs (C-h v). I don't really see any use case for having it pretty-printed.

Alright. I've eliminated all the duplicate work being done (e.g #117), and improved performance in a number of other situations (e.g. evaluating a single file of straight-use-package declarations, init time when only one package has been modified) by introducing a new transaction-based API (see the referenced commit and its children).
However, performance improvements are not as significant as I would like. Further profiling reveals the following remaining bottlenecks on my config of ~108 packages:

550ms for the bulk find(1) operation at straight.el load time. Can be eliminated by #41.
300ms total for activating autoloads. Can possibly be improved by concatenating autoloads.
220ms for saving the build cache, even though we no longer pretty-print it. Can most likely be improved by either hardcoding the printing algorithm or implementing some kind of compression scheme.

Just ported to straight.el and wanted to chime in on this issue - my config lives on spinning rust, so the first time I open emacs after booting, it takes 50 (fifty, five zero) seconds of continuous disk io to spawn a window. Subsequent loads are snappy (sub-1s) because my config is relatively small, but that first invocation of find(1) appears to be staggeringly expensive.

@tummychow How many packages do you have?
(length (hash-table-keys straight--profile-cache))

I have 126, and my M-x emacs-init-time is 2.6 seconds. I'm surprised there's such a difference.

Here's my lockfile. Running that snippet of elisp shows 26 packages. This is Arch Linux, GNU findutils 4.6.0, emacs 25.3.1. The config lives on a WDC WD10SPCX-60K (5400rpm laptop-size spinning rust). Any debugging you'd like me to try?

@tummychow Try evaluating the following:
(benchmark 1 '(unwind-protect (straight--cache-package-modifications) (straight--uncache-package-modifications)))

That should give you just the time of the find(1) command, so we can tell if it's the disk or your configuration.
What I just noticed is that your init-file is loaded by org-tangle. This might mean that your configuration code is loaded after after-init-hook is run, which means you must load straight.el in a special way. I'm guessing that this is why it is so slow.
It might be a good idea to add a warning in the case that straight.el detects the loading of a large number of packages outside of a transaction block.

My init is in orgmode, but I tangle the file every time I save, not when emacs starts up. My init.el is exactly the contents of the org-src blocks.
That snippet executes in <0.1s, but the disk is already warmed up at this point. Similarly, if I kill-emacs and launch it again, the startup time is a much more reasonable 0.8s instead of 50+. Is there a way to test it on the very first load?

The easiest way would probably just be to edit straight--cache-package-modifications to print the find(1) command instead of running it. Then restart and run the command in your shell, and see how long it takes.

Bingo:
[~] $  time ./straightfind

real    0m49.936s
user    0m0.420s
sys     0m1.112s
[~] $  time ./straightfind

real    0m0.092s
user    0m0.076s
sys     0m0.016s

First run was immediately after booting, second run was immediately after that. Full contents of the find invocation here.

That's impressive. I had no idea how pronounced the difference was for a non-SSD. In any case, I think the only solution is https://github.com/raxod502/straight.el/issues/41.

IMHO package.el does none in comparison to straight.el. So, why bother about it?

@Compro-Prasad Because I would like to present straight.el as superior to package.el in all respects, not only some. Inertia is a powerful force in how people make decisions like which software to use, and I'd like to counteract it by not leaving people any reason at all except inertia.
More generally, straight.el should be faster than all other package managers, not just package.el.

@raxod502 What about using seq library instead of mapcar and similar functions?

Are you suggesting that this would improve performance? If so, why do you think so?

seq.el provides a higher-level, generic API for sequences, so it would be slower, not faster.

Hey, not sure if this is useful at all, but I'm moving to straight.el and I'm using esup to track where time is spent during my init, and the slowest part of my setup is the following:
bootstrap.el:83  1.405sec   61%
(straight-use-recipes '(melpa :type git :host github
:repo "melpa/melpa"
:no-build t))

I'm on macOS Mojave with a 3.1GHz i7, 16GB ram, and an SSD.

@OldhamMade If you're using the default modification checking, then you'll see a large amount of time spent on whatever straight-use-package call gets executed first, since that's when straight.el performs its bulk find(1) command to check for modifications to all known packages. Combining the commands makes performance profiling more difficult, but nevertheless improves the performance by several times.

Just ported to straight.el and run esup.
packaging.el:23  1.069sec   62%
(load-file (expand-file-name "straight.el" user-site-lisp-dir))

62% of time Emacs spent for loading straight.el. I have 119 package, and my M-x emacs-init-time is 2.48 seconds (with package.el is 1.2 second).

@sergeyklay Something seems fishy there. Loading straight.el itself should take hardly any time, especially on SSD, as it is under 6,000 lines of code and it does not do any actual package management during loading. For example, I benchmark a load time of 87ms. (This is actually long enough that I might consider splitting up straight.el to optimize startup, but it's nowhere near what you are suggesting.) But I am a little confused about the line of code you are pointing to. Why are you loading straight.el directly instead of doing it the standard way, which is by loading bootstrap.el? Or is straight.el in this case actually a file that you wrote, which includes a number of straight-use-package forms?
You should also check the value of straight-check-for-modifications and see if it is as you desire.

Actually sy straight.el file is:
;;; straight.el --- straight.el installer. -*- lexical-binding: t; -*-

;;; Commentary:

;; This library simply installs straight.el.
;; No further configuration is done.

;;; Code:

(unless (featurep 'straight)
  (defvar bootstrap-version)

  (let ((bootstrap-file (concat user-emacs-directory
                                "straight/repos/straight.el/bootstrap.el"))
        (bootstrap-version 5))
    (unless (file-exists-p bootstrap-file)
      (with-current-buffer
          (url-retrieve-synchronously
           "https://raw.githubusercontent.com/raxod502/straight.el/develop/install.el"
           'silent 'inhibit-cookies)
        (goto-char (point-max))
        (eval-print-last-sexp)))
    (load bootstrap-file nil 'nomessage)))

;; Local Variables:
;; flycheck-disabled-checkers: (emacs-lisp-checkdoc)
;; End:

;;; straight.el ends here

Counterpoint: I have 157 packages (most of them are lazy loaded) and emacs takes 0.35s to start with scratch buffer.
esup shows this code as most time consuming in straight.el:
bootstrap.el:81  0.011sec   5%
(straight-use-recipes '(org-elpa :local-repo nil))

I use emacs 27 and everything is on SSD.

@wedens How much does Emacs spend loading a bootstrap file?

@sergeyklay code you mentioned above takes 0.03sec (with already downloaded bootstrap.el)

@wedens What exactly do you mean saying "most of them are lazy loaded". Could you please provide some typical examples?

@sergeyklay I use use-package with (setq use-package-always-defer t) which defers loading packages until necessary (via autoloads, for example). For some (minority of) packages it's not enough and more tricks are required.
Another popular startup time optimization is to increase gc-cons-threshold and set file-name-handler-alist to nil early in config and reset them to default values in emacs-startup-hook.
You may want to try (or at least looks at its code) doom-emacs which uses straight.el and does a lot optimizations (including mentioned above) to achieve fast startup.
But all this is not really specific to straight.el.

Yes, you're right all of this is not really specific to straight.el (even though it is extremely interesting to me now). However, what I'm trying to understand is why straight.el so slow compared to package.el with almost the same Emacs configuration. Below are the changes I made to migrate to straight.el:

Removed all package.el related code, e.g. package-initialize, package-refresh-contents an so on
Added a bootstrap file called straight.el as I provided above

Replaced :ensure nil to :straight (:type built-in) for all wherever I used this for use-package
Added the following bootstrap code:

(setq-default straight-vc-git-default-clone-depth 1)
(load-file (expand-file-name "straight.el" user-site-lisp-dir))

;; Install use-package using straight.el
(straight-use-package 'use-package)

;; Use straight.el by default in use-package directives
(setq straight-use-package-by-default t)

that's all

@sergeyklay What emacs version do you use? emacs 27 starts noticeable faster.
You can try installing watchexec and (setq straight-check-for-modifications '(watch-files find-when-checking)). By default straight.el checks for packages modifications on startup using find and it can make things slower. Or maybe even set it to never to check whether modification checking is the problem or not.

emacs 27 starts noticeable faster.

Could straight.el profit from the new early-init.el files?

Not directly. You can improve Emacs startup by moving all graphical frame customizations into early-init.el, but this is orthogonal to straight.el. In my configuration, for simplicity I actually run all startup code from early-init.el, but this has the key disadvantage that startup messages are not displayed until startup is complete or an error is encountered.


diagnostics endpoint misconfigured

Type of issue

[x] Bug
[ ] New feature
[ ] Improvement

Description
Failed to get the secret {diagnosticsEndpointUrl} from the key vault.
Steps to reproduce

Basic Java deployment is throwing an error missing diagnostics endpoint.

Expected behavior
Correct configuration of diagnostics.

Submitted a fix for this to the keyvault_integration branch.


Cooperate with Bats language support

I adore this extension. Thanks so much for creating and maintaining it!
In #983, the answer for the extension linting Bats files is to set them as ShellScript.
I have another super-useful VSC extension for Bats files, jetmartin.bats.
That extension creates true Bats language support in VSC--it creates a new configured language called "Bats (Bash Automated Testing System)" associated with *.bats. It also has highlighting and some snippet support.
I think you can see the problem here... I cannot have my very useful Bats highlighting while also having my very useful Shellcheck linting on a Bats test at the same time.
I haven't tried the permanent solution mentioned in #983 because I think that sets all Bats files as ShellScript. So when I want to lint my Bats files, I disable jetmartin.bats, manually set the individual file as a ShellScript, then fix issues. I have 45 Bats files in this project so far, and it's barely an eighth completed.
Is there some way you can make the shellcheck extension work with Bats language support enabled? Thanks!

We expose an API for such purposes:
https://github.com/vscode-shellcheck/vscode-shellcheck/blob/master/doc%2FAPI.md
It should not be difficult to implement it in the bats extension. I suggest you give it a try yourself and perhaps send a PR to them if you like it.

I appreciate the quick response.
I'm a shell scripter, not a coder. Considering I'm still struggling after 6 months to create a VSC injection grammar for a single keyword for the inline shell function documentation tool I use, I'm going to leave the VSC extension coding to y'all for now. :smile:
I'll pass my request and link on to the Bats extension creator, though.
Thanks!


Fix error message in the generated invoke function

The error message wanted to print some file name and line number, but these values are not passed to invoke(). Additionally I propose to increase the passed and failed counters in invoke.

lgtm, thanks!


GH-1618: Remove Duplicate Parameter

Resolves https://github.com/spring-projects/spring-kafka/issues/1618
Incorrectly added the child container as a parameter for the ConsumerStoppedEvent.
The child container is already passed in as the source.
cherry-pick to 2.5.x

... and cherry-picked to 2.5.x


Realtime: Unable to build WebSocket connection through Tor proxy

Describe the bug
Unable to create a WebSocket connection to access Realtime on an .onion server.
To Reproduce

Have a working Tor serving Supabase.
Run this Dart script:

import 'dart:io';
import 'package:http/io_client.dart';
import 'package:supabase/supabase.dart';
import 'package:socks5_proxy/socks_client.dart';

void main(List<String> arguments) async {
  HttpClient httpClient = await connectTorProxy(9050);
  final supabase = SupabaseClient(
    'http://your_onion_address.onion',
    'your_anon_key',
    httpClient: IOClient(httpClient),
  );
  await listenToATable(supabase);
}
Future<HttpClient> connectTorProxy(int portNumber) async {
  final httpClient = HttpClient();
  SocksTCPClient.assignToHttpClient(httpClient, [
    ProxySettings(InternetAddress.loopbackIPv4, portNumber),
  ]);
  return httpClient;
}
Future<void> listenToATable(SupabaseClient supabase) async {
  final SupabaseQueryBuilder queryBuilder = supabase.from('countries'); // Assume we have SQL table `countries`.
  final SupabaseStreamFilterBuilder streamFilterBuilder = queryBuilder.stream(primaryKey: ['id']);
  streamFilterBuilder.listen((List<Map<String, dynamic>> resultSet) {
    print(supabase.realtime.isConnected);
    printResultSet(resultSet);
  });
}
void printResultSet(List<Map<String, dynamic>> resultSet, {bool hasRowSeparator = true}) {
  for (Map<String, dynamic> row in resultSet) {
    row.forEach((String columnName, dynamic columnValue) {
      print('$columnName: $columnValue');
    });
    if (hasRowSeparator) print('----------');
  }
}

Expected behavior
Whenever the SQL table countries in the server is changed, our Dart script shall receive an update, but because of the bug, it doesn't. There is no WebSocket connection between our client app and the .onion server providing Supabase.
Version (please complete the following information):
On Linux/macOS
├── supabase 2.1.2
│   ├── functions_client 2.1.0
│   ├── gotrue 2.6.1
│   ├── postgrest 2.1.1
│   ├── realtime_client 2.0.4
│   ├── storage_client 2.0.1

Additional context
According to Tor Project: FAQ | Tor onion services: How do I access onion services?, the client shan't lookup .onion address. Please note that the top-level domain is .onion. It will doom to fail to lookup .onion address, because .onion is only recognizable by Tor Network. The client shall simply pass the .onion address to Tor proxy without looking up the .onion address in advance.
When running the above code example that reproduces the bug, it will throw this exception:
SocketException (SocketException: Failed host lookup: 'your_onion_address.onion' (OS Error: Name or service not known, errno = -2))

The callstack of the DNS lookup that causes the exception is as follows:
_NativeSocket.staggeredLookup.<anonymous closure>.lookupAddresses (~/.local/packages/flutter/bin/cache/dart-sdk/lib/_internal/vm/bin/socket_patch.dart:633)
_NativeSocket.staggeredLookup.<anonymous closure> (~/.local/packages/flutter/bin/cache/dart-sdk/lib/_internal/vm/bin/socket_patch.dart:655)
_runGuarded (~/.local/packages/flutter/bin/cache/dart-sdk/lib/async/stream_controller.dart:823)
_StreamController._subscribe.<anonymous closure> (~/.local/packages/flutter/bin/cache/dart-sdk/lib/async/stream_controller.dart:702)
_BufferingStreamSubscription._guardCallback (~/.local/packages/flutter/bin/cache/dart-sdk/lib/async/stream_impl.dart:415)
_StreamController._subscribe (~/.local/packages/flutter/bin/cache/dart-sdk/lib/async/stream_controller.dart:701)
_ControllerStream._createSubscription (~/.local/packages/flutter/bin/cache/dart-sdk/lib/async/stream_controller.dart:836)
_StreamImpl.listen (~/.local/packages/flutter/bin/cache/dart-sdk/lib/async/stream_impl.dart:471)
_NativeSocket.tryConnectToResolvedAddresses (~/.local/packages/flutter/bin/cache/dart-sdk/lib/_internal/vm/bin/socket_patch.dart:966)
_NativeSocket.startConnect.<anonymous closure> (~/.local/packages/flutter/bin/cache/dart-sdk/lib/_internal/vm/bin/socket_patch.dart:740)
<asynchronous gap> (Unknown Source:0)
_RawSocket.startConnect.<anonymous closure> (~/.local/packages/flutter/bin/cache/dart-sdk/lib/_internal/vm/bin/socket_patch.dart:1915)
<asynchronous gap> (Unknown Source:0)
Socket._startConnect.<anonymous closure> (~/.local/packages/flutter/bin/cache/dart-sdk/lib/_internal/vm/bin/socket_patch.dart:2140)
<asynchronous gap> (Unknown Source:0)
_ConnectionTarget.connect.<anonymous closure> (~/.local/packages/flutter/bin/cache/dart-sdk/lib/_http/http_impl.dart:2490)
<asynchronous gap> (Unknown Source:0)
_HttpClient._openUrl.<anonymous closure> (~/.local/packages/flutter/bin/cache/dart-sdk/lib/_http/http_impl.dart:2787)
<asynchronous gap> (Unknown Source:0)
_WebSocketImpl.connect.<anonymous closure> (~/.local/packages/flutter/bin/cache/dart-sdk/lib/_http/websocket_impl.dart:1021)
<asynchronous gap> (Unknown Source:0)
_WebSocketImpl.connect.<anonymous closure> (~/.local/packages/flutter/bin/cache/dart-sdk/lib/_http/websocket_impl.dart:1048)
<asynchronous gap> (Unknown Source:0)
new IOWebSocketChannel.connect.<anonymous closure> (~/.pub-cache/hosted/pub.dev/web_socket_channel-2.4.5/lib/io.dart:90)
<asynchronous gap> (Unknown Source:0)

Defining HttpOverrides.createHttpClient and running all Supabase code in a HttpOverrides.runZoned can fix this.


Breaks on new ember-cli

Reproduced, got a little more descriptive error.

Thanks everyone!

Released 0.3.3


Chore/obsolete interval

c4b5ed8 Fix malformation of the bundle.js file - The build script was not executing properly, it caused a failure during the use of the lib.
dist/bundle.js
Before: line 4
(global = global || self, global[''alphavantage'']= factory(global.fetch));

package.json
"build": "rollup index.js --file dist/bundle.js --format umd --name 'alphavantage'"

I changed it to:
"build": "rollup index.js --file dist/bundle.js --format umd --name alphavantage"

So the bundle.js file...
(global = global || self, global.alphavantage = factory(global.fetch));

64c87a6 Closes: #82 Add basic types (index.d.ts) - It still not complete, but about this issue I started to create the index.d.ts file to people who are using typescript.

5663504 Closes: #80 Remove interval parameter for all except intraday - To finish I removed the parameter interval from all functions except intraday, see the issue

Coverage decreased (-76.8%) to 17.763% when pulling 5663504cdd8b64541afb63f219046f64307d6f18 on wejesuss:chore/obsolete-interval into 1aaed0e2e1eeea1a7c1d376993bc08cb0b79f124 on zackurben:master.

Thanks for the contribution! Give me a few days and I'll see if I can get this tested and merged with the others.

@wejesuss thanks for the contribution! This was just merged with https://github.com/zackurben/alphavantage/pull/86 and published as<EMAIL_ADDRESS>just now. My apologies for the delay.


feat!: use single DHT only by default

We have a weird dual-DHT setup whereby we have a DHT for public addresses (amino, /ipfs/kad/1.0.0) and a DHT for private addresess (/ipfs/lan/kad/1.0.0).
This is an artefact of the previous libp2p setup whereby there could only be a single DHT implementation at once.
Now we have services we can configure an amino DHT service and if desired an additional lan-only DHT, or the user can just use amino and not pay the overhead of running an extra DHT.
Most content is resolved via the public DHT so running the lan-only DHT gives the user no benefit.
BREAKING CHANGE: the kadDHT function returns a single DHT - see the readme for how to configure amino/lan as before
Change checklist

[x] I have performed a self-review of my own code
[x] I have made corresponding changes to the documentation if necessary (this includes comments as well)
[x] I have added tests that prove my fix is effective or that my feature works

👍

Going to merge this after https://github.com/libp2p/js-libp2p/pull/2319 because https://github.com/libp2p/js-libp2p/pull/2313 should allow us to do a breaking change to kad-dht without revving libp2p to v2


docs(dynamic-plugins): add frontend docs

Description
Documentation to https://github.com/janus-idp/backstage-showcase/pull/700
Which issue(s) does this PR fix
Part of https://github.com/janus-idp/backstage-showcase/issues/442
PR acceptance criteria
Please make sure that the following steps are complete:

[ ] GitHub Actions are completed and successful
[ ] Unit Tests are updated and passing
[ ] E2E Tests are updated and passing
[ ] Documentation is updated if necessary (requirement for new features)
[ ] Add a screenshot if the change is UX/UI related

How to test changes / Special notes to the reviewer

/test


[ModalWithTabs] Added localization

This PR closes #355 and closes #354.
It also includes a fix on localized HOC and restoring of stories for localized components (were broken).

:tada: This PR is included in version 9.2.2-beta.1 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 9.7.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


feat: send integration with telemetry data

Adds an integration property to telemetry payload which matches the URI scheme string of generate --to <uri>/import --from <uri> if any is present. Also fixed Clippy warnings in telemetry module and updated CONTRIBUTING.MD so contributors know how to see these warnings in future (cargo clippy ... --all-features).

Tested it out - LGTM. Could we add that we are collecting the integration name to the docs (docs/docs/other/telemetry.md)?


[3.0.8] regionClick event is not being fired

<EMAIL_ADDRESS><EMAIL_ADDRESS>regionClick event is not being fired :\
chartEvents = [
        {
            eventName: 'regionClick',
            callback(chartWrapper, googleViz, selected) {
                console.log('Region selected ', selected.region);
            }
        }
    ];

<Chart graph_id="geoChart"
                                   chartType="GeoChart"
                                   rows={this.mapData()}
                                   columns={this.geoColumns}
                                   options={this.geoOptions}
                                   chartEvents={this.chartEvents}
                                   mapsApiKey="xxxxxxxxx"
                                   width="400"
                                   height="230"
                                   legend_toggle />

No problems with "select" event type

Hy @rakannimer, first of all, great work! I cant bring the 'onmouseover' event to live tho, whats going on with that?
Regards, Falk

Hey @Falkyouall 😅 !
As explained here : https://developers.google.com/chart/interactive/docs/reference#chartwrapper-class
ChartWrapper wraps only a subset of the chart events. To get access to onmouseover events you'd have to listen to the ready event and then attach a listener to the chart.
Here's a sandbox with an example : https://codesandbox.io/s/ko29z78wq7
Hope that helps :)

hey @rakannimer I was wondering if regionClick is still broken? if so, how do I click on any country to show the selected country? or is it only possible with countries passed in to data?


Fix reason tag of traffic_ctl host

This should fix this issue: https://github.com/apache/trafficserver/issues/5256

Can you give it a test? @jrushford

Okay,  I’ll test it tomorrow and let you know.
Thanks
John
From: Xavier Chi<EMAIL_ADDRESS>Reply-To: apache/trafficserver<EMAIL_ADDRESS>Date: Thursday, April 11, 2019 at 1:10 PM
To: apache/trafficserver<EMAIL_ADDRESS>Cc: John Rushford<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [apache/trafficserver] Fix reason tag of traffic_ctl host (#5264)
Can you give it a test? @jrushfordhttps://github.com/jrushford
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://protect2.fireeye.com/url?k=e5e1994965746b08.e5e1befd-ec6e56b58866a099&u=https://github.com/apache/trafficserver/pull/5264#issuecomment-482263353, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AEVybvcv2Y1bTla9GFQB6hNxds1532Ojks5vf4iQgaJpZM4cqqNc.

Thanks @chitianhao his fixed it, The PR is merged and I closed the issue.

Remember to mark the PRs for the appropriate project. In this case, since we are backporting so much of this to the 8.x branch, this also needs to go to 8.x

@zwoop, thanks for the reminder.


Adding slack package for basic info/critical messaging

Why does this need to be in moov-io/base?

Codecov Report

Merging #213 (8554748) into master (466b8b8) will increase coverage by 0.16%.
The diff coverage is 94.87%.

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

@@            Coverage Diff             @@
##           master     #213      +/-   ##
==========================================
+ Coverage   81.03%   81.20%   +0.16%
==========================================
  Files          29       29
  Lines        1028     1000      -28
==========================================
- Hits          833      812      -21
- Misses        133      136       +3
+ Partials       62       52      -10

Impacted Files
Coverage Δ

slack/service_slack.go
94.87% <94.87%> (ø)

database/migrator.go
50.00% <0.00%> (-12.00%)
:arrow_down:

database/database.go
33.33% <0.00%> (-7.15%)
:arrow_down:

database/sqlite_cgo.go

Continue to review full report at Codecov.

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

Hey @adamdecaf, me and @darwinz noticed we were duplicating slack messaging implementations in a couple of our services. We thought we could probably move the shared logic in the base package. What are your thoughts?

I've been trying to keep moov-io/base pretty minimal and contain packages which all Moov projects use. If we wanted to make a more specific package we could follow the route of https://github.com/moov-io/go-sftp.
That said this package looks to be one file and ~2 constants so I think copying the code makes more sense than a shared package.

Thanks for your input @adamdecaf. That makes sense to me; I'm cool w/ copypasta for now until we see more projects needing it, since it's only a couple of projects atm 👍🏼


Add example Todo-App repo link

While @markerikson is a legend and the repo he converted rsk-convert-todos-example is rather helpful it doesn't make use of the latest React syntax with hooks and isn't help with Typescript. Hopefully this very simple example can help people overcome any friction in implementing rsk into projects using hooks. 😊

Thanks!
You may be happy to know that I've already got an example app at https://github.com/markerikson/rsk-github-issues-experiment that shows use of thunks, TS, and React-Redux hooks, and I'm currently working on writing an "Advanced" tutorial based on the contents of that repo.  Hoping to have it up over the next few days.


Add note filters documentation

Summary
This PR adds the documentation of note filters which is introduced in #1936
Impact
Testing

@v01d @xiaoxiang781216 I have added the document for note filters.
This is an introduction of only filter device. The application command introduction will be added in https://github.com/apache/incubator-nuttx-apps/pull/421 as README.md

The docs look fine, albeit there should also be some explanation inside the first section of what the note driver does. Keep in mind that not everyone (as me) is aware of what it does and how it works.
I was looking forward to have the docs you linked here: https://github.com/YuuichiNakamura/nuttx-task-tracer-doc
with all those nice figures and explanations.

The docs look fine, albeit there should also be some explanation inside the first section of what the note driver does. Keep in mind that not everyone (as me) is aware of what it does and how it works.
I was looking forward to have the docs you linked here: https://github.com/YuuichiNakamura/nuttx-task-tracer-doc
with all those nice figures and explanations.

Ok. I'll add an explanation of note driver on the top of note.rst.
Regarding the another part of my document, how about adding them to Documentation/guides ? It seems a preferable place for the introduction.
And, should I leave a instruction of "trace" command line options in apps/system/trace/README.md ? I couldn't find a preferable place to explain the built-in command line options in Documentation/. Or should I move it into Documentation/guides with other instructions (Installation, Quick start guide, ... etc)

The docs look fine, albeit there should also be some explanation inside the first section of what the note driver does. Keep in mind that not everyone (as me) is aware of what it does and how it works.
I was looking forward to have the docs you linked here: https://github.com/YuuichiNakamura/nuttx-task-tracer-doc
with all those nice figures and explanations.

Ok. I'll add an explanation of note driver on the top of note.rst.
Regarding the another part of my document, how about adding them to Documentation/guides ? It seems a preferable place for the introduction.

I'd always prefer to complete the reference sections before adding stuff to the guides. But if you prefer to have it there, go ahead.
The main image could be added to the doc page of this PR in any case.

And, should I leave a instruction of "trace" command line options in apps/system/trace/README.md ? I couldn't find a preferable place to explain the built-in command line options in Documentation/. Or should I move it into Documentation/guides with other instructions (Installation, Quick start guide, ... etc)

Builtin commands are described here: https://nuttx.apache.org/docs/latest/components/nsh/commands.html
This section is fairly large and eventually should be split for readability.
Remember that you can use the search to find where things are documented.

@v01d I have updated the commit to incorporate all contents in  https://github.com/YuuichiNakamura/nuttx-task-tracer-doc
Currently apps/system/trace/README.md has the same contents to tasktraceuser.rst.
To reduce the maintenance cost, I'll fix the former to the reference to rst version later.


Ajout de EcamLaSalle

Ajout de EcamLaSalle

@LaurentSGL I am sorry, the domain ecam.fr is removed from our trusted domains list because it was abused in the past. If you are the student of this school, please enroll to GitHub Student Developer Program. Then apply for JetBrains educational subscription with your GitHub account (GitHub tab at https://www.jetbrains.com/shop/eform/students).


Performance test

Before submitting a pull request, please read
https://github.com/bancolombia/scaffold-clean-architecture/wiki/Contributing
Description

Category

[x] Feature
[ ] Fix

Checklist

[x] The pull request is complete according to the guide of contributing
[ ] Automated tests are written
[x] The documentation is up-to-date
[x] The pull request has a descriptive title that describes what has changed, and provides enough context for the changelog
[ ] If the pull request has changed structural files, you have implemented an UpgradeAction according to the guide

@maocq  please add abstract in the PR

src/main/resources/test/performance-test/jmeter/Jmeter/Api/DataSet/DT_Ejemplo.csv.mustache
src/main/resources/test/performance-test/jmeter/Jmeter/Api/DataSet/DT_Ejemplo.txt.mustache
why this files are empty?

please add functional tests


Cannot browse subset of problematic resources easily

When I browser resources, I would like for instance to see only files that are  "NOT in a package" and with NOT the status  "ignored-not-interesting". And I cannot exclude with filters.

You can now use the advanced search syntax:
https://scancodeio.readthedocs.io/en/latest/user-interface.html#search-syntax

Use the Not in a package filter from the table header
Use the "Negate" syntax to exclude the status with -status=:ignored-empty-file in the search bar

You can also exclude all the "ignored" statuses with -status:ignored.


test(dtslint): add timeInterval

Description:
This PR adds dtslint tests for timeInterval.
Related issue (if exists): #4093

Pull Request Test Coverage Report for Build 7704

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

Totals

Change from base Build 7698:
0.0%

Covered Lines:
5786

Relevant Lines:
5967

💛  - Coveralls


Documentation Problems

Just started working with this. Was following the documentation and ran into some problems with the documentation.

The graphics path, one is updated to the north/south format the other still says front/back.
I tried to get a minimal config to load in game and ran into a problem. It was getting a null reference exception trying to generate the meat defs. Adding a snippet that I stole from ElderThings fixed it. I'm not sure if they are both required:

<race>
      <meatLabel>secretrace meat</meatLabel>
      <meatMarketValue>0.8</meatMarketValue>
</race>

Should it not have a default?
ONE of the three mods in the list in the steam listing is actually updated to the new version (Elder things) so it's a good example.

the race tag is the one that is important for the meat generator. The others.. not so much.
The race tag is not part of the framework, but of vanilla and is therefore not following the more user friendly rules of the framework you assumed. I suggest copying the human race tag, since that is what you probably want.


Use fixed vagrant-wrapper, kitchen-ec2 and test-kitchen gems

@tball this incorporates kitchen-ec2 and test-kitchen master branch, as well as an as-yet-merged-or-released change to vagrant-wrapper that fixes kitchen-tests on OS/X.

Whats the need for TK master?

@coderanger https://github.com/test-kitchen/test-kitchen/commit/171812f9c67561fe5cb21c52fb7a1156cba3bd82
I can't run the tests on OS/X without it.

@jkeiser the TK changes got released as 1.4.2, so you can depend on that instead of master

Hrm, actually, if that's the case, I think I'll just have this whole thing wait until vagrant-wrapper is released. test-kitchen was the more important dep for stability's sake.


fix(v-show): v-show takes higher priority than style attribute

Fix: #2757
This PR is also re-fixed https://github.com/vuejs/vue-next/issues/2583, even though this commit can fix issue https://github.com/vuejs/vue-next/issues/2583, but it causes issue https://github.com/vuejs/vue-next/issues/2757.

Another way to deal with the problem is that we parse the string type style into an object, but I think this has two shortcomings:

This eats up performance
The original intention has been changed, using cssText is still the correct way.


feat: add labels to apply pre-translation

Closes #102

Codecov Report

Merging #118 (10d194b) into main (d142570) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #118      +/-   ##
==========================================
+ Coverage   99.18%   99.18%   +0.01%
==========================================
  Files         141      141
  Lines        4861     4865       +4
  Branches      112      114       +2
==========================================
+ Hits         4821     4825       +4
  Misses         28       28
  Partials       12       12

Files
Coverage Δ

crowdin_api/api_resources/translations/resource.py
97.73% <100.00%> (+0.23%)
:arrow_up:

.../translations/tests/test_translations_resources.py
100.00% <ø> (ø)


CIV-6704 maciej test

Before creating a pull request make sure that:

[ ] commit messages are meaningful and follow good commit message guidelines
[ ] README and other documentation has been updated / added (if needed)
[ ] tests have been updated / new tests has been added (if needed)

Please remove this line and everything above and fill the following sections:
JIRA link (if applicable)
https://tools.hmcts.net/jira/browse/CIV-6704
Change description
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[ ] No

It was test PR - close it right now.


fix typo/punctuation in MockFunctionAPI.md

Summary
Small fix typo and comma errors in website documentation jest.fn(implementation?) section in MockFunctionAPI.md.
Test plan
No testing needed:
Simple 'there' -> 'where' typo fix.
No comma after 'if' when it begins a subordinate clause that follows the main clause.

CLA signed. Should be ready for merging. Thanks.

@mrazauskas Thanks for your review, Tom! I've updated the pull request with commits for MockFunctionAPI.md in docs and website/versioned_docs/version-28.0. Much appreciated.

@SimenB Friendly ping (;
This is ready to land. The text with typos was introduced from v28. So all applicable versioned docs are fixed.

@SimenB Friendly ping (;
This is ready to land. The text with typos was introduced from v28. So all applicable versioned docs are fixed.


spirv-fuzz: Account for different signedness of integer operands in WrapVectorySynonym transformation and fuzzer pass

If %a is a signed integer and %b an unsigned integer then we can have a scalar instruction like:
%c = OpIAdd %signed_int %a %b

We can even do:
%c = OpIAdd %unsigned_int %a %a

That is, get an unsigned result from adding two signed operands.
The fuzzer pass and transformation that wraps vector synonyms should respect the signedness of the scalar instruction's operands and result. At the moment it assumes homogeneous sign.

@sliu-UIUC and @Vasniktel for info. I found this pretty interesting - I'll put up a PR which fixes it shortly.

Didnt we have all components checked that they should have the same type as specified by type_id? If either a and b has incompatible types the transformation would be inapplicable.


Looks good , But I am not able to find the section which is  needed for creating support ticket.

Can you point me to the right section, So i can create a ticket for update management issue in azure.
I cannot see it not matter what and in an section.

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

ID: 43a60f94-0826-8cdf-04b3-c5f20d299720
Version Independent ID: 7d1dcfe7-4e68-6b98-1003-9154e7a0b22d
Content: How to create an Azure support request
Content Source: articles/azure-supportability/how-to-create-azure-support-request.md
Service: azure-supportability
GitHub Login: @ganganarayanan
Microsoft Alias: gangan

@akramwaseem here is the official content on How to submit a support ticket.

Closing this issue for now. If there are further questions regarding this matter, please reply and we will gladly continue the discussion.


Use workspace = true for some dependencies

Why are only some workspace = true, but not others? (I honestly don't know why we sometimes decide in favor and sometimes against inheriting the versions from the overall workspace.)

Hm, good question. I think we don't add dependencies as workspace dependencies if they are a dev dependency only. And in the case of uucore if the dependency is only used there.


Update jackson version to the latest stable

This is a fix for the issue #2940

This can be closed as it is fixed with #3091


[SERIOUS] Menu opens a transparent list !!

On mobile devices Tapping on menu opens a transparent list of links leaving it impossible to navigate to the other pages.
A complete mess !!

fixed at PR #957 link is here

Patched!


Add Typemap to TrackState

I think it would be useful to allow users of the library to store data alongside the handle in a TrackQueue, such as storing the metadata of the song, to allow for easier retrieval, instead of having to manage 2 queues at once.

It might actually be better to store a data field in TrackState, as I assume thats what it was designed to do

I had considered placing a TypeMap onto each Driver (and the track queue into that) as a more general way of offering extra per-driver state, but I think this needs some development to be feasible (i.e., some way to specify a closure to add default entries and so on).
I wouldn't say that TrackState is the right place for this. That is intended solely for state which the driver will regularly change. I think it'd be reasonable to use the new uuids to store and access metadata via a hashmap. This is a little heavyweight right now. given you'll need to use track end events to clear it out, but I think it might be useful to store Arc<Metadata> in Inputs and spawned handles down the line to make this easier.
Similarly, TrackQueue is meant to be pretty simple; more as a proof-of-concept to show how users can build their own complexity on the event system. I'm wary of dumping too much resource into it for now.

I would be ok with having a store for the metadata instead of a full blown typemap as I think storing metadata along with tracks will be a very common use case

After thinking about it, instead of using a TypeMap, it might be better to only allow inserting of one user-defined struct into the trackhandle

Closed by d42e09f.

Closed by d42e09f.


split into 3 different Stripe Samples

Nothing is re-used, having all the code in here is more confusing than helpful.

How is this completed? I find already that the cli install is missing files from the git project and the paths are also based on that. For example, seed.json isn't added on the CLI install.
stripe samples create subscription-use-cases
there is no seed.json
The path in package.json is
"scripts": {
    "start": "node server/node/server.js",  but should be "server/server.js" (as that is what the CLI creates)
    "test": "echo \"Error: no test specified\" && exit 1"
  },

This makes me wonder if anyone is using these scripts without major changes or just to get some hints on API usage, which frankly seems more clear in the API docs.  I think part of the problem is related to too many things being bundled in one place, it gets confusing for everyone. But it these issues could be still resolved and you could stay on this path as well.
When I do run npm start I get this

Which I expect is another path issue.
Will keep trying and post a new full report case, but just wondering if there is any air in this project in general.


Outline around active items should be configurable

right now there is this blue outline around all active inputs. I spoke with apps team and they would like to have the possibility to set a type of outline and color of it by variables separately for buttons and inputs.

Issue moved to Starcounter/uniform.css #151 via ZenHub


Activity Selection in python

Have you read the Contributing Guidelines on Pull Requests?
Yes
Description
I have added the solution code for activity selection in python
Checklist

[x] I've read the contribution guidelines.
[x] I've checked the issue list before deciding what to submit.
[x] I've edited the README.md and link to my code.

Related Issues or Pull Requests
Issue #5114

@reviewers, I am facing an issue in deepsource python since it's showing errors of others code too.  So please help out.

changes are done.

oops, sry for that capital thing, done now :) @ankitaggarwal23


Reduce lodash use

Is your feature request related to a problem? Please describe.
Lodash is quite an heavy package and having to provide the full package for dynamo-easy to work is not ideal (especially in a AWS Lambda env).
Describe the solution you'd like
Remove all lodash calls
Describe alternatives you've considered
Use only lodash.x packages and never the full lodash package.

I am totally with you on that one. We don't use lodash anymore for internal projects because of the overhead and bad tree-shaking capabilities. (though i am more concerned about browser deliverables compared to lambda, where it's less critical).
This is a full list of used lodash methods and possible replacements:

kebabCase (https://anguscroll.com/just/just-kebab-case)
curry (https://anguscroll.com/just/just-curry-it)
isPlainObject ({}.toString.call(value) === '[object Object]')
has (only used in .spec, either write a helper function copied from lodash or rewrite assertions with just-safe-get)
isEmpty (Object.keys({a:'a',b:'a'} || {}).length)
isString (use native typeof value === 'string')
isNumber (use native typeof value === 'number')

I like this util library a lot -> https://github.com/angus-c/just/. The only bad thing is that we need to fallback to the definitelyTyped repo for typings, and there are still most of the typings missing for this library.

:tada: This issue has been resolved in version 5.6.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


EEF properties editors are missing

Since 0.0.3, EEF properties editors are missing ... plugin.xml file of editor plugin seems to have been recovered to an older version ...

Done!


Reject an invalid date, like February 31

This will reject an invalid date instead of crashing.
I figured this was the best way to handle this. Let me know what you think. Cheers!

https://github.com/apotonick/reform/pull/289

Thanks @tevanoff and sorry for not responding!


Replace 'random' with 'posts' in the menubar

I've tested this in several stylesheets. First adding an item broke some stylesheets, but replacing it does not.

Thank you for PR, however, we've gone in a slightly different direction with this, allowing users to customize the links in the header to fit their wants, done in f2984b642b13dc49c729472271e2c6aab754cfae. Now you can choose to have posts or random album or logchecker or whatever you would like!


[Backport 2.9] Improved display of log types.

Description
Manual backport of PR https://github.com/opensearch-project/security-analytics-dashboards-plugin/pull/753
Issues Resolved
[List any issues this PR will resolve]
Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

signoff missing


MultiBoxDetection cannot pass consistency check

I am trying to add a unit test for MultiBoxDetection to check the consistency between cpu and gpu. But it cannot pass on my machine (skylake + p100) with latest master branch.
code:
def test_multibox_detection():
    ctx_list = [{'ctx': mx.cpu(0),
                 'detection_cls_prob': (1, 21, 6132),
                 'detection_loc_pred': (1, 24528),
                 'detection_anchor': (1, 6132, 4),
                 'type_dict': {'detection_cls_prob': np.float32,
                               'detection_loc_pred': np.float32,
                               'detection_anchor': np.float32}},
                {'ctx': mx.gpu(0),
                 'detection_cls_prob': (1, 21, 6132),
                 'detection_loc_pred': (1, 24528),
                 'detection_anchor': (1, 6132, 4),
                 'type_dict': {'detection_cls_prob': np.float32,
                               'detection_loc_pred': np.float32,
                               'detection_anchor': np.float32}},]
    sym = mx.symbol.contrib.MultiBoxDetection(name='detection', nms_threshold=0.5, force_suppress=False,
                                              variances=(0.1, 0.1, 0.1, 0.1), nms_topk=400)
    check_consistency(sym, ctx_list)

output:
======================================================================
FAIL: test_operator_gpu.test_multibox_detection
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/home/lvtao/Workspace/mxnet-official/tests/python/gpu/../unittest/common.py", line 157, in test_new
    orig_test(*args, **kwargs)
  File "/home/lvtao/Workspace/mxnet-official/tests/python/gpu/test_operator_gpu.py", line 1801, in test_multibox_detection
    check_consistency(sym, ctx_list)
  File "/home/lvtao/Workspace/mxnet-official/python/mxnet/test_utils.py", line 1319, in check_consistency
    raise e
AssertionError:
Items are not equal:
Error 1232.413086 exceeds tolerance rtol=0.001000, atol=0.001000.  Location of maximum error:(0, 1619, 1), a=2.172774, b=0.421231
 a: array([[[ 18.        ,   4.28585577,   0.        ,   0.        ,
           0.6093576 ,   0.        ],
        [  8.        ,   4.2417717 ,   1.        ,   0.71296334,...
 b: array([[[ 18.        ,   4.28585577,   0.        ,   0.        ,
           0.6093576 ,   0.        ],
        [  8.        ,   4.2417717 ,   1.        ,   0.7129634 ,...
-------------------- >> begin captured stdout << ---------------------
Predict Err: ctx 1 vs ctx 0 at detection_output

Input shape and parameters are all from ssd example.
@zhreshold I notice that MultiBoxDetection was first committed by you. So may I have your suggestion about this?

@zhreshold  Still can't pass the test with nms_threshold=0.

There is an atomicAdd in the cuda implementation of MultiBoxDetection. It will generate unstable results which are not reproducible. So I cannot check the consistency between cpu and gpu computation. I am not sure if it's as expectation. But I think you should be aware of this. @zhreshold @piiswrong

I tried to add consistentcy test for Proposal Operator but it failed.
https://github.com/apache/incubator-mxnet/pull/9939
I think the reason is that there are two anchors whose overlap is close to the threshold. The precision between CPU and GPU causes the problem.

@nswamy @sandeep-krishnamurthy Please label this - "Operator", "Test"


[BUG] ganesha in the share-manager pod requires on IPv6 on the host

There are some users that disable IPv6 on their nodes via kernel flags (sysctl -w net.ipv6.conf.all.disable_ipv6=1). When users try to create an RWX volume genesha in the share-manager pod fails with this error:
level=error msg=“nfs server exited with error” error=“ganesha.nfsd failed with error: exit status 2, output: VFS module failed to unregister”

Just an additional note, this is only a problem when ipv6 is disable via the bootloader.
GRUB_CMDLINE_LINUX_DEFAULT="ipv6.disable=1"
Dynamically disabling it via sysctl will allow for the system to operate correctly.

Just an additional note, this is only a problem when ipv6 is disable via the bootloader.
GRUB_CMDLINE_LINUX_DEFAULT="ipv6.disable=1"
Dynamically disabling it via sysctl will allow for the system to operate correctly.

Seem it is required to have host ipv6 enabled because the nfs-ganesha used in share-manager automatically binds to tcp6 socket unless on FreeBSD.
When ipv6 is disabled using sysctl, the change does not pass through to Kubernetes pods hence share-manager manages to survives.
# Execute in pod:

/ # cat /sys/module/ipv6/parameters/disable
0

/ # sysctl -a 2>/dev/null | grep disable_ipv
net.ipv6.conf.all.disable_ipv6 = 0
net.ipv6.conf.default.disable_ipv6 = 0
net.ipv6.conf.eth0.disable_ipv6 = 0
net.ipv6.conf.lo.disable_ipv6 = 0

/ # ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet <IP_ADDRESS>/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
3: eth0@if34: <BROADCAST,MULTICAST,UP,LOWER_UP,M-DOWN> mtu 1450 qdisc noqueue
    link/ether b2:df:ab:8d:aa:3d brd ff:ff:ff:ff:ff:ff
    inet <IP_ADDRESS>/24 brd <IP_ADDRESS> scope global eth0
       valid_lft forever preferred_lft forever
    inet6 fe80::b0df:abff:fe8d:aa3d/64 scope link
       valid_lft forever preferred_lft forever

And when using kernel boot entries, the changes take effects, and ganesha exits due to unable to find to tcp6 socket and crashes share-manager.
# Execute in pod:

/ # cat /sys/module/ipv6/parameters/disable
1
/ # sysctl -a 2>/dev/null | grep disable_ipv
/ #

@joshimoo correct me if I'm wrong, but this seems like a no fix, and we should add to requirement in doc.

@c3y1huang good analysis, generally it would be okay for us to force ganesha to use ipv4 only, since we currently don't support ipv6 only clusters.
I think one can force ganesha to use IP4 only but I cannot find the documentation for the flag might be miss remembering. We can forcefully disable ipv6 in the source code since we are building from source, Besides that I think there is a bug in the ganesha code around this checking, (i.e. udp disabled, tcp will fatal out) I will submit a pr for this to the ganesha upstream.
There is also a newer ganesha version 3.5 released we are on 3.3 so that's a good time to update the version.
I will have a look at this tomorrow and create a build with a forced ip4 mind testing that build for me?

@c3y1huang good analysis, generally it would be okay for us to force ganesha to use ipv4 only, since we currently don't support ipv6 only clusters.
I think one can force ganesha to use IP4 only but I cannot find the documentation for the flag might be miss remembering. We can forcefully disable ipv6 in the source code since we are building from source, Besides that I think there is a bug in the ganesha code around this checking, (i.e. udp disabled, tcp will fatal out) I will submit a pr for this to the ganesha upstream.
There is also a newer ganesha version 3.5 released we are on 3.3 so that's a good time to update the version.
I will have a look at this tomorrow and create a build with a forced ip4 mind testing that build for me?

Thanks @joshimoo , as discussed, we will try to either enforce disable ipv6 in the source code or apply your pr patch to adopt tcp ipv4 fallback. The full regression seems to be dependent on https://github.com/longhorn/longhorn/issues/2111, I will take a look at it first.

The new share-manager image longhornio/longhorn-share-manager:v1_20210302  has been released
The build pipeline pushes the new images to dockerhub, link here: https://hub.docker.com/r/longhornio/longhorn-share-manager/tags
@c3y1huang After testing the updated image, you can submit pr's to:
longhorn - to update the chart. Example here: https://github.com/longhorn/longhorn/pull/2173/files
longhorn-manager - to update the deployment yamls. Example here: https://github.com/longhorn/longhorn-manager/pull/816/files

Test v1_20210302
root@ubuntu-Standard-PC-Q35-ICH9-2009:~# kubectl -n longhorn-system get pod | grep share
# Verify share-manager created and running
share-manager-pvc-fa894600-7c7c-4832-a9d0-71accb75685b   1/1     Running   0          8m8s

# Verify IPv6 disabled
root@ubuntu-Standard-PC-Q35-ICH9-2009:~# kubectl -n longhorn-system exec -it share-manager-pvc-fa894600-7c7c-4832-a9d0-71accb75685b -- cat /sys/module/ipv6/parameters/disable
1

# Verify volume created
root@ubuntu-Standard-PC-Q35-ICH9-2009:~# kubectl -n longhorn-system get volume
NAME                                       STATE      ROBUSTNESS   SCHEDULED   SIZE         NODE                               AGE
pvc-fa894600-7c7c-4832-a9d0-71accb75685b   attached   degraded     False<PHONE_NUMBER>   ubuntu-standard-pc-q35-ich9-2009   9m25s

# Verify deployment pod created and running
root@ubuntu-Standard-PC-Q35-ICH9-2009:~# kubectl get pod | grep my-deploy
NAME                             READY   STATUS    RESTARTS   AGE
my-deployment-569f7d5c9c-xgss4   1/1     Running   0          6m36s

# PVC directory created
root@ubuntu-Standard-PC-Q35-ICH9-2009:~# kubectl -n longhorn-system exec -it share-manager-pvc-fa894600-7c7c-4832-a9d0-71accb75685b -- ls /export
pvc-fa894600-7c7c-4832-a9d0-71accb75685b

# Verify data input
root@ubuntu-Standard-PC-Q35-ICH9-2009:~# kubectl exec -it pod/my-deployment-569f7d5c9c-xgss4 -- sh -c "echo world > /data/hello"
root@ubuntu-Standard-PC-Q35-ICH9-2009:~# kubectl -n longhorn-system exec -it share-manager-pvc-fa894600-7c7c-4832-a9d0-71accb75685b -- cat /export/pvc-fa894600-7c7c-4832-a9d0-71accb75685b/hello
world

Verified with Longhorn-master 03/25/2021
Validation - Pass
The share-manager pod for rwx volume is coming up healthy successfully. Validated basic scenarios of RWX volumes.


Use C-ENTER for uploading

Description
Many sites and instant message systems accept C-ENTER as a shortcut to accept a dialog or sent the message. I'm so used to this (I use it daily at work's IM system) that I keep using it it in the Upload to OSM dialog after writing the description.
Screenshots
No response

Previously: #4234.

Closinsg as dup.


[Feature]: @puppeteer/ng-schematics:builder should support setting tsconfig.json, using path aliases, replacing environment.ts and not starting the dev-server

Feature description

Right now the path to the tsconfig.json is hard-coded to e2e/tsconfig.json and cannot be set via "options": { "tsconfig": "path/to/tsconfig.json" } which forces you to use the same folder structure and the same filename (I personally would prefer to rename the config to tsconfig.e2e.json).

TS path aliases are not replaced right now, so you cannot use an import like import { environment } from<EMAIL_ADDRESS>

Replacing the environment.ts file isn't working, nothing is replaced. This makes it awkward to use ng e2e locally and in a CI environment. Normally you'd call something like npm run e2e:ci in your pipeline which would run ng e2e --configuration ci and locally you'd simply run npm run e2e/ng e2e.

It's impossible to run ng e2e in a CI environment without also pointlessly starting the dev-server.

@pfeileon Could you elaborate on the last point

It's impossible to run ng e2e in a CI environment without also pointlessly starting the dev-server.

What's your use case and why do you deem the starting of the server "pointless"?

@pfeileon Could you elaborate on the last point

It's impossible to run ng e2e in a CI environment without also pointlessly starting the dev-server.

What's your use case and why do you deem the starting of the server "pointless"?

Running the e2e tests locally, it's convenient to simply use the dev-server, of course. But when running the tests in a CI environment they should be running against real instances of the app which is why replacing the environment.ts-file is in this feature request as, well.


[Bug report] UI: Reboot Gravitino server and refresh web page will get 404

Describe what's wrong

Error message and/or stacktrace
Please see above
How to reproduce

Create a metalake and a catalog
Go to the catalog detail page.
Restart Gravitino server
Refresh the web page.

Additional context
No response

Dup of #1467.
The reason is that the jetty server does not handle other .html files except for index.html.

resolved by #1587.


Callback function stops executing after a few instructions, no error message is displayed

Hi!
I've been chasing this problem for a while so I thought I'll post it here.
I'm working on a location-tracker app that will record the user's position in the background, and do a couple of things:

save the location locally (in shared preferences, or to a file) so it can be used later in the foreground
when online, send the location to the backend

I'm running into a weird problem while developing this app. The callback function starts running, executes a couple of instructions, and then randomly halts without any error message.
The weird thing is, I've tried running the debugger to see if there are any uncaught exceptions, and with the debugger attached, the entire callback function is executed just fine! No errors. It does what it should.
But once I detach the debugger and just simply use flutter run, execution stops about halfway through the callback.
I'm not doing anything resource-intensive, there are a couple of read/write operations and a call to a REST API, but the entire thing shouldn't take more than 50-100ms, and most of this is asynchronous waiting.
Since it is not consistent, my only thought is that there may be a time limit, maybe only a couple of milliseconds allowed for the callback. Is this scenario possible? If it is, how could I execute more complex operations, like caching and/or sending the locations over HTTP?
An oversimplified version of my code looks kinda like this:
@pragma('vm:entry-point')
Future<void> backgroundCallback() async {
  BackgroundLocationTrackerManager.handleBackgroundUpdated((BackgroundLocationUpdateData data) async {

    final user = await readAuth(); // read the authenticated user's data from storage

    if (user.authenticated) {
        final locations = await readStoredLocations();
        locations.add(data);
        await saveLocations(locations);

       try {
            await sendLocationToBackend(user.token, data);
       } catch (e) {
            debugPrint('**** background_location_tracker error while sending data: $e');
       }
    }
  );
}

Maybe it is happening because of all the async operations? Maybe I'm not properly awaiting execution somewhere?

Android or iOS?

Forgot to include details!
Yes, I'm running on Android with the following dependency versions:
Flutter 3.7
Dart 2.19.0
background_location_tracker: ^1.4.0

Yeah this is something we see on android devices not directly from Google. We request the correct flags to keep things running in background, but the OEMs decide they won't follow the rules. (looking at you oneplus for not allowing the clock app to run in the background and thus causing me to miss alarms).
Can you try to exclude the app from battery optimisations? That seems to work for us


Asks for CMakeLists.txt but build failed with -2

Brief Issue Summary
In a workspace similar to what is described in the issue Multiple CMakeLists.txt without Requiring a Multi-Root Workspace & no cmake.sourceDirectory is not configured, when user tries to camke.configure, cmake-tools asks for CmakeLists.txt but when tries to build, nothing happening. If I close and reopen the same workspace, the build is happening!

CMake Tools Diagnostics
{
  "os": "linux",
  "vscodeVersion": "1.85.2",
  "cmtVersion": "2.13.0",
  "configurations": [
    {
      "folder": "/home/vinod/vsc_wsl_root_test",
      "cmakeVersion": "3.27.1",
      "configured": false,
      "generator": "Unix Makefiles",
      "usesPresets": false,
      "compilers": {}
    }
  ],
  "cpptoolsIntegration": {
    "isReady": false,
    "hasCodeModel": false,
    "activeBuildType": "",
    "buildTypesSeen": [],
    "requests": [],
    "responses": [],
    "partialMatches": [],
    "targetCount": 0,
    "executablesCount": 0,
    "librariesCount": 0,
    "targets": []
  },
  "settings": [
    {
      "communicationMode": "automatic",
      "useCMakePresets": "auto",
      "configureOnOpen": false
    }
  ]
}

Debug Log
[main] Building folder: vsc_wsl_root_test
[expand] expanding /home/vinod/.ashling/23.4.2/build_tools/cmake/bin/cmake
[main] Saving open files before configure/build
[expand] expanding /home/vinod/.ashling/23.4.2/build_tools/cmake/bin/cmake
[expand] expanding /home/vinod/.ashling/23.4.2/build_tools/cmake/bin/cmake
[main] Configuring project: vsc_wsl_root_test
[main] Saving open files before configure/build
[expand] expanding /home/vinod/vsc_wsl_root_test
[expand] expanding ${sourceDirectory}/build
[driver] Start configure
[driver] Running pre-configure checks and steps
[driver] Not configuring: There is no /home/vinod/vsc_wsl_root_test/CMakeLists.txt
[expand] expanding ${workspaceFolder}/helloworld-cmake
[expand] expanding /home/vinod/.ashling/23.4.2/build_tools/cmake/bin/cmake
[extension] [5737] cmake.build finished (returned -2)

Additional Information
No response

@vinodappu Thanks for posting this! This is definitely a bug we'd want to fix, I've placed it into the On Deck category, which is where we pull bugs from when picking bugs to solve for the next release.
Thanks!

In cmakeDriver.ts, this line seems the issue. We resolve everything but returning false.

@vinodappu I'm trying to understand exactly what step you're saying this issue crops up in. Could you provide explicit repro steps?

@vinodappu If you wanted to test, we have a fix in PR here: #3776

@vinodappu We tried to verify this issue on CMake tools: v1.19.45, but we don't have detailed reproduction steps to reproduce it. Are you able to go and verify that the issue is fixed?


Docker: Unable to locate package libthemis-dev

Describe the bug
When trying to dockerize themis using debian (buster or bullseye) - the dockerization stops at the installation of themis with error:
Unable to locate package libthemis-dev
To Reproduce
Steps to reproduce the behavior:

Create Dockerfile

FROM node:18-buster
RUN apt update && \
    apt -y install apt-transport-https

# Install themis
RUN wget -qO - https://pkgs-ce.cossacklabs.com/gpg | apt-key add -
RUN echo "deb https://pkgs-ce.cossacklabs.com/stable/debian buster main" | tee /etc/apt/sources.list.d/cossacklabs.list
RUN apt update && apt install -y libthemis-dev

Run docker build .

error
 > [ 5/11] RUN apt update && apt install -y libthemis-dev:
#9 0.223
#9 0.223 WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
#9 0.223
#9 0.326 Hit:1 http://deb.debian.org/debian buster InRelease
#9 0.330 Hit:2 http://deb.debian.org/debian-security buster/updates InRelease
#9 0.342 Hit:3 http://deb.debian.org/debian buster-updates InRelease
#9 0.350 Get:4 https://pkgs-ce.cossacklabs.com/stable/debian buster InRelease [1709 B]
#9 0.816 Fetched 1709 B in 1s (3049 B/s)
#9 0.816 Reading package lists...
#9 1.159 Building dependency tree...
#9 1.223 Reading state information...
#9 1.235 21 packages can be upgraded. Run 'apt list --upgradable' to see them.
#9 1.241
#9 1.241 WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
#9 1.241
#9 1.246 Reading package lists...
#9 1.595 Building dependency tree...
#9 1.666 Reading state information...
#9 1.715 E: Unable to locate package libthemis-dev
------
executor failed running [/bin/sh -c apt update && apt install -y libthemis-dev]: exit code: 100

Expected behavior
Should find libthemis-dev
Environment (please complete the following information):

OS: MacOS ventura
Hardware: 64-bit, Macbook pro M1
Themis version: latest?
Installation way:

[x] via package manager
[ ] built from source

Additional context
.

Hi @shadinua,
I have the exact same issue bug report as @albertbuchard.
Am I using the wrong base image? Thank you so much for your help.
Describe the bug
Docker image fails to build
To Reproduce
Steps to reproduce the behavior:

Here is my docker file

ARG FUNCTION_DIR="/function"

FROM python:3.10 as build-image

# Include global arg in this stage of the build
ARG FUNCTION_DIR

# Copy function code
RUN mkdir -p ${FUNCTION_DIR}
COPY . ${FUNCTION_DIR}

# Install the function's dependencies
RUN pip install \
    --target ${FUNCTION_DIR} \
        awslambdaric

RUN apt update && \
    apt -y install apt-transport-https

# Install themis
RUN wget -qO - https://pkgs-ce.cossacklabs.com/gpg | apt-key add -
RUN echo "deb https://pkgs-ce.cossacklabs.com/stable/debian buster main" | tee /etc/apt/sources.list.d/cossacklabs.list
RUN apt update && apt install -y libthemis-dev

# Use a slim version of the base Python image to reduce the final image size
FROM python:3.10-slim

# Include global arg in this stage of the build
ARG FUNCTION_DIR
# Set working directory to function root directory
WORKDIR ${FUNCTION_DIR}

# Copy in the built dependencies
COPY --from=build-image ${FUNCTION_DIR} ${FUNCTION_DIR}

# Set runtime interface client as default command for the container runtime
ENTRYPOINT [ "/usr/local/bin/python", "-m", "awslambdaric" ]
# Pass the name of the function handler as an argument to the runtime
CMD [ "lambda_function.handler" ]

Run docker build -t docker-image:test .
See the following error:

------
dockerfile:24
--------------------
  22 |     RUN wget -qO - https://pkgs-ce.cossacklabs.com/gpg | apt-key add -
  23 |     RUN echo "deb https://pkgs-ce.cossacklabs.com/stable/debian buster main" | tee /etc/apt/sources.list.d/cossacklabs.list
  24 | >>> RUN apt update && apt install -y libthemis-dev
  25 |
  26 |     # Use a slim version of the base Python image to reduce the final image size
--------------------
ERROR: failed to solve: process "/bin/sh -c apt update && apt install -y libthemis-dev" did not complete successfully: exit code: 100

Expected behavior
Docker to build
Environment (please complete the following information):

OS: OSX 13.3.1 Ventura
Hardware: 64-bit Mac
Themis version:  0.15.0 Newest
Installation way:

[ ] via package manager
[X] built from docker

Additional context
Add any other relevant context for the problem here. Share an example project, if you can.

python:3.10 image uses debian:bookworm as base image that is not supported yet. please, try to use python:3.10-bullseye

FROM public.ecr.aws/lambda/python:3.10

# Copy requirements.txt
COPY requirements.txt ${LAMBDA_TASK_ROOT}

# Copy function code
COPY lambda_function.py ${LAMBDA_TASK_ROOT}

RUN yum update -y

RUN yum install -y httpd

RUN echo yum search libthemis-devel

RUN yum install -y libthemis-devel

# Install the specified packages
RUN pip install -r requirements.txt

# Set the CMD to your handler (could also be done as a parameter override outside of the Dockerfile)
CMD [ "lambda_function.handler" ]

that worked thank you @Lagovas.
now I need to transition the dockerfile to one of AWS's base images. This image is Amazon Linux based on RedHat to my knowledge. Do you have an idea why this fails?

I have tried to install other packages with yum: successful.

I am not clear why yum cannot find libthemis-devel

[+] Building 2.6s (11/12)
 => [internal] load build definition from dockerfile                                                                                0.0s
 => => transferring dockerfile: 1.92kB                                                                                0.0s
 => [internal] load .dockerignore                                                                                0.0s
 => => transferring context: 2B                                                                                0.0s
 => [internal] load metadata for public.ecr.aws/lambda/python:3.10                                                                                1.1s
 => [1/8] FROM public.ecr.aws/lambda/python:3.10@sha256:e618110b50df6b75494bc5a29d933d44887c73aa5b56646213a2ec1ef06cfa04                                                                               0.0s
 => [internal] load build context                                                                                0.0s
 => => transferring context: 75B                                                                                0.0s
 => CACHED [2/8] COPY requirements.txt /var/task                                                                                0.0s
 => CACHED [3/8] COPY lambda_function.py /var/task                                                                                0.0s
 => CACHED [4/8] RUN yum update -y                                                                                0.0s
 => CACHED [5/8] RUN yum install -y httpd                                                                                0.0s
 => [6/8] RUN echo yum search libthemis-devel                                                                                0.2s
 => ERROR [7/8] RUN yum install -y libthemis-devel                                                                                1.2s
------
 > [7/8] RUN yum install -y libthemis-devel:
#0 0.350 Loaded plugins: ovl
#0 1.082 No package libthemis-devel available.
#0 1.186 Error: Nothing to do
------
dockerfile:15
--------------------
  13 |     RUN echo yum search libthemis-devel
  14 |
  15 | >>> RUN yum install -y libthemis-devel
  16 |
  17 |     # Install the specified packages
--------------------

I'm unfamiliar with AWS and centos too much, and I'm not sure what repo structure AWS expects. We support, test and maintain repositories for centos 7/8, and temporarily latest version deployed only for x86_64. You can try to download .rpm manually from https://pkgs-ce.cossacklabs.com/stable/centos/8/x86_64/ and try to install it locally from the file. It may works if AWS expects different repo structure in comparison with centos 7/8 but okay with .rpm packages packed for them. And it may work only for x86_64, not arm64.
As I see, base image uses scratch base image and install FS structure from archives - https://github.com/aws/aws-lambda-base-images/blob/python3.10/Dockerfile.python3.10 . So, it needs a time to investigate and debug.

Thanks for the response--and thanks for working on this lib. Yes, the base image was the key. By pivoting into the base image that you mentioned I finally got it, thank God. So, here's what I did for future reference:
# Define custom function directory
ARG FUNCTION_DIR="/function"

FROM python:3.10-bullseye as build-image

# Include global arg in this stage of the build
ARG FUNCTION_DIR

# Copy function code
RUN mkdir -p ${FUNCTION_DIR}
COPY . ${FUNCTION_DIR}

# Install the function's dependencies
RUN pip install --target ${FUNCTION_DIR} awslambdaric boto3 botocore pythemis

RUN apt update && apt install -y apt-transport-https wget gnupg

# Install themis
RUN wget -qO - https://pkgs-ce.cossacklabs.com/gpg | apt-key add -
RUN echo "deb https://pkgs-ce.cossacklabs.com/stable/debian bullseye main" | tee /etc/apt/sources.list.d/cossacklabs.list
RUN apt update && apt install -y libthemis-dev

WORKDIR ${FUNCTION_DIR}


安卓手机对着二维码半天都没有任何反应

showCupertinoDialog(
context: context,
builder: (context) {
ScanController controller = ScanController();
return Scaffold(
body: Center(
child: Container(
// width: 300, // custom wrap size
// height: 300,
child: ScanView(
controller: controller,
// custom scan area, if set to 1.0, will scan full area
scanAreaScale: .7,
scanLineColor: Colors.green.shade400,
onCapture: (data) {
showToast('code---------$data');
Navigator.pop(context);
callback(data);
},
),
),
),
);
},
);
➜  ~ flutter doctor -v
[✓] Flutter (Channel stable, 2.2.3, on macOS 11.5.2 20G95 darwin-x64, locale zh-Hans-CN)
• Flutter version 2.2.3 at /Users/Robin/Documents/resource/plugin/Flutter
• Framework revision f4abaa0735 (4 个月前), 2021-07-01 12:46:11 -0700
• Engine revision 241c87ad80
• Dart version 2.13.4
• Pub download mirror https://pub.flutter-io.cn
• Flutter download mirror https://storage.flutter-io.cn
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
• Android SDK at /Users/Robin/Library/Android/sdk
• Platform android-31, build-tools 30.0.2
• ANDROID_HOME = /Users/Robin/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
• All Android licenses accepted.
[!] Xcode - develop for iOS and macOS
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 13.0, Build version 13A233
✗ CocoaPods installed but not working.
You appear to have CocoaPods installed but it is not working.
This can happen if the version of Ruby that CocoaPods was installed with is different from the one being used to invoke it.
This can usually be fixed by re-installing CocoaPods.
To re-install see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 4.1)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
[✓] VS Code (version 1.61.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.27.0
[✓] Connected device (2 available)
• Huawei P30 Pro (mobile) • <IP_ADDRESS>:5555 • android-x86    • Android 9 (API 28)
• Chrome (web)            • chrome              • web-javascript • Google Chrome 94.0.4606.81

[x] I have read the Get Started - Installation section
[x] I have read and done the Get Started - Setup Android section
[x] I have read and done the Get Started - Setup iOS section
[x] I have already searched for the same problem

Environment

Technology
Version

Flutter version
2.2.3

Plugin version
1.4.3

Android version

iOS version

Xcode version

Device information:
Description
Expected behavior:
Current behavior:
Steps to reproduce

This
Than that
Then

Images
Stacktrace/Logcat

二维码发给我看看

最新的1.5.1版本支持了黑底白码  可以试一下


Migration to swift?

Hey,
Can I reuse your logic to migrate your lib to swift 2.0 and make a pod?
I don't forget to do a reference to your lib.
please, keep me informed

You can use it for whatever you wanted :)

Thx you, I mentioned your work in my description


Hacky %m.(thing) not implemented

Expected Behavior
It is implemented and shows a custom menu
Actual Behavior
It just shows text
Steps to Reproduce
Create a hacked custom block and add a % (List found here https://docs.google.com/spreadsheets/d/1uT1vHi6IUUaUix5y3k4p28p2No6pvLNKF_yrtrajEY4/edit#gid=0)

We won't be explicitly supporting 2.0-style hacked blocks. But this kind of thing should be possible with extensions once they're implemented.

@rschamp It may be best to consider implementing support for rendering those blocks correctly (when custom blocks themselves are implemented), though. I can't imagine it would be good if a bunch of old 2.0 projects' scripts (visually) broke, even though they're technically using hacks.


bug: Modal backdrop doesn't behave like Alert backdrop

Bug Report
Ionic version:

[x] 4.x
Current behavior:

When using Ionic on a "normal" web page, html scroll corrupts a modal (see this screenshot):

That's caused when the user have the BODY scrolled down a bit and a modal is opened.
Alert doesn't have this behavior (i.e.: it works fine, even we are on a page where BODY is scrollable).
Expected behavior:

Have the same behavior on components that blocks the screen with a backdrop (either both work or both breaks).
Steps to reproduce:

Open https://www.ecopeca.com.br (the form is a Stencil web component using Ionic), the rest is Wordpress.
Fill the form (select a car model, type years 2019 and 2019, any number on the last box (it have a mask) and add some text using the big (+) button, then hit the big green button.
If you are using a 1080p monitor, you won't scroll, everything looks ok, but resize the window keeping > 1200px on width and a bit of height (the scrollbar will appear). Scroll down a bit, then hit the same button.

Related code:

insert short code snippets here

Other information:

Ionic info:

insert the output from ionic info here

Hi there,
Thanks for the issue. Can you describe the issue you are having a bit more? I am unable to scroll even after I have resized the window in step 3.
Thanks!


The symbol for Original page is redirecting to the main project page instead of the BHL document

When you click on the icon for displaying the original page on the Classification page, it is redirecting you to http://www.sciencegossip.org/ instead of to the BHL document.
http://talk.sciencegossip.org/#/boards/BSC0000006/discussions/DSC000054u?page=1&comment_id=5662475296ad6f091b0011f4

Fixed by b8f974b3ad5d8439022b3a0888483450ccbff1d2


[Salt II] Remove salt

Related to: https://github.com/CartoDB/product/issues/291
Remove salt from user and user_creation models.
DO NOT MERGE UNTIL https://github.com/CartoDB/cartodb/pull/14900 IS MERGED AND THIS RAKE IS RUN IN PRODUCTION

retest this please

Acceptance 🍏

I can sign up
I can update my profile (it requires my password)
I can change my password and it's updated


Add section in README to explain how to handle partial supports

On iOS 14.5, SpeechRecognition API is supported but not all related APIs, like SpeechGrammarList or navigator.persmissions.
The lack of SpeechGrammarList is handled by @untemps/vocal but navigator.persmissions is not.
We should add a section to explain the developer should check for this particular case by himself.

:tada: This issue has been resolved in version 1.6.6 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


"ERROR:asyncio:Exception in callback _ProactorBasePipeTransport._call_connection_lost(None)" followed by "soundfile.LibsndfileError: System error."

Hi,
I tried installing vampnet on my Windows 11 machine. I was able to launch the app using the gradio UI, but when I use the example audio file and click on "Vamp", I first see the following error message:
Exception in callback _ProactorBasePipeTransport._call_connection_lost(None)
handle: <Handle _ProactorBasePipeTransport._call_connection_lost(None)>
Traceback (most recent call last):
  File "D:\UserFiles\Programming\Anaconda\envs\vampnet\lib\asyncio\events.py", line 80, in _run
    self._context.run(self._callback, *self._args)
  File "D:\UserFiles\Programming\Anaconda\envs\vampnet\lib\asyncio\proactor_events.py", line 162, in _call_connection_lost
    self._sock.shutdown(socket.SHUT_RDWR)
ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host

and then after a few seconds I see
Traceback (most recent call last):
  File "D:\UserFiles\Programming\Anaconda\envs\vampnet\lib\site-packages\gradio\queueing.py", line 388, in call_prediction
    output = await route_utils.call_process_api(
  File "D:\UserFiles\Programming\Anaconda\envs\vampnet\lib\site-packages\gradio\route_utils.py", line 216, in call_process_api
    output = await app.get_blocks().process_api(
  File "D:\UserFiles\Programming\Anaconda\envs\vampnet\lib\site-packages\gradio\blocks.py", line 1555, in process_api
    result = await self.call_function(
  File "D:\UserFiles\Programming\Anaconda\envs\vampnet\lib\site-packages\gradio\blocks.py", line 1193, in call_function
    prediction = await anyio.to_thread.run_sync(
  File "D:\UserFiles\Programming\Anaconda\envs\vampnet\lib\site-packages\anyio\to_thread.py", line 33, in run_sync
    return await get_asynclib().run_sync_in_worker_thread(
  File "D:\UserFiles\Programming\Anaconda\envs\vampnet\lib\site-packages\anyio\_backends\_asyncio.py", line 877, in run_sync_in_worker_thread
    return await future
  File "D:\UserFiles\Programming\Anaconda\envs\vampnet\lib\site-packages\anyio\_backends\_asyncio.py", line 807, in run
    result = context.run(func, *args)
  File "D:\UserFiles\Programming\Anaconda\envs\vampnet\lib\site-packages\gradio\utils.py", line 654, in wrapper
    response = f(*args, **kwargs)
  File "D:\UserFiles\Academics\Berkeley\fa23\Research\WAM\vampnet\app.py", line 185, in vamp
    return _vamp(data, return_mask=True)
  File "D:\UserFiles\Academics\Berkeley\fa23\Research\WAM\vampnet\app.py", line 102, in _vamp
    mask, pmask.onset_mask(sig, z, interface, width=data[onset_mask_width])
  File "D:\UserFiles\Academics\Berkeley\fa23\Research\WAM\vampnet\vampnet\mask.py", line 201, in onset_mask
    sig.write(f.name)
  File "D:\UserFiles\Programming\Anaconda\envs\vampnet\lib\site-packages\audiotools\core\audio_signal.py", line 602, in write
    soundfile.write(str(audio_path), self.audio_data[0].numpy().T, self.sample_rate)
  File "D:\UserFiles\Programming\Anaconda\envs\vampnet\lib\site-packages\soundfile.py", line 343, in write
    with SoundFile(file, 'w', samplerate, channels,
  File "D:\UserFiles\Programming\Anaconda\envs\vampnet\lib\site-packages\soundfile.py", line 658, in __init__
    self._file = self._open(file, mode_int, closefd)
  File "D:\UserFiles\Programming\Anaconda\envs\vampnet\lib\site-packages\soundfile.py", line 1216, in _open
    raise LibsndfileError(err, prefix="Error opening {0!r}: ".format(self.name))
soundfile.LibsndfileError: Error opening 'C:\\Users\\circl\\AppData\\Local\\Temp\\tmptukdvdkr.wav': System error.

and an error occurs on the website interface. What could be causing this issue?

Hmm, this looks a bit like the issue in #12, since there seems to be an issue with my approach to temporary files on Windows. Could you try the fix mentioned in #12?
this could be it: https://stackoverflow.com/questions/23212435/permission-denied-to-write-to-my-temporary-file
looks like we're trying to open the file twice: once when NamedTemporaryFile() is created, and another in sig.write.
This solution from stackoverflow could work, you could give it a try!
import os
import tempfile

class CustomNamedTemporaryFile:
    """
    This custom implementation is needed because of the following limitation of tempfile.NamedTemporaryFile:

    > Whether the name can be used to open the file a second time, while the named temporary file is still open,
    > varies across platforms (it can be so used on Unix; it cannot on Windows NT or later).
    """
    def __init__(self, mode='wb', delete=True):
        self._mode = mode
        self._delete = delete

    def __enter__(self):
        # Generate a random temporary file name
        file_name = os.path.join(tempfile.gettempdir(), os.urandom(24).hex())
        # Ensure the file is created
        open(file_name, "x").close()
        # Open the file in the given mode
        self._tempFile = open(file_name, self._mode)
        return self._tempFile

    def __exit__(self, exc_type, exc_val, exc_tb):
        self._tempFile.close()
        if self._delete:
            os.remove(self._tempFile.name)


[KeyVault] - Update Keys and Admin to Identity 2.0

This PR updates KV Keys and Admin to Identity 2.0.0-beta.3 and re-records all the tests as part of our team-wide effort
to migrate over.
In passing, I also re-enabled two tests that are no longer broken on the service side (hopefully) and increased the wait-for
workaround to 60 seconds when activating a Managed HSM. 30 seconds failed for me, and I'd rather avoid re-running tests
due to setup.

/azp run js - keyvault-admin - tests

/azp run js - keyvault-admin - tests


stm32l0xx RCC fixes

Might as well close this one in favor of https://github.com/stm32-rs/stm32-rs/pull/293