[dart compile js] Importing dart:typed_data causes list access overhead

Below is a program doing list iteration. Accessing list[i] correctly compiles to javascript list[i]. However when dart:typed_data is imported, accessing list[i] compiles to $index(list, i) causing significant overhead, since every access is doing list bounds check. I tried every compiler options and pragmas to get rid of it but that check just won't go away and is slowing down my web app.
dart compile js --trust-primitives --lax-runtime-type-to-string --omit-late-names --omit-implicit-checks -o bug.dart.js bug.dart

Dart SDK version: 2.18.0-271.4.beta (beta) (Tue Jul 26 10:14:06 2022 +0200) on "windows_x64"

Program and correct result:
void main() {
  Map<dynamic, List<dynamic>> m = {};
  for (final entry in m.entries) {
    final list = entry.value;
    for (int i = 0, listLength = list.length; i < listLength; i++) {
      print(list[i]);
    }
  }
}

    main() {
      var t1, t2, t3, list, listLength, i;
      for (t1 = A.LinkedHashMap_LinkedHashMap$_empty().get$entries(), t2 = t1._iterable, t1 = new A.MappedIterator(t2.get$iterator(t2), t1._f), t2 = A._instanceType(t1)._rest[1]; t1.moveNext$0();) {
        t3 = t1._current;
        list = (t3 == null ? t2._as(t3) : t3).value;
        for (listLength = list.length, i = 0; i < listLength; ++i)
          A.printString(A.S(list[i]));
      }
    }

Program and incorrect compilation result:
import 'dart:typed_data';

void main() {
  Map<dynamic, List<dynamic>> m = {};
  for (final entry in m.entries) {
    final list = entry.value;
    for (int i = 0, listLength = list.length; i < listLength; i++) {
      print(list[i]);
    }
  }

  Float32List arr = Float32List(44);
}

    main() {
      var t1, t2, t3, list, i;
      for (t1 = A.LinkedHashMap_LinkedHashMap$_empty().get$entries(), t2 = t1._iterable, t1 = new A.MappedIterator(t2.get$iterator(t2), t1._f), t2 = A._instanceType(t1)._rest[1]; t1.moveNext$0();) {
        t3 = t1._current;
        list = (t3 == null ? t2._as(t3) : t3).value;
        for (t3 = J.getInterceptor$asx(list), i = 0; i < t3.get$length(list); ++i)
          A.printString(A.S(t3.$index(list, i)));
      }
      new Float32Array(44);
    }

...

    $index(receiver, index) {
      if (!(index >= 0 && index < receiver.length))
        throw A.wrapException(A.diagnoseIndexError(receiver, index));
      return receiver[index];
    },

Caveat: I am not on the Dart team, so my information may be out of date.
This is (unfortunately) working as implemented. The full reason why is a longer story, but in-short:

Dart's List type is very broad - it covers everything from what JS considers an Array to custom List implementations
Dart's List contract is also stricter than JS', for example it throws range errors and concurrent modification errors

When you originally created a minimal program, the only "live" List type in the entire app was the default list type, which in Dart2JS is implemented by Array - meaning that Dart2JS "knows" that a direct index operator (list[i]) is correct.
However, once you imported a new array type (the ones provided by dart:typed_data), it's ~impossible~ too expensive for Dart2JS to "know" that your Map might not have contained, say, a Float32List, so indirection through $index provides "safe" access regardless of whether the native type is an Array or Float32Array.
I suspect you could (in this particular case) "fix" your problem by giving your data structure proper types:
void main() {
  // Just as an example.
  Map<String, List<String>> m = {};

  // ...
}

Because List<String> could not be implemented by Float32List, Dart2JS might be able to "know" it's always a native Array, and can use [i] directly. That being said, in any "real" application you're going to have so many subtypes of List that above optimization is likely to fail.
I'd be surprised if the list sub-typing is cause of "significant overhead" in real apps. If it does, a recommendation I've gotten in the past from @rakudrama was to create the list instances explicitly in a non-subtyped class, so that Dart2JS can tell the list is always of type Array:
class _ExpensiveListComputer {
  final _array = <String>[];

  void example() {
    for (final a in _array) {
      print(a);
    }
  }
}

void main() {
  _ExpensiveListComputer().example();
}

My other bit of advice is to avoid using Map or any sort of generic data structure if possible (i.e. write a custom class).


Set TreeMesh capacity attribute also when using MPI

Resolves #1861

Thanks! Did you check whether loading a mesh in serial works when you save it in parallel with a small capacity? I don't remember right now whether the capacity is a local one or needs to be big enough to store the data from all MPI ranks in parallel. That's why I'm asking.

The capacity is always global. Since the TreeMesh is parallelized by keeping a full copy on each rank and just syncing it between the processes, a "local" capacity does not make much sense anyways

Thanks for the explanation. I would not have known.
I only tested running the simulation in parallel and reading the results in serial via Trixi2Vtk.


C++ warnings

Some minor fixes:

when compiling as C++ with GCC there were some blocking warnings due to (missing) const string modifier;
I've added the current working directory detection.

Thanks for cleaning this up! Instead of having to detect the platform, I did the simpler thing. I realized if you want a path relative to the cwd, the easiest way to get that is... just a relative path. :)

I realized if you want a path relative to the cwd, the easiest way to get that is... just a relative path. :)

True.
But will this work even when running Wren from within (for example) the home directory while the executable itself resides in (let's say) /usr/bin?

But will this work even when running Wren from within (for example) the home directory while the executable itself resides in (let's say) /usr/bin?

Yup! The cwd is based on what the cwd was when the executable was started, not the directory containing the executable itself.

Goody-goody.
That's what I expected, too. Fine.


Update scan.c (IDFGH-13162)

BTI --> BIT
is this a TYPO ? or is it intended to be BTI ?
https://github.com/espressif/esp-idf/issues/14102

Hi @diplfranzhoepfinger,
Thanks for pointing out the typo!

Hi @diplfranzhoepfinger, Thanks for pointing out the typo!

@jgujarathi The typo is still there, no fix?

Hi @sarveshb14 ,
Could you please look into this?


Update deploy-with-compose.md

Proposed changes
Fixed a word in the "Deploy a Compose-based app to a Kubernetes cluster" document.
Unreleased project version (optional)

Related issues (optional)

Deploy preview for modest-edison-79d82e ready!
Built with commit 3054360c1122d1bec529532a11e4e3b52f5986db
https://deploy-preview-7268--modest-edison-79d82e.netlify.com


feat: pp.parens option to pretty print with all parentheses

This was a feature in the Lean 3 community edition.
Right now this is over-parenthesizing expressions compared to the Lean 3 version. Before, numerals and identifiers were not parenthesized. (Example output)

@Kha What do you think about this implementation? Do you have any ideas how to make it not parenthesize atomic syntax? In particular, is there some condition that implies parentheses are never needed?

Perhaps something like (← read).forceParens && prec < maxPrec? That is, if the precedence of the thing to be parenthesized is already at least the precedence of parens, there is no need to do it.

@Kha I've tried a few variations on that, but they didn't seem to have any effect. I think I've spent my time budget on this feature -- maybe if it the basic version of the feature exists, someone who is keen on having it prettier will figure out a solution?


Ensure the lifetime of CPowerRenameProcessUI on the worker thread

Take an AddRef on the CPowerRenameProcessUI before passing it to the worker thread which runs the progress dialog.  We were seeing crashes due to a narrow timing window in the progress UI startup and teardown.  This should ensure that no longer happens.
Applies to https://github.com/microsoft/PowerToys/issues/11068

We don't have a way to reproduce the original problem in a reliable way, it was happening randomly when renaming one or more items.
I've been testing this fix on two different machines and I haven't been able to reproduce the crash.


Replace node sass with dart sass

Node sass now deprecated.

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@18b53f6). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #103   +/-   ##
=======================================
  Coverage        ?   97.49%
=======================================
  Files           ?       55
  Lines           ?     3551
  Branches        ?        0
=======================================
  Hits            ?     3462
  Misses          ?       89
  Partials        ?        0

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 18b53f6...82eca75. Read the comment docs.


flutter doctor: ArgumentError: Invalid argument(s): Cannot find executable for where.

flutter_01.log

Steps to Reproduce

...i first download and extract flutter sdk from flutter.io to C:/flutter
...i add the bin directory to the path (C:/flutter/flutter/bin)
...i run flutter doctor in my command prompt and send me the message attached below
...and i want to used Vs code instead of android studio

Logs

$ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
Sending crash report to Google.
Crash report sent (report ID: 0262a663b8e95aea)
Oops; flutter has exited unexpectedly.
Crash report written to C:\Users\HP PC\flutter_01.log;
please let us know at https://github.com/flutter/flutter/issues.

The actual error message is:
ArgumentError: Invalid argument(s): Cannot find executable for where.

Which terminal are you running this in? Does where exist?

I'm using Git Bash or run the command in command pilates on my vs code terminal
Sent from Yahoo Mail on Android
On Mon, Dec 30, 2019 at 7:49 AM, Jonah<EMAIL_ADDRESS>wrote:
The actual error message is:
ArgumentError: Invalid argument(s): Cannot find executable for where.
Which terminal are you running this in? Does where exist?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

I do not believe flutter will work from git bash. See the https://flutter.dev/docs/get-started/install/windows#system-requirements for more information. Does it work normally if run from a newer powershell?

I will start everything a fresh from from the guide you send And i wull contact you back
Sent from Yahoo Mail on Android
On Mon, Dec 30, 2019 at 9:08 PM, Jonah<EMAIL_ADDRESS>wrote:
I do not believe flutter will work from git bash. See the https://flutter.dev/docs/get-started/install/windows#system-requirements for more information. Does it work normally if run from a newer powershell?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

The same issue happened to me yesterday (2020 May, 21), after receiving a message on the "terminal / Android Studio" to perform a "flutter upgrade". After executing the command, the Flutter crashes completely. Incredibly, not even the "flutter doctor" worked anymore, which for me is kind of unacceptable.
I didn't know that the "flutter upgrade" did not consider the channel being worked on. Before the crash, I had the beta channel version (for Web dev) and the command updated to the latest version of the "stable channel". The link with Git has been broken.
I tried to find something like a "flutter unupgrade" to revert the update, but it seems that it doesn't exist (yet). I think it is important that an update can be reversed in these cases.
After literally hours of searching for this issue, my drastic solution was to REMOVE and REINSTALL THE FLUTTER COMPLETELY, from the beginning and redo the "flutter upgrade" on the beta channel. Operationally speaking, the problem was solved, but I think that Flutter people should "check the channel in use by the user, before even suggesting a" flutter upgrade ", and in doing so, do it on the right channel", at least until solve the problem really.
And, also, it is important that the "flutter doctor" is a completely segregated process and that it does not crash together with the Flutter. As it is, it doesn't make sense to me.
Trying to contribute, thank you!

@edSarti The originator was using git bash.  If you see a crash again, please file a new issue with the details of your exact crash and completely fill out the template so we can take a look.

I tried to find something like a "flutter unupgrade" to revert the update, but it seems that it doesn't exist (yet). I think it is important that an update can be reversed in these cases.

It's flutter downgrade.


Touch-up on Cloud-logging sample

One customer said the cloud-logging sample was not working. I suspect this is because the logging API was not enabled, and the user did not have the correct permissions to enable it.  This change addresses those possibilities.

Expanded the README a little, to explain and guide through checking service enablement, and roles

Enhanced the deploy script, to check whether the logging API is enabled, and to check whether enabling it is successful.

Enhanced the cleanup script

added two other check scripts

factored some common logic out into a utils module

@DinoChiesa - the README changes needs to be done to the Cloud Shell Tutorial mardown file as well


Redesign of benchmark datasets panel

The benchmark datasets panel shows the author, publication date, topic, title, doi, publication year, license, and link of a dataset. Redesigned by @MartijnUX

Super nice!!!

Thanks @terrymyc and @MartijnUX! Nice work!


'NoneType' object has no attribute 'getitem'

Another error that is getting out:
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/fuse.py", line 495, in _wrapper
    return func(*args, **kwargs) or 0
  File "/usr/local/lib/python2.7/dist-packages/fuse.py", line 530, in unlink
    return self.operations('unlink', path.decode(self.encoding))
  File "/usr/local/lib/python2.7/dist-packages/fuse.py", line 800, in __call__
    return getattr(self, op)(*args)
  File "/opt/b2_fuse/b2fuse/b2fuse_main.py", line 363, in unlink
    self._remove_local_file(path)
  File "/opt/b2_fuse/b2fuse/b2fuse_main.py", line 136, in _remove_local_file
    self.open_files[path].delete(delete_online)
  File "/opt/b2_fuse/b2fuse/filetypes/B2SequentialFileMemory.py", line 91, in delete
    self.file_info['fileId'], self.file_info['fileName']
TypeError: 'NoneType' object has no attribute '__getitem__'

It is impossible to debug this issue without additional information.  Config etc.

just a simply
b2fuse /mnt/b2 &
and in the config there are only the user parameters. Nothing else

I suppose this happens when proxmox in the backup script try to delete a file from that dir (reading the stacktrace..)

Unfortunately I am unable to replicate this error. If you can provide me a step by step to replicate I will investigate.


[Bug report]Bot Overloaded

As you can see, this is the problem.
When I try to send messages to the bot, it always responds with "Bot Overloaded".

Update the code and try again; there was a typo 😵💫

Update the code and try again; there was a typo 😵💫

Fixed, thanks!


Rsync permissions

Cherry picked from https://github.com/numtide/nixos-anywhere/pull/50

bors merge


Documentation issue:I was using the previous App Store Connect API and suddenly something went wrong

itunes_app = Spaceship::Tunes::Application.create!(name: appname,
primary_language: app_language,
# version_string: "1.0", # initial version
sku: bundleid,
bundle_id: bundleid)
I didn't have any problems with it until the 12th
Traceback (most recent call last):
9: from xxx.rb:374:in <main>' 	8: from xxx.rb:374:in collect'
7: from xxx/.rvm/gems/ruby-2.5.1/gems/rubyXL-3.4.3/lib/rubyXL/worksheet.rb:23:in each' 	6: from xxx/.rvm/gems/ruby-2.5.1/gems/rubyXL-3.4.3/lib/rubyXL/worksheet.rb:23:in each'
5: from xxx/.rvm/gems/ruby-2.5.1/gems/rubyXL-3.4.3/lib/rubyXL/worksheet.rb:23:in block in each' 	4: from xxx/Desktop/cer/auto_v8.41.rb:406:in block in '
3: from xxx/Desktop/cer/auto_v8.41.rb:309:in itunes_connect_action' 	2: from xxx/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/fastlane-2.152.0/spaceship/lib/spaceship/tunes/application.rb:96:in create!'
1: from  xxx/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/fastlane-2.152.0/spaceship/lib/spaceship/tunes/tunes_client.rb:296:in create_application!'  xxx/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/fastlane-2.152.0/spaceship/lib/spaceship/client.rb:716:in parse_response': {"data"=>nil, "messages"=>{"warn"=>nil, "error"=>["Not Found"], "info"=>nil}, "statusCode"=>"ERROR"} (Spaceship::UnexpectedResponse)

@ZhangYingGang666 please create a new issue providing all the info that the Issue Template asks for.


Madu/refac actor repository

Description
References

Codecov Report

Merging #586 (6282fe7) into main (21978a1) will decrease coverage by 32.09%.
Report is 253 commits behind head on main.
The diff coverage is 24.03%.

@@             Coverage Diff             @@
##             main     #586       +/-   ##
===========================================
- Coverage   83.07%   50.98%   -32.09%
===========================================
  Files         456      326      -130
  Lines       10418     6472     -3946
===========================================
- Hits         8655     3300     -5355
- Misses       1438     3072     +1634
+ Partials      325      100      -225

Files
Coverage Δ

...ivedMessages/ArchivedMessageGetDocumentListener.cs
0.00% <ø> (ø)

source/Api/Common/HttpHeadersExtensions.cs
0.00% <ø> (ø)

...iddleware/Authentication/ActorForAuthentication.cs
0.00% <ø> (ø)

...ntication/Bearer/BearerAuthenticationMiddleware.cs
0.00% <ø> (ø)

...MarketActors/MarketActorAuthenticatorMiddleware.cs
0.00% <ø> (ø)

...ation/Middleware/Correlation/CorrelationContext.cs
66.66% <ø> (ø)

.../Middleware/Correlation/CorrelationIdMiddleware.cs
0.00% <ø> (ø)

...iguration/Middleware/Correlation/UserProperties.cs
0.00% <ø> (ø)

...figuration/Middleware/FunctionContextExtensions.cs
0.00% <ø> (ø)

...rce/Api/Configuration/ServiceBusMessageMetadata.cs
0.00% <ø> (ø)

... and 69 more

... and 429 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


hundreds of errors when built

tried using all of the examples and tests, tried to execute every one of the "github" tests as well. Hundreds of errors all showing ambiguous use of "find" and ambiguous use of "TON"
I do MQTT and PLC communications for a living. And I have never been so frustrated and struggled so hard to publish some topics then trying to use Codesys and any one of 4 or 5 different libraries including the demo from 3S.
Please Mr Stefan, point me in the right direction. I am totally lost at using libraries on windows 10 or Windows 7 64 bit with Codesys 3.5.15

Hi,
please open the library and check the libs.
I use Version 3.5 SP 14. You sholud have success when you update to your version.
All blue warings you can ignore.
For Easy use of the Liebe have a look to:
https://github.com/MichielVanwelsenaere/HomeAutomation.CoDeSys3
If your libs are clean it sholde be easy to publish your stuff.
BR Stefan

Its not your lib.. the issue is with the Crypto handling and the packages Opto22 built into their run time and their library.. Your Library work perfectly when I run it off of the Wim V3 on my desktop. and the only MQTT that will work on the Opto is the Janztech, because they have 2 seperate libs for TLS and Non TLS.
Have you considered or do know of at Sparkplug package forCodesys??

Hello,
I will not provide 2 versions of the lib.
Your solution:
comment out all apperance of TLS stuff in IP_CONTROL in your local copy of commonTypesAndFunctions.
Deleting the lib CmpTls out of library manager should show you where.

This should work for you.
BR Stefan

Thanks Stefan.. That likely will work.. But I will just wait for Opto22 to fix their Runtime.  I would rather use your library AND TLS. They are working on a bugfix now

Hi,
Sounds perfect…
BR Stefan


Add basic activity log

This PR adds a basic implementation for an activity log in each group. Currently 4 types of activity are logged: updating the group settings and creating/updating/deleting an expense. If an active user is configured, the activity message includes the name of that active user. If #95 is approved, the "infinite scroll" feature can also be applied to this activity log (the implementation here is derived from the expense list).

Related issues are #15, #103 and #106.

nice! Might also be good to have the activity history for an individual expense at the bottom of the edit expense page.

Could be nice if the expenses were links to the expense in question!

@justcallmelarry They actually are linking to the expense, as long as it was not deleted in the meantime. This is denoted by the small arrows on the right (and a pointer cursor while hovering).

@dcbr ah ok! nice! was not clear from the screenshot for me 😅 i was looking for the name of the group to be a link or similar

This would also benefit from soft-deleting expenses, so that you can un-delete the expense from the log!

@justcallmelarry Yes indeed! However, I didn't want to introduce too many changes here, and just introduce a basic version that can later be extended. But I agree soft-deletion would be a nice feature for a follow-up PR :)

Hi @scastiel, could you please review and merge this feature when you have a chance? This is definitely required for the app. Thanks!

@scastiel I think the app will benefit greatly from this PR

Might also be good to have the activity history for an individual expense at the bottom of the edit expense page.

Great idea!

Thanks a lot @dcbr, amazing contribution!


Remove Ant Commander Pro version 4.7

Checklist for Pull Requests

[x] Have you signed the Contributor License Agreement?
[ ] Is there a linked Issue?

Manifests

[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.6 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Removed Ant Commander Pro version 4.7 as latest version is 4.10
Microsoft Reviewers: Open in CodeFlow

URL: https://www.antcommander.com/versions/AntCommanderPro-4.7.exe
OK
(Automated message - build 882)


Add a way to get an array of generic types from a class / method

Sometimes it might be useful to get all the generic types from a class and then inflate it into another (copying the generics).
I was able to achieve this by doing this:
Class.type.object.method<Il2Cpp.Array>("GetGenericArguments").invoke()

Based on https://github.com/vfsfitvnm/frida-il2cpp-bridge/blob/ae7ef9ea2ca0e33fe50994179b2a4751541549e4/src/il2cpp/structs/class.ts#L81
The only problem is that I am always assuming the generic is an object which I don't know for fact if this will always be true.
Here's a snippet that could be shortened:
const classes = [...Class.type.object.method<Il2Cpp.Array<Il2Cpp.Object>>("GetGenericArguments").invoke()].map(type => type.class);
const Action = Il2Cpp.corlib.class(`System.Action\`${types.length}`).inflate(...classes)

It looks like a good idea.
Here's how you can convert a System.Array<System.Type> to a Il2Cpp.Class[]:
https://github.com/vfsfitvnm/frida-il2cpp-bridge/blob/ae7ef9ea2ca0e33fe50994179b2a4751541549e4/src/il2cpp/structs/image.ts#L24
If you want to take a stab for a PR, go for it

It looks like a good idea.
Here's how you can convert a System.Array<System.Type> to a Il2Cpp.Class[]:
https://github.com/vfsfitvnm/frida-il2cpp-bridge/blob/ae7ef9ea2ca0e33fe50994179b2a4751541549e4/src/il2cpp/structs/image.ts#L24
If you want to take a stab for a PR, go for it

While doing it I discovered the following doesn't work as expected, at least in the android app I tested on.
const Action = Il2Cpp.corlib.class("System.Action`1").inflate(Il2Cpp.corlib.class("System.String"));
console.log(`genericParamCounter = ${Action.genericParameterCount}`);
console.log(`GetGenericArguments result = ${Array.from(Action.type.object.method<Il2Cpp.Array<Il2Cpp.Object>>("GetGenericArguments").invoke()).map(_ => new Il2Cpp.Class(Il2Cpp.api.classFromObject(_))).length}`);

Console:
genericParamCounter = 0
GetGenericArguments result = 1

It seems that it comes from this:
https://github.com/vfsfitvnm/frida-il2cpp-bridge/blob/ae7ef9ea2ca0e33fe50994179b2a4751541549e4/src/il2cpp/structs/class.ts#L77

Hmm good catch. If I recall correctly, I added that check because GetGenericArguments throws an error if the class isn't generic. However, I think that check should ne removed.
However, the method I use to determine whether a class is generic comes from IL2CPP, and they make a distinction between generics (e.g. System.Action<T>) and inflateds (e.g. System.Action<System.Object>), and thus inflateds are not generics for them.
I should take a look at the code base again to see what we could do about that.

When I tried to remove the check my script started to timeout for whatever reason, I was expecting different behavior.
I didn't know generics and inflateds were different, so the correct name for the getter would be inflateds, right?

generics is fine imho. Regarding the timeout, it means an exception has occurred. You can verifiy that by adding Il2Cpp.installExceptionListener("all");.
Another thing frida-il2cpp-bridge lacks of is a proper exception detection mechanism.
Right now, invoke simply calls the RVA of that method; however, we could use il2cpp_runtime_invoke instead, which wraps the call in a try/catch block. That would solve a lot of problems, but it would introduce an additional overhead for every method call. I didn't iterate on this idea yet, but I think it would be a wise choice.
So yeah, the check is still required (for now).
We could either use a C# method to determine if a method is generic (but only inside generics and not elsewhere) or use il2cpp_runtime_invoke to call GetGenericArguments.
PS: genericParametersCount can be entirely removed.


Upgrade Helm to v3.12.0

We're currently installing Helm v3.7.1 which is quite old.  The current version is v3.12.0.

[ ] Upgrade Helm
[ ] Also: we no longer need to extract PowerShell to the NC_CACHE/windows/powershell folder since we refactored HyperVClient

DONE


Added v1.27 changelog info to the v1.27 release notes

Added changelog info ...
From:
https://docs.google.com/document/d/1QyJ5dbsRxeyXJYGrsZJuUet0HHwhJGJFf4wUZn7SYmE/edit#heading=h.5xl6dansestw
To:
https://github.com/zowe/docs-site/blob/jabauman-v127-changelog/docs/getting-started/release-notes/v1_27.md
====================================================================
Signed-off-by: JamesBauman<EMAIL_ADDRESS>Your checklist for this pull request
🚨Please review the guidelines for contributing to this repository.

[ ] If the changes in this PR is part of the next future release, make this pull request against the docs-staging branch which will be published at the next release boundary. If the changes in this PR are part of the current release, use the default base branch, master. For more information about branches, see https://github.com/zowe/docs-site/tree/master#understanding-the-doc-branches.

[ ] If this PR relates to GitHub issues in docs-site or other repositories, please list in Description, prefixed with close, fix or resolve keywords.

Description (including links to related git issues)
Please describe your pull request.
:heart:Thank you!

Thanks for the updates! I'll merge this PR for now to get ready for 1.27 GA but if anyone has any further comments or updates, please continue to push them to the docs-staging branch by end of Jan 24.


[Symfony] 3.2 to 3.3

For @shopsys ❤
Ref: https://github.com/symfony/symfony/blob/master/UPGRADE-3.3.md

[x] FrameworkBundle classes https://github.com/symfony/symfony/blob/master/UPGRADE-3.3.md#frameworkbundle

[x]  The console.exception event and the related ConsoleExceptionEvent class have been deprecated in favor of the console.error event and the ConsoleErrorEvent class. The deprecated event and class will be removed in 4.0.

[x] The ContextErrorException class is deprecated. \ErrorException will be used instead in 4.0.

Basic classes changes added, closing.
More in next relevant issue.


nvrtc: error: invalid value for --gpu-architecture (-arch)

Hi.
Thank you for your interesting creations!
I followed the steps until  I clicked "Tracking" .
My CUDA is 11.6 and my graphics card is RTX4090.
How can I solve this problem?

As fig 2 shows, the NVIDIA RUNtime Compilation (nvrtc) library doesn't recognize the GPU architecture you have specified for RTX 4090. You may find the solution here pytorch issues.

Hi. Thank you for your interesting creations! I followed the steps until I clicked "Tracking" . My CUDA is 11.6 and my graphics card is RTX4090. How can I solve this problem?

May I ask how you solved this problem?

May I ask how you solved this problem?

May I ask how you solved this problem?


accomodate iterables

If rowData has a .forEach method, use it when populating RowNodes.
This enables use of iterables such as Immutable.js Lists.
If ag-grid is running under ES5 or below, then it will continue
to use the for loop and [i] syntax.
Closes #737

just so happens, i have all this changed in the next release, and it's covering iterables. the 'similar' function in the future version is:
    private createRowNodesFromData(rowData: any[], firstId?: number): RowNode[] {
        if (!rowData) {
            return [];
        }

        var rowNodeId = _.exists(firstId) ? firstId : 0;

        // func below doesn't have 'this' pointer, so need to pull out these bits
        var nodeChildDetailsFunc = this.gridOptionsWrapper.getNodeChildDetailsFunc();
        var suppressParentsInRowNodes = this.gridOptionsWrapper.isSuppressParentsInRowNodes();
        var eventService = this.eventService;
        var gridOptionsWrapper = this.gridOptionsWrapper;
        var selectionController = this.selectionController;

        // kick off recursion
        var result = recursiveFunction(rowData, null, 0);
        return result;

        function recursiveFunction(rowData: any[], parent: RowNode, level: number): RowNode[] {
            var rowNodes: RowNode[] = [];
            rowData.forEach( (dataItem)=> {
                var node = new RowNode(eventService, gridOptionsWrapper, selectionController);
                var nodeChildDetails = nodeChildDetailsFunc ? nodeChildDetailsFunc(dataItem) : null;
                if (nodeChildDetails && nodeChildDetails.group) {
                    node.group = true;
                    node.children = recursiveFunction(nodeChildDetails.children, node, level + 1);
                    node.expanded = nodeChildDetails.expanded === true;
                    node.field = nodeChildDetails.field;
                    node.key = nodeChildDetails.key;
                }

                if (parent && !suppressParentsInRowNodes) {
                    node.parent = parent;
                }
                node.level = level;
                node.id = rowNodeId++;
                node.data = dataItem;

                rowNodes.push(node);
            });
            return rowNodes;
        }

    }

So is the new version ready to use? What happens now to make this work? Thanks!

i plan to release on friday 4th. no it's not ready to use right now.


feat: Added the option to pass a inputAcessoryView

Overview
Our team decided to use your package as one of dependency but we are required to use custom inputAcessoryViews which wasn't working with your package out of the box.
Test Plan

Follow the README instructions.
Pass a custom input view and a input view id as follows,

<MaskedTextInput
        mask="99/99/9999"
        onChangeText={(text, rawText) => {
          setMaskedValue(text)
          setUnmaskedValue(rawText)
        }}
        style={styles.input}
        keyboardType="numeric"
        inputAccessoryView={
        <InputAccessoryView nativeID='Done'>
        <Button
          onPress={() => Keyboard.dismiss()}
          title="Clear text"
        />
        </InputAccessoryView>
      }
        inputAccessoryViewID='Done'
      />

You should then see an input accessory on top of the keyboard and when you click it, it dismisses the keyboard.

ScreenShot

That's great, sorry for the delay to review it, and great job!


Add unit test for BrokersList component

Added unit test for BrokerList component

@Msarawan it looks to me that this PR has stalled, can you review it and rebase it if it is still relevant?

closed as completed via PR #76


Correctly encode / decode indexes

Motivation:
We did had an error in how to encoded / decoded indexes when using the dynamic table.
Modifications:
Correct decoding / encoding
Result:
Dynamic table works as expected

The changes look good to me


Wrong new line check

The bug you're experiencing might have already be reported!
Please search in the issues before creating one.
Expected Behavior

Method after multiline text
Observed Behavior

      """
            |longtext longtext longtext longtext longtext longtext
            |longtext longtext longtext longtext longtext longtext
            |longtext longtext longtext longtext longtext longtext
            |longtext longtext longtext longtext longtext longtext
            """.trimMargin("|")

Ktlint gives 2 error.
Argument should be on a separate line (unless all arguments can fit a single line)ktlintTestSourceSetCheck
Missing newline before ")"
Steps to Reproduce

Version of ktlint used: 0.38.0-alpha01
Name and version (or code for custom task) of integration used (Gradle plugin, Maven plugin, command line, custom Gradle task): ktlintCheck from https://github.com/JLLeitschuh/ktlint-gradle
Version of Gradle used (if applicable): 6.6
Operating System and version: MacOs - 10.15.6
Link to your project (if it's a public repository):

Thanks for the report @kozaxinan. To clarify: both errors are reporting on the """.trimMargin("|") line? And can you also confirm that this is a regression with the 0.38.0 alpha? (i.e. didn't occur in 0.37.2).

Likely introduced by this commit https://github.com/pinterest/ktlint/commit/a94b43fa8978a1cbe882b09b8c6112e612fb66b2

Yes that is a recession in alpha and yes it is on trimIndent line.

@kozaxinan with 0.39.0 release you could disable experimental 'argument-list-wrapping' rule to suppress this issue.


K8SPS-232: Ensure all members have up-to-date group seeds

CHANGE DESCRIPTION
Problem:
Partial information in group_replication_group_seeds variable.
Cause:
We run Cluster.addInstance from bootstrap process inside the mysql container. addInstance triggers CLONE and CLONE shuts down the mysqld process. When mysqld dies, mysql container restarts.
So the problem is, addInstance actually tries to wait for mysqld to come back and continue its post-clone procedures (including updating group_seeds variable in other members). But when the container is restarted, mysqlsh also dies and these post procedures are not run.
Solution:
Update group_seeds variable in other members from the bootstrap process of joiner node.
CHECKLIST
Jira

[x] Is the Jira ticket created and referenced properly?
[x] Does the Jira ticket have the proper statuses for documentation (Needs Doc) and QA (Needs QA)?
[x] Does the Jira ticket link to the proper milestone (Fix Version field)?

Tests

[x] Is an E2E test/test case added for the new feature/change?
[x] Are unit tests added where appropriate?

Config/Logging/Testability

[x] Are all needed new/changed options added to default YAML files?
[x] Are the manifests (crd/bundle) regenerated if needed?
[x] Did we add proper logging messages for operator actions?
[x] Did we ensure compatibility with the previous version or cluster upgrade process?
[x] Does the change support oldest and newest supported PS version?
[x] Does the change support oldest and newest supported Kubernetes version?

Test name
Status

async-ignore-annotations
passed

auto-config
passed

config
passed

config-router
passed

demand-backup
passed

gr-demand-backup
passed

gr-demand-backup-haproxy
failure

gr-haproxy
passed

gr-ignore-annotations
passed

gr-init-deploy
passed

gr-one-pod
passed

gr-recreate
passed

gr-scaling
passed

gr-self-healing
failure

gr-tls-cert-manager
passed

gr-users
passed

haproxy
passed

init-deploy
passed

limits
passed

monitoring
passed

one-pod
passed

operator-self-healing
passed

recreate
passed

scaling
passed

service-per-pod
passed

sidecars
passed

smart-update
passed

tls-cert-manager
passed

users
passed

version-service
passed

We run 30 out of 30

commit: https://github.com/percona/percona-server-mysql-operator/pull/438/commits/c4a06070810fb4369c5d061a1e429e7a7597fb10
image: perconalab/percona-server-mysql-operator:PR-438-c4a0607

Test name
Status

async-ignore-annotations
passed

auto-config
passed

config
passed

config-router
passed

demand-backup
passed

gr-demand-backup
passed

gr-demand-backup-haproxy
passed

gr-haproxy
passed

gr-ignore-annotations
passed

gr-init-deploy
passed

gr-one-pod
passed

gr-recreate
passed

gr-scaling
passed

gr-self-healing
passed

gr-tls-cert-manager
passed

gr-users
passed

haproxy
passed

init-deploy
passed

limits
passed

monitoring
passed

one-pod
passed

operator-self-healing
passed

recreate
failure

scaling
passed

service-per-pod
passed

sidecars
passed

smart-update
passed

tls-cert-manager
passed

users
passed

version-service
passed

We run 30 out of 30

commit: https://github.com/percona/percona-server-mysql-operator/pull/438/commits/7524a1e39504726daddecb3d063bf74a6bd9d872
image: perconalab/percona-server-mysql-operator:PR-438-7524a1e

Test name
Status

async-ignore-annotations
passed

auto-config
passed

config
passed

config-router
passed

demand-backup
passed

gr-demand-backup
passed

gr-demand-backup-haproxy
passed

gr-haproxy
passed

gr-ignore-annotations
passed

gr-init-deploy
passed

gr-one-pod
passed

gr-recreate
passed

gr-scaling
passed

gr-self-healing
passed

gr-tls-cert-manager
passed

gr-users
passed

haproxy
passed

init-deploy
passed

limits
passed

monitoring
passed

one-pod
passed

operator-self-healing
passed

recreate
passed

scaling
passed

service-per-pod
passed

sidecars
passed

smart-update
passed

tls-cert-manager
passed

users
passed

version-service
passed

We run 30 out of 30

commit: https://github.com/percona/percona-server-mysql-operator/pull/438/commits/7524a1e39504726daddecb3d063bf74a6bd9d872
image: perconalab/percona-server-mysql-operator:PR-438-7524a1e

Test name
Status

async-ignore-annotations
passed

auto-config
passed

config
passed

config-router
passed

demand-backup
passed

gr-demand-backup
passed

gr-demand-backup-haproxy
passed

gr-haproxy
passed

gr-ignore-annotations
passed

gr-init-deploy
passed

gr-one-pod
passed

gr-recreate
passed

gr-scaling
passed

gr-self-healing
passed

gr-tls-cert-manager
passed

gr-users
failure

haproxy
passed

init-deploy
passed

limits
passed

monitoring
passed

one-pod
passed

operator-self-healing
passed

recreate
passed

scaling
passed

service-per-pod
passed

sidecars
passed

smart-update
failure

tls-cert-manager
passed

users
passed

version-service
passed

We run 30 out of 30

commit: https://github.com/percona/percona-server-mysql-operator/pull/438/commits/1936d5cb2c9fb7b5c83f40fb866e7b1c2684bda8
image: perconalab/percona-server-mysql-operator:PR-438-1936d5c

Test name
Status

async-ignore-annotations
passed

auto-config
passed

config
passed

config-router
passed

demand-backup
passed

gr-demand-backup
failure

gr-demand-backup-haproxy
passed

gr-haproxy
passed

gr-ignore-annotations
passed

gr-init-deploy
passed

gr-one-pod
passed

gr-recreate
passed

gr-scaling
passed

gr-self-healing
failure

gr-tls-cert-manager
passed

gr-users
passed

haproxy
passed

init-deploy
passed

limits
passed

monitoring
passed

one-pod
passed

operator-self-healing
passed

recreate
passed

scaling
passed

service-per-pod
passed

sidecars
passed

smart-update
passed

tls-cert-manager
passed

users
passed

version-service
passed

We run 30 out of 30

commit: https://github.com/percona/percona-server-mysql-operator/pull/438/commits/4e174a8e532ee4f59894eec14505c66494566167
image: perconalab/percona-server-mysql-operator:PR-438-4e174a8

Test name
Status

async-ignore-annotations
passed

auto-config
passed

config
passed

config-router
passed

demand-backup
failure

gr-demand-backup
passed

gr-demand-backup-haproxy
passed

gr-haproxy
passed

gr-ignore-annotations
passed

gr-init-deploy
passed

gr-one-pod
passed

gr-recreate
passed

gr-scaling
passed

gr-self-healing
passed

gr-tls-cert-manager
passed

gr-users
passed

haproxy
passed

init-deploy
passed

limits
passed

monitoring
passed

one-pod
passed

operator-self-healing
passed

recreate
passed

scaling
passed

service-per-pod
passed

sidecars
passed

smart-update
passed

tls-cert-manager
passed

users
passed

version-service
passed

We run 30 out of 30

commit: https://github.com/percona/percona-server-mysql-operator/pull/438/commits/b4fad13df102d67ccc5f26a2260593c6c26f85c2
image: perconalab/percona-server-mysql-operator:PR-438-b4fad13


Cannot serve files from root (static_url="/" becomes "//")

Using static_url="/" does not work, because it results in a prefix of // being looked for then:
https://github.com/rexzhang/asgi-middleware-static-file/blob/main/asgi_middleware_static_file/core.py#L53
My use case is serving files from both "/static" (with static_url="/static), but also favicon.ico from the root.
For this I've tried to wrap two ASGIMiddlewareStaticFile applications around the real app.
(static_root_paths is a separate folder, so this would not expose all files)

My use case is serving files from both "/static" (with static_url="/static), but also favicon.ico from the root.

For this to work it would also not have to return a 404 in case it is not found then, so that the wrapped application would handle it.

thanks for your response. I released a new version for this bug. please upgrade to version 0.4.0

Thanks, closing then.
FWIW, I'm using a redirect now for favicon.ico, given that it would result in a 404 for all other urls then.

FYI, my solution:
<!doctype html>
<html lang="zh-CN">
<head>
  <link rel="shortcut icon" href="[/static/img/emo-logo.png](view-source:https://eve.sgfans.org/static/img/emo-logo.png)">
</head>
...


use tgmath.h for type independent math (e.g. sqrt)

@galambalazs Thanks for the PR. LGTM. @jessesquires?

@galambalazs can you please rebase so we can merge this? Thanks!

👍


Add the capability to use the Pod service account instead of using .gcp credential file

Hi again,
It would be awesome if instead of reading the .gcp json file with the credentials it would be possible to use the service account associated with the kubernetes pod.
Like we do for the GCP python client we don't need to write/specify any json file.
Can help on this point if you need it.
Thanks

Thanks for the suggestion! We would appreciate any help implementing, or simply pointers on how to do so!

Thanks for the suggestion. Do you have code snippets by any chance?

client = bigquery.Client()

query = """
    SELECT name, SUM(number) as total_people
    FROM `bigquery-public-data.usa_names.usa_1910_2013`
    WHERE state = 'TX'
    GROUP BY name, state
    ORDER BY total_people DESC
    LIMIT 20
"""
query_job = client.query(query)  # Make an API request.

print("The query data:")
for row in query_job:
    # Row values can be accessed by field name or index.
    print("name={}, count={}".format(row[0], row["total_people"]))

Here for example we don't use the .gcp crendentials file, we use the current gpc profile loaded where the script runs (and it would be the same case within a kubernetes pod)

If I'm not mistaken, I think you can initialize GcpCredentials without service_account_file or service_account_info, e.g. credentials=GcpCredentials(), and it would infer from the local env. Let me know if that works.

I guess I was mistaken; the output profile wouldn't contain those info. The PR above should fix it.


remove unnecessary else block

closes #99

Interesting. I'm using go version go1.4.2 darwin/386 (the latest stable version) and make test passes.
Should I also be running make test under a different version ?

@rexposadas I'm observing the same thing. Seems like for some reason it doesn't pass in circleci with tip version. I haven't had time to look into this I'll investigate later today.
I guess the fastest way to proceed would be to fix the Go version to 1.4.2 in circleci and then investigate why it's not passing in tip

@rexposadas I've updated master branch with proper fixes to make tests pass in tip version. Can you please rebase your PR and update?
Thx!


Modules are down in certain Source chapter and variant

Hello everyone
I found that all modules are down, even rune module, in both sourceacademy.org and sourceacademy.nus.edu.sg
import {heart, show} from "rune";

show(heart);

In sourceacademy.org it says Name UNKNOWN not declared.
In sourceacademy.nus.edu.sg it says SyntaxError: Unexpected token '('  (with no line number) and an error message "Error loading libraries" appeared
Update:
Dead in Source 4 Native, work in Source 3, other still testing

Possibly relevant to this issue in modules: here
This seems to be the case in Source 2 / 3 / 4 Native variants for me.

Full Typescript and Javascript are also down

They all should work now. @larrywang0701 can you confirm? If yes, feel free to close this issue as completed. Thanks!

Reopening this issue, to keep the context: Currently, the module pix_n_flix fails to load in Source §3 Native when used in the Assessment Workspace.

https://github.com/source-academy/frontend/assets/30220768/5cc76626-76cc-4303-bbd6-69854e98a3e5

I have noticed this when working on the ELDROW quest
In Source 3 Native, the import executed in the prepend can NOT keep in student's code. You have to re-import the functions again in student's code or use another constant to hold the imported value in the prepend.


http.DefaultClient is not available in App Engine

Operating System version: Google App Engine
Firebase SDK version: 3.2.0
Firebase Product: Auth

http.DefaultClient is not available in App Engine
Steps to reproduce:
Import firebase into any application running in google app engine.
func init() {
  c := context.Background()
  app, err := firebase.NewApp(c, &firebase.Config{ProjectID: "example_id"})
  if err != nil {
    return nil, err
  }
  client, err := app.Auth(c)
  if err != nil {
    return nil, err
  }
  token := "example_token"
  _, err := a.client.VerifyIDToken(c, token)
}

Relevant Code:
	return &Client{	 	return &Client{
 		is:        is,
		keySource: newHTTPKeySource(idTokenCertURL, hc),
 		projectID: conf.ProjectID,
 		signer:    signer,
 		version:   "Go/Admin/" + conf.Version,
 	}, nil

was changed to
	return &Client{	 	return &Client{
 		is:        is,
		keySource: newHTTPKeySource(idTokenCertURL, http.DefaultClient),
 		projectID: conf.ProjectID,
 		signer:    signer,
 		version:   "Go/Admin/" + conf.Version,
 	}, nil

https://github.com/firebase/firebase-admin-go/commit/1d2a52c3c8195451b5ad2e0a173906bd6eb9529d#diff-3ba8fa87da15d764efcb8ea0c83f6e97R132

Thanks @fizzy123 for pointing it out. Fix in progress.

Any update on when this could get released? We also could do with the fix 🙂

I've been absolutely swamped. I'll find some time tomorrow (Friday) to get this released.

Is there a way to make go get use the master branch for local development? Until this gets released.

This was released yesterday.


update btns on mobile

resolve https://github.com/kubevela/kubevela.io/issues/661

cc @wonderflow
before

after


feat(doc): Introduce how it works and concepts

Description

/assign

https://github.com/tensorchord/envd-docs/pull/45


Using Local Vs Handles in Nan

Hi,
Nan 2.x changed all function signatures to use only Local handles, it does not use Handle anymore, is there any specific reason using Local over Handle.
What is the technical difference between Local and Handle other than inheritance relationship, can they be used interchangeably?
Thanks

One of the changes in the V8 project is that v8::Handle was deprecated and completely superseded by v8::Local.

^ that
In V8 4.5: https://codereview.chromium.org/1224623004
Uncertain when it'll be removed but you need to prepare for a world without Handle so best do it now so you don't have to do it later.

Do not use Handle, it is outdated. Local is the same but better.
On September 29, 2015 4:41:08 PM GMT+02:00, Gayathri<EMAIL_ADDRESS>wrote:

Hi,
Nan 2.x changed all function signatures to use only Local handles,
it does not use Handle anymore, is there any specific reason using
Local over Handle.
What is the technical difference between Local and Handle other
than inheritance relationship, can they be used interchangeably?
Thanks

Reply to this email directly or view it on GitHub:
https://github.com/nodejs/nan/issues/474


Make the TOTP code optional

This relates to #26 and might have to be done in conjunction?
If a user does not have a TOTP code, they should not be asked for it.

Completed by @juhangsin


Legend: Scale and compass

Scale Bar
Scale bar should show metric and customary units up to some limit at some distribution.
Unit amounts shown
Ability to show units on the scale bar are limited by font size and image resolution.
Reasonable sets of units to show might be:

[0, 1, 2, 5, 10]
[0, 2, 5, 10, 25]
[0, 5, 10, 25]
[0, 10, 25, 50]
[0, 25, 50, 100]

Even if specific numbers aren't shown, we can still show small units in the bar itself, unlabelled; e.g.

The maximum length of a scale is essentially the width of the map, so for simplicity we can assume the shortest axis is the maximum, e.g. let maximum = min(scanFile.extent.x, scanFile.extent.z)
Maybe we should prefer it to be less than some fraction of the map, e.g. less than 1/3 or 1/2 of the width.
Scale ratios?
Can we ever display scale ratios (1in:10ft)? Which output formats would support scale drawing?
Style
For laziness / ease-of-rendering, I'll probably start with the ol' black'n'white bars, like the example above.
Should others styles be supported?
Compass
Compass should indicate magnetic north. We should assume that "up" is North, as long as we're still setting ARWorldTrackingConfiguration#worldAlignment = .gravityAndHeading.

First-pass of scale bars implemented by da48c4f.
Caveats:

implemented ProjectedMiniWorldRender#renderer(_:didRenderScene:atTime) which is called excessively (every frame), though we only redraw scale bars if the map scale changes.
scale bars lose synchronization when changing cutoff height for some reason?
landscape redraws scale bars wrong but landscape support is already weak...

Resolved sync issue, had forgotten about how class properties work in views.


how to use katex environments like \begin{matrix}

hi there,
I have this index.html:
<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <title>{{title}}</title>
  {{{style}}}
  <script src="remark.min.js"></script>
<link rel="stylesheet"<EMAIL_ADDRESS>integrity="sha384-9eLZqc9ds8eNjO3TmqPeYcDj8n+Qfa4nuSiGYa6DjLNcv9BtN69ZIulL9+8CqC9Y" crossorigin="anonymous">
<script defer<EMAIL_ADDRESS>integrity="sha384-K3vbOmF2BtaVai+Qk37uypf7VrgBubhQreNQe9aGsz9lB63dIFiQVlJbr92dw2Lx" crossorigin="anonymous"></script>
<script defer<EMAIL_ADDRESS>integrity="sha384-kmZOZB5ObwgQnS/DuDg6TScgOiWWBiVt0plIRkZCmE6rDZGrEOQeHM5PcHi+nyqe" crossorigin="anonymous"
    onload="renderMathInElement(document.body);"></script>

  <script>
    function create() {
      var renderMath = function() {
        // renderMathInElement(document.body);
        // or if you want to use $...$ for math,
        renderMathInElement(document.body, {
          delimiters: [
            {left: "$$", right: "$$", display: true},
            {left: "$", right: "$", display: false},
            {left: "\\(", right: "\\)", display: false},
            {left: "\\[", right: "\\]", display: true}
            // {left: "\\begin{equation}", right: "\\end{equation}", display: true},
            // {left: "\\begin{aligned}", right: "\\end{aligned}", display: true}
          ]
        });
      }
      remark.macros.scale = function (percentage) {
        var url = this;
        return '<img src="' + url + '" style="width: ' + percentage + '" />';
      };
      return remark.create({
        {{{source}}},
        ratio: '16:9',
        highlightLines: true,
        countIncrementalSlides: false,
        highlightStyle: 'github'
      },renderMath);
    }
  </script>
</head>
<body onload="slideshow = create()">
</body>
</html>

and I have this .md
# The basics

$\alpha$

$$\alpha + \beta$$

$$
\begin{matrix}
   a & b \\
   c & d
\end{matrix}
$$

but the environment stuff never works:

any ideas?

Many problems occur when I just tried to type several simple formulae. like subscripts
$$\sigma_x = \frac{1}{2}$$ will not be displayed correctly.

I think you need to escape the underscore.
Try
\sigma_x
On Sat 12 Oct 2019 at 16:49, LiukDiihMrau<EMAIL_ADDRESS>wrote:

Many problems occur when I just tried to type several simple formulae.
like subscripts
$$\sigma_x = \frac{1}{2}$$ will not be displayed correctly.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/gnab/remark/issues/551?email_source=notifications&email_token=AAHZM5TGWQPMOKG4DHQC7M3QOHPX3A5CNFSM4GKHJOMKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBCBBAY#issuecomment-541331587,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAHZM5THE3PQNEMJXQBQOIDQOHPX3ANCNFSM4GKHJOMA
.

Also I think I remember that you need to put multi line latex environments
on one markdown line inside $$ delims. Linebreaks after a \ for example
will not work. That’s what I found with R xaringan package at least (that
uses remark)
On Sat 12 Oct 2019 at 17:15, Florian Oswald<EMAIL_ADDRESS>wrote:

I think you need to escape the underscore.
Try
\sigma_x
On Sat 12 Oct 2019 at 16:49, LiukDiihMrau<EMAIL_ADDRESS>wrote:

Many problems occur when I just tried to type several simple formulae.
like subscripts
$$\sigma_x = \frac{1}{2}$$ will not be displayed correctly.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/gnab/remark/issues/551?email_source=notifications&email_token=AAHZM5TGWQPMOKG4DHQC7M3QOHPX3A5CNFSM4GKHJOMKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBCBBAY#issuecomment-541331587,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAHZM5THE3PQNEMJXQBQOIDQOHPX3ANCNFSM4GKHJOMA
.


[tablecard]: i18n fixes for the Table card severity strings.  use numbers instead

Summary

small fix to use numbers in the filter column text and as the labeled spans in the severity column

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

npm package (@release-1.x dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[BUG] Update of host OS (HCI -> HCIv2) breaks AKS-HCI installation: Cannot reach management cluster

Describe the bug
Running an OS update on a host with an AKS HCI deployment can cause the deployment to enter a bad state, rendering the management cluster's api server unreachable and fail day 2 operations. The kube-vip pod will not be able to apply VIP configuration to the interface, and as a result the VIP will be unreachable.
To Reproduce
Update a cluster with an existing AKS HCI deployment from HCI to HCIv2 then try running commands that attempt to reach the management cluster such as Get-AksHciCluster.
Expected behavior
Any operations that attempt to reach the management cluster will fail with errors such as:
PS C:\Users\wolfpack> Get-AksHciCluster
C:\Program Files\AksHci\kvactl.exe cluster list --kubeconfig="C:\ClusterStorage\Volume1\Msk8s\WorkingDir\<IP_ADDRESS>23\kubeconfig-mgmt" System.Collections.Hashtable.generic_non_zero 1 [Error: failed to connect to the cluster: action failed after 9
attempts: Get "https://<IP_ADDRESS>:6443/api?timeout=10s": net/http: request canceled while waiting for connection
(Client.Timeout exceeded while awaiting headers)]
At C:\Program Files\WindowsPowerShell\Modules\Kva\1.0.22\Common.psm1:2164 char:9
+         throw $errMessage
+         ~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (C:\Program File...iting headers)]:String) [], RuntimeException
    + FullyQualifiedErrorId : C:\Program Files\AksHci\kvactl.exe cluster list --kubeconfig="C:\ClusterStorage\Volume1\Msk8s\WorkingDir\<IP_ADDRESS>23\kubeconfig-mgmt" System.Collections.Hashtable.generic_non_zero 1 [Error: failed to connect to the cluster: action failed after 9 attempts: Get "https://<IP_ADDRESS>:6443/api?timeout=10s": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)]

Solution
Restarting the kube-vip container will bring the deployment back to a good state:

Get container ID:
$ ssh -i (Get-AksHciConfig).Moc.sshPrivateKey clouduser@<ip> "sudo crictl ls | grep 'kube-vip'"
The output should look something like this; with the container ID being the first value 4a49a5158a5f8

4a49a5158a5f8       7751a28bb5ce1       28 minutes ago      Running             kube-vip                         1                   cf9681f921a55

Restart the contiainer
$ ssh -i (Get-AksHciConfig).Moc.sshPrivateKey clouduser@<ip> "sudo crictl stop <Container ID>"

@mattbriggs

https://docs.microsoft.com/en-us/azure-stack/aks-hci/known-issues-upgrade?#update-of-host-os-hci-to-hciv2-breaks-aks-on-azure-stack-hci-installation-cannot-reach-management-cluster

Closing this since this has been fixed. We'll open it again if we see this being an issue again.


Sync with Simplenote not working after upgrade to MacOS 10.14 Mojave

I am currently running nvALT Version 2.2.8 (128) MacOS Mojave 10.14.1 (18B75). Sync with Simplenote is no longer working. It worked fine with MacOS High Sierra 10.13.
The Simplenote login in nvALT's preferences has the green jewel, indicating that the SimpleNote credentials are correct. I tried deleting and re-adding the Simplenote login info, but that didn't fix it. I also tried various combinations of restarting the app while changing the "check for remote changes" frequency and checking and unchecking the "synchronize" checkbox.

I just became aware of the Simplenote API change ... perhaps my upgrade to Mojave was just coincidental timing.

Legacy Simplenote API
Some older applications may still be using the legacy Simplenote API at https://simple-note.appspot.com. Note that this API has been deprecated and will no longer function after October 1, 2018.

Simplenote sync is still not working for me and I'm still on 10.11. I also guess it's the API change.


UUID: 7/21 Add onboarded data providers

Add records to the data_centers table for newly onboarded data providers.

closing as this was finished under a separate issue


Fix of breaking change with docutils: docutils.nodes.reprunicode removed with version 0.21

Hi,
I like to use nbsphinx-link for building my docs, but got an AttributeError: module 'docutils.nodes' has no attribute 'reprunicode' today. I realized that nbsphinx-link/__init__.py::LinkedNotebookParser uses docutils.nodes.reprunicode, which was removed as of docutils v0.21, as being a 'Python 2 compatibility hack'.
Indeed, just leaving it out will fix the bug, which is what I did in the below commit. Hope to make a useful contribution.
Cheers, F
Edit: See #22 for a better approach maintaining Python 2 compatibility.

@antoinecollet5 good point, according to the setup.py Python 2.7 is actually supported. Therefore the option you proposed in #22 is the safer way to go for sure!
Would you like to just make a PR yourself? Then I can close this one.
Best, F

Ok, in that case, simply update this PR and link the issue in the PR description.
Antoine

Why did you close it ?

oops, thought you would want to make a new PR. As you already did now, there's no point in reopening it, right?

Well in the mean time I did another PR since you closed this one ^^^ahah

haha yea I saw that, but only now understood what you were suggesting. anyway, I'll close it now ...:D


Release new version of tendermint-proto with updated dependencies

Release a new version with updated prost and bytes.

Does #796 take care of this?

Does #796 take care of this?

Closing for now, assuming #796 takes care of this.


Inconsistent UI of Extensions tab in Activity Bar with position Top

When Activity Bar has Top position Extensions tab has controls right in the bar. It's inconsistent with other tabs that don't have such controls and prevent a user from iterating through tabs easily.
https://github.com/microsoft/vscode/assets/511242/4ba678d0-0d66-44c9-ac2f-b10759e9dc0c
Extensions tab shouldn't have controls right in the Activity Bar. They should be a part of the tab's content like it's done for Search tab.
Example of the new Extensions tab UI:

/duplicate
https://github.com/microsoft/vscode/issues/195262

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.
Happy Coding!


Little help please

Hi im quite new to this, so i hoped someone could walk me through please. At the moment im stuck with this step : The script will explain what changes it will make and prompt you before the installation begins. Once you’ve installed Homebrew, insert the Homebrew directory at the top of your PATH environment variable. You can do this by adding the following line at the bottom of your ~/.profile file
Where should i add ~/.profile file? Im using mac os btw, thanks guys.

I don't remember doing so when installed Homebrew.. Check their website LINK

Thanks for the reply. so i can skip that part of this page? http://docs.python-guide.org/en/latest/starting/install/osx/#install-osx

Um, what OS are you running? You can't have a ~/.profile and export PATH. The former is linux/macos, the latter is windows.

Thanks for the reply mate, OS X El capitan 10.11.5

Yeah, sorry about that. Had a migraine yesterday and wasn't concentrating properly. You're correct, these instructions are for OSX and the path statement is valid/relevant.
The PATH environment variable tells the OS where to search for executables, so instead of typing "/usr/local/bin/brew" every time, you can just type "brew" and the system will find the correct location automatically.
In this case, the statement adds /usr/local/bin and /usr/local/sbin to whatever is defined as your current path variable.
I would have expected /usr/local/bin and /usr/local/sbin to already be in your path, but if not, add the export PATH statement to the end of your ~/.profile file.

Ah i see. Also do you know how i link python to anything if thats needed?
"brew install python
Warning: python-2.7.12 already installed, it's just not linked"

Please use this thread for error reporting and feature requests. For help with running the bot, have a look at the #help thread on the slack forum.


Place the plots above the code

I think it would make more sense for the purpose of browsing

agree, I will do it like this:


DrugBank dataset shows error

Describe your question.

when i get the DrugBank dataset,  it shows error tokenizing data in 666 row, whether the origin dataset has some problem?
Thank U.

It works completely fine on my side. Which pandas version are you using?

or it is likely you have stopped the downloading process before and our package detects there is a half-downloaded dataset and automatically loads it. Could you find the file under the data folder and delete the drugbank.csv file?

closing for now, feel free to reopen if the issue persists


Allow commands to be run per tag

For example, export-html-per-tag and deref-openapi-per-tag, which will create a single output file for each tag in the input.

Now done!


Is this project still maintained?

I would like to use this project, but last commit was in november. Eloquent version is outdated too. Is this project still maintained?

If I'm honest, this project was never maintained. It started as a little "joke" to trigger Symfony people that Laravel isn't that bad, which then turned out to be actually used..
I've never used this bundle in any Symfony application and I don't keep up with the Laravel community, so it's a bit of a weird bundle. Feel free to fork/modify/send PRs to this project. :smiley:


Can't access previously created data-only volumes after the 1.10 upgrade

After the 1.10 upgrade, none of my previously created data-only volume containers are accessible. They still exist when running docker ps -a, and no errors are shown in the docker logs.
For example:
docker run -it --rm --volumes-from samba_config ubuntu /bin/bash
root@eaf6e72b4c6e:/# ls /config
ls: cannot access /config: No such file or directory

I would have expected to see the /config directory present (see the samba_config configuration below).
The systemd journal seems to show that the docker0 interface gets disabled, then re-enabled:
Feb 06 10:37:42 homeserver kernel: device vethfecaad7 entered promiscuous mode
Feb 06 10:37:42 homeserver kernel: IPv6: ADDRCONF(NETDEV_UP): vethfecaad7: link is not ready
Feb 06 10:37:42 homeserver kernel: docker0: port 2(vethfecaad7) entered forwarding state
Feb 06 10:37:42 homeserver kernel: docker0: port 2(vethfecaad7) entered forwarding state
Feb 06 10:37:42 homeserver systemd-timesyncd[435]: Network configuration changed, trying to establish connection.
Feb 06 10:37:42 homeserver kernel: docker0: port 2(vethfecaad7) entered disabled state
Feb 06 10:37:42 homeserver systemd-timesyncd[435]: Synchronized to time server <IP_ADDRESS>:123 (2.arch.pool.ntp.org).
Feb 06 10:37:42 homeserver systemd-udevd[17749]: Could not generate persistent MAC address for vethfecaad7: No such file or directory
Feb 06 10:37:42 homeserver systemd-timesyncd[435]: Network configuration changed, trying to establish connection.
Feb 06 10:37:42 homeserver systemd-timesyncd[435]: Synchronized to time server <IP_ADDRESS>:123 (2.arch.pool.ntp.org).
Feb 06 10:37:43 homeserver kernel: eth0: renamed from veth97cdbb1
Feb 06 10:37:43 homeserver systemd-timesyncd[435]: Network configuration changed, trying to establish connection.
Feb 06 10:37:43 homeserver systemd-networkd[442]: vethfecaad7: Gained carrier
Feb 06 10:37:43 homeserver kernel: IPv6: ADDRCONF(NETDEV_CHANGE): vethfecaad7: link becomes ready
Feb 06 10:37:43 homeserver kernel: docker0: port 2(vethfecaad7) entered forwarding state
Feb 06 10:37:43 homeserver kernel: docker0: port 2(vethfecaad7) entered forwarding state
Feb 06 10:37:43 homeserver systemd-timesyncd[435]: Synchronized to time server <IP_ADDRESS>:123 (2.arch.pool.ntp.org).
Feb 06 10:37:44 homeserver systemd-networkd[442]: vethfecaad7: Gained IPv6LL
Feb 06 10:37:44 homeserver systemd-timesyncd[435]: Network configuration changed, trying to establish connection.
Feb 06 10:37:44 homeserver systemd-timesyncd[435]: Synchronized to time server <IP_ADDRESS>:123 (2.arch.pool.ntp.org).

The data-only container samba_config, previously accessible from the --volumes-from directive when running any container:
docker inspect samba_config
[
    {
        "Id": "55781cb6b0c3ab6d3c69377d9368cb8c70bcc3472b512e150fb3fd931b76169c",
        "Created": "2015-06-17T21:12:43.904990426Z",
        "Path": "true",
        "Args": [],
        "State": {
            "Status": "created",
            "Running": false,
            "Paused": false,
            "Restarting": false,
            "OOMKilled": false,
            "Dead": false,
            "Pid": 0,
            "ExitCode": -1,
            "Error": "[8] System error: exec: \"true\": executable file not found in $PATH",
            "StartedAt": "0001-01-01T00:00:00Z",
            "FinishedAt": "0001-01-01T00:00:00Z"
        },
        "Image": "sha256:2935444c7f23efd91dd0c2b6f1bd642552b03b47a5ebdb154212f7141c083f40",
        "ResolvConfPath": "/var/lib/docker/containers/55781cb6b0c3ab6d3c69377d9368cb8c70bcc3472b512e150fb3fd931b76169c/resolv.conf",
        "HostnamePath": "/var/lib/docker/containers/55781cb6b0c3ab6d3c69377d9368cb8c70bcc3472b512e150fb3fd931b76169c/hostname",
        "HostsPath": "/var/lib/docker/containers/55781cb6b0c3ab6d3c69377d9368cb8c70bcc3472b512e150fb3fd931b76169c/hosts",
        "LogPath": "/var/lib/docker/containers/55781cb6b0c3ab6d3c69377d9368cb8c70bcc3472b512e150fb3fd931b76169c/55781cb6b0c3ab6d3c69377d
9368cb8c70bcc3472b512e150fb3fd931b76169c-json.log",
        "Name": "/samba_config",
        "RestartCount": 0,
        "Driver": "btrfs",
        "MountLabel": "",
        "ProcessLabel": "",
        "AppArmorProfile": "",
        "ExecIDs": null,
        "HostConfig": {
            "Binds": null,
            "ContainerIDFile": "",
            "LogConfig": {
                "Type": "json-file",
                "Config": {}
            },
            "NetworkMode": "bridge",
            "PortBindings": {},
            "RestartPolicy": {
                "Name": "no",
                "MaximumRetryCount": 0
            },
            "VolumeDriver": "",
            "VolumesFrom": null,
            "CapAdd": null,
            "CapDrop": null,
            "Dns": [],
            "DnsOptions": [],
            "DnsSearch": [],
            "ExtraHosts": null,
            "GroupAdd": null,
            "IpcMode": "",
            "Links": null,
            "OomScoreAdj": 0,
            "PidMode": "",
            "Privileged": false,
            "PublishAllPorts": false,
            "ReadonlyRootfs": false,
            "SecurityOpt": null,
            "UTSMode": "",
            "ShmSize": 0,
            "ConsoleSize": [
                0,
                0
            ],
            "Isolation": "",
            "CpuShares": 0,
            "CgroupParent": "",
            "BlkioWeight": 0,
            "BlkioWeightDevice": null,
            "BlkioDeviceReadBps": null,
            "BlkioDeviceWriteBps": null,
            "BlkioDeviceReadIOps": null,
            "BlkioDeviceWriteIOps": null,
            "CpuPeriod": 0,
            "CpuQuota": 0,
            "CpusetCpus": "",
            "CpusetMems": "",
            "Devices": [],
            "KernelMemory": 0,
            "Memory": 0,
            "MemoryReservation": 0,
            "MemorySwap": 0,
            "MemorySwappiness": null,
            "OomKillDisable": null,
            "PidsLimit": 0,
            "Ulimits": null
        },
        "GraphDriver": {
            "Name": "btrfs",
            "Data": null
        },
        "Mounts": [],
        "Config": {
            "Hostname": "55781cb6b0c3",
            "Domainname": "",
            "User": "",
            "AttachStdin": false,
            "AttachStdout": true,
            "AttachStderr": true,
            "Tty": false,
            "OpenStdin": false,
            "StdinOnce": false,
            "Env": [],
            "Cmd": [
                "true"
            ],
            "Image": "myscratch",
            "Volumes": {
                "/config": {}
            },
            "WorkingDir": "",
            "Entrypoint": null,
            "OnBuild": null,
            "Labels": {}
        },
        "NetworkSettings": {
            "Bridge": "",
            "SandboxID": "",
            "HairpinMode": false,
            "LinkLocalIPv6Address": "",
            "LinkLocalIPv6PrefixLen": 0,
            "Ports": null,
            "SandboxKey": "",
            "SecondaryIPAddresses": null,
            "SecondaryIPv6Addresses": null,
            "EndpointID": "",
            "Gateway": "",
            "GlobalIPv6Address": "",
            "GlobalIPv6PrefixLen": 0,
            "IPAddress": "",
            "IPPrefixLen": 0,
            "IPv6Gateway": "",
            "MacAddress": "",
            "Networks": null
        }
    }
]

Running docker in debug mode shows nothing abnormal:
DEBU[0987] Calling GET /v1.22/containers/b347cffdd2787a2eedc30383ac8e0e4ebfe84303f4c033272887d4c3fad2dd32/json
DEBU[0987] GET /v1.22/containers/b347cffdd2787a2eedc30383ac8e0e4ebfe84303f4c033272887d4c3fad2dd32/json
DEBU[0987] Calling DELETE /v1.22/containers/b347cffdd2787a2eedc30383ac8e0e4ebfe84303f4c033272887d4c3fad2dd32
DEBU[0987] DELETE /v1.22/containers/b347cffdd2787a2eedc30383ac8e0e4ebfe84303f4c033272887d4c3fad2dd32?v=1
DEBU[0995] Calling POST /v1.22/containers/create
DEBU[0995] POST /v1.22/containers/create
DEBU[0995] form data: {"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Cmd":null,"Domainname":"","Entrypoint":null,"Env":
[],"HostConfig":{"Binds":null,"BlkioDeviceReadBps":null,"BlkioDeviceReadIOps":null,"BlkioDeviceWriteBps":null,"BlkioDeviceWriteIOps":nul
l,"BlkioWeight":0,"BlkioWeightDevice":null,"CapAdd":null,"CapDrop":null,"CgroupParent":"","ConsoleSize":[0,0],"ContainerIDFile":"","CpuP
eriod":0,"CpuQuota":0,"CpuShares":0,"CpusetCpus":"","CpusetMems":"","Devices":[],"Dns":[],"DnsOptions":[],"DnsSearch":[],"ExtraHosts":nu
ll,"GroupAdd":null,"IpcMode":"","Isolation":"","KernelMemory":0,"Links":null,"LogConfig":{"Config":{},"Type":""},"Memory":0,"MemoryReser
vation":0,"MemorySwap":0,"MemorySwappiness":-1,"NetworkMode":"default","OomKillDisable":false,"OomScoreAdj":0,"PidMode":"","PidsLimit":0
,"PortBindings":{},"Privileged":false,"PublishAllPorts":false,"ReadonlyRootfs":false,"RestartPolicy":{"MaximumRetryCount":0,"Name":"no"}
,"SecurityOpt":null,"ShmSize":0,"UTSMode":"","Ulimits":null,"VolumeDriver":"","VolumesFrom":["samba_config"]},"Hostname":"","Image":"ubu
ntu","Labels":{},"NetworkingConfig":{"EndpointsConfig":{}},"OnBuild":null,"OpenStdin":false,"StdinOnce":false,"StopSignal":"SIGTERM","Tt
y":false,"User":"","Volumes":{},"WorkingDir":""}
DEBU[0996] container mounted via layerStore: /var/lib/docker/btrfs/subvolumes/7592834c248ed4c5fc37825d83aa8380755d1faa81af6361f0d760fbc4
ffdab2
DEBU[0996] Calling POST /v1.22/containers/d8ee91c2bbc4f53e042871abd94312176e08ddc9fcfd86100da426ae84cfa851/start
DEBU[0996] POST /v1.22/containers/d8ee91c2bbc4f53e042871abd94312176e08ddc9fcfd86100da426ae84cfa851/start
DEBU[0996] container mounted via layerStore: /var/lib/docker/btrfs/subvolumes/7592834c248ed4c5fc37825d83aa8380755d1faa81af6361f0d760fbc4
ffdab2
DEBU[0996] Assigning addresses for endpoint stoic_allen's interface on network bridge
DEBU[0996] RequestAddress(LocalDefault/<IP_ADDRESS>/16, <nil>, map[])
DEBU[0997] Assigning addresses for endpoint stoic_allen's interface on network bridge
DEBU[1000] Calling GET /v1.22/containers/json
DEBU[1000] GET /v1.22/containers/json
DEBU[1000] Releasing addresses for endpoint stoic_allen's interface on network bridge
DEBU[1000] ReleaseAddress(LocalDefault/<IP_ADDRESS>/16, <IP_ADDRESS>)

I am running Docker on Archlinux with systemd-networkd controlling the network setup:
~ $ cat /etc/systemd/network/bridge.netdev
[NetDev]
Name=br0
Kind=bridge
~ $ cat /etc/systemd/network/bridge.network
[Match]
Name=br0

[Network]
Address=<IP_ADDRESS>/24
Gateway=<IP_ADDRESS>
DNS=<IP_ADDRESS>
DNS=<IP_ADDRESS>

~ $ cat /etc/systemd/network/eno1.network
[Match]
Name=en*

[Network]
Bridge=br0

~ $ docker info
Containers: 11
 Running: 0
 Paused: 0
 Stopped: 11
Images: 193
Server Version: 1.10.0
Storage Driver: btrfs
 Build Version: Btrfs v4.3.1
 Library Version: 101
Execution Driver: native-0.2
Logging Driver: json-file
Plugins:
 Volume: local
 Network: bridge null host
Kernel Version: 4.4.1-2-ARCH
Operating System: Arch Linux
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 7.602 GiB
Name: homeserver
ID: FV23:MQ6K:JGLR:LYAC:GIQX:QTI6:A3IR:37L5:FR6Y:5MXE:YAV6:4RAH
Debug mode (server): true
 File Descriptors: 11
 Goroutines: 27
 System Time: 2016-02-06T11:57:25.515835606-08:00
 EventsListeners: 0
 Init SHA1: 79ca7bc83376a859533464da88086c44b22513bc
 Init Path: /usr/lib/docker/dockerinit
 Docker Root Dir: /var/lib/docker
~ $ docker version
Client:
 Version:      1.10.0
 API version:  1.22
 Go version:   go1.5.3
 Git commit:   590d5108
 Built:        Sat Feb  6 18:04:28 2016
 OS/Arch:      linux/amd64

Server:
 Version:      1.10.0
 API version:  1.22
 Go version:   go1.5.3
 Git commit:   590d5108
 Built:        Sat Feb  6 18:04:28 2016
 OS/Arch:      linux/amd64

I'm really stumped here! My entire Docker container stack is unusable right now...
Thanks,
Scott

If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.
If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.
For more information about reporting issues, see CONTRIBUTING.md.
You don't have to include this information if this is a feature request
(This is an automated, informational response)

BUG REPORT INFORMATION
Use the commands below to provide key information from your environment:
docker version:
docker info:
Provide additional environment details (AWS, VirtualBox, physical, etc.):
List the steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Provide additional info you think is important:
----------END REPORT ---------
#ENEEDMOREINFO

I see that Mounts is empty.
What version did you upgrade from?

The last 1.9 version ... can't remember exactly...1.9.1 or 2 I think. Archlinux that's been kept updated regularly, so not a very old version for sure.

I am also having this problem, I upgraded from Docker version 1.9.1, build a34a1d5

Same here, Upgrading from 1.91 to 1.10.0, --volumes-from no longer appear to be working for me.

Same here, upgraded from 1.6.1. MountPoints in config.v2.json is empty. Adding it manually don't work because after every start of the container its empty again.
Running the v1.10-migrator stops with error: msg="multiple storage drivers found at /var/lib/docker, please specify one with "-s" option"

In the interest of moving forward in my setup (Ubuntu 14.04), I used the python script below to copy data from my non-working data-only volumes into newly created ones. This appears to allow it to work.
While it worked for me, it may not for you and there is most likely a better way...  But perhaps someone else will find this useful.
# save the python script below as copy.py
docker rename <non-working-data-container-name> <saved-container-name>
python copy.py <saved-container-name> <non-working-data-container-name>
# check everything to make sure things work for you and then optionally cleanup the old
# data with the following commands...
docker rm <saved-container-name>
docker volume rm $(docker volume ls -q --filter=dangling=true)

#!/usr/bin/python
import sys
import os
import json
import subprocess

VAR_DOCKER = "/var/lib/docker"

def call(command):
    process = subprocess.Popen(command, shell=True, stdout=subprocess.PIPE)
    process.wait()
    if process.returncode != 0:
        raise Exception("Failed call to '" + command + "'")
    return process.stdout.read()

def main():
    if len(sys.argv) < 3:
        sys.stdout.write("Usage: %s <old_container_name> <new_container_name>\n" % (sys.argv[0]))
        return 1

    source_container_name = sys.argv[1]
    new_container_name = sys.argv[2]

    container_id = call("docker inspect --format='{{.Id}}' " + source_container_name)

    old_config_path = os.path.join(VAR_DOCKER, "containers", container_id.strip(), "config.json")
    if not os.path.exists(old_config_path):
        sys.stderr.write("Could not find " + old_config_path + ". Perhaps this is not an old container?\n")
        return 1

    old_config = json.load(open(old_config_path))

    volumes = old_config["Volumes"]

    create_command = "docker create"
    for k in volumes.keys():
        create_command += " -v "
        create_command += k
    create_command += " --name " + new_container_name
    create_command += " "
    create_command += old_config["Config"]["Image"]
    create_command += " "
    create_command += " ".join(old_config["Config"]["Cmd"])
    call(create_command)

    new_config = json.loads(call("docker inspect " + new_container_name))
    for mount in new_config[0]["Mounts"]:
        source_dir = volumes[mount["Destination"]]
        destination_dir = mount["Source"]
        rsync_command = "rsync -avc " + source_dir + "/ " + destination_dir
        subprocess.call(rsync_command, shell=True)

if __name__ == '__main__':
    sys.exit(main())

Thanks @sruffell , worked like a charm !

see also: #20412

Thanks @sruffell your script saved my day last week when I upgraded to the latest docker version!

Same issue when upgraded from 1.6.2, the data only container doesn't seem's to work due to new configuration file (v2) with missing volume information from old config file.

Same happened here when CoreOS upgraded from 899.17.0 (including Docker 1.9.1) to 1010.5.0 (including Docker 1.10.3).
Big thanks to @sruffell , your script is so awesome! Python was not available on this computer but your script is so well-written I was able to extract it's function and repeat it manually. That was a life saver!

Still happened in Docker 1.12.0

Ok, I've finally tracked down this regression.
Fix is here: #26342

If someone could test that'd be amazing.

Just tested 1.13.0-rc4 and I do not have volume binds available when I start containers created with 1.6.2.  Downgrade to 1.9.0 fixes the issue.

ping @cpuguy83 ^^

@markkimsal General rule of thumb is do not upgrade more than 1 version at a time... though 2 or more may be possible at times (or even most of the time).
But in any case, if you could post (in a new issue and ping me) the docker inspect output of such a container from both 1.6 and 1.13 that'll help track down where the missing link is here.

not sure if it's related, but we had docker auto-updated last night without our knowledge and lost production data when we restarted our database container. We went from docker 1.12 to 1.13.

@louissalin when running in production it's always recommended to "pin" to a specific version, e.g. if you're using apt, to sudo apt-get install docker-engine=1.12.0-0~xenial (or, e.g. dpkg --set-selections). Upgrading versions should be a deliberate action, i.e., first test, then roll out updates

@louissalin If you have some more details (some inspect outputs from the containers involved would be extremely helpful), why you think it's related to this, etc... that would be great.
Probably best to open a new issue as well.

Thanks for the comments. We'll definitely be more careful and this took us by surprise. It turns out Centos 7 has a yum-cron job that runs and updates things.
Anyway. The old volumes are still there. I can see our old data, but mounting the volumes when running containers seemingly created new empty ones.
our first thought was to inspect the volume and we saw this:
$ docker volume inspect pipeline-data
[
    {
        "Driver": "local",
        "Labels": null,
        "Mountpoint": "/\"/mnt/disks/sparkpredict-data/docker\"/volumes/pipeline-data/_data",
        "Name": "pipeline-data",
        "Options": {},
        "Scope": "local"
    }
]

The quotes in the dir name seemed weird to us. So we tried to list the content of the dir with and without the quotes (with customer name removed):
$ ls /\"/mnt/disks/data/docker\"/volumes/pipeline-data/_data
<customer> <customer>_historical

$ ls /\/mnt/disks/data/docker\/volumes/pipeline-data/_data
asset.json  drop.sql  <customer> <customer>_historical

We still aren't sure what's going on here.

That's... interesting to say the least.

Can you open a new issue?

will do, thanks!


ILRepack.targets(13,3): error : Failed to resolve assembly:

Hey
in Debugg Mod i dont get any issues but if i try  to compile in  release  i get this error
Failed to resolve assembly: 'protobuf-net.Core, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=257b51d87d2e4d67'
i updated the nuget packages
i tried  it with installing protobuf-net.Core package too but same
in Release I also dont  get client.bin
AV MS Defender turn off  with exceptions etc

You're using VS 2019 yes?

You're using VS 2019 yes?

Yes VS 2019 Community Version

Don't update the Nuget packages, just download them.

Don't update the Nuget packages, just download them.

Ok thank u guys
it worked

Glad it worked!


Rename Series

It's not possible to rename a series, so for instance, adding CPU Utilization from multiple servers or hosts lists each series as "CPU Utilization" with no way to differentiate between them.

This was implemented in c4b175c and will be in the next release ;)


Recent Activity - Change to Screenshot field not in list

Create listing
Org content steward select the triple line drop down menu on the right side of the toolbar and chooses listing Management
Select the 'recent Activity' tab. On the left hand side select "Pending Organization review".

Expected result: The created listing is shown as a Screenshot.
Current result: The created listing is shown as a blank box.

I created a listing with all different images (as a user), logged in as the org steward and went to recent activity and then clicked through to "pending TO review" and the correct icon showed up. Am I missing something?

Also checked that when I have a listing and I edit the screenshot it appears correctly on the Recent Activity page, if that's what this is referring to.

Hi Stephanie..we we had some weird issues from time to time where the image a screenshot wouldn't show up..it'd just be a blank square..and the weird thing is, once it showed up in your listings, u coudn't edit or delete it..clark had to go in and delete it manually..i'm not seeing the behavior right now but if i do again, i'll let u know.

Closing as 'Can't Reproduce'.


night mode: Fix "x" on "You have nothing to send!"

If you open the compose box, don't type anything, and then send the message (control-enter, enter, send button, etc.), you will get a message that says "You have nothing to send!".  There's an "x" to dismiss the dialog that's hard to see against the background.  We should fix this.
Please use some sort of online contrast checker to verify the new colors are friendly to folks with color blindness: https://webaim.org/resources/contrastchecker/

@zulipbot claim

I think this is still hard to read due to the 20% opacity.
https://chat.zulip.org/#narrow/stream/101-design/topic/cross.20icons/near/849752
Reopening.

Is this issue still open, or a PR has been submitted?

@Pranav2612000 I think we can still improve the visibility of the "x" here, and I don't see any open PRs, so feel free to submit one.


Kinect Azure trying to connect to Silex DS-600 (and or DS-510)

Dear All,
I kindly wanted to ask the community for help in a connection problem with the Kinect Azure.
I want to achieve a setup where I can connect 1 or 2 Kinect Azure over 30-50 Meteres to my Laptop.
Therefore I bought for tests a Silex DS-510 and a Silex DS 600.
This decive gives me the ability to connect usb2 and usb3 Devices through my Ethernet Port.
In my first try I was kinda happy that the Kinect Azure got Connected without a problem by the Silex SX Virtual Link.
---> https://gyazo.com/ceca7a6f323dcb3ea959a18a8dcb9092
The problem is (probably it has something to do with USB Ports) that my Kinect Azure appears in the Device Manager as a Device that has no Drivers.
---> https://gyazo.com/0a77598b7d9b458032eeebd83aa42cc3
The Kinect Azure also could not be found in the Azure Kinect Viewer.
Is my workflow right that I am trying out or would you connect Kinect Azure over big distance with different devices?
Thank you very much in advance for your help.
With kind regards
Karagorion

Have seen #427 about USB extenders?

Thank you very much for your help :) wes-b :)

Hi,
we are using IDS Fiber optics USB Extender in our setup.
https://de.ids-imaging.com/store/products/accessory/interface-cables/usb-3-0-aoc-active-cable-straight-screwable-50-m.html
They cause some trouble, with power on / rebooting but work in general.
We worked around these issues, by adding an external relay, to power up the azures,
after the USB extender was powered and the pc was booted.
Note, we use linux only, therefore I can't say if it will work under windows.


add FetchParentInstancesOnly filter to fetch only parent instances if…

Hello,
Refering to my issue at this link https://github.com/Azure/durabletask/issues/733
I created a Pull Request to filter results and retrieve only parent instances
This feature is required for our team and hope it'll be helpful for others.
I will create an other Pull Request in durabletask to add the property FetchParentInstancesOnly  to OrchestrationQuery.
Thanks

I would be fine with this PR if it could be done without requiring any changes to the DurableTask.Core dependency. Otherwise, we will require that this can be implemented for other major storage providers, particularly DurableTask.AzureStorage.

Hello Chris and thank you for your reply
I agree with you but the filter class is defined in DurableTask, this is why I created the PR for that repo (https://github.com/Azure/durabletask/pull/740) to add this property and maybe contribute on the other providers to implement the same feature.

Hello Chris,
I understand your concern but this functionality is really useful and even necessary for a large number of scenarios. Maybe a good trade-off could be to implement it first for the sql server provider only and to clearly state in the documentation that the functionality is not yet available with the Azure Storage provider. We can implement it later on this clean basis.
What do you think ?

@PatriceOngla I'm fine with starting with just the SQL provider and then making it work more generically for other providers later. That would be the most expedient way to get this feature out. If you can update this PR to not rely on changes to DurableTask.Core and to also add some integration tests, then I can go ahead and accept this PR and include it in the next release.

Hello Chris,
Thank you for your answer. I can't really figure out how to implement this feature pretty much cleanly without modifying DurableTask.Core (the OrchestrationQuery class). Why not just throw a NotSupportedException for providers that do not implement this feature yet? This is already done for some other features (for example the TaskHubName criterion which triggers a NotSupportedException for the SqlServer provider if I remember well).

A SQL-only backend change would probably be to the SqlOrchestrationService.GetManyOrchestrationsAsync method. That shouldn't require any changes to DurableTask.Core.
DurableTask.AzureStorage accounts for >99.9% of usage right now. I don't want to add abstractions to DurableTask.Core which aren't supported by the mainstream implementation. I wouldn't mind if it were the other way around, i.e., new abstractions that are initially only supported by DurableTask.AzureStorage. In this case, however, I think it makes much more sense to start with this SQL backend since these kinds of queries will be significantly more efficient on a relational database that can support multiple indexes. This kind of filter will be incredibly slow and expensive to implement on Azure Storage.

For the failing test, I don't think it has anything to do with my PR, does it ?


Login Error 1106: Permission deny

I get the error code 1106 when trying to add this "new" integration in Home Assistant.
I have seen a few others with this issue, though on the tuya-homebridge repo (#110 #46 #64), but I am using the correct password (from Tuya Smart app, not developer account).
I've also looked here, but the account is linked (I see my devices in Devices-> All Devices on https://iot.tuya.com), the username/password are copied from my password manager (that I also used to log in to the Tuya Smart app today). The last link on that page about availability zones links to a page that doesn't mention the word availability or the word zones anywhere.
The Country on my Tuya Smart app is Denmark, which is also what I select for the Home Assistant integration. For Account I wrote Tuya Smart, which is the app I use. I'm using Central Europe Datacenter, and I'm fairly sure this is correct, since when I tried with Western Europe, the devices did not appear under All Devices.
Home Assistant Version

e.g. 2021.10.1

https://developer.tuya.com/en/docs/iot/Home_Assistant_Integration?id=Kamcjcbvk2mu8

This page has a table at the bottom showing the country code selected in the Tuya Smart App called "Region" and the corresponding "Availability Zones"
https://developer.tuya.com/en/docs/iot/Platform_Configuration_smarthome?id=Kamcgamwoevrx#title-5-Correspondence of regions (of apps) and availability zones (of cloud development projects)

@henrikhjelm That is what is listed in the link to Home Assistant documentation I gave in the first post. As I said, I have gonne through that already.
@dulantha-tuya Thanks, but Denmark is not on the list. Does that mean I can't use this integration because me App is set up for my current location (Denmark)?

I had the same issue, then I fiddled around and I have added my account under users, don't know if that is the correct way but I was able to log in after that.

Currently, after that, I have this issue... (https://github.com/tuya/tuya-home-assistant/issues/530)

I just tried with a different project and different Tuya Smart user and I was unable to login with a 12 character password, but able to login after changing to an 11 character password. I can see the devices,

I've now tried setting up the user in tuya cloud project, and "crippled" my password to 11 characters only using letters, numbers and underscores. But I still get the same, error 1106, when trying in Home Assistant.

I can confirm that shortening the password as @dulantha-tuya stated worked for me,  adding user as I stated in the prior post is not needed.

Yes indeed with a shorter password it works


libgourou: init at 0.8.1

Description of changes
libgourou is a library for removing DRM from Adobe ebooks.
This superseeds the stale #179678 pr, and requires less patches

Things done

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Sadly I don't own any ADEPT DRM protected files, so I can't confirm all binaries are working as intended. The PR looks fine otherwise.

This can easily be tested with adobe's free sample books
Here simply download any ebook provided as an acsm file.
(For example "The Adventures of Sherlock Holmes")

@thiagokokada
Since you reviewed the preceding #179678 pr, could I ask you for a review of this pr as well?

Thanks for the review @thiagokokada. I've applied all of them while some look a little different due to my formatter.


Java 11 requirement

Today I noticed, that the 4.0.0.rc2 build is now requiring Java 11, previous versions where requiring Java 8.
What is the rationale behind this?
I think if the sources are not really suddenly requiring Java 11 language features it would be much more friendly to consuming applications to stay at Java 8.

strictly speaking, there is no urgency to move off the old Java version(s). Java  11 and 14 do bring some improvements, and whether or not they are super useful can be debated of course, but overall I think it is reasonable to assume that the Java world will be gradually moving off end-of-life products, it is just a question of WHEN.  a major redmine library release (4.x) looks like a good place to make that change.
Java 11 has been available for years, and even though it is also obsolete (like Java 8),  I think it is a good candidate platform for the near future. porting it to Java 14 may be pushing it a bit too much at the moment. Java 14 "records" look like an interesting addition (finally addressing one of the most common complaints about Java syntax), but that change is not production ready yet.
if someone wants to stay on the old pre-Java-11 version, they can do this, no rush to migrate. no active development is happening in this project.

Thanks a lot for your answer, I think we have a quite different view on obsoletion.
Which is ok, as it is a matter of different perspectives.
Personally I consider everything that is not an LTS release as not relevant, so this leaves Java 8 (supported until 2022/2030) and Java 11 (supported until 2023/2028) in the game. I think the next LTS isn't even defined yet. And yes , I find records tempting as well.
As my wish to you and all other authors of library code: Please be as defensive as possible with runtime upgrades. Not everyone is able to follow an upgrade route easily.
Maybe I'm just getting old ... :)